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
[ 98, 63, 71, 6 ]
30
[ "98-63=35", "71-6=65", "65-35=30" ]
Current State: 30:[98, 63, 71, 6], Operations: [] Exploring Operation: 98-63=35, Resulting Numbers: [71, 6, 35] Generated Node #2: [71, 6, 35] from Operation: 98-63=35 Current State: 30:[71, 6, 35], Operations: ['98-63=35'] Exploring Operation: 71-6=65, Resulting Numbers: [35, 65] Generated Node #3: [35, 65] from Operation: 71-6=65 Current State: 30:[35, 65], Operations: ['98-63=35', '71-6=65'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[98, 63, 71, 6], Operations: [] Exploring Operation: 98-71=27, Resulting Numbers: [63, 6, 27] Generated Node #0,0: 30:[63, 6, 27] Operation: 98-71=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[63, 6, 27], Operations: ['98-71=27'] Exploring Operation: 63-27=36, Resulting Numbers: [6, 36] Generated Node #0,0,0: 30:[6, 36] Operation: 63-27=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[6, 36], Operations: ['98-71=27', '63-27=36'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[98, 63, 71, 6], Operations: [] Exploring Operation: 98-71=27, Resulting Numbers: [63, 6, 27] Generated Node #0,0: 30:[63, 6, 27] Operation: 98-71=27 Moving to Node #0,0 Current State: 30:[63, 6, 27], Operations: ['98-71=27'] Exploring Operation: 63-27=36, Resulting Numbers: [6, 36] Generated Node #0,0,0: 30:[6, 36] Operation: 63-27=36 Moving to Node #0,0,0 Current State: 30:[6, 36], Operations: ['98-71=27', '63-27=36'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 46, 72, 56, 8 ]
69
[ "46*72=3312", "56-8=48", "3312/48=69" ]
Current State: 69:[46, 72, 56, 8], Operations: [] Exploring Operation: 46*72=3312, Resulting Numbers: [56, 8, 3312] Generated Node #2: [56, 8, 3312] from Operation: 46*72=3312 Current State: 69:[56, 8, 3312], Operations: ['46*72=3312'] Exploring Operation: 56-8=48, Resulting Numbers: [3312, 48] Generated Node #3: [3312, 48] from Operation: 56-8=48 Current State: 69:[3312, 48], Operations: ['46*72=3312', '56-8=48'] Exploring Operation: 3312/48=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[46, 72, 56, 8], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [72, 8, 10] Generated Node #0,0: 69:[72, 8, 10] Operation: 56-46=10 Exploring Operation: 72-46=26, Resulting Numbers: [56, 8, 26] Generated Node #0,1: 69:[56, 8, 26] Operation: 72-46=26 Exploring Operation: 56/8=7, Resulting Numbers: [46, 72, 7] Generated Node #0,2: 69:[46, 72, 7] Operation: 56/8=7 Moving to Node #0,0 Current State: 69:[72, 8, 10], Operations: ['56-46=10'] Exploring Operation: 72-8=64, Resulting Numbers: [10, 64] Generated Node #0,0,0: 69:[10, 64] Operation: 72-8=64 Exploring Operation: 8+10=18, Resulting Numbers: [72, 18] Generated Node #0,0,1: 69:[72, 18] Operation: 8+10=18 Exploring Operation: 10-8=2, Resulting Numbers: [72, 2] Generated Node #0,0,2: 69:[72, 2] Operation: 10-8=2 Moving to Node #0,1 Current State: 69:[56, 8, 26], Operations: ['72-46=26'] Exploring Operation: 56+8=64, Resulting Numbers: [26, 64] Generated Node #0,1,0: 69:[26, 64] Operation: 56+8=64 Exploring Operation: 56/8=7, Resulting Numbers: [26, 7] Generated Node #0,1,1: 69:[26, 7] Operation: 56/8=7 Exploring Operation: 56-26=30, Resulting Numbers: [8, 30] Generated Node #0,1,2: 69:[8, 30] Operation: 56-26=30 Moving to Node #0,2 Current State: 69:[46, 72, 7], Operations: ['56/8=7'] Exploring Operation: 72-46=26, Resulting Numbers: [7, 26] Generated Node #0,2,0: 69:[7, 26] Operation: 72-46=26 Exploring Operation: 46-7=39, Resulting Numbers: [72, 39] Generated Node #0,2,1: 69:[72, 39] Operation: 46-7=39 Exploring Operation: 46+7=53, Resulting Numbers: [72, 53] Generated Node #0,2,2: 69:[72, 53] Operation: 46+7=53 Moving to Node #0,0,2 Current State: 69:[72, 2], Operations: ['56-46=10', '10-8=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,69 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,69 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[7, 26], Operations: ['56/8=7', '72-46=26'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,69 unequal: No Solution Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,69 unequal: No Solution Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[26, 7], Operations: ['72-46=26', '56/8=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,69 unequal: No Solution Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[26, 64], Operations: ['72-46=26', '56+8=64'] Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 26+64=90, Resulting Numbers: [90] 90,69 unequal: No Solution Exploring Operation: 26*64=1664, Resulting Numbers: [1664] 1664,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[72, 18], Operations: ['56-46=10', '8+10=18'] Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,69 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[10, 64], Operations: ['56-46=10', '72-8=64'] Exploring Operation: 10+64=74, Resulting Numbers: [74] 74,69 unequal: No Solution Exploring Operation: 10*64=640, Resulting Numbers: [640] 640,69 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[8, 30], Operations: ['72-46=26', '56-26=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[72, 53], Operations: ['56/8=7', '46+7=53'] Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,69 unequal: No Solution Exploring Operation: 72*53=3816, Resulting Numbers: [3816] 3816,69 unequal: No Solution Exploring Operation: 72+53=125, Resulting Numbers: [125] 125,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[72, 39], Operations: ['56/8=7', '46-7=39'] Exploring Operation: 72-39=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 72+39=111, Resulting Numbers: [111] 111,69 unequal: No Solution Exploring Operation: 72*39=2808, Resulting Numbers: [2808] 2808,69 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 71, 4, 91, 63 ]
59
[ "71-63=8", "4*8=32", "91-32=59" ]
Current State: 59:[71, 4, 91, 63], Operations: [] Exploring Operation: 71-63=8, Resulting Numbers: [4, 91, 8] Generated Node #2: [4, 91, 8] from Operation: 71-63=8 Current State: 59:[4, 91, 8], Operations: ['71-63=8'] Exploring Operation: 4*8=32, Resulting Numbers: [91, 32] Generated Node #3: [91, 32] from Operation: 4*8=32 Current State: 59:[91, 32], Operations: ['71-63=8', '4*8=32'] Exploring Operation: 91-32=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[71, 4, 91, 63], Operations: [] Exploring Operation: 71+4=75, Resulting Numbers: [91, 63, 75] Generated Node #0,0: 59:[91, 63, 75] Operation: 71+4=75 Exploring Operation: 4+91=95, Resulting Numbers: [71, 63, 95] Generated Node #0,1: 59:[71, 63, 95] Operation: 4+91=95 Exploring Operation: 91-4=87, Resulting Numbers: [71, 63, 87] Generated Node #0,2: 59:[71, 63, 87] Operation: 91-4=87 Exploring Operation: 71-4=67, Resulting Numbers: [91, 63, 67] Generated Node #0,3: 59:[91, 63, 67] Operation: 71-4=67 Exploring Operation: 63-4=59, Resulting Numbers: [71, 91, 59] Generated Node #0,4: 59:[71, 91, 59] Operation: 63-4=59 Moving to Node #0,2 Current State: 59:[71, 63, 87], Operations: ['91-4=87'] Exploring Operation: 87-71=16, Resulting Numbers: [63, 16] Generated Node #0,2,0: 59:[63, 16] Operation: 87-71=16 Exploring Operation: 71+87=158, Resulting Numbers: [63, 158] Generated Node #0,2,1: 59:[63, 158] Operation: 71+87=158 Exploring Operation: 71+63=134, Resulting Numbers: [87, 134] Generated Node #0,2,2: 59:[87, 134] Operation: 71+63=134 Exploring Operation: 71-63=8, Resulting Numbers: [87, 8] Generated Node #0,2,3: 59:[87, 8] Operation: 71-63=8 Exploring Operation: 87-63=24, Resulting Numbers: [71, 24] Generated Node #0,2,4: 59:[71, 24] Operation: 87-63=24 Moving to Node #0,4 Current State: 59:[71, 91, 59], Operations: ['63-4=59'] Exploring Operation: 91-59=32, Resulting Numbers: [71, 32] Generated Node #0,4,0: 59:[71, 32] Operation: 91-59=32 Exploring Operation: 71+59=130, Resulting Numbers: [91, 130] Generated Node #0,4,1: 59:[91, 130] Operation: 71+59=130 Exploring Operation: 71+91=162, Resulting Numbers: [59, 162] Generated Node #0,4,2: 59:[59, 162] Operation: 71+91=162 Exploring Operation: 71-59=12, Resulting Numbers: [91, 12] Generated Node #0,4,3: 59:[91, 12] Operation: 71-59=12 Exploring Operation: 91-71=20, Resulting Numbers: [59, 20] Generated Node #0,4,4: 59:[59, 20] Operation: 91-71=20 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 59:[71, 32], Operations: ['63-4=59', '91-59=32'] Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 71+32=103, Resulting Numbers: [103] 103,59 unequal: No Solution Exploring Operation: 71*32=2272, Resulting Numbers: [2272] 2272,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 59:[59, 20], Operations: ['63-4=59', '91-71=20'] Exploring Operation: 59*20=1180, Resulting Numbers: [1180] 1180,59 unequal: No Solution Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 59+20=79, Resulting Numbers: [79] 79,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 59:[91, 12], Operations: ['63-4=59', '71-59=12'] Exploring Operation: 91*12=1092, Resulting Numbers: [1092] 1092,59 unequal: No Solution Exploring Operation: 91+12=103, Resulting Numbers: [103] 103,59 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 59:[91, 130], Operations: ['63-4=59', '71+59=130'] Exploring Operation: 91+130=221, Resulting Numbers: [221] 221,59 unequal: No Solution Exploring Operation: 130-91=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 91*130=11830, Resulting Numbers: [11830] 11830,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 59:[59, 162], Operations: ['63-4=59', '71+91=162'] Exploring Operation: 162-59=103, Resulting Numbers: [103] 103,59 unequal: No Solution Exploring Operation: 59+162=221, Resulting Numbers: [221] 221,59 unequal: No Solution Exploring Operation: 59*162=9558, Resulting Numbers: [9558] 9558,59 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: 59:[91, 63, 67], Operations: ['71-4=67'] Exploring Operation: 91-63=28, Resulting Numbers: [67, 28] Generated Node #0,3,0: 59:[67, 28] Operation: 91-63=28 Exploring Operation: 91-67=24, Resulting Numbers: [63, 24] Generated Node #0,3,1: 59:[63, 24] Operation: 91-67=24 Exploring Operation: 67-63=4, Resulting Numbers: [91, 4] Generated Node #0,3,2: 59:[91, 4] Operation: 67-63=4 Exploring Operation: 91+67=158, Resulting Numbers: [63, 158] Generated Node #0,3,3: 59:[63, 158] Operation: 91+67=158 Exploring Operation: 91+63=154, Resulting Numbers: [67, 154] Generated Node #0,3,4: 59:[67, 154] Operation: 91+63=154 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[67, 28], Operations: ['71-4=67', '91-63=28'] Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,59 unequal: No Solution Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[63, 24], Operations: ['71-4=67', '91-67=24'] Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,59 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[91, 4], Operations: ['71-4=67', '67-63=4'] Exploring Operation: 91*4=364, Resulting Numbers: [364] 364,59 unequal: No Solution Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[63, 158], Operations: ['71-4=67', '91+67=158'] Exploring Operation: 63+158=221, Resulting Numbers: [221] 221,59 unequal: No Solution Exploring Operation: 158-63=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 63*158=9954, Resulting Numbers: [9954] 9954,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 59:[67, 154], Operations: ['71-4=67', '91+63=154'] Exploring Operation: 154-67=87, Resulting Numbers: [87] 87,59 unequal: No Solution Exploring Operation: 67+154=221, Resulting Numbers: [221] 221,59 unequal: No Solution Exploring Operation: 67*154=10318, Resulting Numbers: [10318] 10318,59 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: 59:[91, 63, 75], Operations: ['71+4=75'] Exploring Operation: 91-75=16, Resulting Numbers: [63, 16] Generated Node #0,0,0: 59:[63, 16] Operation: 91-75=16 Exploring Operation: 91+63=154, Resulting Numbers: [75, 154] Generated Node #0,0,1: 59:[75, 154] Operation: 91+63=154 Exploring Operation: 91+75=166, Resulting Numbers: [63, 166] Generated Node #0,0,2: 59:[63, 166] Operation: 91+75=166 Exploring Operation: 75-63=12, Resulting Numbers: [91, 12] Generated Node #0,0,3: 59:[91, 12] Operation: 75-63=12 Exploring Operation: 91-63=28, Resulting Numbers: [75, 28] Generated Node #0,0,4: 59:[75, 28] Operation: 91-63=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[63, 16], Operations: ['71+4=75', '91-75=16'] Exploring Operation: 63+16=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 63*16=1008, Resulting Numbers: [1008] 1008,59 unequal: No Solution Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 59:[75, 28], Operations: ['71+4=75', '91-63=28'] Exploring Operation: 75*28=2100, Resulting Numbers: [2100] 2100,59 unequal: No Solution Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 75+28=103, Resulting Numbers: [103] 103,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[91, 12], Operations: ['71+4=75', '75-63=12'] Exploring Operation: 91+12=103, Resulting Numbers: [103] 103,59 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 91*12=1092, Resulting Numbers: [1092] 1092,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[75, 154], Operations: ['71+4=75', '91+63=154'] Exploring Operation: 75+154=229, Resulting Numbers: [229] 229,59 unequal: No Solution Exploring Operation: 154-75=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 75*154=11550, Resulting Numbers: [11550] 11550,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[63, 166], Operations: ['71+4=75', '91+75=166'] Exploring Operation: 63+166=229, Resulting Numbers: [229] 229,59 unequal: No Solution Exploring Operation: 166-63=103, Resulting Numbers: [103] 103,59 unequal: No Solution Exploring Operation: 63*166=10458, Resulting Numbers: [10458] 10458,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[71, 63, 95], Operations: ['4+91=95'] Exploring Operation: 71+63=134, Resulting Numbers: [95, 134] Generated Node #0,1,0: 59:[95, 134] Operation: 71+63=134 Exploring Operation: 95-71=24, Resulting Numbers: [63, 24] Generated Node #0,1,1: 59:[63, 24] Operation: 95-71=24 Exploring Operation: 71+95=166, Resulting Numbers: [63, 166] Generated Node #0,1,2: 59:[63, 166] Operation: 71+95=166 Exploring Operation: 71-63=8, Resulting Numbers: [95, 8] Generated Node #0,1,3: 59:[95, 8] Operation: 71-63=8 Exploring Operation: 95-63=32, Resulting Numbers: [71, 32] Generated Node #0,1,4: 59:[71, 32] Operation: 95-63=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[63, 24], Operations: ['4+91=95', '95-71=24'] Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,59 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 59:[71, 32], Operations: ['4+91=95', '95-63=32'] Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 71+32=103, Resulting Numbers: [103] 103,59 unequal: No Solution Exploring Operation: 71*32=2272, Resulting Numbers: [2272] 2272,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[95, 8], Operations: ['4+91=95', '71-63=8'] Exploring Operation: 95*8=760, Resulting Numbers: [760] 760,59 unequal: No Solution Exploring Operation: 95+8=103, Resulting Numbers: [103] 103,59 unequal: No Solution Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[95, 134], Operations: ['4+91=95', '71+63=134'] Exploring Operation: 95*134=12730, Resulting Numbers: [12730] 12730,59 unequal: No Solution Exploring Operation: 134-95=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 95+134=229, Resulting Numbers: [229] 229,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[63, 166], Operations: ['4+91=95', '71+95=166'] Exploring Operation: 166-63=103, Resulting Numbers: [103] 103,59 unequal: No Solution Exploring Operation: 63*166=10458, Resulting Numbers: [10458] 10458,59 unequal: No Solution Exploring Operation: 63+166=229, Resulting Numbers: [229] 229,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 59:[63, 16], Operations: ['91-4=87', '87-71=16'] Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 63+16=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 63*16=1008, Resulting Numbers: [1008] 1008,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[71, 24], Operations: ['91-4=87', '87-63=24'] Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 71+24=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 71*24=1704, Resulting Numbers: [1704] 1704,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[87, 8], Operations: ['91-4=87', '71-63=8'] Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,59 unequal: No Solution Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[63, 158], Operations: ['91-4=87', '71+87=158'] Exploring Operation: 158-63=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 63*158=9954, Resulting Numbers: [9954] 9954,59 unequal: No Solution Exploring Operation: 63+158=221, Resulting Numbers: [221] 221,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[87, 134], Operations: ['91-4=87', '71+63=134'] Exploring Operation: 87*134=11658, Resulting Numbers: [11658] 11658,59 unequal: No Solution Exploring Operation: 134-87=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 87+134=221, Resulting Numbers: [221] 221,59 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 52, 98, 3, 77 ]
76
[ "52+98=150", "77-3=74", "150-74=76" ]
Current State: 76:[52, 98, 3, 77], Operations: [] Exploring Operation: 52+98=150, Resulting Numbers: [3, 77, 150] Generated Node #2: [3, 77, 150] from Operation: 52+98=150 Current State: 76:[3, 77, 150], Operations: ['52+98=150'] Exploring Operation: 77-3=74, Resulting Numbers: [150, 74] Generated Node #3: [150, 74] from Operation: 77-3=74 Current State: 76:[150, 74], Operations: ['52+98=150', '77-3=74'] Exploring Operation: 150-74=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[52, 98, 3, 77], Operations: [] Exploring Operation: 98-77=21, Resulting Numbers: [52, 3, 21] Generated Node #0,0: 76:[52, 3, 21] Operation: 98-77=21 Exploring Operation: 77-52=25, Resulting Numbers: [98, 3, 25] Generated Node #0,1: 76:[98, 3, 25] Operation: 77-52=25 Exploring Operation: 98-52=46, Resulting Numbers: [3, 77, 46] Generated Node #0,2: 76:[3, 77, 46] Operation: 98-52=46 Moving to Node #0,2 Current State: 76:[3, 77, 46], Operations: ['98-52=46'] Exploring Operation: 77-3=74, Resulting Numbers: [46, 74] Generated Node #0,2,0: 76:[46, 74] Operation: 77-3=74 Exploring Operation: 77-46=31, Resulting Numbers: [3, 31] Generated Node #0,2,1: 76:[3, 31] Operation: 77-46=31 Exploring Operation: 46-3=43, Resulting Numbers: [77, 43] Generated Node #0,2,2: 76:[77, 43] Operation: 46-3=43 Moving to Node #0,0 Current State: 76:[52, 3, 21], Operations: ['98-77=21'] Exploring Operation: 52-3=49, Resulting Numbers: [21, 49] Generated Node #0,0,0: 76:[21, 49] Operation: 52-3=49 Exploring Operation: 52-21=31, Resulting Numbers: [3, 31] Generated Node #0,0,1: 76:[3, 31] Operation: 52-21=31 Exploring Operation: 52+21=73, Resulting Numbers: [3, 73] Generated Node #0,0,2: 76:[3, 73] Operation: 52+21=73 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[3, 73], Operations: ['98-77=21', '52+21=73'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,76 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[52, 98, 3, 77], Operations: [] Exploring Operation: 98-77=21, Resulting Numbers: [52, 3, 21] Generated Node #0,0: 76:[52, 3, 21] Operation: 98-77=21 Moving to Node #0,0 Current State: 76:[52, 3, 21], Operations: ['98-77=21'] Exploring Operation: 52+21=73, Resulting Numbers: [3, 73] Generated Node #0,0,2: 76:[3, 73] Operation: 52+21=73 Moving to Node #0,0,2 Current State: 76:[3, 73], Operations: ['98-77=21', '52+21=73'] Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 10, 55, 4, 97 ]
48
[ "55-10=45", "97-4=93", "93-45=48" ]
Current State: 48:[10, 55, 4, 97], Operations: [] Exploring Operation: 55-10=45, Resulting Numbers: [4, 97, 45] Generated Node #2: [4, 97, 45] from Operation: 55-10=45 Current State: 48:[4, 97, 45], Operations: ['55-10=45'] Exploring Operation: 97-4=93, Resulting Numbers: [45, 93] Generated Node #3: [45, 93] from Operation: 97-4=93 Current State: 48:[45, 93], Operations: ['55-10=45', '97-4=93'] Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[10, 55, 4, 97], Operations: [] Exploring Operation: 97-55=42, Resulting Numbers: [10, 4, 42] Generated Node #0,0: 48:[10, 4, 42] Operation: 97-55=42 Moving to Node #0,0 Current State: 48:[10, 4, 42], Operations: ['97-55=42'] Exploring Operation: 10+42=52, Resulting Numbers: [4, 52] Generated Node #0,0,0: 48:[4, 52] Operation: 10+42=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[4, 52], Operations: ['97-55=42', '10+42=52'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[10, 55, 4, 97], Operations: [] Exploring Operation: 97-55=42, Resulting Numbers: [10, 4, 42] Generated Node #0,0: 48:[10, 4, 42] Operation: 97-55=42 Moving to Node #0,0 Current State: 48:[10, 4, 42], Operations: ['97-55=42'] Exploring Operation: 10+42=52, Resulting Numbers: [4, 52] Generated Node #0,0,0: 48:[4, 52] Operation: 10+42=52 Moving to Node #0,0,0 Current State: 48:[4, 52], Operations: ['97-55=42', '10+42=52'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 9, 93, 71, 69 ]
56
[ "93-9=84", "71+69=140", "140-84=56" ]
Current State: 56:[9, 93, 71, 69], Operations: [] Exploring Operation: 93-9=84, Resulting Numbers: [71, 69, 84] Generated Node #2: [71, 69, 84] from Operation: 93-9=84 Current State: 56:[71, 69, 84], Operations: ['93-9=84'] Exploring Operation: 71+69=140, Resulting Numbers: [84, 140] Generated Node #3: [84, 140] from Operation: 71+69=140 Current State: 56:[84, 140], Operations: ['93-9=84', '71+69=140'] Exploring Operation: 140-84=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[9, 93, 71, 69], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [9, 69, 22] Generated Node #0,0: 56:[9, 69, 22] Operation: 93-71=22 Exploring Operation: 93-69=24, Resulting Numbers: [9, 71, 24] Generated Node #0,1: 56:[9, 71, 24] Operation: 93-69=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[9, 69, 22], Operations: ['93-71=22'] Exploring Operation: 69-22=47, Resulting Numbers: [9, 47] Generated Node #0,0,0: 56:[9, 47] Operation: 69-22=47 Exploring Operation: 69-9=60, Resulting Numbers: [22, 60] Generated Node #0,0,1: 56:[22, 60] Operation: 69-9=60 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[9, 47], Operations: ['93-71=22', '69-22=47'] Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[9, 93, 71, 69], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [9, 69, 22] Generated Node #0,0: 56:[9, 69, 22] Operation: 93-71=22 Moving to Node #0,0 Current State: 56:[9, 69, 22], Operations: ['93-71=22'] Exploring Operation: 69-22=47, Resulting Numbers: [9, 47] Generated Node #0,0,0: 56:[9, 47] Operation: 69-22=47 Moving to Node #0,0,0 Current State: 56:[9, 47], Operations: ['93-71=22', '69-22=47'] Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 75, 58, 11, 68 ]
35
[ "68-58=10", "11*10=110", "110-75=35" ]
Current State: 35:[75, 58, 11, 68], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [75, 11, 10] Generated Node #2: [75, 11, 10] from Operation: 68-58=10 Current State: 35:[75, 11, 10], Operations: ['68-58=10'] Exploring Operation: 11*10=110, Resulting Numbers: [75, 110] Generated Node #3: [75, 110] from Operation: 11*10=110 Current State: 35:[75, 110], Operations: ['68-58=10', '11*10=110'] Exploring Operation: 110-75=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[75, 58, 11, 68], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [75, 11, 10] Generated Node #0,0: 35:[75, 11, 10] Operation: 68-58=10 Exploring Operation: 75-58=17, Resulting Numbers: [11, 68, 17] Generated Node #0,1: 35:[11, 68, 17] Operation: 75-58=17 Exploring Operation: 75-68=7, Resulting Numbers: [58, 11, 7] Generated Node #0,2: 35:[58, 11, 7] Operation: 75-68=7 Exploring Operation: 58-11=47, Resulting Numbers: [75, 68, 47] Generated Node #0,3: 35:[75, 68, 47] Operation: 58-11=47 Exploring Operation: 75-11=64, Resulting Numbers: [58, 68, 64] Generated Node #0,4: 35:[58, 68, 64] Operation: 75-11=64 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[58, 11, 7], Operations: ['75-68=7'] Exploring Operation: 58+11=69, Resulting Numbers: [7, 69] Generated Node #0,2,0: 35:[7, 69] Operation: 58+11=69 Exploring Operation: 58-11=47, Resulting Numbers: [7, 47] Generated Node #0,2,1: 35:[7, 47] Operation: 58-11=47 Exploring Operation: 11-7=4, Resulting Numbers: [58, 4] Generated Node #0,2,2: 35:[58, 4] Operation: 11-7=4 Exploring Operation: 58-7=51, Resulting Numbers: [11, 51] Generated Node #0,2,3: 35:[11, 51] Operation: 58-7=51 Exploring Operation: 58+7=65, Resulting Numbers: [11, 65] Generated Node #0,2,4: 35:[11, 65] Operation: 58+7=65 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[7, 47], Operations: ['75-68=7', '58-11=47'] Exploring Operation: 7*47=329, Resulting Numbers: [329] 329,35 unequal: No Solution Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 35:[11, 51], Operations: ['75-68=7', '58-7=51'] Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 11+51=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 11*51=561, Resulting Numbers: [561] 561,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 35:[58, 4], Operations: ['75-68=7', '11-7=4'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,35 unequal: No Solution Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 35:[7, 69], Operations: ['75-68=7', '58+11=69'] Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 7*69=483, Resulting Numbers: [483] 483,35 unequal: No Solution Exploring Operation: 7+69=76, Resulting Numbers: [76] 76,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 35:[11, 65], Operations: ['75-68=7', '58+7=65'] Exploring Operation: 11+65=76, Resulting Numbers: [76] 76,35 unequal: No Solution Exploring Operation: 11*65=715, Resulting Numbers: [715] 715,35 unequal: No Solution Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[75, 11, 10], Operations: ['68-58=10'] Exploring Operation: 75+10=85, Resulting Numbers: [11, 85] Generated Node #0,0,0: 35:[11, 85] Operation: 75+10=85 Exploring Operation: 75-10=65, Resulting Numbers: [11, 65] Generated Node #0,0,1: 35:[11, 65] Operation: 75-10=65 Exploring Operation: 75+11=86, Resulting Numbers: [10, 86] Generated Node #0,0,2: 35:[10, 86] Operation: 75+11=86 Exploring Operation: 11-10=1, Resulting Numbers: [75, 1] Generated Node #0,0,3: 35:[75, 1] Operation: 11-10=1 Exploring Operation: 75-11=64, Resulting Numbers: [10, 64] Generated Node #0,0,4: 35:[10, 64] Operation: 75-11=64 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 35:[10, 64], Operations: ['68-58=10', '75-11=64'] Exploring Operation: 10+64=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 10*64=640, Resulting Numbers: [640] 640,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[11, 65], Operations: ['68-58=10', '75-10=65'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 11*65=715, Resulting Numbers: [715] 715,35 unequal: No Solution Exploring Operation: 11+65=76, Resulting Numbers: [76] 76,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 35:[75, 1], Operations: ['68-58=10', '11-10=1'] Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,35 unequal: No Solution Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,35 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[11, 85], Operations: ['68-58=10', '75+10=85'] Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 11*85=935, Resulting Numbers: [935] 935,35 unequal: No Solution Exploring Operation: 11+85=96, Resulting Numbers: [96] 96,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 35:[10, 86], Operations: ['68-58=10', '75+11=86'] Exploring Operation: 10+86=96, Resulting Numbers: [96] 96,35 unequal: No Solution Exploring Operation: 10*86=860, Resulting Numbers: [860] 860,35 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[11, 68, 17], Operations: ['75-58=17'] Exploring Operation: 68/17=4, Resulting Numbers: [11, 4] Generated Node #0,1,0: 35:[11, 4] Operation: 68/17=4 Exploring Operation: 68-11=57, Resulting Numbers: [17, 57] Generated Node #0,1,1: 35:[17, 57] Operation: 68-11=57 Exploring Operation: 17-11=6, Resulting Numbers: [68, 6] Generated Node #0,1,2: 35:[68, 6] Operation: 17-11=6 Exploring Operation: 68-17=51, Resulting Numbers: [11, 51] Generated Node #0,1,3: 35:[11, 51] Operation: 68-17=51 Exploring Operation: 11+17=28, Resulting Numbers: [68, 28] Generated Node #0,1,4: 35:[68, 28] Operation: 11+17=28 Moving to Node #0,1,0 Current State: 35:[11, 4], Operations: ['75-58=17', '68/17=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[11, 51], Operations: ['75-58=17', '68-17=51'] Exploring Operation: 11+51=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 11*51=561, Resulting Numbers: [561] 561,35 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[17, 57], Operations: ['75-58=17', '68-11=57'] Exploring Operation: 17*57=969, Resulting Numbers: [969] 969,35 unequal: No Solution Exploring Operation: 17+57=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[68, 6], Operations: ['75-58=17', '17-11=6'] Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,35 unequal: No Solution Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,35 unequal: No Solution Moving to Node #0,1,4 Current State: 35:[68, 28], Operations: ['75-58=17', '11+17=28'] Exploring Operation: 68*28=1904, Resulting Numbers: [1904] 1904,35 unequal: No Solution Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 68+28=96, Resulting Numbers: [96] 96,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[75, 68, 47], Operations: ['58-11=47'] Exploring Operation: 75-47=28, Resulting Numbers: [68, 28] Generated Node #0,3,0: 35:[68, 28] Operation: 75-47=28 Exploring Operation: 75+47=122, Resulting Numbers: [68, 122] Generated Node #0,3,1: 35:[68, 122] Operation: 75+47=122 Exploring Operation: 75-68=7, Resulting Numbers: [47, 7] Generated Node #0,3,2: 35:[47, 7] Operation: 75-68=7 Exploring Operation: 75+68=143, Resulting Numbers: [47, 143] Generated Node #0,3,3: 35:[47, 143] Operation: 75+68=143 Exploring Operation: 68-47=21, Resulting Numbers: [75, 21] Generated Node #0,3,4: 35:[75, 21] Operation: 68-47=21 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 35:[47, 7], Operations: ['58-11=47', '75-68=7'] Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,35 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 35:[68, 28], Operations: ['58-11=47', '75-47=28'] Exploring Operation: 68+28=96, Resulting Numbers: [96] 96,35 unequal: No Solution Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 68*28=1904, Resulting Numbers: [1904] 1904,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 35:[75, 21], Operations: ['58-11=47', '68-47=21'] Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 75+21=96, Resulting Numbers: [96] 96,35 unequal: No Solution Exploring Operation: 75*21=1575, Resulting Numbers: [1575] 1575,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 35:[68, 122], Operations: ['58-11=47', '75+47=122'] Exploring Operation: 122-68=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 68*122=8296, Resulting Numbers: [8296] 8296,35 unequal: No Solution Exploring Operation: 68+122=190, Resulting Numbers: [190] 190,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 35:[47, 143], Operations: ['58-11=47', '75+68=143'] Exploring Operation: 47+143=190, Resulting Numbers: [190] 190,35 unequal: No Solution Exploring Operation: 47*143=6721, Resulting Numbers: [6721] 6721,35 unequal: No Solution Exploring Operation: 143-47=96, Resulting Numbers: [96] 96,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 35:[58, 68, 64], Operations: ['75-11=64'] Exploring Operation: 58+68=126, Resulting Numbers: [64, 126] Generated Node #0,4,0: 35:[64, 126] Operation: 58+68=126 Exploring Operation: 58+64=122, Resulting Numbers: [68, 122] Generated Node #0,4,1: 35:[68, 122] Operation: 58+64=122 Exploring Operation: 68-64=4, Resulting Numbers: [58, 4] Generated Node #0,4,2: 35:[58, 4] Operation: 68-64=4 Exploring Operation: 64-58=6, Resulting Numbers: [68, 6] Generated Node #0,4,3: 35:[68, 6] Operation: 64-58=6 Exploring Operation: 68-58=10, Resulting Numbers: [64, 10] Generated Node #0,4,4: 35:[64, 10] Operation: 68-58=10 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 35:[58, 4], Operations: ['75-11=64', '68-64=4'] Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,35 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 35:[64, 10], Operations: ['75-11=64', '68-58=10'] Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,35 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 35:[68, 6], Operations: ['75-11=64', '64-58=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,35 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 35:[64, 126], Operations: ['75-11=64', '58+68=126'] Exploring Operation: 64+126=190, Resulting Numbers: [190] 190,35 unequal: No Solution Exploring Operation: 126-64=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 64*126=8064, Resulting Numbers: [8064] 8064,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 35:[68, 122], Operations: ['75-11=64', '58+64=122'] Exploring Operation: 122-68=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 68*122=8296, Resulting Numbers: [8296] 8296,35 unequal: No Solution Exploring Operation: 68+122=190, Resulting Numbers: [190] 190,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 91, 35, 34, 89 ]
33
[ "91-89=2", "34*2=68", "68-35=33" ]
Current State: 33:[91, 35, 34, 89], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [35, 34, 2] Generated Node #2: [35, 34, 2] from Operation: 91-89=2 Current State: 33:[35, 34, 2], Operations: ['91-89=2'] Exploring Operation: 34*2=68, Resulting Numbers: [35, 68] Generated Node #3: [35, 68] from Operation: 34*2=68 Current State: 33:[35, 68], Operations: ['91-89=2', '34*2=68'] Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[91, 35, 34, 89], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [35, 34, 2] Generated Node #0,0: 33:[35, 34, 2] Operation: 91-89=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[35, 34, 2], Operations: ['91-89=2'] Exploring Operation: 35-2=33, Resulting Numbers: [34, 33] Generated Node #0,0,0: 33:[34, 33] Operation: 35-2=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[34, 33], Operations: ['91-89=2', '35-2=33'] Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 90, 19, 95, 77 ]
18
[ "95-90=5", "19*5=95", "95-77=18" ]
Current State: 18:[90, 19, 95, 77], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [19, 77, 5] Generated Node #2: [19, 77, 5] from Operation: 95-90=5 Current State: 18:[19, 77, 5], Operations: ['95-90=5'] Exploring Operation: 19*5=95, Resulting Numbers: [77, 95] Generated Node #3: [77, 95] from Operation: 19*5=95 Current State: 18:[77, 95], Operations: ['95-90=5', '19*5=95'] Exploring Operation: 95-77=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[90, 19, 95, 77], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [19, 77, 5] Generated Node #0,0: 18:[19, 77, 5] Operation: 95-90=5 Exploring Operation: 90-77=13, Resulting Numbers: [19, 95, 13] Generated Node #0,1: 18:[19, 95, 13] Operation: 90-77=13 Exploring Operation: 95-77=18, Resulting Numbers: [90, 19, 18] Generated Node #0,2: 18:[90, 19, 18] Operation: 95-77=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[19, 77, 5], Operations: ['95-90=5'] Exploring Operation: 77-5=72, Resulting Numbers: [19, 72] Generated Node #0,0,0: 18:[19, 72] Operation: 77-5=72 Exploring Operation: 19-5=14, Resulting Numbers: [77, 14] Generated Node #0,0,1: 18:[77, 14] Operation: 19-5=14 Exploring Operation: 77-19=58, Resulting Numbers: [5, 58] Generated Node #0,0,2: 18:[5, 58] Operation: 77-19=58 Moving to Node #0,0,2 Current State: 18:[5, 58], Operations: ['95-90=5', '77-19=58'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[19, 72], Operations: ['95-90=5', '77-5=72'] Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 19*72=1368, Resulting Numbers: [1368] 1368,18 unequal: No Solution Exploring Operation: 19+72=91, Resulting Numbers: [91] 91,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[77, 14], Operations: ['95-90=5', '19-5=14'] Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[90, 19, 18], Operations: ['95-77=18'] Exploring Operation: 90-19=71, Resulting Numbers: [18, 71] Generated Node #0,2,0: 18:[18, 71] Operation: 90-19=71 Exploring Operation: 90/18=5, Resulting Numbers: [19, 5] Generated Node #0,2,1: 18:[19, 5] Operation: 90/18=5 Exploring Operation: 90-18=72, Resulting Numbers: [19, 72] Generated Node #0,2,2: 18:[19, 72] Operation: 90-18=72 Moving to Node #0,2,1 Current State: 18:[19, 5], Operations: ['95-77=18', '90/18=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,18 unequal: No Solution Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,18 unequal: No Solution Moving to Node #0,2,0 Current State: 18:[18, 71], Operations: ['95-77=18', '90-19=71'] Exploring Operation: 18+71=89, Resulting Numbers: [89] 89,18 unequal: No Solution Exploring Operation: 18*71=1278, Resulting Numbers: [1278] 1278,18 unequal: No Solution Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[19, 72], Operations: ['95-77=18', '90-18=72'] Exploring Operation: 19*72=1368, Resulting Numbers: [1368] 1368,18 unequal: No Solution Exploring Operation: 19+72=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[19, 95, 13], Operations: ['90-77=13'] Exploring Operation: 95/19=5, Resulting Numbers: [13, 5] Generated Node #0,1,0: 18:[13, 5] Operation: 95/19=5 Exploring Operation: 95-13=82, Resulting Numbers: [19, 82] Generated Node #0,1,1: 18:[19, 82] Operation: 95-13=82 Exploring Operation: 95-19=76, Resulting Numbers: [13, 76] Generated Node #0,1,2: 18:[13, 76] Operation: 95-19=76 Moving to Node #0,1,0 Current State: 18:[13, 5], Operations: ['90-77=13', '95/19=5'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[90, 19, 95, 77], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [19, 95, 13] Generated Node #0,1: 18:[19, 95, 13] Operation: 90-77=13 Moving to Node #0,1 Current State: 18:[19, 95, 13], Operations: ['90-77=13'] Exploring Operation: 95/19=5, Resulting Numbers: [13, 5] Generated Node #0,1,0: 18:[13, 5] Operation: 95/19=5 Moving to Node #0,1,0 Current State: 18:[13, 5], Operations: ['90-77=13', '95/19=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
mult_heuristic
[ 32, 13, 1, 28 ]
53
[ "32-28=4", "13*4=52", "1+52=53" ]
Current State: 53:[32, 13, 1, 28], Operations: [] Exploring Operation: 32-28=4, Resulting Numbers: [13, 1, 4] Generated Node #2: [13, 1, 4] from Operation: 32-28=4 Current State: 53:[13, 1, 4], Operations: ['32-28=4'] Exploring Operation: 13*4=52, Resulting Numbers: [1, 52] Generated Node #3: [1, 52] from Operation: 13*4=52 Current State: 53:[1, 52], Operations: ['32-28=4', '13*4=52'] Exploring Operation: 1+52=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[32, 13, 1, 28], Operations: [] Exploring Operation: 32+1=33, Resulting Numbers: [13, 28, 33] Generated Node #0,0: 53:[13, 28, 33] Operation: 32+1=33 Exploring Operation: 32+13=45, Resulting Numbers: [1, 28, 45] Generated Node #0,1: 53:[1, 28, 45] Operation: 32+13=45 Exploring Operation: 13+28=41, Resulting Numbers: [32, 1, 41] Generated Node #0,2: 53:[32, 1, 41] Operation: 13+28=41 Exploring Operation: 13+1=14, Resulting Numbers: [32, 28, 14] Generated Node #0,3: 53:[32, 28, 14] Operation: 13+1=14 Moving to Node #0,0 Current State: 53:[13, 28, 33], Operations: ['32+1=33'] Exploring Operation: 13+28=41, Resulting Numbers: [33, 41] Generated Node #0,0,0: 53:[33, 41] Operation: 13+28=41 Exploring Operation: 28-13=15, Resulting Numbers: [33, 15] Generated Node #0,0,1: 53:[33, 15] Operation: 28-13=15 Exploring Operation: 13+33=46, Resulting Numbers: [28, 46] Generated Node #0,0,2: 53:[28, 46] Operation: 13+33=46 Exploring Operation: 28+33=61, Resulting Numbers: [13, 61] Generated Node #0,0,3: 53:[13, 61] Operation: 28+33=61 Moving to Node #0,2 Current State: 53:[32, 1, 41], Operations: ['13+28=41'] Exploring Operation: 1+41=42, Resulting Numbers: [32, 42] Generated Node #0,2,0: 53:[32, 42] Operation: 1+41=42 Exploring Operation: 32/1=32, Resulting Numbers: [41, 32] Generated Node #0,2,1: 53:[41, 32] Operation: 32/1=32 Exploring Operation: 32+1=33, Resulting Numbers: [41, 33] Generated Node #0,2,2: 53:[41, 33] Operation: 32+1=33 Exploring Operation: 32*1=32, Resulting Numbers: [41, 32] Generated Node #0,2,3: 53:[41, 32] Operation: 32*1=32 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[32, 42], Operations: ['13+28=41', '1+41=42'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,53 unequal: No Solution Exploring Operation: 32+42=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 32*42=1344, Resulting Numbers: [1344] 1344,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[41, 33], Operations: ['13+28=41', '32+1=33'] Exploring Operation: 41*33=1353, Resulting Numbers: [1353] 1353,53 unequal: No Solution Exploring Operation: 41+33=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[41, 32], Operations: ['13+28=41', '32/1=32'] Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 53:[41, 32], Operations: ['13+28=41', '32*1=32'] Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,53 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,53 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: 53:[1, 28, 45], Operations: ['32+13=45'] Exploring Operation: 28/1=28, Resulting Numbers: [45, 28] Generated Node #0,1,0: 53:[45, 28] Operation: 28/1=28 Exploring Operation: 1+45=46, Resulting Numbers: [28, 46] Generated Node #0,1,1: 53:[28, 46] Operation: 1+45=46 Exploring Operation: 1+28=29, Resulting Numbers: [45, 29] Generated Node #0,1,2: 53:[45, 29] Operation: 1+28=29 Exploring Operation: 1*28=28, Resulting Numbers: [45, 28] Generated Node #0,1,3: 53:[45, 28] Operation: 1*28=28 Moving to Node #0,3 Current State: 53:[32, 28, 14], Operations: ['13+1=14'] Exploring Operation: 32+28=60, Resulting Numbers: [14, 60] Generated Node #0,3,0: 53:[14, 60] Operation: 32+28=60 Exploring Operation: 32-14=18, Resulting Numbers: [28, 18] Generated Node #0,3,1: 53:[28, 18] Operation: 32-14=18 Exploring Operation: 32+14=46, Resulting Numbers: [28, 46] Generated Node #0,3,2: 53:[28, 46] Operation: 32+14=46 Exploring Operation: 28+14=42, Resulting Numbers: [32, 42] Generated Node #0,3,3: 53:[32, 42] Operation: 28+14=42 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 53:[28, 46], Operations: ['13+1=14', '32+14=46'] Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 53:[32, 42], Operations: ['13+1=14', '28+14=42'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,53 unequal: No Solution Exploring Operation: 32+42=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 32*42=1344, Resulting Numbers: [1344] 1344,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[14, 60], Operations: ['13+1=14', '32+28=60'] Exploring Operation: 14+60=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 14*60=840, Resulting Numbers: [840] 840,53 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 53:[28, 18], Operations: ['13+1=14', '32-14=18'] Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,53 unequal: No Solution Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,53 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 53:[33, 41], Operations: ['32+1=33', '13+28=41'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 33*41=1353, Resulting Numbers: [1353] 1353,53 unequal: No Solution Exploring Operation: 33+41=74, Resulting Numbers: [74] 74,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[45, 29], Operations: ['32+13=45', '1+28=29'] Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[28, 46], Operations: ['32+1=33', '13+33=46'] Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,53 unequal: No Solution Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[28, 46], Operations: ['32+13=45', '1+45=46'] Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,53 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[45, 28], Operations: ['32+13=45', '28/1=28'] Exploring Operation: 45*28=1260, Resulting Numbers: [1260] 1260,53 unequal: No Solution Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[45, 28], Operations: ['32+13=45', '1*28=28'] Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 45*28=1260, Resulting Numbers: [1260] 1260,53 unequal: No Solution Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[13, 61], Operations: ['32+1=33', '28+33=61'] Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,53 unequal: No Solution Exploring Operation: 13*61=793, Resulting Numbers: [793] 793,53 unequal: No Solution Exploring Operation: 13+61=74, Resulting Numbers: [74] 74,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[33, 15], Operations: ['32+1=33', '28-13=15'] Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,53 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,53 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 56, 80, 75, 89 ]
20
[ "89-75=14", "56/14=4", "80/4=20" ]
Current State: 20:[56, 80, 75, 89], Operations: [] Exploring Operation: 89-75=14, Resulting Numbers: [56, 80, 14] Generated Node #2: [56, 80, 14] from Operation: 89-75=14 Current State: 20:[56, 80, 14], Operations: ['89-75=14'] Exploring Operation: 56/14=4, Resulting Numbers: [80, 4] Generated Node #3: [80, 4] from Operation: 56/14=4 Current State: 20:[80, 4], Operations: ['89-75=14', '56/14=4'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[56, 80, 75, 89], Operations: [] Exploring Operation: 89-75=14, Resulting Numbers: [56, 80, 14] Generated Node #0,0: 20:[56, 80, 14] Operation: 89-75=14 Exploring Operation: 89-80=9, Resulting Numbers: [56, 75, 9] Generated Node #0,1: 20:[56, 75, 9] Operation: 89-80=9 Exploring Operation: 80-75=5, Resulting Numbers: [56, 89, 5] Generated Node #0,2: 20:[56, 89, 5] Operation: 80-75=5 Moving to Node #0,1 Current State: 20:[56, 75, 9], Operations: ['89-80=9'] Exploring Operation: 56-9=47, Resulting Numbers: [75, 47] Generated Node #0,1,0: 20:[75, 47] Operation: 56-9=47 Exploring Operation: 75-9=66, Resulting Numbers: [56, 66] Generated Node #0,1,1: 20:[56, 66] Operation: 75-9=66 Exploring Operation: 75-56=19, Resulting Numbers: [9, 19] Generated Node #0,1,2: 20:[9, 19] Operation: 75-56=19 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[9, 19], Operations: ['89-80=9', '75-56=19'] Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,20 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 9*19=171, Resulting Numbers: [171] 171,20 unequal: No Solution No 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: 20:[75, 47], Operations: ['89-80=9', '56-9=47'] Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,20 unequal: No Solution Exploring Operation: 75+47=122, Resulting Numbers: [122] 122,20 unequal: No Solution Exploring Operation: 75*47=3525, Resulting Numbers: [3525] 3525,20 unequal: No Solution No 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: 20:[56, 66], Operations: ['89-80=9', '75-9=66'] Exploring Operation: 56*66=3696, Resulting Numbers: [3696] 3696,20 unequal: No Solution Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 56+66=122, Resulting Numbers: [122] 122,20 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: 20:[56, 80, 14], Operations: ['89-75=14'] Exploring Operation: 80-56=24, Resulting Numbers: [14, 24] Generated Node #0,0,0: 20:[14, 24] Operation: 80-56=24 Exploring Operation: 56/14=4, Resulting Numbers: [80, 4] Generated Node #0,0,1: 20:[80, 4] Operation: 56/14=4 Exploring Operation: 56-14=42, Resulting Numbers: [80, 42] Generated Node #0,0,2: 20:[80, 42] Operation: 56-14=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[14, 24], Operations: ['89-75=14', '80-56=24'] Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 14*24=336, Resulting Numbers: [336] 336,20 unequal: No Solution No 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: 20:[80, 4], Operations: ['89-75=14', '56/14=4'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[56, 80, 75, 89], Operations: [] Exploring Operation: 89-75=14, Resulting Numbers: [56, 80, 14] Generated Node #0,0: 20:[56, 80, 14] Operation: 89-75=14 Moving to Node #0,0 Current State: 20:[56, 80, 14], Operations: ['89-75=14'] Exploring Operation: 56/14=4, Resulting Numbers: [80, 4] Generated Node #0,0,1: 20:[80, 4] Operation: 56/14=4 Moving to Node #0,0,1 Current State: 20:[80, 4], Operations: ['89-75=14', '56/14=4'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 47, 32, 29, 2 ]
70
[ "47+29=76", "76/2=38", "32+38=70" ]
Current State: 70:[47, 32, 29, 2], Operations: [] Exploring Operation: 47+29=76, Resulting Numbers: [32, 2, 76] Generated Node #2: [32, 2, 76] from Operation: 47+29=76 Current State: 70:[32, 2, 76], Operations: ['47+29=76'] Exploring Operation: 76/2=38, Resulting Numbers: [32, 38] Generated Node #3: [32, 38] from Operation: 76/2=38 Current State: 70:[32, 38], Operations: ['47+29=76', '76/2=38'] Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[47, 32, 29, 2], Operations: [] Exploring Operation: 47+29=76, Resulting Numbers: [32, 2, 76] Generated Node #0,0: 70:[32, 2, 76] Operation: 47+29=76 Exploring Operation: 47-29=18, Resulting Numbers: [32, 2, 18] Generated Node #0,1: 70:[32, 2, 18] Operation: 47-29=18 Exploring Operation: 47-32=15, Resulting Numbers: [29, 2, 15] Generated Node #0,2: 70:[29, 2, 15] Operation: 47-32=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[32, 2, 18], Operations: ['47-29=18'] Exploring Operation: 32-18=14, Resulting Numbers: [2, 14] Generated Node #0,1,0: 70:[2, 14] Operation: 32-18=14 Exploring Operation: 18/2=9, Resulting Numbers: [32, 9] Generated Node #0,1,1: 70:[32, 9] Operation: 18/2=9 Exploring Operation: 2*18=36, Resulting Numbers: [32, 36] Generated Node #0,1,2: 70:[32, 36] Operation: 2*18=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[2, 14], Operations: ['47-29=18', '32-18=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[32, 9], Operations: ['47-29=18', '18/2=9'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[32, 36], Operations: ['47-29=18', '2*18=36'] Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,70 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[29, 2, 15], Operations: ['47-32=15'] Exploring Operation: 29+2=31, Resulting Numbers: [15, 31] Generated Node #0,2,0: 70:[15, 31] Operation: 29+2=31 Exploring Operation: 29-15=14, Resulting Numbers: [2, 14] Generated Node #0,2,1: 70:[2, 14] Operation: 29-15=14 Exploring Operation: 15-2=13, Resulting Numbers: [29, 13] Generated Node #0,2,2: 70:[29, 13] Operation: 15-2=13 Moving to Node #0,2,1 Current State: 70:[2, 14], Operations: ['47-32=15', '29-15=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[15, 31], Operations: ['47-32=15', '29+2=31'] Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,70 unequal: No Solution Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[29, 13], Operations: ['47-32=15', '15-2=13'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 29*13=377, Resulting Numbers: [377] 377,70 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[32, 2, 76], Operations: ['47+29=76'] Exploring Operation: 76/2=38, Resulting Numbers: [32, 38] Generated Node #0,0,0: 70:[32, 38] Operation: 76/2=38 Exploring Operation: 76-2=74, Resulting Numbers: [32, 74] Generated Node #0,0,1: 70:[32, 74] Operation: 76-2=74 Exploring Operation: 32+2=34, Resulting Numbers: [76, 34] Generated Node #0,0,2: 70:[76, 34] Operation: 32+2=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[32, 38], Operations: ['47+29=76', '76/2=38'] Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,70 unequal: No Solution Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[47, 32, 29, 2], Operations: [] Exploring Operation: 47+29=76, Resulting Numbers: [32, 2, 76] Generated Node #0,0: 70:[32, 2, 76] Operation: 47+29=76 Moving to Node #0,0 Current State: 70:[32, 2, 76], Operations: ['47+29=76'] Exploring Operation: 76/2=38, Resulting Numbers: [32, 38] Generated Node #0,0,0: 70:[32, 38] Operation: 76/2=38 Moving to Node #0,0,0 Current State: 70:[32, 38], Operations: ['47+29=76', '76/2=38'] Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_3
mult_heuristic
[ 26, 2, 30, 36 ]
59
[ "30+36=66", "66/2=33", "26+33=59" ]
Current State: 59:[26, 2, 30, 36], Operations: [] Exploring Operation: 30+36=66, Resulting Numbers: [26, 2, 66] Generated Node #2: [26, 2, 66] from Operation: 30+36=66 Current State: 59:[26, 2, 66], Operations: ['30+36=66'] Exploring Operation: 66/2=33, Resulting Numbers: [26, 33] Generated Node #3: [26, 33] from Operation: 66/2=33 Current State: 59:[26, 33], Operations: ['30+36=66', '66/2=33'] Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[26, 2, 30, 36], Operations: [] Exploring Operation: 26+30=56, Resulting Numbers: [2, 36, 56] Generated Node #0,0: 59:[2, 36, 56] Operation: 26+30=56 Exploring Operation: 26+2=28, Resulting Numbers: [30, 36, 28] Generated Node #0,1: 59:[30, 36, 28] Operation: 26+2=28 Exploring Operation: 2*30=60, Resulting Numbers: [26, 36, 60] Generated Node #0,2: 59:[26, 36, 60] Operation: 2*30=60 Exploring Operation: 26*2=52, Resulting Numbers: [30, 36, 52] Generated Node #0,3: 59:[30, 36, 52] Operation: 26*2=52 Exploring Operation: 2*36=72, Resulting Numbers: [26, 30, 72] Generated Node #0,4: 59:[26, 30, 72] Operation: 2*36=72 Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[26, 36, 60], Operations: ['2*30=60'] Exploring Operation: 26+36=62, Resulting Numbers: [60, 62] Generated Node #0,2,0: 59:[60, 62] Operation: 26+36=62 Exploring Operation: 26+60=86, Resulting Numbers: [36, 86] Generated Node #0,2,1: 59:[36, 86] Operation: 26+60=86 Exploring Operation: 36-26=10, Resulting Numbers: [60, 10] Generated Node #0,2,2: 59:[60, 10] Operation: 36-26=10 Exploring Operation: 60-36=24, Resulting Numbers: [26, 24] Generated Node #0,2,3: 59:[26, 24] Operation: 60-36=24 Exploring Operation: 60-26=34, Resulting Numbers: [36, 34] Generated Node #0,2,4: 59:[36, 34] Operation: 60-26=34 Moving to Node #0,2,0 Current State: 59:[60, 62], Operations: ['2*30=60', '26+36=62'] Exploring Operation: 60*62=3720, Resulting Numbers: [3720] 3720,59 unequal: No Solution Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 60+62=122, Resulting Numbers: [122] 122,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[36, 34], Operations: ['2*30=60', '60-26=34'] Exploring Operation: 36*34=1224, Resulting Numbers: [1224] 1224,59 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[36, 86], Operations: ['2*30=60', '26+60=86'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 36+86=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 36*86=3096, Resulting Numbers: [3096] 3096,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[60, 10], Operations: ['2*30=60', '36-26=10'] Exploring Operation: 60*10=600, Resulting Numbers: [600] 600,59 unequal: No Solution Exploring Operation: 60+10=70, Resulting Numbers: [70] 70,59 unequal: No Solution Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[26, 24], Operations: ['2*30=60', '60-36=24'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,59 unequal: No Solution Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[30, 36, 52], Operations: ['26*2=52'] Exploring Operation: 30+52=82, Resulting Numbers: [36, 82] Generated Node #0,3,0: 59:[36, 82] Operation: 30+52=82 Exploring Operation: 36+52=88, Resulting Numbers: [30, 88] Generated Node #0,3,1: 59:[30, 88] Operation: 36+52=88 Exploring Operation: 30+36=66, Resulting Numbers: [52, 66] Generated Node #0,3,2: 59:[52, 66] Operation: 30+36=66 Exploring Operation: 36-30=6, Resulting Numbers: [52, 6] Generated Node #0,3,3: 59:[52, 6] Operation: 36-30=6 Exploring Operation: 52-30=22, Resulting Numbers: [36, 22] Generated Node #0,3,4: 59:[36, 22] Operation: 52-30=22 Moving to Node #0,3,2 Current State: 59:[52, 66], Operations: ['26*2=52', '30+36=66'] Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 52*66=3432, Resulting Numbers: [3432] 3432,59 unequal: No Solution Exploring Operation: 52+66=118, Resulting Numbers: [118] 118,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[36, 82], Operations: ['26*2=52', '30+52=82'] Exploring Operation: 36*82=2952, Resulting Numbers: [2952] 2952,59 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 36+82=118, Resulting Numbers: [118] 118,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[30, 88], Operations: ['26*2=52', '36+52=88'] Exploring Operation: 30+88=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 30*88=2640, Resulting Numbers: [2640] 2640,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[52, 6], Operations: ['26*2=52', '36-30=6'] Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,59 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[36, 22], Operations: ['26*2=52', '52-30=22'] Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,59 unequal: No Solution Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 59:[26, 30, 72], Operations: ['2*36=72'] Exploring Operation: 30-26=4, Resulting Numbers: [72, 4] Generated Node #0,4,0: 59:[72, 4] Operation: 30-26=4 Exploring Operation: 72-30=42, Resulting Numbers: [26, 42] Generated Node #0,4,1: 59:[26, 42] Operation: 72-30=42 Exploring Operation: 72-26=46, Resulting Numbers: [30, 46] Generated Node #0,4,2: 59:[30, 46] Operation: 72-26=46 Exploring Operation: 26+30=56, Resulting Numbers: [72, 56] Generated Node #0,4,3: 59:[72, 56] Operation: 26+30=56 Exploring Operation: 26+72=98, Resulting Numbers: [30, 98] Generated Node #0,4,4: 59:[30, 98] Operation: 26+72=98 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 59:[72, 56], Operations: ['2*36=72', '26+30=56'] Exploring Operation: 72+56=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 72-56=16, Resulting Numbers: [16] 16,59 unequal: No Solution Exploring Operation: 72*56=4032, Resulting Numbers: [4032] 4032,59 unequal: No Solution No 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: 59:[30, 46], Operations: ['2*36=72', '72-26=46'] Exploring Operation: 30+46=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 30*46=1380, Resulting Numbers: [1380] 1380,59 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,59 unequal: No Solution No 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: 59:[26, 42], Operations: ['2*36=72', '72-30=42'] Exploring Operation: 26*42=1092, Resulting Numbers: [1092] 1092,59 unequal: No Solution Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,59 unequal: No Solution Exploring Operation: 26+42=68, Resulting Numbers: [68] 68,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 59:[72, 4], Operations: ['2*36=72', '30-26=4'] Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,59 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,59 unequal: No Solution No 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: 59:[30, 98], Operations: ['2*36=72', '26+72=98'] Exploring Operation: 30*98=2940, Resulting Numbers: [2940] 2940,59 unequal: No Solution Exploring Operation: 30+98=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 98-30=68, Resulting Numbers: [68] 68,59 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: 59:[2, 36, 56], Operations: ['26+30=56'] Exploring Operation: 36-2=34, Resulting Numbers: [56, 34] Generated Node #0,0,0: 59:[56, 34] Operation: 36-2=34 Exploring Operation: 2+36=38, Resulting Numbers: [56, 38] Generated Node #0,0,1: 59:[56, 38] Operation: 2+36=38 Exploring Operation: 2+56=58, Resulting Numbers: [36, 58] Generated Node #0,0,2: 59:[36, 58] Operation: 2+56=58 Exploring Operation: 56-2=54, Resulting Numbers: [36, 54] Generated Node #0,0,3: 59:[36, 54] Operation: 56-2=54 Exploring Operation: 2*36=72, Resulting Numbers: [56, 72] Generated Node #0,0,4: 59:[56, 72] Operation: 2*36=72 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 59:[56, 72], Operations: ['26+30=56', '2*36=72'] Exploring Operation: 56+72=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 72-56=16, Resulting Numbers: [16] 16,59 unequal: No Solution Exploring Operation: 56*72=4032, Resulting Numbers: [4032] 4032,59 unequal: No Solution No 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: 59:[56, 38], Operations: ['26+30=56', '2+36=38'] Exploring Operation: 56+38=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 56*38=2128, Resulting Numbers: [2128] 2128,59 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,59 unequal: No Solution No 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: 59:[36, 58], Operations: ['26+30=56', '2+56=58'] Exploring Operation: 36+58=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 36*58=2088, Resulting Numbers: [2088] 2088,59 unequal: No Solution Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,59 unequal: No Solution No 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: 59:[56, 34], Operations: ['26+30=56', '36-2=34'] Exploring Operation: 56*34=1904, Resulting Numbers: [1904] 1904,59 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,59 unequal: No Solution No 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: 59:[36, 54], Operations: ['26+30=56', '56-2=54'] Exploring Operation: 36+54=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 36*54=1944, Resulting Numbers: [1944] 1944,59 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: 59:[30, 36, 28], Operations: ['26+2=28'] Exploring Operation: 36+28=64, Resulting Numbers: [30, 64] Generated Node #0,1,0: 59:[30, 64] Operation: 36+28=64 Exploring Operation: 30+36=66, Resulting Numbers: [28, 66] Generated Node #0,1,1: 59:[28, 66] Operation: 30+36=66 Exploring Operation: 36-28=8, Resulting Numbers: [30, 8] Generated Node #0,1,2: 59:[30, 8] Operation: 36-28=8 Exploring Operation: 30-28=2, Resulting Numbers: [36, 2] Generated Node #0,1,3: 59:[36, 2] Operation: 30-28=2 Exploring Operation: 30+28=58, Resulting Numbers: [36, 58] Generated Node #0,1,4: 59:[36, 58] Operation: 30+28=58 Moving to Node #0,1,4 Current State: 59:[36, 58], Operations: ['26+2=28', '30+28=58'] Exploring Operation: 36*58=2088, Resulting Numbers: [2088] 2088,59 unequal: No Solution Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 36+58=94, Resulting Numbers: [94] 94,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[30, 64], Operations: ['26+2=28', '36+28=64'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[28, 66], Operations: ['26+2=28', '30+36=66'] Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 28*66=1848, Resulting Numbers: [1848] 1848,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[30, 8], Operations: ['26+2=28', '36-28=8'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[36, 2], Operations: ['26+2=28', '30-28=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,59 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
[ 27, 16, 91, 19 ]
76
[ "91-27=64", "64/16=4", "19*4=76" ]
Current State: 76:[27, 16, 91, 19], Operations: [] Exploring Operation: 91-27=64, Resulting Numbers: [16, 19, 64] Generated Node #2: [16, 19, 64] from Operation: 91-27=64 Current State: 76:[16, 19, 64], Operations: ['91-27=64'] Exploring Operation: 64/16=4, Resulting Numbers: [19, 4] Generated Node #3: [19, 4] from Operation: 64/16=4 Current State: 76:[19, 4], Operations: ['91-27=64', '64/16=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[27, 16, 91, 19], Operations: [] Exploring Operation: 91-27=64, Resulting Numbers: [16, 19, 64] Generated Node #0,0: 76:[16, 19, 64] Operation: 91-27=64 Exploring Operation: 91-16=75, Resulting Numbers: [27, 19, 75] Generated Node #0,1: 76:[27, 19, 75] Operation: 91-16=75 Exploring Operation: 27+16=43, Resulting Numbers: [91, 19, 43] Generated Node #0,2: 76:[91, 19, 43] Operation: 27+16=43 Exploring Operation: 91-19=72, Resulting Numbers: [27, 16, 72] Generated Node #0,3: 76:[27, 16, 72] Operation: 91-19=72 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[27, 19, 75], Operations: ['91-16=75'] Exploring Operation: 27+19=46, Resulting Numbers: [75, 46] Generated Node #0,1,0: 76:[75, 46] Operation: 27+19=46 Exploring Operation: 75-27=48, Resulting Numbers: [19, 48] Generated Node #0,1,1: 76:[19, 48] Operation: 75-27=48 Exploring Operation: 27+75=102, Resulting Numbers: [19, 102] Generated Node #0,1,2: 76:[19, 102] Operation: 27+75=102 Exploring Operation: 27-19=8, Resulting Numbers: [75, 8] Generated Node #0,1,3: 76:[75, 8] Operation: 27-19=8 Moving to Node #0,1,3 Current State: 76:[75, 8], Operations: ['91-16=75', '27-19=8'] Exploring Operation: 75*8=600, Resulting Numbers: [600] 600,76 unequal: No Solution Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[75, 46], Operations: ['91-16=75', '27+19=46'] Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 75+46=121, Resulting Numbers: [121] 121,76 unequal: No Solution Exploring Operation: 75*46=3450, Resulting Numbers: [3450] 3450,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[19, 48], Operations: ['91-16=75', '75-27=48'] Exploring Operation: 19*48=912, Resulting Numbers: [912] 912,76 unequal: No Solution Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 19+48=67, Resulting Numbers: [67] 67,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[19, 102], Operations: ['91-16=75', '27+75=102'] Exploring Operation: 19+102=121, Resulting Numbers: [121] 121,76 unequal: No Solution Exploring Operation: 19*102=1938, Resulting Numbers: [1938] 1938,76 unequal: No Solution Exploring Operation: 102-19=83, Resulting Numbers: [83] 83,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[16, 19, 64], Operations: ['91-27=64'] Exploring Operation: 19+64=83, Resulting Numbers: [16, 83] Generated Node #0,0,0: 76:[16, 83] Operation: 19+64=83 Exploring Operation: 64/16=4, Resulting Numbers: [19, 4] Generated Node #0,0,1: 76:[19, 4] Operation: 64/16=4 Exploring Operation: 16+64=80, Resulting Numbers: [19, 80] Generated Node #0,0,2: 76:[19, 80] Operation: 16+64=80 Exploring Operation: 64-16=48, Resulting Numbers: [19, 48] Generated Node #0,0,3: 76:[19, 48] Operation: 64-16=48 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[19, 4], Operations: ['91-27=64', '64/16=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[27, 16, 91, 19], Operations: [] Exploring Operation: 91-27=64, Resulting Numbers: [16, 19, 64] Generated Node #0,0: 76:[16, 19, 64] Operation: 91-27=64 Moving to Node #0,0 Current State: 76:[16, 19, 64], Operations: ['91-27=64'] Exploring Operation: 64/16=4, Resulting Numbers: [19, 4] Generated Node #0,0,1: 76:[19, 4] Operation: 64/16=4 Moving to Node #0,0,1 Current State: 76:[19, 4], Operations: ['91-27=64', '64/16=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 42, 13, 5, 61 ]
27
[ "42-13=29", "61-5=56", "56-29=27" ]
Current State: 27:[42, 13, 5, 61], Operations: [] Exploring Operation: 42-13=29, Resulting Numbers: [5, 61, 29] Generated Node #2: [5, 61, 29] from Operation: 42-13=29 Current State: 27:[5, 61, 29], Operations: ['42-13=29'] Exploring Operation: 61-5=56, Resulting Numbers: [29, 56] Generated Node #3: [29, 56] from Operation: 61-5=56 Current State: 27:[29, 56], Operations: ['42-13=29', '61-5=56'] Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[42, 13, 5, 61], Operations: [] Exploring Operation: 61-42=19, Resulting Numbers: [13, 5, 19] Generated Node #0,0: 27:[13, 5, 19] Operation: 61-42=19 Exploring Operation: 42-13=29, Resulting Numbers: [5, 61, 29] Generated Node #0,1: 27:[5, 61, 29] Operation: 42-13=29 Exploring Operation: 42-5=37, Resulting Numbers: [13, 61, 37] Generated Node #0,2: 27:[13, 61, 37] Operation: 42-5=37 Exploring Operation: 61-5=56, Resulting Numbers: [42, 13, 56] Generated Node #0,3: 27:[42, 13, 56] Operation: 61-5=56 Exploring Operation: 61-13=48, Resulting Numbers: [42, 5, 48] Generated Node #0,4: 27:[42, 5, 48] Operation: 61-13=48 Moving to Node #0,0 Current State: 27:[13, 5, 19], Operations: ['61-42=19'] Exploring Operation: 13+19=32, Resulting Numbers: [5, 32] Generated Node #0,0,0: 27:[5, 32] Operation: 13+19=32 Exploring Operation: 19-5=14, Resulting Numbers: [13, 14] Generated Node #0,0,1: 27:[13, 14] Operation: 19-5=14 Exploring Operation: 19-13=6, Resulting Numbers: [5, 6] Generated Node #0,0,2: 27:[5, 6] Operation: 19-13=6 Exploring Operation: 5+19=24, Resulting Numbers: [13, 24] Generated Node #0,0,3: 27:[13, 24] Operation: 5+19=24 Exploring Operation: 13-5=8, Resulting Numbers: [19, 8] Generated Node #0,0,4: 27:[19, 8] Operation: 13-5=8 Moving to Node #0,4 Current State: 27:[42, 5, 48], Operations: ['61-13=48'] Exploring Operation: 48-5=43, Resulting Numbers: [42, 43] Generated Node #0,4,0: 27:[42, 43] Operation: 48-5=43 Exploring Operation: 42+5=47, Resulting Numbers: [48, 47] Generated Node #0,4,1: 27:[48, 47] Operation: 42+5=47 Exploring Operation: 42-5=37, Resulting Numbers: [48, 37] Generated Node #0,4,2: 27:[48, 37] Operation: 42-5=37 Exploring Operation: 48-42=6, Resulting Numbers: [5, 6] Generated Node #0,4,3: 27:[5, 6] Operation: 48-42=6 Exploring Operation: 5+48=53, Resulting Numbers: [42, 53] Generated Node #0,4,4: 27:[42, 53] Operation: 5+48=53 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 27:[5, 6], Operations: ['61-13=48', '48-42=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 27:[42, 43], Operations: ['61-13=48', '48-5=43'] Exploring Operation: 42*43=1806, Resulting Numbers: [1806] 1806,27 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 42+43=85, Resulting Numbers: [85] 85,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 27:[48, 37], Operations: ['61-13=48', '42-5=37'] Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,27 unequal: No Solution Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,27 unequal: No Solution Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 27:[48, 47], Operations: ['61-13=48', '42+5=47'] Exploring Operation: 48*47=2256, Resulting Numbers: [2256] 2256,27 unequal: No Solution Exploring Operation: 48+47=95, Resulting Numbers: [95] 95,27 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 27:[42, 53], Operations: ['61-13=48', '5+48=53'] Exploring Operation: 42*53=2226, Resulting Numbers: [2226] 2226,27 unequal: No Solution Exploring Operation: 42+53=95, Resulting Numbers: [95] 95,27 unequal: No Solution Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,27 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: 27:[5, 61, 29], Operations: ['42-13=29'] Exploring Operation: 29-5=24, Resulting Numbers: [61, 24] Generated Node #0,1,0: 27:[61, 24] Operation: 29-5=24 Exploring Operation: 5+29=34, Resulting Numbers: [61, 34] Generated Node #0,1,1: 27:[61, 34] Operation: 5+29=34 Exploring Operation: 5+61=66, Resulting Numbers: [29, 66] Generated Node #0,1,2: 27:[29, 66] Operation: 5+61=66 Exploring Operation: 61-29=32, Resulting Numbers: [5, 32] Generated Node #0,1,3: 27:[5, 32] Operation: 61-29=32 Exploring Operation: 61-5=56, Resulting Numbers: [29, 56] Generated Node #0,1,4: 27:[29, 56] Operation: 61-5=56 Moving to Node #0,2 Current State: 27:[13, 61, 37], Operations: ['42-5=37'] Exploring Operation: 13+61=74, Resulting Numbers: [37, 74] Generated Node #0,2,0: 27:[37, 74] Operation: 13+61=74 Exploring Operation: 13+37=50, Resulting Numbers: [61, 50] Generated Node #0,2,1: 27:[61, 50] Operation: 13+37=50 Exploring Operation: 61-13=48, Resulting Numbers: [37, 48] Generated Node #0,2,2: 27:[37, 48] Operation: 61-13=48 Exploring Operation: 37-13=24, Resulting Numbers: [61, 24] Generated Node #0,2,3: 27:[61, 24] Operation: 37-13=24 Exploring Operation: 61-37=24, Resulting Numbers: [13, 24] Generated Node #0,2,4: 27:[13, 24] Operation: 61-37=24 Moving to Node #0,3 Current State: 27:[42, 13, 56], Operations: ['61-5=56'] Exploring Operation: 56-13=43, Resulting Numbers: [42, 43] Generated Node #0,3,0: 27:[42, 43] Operation: 56-13=43 Exploring Operation: 56-42=14, Resulting Numbers: [13, 14] Generated Node #0,3,1: 27:[13, 14] Operation: 56-42=14 Exploring Operation: 42+13=55, Resulting Numbers: [56, 55] Generated Node #0,3,2: 27:[56, 55] Operation: 42+13=55 Exploring Operation: 13+56=69, Resulting Numbers: [42, 69] Generated Node #0,3,3: 27:[42, 69] Operation: 13+56=69 Exploring Operation: 42-13=29, Resulting Numbers: [56, 29] Generated Node #0,3,4: 27:[56, 29] Operation: 42-13=29 Moving to Node #0,0,2 Current State: 27:[5, 6], Operations: ['61-42=19', '19-13=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,27 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[13, 24], Operations: ['61-42=19', '5+19=24'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,27 unequal: No Solution Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 13*24=312, Resulting Numbers: [312] 312,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[5, 32], Operations: ['42-13=29', '61-29=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[42, 13, 5, 61], Operations: [] Exploring Operation: 42-13=29, Resulting Numbers: [5, 61, 29] Generated Node #0,1: 27:[5, 61, 29] Operation: 42-13=29 Moving to Node #0,1 Current State: 27:[5, 61, 29], Operations: ['42-13=29'] Exploring Operation: 61-29=32, Resulting Numbers: [5, 32] Generated Node #0,1,3: 27:[5, 32] Operation: 61-29=32 Moving to Node #0,1,3 Current State: 27:[5, 32], Operations: ['42-13=29', '61-29=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.951389
hs_5
sum_heuristic
[ 37, 15, 9, 17 ]
56
[ "37-9=28", "17-15=2", "28*2=56" ]
Current State: 56:[37, 15, 9, 17], Operations: [] Exploring Operation: 37-9=28, Resulting Numbers: [15, 17, 28] Generated Node #2: [15, 17, 28] from Operation: 37-9=28 Current State: 56:[15, 17, 28], Operations: ['37-9=28'] Exploring Operation: 17-15=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 17-15=2 Current State: 56:[28, 2], Operations: ['37-9=28', '17-15=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[37, 15, 9, 17], Operations: [] Exploring Operation: 37+17=54, Resulting Numbers: [15, 9, 54] Generated Node #0,0: 56:[15, 9, 54] Operation: 37+17=54 Exploring Operation: 37-9=28, Resulting Numbers: [15, 17, 28] Generated Node #0,1: 56:[15, 17, 28] Operation: 37-9=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[15, 9, 54], Operations: ['37+17=54'] Exploring Operation: 54/9=6, Resulting Numbers: [15, 6] Generated Node #0,0,0: 56:[15, 6] Operation: 54/9=6 Exploring Operation: 15-9=6, Resulting Numbers: [54, 6] Generated Node #0,0,1: 56:[54, 6] Operation: 15-9=6 Moving to Node #0,0,0 Current State: 56:[15, 6], Operations: ['37+17=54', '54/9=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[54, 6], Operations: ['37+17=54', '15-9=6'] Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,56 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,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:[15, 17, 28], Operations: ['37-9=28'] Exploring Operation: 17-15=2, Resulting Numbers: [28, 2] Generated Node #0,1,0: 56:[28, 2] Operation: 17-15=2 Exploring Operation: 15+17=32, Resulting Numbers: [28, 32] Generated Node #0,1,1: 56:[28, 32] Operation: 15+17=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[28, 2], Operations: ['37-9=28', '17-15=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[37, 15, 9, 17], Operations: [] Exploring Operation: 37-9=28, Resulting Numbers: [15, 17, 28] Generated Node #0,1: 56:[15, 17, 28] Operation: 37-9=28 Moving to Node #0,1 Current State: 56:[15, 17, 28], Operations: ['37-9=28'] Exploring Operation: 17-15=2, Resulting Numbers: [28, 2] Generated Node #0,1,0: 56:[28, 2] Operation: 17-15=2 Moving to Node #0,1,0 Current State: 56:[28, 2], Operations: ['37-9=28', '17-15=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 44, 40, 44, 6 ]
58
[ "44+40=84", "84/6=14", "44+14=58" ]
Current State: 58:[44, 40, 44, 6], Operations: [] Exploring Operation: 44+40=84, Resulting Numbers: [6, 84] Generated Node #2: [6, 84] from Operation: 44+40=84 Current State: 58:[6, 84], Operations: ['44+40=84'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,58 equal: Goal Reached Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[44, 40, 44, 6], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [44, 6, 4] Generated Node #0,0: 58:[44, 6, 4] Operation: 44-40=4 Exploring Operation: 44/44=1, Resulting Numbers: [40, 6, 1] Generated Node #0,1: 58:[40, 6, 1] Operation: 44/44=1 Exploring Operation: 44-44=0, Resulting Numbers: [40, 6, 0] Generated Node #0,2: 58:[40, 6, 0] Operation: 44-44=0 Moving to Node #0,1 Current State: 58:[40, 6, 1], Operations: ['44/44=1'] Exploring Operation: 40-1=39, Resulting Numbers: [6, 39] Generated Node #0,1,0: 58:[6, 39] Operation: 40-1=39 Exploring Operation: 40-6=34, Resulting Numbers: [1, 34] Generated Node #0,1,1: 58:[1, 34] Operation: 40-6=34 Exploring Operation: 40+6=46, Resulting Numbers: [1, 46] Generated Node #0,1,2: 58:[1, 46] Operation: 40+6=46 Moving to Node #0,2 Current State: 58:[40, 6, 0], Operations: ['44-44=0'] Exploring Operation: 40*0=0, Resulting Numbers: [6, 0] Generated Node #0,2,0: 58:[6, 0] Operation: 40*0=0 Exploring Operation: 40-6=34, Resulting Numbers: [0, 34] Generated Node #0,2,1: 58:[0, 34] Operation: 40-6=34 Exploring Operation: 6*0=0, Resulting Numbers: [40, 0] Generated Node #0,2,2: 58:[40, 0] Operation: 6*0=0 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[6, 0], Operations: ['44-44=0', '40*0=0'] Exploring Operation: 6*0=0, Resulting Numbers: [0] 0,58 unequal: No Solution Exploring Operation: 6+0=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 6-0=6, Resulting Numbers: [6] 6,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,2,1 Current State: 58:[0, 34], Operations: ['44-44=0', '40-6=34'] Exploring Operation: 0+34=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 0*34=0, Resulting Numbers: [0] 0,58 unequal: No Solution Exploring Operation: 34-0=34, Resulting Numbers: [34] 34,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,2,2 Current State: 58:[40, 0], Operations: ['44-44=0', '6*0=0'] Exploring Operation: 40+0=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 40-0=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 40*0=0, Resulting Numbers: [0] 0,58 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: 58:[44, 6, 4], Operations: ['44-40=4'] Exploring Operation: 44+6=50, Resulting Numbers: [4, 50] Generated Node #0,0,0: 58:[4, 50] Operation: 44+6=50 Exploring Operation: 44/4=11, Resulting Numbers: [6, 11] Generated Node #0,0,1: 58:[6, 11] Operation: 44/4=11 Exploring Operation: 44-6=38, Resulting Numbers: [4, 38] Generated Node #0,0,2: 58:[4, 38] Operation: 44-6=38 Moving to Node #0,1,1 Current State: 58:[1, 34], Operations: ['44/44=1', '40-6=34'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[4, 50], Operations: ['44-40=4', '44+6=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,58 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[4, 38], Operations: ['44-40=4', '44-6=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,58 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[6, 11], Operations: ['44-40=4', '44/4=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[1, 46], Operations: ['44/44=1', '40+6=46'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,58 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[6, 39], Operations: ['44/44=1', '40-1=39'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,58 unequal: No Solution Exploring Operation: 6*39=234, Resulting Numbers: [234] 234,58 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 72, 48, 18, 96 ]
76
[ "18+96=114", "48*114=5472", "5472/72=76" ]
Current State: 76:[72, 48, 18, 96], Operations: [] Exploring Operation: 18+96=114, Resulting Numbers: [72, 48, 114] Generated Node #2: [72, 48, 114] from Operation: 18+96=114 Current State: 76:[72, 48, 114], Operations: ['18+96=114'] Exploring Operation: 48*114=5472, Resulting Numbers: [72, 5472] Generated Node #3: [72, 5472] from Operation: 48*114=5472 Current State: 76:[72, 5472], Operations: ['18+96=114', '48*114=5472'] Exploring Operation: 5472/72=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[72, 48, 18, 96], Operations: [] Exploring Operation: 96-18=78, Resulting Numbers: [72, 48, 78] Generated Node #0,0: 76:[72, 48, 78] Operation: 96-18=78 Exploring Operation: 96-48=48, Resulting Numbers: [72, 18, 48] Generated Node #0,1: 76:[72, 18, 48] Operation: 96-48=48 Exploring Operation: 96-72=24, Resulting Numbers: [48, 18, 24] Generated Node #0,2: 76:[48, 18, 24] Operation: 96-72=24 Exploring Operation: 96/48=2, Resulting Numbers: [72, 18, 2] Generated Node #0,3: 76:[72, 18, 2] Operation: 96/48=2 Moving to Node #0,3 Current State: 76:[72, 18, 2], Operations: ['96/48=2'] Exploring Operation: 72/18=4, Resulting Numbers: [2, 4] Generated Node #0,3,0: 76:[2, 4] Operation: 72/18=4 Exploring Operation: 72+2=74, Resulting Numbers: [18, 74] Generated Node #0,3,1: 76:[18, 74] Operation: 72+2=74 Exploring Operation: 72/2=36, Resulting Numbers: [18, 36] Generated Node #0,3,2: 76:[18, 36] Operation: 72/2=36 Exploring Operation: 18+2=20, Resulting Numbers: [72, 20] Generated Node #0,3,3: 76:[72, 20] Operation: 18+2=20 Moving to Node #0,1 Current State: 76:[72, 18, 48], Operations: ['96-48=48'] Exploring Operation: 72/18=4, Resulting Numbers: [48, 4] Generated Node #0,1,0: 76:[48, 4] Operation: 72/18=4 Exploring Operation: 72-48=24, Resulting Numbers: [18, 24] Generated Node #0,1,1: 76:[18, 24] Operation: 72-48=24 Exploring Operation: 18+48=66, Resulting Numbers: [72, 66] Generated Node #0,1,2: 76:[72, 66] Operation: 18+48=66 Exploring Operation: 48-18=30, Resulting Numbers: [72, 30] Generated Node #0,1,3: 76:[72, 30] Operation: 48-18=30 Moving to Node #0,2 Current State: 76:[48, 18, 24], Operations: ['96-72=24'] Exploring Operation: 48/24=2, Resulting Numbers: [18, 2] Generated Node #0,2,0: 76:[18, 2] Operation: 48/24=2 Exploring Operation: 48-24=24, Resulting Numbers: [18, 24] Generated Node #0,2,1: 76:[18, 24] Operation: 48-24=24 Exploring Operation: 48+24=72, Resulting Numbers: [18, 72] Generated Node #0,2,2: 76:[18, 72] Operation: 48+24=72 Exploring Operation: 24-18=6, Resulting Numbers: [48, 6] Generated Node #0,2,3: 76:[48, 6] Operation: 24-18=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[18, 2], Operations: ['96-72=24', '48/24=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[18, 72], Operations: ['96-72=24', '48+24=72'] Exploring Operation: 18+72=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,76 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 18*72=1296, Resulting Numbers: [1296] 1296,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[18, 24], Operations: ['96-72=24', '48-24=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[48, 6], Operations: ['96-72=24', '24-18=6'] Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,76 unequal: No Solution Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,76 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 76:[72, 48, 78], Operations: ['96-18=78'] Exploring Operation: 72+48=120, Resulting Numbers: [78, 120] Generated Node #0,0,0: 76:[78, 120] Operation: 72+48=120 Exploring Operation: 78-48=30, Resulting Numbers: [72, 30] Generated Node #0,0,1: 76:[72, 30] Operation: 78-48=30 Exploring Operation: 72-48=24, Resulting Numbers: [78, 24] Generated Node #0,0,2: 76:[78, 24] Operation: 72-48=24 Exploring Operation: 78-72=6, Resulting Numbers: [48, 6] Generated Node #0,0,3: 76:[48, 6] Operation: 78-72=6 Moving to Node #0,3,0 Current State: 76:[2, 4], Operations: ['96/48=2', '72/18=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[18, 36], Operations: ['96/48=2', '72/2=36'] Exploring Operation: 18*36=648, Resulting Numbers: [648] 648,76 unequal: No Solution Exploring Operation: 18+36=54, Resulting Numbers: [54] 54,76 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[18, 74], Operations: ['96/48=2', '72+2=74'] Exploring Operation: 18*74=1332, Resulting Numbers: [1332] 1332,76 unequal: No Solution Exploring Operation: 18+74=92, Resulting Numbers: [92] 92,76 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[72, 20], Operations: ['96/48=2', '18+2=20'] Exploring Operation: 72*20=1440, Resulting Numbers: [1440] 1440,76 unequal: No Solution Exploring Operation: 72+20=92, Resulting Numbers: [92] 92,76 unequal: No Solution Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[18, 24], Operations: ['96-48=48', '72-48=24'] Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[78, 24], Operations: ['96-18=78', '72-48=24'] Exploring Operation: 78*24=1872, Resulting Numbers: [1872] 1872,76 unequal: No Solution Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,76 unequal: No Solution Exploring Operation: 78+24=102, Resulting Numbers: [102] 102,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[48, 4], Operations: ['96-48=48', '72/18=4'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,76 unequal: No Solution Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[72, 30], Operations: ['96-48=48', '48-18=30'] Exploring Operation: 72-30=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 72+30=102, Resulting Numbers: [102] 102,76 unequal: No Solution Exploring Operation: 72*30=2160, Resulting Numbers: [2160] 2160,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[72, 30], Operations: ['96-18=78', '78-48=30'] Exploring Operation: 72*30=2160, Resulting Numbers: [2160] 2160,76 unequal: No Solution Exploring Operation: 72+30=102, Resulting Numbers: [102] 102,76 unequal: No Solution Exploring Operation: 72-30=42, Resulting Numbers: [42] 42,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[48, 6], Operations: ['96-18=78', '78-72=6'] Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,76 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[72, 66], Operations: ['96-48=48', '18+48=66'] Exploring Operation: 72+66=138, Resulting Numbers: [138] 138,76 unequal: No Solution Exploring Operation: 72*66=4752, Resulting Numbers: [4752] 4752,76 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[78, 120], Operations: ['96-18=78', '72+48=120'] Exploring Operation: 120-78=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 78*120=9360, Resulting Numbers: [9360] 9360,76 unequal: No Solution Exploring Operation: 78+120=198, Resulting Numbers: [198] 198,76 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 83, 7, 65, 65 ]
12
[ "65/65=1", "83+1=84", "84/7=12" ]
Current State: 12:[83, 7, 65, 65], Operations: [] Exploring Operation: 65/65=1, Resulting Numbers: [83, 7, 1] Generated Node #2: [83, 7, 1] from Operation: 65/65=1 Current State: 12:[83, 7, 1], Operations: ['65/65=1'] Exploring Operation: 83+1=84, Resulting Numbers: [7, 84] Generated Node #3: [7, 84] from Operation: 83+1=84 Current State: 12:[7, 84], Operations: ['65/65=1', '83+1=84'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[83, 7, 65, 65], Operations: [] Exploring Operation: 65/65=1, Resulting Numbers: [83, 7, 1] Generated Node #0,0: 12:[83, 7, 1] Operation: 65/65=1 Exploring Operation: 83-65=18, Resulting Numbers: [7, 65, 18] Generated Node #0,1: 12:[7, 65, 18] Operation: 83-65=18 Exploring Operation: 83-65=18, Resulting Numbers: [7, 65, 18] Generated Node #0,2: 12:[7, 65, 18] Operation: 83-65=18 Exploring Operation: 65-65=0, Resulting Numbers: [83, 7, 0] Generated Node #0,3: 12:[83, 7, 0] Operation: 65-65=0 Exploring Operation: 83-7=76, Resulting Numbers: [65, 65, 76] Generated Node #0,4: 12:[65, 65, 76] Operation: 83-7=76 Moving to Node #0,1 Current State: 12:[7, 65, 18], Operations: ['83-65=18'] Exploring Operation: 18-7=11, Resulting Numbers: [65, 11] Generated Node #0,1,0: 12:[65, 11] Operation: 18-7=11 Exploring Operation: 7+65=72, Resulting Numbers: [18, 72] Generated Node #0,1,1: 12:[18, 72] Operation: 7+65=72 Exploring Operation: 65-18=47, Resulting Numbers: [7, 47] Generated Node #0,1,2: 12:[7, 47] Operation: 65-18=47 Exploring Operation: 7+18=25, Resulting Numbers: [65, 25] Generated Node #0,1,3: 12:[65, 25] Operation: 7+18=25 Exploring Operation: 65-7=58, Resulting Numbers: [18, 58] Generated Node #0,1,4: 12:[18, 58] Operation: 65-7=58 Moving to Node #0,2 Current State: 12:[7, 65, 18], Operations: ['83-65=18'] Exploring Operation: 7+18=25, Resulting Numbers: [65, 25] Generated Node #0,2,0: 12:[65, 25] Operation: 7+18=25 Exploring Operation: 65-18=47, Resulting Numbers: [7, 47] Generated Node #0,2,1: 12:[7, 47] Operation: 65-18=47 Exploring Operation: 18-7=11, Resulting Numbers: [65, 11] Generated Node #0,2,2: 12:[65, 11] Operation: 18-7=11 Exploring Operation: 65-7=58, Resulting Numbers: [18, 58] Generated Node #0,2,3: 12:[18, 58] Operation: 65-7=58 Exploring Operation: 7+65=72, Resulting Numbers: [18, 72] Generated Node #0,2,4: 12:[18, 72] Operation: 7+65=72 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[7, 47], Operations: ['83-65=18', '65-18=47'] Exploring Operation: 7*47=329, Resulting Numbers: [329] 329,12 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,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,3 Current State: 12:[18, 58], Operations: ['83-65=18', '65-7=58'] Exploring Operation: 18+58=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 18*58=1044, Resulting Numbers: [1044] 1044,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,2 Current State: 12:[65, 11], Operations: ['83-65=18', '18-7=11'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 65*11=715, Resulting Numbers: [715] 715,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,0 Current State: 12:[65, 25], Operations: ['83-65=18', '7+18=25'] Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,12 unequal: No Solution Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,12 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,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,4 Current State: 12:[18, 72], Operations: ['83-65=18', '7+65=72'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 18+72=90, Resulting Numbers: [90] 90,12 unequal: No Solution Exploring Operation: 18*72=1296, Resulting Numbers: [1296] 1296,12 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: 12:[83, 7, 1], Operations: ['65/65=1'] Exploring Operation: 83*1=83, Resulting Numbers: [7, 83] Generated Node #0,0,0: 12:[7, 83] Operation: 83*1=83 Exploring Operation: 83-1=82, Resulting Numbers: [7, 82] Generated Node #0,0,1: 12:[7, 82] Operation: 83-1=82 Exploring Operation: 83/1=83, Resulting Numbers: [7, 83] Generated Node #0,0,2: 12:[7, 83] Operation: 83/1=83 Exploring Operation: 83-7=76, Resulting Numbers: [1, 76] Generated Node #0,0,3: 12:[1, 76] Operation: 83-7=76 Exploring Operation: 7-1=6, Resulting Numbers: [83, 6] Generated Node #0,0,4: 12:[83, 6] Operation: 7-1=6 Moving to Node #0,3 Current State: 12:[83, 7, 0], Operations: ['65-65=0'] Exploring Operation: 83*0=0, Resulting Numbers: [7, 0] Generated Node #0,3,0: 12:[7, 0] Operation: 83*0=0 Exploring Operation: 83-0=83, Resulting Numbers: [7, 83] Generated Node #0,3,1: 12:[7, 83] Operation: 83-0=83 Exploring Operation: 83+0=83, Resulting Numbers: [7, 83] Generated Node #0,3,2: 12:[7, 83] Operation: 83+0=83 Exploring Operation: 83-7=76, Resulting Numbers: [0, 76] Generated Node #0,3,3: 12:[0, 76] Operation: 83-7=76 Exploring Operation: 7+0=7, Resulting Numbers: [83, 7] Generated Node #0,3,4: 12:[83, 7] Operation: 7+0=7 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 12:[7, 0], Operations: ['65-65=0', '83*0=0'] Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,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,3,3 Current State: 12:[0, 76], Operations: ['65-65=0', '83-7=76'] Exploring Operation: 0+76=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 0*76=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 76-0=76, Resulting Numbers: [76] 76,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,3,1 Current State: 12:[7, 83], Operations: ['65-65=0', '83-0=83'] Exploring Operation: 7*83=581, Resulting Numbers: [581] 581,12 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 7+83=90, Resulting Numbers: [90] 90,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,3,2 Current State: 12:[7, 83], Operations: ['65-65=0', '83+0=83'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 7+83=90, Resulting Numbers: [90] 90,12 unequal: No Solution Exploring Operation: 7*83=581, Resulting Numbers: [581] 581,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,3,4 Current State: 12:[83, 7], Operations: ['65-65=0', '7+0=7'] Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,12 unequal: No Solution Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,12 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,12 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: 12:[65, 65, 76], Operations: ['83-7=76'] Exploring Operation: 76-65=11, Resulting Numbers: [65, 11] Generated Node #0,4,0: 12:[65, 11] Operation: 76-65=11 Exploring Operation: 65+65=130, Resulting Numbers: [76, 130] Generated Node #0,4,1: 12:[76, 130] Operation: 65+65=130 Exploring Operation: 65/65=1, Resulting Numbers: [76, 1] Generated Node #0,4,2: 12:[76, 1] Operation: 65/65=1 Exploring Operation: 76-65=11, Resulting Numbers: [65, 11] Generated Node #0,4,3: 12:[65, 11] Operation: 76-65=11 Exploring Operation: 65-65=0, Resulting Numbers: [76, 0] Generated Node #0,4,4: 12:[76, 0] Operation: 65-65=0 Moving to Node #0,1,2 Current State: 12:[7, 47], Operations: ['83-65=18', '65-18=47'] Exploring Operation: 7*47=329, Resulting Numbers: [329] 329,12 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,12 unequal: No Solution Moving to Node #0,1,4 Current State: 12:[18, 58], Operations: ['83-65=18', '65-7=58'] Exploring Operation: 18+58=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 18*58=1044, Resulting Numbers: [1044] 1044,12 unequal: No Solution Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[65, 11], Operations: ['83-65=18', '18-7=11'] Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 65*11=715, Resulting Numbers: [715] 715,12 unequal: No Solution Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,12 unequal: No Solution Moving to Node #0,4,3 Current State: 12:[65, 11], Operations: ['83-7=76', '76-65=11'] Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 65*11=715, Resulting Numbers: [715] 715,12 unequal: No Solution Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,12 unequal: No Solution Moving to Node #0,4,0 Current State: 12:[65, 11], Operations: ['83-7=76', '76-65=11'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 65*11=715, Resulting Numbers: [715] 715,12 unequal: No Solution Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,12 unequal: No Solution Moving to Node #0,4,2 Current State: 12:[76, 1], Operations: ['83-7=76', '65/65=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[1, 76], Operations: ['65/65=1', '83-7=76'] Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 1*76=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,12 unequal: No Solution Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,12 unequal: No Solution Moving to Node #0,4,4 Current State: 12:[76, 0], Operations: ['83-7=76', '65-65=0'] Exploring Operation: 76+0=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 76-0=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 76*0=0, Resulting Numbers: [0] 0,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[65, 25], Operations: ['83-65=18', '7+18=25'] Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,12 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[18, 72], Operations: ['83-65=18', '7+65=72'] Exploring Operation: 18*72=1296, Resulting Numbers: [1296] 1296,12 unequal: No Solution Exploring Operation: 18+72=90, Resulting Numbers: [90] 90,12 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[7, 82], Operations: ['65/65=1', '83-1=82'] Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,12 unequal: No Solution Exploring Operation: 7*82=574, Resulting Numbers: [574] 574,12 unequal: No Solution Exploring Operation: 7+82=89, Resulting Numbers: [89] 89,12 unequal: No Solution Moving to Node #0,0,4 Current State: 12:[83, 6], Operations: ['65/65=1', '7-1=6'] Exploring Operation: 83*6=498, Resulting Numbers: [498] 498,12 unequal: No Solution Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[7, 83], Operations: ['65/65=1', '83/1=83'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 7*83=581, Resulting Numbers: [581] 581,12 unequal: No Solution Exploring Operation: 7+83=90, Resulting Numbers: [90] 90,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[7, 83], Operations: ['65/65=1', '83*1=83'] Exploring Operation: 7+83=90, Resulting Numbers: [90] 90,12 unequal: No Solution Exploring Operation: 7*83=581, Resulting Numbers: [581] 581,12 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,12 unequal: No Solution Moving to Node #0,4,1 Current State: 12:[76, 130], Operations: ['83-7=76', '65+65=130'] Exploring Operation: 76*130=9880, Resulting Numbers: [9880] 9880,12 unequal: No Solution Exploring Operation: 76+130=206, Resulting Numbers: [206] 206,12 unequal: No Solution Exploring Operation: 130-76=54, Resulting Numbers: [54] 54,12 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 87, 79, 26, 21 ]
82
[ "79+26=105", "105/21=5", "87-5=82" ]
Current State: 82:[87, 79, 26, 21], Operations: [] Exploring Operation: 79+26=105, Resulting Numbers: [87, 21, 105] Generated Node #2: [87, 21, 105] from Operation: 79+26=105 Current State: 82:[87, 21, 105], Operations: ['79+26=105'] Exploring Operation: 105/21=5, Resulting Numbers: [87, 5] Generated Node #3: [87, 5] from Operation: 105/21=5 Current State: 82:[87, 5], Operations: ['79+26=105', '105/21=5'] Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[87, 79, 26, 21], Operations: [] Exploring Operation: 87-21=66, Resulting Numbers: [79, 26, 66] Generated Node #0,0: 82:[79, 26, 66] Operation: 87-21=66 Exploring Operation: 26-21=5, Resulting Numbers: [87, 79, 5] Generated Node #0,1: 82:[87, 79, 5] Operation: 26-21=5 Exploring Operation: 26+21=47, Resulting Numbers: [87, 79, 47] Generated Node #0,2: 82:[87, 79, 47] Operation: 26+21=47 Moving to Node #0,1 Current State: 82:[87, 79, 5], Operations: ['26-21=5'] Exploring Operation: 79+5=84, Resulting Numbers: [87, 84] Generated Node #0,1,0: 82:[87, 84] Operation: 79+5=84 Exploring Operation: 87-5=82, Resulting Numbers: [79, 82] Generated Node #0,1,1: 82:[79, 82] Operation: 87-5=82 Exploring Operation: 87-79=8, Resulting Numbers: [5, 8] Generated Node #0,1,2: 82:[5, 8] Operation: 87-79=8 Moving to Node #0,2 Current State: 82:[87, 79, 47], Operations: ['26+21=47'] Exploring Operation: 87-79=8, Resulting Numbers: [47, 8] Generated Node #0,2,0: 82:[47, 8] Operation: 87-79=8 Exploring Operation: 87-47=40, Resulting Numbers: [79, 40] Generated Node #0,2,1: 82:[79, 40] Operation: 87-47=40 Exploring Operation: 79-47=32, Resulting Numbers: [87, 32] Generated Node #0,2,2: 82:[87, 32] Operation: 79-47=32 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[79, 40], Operations: ['26+21=47', '87-47=40'] Exploring Operation: 79*40=3160, Resulting Numbers: [3160] 3160,82 unequal: No Solution Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 79+40=119, Resulting Numbers: [119] 119,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[47, 8], Operations: ['26+21=47', '87-79=8'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,82 unequal: No Solution Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[87, 32], Operations: ['26+21=47', '79-47=32'] Exploring Operation: 87*32=2784, Resulting Numbers: [2784] 2784,82 unequal: No Solution Exploring Operation: 87+32=119, Resulting Numbers: [119] 119,82 unequal: No Solution Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,82 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: 82:[79, 26, 66], Operations: ['87-21=66'] Exploring Operation: 26+66=92, Resulting Numbers: [79, 92] Generated Node #0,0,0: 82:[79, 92] Operation: 26+66=92 Exploring Operation: 79-66=13, Resulting Numbers: [26, 13] Generated Node #0,0,1: 82:[26, 13] Operation: 79-66=13 Exploring Operation: 66-26=40, Resulting Numbers: [79, 40] Generated Node #0,0,2: 82:[79, 40] Operation: 66-26=40 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[79, 40], Operations: ['87-21=66', '66-26=40'] Exploring Operation: 79*40=3160, Resulting Numbers: [3160] 3160,82 unequal: No Solution Exploring Operation: 79+40=119, Resulting Numbers: [119] 119,82 unequal: No Solution Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[79, 92], Operations: ['87-21=66', '26+66=92'] Exploring Operation: 79+92=171, Resulting Numbers: [171] 171,82 unequal: No Solution Exploring Operation: 92-79=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 79*92=7268, Resulting Numbers: [7268] 7268,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[26, 13], Operations: ['87-21=66', '79-66=13'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 82:[79, 82], Operations: ['26-21=5', '87-5=82'] Exploring Operation: 79*82=6478, Resulting Numbers: [6478] 6478,82 unequal: No Solution Exploring Operation: 82-79=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 79+82=161, Resulting Numbers: [161] 161,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[87, 84], Operations: ['26-21=5', '79+5=84'] Exploring Operation: 87+84=171, Resulting Numbers: [171] 171,82 unequal: No Solution Exploring Operation: 87*84=7308, Resulting Numbers: [7308] 7308,82 unequal: No Solution Exploring Operation: 87-84=3, Resulting Numbers: [3] 3,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[5, 8], Operations: ['26-21=5', '87-79=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,82 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 21, 76, 21, 53 ]
76
[ "21-21=0", "53*0=0", "76+0=76" ]
Current State: 76:[21, 76, 21, 53], Operations: [] Exploring Operation: 21-21=0, Resulting Numbers: [76, 53, 0] Generated Node #2: [76, 53, 0] from Operation: 21-21=0 Current State: 76:[76, 53, 0], Operations: ['21-21=0'] Exploring Operation: 53*0=0, Resulting Numbers: [76, 0] Generated Node #3: [76, 0] from Operation: 53*0=0 Current State: 76:[76, 0], Operations: ['21-21=0', '53*0=0'] Exploring Operation: 76+0=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[21, 76, 21, 53], Operations: [] Exploring Operation: 21+53=74, Resulting Numbers: [76, 21, 74] Generated Node #0,0: 76:[76, 21, 74] Operation: 21+53=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[76, 21, 74], Operations: ['21+53=74'] Exploring Operation: 76-74=2, Resulting Numbers: [21, 2] Generated Node #0,0,0: 76:[21, 2] Operation: 76-74=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[21, 2], Operations: ['21+53=74', '76-74=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 47, 34, 50, 57 ]
15
[ "50-47=3", "57/3=19", "34-19=15" ]
Current State: 15:[47, 34, 50, 57], Operations: [] Exploring Operation: 50-47=3, Resulting Numbers: [34, 57, 3] Generated Node #2: [34, 57, 3] from Operation: 50-47=3 Current State: 15:[34, 57, 3], Operations: ['50-47=3'] Exploring Operation: 57/3=19, Resulting Numbers: [34, 19] Generated Node #3: [34, 19] from Operation: 57/3=19 Current State: 15:[34, 19], Operations: ['50-47=3', '57/3=19'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[47, 34, 50, 57], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [47, 57, 16] Generated Node #0,0: 15:[47, 57, 16] Operation: 50-34=16 Exploring Operation: 57-50=7, Resulting Numbers: [47, 34, 7] Generated Node #0,1: 15:[47, 34, 7] Operation: 57-50=7 Exploring Operation: 57-34=23, Resulting Numbers: [47, 50, 23] Generated Node #0,2: 15:[47, 50, 23] Operation: 57-34=23 Exploring Operation: 50-47=3, Resulting Numbers: [34, 57, 3] Generated Node #0,3: 15:[34, 57, 3] Operation: 50-47=3 Exploring Operation: 57-47=10, Resulting Numbers: [34, 50, 10] Generated Node #0,4: 15:[34, 50, 10] Operation: 57-47=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[47, 34, 7], Operations: ['57-50=7'] Exploring Operation: 47+7=54, Resulting Numbers: [34, 54] Generated Node #0,1,0: 15:[34, 54] Operation: 47+7=54 Exploring Operation: 34+7=41, Resulting Numbers: [47, 41] Generated Node #0,1,1: 15:[47, 41] Operation: 34+7=41 Exploring Operation: 47-34=13, Resulting Numbers: [7, 13] Generated Node #0,1,2: 15:[7, 13] Operation: 47-34=13 Exploring Operation: 34-7=27, Resulting Numbers: [47, 27] Generated Node #0,1,3: 15:[47, 27] Operation: 34-7=27 Exploring Operation: 47-7=40, Resulting Numbers: [34, 40] Generated Node #0,1,4: 15:[34, 40] Operation: 47-7=40 Moving to Node #0,1,2 Current State: 15:[7, 13], Operations: ['57-50=7', '47-34=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,15 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,15 unequal: No Solution Moving to Node #0,1,4 Current State: 15:[34, 40], Operations: ['57-50=7', '47-7=40'] Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 34*40=1360, Resulting Numbers: [1360] 1360,15 unequal: No Solution Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[47, 27], Operations: ['57-50=7', '34-7=27'] Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,15 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[34, 54], Operations: ['57-50=7', '47+7=54'] Exploring Operation: 34*54=1836, Resulting Numbers: [1836] 1836,15 unequal: No Solution Exploring Operation: 34+54=88, Resulting Numbers: [88] 88,15 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[47, 41], Operations: ['57-50=7', '34+7=41'] Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,15 unequal: No Solution Exploring Operation: 47*41=1927, Resulting Numbers: [1927] 1927,15 unequal: No Solution Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 15:[34, 50, 10], Operations: ['57-47=10'] Exploring Operation: 50-34=16, Resulting Numbers: [10, 16] Generated Node #0,4,0: 15:[10, 16] Operation: 50-34=16 Exploring Operation: 50/10=5, Resulting Numbers: [34, 5] Generated Node #0,4,1: 15:[34, 5] Operation: 50/10=5 Exploring Operation: 34+10=44, Resulting Numbers: [50, 44] Generated Node #0,4,2: 15:[50, 44] Operation: 34+10=44 Exploring Operation: 50-10=40, Resulting Numbers: [34, 40] Generated Node #0,4,3: 15:[34, 40] Operation: 50-10=40 Exploring Operation: 34-10=24, Resulting Numbers: [50, 24] Generated Node #0,4,4: 15:[50, 24] Operation: 34-10=24 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 15:[10, 16], Operations: ['57-47=10', '50-34=16'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 15:[34, 5], Operations: ['57-47=10', '50/10=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 15:[34, 40], Operations: ['57-47=10', '50-10=40'] Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 34*40=1360, Resulting Numbers: [1360] 1360,15 unequal: No Solution Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 15:[50, 24], Operations: ['57-47=10', '34-10=24'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,15 unequal: No Solution Exploring Operation: 50*24=1200, Resulting Numbers: [1200] 1200,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 15:[50, 44], Operations: ['57-47=10', '34+10=44'] Exploring Operation: 50+44=94, Resulting Numbers: [94] 94,15 unequal: No Solution Exploring Operation: 50*44=2200, Resulting Numbers: [2200] 2200,15 unequal: No Solution Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[34, 57, 3], Operations: ['50-47=3'] Exploring Operation: 57/3=19, Resulting Numbers: [34, 19] Generated Node #0,3,0: 15:[34, 19] Operation: 57/3=19 Exploring Operation: 57-3=54, Resulting Numbers: [34, 54] Generated Node #0,3,1: 15:[34, 54] Operation: 57-3=54 Exploring Operation: 34-3=31, Resulting Numbers: [57, 31] Generated Node #0,3,2: 15:[57, 31] Operation: 34-3=31 Exploring Operation: 34+3=37, Resulting Numbers: [57, 37] Generated Node #0,3,3: 15:[57, 37] Operation: 34+3=37 Exploring Operation: 57-34=23, Resulting Numbers: [3, 23] Generated Node #0,3,4: 15:[3, 23] Operation: 57-34=23 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 15:[3, 23], Operations: ['50-47=3', '57-34=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,15 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 15:[34, 19], Operations: ['50-47=3', '57/3=19'] Exploring Operation: 34*19=646, Resulting Numbers: [646] 646,15 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[47, 34, 50, 57], Operations: [] Exploring Operation: 50-47=3, Resulting Numbers: [34, 57, 3] Generated Node #0,3: 15:[34, 57, 3] Operation: 50-47=3 Moving to Node #0,3 Current State: 15:[34, 57, 3], Operations: ['50-47=3'] Exploring Operation: 57/3=19, Resulting Numbers: [34, 19] Generated Node #0,3,0: 15:[34, 19] Operation: 57/3=19 Moving to Node #0,3,0 Current State: 15:[34, 19], Operations: ['50-47=3', '57/3=19'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.948785
hs_5
sum_heuristic
[ 18, 15, 96, 30 ]
33
[ "18+15=33", "96-30=66", "66-33=33" ]
Current State: 33:[18, 15, 96, 30], Operations: [] Exploring Operation: 18+15=33, Resulting Numbers: [96, 30, 33] Generated Node #2: [96, 30, 33] from Operation: 18+15=33 Current State: 33:[96, 30, 33], Operations: ['18+15=33'] Exploring Operation: 96-30=66, Resulting Numbers: [33, 66] Generated Node #3: [33, 66] from Operation: 96-30=66 Current State: 33:[33, 66], Operations: ['18+15=33', '96-30=66'] Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[18, 15, 96, 30], Operations: [] Exploring Operation: 96-18=78, Resulting Numbers: [15, 30, 78] Generated Node #0,0: 33:[15, 30, 78] Operation: 96-18=78 Exploring Operation: 96-15=81, Resulting Numbers: [18, 30, 81] Generated Node #0,1: 33:[18, 30, 81] Operation: 96-15=81 Exploring Operation: 18+15=33, Resulting Numbers: [96, 30, 33] Generated Node #0,2: 33:[96, 30, 33] Operation: 18+15=33 Exploring Operation: 96-30=66, Resulting Numbers: [18, 15, 66] Generated Node #0,3: 33:[18, 15, 66] Operation: 96-30=66 Moving to Node #0,3 Current State: 33:[18, 15, 66], Operations: ['96-30=66'] Exploring Operation: 18-15=3, Resulting Numbers: [66, 3] Generated Node #0,3,0: 33:[66, 3] Operation: 18-15=3 Exploring Operation: 18+15=33, Resulting Numbers: [66, 33] Generated Node #0,3,1: 33:[66, 33] Operation: 18+15=33 Exploring Operation: 66-15=51, Resulting Numbers: [18, 51] Generated Node #0,3,2: 33:[18, 51] Operation: 66-15=51 Exploring Operation: 66-18=48, Resulting Numbers: [15, 48] Generated Node #0,3,3: 33:[15, 48] Operation: 66-18=48 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 33:[15, 48], Operations: ['96-30=66', '66-18=48'] Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 15*48=720, Resulting Numbers: [720] 720,33 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[18, 15, 96, 30], Operations: [] Exploring Operation: 96-30=66, Resulting Numbers: [18, 15, 66] Generated Node #0,3: 33:[18, 15, 66] Operation: 96-30=66 Moving to Node #0,3 Current State: 33:[18, 15, 66], Operations: ['96-30=66'] Exploring Operation: 66-18=48, Resulting Numbers: [15, 48] Generated Node #0,3,3: 33:[15, 48] Operation: 66-18=48 Moving to Node #0,3,3 Current State: 33:[15, 48], Operations: ['96-30=66', '66-18=48'] Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 7, 17, 4, 36 ]
57
[ "7-4=3", "36-17=19", "3*19=57" ]
Current State: 57:[7, 17, 4, 36], Operations: [] Exploring Operation: 7-4=3, Resulting Numbers: [17, 36, 3] Generated Node #2: [17, 36, 3] from Operation: 7-4=3 Current State: 57:[17, 36, 3], Operations: ['7-4=3'] Exploring Operation: 36-17=19, Resulting Numbers: [3, 19] Generated Node #3: [3, 19] from Operation: 36-17=19 Current State: 57:[3, 19], Operations: ['7-4=3', '36-17=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[7, 17, 4, 36], Operations: [] Exploring Operation: 36-17=19, Resulting Numbers: [7, 4, 19] Generated Node #0,0: 57:[7, 4, 19] Operation: 36-17=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[7, 4, 19], Operations: ['36-17=19'] Exploring Operation: 7-4=3, Resulting Numbers: [19, 3] Generated Node #0,0,0: 57:[19, 3] Operation: 7-4=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[19, 3], Operations: ['36-17=19', '7-4=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[7, 17, 4, 36], Operations: [] Exploring Operation: 36-17=19, Resulting Numbers: [7, 4, 19] Generated Node #0,0: 57:[7, 4, 19] Operation: 36-17=19 Moving to Node #0,0 Current State: 57:[7, 4, 19], Operations: ['36-17=19'] Exploring Operation: 7-4=3, Resulting Numbers: [19, 3] Generated Node #0,0,0: 57:[19, 3] Operation: 7-4=3 Moving to Node #0,0,0 Current State: 57:[19, 3], Operations: ['36-17=19', '7-4=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 74, 44, 81, 15 ]
61
[ "81-74=7", "15*7=105", "105-44=61" ]
Current State: 61:[74, 44, 81, 15], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [44, 15, 7] Generated Node #2: [44, 15, 7] from Operation: 81-74=7 Current State: 61:[44, 15, 7], Operations: ['81-74=7'] Exploring Operation: 15*7=105, Resulting Numbers: [44, 105] Generated Node #3: [44, 105] from Operation: 15*7=105 Current State: 61:[44, 105], Operations: ['81-74=7', '15*7=105'] Exploring Operation: 105-44=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[74, 44, 81, 15], Operations: [] Exploring Operation: 81-15=66, Resulting Numbers: [74, 44, 66] Generated Node #0,0: 61:[74, 44, 66] Operation: 81-15=66 Exploring Operation: 44-15=29, Resulting Numbers: [74, 81, 29] Generated Node #0,1: 61:[74, 81, 29] Operation: 44-15=29 Exploring Operation: 74-15=59, Resulting Numbers: [44, 81, 59] Generated Node #0,2: 61:[44, 81, 59] Operation: 74-15=59 Exploring Operation: 44+15=59, Resulting Numbers: [74, 81, 59] Generated Node #0,3: 61:[74, 81, 59] Operation: 44+15=59 Exploring Operation: 74+15=89, Resulting Numbers: [44, 81, 89] Generated Node #0,4: 61:[44, 81, 89] Operation: 74+15=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[74, 44, 66], Operations: ['81-15=66'] Exploring Operation: 74+44=118, Resulting Numbers: [66, 118] Generated Node #0,0,0: 61:[66, 118] Operation: 74+44=118 Exploring Operation: 44+66=110, Resulting Numbers: [74, 110] Generated Node #0,0,1: 61:[74, 110] Operation: 44+66=110 Exploring Operation: 74-44=30, Resulting Numbers: [66, 30] Generated Node #0,0,2: 61:[66, 30] Operation: 74-44=30 Exploring Operation: 74-66=8, Resulting Numbers: [44, 8] Generated Node #0,0,3: 61:[44, 8] Operation: 74-66=8 Exploring Operation: 66-44=22, Resulting Numbers: [74, 22] Generated Node #0,0,4: 61:[74, 22] Operation: 66-44=22 Moving to Node #0,0,2 Current State: 61:[66, 30], Operations: ['81-15=66', '74-44=30'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 66*30=1980, Resulting Numbers: [1980] 1980,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[74, 22], Operations: ['81-15=66', '66-44=22'] Exploring Operation: 74*22=1628, Resulting Numbers: [1628] 1628,61 unequal: No Solution Exploring Operation: 74+22=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[66, 118], Operations: ['81-15=66', '74+44=118'] Exploring Operation: 66*118=7788, Resulting Numbers: [7788] 7788,61 unequal: No Solution Exploring Operation: 66+118=184, Resulting Numbers: [184] 184,61 unequal: No Solution Exploring Operation: 118-66=52, Resulting Numbers: [52] 52,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[74, 110], Operations: ['81-15=66', '44+66=110'] Exploring Operation: 74+110=184, Resulting Numbers: [184] 184,61 unequal: No Solution Exploring Operation: 110-74=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 74*110=8140, Resulting Numbers: [8140] 8140,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[44, 8], Operations: ['81-15=66', '74-66=8'] Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,61 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 61:[74, 81, 59], Operations: ['44+15=59'] Exploring Operation: 74+59=133, Resulting Numbers: [81, 133] Generated Node #0,3,0: 61:[81, 133] Operation: 74+59=133 Exploring Operation: 81+59=140, Resulting Numbers: [74, 140] Generated Node #0,3,1: 61:[74, 140] Operation: 81+59=140 Exploring Operation: 81-74=7, Resulting Numbers: [59, 7] Generated Node #0,3,2: 61:[59, 7] Operation: 81-74=7 Exploring Operation: 81-59=22, Resulting Numbers: [74, 22] Generated Node #0,3,3: 61:[74, 22] Operation: 81-59=22 Exploring Operation: 74-59=15, Resulting Numbers: [81, 15] Generated Node #0,3,4: 61:[81, 15] Operation: 74-59=15 Moving to Node #0,3,3 Current State: 61:[74, 22], Operations: ['44+15=59', '81-59=22'] Exploring Operation: 74*22=1628, Resulting Numbers: [1628] 1628,61 unequal: No Solution Exploring Operation: 74+22=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[59, 7], Operations: ['44+15=59', '81-74=7'] Exploring Operation: 59+7=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 59*7=413, Resulting Numbers: [413] 413,61 unequal: No Solution Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,61 unequal: No Solution Moving to Node #0,3,4 Current State: 61:[81, 15], Operations: ['44+15=59', '74-59=15'] Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[81, 133], Operations: ['44+15=59', '74+59=133'] Exploring Operation: 81*133=10773, Resulting Numbers: [10773] 10773,61 unequal: No Solution Exploring Operation: 81+133=214, Resulting Numbers: [214] 214,61 unequal: No Solution Exploring Operation: 133-81=52, Resulting Numbers: [52] 52,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[74, 140], Operations: ['44+15=59', '81+59=140'] Exploring Operation: 74+140=214, Resulting Numbers: [214] 214,61 unequal: No Solution Exploring Operation: 140-74=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 74*140=10360, Resulting Numbers: [10360] 10360,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[44, 81, 59], Operations: ['74-15=59'] Exploring Operation: 44+81=125, Resulting Numbers: [59, 125] Generated Node #0,2,0: 61:[59, 125] Operation: 44+81=125 Exploring Operation: 44+59=103, Resulting Numbers: [81, 103] Generated Node #0,2,1: 61:[81, 103] Operation: 44+59=103 Exploring Operation: 81-59=22, Resulting Numbers: [44, 22] Generated Node #0,2,2: 61:[44, 22] Operation: 81-59=22 Exploring Operation: 81-44=37, Resulting Numbers: [59, 37] Generated Node #0,2,3: 61:[59, 37] Operation: 81-44=37 Exploring Operation: 59-44=15, Resulting Numbers: [81, 15] Generated Node #0,2,4: 61:[81, 15] Operation: 59-44=15 Moving to Node #0,2,3 Current State: 61:[59, 37], Operations: ['74-15=59', '81-44=37'] Exploring Operation: 59+37=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 59*37=2183, Resulting Numbers: [2183] 2183,61 unequal: No Solution Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[44, 22], Operations: ['74-15=59', '81-59=22'] Exploring Operation: 44+22=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 44*22=968, Resulting Numbers: [968] 968,61 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[81, 103], Operations: ['74-15=59', '44+59=103'] Exploring Operation: 81*103=8343, Resulting Numbers: [8343] 8343,61 unequal: No Solution Exploring Operation: 81+103=184, Resulting Numbers: [184] 184,61 unequal: No Solution Exploring Operation: 103-81=22, Resulting Numbers: [22] 22,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[59, 125], Operations: ['74-15=59', '44+81=125'] Exploring Operation: 59*125=7375, Resulting Numbers: [7375] 7375,61 unequal: No Solution Exploring Operation: 59+125=184, Resulting Numbers: [184] 184,61 unequal: No Solution Exploring Operation: 125-59=66, Resulting Numbers: [66] 66,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[81, 15], Operations: ['74-15=59', '59-44=15'] Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,61 unequal: No Solution Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,61 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,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 Current State: 61:[74, 81, 29], Operations: ['44-15=29'] Exploring Operation: 81-29=52, Resulting Numbers: [74, 52] Generated Node #0,1,0: 61:[74, 52] Operation: 81-29=52 Exploring Operation: 74+29=103, Resulting Numbers: [81, 103] Generated Node #0,1,1: 61:[81, 103] Operation: 74+29=103 Exploring Operation: 74-29=45, Resulting Numbers: [81, 45] Generated Node #0,1,2: 61:[81, 45] Operation: 74-29=45 Exploring Operation: 81+29=110, Resulting Numbers: [74, 110] Generated Node #0,1,3: 61:[74, 110] Operation: 81+29=110 Exploring Operation: 81-74=7, Resulting Numbers: [29, 7] Generated Node #0,1,4: 61:[29, 7] Operation: 81-74=7 Moving to Node #0,1,0 Current State: 61:[74, 52], Operations: ['44-15=29', '81-29=52'] Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 74*52=3848, Resulting Numbers: [3848] 3848,61 unequal: No Solution Exploring Operation: 74+52=126, Resulting Numbers: [126] 126,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[81, 45], Operations: ['44-15=29', '74-29=45'] Exploring Operation: 81+45=126, Resulting Numbers: [126] 126,61 unequal: No Solution Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 81*45=3645, Resulting Numbers: [3645] 3645,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[81, 103], Operations: ['44-15=29', '74+29=103'] Exploring Operation: 81*103=8343, Resulting Numbers: [8343] 8343,61 unequal: No Solution Exploring Operation: 103-81=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 81+103=184, Resulting Numbers: [184] 184,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[74, 110], Operations: ['44-15=29', '81+29=110'] Exploring Operation: 74+110=184, Resulting Numbers: [184] 184,61 unequal: No Solution Exploring Operation: 74*110=8140, Resulting Numbers: [8140] 8140,61 unequal: No Solution Exploring Operation: 110-74=36, Resulting Numbers: [36] 36,61 unequal: No Solution Moving to Node #0,1,4 Current State: 61:[29, 7], Operations: ['44-15=29', '81-74=7'] Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,61 unequal: No Solution Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,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,4 Current State: 61:[44, 81, 89], Operations: ['74+15=89'] Exploring Operation: 44+81=125, Resulting Numbers: [89, 125] Generated Node #0,4,0: 61:[89, 125] Operation: 44+81=125 Exploring Operation: 89-81=8, Resulting Numbers: [44, 8] Generated Node #0,4,1: 61:[44, 8] Operation: 89-81=8 Exploring Operation: 89-44=45, Resulting Numbers: [81, 45] Generated Node #0,4,2: 61:[81, 45] Operation: 89-44=45 Exploring Operation: 44+89=133, Resulting Numbers: [81, 133] Generated Node #0,4,3: 61:[81, 133] Operation: 44+89=133 Exploring Operation: 81-44=37, Resulting Numbers: [89, 37] Generated Node #0,4,4: 61:[89, 37] Operation: 81-44=37 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 61:[81, 45], Operations: ['74+15=89', '89-44=45'] Exploring Operation: 81*45=3645, Resulting Numbers: [3645] 3645,61 unequal: No Solution Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 81+45=126, Resulting Numbers: [126] 126,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 61:[89, 37], Operations: ['74+15=89', '81-44=37'] Exploring Operation: 89*37=3293, Resulting Numbers: [3293] 3293,61 unequal: No Solution Exploring Operation: 89+37=126, Resulting Numbers: [126] 126,61 unequal: No Solution Exploring Operation: 89-37=52, Resulting Numbers: [52] 52,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 61:[44, 8], Operations: ['74+15=89', '89-81=8'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,61 unequal: No Solution Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 61:[89, 125], Operations: ['74+15=89', '44+81=125'] Exploring Operation: 89+125=214, Resulting Numbers: [214] 214,61 unequal: No Solution Exploring Operation: 89*125=11125, Resulting Numbers: [11125] 11125,61 unequal: No Solution Exploring Operation: 125-89=36, Resulting Numbers: [36] 36,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 61:[81, 133], Operations: ['74+15=89', '44+89=133'] Exploring Operation: 81+133=214, Resulting Numbers: [214] 214,61 unequal: No Solution Exploring Operation: 81*133=10773, Resulting Numbers: [10773] 10773,61 unequal: No Solution Exploring Operation: 133-81=52, Resulting Numbers: [52] 52,61 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
[ 21, 98, 68, 79 ]
14
[ "21*98=2058", "68+79=147", "2058/147=14" ]
Current State: 14:[21, 98, 68, 79], Operations: [] Exploring Operation: 21*98=2058, Resulting Numbers: [68, 79, 2058] Generated Node #2: [68, 79, 2058] from Operation: 21*98=2058 Current State: 14:[68, 79, 2058], Operations: ['21*98=2058'] Exploring Operation: 68+79=147, Resulting Numbers: [2058, 147] Generated Node #3: [2058, 147] from Operation: 68+79=147 Current State: 14:[2058, 147], Operations: ['21*98=2058', '68+79=147'] Exploring Operation: 2058/147=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[21, 98, 68, 79], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [21, 79, 30] Generated Node #0,0: 14:[21, 79, 30] Operation: 98-68=30 Exploring Operation: 98-79=19, Resulting Numbers: [21, 68, 19] Generated Node #0,1: 14:[21, 68, 19] Operation: 98-79=19 Exploring Operation: 79-68=11, Resulting Numbers: [21, 98, 11] Generated Node #0,2: 14:[21, 98, 11] Operation: 79-68=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[21, 68, 19], Operations: ['98-79=19'] Exploring Operation: 68-21=47, Resulting Numbers: [19, 47] Generated Node #0,1,0: 14:[19, 47] Operation: 68-21=47 Exploring Operation: 68-19=49, Resulting Numbers: [21, 49] Generated Node #0,1,1: 14:[21, 49] Operation: 68-19=49 Exploring Operation: 21-19=2, Resulting Numbers: [68, 2] Generated Node #0,1,2: 14:[68, 2] Operation: 21-19=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[19, 47], Operations: ['98-79=19', '68-21=47'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,14 unequal: No Solution Exploring Operation: 19*47=893, Resulting Numbers: [893] 893,14 unequal: No Solution Exploring Operation: 19+47=66, Resulting Numbers: [66] 66,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[21, 49], Operations: ['98-79=19', '68-19=49'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,14 unequal: No Solution Exploring Operation: 21*49=1029, Resulting Numbers: [1029] 1029,14 unequal: No Solution Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 14:[68, 2], Operations: ['98-79=19', '21-19=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,14 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[21, 79, 30], Operations: ['98-68=30'] Exploring Operation: 79-30=49, Resulting Numbers: [21, 49] Generated Node #0,0,0: 14:[21, 49] Operation: 79-30=49 Exploring Operation: 79-21=58, Resulting Numbers: [30, 58] Generated Node #0,0,1: 14:[30, 58] Operation: 79-21=58 Exploring Operation: 30-21=9, Resulting Numbers: [79, 9] Generated Node #0,0,2: 14:[79, 9] Operation: 30-21=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[21, 49], Operations: ['98-68=30', '79-30=49'] Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,14 unequal: No Solution Exploring Operation: 21*49=1029, Resulting Numbers: [1029] 1029,14 unequal: No Solution Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[30, 58], Operations: ['98-68=30', '79-21=58'] Exploring Operation: 30*58=1740, Resulting Numbers: [1740] 1740,14 unequal: No Solution Exploring Operation: 30+58=88, Resulting Numbers: [88] 88,14 unequal: No Solution Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 14:[79, 9], Operations: ['98-68=30', '30-21=9'] Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,14 unequal: No Solution Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,14 unequal: No Solution Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[21, 98, 11], Operations: ['79-68=11'] Exploring Operation: 98-11=87, Resulting Numbers: [21, 87] Generated Node #0,2,0: 14:[21, 87] Operation: 98-11=87 Exploring Operation: 21-11=10, Resulting Numbers: [98, 10] Generated Node #0,2,1: 14:[98, 10] Operation: 21-11=10 Exploring Operation: 98-21=77, Resulting Numbers: [11, 77] Generated Node #0,2,2: 14:[11, 77] Operation: 98-21=77 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 14:[11, 77], Operations: ['79-68=11', '98-21=77'] Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 11+77=88, Resulting Numbers: [88] 88,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 14:[21, 87], Operations: ['79-68=11', '98-11=87'] Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 21+87=108, Resulting Numbers: [108] 108,14 unequal: No Solution Exploring Operation: 21*87=1827, Resulting Numbers: [1827] 1827,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 14:[98, 10], Operations: ['79-68=11', '21-11=10'] Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,14 unequal: No Solution Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,14 unequal: No Solution Exploring Operation: 98*10=980, Resulting Numbers: [980] 980,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 92, 95, 59, 43 ]
48
[ "95-92=3", "59-43=16", "3*16=48" ]
Current State: 48:[92, 95, 59, 43], Operations: [] Exploring Operation: 95-92=3, Resulting Numbers: [59, 43, 3] Generated Node #2: [59, 43, 3] from Operation: 95-92=3 Current State: 48:[59, 43, 3], Operations: ['95-92=3'] Exploring Operation: 59-43=16, Resulting Numbers: [3, 16] Generated Node #3: [3, 16] from Operation: 59-43=16 Current State: 48:[3, 16], Operations: ['95-92=3', '59-43=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[92, 95, 59, 43], Operations: [] Exploring Operation: 95-43=52, Resulting Numbers: [92, 59, 52] Generated Node #0,0: 48:[92, 59, 52] Operation: 95-43=52 Exploring Operation: 95-92=3, Resulting Numbers: [59, 43, 3] Generated Node #0,1: 48:[59, 43, 3] Operation: 95-92=3 Exploring Operation: 92-59=33, Resulting Numbers: [95, 43, 33] Generated Node #0,2: 48:[95, 43, 33] Operation: 92-59=33 Exploring Operation: 92-43=49, Resulting Numbers: [95, 59, 49] Generated Node #0,3: 48:[95, 59, 49] Operation: 92-43=49 Moving to Node #0,1 Current State: 48:[59, 43, 3], Operations: ['95-92=3'] Exploring Operation: 43+3=46, Resulting Numbers: [59, 46] Generated Node #0,1,0: 48:[59, 46] Operation: 43+3=46 Exploring Operation: 59-3=56, Resulting Numbers: [43, 56] Generated Node #0,1,1: 48:[43, 56] Operation: 59-3=56 Exploring Operation: 59+3=62, Resulting Numbers: [43, 62] Generated Node #0,1,2: 48:[43, 62] Operation: 59+3=62 Exploring Operation: 59-43=16, Resulting Numbers: [3, 16] Generated Node #0,1,3: 48:[3, 16] Operation: 59-43=16 Moving to Node #0,3 Current State: 48:[95, 59, 49], Operations: ['92-43=49'] Exploring Operation: 59-49=10, Resulting Numbers: [95, 10] Generated Node #0,3,0: 48:[95, 10] Operation: 59-49=10 Exploring Operation: 95-59=36, Resulting Numbers: [49, 36] Generated Node #0,3,1: 48:[49, 36] Operation: 95-59=36 Exploring Operation: 95+59=154, Resulting Numbers: [49, 154] Generated Node #0,3,2: 48:[49, 154] Operation: 95+59=154 Exploring Operation: 95-49=46, Resulting Numbers: [59, 46] Generated Node #0,3,3: 48:[59, 46] Operation: 95-49=46 Moving to Node #0,0 Current State: 48:[92, 59, 52], Operations: ['95-43=52'] Exploring Operation: 92+59=151, Resulting Numbers: [52, 151] Generated Node #0,0,0: 48:[52, 151] Operation: 92+59=151 Exploring Operation: 92-59=33, Resulting Numbers: [52, 33] Generated Node #0,0,1: 48:[52, 33] Operation: 92-59=33 Exploring Operation: 92-52=40, Resulting Numbers: [59, 40] Generated Node #0,0,2: 48:[59, 40] Operation: 92-52=40 Exploring Operation: 59-52=7, Resulting Numbers: [92, 7] Generated Node #0,0,3: 48:[92, 7] Operation: 59-52=7 Moving to Node #0,2 Current State: 48:[95, 43, 33], Operations: ['92-59=33'] Exploring Operation: 95-33=62, Resulting Numbers: [43, 62] Generated Node #0,2,0: 48:[43, 62] Operation: 95-33=62 Exploring Operation: 95-43=52, Resulting Numbers: [33, 52] Generated Node #0,2,1: 48:[33, 52] Operation: 95-43=52 Exploring Operation: 43-33=10, Resulting Numbers: [95, 10] Generated Node #0,2,2: 48:[95, 10] Operation: 43-33=10 Exploring Operation: 43+33=76, Resulting Numbers: [95, 76] Generated Node #0,2,3: 48:[95, 76] Operation: 43+33=76 Moving to Node #0,1,3 Current State: 48:[3, 16], Operations: ['95-92=3', '59-43=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,48 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[92, 95, 59, 43], Operations: [] Exploring Operation: 95-92=3, Resulting Numbers: [59, 43, 3] Generated Node #0,1: 48:[59, 43, 3] Operation: 95-92=3 Moving to Node #0,1 Current State: 48:[59, 43, 3], Operations: ['95-92=3'] Exploring Operation: 59-43=16, Resulting Numbers: [3, 16] Generated Node #0,1,3: 48:[3, 16] Operation: 59-43=16 Moving to Node #0,1,3 Current State: 48:[3, 16], Operations: ['95-92=3', '59-43=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.976563
hs_4
sum_heuristic
[ 37, 44, 59, 24 ]
42
[ "44-37=7", "59-24=35", "7+35=42" ]
Current State: 42:[37, 44, 59, 24], Operations: [] Exploring Operation: 44-37=7, Resulting Numbers: [59, 24, 7] Generated Node #2: [59, 24, 7] from Operation: 44-37=7 Current State: 42:[59, 24, 7], Operations: ['44-37=7'] Exploring Operation: 59-24=35, Resulting Numbers: [7, 35] Generated Node #3: [7, 35] from Operation: 59-24=35 Current State: 42:[7, 35], Operations: ['44-37=7', '59-24=35'] Exploring Operation: 7+35=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[37, 44, 59, 24], Operations: [] Exploring Operation: 59-37=22, Resulting Numbers: [44, 24, 22] Generated Node #0,0: 42:[44, 24, 22] Operation: 59-37=22 Exploring Operation: 59-44=15, Resulting Numbers: [37, 24, 15] Generated Node #0,1: 42:[37, 24, 15] Operation: 59-44=15 Exploring Operation: 59-24=35, Resulting Numbers: [37, 44, 35] Generated Node #0,2: 42:[37, 44, 35] Operation: 59-24=35 Moving to Node #0,0 Current State: 42:[44, 24, 22], Operations: ['59-37=22'] Exploring Operation: 44-24=20, Resulting Numbers: [22, 20] Generated Node #0,0,0: 42:[22, 20] Operation: 44-24=20 Exploring Operation: 44/22=2, Resulting Numbers: [24, 2] Generated Node #0,0,1: 42:[24, 2] Operation: 44/22=2 Exploring Operation: 24-22=2, Resulting Numbers: [44, 2] Generated Node #0,0,2: 42:[44, 2] Operation: 24-22=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[22, 20], Operations: ['59-37=22', '44-24=20'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 22*20=440, Resulting Numbers: [440] 440,42 unequal: No Solution Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[37, 44, 59, 24], Operations: [] Exploring Operation: 59-37=22, Resulting Numbers: [44, 24, 22] Generated Node #0,0: 42:[44, 24, 22] Operation: 59-37=22 Moving to Node #0,0 Current State: 42:[44, 24, 22], Operations: ['59-37=22'] Exploring Operation: 44-24=20, Resulting Numbers: [22, 20] Generated Node #0,0,0: 42:[22, 20] Operation: 44-24=20 Moving to Node #0,0,0 Current State: 42:[22, 20], Operations: ['59-37=22', '44-24=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 97, 99, 71, 18 ]
35
[ "99-97=2", "18*2=36", "71-36=35" ]
Current State: 35:[97, 99, 71, 18], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [71, 18, 2] Generated Node #2: [71, 18, 2] from Operation: 99-97=2 Current State: 35:[71, 18, 2], Operations: ['99-97=2'] Exploring Operation: 18*2=36, Resulting Numbers: [71, 36] Generated Node #3: [71, 36] from Operation: 18*2=36 Current State: 35:[71, 36], Operations: ['99-97=2', '18*2=36'] Exploring Operation: 71-36=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[97, 99, 71, 18], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [99, 18, 26] Generated Node #0,0: 35:[99, 18, 26] Operation: 97-71=26 Exploring Operation: 99-71=28, Resulting Numbers: [97, 18, 28] Generated Node #0,1: 35:[97, 18, 28] Operation: 99-71=28 Exploring Operation: 99-18=81, Resulting Numbers: [97, 71, 81] Generated Node #0,2: 35:[97, 71, 81] Operation: 99-18=81 Exploring Operation: 97-18=79, Resulting Numbers: [99, 71, 79] Generated Node #0,3: 35:[99, 71, 79] Operation: 97-18=79 Exploring Operation: 99-97=2, Resulting Numbers: [71, 18, 2] Generated Node #0,4: 35:[71, 18, 2] Operation: 99-97=2 Moving to Node #0,4 Current State: 35:[71, 18, 2], Operations: ['99-97=2'] Exploring Operation: 18-2=16, Resulting Numbers: [71, 16] Generated Node #0,4,0: 35:[71, 16] Operation: 18-2=16 Exploring Operation: 71-2=69, Resulting Numbers: [18, 69] Generated Node #0,4,1: 35:[18, 69] Operation: 71-2=69 Exploring Operation: 18/2=9, Resulting Numbers: [71, 9] Generated Node #0,4,2: 35:[71, 9] Operation: 18/2=9 Exploring Operation: 18*2=36, Resulting Numbers: [71, 36] Generated Node #0,4,3: 35:[71, 36] Operation: 18*2=36 Exploring Operation: 71-18=53, Resulting Numbers: [2, 53] Generated Node #0,4,4: 35:[2, 53] Operation: 71-18=53 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 35:[2, 53], Operations: ['99-97=2', '71-18=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,35 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,35 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 35:[71, 36], Operations: ['99-97=2', '18*2=36'] Exploring Operation: 71*36=2556, Resulting Numbers: [2556] 2556,35 unequal: No Solution Exploring Operation: 71+36=107, Resulting Numbers: [107] 107,35 unequal: No Solution Exploring Operation: 71-36=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[97, 99, 71, 18], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [71, 18, 2] Generated Node #0,4: 35:[71, 18, 2] Operation: 99-97=2 Moving to Node #0,4 Current State: 35:[71, 18, 2], Operations: ['99-97=2'] Exploring Operation: 18*2=36, Resulting Numbers: [71, 36] Generated Node #0,4,3: 35:[71, 36] Operation: 18*2=36 Moving to Node #0,4,3 Current State: 35:[71, 36], Operations: ['99-97=2', '18*2=36'] Exploring Operation: 71-36=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 53, 9, 79, 87 ]
36
[ "53-9=44", "87-79=8", "44-8=36" ]
Current State: 36:[53, 9, 79, 87], Operations: [] Exploring Operation: 53-9=44, Resulting Numbers: [79, 87, 44] Generated Node #2: [79, 87, 44] from Operation: 53-9=44 Current State: 36:[79, 87, 44], Operations: ['53-9=44'] Exploring Operation: 87-79=8, Resulting Numbers: [44, 8] Generated Node #3: [44, 8] from Operation: 87-79=8 Current State: 36:[44, 8], Operations: ['53-9=44', '87-79=8'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[53, 9, 79, 87], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [53, 9, 8] Generated Node #0,0: 36:[53, 9, 8] Operation: 87-79=8 Exploring Operation: 53-9=44, Resulting Numbers: [79, 87, 44] Generated Node #0,1: 36:[79, 87, 44] Operation: 53-9=44 Exploring Operation: 79-9=70, Resulting Numbers: [53, 87, 70] Generated Node #0,2: 36:[53, 87, 70] Operation: 79-9=70 Exploring Operation: 79-53=26, Resulting Numbers: [9, 87, 26] Generated Node #0,3: 36:[9, 87, 26] Operation: 79-53=26 Exploring Operation: 87-53=34, Resulting Numbers: [9, 79, 34] Generated Node #0,4: 36:[9, 79, 34] Operation: 87-53=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[53, 9, 8], Operations: ['87-79=8'] Exploring Operation: 53-9=44, Resulting Numbers: [8, 44] Generated Node #0,0,0: 36:[8, 44] Operation: 53-9=44 Exploring Operation: 53-8=45, Resulting Numbers: [9, 45] Generated Node #0,0,1: 36:[9, 45] Operation: 53-8=45 Exploring Operation: 53+8=61, Resulting Numbers: [9, 61] Generated Node #0,0,2: 36:[9, 61] Operation: 53+8=61 Exploring Operation: 9+8=17, Resulting Numbers: [53, 17] Generated Node #0,0,3: 36:[53, 17] Operation: 9+8=17 Exploring Operation: 9-8=1, Resulting Numbers: [53, 1] Generated Node #0,0,4: 36:[53, 1] Operation: 9-8=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[8, 44], Operations: ['87-79=8', '53-9=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[53, 9, 79, 87], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [53, 9, 8] Generated Node #0,0: 36:[53, 9, 8] Operation: 87-79=8 Moving to Node #0,0 Current State: 36:[53, 9, 8], Operations: ['87-79=8'] Exploring Operation: 53-9=44, Resulting Numbers: [8, 44] Generated Node #0,0,0: 36:[8, 44] Operation: 53-9=44 Moving to Node #0,0,0 Current State: 36:[8, 44], Operations: ['87-79=8', '53-9=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 92, 23, 40, 60 ]
31
[ "92-23=69", "40+60=100", "100-69=31" ]
Current State: 31:[92, 23, 40, 60], Operations: [] Exploring Operation: 92-23=69, Resulting Numbers: [40, 60, 69] Generated Node #2: [40, 60, 69] from Operation: 92-23=69 Current State: 31:[40, 60, 69], Operations: ['92-23=69'] Exploring Operation: 40+60=100, Resulting Numbers: [69, 100] Generated Node #3: [69, 100] from Operation: 40+60=100 Current State: 31:[69, 100], Operations: ['92-23=69', '40+60=100'] Exploring Operation: 100-69=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[92, 23, 40, 60], Operations: [] Exploring Operation: 92-60=32, Resulting Numbers: [23, 40, 32] Generated Node #0,0: 31:[23, 40, 32] Operation: 92-60=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[23, 40, 32], Operations: ['92-60=32'] Exploring Operation: 40-23=17, Resulting Numbers: [32, 17] Generated Node #0,0,0: 31:[32, 17] Operation: 40-23=17 Moving to Node #0,0,0 Current State: 31:[32, 17], Operations: ['92-60=32', '40-23=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 53, 54, 12, 3 ]
92
[ "53+54=107", "12+3=15", "107-15=92" ]
Current State: 92:[53, 54, 12, 3], Operations: [] Exploring Operation: 53+54=107, Resulting Numbers: [12, 3, 107] Generated Node #2: [12, 3, 107] from Operation: 53+54=107 Current State: 92:[12, 3, 107], Operations: ['53+54=107'] Exploring Operation: 12+3=15, Resulting Numbers: [107, 15] Generated Node #3: [107, 15] from Operation: 12+3=15 Current State: 92:[107, 15], Operations: ['53+54=107', '12+3=15'] Exploring Operation: 107-15=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[53, 54, 12, 3], Operations: [] Exploring Operation: 54-53=1, Resulting Numbers: [12, 3, 1] Generated Node #0,0: 92:[12, 3, 1] Operation: 54-53=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[12, 3, 1], Operations: ['54-53=1'] Exploring Operation: 12/3=4, Resulting Numbers: [1, 4] Generated Node #0,0,0: 92:[1, 4] Operation: 12/3=4 Moving to Node #0,0,0 Current State: 92:[1, 4], Operations: ['54-53=1', '12/3=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 40, 89, 74, 74 ]
99
[ "89-40=49", "74+74=148", "148-49=99" ]
Current State: 99:[40, 89, 74, 74], Operations: [] Exploring Operation: 89-40=49, Resulting Numbers: [74, 74, 49] Generated Node #2: [74, 74, 49] from Operation: 89-40=49 Current State: 99:[74, 74, 49], Operations: ['89-40=49'] Exploring Operation: 74+74=148, Resulting Numbers: [49, 148] Generated Node #3: [49, 148] from Operation: 74+74=148 Current State: 99:[49, 148], Operations: ['89-40=49', '74+74=148'] Exploring Operation: 148-49=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[40, 89, 74, 74], Operations: [] Exploring Operation: 74/74=1, Resulting Numbers: [40, 89, 1] Generated Node #0,0: 99:[40, 89, 1] Operation: 74/74=1 Exploring Operation: 74-74=0, Resulting Numbers: [40, 89, 0] Generated Node #0,1: 99:[40, 89, 0] Operation: 74-74=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[40, 89, 1], Operations: ['74/74=1'] Exploring Operation: 40-1=39, Resulting Numbers: [89, 39] Generated Node #0,0,0: 99:[89, 39] Operation: 40-1=39 Exploring Operation: 89+1=90, Resulting Numbers: [40, 90] Generated Node #0,0,1: 99:[40, 90] Operation: 89+1=90 Moving to Node #0,0,0 Current State: 99:[89, 39], Operations: ['74/74=1', '40-1=39'] Exploring Operation: 89+39=128, Resulting Numbers: [128] 128,99 unequal: No Solution Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[40, 90], Operations: ['74/74=1', '89+1=90'] Exploring Operation: 40+90=130, Resulting Numbers: [130] 130,99 unequal: No Solution Exploring Operation: 90-40=50, Resulting Numbers: [50] 50,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[40, 89, 0], Operations: ['74-74=0'] Exploring Operation: 89*0=0, Resulting Numbers: [40, 0] Generated Node #0,1,0: 99:[40, 0] Operation: 89*0=0 Exploring Operation: 40*0=0, Resulting Numbers: [89, 0] Generated Node #0,1,1: 99:[89, 0] Operation: 40*0=0 Moving to Node #0,1,0 Current State: 99:[40, 0], Operations: ['74-74=0', '89*0=0'] Exploring Operation: 40+0=40, Resulting Numbers: [40] 40,99 unequal: No Solution Exploring Operation: 40*0=0, Resulting Numbers: [0] 0,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[89, 0], Operations: ['74-74=0', '40*0=0'] Exploring Operation: 89*0=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 89+0=89, Resulting Numbers: [89] 89,99 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, 4, 90, 21 ]
60
[ "5+4=9", "90-21=69", "69-9=60" ]
Current State: 60:[5, 4, 90, 21], Operations: [] Exploring Operation: 5+4=9, Resulting Numbers: [90, 21, 9] Generated Node #2: [90, 21, 9] from Operation: 5+4=9 Current State: 60:[90, 21, 9], Operations: ['5+4=9'] Exploring Operation: 90-21=69, Resulting Numbers: [9, 69] Generated Node #3: [9, 69] from Operation: 90-21=69 Current State: 60:[9, 69], Operations: ['5+4=9', '90-21=69'] Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[5, 4, 90, 21], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [4, 21, 18] Generated Node #0,0: 60:[4, 21, 18] Operation: 90/5=18 Moving to Node #0,0 Current State: 60:[4, 21, 18], Operations: ['90/5=18'] Exploring Operation: 21-18=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 60:[4, 3] Operation: 21-18=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[4, 3], Operations: ['90/5=18', '21-18=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,60 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
[ 44, 25, 24, 5 ]
40
[ "44+25=69", "24+5=29", "69-29=40" ]
Current State: 40:[44, 25, 24, 5], Operations: [] Exploring Operation: 44+25=69, Resulting Numbers: [24, 5, 69] Generated Node #2: [24, 5, 69] from Operation: 44+25=69 Current State: 40:[24, 5, 69], Operations: ['44+25=69'] Exploring Operation: 24+5=29, Resulting Numbers: [69, 29] Generated Node #3: [69, 29] from Operation: 24+5=29 Current State: 40:[69, 29], Operations: ['44+25=69', '24+5=29'] Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[44, 25, 24, 5], Operations: [] Exploring Operation: 44-25=19, Resulting Numbers: [24, 5, 19] Generated Node #0,0: 40:[24, 5, 19] Operation: 44-25=19 Exploring Operation: 25-24=1, Resulting Numbers: [44, 5, 1] Generated Node #0,1: 40:[44, 5, 1] Operation: 25-24=1 Exploring Operation: 44-24=20, Resulting Numbers: [25, 5, 20] Generated Node #0,2: 40:[25, 5, 20] Operation: 44-24=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[24, 5, 19], Operations: ['44-25=19'] Exploring Operation: 24-19=5, Resulting Numbers: [5, 5] Generated Node #0,0,0: 40:[5, 5] Operation: 24-19=5 Exploring Operation: 24-5=19, Resulting Numbers: [19, 19] Generated Node #0,0,1: 40:[19, 19] Operation: 24-5=19 Exploring Operation: 24+19=43, Resulting Numbers: [5, 43] Generated Node #0,0,2: 40:[5, 43] Operation: 24+19=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[5, 5], Operations: ['44-25=19', '24-19=5'] Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 40:[19, 19], Operations: ['44-25=19', '24-5=19'] Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 40:[5, 43], Operations: ['44-25=19', '24+19=43'] Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,40 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[44, 5, 1], Operations: ['25-24=1'] Exploring Operation: 44*1=44, Resulting Numbers: [5, 44] Generated Node #0,1,0: 40:[5, 44] Operation: 44*1=44 Exploring Operation: 44-1=43, Resulting Numbers: [5, 43] Generated Node #0,1,1: 40:[5, 43] Operation: 44-1=43 Exploring Operation: 44-5=39, Resulting Numbers: [1, 39] Generated Node #0,1,2: 40:[1, 39] Operation: 44-5=39 Moving to Node #0,1,2 Current State: 40:[1, 39], Operations: ['25-24=1', '44-5=39'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[44, 25, 24, 5], Operations: [] Exploring Operation: 25-24=1, Resulting Numbers: [44, 5, 1] Generated Node #0,1: 40:[44, 5, 1] Operation: 25-24=1 Moving to Node #0,1 Current State: 40:[44, 5, 1], Operations: ['25-24=1'] Exploring Operation: 44-5=39, Resulting Numbers: [1, 39] Generated Node #0,1,2: 40:[1, 39] Operation: 44-5=39 Moving to Node #0,1,2 Current State: 40:[1, 39], Operations: ['25-24=1', '44-5=39'] Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 29, 41, 97, 78 ]
14
[ "29*41=1189", "1189-97=1092", "1092/78=14" ]
Current State: 14:[29, 41, 97, 78], Operations: [] Exploring Operation: 29*41=1189, Resulting Numbers: [97, 78, 1189] Generated Node #2: [97, 78, 1189] from Operation: 29*41=1189 Current State: 14:[97, 78, 1189], Operations: ['29*41=1189'] Exploring Operation: 1189-97=1092, Resulting Numbers: [78, 1092] Generated Node #3: [78, 1092] from Operation: 1189-97=1092 Current State: 14:[78, 1092], Operations: ['29*41=1189', '1189-97=1092'] Exploring Operation: 1092/78=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[29, 41, 97, 78], Operations: [] Exploring Operation: 78-29=49, Resulting Numbers: [41, 97, 49] Generated Node #0,0: 14:[41, 97, 49] Operation: 78-29=49 Exploring Operation: 97-41=56, Resulting Numbers: [29, 78, 56] Generated Node #0,1: 14:[29, 78, 56] Operation: 97-41=56 Exploring Operation: 97-78=19, Resulting Numbers: [29, 41, 19] Generated Node #0,2: 14:[29, 41, 19] Operation: 97-78=19 Exploring Operation: 78-41=37, Resulting Numbers: [29, 97, 37] Generated Node #0,3: 14:[29, 97, 37] Operation: 78-41=37 Exploring Operation: 97-29=68, Resulting Numbers: [41, 78, 68] Generated Node #0,4: 14:[41, 78, 68] Operation: 97-29=68 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[29, 41, 19], Operations: ['97-78=19'] Exploring Operation: 29-19=10, Resulting Numbers: [41, 10] Generated Node #0,2,0: 14:[41, 10] Operation: 29-19=10 Exploring Operation: 29+19=48, Resulting Numbers: [41, 48] Generated Node #0,2,1: 14:[41, 48] Operation: 29+19=48 Exploring Operation: 41-19=22, Resulting Numbers: [29, 22] Generated Node #0,2,2: 14:[29, 22] Operation: 41-19=22 Exploring Operation: 29+41=70, Resulting Numbers: [19, 70] Generated Node #0,2,3: 14:[19, 70] Operation: 29+41=70 Exploring Operation: 41-29=12, Resulting Numbers: [19, 12] Generated Node #0,2,4: 14:[19, 12] Operation: 41-29=12 Moving to Node #0,2,4 Current State: 14:[19, 12], Operations: ['97-78=19', '41-29=12'] Exploring Operation: 19*12=228, Resulting Numbers: [228] 228,14 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[29, 22], Operations: ['97-78=19', '41-19=22'] Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[41, 10], Operations: ['97-78=19', '29-19=10'] Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[41, 48], Operations: ['97-78=19', '29+19=48'] Exploring Operation: 41*48=1968, Resulting Numbers: [1968] 1968,14 unequal: No Solution Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,14 unequal: No Solution Moving to Node #0,2,3 Current State: 14:[19, 70], Operations: ['97-78=19', '29+41=70'] Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 19*70=1330, Resulting Numbers: [1330] 1330,14 unequal: No Solution Exploring Operation: 19+70=89, Resulting Numbers: [89] 89,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[29, 78, 56], Operations: ['97-41=56'] Exploring Operation: 29+78=107, Resulting Numbers: [56, 107] Generated Node #0,1,0: 14:[56, 107] Operation: 29+78=107 Exploring Operation: 78-56=22, Resulting Numbers: [29, 22] Generated Node #0,1,1: 14:[29, 22] Operation: 78-56=22 Exploring Operation: 78-29=49, Resulting Numbers: [56, 49] Generated Node #0,1,2: 14:[56, 49] Operation: 78-29=49 Exploring Operation: 56-29=27, Resulting Numbers: [78, 27] Generated Node #0,1,3: 14:[78, 27] Operation: 56-29=27 Exploring Operation: 29+56=85, Resulting Numbers: [78, 85] Generated Node #0,1,4: 14:[78, 85] Operation: 29+56=85 Moving to Node #0,1,1 Current State: 14:[29, 22], Operations: ['97-41=56', '78-56=22'] Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,14 unequal: No Solution Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[78, 27], Operations: ['97-41=56', '56-29=27'] Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,14 unequal: No Solution Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[56, 49], Operations: ['97-41=56', '78-29=49'] Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 56*49=2744, Resulting Numbers: [2744] 2744,14 unequal: No Solution Exploring Operation: 56+49=105, Resulting Numbers: [105] 105,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[56, 107], Operations: ['97-41=56', '29+78=107'] Exploring Operation: 56+107=163, Resulting Numbers: [163] 163,14 unequal: No Solution Exploring Operation: 107-56=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 56*107=5992, Resulting Numbers: [5992] 5992,14 unequal: No Solution Moving to Node #0,1,4 Current State: 14:[78, 85], Operations: ['97-41=56', '29+56=85'] Exploring Operation: 78+85=163, Resulting Numbers: [163] 163,14 unequal: No Solution Exploring Operation: 78*85=6630, Resulting Numbers: [6630] 6630,14 unequal: No Solution Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[29, 97, 37], Operations: ['78-41=37'] Exploring Operation: 37-29=8, Resulting Numbers: [97, 8] Generated Node #0,3,0: 14:[97, 8] Operation: 37-29=8 Exploring Operation: 97-37=60, Resulting Numbers: [29, 60] Generated Node #0,3,1: 14:[29, 60] Operation: 97-37=60 Exploring Operation: 29+37=66, Resulting Numbers: [97, 66] Generated Node #0,3,2: 14:[97, 66] Operation: 29+37=66 Exploring Operation: 97-29=68, Resulting Numbers: [37, 68] Generated Node #0,3,3: 14:[37, 68] Operation: 97-29=68 Exploring Operation: 29+97=126, Resulting Numbers: [37, 126] Generated Node #0,3,4: 14:[37, 126] Operation: 29+97=126 Moving to Node #0,3,1 Current State: 14:[29, 60], Operations: ['78-41=37', '97-37=60'] Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 29*60=1740, Resulting Numbers: [1740] 1740,14 unequal: No Solution Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,14 unequal: No Solution Moving to Node #0,3,3 Current State: 14:[37, 68], Operations: ['78-41=37', '97-29=68'] Exploring Operation: 37+68=105, Resulting Numbers: [105] 105,14 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 37*68=2516, Resulting Numbers: [2516] 2516,14 unequal: No Solution Moving to Node #0,3,0 Current State: 14:[97, 8], Operations: ['78-41=37', '37-29=8'] Exploring Operation: 97*8=776, Resulting Numbers: [776] 776,14 unequal: No Solution Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,14 unequal: No Solution Exploring Operation: 97+8=105, Resulting Numbers: [105] 105,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[97, 66], Operations: ['78-41=37', '29+37=66'] Exploring Operation: 97+66=163, Resulting Numbers: [163] 163,14 unequal: No Solution Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 97*66=6402, Resulting Numbers: [6402] 6402,14 unequal: No Solution Moving to Node #0,3,4 Current State: 14:[37, 126], Operations: ['78-41=37', '29+97=126'] Exploring Operation: 126-37=89, Resulting Numbers: [89] 89,14 unequal: No Solution Exploring Operation: 37+126=163, Resulting Numbers: [163] 163,14 unequal: No Solution Exploring Operation: 37*126=4662, Resulting Numbers: [4662] 4662,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[41, 97, 49], Operations: ['78-29=49'] Exploring Operation: 41+49=90, Resulting Numbers: [97, 90] Generated Node #0,0,0: 14:[97, 90] Operation: 41+49=90 Exploring Operation: 97-41=56, Resulting Numbers: [49, 56] Generated Node #0,0,1: 14:[49, 56] Operation: 97-41=56 Exploring Operation: 49-41=8, Resulting Numbers: [97, 8] Generated Node #0,0,2: 14:[97, 8] Operation: 49-41=8 Exploring Operation: 41+97=138, Resulting Numbers: [49, 138] Generated Node #0,0,3: 14:[49, 138] Operation: 41+97=138 Exploring Operation: 97-49=48, Resulting Numbers: [41, 48] Generated Node #0,0,4: 14:[41, 48] Operation: 97-49=48 Moving to Node #0,0,4 Current State: 14:[41, 48], Operations: ['78-29=49', '97-49=48'] Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,14 unequal: No Solution Exploring Operation: 41*48=1968, Resulting Numbers: [1968] 1968,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[49, 56], Operations: ['78-29=49', '97-41=56'] Exploring Operation: 49+56=105, Resulting Numbers: [105] 105,14 unequal: No Solution Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 49*56=2744, Resulting Numbers: [2744] 2744,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[97, 8], Operations: ['78-29=49', '49-41=8'] Exploring Operation: 97+8=105, Resulting Numbers: [105] 105,14 unequal: No Solution Exploring Operation: 97*8=776, Resulting Numbers: [776] 776,14 unequal: No Solution Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[97, 90], Operations: ['78-29=49', '41+49=90'] Exploring Operation: 97*90=8730, Resulting Numbers: [8730] 8730,14 unequal: No Solution Exploring Operation: 97+90=187, Resulting Numbers: [187] 187,14 unequal: No Solution Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,14 unequal: No Solution Moving to Node #0,0,3 Current State: 14:[49, 138], Operations: ['78-29=49', '41+97=138'] Exploring Operation: 49*138=6762, Resulting Numbers: [6762] 6762,14 unequal: No Solution Exploring Operation: 138-49=89, Resulting Numbers: [89] 89,14 unequal: No Solution Exploring Operation: 49+138=187, Resulting Numbers: [187] 187,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 14:[41, 78, 68], Operations: ['97-29=68'] Exploring Operation: 78-68=10, Resulting Numbers: [41, 10] Generated Node #0,4,0: 14:[41, 10] Operation: 78-68=10 Exploring Operation: 68-41=27, Resulting Numbers: [78, 27] Generated Node #0,4,1: 14:[78, 27] Operation: 68-41=27 Exploring Operation: 78-41=37, Resulting Numbers: [68, 37] Generated Node #0,4,2: 14:[68, 37] Operation: 78-41=37 Exploring Operation: 41+68=109, Resulting Numbers: [78, 109] Generated Node #0,4,3: 14:[78, 109] Operation: 41+68=109 Exploring Operation: 41+78=119, Resulting Numbers: [68, 119] Generated Node #0,4,4: 14:[68, 119] Operation: 41+78=119 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 14:[41, 10], Operations: ['97-29=68', '78-68=10'] Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 14:[78, 27], Operations: ['97-29=68', '68-41=27'] Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,14 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 14:[68, 37], Operations: ['97-29=68', '78-41=37'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 68*37=2516, Resulting Numbers: [2516] 2516,14 unequal: No Solution Exploring Operation: 68+37=105, Resulting Numbers: [105] 105,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 14:[78, 109], Operations: ['97-29=68', '41+68=109'] Exploring Operation: 109-78=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 78*109=8502, Resulting Numbers: [8502] 8502,14 unequal: No Solution Exploring Operation: 78+109=187, Resulting Numbers: [187] 187,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 14:[68, 119], Operations: ['97-29=68', '41+78=119'] Exploring Operation: 119-68=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 68+119=187, Resulting Numbers: [187] 187,14 unequal: No Solution Exploring Operation: 68*119=8092, Resulting Numbers: [8092] 8092,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 38, 10, 60, 86 ]
54
[ "38-10=28", "86-60=26", "28+26=54" ]
Current State: 54:[38, 10, 60, 86], Operations: [] Exploring Operation: 38-10=28, Resulting Numbers: [60, 86, 28] Generated Node #2: [60, 86, 28] from Operation: 38-10=28 Current State: 54:[60, 86, 28], Operations: ['38-10=28'] Exploring Operation: 86-60=26, Resulting Numbers: [28, 26] Generated Node #3: [28, 26] from Operation: 86-60=26 Current State: 54:[28, 26], Operations: ['38-10=28', '86-60=26'] Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[38, 10, 60, 86], Operations: [] Exploring Operation: 86-38=48, Resulting Numbers: [10, 60, 48] Generated Node #0,0: 54:[10, 60, 48] Operation: 86-38=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[10, 60, 48], Operations: ['86-38=48'] Exploring Operation: 60-48=12, Resulting Numbers: [10, 12] Generated Node #0,0,0: 54:[10, 12] Operation: 60-48=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[10, 12], Operations: ['86-38=48', '60-48=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 38, 97, 26, 19 ]
84
[ "38/19=2", "26/2=13", "97-13=84" ]
Current State: 84:[38, 97, 26, 19], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [97, 26, 2] Generated Node #2: [97, 26, 2] from Operation: 38/19=2 Current State: 84:[97, 26, 2], Operations: ['38/19=2'] Exploring Operation: 26/2=13, Resulting Numbers: [97, 13] Generated Node #3: [97, 13] from Operation: 26/2=13 Current State: 84:[97, 13], Operations: ['38/19=2', '26/2=13'] Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[38, 97, 26, 19], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [97, 26, 2] Generated Node #0,0: 84:[97, 26, 2] Operation: 38/19=2 Exploring Operation: 38-19=19, Resulting Numbers: [97, 26, 19] Generated Node #0,1: 84:[97, 26, 19] Operation: 38-19=19 Exploring Operation: 97-19=78, Resulting Numbers: [38, 26, 78] Generated Node #0,2: 84:[38, 26, 78] Operation: 97-19=78 Exploring Operation: 38-26=12, Resulting Numbers: [97, 19, 12] Generated Node #0,3: 84:[97, 19, 12] Operation: 38-26=12 Exploring Operation: 26-19=7, Resulting Numbers: [38, 97, 7] Generated Node #0,4: 84:[38, 97, 7] Operation: 26-19=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[38, 26, 78], Operations: ['97-19=78'] Exploring Operation: 78-26=52, Resulting Numbers: [38, 52] Generated Node #0,2,0: 84:[38, 52] Operation: 78-26=52 Exploring Operation: 38-26=12, Resulting Numbers: [78, 12] Generated Node #0,2,1: 84:[78, 12] Operation: 38-26=12 Exploring Operation: 78/26=3, Resulting Numbers: [38, 3] Generated Node #0,2,2: 84:[38, 3] Operation: 78/26=3 Exploring Operation: 78-38=40, Resulting Numbers: [26, 40] Generated Node #0,2,3: 84:[26, 40] Operation: 78-38=40 Exploring Operation: 26+78=104, Resulting Numbers: [38, 104] Generated Node #0,2,4: 84:[38, 104] Operation: 26+78=104 Moving to Node #0,2,2 Current State: 84:[38, 3], Operations: ['97-19=78', '78/26=3'] Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,84 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,84 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,84 unequal: No Solution Moving to Node #0,2,3 Current State: 84:[26, 40], Operations: ['97-19=78', '78-38=40'] Exploring Operation: 26+40=66, Resulting Numbers: [66] 66,84 unequal: No Solution Exploring Operation: 26*40=1040, Resulting Numbers: [1040] 1040,84 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[78, 12], Operations: ['97-19=78', '38-26=12'] Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,84 unequal: No Solution Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,84 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[38, 52], Operations: ['97-19=78', '78-26=52'] Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,84 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,84 unequal: No Solution Moving to Node #0,2,4 Current State: 84:[38, 104], Operations: ['97-19=78', '26+78=104'] Exploring Operation: 38+104=142, Resulting Numbers: [142] 142,84 unequal: No Solution Exploring Operation: 38*104=3952, Resulting Numbers: [3952] 3952,84 unequal: No Solution Exploring Operation: 104-38=66, Resulting Numbers: [66] 66,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:[97, 26, 2], Operations: ['38/19=2'] Exploring Operation: 97-26=71, Resulting Numbers: [2, 71] Generated Node #0,0,0: 84:[2, 71] Operation: 97-26=71 Exploring Operation: 26-2=24, Resulting Numbers: [97, 24] Generated Node #0,0,1: 84:[97, 24] Operation: 26-2=24 Exploring Operation: 26+2=28, Resulting Numbers: [97, 28] Generated Node #0,0,2: 84:[97, 28] Operation: 26+2=28 Exploring Operation: 97-2=95, Resulting Numbers: [26, 95] Generated Node #0,0,3: 84:[26, 95] Operation: 97-2=95 Exploring Operation: 26/2=13, Resulting Numbers: [97, 13] Generated Node #0,0,4: 84:[97, 13] Operation: 26/2=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[2, 71], Operations: ['38/19=2', '97-26=71'] Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,84 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,84 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,84 unequal: No Solution No 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: 84:[97, 28], Operations: ['38/19=2', '26+2=28'] Exploring Operation: 97+28=125, Resulting Numbers: [125] 125,84 unequal: No Solution Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,84 unequal: No Solution Exploring Operation: 97*28=2716, Resulting Numbers: [2716] 2716,84 unequal: No Solution No 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: 84:[26, 95], Operations: ['38/19=2', '97-2=95'] Exploring Operation: 26+95=121, Resulting Numbers: [121] 121,84 unequal: No Solution Exploring Operation: 95-26=69, Resulting Numbers: [69] 69,84 unequal: No Solution Exploring Operation: 26*95=2470, Resulting Numbers: [2470] 2470,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 84:[97, 13], Operations: ['38/19=2', '26/2=13'] Exploring Operation: 97*13=1261, Resulting Numbers: [1261] 1261,84 unequal: No Solution Exploring Operation: 97+13=110, Resulting Numbers: [110] 110,84 unequal: No Solution Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[38, 97, 26, 19], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [97, 26, 2] Generated Node #0,0: 84:[97, 26, 2] Operation: 38/19=2 Moving to Node #0,0 Current State: 84:[97, 26, 2], Operations: ['38/19=2'] Exploring Operation: 26/2=13, Resulting Numbers: [97, 13] Generated Node #0,0,4: 84:[97, 13] Operation: 26/2=13 Moving to Node #0,0,4 Current State: 84:[97, 13], Operations: ['38/19=2', '26/2=13'] Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960069
hs_5
mult_heuristic
[ 12, 42, 80, 17 ]
67
[ "42-12=30", "80+17=97", "97-30=67" ]
Current State: 67:[12, 42, 80, 17], Operations: [] Exploring Operation: 42-12=30, Resulting Numbers: [80, 17, 30] Generated Node #2: [80, 17, 30] from Operation: 42-12=30 Current State: 67:[80, 17, 30], Operations: ['42-12=30'] Exploring Operation: 80+17=97, Resulting Numbers: [30, 97] Generated Node #3: [30, 97] from Operation: 80+17=97 Current State: 67:[30, 97], Operations: ['42-12=30', '80+17=97'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[12, 42, 80, 17], Operations: [] Exploring Operation: 12+42=54, Resulting Numbers: [80, 17, 54] Generated Node #0,0: 67:[80, 17, 54] Operation: 12+42=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[80, 17, 54], Operations: ['12+42=54'] Exploring Operation: 80-17=63, Resulting Numbers: [54, 63] Generated Node #0,0,0: 67:[54, 63] Operation: 80-17=63 Moving to Node #0,0,0 Current State: 67:[54, 63], Operations: ['12+42=54', '80-17=63'] Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,67 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
[ 75, 10, 92, 8 ]
87
[ "75+92=167", "10*8=80", "167-80=87" ]
Current State: 87:[75, 10, 92, 8], Operations: [] Exploring Operation: 75+92=167, Resulting Numbers: [10, 8, 167] Generated Node #2: [10, 8, 167] from Operation: 75+92=167 Current State: 87:[10, 8, 167], Operations: ['75+92=167'] Exploring Operation: 10*8=80, Resulting Numbers: [167, 80] Generated Node #3: [167, 80] from Operation: 10*8=80 Current State: 87:[167, 80], Operations: ['75+92=167', '10*8=80'] Exploring Operation: 167-80=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[75, 10, 92, 8], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [75, 92, 2] Generated Node #0,0: 87:[75, 92, 2] Operation: 10-8=2 Exploring Operation: 75+8=83, Resulting Numbers: [10, 92, 83] Generated Node #0,1: 87:[10, 92, 83] Operation: 75+8=83 Exploring Operation: 75+10=85, Resulting Numbers: [92, 8, 85] Generated Node #0,2: 87:[92, 8, 85] Operation: 75+10=85 Moving to Node #0,2 Current State: 87:[92, 8, 85], Operations: ['75+10=85'] Exploring Operation: 92-85=7, Resulting Numbers: [8, 7] Generated Node #0,2,0: 87:[8, 7] Operation: 92-85=7 Exploring Operation: 92-8=84, Resulting Numbers: [85, 84] Generated Node #0,2,1: 87:[85, 84] Operation: 92-8=84 Exploring Operation: 8+85=93, Resulting Numbers: [92, 93] Generated Node #0,2,2: 87:[92, 93] Operation: 8+85=93 Moving to Node #0,1 Current State: 87:[10, 92, 83], Operations: ['75+8=83'] Exploring Operation: 10+83=93, Resulting Numbers: [92, 93] Generated Node #0,1,0: 87:[92, 93] Operation: 10+83=93 Exploring Operation: 92-83=9, Resulting Numbers: [10, 9] Generated Node #0,1,1: 87:[10, 9] Operation: 92-83=9 Exploring Operation: 92-10=82, Resulting Numbers: [83, 82] Generated Node #0,1,2: 87:[83, 82] Operation: 92-10=82 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[83, 82], Operations: ['75+8=83', '92-10=82'] Exploring Operation: 83-82=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 83+82=165, Resulting Numbers: [165] 165,87 unequal: No Solution Exploring Operation: 83*82=6806, Resulting Numbers: [6806] 6806,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[92, 93], Operations: ['75+8=83', '10+83=93'] Exploring Operation: 92*93=8556, Resulting Numbers: [8556] 8556,87 unequal: No Solution Exploring Operation: 92+93=185, Resulting Numbers: [185] 185,87 unequal: No Solution Exploring Operation: 93-92=1, Resulting Numbers: [1] 1,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[10, 9], Operations: ['75+8=83', '92-83=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,87 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 87:[75, 92, 2], Operations: ['10-8=2'] Exploring Operation: 75+2=77, Resulting Numbers: [92, 77] Generated Node #0,0,0: 87:[92, 77] Operation: 75+2=77 Exploring Operation: 92-75=17, Resulting Numbers: [2, 17] Generated Node #0,0,1: 87:[2, 17] Operation: 92-75=17 Exploring Operation: 92-2=90, Resulting Numbers: [75, 90] Generated Node #0,0,2: 87:[75, 90] Operation: 92-2=90 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[2, 17], Operations: ['10-8=2', '92-75=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,87 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,87 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[92, 77], Operations: ['10-8=2', '75+2=77'] Exploring Operation: 92-77=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 92+77=169, Resulting Numbers: [169] 169,87 unequal: No Solution Exploring Operation: 92*77=7084, Resulting Numbers: [7084] 7084,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 87:[75, 90], Operations: ['10-8=2', '92-2=90'] Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 75*90=6750, Resulting Numbers: [6750] 6750,87 unequal: No Solution Exploring Operation: 75+90=165, Resulting Numbers: [165] 165,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 87:[85, 84], Operations: ['75+10=85', '92-8=84'] Exploring Operation: 85*84=7140, Resulting Numbers: [7140] 7140,87 unequal: No Solution Exploring Operation: 85-84=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 85+84=169, Resulting Numbers: [169] 169,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[8, 7], Operations: ['75+10=85', '92-85=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[92, 93], Operations: ['75+10=85', '8+85=93'] Exploring Operation: 92*93=8556, Resulting Numbers: [8556] 8556,87 unequal: No Solution Exploring Operation: 93-92=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 92+93=185, Resulting Numbers: [185] 185,87 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 44, 70, 31, 75 ]
18
[ "70-44=26", "75-31=44", "44-26=18" ]
Current State: 18:[44, 70, 31, 75], Operations: [] Exploring Operation: 70-44=26, Resulting Numbers: [31, 75, 26] Generated Node #2: [31, 75, 26] from Operation: 70-44=26 Current State: 18:[31, 75, 26], Operations: ['70-44=26'] Exploring Operation: 75-31=44, Resulting Numbers: [26, 44] Generated Node #3: [26, 44] from Operation: 75-31=44 Current State: 18:[26, 44], Operations: ['70-44=26', '75-31=44'] Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[44, 70, 31, 75], Operations: [] Exploring Operation: 75-44=31, Resulting Numbers: [70, 31, 31] Generated Node #0,0: 18:[70, 31, 31] Operation: 75-44=31 Exploring Operation: 75-70=5, Resulting Numbers: [44, 31, 5] Generated Node #0,1: 18:[44, 31, 5] Operation: 75-70=5 Exploring Operation: 70-31=39, Resulting Numbers: [44, 75, 39] Generated Node #0,2: 18:[44, 75, 39] Operation: 70-31=39 Exploring Operation: 75-31=44, Resulting Numbers: [44, 70, 44] Generated Node #0,3: 18:[44, 70, 44] Operation: 75-31=44 Exploring Operation: 70-44=26, Resulting Numbers: [31, 75, 26] Generated Node #0,4: 18:[31, 75, 26] Operation: 70-44=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[44, 31, 5], Operations: ['75-70=5'] Exploring Operation: 44+5=49, Resulting Numbers: [31, 49] Generated Node #0,1,0: 18:[31, 49] Operation: 44+5=49 Exploring Operation: 31-5=26, Resulting Numbers: [44, 26] Generated Node #0,1,1: 18:[44, 26] Operation: 31-5=26 Exploring Operation: 44-31=13, Resulting Numbers: [5, 13] Generated Node #0,1,2: 18:[5, 13] Operation: 44-31=13 Exploring Operation: 44-5=39, Resulting Numbers: [31, 39] Generated Node #0,1,3: 18:[31, 39] Operation: 44-5=39 Exploring Operation: 31+5=36, Resulting Numbers: [44, 36] Generated Node #0,1,4: 18:[44, 36] Operation: 31+5=36 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 18:[5, 13], Operations: ['75-70=5', '44-31=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[44, 70, 31, 75], Operations: [] Exploring Operation: 75-70=5, Resulting Numbers: [44, 31, 5] Generated Node #0,1: 18:[44, 31, 5] Operation: 75-70=5 Moving to Node #0,1 Current State: 18:[44, 31, 5], Operations: ['75-70=5'] Exploring Operation: 44-31=13, Resulting Numbers: [5, 13] Generated Node #0,1,2: 18:[5, 13] Operation: 44-31=13 Moving to Node #0,1,2 Current State: 18:[5, 13], Operations: ['75-70=5', '44-31=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 15, 77, 51, 86 ]
45
[ "15+77=92", "51+86=137", "137-92=45" ]
Current State: 45:[15, 77, 51, 86], Operations: [] Exploring Operation: 15+77=92, Resulting Numbers: [51, 86, 92] Generated Node #2: [51, 86, 92] from Operation: 15+77=92 Current State: 45:[51, 86, 92], Operations: ['15+77=92'] Exploring Operation: 51+86=137, Resulting Numbers: [92, 137] Generated Node #3: [92, 137] from Operation: 51+86=137 Current State: 45:[92, 137], Operations: ['15+77=92', '51+86=137'] Exploring Operation: 137-92=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[15, 77, 51, 86], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [15, 51, 9] Generated Node #0,0: 45:[15, 51, 9] Operation: 86-77=9 Exploring Operation: 86-15=71, Resulting Numbers: [77, 51, 71] Generated Node #0,1: 45:[77, 51, 71] Operation: 86-15=71 Exploring Operation: 77-15=62, Resulting Numbers: [51, 86, 62] Generated Node #0,2: 45:[51, 86, 62] Operation: 77-15=62 Exploring Operation: 77-51=26, Resulting Numbers: [15, 86, 26] Generated Node #0,3: 45:[15, 86, 26] Operation: 77-51=26 Exploring Operation: 86-51=35, Resulting Numbers: [15, 77, 35] Generated Node #0,4: 45:[15, 77, 35] Operation: 86-51=35 Moving to Node #0,0 Current State: 45:[15, 51, 9], Operations: ['86-77=9'] Exploring Operation: 51+9=60, Resulting Numbers: [15, 60] Generated Node #0,0,0: 45:[15, 60] Operation: 51+9=60 Exploring Operation: 51-9=42, Resulting Numbers: [15, 42] Generated Node #0,0,1: 45:[15, 42] Operation: 51-9=42 Exploring Operation: 15-9=6, Resulting Numbers: [51, 6] Generated Node #0,0,2: 45:[51, 6] Operation: 15-9=6 Exploring Operation: 15+9=24, Resulting Numbers: [51, 24] Generated Node #0,0,3: 45:[51, 24] Operation: 15+9=24 Exploring Operation: 51-15=36, Resulting Numbers: [9, 36] Generated Node #0,0,4: 45:[9, 36] Operation: 51-15=36 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[15, 42], Operations: ['86-77=9', '51-9=42'] Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 15*42=630, Resulting Numbers: [630] 630,45 unequal: No Solution Exploring Operation: 15+42=57, Resulting Numbers: [57] 57,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,0,2 Current State: 45:[51, 6], Operations: ['86-77=9', '15-9=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[15, 77, 51, 86], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [15, 51, 9] Generated Node #0,0: 45:[15, 51, 9] Operation: 86-77=9 Moving to Node #0,0 Current State: 45:[15, 51, 9], Operations: ['86-77=9'] Exploring Operation: 15-9=6, Resulting Numbers: [51, 6] Generated Node #0,0,2: 45:[51, 6] Operation: 15-9=6 Moving to Node #0,0,2 Current State: 45:[51, 6], Operations: ['86-77=9', '15-9=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 19, 31, 45, 7 ]
17
[ "45-31=14", "14/7=2", "19-2=17" ]
Current State: 17:[19, 31, 45, 7], Operations: [] Exploring Operation: 45-31=14, Resulting Numbers: [19, 7, 14] Generated Node #2: [19, 7, 14] from Operation: 45-31=14 Current State: 17:[19, 7, 14], Operations: ['45-31=14'] Exploring Operation: 14/7=2, Resulting Numbers: [19, 2] Generated Node #3: [19, 2] from Operation: 14/7=2 Current State: 17:[19, 2], Operations: ['45-31=14', '14/7=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[19, 31, 45, 7], Operations: [] Exploring Operation: 45-7=38, Resulting Numbers: [19, 31, 38] Generated Node #0,0: 17:[19, 31, 38] Operation: 45-7=38 Exploring Operation: 45-19=26, Resulting Numbers: [31, 7, 26] Generated Node #0,1: 17:[31, 7, 26] Operation: 45-19=26 Exploring Operation: 31-19=12, Resulting Numbers: [45, 7, 12] Generated Node #0,2: 17:[45, 7, 12] Operation: 31-19=12 Exploring Operation: 45-31=14, Resulting Numbers: [19, 7, 14] Generated Node #0,3: 17:[19, 7, 14] Operation: 45-31=14 Exploring Operation: 31-7=24, Resulting Numbers: [19, 45, 24] Generated Node #0,4: 17:[19, 45, 24] Operation: 31-7=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[19, 7, 14], Operations: ['45-31=14'] Exploring Operation: 14-7=7, Resulting Numbers: [19, 7] Generated Node #0,3,0: 17:[19, 7] Operation: 14-7=7 Exploring Operation: 19+7=26, Resulting Numbers: [14, 26] Generated Node #0,3,1: 17:[14, 26] Operation: 19+7=26 Exploring Operation: 7+14=21, Resulting Numbers: [19, 21] Generated Node #0,3,2: 17:[19, 21] Operation: 7+14=21 Exploring Operation: 14/7=2, Resulting Numbers: [19, 2] Generated Node #0,3,3: 17:[19, 2] Operation: 14/7=2 Exploring Operation: 19-7=12, Resulting Numbers: [14, 12] Generated Node #0,3,4: 17:[14, 12] Operation: 19-7=12 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 17:[19, 21], Operations: ['45-31=14', '7+14=21'] Exploring Operation: 19*21=399, Resulting Numbers: [399] 399,17 unequal: No Solution Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 17:[14, 12], Operations: ['45-31=14', '19-7=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 17:[19, 7], Operations: ['45-31=14', '14-7=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,17 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 17:[14, 26], Operations: ['45-31=14', '19+7=26'] Exploring Operation: 14*26=364, Resulting Numbers: [364] 364,17 unequal: No Solution Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 17:[19, 2], Operations: ['45-31=14', '14/7=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[19, 31, 45, 7], Operations: [] Exploring Operation: 45-31=14, Resulting Numbers: [19, 7, 14] Generated Node #0,3: 17:[19, 7, 14] Operation: 45-31=14 Moving to Node #0,3 Current State: 17:[19, 7, 14], Operations: ['45-31=14'] Exploring Operation: 14/7=2, Resulting Numbers: [19, 2] Generated Node #0,3,3: 17:[19, 2] Operation: 14/7=2 Moving to Node #0,3,3 Current State: 17:[19, 2], Operations: ['45-31=14', '14/7=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 82, 44, 1, 88 ]
51
[ "82-44=38", "1+88=89", "89-38=51" ]
Current State: 51:[82, 44, 1, 88], Operations: [] Exploring Operation: 82-44=38, Resulting Numbers: [1, 88, 38] Generated Node #2: [1, 88, 38] from Operation: 82-44=38 Current State: 51:[1, 88, 38], Operations: ['82-44=38'] Exploring Operation: 1+88=89, Resulting Numbers: [38, 89] Generated Node #3: [38, 89] from Operation: 1+88=89 Current State: 51:[38, 89], Operations: ['82-44=38', '1+88=89'] Exploring Operation: 89-38=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[82, 44, 1, 88], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [82, 1, 2] Generated Node #0,0: 51:[82, 1, 2] Operation: 88/44=2 Exploring Operation: 88-82=6, Resulting Numbers: [44, 1, 6] Generated Node #0,1: 51:[44, 1, 6] Operation: 88-82=6 Exploring Operation: 88-44=44, Resulting Numbers: [82, 1, 44] Generated Node #0,2: 51:[82, 1, 44] Operation: 88-44=44 Exploring Operation: 82-44=38, Resulting Numbers: [1, 88, 38] Generated Node #0,3: 51:[1, 88, 38] Operation: 82-44=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[44, 1, 6], Operations: ['88-82=6'] Exploring Operation: 44+1=45, Resulting Numbers: [6, 45] Generated Node #0,1,0: 51:[6, 45] Operation: 44+1=45 Exploring Operation: 44*1=44, Resulting Numbers: [6, 44] Generated Node #0,1,1: 51:[6, 44] Operation: 44*1=44 Exploring Operation: 6-1=5, Resulting Numbers: [44, 5] Generated Node #0,1,2: 51:[44, 5] Operation: 6-1=5 Exploring Operation: 44+6=50, Resulting Numbers: [1, 50] Generated Node #0,1,3: 51:[1, 50] Operation: 44+6=50 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 51:[1, 50], Operations: ['88-82=6', '44+6=50'] Exploring Operation: 1+50=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[82, 44, 1, 88], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [44, 1, 6] Generated Node #0,1: 51:[44, 1, 6] Operation: 88-82=6 Moving to Node #0,1 Current State: 51:[44, 1, 6], Operations: ['88-82=6'] Exploring Operation: 44+6=50, Resulting Numbers: [1, 50] Generated Node #0,1,3: 51:[1, 50] Operation: 44+6=50 Moving to Node #0,1,3 Current State: 51:[1, 50], Operations: ['88-82=6', '44+6=50'] Exploring Operation: 1+50=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 76, 98, 72, 48 ]
46
[ "98-76=22", "72-48=24", "22+24=46" ]
Current State: 46:[76, 98, 72, 48], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [72, 48, 22] Generated Node #2: [72, 48, 22] from Operation: 98-76=22 Current State: 46:[72, 48, 22], Operations: ['98-76=22'] Exploring Operation: 72-48=24, Resulting Numbers: [22, 24] Generated Node #3: [22, 24] from Operation: 72-48=24 Current State: 46:[22, 24], Operations: ['98-76=22', '72-48=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[76, 98, 72, 48], Operations: [] Exploring Operation: 98-72=26, Resulting Numbers: [76, 48, 26] Generated Node #0,0: 46:[76, 48, 26] Operation: 98-72=26 Exploring Operation: 98-48=50, Resulting Numbers: [76, 72, 50] Generated Node #0,1: 46:[76, 72, 50] Operation: 98-48=50 Exploring Operation: 76-72=4, Resulting Numbers: [98, 48, 4] Generated Node #0,2: 46:[98, 48, 4] Operation: 76-72=4 Exploring Operation: 98-76=22, Resulting Numbers: [72, 48, 22] Generated Node #0,3: 46:[72, 48, 22] Operation: 98-76=22 Moving to Node #0,3 Current State: 46:[72, 48, 22], Operations: ['98-76=22'] Exploring Operation: 72+22=94, Resulting Numbers: [48, 94] Generated Node #0,3,0: 46:[48, 94] Operation: 72+22=94 Exploring Operation: 48-22=26, Resulting Numbers: [72, 26] Generated Node #0,3,1: 46:[72, 26] Operation: 48-22=26 Exploring Operation: 72-48=24, Resulting Numbers: [22, 24] Generated Node #0,3,2: 46:[22, 24] Operation: 72-48=24 Exploring Operation: 72-22=50, Resulting Numbers: [48, 50] Generated Node #0,3,3: 46:[48, 50] Operation: 72-22=50 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 46:[22, 24], Operations: ['98-76=22', '72-48=24'] Exploring Operation: 22*24=528, Resulting Numbers: [528] 528,46 unequal: No Solution Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[76, 98, 72, 48], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [72, 48, 22] Generated Node #0,3: 46:[72, 48, 22] Operation: 98-76=22 Moving to Node #0,3 Current State: 46:[72, 48, 22], Operations: ['98-76=22'] Exploring Operation: 72-48=24, Resulting Numbers: [22, 24] Generated Node #0,3,2: 46:[22, 24] Operation: 72-48=24 Moving to Node #0,3,2 Current State: 46:[22, 24], Operations: ['98-76=22', '72-48=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 56, 78, 32, 26 ]
40
[ "78*32=2496", "2496/26=96", "96-56=40" ]
Current State: 40:[56, 78, 32, 26], Operations: [] Exploring Operation: 78*32=2496, Resulting Numbers: [56, 26, 2496] Generated Node #2: [56, 26, 2496] from Operation: 78*32=2496 Current State: 40:[56, 26, 2496], Operations: ['78*32=2496'] Exploring Operation: 2496/26=96, Resulting Numbers: [56, 96] Generated Node #3: [56, 96] from Operation: 2496/26=96 Current State: 40:[56, 96], Operations: ['78*32=2496', '2496/26=96'] Exploring Operation: 96-56=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[56, 78, 32, 26], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [56, 32, 3] Generated Node #0,0: 40:[56, 32, 3] Operation: 78/26=3 Exploring Operation: 78-32=46, Resulting Numbers: [56, 26, 46] Generated Node #0,1: 40:[56, 26, 46] Operation: 78-32=46 Exploring Operation: 78-56=22, Resulting Numbers: [32, 26, 22] Generated Node #0,2: 40:[32, 26, 22] Operation: 78-56=22 Moving to Node #0,2 Current State: 40:[32, 26, 22], Operations: ['78-56=22'] Exploring Operation: 32-26=6, Resulting Numbers: [22, 6] Generated Node #0,2,0: 40:[22, 6] Operation: 32-26=6 Exploring Operation: 32-22=10, Resulting Numbers: [26, 10] Generated Node #0,2,1: 40:[26, 10] Operation: 32-22=10 Exploring Operation: 26-22=4, Resulting Numbers: [32, 4] Generated Node #0,2,2: 40:[32, 4] Operation: 26-22=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 40:[22, 6], Operations: ['78-56=22', '32-26=6'] Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,40 unequal: No Solution Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 40:[26, 10], Operations: ['78-56=22', '32-22=10'] Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,40 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,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:[32, 4], Operations: ['78-56=22', '26-22=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,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:[56, 32, 3], Operations: ['78/26=3'] Exploring Operation: 32+3=35, Resulting Numbers: [56, 35] Generated Node #0,0,0: 40:[56, 35] Operation: 32+3=35 Exploring Operation: 56-3=53, Resulting Numbers: [32, 53] Generated Node #0,0,1: 40:[32, 53] Operation: 56-3=53 Exploring Operation: 56-32=24, Resulting Numbers: [3, 24] Generated Node #0,0,2: 40:[3, 24] Operation: 56-32=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 40:[3, 24], Operations: ['78/26=3', '56-32=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,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:[56, 35], Operations: ['78/26=3', '32+3=35'] Exploring Operation: 56+35=91, Resulting Numbers: [91] 91,40 unequal: No Solution Exploring Operation: 56*35=1960, Resulting Numbers: [1960] 1960,40 unequal: No Solution Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[32, 53], Operations: ['78/26=3', '56-3=53'] Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 32*53=1696, Resulting Numbers: [1696] 1696,40 unequal: No Solution Exploring Operation: 32+53=85, Resulting Numbers: [85] 85,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:[56, 26, 46], Operations: ['78-32=46'] Exploring Operation: 46-26=20, Resulting Numbers: [56, 20] Generated Node #0,1,0: 40:[56, 20] Operation: 46-26=20 Exploring Operation: 56-26=30, Resulting Numbers: [46, 30] Generated Node #0,1,1: 40:[46, 30] Operation: 56-26=30 Exploring Operation: 56-46=10, Resulting Numbers: [26, 10] Generated Node #0,1,2: 40:[26, 10] Operation: 56-46=10 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[26, 10], Operations: ['78-32=46', '56-46=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,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:[56, 20], Operations: ['78-32=46', '46-26=20'] Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 56*20=1120, Resulting Numbers: [1120] 1120,40 unequal: No Solution Exploring Operation: 56+20=76, Resulting Numbers: [76] 76,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:[46, 30], Operations: ['78-32=46', '56-26=30'] Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,40 unequal: No Solution Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 28, 11, 89, 71 ]
80
[ "28+71=99", "99/11=9", "89-9=80" ]
Current State: 80:[28, 11, 89, 71], Operations: [] Exploring Operation: 28+71=99, Resulting Numbers: [11, 89, 99] Generated Node #2: [11, 89, 99] from Operation: 28+71=99 Current State: 80:[11, 89, 99], Operations: ['28+71=99'] Exploring Operation: 99/11=9, Resulting Numbers: [89, 9] Generated Node #3: [89, 9] from Operation: 99/11=9 Current State: 80:[89, 9], Operations: ['28+71=99', '99/11=9'] Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[28, 11, 89, 71], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [28, 11, 18] Generated Node #0,0: 80:[28, 11, 18] Operation: 89-71=18 Exploring Operation: 28-11=17, Resulting Numbers: [89, 71, 17] Generated Node #0,1: 80:[89, 71, 17] Operation: 28-11=17 Exploring Operation: 71-28=43, Resulting Numbers: [11, 89, 43] Generated Node #0,2: 80:[11, 89, 43] Operation: 71-28=43 Exploring Operation: 28+11=39, Resulting Numbers: [89, 71, 39] Generated Node #0,3: 80:[89, 71, 39] Operation: 28+11=39 Exploring Operation: 89-11=78, Resulting Numbers: [28, 71, 78] Generated Node #0,4: 80:[28, 71, 78] Operation: 89-11=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[28, 11, 18], Operations: ['89-71=18'] Exploring Operation: 28-18=10, Resulting Numbers: [11, 10] Generated Node #0,0,0: 80:[11, 10] Operation: 28-18=10 Exploring Operation: 28+11=39, Resulting Numbers: [18, 39] Generated Node #0,0,1: 80:[18, 39] Operation: 28+11=39 Exploring Operation: 28-11=17, Resulting Numbers: [18, 17] Generated Node #0,0,2: 80:[18, 17] Operation: 28-11=17 Exploring Operation: 28+18=46, Resulting Numbers: [11, 46] Generated Node #0,0,3: 80:[11, 46] Operation: 28+18=46 Exploring Operation: 18-11=7, Resulting Numbers: [28, 7] Generated Node #0,0,4: 80:[28, 7] Operation: 18-11=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[11, 10], Operations: ['89-71=18', '28-18=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[18, 39], Operations: ['89-71=18', '28+11=39'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[18, 17], Operations: ['89-71=18', '28-11=17'] Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,80 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 80:[11, 46], Operations: ['89-71=18', '28+18=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,80 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 80:[28, 7], Operations: ['89-71=18', '18-11=7'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,80 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[11, 89, 43], Operations: ['71-28=43'] Exploring Operation: 89-11=78, Resulting Numbers: [43, 78] Generated Node #0,2,0: 80:[43, 78] Operation: 89-11=78 Exploring Operation: 11+43=54, Resulting Numbers: [89, 54] Generated Node #0,2,1: 80:[89, 54] Operation: 11+43=54 Exploring Operation: 11+89=100, Resulting Numbers: [43, 100] Generated Node #0,2,2: 80:[43, 100] Operation: 11+89=100 Exploring Operation: 43-11=32, Resulting Numbers: [89, 32] Generated Node #0,2,3: 80:[89, 32] Operation: 43-11=32 Exploring Operation: 89-43=46, Resulting Numbers: [11, 46] Generated Node #0,2,4: 80:[11, 46] Operation: 89-43=46 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[43, 78], Operations: ['71-28=43', '89-11=78'] Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 43*78=3354, Resulting Numbers: [3354] 3354,80 unequal: No Solution Exploring Operation: 43+78=121, Resulting Numbers: [121] 121,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 80:[11, 46], Operations: ['71-28=43', '89-43=46'] Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 80:[89, 32], Operations: ['71-28=43', '43-11=32'] Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 89+32=121, Resulting Numbers: [121] 121,80 unequal: No Solution Exploring Operation: 89*32=2848, Resulting Numbers: [2848] 2848,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 80:[89, 54], Operations: ['71-28=43', '11+43=54'] Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 89*54=4806, Resulting Numbers: [4806] 4806,80 unequal: No Solution Exploring Operation: 89+54=143, Resulting Numbers: [143] 143,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[43, 100], Operations: ['71-28=43', '11+89=100'] Exploring Operation: 43+100=143, Resulting Numbers: [143] 143,80 unequal: No Solution Exploring Operation: 100-43=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 43*100=4300, Resulting Numbers: [4300] 4300,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[89, 71, 17], Operations: ['28-11=17'] Exploring Operation: 89-71=18, Resulting Numbers: [17, 18] Generated Node #0,1,0: 80:[17, 18] Operation: 89-71=18 Exploring Operation: 71-17=54, Resulting Numbers: [89, 54] Generated Node #0,1,1: 80:[89, 54] Operation: 71-17=54 Exploring Operation: 89+17=106, Resulting Numbers: [71, 106] Generated Node #0,1,2: 80:[71, 106] Operation: 89+17=106 Exploring Operation: 89-17=72, Resulting Numbers: [71, 72] Generated Node #0,1,3: 80:[71, 72] Operation: 89-17=72 Exploring Operation: 71+17=88, Resulting Numbers: [89, 88] Generated Node #0,1,4: 80:[89, 88] Operation: 71+17=88 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[17, 18], Operations: ['28-11=17', '89-71=18'] Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 17*18=306, Resulting Numbers: [306] 306,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 80:[71, 72], Operations: ['28-11=17', '89-17=72'] Exploring Operation: 71+72=143, Resulting Numbers: [143] 143,80 unequal: No Solution Exploring Operation: 71*72=5112, Resulting Numbers: [5112] 5112,80 unequal: No Solution Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 80:[89, 88], Operations: ['28-11=17', '71+17=88'] Exploring Operation: 89*88=7832, Resulting Numbers: [7832] 7832,80 unequal: No Solution Exploring Operation: 89+88=177, Resulting Numbers: [177] 177,80 unequal: No Solution Exploring Operation: 89-88=1, Resulting Numbers: [1] 1,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[89, 54], Operations: ['28-11=17', '71-17=54'] Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 89+54=143, Resulting Numbers: [143] 143,80 unequal: No Solution Exploring Operation: 89*54=4806, Resulting Numbers: [4806] 4806,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[71, 106], Operations: ['28-11=17', '89+17=106'] Exploring Operation: 71*106=7526, Resulting Numbers: [7526] 7526,80 unequal: No Solution Exploring Operation: 71+106=177, Resulting Numbers: [177] 177,80 unequal: No Solution Exploring Operation: 106-71=35, Resulting Numbers: [35] 35,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[89, 71, 39], Operations: ['28+11=39'] Exploring Operation: 89-71=18, Resulting Numbers: [39, 18] Generated Node #0,3,0: 80:[39, 18] Operation: 89-71=18 Exploring Operation: 89+39=128, Resulting Numbers: [71, 128] Generated Node #0,3,1: 80:[71, 128] Operation: 89+39=128 Exploring Operation: 89-39=50, Resulting Numbers: [71, 50] Generated Node #0,3,2: 80:[71, 50] Operation: 89-39=50 Exploring Operation: 71-39=32, Resulting Numbers: [89, 32] Generated Node #0,3,3: 80:[89, 32] Operation: 71-39=32 Exploring Operation: 71+39=110, Resulting Numbers: [89, 110] Generated Node #0,3,4: 80:[89, 110] Operation: 71+39=110 Moving to Node #0,3,0 Current State: 80:[39, 18], Operations: ['28+11=39', '89-71=18'] Exploring Operation: 39*18=702, Resulting Numbers: [702] 702,80 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 39+18=57, Resulting Numbers: [57] 57,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[89, 32], Operations: ['28+11=39', '71-39=32'] Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 89*32=2848, Resulting Numbers: [2848] 2848,80 unequal: No Solution Exploring Operation: 89+32=121, Resulting Numbers: [121] 121,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[71, 50], Operations: ['28+11=39', '89-39=50'] Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 71*50=3550, Resulting Numbers: [3550] 3550,80 unequal: No Solution Exploring Operation: 71+50=121, Resulting Numbers: [121] 121,80 unequal: No Solution Moving to Node #0,3,4 Current State: 80:[89, 110], Operations: ['28+11=39', '71+39=110'] Exploring Operation: 89*110=9790, Resulting Numbers: [9790] 9790,80 unequal: No Solution Exploring Operation: 89+110=199, Resulting Numbers: [199] 199,80 unequal: No Solution Exploring Operation: 110-89=21, Resulting Numbers: [21] 21,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[71, 128], Operations: ['28+11=39', '89+39=128'] Exploring Operation: 71*128=9088, Resulting Numbers: [9088] 9088,80 unequal: No Solution Exploring Operation: 128-71=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 71+128=199, Resulting Numbers: [199] 199,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 80:[28, 71, 78], Operations: ['89-11=78'] Exploring Operation: 78-71=7, Resulting Numbers: [28, 7] Generated Node #0,4,0: 80:[28, 7] Operation: 78-71=7 Exploring Operation: 71-28=43, Resulting Numbers: [78, 43] Generated Node #0,4,1: 80:[78, 43] Operation: 71-28=43 Exploring Operation: 28+71=99, Resulting Numbers: [78, 99] Generated Node #0,4,2: 80:[78, 99] Operation: 28+71=99 Exploring Operation: 28+78=106, Resulting Numbers: [71, 106] Generated Node #0,4,3: 80:[71, 106] Operation: 28+78=106 Exploring Operation: 78-28=50, Resulting Numbers: [71, 50] Generated Node #0,4,4: 80:[71, 50] Operation: 78-28=50 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 80:[78, 43], Operations: ['89-11=78', '71-28=43'] Exploring Operation: 78*43=3354, Resulting Numbers: [3354] 3354,80 unequal: No Solution Exploring Operation: 78+43=121, Resulting Numbers: [121] 121,80 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 80:[28, 7], Operations: ['89-11=78', '78-71=7'] Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,80 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 80:[71, 50], Operations: ['89-11=78', '78-28=50'] Exploring Operation: 71+50=121, Resulting Numbers: [121] 121,80 unequal: No Solution Exploring Operation: 71*50=3550, Resulting Numbers: [3550] 3550,80 unequal: No Solution Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 80:[78, 99], Operations: ['89-11=78', '28+71=99'] Exploring Operation: 78+99=177, Resulting Numbers: [177] 177,80 unequal: No Solution Exploring Operation: 78*99=7722, Resulting Numbers: [7722] 7722,80 unequal: No Solution Exploring Operation: 99-78=21, Resulting Numbers: [21] 21,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 80:[71, 106], Operations: ['89-11=78', '28+78=106'] Exploring Operation: 71+106=177, Resulting Numbers: [177] 177,80 unequal: No Solution Exploring Operation: 71*106=7526, Resulting Numbers: [7526] 7526,80 unequal: No Solution Exploring Operation: 106-71=35, Resulting Numbers: [35] 35,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 88, 70, 89, 91 ]
36
[ "88-70=18", "91-89=2", "18*2=36" ]
Current State: 36:[88, 70, 89, 91], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [89, 91, 18] Generated Node #2: [89, 91, 18] from Operation: 88-70=18 Current State: 36:[89, 91, 18], Operations: ['88-70=18'] Exploring Operation: 91-89=2, Resulting Numbers: [18, 2] Generated Node #3: [18, 2] from Operation: 91-89=2 Current State: 36:[18, 2], Operations: ['88-70=18', '91-89=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[88, 70, 89, 91], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [70, 89, 3] Generated Node #0,0: 36:[70, 89, 3] Operation: 91-88=3 Exploring Operation: 91-89=2, Resulting Numbers: [88, 70, 2] Generated Node #0,1: 36:[88, 70, 2] Operation: 91-89=2 Exploring Operation: 89-88=1, Resulting Numbers: [70, 91, 1] Generated Node #0,2: 36:[70, 91, 1] Operation: 89-88=1 Moving to Node #0,1 Current State: 36:[88, 70, 2], Operations: ['91-89=2'] Exploring Operation: 88-70=18, Resulting Numbers: [2, 18] Generated Node #0,1,0: 36:[2, 18] Operation: 88-70=18 Exploring Operation: 70/2=35, Resulting Numbers: [88, 35] Generated Node #0,1,1: 36:[88, 35] Operation: 70/2=35 Exploring Operation: 88/2=44, Resulting Numbers: [70, 44] Generated Node #0,1,2: 36:[70, 44] Operation: 88/2=44 Moving to Node #0,0 Current State: 36:[70, 89, 3], Operations: ['91-88=3'] Exploring Operation: 89-3=86, Resulting Numbers: [70, 86] Generated Node #0,0,0: 36:[70, 86] Operation: 89-3=86 Exploring Operation: 70-3=67, Resulting Numbers: [89, 67] Generated Node #0,0,1: 36:[89, 67] Operation: 70-3=67 Exploring Operation: 89-70=19, Resulting Numbers: [3, 19] Generated Node #0,0,2: 36:[3, 19] Operation: 89-70=19 Moving to Node #0,2 Current State: 36:[70, 91, 1], Operations: ['89-88=1'] Exploring Operation: 91-1=90, Resulting Numbers: [70, 90] Generated Node #0,2,0: 36:[70, 90] Operation: 91-1=90 Exploring Operation: 91-70=21, Resulting Numbers: [1, 21] Generated Node #0,2,1: 36:[1, 21] Operation: 91-70=21 Exploring Operation: 70-1=69, Resulting Numbers: [91, 69] Generated Node #0,2,2: 36:[91, 69] Operation: 70-1=69 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[1, 21], Operations: ['89-88=1', '91-70=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,36 unequal: No Solution No 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: 36:[70, 90], Operations: ['89-88=1', '91-1=90'] Exploring Operation: 70+90=160, Resulting Numbers: [160] 160,36 unequal: No Solution Exploring Operation: 90-70=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 70*90=6300, Resulting Numbers: [6300] 6300,36 unequal: No Solution No 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: 36:[91, 69], Operations: ['89-88=1', '70-1=69'] Exploring Operation: 91+69=160, Resulting Numbers: [160] 160,36 unequal: No Solution Exploring Operation: 91*69=6279, Resulting Numbers: [6279] 6279,36 unequal: No Solution Exploring Operation: 91-69=22, Resulting Numbers: [22] 22,36 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: 36:[2, 18], Operations: ['91-89=2', '88-70=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[88, 70, 89, 91], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [88, 70, 2] Generated Node #0,1: 36:[88, 70, 2] Operation: 91-89=2 Moving to Node #0,1 Current State: 36:[88, 70, 2], Operations: ['91-89=2'] Exploring Operation: 88-70=18, Resulting Numbers: [2, 18] Generated Node #0,1,0: 36:[2, 18] Operation: 88-70=18 Moving to Node #0,1,0 Current State: 36:[2, 18], Operations: ['91-89=2', '88-70=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 17, 44, 15, 21 ]
58
[ "21-15=6", "17*6=102", "102-44=58" ]
Current State: 58:[17, 44, 15, 21], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [17, 44, 6] Generated Node #2: [17, 44, 6] from Operation: 21-15=6 Current State: 58:[17, 44, 6], Operations: ['21-15=6'] Exploring Operation: 17*6=102, Resulting Numbers: [44, 102] Generated Node #3: [44, 102] from Operation: 17*6=102 Current State: 58:[44, 102], Operations: ['21-15=6', '17*6=102'] Exploring Operation: 102-44=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[17, 44, 15, 21], Operations: [] Exploring Operation: 44-15=29, Resulting Numbers: [17, 21, 29] Generated Node #0,0: 58:[17, 21, 29] Operation: 44-15=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[17, 21, 29], Operations: ['44-15=29'] Exploring Operation: 21-17=4, Resulting Numbers: [29, 4] Generated Node #0,0,0: 58:[29, 4] Operation: 21-17=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[29, 4], Operations: ['44-15=29', '21-17=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 22, 25, 38, 97 ]
88
[ "22+25=47", "38+97=135", "135-47=88" ]
Current State: 88:[22, 25, 38, 97], Operations: [] Exploring Operation: 22+25=47, Resulting Numbers: [38, 97, 47] Generated Node #2: [38, 97, 47] from Operation: 22+25=47 Current State: 88:[38, 97, 47], Operations: ['22+25=47'] Exploring Operation: 38+97=135, Resulting Numbers: [47, 135] Generated Node #3: [47, 135] from Operation: 38+97=135 Current State: 88:[47, 135], Operations: ['22+25=47', '38+97=135'] Exploring Operation: 135-47=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[22, 25, 38, 97], Operations: [] Exploring Operation: 38-22=16, Resulting Numbers: [25, 97, 16] Generated Node #0,0: 88:[25, 97, 16] Operation: 38-22=16 Exploring Operation: 38-25=13, Resulting Numbers: [22, 97, 13] Generated Node #0,1: 88:[22, 97, 13] Operation: 38-25=13 Exploring Operation: 97-38=59, Resulting Numbers: [22, 25, 59] Generated Node #0,2: 88:[22, 25, 59] Operation: 97-38=59 Exploring Operation: 25-22=3, Resulting Numbers: [38, 97, 3] Generated Node #0,3: 88:[38, 97, 3] Operation: 25-22=3 Exploring Operation: 22+25=47, Resulting Numbers: [38, 97, 47] Generated Node #0,4: 88:[38, 97, 47] Operation: 22+25=47 Moving to Node #0,1 Current State: 88:[22, 97, 13], Operations: ['38-25=13'] Exploring Operation: 97-22=75, Resulting Numbers: [13, 75] Generated Node #0,1,0: 88:[13, 75] Operation: 97-22=75 Exploring Operation: 97+13=110, Resulting Numbers: [22, 110] Generated Node #0,1,1: 88:[22, 110] Operation: 97+13=110 Exploring Operation: 22+13=35, Resulting Numbers: [97, 35] Generated Node #0,1,2: 88:[97, 35] Operation: 22+13=35 Exploring Operation: 97-13=84, Resulting Numbers: [22, 84] Generated Node #0,1,3: 88:[22, 84] Operation: 97-13=84 Exploring Operation: 22-13=9, Resulting Numbers: [97, 9] Generated Node #0,1,4: 88:[97, 9] Operation: 22-13=9 Moving to Node #0,3 Current State: 88:[38, 97, 3], Operations: ['25-22=3'] Exploring Operation: 97-3=94, Resulting Numbers: [38, 94] Generated Node #0,3,0: 88:[38, 94] Operation: 97-3=94 Exploring Operation: 97-38=59, Resulting Numbers: [3, 59] Generated Node #0,3,1: 88:[3, 59] Operation: 97-38=59 Exploring Operation: 97+3=100, Resulting Numbers: [38, 100] Generated Node #0,3,2: 88:[38, 100] Operation: 97+3=100 Exploring Operation: 38-3=35, Resulting Numbers: [97, 35] Generated Node #0,3,3: 88:[97, 35] Operation: 38-3=35 Exploring Operation: 38+3=41, Resulting Numbers: [97, 41] Generated Node #0,3,4: 88:[97, 41] Operation: 38+3=41 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 88:[38, 94], Operations: ['25-22=3', '97-3=94'] Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 38+94=132, Resulting Numbers: [132] 132,88 unequal: No Solution Exploring Operation: 38*94=3572, Resulting Numbers: [3572] 3572,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 88:[97, 41], Operations: ['25-22=3', '38+3=41'] Exploring Operation: 97-41=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 97*41=3977, Resulting Numbers: [3977] 3977,88 unequal: No Solution Exploring Operation: 97+41=138, Resulting Numbers: [138] 138,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 88:[3, 59], Operations: ['25-22=3', '97-38=59'] Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,88 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 88:[38, 100], Operations: ['25-22=3', '97+3=100'] Exploring Operation: 100-38=62, Resulting Numbers: [62] 62,88 unequal: No Solution Exploring Operation: 38*100=3800, Resulting Numbers: [3800] 3800,88 unequal: No Solution Exploring Operation: 38+100=138, Resulting Numbers: [138] 138,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 88:[97, 35], Operations: ['25-22=3', '38-3=35'] Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,88 unequal: No Solution Exploring Operation: 97*35=3395, Resulting Numbers: [3395] 3395,88 unequal: No Solution Exploring Operation: 97+35=132, Resulting Numbers: [132] 132,88 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: 88:[25, 97, 16], Operations: ['38-22=16'] Exploring Operation: 25-16=9, Resulting Numbers: [97, 9] Generated Node #0,0,0: 88:[97, 9] Operation: 25-16=9 Exploring Operation: 25+16=41, Resulting Numbers: [97, 41] Generated Node #0,0,1: 88:[97, 41] Operation: 25+16=41 Exploring Operation: 97-25=72, Resulting Numbers: [16, 72] Generated Node #0,0,2: 88:[16, 72] Operation: 97-25=72 Exploring Operation: 97+16=113, Resulting Numbers: [25, 113] Generated Node #0,0,3: 88:[25, 113] Operation: 97+16=113 Exploring Operation: 97-16=81, Resulting Numbers: [25, 81] Generated Node #0,0,4: 88:[25, 81] Operation: 97-16=81 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[97, 9], Operations: ['38-22=16', '25-16=9'] Exploring Operation: 97*9=873, Resulting Numbers: [873] 873,88 unequal: No Solution Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[22, 25, 38, 97], Operations: [] Exploring Operation: 38-22=16, Resulting Numbers: [25, 97, 16] Generated Node #0,0: 88:[25, 97, 16] Operation: 38-22=16 Moving to Node #0,0 Current State: 88:[25, 97, 16], Operations: ['38-22=16'] Exploring Operation: 25-16=9, Resulting Numbers: [97, 9] Generated Node #0,0,0: 88:[97, 9] Operation: 25-16=9 Moving to Node #0,0,0 Current State: 88:[97, 9], Operations: ['38-22=16', '25-16=9'] Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 47, 4, 29, 96 ]
80
[ "47+29=76", "96-76=20", "4*20=80" ]
Current State: 80:[47, 4, 29, 96], Operations: [] Exploring Operation: 47+29=76, Resulting Numbers: [4, 96, 76] Generated Node #2: [4, 96, 76] from Operation: 47+29=76 Current State: 80:[4, 96, 76], Operations: ['47+29=76'] Exploring Operation: 96-76=20, Resulting Numbers: [4, 20] Generated Node #3: [4, 20] from Operation: 96-76=20 Current State: 80:[4, 20], Operations: ['47+29=76', '96-76=20'] Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[47, 4, 29, 96], Operations: [] Exploring Operation: 47+29=76, Resulting Numbers: [4, 96, 76] Generated Node #0,0: 80:[4, 96, 76] Operation: 47+29=76 Exploring Operation: 96/4=24, Resulting Numbers: [47, 29, 24] Generated Node #0,1: 80:[47, 29, 24] Operation: 96/4=24 Exploring Operation: 47-29=18, Resulting Numbers: [4, 96, 18] Generated Node #0,2: 80:[4, 96, 18] Operation: 47-29=18 Exploring Operation: 96-47=49, Resulting Numbers: [4, 29, 49] Generated Node #0,3: 80:[4, 29, 49] Operation: 96-47=49 Moving to Node #0,2 Current State: 80:[4, 96, 18], Operations: ['47-29=18'] Exploring Operation: 96/4=24, Resulting Numbers: [18, 24] Generated Node #0,2,0: 80:[18, 24] Operation: 96/4=24 Exploring Operation: 96-18=78, Resulting Numbers: [4, 78] Generated Node #0,2,1: 80:[4, 78] Operation: 96-18=78 Exploring Operation: 4+18=22, Resulting Numbers: [96, 22] Generated Node #0,2,2: 80:[96, 22] Operation: 4+18=22 Exploring Operation: 96-4=92, Resulting Numbers: [18, 92] Generated Node #0,2,3: 80:[18, 92] Operation: 96-4=92 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[4, 78], Operations: ['47-29=18', '96-18=78'] Exploring Operation: 4*78=312, Resulting Numbers: [312] 312,80 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[18, 24], Operations: ['47-29=18', '96/4=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,80 unequal: No Solution Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,80 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 80:[18, 92], Operations: ['47-29=18', '96-4=92'] Exploring Operation: 18+92=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 18*92=1656, Resulting Numbers: [1656] 1656,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[96, 22], Operations: ['47-29=18', '4+18=22'] Exploring Operation: 96*22=2112, Resulting Numbers: [2112] 2112,80 unequal: No Solution Exploring Operation: 96+22=118, Resulting Numbers: [118] 118,80 unequal: No Solution Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 80:[4, 29, 49], Operations: ['96-47=49'] Exploring Operation: 29+49=78, Resulting Numbers: [4, 78] Generated Node #0,3,0: 80:[4, 78] Operation: 29+49=78 Exploring Operation: 29-4=25, Resulting Numbers: [49, 25] Generated Node #0,3,1: 80:[49, 25] Operation: 29-4=25 Exploring Operation: 49-29=20, Resulting Numbers: [4, 20] Generated Node #0,3,2: 80:[4, 20] Operation: 49-29=20 Exploring Operation: 49-4=45, Resulting Numbers: [29, 45] Generated Node #0,3,3: 80:[29, 45] Operation: 49-4=45 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 80:[4, 20], Operations: ['96-47=49', '49-29=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[47, 4, 29, 96], Operations: [] Exploring Operation: 96-47=49, Resulting Numbers: [4, 29, 49] Generated Node #0,3: 80:[4, 29, 49] Operation: 96-47=49 Moving to Node #0,3 Current State: 80:[4, 29, 49], Operations: ['96-47=49'] Exploring Operation: 49-29=20, Resulting Numbers: [4, 20] Generated Node #0,3,2: 80:[4, 20] Operation: 49-29=20 Moving to Node #0,3,2 Current State: 80:[4, 20], Operations: ['96-47=49', '49-29=20'] Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 81, 99, 39, 7 ]
87
[ "99-81=18", "7*18=126", "126-39=87" ]
Current State: 87:[81, 99, 39, 7], Operations: [] Exploring Operation: 99-81=18, Resulting Numbers: [39, 7, 18] Generated Node #2: [39, 7, 18] from Operation: 99-81=18 Current State: 87:[39, 7, 18], Operations: ['99-81=18'] Exploring Operation: 7*18=126, Resulting Numbers: [39, 126] Generated Node #3: [39, 126] from Operation: 7*18=126 Current State: 87:[39, 126], Operations: ['99-81=18', '7*18=126'] Exploring Operation: 126-39=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[81, 99, 39, 7], Operations: [] Exploring Operation: 99-7=92, Resulting Numbers: [81, 39, 92] Generated Node #0,0: 87:[81, 39, 92] Operation: 99-7=92 Exploring Operation: 99-81=18, Resulting Numbers: [39, 7, 18] Generated Node #0,1: 87:[39, 7, 18] Operation: 99-81=18 Exploring Operation: 39-7=32, Resulting Numbers: [81, 99, 32] Generated Node #0,2: 87:[81, 99, 32] Operation: 39-7=32 Exploring Operation: 81+7=88, Resulting Numbers: [99, 39, 88] Generated Node #0,3: 87:[99, 39, 88] Operation: 81+7=88 Moving to Node #0,0 Current State: 87:[81, 39, 92], Operations: ['99-7=92'] Exploring Operation: 92-81=11, Resulting Numbers: [39, 11] Generated Node #0,0,0: 87:[39, 11] Operation: 92-81=11 Exploring Operation: 92-39=53, Resulting Numbers: [81, 53] Generated Node #0,0,1: 87:[81, 53] Operation: 92-39=53 Exploring Operation: 81+39=120, Resulting Numbers: [92, 120] Generated Node #0,0,2: 87:[92, 120] Operation: 81+39=120 Exploring Operation: 81-39=42, Resulting Numbers: [92, 42] Generated Node #0,0,3: 87:[92, 42] Operation: 81-39=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[39, 11], Operations: ['99-7=92', '92-81=11'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,87 unequal: No Solution Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 87:[92, 42], Operations: ['99-7=92', '81-39=42'] Exploring Operation: 92+42=134, Resulting Numbers: [134] 134,87 unequal: No Solution Exploring Operation: 92*42=3864, Resulting Numbers: [3864] 3864,87 unequal: No Solution Exploring Operation: 92-42=50, Resulting Numbers: [50] 50,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[81, 53], Operations: ['99-7=92', '92-39=53'] Exploring Operation: 81+53=134, Resulting Numbers: [134] 134,87 unequal: No Solution Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 81*53=4293, Resulting Numbers: [4293] 4293,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 87:[92, 120], Operations: ['99-7=92', '81+39=120'] Exploring Operation: 120-92=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 92*120=11040, Resulting Numbers: [11040] 11040,87 unequal: No Solution Exploring Operation: 92+120=212, Resulting Numbers: [212] 212,87 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: 87:[81, 99, 32], Operations: ['39-7=32'] Exploring Operation: 81-32=49, Resulting Numbers: [99, 49] Generated Node #0,2,0: 87:[99, 49] Operation: 81-32=49 Exploring Operation: 81+32=113, Resulting Numbers: [99, 113] Generated Node #0,2,1: 87:[99, 113] Operation: 81+32=113 Exploring Operation: 99-81=18, Resulting Numbers: [32, 18] Generated Node #0,2,2: 87:[32, 18] Operation: 99-81=18 Exploring Operation: 99-32=67, Resulting Numbers: [81, 67] Generated Node #0,2,3: 87:[81, 67] Operation: 99-32=67 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[32, 18], Operations: ['39-7=32', '99-81=18'] Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,87 unequal: No Solution Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,87 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 87:[81, 67], Operations: ['39-7=32', '99-32=67'] Exploring Operation: 81*67=5427, Resulting Numbers: [5427] 5427,87 unequal: No Solution Exploring Operation: 81+67=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 81-67=14, Resulting Numbers: [14] 14,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[99, 49], Operations: ['39-7=32', '81-32=49'] Exploring Operation: 99-49=50, Resulting Numbers: [50] 50,87 unequal: No Solution Exploring Operation: 99*49=4851, Resulting Numbers: [4851] 4851,87 unequal: No Solution Exploring Operation: 99+49=148, Resulting Numbers: [148] 148,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[99, 113], Operations: ['39-7=32', '81+32=113'] Exploring Operation: 99*113=11187, Resulting Numbers: [11187] 11187,87 unequal: No Solution Exploring Operation: 113-99=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 99+113=212, Resulting Numbers: [212] 212,87 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: 87:[99, 39, 88], Operations: ['81+7=88'] Exploring Operation: 99-39=60, Resulting Numbers: [88, 60] Generated Node #0,3,0: 87:[88, 60] Operation: 99-39=60 Exploring Operation: 99-88=11, Resulting Numbers: [39, 11] Generated Node #0,3,1: 87:[39, 11] Operation: 99-88=11 Exploring Operation: 99+39=138, Resulting Numbers: [88, 138] Generated Node #0,3,2: 87:[88, 138] Operation: 99+39=138 Exploring Operation: 88-39=49, Resulting Numbers: [99, 49] Generated Node #0,3,3: 87:[99, 49] Operation: 88-39=49 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 87:[39, 11], Operations: ['81+7=88', '99-88=11'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,87 unequal: No Solution Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 87:[88, 60], Operations: ['81+7=88', '99-39=60'] Exploring Operation: 88-60=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 88+60=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 88*60=5280, Resulting Numbers: [5280] 5280,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 87:[99, 49], Operations: ['81+7=88', '88-39=49'] Exploring Operation: 99*49=4851, Resulting Numbers: [4851] 4851,87 unequal: No Solution Exploring Operation: 99+49=148, Resulting Numbers: [148] 148,87 unequal: No Solution Exploring Operation: 99-49=50, Resulting Numbers: [50] 50,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 87:[88, 138], Operations: ['81+7=88', '99+39=138'] Exploring Operation: 88+138=226, Resulting Numbers: [226] 226,87 unequal: No Solution Exploring Operation: 138-88=50, Resulting Numbers: [50] 50,87 unequal: No Solution Exploring Operation: 88*138=12144, Resulting Numbers: [12144] 12144,87 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: 87:[39, 7, 18], Operations: ['99-81=18'] Exploring Operation: 39-18=21, Resulting Numbers: [7, 21] Generated Node #0,1,0: 87:[7, 21] Operation: 39-18=21 Exploring Operation: 39-7=32, Resulting Numbers: [18, 32] Generated Node #0,1,1: 87:[18, 32] Operation: 39-7=32 Exploring Operation: 7+18=25, Resulting Numbers: [39, 25] Generated Node #0,1,2: 87:[39, 25] Operation: 7+18=25 Exploring Operation: 18-7=11, Resulting Numbers: [39, 11] Generated Node #0,1,3: 87:[39, 11] Operation: 18-7=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[7, 21], Operations: ['99-81=18', '39-18=21'] Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,87 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[18, 32], Operations: ['99-81=18', '39-7=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,87 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 18*32=576, Resulting Numbers: [576] 576,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[39, 25], Operations: ['99-81=18', '7+18=25'] Exploring Operation: 39*25=975, Resulting Numbers: [975] 975,87 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 39+25=64, Resulting Numbers: [64] 64,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 87:[39, 11], Operations: ['99-81=18', '18-7=11'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,87 unequal: No Solution Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,87 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
[ 37, 6, 12, 30 ]
97
[ "12/6=2", "30*2=60", "37+60=97" ]
Current State: 97:[37, 6, 12, 30], Operations: [] Exploring Operation: 12/6=2, Resulting Numbers: [37, 30, 2] Generated Node #2: [37, 30, 2] from Operation: 12/6=2 Current State: 97:[37, 30, 2], Operations: ['12/6=2'] Exploring Operation: 30*2=60, Resulting Numbers: [37, 60] Generated Node #3: [37, 60] from Operation: 30*2=60 Current State: 97:[37, 60], Operations: ['12/6=2', '30*2=60'] Exploring Operation: 37+60=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[37, 6, 12, 30], Operations: [] Exploring Operation: 37+6=43, Resulting Numbers: [12, 30, 43] Generated Node #0,0: 97:[12, 30, 43] Operation: 37+6=43 Exploring Operation: 37+12=49, Resulting Numbers: [6, 30, 49] Generated Node #0,1: 97:[6, 30, 49] Operation: 37+12=49 Exploring Operation: 6*12=72, Resulting Numbers: [37, 30, 72] Generated Node #0,2: 97:[37, 30, 72] Operation: 6*12=72 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[37, 30, 72], Operations: ['6*12=72'] Exploring Operation: 37+30=67, Resulting Numbers: [72, 67] Generated Node #0,2,0: 97:[72, 67] Operation: 37+30=67 Exploring Operation: 30+72=102, Resulting Numbers: [37, 102] Generated Node #0,2,1: 97:[37, 102] Operation: 30+72=102 Exploring Operation: 37+72=109, Resulting Numbers: [30, 109] Generated Node #0,2,2: 97:[30, 109] Operation: 37+72=109 Moving to Node #0,2,0 Current State: 97:[72, 67], Operations: ['6*12=72', '37+30=67'] Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 72+67=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 72*67=4824, Resulting Numbers: [4824] 4824,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[37, 102], Operations: ['6*12=72', '30+72=102'] Exploring Operation: 102-37=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 37*102=3774, Resulting Numbers: [3774] 3774,97 unequal: No Solution Exploring Operation: 37+102=139, Resulting Numbers: [139] 139,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[30, 109], Operations: ['6*12=72', '37+72=109'] Exploring Operation: 30*109=3270, Resulting Numbers: [3270] 3270,97 unequal: No Solution Exploring Operation: 30+109=139, Resulting Numbers: [139] 139,97 unequal: No Solution Exploring Operation: 109-30=79, Resulting Numbers: [79] 79,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[12, 30, 43], Operations: ['37+6=43'] Exploring Operation: 30+43=73, Resulting Numbers: [12, 73] Generated Node #0,0,0: 97:[12, 73] Operation: 30+43=73 Exploring Operation: 12+43=55, Resulting Numbers: [30, 55] Generated Node #0,0,1: 97:[30, 55] Operation: 12+43=55 Exploring Operation: 12+30=42, Resulting Numbers: [43, 42] Generated Node #0,0,2: 97:[43, 42] Operation: 12+30=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[12, 73], Operations: ['37+6=43', '30+43=73'] Exploring Operation: 12+73=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 12*73=876, Resulting Numbers: [876] 876,97 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,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,0,1 Current State: 97:[30, 55], Operations: ['37+6=43', '12+43=55'] Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,97 unequal: No Solution Exploring Operation: 30+55=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 30*55=1650, Resulting Numbers: [1650] 1650,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,0,2 Current State: 97:[43, 42], Operations: ['37+6=43', '12+30=42'] Exploring Operation: 43*42=1806, Resulting Numbers: [1806] 1806,97 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,97 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: 97:[6, 30, 49], Operations: ['37+12=49'] Exploring Operation: 6+30=36, Resulting Numbers: [49, 36] Generated Node #0,1,0: 97:[49, 36] Operation: 6+30=36 Exploring Operation: 6+49=55, Resulting Numbers: [30, 55] Generated Node #0,1,1: 97:[30, 55] Operation: 6+49=55 Exploring Operation: 30+49=79, Resulting Numbers: [6, 79] Generated Node #0,1,2: 97:[6, 79] Operation: 30+49=79 Moving to Node #0,1,0 Current State: 97:[49, 36], Operations: ['37+12=49', '6+30=36'] Exploring Operation: 49+36=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 49*36=1764, Resulting Numbers: [1764] 1764,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[30, 55], Operations: ['37+12=49', '6+49=55'] Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,97 unequal: No Solution Exploring Operation: 30+55=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 30*55=1650, Resulting Numbers: [1650] 1650,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[6, 79], Operations: ['37+12=49', '30+49=79'] Exploring Operation: 6*79=474, Resulting Numbers: [474] 474,97 unequal: No Solution Exploring Operation: 6+79=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 77, 7, 1, 85 ]
65
[ "85-1=84", "84/7=12", "77-12=65" ]
Current State: 65:[77, 7, 1, 85], Operations: [] Exploring Operation: 85-1=84, Resulting Numbers: [77, 7, 84] Generated Node #2: [77, 7, 84] from Operation: 85-1=84 Current State: 65:[77, 7, 84], Operations: ['85-1=84'] Exploring Operation: 84/7=12, Resulting Numbers: [77, 12] Generated Node #3: [77, 12] from Operation: 84/7=12 Current State: 65:[77, 12], Operations: ['85-1=84', '84/7=12'] Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[77, 7, 1, 85], Operations: [] Exploring Operation: 77/7=11, Resulting Numbers: [1, 85, 11] Generated Node #0,0: 65:[1, 85, 11] Operation: 77/7=11 Exploring Operation: 77-1=76, Resulting Numbers: [7, 85, 76] Generated Node #0,1: 65:[7, 85, 76] Operation: 77-1=76 Exploring Operation: 77-7=70, Resulting Numbers: [1, 85, 70] Generated Node #0,2: 65:[1, 85, 70] Operation: 77-7=70 Exploring Operation: 85-7=78, Resulting Numbers: [77, 1, 78] Generated Node #0,3: 65:[77, 1, 78] Operation: 85-7=78 Exploring Operation: 85-77=8, Resulting Numbers: [7, 1, 8] Generated Node #0,4: 65:[7, 1, 8] Operation: 85-77=8 Moving to Node #0,4 Current State: 65:[7, 1, 8], Operations: ['85-77=8'] Exploring Operation: 7/1=7, Resulting Numbers: [8, 7] Generated Node #0,4,0: 65:[8, 7] Operation: 7/1=7 Exploring Operation: 1*8=8, Resulting Numbers: [7, 8] Generated Node #0,4,1: 65:[7, 8] Operation: 1*8=8 Exploring Operation: 7-1=6, Resulting Numbers: [8, 6] Generated Node #0,4,2: 65:[8, 6] Operation: 7-1=6 Exploring Operation: 7*1=7, Resulting Numbers: [8, 7] Generated Node #0,4,3: 65:[8, 7] Operation: 7*1=7 Exploring Operation: 8-1=7, Resulting Numbers: [7, 7] Generated Node #0,4,4: 65:[7, 7] Operation: 8-1=7 Moving to Node #0,0 Current State: 65:[1, 85, 11], Operations: ['77/7=11'] Exploring Operation: 85-11=74, Resulting Numbers: [1, 74] Generated Node #0,0,0: 65:[1, 74] Operation: 85-11=74 Exploring Operation: 85-1=84, Resulting Numbers: [11, 84] Generated Node #0,0,1: 65:[11, 84] Operation: 85-1=84 Exploring Operation: 1+11=12, Resulting Numbers: [85, 12] Generated Node #0,0,2: 65:[85, 12] Operation: 1+11=12 Exploring Operation: 85/1=85, Resulting Numbers: [11, 85] Generated Node #0,0,3: 65:[11, 85] Operation: 85/1=85 Exploring Operation: 1*85=85, Resulting Numbers: [11, 85] Generated Node #0,0,4: 65:[11, 85] Operation: 1*85=85 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[1, 74], Operations: ['77/7=11', '85-11=74'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,65 unequal: No Solution Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,65 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[11, 84], Operations: ['77/7=11', '85-1=84'] Exploring Operation: 11+84=95, Resulting Numbers: [95] 95,65 unequal: No Solution Exploring Operation: 11*84=924, Resulting Numbers: [924] 924,65 unequal: No Solution Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[85, 12], Operations: ['77/7=11', '1+11=12'] Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 85+12=97, Resulting Numbers: [97] 97,65 unequal: No Solution Exploring Operation: 85*12=1020, Resulting Numbers: [1020] 1020,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 65:[11, 85], Operations: ['77/7=11', '85/1=85'] Exploring Operation: 11*85=935, Resulting Numbers: [935] 935,65 unequal: No Solution Exploring Operation: 11+85=96, Resulting Numbers: [96] 96,65 unequal: No Solution Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 65:[11, 85], Operations: ['77/7=11', '1*85=85'] Exploring Operation: 11*85=935, Resulting Numbers: [935] 935,65 unequal: No Solution Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,65 unequal: No Solution Exploring Operation: 11+85=96, Resulting Numbers: [96] 96,65 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: 65:[1, 85, 70], Operations: ['77-7=70'] Exploring Operation: 85-1=84, Resulting Numbers: [70, 84] Generated Node #0,2,0: 65:[70, 84] Operation: 85-1=84 Exploring Operation: 85/1=85, Resulting Numbers: [70, 85] Generated Node #0,2,1: 65:[70, 85] Operation: 85/1=85 Exploring Operation: 70-1=69, Resulting Numbers: [85, 69] Generated Node #0,2,2: 65:[85, 69] Operation: 70-1=69 Exploring Operation: 1*85=85, Resulting Numbers: [70, 85] Generated Node #0,2,3: 65:[70, 85] Operation: 1*85=85 Exploring Operation: 85-70=15, Resulting Numbers: [1, 15] Generated Node #0,2,4: 65:[1, 15] Operation: 85-70=15 Moving to Node #0,3 Current State: 65:[77, 1, 78], Operations: ['85-7=78'] Exploring Operation: 77*1=77, Resulting Numbers: [78, 77] Generated Node #0,3,0: 65:[78, 77] Operation: 77*1=77 Exploring Operation: 77/1=77, Resulting Numbers: [78, 77] Generated Node #0,3,1: 65:[78, 77] Operation: 77/1=77 Exploring Operation: 77-1=76, Resulting Numbers: [78, 76] Generated Node #0,3,2: 65:[78, 76] Operation: 77-1=76 Exploring Operation: 78-77=1, Resulting Numbers: [1, 1] Generated Node #0,3,3: 65:[1, 1] Operation: 78-77=1 Exploring Operation: 78-1=77, Resulting Numbers: [77, 77] Generated Node #0,3,4: 65:[77, 77] Operation: 78-1=77 Moving to Node #0,1 Current State: 65:[7, 85, 76], Operations: ['77-1=76'] Exploring Operation: 7+85=92, Resulting Numbers: [76, 92] Generated Node #0,1,0: 65:[76, 92] Operation: 7+85=92 Exploring Operation: 85-7=78, Resulting Numbers: [76, 78] Generated Node #0,1,1: 65:[76, 78] Operation: 85-7=78 Exploring Operation: 85-76=9, Resulting Numbers: [7, 9] Generated Node #0,1,2: 65:[7, 9] Operation: 85-76=9 Exploring Operation: 7+76=83, Resulting Numbers: [85, 83] Generated Node #0,1,3: 65:[85, 83] Operation: 7+76=83 Exploring Operation: 76-7=69, Resulting Numbers: [85, 69] Generated Node #0,1,4: 65:[85, 69] Operation: 76-7=69 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[7, 9], Operations: ['77-1=76', '85-76=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[76, 78], Operations: ['77-1=76', '85-7=78'] Exploring Operation: 76+78=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 76*78=5928, Resulting Numbers: [5928] 5928,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 65:[85, 69], Operations: ['77-1=76', '76-7=69'] Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 85+69=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 85*69=5865, Resulting Numbers: [5865] 5865,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[76, 92], Operations: ['77-1=76', '7+85=92'] Exploring Operation: 92-76=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 76*92=6992, Resulting Numbers: [6992] 6992,65 unequal: No Solution Exploring Operation: 76+92=168, Resulting Numbers: [168] 168,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 65:[85, 83], Operations: ['77-1=76', '7+76=83'] Exploring Operation: 85+83=168, Resulting Numbers: [168] 168,65 unequal: No Solution Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 85*83=7055, Resulting Numbers: [7055] 7055,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 65:[8, 6], Operations: ['85-77=8', '7-1=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,65 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,65 unequal: No Solution Moving to Node #0,4,4 Current State: 65:[7, 7], Operations: ['85-77=8', '8-1=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,65 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,65 unequal: No Solution Moving to Node #0,4,0 Current State: 65:[8, 7], Operations: ['85-77=8', '7/1=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,65 unequal: No Solution Moving to Node #0,4,3 Current State: 65:[8, 7], Operations: ['85-77=8', '7*1=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,65 unequal: No Solution Moving to Node #0,4,1 Current State: 65:[7, 8], Operations: ['85-77=8', '1*8=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,65 unequal: No Solution Moving to Node #0,2,4 Current State: 65:[1, 15], Operations: ['77-7=70', '85-70=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[1, 1], Operations: ['85-7=78', '78-77=1'] Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[70, 84], Operations: ['77-7=70', '85-1=84'] Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 70*84=5880, Resulting Numbers: [5880] 5880,65 unequal: No Solution Exploring Operation: 70+84=154, Resulting Numbers: [154] 154,65 unequal: No Solution Moving to Node #0,3,4 Current State: 65:[77, 77], Operations: ['85-7=78', '78-1=77'] Exploring Operation: 77+77=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 77*77=5929, Resulting Numbers: [5929] 5929,65 unequal: No Solution Exploring Operation: 77/77=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 77-77=0, Resulting Numbers: [0] 0,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[78, 76], Operations: ['85-7=78', '77-1=76'] Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 78*76=5928, Resulting Numbers: [5928] 5928,65 unequal: No Solution Exploring Operation: 78+76=154, Resulting Numbers: [154] 154,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[85, 69], Operations: ['77-7=70', '70-1=69'] Exploring Operation: 85*69=5865, Resulting Numbers: [5865] 5865,65 unequal: No Solution Exploring Operation: 85+69=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[78, 77], Operations: ['85-7=78', '77/1=77'] Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 78*77=6006, Resulting Numbers: [6006] 6006,65 unequal: No Solution Exploring Operation: 78+77=155, Resulting Numbers: [155] 155,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[70, 85], Operations: ['77-7=70', '85/1=85'] Exploring Operation: 70*85=5950, Resulting Numbers: [5950] 5950,65 unequal: No Solution Exploring Operation: 70+85=155, Resulting Numbers: [155] 155,65 unequal: No Solution Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[70, 85], Operations: ['77-7=70', '1*85=85'] Exploring Operation: 70*85=5950, Resulting Numbers: [5950] 5950,65 unequal: No Solution Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 70+85=155, Resulting Numbers: [155] 155,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[78, 77], Operations: ['85-7=78', '77*1=77'] Exploring Operation: 78+77=155, Resulting Numbers: [155] 155,65 unequal: No Solution Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 78*77=6006, Resulting Numbers: [6006] 6006,65 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 8, 64, 48, 34 ]
90
[ "64/8=8", "48+34=82", "8+82=90" ]
Current State: 90:[8, 64, 48, 34], Operations: [] Exploring Operation: 64/8=8, Resulting Numbers: [48, 34, 8] Generated Node #2: [48, 34, 8] from Operation: 64/8=8 Current State: 90:[48, 34, 8], Operations: ['64/8=8'] Exploring Operation: 48+34=82, Resulting Numbers: [8, 82] Generated Node #3: [8, 82] from Operation: 48+34=82 Current State: 90:[8, 82], Operations: ['64/8=8', '48+34=82'] Exploring Operation: 8+82=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[8, 64, 48, 34], Operations: [] Exploring Operation: 64-48=16, Resulting Numbers: [8, 34, 16] Generated Node #0,0: 90:[8, 34, 16] Operation: 64-48=16 Exploring Operation: 64/8=8, Resulting Numbers: [48, 34, 8] Generated Node #0,1: 90:[48, 34, 8] Operation: 64/8=8 Exploring Operation: 64-34=30, Resulting Numbers: [8, 48, 30] Generated Node #0,2: 90:[8, 48, 30] Operation: 64-34=30 Exploring Operation: 64+34=98, Resulting Numbers: [8, 48, 98] Generated Node #0,3: 90:[8, 48, 98] Operation: 64+34=98 Moving to Node #0,2 Current State: 90:[8, 48, 30], Operations: ['64-34=30'] Exploring Operation: 48/8=6, Resulting Numbers: [30, 6] Generated Node #0,2,0: 90:[30, 6] Operation: 48/8=6 Exploring Operation: 30-8=22, Resulting Numbers: [48, 22] Generated Node #0,2,1: 90:[48, 22] Operation: 30-8=22 Exploring Operation: 48-30=18, Resulting Numbers: [8, 18] Generated Node #0,2,2: 90:[8, 18] Operation: 48-30=18 Exploring Operation: 48-8=40, Resulting Numbers: [30, 40] Generated Node #0,2,3: 90:[30, 40] Operation: 48-8=40 Moving to Node #0,0 Current State: 90:[8, 34, 16], Operations: ['64-48=16'] Exploring Operation: 34-16=18, Resulting Numbers: [8, 18] Generated Node #0,0,0: 90:[8, 18] Operation: 34-16=18 Exploring Operation: 34-8=26, Resulting Numbers: [16, 26] Generated Node #0,0,1: 90:[16, 26] Operation: 34-8=26 Exploring Operation: 8+34=42, Resulting Numbers: [16, 42] Generated Node #0,0,2: 90:[16, 42] Operation: 8+34=42 Exploring Operation: 16/8=2, Resulting Numbers: [34, 2] Generated Node #0,0,3: 90:[34, 2] Operation: 16/8=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[8, 18], Operations: ['64-48=16', '34-16=18'] Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,90 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,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:[16, 42], Operations: ['64-48=16', '8+34=42'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,90 unequal: No Solution Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,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,3 Current State: 90:[34, 2], Operations: ['64-48=16', '16/8=2'] Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,90 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,90 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,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:[16, 26], Operations: ['64-48=16', '34-8=26'] Exploring Operation: 16*26=416, Resulting Numbers: [416] 416,90 unequal: No Solution Exploring Operation: 16+26=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 90:[48, 34, 8], Operations: ['64/8=8'] Exploring Operation: 34-8=26, Resulting Numbers: [48, 26] Generated Node #0,1,0: 90:[48, 26] Operation: 34-8=26 Exploring Operation: 48/8=6, Resulting Numbers: [34, 6] Generated Node #0,1,1: 90:[34, 6] Operation: 48/8=6 Exploring Operation: 34+8=42, Resulting Numbers: [48, 42] Generated Node #0,1,2: 90:[48, 42] Operation: 34+8=42 Exploring Operation: 48-34=14, Resulting Numbers: [8, 14] Generated Node #0,1,3: 90:[8, 14] Operation: 48-34=14 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 90:[8, 14], Operations: ['64/8=8', '48-34=14'] Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,90 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,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,1 Current State: 90:[34, 6], Operations: ['64/8=8', '48/8=6'] Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,90 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,90 unequal: No Solution Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,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,2 Current State: 90:[48, 42], Operations: ['64/8=8', '34+8=42'] Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[8, 64, 48, 34], Operations: [] Exploring Operation: 64/8=8, Resulting Numbers: [48, 34, 8] Generated Node #0,1: 90:[48, 34, 8] Operation: 64/8=8 Moving to Node #0,1 Current State: 90:[48, 34, 8], Operations: ['64/8=8'] Exploring Operation: 34+8=42, Resulting Numbers: [48, 42] Generated Node #0,1,2: 90:[48, 42] Operation: 34+8=42 Moving to Node #0,1,2 Current State: 90:[48, 42], Operations: ['64/8=8', '34+8=42'] Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_4
mult_heuristic
[ 19, 23, 50, 33 ]
25
[ "19+23=42", "50-33=17", "42-17=25" ]
Current State: 25:[19, 23, 50, 33], Operations: [] Exploring Operation: 19+23=42, Resulting Numbers: [50, 33, 42] Generated Node #2: [50, 33, 42] from Operation: 19+23=42 Current State: 25:[50, 33, 42], Operations: ['19+23=42'] Exploring Operation: 50-33=17, Resulting Numbers: [42, 17] Generated Node #3: [42, 17] from Operation: 50-33=17 Current State: 25:[42, 17], Operations: ['19+23=42', '50-33=17'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[19, 23, 50, 33], Operations: [] Exploring Operation: 23-19=4, Resulting Numbers: [50, 33, 4] Generated Node #0,0: 25:[50, 33, 4] Operation: 23-19=4 Exploring Operation: 50-33=17, Resulting Numbers: [19, 23, 17] Generated Node #0,1: 25:[19, 23, 17] Operation: 50-33=17 Exploring Operation: 50-23=27, Resulting Numbers: [19, 33, 27] Generated Node #0,2: 25:[19, 33, 27] Operation: 50-23=27 Exploring Operation: 33-19=14, Resulting Numbers: [23, 50, 14] Generated Node #0,3: 25:[23, 50, 14] Operation: 33-19=14 Exploring Operation: 50-19=31, Resulting Numbers: [23, 33, 31] Generated Node #0,4: 25:[23, 33, 31] Operation: 50-19=31 Moving to Node #0,1 Current State: 25:[19, 23, 17], Operations: ['50-33=17'] Exploring Operation: 19-17=2, Resulting Numbers: [23, 2] Generated Node #0,1,0: 25:[23, 2] Operation: 19-17=2 Exploring Operation: 23+17=40, Resulting Numbers: [19, 40] Generated Node #0,1,1: 25:[19, 40] Operation: 23+17=40 Exploring Operation: 23-19=4, Resulting Numbers: [17, 4] Generated Node #0,1,2: 25:[17, 4] Operation: 23-19=4 Exploring Operation: 23-17=6, Resulting Numbers: [19, 6] Generated Node #0,1,3: 25:[19, 6] Operation: 23-17=6 Exploring Operation: 19+17=36, Resulting Numbers: [23, 36] Generated Node #0,1,4: 25:[23, 36] Operation: 19+17=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[23, 2], Operations: ['50-33=17', '19-17=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[19, 23, 50, 33], Operations: [] Exploring Operation: 50-33=17, Resulting Numbers: [19, 23, 17] Generated Node #0,1: 25:[19, 23, 17] Operation: 50-33=17 Moving to Node #0,1 Current State: 25:[19, 23, 17], Operations: ['50-33=17'] Exploring Operation: 19-17=2, Resulting Numbers: [23, 2] Generated Node #0,1,0: 25:[23, 2] Operation: 19-17=2 Moving to Node #0,1,0 Current State: 25:[23, 2], Operations: ['50-33=17', '19-17=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 30, 13, 41, 74 ]
39
[ "30+41=71", "74-71=3", "13*3=39" ]
Current State: 39:[30, 13, 41, 74], Operations: [] Exploring Operation: 30+41=71, Resulting Numbers: [13, 74, 71] Generated Node #2: [13, 74, 71] from Operation: 30+41=71 Current State: 39:[13, 74, 71], Operations: ['30+41=71'] Exploring Operation: 74-71=3, Resulting Numbers: [13, 3] Generated Node #3: [13, 3] from Operation: 74-71=3 Current State: 39:[13, 3], Operations: ['30+41=71', '74-71=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[30, 13, 41, 74], Operations: [] Exploring Operation: 74-30=44, Resulting Numbers: [13, 41, 44] Generated Node #0,0: 39:[13, 41, 44] Operation: 74-30=44 Exploring Operation: 74-41=33, Resulting Numbers: [30, 13, 33] Generated Node #0,1: 39:[30, 13, 33] Operation: 74-41=33 Exploring Operation: 74-13=61, Resulting Numbers: [30, 41, 61] Generated Node #0,2: 39:[30, 41, 61] Operation: 74-13=61 Moving to Node #0,0 Current State: 39:[13, 41, 44], Operations: ['74-30=44'] Exploring Operation: 44-41=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 44-41=3 Exploring Operation: 41-13=28, Resulting Numbers: [44, 28] Generated Node #0,0,1: 39:[44, 28] Operation: 41-13=28 Exploring Operation: 44-13=31, Resulting Numbers: [41, 31] Generated Node #0,0,2: 39:[41, 31] Operation: 44-13=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['74-30=44', '44-41=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[30, 13, 41, 74], Operations: [] Exploring Operation: 74-30=44, Resulting Numbers: [13, 41, 44] Generated Node #0,0: 39:[13, 41, 44] Operation: 74-30=44 Moving to Node #0,0 Current State: 39:[13, 41, 44], Operations: ['74-30=44'] Exploring Operation: 44-41=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 44-41=3 Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['74-30=44', '44-41=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 27, 36, 42, 10 ]
61
[ "36-27=9", "42+10=52", "9+52=61" ]
Current State: 61:[27, 36, 42, 10], Operations: [] Exploring Operation: 36-27=9, Resulting Numbers: [42, 10, 9] Generated Node #2: [42, 10, 9] from Operation: 36-27=9 Current State: 61:[42, 10, 9], Operations: ['36-27=9'] Exploring Operation: 42+10=52, Resulting Numbers: [9, 52] Generated Node #3: [9, 52] from Operation: 42+10=52 Current State: 61:[9, 52], Operations: ['36-27=9', '42+10=52'] Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[27, 36, 42, 10], Operations: [] Exploring Operation: 27+10=37, Resulting Numbers: [36, 42, 37] Generated Node #0,0: 61:[36, 42, 37] Operation: 27+10=37 Exploring Operation: 36+10=46, Resulting Numbers: [27, 42, 46] Generated Node #0,1: 61:[27, 42, 46] Operation: 36+10=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[36, 42, 37], Operations: ['27+10=37'] Exploring Operation: 36+37=73, Resulting Numbers: [42, 73] Generated Node #0,0,0: 61:[42, 73] Operation: 36+37=73 Exploring Operation: 36+42=78, Resulting Numbers: [37, 78] Generated Node #0,0,1: 61:[37, 78] Operation: 36+42=78 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[42, 73], Operations: ['27+10=37', '36+37=73'] Exploring Operation: 73-42=31, Resulting Numbers: [31] 31,61 unequal: No Solution Exploring Operation: 42+73=115, Resulting Numbers: [115] 115,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[37, 78], Operations: ['27+10=37', '36+42=78'] Exploring Operation: 37+78=115, Resulting Numbers: [115] 115,61 unequal: No Solution Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,61 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: 61:[27, 42, 46], Operations: ['36+10=46'] Exploring Operation: 27+46=73, Resulting Numbers: [42, 73] Generated Node #0,1,0: 61:[42, 73] Operation: 27+46=73 Exploring Operation: 27+42=69, Resulting Numbers: [46, 69] Generated Node #0,1,1: 61:[46, 69] Operation: 27+42=69 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[46, 69], Operations: ['36+10=46', '27+42=69'] Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,61 unequal: No Solution Exploring Operation: 46+69=115, Resulting Numbers: [115] 115,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[42, 73], Operations: ['36+10=46', '27+46=73'] Exploring Operation: 73-42=31, Resulting Numbers: [31] 31,61 unequal: No Solution Exploring Operation: 42+73=115, Resulting Numbers: [115] 115,61 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
[ 10, 40, 5, 38 ]
52
[ "10*5=50", "40-38=2", "50+2=52" ]
Current State: 52:[10, 40, 5, 38], Operations: [] Exploring Operation: 10*5=50, Resulting Numbers: [40, 38, 50] Generated Node #2: [40, 38, 50] from Operation: 10*5=50 Current State: 52:[40, 38, 50], Operations: ['10*5=50'] Exploring Operation: 40-38=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 40-38=2 Current State: 52:[50, 2], Operations: ['10*5=50', '40-38=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[10, 40, 5, 38], Operations: [] Exploring Operation: 40-10=30, Resulting Numbers: [5, 38, 30] Generated Node #0,0: 52:[5, 38, 30] Operation: 40-10=30 Exploring Operation: 40/10=4, Resulting Numbers: [5, 38, 4] Generated Node #0,1: 52:[5, 38, 4] Operation: 40/10=4 Exploring Operation: 10+40=50, Resulting Numbers: [5, 38, 50] Generated Node #0,2: 52:[5, 38, 50] Operation: 10+40=50 Exploring Operation: 38-10=28, Resulting Numbers: [40, 5, 28] Generated Node #0,3: 52:[40, 5, 28] Operation: 38-10=28 Exploring Operation: 40-38=2, Resulting Numbers: [10, 5, 2] Generated Node #0,4: 52:[10, 5, 2] Operation: 40-38=2 Moving to Node #0,4 Current State: 52:[10, 5, 2], Operations: ['40-38=2'] Exploring Operation: 10+2=12, Resulting Numbers: [5, 12] Generated Node #0,4,0: 52:[5, 12] Operation: 10+2=12 Exploring Operation: 10-5=5, Resulting Numbers: [2, 5] Generated Node #0,4,1: 52:[2, 5] Operation: 10-5=5 Exploring Operation: 10*5=50, Resulting Numbers: [2, 50] Generated Node #0,4,2: 52:[2, 50] Operation: 10*5=50 Exploring Operation: 10+5=15, Resulting Numbers: [2, 15] Generated Node #0,4,3: 52:[2, 15] Operation: 10+5=15 Exploring Operation: 10/5=2, Resulting Numbers: [2, 2] Generated Node #0,4,4: 52:[2, 2] Operation: 10/5=2 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 52:[2, 2], Operations: ['40-38=2', '10/5=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,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,4,1 Current State: 52:[2, 5], Operations: ['40-38=2', '10-5=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,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,4,0 Current State: 52:[5, 12], Operations: ['40-38=2', '10+2=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,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,4,2 Current State: 52:[2, 50], Operations: ['40-38=2', '10*5=50'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[10, 40, 5, 38], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [10, 5, 2] Generated Node #0,4: 52:[10, 5, 2] Operation: 40-38=2 Moving to Node #0,4 Current State: 52:[10, 5, 2], Operations: ['40-38=2'] Exploring Operation: 10*5=50, Resulting Numbers: [2, 50] Generated Node #0,4,2: 52:[2, 50] Operation: 10*5=50 Moving to Node #0,4,2 Current State: 52:[2, 50], Operations: ['40-38=2', '10*5=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 62, 7, 77, 57 ]
55
[ "62-57=5", "77/7=11", "5*11=55" ]
Current State: 55:[62, 7, 77, 57], Operations: [] Exploring Operation: 62-57=5, Resulting Numbers: [7, 77, 5] Generated Node #2: [7, 77, 5] from Operation: 62-57=5 Current State: 55:[7, 77, 5], Operations: ['62-57=5'] Exploring Operation: 77/7=11, Resulting Numbers: [5, 11] Generated Node #3: [5, 11] from Operation: 77/7=11 Current State: 55:[5, 11], Operations: ['62-57=5', '77/7=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[62, 7, 77, 57], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [7, 57, 15] Generated Node #0,0: 55:[7, 57, 15] Operation: 77-62=15 Exploring Operation: 62-7=55, Resulting Numbers: [77, 57, 55] Generated Node #0,1: 55:[77, 57, 55] Operation: 62-7=55 Exploring Operation: 62-57=5, Resulting Numbers: [7, 77, 5] Generated Node #0,2: 55:[7, 77, 5] Operation: 62-57=5 Exploring Operation: 77-57=20, Resulting Numbers: [62, 7, 20] Generated Node #0,3: 55:[62, 7, 20] Operation: 77-57=20 Exploring Operation: 77/7=11, Resulting Numbers: [62, 57, 11] Generated Node #0,4: 55:[62, 57, 11] Operation: 77/7=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[7, 57, 15], Operations: ['77-62=15'] Exploring Operation: 7+57=64, Resulting Numbers: [15, 64] Generated Node #0,0,0: 55:[15, 64] Operation: 7+57=64 Exploring Operation: 57-7=50, Resulting Numbers: [15, 50] Generated Node #0,0,1: 55:[15, 50] Operation: 57-7=50 Exploring Operation: 57-15=42, Resulting Numbers: [7, 42] Generated Node #0,0,2: 55:[7, 42] Operation: 57-15=42 Exploring Operation: 7+15=22, Resulting Numbers: [57, 22] Generated Node #0,0,3: 55:[57, 22] Operation: 7+15=22 Exploring Operation: 15-7=8, Resulting Numbers: [57, 8] Generated Node #0,0,4: 55:[57, 8] Operation: 15-7=8 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 55:[57, 8], Operations: ['77-62=15', '15-7=8'] Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,55 unequal: No Solution Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,55 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[15, 50], Operations: ['77-62=15', '57-7=50'] Exploring Operation: 15+50=65, Resulting Numbers: [65] 65,55 unequal: No Solution Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 15*50=750, Resulting Numbers: [750] 750,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[15, 64], Operations: ['77-62=15', '7+57=64'] Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,55 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 55:[57, 22], Operations: ['77-62=15', '7+15=22'] Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 55:[7, 42], Operations: ['77-62=15', '57-15=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 7*42=294, Resulting Numbers: [294] 294,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[62, 57, 11], Operations: ['77/7=11'] Exploring Operation: 62-57=5, Resulting Numbers: [11, 5] Generated Node #0,4,0: 55:[11, 5] Operation: 62-57=5 Exploring Operation: 57+11=68, Resulting Numbers: [62, 68] Generated Node #0,4,1: 55:[62, 68] Operation: 57+11=68 Exploring Operation: 62-11=51, Resulting Numbers: [57, 51] Generated Node #0,4,2: 55:[57, 51] Operation: 62-11=51 Exploring Operation: 57-11=46, Resulting Numbers: [62, 46] Generated Node #0,4,3: 55:[62, 46] Operation: 57-11=46 Exploring Operation: 62+11=73, Resulting Numbers: [57, 73] Generated Node #0,4,4: 55:[57, 73] Operation: 62+11=73 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 55:[11, 5], Operations: ['77/7=11', '62-57=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[62, 7, 77, 57], Operations: [] Exploring Operation: 77/7=11, Resulting Numbers: [62, 57, 11] Generated Node #0,4: 55:[62, 57, 11] Operation: 77/7=11 Moving to Node #0,4 Current State: 55:[62, 57, 11], Operations: ['77/7=11'] Exploring Operation: 62-57=5, Resulting Numbers: [11, 5] Generated Node #0,4,0: 55:[11, 5] Operation: 62-57=5 Moving to Node #0,4,0 Current State: 55:[11, 5], Operations: ['77/7=11', '62-57=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 22, 8, 30, 16 ]
50
[ "22+30=52", "16/8=2", "52-2=50" ]
Current State: 50:[22, 8, 30, 16], Operations: [] Exploring Operation: 22+30=52, Resulting Numbers: [8, 16, 52] Generated Node #2: [8, 16, 52] from Operation: 22+30=52 Current State: 50:[8, 16, 52], Operations: ['22+30=52'] Exploring Operation: 16/8=2, Resulting Numbers: [52, 2] Generated Node #3: [52, 2] from Operation: 16/8=2 Current State: 50:[52, 2], Operations: ['22+30=52', '16/8=2'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[22, 8, 30, 16], Operations: [] Exploring Operation: 22-16=6, Resulting Numbers: [8, 30, 6] Generated Node #0,0: 50:[8, 30, 6] Operation: 22-16=6 Exploring Operation: 16/8=2, Resulting Numbers: [22, 30, 2] Generated Node #0,1: 50:[22, 30, 2] Operation: 16/8=2 Exploring Operation: 8+16=24, Resulting Numbers: [22, 30, 24] Generated Node #0,2: 50:[22, 30, 24] Operation: 8+16=24 Moving to Node #0,0 Current State: 50:[8, 30, 6], Operations: ['22-16=6'] Exploring Operation: 30-8=22, Resulting Numbers: [6, 22] Generated Node #0,0,0: 50:[6, 22] Operation: 30-8=22 Exploring Operation: 30-6=24, Resulting Numbers: [8, 24] Generated Node #0,0,1: 50:[8, 24] Operation: 30-6=24 Exploring Operation: 30/6=5, Resulting Numbers: [8, 5] Generated Node #0,0,2: 50:[8, 5] Operation: 30/6=5 Moving to Node #0,1 Current State: 50:[22, 30, 2], Operations: ['16/8=2'] Exploring Operation: 30-22=8, Resulting Numbers: [2, 8] Generated Node #0,1,0: 50:[2, 8] Operation: 30-22=8 Exploring Operation: 22+2=24, Resulting Numbers: [30, 24] Generated Node #0,1,1: 50:[30, 24] Operation: 22+2=24 Exploring Operation: 22+30=52, Resulting Numbers: [2, 52] Generated Node #0,1,2: 50:[2, 52] Operation: 22+30=52 Moving to Node #0,2 Current State: 50:[22, 30, 24], Operations: ['8+16=24'] Exploring Operation: 30-22=8, Resulting Numbers: [24, 8] Generated Node #0,2,0: 50:[24, 8] Operation: 30-22=8 Exploring Operation: 22+30=52, Resulting Numbers: [24, 52] Generated Node #0,2,1: 50:[24, 52] Operation: 22+30=52 Exploring Operation: 30-24=6, Resulting Numbers: [22, 6] Generated Node #0,2,2: 50:[22, 6] Operation: 30-24=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[24, 8], Operations: ['8+16=24', '30-22=8'] Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[24, 52], Operations: ['8+16=24', '22+30=52'] Exploring Operation: 24*52=1248, Resulting Numbers: [1248] 1248,50 unequal: No Solution Exploring Operation: 24+52=76, Resulting Numbers: [76] 76,50 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[22, 6], Operations: ['8+16=24', '30-24=6'] Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,50 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 50:[8, 5], Operations: ['22-16=6', '30/6=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[2, 8], Operations: ['16/8=2', '30-22=8'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,50 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[2, 52], Operations: ['16/8=2', '22+30=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,50 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,50 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[22, 8, 30, 16], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [22, 30, 2] Generated Node #0,1: 50:[22, 30, 2] Operation: 16/8=2 Moving to Node #0,1 Current State: 50:[22, 30, 2], Operations: ['16/8=2'] Exploring Operation: 22+30=52, Resulting Numbers: [2, 52] Generated Node #0,1,2: 50:[2, 52] Operation: 22+30=52 Moving to Node #0,1,2 Current State: 50:[2, 52], Operations: ['16/8=2', '22+30=52'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.970486
hs_3
sum_heuristic
[ 84, 66, 67, 10 ]
59
[ "84-66=18", "67+10=77", "77-18=59" ]
Current State: 59:[84, 66, 67, 10], Operations: [] Exploring Operation: 84-66=18, Resulting Numbers: [67, 10, 18] Generated Node #2: [67, 10, 18] from Operation: 84-66=18 Current State: 59:[67, 10, 18], Operations: ['84-66=18'] Exploring Operation: 67+10=77, Resulting Numbers: [18, 77] Generated Node #3: [18, 77] from Operation: 67+10=77 Current State: 59:[18, 77], Operations: ['84-66=18', '67+10=77'] Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[84, 66, 67, 10], Operations: [] Exploring Operation: 84-10=74, Resulting Numbers: [66, 67, 74] Generated Node #0,0: 59:[66, 67, 74] Operation: 84-10=74 Exploring Operation: 66-10=56, Resulting Numbers: [84, 67, 56] Generated Node #0,1: 59:[84, 67, 56] Operation: 66-10=56 Exploring Operation: 67-10=57, Resulting Numbers: [84, 66, 57] Generated Node #0,2: 59:[84, 66, 57] Operation: 67-10=57 Exploring Operation: 84+10=94, Resulting Numbers: [66, 67, 94] Generated Node #0,3: 59:[66, 67, 94] Operation: 84+10=94 Moving to Node #0,0 Current State: 59:[66, 67, 74], Operations: ['84-10=74'] Exploring Operation: 67-66=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 59:[74, 1] Operation: 67-66=1 Exploring Operation: 74-67=7, Resulting Numbers: [66, 7] Generated Node #0,0,1: 59:[66, 7] Operation: 74-67=7 Exploring Operation: 66+67=133, Resulting Numbers: [74, 133] Generated Node #0,0,2: 59:[74, 133] Operation: 66+67=133 Exploring Operation: 74-66=8, Resulting Numbers: [67, 8] Generated Node #0,0,3: 59:[67, 8] Operation: 74-66=8 Moving to Node #0,2 Current State: 59:[84, 66, 57], Operations: ['67-10=57'] Exploring Operation: 84+57=141, Resulting Numbers: [66, 141] Generated Node #0,2,0: 59:[66, 141] Operation: 84+57=141 Exploring Operation: 84-66=18, Resulting Numbers: [57, 18] Generated Node #0,2,1: 59:[57, 18] Operation: 84-66=18 Exploring Operation: 84-57=27, Resulting Numbers: [66, 27] Generated Node #0,2,2: 59:[66, 27] Operation: 84-57=27 Exploring Operation: 66-57=9, Resulting Numbers: [84, 9] Generated Node #0,2,3: 59:[84, 9] Operation: 66-57=9 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[66, 27], Operations: ['67-10=57', '84-57=27'] Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 66+27=93, Resulting Numbers: [93] 93,59 unequal: No Solution Exploring Operation: 66*27=1782, Resulting Numbers: [1782] 1782,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[57, 18], Operations: ['67-10=57', '84-66=18'] Exploring Operation: 57+18=75, Resulting Numbers: [75] 75,59 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 57*18=1026, Resulting Numbers: [1026] 1026,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 59:[84, 9], Operations: ['67-10=57', '66-57=9'] Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,59 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,59 unequal: No Solution Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[66, 141], Operations: ['67-10=57', '84+57=141'] Exploring Operation: 66+141=207, Resulting Numbers: [207] 207,59 unequal: No Solution Exploring Operation: 141-66=75, Resulting Numbers: [75] 75,59 unequal: No Solution Exploring Operation: 66*141=9306, Resulting Numbers: [9306] 9306,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[84, 67, 56], Operations: ['66-10=56'] Exploring Operation: 84+56=140, Resulting Numbers: [67, 140] Generated Node #0,1,0: 59:[67, 140] Operation: 84+56=140 Exploring Operation: 84-56=28, Resulting Numbers: [67, 28] Generated Node #0,1,1: 59:[67, 28] Operation: 84-56=28 Exploring Operation: 84-67=17, Resulting Numbers: [56, 17] Generated Node #0,1,2: 59:[56, 17] Operation: 84-67=17 Exploring Operation: 67-56=11, Resulting Numbers: [84, 11] Generated Node #0,1,3: 59:[84, 11] Operation: 67-56=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[67, 28], Operations: ['66-10=56', '84-56=28'] Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,59 unequal: No Solution Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[56, 17], Operations: ['66-10=56', '84-67=17'] Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[84, 11], Operations: ['66-10=56', '67-56=11'] Exploring Operation: 84+11=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 84*11=924, Resulting Numbers: [924] 924,59 unequal: No Solution Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[67, 140], Operations: ['66-10=56', '84+56=140'] Exploring Operation: 67*140=9380, Resulting Numbers: [9380] 9380,59 unequal: No Solution Exploring Operation: 67+140=207, Resulting Numbers: [207] 207,59 unequal: No Solution Exploring Operation: 140-67=73, Resulting Numbers: [73] 73,59 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: 59:[66, 67, 94], Operations: ['84+10=94'] Exploring Operation: 94-66=28, Resulting Numbers: [67, 28] Generated Node #0,3,0: 59:[67, 28] Operation: 94-66=28 Exploring Operation: 66+67=133, Resulting Numbers: [94, 133] Generated Node #0,3,1: 59:[94, 133] Operation: 66+67=133 Exploring Operation: 67-66=1, Resulting Numbers: [94, 1] Generated Node #0,3,2: 59:[94, 1] Operation: 67-66=1 Exploring Operation: 94-67=27, Resulting Numbers: [66, 27] Generated Node #0,3,3: 59:[66, 27] Operation: 94-67=27 Moving to Node #0,3,0 Current State: 59:[67, 28], Operations: ['84+10=94', '94-66=28'] Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,59 unequal: No Solution Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[66, 27], Operations: ['84+10=94', '94-67=27'] Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 66+27=93, Resulting Numbers: [93] 93,59 unequal: No Solution Exploring Operation: 66*27=1782, Resulting Numbers: [1782] 1782,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[66, 7], Operations: ['84-10=74', '74-67=7'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[84, 66, 67, 10], Operations: [] Exploring Operation: 84-10=74, Resulting Numbers: [66, 67, 74] Generated Node #0,0: 59:[66, 67, 74] Operation: 84-10=74 Moving to Node #0,0 Current State: 59:[66, 67, 74], Operations: ['84-10=74'] Exploring Operation: 74-67=7, Resulting Numbers: [66, 7] Generated Node #0,0,1: 59:[66, 7] Operation: 74-67=7 Moving to Node #0,0,1 Current State: 59:[66, 7], Operations: ['84-10=74', '74-67=7'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.952257
hs_4
sum_heuristic
[ 55, 6, 48, 18 ]
57
[ "6+18=24", "48/24=2", "55+2=57" ]
Current State: 57:[55, 6, 48, 18], Operations: [] Exploring Operation: 6+18=24, Resulting Numbers: [55, 48, 24] Generated Node #2: [55, 48, 24] from Operation: 6+18=24 Current State: 57:[55, 48, 24], Operations: ['6+18=24'] Exploring Operation: 48/24=2, Resulting Numbers: [55, 2] Generated Node #3: [55, 2] from Operation: 48/24=2 Current State: 57:[55, 2], Operations: ['6+18=24', '48/24=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[55, 6, 48, 18], Operations: [] Exploring Operation: 6+48=54, Resulting Numbers: [55, 18, 54] Generated Node #0,0: 57:[55, 18, 54] Operation: 6+48=54 Moving to Node #0,0 Current State: 57:[55, 18, 54], Operations: ['6+48=54'] Exploring Operation: 54/18=3, Resulting Numbers: [55, 3] Generated Node #0,0,0: 57:[55, 3] Operation: 54/18=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[55, 3], Operations: ['6+48=54', '54/18=3'] Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,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
[ 63, 5, 2, 49 ]
61
[ "63+49=112", "112/2=56", "5+56=61" ]
Current State: 61:[63, 5, 2, 49], Operations: [] Exploring Operation: 63+49=112, Resulting Numbers: [5, 2, 112] Generated Node #2: [5, 2, 112] from Operation: 63+49=112 Current State: 61:[5, 2, 112], Operations: ['63+49=112'] Exploring Operation: 112/2=56, Resulting Numbers: [5, 56] Generated Node #3: [5, 56] from Operation: 112/2=56 Current State: 61:[5, 56], Operations: ['63+49=112', '112/2=56'] Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[63, 5, 2, 49], Operations: [] Exploring Operation: 5*2=10, Resulting Numbers: [63, 49, 10] Generated Node #0,0: 61:[63, 49, 10] Operation: 5*2=10 Moving to Node #0,0 Current State: 61:[63, 49, 10], Operations: ['5*2=10'] Exploring Operation: 49+10=59, Resulting Numbers: [63, 59] Generated Node #0,0,0: 61:[63, 59] Operation: 49+10=59 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[63, 59], Operations: ['5*2=10', '49+10=59'] Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,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
mult_heuristic
[ 12, 8, 8, 58 ]
99
[ "8+58=66", "12*66=792", "792/8=99" ]
Current State: 99:[12, 8, 8, 58], Operations: [] Exploring Operation: 8+58=66, Resulting Numbers: [12, 66] Generated Node #2: [12, 66] from Operation: 8+58=66 Current State: 99:[12, 66], Operations: ['8+58=66'] Exploring Operation: 12*66=792, Resulting Numbers: [792] 792,99 equal: Goal Reached Exploring Operation: 792/8=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[12, 8, 8, 58], Operations: [] Exploring Operation: 58-12=46, Resulting Numbers: [8, 8, 46] Generated Node #0,0: 99:[8, 8, 46] Operation: 58-12=46 Moving to Node #0,0 Current State: 99:[8, 8, 46], Operations: ['58-12=46'] Exploring Operation: 46-8=38, Resulting Numbers: [8, 38] Generated Node #0,0,0: 99:[8, 38] Operation: 46-8=38 Moving to Node #0,0,0 Current State: 99:[8, 38], Operations: ['58-12=46', '46-8=38'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,99 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 46, 25, 4, 74 ]
20
[ "46+74=120", "25*4=100", "120-100=20" ]
Current State: 20:[46, 25, 4, 74], Operations: [] Exploring Operation: 46+74=120, Resulting Numbers: [25, 4, 120] Generated Node #2: [25, 4, 120] from Operation: 46+74=120 Current State: 20:[25, 4, 120], Operations: ['46+74=120'] Exploring Operation: 25*4=100, Resulting Numbers: [120, 100] Generated Node #3: [120, 100] from Operation: 25*4=100 Current State: 20:[120, 100], Operations: ['46+74=120', '25*4=100'] Exploring Operation: 120-100=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[46, 25, 4, 74], Operations: [] Exploring Operation: 46-25=21, Resulting Numbers: [4, 74, 21] Generated Node #0,0: 20:[4, 74, 21] Operation: 46-25=21 Exploring Operation: 74-46=28, Resulting Numbers: [25, 4, 28] Generated Node #0,1: 20:[25, 4, 28] Operation: 74-46=28 Exploring Operation: 46-4=42, Resulting Numbers: [25, 74, 42] Generated Node #0,2: 20:[25, 74, 42] Operation: 46-4=42 Exploring Operation: 74-25=49, Resulting Numbers: [46, 4, 49] Generated Node #0,3: 20:[46, 4, 49] Operation: 74-25=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[25, 4, 28], Operations: ['74-46=28'] Exploring Operation: 28-25=3, Resulting Numbers: [4, 3] Generated Node #0,1,0: 20:[4, 3] Operation: 28-25=3 Exploring Operation: 28-4=24, Resulting Numbers: [25, 24] Generated Node #0,1,1: 20:[25, 24] Operation: 28-4=24 Exploring Operation: 28/4=7, Resulting Numbers: [25, 7] Generated Node #0,1,2: 20:[25, 7] Operation: 28/4=7 Exploring Operation: 25-4=21, Resulting Numbers: [28, 21] Generated Node #0,1,3: 20:[28, 21] Operation: 25-4=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[4, 3], Operations: ['74-46=28', '28-25=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,20 unequal: No Solution No 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: 20:[25, 7], Operations: ['74-46=28', '28/4=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,20 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,20 unequal: No Solution No 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: 20:[25, 24], Operations: ['74-46=28', '28-4=24'] Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,20 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 25*24=600, Resulting Numbers: [600] 600,20 unequal: No Solution No 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: 20:[28, 21], Operations: ['74-46=28', '25-4=21'] Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 28+21=49, Resulting Numbers: [49] 49,20 unequal: No Solution Exploring Operation: 28*21=588, Resulting Numbers: [588] 588,20 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: 20:[4, 74, 21], Operations: ['46-25=21'] Exploring Operation: 4+74=78, Resulting Numbers: [21, 78] Generated Node #0,0,0: 20:[21, 78] Operation: 4+74=78 Exploring Operation: 74-21=53, Resulting Numbers: [4, 53] Generated Node #0,0,1: 20:[4, 53] Operation: 74-21=53 Exploring Operation: 74-4=70, Resulting Numbers: [21, 70] Generated Node #0,0,2: 20:[21, 70] Operation: 74-4=70 Exploring Operation: 21-4=17, Resulting Numbers: [74, 17] Generated Node #0,0,3: 20:[74, 17] Operation: 21-4=17 Moving to Node #0,0,1 Current State: 20:[4, 53], Operations: ['46-25=21', '74-21=53'] Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,20 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,20 unequal: No Solution Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[21, 70], Operations: ['46-25=21', '74-4=70'] Exploring Operation: 21+70=91, Resulting Numbers: [91] 91,20 unequal: No Solution Exploring Operation: 21*70=1470, Resulting Numbers: [1470] 1470,20 unequal: No Solution Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[74, 17], Operations: ['46-25=21', '21-4=17'] Exploring Operation: 74*17=1258, Resulting Numbers: [1258] 1258,20 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[21, 78], Operations: ['46-25=21', '4+74=78'] Exploring Operation: 21*78=1638, Resulting Numbers: [1638] 1638,20 unequal: No Solution Exploring Operation: 21+78=99, Resulting Numbers: [99] 99,20 unequal: No Solution Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,20 unequal: No Solution No 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: 20:[46, 4, 49], Operations: ['74-25=49'] Exploring Operation: 46-4=42, Resulting Numbers: [49, 42] Generated Node #0,3,0: 20:[49, 42] Operation: 46-4=42 Exploring Operation: 49-46=3, Resulting Numbers: [4, 3] Generated Node #0,3,1: 20:[4, 3] Operation: 49-46=3 Exploring Operation: 49-4=45, Resulting Numbers: [46, 45] Generated Node #0,3,2: 20:[46, 45] Operation: 49-4=45 Exploring Operation: 46+4=50, Resulting Numbers: [49, 50] Generated Node #0,3,3: 20:[49, 50] Operation: 46+4=50 Moving to Node #0,3,1 Current State: 20:[4, 3], Operations: ['74-25=49', '49-46=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,20 unequal: No Solution Moving to Node #0,3,2 Current State: 20:[46, 45], Operations: ['74-25=49', '49-4=45'] Exploring Operation: 46*45=2070, Resulting Numbers: [2070] 2070,20 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 46+45=91, Resulting Numbers: [91] 91,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[49, 42], Operations: ['74-25=49', '46-4=42'] Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 49+42=91, Resulting Numbers: [91] 91,20 unequal: No Solution Exploring Operation: 49*42=2058, Resulting Numbers: [2058] 2058,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[49, 50], Operations: ['74-25=49', '46+4=50'] Exploring Operation: 49*50=2450, Resulting Numbers: [2450] 2450,20 unequal: No Solution Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,20 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,20 unequal: No Solution No 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: 20:[25, 74, 42], Operations: ['46-4=42'] Exploring Operation: 25+74=99, Resulting Numbers: [42, 99] Generated Node #0,2,0: 20:[42, 99] Operation: 25+74=99 Exploring Operation: 74-25=49, Resulting Numbers: [42, 49] Generated Node #0,2,1: 20:[42, 49] Operation: 74-25=49 Exploring Operation: 74-42=32, Resulting Numbers: [25, 32] Generated Node #0,2,2: 20:[25, 32] Operation: 74-42=32 Exploring Operation: 42-25=17, Resulting Numbers: [74, 17] Generated Node #0,2,3: 20:[74, 17] Operation: 42-25=17 Moving to Node #0,2,2 Current State: 20:[25, 32], Operations: ['46-4=42', '74-42=32'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,20 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[42, 49], Operations: ['46-4=42', '74-25=49'] Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,20 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 42*49=2058, Resulting Numbers: [2058] 2058,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[74, 17], Operations: ['46-4=42', '42-25=17'] Exploring Operation: 74*17=1258, Resulting Numbers: [1258] 1258,20 unequal: No Solution Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,20 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[42, 99], Operations: ['46-4=42', '25+74=99'] Exploring Operation: 42+99=141, Resulting Numbers: [141] 141,20 unequal: No Solution Exploring Operation: 99-42=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 42*99=4158, Resulting Numbers: [4158] 4158,20 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
[ 27, 15, 10, 51 ]
16
[ "51-27=24", "10*24=240", "240/15=16" ]
Current State: 16:[27, 15, 10, 51], Operations: [] Exploring Operation: 51-27=24, Resulting Numbers: [15, 10, 24] Generated Node #2: [15, 10, 24] from Operation: 51-27=24 Current State: 16:[15, 10, 24], Operations: ['51-27=24'] Exploring Operation: 10*24=240, Resulting Numbers: [15, 240] Generated Node #3: [15, 240] from Operation: 10*24=240 Current State: 16:[15, 240], Operations: ['51-27=24', '10*24=240'] Exploring Operation: 240/15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[27, 15, 10, 51], Operations: [] Exploring Operation: 51-27=24, Resulting Numbers: [15, 10, 24] Generated Node #0,0: 16:[15, 10, 24] Operation: 51-27=24 Exploring Operation: 51-15=36, Resulting Numbers: [27, 10, 36] Generated Node #0,1: 16:[27, 10, 36] Operation: 51-15=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[15, 10, 24], Operations: ['51-27=24'] Exploring Operation: 24-10=14, Resulting Numbers: [15, 14] Generated Node #0,0,0: 16:[15, 14] Operation: 24-10=14 Exploring Operation: 24-15=9, Resulting Numbers: [10, 9] Generated Node #0,0,1: 16:[10, 9] Operation: 24-15=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[15, 14], Operations: ['51-27=24', '24-10=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,16 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[10, 9], Operations: ['51-27=24', '24-15=9'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[27, 10, 36], Operations: ['51-15=36'] Exploring Operation: 36-27=9, Resulting Numbers: [10, 9] Generated Node #0,1,0: 16:[10, 9] Operation: 36-27=9 Exploring Operation: 27-10=17, Resulting Numbers: [36, 17] Generated Node #0,1,1: 16:[36, 17] Operation: 27-10=17 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[10, 9], Operations: ['51-15=36', '36-27=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[36, 17], Operations: ['51-15=36', '27-10=17'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 48, 15, 21, 2 ]
75
[ "48-15=33", "21*2=42", "33+42=75" ]
Current State: 75:[48, 15, 21, 2], Operations: [] Exploring Operation: 48-15=33, Resulting Numbers: [21, 2, 33] Generated Node #2: [21, 2, 33] from Operation: 48-15=33 Current State: 75:[21, 2, 33], Operations: ['48-15=33'] Exploring Operation: 21*2=42, Resulting Numbers: [33, 42] Generated Node #3: [33, 42] from Operation: 21*2=42 Current State: 75:[33, 42], Operations: ['48-15=33', '21*2=42'] Exploring Operation: 33+42=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[48, 15, 21, 2], Operations: [] Exploring Operation: 48-21=27, Resulting Numbers: [15, 2, 27] Generated Node #0,0: 75:[15, 2, 27] Operation: 48-21=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[15, 2, 27], Operations: ['48-21=27'] Exploring Operation: 27-2=25, Resulting Numbers: [15, 25] Generated Node #0,0,0: 75:[15, 25] Operation: 27-2=25 Moving to Node #0,0,0 Current State: 75:[15, 25], Operations: ['48-21=27', '27-2=25'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 13, 50, 59, 12 ]
84
[ "50-13=37", "59-12=47", "37+47=84" ]
Current State: 84:[13, 50, 59, 12], Operations: [] Exploring Operation: 50-13=37, Resulting Numbers: [59, 12, 37] Generated Node #2: [59, 12, 37] from Operation: 50-13=37 Current State: 84:[59, 12, 37], Operations: ['50-13=37'] Exploring Operation: 59-12=47, Resulting Numbers: [37, 47] Generated Node #3: [37, 47] from Operation: 59-12=47 Current State: 84:[37, 47], Operations: ['50-13=37', '59-12=47'] Exploring Operation: 37+47=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[13, 50, 59, 12], Operations: [] Exploring Operation: 59-13=46, Resulting Numbers: [50, 12, 46] Generated Node #0,0: 84:[50, 12, 46] Operation: 59-13=46 Exploring Operation: 59-50=9, Resulting Numbers: [13, 12, 9] Generated Node #0,1: 84:[13, 12, 9] Operation: 59-50=9 Moving to Node #0,1 Current State: 84:[13, 12, 9], Operations: ['59-50=9'] Exploring Operation: 13+9=22, Resulting Numbers: [12, 22] Generated Node #0,1,0: 84:[12, 22] Operation: 13+9=22 Exploring Operation: 13-9=4, Resulting Numbers: [12, 4] Generated Node #0,1,1: 84:[12, 4] Operation: 13-9=4 Moving to Node #0,0 Current State: 84:[50, 12, 46], Operations: ['59-13=46'] Exploring Operation: 50-12=38, Resulting Numbers: [46, 38] Generated Node #0,0,0: 84:[46, 38] Operation: 50-12=38 Exploring Operation: 50-46=4, Resulting Numbers: [12, 4] Generated Node #0,0,1: 84:[12, 4] Operation: 50-46=4 Moving to Node #0,1,1 Current State: 84:[12, 4], Operations: ['59-50=9', '13-9=4'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[12, 4], Operations: ['59-13=46', '50-46=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[12, 22], Operations: ['59-50=9', '13+9=22'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[46, 38], Operations: ['59-13=46', '50-12=38'] Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[13, 50, 59, 12], Operations: [] Exploring Operation: 59-13=46, Resulting Numbers: [50, 12, 46] Generated Node #0,0: 84:[50, 12, 46] Operation: 59-13=46 Moving to Node #0,0 Current State: 84:[50, 12, 46], Operations: ['59-13=46'] Exploring Operation: 50-12=38, Resulting Numbers: [46, 38] Generated Node #0,0,0: 84:[46, 38] Operation: 50-12=38 Moving to Node #0,0,0 Current State: 84:[46, 38], Operations: ['59-13=46', '50-12=38'] Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 51, 10, 11, 7 ]
54
[ "10+11=21", "21/7=3", "51+3=54" ]
Current State: 54:[51, 10, 11, 7], Operations: [] Exploring Operation: 10+11=21, Resulting Numbers: [51, 7, 21] Generated Node #2: [51, 7, 21] from Operation: 10+11=21 Current State: 54:[51, 7, 21], Operations: ['10+11=21'] Exploring Operation: 21/7=3, Resulting Numbers: [51, 3] Generated Node #3: [51, 3] from Operation: 21/7=3 Current State: 54:[51, 3], Operations: ['10+11=21', '21/7=3'] Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[51, 10, 11, 7], Operations: [] Exploring Operation: 10+7=17, Resulting Numbers: [51, 11, 17] Generated Node #0,0: 54:[51, 11, 17] Operation: 10+7=17 Exploring Operation: 10-7=3, Resulting Numbers: [51, 11, 3] Generated Node #0,1: 54:[51, 11, 3] Operation: 10-7=3 Exploring Operation: 11+7=18, Resulting Numbers: [51, 10, 18] Generated Node #0,2: 54:[51, 10, 18] Operation: 11+7=18 Exploring Operation: 11-7=4, Resulting Numbers: [51, 10, 4] Generated Node #0,3: 54:[51, 10, 4] Operation: 11-7=4 Exploring Operation: 11-10=1, Resulting Numbers: [51, 7, 1] Generated Node #0,4: 54:[51, 7, 1] Operation: 11-10=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[51, 10, 18], Operations: ['11+7=18'] Exploring Operation: 51-18=33, Resulting Numbers: [10, 33] Generated Node #0,2,0: 54:[10, 33] Operation: 51-18=33 Exploring Operation: 51-10=41, Resulting Numbers: [18, 41] Generated Node #0,2,1: 54:[18, 41] Operation: 51-10=41 Exploring Operation: 10+18=28, Resulting Numbers: [51, 28] Generated Node #0,2,2: 54:[51, 28] Operation: 10+18=28 Exploring Operation: 18-10=8, Resulting Numbers: [51, 8] Generated Node #0,2,3: 54:[51, 8] Operation: 18-10=8 Exploring Operation: 51+10=61, Resulting Numbers: [18, 61] Generated Node #0,2,4: 54:[18, 61] Operation: 51+10=61 Moving to Node #0,2,2 Current State: 54:[51, 28], Operations: ['11+7=18', '10+18=28'] Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 51*28=1428, Resulting Numbers: [1428] 1428,54 unequal: No Solution Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,54 unequal: No Solution Moving to Node #0,2,3 Current State: 54:[51, 8], Operations: ['11+7=18', '18-10=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,54 unequal: No Solution Moving to Node #0,2,0 Current State: 54:[10, 33], Operations: ['11+7=18', '51-18=33'] Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,54 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,54 unequal: No Solution Moving to Node #0,2,4 Current State: 54:[18, 61], Operations: ['11+7=18', '51+10=61'] Exploring Operation: 18*61=1098, Resulting Numbers: [1098] 1098,54 unequal: No Solution Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,54 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[18, 41], Operations: ['11+7=18', '51-10=41'] Exploring Operation: 18+41=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 18*41=738, Resulting Numbers: [738] 738,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[51, 11, 3], Operations: ['10-7=3'] Exploring Operation: 11+3=14, Resulting Numbers: [51, 14] Generated Node #0,1,0: 54:[51, 14] Operation: 11+3=14 Exploring Operation: 51+11=62, Resulting Numbers: [3, 62] Generated Node #0,1,1: 54:[3, 62] Operation: 51+11=62 Exploring Operation: 51+3=54, Resulting Numbers: [11, 54] Generated Node #0,1,2: 54:[11, 54] Operation: 51+3=54 Exploring Operation: 11-3=8, Resulting Numbers: [51, 8] Generated Node #0,1,3: 54:[51, 8] Operation: 11-3=8 Exploring Operation: 51/3=17, Resulting Numbers: [11, 17] Generated Node #0,1,4: 54:[11, 17] Operation: 51/3=17 Moving to Node #0,1,2 Current State: 54:[11, 54], Operations: ['10-7=3', '51+3=54'] Exploring Operation: 11*54=594, Resulting Numbers: [594] 594,54 unequal: No Solution Exploring Operation: 11+54=65, Resulting Numbers: [65] 65,54 unequal: No Solution Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,54 unequal: No Solution Moving to Node #0,1,4 Current State: 54:[11, 17], Operations: ['10-7=3', '51/3=17'] Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,54 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[51, 8], Operations: ['10-7=3', '11-3=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[51, 14], Operations: ['10-7=3', '11+3=14'] Exploring Operation: 51+14=65, Resulting Numbers: [65] 65,54 unequal: No Solution Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,54 unequal: No Solution Exploring Operation: 51*14=714, Resulting Numbers: [714] 714,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[3, 62], Operations: ['10-7=3', '51+11=62'] Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,54 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[51, 10, 4], Operations: ['11-7=4'] Exploring Operation: 51-4=47, Resulting Numbers: [10, 47] Generated Node #0,3,0: 54:[10, 47] Operation: 51-4=47 Exploring Operation: 10-4=6, Resulting Numbers: [51, 6] Generated Node #0,3,1: 54:[51, 6] Operation: 10-4=6 Exploring Operation: 10+4=14, Resulting Numbers: [51, 14] Generated Node #0,3,2: 54:[51, 14] Operation: 10+4=14 Exploring Operation: 51+4=55, Resulting Numbers: [10, 55] Generated Node #0,3,3: 54:[10, 55] Operation: 51+4=55 Exploring Operation: 51+10=61, Resulting Numbers: [4, 61] Generated Node #0,3,4: 54:[4, 61] Operation: 51+10=61 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 54:[10, 55], Operations: ['11-7=4', '51+4=55'] Exploring Operation: 10*55=550, Resulting Numbers: [550] 550,54 unequal: No Solution Exploring Operation: 10+55=65, Resulting Numbers: [65] 65,54 unequal: No Solution Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 54:[51, 6], Operations: ['11-7=4', '10-4=6'] Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,54 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 54:[51, 14], Operations: ['11-7=4', '10+4=14'] Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,54 unequal: No Solution Exploring Operation: 51+14=65, Resulting Numbers: [65] 65,54 unequal: No Solution Exploring Operation: 51*14=714, Resulting Numbers: [714] 714,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 54:[10, 47], Operations: ['11-7=4', '51-4=47'] Exploring Operation: 10+47=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 10*47=470, Resulting Numbers: [470] 470,54 unequal: No Solution Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 54:[4, 61], Operations: ['11-7=4', '51+10=61'] Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,54 unequal: No Solution Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 54:[51, 7, 1], Operations: ['11-10=1'] Exploring Operation: 51+1=52, Resulting Numbers: [7, 52] Generated Node #0,4,0: 54:[7, 52] Operation: 51+1=52 Exploring Operation: 51*1=51, Resulting Numbers: [7, 51] Generated Node #0,4,1: 54:[7, 51] Operation: 51*1=51 Exploring Operation: 7+1=8, Resulting Numbers: [51, 8] Generated Node #0,4,2: 54:[51, 8] Operation: 7+1=8 Exploring Operation: 7-1=6, Resulting Numbers: [51, 6] Generated Node #0,4,3: 54:[51, 6] Operation: 7-1=6 Exploring Operation: 51/1=51, Resulting Numbers: [7, 51] Generated Node #0,4,4: 54:[7, 51] Operation: 51/1=51 Moving to Node #0,4,0 Current State: 54:[7, 52], Operations: ['11-10=1', '51+1=52'] Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,54 unequal: No Solution Moving to Node #0,4,3 Current State: 54:[51, 6], Operations: ['11-10=1', '7-1=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,54 unequal: No Solution Moving to Node #0,4,1 Current State: 54:[7, 51], Operations: ['11-10=1', '51*1=51'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,54 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,54 unequal: No Solution Moving to Node #0,4,2 Current State: 54:[51, 8], Operations: ['11-10=1', '7+1=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,54 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,54 unequal: No Solution Moving to Node #0,4,4 Current State: 54:[7, 51], Operations: ['11-10=1', '51/1=51'] Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[51, 11, 17], Operations: ['10+7=17'] Exploring Operation: 51+11=62, Resulting Numbers: [17, 62] Generated Node #0,0,0: 54:[17, 62] Operation: 51+11=62 Exploring Operation: 17-11=6, Resulting Numbers: [51, 6] Generated Node #0,0,1: 54:[51, 6] Operation: 17-11=6 Exploring Operation: 11+17=28, Resulting Numbers: [51, 28] Generated Node #0,0,2: 54:[51, 28] Operation: 11+17=28 Exploring Operation: 51-17=34, Resulting Numbers: [11, 34] Generated Node #0,0,3: 54:[11, 34] Operation: 51-17=34 Exploring Operation: 51/17=3, Resulting Numbers: [11, 3] Generated Node #0,0,4: 54:[11, 3] Operation: 51/17=3 Moving to Node #0,0,4 Current State: 54:[11, 3], Operations: ['10+7=17', '51/17=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,54 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[51, 6], Operations: ['10+7=17', '17-11=6'] Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,54 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,54 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[51, 28], Operations: ['10+7=17', '11+17=28'] Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,54 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 51*28=1428, Resulting Numbers: [1428] 1428,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[17, 62], Operations: ['10+7=17', '51+11=62'] Exploring Operation: 17*62=1054, Resulting Numbers: [1054] 1054,54 unequal: No Solution Exploring Operation: 17+62=79, Resulting Numbers: [79] 79,54 unequal: No Solution Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[11, 34], Operations: ['10+7=17', '51-17=34'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,54 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,54 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
[ 20, 28, 76, 27 ]
34
[ "28*27=756", "756-76=680", "680/20=34" ]
Current State: 34:[20, 28, 76, 27], Operations: [] Exploring Operation: 28*27=756, Resulting Numbers: [20, 76, 756] Generated Node #2: [20, 76, 756] from Operation: 28*27=756 Current State: 34:[20, 76, 756], Operations: ['28*27=756'] Exploring Operation: 756-76=680, Resulting Numbers: [20, 680] Generated Node #3: [20, 680] from Operation: 756-76=680 Current State: 34:[20, 680], Operations: ['28*27=756', '756-76=680'] Exploring Operation: 680/20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[20, 28, 76, 27], Operations: [] Exploring Operation: 76-27=49, Resulting Numbers: [20, 28, 49] Generated Node #0,0: 34:[20, 28, 49] Operation: 76-27=49 Exploring Operation: 76-28=48, Resulting Numbers: [20, 27, 48] Generated Node #0,1: 34:[20, 27, 48] Operation: 76-28=48 Moving to Node #0,0 Current State: 34:[20, 28, 49], Operations: ['76-27=49'] Exploring Operation: 49-20=29, Resulting Numbers: [28, 29] Generated Node #0,0,0: 34:[28, 29] Operation: 49-20=29 Exploring Operation: 49-28=21, Resulting Numbers: [20, 21] Generated Node #0,0,1: 34:[20, 21] Operation: 49-28=21 Moving to Node #0,1 Current State: 34:[20, 27, 48], Operations: ['76-28=48'] Exploring Operation: 48-27=21, Resulting Numbers: [20, 21] Generated Node #0,1,0: 34:[20, 21] Operation: 48-27=21 Exploring Operation: 48-20=28, Resulting Numbers: [27, 28] Generated Node #0,1,1: 34:[27, 28] Operation: 48-20=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[20, 21], Operations: ['76-28=48', '48-27=21'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[27, 28], Operations: ['76-28=48', '48-20=28'] Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,34 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: 34:[20, 21], Operations: ['76-27=49', '49-28=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,34 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[28, 29], Operations: ['76-27=49', '49-20=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,34 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 90, 88, 86, 88 ]
92
[ "88-86=2", "90*2=180", "180-88=92" ]
Current State: 92:[90, 88, 86, 88], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [90, 2] Generated Node #2: [90, 2] from Operation: 88-86=2 Current State: 92:[90, 2], Operations: ['88-86=2'] Exploring Operation: 90*2=180, Resulting Numbers: [180] 180,92 equal: Goal Reached Exploring Operation: 180-88=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[90, 88, 86, 88], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [90, 88, 2] Generated Node #0,0: 92:[90, 88, 2] Operation: 88-86=2 Exploring Operation: 88-86=2, Resulting Numbers: [90, 88, 2] Generated Node #0,1: 92:[90, 88, 2] Operation: 88-86=2 Moving to Node #0,0 Current State: 92:[90, 88, 2], Operations: ['88-86=2'] Exploring Operation: 90-88=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 92:[2, 2] Operation: 90-88=2 Exploring Operation: 90+2=92, Resulting Numbers: [88, 92] Generated Node #0,0,1: 92:[88, 92] Operation: 90+2=92 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[2, 2], Operations: ['88-86=2', '90-88=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[88, 92], Operations: ['88-86=2', '90+2=92'] Exploring Operation: 88+92=180, Resulting Numbers: [180] 180,92 unequal: No Solution Exploring Operation: 92-88=4, Resulting Numbers: [4] 4,92 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: 92:[90, 88, 2], Operations: ['88-86=2'] Exploring Operation: 90-88=2, Resulting Numbers: [2, 2] Generated Node #0,1,0: 92:[2, 2] Operation: 90-88=2 Exploring Operation: 90+2=92, Resulting Numbers: [88, 92] Generated Node #0,1,1: 92:[88, 92] Operation: 90+2=92 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[2, 2], Operations: ['88-86=2', '90-88=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[88, 92], Operations: ['88-86=2', '90+2=92'] Exploring Operation: 88+92=180, Resulting Numbers: [180] 180,92 unequal: No Solution Exploring Operation: 92-88=4, Resulting Numbers: [4] 4,92 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, 23, 28, 17 ]
16
[ "17-13=4", "28/4=7", "23-7=16" ]
Current State: 16:[13, 23, 28, 17], Operations: [] Exploring Operation: 17-13=4, Resulting Numbers: [23, 28, 4] Generated Node #2: [23, 28, 4] from Operation: 17-13=4 Current State: 16:[23, 28, 4], Operations: ['17-13=4'] Exploring Operation: 28/4=7, Resulting Numbers: [23, 7] Generated Node #3: [23, 7] from Operation: 28/4=7 Current State: 16:[23, 7], Operations: ['17-13=4', '28/4=7'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[13, 23, 28, 17], Operations: [] Exploring Operation: 28-23=5, Resulting Numbers: [13, 17, 5] Generated Node #0,0: 16:[13, 17, 5] Operation: 28-23=5 Exploring Operation: 28-17=11, Resulting Numbers: [13, 23, 11] Generated Node #0,1: 16:[13, 23, 11] Operation: 28-17=11 Exploring Operation: 28-13=15, Resulting Numbers: [23, 17, 15] Generated Node #0,2: 16:[23, 17, 15] Operation: 28-13=15 Exploring Operation: 23-13=10, Resulting Numbers: [28, 17, 10] Generated Node #0,3: 16:[28, 17, 10] Operation: 23-13=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[13, 17, 5], Operations: ['28-23=5'] Exploring Operation: 13+5=18, Resulting Numbers: [17, 18] Generated Node #0,0,0: 16:[17, 18] Operation: 13+5=18 Exploring Operation: 13-5=8, Resulting Numbers: [17, 8] Generated Node #0,0,1: 16:[17, 8] Operation: 13-5=8 Exploring Operation: 17-13=4, Resulting Numbers: [5, 4] Generated Node #0,0,2: 16:[5, 4] Operation: 17-13=4 Exploring Operation: 17-5=12, Resulting Numbers: [13, 12] Generated Node #0,0,3: 16:[13, 12] Operation: 17-5=12 Moving to Node #0,0,1 Current State: 16:[17, 8], Operations: ['28-23=5', '13-5=8'] Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,16 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[5, 4], Operations: ['28-23=5', '17-13=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[17, 18], Operations: ['28-23=5', '13+5=18'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 17*18=306, Resulting Numbers: [306] 306,16 unequal: No Solution Moving to Node #0,0,3 Current State: 16:[13, 12], Operations: ['28-23=5', '17-5=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,16 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[23, 17, 15], Operations: ['28-13=15'] Exploring Operation: 23-17=6, Resulting Numbers: [15, 6] Generated Node #0,2,0: 16:[15, 6] Operation: 23-17=6 Exploring Operation: 17-15=2, Resulting Numbers: [23, 2] Generated Node #0,2,1: 16:[23, 2] Operation: 17-15=2 Exploring Operation: 23-15=8, Resulting Numbers: [17, 8] Generated Node #0,2,2: 16:[17, 8] Operation: 23-15=8 Exploring Operation: 23+15=38, Resulting Numbers: [17, 38] Generated Node #0,2,3: 16:[17, 38] Operation: 23+15=38 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 16:[17, 8], Operations: ['28-13=15', '23-15=8'] Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,16 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 16:[15, 6], Operations: ['28-13=15', '23-17=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,16 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 16:[23, 2], Operations: ['28-13=15', '17-15=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 16:[17, 38], Operations: ['28-13=15', '23+15=38'] Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[13, 23, 11], Operations: ['28-17=11'] Exploring Operation: 23-13=10, Resulting Numbers: [11, 10] Generated Node #0,1,0: 16:[11, 10] Operation: 23-13=10 Exploring Operation: 23-11=12, Resulting Numbers: [13, 12] Generated Node #0,1,1: 16:[13, 12] Operation: 23-11=12 Exploring Operation: 13-11=2, Resulting Numbers: [23, 2] Generated Node #0,1,2: 16:[23, 2] Operation: 13-11=2 Exploring Operation: 13+11=24, Resulting Numbers: [23, 24] Generated Node #0,1,3: 16:[23, 24] Operation: 13+11=24 Moving to Node #0,1,0 Current State: 16:[11, 10], Operations: ['28-17=11', '23-13=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,16 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[23, 2], Operations: ['28-17=11', '13-11=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,16 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[13, 12], Operations: ['28-17=11', '23-11=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,16 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[23, 24], Operations: ['28-17=11', '13+11=24'] Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,16 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,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,3 Current State: 16:[28, 17, 10], Operations: ['23-13=10'] Exploring Operation: 28-17=11, Resulting Numbers: [10, 11] Generated Node #0,3,0: 16:[10, 11] Operation: 28-17=11 Exploring Operation: 28-10=18, Resulting Numbers: [17, 18] Generated Node #0,3,1: 16:[17, 18] Operation: 28-10=18 Exploring Operation: 28+10=38, Resulting Numbers: [17, 38] Generated Node #0,3,2: 16:[17, 38] Operation: 28+10=38 Exploring Operation: 17-10=7, Resulting Numbers: [28, 7] Generated Node #0,3,3: 16:[28, 7] Operation: 17-10=7 Moving to Node #0,3,1 Current State: 16:[17, 18], Operations: ['23-13=10', '28-10=18'] Exploring Operation: 17*18=306, Resulting Numbers: [306] 306,16 unequal: No Solution Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[10, 11], Operations: ['23-13=10', '28-17=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[28, 7], Operations: ['23-13=10', '17-10=7'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,16 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[17, 38], Operations: ['23-13=10', '28+10=38'] Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,16 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,16 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
[ 90, 32, 76, 56 ]
78
[ "90-32=58", "76-56=20", "58+20=78" ]
Current State: 78:[90, 32, 76, 56], Operations: [] Exploring Operation: 90-32=58, Resulting Numbers: [76, 56, 58] Generated Node #2: [76, 56, 58] from Operation: 90-32=58 Current State: 78:[76, 56, 58], Operations: ['90-32=58'] Exploring Operation: 76-56=20, Resulting Numbers: [58, 20] Generated Node #3: [58, 20] from Operation: 76-56=20 Current State: 78:[58, 20], Operations: ['90-32=58', '76-56=20'] Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[90, 32, 76, 56], Operations: [] Exploring Operation: 90-56=34, Resulting Numbers: [32, 76, 34] Generated Node #0,0: 78:[32, 76, 34] Operation: 90-56=34 Exploring Operation: 90-76=14, Resulting Numbers: [32, 56, 14] Generated Node #0,1: 78:[32, 56, 14] Operation: 90-76=14 Exploring Operation: 56-32=24, Resulting Numbers: [90, 76, 24] Generated Node #0,2: 78:[90, 76, 24] Operation: 56-32=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[32, 76, 34], Operations: ['90-56=34'] Exploring Operation: 34-32=2, Resulting Numbers: [76, 2] Generated Node #0,0,0: 78:[76, 2] Operation: 34-32=2 Exploring Operation: 76-34=42, Resulting Numbers: [32, 42] Generated Node #0,0,1: 78:[32, 42] Operation: 76-34=42 Exploring Operation: 76-32=44, Resulting Numbers: [34, 44] Generated Node #0,0,2: 78:[34, 44] Operation: 76-32=44 Moving to Node #0,0,0 Current State: 78:[76, 2], Operations: ['90-56=34', '34-32=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,78 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[90, 32, 76, 56], Operations: [] Exploring Operation: 90-56=34, Resulting Numbers: [32, 76, 34] Generated Node #0,0: 78:[32, 76, 34] Operation: 90-56=34 Moving to Node #0,0 Current State: 78:[32, 76, 34], Operations: ['90-56=34'] Exploring Operation: 34-32=2, Resulting Numbers: [76, 2] Generated Node #0,0,0: 78:[76, 2] Operation: 34-32=2 Moving to Node #0,0,0 Current State: 78:[76, 2], Operations: ['90-56=34', '34-32=2'] Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 63, 47, 71, 77 ]
38
[ "63+47=110", "71+77=148", "148-110=38" ]
Current State: 38:[63, 47, 71, 77], Operations: [] Exploring Operation: 63+47=110, Resulting Numbers: [71, 77, 110] Generated Node #2: [71, 77, 110] from Operation: 63+47=110 Current State: 38:[71, 77, 110], Operations: ['63+47=110'] Exploring Operation: 71+77=148, Resulting Numbers: [110, 148] Generated Node #3: [110, 148] from Operation: 71+77=148 Current State: 38:[110, 148], Operations: ['63+47=110', '71+77=148'] Exploring Operation: 148-110=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[63, 47, 71, 77], Operations: [] Exploring Operation: 77-71=6, Resulting Numbers: [63, 47, 6] Generated Node #0,0: 38:[63, 47, 6] Operation: 77-71=6 Moving to Node #0,0 Current State: 38:[63, 47, 6], Operations: ['77-71=6'] Exploring Operation: 63-47=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 38:[6, 16] Operation: 63-47=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[6, 16], Operations: ['77-71=6', '63-47=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 33, 51, 92, 19 ]
65
[ "33*51=1683", "92*19=1748", "1748-1683=65" ]
Current State: 65:[33, 51, 92, 19], Operations: [] Exploring Operation: 33*51=1683, Resulting Numbers: [92, 19, 1683] Generated Node #2: [92, 19, 1683] from Operation: 33*51=1683 Current State: 65:[92, 19, 1683], Operations: ['33*51=1683'] Exploring Operation: 92*19=1748, Resulting Numbers: [1683, 1748] Generated Node #3: [1683, 1748] from Operation: 92*19=1748 Current State: 65:[1683, 1748], Operations: ['33*51=1683', '92*19=1748'] Exploring Operation: 1748-1683=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[33, 51, 92, 19], Operations: [] Exploring Operation: 92-33=59, Resulting Numbers: [51, 19, 59] Generated Node #0,0: 65:[51, 19, 59] Operation: 92-33=59 Moving to Node #0,0 Current State: 65:[51, 19, 59], Operations: ['92-33=59'] Exploring Operation: 59-51=8, Resulting Numbers: [19, 8] Generated Node #0,0,0: 65:[19, 8] Operation: 59-51=8 Moving to Node #0,0,0 Current State: 65:[19, 8], Operations: ['92-33=59', '59-51=8'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,65 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 48, 63, 55, 2 ]
44
[ "63-55=8", "8/2=4", "48-4=44" ]
Current State: 44:[48, 63, 55, 2], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [48, 2, 8] Generated Node #2: [48, 2, 8] from Operation: 63-55=8 Current State: 44:[48, 2, 8], Operations: ['63-55=8'] Exploring Operation: 8/2=4, Resulting Numbers: [48, 4] Generated Node #3: [48, 4] from Operation: 8/2=4 Current State: 44:[48, 4], Operations: ['63-55=8', '8/2=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[48, 63, 55, 2], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [48, 2, 8] Generated Node #0,0: 44:[48, 2, 8] Operation: 63-55=8 Exploring Operation: 63-48=15, Resulting Numbers: [55, 2, 15] Generated Node #0,1: 44:[55, 2, 15] Operation: 63-48=15 Moving to Node #0,0 Current State: 44:[48, 2, 8], Operations: ['63-55=8'] Exploring Operation: 48-8=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 44:[2, 40] Operation: 48-8=40 Exploring Operation: 48/8=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 44:[2, 6] Operation: 48/8=6 Moving to Node #0,1 Current State: 44:[55, 2, 15], Operations: ['63-48=15'] Exploring Operation: 55-2=53, Resulting Numbers: [15, 53] Generated Node #0,1,0: 44:[15, 53] Operation: 55-2=53 Exploring Operation: 55-15=40, Resulting Numbers: [2, 40] Generated Node #0,1,1: 44:[2, 40] Operation: 55-15=40 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[2, 40], Operations: ['63-48=15', '55-15=40'] Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[15, 53], Operations: ['63-48=15', '55-2=53'] Exploring Operation: 15+53=68, Resulting Numbers: [68] 68,44 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,44 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: 44:[2, 6], Operations: ['63-55=8', '48/8=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[2, 40], Operations: ['63-55=8', '48-8=40'] Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,44 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 44, 78, 2, 52 ]
69
[ "78-44=34", "34/2=17", "52+17=69" ]
Current State: 69:[44, 78, 2, 52], Operations: [] Exploring Operation: 78-44=34, Resulting Numbers: [2, 52, 34] Generated Node #2: [2, 52, 34] from Operation: 78-44=34 Current State: 69:[2, 52, 34], Operations: ['78-44=34'] Exploring Operation: 34/2=17, Resulting Numbers: [52, 17] Generated Node #3: [52, 17] from Operation: 34/2=17 Current State: 69:[52, 17], Operations: ['78-44=34', '34/2=17'] Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[44, 78, 2, 52], Operations: [] Exploring Operation: 52-44=8, Resulting Numbers: [78, 2, 8] Generated Node #0,0: 69:[78, 2, 8] Operation: 52-44=8 Moving to Node #0,0 Current State: 69:[78, 2, 8], Operations: ['52-44=8'] Exploring Operation: 78-8=70, Resulting Numbers: [2, 70] Generated Node #0,0,0: 69:[2, 70] Operation: 78-8=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[2, 70], Operations: ['52-44=8', '78-8=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,69 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
[ 31, 93, 64, 78 ]
11
[ "93/31=3", "78-64=14", "14-3=11" ]
Current State: 11:[31, 93, 64, 78], Operations: [] Exploring Operation: 93/31=3, Resulting Numbers: [64, 78, 3] Generated Node #2: [64, 78, 3] from Operation: 93/31=3 Current State: 11:[64, 78, 3], Operations: ['93/31=3'] Exploring Operation: 78-64=14, Resulting Numbers: [3, 14] Generated Node #3: [3, 14] from Operation: 78-64=14 Current State: 11:[3, 14], Operations: ['93/31=3', '78-64=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[31, 93, 64, 78], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [31, 64, 15] Generated Node #0,0: 11:[31, 64, 15] Operation: 93-78=15 Exploring Operation: 78-64=14, Resulting Numbers: [31, 93, 14] Generated Node #0,1: 11:[31, 93, 14] Operation: 78-64=14 Exploring Operation: 93-64=29, Resulting Numbers: [31, 78, 29] Generated Node #0,2: 11:[31, 78, 29] Operation: 93-64=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[31, 64, 15], Operations: ['93-78=15'] Exploring Operation: 64-15=49, Resulting Numbers: [31, 49] Generated Node #0,0,0: 11:[31, 49] Operation: 64-15=49 Exploring Operation: 31-15=16, Resulting Numbers: [64, 16] Generated Node #0,0,1: 11:[64, 16] Operation: 31-15=16 Exploring Operation: 64-31=33, Resulting Numbers: [15, 33] Generated Node #0,0,2: 11:[15, 33] Operation: 64-31=33 Moving to Node #0,0,2 Current State: 11:[15, 33], Operations: ['93-78=15', '64-31=33'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[31, 49], Operations: ['93-78=15', '64-15=49'] Exploring Operation: 31*49=1519, Resulting Numbers: [1519] 1519,11 unequal: No Solution Exploring Operation: 31+49=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[64, 16], Operations: ['93-78=15', '31-15=16'] Exploring Operation: 64+16=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[31, 93, 14], Operations: ['78-64=14'] Exploring Operation: 93/31=3, Resulting Numbers: [14, 3] Generated Node #0,1,0: 11:[14, 3] Operation: 93/31=3 Exploring Operation: 93-31=62, Resulting Numbers: [14, 62] Generated Node #0,1,1: 11:[14, 62] Operation: 93-31=62 Exploring Operation: 31-14=17, Resulting Numbers: [93, 17] Generated Node #0,1,2: 11:[93, 17] Operation: 31-14=17 Moving to Node #0,1,0 Current State: 11:[14, 3], Operations: ['78-64=14', '93/31=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,11 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[31, 93, 64, 78], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [31, 93, 14] Generated Node #0,1: 11:[31, 93, 14] Operation: 78-64=14 Moving to Node #0,1 Current State: 11:[31, 93, 14], Operations: ['78-64=14'] Exploring Operation: 93/31=3, Resulting Numbers: [14, 3] Generated Node #0,1,0: 11:[14, 3] Operation: 93/31=3 Moving to Node #0,1,0 Current State: 11:[14, 3], Operations: ['78-64=14', '93/31=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 2, 56, 52, 12 ]
28
[ "2*12=24", "56-52=4", "24+4=28" ]
Current State: 28:[2, 56, 52, 12], Operations: [] Exploring Operation: 2*12=24, Resulting Numbers: [56, 52, 24] Generated Node #2: [56, 52, 24] from Operation: 2*12=24 Current State: 28:[56, 52, 24], Operations: ['2*12=24'] Exploring Operation: 56-52=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 56-52=4 Current State: 28:[24, 4], Operations: ['2*12=24', '56-52=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[2, 56, 52, 12], Operations: [] Exploring Operation: 56-12=44, Resulting Numbers: [2, 52, 44] Generated Node #0,0: 28:[2, 52, 44] Operation: 56-12=44 Exploring Operation: 56/2=28, Resulting Numbers: [52, 12, 28] Generated Node #0,1: 28:[52, 12, 28] Operation: 56/2=28 Exploring Operation: 52/2=26, Resulting Numbers: [56, 12, 26] Generated Node #0,2: 28:[56, 12, 26] Operation: 52/2=26 Exploring Operation: 56-52=4, Resulting Numbers: [2, 12, 4] Generated Node #0,3: 28:[2, 12, 4] Operation: 56-52=4 Moving to Node #0,3 Current State: 28:[2, 12, 4], Operations: ['56-52=4'] Exploring Operation: 12/4=3, Resulting Numbers: [2, 3] Generated Node #0,3,0: 28:[2, 3] Operation: 12/4=3 Exploring Operation: 12-4=8, Resulting Numbers: [2, 8] Generated Node #0,3,1: 28:[2, 8] Operation: 12-4=8 Exploring Operation: 2+12=14, Resulting Numbers: [4, 14] Generated Node #0,3,2: 28:[4, 14] Operation: 2+12=14 Exploring Operation: 12/2=6, Resulting Numbers: [4, 6] Generated Node #0,3,3: 28:[4, 6] Operation: 12/2=6 Moving to Node #0,1 Current State: 28:[52, 12, 28], Operations: ['56/2=28'] Exploring Operation: 52-28=24, Resulting Numbers: [12, 24] Generated Node #0,1,0: 28:[12, 24] Operation: 52-28=24 Exploring Operation: 28-12=16, Resulting Numbers: [52, 16] Generated Node #0,1,1: 28:[52, 16] Operation: 28-12=16 Exploring Operation: 52-12=40, Resulting Numbers: [28, 40] Generated Node #0,1,2: 28:[28, 40] Operation: 52-12=40 Exploring Operation: 52+12=64, Resulting Numbers: [28, 64] Generated Node #0,1,3: 28:[28, 64] Operation: 52+12=64 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[12, 24], Operations: ['56/2=28', '52-28=24'] Exploring Operation: 12*24=288, Resulting Numbers: [288] 288,28 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[28, 40], Operations: ['56/2=28', '52-12=40'] Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,28 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[52, 16], Operations: ['56/2=28', '28-12=16'] Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,28 unequal: No Solution Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[28, 64], Operations: ['56/2=28', '52+12=64'] Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,28 unequal: No Solution Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 28:[56, 12, 26], Operations: ['52/2=26'] Exploring Operation: 12+26=38, Resulting Numbers: [56, 38] Generated Node #0,2,0: 28:[56, 38] Operation: 12+26=38 Exploring Operation: 56-12=44, Resulting Numbers: [26, 44] Generated Node #0,2,1: 28:[26, 44] Operation: 56-12=44 Exploring Operation: 26-12=14, Resulting Numbers: [56, 14] Generated Node #0,2,2: 28:[56, 14] Operation: 26-12=14 Exploring Operation: 56-26=30, Resulting Numbers: [12, 30] Generated Node #0,2,3: 28:[12, 30] Operation: 56-26=30 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 28:[12, 30], Operations: ['52/2=26', '56-26=30'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 12*30=360, Resulting Numbers: [360] 360,28 unequal: No Solution Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[26, 44], Operations: ['52/2=26', '56-12=44'] Exploring Operation: 26+44=70, Resulting Numbers: [70] 70,28 unequal: No Solution Exploring Operation: 26*44=1144, Resulting Numbers: [1144] 1144,28 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[56, 14], Operations: ['52/2=26', '26-12=14'] Exploring Operation: 56+14=70, Resulting Numbers: [70] 70,28 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 56*14=784, Resulting Numbers: [784] 784,28 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[56, 38], Operations: ['52/2=26', '12+26=38'] Exploring Operation: 56*38=2128, Resulting Numbers: [2128] 2128,28 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 56+38=94, Resulting Numbers: [94] 94,28 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: 28:[2, 52, 44], Operations: ['56-12=44'] Exploring Operation: 52-44=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 28:[2, 8] Operation: 52-44=8 Exploring Operation: 52/2=26, Resulting Numbers: [44, 26] Generated Node #0,0,1: 28:[44, 26] Operation: 52/2=26 Exploring Operation: 52-2=50, Resulting Numbers: [44, 50] Generated Node #0,0,2: 28:[44, 50] Operation: 52-2=50 Exploring Operation: 44/2=22, Resulting Numbers: [52, 22] Generated Node #0,0,3: 28:[52, 22] Operation: 44/2=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[2, 8], Operations: ['56-12=44', '52-44=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[44, 26], Operations: ['56-12=44', '52/2=26'] Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,28 unequal: No Solution Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 28:[52, 22], Operations: ['56-12=44', '44/2=22'] Exploring Operation: 52+22=74, Resulting Numbers: [74] 74,28 unequal: No Solution Exploring Operation: 52*22=1144, Resulting Numbers: [1144] 1144,28 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[44, 50], Operations: ['56-12=44', '52-2=50'] Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,28 unequal: No Solution Exploring Operation: 44*50=2200, Resulting Numbers: [2200] 2200,28 unequal: No Solution Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 28:[4, 14], Operations: ['56-52=4', '2+12=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,28 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[2, 8], Operations: ['56-52=4', '12-4=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[2, 3], Operations: ['56-52=4', '12/4=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[4, 6], Operations: ['56-52=4', '12/2=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,28 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 24, 54, 78, 35 ]
12
[ "35-24=11", "54+78=132", "132/11=12" ]
Current State: 12:[24, 54, 78, 35], Operations: [] Exploring Operation: 35-24=11, Resulting Numbers: [54, 78, 11] Generated Node #2: [54, 78, 11] from Operation: 35-24=11 Current State: 12:[54, 78, 11], Operations: ['35-24=11'] Exploring Operation: 54+78=132, Resulting Numbers: [11, 132] Generated Node #3: [11, 132] from Operation: 54+78=132 Current State: 12:[11, 132], Operations: ['35-24=11', '54+78=132'] Exploring Operation: 132/11=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[24, 54, 78, 35], Operations: [] Exploring Operation: 54-24=30, Resulting Numbers: [78, 35, 30] Generated Node #0,0: 12:[78, 35, 30] Operation: 54-24=30 Exploring Operation: 78-35=43, Resulting Numbers: [24, 54, 43] Generated Node #0,1: 12:[24, 54, 43] Operation: 78-35=43 Exploring Operation: 54-35=19, Resulting Numbers: [24, 78, 19] Generated Node #0,2: 12:[24, 78, 19] Operation: 54-35=19 Exploring Operation: 78-54=24, Resulting Numbers: [24, 35, 24] Generated Node #0,3: 12:[24, 35, 24] Operation: 78-54=24 Moving to Node #0,3 Current State: 12:[24, 35, 24], Operations: ['78-54=24'] Exploring Operation: 24-24=0, Resulting Numbers: [35, 0] Generated Node #0,3,0: 12:[35, 0] Operation: 24-24=0 Exploring Operation: 35-24=11, Resulting Numbers: [24, 11] Generated Node #0,3,1: 12:[24, 11] Operation: 35-24=11 Exploring Operation: 24/24=1, Resulting Numbers: [35, 1] Generated Node #0,3,2: 12:[35, 1] Operation: 24/24=1 Exploring Operation: 35-24=11, Resulting Numbers: [24, 11] Generated Node #0,3,3: 12:[24, 11] Operation: 35-24=11 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 12:[24, 11], Operations: ['78-54=24', '35-24=11'] Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,12 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,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,3,3 Current State: 12:[24, 11], Operations: ['78-54=24', '35-24=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,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,3,2 Current State: 12:[35, 1], Operations: ['78-54=24', '24/24=1'] Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,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,3,0 Current State: 12:[35, 0], Operations: ['78-54=24', '24-24=0'] Exploring Operation: 35+0=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 35-0=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 35*0=0, Resulting Numbers: [0] 0,12 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: 12:[24, 78, 19], Operations: ['54-35=19'] Exploring Operation: 78-19=59, Resulting Numbers: [24, 59] Generated Node #0,2,0: 12:[24, 59] Operation: 78-19=59 Exploring Operation: 24+78=102, Resulting Numbers: [19, 102] Generated Node #0,2,1: 12:[19, 102] Operation: 24+78=102 Exploring Operation: 24-19=5, Resulting Numbers: [78, 5] Generated Node #0,2,2: 12:[78, 5] Operation: 24-19=5 Exploring Operation: 78-24=54, Resulting Numbers: [19, 54] Generated Node #0,2,3: 12:[19, 54] Operation: 78-24=54 Moving to Node #0,1 Current State: 12:[24, 54, 43], Operations: ['78-35=43'] Exploring Operation: 43-24=19, Resulting Numbers: [54, 19] Generated Node #0,1,0: 12:[54, 19] Operation: 43-24=19 Exploring Operation: 54-43=11, Resulting Numbers: [24, 11] Generated Node #0,1,1: 12:[24, 11] Operation: 54-43=11 Exploring Operation: 54-24=30, Resulting Numbers: [43, 30] Generated Node #0,1,2: 12:[43, 30] Operation: 54-24=30 Exploring Operation: 24+54=78, Resulting Numbers: [43, 78] Generated Node #0,1,3: 12:[43, 78] Operation: 24+54=78 Moving to Node #0,0 Current State: 12:[78, 35, 30], Operations: ['54-24=30'] Exploring Operation: 78-30=48, Resulting Numbers: [35, 48] Generated Node #0,0,0: 12:[35, 48] Operation: 78-30=48 Exploring Operation: 35-30=5, Resulting Numbers: [78, 5] Generated Node #0,0,1: 12:[78, 5] Operation: 35-30=5 Exploring Operation: 78-35=43, Resulting Numbers: [30, 43] Generated Node #0,0,2: 12:[30, 43] Operation: 78-35=43 Exploring Operation: 78+35=113, Resulting Numbers: [30, 113] Generated Node #0,0,3: 12:[30, 113] Operation: 78+35=113 Moving to Node #0,1,1 Current State: 12:[24, 11], Operations: ['78-35=43', '54-43=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[54, 19], Operations: ['78-35=43', '43-24=19'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 54*19=1026, Resulting Numbers: [1026] 1026,12 unequal: No Solution Exploring Operation: 54+19=73, Resulting Numbers: [73] 73,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[43, 30], Operations: ['78-35=43', '54-24=30'] Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 43*30=1290, Resulting Numbers: [1290] 1290,12 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,12 unequal: No Solution Moving to Node #0,2,3 Current State: 12:[19, 54], Operations: ['54-35=19', '78-24=54'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 19*54=1026, Resulting Numbers: [1026] 1026,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[30, 43], Operations: ['54-24=30', '78-35=43'] Exploring Operation: 30*43=1290, Resulting Numbers: [1290] 1290,12 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 30+43=73, Resulting Numbers: [73] 73,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[24, 59], Operations: ['54-35=19', '78-19=59'] Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 24*59=1416, Resulting Numbers: [1416] 1416,12 unequal: No Solution Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[35, 48], Operations: ['54-24=30', '78-30=48'] Exploring Operation: 35+48=83, Resulting Numbers: [83] 83,12 unequal: No Solution Exploring Operation: 35*48=1680, Resulting Numbers: [1680] 1680,12 unequal: No Solution Exploring Operation: 48-35=13, Resulting Numbers: [13] 13,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[78, 5], Operations: ['54-35=19', '24-19=5'] Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,12 unequal: No Solution Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[78, 5], Operations: ['54-24=30', '35-30=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,12 unequal: No Solution Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[19, 102], Operations: ['54-35=19', '24+78=102'] Exploring Operation: 19*102=1938, Resulting Numbers: [1938] 1938,12 unequal: No Solution Exploring Operation: 19+102=121, Resulting Numbers: [121] 121,12 unequal: No Solution Exploring Operation: 102-19=83, Resulting Numbers: [83] 83,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[43, 78], Operations: ['78-35=43', '24+54=78'] Exploring Operation: 43*78=3354, Resulting Numbers: [3354] 3354,12 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 43+78=121, Resulting Numbers: [121] 121,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[30, 113], Operations: ['54-24=30', '78+35=113'] Exploring Operation: 30+113=143, Resulting Numbers: [143] 143,12 unequal: No Solution Exploring Operation: 113-30=83, Resulting Numbers: [83] 83,12 unequal: No Solution Exploring Operation: 30*113=3390, Resulting Numbers: [3390] 3390,12 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 81, 6, 10, 94 ]
70
[ "81+6=87", "94-87=7", "10*7=70" ]
Current State: 70:[81, 6, 10, 94], Operations: [] Exploring Operation: 81+6=87, Resulting Numbers: [10, 94, 87] Generated Node #2: [10, 94, 87] from Operation: 81+6=87 Current State: 70:[10, 94, 87], Operations: ['81+6=87'] Exploring Operation: 94-87=7, Resulting Numbers: [10, 7] Generated Node #3: [10, 7] from Operation: 94-87=7 Current State: 70:[10, 7], Operations: ['81+6=87', '94-87=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[81, 6, 10, 94], Operations: [] Exploring Operation: 94-10=84, Resulting Numbers: [81, 6, 84] Generated Node #0,0: 70:[81, 6, 84] Operation: 94-10=84 Exploring Operation: 81-10=71, Resulting Numbers: [6, 94, 71] Generated Node #0,1: 70:[6, 94, 71] Operation: 81-10=71 Exploring Operation: 94-81=13, Resulting Numbers: [6, 10, 13] Generated Node #0,2: 70:[6, 10, 13] Operation: 94-81=13 Exploring Operation: 81-6=75, Resulting Numbers: [10, 94, 75] Generated Node #0,3: 70:[10, 94, 75] Operation: 81-6=75 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[6, 10, 13], Operations: ['94-81=13'] Exploring Operation: 13-10=3, Resulting Numbers: [6, 3] Generated Node #0,2,0: 70:[6, 3] Operation: 13-10=3 Exploring Operation: 13-6=7, Resulting Numbers: [10, 7] Generated Node #0,2,1: 70:[10, 7] Operation: 13-6=7 Exploring Operation: 6+10=16, Resulting Numbers: [13, 16] Generated Node #0,2,2: 70:[13, 16] Operation: 6+10=16 Exploring Operation: 10-6=4, Resulting Numbers: [13, 4] Generated Node #0,2,3: 70:[13, 4] Operation: 10-6=4 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[10, 7], Operations: ['94-81=13', '13-6=7'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[81, 6, 10, 94], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [6, 10, 13] Generated Node #0,2: 70:[6, 10, 13] Operation: 94-81=13 Moving to Node #0,2 Current State: 70:[6, 10, 13], Operations: ['94-81=13'] Exploring Operation: 13-6=7, Resulting Numbers: [10, 7] Generated Node #0,2,1: 70:[10, 7] Operation: 13-6=7 Moving to Node #0,2,1 Current State: 70:[10, 7], Operations: ['94-81=13', '13-6=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 14, 2, 55, 34 ]
14
[ "14/2=7", "55-34=21", "21-7=14" ]
Current State: 14:[14, 2, 55, 34], Operations: [] Exploring Operation: 14/2=7, Resulting Numbers: [55, 34, 7] Generated Node #2: [55, 34, 7] from Operation: 14/2=7 Current State: 14:[55, 34, 7], Operations: ['14/2=7'] Exploring Operation: 55-34=21, Resulting Numbers: [7, 21] Generated Node #3: [7, 21] from Operation: 55-34=21 Current State: 14:[7, 21], Operations: ['14/2=7', '55-34=21'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[14, 2, 55, 34], Operations: [] Exploring Operation: 34-14=20, Resulting Numbers: [2, 55, 20] Generated Node #0,0: 14:[2, 55, 20] Operation: 34-14=20 Exploring Operation: 34/2=17, Resulting Numbers: [14, 55, 17] Generated Node #0,1: 14:[14, 55, 17] Operation: 34/2=17 Exploring Operation: 55-34=21, Resulting Numbers: [14, 2, 21] Generated Node #0,2: 14:[14, 2, 21] Operation: 55-34=21 Exploring Operation: 55-14=41, Resulting Numbers: [2, 34, 41] Generated Node #0,3: 14:[2, 34, 41] Operation: 55-14=41 Moving to Node #0,2 Current State: 14:[14, 2, 21], Operations: ['55-34=21'] Exploring Operation: 14+2=16, Resulting Numbers: [21, 16] Generated Node #0,2,0: 14:[21, 16] Operation: 14+2=16 Exploring Operation: 21-2=19, Resulting Numbers: [14, 19] Generated Node #0,2,1: 14:[14, 19] Operation: 21-2=19 Exploring Operation: 14/2=7, Resulting Numbers: [21, 7] Generated Node #0,2,2: 14:[21, 7] Operation: 14/2=7 Exploring Operation: 21-14=7, Resulting Numbers: [2, 7] Generated Node #0,2,3: 14:[2, 7] Operation: 21-14=7 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 14:[2, 7], Operations: ['55-34=21', '21-14=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[14, 2, 55, 34], Operations: [] Exploring Operation: 55-34=21, Resulting Numbers: [14, 2, 21] Generated Node #0,2: 14:[14, 2, 21] Operation: 55-34=21 Moving to Node #0,2 Current State: 14:[14, 2, 21], Operations: ['55-34=21'] Exploring Operation: 21-14=7, Resulting Numbers: [2, 7] Generated Node #0,2,3: 14:[2, 7] Operation: 21-14=7 Moving to Node #0,2,3 Current State: 14:[2, 7], Operations: ['55-34=21', '21-14=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 51, 50, 48, 42 ]
90
[ "51-50=1", "48+42=90", "1*90=90" ]
Current State: 90:[51, 50, 48, 42], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [48, 42, 1] Generated Node #2: [48, 42, 1] from Operation: 51-50=1 Current State: 90:[48, 42, 1], Operations: ['51-50=1'] Exploring Operation: 48+42=90, Resulting Numbers: [1, 90] Generated Node #3: [1, 90] from Operation: 48+42=90 Current State: 90:[1, 90], Operations: ['51-50=1', '48+42=90'] Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[51, 50, 48, 42], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [48, 42, 1] Generated Node #0,0: 90:[48, 42, 1] Operation: 51-50=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[48, 42, 1], Operations: ['51-50=1'] Exploring Operation: 48+42=90, Resulting Numbers: [1, 90] Generated Node #0,0,0: 90:[1, 90] Operation: 48+42=90 Moving to Node #0,0,0 Current State: 90:[1, 90], Operations: ['51-50=1', '48+42=90'] Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[51, 50, 48, 42], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [48, 42, 1] Generated Node #0,0: 90:[48, 42, 1] Operation: 51-50=1 Moving to Node #0,0 Current State: 90:[48, 42, 1], Operations: ['51-50=1'] Exploring Operation: 48+42=90, Resulting Numbers: [1, 90] Generated Node #0,0,0: 90:[1, 90] Operation: 48+42=90 Moving to Node #0,0,0 Current State: 90:[1, 90], Operations: ['51-50=1', '48+42=90'] Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 52, 36, 77, 70 ]
59
[ "52+36=88", "77+70=147", "147-88=59" ]
Current State: 59:[52, 36, 77, 70], Operations: [] Exploring Operation: 52+36=88, Resulting Numbers: [77, 70, 88] Generated Node #2: [77, 70, 88] from Operation: 52+36=88 Current State: 59:[77, 70, 88], Operations: ['52+36=88'] Exploring Operation: 77+70=147, Resulting Numbers: [88, 147] Generated Node #3: [88, 147] from Operation: 77+70=147 Current State: 59:[88, 147], Operations: ['52+36=88', '77+70=147'] Exploring Operation: 147-88=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[52, 36, 77, 70], Operations: [] Exploring Operation: 77-36=41, Resulting Numbers: [52, 70, 41] Generated Node #0,0: 59:[52, 70, 41] Operation: 77-36=41 Exploring Operation: 70-36=34, Resulting Numbers: [52, 77, 34] Generated Node #0,1: 59:[52, 77, 34] Operation: 70-36=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[52, 70, 41], Operations: ['77-36=41'] Exploring Operation: 70-41=29, Resulting Numbers: [52, 29] Generated Node #0,0,0: 59:[52, 29] Operation: 70-41=29 Exploring Operation: 52+41=93, Resulting Numbers: [70, 93] Generated Node #0,0,1: 59:[70, 93] Operation: 52+41=93 Moving to Node #0,0,0 Current State: 59:[52, 29], Operations: ['77-36=41', '70-41=29'] Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[70, 93], Operations: ['77-36=41', '52+41=93'] Exploring Operation: 93-70=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 70+93=163, Resulting Numbers: [163] 163,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[52, 77, 34], Operations: ['70-36=34'] Exploring Operation: 52+34=86, Resulting Numbers: [77, 86] Generated Node #0,1,0: 59:[77, 86] Operation: 52+34=86 Exploring Operation: 77-34=43, Resulting Numbers: [52, 43] Generated Node #0,1,1: 59:[52, 43] Operation: 77-34=43 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[52, 43], Operations: ['70-36=34', '77-34=43'] Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 52+43=95, Resulting Numbers: [95] 95,59 unequal: No Solution No 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: 59:[77, 86], Operations: ['70-36=34', '52+34=86'] Exploring Operation: 77+86=163, Resulting Numbers: [163] 163,59 unequal: No Solution Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,59 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
[ 5, 75, 11, 2 ]
63
[ "11-5=6", "2*6=12", "75-12=63" ]
Current State: 63:[5, 75, 11, 2], Operations: [] Exploring Operation: 11-5=6, Resulting Numbers: [75, 2, 6] Generated Node #2: [75, 2, 6] from Operation: 11-5=6 Current State: 63:[75, 2, 6], Operations: ['11-5=6'] Exploring Operation: 2*6=12, Resulting Numbers: [75, 12] Generated Node #3: [75, 12] from Operation: 2*6=12 Current State: 63:[75, 12], Operations: ['11-5=6', '2*6=12'] Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[5, 75, 11, 2], Operations: [] Exploring Operation: 75-11=64, Resulting Numbers: [5, 2, 64] Generated Node #0,0: 63:[5, 2, 64] Operation: 75-11=64 Exploring Operation: 75/5=15, Resulting Numbers: [11, 2, 15] Generated Node #0,1: 63:[11, 2, 15] Operation: 75/5=15 Moving to Node #0,0 Current State: 63:[5, 2, 64], Operations: ['75-11=64'] Exploring Operation: 5+2=7, Resulting Numbers: [64, 7] Generated Node #0,0,0: 63:[64, 7] Operation: 5+2=7 Exploring Operation: 5-2=3, Resulting Numbers: [64, 3] Generated Node #0,0,1: 63:[64, 3] Operation: 5-2=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[64, 7], Operations: ['75-11=64', '5+2=7'] Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,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,1 Current State: 63:[64, 3], Operations: ['75-11=64', '5-2=3'] Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,63 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,63 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: 63:[11, 2, 15], Operations: ['75/5=15'] Exploring Operation: 15-11=4, Resulting Numbers: [2, 4] Generated Node #0,1,0: 63:[2, 4] Operation: 15-11=4 Exploring Operation: 11-2=9, Resulting Numbers: [15, 9] Generated Node #0,1,1: 63:[15, 9] Operation: 11-2=9 Moving to Node #0,1,0 Current State: 63:[2, 4], Operations: ['75/5=15', '15-11=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[15, 9], Operations: ['75/5=15', '11-2=9'] Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,63 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 92, 62, 99, 2 ]
67
[ "92-62=30", "99-2=97", "97-30=67" ]
Current State: 67:[92, 62, 99, 2], Operations: [] Exploring Operation: 92-62=30, Resulting Numbers: [99, 2, 30] Generated Node #2: [99, 2, 30] from Operation: 92-62=30 Current State: 67:[99, 2, 30], Operations: ['92-62=30'] Exploring Operation: 99-2=97, Resulting Numbers: [30, 97] Generated Node #3: [30, 97] from Operation: 99-2=97 Current State: 67:[30, 97], Operations: ['92-62=30', '99-2=97'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[92, 62, 99, 2], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [62, 99, 46] Generated Node #0,0: 67:[62, 99, 46] Operation: 92/2=46 Exploring Operation: 99-2=97, Resulting Numbers: [92, 62, 97] Generated Node #0,1: 67:[92, 62, 97] Operation: 99-2=97 Exploring Operation: 92-2=90, Resulting Numbers: [62, 99, 90] Generated Node #0,2: 67:[62, 99, 90] Operation: 92-2=90 Exploring Operation: 62+2=64, Resulting Numbers: [92, 99, 64] Generated Node #0,3: 67:[92, 99, 64] Operation: 62+2=64 Moving to Node #0,0 Current State: 67:[62, 99, 46], Operations: ['92/2=46'] Exploring Operation: 62+46=108, Resulting Numbers: [99, 108] Generated Node #0,0,0: 67:[99, 108] Operation: 62+46=108 Exploring Operation: 99-46=53, Resulting Numbers: [62, 53] Generated Node #0,0,1: 67:[62, 53] Operation: 99-46=53 Exploring Operation: 62-46=16, Resulting Numbers: [99, 16] Generated Node #0,0,2: 67:[99, 16] Operation: 62-46=16 Exploring Operation: 99-62=37, Resulting Numbers: [46, 37] Generated Node #0,0,3: 67:[46, 37] Operation: 99-62=37 Moving to Node #0,2 Current State: 67:[62, 99, 90], Operations: ['92-2=90'] Exploring Operation: 99-90=9, Resulting Numbers: [62, 9] Generated Node #0,2,0: 67:[62, 9] Operation: 99-90=9 Exploring Operation: 62+99=161, Resulting Numbers: [90, 161] Generated Node #0,2,1: 67:[90, 161] Operation: 62+99=161 Exploring Operation: 90-62=28, Resulting Numbers: [99, 28] Generated Node #0,2,2: 67:[99, 28] Operation: 90-62=28 Exploring Operation: 99-62=37, Resulting Numbers: [90, 37] Generated Node #0,2,3: 67:[90, 37] Operation: 99-62=37 Moving to Node #0,1 Current State: 67:[92, 62, 97], Operations: ['99-2=97'] Exploring Operation: 97-62=35, Resulting Numbers: [92, 35] Generated Node #0,1,0: 67:[92, 35] Operation: 97-62=35 Exploring Operation: 92-62=30, Resulting Numbers: [97, 30] Generated Node #0,1,1: 67:[97, 30] Operation: 92-62=30 Exploring Operation: 92+62=154, Resulting Numbers: [97, 154] Generated Node #0,1,2: 67:[97, 154] Operation: 92+62=154 Exploring Operation: 97-92=5, Resulting Numbers: [62, 5] Generated Node #0,1,3: 67:[62, 5] Operation: 97-92=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[92, 35], Operations: ['99-2=97', '97-62=35'] Exploring Operation: 92-35=57, Resulting Numbers: [57] 57,67 unequal: No Solution Exploring Operation: 92*35=3220, Resulting Numbers: [3220] 3220,67 unequal: No Solution Exploring Operation: 92+35=127, Resulting Numbers: [127] 127,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:[97, 30], Operations: ['99-2=97', '92-62=30'] Exploring Operation: 97*30=2910, Resulting Numbers: [2910] 2910,67 unequal: No Solution Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[92, 62, 99, 2], Operations: [] Exploring Operation: 99-2=97, Resulting Numbers: [92, 62, 97] Generated Node #0,1: 67:[92, 62, 97] Operation: 99-2=97 Moving to Node #0,1 Current State: 67:[92, 62, 97], Operations: ['99-2=97'] Exploring Operation: 92-62=30, Resulting Numbers: [97, 30] Generated Node #0,1,1: 67:[97, 30] Operation: 92-62=30 Moving to Node #0,1,1 Current State: 67:[97, 30], Operations: ['99-2=97', '92-62=30'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_4
mult_heuristic
[ 88, 22, 37, 3 ]
10
[ "88/22=4", "37+3=40", "40/4=10" ]
Current State: 10:[88, 22, 37, 3], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [37, 3, 4] Generated Node #2: [37, 3, 4] from Operation: 88/22=4 Current State: 10:[37, 3, 4], Operations: ['88/22=4'] Exploring Operation: 37+3=40, Resulting Numbers: [4, 40] Generated Node #3: [4, 40] from Operation: 37+3=40 Current State: 10:[4, 40], Operations: ['88/22=4', '37+3=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[88, 22, 37, 3], Operations: [] Exploring Operation: 88-22=66, Resulting Numbers: [37, 3, 66] Generated Node #0,0: 10:[37, 3, 66] Operation: 88-22=66 Exploring Operation: 88/22=4, Resulting Numbers: [37, 3, 4] Generated Node #0,1: 10:[37, 3, 4] Operation: 88/22=4 Exploring Operation: 88-3=85, Resulting Numbers: [22, 37, 85] Generated Node #0,2: 10:[22, 37, 85] Operation: 88-3=85 Exploring Operation: 88-37=51, Resulting Numbers: [22, 3, 51] Generated Node #0,3: 10:[22, 3, 51] Operation: 88-37=51 Exploring Operation: 37-22=15, Resulting Numbers: [88, 3, 15] Generated Node #0,4: 10:[88, 3, 15] Operation: 37-22=15 Moving to Node #0,1 Current State: 10:[37, 3, 4], Operations: ['88/22=4'] Exploring Operation: 4-3=1, Resulting Numbers: [37, 1] Generated Node #0,1,0: 10:[37, 1] Operation: 4-3=1 Exploring Operation: 37-3=34, Resulting Numbers: [4, 34] Generated Node #0,1,1: 10:[4, 34] Operation: 37-3=34 Exploring Operation: 3*4=12, Resulting Numbers: [37, 12] Generated Node #0,1,2: 10:[37, 12] Operation: 3*4=12 Exploring Operation: 3+4=7, Resulting Numbers: [37, 7] Generated Node #0,1,3: 10:[37, 7] Operation: 3+4=7 Exploring Operation: 37-4=33, Resulting Numbers: [3, 33] Generated Node #0,1,4: 10:[3, 33] Operation: 37-4=33 Moving to Node #0,3 Current State: 10:[22, 3, 51], Operations: ['88-37=51'] Exploring Operation: 22+3=25, Resulting Numbers: [51, 25] Generated Node #0,3,0: 10:[51, 25] Operation: 22+3=25 Exploring Operation: 51-22=29, Resulting Numbers: [3, 29] Generated Node #0,3,1: 10:[3, 29] Operation: 51-22=29 Exploring Operation: 51-3=48, Resulting Numbers: [22, 48] Generated Node #0,3,2: 10:[22, 48] Operation: 51-3=48 Exploring Operation: 51/3=17, Resulting Numbers: [22, 17] Generated Node #0,3,3: 10:[22, 17] Operation: 51/3=17 Exploring Operation: 22-3=19, Resulting Numbers: [51, 19] Generated Node #0,3,4: 10:[51, 19] Operation: 22-3=19 Moving to Node #0,0 Current State: 10:[37, 3, 66], Operations: ['88-22=66'] Exploring Operation: 37+3=40, Resulting Numbers: [66, 40] Generated Node #0,0,0: 10:[66, 40] Operation: 37+3=40 Exploring Operation: 66-3=63, Resulting Numbers: [37, 63] Generated Node #0,0,1: 10:[37, 63] Operation: 66-3=63 Exploring Operation: 66-37=29, Resulting Numbers: [3, 29] Generated Node #0,0,2: 10:[3, 29] Operation: 66-37=29 Exploring Operation: 37-3=34, Resulting Numbers: [66, 34] Generated Node #0,0,3: 10:[66, 34] Operation: 37-3=34 Exploring Operation: 66/3=22, Resulting Numbers: [37, 22] Generated Node #0,0,4: 10:[37, 22] Operation: 66/3=22 Moving to Node #0,4 Current State: 10:[88, 3, 15], Operations: ['37-22=15'] Exploring Operation: 88-15=73, Resulting Numbers: [3, 73] Generated Node #0,4,0: 10:[3, 73] Operation: 88-15=73 Exploring Operation: 15/3=5, Resulting Numbers: [88, 5] Generated Node #0,4,1: 10:[88, 5] Operation: 15/3=5 Exploring Operation: 88-3=85, Resulting Numbers: [15, 85] Generated Node #0,4,2: 10:[15, 85] Operation: 88-3=85 Exploring Operation: 88+3=91, Resulting Numbers: [15, 91] Generated Node #0,4,3: 10:[15, 91] Operation: 88+3=91 Exploring Operation: 15-3=12, Resulting Numbers: [88, 12] Generated Node #0,4,4: 10:[88, 12] Operation: 15-3=12 Moving to Node #0,2 Current State: 10:[22, 37, 85], Operations: ['88-3=85'] Exploring Operation: 85-22=63, Resulting Numbers: [37, 63] Generated Node #0,2,0: 10:[37, 63] Operation: 85-22=63 Exploring Operation: 85-37=48, Resulting Numbers: [22, 48] Generated Node #0,2,1: 10:[22, 48] Operation: 85-37=48 Exploring Operation: 37-22=15, Resulting Numbers: [85, 15] Generated Node #0,2,2: 10:[85, 15] Operation: 37-22=15 Exploring Operation: 22+85=107, Resulting Numbers: [37, 107] Generated Node #0,2,3: 10:[37, 107] Operation: 22+85=107 Exploring Operation: 22+37=59, Resulting Numbers: [85, 59] Generated Node #0,2,4: 10:[85, 59] Operation: 22+37=59 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[22, 48], Operations: ['88-3=85', '85-37=48'] Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 22+48=70, Resulting Numbers: [70] 70,10 unequal: No Solution Exploring Operation: 22*48=1056, Resulting Numbers: [1056] 1056,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[37, 63], Operations: ['88-3=85', '85-22=63'] Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,10 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 37*63=2331, Resulting Numbers: [2331] 2331,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[85, 15], Operations: ['88-3=85', '37-22=15'] Exploring Operation: 85*15=1275, Resulting Numbers: [1275] 1275,10 unequal: No Solution Exploring Operation: 85+15=100, Resulting Numbers: [100] 100,10 unequal: No Solution Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 10:[37, 107], Operations: ['88-3=85', '22+85=107'] Exploring Operation: 37+107=144, Resulting Numbers: [144] 144,10 unequal: No Solution Exploring Operation: 107-37=70, Resulting Numbers: [70] 70,10 unequal: No Solution Exploring Operation: 37*107=3959, Resulting Numbers: [3959] 3959,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 10:[85, 59], Operations: ['88-3=85', '22+37=59'] Exploring Operation: 85*59=5015, Resulting Numbers: [5015] 5015,10 unequal: No Solution Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 85+59=144, Resulting Numbers: [144] 144,10 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: 10:[22, 17], Operations: ['88-37=51', '51/3=17'] Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,10 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,10 unequal: No Solution Moving to Node #0,3,1 Current State: 10:[3, 29], Operations: ['88-37=51', '51-22=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,10 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[3, 29], Operations: ['88-22=66', '66-37=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,10 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,10 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,10 unequal: No Solution Moving to Node #0,1,4 Current State: 10:[3, 33], Operations: ['88/22=4', '37-4=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,10 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[4, 34], Operations: ['88/22=4', '37-3=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,10 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,10 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[37, 1], Operations: ['88/22=4', '4-3=1'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,10 unequal: No Solution Moving to Node #0,1,3 Current State: 10:[37, 7], Operations: ['88/22=4', '3+4=7'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,10 unequal: No Solution Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,10 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[37, 12], Operations: ['88/22=4', '3*4=12'] Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,10 unequal: No Solution Moving to Node #0,0,4 Current State: 10:[37, 22], Operations: ['88-22=66', '66/3=22'] Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 37+22=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 37*22=814, Resulting Numbers: [814] 814,10 unequal: No Solution Moving to Node #0,3,4 Current State: 10:[51, 19], Operations: ['88-37=51', '22-3=19'] Exploring Operation: 51*19=969, Resulting Numbers: [969] 969,10 unequal: No Solution Exploring Operation: 51+19=70, Resulting Numbers: [70] 70,10 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[22, 48], Operations: ['88-37=51', '51-3=48'] Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 22+48=70, Resulting Numbers: [70] 70,10 unequal: No Solution Exploring Operation: 22*48=1056, Resulting Numbers: [1056] 1056,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[51, 25], Operations: ['88-37=51', '22+3=25'] Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,10 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,10 unequal: No Solution Moving to Node #0,4,0 Current State: 10:[3, 73], Operations: ['37-22=15', '88-15=73'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,10 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,10 unequal: No Solution Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,10 unequal: No Solution Moving to Node #0,4,1 Current State: 10:[88, 5], Operations: ['37-22=15', '15/3=5'] Exploring Operation: 88*5=440, Resulting Numbers: [440] 440,10 unequal: No Solution Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,10 unequal: No Solution Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[66, 34], Operations: ['88-22=66', '37-3=34'] Exploring Operation: 66+34=100, Resulting Numbers: [100] 100,10 unequal: No Solution Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,10 unequal: No Solution Exploring Operation: 66*34=2244, Resulting Numbers: [2244] 2244,10 unequal: No Solution Moving to Node #0,4,2 Current State: 10:[15, 85], Operations: ['37-22=15', '88-3=85'] Exploring Operation: 15+85=100, Resulting Numbers: [100] 100,10 unequal: No Solution Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,10 unequal: No Solution Exploring Operation: 15*85=1275, Resulting Numbers: [1275] 1275,10 unequal: No Solution Moving to Node #0,4,4 Current State: 10:[88, 12], Operations: ['37-22=15', '15-3=12'] Exploring Operation: 88+12=100, Resulting Numbers: [100] 100,10 unequal: No Solution Exploring Operation: 88*12=1056, Resulting Numbers: [1056] 1056,10 unequal: No Solution Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[37, 63], Operations: ['88-22=66', '66-3=63'] Exploring Operation: 37*63=2331, Resulting Numbers: [2331] 2331,10 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,10 unequal: No Solution Moving to Node #0,4,3 Current State: 10:[15, 91], Operations: ['37-22=15', '88+3=91'] Exploring Operation: 15+91=106, Resulting Numbers: [106] 106,10 unequal: No Solution Exploring Operation: 15*91=1365, Resulting Numbers: [1365] 1365,10 unequal: No Solution Exploring Operation: 91-15=76, Resulting Numbers: [76] 76,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[66, 40], Operations: ['88-22=66', '37+3=40'] Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,10 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,10 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 32, 15, 43, 53 ]
79
[ "32-15=17", "43+53=96", "96-17=79" ]
Current State: 79:[32, 15, 43, 53], Operations: [] Exploring Operation: 32-15=17, Resulting Numbers: [43, 53, 17] Generated Node #2: [43, 53, 17] from Operation: 32-15=17 Current State: 79:[43, 53, 17], Operations: ['32-15=17'] Exploring Operation: 43+53=96, Resulting Numbers: [17, 96] Generated Node #3: [17, 96] from Operation: 43+53=96 Current State: 79:[17, 96], Operations: ['32-15=17', '43+53=96'] Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[32, 15, 43, 53], Operations: [] Exploring Operation: 32+15=47, Resulting Numbers: [43, 53, 47] Generated Node #0,0: 79:[43, 53, 47] Operation: 32+15=47 Exploring Operation: 15+43=58, Resulting Numbers: [32, 53, 58] Generated Node #0,1: 79:[32, 53, 58] Operation: 15+43=58 Exploring Operation: 15+53=68, Resulting Numbers: [32, 43, 68] Generated Node #0,2: 79:[32, 43, 68] Operation: 15+53=68 Exploring Operation: 32+43=75, Resulting Numbers: [15, 53, 75] Generated Node #0,3: 79:[15, 53, 75] Operation: 32+43=75 Exploring Operation: 32+53=85, Resulting Numbers: [15, 43, 85] Generated Node #0,4: 79:[15, 43, 85] Operation: 32+53=85 Moving to Node #0,0 Current State: 79:[43, 53, 47], Operations: ['32+15=47'] Exploring Operation: 43+47=90, Resulting Numbers: [53, 90] Generated Node #0,0,0: 79:[53, 90] Operation: 43+47=90 Exploring Operation: 53+47=100, Resulting Numbers: [43, 100] Generated Node #0,0,1: 79:[43, 100] Operation: 53+47=100 Exploring Operation: 53-43=10, Resulting Numbers: [47, 10] Generated Node #0,0,2: 79:[47, 10] Operation: 53-43=10 Exploring Operation: 43+53=96, Resulting Numbers: [47, 96] Generated Node #0,0,3: 79:[47, 96] Operation: 43+53=96 Exploring Operation: 47-43=4, Resulting Numbers: [53, 4] Generated Node #0,0,4: 79:[53, 4] Operation: 47-43=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[53, 90], Operations: ['32+15=47', '43+47=90'] Exploring Operation: 90-53=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 53*90=4770, Resulting Numbers: [4770] 4770,79 unequal: No Solution Exploring Operation: 53+90=143, Resulting Numbers: [143] 143,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 79:[47, 96], Operations: ['32+15=47', '43+53=96'] Exploring Operation: 47+96=143, Resulting Numbers: [143] 143,79 unequal: No Solution Exploring Operation: 47*96=4512, Resulting Numbers: [4512] 4512,79 unequal: No Solution Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[43, 100], Operations: ['32+15=47', '53+47=100'] Exploring Operation: 43+100=143, Resulting Numbers: [143] 143,79 unequal: No Solution Exploring Operation: 100-43=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 43*100=4300, Resulting Numbers: [4300] 4300,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[47, 10], Operations: ['32+15=47', '53-43=10'] Exploring Operation: 47+10=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 47*10=470, Resulting Numbers: [470] 470,79 unequal: No Solution Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 79:[53, 4], Operations: ['32+15=47', '47-43=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,79 unequal: No Solution Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,79 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 79:[32, 43, 68], Operations: ['15+53=68'] Exploring Operation: 43-32=11, Resulting Numbers: [68, 11] Generated Node #0,2,0: 79:[68, 11] Operation: 43-32=11 Exploring Operation: 32+43=75, Resulting Numbers: [68, 75] Generated Node #0,2,1: 79:[68, 75] Operation: 32+43=75 Exploring Operation: 43+68=111, Resulting Numbers: [32, 111] Generated Node #0,2,2: 79:[32, 111] Operation: 43+68=111 Exploring Operation: 68-32=36, Resulting Numbers: [43, 36] Generated Node #0,2,3: 79:[43, 36] Operation: 68-32=36 Exploring Operation: 32+68=100, Resulting Numbers: [43, 100] Generated Node #0,2,4: 79:[43, 100] Operation: 32+68=100 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[68, 75], Operations: ['15+53=68', '32+43=75'] Exploring Operation: 68+75=143, Resulting Numbers: [143] 143,79 unequal: No Solution Exploring Operation: 68*75=5100, Resulting Numbers: [5100] 5100,79 unequal: No Solution Exploring Operation: 75-68=7, Resulting Numbers: [7] 7,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 79:[43, 100], Operations: ['15+53=68', '32+68=100'] Exploring Operation: 43*100=4300, Resulting Numbers: [4300] 4300,79 unequal: No Solution Exploring Operation: 43+100=143, Resulting Numbers: [143] 143,79 unequal: No Solution Exploring Operation: 100-43=57, Resulting Numbers: [57] 57,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[68, 11], Operations: ['15+53=68', '43-32=11'] Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[32, 15, 43, 53], Operations: [] Exploring Operation: 15+53=68, Resulting Numbers: [32, 43, 68] Generated Node #0,2: 79:[32, 43, 68] Operation: 15+53=68 Moving to Node #0,2 Current State: 79:[32, 43, 68], Operations: ['15+53=68'] Exploring Operation: 43-32=11, Resulting Numbers: [68, 11] Generated Node #0,2,0: 79:[68, 11] Operation: 43-32=11 Moving to Node #0,2,0 Current State: 79:[68, 11], Operations: ['15+53=68', '43-32=11'] Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 85, 39, 2, 50 ]
21
[ "85-39=46", "50/2=25", "46-25=21" ]
Current State: 21:[85, 39, 2, 50], Operations: [] Exploring Operation: 85-39=46, Resulting Numbers: [2, 50, 46] Generated Node #2: [2, 50, 46] from Operation: 85-39=46 Current State: 21:[2, 50, 46], Operations: ['85-39=46'] Exploring Operation: 50/2=25, Resulting Numbers: [46, 25] Generated Node #3: [46, 25] from Operation: 50/2=25 Current State: 21:[46, 25], Operations: ['85-39=46', '50/2=25'] Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[85, 39, 2, 50], Operations: [] Exploring Operation: 85-39=46, Resulting Numbers: [2, 50, 46] Generated Node #0,0: 21:[2, 50, 46] Operation: 85-39=46 Exploring Operation: 85-50=35, Resulting Numbers: [39, 2, 35] Generated Node #0,1: 21:[39, 2, 35] Operation: 85-50=35 Moving to Node #0,1 Current State: 21:[39, 2, 35], Operations: ['85-50=35'] Exploring Operation: 39-35=4, Resulting Numbers: [2, 4] Generated Node #0,1,0: 21:[2, 4] Operation: 39-35=4 Exploring Operation: 39-2=37, Resulting Numbers: [35, 37] Generated Node #0,1,1: 21:[35, 37] Operation: 39-2=37 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[2, 4], Operations: ['85-50=35', '39-35=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[35, 37], Operations: ['85-50=35', '39-2=37'] Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,21 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 21:[2, 50, 46], Operations: ['85-39=46'] Exploring Operation: 50-46=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 21:[2, 4] Operation: 50-46=4 Exploring Operation: 50/2=25, Resulting Numbers: [46, 25] Generated Node #0,0,1: 21:[46, 25] Operation: 50/2=25 Moving to Node #0,0,0 Current State: 21:[2, 4], Operations: ['85-39=46', '50-46=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[46, 25], Operations: ['85-39=46', '50/2=25'] Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,21 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[85, 39, 2, 50], Operations: [] Exploring Operation: 85-39=46, Resulting Numbers: [2, 50, 46] Generated Node #0,0: 21:[2, 50, 46] Operation: 85-39=46 Moving to Node #0,0 Current State: 21:[2, 50, 46], Operations: ['85-39=46'] Exploring Operation: 50/2=25, Resulting Numbers: [46, 25] Generated Node #0,0,1: 21:[46, 25] Operation: 50/2=25 Moving to Node #0,0,1 Current State: 21:[46, 25], Operations: ['85-39=46', '50/2=25'] Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 67, 53, 92, 19 ]
87
[ "67-53=14", "92-19=73", "14+73=87" ]
Current State: 87:[67, 53, 92, 19], Operations: [] Exploring Operation: 67-53=14, Resulting Numbers: [92, 19, 14] Generated Node #2: [92, 19, 14] from Operation: 67-53=14 Current State: 87:[92, 19, 14], Operations: ['67-53=14'] Exploring Operation: 92-19=73, Resulting Numbers: [14, 73] Generated Node #3: [14, 73] from Operation: 92-19=73 Current State: 87:[14, 73], Operations: ['67-53=14', '92-19=73'] Exploring Operation: 14+73=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[67, 53, 92, 19], Operations: [] Exploring Operation: 67-53=14, Resulting Numbers: [92, 19, 14] Generated Node #0,0: 87:[92, 19, 14] Operation: 67-53=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[92, 19, 14], Operations: ['67-53=14'] Exploring Operation: 19-14=5, Resulting Numbers: [92, 5] Generated Node #0,0,0: 87:[92, 5] Operation: 19-14=5 Moving to Node #0,0,0 Current State: 87:[92, 5], Operations: ['67-53=14', '19-14=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[67, 53, 92, 19], Operations: [] Exploring Operation: 67-53=14, Resulting Numbers: [92, 19, 14] Generated Node #0,0: 87:[92, 19, 14] Operation: 67-53=14 Moving to Node #0,0 Current State: 87:[92, 19, 14], Operations: ['67-53=14'] Exploring Operation: 19-14=5, Resulting Numbers: [92, 5] Generated Node #0,0,0: 87:[92, 5] Operation: 19-14=5 Moving to Node #0,0,0 Current State: 87:[92, 5], Operations: ['67-53=14', '19-14=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 1, 31, 88, 17 ]
74
[ "1*31=31", "88+17=105", "105-31=74" ]
Current State: 74:[1, 31, 88, 17], Operations: [] Exploring Operation: 1*31=31, Resulting Numbers: [88, 17, 31] Generated Node #2: [88, 17, 31] from Operation: 1*31=31 Current State: 74:[88, 17, 31], Operations: ['1*31=31'] Exploring Operation: 88+17=105, Resulting Numbers: [31, 105] Generated Node #3: [31, 105] from Operation: 88+17=105 Current State: 74:[31, 105], Operations: ['1*31=31', '88+17=105'] Exploring Operation: 105-31=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[1, 31, 88, 17], Operations: [] Exploring Operation: 31-17=14, Resulting Numbers: [1, 88, 14] Generated Node #0,0: 74:[1, 88, 14] Operation: 31-17=14 Exploring Operation: 88-17=71, Resulting Numbers: [1, 31, 71] Generated Node #0,1: 74:[1, 31, 71] Operation: 88-17=71 Exploring Operation: 88-31=57, Resulting Numbers: [1, 17, 57] Generated Node #0,2: 74:[1, 17, 57] Operation: 88-31=57 Exploring Operation: 31+17=48, Resulting Numbers: [1, 88, 48] Generated Node #0,3: 74:[1, 88, 48] Operation: 31+17=48 Moving to Node #0,1 Current State: 74:[1, 31, 71], Operations: ['88-17=71'] Exploring Operation: 71-31=40, Resulting Numbers: [1, 40] Generated Node #0,1,0: 74:[1, 40] Operation: 71-31=40 Exploring Operation: 1+71=72, Resulting Numbers: [31, 72] Generated Node #0,1,1: 74:[31, 72] Operation: 1+71=72 Exploring Operation: 1+31=32, Resulting Numbers: [71, 32] Generated Node #0,1,2: 74:[71, 32] Operation: 1+31=32 Exploring Operation: 1*31=31, Resulting Numbers: [71, 31] Generated Node #0,1,3: 74:[71, 31] Operation: 1*31=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[1, 40], Operations: ['88-17=71', '71-31=40'] Exploring Operation: 1+40=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,74 unequal: No Solution Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,74 unequal: No Solution Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[31, 72], Operations: ['88-17=71', '1+71=72'] Exploring Operation: 31+72=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 31*72=2232, Resulting Numbers: [2232] 2232,74 unequal: No Solution Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[71, 32], Operations: ['88-17=71', '1+31=32'] Exploring Operation: 71*32=2272, Resulting Numbers: [2272] 2272,74 unequal: No Solution Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,74 unequal: No Solution Exploring Operation: 71+32=103, Resulting Numbers: [103] 103,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 74:[71, 31], Operations: ['88-17=71', '1*31=31'] Exploring Operation: 71*31=2201, Resulting Numbers: [2201] 2201,74 unequal: No Solution Exploring Operation: 71+31=102, Resulting Numbers: [102] 102,74 unequal: No Solution Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,74 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: 74:[1, 88, 48], Operations: ['31+17=48'] Exploring Operation: 88-1=87, Resulting Numbers: [48, 87] Generated Node #0,3,0: 74:[48, 87] Operation: 88-1=87 Exploring Operation: 1*88=88, Resulting Numbers: [48, 88] Generated Node #0,3,1: 74:[48, 88] Operation: 1*88=88 Exploring Operation: 48-1=47, Resulting Numbers: [88, 47] Generated Node #0,3,2: 74:[88, 47] Operation: 48-1=47 Exploring Operation: 88-48=40, Resulting Numbers: [1, 40] Generated Node #0,3,3: 74:[1, 40] Operation: 88-48=40 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[1, 40], Operations: ['31+17=48', '88-48=40'] Exploring Operation: 1+40=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,74 unequal: No Solution Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,74 unequal: No Solution Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[48, 87], Operations: ['31+17=48', '88-1=87'] Exploring Operation: 48*87=4176, Resulting Numbers: [4176] 4176,74 unequal: No Solution Exploring Operation: 48+87=135, Resulting Numbers: [135] 135,74 unequal: No Solution Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[88, 47], Operations: ['31+17=48', '48-1=47'] Exploring Operation: 88*47=4136, Resulting Numbers: [4136] 4136,74 unequal: No Solution Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,74 unequal: No Solution Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[48, 88], Operations: ['31+17=48', '1*88=88'] Exploring Operation: 88-48=40, Resulting Numbers: [40] 40,74 unequal: No Solution Exploring Operation: 48+88=136, Resulting Numbers: [136] 136,74 unequal: No Solution Exploring Operation: 48*88=4224, Resulting Numbers: [4224] 4224,74 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: 74:[1, 88, 14], Operations: ['31-17=14'] Exploring Operation: 88-14=74, Resulting Numbers: [1, 74] Generated Node #0,0,0: 74:[1, 74] Operation: 88-14=74 Exploring Operation: 14-1=13, Resulting Numbers: [88, 13] Generated Node #0,0,1: 74:[88, 13] Operation: 14-1=13 Exploring Operation: 1*88=88, Resulting Numbers: [14, 88] Generated Node #0,0,2: 74:[14, 88] Operation: 1*88=88 Exploring Operation: 88-1=87, Resulting Numbers: [14, 87] Generated Node #0,0,3: 74:[14, 87] Operation: 88-1=87 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[1, 74], Operations: ['31-17=14', '88-14=74'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[1, 31, 88, 17], Operations: [] Exploring Operation: 31-17=14, Resulting Numbers: [1, 88, 14] Generated Node #0,0: 74:[1, 88, 14] Operation: 31-17=14 Moving to Node #0,0 Current State: 74:[1, 88, 14], Operations: ['31-17=14'] Exploring Operation: 88-14=74, Resulting Numbers: [1, 74] Generated Node #0,0,0: 74:[1, 74] Operation: 88-14=74 Moving to Node #0,0,0 Current State: 74:[1, 74], Operations: ['31-17=14', '88-14=74'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_4
sum_heuristic
[ 26, 77, 78, 12 ]
73
[ "78/26=3", "12/3=4", "77-4=73" ]
Current State: 73:[26, 77, 78, 12], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [77, 12, 3] Generated Node #2: [77, 12, 3] from Operation: 78/26=3 Current State: 73:[77, 12, 3], Operations: ['78/26=3'] Exploring Operation: 12/3=4, Resulting Numbers: [77, 4] Generated Node #3: [77, 4] from Operation: 12/3=4 Current State: 73:[77, 4], Operations: ['78/26=3', '12/3=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[26, 77, 78, 12], Operations: [] Exploring Operation: 26-12=14, Resulting Numbers: [77, 78, 14] Generated Node #0,0: 73:[77, 78, 14] Operation: 26-12=14 Exploring Operation: 78-12=66, Resulting Numbers: [26, 77, 66] Generated Node #0,1: 73:[26, 77, 66] Operation: 78-12=66 Exploring Operation: 77-12=65, Resulting Numbers: [26, 78, 65] Generated Node #0,2: 73:[26, 78, 65] Operation: 77-12=65 Exploring Operation: 26+12=38, Resulting Numbers: [77, 78, 38] Generated Node #0,3: 73:[77, 78, 38] Operation: 26+12=38 Exploring Operation: 77+12=89, Resulting Numbers: [26, 78, 89] Generated Node #0,4: 73:[26, 78, 89] Operation: 77+12=89 Moving to Node #0,3 Current State: 73:[77, 78, 38], Operations: ['26+12=38'] Exploring Operation: 77-38=39, Resulting Numbers: [78, 39] Generated Node #0,3,0: 73:[78, 39] Operation: 77-38=39 Exploring Operation: 77+38=115, Resulting Numbers: [78, 115] Generated Node #0,3,1: 73:[78, 115] Operation: 77+38=115 Exploring Operation: 78-38=40, Resulting Numbers: [77, 40] Generated Node #0,3,2: 73:[77, 40] Operation: 78-38=40 Exploring Operation: 78-77=1, Resulting Numbers: [38, 1] Generated Node #0,3,3: 73:[38, 1] Operation: 78-77=1 Exploring Operation: 78+38=116, Resulting Numbers: [77, 116] Generated Node #0,3,4: 73:[77, 116] Operation: 78+38=116 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[77, 40], Operations: ['26+12=38', '78-38=40'] Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,73 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,73 unequal: No Solution Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,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,3,0 Current State: 73:[78, 39], Operations: ['26+12=38', '77-38=39'] Exploring Operation: 78*39=3042, Resulting Numbers: [3042] 3042,73 unequal: No Solution Exploring Operation: 78+39=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,73 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,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,3,1 Current State: 73:[78, 115], Operations: ['26+12=38', '77+38=115'] Exploring Operation: 78+115=193, Resulting Numbers: [193] 193,73 unequal: No Solution Exploring Operation: 78*115=8970, Resulting Numbers: [8970] 8970,73 unequal: No Solution Exploring Operation: 115-78=37, Resulting Numbers: [37] 37,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,3,4 Current State: 73:[77, 116], Operations: ['26+12=38', '78+38=116'] Exploring Operation: 77*116=8932, Resulting Numbers: [8932] 8932,73 unequal: No Solution Exploring Operation: 116-77=39, Resulting Numbers: [39] 39,73 unequal: No Solution Exploring Operation: 77+116=193, Resulting Numbers: [193] 193,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,3,3 Current State: 73:[38, 1], Operations: ['26+12=38', '78-77=1'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,73 unequal: No Solution Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 73:[26, 77, 66], Operations: ['78-12=66'] Exploring Operation: 77-26=51, Resulting Numbers: [66, 51] Generated Node #0,1,0: 73:[66, 51] Operation: 77-26=51 Exploring Operation: 26+66=92, Resulting Numbers: [77, 92] Generated Node #0,1,1: 73:[77, 92] Operation: 26+66=92 Exploring Operation: 26+77=103, Resulting Numbers: [66, 103] Generated Node #0,1,2: 73:[66, 103] Operation: 26+77=103 Exploring Operation: 77-66=11, Resulting Numbers: [26, 11] Generated Node #0,1,3: 73:[26, 11] Operation: 77-66=11 Exploring Operation: 66-26=40, Resulting Numbers: [77, 40] Generated Node #0,1,4: 73:[77, 40] Operation: 66-26=40 Moving to Node #0,2 Current State: 73:[26, 78, 65], Operations: ['77-12=65'] Exploring Operation: 65-26=39, Resulting Numbers: [78, 39] Generated Node #0,2,0: 73:[78, 39] Operation: 65-26=39 Exploring Operation: 78-26=52, Resulting Numbers: [65, 52] Generated Node #0,2,1: 73:[65, 52] Operation: 78-26=52 Exploring Operation: 26+78=104, Resulting Numbers: [65, 104] Generated Node #0,2,2: 73:[65, 104] Operation: 26+78=104 Exploring Operation: 26+65=91, Resulting Numbers: [78, 91] Generated Node #0,2,3: 73:[78, 91] Operation: 26+65=91 Exploring Operation: 78/26=3, Resulting Numbers: [65, 3] Generated Node #0,2,4: 73:[65, 3] Operation: 78/26=3 Moving to Node #0,0 Current State: 73:[77, 78, 14], Operations: ['26-12=14'] Exploring Operation: 78+14=92, Resulting Numbers: [77, 92] Generated Node #0,0,0: 73:[77, 92] Operation: 78+14=92 Exploring Operation: 78-14=64, Resulting Numbers: [77, 64] Generated Node #0,0,1: 73:[77, 64] Operation: 78-14=64 Exploring Operation: 77+14=91, Resulting Numbers: [78, 91] Generated Node #0,0,2: 73:[78, 91] Operation: 77+14=91 Exploring Operation: 78-77=1, Resulting Numbers: [14, 1] Generated Node #0,0,3: 73:[14, 1] Operation: 78-77=1 Exploring Operation: 77-14=63, Resulting Numbers: [78, 63] Generated Node #0,0,4: 73:[78, 63] Operation: 77-14=63 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[77, 64], Operations: ['26-12=14', '78-14=64'] Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 77*64=4928, Resulting Numbers: [4928] 4928,73 unequal: No Solution Exploring Operation: 77+64=141, Resulting Numbers: [141] 141,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 73:[78, 63], Operations: ['26-12=14', '77-14=63'] Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,73 unequal: No Solution Exploring Operation: 78*63=4914, Resulting Numbers: [4914] 4914,73 unequal: No Solution Exploring Operation: 78+63=141, Resulting Numbers: [141] 141,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[77, 92], Operations: ['26-12=14', '78+14=92'] Exploring Operation: 77+92=169, Resulting Numbers: [169] 169,73 unequal: No Solution Exploring Operation: 77*92=7084, Resulting Numbers: [7084] 7084,73 unequal: No Solution Exploring Operation: 92-77=15, Resulting Numbers: [15] 15,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[78, 91], Operations: ['26-12=14', '77+14=91'] Exploring Operation: 91-78=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 78*91=7098, Resulting Numbers: [7098] 7098,73 unequal: No Solution Exploring Operation: 78+91=169, Resulting Numbers: [169] 169,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 73:[14, 1], Operations: ['26-12=14', '78-77=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,73 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 73:[26, 78, 89], Operations: ['77+12=89'] Exploring Operation: 26+89=115, Resulting Numbers: [78, 115] Generated Node #0,4,0: 73:[78, 115] Operation: 26+89=115 Exploring Operation: 78/26=3, Resulting Numbers: [89, 3] Generated Node #0,4,1: 73:[89, 3] Operation: 78/26=3 Exploring Operation: 26+78=104, Resulting Numbers: [89, 104] Generated Node #0,4,2: 73:[89, 104] Operation: 26+78=104 Exploring Operation: 89-26=63, Resulting Numbers: [78, 63] Generated Node #0,4,3: 73:[78, 63] Operation: 89-26=63 Exploring Operation: 78-26=52, Resulting Numbers: [89, 52] Generated Node #0,4,4: 73:[89, 52] Operation: 78-26=52 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 73:[78, 63], Operations: ['77+12=89', '89-26=63'] Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,73 unequal: No Solution Exploring Operation: 78*63=4914, Resulting Numbers: [4914] 4914,73 unequal: No Solution Exploring Operation: 78+63=141, Resulting Numbers: [141] 141,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,4,4 Current State: 73:[89, 52], Operations: ['77+12=89', '78-26=52'] Exploring Operation: 89+52=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 89*52=4628, Resulting Numbers: [4628] 4628,73 unequal: No Solution Exploring Operation: 89-52=37, Resulting Numbers: [37] 37,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,4,0 Current State: 73:[78, 115], Operations: ['77+12=89', '26+89=115'] Exploring Operation: 78*115=8970, Resulting Numbers: [8970] 8970,73 unequal: No Solution Exploring Operation: 78+115=193, Resulting Numbers: [193] 193,73 unequal: No Solution Exploring Operation: 115-78=37, Resulting Numbers: [37] 37,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,4,2 Current State: 73:[89, 104], Operations: ['77+12=89', '26+78=104'] Exploring Operation: 89+104=193, Resulting Numbers: [193] 193,73 unequal: No Solution Exploring Operation: 89*104=9256, Resulting Numbers: [9256] 9256,73 unequal: No Solution Exploring Operation: 104-89=15, Resulting Numbers: [15] 15,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,4,1 Current State: 73:[89, 3], Operations: ['77+12=89', '78/26=3'] Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,73 unequal: No Solution Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,73 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 73:[77, 92], Operations: ['78-12=66', '26+66=92'] Exploring Operation: 77+92=169, Resulting Numbers: [169] 169,73 unequal: No Solution Exploring Operation: 77*92=7084, Resulting Numbers: [7084] 7084,73 unequal: No Solution Exploring Operation: 92-77=15, Resulting Numbers: [15] 15,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[78, 91], Operations: ['77-12=65', '26+65=91'] Exploring Operation: 91-78=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 78+91=169, Resulting Numbers: [169] 169,73 unequal: No Solution Exploring Operation: 78*91=7098, Resulting Numbers: [7098] 7098,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[65, 52], Operations: ['77-12=65', '78-26=52'] Exploring Operation: 65*52=3380, Resulting Numbers: [3380] 3380,73 unequal: No Solution Exploring Operation: 65+52=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[66, 51], Operations: ['78-12=66', '77-26=51'] Exploring Operation: 66*51=3366, Resulting Numbers: [3366] 3366,73 unequal: No Solution Exploring Operation: 66+51=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[66, 103], Operations: ['78-12=66', '26+77=103'] Exploring Operation: 66+103=169, Resulting Numbers: [169] 169,73 unequal: No Solution Exploring Operation: 103-66=37, Resulting Numbers: [37] 37,73 unequal: No Solution Exploring Operation: 66*103=6798, Resulting Numbers: [6798] 6798,73 unequal: No Solution Moving to Node #0,1,4 Current State: 73:[77, 40], Operations: ['78-12=66', '66-26=40'] Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,73 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,73 unequal: No Solution Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[65, 104], Operations: ['77-12=65', '26+78=104'] Exploring Operation: 104-65=39, Resulting Numbers: [39] 39,73 unequal: No Solution Exploring Operation: 65*104=6760, Resulting Numbers: [6760] 6760,73 unequal: No Solution Exploring Operation: 65+104=169, Resulting Numbers: [169] 169,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[78, 39], Operations: ['77-12=65', '65-26=39'] Exploring Operation: 78+39=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 78*39=3042, Resulting Numbers: [3042] 3042,73 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,73 unequal: No Solution Moving to Node #0,2,4 Current State: 73:[65, 3], Operations: ['77-12=65', '78/26=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,73 unequal: No Solution Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,73 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[26, 11], Operations: ['78-12=66', '77-66=11'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,73 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,73 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,73 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 55, 4, 55, 10 ]
96
[ "55-4=51", "55-10=45", "51+45=96" ]
Current State: 96:[55, 4, 55, 10], Operations: [] Exploring Operation: 55-4=51, Resulting Numbers: [10, 51] Generated Node #2: [10, 51] from Operation: 55-4=51 Current State: 96:[10, 51], Operations: ['55-4=51'] Exploring Operation: 55-10=45, Resulting Numbers: [51, 45] Generated Node #3: [51, 45] from Operation: 55-10=45 Current State: 96:[51, 45], Operations: ['55-4=51', '55-10=45'] Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[55, 4, 55, 10], Operations: [] Exploring Operation: 55-55=0, Resulting Numbers: [4, 10, 0] Generated Node #0,0: 96:[4, 10, 0] Operation: 55-55=0 Exploring Operation: 55/55=1, Resulting Numbers: [4, 10, 1] Generated Node #0,1: 96:[4, 10, 1] Operation: 55/55=1 Exploring Operation: 55-10=45, Resulting Numbers: [4, 55, 45] Generated Node #0,2: 96:[4, 55, 45] Operation: 55-10=45 Moving to Node #0,1 Current State: 96:[4, 10, 1], Operations: ['55/55=1'] Exploring Operation: 10-1=9, Resulting Numbers: [4, 9] Generated Node #0,1,0: 96:[4, 9] Operation: 10-1=9 Exploring Operation: 10+1=11, Resulting Numbers: [4, 11] Generated Node #0,1,1: 96:[4, 11] Operation: 10+1=11 Exploring Operation: 10-4=6, Resulting Numbers: [1, 6] Generated Node #0,1,2: 96:[1, 6] Operation: 10-4=6 Moving to Node #0,0 Current State: 96:[4, 10, 0], Operations: ['55-55=0'] Exploring Operation: 10-4=6, Resulting Numbers: [0, 6] Generated Node #0,0,0: 96:[0, 6] Operation: 10-4=6 Exploring Operation: 4-0=4, Resulting Numbers: [10, 4] Generated Node #0,0,1: 96:[10, 4] Operation: 4-0=4 Exploring Operation: 4+0=4, Resulting Numbers: [10, 4] Generated Node #0,0,2: 96:[10, 4] Operation: 4+0=4 Moving to Node #0,2 Current State: 96:[4, 55, 45], Operations: ['55-10=45'] Exploring Operation: 55+45=100, Resulting Numbers: [4, 100] Generated Node #0,2,0: 96:[4, 100] Operation: 55+45=100 Exploring Operation: 55-45=10, Resulting Numbers: [4, 10] Generated Node #0,2,1: 96:[4, 10] Operation: 55-45=10 Exploring Operation: 55-4=51, Resulting Numbers: [45, 51] Generated Node #0,2,2: 96:[45, 51] Operation: 55-4=51 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[4, 10], Operations: ['55-10=45', '55-45=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,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,2,0 Current State: 96:[4, 100], Operations: ['55-10=45', '55+45=100'] Exploring Operation: 100-4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[55, 4, 55, 10], Operations: [] Exploring Operation: 55-10=45, Resulting Numbers: [4, 55, 45] Generated Node #0,2: 96:[4, 55, 45] Operation: 55-10=45 Moving to Node #0,2 Current State: 96:[4, 55, 45], Operations: ['55-10=45'] Exploring Operation: 55+45=100, Resulting Numbers: [4, 100] Generated Node #0,2,0: 96:[4, 100] Operation: 55+45=100 Moving to Node #0,2,0 Current State: 96:[4, 100], Operations: ['55-10=45', '55+45=100'] Exploring Operation: 100-4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_3
sum_heuristic
[ 3, 23, 71, 88 ]
18
[ "23+71=94", "94-88=6", "3*6=18" ]
Current State: 18:[3, 23, 71, 88], Operations: [] Exploring Operation: 23+71=94, Resulting Numbers: [3, 88, 94] Generated Node #2: [3, 88, 94] from Operation: 23+71=94 Current State: 18:[3, 88, 94], Operations: ['23+71=94'] Exploring Operation: 94-88=6, Resulting Numbers: [3, 6] Generated Node #3: [3, 6] from Operation: 94-88=6 Current State: 18:[3, 6], Operations: ['23+71=94', '94-88=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[3, 23, 71, 88], Operations: [] Exploring Operation: 23-3=20, Resulting Numbers: [71, 88, 20] Generated Node #0,0: 18:[71, 88, 20] Operation: 23-3=20 Exploring Operation: 88-23=65, Resulting Numbers: [3, 71, 65] Generated Node #0,1: 18:[3, 71, 65] Operation: 88-23=65 Exploring Operation: 88-71=17, Resulting Numbers: [3, 23, 17] Generated Node #0,2: 18:[3, 23, 17] Operation: 88-71=17 Exploring Operation: 71-23=48, Resulting Numbers: [3, 88, 48] Generated Node #0,3: 18:[3, 88, 48] Operation: 71-23=48 Exploring Operation: 71-3=68, Resulting Numbers: [23, 88, 68] Generated Node #0,4: 18:[23, 88, 68] Operation: 71-3=68 Moving to Node #0,2 Current State: 18:[3, 23, 17], Operations: ['88-71=17'] Exploring Operation: 3+17=20, Resulting Numbers: [23, 20] Generated Node #0,2,0: 18:[23, 20] Operation: 3+17=20 Exploring Operation: 23-3=20, Resulting Numbers: [17, 20] Generated Node #0,2,1: 18:[17, 20] Operation: 23-3=20 Exploring Operation: 23-17=6, Resulting Numbers: [3, 6] Generated Node #0,2,2: 18:[3, 6] Operation: 23-17=6 Exploring Operation: 3+23=26, Resulting Numbers: [17, 26] Generated Node #0,2,3: 18:[17, 26] Operation: 3+23=26 Exploring Operation: 17-3=14, Resulting Numbers: [23, 14] Generated Node #0,2,4: 18:[23, 14] Operation: 17-3=14 Moving to Node #0,3 Current State: 18:[3, 88, 48], Operations: ['71-23=48'] Exploring Operation: 88-3=85, Resulting Numbers: [48, 85] Generated Node #0,3,0: 18:[48, 85] Operation: 88-3=85 Exploring Operation: 88-48=40, Resulting Numbers: [3, 40] Generated Node #0,3,1: 18:[3, 40] Operation: 88-48=40 Exploring Operation: 48/3=16, Resulting Numbers: [88, 16] Generated Node #0,3,2: 18:[88, 16] Operation: 48/3=16 Exploring Operation: 48-3=45, Resulting Numbers: [88, 45] Generated Node #0,3,3: 18:[88, 45] Operation: 48-3=45 Exploring Operation: 3+88=91, Resulting Numbers: [48, 91] Generated Node #0,3,4: 18:[48, 91] Operation: 3+88=91 Moving to Node #0,1 Current State: 18:[3, 71, 65], Operations: ['88-23=65'] Exploring Operation: 65-3=62, Resulting Numbers: [71, 62] Generated Node #0,1,0: 18:[71, 62] Operation: 65-3=62 Exploring Operation: 3+65=68, Resulting Numbers: [71, 68] Generated Node #0,1,1: 18:[71, 68] Operation: 3+65=68 Exploring Operation: 71-65=6, Resulting Numbers: [3, 6] Generated Node #0,1,2: 18:[3, 6] Operation: 71-65=6 Exploring Operation: 3+71=74, Resulting Numbers: [65, 74] Generated Node #0,1,3: 18:[65, 74] Operation: 3+71=74 Exploring Operation: 71-3=68, Resulting Numbers: [65, 68] Generated Node #0,1,4: 18:[65, 68] Operation: 71-3=68 Moving to Node #0,0 Current State: 18:[71, 88, 20], Operations: ['23-3=20'] Exploring Operation: 71+20=91, Resulting Numbers: [88, 91] Generated Node #0,0,0: 18:[88, 91] Operation: 71+20=91 Exploring Operation: 88-71=17, Resulting Numbers: [20, 17] Generated Node #0,0,1: 18:[20, 17] Operation: 88-71=17 Exploring Operation: 71-20=51, Resulting Numbers: [88, 51] Generated Node #0,0,2: 18:[88, 51] Operation: 71-20=51 Exploring Operation: 71+88=159, Resulting Numbers: [20, 159] Generated Node #0,0,3: 18:[20, 159] Operation: 71+88=159 Exploring Operation: 88-20=68, Resulting Numbers: [71, 68] Generated Node #0,0,4: 18:[71, 68] Operation: 88-20=68 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[20, 17], Operations: ['23-3=20', '88-71=17'] Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,18 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 18:[88, 51], Operations: ['23-3=20', '71-20=51'] Exploring Operation: 88+51=139, Resulting Numbers: [139] 139,18 unequal: No Solution Exploring Operation: 88*51=4488, Resulting Numbers: [4488] 4488,18 unequal: No Solution Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 18:[71, 68], Operations: ['23-3=20', '88-20=68'] Exploring Operation: 71*68=4828, Resulting Numbers: [4828] 4828,18 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 71+68=139, Resulting Numbers: [139] 139,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[88, 91], Operations: ['23-3=20', '71+20=91'] Exploring Operation: 88+91=179, Resulting Numbers: [179] 179,18 unequal: No Solution Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 88*91=8008, Resulting Numbers: [8008] 8008,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 18:[20, 159], Operations: ['23-3=20', '71+88=159'] Exploring Operation: 159-20=139, Resulting Numbers: [139] 139,18 unequal: No Solution Exploring Operation: 20*159=3180, Resulting Numbers: [3180] 3180,18 unequal: No Solution Exploring Operation: 20+159=179, Resulting Numbers: [179] 179,18 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: 18:[23, 88, 68], Operations: ['71-3=68'] Exploring Operation: 23+68=91, Resulting Numbers: [88, 91] Generated Node #0,4,0: 18:[88, 91] Operation: 23+68=91 Exploring Operation: 88-23=65, Resulting Numbers: [68, 65] Generated Node #0,4,1: 18:[68, 65] Operation: 88-23=65 Exploring Operation: 23+88=111, Resulting Numbers: [68, 111] Generated Node #0,4,2: 18:[68, 111] Operation: 23+88=111 Exploring Operation: 68-23=45, Resulting Numbers: [88, 45] Generated Node #0,4,3: 18:[88, 45] Operation: 68-23=45 Exploring Operation: 88-68=20, Resulting Numbers: [23, 20] Generated Node #0,4,4: 18:[23, 20] Operation: 88-68=20 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 18:[23, 20], Operations: ['71-3=68', '88-68=20'] Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,18 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,18 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 18:[68, 65], Operations: ['71-3=68', '88-23=65'] Exploring Operation: 68+65=133, Resulting Numbers: [133] 133,18 unequal: No Solution Exploring Operation: 68*65=4420, Resulting Numbers: [4420] 4420,18 unequal: No Solution Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 18:[88, 45], Operations: ['71-3=68', '68-23=45'] Exploring Operation: 88*45=3960, Resulting Numbers: [3960] 3960,18 unequal: No Solution Exploring Operation: 88+45=133, Resulting Numbers: [133] 133,18 unequal: No Solution Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 18:[88, 91], Operations: ['71-3=68', '23+68=91'] Exploring Operation: 88+91=179, Resulting Numbers: [179] 179,18 unequal: No Solution Exploring Operation: 88*91=8008, Resulting Numbers: [8008] 8008,18 unequal: No Solution Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 18:[68, 111], Operations: ['71-3=68', '23+88=111'] Exploring Operation: 68*111=7548, Resulting Numbers: [7548] 7548,18 unequal: No Solution Exploring Operation: 111-68=43, Resulting Numbers: [43] 43,18 unequal: No Solution Exploring Operation: 68+111=179, Resulting Numbers: [179] 179,18 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: 18:[3, 6], Operations: ['88-71=17', '23-17=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[3, 23, 71, 88], Operations: [] Exploring Operation: 88-71=17, Resulting Numbers: [3, 23, 17] Generated Node #0,2: 18:[3, 23, 17] Operation: 88-71=17 Moving to Node #0,2 Current State: 18:[3, 23, 17], Operations: ['88-71=17'] Exploring Operation: 23-17=6, Resulting Numbers: [3, 6] Generated Node #0,2,2: 18:[3, 6] Operation: 23-17=6 Moving to Node #0,2,2 Current State: 18:[3, 6], Operations: ['88-71=17', '23-17=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.94184
hs_5
mult_heuristic
[ 20, 69, 23, 18 ]
17
[ "23-20=3", "69-18=51", "51/3=17" ]
Current State: 17:[20, 69, 23, 18], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [69, 18, 3] Generated Node #2: [69, 18, 3] from Operation: 23-20=3 Current State: 17:[69, 18, 3], Operations: ['23-20=3'] Exploring Operation: 69-18=51, Resulting Numbers: [3, 51] Generated Node #3: [3, 51] from Operation: 69-18=51 Current State: 17:[3, 51], Operations: ['23-20=3', '69-18=51'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[20, 69, 23, 18], Operations: [] Exploring Operation: 69-23=46, Resulting Numbers: [20, 18, 46] Generated Node #0,0: 17:[20, 18, 46] Operation: 69-23=46 Exploring Operation: 69/23=3, Resulting Numbers: [20, 18, 3] Generated Node #0,1: 17:[20, 18, 3] Operation: 69/23=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[20, 18, 3], Operations: ['69/23=3'] Exploring Operation: 18-3=15, Resulting Numbers: [20, 15] Generated Node #0,1,0: 17:[20, 15] Operation: 18-3=15 Exploring Operation: 20-3=17, Resulting Numbers: [18, 17] Generated Node #0,1,1: 17:[18, 17] Operation: 20-3=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[18, 17], Operations: ['69/23=3', '20-3=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 17:[20, 15], Operations: ['69/23=3', '18-3=15'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,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:[20, 18, 46], Operations: ['69-23=46'] Exploring Operation: 46-20=26, Resulting Numbers: [18, 26] Generated Node #0,0,0: 17:[18, 26] Operation: 46-20=26 Exploring Operation: 46-18=28, Resulting Numbers: [20, 28] Generated Node #0,0,1: 17:[20, 28] Operation: 46-18=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[18, 26], Operations: ['69-23=46', '46-20=26'] Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,17 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,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:[20, 28], Operations: ['69-23=46', '46-18=28'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,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
sum_heuristic
[ 71, 58, 52, 94 ]
81
[ "71*58=4118", "94+4118=4212", "4212/52=81" ]
Current State: 81:[71, 58, 52, 94], Operations: [] Exploring Operation: 71*58=4118, Resulting Numbers: [52, 94, 4118] Generated Node #2: [52, 94, 4118] from Operation: 71*58=4118 Current State: 81:[52, 94, 4118], Operations: ['71*58=4118'] Exploring Operation: 94+4118=4212, Resulting Numbers: [52, 4212] Generated Node #3: [52, 4212] from Operation: 94+4118=4212 Current State: 81:[52, 4212], Operations: ['71*58=4118', '94+4118=4212'] Exploring Operation: 4212/52=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[71, 58, 52, 94], Operations: [] Exploring Operation: 71-52=19, Resulting Numbers: [58, 94, 19] Generated Node #0,0: 81:[58, 94, 19] Operation: 71-52=19 Exploring Operation: 58-52=6, Resulting Numbers: [71, 94, 6] Generated Node #0,1: 81:[71, 94, 6] Operation: 58-52=6 Exploring Operation: 71-58=13, Resulting Numbers: [52, 94, 13] Generated Node #0,2: 81:[52, 94, 13] Operation: 71-58=13 Moving to Node #0,1 Current State: 81:[71, 94, 6], Operations: ['58-52=6'] Exploring Operation: 94-6=88, Resulting Numbers: [71, 88] Generated Node #0,1,0: 81:[71, 88] Operation: 94-6=88 Exploring Operation: 94-71=23, Resulting Numbers: [6, 23] Generated Node #0,1,1: 81:[6, 23] Operation: 94-71=23 Exploring Operation: 71+6=77, Resulting Numbers: [94, 77] Generated Node #0,1,2: 81:[94, 77] Operation: 71+6=77 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[6, 23], Operations: ['58-52=6', '94-71=23'] Exploring Operation: 6*23=138, Resulting Numbers: [138] 138,81 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 6+23=29, Resulting Numbers: [29] 29,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[71, 88], Operations: ['58-52=6', '94-6=88'] Exploring Operation: 71*88=6248, Resulting Numbers: [6248] 6248,81 unequal: No Solution Exploring Operation: 88-71=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 71+88=159, Resulting Numbers: [159] 159,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[94, 77], Operations: ['58-52=6', '71+6=77'] Exploring Operation: 94-77=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 94+77=171, Resulting Numbers: [171] 171,81 unequal: No Solution Exploring Operation: 94*77=7238, Resulting Numbers: [7238] 7238,81 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: 81:[52, 94, 13], Operations: ['71-58=13'] Exploring Operation: 94-52=42, Resulting Numbers: [13, 42] Generated Node #0,2,0: 81:[13, 42] Operation: 94-52=42 Exploring Operation: 52-13=39, Resulting Numbers: [94, 39] Generated Node #0,2,1: 81:[94, 39] Operation: 52-13=39 Exploring Operation: 52/13=4, Resulting Numbers: [94, 4] Generated Node #0,2,2: 81:[94, 4] Operation: 52/13=4 Moving to Node #0,0 Current State: 81:[58, 94, 19], Operations: ['71-52=19'] Exploring Operation: 94-58=36, Resulting Numbers: [19, 36] Generated Node #0,0,0: 81:[19, 36] Operation: 94-58=36 Exploring Operation: 58-19=39, Resulting Numbers: [94, 39] Generated Node #0,0,1: 81:[94, 39] Operation: 58-19=39 Exploring Operation: 58+19=77, Resulting Numbers: [94, 77] Generated Node #0,0,2: 81:[94, 77] Operation: 58+19=77 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[19, 36], Operations: ['71-52=19', '94-58=36'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 19+36=55, Resulting Numbers: [55] 55,81 unequal: No Solution Exploring Operation: 19*36=684, Resulting Numbers: [684] 684,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[94, 77], Operations: ['71-52=19', '58+19=77'] Exploring Operation: 94*77=7238, Resulting Numbers: [7238] 7238,81 unequal: No Solution Exploring Operation: 94-77=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 94+77=171, Resulting Numbers: [171] 171,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[94, 39], Operations: ['71-52=19', '58-19=39'] Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,81 unequal: No Solution Exploring Operation: 94*39=3666, Resulting Numbers: [3666] 3666,81 unequal: No Solution Exploring Operation: 94+39=133, Resulting Numbers: [133] 133,81 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: 81:[94, 4], Operations: ['71-58=13', '52/13=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[13, 42], Operations: ['71-58=13', '94-52=42'] Exploring Operation: 13+42=55, Resulting Numbers: [55] 55,81 unequal: No Solution Exploring Operation: 13*42=546, Resulting Numbers: [546] 546,81 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[94, 39], Operations: ['71-58=13', '52-13=39'] Exploring Operation: 94+39=133, Resulting Numbers: [133] 133,81 unequal: No Solution Exploring Operation: 94*39=3666, Resulting Numbers: [3666] 3666,81 unequal: No Solution Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,81 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 79, 23, 87, 6 ]
76
[ "23+6=29", "87/29=3", "79-3=76" ]
Current State: 76:[79, 23, 87, 6], Operations: [] Exploring Operation: 23+6=29, Resulting Numbers: [79, 87, 29] Generated Node #2: [79, 87, 29] from Operation: 23+6=29 Current State: 76:[79, 87, 29], Operations: ['23+6=29'] Exploring Operation: 87/29=3, Resulting Numbers: [79, 3] Generated Node #3: [79, 3] from Operation: 87/29=3 Current State: 76:[79, 3], Operations: ['23+6=29', '87/29=3'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[79, 23, 87, 6], Operations: [] Exploring Operation: 87-6=81, Resulting Numbers: [79, 23, 81] Generated Node #0,0: 76:[79, 23, 81] Operation: 87-6=81 Exploring Operation: 23-6=17, Resulting Numbers: [79, 87, 17] Generated Node #0,1: 76:[79, 87, 17] Operation: 23-6=17 Exploring Operation: 79-6=73, Resulting Numbers: [23, 87, 73] Generated Node #0,2: 76:[23, 87, 73] Operation: 79-6=73 Exploring Operation: 87-23=64, Resulting Numbers: [79, 6, 64] Generated Node #0,3: 76:[79, 6, 64] Operation: 87-23=64 Exploring Operation: 87-79=8, Resulting Numbers: [23, 6, 8] Generated Node #0,4: 76:[23, 6, 8] Operation: 87-79=8 Start Sub Search at level 1: Moving to Node #0,4 Current State: 76:[23, 6, 8], Operations: ['87-79=8'] Exploring Operation: 23-8=15, Resulting Numbers: [6, 15] Generated Node #0,4,0: 76:[6, 15] Operation: 23-8=15 Exploring Operation: 23-6=17, Resulting Numbers: [8, 17] Generated Node #0,4,1: 76:[8, 17] Operation: 23-6=17 Exploring Operation: 6+8=14, Resulting Numbers: [23, 14] Generated Node #0,4,2: 76:[23, 14] Operation: 6+8=14 Exploring Operation: 23+8=31, Resulting Numbers: [6, 31] Generated Node #0,4,3: 76:[6, 31] Operation: 23+8=31 Exploring Operation: 8-6=2, Resulting Numbers: [23, 2] Generated Node #0,4,4: 76:[23, 2] Operation: 8-6=2 Moving to Node #0,4,4 Current State: 76:[23, 2], Operations: ['87-79=8', '8-6=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,76 unequal: No Solution Moving to Node #0,4,1 Current State: 76:[8, 17], Operations: ['87-79=8', '23-6=17'] Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,76 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,76 unequal: No Solution Moving to Node #0,4,0 Current State: 76:[6, 15], Operations: ['87-79=8', '23-8=15'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,76 unequal: No Solution Moving to Node #0,4,2 Current State: 76:[23, 14], Operations: ['87-79=8', '6+8=14'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,76 unequal: No Solution Moving to Node #0,4,3 Current State: 76:[6, 31], Operations: ['87-79=8', '23+8=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[79, 23, 81], Operations: ['87-6=81'] Exploring Operation: 23+81=104, Resulting Numbers: [79, 104] Generated Node #0,0,0: 76:[79, 104] Operation: 23+81=104 Exploring Operation: 81-23=58, Resulting Numbers: [79, 58] Generated Node #0,0,1: 76:[79, 58] Operation: 81-23=58 Exploring Operation: 79+23=102, Resulting Numbers: [81, 102] Generated Node #0,0,2: 76:[81, 102] Operation: 79+23=102 Exploring Operation: 81-79=2, Resulting Numbers: [23, 2] Generated Node #0,0,3: 76:[23, 2] Operation: 81-79=2 Exploring Operation: 79-23=56, Resulting Numbers: [81, 56] Generated Node #0,0,4: 76:[81, 56] Operation: 79-23=56 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 76:[23, 2], Operations: ['87-6=81', '81-79=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,76 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,76 unequal: No Solution No 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: 76:[79, 58], Operations: ['87-6=81', '81-23=58'] Exploring Operation: 79+58=137, Resulting Numbers: [137] 137,76 unequal: No Solution Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 79*58=4582, Resulting Numbers: [4582] 4582,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 76:[81, 56], Operations: ['87-6=81', '79-23=56'] Exploring Operation: 81+56=137, Resulting Numbers: [137] 137,76 unequal: No Solution Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 81*56=4536, Resulting Numbers: [4536] 4536,76 unequal: No Solution No 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: 76:[79, 104], Operations: ['87-6=81', '23+81=104'] Exploring Operation: 79+104=183, Resulting Numbers: [183] 183,76 unequal: No Solution Exploring Operation: 104-79=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 79*104=8216, Resulting Numbers: [8216] 8216,76 unequal: No Solution No 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: 76:[81, 102], Operations: ['87-6=81', '79+23=102'] Exploring Operation: 102-81=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 81*102=8262, Resulting Numbers: [8262] 8262,76 unequal: No Solution Exploring Operation: 81+102=183, Resulting Numbers: [183] 183,76 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: 76:[79, 87, 17], Operations: ['23-6=17'] Exploring Operation: 87+17=104, Resulting Numbers: [79, 104] Generated Node #0,1,0: 76:[79, 104] Operation: 87+17=104 Exploring Operation: 87-79=8, Resulting Numbers: [17, 8] Generated Node #0,1,1: 76:[17, 8] Operation: 87-79=8 Exploring Operation: 79-17=62, Resulting Numbers: [87, 62] Generated Node #0,1,2: 76:[87, 62] Operation: 79-17=62 Exploring Operation: 87-17=70, Resulting Numbers: [79, 70] Generated Node #0,1,3: 76:[79, 70] Operation: 87-17=70 Exploring Operation: 79+17=96, Resulting Numbers: [87, 96] Generated Node #0,1,4: 76:[87, 96] Operation: 79+17=96 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[17, 8], Operations: ['23-6=17', '87-79=8'] Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,76 unequal: No Solution No 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: 76:[79, 70], Operations: ['23-6=17', '87-17=70'] Exploring Operation: 79+70=149, Resulting Numbers: [149] 149,76 unequal: No Solution Exploring Operation: 79*70=5530, Resulting Numbers: [5530] 5530,76 unequal: No Solution Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,76 unequal: No Solution No 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: 76:[87, 62], Operations: ['23-6=17', '79-17=62'] Exploring Operation: 87-62=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 87*62=5394, Resulting Numbers: [5394] 5394,76 unequal: No Solution Exploring Operation: 87+62=149, Resulting Numbers: [149] 149,76 unequal: No Solution No 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: 76:[79, 104], Operations: ['23-6=17', '87+17=104'] Exploring Operation: 104-79=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 79*104=8216, Resulting Numbers: [8216] 8216,76 unequal: No Solution Exploring Operation: 79+104=183, Resulting Numbers: [183] 183,76 unequal: No Solution No 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: 76:[87, 96], Operations: ['23-6=17', '79+17=96'] Exploring Operation: 87+96=183, Resulting Numbers: [183] 183,76 unequal: No Solution Exploring Operation: 87*96=8352, Resulting Numbers: [8352] 8352,76 unequal: No Solution Exploring Operation: 96-87=9, Resulting Numbers: [9] 9,76 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: 76:[79, 6, 64], Operations: ['87-23=64'] Exploring Operation: 64-6=58, Resulting Numbers: [79, 58] Generated Node #0,3,0: 76:[79, 58] Operation: 64-6=58 Exploring Operation: 79-64=15, Resulting Numbers: [6, 15] Generated Node #0,3,1: 76:[6, 15] Operation: 79-64=15 Exploring Operation: 79-6=73, Resulting Numbers: [64, 73] Generated Node #0,3,2: 76:[64, 73] Operation: 79-6=73 Exploring Operation: 6+64=70, Resulting Numbers: [79, 70] Generated Node #0,3,3: 76:[79, 70] Operation: 6+64=70 Exploring Operation: 79+6=85, Resulting Numbers: [64, 85] Generated Node #0,3,4: 76:[64, 85] Operation: 79+6=85 Moving to Node #0,3,1 Current State: 76:[6, 15], Operations: ['87-23=64', '79-64=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[79, 70], Operations: ['87-23=64', '6+64=70'] Exploring Operation: 79+70=149, Resulting Numbers: [149] 149,76 unequal: No Solution Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 79*70=5530, Resulting Numbers: [5530] 5530,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[64, 73], Operations: ['87-23=64', '79-6=73'] Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 64+73=137, Resulting Numbers: [137] 137,76 unequal: No Solution Exploring Operation: 64*73=4672, Resulting Numbers: [4672] 4672,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[79, 58], Operations: ['87-23=64', '64-6=58'] Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 79*58=4582, Resulting Numbers: [4582] 4582,76 unequal: No Solution Exploring Operation: 79+58=137, Resulting Numbers: [137] 137,76 unequal: No Solution Moving to Node #0,3,4 Current State: 76:[64, 85], Operations: ['87-23=64', '79+6=85'] Exploring Operation: 85-64=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 64*85=5440, Resulting Numbers: [5440] 5440,76 unequal: No Solution Exploring Operation: 64+85=149, Resulting Numbers: [149] 149,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[23, 87, 73], Operations: ['79-6=73'] Exploring Operation: 73-23=50, Resulting Numbers: [87, 50] Generated Node #0,2,0: 76:[87, 50] Operation: 73-23=50 Exploring Operation: 23+87=110, Resulting Numbers: [73, 110] Generated Node #0,2,1: 76:[73, 110] Operation: 23+87=110 Exploring Operation: 23+73=96, Resulting Numbers: [87, 96] Generated Node #0,2,2: 76:[87, 96] Operation: 23+73=96 Exploring Operation: 87-73=14, Resulting Numbers: [23, 14] Generated Node #0,2,3: 76:[23, 14] Operation: 87-73=14 Exploring Operation: 87-23=64, Resulting Numbers: [73, 64] Generated Node #0,2,4: 76:[73, 64] Operation: 87-23=64 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 76:[23, 14], Operations: ['79-6=73', '87-73=14'] Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,76 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,76 unequal: No Solution No 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: 76:[73, 64], Operations: ['79-6=73', '87-23=64'] Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 73+64=137, Resulting Numbers: [137] 137,76 unequal: No Solution Exploring Operation: 73*64=4672, Resulting Numbers: [4672] 4672,76 unequal: No Solution No 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: 76:[87, 50], Operations: ['79-6=73', '73-23=50'] Exploring Operation: 87+50=137, Resulting Numbers: [137] 137,76 unequal: No Solution Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 87*50=4350, Resulting Numbers: [4350] 4350,76 unequal: No Solution No 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: 76:[87, 96], Operations: ['79-6=73', '23+73=96'] Exploring Operation: 87*96=8352, Resulting Numbers: [8352] 8352,76 unequal: No Solution Exploring Operation: 87+96=183, Resulting Numbers: [183] 183,76 unequal: No Solution Exploring Operation: 96-87=9, Resulting Numbers: [9] 9,76 unequal: No Solution No 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: 76:[73, 110], Operations: ['79-6=73', '23+87=110'] Exploring Operation: 73*110=8030, Resulting Numbers: [8030] 8030,76 unequal: No Solution Exploring Operation: 73+110=183, Resulting Numbers: [183] 183,76 unequal: No Solution Exploring Operation: 110-73=37, Resulting Numbers: [37] 37,76 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
[ 8, 3, 32, 79 ]
67
[ "32/8=4", "3*4=12", "79-12=67" ]
Current State: 67:[8, 3, 32, 79], Operations: [] Exploring Operation: 32/8=4, Resulting Numbers: [3, 79, 4] Generated Node #2: [3, 79, 4] from Operation: 32/8=4 Current State: 67:[3, 79, 4], Operations: ['32/8=4'] Exploring Operation: 3*4=12, Resulting Numbers: [79, 12] Generated Node #3: [79, 12] from Operation: 3*4=12 Current State: 67:[79, 12], Operations: ['32/8=4', '3*4=12'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[8, 3, 32, 79], Operations: [] Exploring Operation: 8+32=40, Resulting Numbers: [3, 79, 40] Generated Node #0,0: 67:[3, 79, 40] Operation: 8+32=40 Exploring Operation: 8*3=24, Resulting Numbers: [32, 79, 24] Generated Node #0,1: 67:[32, 79, 24] Operation: 8*3=24 Exploring Operation: 79-8=71, Resulting Numbers: [3, 32, 71] Generated Node #0,2: 67:[3, 32, 71] Operation: 79-8=71 Exploring Operation: 3*32=96, Resulting Numbers: [8, 79, 96] Generated Node #0,3: 67:[8, 79, 96] Operation: 3*32=96 Exploring Operation: 8+3=11, Resulting Numbers: [32, 79, 11] Generated Node #0,4: 67:[32, 79, 11] Operation: 8+3=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[32, 79, 24], Operations: ['8*3=24'] Exploring Operation: 32-24=8, Resulting Numbers: [79, 8] Generated Node #0,1,0: 67:[79, 8] Operation: 32-24=8 Exploring Operation: 79+24=103, Resulting Numbers: [32, 103] Generated Node #0,1,1: 67:[32, 103] Operation: 79+24=103 Exploring Operation: 32+24=56, Resulting Numbers: [79, 56] Generated Node #0,1,2: 67:[79, 56] Operation: 32+24=56 Exploring Operation: 79-32=47, Resulting Numbers: [24, 47] Generated Node #0,1,3: 67:[24, 47] Operation: 79-32=47 Exploring Operation: 79-24=55, Resulting Numbers: [32, 55] Generated Node #0,1,4: 67:[32, 55] Operation: 79-24=55 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[79, 56], Operations: ['8*3=24', '32+24=56'] Exploring Operation: 79*56=4424, Resulting Numbers: [4424] 4424,67 unequal: No Solution Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 79+56=135, Resulting Numbers: [135] 135,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,4 Current State: 67:[32, 55], Operations: ['8*3=24', '79-24=55'] Exploring Operation: 32+55=87, Resulting Numbers: [87] 87,67 unequal: No Solution Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 32*55=1760, Resulting Numbers: [1760] 1760,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,3 Current State: 67:[24, 47], Operations: ['8*3=24', '79-32=47'] Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,67 unequal: No Solution Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,67 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,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,0 Current State: 67:[79, 8], Operations: ['8*3=24', '32-24=8'] Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,67 unequal: No Solution Exploring Operation: 79+8=87, Resulting Numbers: [87] 87,67 unequal: No Solution Exploring Operation: 79*8=632, Resulting Numbers: [632] 632,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:[32, 103], Operations: ['8*3=24', '79+24=103'] Exploring Operation: 103-32=71, Resulting Numbers: [71] 71,67 unequal: No Solution Exploring Operation: 32+103=135, Resulting Numbers: [135] 135,67 unequal: No Solution Exploring Operation: 32*103=3296, Resulting Numbers: [3296] 3296,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,3 Current State: 67:[8, 79, 96], Operations: ['3*32=96'] Exploring Operation: 8+79=87, Resulting Numbers: [96, 87] Generated Node #0,3,0: 67:[96, 87] Operation: 8+79=87 Exploring Operation: 79-8=71, Resulting Numbers: [96, 71] Generated Node #0,3,1: 67:[96, 71] Operation: 79-8=71 Exploring Operation: 8+96=104, Resulting Numbers: [79, 104] Generated Node #0,3,2: 67:[79, 104] Operation: 8+96=104 Exploring Operation: 96-8=88, Resulting Numbers: [79, 88] Generated Node #0,3,3: 67:[79, 88] Operation: 96-8=88 Exploring Operation: 96/8=12, Resulting Numbers: [79, 12] Generated Node #0,3,4: 67:[79, 12] Operation: 96/8=12 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 67:[96, 71], Operations: ['3*32=96', '79-8=71'] Exploring Operation: 96*71=6816, Resulting Numbers: [6816] 6816,67 unequal: No Solution Exploring Operation: 96+71=167, Resulting Numbers: [167] 167,67 unequal: No Solution Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,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,3,3 Current State: 67:[79, 88], Operations: ['3*32=96', '96-8=88'] Exploring Operation: 88-79=9, Resulting Numbers: [9] 9,67 unequal: No Solution Exploring Operation: 79*88=6952, Resulting Numbers: [6952] 6952,67 unequal: No Solution Exploring Operation: 79+88=167, Resulting Numbers: [167] 167,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,3,0 Current State: 67:[96, 87], Operations: ['3*32=96', '8+79=87'] Exploring Operation: 96*87=8352, Resulting Numbers: [8352] 8352,67 unequal: No Solution Exploring Operation: 96-87=9, Resulting Numbers: [9] 9,67 unequal: No Solution Exploring Operation: 96+87=183, Resulting Numbers: [183] 183,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,3,2 Current State: 67:[79, 104], Operations: ['3*32=96', '8+96=104'] Exploring Operation: 79*104=8216, Resulting Numbers: [8216] 8216,67 unequal: No Solution Exploring Operation: 79+104=183, Resulting Numbers: [183] 183,67 unequal: No Solution Exploring Operation: 104-79=25, Resulting Numbers: [25] 25,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,3,4 Current State: 67:[79, 12], Operations: ['3*32=96', '96/8=12'] Exploring Operation: 79+12=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[8, 3, 32, 79], Operations: [] Exploring Operation: 3*32=96, Resulting Numbers: [8, 79, 96] Generated Node #0,3: 67:[8, 79, 96] Operation: 3*32=96 Moving to Node #0,3 Current State: 67:[8, 79, 96], Operations: ['3*32=96'] Exploring Operation: 96/8=12, Resulting Numbers: [79, 12] Generated Node #0,3,4: 67:[79, 12] Operation: 96/8=12 Moving to Node #0,3,4 Current State: 67:[79, 12], Operations: ['3*32=96', '96/8=12'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.958333
hs_5
mult_heuristic
[ 58, 23, 51, 59 ]
27
[ "58-23=35", "59-51=8", "35-8=27" ]
Current State: 27:[58, 23, 51, 59], Operations: [] Exploring Operation: 58-23=35, Resulting Numbers: [51, 59, 35] Generated Node #2: [51, 59, 35] from Operation: 58-23=35 Current State: 27:[51, 59, 35], Operations: ['58-23=35'] Exploring Operation: 59-51=8, Resulting Numbers: [35, 8] Generated Node #3: [35, 8] from Operation: 59-51=8 Current State: 27:[35, 8], Operations: ['58-23=35', '59-51=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[58, 23, 51, 59], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [23, 51, 1] Generated Node #0,0: 27:[23, 51, 1] Operation: 59-58=1 Exploring Operation: 59-51=8, Resulting Numbers: [58, 23, 8] Generated Node #0,1: 27:[58, 23, 8] Operation: 59-51=8 Moving to Node #0,0 Current State: 27:[23, 51, 1], Operations: ['59-58=1'] Exploring Operation: 51-23=28, Resulting Numbers: [1, 28] Generated Node #0,0,0: 27:[1, 28] Operation: 51-23=28 Exploring Operation: 23+1=24, Resulting Numbers: [51, 24] Generated Node #0,0,1: 27:[51, 24] Operation: 23+1=24 Moving to Node #0,1 Current State: 27:[58, 23, 8], Operations: ['59-51=8'] Exploring Operation: 58-23=35, Resulting Numbers: [8, 35] Generated Node #0,1,0: 27:[8, 35] Operation: 58-23=35 Exploring Operation: 58-8=50, Resulting Numbers: [23, 50] Generated Node #0,1,1: 27:[23, 50] Operation: 58-8=50 Moving to Node #0,0,0 Current State: 27:[1, 28], Operations: ['59-58=1', '51-23=28'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[58, 23, 51, 59], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [23, 51, 1] Generated Node #0,0: 27:[23, 51, 1] Operation: 59-58=1 Moving to Node #0,0 Current State: 27:[23, 51, 1], Operations: ['59-58=1'] Exploring Operation: 51-23=28, Resulting Numbers: [1, 28] Generated Node #0,0,0: 27:[1, 28] Operation: 51-23=28 Moving to Node #0,0,0 Current State: 27:[1, 28], Operations: ['59-58=1', '51-23=28'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.990451
hs_2
sum_heuristic