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
[ 95, 64, 5, 47 ]
73
[ "95-64=31", "47-5=42", "31+42=73" ]
Current State: 73:[95, 64, 5, 47], Operations: [] Exploring Operation: 95-64=31, Resulting Numbers: [5, 47, 31] Generated Node #2: [5, 47, 31] from Operation: 95-64=31 Current State: 73:[5, 47, 31], Operations: ['95-64=31'] Exploring Operation: 47-5=42, Resulting Numbers: [31, 42] Generated Node #3: [31, 42] from Operation: 47-5=42 Current State: 73:[31, 42], Operations: ['95-64=31', '47-5=42'] Exploring Operation: 31+42=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[95, 64, 5, 47], Operations: [] Exploring Operation: 95-5=90, Resulting Numbers: [64, 47, 90] Generated Node #0,0: 73:[64, 47, 90] Operation: 95-5=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[64, 47, 90], Operations: ['95-5=90'] Exploring Operation: 90-47=43, Resulting Numbers: [64, 43] Generated Node #0,0,0: 73:[64, 43] Operation: 90-47=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[64, 43], Operations: ['95-5=90', '90-47=43'] Exploring Operation: 64+43=107, Resulting Numbers: [107] 107,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 59, 2, 66, 22 ]
95
[ "59-22=37", "2*66=132", "132-37=95" ]
Current State: 95:[59, 2, 66, 22], Operations: [] Exploring Operation: 59-22=37, Resulting Numbers: [2, 66, 37] Generated Node #2: [2, 66, 37] from Operation: 59-22=37 Current State: 95:[2, 66, 37], Operations: ['59-22=37'] Exploring Operation: 2*66=132, Resulting Numbers: [37, 132] Generated Node #3: [37, 132] from Operation: 2*66=132 Current State: 95:[37, 132], Operations: ['59-22=37', '2*66=132'] Exploring Operation: 132-37=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[59, 2, 66, 22], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [2, 22, 7] Generated Node #0,0: 95:[2, 22, 7] Operation: 66-59=7 Exploring Operation: 59+22=81, Resulting Numbers: [2, 66, 81] Generated Node #0,1: 95:[2, 66, 81] Operation: 59+22=81 Exploring Operation: 66/22=3, Resulting Numbers: [59, 2, 3] Generated Node #0,2: 95:[59, 2, 3] Operation: 66/22=3 Exploring Operation: 66+22=88, Resulting Numbers: [59, 2, 88] Generated Node #0,3: 95:[59, 2, 88] Operation: 66+22=88 Exploring Operation: 59+66=125, Resulting Numbers: [2, 22, 125] Generated Node #0,4: 95:[2, 22, 125] Operation: 59+66=125 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[2, 22, 7], Operations: ['66-59=7'] Exploring Operation: 2+22=24, Resulting Numbers: [7, 24] Generated Node #0,0,0: 95:[7, 24] Operation: 2+22=24 Exploring Operation: 22-7=15, Resulting Numbers: [2, 15] Generated Node #0,0,1: 95:[2, 15] Operation: 22-7=15 Exploring Operation: 2+7=9, Resulting Numbers: [22, 9] Generated Node #0,0,2: 95:[22, 9] Operation: 2+7=9 Exploring Operation: 22-2=20, Resulting Numbers: [7, 20] Generated Node #0,0,3: 95:[7, 20] Operation: 22-2=20 Exploring Operation: 7-2=5, Resulting Numbers: [22, 5] Generated Node #0,0,4: 95:[22, 5] Operation: 7-2=5 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 95:[7, 20], Operations: ['66-59=7', '22-2=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,95 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,95 unequal: No Solution No 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: 95:[22, 5], Operations: ['66-59=7', '7-2=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,95 unequal: No Solution No 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: 95:[7, 24], Operations: ['66-59=7', '2+22=24'] Exploring Operation: 7*24=168, Resulting Numbers: [168] 168,95 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 7+24=31, Resulting Numbers: [31] 31,95 unequal: No Solution No 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: 95:[2, 15], Operations: ['66-59=7', '22-7=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,95 unequal: No Solution No 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: 95:[22, 9], Operations: ['66-59=7', '2+7=9'] Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,95 unequal: No Solution Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,95 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: 95:[2, 22, 125], Operations: ['59+66=125'] Exploring Operation: 125-2=123, Resulting Numbers: [22, 123] Generated Node #0,4,0: 95:[22, 123] Operation: 125-2=123 Exploring Operation: 22-2=20, Resulting Numbers: [125, 20] Generated Node #0,4,1: 95:[125, 20] Operation: 22-2=20 Exploring Operation: 2+22=24, Resulting Numbers: [125, 24] Generated Node #0,4,2: 95:[125, 24] Operation: 2+22=24 Exploring Operation: 2+125=127, Resulting Numbers: [22, 127] Generated Node #0,4,3: 95:[22, 127] Operation: 2+125=127 Exploring Operation: 125-22=103, Resulting Numbers: [2, 103] Generated Node #0,4,4: 95:[2, 103] Operation: 125-22=103 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 95:[2, 103], Operations: ['59+66=125', '125-22=103'] Exploring Operation: 2+103=105, Resulting Numbers: [105] 105,95 unequal: No Solution Exploring Operation: 2*103=206, Resulting Numbers: [206] 206,95 unequal: No Solution Exploring Operation: 103-2=101, Resulting Numbers: [101] 101,95 unequal: No Solution No 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: 95:[22, 123], Operations: ['59+66=125', '125-2=123'] Exploring Operation: 22*123=2706, Resulting Numbers: [2706] 2706,95 unequal: No Solution Exploring Operation: 123-22=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 22+123=145, Resulting Numbers: [145] 145,95 unequal: No Solution No 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: 95:[125, 20], Operations: ['59+66=125', '22-2=20'] Exploring Operation: 125+20=145, Resulting Numbers: [145] 145,95 unequal: No Solution Exploring Operation: 125*20=2500, Resulting Numbers: [2500] 2500,95 unequal: No Solution Exploring Operation: 125-20=105, Resulting Numbers: [105] 105,95 unequal: No Solution No 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: 95:[125, 24], Operations: ['59+66=125', '2+22=24'] Exploring Operation: 125*24=3000, Resulting Numbers: [3000] 3000,95 unequal: No Solution Exploring Operation: 125+24=149, Resulting Numbers: [149] 149,95 unequal: No Solution Exploring Operation: 125-24=101, Resulting Numbers: [101] 101,95 unequal: No Solution No 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: 95:[22, 127], Operations: ['59+66=125', '2+125=127'] Exploring Operation: 22+127=149, Resulting Numbers: [149] 149,95 unequal: No Solution Exploring Operation: 22*127=2794, Resulting Numbers: [2794] 2794,95 unequal: No Solution Exploring Operation: 127-22=105, Resulting Numbers: [105] 105,95 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: 95:[59, 2, 3], Operations: ['66/22=3'] Exploring Operation: 59+2=61, Resulting Numbers: [3, 61] Generated Node #0,2,0: 95:[3, 61] Operation: 59+2=61 Exploring Operation: 59*2=118, Resulting Numbers: [3, 118] Generated Node #0,2,1: 95:[3, 118] Operation: 59*2=118 Exploring Operation: 2+3=5, Resulting Numbers: [59, 5] Generated Node #0,2,2: 95:[59, 5] Operation: 2+3=5 Exploring Operation: 2*3=6, Resulting Numbers: [59, 6] Generated Node #0,2,3: 95:[59, 6] Operation: 2*3=6 Exploring Operation: 59+3=62, Resulting Numbers: [2, 62] Generated Node #0,2,4: 95:[2, 62] Operation: 59+3=62 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 95:[3, 118], Operations: ['66/22=3', '59*2=118'] Exploring Operation: 3*118=354, Resulting Numbers: [354] 354,95 unequal: No Solution Exploring Operation: 118-3=115, Resulting Numbers: [115] 115,95 unequal: No Solution Exploring Operation: 3+118=121, Resulting Numbers: [121] 121,95 unequal: No Solution No 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: 95:[3, 61], Operations: ['66/22=3', '59+2=61'] Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,95 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,95 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,95 unequal: No Solution No 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: 95:[59, 5], Operations: ['66/22=3', '2+3=5'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,95 unequal: No Solution Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,95 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,95 unequal: No Solution No 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: 95:[2, 62], Operations: ['66/22=3', '59+3=62'] Exploring Operation: 2*62=124, Resulting Numbers: [124] 124,95 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,95 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,95 unequal: No Solution No 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: 95:[59, 6], Operations: ['66/22=3', '2*3=6'] Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,95 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,95 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: 95:[2, 66, 81], Operations: ['59+22=81'] Exploring Operation: 2+66=68, Resulting Numbers: [81, 68] Generated Node #0,1,0: 95:[81, 68] Operation: 2+66=68 Exploring Operation: 81-66=15, Resulting Numbers: [2, 15] Generated Node #0,1,1: 95:[2, 15] Operation: 81-66=15 Exploring Operation: 66/2=33, Resulting Numbers: [81, 33] Generated Node #0,1,2: 95:[81, 33] Operation: 66/2=33 Exploring Operation: 66-2=64, Resulting Numbers: [81, 64] Generated Node #0,1,3: 95:[81, 64] Operation: 66-2=64 Exploring Operation: 2+81=83, Resulting Numbers: [66, 83] Generated Node #0,1,4: 95:[66, 83] Operation: 2+81=83 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[2, 15], Operations: ['59+22=81', '81-66=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,95 unequal: No Solution No 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: 95:[81, 33], Operations: ['59+22=81', '66/2=33'] Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 81*33=2673, Resulting Numbers: [2673] 2673,95 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,95 unequal: No Solution No 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: 95:[81, 68], Operations: ['59+22=81', '2+66=68'] Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 81*68=5508, Resulting Numbers: [5508] 5508,95 unequal: No Solution Exploring Operation: 81+68=149, Resulting Numbers: [149] 149,95 unequal: No Solution No 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: 95:[66, 83], Operations: ['59+22=81', '2+81=83'] Exploring Operation: 83-66=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 66+83=149, Resulting Numbers: [149] 149,95 unequal: No Solution Exploring Operation: 66*83=5478, Resulting Numbers: [5478] 5478,95 unequal: No Solution No 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: 95:[81, 64], Operations: ['59+22=81', '66-2=64'] Exploring Operation: 81*64=5184, Resulting Numbers: [5184] 5184,95 unequal: No Solution Exploring Operation: 81+64=145, Resulting Numbers: [145] 145,95 unequal: No Solution Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,95 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: 95:[59, 2, 88], Operations: ['66+22=88'] Exploring Operation: 88-59=29, Resulting Numbers: [2, 29] Generated Node #0,3,0: 95:[2, 29] Operation: 88-59=29 Exploring Operation: 59+2=61, Resulting Numbers: [88, 61] Generated Node #0,3,1: 95:[88, 61] Operation: 59+2=61 Exploring Operation: 59-2=57, Resulting Numbers: [88, 57] Generated Node #0,3,2: 95:[88, 57] Operation: 59-2=57 Exploring Operation: 59*2=118, Resulting Numbers: [88, 118] Generated Node #0,3,3: 95:[88, 118] Operation: 59*2=118 Exploring Operation: 2+88=90, Resulting Numbers: [59, 90] Generated Node #0,3,4: 95:[59, 90] Operation: 2+88=90 Moving to Node #0,3,0 Current State: 95:[2, 29], Operations: ['66+22=88', '88-59=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,95 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[88, 118], Operations: ['66+22=88', '59*2=118'] Exploring Operation: 88*118=10384, Resulting Numbers: [10384] 10384,95 unequal: No Solution Exploring Operation: 118-88=30, Resulting Numbers: [30] 30,95 unequal: No Solution Exploring Operation: 88+118=206, Resulting Numbers: [206] 206,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[88, 61], Operations: ['66+22=88', '59+2=61'] Exploring Operation: 88+61=149, Resulting Numbers: [149] 149,95 unequal: No Solution Exploring Operation: 88-61=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 88*61=5368, Resulting Numbers: [5368] 5368,95 unequal: No Solution Moving to Node #0,3,4 Current State: 95:[59, 90], Operations: ['66+22=88', '2+88=90'] Exploring Operation: 90-59=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 59+90=149, Resulting Numbers: [149] 149,95 unequal: No Solution Exploring Operation: 59*90=5310, Resulting Numbers: [5310] 5310,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[88, 57], Operations: ['66+22=88', '59-2=57'] Exploring Operation: 88*57=5016, Resulting Numbers: [5016] 5016,95 unequal: No Solution Exploring Operation: 88+57=145, Resulting Numbers: [145] 145,95 unequal: No Solution Exploring Operation: 88-57=31, Resulting Numbers: [31] 31,95 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
[ 42, 12, 20, 88 ]
38
[ "42-12=30", "88-20=68", "68-30=38" ]
Current State: 38:[42, 12, 20, 88], Operations: [] Exploring Operation: 42-12=30, Resulting Numbers: [20, 88, 30] Generated Node #2: [20, 88, 30] from Operation: 42-12=30 Current State: 38:[20, 88, 30], Operations: ['42-12=30'] Exploring Operation: 88-20=68, Resulting Numbers: [30, 68] Generated Node #3: [30, 68] from Operation: 88-20=68 Current State: 38:[30, 68], Operations: ['42-12=30', '88-20=68'] Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[42, 12, 20, 88], Operations: [] Exploring Operation: 88-20=68, Resulting Numbers: [42, 12, 68] Generated Node #0,0: 38:[42, 12, 68] Operation: 88-20=68 Exploring Operation: 88-42=46, Resulting Numbers: [12, 20, 46] Generated Node #0,1: 38:[12, 20, 46] Operation: 88-42=46 Exploring Operation: 42-12=30, Resulting Numbers: [20, 88, 30] Generated Node #0,2: 38:[20, 88, 30] Operation: 42-12=30 Exploring Operation: 88-12=76, Resulting Numbers: [42, 20, 76] Generated Node #0,3: 38:[42, 20, 76] Operation: 88-12=76 Moving to Node #0,1 Current State: 38:[12, 20, 46], Operations: ['88-42=46'] Exploring Operation: 12+20=32, Resulting Numbers: [46, 32] Generated Node #0,1,0: 38:[46, 32] Operation: 12+20=32 Exploring Operation: 20-12=8, Resulting Numbers: [46, 8] Generated Node #0,1,1: 38:[46, 8] Operation: 20-12=8 Exploring Operation: 46-20=26, Resulting Numbers: [12, 26] Generated Node #0,1,2: 38:[12, 26] Operation: 46-20=26 Exploring Operation: 46-12=34, Resulting Numbers: [20, 34] Generated Node #0,1,3: 38:[20, 34] Operation: 46-12=34 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 38:[20, 34], Operations: ['88-42=46', '46-12=34'] Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 20*34=680, Resulting Numbers: [680] 680,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[46, 32], Operations: ['88-42=46', '12+20=32'] Exploring Operation: 46*32=1472, Resulting Numbers: [1472] 1472,38 unequal: No Solution Exploring Operation: 46+32=78, Resulting Numbers: [78] 78,38 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[46, 8], Operations: ['88-42=46', '20-12=8'] Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,38 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[42, 12, 20, 88], Operations: [] Exploring Operation: 88-42=46, Resulting Numbers: [12, 20, 46] Generated Node #0,1: 38:[12, 20, 46] Operation: 88-42=46 Moving to Node #0,1 Current State: 38:[12, 20, 46], Operations: ['88-42=46'] Exploring Operation: 20-12=8, Resulting Numbers: [46, 8] Generated Node #0,1,1: 38:[46, 8] Operation: 20-12=8 Moving to Node #0,1,1 Current State: 38:[46, 8], Operations: ['88-42=46', '20-12=8'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 39, 3, 8, 98 ]
70
[ "39-3=36", "8+98=106", "106-36=70" ]
Current State: 70:[39, 3, 8, 98], Operations: [] Exploring Operation: 39-3=36, Resulting Numbers: [8, 98, 36] Generated Node #2: [8, 98, 36] from Operation: 39-3=36 Current State: 70:[8, 98, 36], Operations: ['39-3=36'] Exploring Operation: 8+98=106, Resulting Numbers: [36, 106] Generated Node #3: [36, 106] from Operation: 8+98=106 Current State: 70:[36, 106], Operations: ['39-3=36', '8+98=106'] Exploring Operation: 106-36=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[39, 3, 8, 98], Operations: [] Exploring Operation: 98-39=59, Resulting Numbers: [3, 8, 59] Generated Node #0,0: 70:[3, 8, 59] Operation: 98-39=59 Moving to Node #0,0 Current State: 70:[3, 8, 59], Operations: ['98-39=59'] Exploring Operation: 8+59=67, Resulting Numbers: [3, 67] Generated Node #0,0,0: 70:[3, 67] Operation: 8+59=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[3, 67], Operations: ['98-39=59', '8+59=67'] Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[39, 3, 8, 98], Operations: [] Exploring Operation: 98-39=59, Resulting Numbers: [3, 8, 59] Generated Node #0,0: 70:[3, 8, 59] Operation: 98-39=59 Moving to Node #0,0 Current State: 70:[3, 8, 59], Operations: ['98-39=59'] Exploring Operation: 8+59=67, Resulting Numbers: [3, 67] Generated Node #0,0,0: 70:[3, 67] Operation: 8+59=67 Moving to Node #0,0,0 Current State: 70:[3, 67], Operations: ['98-39=59', '8+59=67'] Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 13, 16, 37, 31 ]
97
[ "13+16=29", "37+31=68", "29+68=97" ]
Current State: 97:[13, 16, 37, 31], Operations: [] Exploring Operation: 13+16=29, Resulting Numbers: [37, 31, 29] Generated Node #2: [37, 31, 29] from Operation: 13+16=29 Current State: 97:[37, 31, 29], Operations: ['13+16=29'] Exploring Operation: 37+31=68, Resulting Numbers: [29, 68] Generated Node #3: [29, 68] from Operation: 37+31=68 Current State: 97:[29, 68], Operations: ['13+16=29', '37+31=68'] Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[13, 16, 37, 31], Operations: [] Exploring Operation: 13+31=44, Resulting Numbers: [16, 37, 44] Generated Node #0,0: 97:[16, 37, 44] Operation: 13+31=44 Exploring Operation: 13+37=50, Resulting Numbers: [16, 31, 50] Generated Node #0,1: 97:[16, 31, 50] Operation: 13+37=50 Exploring Operation: 13+16=29, Resulting Numbers: [37, 31, 29] Generated Node #0,2: 97:[37, 31, 29] Operation: 13+16=29 Moving to Node #0,0 Current State: 97:[16, 37, 44], Operations: ['13+31=44'] Exploring Operation: 16+37=53, Resulting Numbers: [44, 53] Generated Node #0,0,0: 97:[44, 53] Operation: 16+37=53 Exploring Operation: 37+44=81, Resulting Numbers: [16, 81] Generated Node #0,0,1: 97:[16, 81] Operation: 37+44=81 Exploring Operation: 16+44=60, Resulting Numbers: [37, 60] Generated Node #0,0,2: 97:[37, 60] Operation: 16+44=60 Moving to Node #0,1 Current State: 97:[16, 31, 50], Operations: ['13+37=50'] Exploring Operation: 16+50=66, Resulting Numbers: [31, 66] Generated Node #0,1,0: 97:[31, 66] Operation: 16+50=66 Exploring Operation: 31+50=81, Resulting Numbers: [16, 81] Generated Node #0,1,1: 97:[16, 81] Operation: 31+50=81 Exploring Operation: 16+31=47, Resulting Numbers: [50, 47] Generated Node #0,1,2: 97:[50, 47] Operation: 16+31=47 Moving to Node #0,2 Current State: 97:[37, 31, 29], Operations: ['13+16=29'] Exploring Operation: 37+31=68, Resulting Numbers: [29, 68] Generated Node #0,2,0: 97:[29, 68] Operation: 37+31=68 Exploring Operation: 31+29=60, Resulting Numbers: [37, 60] Generated Node #0,2,1: 97:[37, 60] Operation: 31+29=60 Exploring Operation: 37+29=66, Resulting Numbers: [31, 66] Generated Node #0,2,2: 97:[31, 66] Operation: 37+29=66 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[29, 68], Operations: ['13+16=29', '37+31=68'] Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 29*68=1972, Resulting Numbers: [1972] 1972,97 unequal: No Solution Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[13, 16, 37, 31], Operations: [] Exploring Operation: 13+16=29, Resulting Numbers: [37, 31, 29] Generated Node #0,2: 97:[37, 31, 29] Operation: 13+16=29 Moving to Node #0,2 Current State: 97:[37, 31, 29], Operations: ['13+16=29'] Exploring Operation: 37+31=68, Resulting Numbers: [29, 68] Generated Node #0,2,0: 97:[29, 68] Operation: 37+31=68 Moving to Node #0,2,0 Current State: 97:[29, 68], Operations: ['13+16=29', '37+31=68'] Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 11, 82, 10, 69 ]
33
[ "82-10=72", "72-69=3", "11*3=33" ]
Current State: 33:[11, 82, 10, 69], Operations: [] Exploring Operation: 82-10=72, Resulting Numbers: [11, 69, 72] Generated Node #2: [11, 69, 72] from Operation: 82-10=72 Current State: 33:[11, 69, 72], Operations: ['82-10=72'] Exploring Operation: 72-69=3, Resulting Numbers: [11, 3] Generated Node #3: [11, 3] from Operation: 72-69=3 Current State: 33:[11, 3], Operations: ['82-10=72', '72-69=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[11, 82, 10, 69], Operations: [] Exploring Operation: 82-69=13, Resulting Numbers: [11, 10, 13] Generated Node #0,0: 33:[11, 10, 13] Operation: 82-69=13 Exploring Operation: 82-11=71, Resulting Numbers: [10, 69, 71] Generated Node #0,1: 33:[10, 69, 71] Operation: 82-11=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[11, 10, 13], Operations: ['82-69=13'] Exploring Operation: 13-10=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 33:[11, 3] Operation: 13-10=3 Exploring Operation: 13-11=2, Resulting Numbers: [10, 2] Generated Node #0,0,1: 33:[10, 2] Operation: 13-11=2 Moving to Node #0,0,0 Current State: 33:[11, 3], Operations: ['82-69=13', '13-10=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[11, 82, 10, 69], Operations: [] Exploring Operation: 82-69=13, Resulting Numbers: [11, 10, 13] Generated Node #0,0: 33:[11, 10, 13] Operation: 82-69=13 Moving to Node #0,0 Current State: 33:[11, 10, 13], Operations: ['82-69=13'] Exploring Operation: 13-10=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 33:[11, 3] Operation: 13-10=3 Moving to Node #0,0,0 Current State: 33:[11, 3], Operations: ['82-69=13', '13-10=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 71, 26, 47, 38 ]
54
[ "71-26=45", "47-38=9", "45+9=54" ]
Current State: 54:[71, 26, 47, 38], Operations: [] Exploring Operation: 71-26=45, Resulting Numbers: [47, 38, 45] Generated Node #2: [47, 38, 45] from Operation: 71-26=45 Current State: 54:[47, 38, 45], Operations: ['71-26=45'] Exploring Operation: 47-38=9, Resulting Numbers: [45, 9] Generated Node #3: [45, 9] from Operation: 47-38=9 Current State: 54:[45, 9], Operations: ['71-26=45', '47-38=9'] Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[71, 26, 47, 38], Operations: [] Exploring Operation: 71-47=24, Resulting Numbers: [26, 38, 24] Generated Node #0,0: 54:[26, 38, 24] Operation: 71-47=24 Exploring Operation: 71-38=33, Resulting Numbers: [26, 47, 33] Generated Node #0,1: 54:[26, 47, 33] Operation: 71-38=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[26, 47, 33], Operations: ['71-38=33'] Exploring Operation: 33-26=7, Resulting Numbers: [47, 7] Generated Node #0,1,0: 54:[47, 7] Operation: 33-26=7 Exploring Operation: 47-33=14, Resulting Numbers: [26, 14] Generated Node #0,1,1: 54:[26, 14] Operation: 47-33=14 Moving to Node #0,1,1 Current State: 54:[26, 14], Operations: ['71-38=33', '47-33=14'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,54 unequal: No Solution Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[47, 7], Operations: ['71-38=33', '33-26=7'] Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[71, 26, 47, 38], Operations: [] Exploring Operation: 71-38=33, Resulting Numbers: [26, 47, 33] Generated Node #0,1: 54:[26, 47, 33] Operation: 71-38=33 Moving to Node #0,1 Current State: 54:[26, 47, 33], Operations: ['71-38=33'] Exploring Operation: 33-26=7, Resulting Numbers: [47, 7] Generated Node #0,1,0: 54:[47, 7] Operation: 33-26=7 Moving to Node #0,1,0 Current State: 54:[47, 7], Operations: ['71-38=33', '33-26=7'] Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 52, 46, 40, 56 ]
58
[ "52+40=92", "92/46=2", "56+2=58" ]
Current State: 58:[52, 46, 40, 56], Operations: [] Exploring Operation: 52+40=92, Resulting Numbers: [46, 56, 92] Generated Node #2: [46, 56, 92] from Operation: 52+40=92 Current State: 58:[46, 56, 92], Operations: ['52+40=92'] Exploring Operation: 92/46=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 92/46=2 Current State: 58:[56, 2], Operations: ['52+40=92', '92/46=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[52, 46, 40, 56], Operations: [] Exploring Operation: 52-46=6, Resulting Numbers: [40, 56, 6] Generated Node #0,0: 58:[40, 56, 6] Operation: 52-46=6 Exploring Operation: 52-40=12, Resulting Numbers: [46, 56, 12] Generated Node #0,1: 58:[46, 56, 12] Operation: 52-40=12 Exploring Operation: 46-40=6, Resulting Numbers: [52, 56, 6] Generated Node #0,2: 58:[52, 56, 6] Operation: 46-40=6 Moving to Node #0,2 Current State: 58:[52, 56, 6], Operations: ['46-40=6'] Exploring Operation: 56-52=4, Resulting Numbers: [6, 4] Generated Node #0,2,0: 58:[6, 4] Operation: 56-52=4 Exploring Operation: 56+6=62, Resulting Numbers: [52, 62] Generated Node #0,2,1: 58:[52, 62] Operation: 56+6=62 Exploring Operation: 52+6=58, Resulting Numbers: [56, 58] Generated Node #0,2,2: 58:[56, 58] Operation: 52+6=58 Moving to Node #0,0 Current State: 58:[40, 56, 6], Operations: ['52-46=6'] Exploring Operation: 40-6=34, Resulting Numbers: [56, 34] Generated Node #0,0,0: 58:[56, 34] Operation: 40-6=34 Exploring Operation: 40+6=46, Resulting Numbers: [56, 46] Generated Node #0,0,1: 58:[56, 46] Operation: 40+6=46 Exploring Operation: 56+6=62, Resulting Numbers: [40, 62] Generated Node #0,0,2: 58:[40, 62] Operation: 56+6=62 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[56, 34], Operations: ['52-46=6', '40-6=34'] Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,58 unequal: No Solution Exploring Operation: 56*34=1904, Resulting Numbers: [1904] 1904,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[56, 46], Operations: ['52-46=6', '40+6=46'] Exploring Operation: 56*46=2576, Resulting Numbers: [2576] 2576,58 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 56+46=102, Resulting Numbers: [102] 102,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[40, 62], Operations: ['52-46=6', '56+6=62'] Exploring Operation: 40+62=102, Resulting Numbers: [102] 102,58 unequal: No Solution Exploring Operation: 62-40=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 40*62=2480, Resulting Numbers: [2480] 2480,58 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: 58:[46, 56, 12], Operations: ['52-40=12'] Exploring Operation: 46+12=58, Resulting Numbers: [56, 58] Generated Node #0,1,0: 58:[56, 58] Operation: 46+12=58 Exploring Operation: 46-12=34, Resulting Numbers: [56, 34] Generated Node #0,1,1: 58:[56, 34] Operation: 46-12=34 Exploring Operation: 56-46=10, Resulting Numbers: [12, 10] Generated Node #0,1,2: 58:[12, 10] Operation: 56-46=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[56, 58], Operations: ['52-40=12', '46+12=58'] Exploring Operation: 56+58=114, Resulting Numbers: [114] 114,58 unequal: No Solution Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 56*58=3248, Resulting Numbers: [3248] 3248,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,1,1 Current State: 58:[56, 34], Operations: ['52-40=12', '46-12=34'] Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,58 unequal: No Solution Exploring Operation: 56*34=1904, Resulting Numbers: [1904] 1904,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,1,2 Current State: 58:[12, 10], Operations: ['52-40=12', '56-46=10'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,58 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,58 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: 58:[56, 58], Operations: ['46-40=6', '52+6=58'] Exploring Operation: 56+58=114, Resulting Numbers: [114] 114,58 unequal: No Solution Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 56*58=3248, Resulting Numbers: [3248] 3248,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[6, 4], Operations: ['46-40=6', '56-52=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,58 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[52, 62], Operations: ['46-40=6', '56+6=62'] Exploring Operation: 52+62=114, Resulting Numbers: [114] 114,58 unequal: No Solution Exploring Operation: 52*62=3224, Resulting Numbers: [3224] 3224,58 unequal: No Solution Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,58 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 56, 60, 63, 40 ]
48
[ "56-40=16", "63-60=3", "16*3=48" ]
Current State: 48:[56, 60, 63, 40], Operations: [] Exploring Operation: 56-40=16, Resulting Numbers: [60, 63, 16] Generated Node #2: [60, 63, 16] from Operation: 56-40=16 Current State: 48:[60, 63, 16], Operations: ['56-40=16'] Exploring Operation: 63-60=3, Resulting Numbers: [16, 3] Generated Node #3: [16, 3] from Operation: 63-60=3 Current State: 48:[16, 3], Operations: ['56-40=16', '63-60=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[56, 60, 63, 40], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [56, 40, 3] Generated Node #0,0: 48:[56, 40, 3] Operation: 63-60=3 Exploring Operation: 63-40=23, Resulting Numbers: [56, 60, 23] Generated Node #0,1: 48:[56, 60, 23] Operation: 63-40=23 Exploring Operation: 63-56=7, Resulting Numbers: [60, 40, 7] Generated Node #0,2: 48:[60, 40, 7] Operation: 63-56=7 Moving to Node #0,0 Current State: 48:[56, 40, 3], Operations: ['63-60=3'] Exploring Operation: 56-40=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 48:[3, 16] Operation: 56-40=16 Exploring Operation: 56-3=53, Resulting Numbers: [40, 53] Generated Node #0,0,1: 48:[40, 53] Operation: 56-3=53 Exploring Operation: 40+3=43, Resulting Numbers: [56, 43] Generated Node #0,0,2: 48:[56, 43] Operation: 40+3=43 Moving to Node #0,1 Current State: 48:[56, 60, 23], Operations: ['63-40=23'] Exploring Operation: 56-23=33, Resulting Numbers: [60, 33] Generated Node #0,1,0: 48:[60, 33] Operation: 56-23=33 Exploring Operation: 60-56=4, Resulting Numbers: [23, 4] Generated Node #0,1,1: 48:[23, 4] Operation: 60-56=4 Exploring Operation: 60-23=37, Resulting Numbers: [56, 37] Generated Node #0,1,2: 48:[56, 37] Operation: 60-23=37 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[23, 4], Operations: ['63-40=23', '60-56=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,48 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,48 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[56, 37], Operations: ['63-40=23', '60-23=37'] Exploring Operation: 56+37=93, Resulting Numbers: [93] 93,48 unequal: No Solution Exploring Operation: 56*37=2072, Resulting Numbers: [2072] 2072,48 unequal: No Solution Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[60, 33], Operations: ['63-40=23', '56-23=33'] Exploring Operation: 60*33=1980, Resulting Numbers: [1980] 1980,48 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,48 unequal: No Solution Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 48:[60, 40, 7], Operations: ['63-56=7'] Exploring Operation: 60-40=20, Resulting Numbers: [7, 20] Generated Node #0,2,0: 48:[7, 20] Operation: 60-40=20 Exploring Operation: 40+7=47, Resulting Numbers: [60, 47] Generated Node #0,2,1: 48:[60, 47] Operation: 40+7=47 Exploring Operation: 60-7=53, Resulting Numbers: [40, 53] Generated Node #0,2,2: 48:[40, 53] Operation: 60-7=53 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[7, 20], Operations: ['63-56=7', '60-40=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,48 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[60, 47], Operations: ['63-56=7', '40+7=47'] Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,48 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[40, 53], Operations: ['63-56=7', '60-7=53'] Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,48 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 48:[3, 16], Operations: ['63-60=3', '56-40=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[56, 60, 63, 40], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [56, 40, 3] Generated Node #0,0: 48:[56, 40, 3] Operation: 63-60=3 Moving to Node #0,0 Current State: 48:[56, 40, 3], Operations: ['63-60=3'] Exploring Operation: 56-40=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 48:[3, 16] Operation: 56-40=16 Moving to Node #0,0,0 Current State: 48:[3, 16], Operations: ['63-60=3', '56-40=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 91, 19, 95, 36 ]
97
[ "91-19=72", "72/36=2", "95+2=97" ]
Current State: 97:[91, 19, 95, 36], Operations: [] Exploring Operation: 91-19=72, Resulting Numbers: [95, 36, 72] Generated Node #2: [95, 36, 72] from Operation: 91-19=72 Current State: 97:[95, 36, 72], Operations: ['91-19=72'] Exploring Operation: 72/36=2, Resulting Numbers: [95, 2] Generated Node #3: [95, 2] from Operation: 72/36=2 Current State: 97:[95, 2], Operations: ['91-19=72', '72/36=2'] Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[91, 19, 95, 36], Operations: [] Exploring Operation: 91+19=110, Resulting Numbers: [95, 36, 110] Generated Node #0,0: 97:[95, 36, 110] Operation: 91+19=110 Exploring Operation: 19+36=55, Resulting Numbers: [91, 95, 55] Generated Node #0,1: 97:[91, 95, 55] Operation: 19+36=55 Exploring Operation: 19+95=114, Resulting Numbers: [91, 36, 114] Generated Node #0,2: 97:[91, 36, 114] Operation: 19+95=114 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[91, 95, 55], Operations: ['19+36=55'] Exploring Operation: 91-55=36, Resulting Numbers: [95, 36] Generated Node #0,1,0: 97:[95, 36] Operation: 91-55=36 Exploring Operation: 91+55=146, Resulting Numbers: [95, 146] Generated Node #0,1,1: 97:[95, 146] Operation: 91+55=146 Exploring Operation: 95+55=150, Resulting Numbers: [91, 150] Generated Node #0,1,2: 97:[91, 150] Operation: 95+55=150 Moving to Node #0,1,1 Current State: 97:[95, 146], Operations: ['19+36=55', '91+55=146'] Exploring Operation: 95+146=241, Resulting Numbers: [241] 241,97 unequal: No Solution Exploring Operation: 95*146=13870, Resulting Numbers: [13870] 13870,97 unequal: No Solution Exploring Operation: 146-95=51, Resulting Numbers: [51] 51,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[91, 150], Operations: ['19+36=55', '95+55=150'] Exploring Operation: 91*150=13650, Resulting Numbers: [13650] 13650,97 unequal: No Solution Exploring Operation: 150-91=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 91+150=241, Resulting Numbers: [241] 241,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[95, 36], Operations: ['19+36=55', '91-55=36'] Exploring Operation: 95+36=131, Resulting Numbers: [131] 131,97 unequal: No Solution Exploring Operation: 95*36=3420, Resulting Numbers: [3420] 3420,97 unequal: No Solution Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,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:[95, 36, 110], Operations: ['91+19=110'] Exploring Operation: 110-36=74, Resulting Numbers: [95, 74] Generated Node #0,0,0: 97:[95, 74] Operation: 110-36=74 Exploring Operation: 95-36=59, Resulting Numbers: [110, 59] Generated Node #0,0,1: 97:[110, 59] Operation: 95-36=59 Exploring Operation: 95+36=131, Resulting Numbers: [110, 131] Generated Node #0,0,2: 97:[110, 131] Operation: 95+36=131 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[95, 74], Operations: ['91+19=110', '110-36=74'] Exploring Operation: 95-74=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 95+74=169, Resulting Numbers: [169] 169,97 unequal: No Solution Exploring Operation: 95*74=7030, Resulting Numbers: [7030] 7030,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:[110, 131], Operations: ['91+19=110', '95+36=131'] Exploring Operation: 110*131=14410, Resulting Numbers: [14410] 14410,97 unequal: No Solution Exploring Operation: 131-110=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 110+131=241, Resulting Numbers: [241] 241,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:[110, 59], Operations: ['91+19=110', '95-36=59'] Exploring Operation: 110+59=169, Resulting Numbers: [169] 169,97 unequal: No Solution Exploring Operation: 110-59=51, Resulting Numbers: [51] 51,97 unequal: No Solution Exploring Operation: 110*59=6490, Resulting Numbers: [6490] 6490,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,2 Current State: 97:[91, 36, 114], Operations: ['19+95=114'] Exploring Operation: 91+36=127, Resulting Numbers: [114, 127] Generated Node #0,2,0: 97:[114, 127] Operation: 91+36=127 Exploring Operation: 91-36=55, Resulting Numbers: [114, 55] Generated Node #0,2,1: 97:[114, 55] Operation: 91-36=55 Exploring Operation: 114-36=78, Resulting Numbers: [91, 78] Generated Node #0,2,2: 97:[91, 78] Operation: 114-36=78 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[91, 78], Operations: ['19+95=114', '114-36=78'] Exploring Operation: 91+78=169, Resulting Numbers: [169] 169,97 unequal: No Solution Exploring Operation: 91*78=7098, Resulting Numbers: [7098] 7098,97 unequal: No Solution Exploring Operation: 91-78=13, Resulting Numbers: [13] 13,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[114, 127], Operations: ['19+95=114', '91+36=127'] Exploring Operation: 114*127=14478, Resulting Numbers: [14478] 14478,97 unequal: No Solution Exploring Operation: 114+127=241, Resulting Numbers: [241] 241,97 unequal: No Solution Exploring Operation: 127-114=13, Resulting Numbers: [13] 13,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[114, 55], Operations: ['19+95=114', '91-36=55'] Exploring Operation: 114-55=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 114+55=169, Resulting Numbers: [169] 169,97 unequal: No Solution Exploring Operation: 114*55=6270, Resulting Numbers: [6270] 6270,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 No solution found.
0
hs_3
mult_heuristic
[ 46, 35, 57, 83 ]
42
[ "57+83=140", "140/35=4", "46-4=42" ]
Current State: 42:[46, 35, 57, 83], Operations: [] Exploring Operation: 57+83=140, Resulting Numbers: [46, 35, 140] Generated Node #2: [46, 35, 140] from Operation: 57+83=140 Current State: 42:[46, 35, 140], Operations: ['57+83=140'] Exploring Operation: 140/35=4, Resulting Numbers: [46, 4] Generated Node #3: [46, 4] from Operation: 140/35=4 Current State: 42:[46, 4], Operations: ['57+83=140', '140/35=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[46, 35, 57, 83], Operations: [] Exploring Operation: 83-35=48, Resulting Numbers: [46, 57, 48] Generated Node #0,0: 42:[46, 57, 48] Operation: 83-35=48 Exploring Operation: 83-46=37, Resulting Numbers: [35, 57, 37] Generated Node #0,1: 42:[35, 57, 37] Operation: 83-46=37 Exploring Operation: 83-57=26, Resulting Numbers: [46, 35, 26] Generated Node #0,2: 42:[46, 35, 26] Operation: 83-57=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[46, 35, 26], Operations: ['83-57=26'] Exploring Operation: 35-26=9, Resulting Numbers: [46, 9] Generated Node #0,2,0: 42:[46, 9] Operation: 35-26=9 Exploring Operation: 46-26=20, Resulting Numbers: [35, 20] Generated Node #0,2,1: 42:[35, 20] Operation: 46-26=20 Exploring Operation: 46-35=11, Resulting Numbers: [26, 11] Generated Node #0,2,2: 42:[26, 11] Operation: 46-35=11 Moving to Node #0,2,0 Current State: 42:[46, 9], Operations: ['83-57=26', '35-26=9'] Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,42 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[35, 20], Operations: ['83-57=26', '46-26=20'] Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,42 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[26, 11], Operations: ['83-57=26', '46-35=11'] Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,42 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[46, 57, 48], Operations: ['83-35=48'] Exploring Operation: 57-48=9, Resulting Numbers: [46, 9] Generated Node #0,0,0: 42:[46, 9] Operation: 57-48=9 Exploring Operation: 57-46=11, Resulting Numbers: [48, 11] Generated Node #0,0,1: 42:[48, 11] Operation: 57-46=11 Exploring Operation: 48-46=2, Resulting Numbers: [57, 2] Generated Node #0,0,2: 42:[57, 2] Operation: 48-46=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[46, 9], Operations: ['83-35=48', '57-48=9'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[48, 11], Operations: ['83-35=48', '57-46=11'] Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,42 unequal: No Solution Exploring Operation: 48*11=528, Resulting Numbers: [528] 528,42 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[57, 2], Operations: ['83-35=48', '48-46=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,42 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,42 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[35, 57, 37], Operations: ['83-46=37'] Exploring Operation: 57-35=22, Resulting Numbers: [37, 22] Generated Node #0,1,0: 42:[37, 22] Operation: 57-35=22 Exploring Operation: 37-35=2, Resulting Numbers: [57, 2] Generated Node #0,1,1: 42:[57, 2] Operation: 37-35=2 Exploring Operation: 57-37=20, Resulting Numbers: [35, 20] Generated Node #0,1,2: 42:[35, 20] Operation: 57-37=20 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[37, 22], Operations: ['83-46=37', '57-35=22'] Exploring Operation: 37*22=814, Resulting Numbers: [814] 814,42 unequal: No Solution Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 37+22=59, Resulting Numbers: [59] 59,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[35, 20], Operations: ['83-46=37', '57-37=20'] Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[57, 2], Operations: ['83-46=37', '37-35=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,42 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 50, 44, 42, 60 ]
79
[ "50*42=2100", "2100/60=35", "44+35=79" ]
Current State: 79:[50, 44, 42, 60], Operations: [] Exploring Operation: 50*42=2100, Resulting Numbers: [44, 60, 2100] Generated Node #2: [44, 60, 2100] from Operation: 50*42=2100 Current State: 79:[44, 60, 2100], Operations: ['50*42=2100'] Exploring Operation: 2100/60=35, Resulting Numbers: [44, 35] Generated Node #3: [44, 35] from Operation: 2100/60=35 Current State: 79:[44, 35], Operations: ['50*42=2100', '2100/60=35'] Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[50, 44, 42, 60], Operations: [] Exploring Operation: 44+42=86, Resulting Numbers: [50, 60, 86] Generated Node #0,0: 79:[50, 60, 86] Operation: 44+42=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[50, 60, 86], Operations: ['44+42=86'] Exploring Operation: 50+60=110, Resulting Numbers: [86, 110] Generated Node #0,0,0: 79:[86, 110] Operation: 50+60=110 Moving to Node #0,0,0 Current State: 79:[86, 110], Operations: ['44+42=86', '50+60=110'] Exploring Operation: 110-86=24, Resulting Numbers: [24] 24,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 22, 69, 85, 24 ]
53
[ "24-22=2", "69*2=138", "138-85=53" ]
Current State: 53:[22, 69, 85, 24], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [69, 85, 2] Generated Node #2: [69, 85, 2] from Operation: 24-22=2 Current State: 53:[69, 85, 2], Operations: ['24-22=2'] Exploring Operation: 69*2=138, Resulting Numbers: [85, 138] Generated Node #3: [85, 138] from Operation: 69*2=138 Current State: 53:[85, 138], Operations: ['24-22=2', '69*2=138'] Exploring Operation: 138-85=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[22, 69, 85, 24], Operations: [] Exploring Operation: 85-22=63, Resulting Numbers: [69, 24, 63] Generated Node #0,0: 53:[69, 24, 63] Operation: 85-22=63 Moving to Node #0,0 Current State: 53:[69, 24, 63], Operations: ['85-22=63'] Exploring Operation: 69-24=45, Resulting Numbers: [63, 45] Generated Node #0,0,0: 53:[63, 45] Operation: 69-24=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[63, 45], Operations: ['85-22=63', '69-24=45'] Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 81, 24, 13, 95 ]
51
[ "81-24=57", "13+95=108", "108-57=51" ]
Current State: 51:[81, 24, 13, 95], Operations: [] Exploring Operation: 81-24=57, Resulting Numbers: [13, 95, 57] Generated Node #2: [13, 95, 57] from Operation: 81-24=57 Current State: 51:[13, 95, 57], Operations: ['81-24=57'] Exploring Operation: 13+95=108, Resulting Numbers: [57, 108] Generated Node #3: [57, 108] from Operation: 13+95=108 Current State: 51:[57, 108], Operations: ['81-24=57', '13+95=108'] Exploring Operation: 108-57=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[81, 24, 13, 95], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [24, 13, 14] Generated Node #0,0: 51:[24, 13, 14] Operation: 95-81=14 Exploring Operation: 81-13=68, Resulting Numbers: [24, 95, 68] Generated Node #0,1: 51:[24, 95, 68] Operation: 81-13=68 Exploring Operation: 81-24=57, Resulting Numbers: [13, 95, 57] Generated Node #0,2: 51:[13, 95, 57] Operation: 81-24=57 Exploring Operation: 95-24=71, Resulting Numbers: [81, 13, 71] Generated Node #0,3: 51:[81, 13, 71] Operation: 95-24=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[24, 13, 14], Operations: ['95-81=14'] Exploring Operation: 24-14=10, Resulting Numbers: [13, 10] Generated Node #0,0,0: 51:[13, 10] Operation: 24-14=10 Exploring Operation: 24+13=37, Resulting Numbers: [14, 37] Generated Node #0,0,1: 51:[14, 37] Operation: 24+13=37 Exploring Operation: 24-13=11, Resulting Numbers: [14, 11] Generated Node #0,0,2: 51:[14, 11] Operation: 24-13=11 Exploring Operation: 14-13=1, Resulting Numbers: [24, 1] Generated Node #0,0,3: 51:[24, 1] Operation: 14-13=1 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[14, 11], Operations: ['95-81=14', '24-13=11'] Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,51 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,51 unequal: No Solution No 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: 51:[24, 1], Operations: ['95-81=14', '14-13=1'] Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,51 unequal: No Solution No 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: 51:[13, 10], Operations: ['95-81=14', '24-14=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,51 unequal: No Solution No 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: 51:[14, 37], Operations: ['95-81=14', '24+13=37'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[81, 24, 13, 95], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [24, 13, 14] Generated Node #0,0: 51:[24, 13, 14] Operation: 95-81=14 Moving to Node #0,0 Current State: 51:[24, 13, 14], Operations: ['95-81=14'] Exploring Operation: 24+13=37, Resulting Numbers: [14, 37] Generated Node #0,0,1: 51:[14, 37] Operation: 24+13=37 Moving to Node #0,0,1 Current State: 51:[14, 37], Operations: ['95-81=14', '24+13=37'] Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 35, 3, 67, 5 ]
46
[ "35*3=105", "105/5=21", "67-21=46" ]
Current State: 46:[35, 3, 67, 5], Operations: [] Exploring Operation: 35*3=105, Resulting Numbers: [67, 5, 105] Generated Node #2: [67, 5, 105] from Operation: 35*3=105 Current State: 46:[67, 5, 105], Operations: ['35*3=105'] Exploring Operation: 105/5=21, Resulting Numbers: [67, 21] Generated Node #3: [67, 21] from Operation: 105/5=21 Current State: 46:[67, 21], Operations: ['35*3=105', '105/5=21'] Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[35, 3, 67, 5], Operations: [] Exploring Operation: 35+5=40, Resulting Numbers: [3, 67, 40] Generated Node #0,0: 46:[3, 67, 40] Operation: 35+5=40 Exploring Operation: 35/5=7, Resulting Numbers: [3, 67, 7] Generated Node #0,1: 46:[3, 67, 7] Operation: 35/5=7 Exploring Operation: 35-5=30, Resulting Numbers: [3, 67, 30] Generated Node #0,2: 46:[3, 67, 30] Operation: 35-5=30 Exploring Operation: 67-35=32, Resulting Numbers: [3, 5, 32] Generated Node #0,3: 46:[3, 5, 32] Operation: 67-35=32 Exploring Operation: 67-5=62, Resulting Numbers: [35, 3, 62] Generated Node #0,4: 46:[35, 3, 62] Operation: 67-5=62 Moving to Node #0,3 Current State: 46:[3, 5, 32], Operations: ['67-35=32'] Exploring Operation: 5+32=37, Resulting Numbers: [3, 37] Generated Node #0,3,0: 46:[3, 37] Operation: 5+32=37 Exploring Operation: 3+32=35, Resulting Numbers: [5, 35] Generated Node #0,3,1: 46:[5, 35] Operation: 3+32=35 Exploring Operation: 5-3=2, Resulting Numbers: [32, 2] Generated Node #0,3,2: 46:[32, 2] Operation: 5-3=2 Exploring Operation: 32-5=27, Resulting Numbers: [3, 27] Generated Node #0,3,3: 46:[3, 27] Operation: 32-5=27 Exploring Operation: 32-3=29, Resulting Numbers: [5, 29] Generated Node #0,3,4: 46:[5, 29] Operation: 32-3=29 Moving to Node #0,1 Current State: 46:[3, 67, 7], Operations: ['35/5=7'] Exploring Operation: 67-3=64, Resulting Numbers: [7, 64] Generated Node #0,1,0: 46:[7, 64] Operation: 67-3=64 Exploring Operation: 3+67=70, Resulting Numbers: [7, 70] Generated Node #0,1,1: 46:[7, 70] Operation: 3+67=70 Exploring Operation: 67-7=60, Resulting Numbers: [3, 60] Generated Node #0,1,2: 46:[3, 60] Operation: 67-7=60 Exploring Operation: 7-3=4, Resulting Numbers: [67, 4] Generated Node #0,1,3: 46:[67, 4] Operation: 7-3=4 Exploring Operation: 3*7=21, Resulting Numbers: [67, 21] Generated Node #0,1,4: 46:[67, 21] Operation: 3*7=21 Moving to Node #0,0 Current State: 46:[3, 67, 40], Operations: ['35+5=40'] Exploring Operation: 3+40=43, Resulting Numbers: [67, 43] Generated Node #0,0,0: 46:[67, 43] Operation: 3+40=43 Exploring Operation: 40-3=37, Resulting Numbers: [67, 37] Generated Node #0,0,1: 46:[67, 37] Operation: 40-3=37 Exploring Operation: 67-3=64, Resulting Numbers: [40, 64] Generated Node #0,0,2: 46:[40, 64] Operation: 67-3=64 Exploring Operation: 67-40=27, Resulting Numbers: [3, 27] Generated Node #0,0,3: 46:[3, 27] Operation: 67-40=27 Exploring Operation: 3+67=70, Resulting Numbers: [40, 70] Generated Node #0,0,4: 46:[40, 70] Operation: 3+67=70 Moving to Node #0,4 Current State: 46:[35, 3, 62], Operations: ['67-5=62'] Exploring Operation: 62-3=59, Resulting Numbers: [35, 59] Generated Node #0,4,0: 46:[35, 59] Operation: 62-3=59 Exploring Operation: 3+62=65, Resulting Numbers: [35, 65] Generated Node #0,4,1: 46:[35, 65] Operation: 3+62=65 Exploring Operation: 62-35=27, Resulting Numbers: [3, 27] Generated Node #0,4,2: 46:[3, 27] Operation: 62-35=27 Exploring Operation: 35-3=32, Resulting Numbers: [62, 32] Generated Node #0,4,3: 46:[62, 32] Operation: 35-3=32 Exploring Operation: 35+3=38, Resulting Numbers: [62, 38] Generated Node #0,4,4: 46:[62, 38] Operation: 35+3=38 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 46:[3, 27], Operations: ['67-5=62', '62-35=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 46:[35, 59], Operations: ['67-5=62', '62-3=59'] Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 35+59=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 35*59=2065, Resulting Numbers: [2065] 2065,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 46:[62, 38], Operations: ['67-5=62', '35+3=38'] Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 62+38=100, Resulting Numbers: [100] 100,46 unequal: No Solution Exploring Operation: 62*38=2356, Resulting Numbers: [2356] 2356,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 46:[62, 32], Operations: ['67-5=62', '35-3=32'] Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 62*32=1984, Resulting Numbers: [1984] 1984,46 unequal: No Solution Exploring Operation: 62+32=94, Resulting Numbers: [94] 94,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 46:[35, 65], Operations: ['67-5=62', '3+62=65'] Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,46 unequal: No Solution Exploring Operation: 35*65=2275, Resulting Numbers: [2275] 2275,46 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,46 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: 46:[3, 67, 30], Operations: ['35-5=30'] Exploring Operation: 67-3=64, Resulting Numbers: [30, 64] Generated Node #0,2,0: 46:[30, 64] Operation: 67-3=64 Exploring Operation: 30-3=27, Resulting Numbers: [67, 27] Generated Node #0,2,1: 46:[67, 27] Operation: 30-3=27 Exploring Operation: 67-30=37, Resulting Numbers: [3, 37] Generated Node #0,2,2: 46:[3, 37] Operation: 67-30=37 Exploring Operation: 3+67=70, Resulting Numbers: [30, 70] Generated Node #0,2,3: 46:[30, 70] Operation: 3+67=70 Exploring Operation: 30/3=10, Resulting Numbers: [67, 10] Generated Node #0,2,4: 46:[67, 10] Operation: 30/3=10 Moving to Node #0,3,3 Current State: 46:[3, 27], Operations: ['67-35=32', '32-5=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[3, 27], Operations: ['35+5=40', '67-40=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,46 unequal: No Solution Moving to Node #0,3,4 Current State: 46:[5, 29], Operations: ['67-35=32', '32-3=29'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[32, 2], Operations: ['67-35=32', '5-3=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[3, 37], Operations: ['67-35=32', '5+32=37'] Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,46 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[3, 37], Operations: ['35-5=30', '67-30=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[5, 35], Operations: ['67-35=32', '3+32=35'] Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 5*35=175, Resulting Numbers: [175] 175,46 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[3, 60], Operations: ['35/5=7', '67-7=60'] Exploring Operation: 3*60=180, Resulting Numbers: [180] 180,46 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[7, 64], Operations: ['35/5=7', '67-3=64'] Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 7+64=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 7*64=448, Resulting Numbers: [448] 448,46 unequal: No Solution Moving to Node #0,1,4 Current State: 46:[67, 21], Operations: ['35/5=7', '3*7=21'] Exploring Operation: 67+21=88, Resulting Numbers: [88] 88,46 unequal: No Solution Exploring Operation: 67*21=1407, Resulting Numbers: [1407] 1407,46 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[35, 3, 67, 5], Operations: [] Exploring Operation: 35/5=7, Resulting Numbers: [3, 67, 7] Generated Node #0,1: 46:[3, 67, 7] Operation: 35/5=7 Moving to Node #0,1 Current State: 46:[3, 67, 7], Operations: ['35/5=7'] Exploring Operation: 3*7=21, Resulting Numbers: [67, 21] Generated Node #0,1,4: 46:[67, 21] Operation: 3*7=21 Moving to Node #0,1,4 Current State: 46:[67, 21], Operations: ['35/5=7', '3*7=21'] Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.926215
hs_5
sum_heuristic
[ 5, 3, 51, 93 ]
44
[ "5-3=2", "93-51=42", "2+42=44" ]
Current State: 44:[5, 3, 51, 93], Operations: [] Exploring Operation: 5-3=2, Resulting Numbers: [51, 93, 2] Generated Node #2: [51, 93, 2] from Operation: 5-3=2 Current State: 44:[51, 93, 2], Operations: ['5-3=2'] Exploring Operation: 93-51=42, Resulting Numbers: [2, 42] Generated Node #3: [2, 42] from Operation: 93-51=42 Current State: 44:[2, 42], Operations: ['5-3=2', '93-51=42'] Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[5, 3, 51, 93], Operations: [] Exploring Operation: 51-5=46, Resulting Numbers: [3, 93, 46] Generated Node #0,0: 44:[3, 93, 46] Operation: 51-5=46 Exploring Operation: 93/3=31, Resulting Numbers: [5, 51, 31] Generated Node #0,1: 44:[5, 51, 31] Operation: 93/3=31 Exploring Operation: 93-51=42, Resulting Numbers: [5, 3, 42] Generated Node #0,2: 44:[5, 3, 42] Operation: 93-51=42 Exploring Operation: 93-5=88, Resulting Numbers: [3, 51, 88] Generated Node #0,3: 44:[3, 51, 88] Operation: 93-5=88 Exploring Operation: 51-3=48, Resulting Numbers: [5, 93, 48] Generated Node #0,4: 44:[5, 93, 48] Operation: 51-3=48 Moving to Node #0,2 Current State: 44:[5, 3, 42], Operations: ['93-51=42'] Exploring Operation: 3+42=45, Resulting Numbers: [5, 45] Generated Node #0,2,0: 44:[5, 45] Operation: 3+42=45 Exploring Operation: 5-3=2, Resulting Numbers: [42, 2] Generated Node #0,2,1: 44:[42, 2] Operation: 5-3=2 Exploring Operation: 5+3=8, Resulting Numbers: [42, 8] Generated Node #0,2,2: 44:[42, 8] Operation: 5+3=8 Exploring Operation: 5+42=47, Resulting Numbers: [3, 47] Generated Node #0,2,3: 44:[3, 47] Operation: 5+42=47 Exploring Operation: 42/3=14, Resulting Numbers: [5, 14] Generated Node #0,2,4: 44:[5, 14] Operation: 42/3=14 Moving to Node #0,1 Current State: 44:[5, 51, 31], Operations: ['93/3=31'] Exploring Operation: 5+31=36, Resulting Numbers: [51, 36] Generated Node #0,1,0: 44:[51, 36] Operation: 5+31=36 Exploring Operation: 5+51=56, Resulting Numbers: [31, 56] Generated Node #0,1,1: 44:[31, 56] Operation: 5+51=56 Exploring Operation: 51-31=20, Resulting Numbers: [5, 20] Generated Node #0,1,2: 44:[5, 20] Operation: 51-31=20 Exploring Operation: 31-5=26, Resulting Numbers: [51, 26] Generated Node #0,1,3: 44:[51, 26] Operation: 31-5=26 Exploring Operation: 51-5=46, Resulting Numbers: [31, 46] Generated Node #0,1,4: 44:[31, 46] Operation: 51-5=46 Moving to Node #0,0 Current State: 44:[3, 93, 46], Operations: ['51-5=46'] Exploring Operation: 93/3=31, Resulting Numbers: [46, 31] Generated Node #0,0,0: 44:[46, 31] Operation: 93/3=31 Exploring Operation: 93-3=90, Resulting Numbers: [46, 90] Generated Node #0,0,1: 44:[46, 90] Operation: 93-3=90 Exploring Operation: 46-3=43, Resulting Numbers: [93, 43] Generated Node #0,0,2: 44:[93, 43] Operation: 46-3=43 Exploring Operation: 3+93=96, Resulting Numbers: [46, 96] Generated Node #0,0,3: 44:[46, 96] Operation: 3+93=96 Exploring Operation: 93-46=47, Resulting Numbers: [3, 47] Generated Node #0,0,4: 44:[3, 47] Operation: 93-46=47 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 44:[3, 47], Operations: ['51-5=46', '93-46=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,44 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[5, 3, 51, 93], Operations: [] Exploring Operation: 51-5=46, Resulting Numbers: [3, 93, 46] Generated Node #0,0: 44:[3, 93, 46] Operation: 51-5=46 Moving to Node #0,0 Current State: 44:[3, 93, 46], Operations: ['51-5=46'] Exploring Operation: 93-46=47, Resulting Numbers: [3, 47] Generated Node #0,0,4: 44:[3, 47] Operation: 93-46=47 Moving to Node #0,0,4 Current State: 44:[3, 47], Operations: ['51-5=46', '93-46=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 50, 23, 74, 37 ]
75
[ "50+23=73", "74/37=2", "73+2=75" ]
Current State: 75:[50, 23, 74, 37], Operations: [] Exploring Operation: 50+23=73, Resulting Numbers: [74, 37, 73] Generated Node #2: [74, 37, 73] from Operation: 50+23=73 Current State: 75:[74, 37, 73], Operations: ['50+23=73'] Exploring Operation: 74/37=2, Resulting Numbers: [73, 2] Generated Node #3: [73, 2] from Operation: 74/37=2 Current State: 75:[73, 2], Operations: ['50+23=73', '74/37=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[50, 23, 74, 37], Operations: [] Exploring Operation: 50+23=73, Resulting Numbers: [74, 37, 73] Generated Node #0,0: 75:[74, 37, 73] Operation: 50+23=73 Exploring Operation: 74-50=24, Resulting Numbers: [23, 37, 24] Generated Node #0,1: 75:[23, 37, 24] Operation: 74-50=24 Exploring Operation: 50-37=13, Resulting Numbers: [23, 74, 13] Generated Node #0,2: 75:[23, 74, 13] Operation: 50-37=13 Exploring Operation: 50+37=87, Resulting Numbers: [23, 74, 87] Generated Node #0,3: 75:[23, 74, 87] Operation: 50+37=87 Exploring Operation: 50-23=27, Resulting Numbers: [74, 37, 27] Generated Node #0,4: 75:[74, 37, 27] Operation: 50-23=27 Moving to Node #0,2 Current State: 75:[23, 74, 13], Operations: ['50-37=13'] Exploring Operation: 23+13=36, Resulting Numbers: [74, 36] Generated Node #0,2,0: 75:[74, 36] Operation: 23+13=36 Exploring Operation: 74-13=61, Resulting Numbers: [23, 61] Generated Node #0,2,1: 75:[23, 61] Operation: 74-13=61 Exploring Operation: 23+74=97, Resulting Numbers: [13, 97] Generated Node #0,2,2: 75:[13, 97] Operation: 23+74=97 Exploring Operation: 23-13=10, Resulting Numbers: [74, 10] Generated Node #0,2,3: 75:[74, 10] Operation: 23-13=10 Exploring Operation: 74+13=87, Resulting Numbers: [23, 87] Generated Node #0,2,4: 75:[23, 87] Operation: 74+13=87 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 75:[74, 10], Operations: ['50-37=13', '23-13=10'] Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,75 unequal: No Solution Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,75 unequal: No Solution Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 75:[74, 36], Operations: ['50-37=13', '23+13=36'] Exploring Operation: 74+36=110, Resulting Numbers: [110] 110,75 unequal: No Solution Exploring Operation: 74*36=2664, Resulting Numbers: [2664] 2664,75 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 75:[23, 87], Operations: ['50-37=13', '74+13=87'] Exploring Operation: 23+87=110, Resulting Numbers: [110] 110,75 unequal: No Solution Exploring Operation: 23*87=2001, Resulting Numbers: [2001] 2001,75 unequal: No Solution Exploring Operation: 87-23=64, Resulting Numbers: [64] 64,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[23, 61], Operations: ['50-37=13', '74-13=61'] Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,75 unequal: No Solution Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 75:[13, 97], Operations: ['50-37=13', '23+74=97'] Exploring Operation: 13*97=1261, Resulting Numbers: [1261] 1261,75 unequal: No Solution Exploring Operation: 13+97=110, Resulting Numbers: [110] 110,75 unequal: No Solution Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,75 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: 75:[23, 37, 24], Operations: ['74-50=24'] Exploring Operation: 37+24=61, Resulting Numbers: [23, 61] Generated Node #0,1,0: 75:[23, 61] Operation: 37+24=61 Exploring Operation: 37-24=13, Resulting Numbers: [23, 13] Generated Node #0,1,1: 75:[23, 13] Operation: 37-24=13 Exploring Operation: 37-23=14, Resulting Numbers: [24, 14] Generated Node #0,1,2: 75:[24, 14] Operation: 37-23=14 Exploring Operation: 23+37=60, Resulting Numbers: [24, 60] Generated Node #0,1,3: 75:[24, 60] Operation: 23+37=60 Exploring Operation: 24-23=1, Resulting Numbers: [37, 1] Generated Node #0,1,4: 75:[37, 1] Operation: 24-23=1 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[24, 14], Operations: ['74-50=24', '37-23=14'] Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,75 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[23, 13], Operations: ['74-50=24', '37-24=13'] Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,75 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 75:[37, 1], Operations: ['74-50=24', '24-23=1'] Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,75 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,75 unequal: No Solution Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,75 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[23, 61], Operations: ['74-50=24', '37+24=61'] Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,75 unequal: No Solution Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,75 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 75:[24, 60], Operations: ['74-50=24', '23+37=60'] Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,75 unequal: No Solution Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,75 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,75 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: 75:[74, 37, 27], Operations: ['50-23=27'] Exploring Operation: 37-27=10, Resulting Numbers: [74, 10] Generated Node #0,4,0: 75:[74, 10] Operation: 37-27=10 Exploring Operation: 74-37=37, Resulting Numbers: [27, 37] Generated Node #0,4,1: 75:[27, 37] Operation: 74-37=37 Exploring Operation: 74/37=2, Resulting Numbers: [27, 2] Generated Node #0,4,2: 75:[27, 2] Operation: 74/37=2 Exploring Operation: 37+27=64, Resulting Numbers: [74, 64] Generated Node #0,4,3: 75:[74, 64] Operation: 37+27=64 Exploring Operation: 74-27=47, Resulting Numbers: [37, 47] Generated Node #0,4,4: 75:[37, 47] Operation: 74-27=47 Moving to Node #0,0 Current State: 75:[74, 37, 73], Operations: ['50+23=73'] Exploring Operation: 74/37=2, Resulting Numbers: [73, 2] Generated Node #0,0,0: 75:[73, 2] Operation: 74/37=2 Exploring Operation: 37+73=110, Resulting Numbers: [74, 110] Generated Node #0,0,1: 75:[74, 110] Operation: 37+73=110 Exploring Operation: 73-37=36, Resulting Numbers: [74, 36] Generated Node #0,0,2: 75:[74, 36] Operation: 73-37=36 Exploring Operation: 74-37=37, Resulting Numbers: [73, 37] Generated Node #0,0,3: 75:[73, 37] Operation: 74-37=37 Exploring Operation: 74-73=1, Resulting Numbers: [37, 1] Generated Node #0,0,4: 75:[37, 1] Operation: 74-73=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[73, 2], Operations: ['50+23=73', '74/37=2'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[50, 23, 74, 37], Operations: [] Exploring Operation: 50+23=73, Resulting Numbers: [74, 37, 73] Generated Node #0,0: 75:[74, 37, 73] Operation: 50+23=73 Moving to Node #0,0 Current State: 75:[74, 37, 73], Operations: ['50+23=73'] Exploring Operation: 74/37=2, Resulting Numbers: [73, 2] Generated Node #0,0,0: 75:[73, 2] Operation: 74/37=2 Moving to Node #0,0,0 Current State: 75:[73, 2], Operations: ['50+23=73', '74/37=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_5
sum_heuristic
[ 4, 75, 12, 27 ]
81
[ "12+27=39", "4*39=156", "156-75=81" ]
Current State: 81:[4, 75, 12, 27], Operations: [] Exploring Operation: 12+27=39, Resulting Numbers: [4, 75, 39] Generated Node #2: [4, 75, 39] from Operation: 12+27=39 Current State: 81:[4, 75, 39], Operations: ['12+27=39'] Exploring Operation: 4*39=156, Resulting Numbers: [75, 156] Generated Node #3: [75, 156] from Operation: 4*39=156 Current State: 81:[75, 156], Operations: ['12+27=39', '4*39=156'] Exploring Operation: 156-75=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[4, 75, 12, 27], Operations: [] Exploring Operation: 12/4=3, Resulting Numbers: [75, 27, 3] Generated Node #0,0: 81:[75, 27, 3] Operation: 12/4=3 Exploring Operation: 12-4=8, Resulting Numbers: [75, 27, 8] Generated Node #0,1: 81:[75, 27, 8] Operation: 12-4=8 Exploring Operation: 4+75=79, Resulting Numbers: [12, 27, 79] Generated Node #0,2: 81:[12, 27, 79] Operation: 4+75=79 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[12, 27, 79], Operations: ['4+75=79'] Exploring Operation: 27-12=15, Resulting Numbers: [79, 15] Generated Node #0,2,0: 81:[79, 15] Operation: 27-12=15 Exploring Operation: 12+27=39, Resulting Numbers: [79, 39] Generated Node #0,2,1: 81:[79, 39] Operation: 12+27=39 Exploring Operation: 12+79=91, Resulting Numbers: [27, 91] Generated Node #0,2,2: 81:[27, 91] Operation: 12+79=91 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[79, 15], Operations: ['4+75=79', '27-12=15'] Exploring Operation: 79*15=1185, Resulting Numbers: [1185] 1185,81 unequal: No Solution Exploring Operation: 79-15=64, Resulting Numbers: [64] 64,81 unequal: No Solution Exploring Operation: 79+15=94, Resulting Numbers: [94] 94,81 unequal: No Solution No 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: 81:[27, 91], Operations: ['4+75=79', '12+79=91'] Exploring Operation: 27+91=118, Resulting Numbers: [118] 118,81 unequal: No Solution Exploring Operation: 27*91=2457, Resulting Numbers: [2457] 2457,81 unequal: No Solution Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,81 unequal: No Solution No 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: 81:[79, 39], Operations: ['4+75=79', '12+27=39'] Exploring Operation: 79+39=118, Resulting Numbers: [118] 118,81 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 79*39=3081, Resulting Numbers: [3081] 3081,81 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: 81:[75, 27, 3], Operations: ['12/4=3'] Exploring Operation: 27*3=81, Resulting Numbers: [75, 81] Generated Node #0,0,0: 81:[75, 81] Operation: 27*3=81 Exploring Operation: 75/3=25, Resulting Numbers: [27, 25] Generated Node #0,0,1: 81:[27, 25] Operation: 75/3=25 Exploring Operation: 75+3=78, Resulting Numbers: [27, 78] Generated Node #0,0,2: 81:[27, 78] Operation: 75+3=78 Moving to Node #0,0,1 Current State: 81:[27, 25], Operations: ['12/4=3', '75/3=25'] Exploring Operation: 27+25=52, Resulting Numbers: [52] 52,81 unequal: No Solution Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 27*25=675, Resulting Numbers: [675] 675,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[27, 78], Operations: ['12/4=3', '75+3=78'] Exploring Operation: 27+78=105, Resulting Numbers: [105] 105,81 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,81 unequal: No Solution Exploring Operation: 27*78=2106, Resulting Numbers: [2106] 2106,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[75, 81], Operations: ['12/4=3', '27*3=81'] Exploring Operation: 81-75=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 75*81=6075, Resulting Numbers: [6075] 6075,81 unequal: No Solution Exploring Operation: 75+81=156, Resulting Numbers: [156] 156,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 Current State: 81:[75, 27, 8], Operations: ['12-4=8'] Exploring Operation: 27+8=35, Resulting Numbers: [75, 35] Generated Node #0,1,0: 81:[75, 35] Operation: 27+8=35 Exploring Operation: 75+8=83, Resulting Numbers: [27, 83] Generated Node #0,1,1: 81:[27, 83] Operation: 75+8=83 Exploring Operation: 75-8=67, Resulting Numbers: [27, 67] Generated Node #0,1,2: 81:[27, 67] Operation: 75-8=67 Moving to Node #0,1,1 Current State: 81:[27, 83], Operations: ['12-4=8', '75+8=83'] Exploring Operation: 27+83=110, Resulting Numbers: [110] 110,81 unequal: No Solution Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,81 unequal: No Solution Exploring Operation: 27*83=2241, Resulting Numbers: [2241] 2241,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[75, 35], Operations: ['12-4=8', '27+8=35'] Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 75+35=110, Resulting Numbers: [110] 110,81 unequal: No Solution Exploring Operation: 75*35=2625, Resulting Numbers: [2625] 2625,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[27, 67], Operations: ['12-4=8', '75-8=67'] Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 27*67=1809, Resulting Numbers: [1809] 1809,81 unequal: No Solution Exploring Operation: 27+67=94, Resulting Numbers: [94] 94,81 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
[ 91, 5, 74, 41 ]
29
[ "91-5=86", "74+41=115", "115-86=29" ]
Current State: 29:[91, 5, 74, 41], Operations: [] Exploring Operation: 91-5=86, Resulting Numbers: [74, 41, 86] Generated Node #2: [74, 41, 86] from Operation: 91-5=86 Current State: 29:[74, 41, 86], Operations: ['91-5=86'] Exploring Operation: 74+41=115, Resulting Numbers: [86, 115] Generated Node #3: [86, 115] from Operation: 74+41=115 Current State: 29:[86, 115], Operations: ['91-5=86', '74+41=115'] Exploring Operation: 115-86=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[91, 5, 74, 41], Operations: [] Exploring Operation: 91-74=17, Resulting Numbers: [5, 41, 17] Generated Node #0,0: 29:[5, 41, 17] Operation: 91-74=17 Exploring Operation: 91-41=50, Resulting Numbers: [5, 74, 50] Generated Node #0,1: 29:[5, 74, 50] Operation: 91-41=50 Exploring Operation: 91-5=86, Resulting Numbers: [74, 41, 86] Generated Node #0,2: 29:[74, 41, 86] Operation: 91-5=86 Exploring Operation: 74-41=33, Resulting Numbers: [91, 5, 33] Generated Node #0,3: 29:[91, 5, 33] Operation: 74-41=33 Moving to Node #0,0 Current State: 29:[5, 41, 17], Operations: ['91-74=17'] Exploring Operation: 17-5=12, Resulting Numbers: [41, 12] Generated Node #0,0,0: 29:[41, 12] Operation: 17-5=12 Exploring Operation: 41-5=36, Resulting Numbers: [17, 36] Generated Node #0,0,1: 29:[17, 36] Operation: 41-5=36 Exploring Operation: 5+41=46, Resulting Numbers: [17, 46] Generated Node #0,0,2: 29:[17, 46] Operation: 5+41=46 Exploring Operation: 5+17=22, Resulting Numbers: [41, 22] Generated Node #0,0,3: 29:[41, 22] Operation: 5+17=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[17, 36], Operations: ['91-74=17', '41-5=36'] Exploring Operation: 17*36=612, Resulting Numbers: [612] 612,29 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,29 unequal: No Solution Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 29:[41, 22], Operations: ['91-74=17', '5+17=22'] Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,29 unequal: No Solution Exploring Operation: 41+22=63, Resulting Numbers: [63] 63,29 unequal: No Solution Exploring Operation: 41*22=902, Resulting Numbers: [902] 902,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[41, 12], Operations: ['91-74=17', '17-5=12'] Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,29 unequal: No Solution Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[91, 5, 74, 41], Operations: [] Exploring Operation: 91-74=17, Resulting Numbers: [5, 41, 17] Generated Node #0,0: 29:[5, 41, 17] Operation: 91-74=17 Moving to Node #0,0 Current State: 29:[5, 41, 17], Operations: ['91-74=17'] Exploring Operation: 17-5=12, Resulting Numbers: [41, 12] Generated Node #0,0,0: 29:[41, 12] Operation: 17-5=12 Moving to Node #0,0,0 Current State: 29:[41, 12], Operations: ['91-74=17', '17-5=12'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 22, 57, 29, 35 ]
99
[ "57-22=35", "29+35=64", "35+64=99" ]
Current State: 99:[22, 57, 29, 35], Operations: [] Exploring Operation: 57-22=35, Resulting Numbers: [29, 35, 35] Generated Node #2: [29, 35, 35] from Operation: 57-22=35 Current State: 99:[29, 35, 35], Operations: ['57-22=35'] Exploring Operation: 29+35=64, Resulting Numbers: [64] 64,99 equal: Goal Reached Exploring Operation: 35+64=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[22, 57, 29, 35], Operations: [] Exploring Operation: 57-22=35, Resulting Numbers: [29, 35, 35] Generated Node #0,0: 99:[29, 35, 35] Operation: 57-22=35 Exploring Operation: 57-29=28, Resulting Numbers: [22, 35, 28] Generated Node #0,1: 99:[22, 35, 28] Operation: 57-29=28 Exploring Operation: 57+35=92, Resulting Numbers: [22, 29, 92] Generated Node #0,2: 99:[22, 29, 92] Operation: 57+35=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[29, 35, 35], Operations: ['57-22=35'] Exploring Operation: 35-29=6, Resulting Numbers: [35, 6] Generated Node #0,0,0: 99:[35, 6] Operation: 35-29=6 Exploring Operation: 35-29=6, Resulting Numbers: [35, 6] Generated Node #0,0,1: 99:[35, 6] Operation: 35-29=6 Exploring Operation: 35/35=1, Resulting Numbers: [29, 1] Generated Node #0,0,2: 99:[29, 1] Operation: 35/35=1 Moving to Node #0,0,0 Current State: 99:[35, 6], Operations: ['57-22=35', '35-29=6'] Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,99 unequal: No Solution Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[35, 6], Operations: ['57-22=35', '35-29=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[29, 1], Operations: ['57-22=35', '35/35=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,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:[22, 35, 28], Operations: ['57-29=28'] Exploring Operation: 35-22=13, Resulting Numbers: [28, 13] Generated Node #0,1,0: 99:[28, 13] Operation: 35-22=13 Exploring Operation: 28-22=6, Resulting Numbers: [35, 6] Generated Node #0,1,1: 99:[35, 6] Operation: 28-22=6 Exploring Operation: 35-28=7, Resulting Numbers: [22, 7] Generated Node #0,1,2: 99:[22, 7] Operation: 35-28=7 Moving to Node #0,1,1 Current State: 99:[35, 6], Operations: ['57-29=28', '28-22=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[28, 13], Operations: ['57-29=28', '35-22=13'] Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,99 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[22, 7], Operations: ['57-29=28', '35-28=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[22, 29, 92], Operations: ['57+35=92'] Exploring Operation: 22+29=51, Resulting Numbers: [92, 51] Generated Node #0,2,0: 99:[92, 51] Operation: 22+29=51 Exploring Operation: 29-22=7, Resulting Numbers: [92, 7] Generated Node #0,2,1: 99:[92, 7] Operation: 29-22=7 Exploring Operation: 22+92=114, Resulting Numbers: [29, 114] Generated Node #0,2,2: 99:[29, 114] Operation: 22+92=114 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 99:[92, 7], Operations: ['57+35=92', '29-22=7'] Exploring Operation: 92*7=644, Resulting Numbers: [644] 644,99 unequal: No Solution Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[22, 57, 29, 35], Operations: [] Exploring Operation: 57+35=92, Resulting Numbers: [22, 29, 92] Generated Node #0,2: 99:[22, 29, 92] Operation: 57+35=92 Moving to Node #0,2 Current State: 99:[22, 29, 92], Operations: ['57+35=92'] Exploring Operation: 29-22=7, Resulting Numbers: [92, 7] Generated Node #0,2,1: 99:[92, 7] Operation: 29-22=7 Moving to Node #0,2,1 Current State: 99:[92, 7], Operations: ['57+35=92', '29-22=7'] Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_3
sum_heuristic
[ 25, 14, 83, 78 ]
47
[ "14*78=1092", "83+1092=1175", "1175/25=47" ]
Current State: 47:[25, 14, 83, 78], Operations: [] Exploring Operation: 14*78=1092, Resulting Numbers: [25, 83, 1092] Generated Node #2: [25, 83, 1092] from Operation: 14*78=1092 Current State: 47:[25, 83, 1092], Operations: ['14*78=1092'] Exploring Operation: 83+1092=1175, Resulting Numbers: [25, 1175] Generated Node #3: [25, 1175] from Operation: 83+1092=1175 Current State: 47:[25, 1175], Operations: ['14*78=1092', '83+1092=1175'] Exploring Operation: 1175/25=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[25, 14, 83, 78], Operations: [] Exploring Operation: 83-14=69, Resulting Numbers: [25, 78, 69] Generated Node #0,0: 47:[25, 78, 69] Operation: 83-14=69 Exploring Operation: 83-25=58, Resulting Numbers: [14, 78, 58] Generated Node #0,1: 47:[14, 78, 58] Operation: 83-25=58 Exploring Operation: 78-25=53, Resulting Numbers: [14, 83, 53] Generated Node #0,2: 47:[14, 83, 53] Operation: 78-25=53 Exploring Operation: 25+14=39, Resulting Numbers: [83, 78, 39] Generated Node #0,3: 47:[83, 78, 39] Operation: 25+14=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[25, 78, 69], Operations: ['83-14=69'] Exploring Operation: 78-69=9, Resulting Numbers: [25, 9] Generated Node #0,0,0: 47:[25, 9] Operation: 78-69=9 Exploring Operation: 25+78=103, Resulting Numbers: [69, 103] Generated Node #0,0,1: 47:[69, 103] Operation: 25+78=103 Exploring Operation: 69-25=44, Resulting Numbers: [78, 44] Generated Node #0,0,2: 47:[78, 44] Operation: 69-25=44 Exploring Operation: 78-25=53, Resulting Numbers: [69, 53] Generated Node #0,0,3: 47:[69, 53] Operation: 78-25=53 Moving to Node #0,0,3 Current State: 47:[69, 53], Operations: ['83-14=69', '78-25=53'] Exploring Operation: 69+53=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 69*53=3657, Resulting Numbers: [3657] 3657,47 unequal: No Solution Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[78, 44], Operations: ['83-14=69', '69-25=44'] Exploring Operation: 78+44=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 78*44=3432, Resulting Numbers: [3432] 3432,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[25, 9], Operations: ['83-14=69', '78-69=9'] Exploring Operation: 25*9=225, Resulting Numbers: [225] 225,47 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[69, 103], Operations: ['83-14=69', '25+78=103'] Exploring Operation: 69+103=172, Resulting Numbers: [172] 172,47 unequal: No Solution Exploring Operation: 69*103=7107, Resulting Numbers: [7107] 7107,47 unequal: No Solution Exploring Operation: 103-69=34, Resulting Numbers: [34] 34,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[14, 78, 58], Operations: ['83-25=58'] Exploring Operation: 14+58=72, Resulting Numbers: [78, 72] Generated Node #0,1,0: 47:[78, 72] Operation: 14+58=72 Exploring Operation: 78-14=64, Resulting Numbers: [58, 64] Generated Node #0,1,1: 47:[58, 64] Operation: 78-14=64 Exploring Operation: 14+78=92, Resulting Numbers: [58, 92] Generated Node #0,1,2: 47:[58, 92] Operation: 14+78=92 Exploring Operation: 58-14=44, Resulting Numbers: [78, 44] Generated Node #0,1,3: 47:[78, 44] Operation: 58-14=44 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[58, 64], Operations: ['83-25=58', '78-14=64'] Exploring Operation: 58+64=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 58*64=3712, Resulting Numbers: [3712] 3712,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 47:[78, 44], Operations: ['83-25=58', '58-14=44'] Exploring Operation: 78+44=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 78*44=3432, Resulting Numbers: [3432] 3432,47 unequal: No Solution Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[78, 72], Operations: ['83-25=58', '14+58=72'] Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,47 unequal: No Solution Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,47 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[58, 92], Operations: ['83-25=58', '14+78=92'] Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 58+92=150, Resulting Numbers: [150] 150,47 unequal: No Solution Exploring Operation: 58*92=5336, Resulting Numbers: [5336] 5336,47 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: 47:[14, 83, 53], Operations: ['78-25=53'] Exploring Operation: 53-14=39, Resulting Numbers: [83, 39] Generated Node #0,2,0: 47:[83, 39] Operation: 53-14=39 Exploring Operation: 83-53=30, Resulting Numbers: [14, 30] Generated Node #0,2,1: 47:[14, 30] Operation: 83-53=30 Exploring Operation: 14+83=97, Resulting Numbers: [53, 97] Generated Node #0,2,2: 47:[53, 97] Operation: 14+83=97 Exploring Operation: 83-14=69, Resulting Numbers: [53, 69] Generated Node #0,2,3: 47:[53, 69] Operation: 83-14=69 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 47:[53, 69], Operations: ['78-25=53', '83-14=69'] Exploring Operation: 53*69=3657, Resulting Numbers: [3657] 3657,47 unequal: No Solution Exploring Operation: 53+69=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[83, 39], Operations: ['78-25=53', '53-14=39'] Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 83+39=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 83*39=3237, Resulting Numbers: [3237] 3237,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[14, 30], Operations: ['78-25=53', '83-53=30'] Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,47 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[53, 97], Operations: ['78-25=53', '14+83=97'] Exploring Operation: 53*97=5141, Resulting Numbers: [5141] 5141,47 unequal: No Solution Exploring Operation: 53+97=150, Resulting Numbers: [150] 150,47 unequal: No Solution Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,47 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: 47:[83, 78, 39], Operations: ['25+14=39'] Exploring Operation: 78/39=2, Resulting Numbers: [83, 2] Generated Node #0,3,0: 47:[83, 2] Operation: 78/39=2 Exploring Operation: 83-78=5, Resulting Numbers: [39, 5] Generated Node #0,3,1: 47:[39, 5] Operation: 83-78=5 Exploring Operation: 78-39=39, Resulting Numbers: [83, 39] Generated Node #0,3,2: 47:[83, 39] Operation: 78-39=39 Exploring Operation: 83-39=44, Resulting Numbers: [78, 44] Generated Node #0,3,3: 47:[78, 44] Operation: 83-39=44 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 47:[78, 44], Operations: ['25+14=39', '83-39=44'] Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 78+44=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 78*44=3432, Resulting Numbers: [3432] 3432,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 47:[83, 39], Operations: ['25+14=39', '78-39=39'] Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 83+39=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 83*39=3237, Resulting Numbers: [3237] 3237,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 47:[39, 5], Operations: ['25+14=39', '83-78=5'] Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 47:[83, 2], Operations: ['25+14=39', '78/39=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,47 unequal: No Solution Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 49, 73, 75, 84 ]
70
[ "84-49=35", "75-73=2", "35*2=70" ]
Current State: 70:[49, 73, 75, 84], Operations: [] Exploring Operation: 84-49=35, Resulting Numbers: [73, 75, 35] Generated Node #2: [73, 75, 35] from Operation: 84-49=35 Current State: 70:[73, 75, 35], Operations: ['84-49=35'] Exploring Operation: 75-73=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 75-73=2 Current State: 70:[35, 2], Operations: ['84-49=35', '75-73=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[49, 73, 75, 84], Operations: [] Exploring Operation: 84-49=35, Resulting Numbers: [73, 75, 35] Generated Node #0,0: 70:[73, 75, 35] Operation: 84-49=35 Exploring Operation: 84-75=9, Resulting Numbers: [49, 73, 9] Generated Node #0,1: 70:[49, 73, 9] Operation: 84-75=9 Exploring Operation: 84-73=11, Resulting Numbers: [49, 75, 11] Generated Node #0,2: 70:[49, 75, 11] Operation: 84-73=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[73, 75, 35], Operations: ['84-49=35'] Exploring Operation: 75-73=2, Resulting Numbers: [35, 2] Generated Node #0,0,0: 70:[35, 2] Operation: 75-73=2 Exploring Operation: 75-35=40, Resulting Numbers: [73, 40] Generated Node #0,0,1: 70:[73, 40] Operation: 75-35=40 Exploring Operation: 73-35=38, Resulting Numbers: [75, 38] Generated Node #0,0,2: 70:[75, 38] Operation: 73-35=38 Moving to Node #0,0,0 Current State: 70:[35, 2], Operations: ['84-49=35', '75-73=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[49, 73, 75, 84], Operations: [] Exploring Operation: 84-49=35, Resulting Numbers: [73, 75, 35] Generated Node #0,0: 70:[73, 75, 35] Operation: 84-49=35 Moving to Node #0,0 Current State: 70:[73, 75, 35], Operations: ['84-49=35'] Exploring Operation: 75-73=2, Resulting Numbers: [35, 2] Generated Node #0,0,0: 70:[35, 2] Operation: 75-73=2 Moving to Node #0,0,0 Current State: 70:[35, 2], Operations: ['84-49=35', '75-73=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 36, 61, 27, 39 ]
70
[ "39-36=3", "27/3=9", "61+9=70" ]
Current State: 70:[36, 61, 27, 39], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [61, 27, 3] Generated Node #2: [61, 27, 3] from Operation: 39-36=3 Current State: 70:[61, 27, 3], Operations: ['39-36=3'] Exploring Operation: 27/3=9, Resulting Numbers: [61, 9] Generated Node #3: [61, 9] from Operation: 27/3=9 Current State: 70:[61, 9], Operations: ['39-36=3', '27/3=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[36, 61, 27, 39], Operations: [] Exploring Operation: 27+39=66, Resulting Numbers: [36, 61, 66] Generated Node #0,0: 70:[36, 61, 66] Operation: 27+39=66 Exploring Operation: 36-27=9, Resulting Numbers: [61, 39, 9] Generated Node #0,1: 70:[61, 39, 9] Operation: 36-27=9 Exploring Operation: 39-27=12, Resulting Numbers: [36, 61, 12] Generated Node #0,2: 70:[36, 61, 12] Operation: 39-27=12 Exploring Operation: 61-27=34, Resulting Numbers: [36, 39, 34] Generated Node #0,3: 70:[36, 39, 34] Operation: 61-27=34 Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[36, 39, 34], Operations: ['61-27=34'] Exploring Operation: 36-34=2, Resulting Numbers: [39, 2] Generated Node #0,3,0: 70:[39, 2] Operation: 36-34=2 Exploring Operation: 36+34=70, Resulting Numbers: [39, 70] Generated Node #0,3,1: 70:[39, 70] Operation: 36+34=70 Exploring Operation: 39-34=5, Resulting Numbers: [36, 5] Generated Node #0,3,2: 70:[36, 5] Operation: 39-34=5 Exploring Operation: 39-36=3, Resulting Numbers: [34, 3] Generated Node #0,3,3: 70:[34, 3] Operation: 39-36=3 Moving to Node #0,3,2 Current State: 70:[36, 5], Operations: ['61-27=34', '39-34=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[34, 3], Operations: ['61-27=34', '39-36=3'] Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[39, 70], Operations: ['61-27=34', '36+34=70'] Exploring Operation: 39+70=109, Resulting Numbers: [109] 109,70 unequal: No Solution Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 39*70=2730, Resulting Numbers: [2730] 2730,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[39, 2], Operations: ['61-27=34', '36-34=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,70 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[36, 61, 12], Operations: ['39-27=12'] Exploring Operation: 36/12=3, Resulting Numbers: [61, 3] Generated Node #0,2,0: 70:[61, 3] Operation: 36/12=3 Exploring Operation: 61-12=49, Resulting Numbers: [36, 49] Generated Node #0,2,1: 70:[36, 49] Operation: 61-12=49 Exploring Operation: 61-36=25, Resulting Numbers: [12, 25] Generated Node #0,2,2: 70:[12, 25] Operation: 61-36=25 Exploring Operation: 61+12=73, Resulting Numbers: [36, 73] Generated Node #0,2,3: 70:[36, 73] Operation: 61+12=73 Moving to Node #0,2,3 Current State: 70:[36, 73], Operations: ['39-27=12', '61+12=73'] Exploring Operation: 36+73=109, Resulting Numbers: [109] 109,70 unequal: No Solution Exploring Operation: 36*73=2628, Resulting Numbers: [2628] 2628,70 unequal: No Solution Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[61, 3], Operations: ['39-27=12', '36/12=3'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,70 unequal: No Solution Exploring Operation: 61*3=183, Resulting Numbers: [183] 183,70 unequal: No Solution Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[12, 25], Operations: ['39-27=12', '61-36=25'] Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,70 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[36, 49], Operations: ['39-27=12', '61-12=49'] Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 36+49=85, Resulting Numbers: [85] 85,70 unequal: No Solution Exploring Operation: 36*49=1764, Resulting Numbers: [1764] 1764,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:[36, 61, 66], Operations: ['27+39=66'] Exploring Operation: 66-61=5, Resulting Numbers: [36, 5] Generated Node #0,0,0: 70:[36, 5] Operation: 66-61=5 Exploring Operation: 36+61=97, Resulting Numbers: [66, 97] Generated Node #0,0,1: 70:[66, 97] Operation: 36+61=97 Exploring Operation: 66-36=30, Resulting Numbers: [61, 30] Generated Node #0,0,2: 70:[61, 30] Operation: 66-36=30 Exploring Operation: 61-36=25, Resulting Numbers: [66, 25] Generated Node #0,0,3: 70:[66, 25] Operation: 61-36=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[36, 5], Operations: ['27+39=66', '66-61=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[61, 30], Operations: ['27+39=66', '66-36=30'] Exploring Operation: 61*30=1830, Resulting Numbers: [1830] 1830,70 unequal: No Solution Exploring Operation: 61+30=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 70:[66, 25], Operations: ['27+39=66', '61-36=25'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,70 unequal: No Solution Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 66*25=1650, Resulting Numbers: [1650] 1650,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[66, 97], Operations: ['27+39=66', '36+61=97'] Exploring Operation: 66*97=6402, Resulting Numbers: [6402] 6402,70 unequal: No Solution Exploring Operation: 66+97=163, Resulting Numbers: [163] 163,70 unequal: No Solution Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,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,1 Current State: 70:[61, 39, 9], Operations: ['36-27=9'] Exploring Operation: 61-39=22, Resulting Numbers: [9, 22] Generated Node #0,1,0: 70:[9, 22] Operation: 61-39=22 Exploring Operation: 61-9=52, Resulting Numbers: [39, 52] Generated Node #0,1,1: 70:[39, 52] Operation: 61-9=52 Exploring Operation: 61+9=70, Resulting Numbers: [39, 70] Generated Node #0,1,2: 70:[39, 70] Operation: 61+9=70 Exploring Operation: 39-9=30, Resulting Numbers: [61, 30] Generated Node #0,1,3: 70:[61, 30] Operation: 39-9=30 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[39, 70], Operations: ['36-27=9', '61+9=70'] Exploring Operation: 39*70=2730, Resulting Numbers: [2730] 2730,70 unequal: No Solution Exploring Operation: 39+70=109, Resulting Numbers: [109] 109,70 unequal: No Solution Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,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,0 Current State: 70:[9, 22], Operations: ['36-27=9', '61-39=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,70 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,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,3 Current State: 70:[61, 30], Operations: ['36-27=9', '39-9=30'] Exploring Operation: 61+30=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 61*30=1830, Resulting Numbers: [1830] 1830,70 unequal: No Solution Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,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:[39, 52], Operations: ['36-27=9', '61-9=52'] Exploring Operation: 39+52=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 39*52=2028, Resulting Numbers: [2028] 2028,70 unequal: No Solution Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 3, 55, 24, 89 ]
13
[ "55-3=52", "89-24=65", "65-52=13" ]
Current State: 13:[3, 55, 24, 89], Operations: [] Exploring Operation: 55-3=52, Resulting Numbers: [24, 89, 52] Generated Node #2: [24, 89, 52] from Operation: 55-3=52 Current State: 13:[24, 89, 52], Operations: ['55-3=52'] Exploring Operation: 89-24=65, Resulting Numbers: [52, 65] Generated Node #3: [52, 65] from Operation: 89-24=65 Current State: 13:[52, 65], Operations: ['55-3=52', '89-24=65'] Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[3, 55, 24, 89], Operations: [] Exploring Operation: 89-55=34, Resulting Numbers: [3, 24, 34] Generated Node #0,0: 13:[3, 24, 34] Operation: 89-55=34 Exploring Operation: 55-24=31, Resulting Numbers: [3, 89, 31] Generated Node #0,1: 13:[3, 89, 31] Operation: 55-24=31 Moving to Node #0,0 Current State: 13:[3, 24, 34], Operations: ['89-55=34'] Exploring Operation: 34-24=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 13:[3, 10] Operation: 34-24=10 Exploring Operation: 24/3=8, Resulting Numbers: [34, 8] Generated Node #0,0,1: 13:[34, 8] Operation: 24/3=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[3, 10], Operations: ['89-55=34', '34-24=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[3, 55, 24, 89], Operations: [] Exploring Operation: 89-55=34, Resulting Numbers: [3, 24, 34] Generated Node #0,0: 13:[3, 24, 34] Operation: 89-55=34 Moving to Node #0,0 Current State: 13:[3, 24, 34], Operations: ['89-55=34'] Exploring Operation: 34-24=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 13:[3, 10] Operation: 34-24=10 Moving to Node #0,0,0 Current State: 13:[3, 10], Operations: ['89-55=34', '34-24=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 18, 51, 51, 59 ]
18
[ "51-51=0", "59*0=0", "18+0=18" ]
Current State: 18:[18, 51, 51, 59], Operations: [] Exploring Operation: 51-51=0, Resulting Numbers: [18, 59, 0] Generated Node #2: [18, 59, 0] from Operation: 51-51=0 Current State: 18:[18, 59, 0], Operations: ['51-51=0'] Exploring Operation: 59*0=0, Resulting Numbers: [18, 0] Generated Node #3: [18, 0] from Operation: 59*0=0 Current State: 18:[18, 0], Operations: ['51-51=0', '59*0=0'] Exploring Operation: 18+0=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[18, 51, 51, 59], Operations: [] Exploring Operation: 59-51=8, Resulting Numbers: [18, 51, 8] Generated Node #0,0: 18:[18, 51, 8] Operation: 59-51=8 Exploring Operation: 59-51=8, Resulting Numbers: [18, 51, 8] Generated Node #0,1: 18:[18, 51, 8] Operation: 59-51=8 Moving to Node #0,0 Current State: 18:[18, 51, 8], Operations: ['59-51=8'] Exploring Operation: 51-18=33, Resulting Numbers: [8, 33] Generated Node #0,0,0: 18:[8, 33] Operation: 51-18=33 Exploring Operation: 51-8=43, Resulting Numbers: [18, 43] Generated Node #0,0,1: 18:[18, 43] Operation: 51-8=43 Moving to Node #0,1 Current State: 18:[18, 51, 8], Operations: ['59-51=8'] Exploring Operation: 51-18=33, Resulting Numbers: [8, 33] Generated Node #0,1,0: 18:[8, 33] Operation: 51-18=33 Exploring Operation: 51-8=43, Resulting Numbers: [18, 43] Generated Node #0,1,1: 18:[18, 43] Operation: 51-8=43 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[8, 33], Operations: ['59-51=8', '51-18=33'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[18, 43], Operations: ['59-51=8', '51-8=43'] Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 18+43=61, Resulting Numbers: [61] 61,18 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: 18:[8, 33], Operations: ['59-51=8', '51-18=33'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[18, 43], Operations: ['59-51=8', '51-8=43'] Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 18+43=61, Resulting Numbers: [61] 61,18 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 86, 54, 28, 2 ]
58
[ "86-54=32", "28-2=26", "32+26=58" ]
Current State: 58:[86, 54, 28, 2], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [28, 2, 32] Generated Node #2: [28, 2, 32] from Operation: 86-54=32 Current State: 58:[28, 2, 32], Operations: ['86-54=32'] Exploring Operation: 28-2=26, Resulting Numbers: [32, 26] Generated Node #3: [32, 26] from Operation: 28-2=26 Current State: 58:[32, 26], Operations: ['86-54=32', '28-2=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[86, 54, 28, 2], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [28, 2, 32] Generated Node #0,0: 58:[28, 2, 32] Operation: 86-54=32 Exploring Operation: 86-28=58, Resulting Numbers: [54, 2, 58] Generated Node #0,1: 58:[54, 2, 58] Operation: 86-28=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[28, 2, 32], Operations: ['86-54=32'] Exploring Operation: 32-28=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 58:[2, 4] Operation: 32-28=4 Exploring Operation: 28+32=60, Resulting Numbers: [2, 60] Generated Node #0,0,1: 58:[2, 60] Operation: 28+32=60 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[2, 4], Operations: ['86-54=32', '32-28=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,58 unequal: No Solution No 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: 58:[2, 60], Operations: ['86-54=32', '28+32=60'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[86, 54, 28, 2], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [28, 2, 32] Generated Node #0,0: 58:[28, 2, 32] Operation: 86-54=32 Moving to Node #0,0 Current State: 58:[28, 2, 32], Operations: ['86-54=32'] Exploring Operation: 28+32=60, Resulting Numbers: [2, 60] Generated Node #0,0,1: 58:[2, 60] Operation: 28+32=60 Moving to Node #0,0,1 Current State: 58:[2, 60], Operations: ['86-54=32', '28+32=60'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 69, 42, 4, 49 ]
19
[ "69-42=27", "49+27=76", "76/4=19" ]
Current State: 19:[69, 42, 4, 49], Operations: [] Exploring Operation: 69-42=27, Resulting Numbers: [4, 49, 27] Generated Node #2: [4, 49, 27] from Operation: 69-42=27 Current State: 19:[4, 49, 27], Operations: ['69-42=27'] Exploring Operation: 49+27=76, Resulting Numbers: [4, 76] Generated Node #3: [4, 76] from Operation: 49+27=76 Current State: 19:[4, 76], Operations: ['69-42=27', '49+27=76'] Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[69, 42, 4, 49], Operations: [] Exploring Operation: 69-42=27, Resulting Numbers: [4, 49, 27] Generated Node #0,0: 19:[4, 49, 27] Operation: 69-42=27 Exploring Operation: 49-42=7, Resulting Numbers: [69, 4, 7] Generated Node #0,1: 19:[69, 4, 7] Operation: 49-42=7 Exploring Operation: 69-49=20, Resulting Numbers: [42, 4, 20] Generated Node #0,2: 19:[42, 4, 20] Operation: 69-49=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[42, 4, 20], Operations: ['69-49=20'] Exploring Operation: 20-4=16, Resulting Numbers: [42, 16] Generated Node #0,2,0: 19:[42, 16] Operation: 20-4=16 Exploring Operation: 42-4=38, Resulting Numbers: [20, 38] Generated Node #0,2,1: 19:[20, 38] Operation: 42-4=38 Exploring Operation: 42-20=22, Resulting Numbers: [4, 22] Generated Node #0,2,2: 19:[4, 22] Operation: 42-20=22 Moving to Node #0,2,2 Current State: 19:[4, 22], Operations: ['69-49=20', '42-20=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,19 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[20, 38], Operations: ['69-49=20', '42-4=38'] Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,19 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[42, 16], Operations: ['69-49=20', '20-4=16'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,19 unequal: No Solution Exploring Operation: 42*16=672, Resulting Numbers: [672] 672,19 unequal: No Solution Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[4, 49, 27], Operations: ['69-42=27'] Exploring Operation: 49-27=22, Resulting Numbers: [4, 22] Generated Node #0,0,0: 19:[4, 22] Operation: 49-27=22 Exploring Operation: 27-4=23, Resulting Numbers: [49, 23] Generated Node #0,0,1: 19:[49, 23] Operation: 27-4=23 Exploring Operation: 49-4=45, Resulting Numbers: [27, 45] Generated Node #0,0,2: 19:[27, 45] Operation: 49-4=45 Moving to Node #0,0,0 Current State: 19:[4, 22], Operations: ['69-42=27', '49-27=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,19 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,19 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[49, 23], Operations: ['69-42=27', '27-4=23'] Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,19 unequal: No Solution Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,19 unequal: No Solution Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[27, 45], Operations: ['69-42=27', '49-4=45'] Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,19 unequal: No Solution Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,19 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[69, 4, 7], Operations: ['49-42=7'] Exploring Operation: 4+7=11, Resulting Numbers: [69, 11] Generated Node #0,1,0: 19:[69, 11] Operation: 4+7=11 Exploring Operation: 69-4=65, Resulting Numbers: [7, 65] Generated Node #0,1,1: 19:[7, 65] Operation: 69-4=65 Exploring Operation: 69-7=62, Resulting Numbers: [4, 62] Generated Node #0,1,2: 19:[4, 62] Operation: 69-7=62 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[69, 11], Operations: ['49-42=7', '4+7=11'] Exploring Operation: 69*11=759, Resulting Numbers: [759] 759,19 unequal: No Solution Exploring Operation: 69+11=80, Resulting Numbers: [80] 80,19 unequal: No Solution Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[7, 65], Operations: ['49-42=7', '69-4=65'] Exploring Operation: 7*65=455, Resulting Numbers: [455] 455,19 unequal: No Solution Exploring Operation: 7+65=72, Resulting Numbers: [72] 72,19 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[4, 62], Operations: ['49-42=7', '69-7=62'] Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 4*62=248, Resulting Numbers: [248] 248,19 unequal: No Solution Exploring Operation: 4+62=66, Resulting Numbers: [66] 66,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 22, 1, 13, 15 ]
91
[ "22*1=22", "22-15=7", "13*7=91" ]
Current State: 91:[22, 1, 13, 15], Operations: [] Exploring Operation: 22*1=22, Resulting Numbers: [13, 15, 22] Generated Node #2: [13, 15, 22] from Operation: 22*1=22 Current State: 91:[13, 15, 22], Operations: ['22*1=22'] Exploring Operation: 22-15=7, Resulting Numbers: [13, 7] Generated Node #3: [13, 7] from Operation: 22-15=7 Current State: 91:[13, 7], Operations: ['22*1=22', '22-15=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[22, 1, 13, 15], Operations: [] Exploring Operation: 15-1=14, Resulting Numbers: [22, 13, 14] Generated Node #0,0: 91:[22, 13, 14] Operation: 15-1=14 Exploring Operation: 22-13=9, Resulting Numbers: [1, 15, 9] Generated Node #0,1: 91:[1, 15, 9] Operation: 22-13=9 Exploring Operation: 22-15=7, Resulting Numbers: [1, 13, 7] Generated Node #0,2: 91:[1, 13, 7] Operation: 22-15=7 Exploring Operation: 22*1=22, Resulting Numbers: [13, 15, 22] Generated Node #0,3: 91:[13, 15, 22] Operation: 22*1=22 Exploring Operation: 22-1=21, Resulting Numbers: [13, 15, 21] Generated Node #0,4: 91:[13, 15, 21] Operation: 22-1=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[1, 13, 7], Operations: ['22-15=7'] Exploring Operation: 7/1=7, Resulting Numbers: [13, 7] Generated Node #0,2,0: 91:[13, 7] Operation: 7/1=7 Exploring Operation: 1+13=14, Resulting Numbers: [7, 14] Generated Node #0,2,1: 91:[7, 14] Operation: 1+13=14 Exploring Operation: 1*7=7, Resulting Numbers: [13, 7] Generated Node #0,2,2: 91:[13, 7] Operation: 1*7=7 Exploring Operation: 1*13=13, Resulting Numbers: [7, 13] Generated Node #0,2,3: 91:[7, 13] Operation: 1*13=13 Exploring Operation: 13/1=13, Resulting Numbers: [7, 13] Generated Node #0,2,4: 91:[7, 13] Operation: 13/1=13 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 91:[13, 7], Operations: ['22-15=7', '7/1=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[22, 1, 13, 15], Operations: [] Exploring Operation: 22-15=7, Resulting Numbers: [1, 13, 7] Generated Node #0,2: 91:[1, 13, 7] Operation: 22-15=7 Moving to Node #0,2 Current State: 91:[1, 13, 7], Operations: ['22-15=7'] Exploring Operation: 7/1=7, Resulting Numbers: [13, 7] Generated Node #0,2,0: 91:[13, 7] Operation: 7/1=7 Moving to Node #0,2,0 Current State: 91:[13, 7], Operations: ['22-15=7', '7/1=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 9, 81, 83, 64 ]
10
[ "81/9=9", "83-64=19", "19-9=10" ]
Current State: 10:[9, 81, 83, 64], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [83, 64, 9] Generated Node #2: [83, 64, 9] from Operation: 81/9=9 Current State: 10:[83, 64, 9], Operations: ['81/9=9'] Exploring Operation: 83-64=19, Resulting Numbers: [9, 19] Generated Node #3: [9, 19] from Operation: 83-64=19 Current State: 10:[9, 19], Operations: ['81/9=9', '83-64=19'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[9, 81, 83, 64], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [9, 81, 19] Generated Node #0,0: 10:[9, 81, 19] Operation: 83-64=19 Exploring Operation: 83-81=2, Resulting Numbers: [9, 64, 2] Generated Node #0,1: 10:[9, 64, 2] Operation: 83-81=2 Exploring Operation: 81-64=17, Resulting Numbers: [9, 83, 17] Generated Node #0,2: 10:[9, 83, 17] Operation: 81-64=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[9, 64, 2], Operations: ['83-81=2'] Exploring Operation: 64-9=55, Resulting Numbers: [2, 55] Generated Node #0,1,0: 10:[2, 55] Operation: 64-9=55 Exploring Operation: 64/2=32, Resulting Numbers: [9, 32] Generated Node #0,1,1: 10:[9, 32] Operation: 64/2=32 Exploring Operation: 64-2=62, Resulting Numbers: [9, 62] Generated Node #0,1,2: 10:[9, 62] Operation: 64-2=62 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[9, 32], Operations: ['83-81=2', '64/2=32'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 9*32=288, Resulting Numbers: [288] 288,10 unequal: No Solution No 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: 10:[2, 55], Operations: ['83-81=2', '64-9=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,10 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,10 unequal: No Solution No 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: 10:[9, 62], Operations: ['83-81=2', '64-2=62'] Exploring Operation: 9+62=71, Resulting Numbers: [71] 71,10 unequal: No Solution Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,10 unequal: No Solution Exploring Operation: 9*62=558, Resulting Numbers: [558] 558,10 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: 10:[9, 81, 19], Operations: ['83-64=19'] Exploring Operation: 81-19=62, Resulting Numbers: [9, 62] Generated Node #0,0,0: 10:[9, 62] Operation: 81-19=62 Exploring Operation: 81/9=9, Resulting Numbers: [19, 9] Generated Node #0,0,1: 10:[19, 9] Operation: 81/9=9 Exploring Operation: 81-9=72, Resulting Numbers: [19, 72] Generated Node #0,0,2: 10:[19, 72] Operation: 81-9=72 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[19, 9], Operations: ['83-64=19', '81/9=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[9, 81, 83, 64], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [9, 81, 19] Generated Node #0,0: 10:[9, 81, 19] Operation: 83-64=19 Moving to Node #0,0 Current State: 10:[9, 81, 19], Operations: ['83-64=19'] Exploring Operation: 81/9=9, Resulting Numbers: [19, 9] Generated Node #0,0,1: 10:[19, 9] Operation: 81/9=9 Moving to Node #0,0,1 Current State: 10:[19, 9], Operations: ['83-64=19', '81/9=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 92, 61, 23, 10 ]
21
[ "92/23=4", "10*4=40", "61-40=21" ]
Current State: 21:[92, 61, 23, 10], Operations: [] Exploring Operation: 92/23=4, Resulting Numbers: [61, 10, 4] Generated Node #2: [61, 10, 4] from Operation: 92/23=4 Current State: 21:[61, 10, 4], Operations: ['92/23=4'] Exploring Operation: 10*4=40, Resulting Numbers: [61, 40] Generated Node #3: [61, 40] from Operation: 10*4=40 Current State: 21:[61, 40], Operations: ['92/23=4', '10*4=40'] Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[92, 61, 23, 10], Operations: [] Exploring Operation: 61-23=38, Resulting Numbers: [92, 10, 38] Generated Node #0,0: 21:[92, 10, 38] Operation: 61-23=38 Exploring Operation: 92-61=31, Resulting Numbers: [23, 10, 31] Generated Node #0,1: 21:[23, 10, 31] Operation: 92-61=31 Exploring Operation: 92/23=4, Resulting Numbers: [61, 10, 4] Generated Node #0,2: 21:[61, 10, 4] Operation: 92/23=4 Exploring Operation: 92-23=69, Resulting Numbers: [61, 10, 69] Generated Node #0,3: 21:[61, 10, 69] Operation: 92-23=69 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[23, 10, 31], Operations: ['92-61=31'] Exploring Operation: 23-10=13, Resulting Numbers: [31, 13] Generated Node #0,1,0: 21:[31, 13] Operation: 23-10=13 Exploring Operation: 31-10=21, Resulting Numbers: [23, 21] Generated Node #0,1,1: 21:[23, 21] Operation: 31-10=21 Exploring Operation: 23+10=33, Resulting Numbers: [31, 33] Generated Node #0,1,2: 21:[31, 33] Operation: 23+10=33 Exploring Operation: 31-23=8, Resulting Numbers: [10, 8] Generated Node #0,1,3: 21:[10, 8] Operation: 31-23=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 21:[23, 21], Operations: ['92-61=31', '31-10=21'] Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 23*21=483, Resulting Numbers: [483] 483,21 unequal: No Solution No 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: 21:[10, 8], Operations: ['92-61=31', '31-23=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,21 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,21 unequal: No Solution No 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: 21:[31, 13], Operations: ['92-61=31', '23-10=13'] Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,21 unequal: No Solution No 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: 21:[31, 33], Operations: ['92-61=31', '23+10=33'] Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 31+33=64, Resulting Numbers: [64] 64,21 unequal: No Solution Exploring Operation: 31*33=1023, Resulting Numbers: [1023] 1023,21 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: 21:[61, 10, 4], Operations: ['92/23=4'] Exploring Operation: 61-10=51, Resulting Numbers: [4, 51] Generated Node #0,2,0: 21:[4, 51] Operation: 61-10=51 Exploring Operation: 61-4=57, Resulting Numbers: [10, 57] Generated Node #0,2,1: 21:[10, 57] Operation: 61-4=57 Exploring Operation: 61+4=65, Resulting Numbers: [10, 65] Generated Node #0,2,2: 21:[10, 65] Operation: 61+4=65 Exploring Operation: 10-4=6, Resulting Numbers: [61, 6] Generated Node #0,2,3: 21:[61, 6] Operation: 10-4=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 21:[4, 51], Operations: ['92/23=4', '61-10=51'] Exploring Operation: 4*51=204, Resulting Numbers: [204] 204,21 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,21 unequal: No Solution No 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: 21:[10, 57], Operations: ['92/23=4', '61-4=57'] Exploring Operation: 10*57=570, Resulting Numbers: [570] 570,21 unequal: No Solution Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,21 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,21 unequal: No Solution No 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: 21:[61, 6], Operations: ['92/23=4', '10-4=6'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,21 unequal: No Solution Exploring Operation: 61*6=366, Resulting Numbers: [366] 366,21 unequal: No Solution Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,21 unequal: No Solution No 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: 21:[10, 65], Operations: ['92/23=4', '61+4=65'] Exploring Operation: 10+65=75, Resulting Numbers: [75] 75,21 unequal: No Solution Exploring Operation: 10*65=650, Resulting Numbers: [650] 650,21 unequal: No Solution Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,21 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: 21:[92, 10, 38], Operations: ['61-23=38'] Exploring Operation: 92-38=54, Resulting Numbers: [10, 54] Generated Node #0,0,0: 21:[10, 54] Operation: 92-38=54 Exploring Operation: 92-10=82, Resulting Numbers: [38, 82] Generated Node #0,0,1: 21:[38, 82] Operation: 92-10=82 Exploring Operation: 38-10=28, Resulting Numbers: [92, 28] Generated Node #0,0,2: 21:[92, 28] Operation: 38-10=28 Exploring Operation: 92+10=102, Resulting Numbers: [38, 102] Generated Node #0,0,3: 21:[38, 102] Operation: 92+10=102 Moving to Node #0,0,0 Current State: 21:[10, 54], Operations: ['61-23=38', '92-38=54'] Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,21 unequal: No Solution Exploring Operation: 10*54=540, Resulting Numbers: [540] 540,21 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[92, 28], Operations: ['61-23=38', '38-10=28'] Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,21 unequal: No Solution Exploring Operation: 92+28=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 92*28=2576, Resulting Numbers: [2576] 2576,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[38, 82], Operations: ['61-23=38', '92-10=82'] Exploring Operation: 38*82=3116, Resulting Numbers: [3116] 3116,21 unequal: No Solution Exploring Operation: 82-38=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 38+82=120, Resulting Numbers: [120] 120,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[38, 102], Operations: ['61-23=38', '92+10=102'] Exploring Operation: 38+102=140, Resulting Numbers: [140] 140,21 unequal: No Solution Exploring Operation: 38*102=3876, Resulting Numbers: [3876] 3876,21 unequal: No Solution Exploring Operation: 102-38=64, Resulting Numbers: [64] 64,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,3 Current State: 21:[61, 10, 69], Operations: ['92-23=69'] Exploring Operation: 69-10=59, Resulting Numbers: [61, 59] Generated Node #0,3,0: 21:[61, 59] Operation: 69-10=59 Exploring Operation: 61-10=51, Resulting Numbers: [69, 51] Generated Node #0,3,1: 21:[69, 51] Operation: 61-10=51 Exploring Operation: 61+10=71, Resulting Numbers: [69, 71] Generated Node #0,3,2: 21:[69, 71] Operation: 61+10=71 Exploring Operation: 69-61=8, Resulting Numbers: [10, 8] Generated Node #0,3,3: 21:[10, 8] Operation: 69-61=8 Moving to Node #0,3,3 Current State: 21:[10, 8], Operations: ['92-23=69', '69-61=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,21 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,21 unequal: No Solution Moving to Node #0,3,1 Current State: 21:[69, 51], Operations: ['92-23=69', '61-10=51'] Exploring Operation: 69*51=3519, Resulting Numbers: [3519] 3519,21 unequal: No Solution Exploring Operation: 69+51=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[61, 59], Operations: ['92-23=69', '69-10=59'] Exploring Operation: 61+59=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 61*59=3599, Resulting Numbers: [3599] 3599,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[69, 71], Operations: ['92-23=69', '61+10=71'] Exploring Operation: 71-69=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 69*71=4899, Resulting Numbers: [4899] 4899,21 unequal: No Solution Exploring Operation: 69+71=140, Resulting Numbers: [140] 140,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 8, 52, 61, 48 ]
93
[ "52-48=4", "8*4=32", "61+32=93" ]
Current State: 93:[8, 52, 61, 48], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [8, 61, 4] Generated Node #2: [8, 61, 4] from Operation: 52-48=4 Current State: 93:[8, 61, 4], Operations: ['52-48=4'] Exploring Operation: 8*4=32, Resulting Numbers: [61, 32] Generated Node #3: [61, 32] from Operation: 8*4=32 Current State: 93:[61, 32], Operations: ['52-48=4', '8*4=32'] Exploring Operation: 61+32=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[8, 52, 61, 48], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [8, 61, 4] Generated Node #0,0: 93:[8, 61, 4] Operation: 52-48=4 Exploring Operation: 61-52=9, Resulting Numbers: [8, 48, 9] Generated Node #0,1: 93:[8, 48, 9] Operation: 61-52=9 Exploring Operation: 61-48=13, Resulting Numbers: [8, 52, 13] Generated Node #0,2: 93:[8, 52, 13] Operation: 61-48=13 Exploring Operation: 52+61=113, Resulting Numbers: [8, 48, 113] Generated Node #0,3: 93:[8, 48, 113] Operation: 52+61=113 Moving to Node #0,1 Current State: 93:[8, 48, 9], Operations: ['61-52=9'] Exploring Operation: 48-9=39, Resulting Numbers: [8, 39] Generated Node #0,1,0: 93:[8, 39] Operation: 48-9=39 Exploring Operation: 48-8=40, Resulting Numbers: [9, 40] Generated Node #0,1,1: 93:[9, 40] Operation: 48-8=40 Exploring Operation: 9-8=1, Resulting Numbers: [48, 1] Generated Node #0,1,2: 93:[48, 1] Operation: 9-8=1 Exploring Operation: 48/8=6, Resulting Numbers: [9, 6] Generated Node #0,1,3: 93:[9, 6] Operation: 48/8=6 Moving to Node #0,2 Current State: 93:[8, 52, 13], Operations: ['61-48=13'] Exploring Operation: 52-13=39, Resulting Numbers: [8, 39] Generated Node #0,2,0: 93:[8, 39] Operation: 52-13=39 Exploring Operation: 52/13=4, Resulting Numbers: [8, 4] Generated Node #0,2,1: 93:[8, 4] Operation: 52/13=4 Exploring Operation: 13-8=5, Resulting Numbers: [52, 5] Generated Node #0,2,2: 93:[52, 5] Operation: 13-8=5 Exploring Operation: 52-8=44, Resulting Numbers: [13, 44] Generated Node #0,2,3: 93:[13, 44] Operation: 52-8=44 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[8, 4], Operations: ['61-48=13', '52/13=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[8, 39], Operations: ['61-48=13', '52-13=39'] Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,93 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[52, 5], Operations: ['61-48=13', '13-8=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,93 unequal: No Solution Exploring Operation: 52*5=260, Resulting Numbers: [260] 260,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 93:[13, 44], Operations: ['61-48=13', '52-8=44'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 13*44=572, Resulting Numbers: [572] 572,93 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: 93:[8, 61, 4], Operations: ['52-48=4'] Exploring Operation: 61-8=53, Resulting Numbers: [4, 53] Generated Node #0,0,0: 93:[4, 53] Operation: 61-8=53 Exploring Operation: 8+61=69, Resulting Numbers: [4, 69] Generated Node #0,0,1: 93:[4, 69] Operation: 8+61=69 Exploring Operation: 8-4=4, Resulting Numbers: [61, 4] Generated Node #0,0,2: 93:[61, 4] Operation: 8-4=4 Exploring Operation: 8*4=32, Resulting Numbers: [61, 32] Generated Node #0,0,3: 93:[61, 32] Operation: 8*4=32 Moving to Node #0,3 Current State: 93:[8, 48, 113], Operations: ['52+61=113'] Exploring Operation: 113-8=105, Resulting Numbers: [48, 105] Generated Node #0,3,0: 93:[48, 105] Operation: 113-8=105 Exploring Operation: 48/8=6, Resulting Numbers: [113, 6] Generated Node #0,3,1: 93:[113, 6] Operation: 48/8=6 Exploring Operation: 113-48=65, Resulting Numbers: [8, 65] Generated Node #0,3,2: 93:[8, 65] Operation: 113-48=65 Exploring Operation: 48-8=40, Resulting Numbers: [113, 40] Generated Node #0,3,3: 93:[113, 40] Operation: 48-8=40 Moving to Node #0,1,3 Current State: 93:[9, 6], Operations: ['61-52=9', '48/8=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,93 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[8, 39], Operations: ['61-52=9', '48-9=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,93 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[9, 40], Operations: ['61-52=9', '48-8=40'] Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,93 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,93 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[48, 1], Operations: ['61-52=9', '9-8=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,93 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[4, 53], Operations: ['52-48=4', '61-8=53'] Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,93 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[113, 6], Operations: ['52+61=113', '48/8=6'] Exploring Operation: 113+6=119, Resulting Numbers: [119] 119,93 unequal: No Solution Exploring Operation: 113*6=678, Resulting Numbers: [678] 678,93 unequal: No Solution Exploring Operation: 113-6=107, Resulting Numbers: [107] 107,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[4, 69], Operations: ['52-48=4', '8+61=69'] Exploring Operation: 4*69=276, Resulting Numbers: [276] 276,93 unequal: No Solution Exploring Operation: 4+69=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[113, 40], Operations: ['52+61=113', '48-8=40'] Exploring Operation: 113*40=4520, Resulting Numbers: [4520] 4520,93 unequal: No Solution Exploring Operation: 113-40=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 113+40=153, Resulting Numbers: [153] 153,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[48, 105], Operations: ['52+61=113', '113-8=105'] Exploring Operation: 105-48=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 48+105=153, Resulting Numbers: [153] 153,93 unequal: No Solution Exploring Operation: 48*105=5040, Resulting Numbers: [5040] 5040,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[61, 4], Operations: ['52-48=4', '8-4=4'] Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,93 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[61, 32], Operations: ['52-48=4', '8*4=32'] Exploring Operation: 61+32=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[8, 52, 61, 48], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [8, 61, 4] Generated Node #0,0: 93:[8, 61, 4] Operation: 52-48=4 Moving to Node #0,0 Current State: 93:[8, 61, 4], Operations: ['52-48=4'] Exploring Operation: 8*4=32, Resulting Numbers: [61, 32] Generated Node #0,0,3: 93:[61, 32] Operation: 8*4=32 Moving to Node #0,0,3 Current State: 93:[61, 32], Operations: ['52-48=4', '8*4=32'] Exploring Operation: 61+32=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.940104
hs_4
mult_heuristic
[ 87, 12, 86, 10 ]
44
[ "12-10=2", "86/2=43", "87-43=44" ]
Current State: 44:[87, 12, 86, 10], Operations: [] Exploring Operation: 12-10=2, Resulting Numbers: [87, 86, 2] Generated Node #2: [87, 86, 2] from Operation: 12-10=2 Current State: 44:[87, 86, 2], Operations: ['12-10=2'] Exploring Operation: 86/2=43, Resulting Numbers: [87, 43] Generated Node #3: [87, 43] from Operation: 86/2=43 Current State: 44:[87, 43], Operations: ['12-10=2', '86/2=43'] Exploring Operation: 87-43=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[87, 12, 86, 10], Operations: [] Exploring Operation: 86-10=76, Resulting Numbers: [87, 12, 76] Generated Node #0,0: 44:[87, 12, 76] Operation: 86-10=76 Exploring Operation: 87-86=1, Resulting Numbers: [12, 10, 1] Generated Node #0,1: 44:[12, 10, 1] Operation: 87-86=1 Exploring Operation: 87-12=75, Resulting Numbers: [86, 10, 75] Generated Node #0,2: 44:[86, 10, 75] Operation: 87-12=75 Exploring Operation: 86-12=74, Resulting Numbers: [87, 10, 74] Generated Node #0,3: 44:[87, 10, 74] Operation: 86-12=74 Exploring Operation: 87-10=77, Resulting Numbers: [12, 86, 77] Generated Node #0,4: 44:[12, 86, 77] Operation: 87-10=77 Moving to Node #0,1 Current State: 44:[12, 10, 1], Operations: ['87-86=1'] Exploring Operation: 12-1=11, Resulting Numbers: [10, 11] Generated Node #0,1,0: 44:[10, 11] Operation: 12-1=11 Exploring Operation: 10+1=11, Resulting Numbers: [12, 11] Generated Node #0,1,1: 44:[12, 11] Operation: 10+1=11 Exploring Operation: 12-10=2, Resulting Numbers: [1, 2] Generated Node #0,1,2: 44:[1, 2] Operation: 12-10=2 Exploring Operation: 12*1=12, Resulting Numbers: [10, 12] Generated Node #0,1,3: 44:[10, 12] Operation: 12*1=12 Exploring Operation: 12+10=22, Resulting Numbers: [1, 22] Generated Node #0,1,4: 44:[1, 22] Operation: 12+10=22 Moving to Node #0,3 Current State: 44:[87, 10, 74], Operations: ['86-12=74'] Exploring Operation: 87+10=97, Resulting Numbers: [74, 97] Generated Node #0,3,0: 44:[74, 97] Operation: 87+10=97 Exploring Operation: 87-74=13, Resulting Numbers: [10, 13] Generated Node #0,3,1: 44:[10, 13] Operation: 87-74=13 Exploring Operation: 87-10=77, Resulting Numbers: [74, 77] Generated Node #0,3,2: 44:[74, 77] Operation: 87-10=77 Exploring Operation: 74-10=64, Resulting Numbers: [87, 64] Generated Node #0,3,3: 44:[87, 64] Operation: 74-10=64 Exploring Operation: 10+74=84, Resulting Numbers: [87, 84] Generated Node #0,3,4: 44:[87, 84] Operation: 10+74=84 Moving to Node #0,2 Current State: 44:[86, 10, 75], Operations: ['87-12=75'] Exploring Operation: 75-10=65, Resulting Numbers: [86, 65] Generated Node #0,2,0: 44:[86, 65] Operation: 75-10=65 Exploring Operation: 10+75=85, Resulting Numbers: [86, 85] Generated Node #0,2,1: 44:[86, 85] Operation: 10+75=85 Exploring Operation: 86+10=96, Resulting Numbers: [75, 96] Generated Node #0,2,2: 44:[75, 96] Operation: 86+10=96 Exploring Operation: 86-75=11, Resulting Numbers: [10, 11] Generated Node #0,2,3: 44:[10, 11] Operation: 86-75=11 Exploring Operation: 86-10=76, Resulting Numbers: [75, 76] Generated Node #0,2,4: 44:[75, 76] Operation: 86-10=76 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 44:[10, 11], Operations: ['87-12=75', '86-75=11'] Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,44 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[86, 65], Operations: ['87-12=75', '75-10=65'] Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 86*65=5590, Resulting Numbers: [5590] 5590,44 unequal: No Solution Exploring Operation: 86+65=151, Resulting Numbers: [151] 151,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 44:[75, 76], Operations: ['87-12=75', '86-10=76'] Exploring Operation: 75+76=151, Resulting Numbers: [151] 151,44 unequal: No Solution Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 75*76=5700, Resulting Numbers: [5700] 5700,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 44:[86, 85], Operations: ['87-12=75', '10+75=85'] Exploring Operation: 86+85=171, Resulting Numbers: [171] 171,44 unequal: No Solution Exploring Operation: 86-85=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 86*85=7310, Resulting Numbers: [7310] 7310,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[75, 96], Operations: ['87-12=75', '86+10=96'] Exploring Operation: 75+96=171, Resulting Numbers: [171] 171,44 unequal: No Solution Exploring Operation: 75*96=7200, Resulting Numbers: [7200] 7200,44 unequal: No Solution Exploring Operation: 96-75=21, Resulting Numbers: [21] 21,44 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: 44:[87, 12, 76], Operations: ['86-10=76'] Exploring Operation: 87+12=99, Resulting Numbers: [76, 99] Generated Node #0,0,0: 44:[76, 99] Operation: 87+12=99 Exploring Operation: 87-76=11, Resulting Numbers: [12, 11] Generated Node #0,0,1: 44:[12, 11] Operation: 87-76=11 Exploring Operation: 87-12=75, Resulting Numbers: [76, 75] Generated Node #0,0,2: 44:[76, 75] Operation: 87-12=75 Exploring Operation: 12+76=88, Resulting Numbers: [87, 88] Generated Node #0,0,3: 44:[87, 88] Operation: 12+76=88 Exploring Operation: 76-12=64, Resulting Numbers: [87, 64] Generated Node #0,0,4: 44:[87, 64] Operation: 76-12=64 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[12, 11], Operations: ['86-10=76', '87-76=11'] Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,44 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[76, 75], Operations: ['86-10=76', '87-12=75'] Exploring Operation: 76*75=5700, Resulting Numbers: [5700] 5700,44 unequal: No Solution Exploring Operation: 76+75=151, Resulting Numbers: [151] 151,44 unequal: No Solution Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 44:[87, 64], Operations: ['86-10=76', '76-12=64'] Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 87*64=5568, Resulting Numbers: [5568] 5568,44 unequal: No Solution Exploring Operation: 87+64=151, Resulting Numbers: [151] 151,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[76, 99], Operations: ['86-10=76', '87+12=99'] Exploring Operation: 76*99=7524, Resulting Numbers: [7524] 7524,44 unequal: No Solution Exploring Operation: 76+99=175, Resulting Numbers: [175] 175,44 unequal: No Solution Exploring Operation: 99-76=23, Resulting Numbers: [23] 23,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 44:[87, 88], Operations: ['86-10=76', '12+76=88'] Exploring Operation: 87+88=175, Resulting Numbers: [175] 175,44 unequal: No Solution Exploring Operation: 88-87=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 87*88=7656, Resulting Numbers: [7656] 7656,44 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: 44:[12, 86, 77], Operations: ['87-10=77'] Exploring Operation: 86-12=74, Resulting Numbers: [77, 74] Generated Node #0,4,0: 44:[77, 74] Operation: 86-12=74 Exploring Operation: 12+86=98, Resulting Numbers: [77, 98] Generated Node #0,4,1: 44:[77, 98] Operation: 12+86=98 Exploring Operation: 12+77=89, Resulting Numbers: [86, 89] Generated Node #0,4,2: 44:[86, 89] Operation: 12+77=89 Exploring Operation: 77-12=65, Resulting Numbers: [86, 65] Generated Node #0,4,3: 44:[86, 65] Operation: 77-12=65 Exploring Operation: 86-77=9, Resulting Numbers: [12, 9] Generated Node #0,4,4: 44:[12, 9] Operation: 86-77=9 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 44:[12, 9], Operations: ['87-10=77', '86-77=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,44 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,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,4,0 Current State: 44:[77, 74], Operations: ['87-10=77', '86-12=74'] Exploring Operation: 77+74=151, Resulting Numbers: [151] 151,44 unequal: No Solution Exploring Operation: 77*74=5698, Resulting Numbers: [5698] 5698,44 unequal: No Solution Exploring Operation: 77-74=3, Resulting Numbers: [3] 3,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,4,3 Current State: 44:[86, 65], Operations: ['87-10=77', '77-12=65'] Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 86*65=5590, Resulting Numbers: [5590] 5590,44 unequal: No Solution Exploring Operation: 86+65=151, Resulting Numbers: [151] 151,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,4,1 Current State: 44:[77, 98], Operations: ['87-10=77', '12+86=98'] Exploring Operation: 77*98=7546, Resulting Numbers: [7546] 7546,44 unequal: No Solution Exploring Operation: 77+98=175, Resulting Numbers: [175] 175,44 unequal: No Solution Exploring Operation: 98-77=21, Resulting Numbers: [21] 21,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,4,2 Current State: 44:[86, 89], Operations: ['87-10=77', '12+77=89'] Exploring Operation: 89-86=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 86*89=7654, Resulting Numbers: [7654] 7654,44 unequal: No Solution Exploring Operation: 86+89=175, Resulting Numbers: [175] 175,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 44:[10, 11], Operations: ['87-86=1', '12-1=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[1, 2], Operations: ['87-86=1', '12-10=2'] Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[12, 11], Operations: ['87-86=1', '10+1=11'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,44 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,44 unequal: No Solution Moving to Node #0,1,4 Current State: 44:[1, 22], Operations: ['87-86=1', '12+10=22'] Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[10, 12], Operations: ['87-86=1', '12*1=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,44 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[10, 13], Operations: ['86-12=74', '87-74=13'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[87, 64], Operations: ['86-12=74', '74-10=64'] Exploring Operation: 87+64=151, Resulting Numbers: [151] 151,44 unequal: No Solution Exploring Operation: 87*64=5568, Resulting Numbers: [5568] 5568,44 unequal: No Solution Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[74, 77], Operations: ['86-12=74', '87-10=77'] Exploring Operation: 74*77=5698, Resulting Numbers: [5698] 5698,44 unequal: No Solution Exploring Operation: 74+77=151, Resulting Numbers: [151] 151,44 unequal: No Solution Exploring Operation: 77-74=3, Resulting Numbers: [3] 3,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[74, 97], Operations: ['86-12=74', '87+10=97'] Exploring Operation: 74*97=7178, Resulting Numbers: [7178] 7178,44 unequal: No Solution Exploring Operation: 74+97=171, Resulting Numbers: [171] 171,44 unequal: No Solution Exploring Operation: 97-74=23, Resulting Numbers: [23] 23,44 unequal: No Solution Moving to Node #0,3,4 Current State: 44:[87, 84], Operations: ['86-12=74', '10+74=84'] Exploring Operation: 87+84=171, Resulting Numbers: [171] 171,44 unequal: No Solution Exploring Operation: 87*84=7308, Resulting Numbers: [7308] 7308,44 unequal: No Solution Exploring Operation: 87-84=3, Resulting Numbers: [3] 3,44 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 12, 88, 69, 50 ]
81
[ "12+88=100", "69-50=19", "100-19=81" ]
Current State: 81:[12, 88, 69, 50], Operations: [] Exploring Operation: 12+88=100, Resulting Numbers: [69, 50, 100] Generated Node #2: [69, 50, 100] from Operation: 12+88=100 Current State: 81:[69, 50, 100], Operations: ['12+88=100'] Exploring Operation: 69-50=19, Resulting Numbers: [100, 19] Generated Node #3: [100, 19] from Operation: 69-50=19 Current State: 81:[100, 19], Operations: ['12+88=100', '69-50=19'] Exploring Operation: 100-19=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[12, 88, 69, 50], Operations: [] Exploring Operation: 69-50=19, Resulting Numbers: [12, 88, 19] Generated Node #0,0: 81:[12, 88, 19] Operation: 69-50=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[12, 88, 19], Operations: ['69-50=19'] Exploring Operation: 19-12=7, Resulting Numbers: [88, 7] Generated Node #0,0,0: 81:[88, 7] Operation: 19-12=7 Moving to Node #0,0,0 Current State: 81:[88, 7], Operations: ['69-50=19', '19-12=7'] Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[12, 88, 69, 50], Operations: [] Exploring Operation: 69-50=19, Resulting Numbers: [12, 88, 19] Generated Node #0,0: 81:[12, 88, 19] Operation: 69-50=19 Moving to Node #0,0 Current State: 81:[12, 88, 19], Operations: ['69-50=19'] Exploring Operation: 19-12=7, Resulting Numbers: [88, 7] Generated Node #0,0,0: 81:[88, 7] Operation: 19-12=7 Moving to Node #0,0,0 Current State: 81:[88, 7], Operations: ['69-50=19', '19-12=7'] Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 99, 66, 49, 22 ]
48
[ "66*49=3234", "3234/22=147", "147-99=48" ]
Current State: 48:[99, 66, 49, 22], Operations: [] Exploring Operation: 66*49=3234, Resulting Numbers: [99, 22, 3234] Generated Node #2: [99, 22, 3234] from Operation: 66*49=3234 Current State: 48:[99, 22, 3234], Operations: ['66*49=3234'] Exploring Operation: 3234/22=147, Resulting Numbers: [99, 147] Generated Node #3: [99, 147] from Operation: 3234/22=147 Current State: 48:[99, 147], Operations: ['66*49=3234', '3234/22=147'] Exploring Operation: 147-99=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[99, 66, 49, 22], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [99, 49, 3] Generated Node #0,0: 48:[99, 49, 3] Operation: 66/22=3 Exploring Operation: 99-66=33, Resulting Numbers: [49, 22, 33] Generated Node #0,1: 48:[49, 22, 33] Operation: 99-66=33 Exploring Operation: 99-49=50, Resulting Numbers: [66, 22, 50] Generated Node #0,2: 48:[66, 22, 50] Operation: 99-49=50 Exploring Operation: 99-22=77, Resulting Numbers: [66, 49, 77] Generated Node #0,3: 48:[66, 49, 77] Operation: 99-22=77 Exploring Operation: 66-49=17, Resulting Numbers: [99, 22, 17] Generated Node #0,4: 48:[99, 22, 17] Operation: 66-49=17 Moving to Node #0,1 Current State: 48:[49, 22, 33], Operations: ['99-66=33'] Exploring Operation: 49+22=71, Resulting Numbers: [33, 71] Generated Node #0,1,0: 48:[33, 71] Operation: 49+22=71 Exploring Operation: 33-22=11, Resulting Numbers: [49, 11] Generated Node #0,1,1: 48:[49, 11] Operation: 33-22=11 Exploring Operation: 22+33=55, Resulting Numbers: [49, 55] Generated Node #0,1,2: 48:[49, 55] Operation: 22+33=55 Exploring Operation: 49-22=27, Resulting Numbers: [33, 27] Generated Node #0,1,3: 48:[33, 27] Operation: 49-22=27 Exploring Operation: 49-33=16, Resulting Numbers: [22, 16] Generated Node #0,1,4: 48:[22, 16] Operation: 49-33=16 Moving to Node #0,2 Current State: 48:[66, 22, 50], Operations: ['99-49=50'] Exploring Operation: 66/22=3, Resulting Numbers: [50, 3] Generated Node #0,2,0: 48:[50, 3] Operation: 66/22=3 Exploring Operation: 66+22=88, Resulting Numbers: [50, 88] Generated Node #0,2,1: 48:[50, 88] Operation: 66+22=88 Exploring Operation: 66-50=16, Resulting Numbers: [22, 16] Generated Node #0,2,2: 48:[22, 16] Operation: 66-50=16 Exploring Operation: 66-22=44, Resulting Numbers: [50, 44] Generated Node #0,2,3: 48:[50, 44] Operation: 66-22=44 Exploring Operation: 50-22=28, Resulting Numbers: [66, 28] Generated Node #0,2,4: 48:[66, 28] Operation: 50-22=28 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[50, 3], Operations: ['99-49=50', '66/22=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,48 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[22, 16], Operations: ['99-49=50', '66-50=16'] Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,48 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[50, 44], Operations: ['99-49=50', '66-22=44'] Exploring Operation: 50+44=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 50*44=2200, Resulting Numbers: [2200] 2200,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 48:[66, 28], Operations: ['99-49=50', '50-22=28'] Exploring Operation: 66*28=1848, Resulting Numbers: [1848] 1848,48 unequal: No Solution Exploring Operation: 66+28=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[50, 88], Operations: ['99-49=50', '66+22=88'] Exploring Operation: 50*88=4400, Resulting Numbers: [4400] 4400,48 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 50+88=138, Resulting Numbers: [138] 138,48 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: 48:[66, 49, 77], Operations: ['99-22=77'] Exploring Operation: 77-66=11, Resulting Numbers: [49, 11] Generated Node #0,3,0: 48:[49, 11] Operation: 77-66=11 Exploring Operation: 66+49=115, Resulting Numbers: [77, 115] Generated Node #0,3,1: 48:[77, 115] Operation: 66+49=115 Exploring Operation: 66+77=143, Resulting Numbers: [49, 143] Generated Node #0,3,2: 48:[49, 143] Operation: 66+77=143 Exploring Operation: 77-49=28, Resulting Numbers: [66, 28] Generated Node #0,3,3: 48:[66, 28] Operation: 77-49=28 Exploring Operation: 66-49=17, Resulting Numbers: [77, 17] Generated Node #0,3,4: 48:[77, 17] Operation: 66-49=17 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 48:[49, 11], Operations: ['99-22=77', '77-66=11'] Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,48 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 48:[66, 28], Operations: ['99-22=77', '77-49=28'] Exploring Operation: 66*28=1848, Resulting Numbers: [1848] 1848,48 unequal: No Solution Exploring Operation: 66+28=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 48:[77, 17], Operations: ['99-22=77', '66-49=17'] Exploring Operation: 77+17=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 77*17=1309, Resulting Numbers: [1309] 1309,48 unequal: No Solution Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 48:[77, 115], Operations: ['99-22=77', '66+49=115'] Exploring Operation: 77+115=192, Resulting Numbers: [192] 192,48 unequal: No Solution Exploring Operation: 115-77=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 77*115=8855, Resulting Numbers: [8855] 8855,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[49, 143], Operations: ['99-22=77', '66+77=143'] Exploring Operation: 49*143=7007, Resulting Numbers: [7007] 7007,48 unequal: No Solution Exploring Operation: 143-49=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 49+143=192, Resulting Numbers: [192] 192,48 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: 48:[99, 49, 3], Operations: ['66/22=3'] Exploring Operation: 99+3=102, Resulting Numbers: [49, 102] Generated Node #0,0,0: 48:[49, 102] Operation: 99+3=102 Exploring Operation: 49-3=46, Resulting Numbers: [99, 46] Generated Node #0,0,1: 48:[99, 46] Operation: 49-3=46 Exploring Operation: 99-49=50, Resulting Numbers: [3, 50] Generated Node #0,0,2: 48:[3, 50] Operation: 99-49=50 Exploring Operation: 99/3=33, Resulting Numbers: [49, 33] Generated Node #0,0,3: 48:[49, 33] Operation: 99/3=33 Exploring Operation: 99-3=96, Resulting Numbers: [49, 96] Generated Node #0,0,4: 48:[49, 96] Operation: 99-3=96 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 48:[3, 50], Operations: ['66/22=3', '99-49=50'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,48 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 48:[49, 33], Operations: ['66/22=3', '99/3=33'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,48 unequal: No Solution Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 48:[49, 96], Operations: ['66/22=3', '99-3=96'] Exploring Operation: 49*96=4704, Resulting Numbers: [4704] 4704,48 unequal: No Solution Exploring Operation: 96-49=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 49+96=145, Resulting Numbers: [145] 145,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[99, 46], Operations: ['66/22=3', '49-3=46'] Exploring Operation: 99*46=4554, Resulting Numbers: [4554] 4554,48 unequal: No Solution Exploring Operation: 99+46=145, Resulting Numbers: [145] 145,48 unequal: No Solution Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[49, 102], Operations: ['66/22=3', '99+3=102'] Exploring Operation: 49*102=4998, Resulting Numbers: [4998] 4998,48 unequal: No Solution Exploring Operation: 49+102=151, Resulting Numbers: [151] 151,48 unequal: No Solution Exploring Operation: 102-49=53, Resulting Numbers: [53] 53,48 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: 48:[99, 22, 17], Operations: ['66-49=17'] Exploring Operation: 22-17=5, Resulting Numbers: [99, 5] Generated Node #0,4,0: 48:[99, 5] Operation: 22-17=5 Exploring Operation: 99-17=82, Resulting Numbers: [22, 82] Generated Node #0,4,1: 48:[22, 82] Operation: 99-17=82 Exploring Operation: 99-22=77, Resulting Numbers: [17, 77] Generated Node #0,4,2: 48:[17, 77] Operation: 99-22=77 Exploring Operation: 22+17=39, Resulting Numbers: [99, 39] Generated Node #0,4,3: 48:[99, 39] Operation: 22+17=39 Exploring Operation: 99+17=116, Resulting Numbers: [22, 116] Generated Node #0,4,4: 48:[22, 116] Operation: 99+17=116 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 48:[17, 77], Operations: ['66-49=17', '99-22=77'] Exploring Operation: 17+77=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 17*77=1309, Resulting Numbers: [1309] 1309,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 48:[22, 82], Operations: ['66-49=17', '99-17=82'] Exploring Operation: 22*82=1804, Resulting Numbers: [1804] 1804,48 unequal: No Solution Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 22+82=104, Resulting Numbers: [104] 104,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 48:[99, 5], Operations: ['66-49=17', '22-17=5'] Exploring Operation: 99*5=495, Resulting Numbers: [495] 495,48 unequal: No Solution Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 99+5=104, Resulting Numbers: [104] 104,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 48:[99, 39], Operations: ['66-49=17', '22+17=39'] Exploring Operation: 99+39=138, Resulting Numbers: [138] 138,48 unequal: No Solution Exploring Operation: 99-39=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 99*39=3861, Resulting Numbers: [3861] 3861,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 48:[22, 116], Operations: ['66-49=17', '99+17=116'] Exploring Operation: 22*116=2552, Resulting Numbers: [2552] 2552,48 unequal: No Solution Exploring Operation: 22+116=138, Resulting Numbers: [138] 138,48 unequal: No Solution Exploring Operation: 116-22=94, Resulting Numbers: [94] 94,48 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: 48:[49, 11], Operations: ['99-66=33', '33-22=11'] Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,48 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,48 unequal: No Solution Moving to Node #0,1,4 Current State: 48:[22, 16], Operations: ['99-66=33', '49-33=16'] Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,48 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[49, 55], Operations: ['99-66=33', '22+33=55'] Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 49+55=104, Resulting Numbers: [104] 104,48 unequal: No Solution Exploring Operation: 49*55=2695, Resulting Numbers: [2695] 2695,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[33, 27], Operations: ['99-66=33', '49-22=27'] Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 33*27=891, Resulting Numbers: [891] 891,48 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[33, 71], Operations: ['99-66=33', '49+22=71'] Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 33*71=2343, Resulting Numbers: [2343] 2343,48 unequal: No Solution Exploring Operation: 33+71=104, Resulting Numbers: [104] 104,48 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 98, 75, 49, 53 ]
44
[ "98/49=2", "75-53=22", "2*22=44" ]
Current State: 44:[98, 75, 49, 53], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [75, 53, 2] Generated Node #2: [75, 53, 2] from Operation: 98/49=2 Current State: 44:[75, 53, 2], Operations: ['98/49=2'] Exploring Operation: 75-53=22, Resulting Numbers: [2, 22] Generated Node #3: [2, 22] from Operation: 75-53=22 Current State: 44:[2, 22], Operations: ['98/49=2', '75-53=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[98, 75, 49, 53], Operations: [] Exploring Operation: 98-49=49, Resulting Numbers: [75, 53, 49] Generated Node #0,0: 44:[75, 53, 49] Operation: 98-49=49 Exploring Operation: 98/49=2, Resulting Numbers: [75, 53, 2] Generated Node #0,1: 44:[75, 53, 2] Operation: 98/49=2 Exploring Operation: 75-53=22, Resulting Numbers: [98, 49, 22] Generated Node #0,2: 44:[98, 49, 22] Operation: 75-53=22 Exploring Operation: 98-53=45, Resulting Numbers: [75, 49, 45] Generated Node #0,3: 44:[75, 49, 45] Operation: 98-53=45 Exploring Operation: 98-75=23, Resulting Numbers: [49, 53, 23] Generated Node #0,4: 44:[49, 53, 23] Operation: 98-75=23 Moving to Node #0,4 Current State: 44:[49, 53, 23], Operations: ['98-75=23'] Exploring Operation: 49+23=72, Resulting Numbers: [53, 72] Generated Node #0,4,0: 44:[53, 72] Operation: 49+23=72 Exploring Operation: 53+23=76, Resulting Numbers: [49, 76] Generated Node #0,4,1: 44:[49, 76] Operation: 53+23=76 Exploring Operation: 53-23=30, Resulting Numbers: [49, 30] Generated Node #0,4,2: 44:[49, 30] Operation: 53-23=30 Exploring Operation: 49-23=26, Resulting Numbers: [53, 26] Generated Node #0,4,3: 44:[53, 26] Operation: 49-23=26 Exploring Operation: 53-49=4, Resulting Numbers: [23, 4] Generated Node #0,4,4: 44:[23, 4] Operation: 53-49=4 Moving to Node #0,3 Current State: 44:[75, 49, 45], Operations: ['98-53=45'] Exploring Operation: 49-45=4, Resulting Numbers: [75, 4] Generated Node #0,3,0: 44:[75, 4] Operation: 49-45=4 Exploring Operation: 75+49=124, Resulting Numbers: [45, 124] Generated Node #0,3,1: 44:[45, 124] Operation: 75+49=124 Exploring Operation: 75-49=26, Resulting Numbers: [45, 26] Generated Node #0,3,2: 44:[45, 26] Operation: 75-49=26 Exploring Operation: 75-45=30, Resulting Numbers: [49, 30] Generated Node #0,3,3: 44:[49, 30] Operation: 75-45=30 Exploring Operation: 75+45=120, Resulting Numbers: [49, 120] Generated Node #0,3,4: 44:[49, 120] Operation: 75+45=120 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 44:[45, 26], Operations: ['98-53=45', '75-49=26'] Exploring Operation: 45*26=1170, Resulting Numbers: [1170] 1170,44 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 45+26=71, Resulting Numbers: [71] 71,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,3,3 Current State: 44:[49, 30], Operations: ['98-53=45', '75-45=30'] Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,44 unequal: No Solution Exploring Operation: 49*30=1470, Resulting Numbers: [1470] 1470,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,3,0 Current State: 44:[75, 4], Operations: ['98-53=45', '49-45=4'] Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,44 unequal: No Solution Exploring Operation: 75*4=300, Resulting Numbers: [300] 300,44 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,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,3,1 Current State: 44:[45, 124], Operations: ['98-53=45', '75+49=124'] Exploring Operation: 45*124=5580, Resulting Numbers: [5580] 5580,44 unequal: No Solution Exploring Operation: 45+124=169, Resulting Numbers: [169] 169,44 unequal: No Solution Exploring Operation: 124-45=79, Resulting Numbers: [79] 79,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,3,4 Current State: 44:[49, 120], Operations: ['98-53=45', '75+45=120'] Exploring Operation: 120-49=71, Resulting Numbers: [71] 71,44 unequal: No Solution Exploring Operation: 49*120=5880, Resulting Numbers: [5880] 5880,44 unequal: No Solution Exploring Operation: 49+120=169, Resulting Numbers: [169] 169,44 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: 44:[75, 53, 2], Operations: ['98/49=2'] Exploring Operation: 75-2=73, Resulting Numbers: [53, 73] Generated Node #0,1,0: 44:[53, 73] Operation: 75-2=73 Exploring Operation: 75+2=77, Resulting Numbers: [53, 77] Generated Node #0,1,1: 44:[53, 77] Operation: 75+2=77 Exploring Operation: 53+2=55, Resulting Numbers: [75, 55] Generated Node #0,1,2: 44:[75, 55] Operation: 53+2=55 Exploring Operation: 75-53=22, Resulting Numbers: [2, 22] Generated Node #0,1,3: 44:[2, 22] Operation: 75-53=22 Exploring Operation: 53-2=51, Resulting Numbers: [75, 51] Generated Node #0,1,4: 44:[75, 51] Operation: 53-2=51 Moving to Node #0,0 Current State: 44:[75, 53, 49], Operations: ['98-49=49'] Exploring Operation: 75-53=22, Resulting Numbers: [49, 22] Generated Node #0,0,0: 44:[49, 22] Operation: 75-53=22 Exploring Operation: 75+49=124, Resulting Numbers: [53, 124] Generated Node #0,0,1: 44:[53, 124] Operation: 75+49=124 Exploring Operation: 75+53=128, Resulting Numbers: [49, 128] Generated Node #0,0,2: 44:[49, 128] Operation: 75+53=128 Exploring Operation: 75-49=26, Resulting Numbers: [53, 26] Generated Node #0,0,3: 44:[53, 26] Operation: 75-49=26 Exploring Operation: 53-49=4, Resulting Numbers: [75, 4] Generated Node #0,0,4: 44:[75, 4] Operation: 53-49=4 Moving to Node #0,2 Current State: 44:[98, 49, 22], Operations: ['75-53=22'] Exploring Operation: 98-49=49, Resulting Numbers: [22, 49] Generated Node #0,2,0: 44:[22, 49] Operation: 98-49=49 Exploring Operation: 98+22=120, Resulting Numbers: [49, 120] Generated Node #0,2,1: 44:[49, 120] Operation: 98+22=120 Exploring Operation: 49-22=27, Resulting Numbers: [98, 27] Generated Node #0,2,2: 44:[98, 27] Operation: 49-22=27 Exploring Operation: 98/49=2, Resulting Numbers: [22, 2] Generated Node #0,2,3: 44:[22, 2] Operation: 98/49=2 Exploring Operation: 98-22=76, Resulting Numbers: [49, 76] Generated Node #0,2,4: 44:[49, 76] Operation: 98-22=76 Moving to Node #0,1,3 Current State: 44:[2, 22], Operations: ['98/49=2', '75-53=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,44 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[98, 75, 49, 53], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [75, 53, 2] Generated Node #0,1: 44:[75, 53, 2] Operation: 98/49=2 Moving to Node #0,1 Current State: 44:[75, 53, 2], Operations: ['98/49=2'] Exploring Operation: 75-53=22, Resulting Numbers: [2, 22] Generated Node #0,1,3: 44:[2, 22] Operation: 75-53=22 Moving to Node #0,1,3 Current State: 44:[2, 22], Operations: ['98/49=2', '75-53=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.953993
hs_5
sum_heuristic
[ 30, 48, 60, 66 ]
58
[ "30+66=96", "96/48=2", "60-2=58" ]
Current State: 58:[30, 48, 60, 66], Operations: [] Exploring Operation: 30+66=96, Resulting Numbers: [48, 60, 96] Generated Node #2: [48, 60, 96] from Operation: 30+66=96 Current State: 58:[48, 60, 96], Operations: ['30+66=96'] Exploring Operation: 96/48=2, Resulting Numbers: [60, 2] Generated Node #3: [60, 2] from Operation: 96/48=2 Current State: 58:[60, 2], Operations: ['30+66=96', '96/48=2'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[30, 48, 60, 66], Operations: [] Exploring Operation: 66-60=6, Resulting Numbers: [30, 48, 6] Generated Node #0,0: 58:[30, 48, 6] Operation: 66-60=6 Exploring Operation: 66-48=18, Resulting Numbers: [30, 60, 18] Generated Node #0,1: 58:[30, 60, 18] Operation: 66-48=18 Moving to Node #0,1 Current State: 58:[30, 60, 18], Operations: ['66-48=18'] Exploring Operation: 60/30=2, Resulting Numbers: [18, 2] Generated Node #0,1,0: 58:[18, 2] Operation: 60/30=2 Exploring Operation: 60-30=30, Resulting Numbers: [18, 30] Generated Node #0,1,1: 58:[18, 30] Operation: 60-30=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[18, 2], Operations: ['66-48=18', '60/30=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,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,1,1 Current State: 58:[18, 30], Operations: ['66-48=18', '60-30=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,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:[30, 48, 6], Operations: ['66-60=6'] Exploring Operation: 48+6=54, Resulting Numbers: [30, 54] Generated Node #0,0,0: 58:[30, 54] Operation: 48+6=54 Exploring Operation: 48/6=8, Resulting Numbers: [30, 8] Generated Node #0,0,1: 58:[30, 8] Operation: 48/6=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[30, 54], Operations: ['66-60=6', '48+6=54'] Exploring Operation: 30+54=84, Resulting Numbers: [84] 84,58 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[30, 8], Operations: ['66-60=6', '48/6=8'] Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 98, 20, 56, 71 ]
63
[ "98-20=78", "71-56=15", "78-15=63" ]
Current State: 63:[98, 20, 56, 71], Operations: [] Exploring Operation: 98-20=78, Resulting Numbers: [56, 71, 78] Generated Node #2: [56, 71, 78] from Operation: 98-20=78 Current State: 63:[56, 71, 78], Operations: ['98-20=78'] Exploring Operation: 71-56=15, Resulting Numbers: [78, 15] Generated Node #3: [78, 15] from Operation: 71-56=15 Current State: 63:[78, 15], Operations: ['98-20=78', '71-56=15'] Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[98, 20, 56, 71], Operations: [] Exploring Operation: 98-71=27, Resulting Numbers: [20, 56, 27] Generated Node #0,0: 63:[20, 56, 27] Operation: 98-71=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[20, 56, 27], Operations: ['98-71=27'] Exploring Operation: 27-20=7, Resulting Numbers: [56, 7] Generated Node #0,0,0: 63:[56, 7] Operation: 27-20=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[56, 7], Operations: ['98-71=27', '27-20=7'] Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[98, 20, 56, 71], Operations: [] Exploring Operation: 98-71=27, Resulting Numbers: [20, 56, 27] Generated Node #0,0: 63:[20, 56, 27] Operation: 98-71=27 Moving to Node #0,0 Current State: 63:[20, 56, 27], Operations: ['98-71=27'] Exploring Operation: 27-20=7, Resulting Numbers: [56, 7] Generated Node #0,0,0: 63:[56, 7] Operation: 27-20=7 Moving to Node #0,0,0 Current State: 63:[56, 7], Operations: ['98-71=27', '27-20=7'] Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 49, 62, 52, 16 ]
55
[ "62-49=13", "52+16=68", "68-13=55" ]
Current State: 55:[49, 62, 52, 16], Operations: [] Exploring Operation: 62-49=13, Resulting Numbers: [52, 16, 13] Generated Node #2: [52, 16, 13] from Operation: 62-49=13 Current State: 55:[52, 16, 13], Operations: ['62-49=13'] Exploring Operation: 52+16=68, Resulting Numbers: [13, 68] Generated Node #3: [13, 68] from Operation: 52+16=68 Current State: 55:[13, 68], Operations: ['62-49=13', '52+16=68'] Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[49, 62, 52, 16], Operations: [] Exploring Operation: 62-49=13, Resulting Numbers: [52, 16, 13] Generated Node #0,0: 55:[52, 16, 13] Operation: 62-49=13 Exploring Operation: 49+16=65, Resulting Numbers: [62, 52, 65] Generated Node #0,1: 55:[62, 52, 65] Operation: 49+16=65 Exploring Operation: 62-16=46, Resulting Numbers: [49, 52, 46] Generated Node #0,2: 55:[49, 52, 46] Operation: 62-16=46 Exploring Operation: 62-52=10, Resulting Numbers: [49, 16, 10] Generated Node #0,3: 55:[49, 16, 10] Operation: 62-52=10 Exploring Operation: 52-49=3, Resulting Numbers: [62, 16, 3] Generated Node #0,4: 55:[62, 16, 3] Operation: 52-49=3 Moving to Node #0,0 Current State: 55:[52, 16, 13], Operations: ['62-49=13'] Exploring Operation: 52-16=36, Resulting Numbers: [13, 36] Generated Node #0,0,0: 55:[13, 36] Operation: 52-16=36 Exploring Operation: 52/13=4, Resulting Numbers: [16, 4] Generated Node #0,0,1: 55:[16, 4] Operation: 52/13=4 Exploring Operation: 52+16=68, Resulting Numbers: [13, 68] Generated Node #0,0,2: 55:[13, 68] Operation: 52+16=68 Exploring Operation: 16-13=3, Resulting Numbers: [52, 3] Generated Node #0,0,3: 55:[52, 3] Operation: 16-13=3 Exploring Operation: 52+13=65, Resulting Numbers: [16, 65] Generated Node #0,0,4: 55:[16, 65] Operation: 52+13=65 Moving to Node #0,3 Current State: 55:[49, 16, 10], Operations: ['62-52=10'] Exploring Operation: 49+10=59, Resulting Numbers: [16, 59] Generated Node #0,3,0: 55:[16, 59] Operation: 49+10=59 Exploring Operation: 49-10=39, Resulting Numbers: [16, 39] Generated Node #0,3,1: 55:[16, 39] Operation: 49-10=39 Exploring Operation: 49+16=65, Resulting Numbers: [10, 65] Generated Node #0,3,2: 55:[10, 65] Operation: 49+16=65 Exploring Operation: 16+10=26, Resulting Numbers: [49, 26] Generated Node #0,3,3: 55:[49, 26] Operation: 16+10=26 Exploring Operation: 16-10=6, Resulting Numbers: [49, 6] Generated Node #0,3,4: 55:[49, 6] Operation: 16-10=6 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 55:[49, 6], Operations: ['62-52=10', '16-10=6'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,55 unequal: No Solution Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[49, 62, 52, 16], Operations: [] Exploring Operation: 62-52=10, Resulting Numbers: [49, 16, 10] Generated Node #0,3: 55:[49, 16, 10] Operation: 62-52=10 Moving to Node #0,3 Current State: 55:[49, 16, 10], Operations: ['62-52=10'] Exploring Operation: 16-10=6, Resulting Numbers: [49, 6] Generated Node #0,3,4: 55:[49, 6] Operation: 16-10=6 Moving to Node #0,3,4 Current State: 55:[49, 6], Operations: ['62-52=10', '16-10=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 7, 2, 54, 19 ]
63
[ "54-19=35", "2*35=70", "70-7=63" ]
Current State: 63:[7, 2, 54, 19], Operations: [] Exploring Operation: 54-19=35, Resulting Numbers: [7, 2, 35] Generated Node #2: [7, 2, 35] from Operation: 54-19=35 Current State: 63:[7, 2, 35], Operations: ['54-19=35'] Exploring Operation: 2*35=70, Resulting Numbers: [7, 70] Generated Node #3: [7, 70] from Operation: 2*35=70 Current State: 63:[7, 70], Operations: ['54-19=35', '2*35=70'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[7, 2, 54, 19], Operations: [] Exploring Operation: 54/2=27, Resulting Numbers: [7, 19, 27] Generated Node #0,0: 63:[7, 19, 27] Operation: 54/2=27 Exploring Operation: 7+54=61, Resulting Numbers: [2, 19, 61] Generated Node #0,1: 63:[2, 19, 61] Operation: 7+54=61 Moving to Node #0,1 Current State: 63:[2, 19, 61], Operations: ['7+54=61'] Exploring Operation: 2+61=63, Resulting Numbers: [19, 63] Generated Node #0,1,0: 63:[19, 63] Operation: 2+61=63 Exploring Operation: 2+19=21, Resulting Numbers: [61, 21] Generated Node #0,1,1: 63:[61, 21] Operation: 2+19=21 Moving to Node #0,0 Current State: 63:[7, 19, 27], Operations: ['54/2=27'] Exploring Operation: 27-7=20, Resulting Numbers: [19, 20] Generated Node #0,0,0: 63:[19, 20] Operation: 27-7=20 Exploring Operation: 27-19=8, Resulting Numbers: [7, 8] Generated Node #0,0,1: 63:[7, 8] Operation: 27-19=8 Moving to Node #0,0,1 Current State: 63:[7, 8], Operations: ['54/2=27', '27-19=8'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[19, 63], Operations: ['7+54=61', '2+61=63'] Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 19+63=82, Resulting Numbers: [82] 82,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[61, 21], Operations: ['7+54=61', '2+19=21'] Exploring Operation: 61+21=82, Resulting Numbers: [82] 82,63 unequal: No Solution Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[19, 20], Operations: ['54/2=27', '27-7=20'] Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,63 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 96, 85, 24, 7 ]
13
[ "96+85=181", "24*7=168", "181-168=13" ]
Current State: 13:[96, 85, 24, 7], Operations: [] Exploring Operation: 96+85=181, Resulting Numbers: [24, 7, 181] Generated Node #2: [24, 7, 181] from Operation: 96+85=181 Current State: 13:[24, 7, 181], Operations: ['96+85=181'] Exploring Operation: 24*7=168, Resulting Numbers: [181, 168] Generated Node #3: [181, 168] from Operation: 24*7=168 Current State: 13:[181, 168], Operations: ['96+85=181', '24*7=168'] Exploring Operation: 181-168=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[96, 85, 24, 7], Operations: [] Exploring Operation: 96-7=89, Resulting Numbers: [85, 24, 89] Generated Node #0,0: 13:[85, 24, 89] Operation: 96-7=89 Exploring Operation: 96/24=4, Resulting Numbers: [85, 7, 4] Generated Node #0,1: 13:[85, 7, 4] Operation: 96/24=4 Exploring Operation: 96-85=11, Resulting Numbers: [24, 7, 11] Generated Node #0,2: 13:[24, 7, 11] Operation: 96-85=11 Exploring Operation: 85-24=61, Resulting Numbers: [96, 7, 61] Generated Node #0,3: 13:[96, 7, 61] Operation: 85-24=61 Exploring Operation: 96-24=72, Resulting Numbers: [85, 7, 72] Generated Node #0,4: 13:[85, 7, 72] Operation: 96-24=72 Moving to Node #0,2 Current State: 13:[24, 7, 11], Operations: ['96-85=11'] Exploring Operation: 11-7=4, Resulting Numbers: [24, 4] Generated Node #0,2,0: 13:[24, 4] Operation: 11-7=4 Exploring Operation: 24+7=31, Resulting Numbers: [11, 31] Generated Node #0,2,1: 13:[11, 31] Operation: 24+7=31 Exploring Operation: 7+11=18, Resulting Numbers: [24, 18] Generated Node #0,2,2: 13:[24, 18] Operation: 7+11=18 Exploring Operation: 24-11=13, Resulting Numbers: [7, 13] Generated Node #0,2,3: 13:[7, 13] Operation: 24-11=13 Exploring Operation: 24-7=17, Resulting Numbers: [11, 17] Generated Node #0,2,4: 13:[11, 17] Operation: 24-7=17 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 13:[7, 13], Operations: ['96-85=11', '24-11=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 13:[11, 17], Operations: ['96-85=11', '24-7=17'] Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,13 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 13:[24, 18], Operations: ['96-85=11', '7+11=18'] Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 13:[24, 4], Operations: ['96-85=11', '11-7=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,13 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[11, 31], Operations: ['96-85=11', '24+7=31'] Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 11*31=341, Resulting Numbers: [341] 341,13 unequal: No Solution Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,13 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: 13:[85, 7, 4], Operations: ['96/24=4'] Exploring Operation: 7+4=11, Resulting Numbers: [85, 11] Generated Node #0,1,0: 13:[85, 11] Operation: 7+4=11 Exploring Operation: 85-4=81, Resulting Numbers: [7, 81] Generated Node #0,1,1: 13:[7, 81] Operation: 85-4=81 Exploring Operation: 85+4=89, Resulting Numbers: [7, 89] Generated Node #0,1,2: 13:[7, 89] Operation: 85+4=89 Exploring Operation: 7-4=3, Resulting Numbers: [85, 3] Generated Node #0,1,3: 13:[85, 3] Operation: 7-4=3 Exploring Operation: 85-7=78, Resulting Numbers: [4, 78] Generated Node #0,1,4: 13:[4, 78] Operation: 85-7=78 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[85, 11], Operations: ['96/24=4', '7+4=11'] Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,13 unequal: No Solution Exploring Operation: 85*11=935, Resulting Numbers: [935] 935,13 unequal: No Solution Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[7, 81], Operations: ['96/24=4', '85-4=81'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 7+81=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 7*81=567, Resulting Numbers: [567] 567,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 13:[4, 78], Operations: ['96/24=4', '85-7=78'] Exploring Operation: 4*78=312, Resulting Numbers: [312] 312,13 unequal: No Solution Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,13 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[7, 89], Operations: ['96/24=4', '85+4=89'] Exploring Operation: 7+89=96, Resulting Numbers: [96] 96,13 unequal: No Solution Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,13 unequal: No Solution Exploring Operation: 7*89=623, Resulting Numbers: [623] 623,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 13:[85, 3], Operations: ['96/24=4', '7-4=3'] Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,13 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,13 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,13 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: 13:[96, 7, 61], Operations: ['85-24=61'] Exploring Operation: 96+7=103, Resulting Numbers: [61, 103] Generated Node #0,3,0: 13:[61, 103] Operation: 96+7=103 Exploring Operation: 7+61=68, Resulting Numbers: [96, 68] Generated Node #0,3,1: 13:[96, 68] Operation: 7+61=68 Exploring Operation: 96-61=35, Resulting Numbers: [7, 35] Generated Node #0,3,2: 13:[7, 35] Operation: 96-61=35 Exploring Operation: 61-7=54, Resulting Numbers: [96, 54] Generated Node #0,3,3: 13:[96, 54] Operation: 61-7=54 Exploring Operation: 96-7=89, Resulting Numbers: [61, 89] Generated Node #0,3,4: 13:[61, 89] Operation: 96-7=89 Moving to Node #0,4 Current State: 13:[85, 7, 72], Operations: ['96-24=72'] Exploring Operation: 72-7=65, Resulting Numbers: [85, 65] Generated Node #0,4,0: 13:[85, 65] Operation: 72-7=65 Exploring Operation: 85+7=92, Resulting Numbers: [72, 92] Generated Node #0,4,1: 13:[72, 92] Operation: 85+7=92 Exploring Operation: 85-7=78, Resulting Numbers: [72, 78] Generated Node #0,4,2: 13:[72, 78] Operation: 85-7=78 Exploring Operation: 85-72=13, Resulting Numbers: [7, 13] Generated Node #0,4,3: 13:[7, 13] Operation: 85-72=13 Exploring Operation: 7+72=79, Resulting Numbers: [85, 79] Generated Node #0,4,4: 13:[85, 79] Operation: 7+72=79 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 13:[7, 13], Operations: ['96-24=72', '85-72=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,13 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 13:[85, 65], Operations: ['96-24=72', '72-7=65'] Exploring Operation: 85+65=150, Resulting Numbers: [150] 150,13 unequal: No Solution Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 85*65=5525, Resulting Numbers: [5525] 5525,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 13:[72, 78], Operations: ['96-24=72', '85-7=78'] Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 72+78=150, Resulting Numbers: [150] 150,13 unequal: No Solution Exploring Operation: 72*78=5616, Resulting Numbers: [5616] 5616,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 13:[72, 92], Operations: ['96-24=72', '85+7=92'] Exploring Operation: 72*92=6624, Resulting Numbers: [6624] 6624,13 unequal: No Solution Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 72+92=164, Resulting Numbers: [164] 164,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 13:[85, 79], Operations: ['96-24=72', '7+72=79'] Exploring Operation: 85-79=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 85+79=164, Resulting Numbers: [164] 164,13 unequal: No Solution Exploring Operation: 85*79=6715, Resulting Numbers: [6715] 6715,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 13:[85, 24, 89], Operations: ['96-7=89'] Exploring Operation: 85+89=174, Resulting Numbers: [24, 174] Generated Node #0,0,0: 13:[24, 174] Operation: 85+89=174 Exploring Operation: 85-24=61, Resulting Numbers: [89, 61] Generated Node #0,0,1: 13:[89, 61] Operation: 85-24=61 Exploring Operation: 89-24=65, Resulting Numbers: [85, 65] Generated Node #0,0,2: 13:[85, 65] Operation: 89-24=65 Exploring Operation: 85+24=109, Resulting Numbers: [89, 109] Generated Node #0,0,3: 13:[89, 109] Operation: 85+24=109 Exploring Operation: 89-85=4, Resulting Numbers: [24, 4] Generated Node #0,0,4: 13:[24, 4] Operation: 89-85=4 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 13:[24, 4], Operations: ['96-7=89', '89-85=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[89, 61], Operations: ['96-7=89', '85-24=61'] Exploring Operation: 89+61=150, Resulting Numbers: [150] 150,13 unequal: No Solution Exploring Operation: 89*61=5429, Resulting Numbers: [5429] 5429,13 unequal: No Solution Exploring Operation: 89-61=28, Resulting Numbers: [28] 28,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 13:[85, 65], Operations: ['96-7=89', '89-24=65'] Exploring Operation: 85+65=150, Resulting Numbers: [150] 150,13 unequal: No Solution Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 85*65=5525, Resulting Numbers: [5525] 5525,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[24, 174], Operations: ['96-7=89', '85+89=174'] Exploring Operation: 24+174=198, Resulting Numbers: [198] 198,13 unequal: No Solution Exploring Operation: 24*174=4176, Resulting Numbers: [4176] 4176,13 unequal: No Solution Exploring Operation: 174-24=150, Resulting Numbers: [150] 150,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 13:[89, 109], Operations: ['96-7=89', '85+24=109'] Exploring Operation: 89+109=198, Resulting Numbers: [198] 198,13 unequal: No Solution Exploring Operation: 109-89=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 89*109=9701, Resulting Numbers: [9701] 9701,13 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: 13:[7, 35], Operations: ['85-24=61', '96-61=35'] Exploring Operation: 7+35=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 7*35=245, Resulting Numbers: [245] 245,13 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,13 unequal: No Solution Moving to Node #0,3,4 Current State: 13:[61, 89], Operations: ['85-24=61', '96-7=89'] Exploring Operation: 61+89=150, Resulting Numbers: [150] 150,13 unequal: No Solution Exploring Operation: 89-61=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 61*89=5429, Resulting Numbers: [5429] 5429,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[96, 54], Operations: ['85-24=61', '61-7=54'] Exploring Operation: 96+54=150, Resulting Numbers: [150] 150,13 unequal: No Solution Exploring Operation: 96*54=5184, Resulting Numbers: [5184] 5184,13 unequal: No Solution Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[61, 103], Operations: ['85-24=61', '96+7=103'] Exploring Operation: 61*103=6283, Resulting Numbers: [6283] 6283,13 unequal: No Solution Exploring Operation: 61+103=164, Resulting Numbers: [164] 164,13 unequal: No Solution Exploring Operation: 103-61=42, Resulting Numbers: [42] 42,13 unequal: No Solution Moving to Node #0,3,1 Current State: 13:[96, 68], Operations: ['85-24=61', '7+61=68'] Exploring Operation: 96*68=6528, Resulting Numbers: [6528] 6528,13 unequal: No Solution Exploring Operation: 96-68=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 96+68=164, Resulting Numbers: [164] 164,13 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 21, 42, 62, 1 ]
45
[ "62+1=63", "63/21=3", "42+3=45" ]
Current State: 45:[21, 42, 62, 1], Operations: [] Exploring Operation: 62+1=63, Resulting Numbers: [21, 42, 63] Generated Node #2: [21, 42, 63] from Operation: 62+1=63 Current State: 45:[21, 42, 63], Operations: ['62+1=63'] Exploring Operation: 63/21=3, Resulting Numbers: [42, 3] Generated Node #3: [42, 3] from Operation: 63/21=3 Current State: 45:[42, 3], Operations: ['62+1=63', '63/21=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[21, 42, 62, 1], Operations: [] Exploring Operation: 62-42=20, Resulting Numbers: [21, 1, 20] Generated Node #0,0: 45:[21, 1, 20] Operation: 62-42=20 Exploring Operation: 62-21=41, Resulting Numbers: [42, 1, 41] Generated Node #0,1: 45:[42, 1, 41] Operation: 62-21=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[42, 1, 41], Operations: ['62-21=41'] Exploring Operation: 42-41=1, Resulting Numbers: [1, 1] Generated Node #0,1,0: 45:[1, 1] Operation: 42-41=1 Exploring Operation: 42+1=43, Resulting Numbers: [41, 43] Generated Node #0,1,1: 45:[41, 43] Operation: 42+1=43 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[1, 1], Operations: ['62-21=41', '42-41=1'] Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[41, 43], Operations: ['62-21=41', '42+1=43'] Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[21, 1, 20], Operations: ['62-42=20'] Exploring Operation: 21+20=41, Resulting Numbers: [1, 41] Generated Node #0,0,0: 45:[1, 41] Operation: 21+20=41 Exploring Operation: 21-20=1, Resulting Numbers: [1, 1] Generated Node #0,0,1: 45:[1, 1] Operation: 21-20=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 45:[1, 1], Operations: ['62-42=20', '21-20=1'] Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[1, 41], Operations: ['62-42=20', '21+20=41'] Exploring Operation: 1+41=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 40, 95, 81, 15 ]
40
[ "95-81=14", "15-14=1", "40*1=40" ]
Current State: 40:[40, 95, 81, 15], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [40, 15, 14] Generated Node #2: [40, 15, 14] from Operation: 95-81=14 Current State: 40:[40, 15, 14], Operations: ['95-81=14'] Exploring Operation: 15-14=1, Resulting Numbers: [40, 1] Generated Node #3: [40, 1] from Operation: 15-14=1 Current State: 40:[40, 1], Operations: ['95-81=14', '15-14=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[40, 95, 81, 15], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [40, 15, 14] Generated Node #0,0: 40:[40, 15, 14] Operation: 95-81=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[40, 15, 14], Operations: ['95-81=14'] Exploring Operation: 15-14=1, Resulting Numbers: [40, 1] Generated Node #0,0,0: 40:[40, 1] Operation: 15-14=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[40, 1], Operations: ['95-81=14', '15-14=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[40, 95, 81, 15], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [40, 15, 14] Generated Node #0,0: 40:[40, 15, 14] Operation: 95-81=14 Moving to Node #0,0 Current State: 40:[40, 15, 14], Operations: ['95-81=14'] Exploring Operation: 15-14=1, Resulting Numbers: [40, 1] Generated Node #0,0,0: 40:[40, 1] Operation: 15-14=1 Moving to Node #0,0,0 Current State: 40:[40, 1], Operations: ['95-81=14', '15-14=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 21, 89, 24, 7 ]
17
[ "21*24=504", "504/7=72", "89-72=17" ]
Current State: 17:[21, 89, 24, 7], Operations: [] Exploring Operation: 21*24=504, Resulting Numbers: [89, 7, 504] Generated Node #2: [89, 7, 504] from Operation: 21*24=504 Current State: 17:[89, 7, 504], Operations: ['21*24=504'] Exploring Operation: 504/7=72, Resulting Numbers: [89, 72] Generated Node #3: [89, 72] from Operation: 504/7=72 Current State: 17:[89, 72], Operations: ['21*24=504', '504/7=72'] Exploring Operation: 89-72=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[21, 89, 24, 7], Operations: [] Exploring Operation: 89-24=65, Resulting Numbers: [21, 7, 65] Generated Node #0,0: 17:[21, 7, 65] Operation: 89-24=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[21, 7, 65], Operations: ['89-24=65'] Exploring Operation: 65-21=44, Resulting Numbers: [7, 44] Generated Node #0,0,0: 17:[7, 44] Operation: 65-21=44 Moving to Node #0,0,0 Current State: 17:[7, 44], Operations: ['89-24=65', '65-21=44'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 86, 61, 79 ]
55
[ "86-79=7", "42/7=6", "61-6=55" ]
Current State: 55:[42, 86, 61, 79], Operations: [] Exploring Operation: 86-79=7, Resulting Numbers: [42, 61, 7] Generated Node #2: [42, 61, 7] from Operation: 86-79=7 Current State: 55:[42, 61, 7], Operations: ['86-79=7'] Exploring Operation: 42/7=6, Resulting Numbers: [61, 6] Generated Node #3: [61, 6] from Operation: 42/7=6 Current State: 55:[61, 6], Operations: ['86-79=7', '42/7=6'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[42, 86, 61, 79], Operations: [] Exploring Operation: 86-79=7, Resulting Numbers: [42, 61, 7] Generated Node #0,0: 55:[42, 61, 7] Operation: 86-79=7 Exploring Operation: 86-42=44, Resulting Numbers: [61, 79, 44] Generated Node #0,1: 55:[61, 79, 44] Operation: 86-42=44 Exploring Operation: 86-61=25, Resulting Numbers: [42, 79, 25] Generated Node #0,2: 55:[42, 79, 25] Operation: 86-61=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[42, 61, 7], Operations: ['86-79=7'] Exploring Operation: 42+7=49, Resulting Numbers: [61, 49] Generated Node #0,0,0: 55:[61, 49] Operation: 42+7=49 Exploring Operation: 61-42=19, Resulting Numbers: [7, 19] Generated Node #0,0,1: 55:[7, 19] Operation: 61-42=19 Exploring Operation: 42/7=6, Resulting Numbers: [61, 6] Generated Node #0,0,2: 55:[61, 6] Operation: 42/7=6 Moving to Node #0,0,2 Current State: 55:[61, 6], Operations: ['86-79=7', '42/7=6'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[42, 86, 61, 79], Operations: [] Exploring Operation: 86-79=7, Resulting Numbers: [42, 61, 7] Generated Node #0,0: 55:[42, 61, 7] Operation: 86-79=7 Moving to Node #0,0 Current State: 55:[42, 61, 7], Operations: ['86-79=7'] Exploring Operation: 42/7=6, Resulting Numbers: [61, 6] Generated Node #0,0,2: 55:[61, 6] Operation: 42/7=6 Moving to Node #0,0,2 Current State: 55:[61, 6], Operations: ['86-79=7', '42/7=6'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 16, 24, 58, 9 ]
96
[ "24*58=1392", "1392/16=87", "9+87=96" ]
Current State: 96:[16, 24, 58, 9], Operations: [] Exploring Operation: 24*58=1392, Resulting Numbers: [16, 9, 1392] Generated Node #2: [16, 9, 1392] from Operation: 24*58=1392 Current State: 96:[16, 9, 1392], Operations: ['24*58=1392'] Exploring Operation: 1392/16=87, Resulting Numbers: [9, 87] Generated Node #3: [9, 87] from Operation: 1392/16=87 Current State: 96:[9, 87], Operations: ['24*58=1392', '1392/16=87'] Exploring Operation: 9+87=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[16, 24, 58, 9], Operations: [] Exploring Operation: 58-9=49, Resulting Numbers: [16, 24, 49] Generated Node #0,0: 96:[16, 24, 49] Operation: 58-9=49 Moving to Node #0,0 Current State: 96:[16, 24, 49], Operations: ['58-9=49'] Exploring Operation: 24-16=8, Resulting Numbers: [49, 8] Generated Node #0,0,0: 96:[49, 8] Operation: 24-16=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[49, 8], Operations: ['58-9=49', '24-16=8'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,96 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
[ 25, 15, 55, 1 ]
32
[ "15*55=825", "825/25=33", "33-1=32" ]
Current State: 32:[25, 15, 55, 1], Operations: [] Exploring Operation: 15*55=825, Resulting Numbers: [25, 1, 825] Generated Node #2: [25, 1, 825] from Operation: 15*55=825 Current State: 32:[25, 1, 825], Operations: ['15*55=825'] Exploring Operation: 825/25=33, Resulting Numbers: [1, 33] Generated Node #3: [1, 33] from Operation: 825/25=33 Current State: 32:[1, 33], Operations: ['15*55=825', '825/25=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[25, 15, 55, 1], Operations: [] Exploring Operation: 25-15=10, Resulting Numbers: [55, 1, 10] Generated Node #0,0: 32:[55, 1, 10] Operation: 25-15=10 Exploring Operation: 15+1=16, Resulting Numbers: [25, 55, 16] Generated Node #0,1: 32:[25, 55, 16] Operation: 15+1=16 Exploring Operation: 55-25=30, Resulting Numbers: [15, 1, 30] Generated Node #0,2: 32:[15, 1, 30] Operation: 55-25=30 Exploring Operation: 55-15=40, Resulting Numbers: [25, 1, 40] Generated Node #0,3: 32:[25, 1, 40] Operation: 55-15=40 Exploring Operation: 25+1=26, Resulting Numbers: [15, 55, 26] Generated Node #0,4: 32:[15, 55, 26] Operation: 25+1=26 Moving to Node #0,2 Current State: 32:[15, 1, 30], Operations: ['55-25=30'] Exploring Operation: 15*1=15, Resulting Numbers: [30, 15] Generated Node #0,2,0: 32:[30, 15] Operation: 15*1=15 Exploring Operation: 1+30=31, Resulting Numbers: [15, 31] Generated Node #0,2,1: 32:[15, 31] Operation: 1+30=31 Exploring Operation: 30/15=2, Resulting Numbers: [1, 2] Generated Node #0,2,2: 32:[1, 2] Operation: 30/15=2 Exploring Operation: 30-15=15, Resulting Numbers: [1, 15] Generated Node #0,2,3: 32:[1, 15] Operation: 30-15=15 Exploring Operation: 15+1=16, Resulting Numbers: [30, 16] Generated Node #0,2,4: 32:[30, 16] Operation: 15+1=16 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[1, 2], Operations: ['55-25=30', '30/15=2'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[15, 31], Operations: ['55-25=30', '1+30=31'] Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,32 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 32:[1, 15], Operations: ['55-25=30', '30-15=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 32:[30, 16], Operations: ['55-25=30', '15+1=16'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,32 unequal: No Solution Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[30, 15], Operations: ['55-25=30', '15*1=15'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,32 unequal: No Solution Exploring Operation: 30*15=450, Resulting Numbers: [450] 450,32 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,32 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: 32:[25, 1, 40], Operations: ['55-15=40'] Exploring Operation: 25*1=25, Resulting Numbers: [40, 25] Generated Node #0,3,0: 32:[40, 25] Operation: 25*1=25 Exploring Operation: 40-25=15, Resulting Numbers: [1, 15] Generated Node #0,3,1: 32:[1, 15] Operation: 40-25=15 Exploring Operation: 25+1=26, Resulting Numbers: [40, 26] Generated Node #0,3,2: 32:[40, 26] Operation: 25+1=26 Exploring Operation: 25/1=25, Resulting Numbers: [40, 25] Generated Node #0,3,3: 32:[40, 25] Operation: 25/1=25 Exploring Operation: 40-1=39, Resulting Numbers: [25, 39] Generated Node #0,3,4: 32:[25, 39] Operation: 40-1=39 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 32:[1, 15], Operations: ['55-15=40', '40-25=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 32:[40, 26], Operations: ['55-15=40', '25+1=26'] Exploring Operation: 40+26=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 40*26=1040, Resulting Numbers: [1040] 1040,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 32:[25, 39], Operations: ['55-15=40', '40-1=39'] Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,32 unequal: No Solution Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 32:[40, 25], Operations: ['55-15=40', '25*1=25'] Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 40*25=1000, Resulting Numbers: [1000] 1000,32 unequal: No Solution Exploring Operation: 40+25=65, Resulting Numbers: [65] 65,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 32:[40, 25], Operations: ['55-15=40', '25/1=25'] Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 40+25=65, Resulting Numbers: [65] 65,32 unequal: No Solution Exploring Operation: 40*25=1000, Resulting Numbers: [1000] 1000,32 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: 32:[55, 1, 10], Operations: ['25-15=10'] Exploring Operation: 55/1=55, Resulting Numbers: [10, 55] Generated Node #0,0,0: 32:[10, 55] Operation: 55/1=55 Exploring Operation: 55-10=45, Resulting Numbers: [1, 45] Generated Node #0,0,1: 32:[1, 45] Operation: 55-10=45 Exploring Operation: 10-1=9, Resulting Numbers: [55, 9] Generated Node #0,0,2: 32:[55, 9] Operation: 10-1=9 Exploring Operation: 55-1=54, Resulting Numbers: [10, 54] Generated Node #0,0,3: 32:[10, 54] Operation: 55-1=54 Exploring Operation: 55*1=55, Resulting Numbers: [10, 55] Generated Node #0,0,4: 32:[10, 55] Operation: 55*1=55 Moving to Node #0,1 Current State: 32:[25, 55, 16], Operations: ['15+1=16'] Exploring Operation: 25-16=9, Resulting Numbers: [55, 9] Generated Node #0,1,0: 32:[55, 9] Operation: 25-16=9 Exploring Operation: 25+16=41, Resulting Numbers: [55, 41] Generated Node #0,1,1: 32:[55, 41] Operation: 25+16=41 Exploring Operation: 55-25=30, Resulting Numbers: [16, 30] Generated Node #0,1,2: 32:[16, 30] Operation: 55-25=30 Exploring Operation: 55+16=71, Resulting Numbers: [25, 71] Generated Node #0,1,3: 32:[25, 71] Operation: 55+16=71 Exploring Operation: 55-16=39, Resulting Numbers: [25, 39] Generated Node #0,1,4: 32:[25, 39] Operation: 55-16=39 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 32:[16, 30], Operations: ['15+1=16', '55-25=30'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,32 unequal: No Solution Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 32:[25, 39], Operations: ['15+1=16', '55-16=39'] Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,32 unequal: No Solution Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[55, 9], Operations: ['15+1=16', '25-16=9'] Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,32 unequal: No Solution Exploring Operation: 55*9=495, Resulting Numbers: [495] 495,32 unequal: No Solution Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[55, 41], Operations: ['15+1=16', '25+16=41'] Exploring Operation: 55*41=2255, Resulting Numbers: [2255] 2255,32 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 55+41=96, Resulting Numbers: [96] 96,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 32:[25, 71], Operations: ['15+1=16', '55+16=71'] Exploring Operation: 25*71=1775, Resulting Numbers: [1775] 1775,32 unequal: No Solution Exploring Operation: 25+71=96, Resulting Numbers: [96] 96,32 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,32 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: 32:[15, 55, 26], Operations: ['25+1=26'] Exploring Operation: 55-15=40, Resulting Numbers: [26, 40] Generated Node #0,4,0: 32:[26, 40] Operation: 55-15=40 Exploring Operation: 26-15=11, Resulting Numbers: [55, 11] Generated Node #0,4,1: 32:[55, 11] Operation: 26-15=11 Exploring Operation: 15+26=41, Resulting Numbers: [55, 41] Generated Node #0,4,2: 32:[55, 41] Operation: 15+26=41 Exploring Operation: 55-26=29, Resulting Numbers: [15, 29] Generated Node #0,4,3: 32:[15, 29] Operation: 55-26=29 Exploring Operation: 15+55=70, Resulting Numbers: [26, 70] Generated Node #0,4,4: 32:[26, 70] Operation: 15+55=70 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 32:[15, 29], Operations: ['25+1=26', '55-26=29'] Exploring Operation: 15*29=435, Resulting Numbers: [435] 435,32 unequal: No Solution Exploring Operation: 15+29=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 32:[26, 40], Operations: ['25+1=26', '55-15=40'] Exploring Operation: 26+40=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 26*40=1040, Resulting Numbers: [1040] 1040,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 32:[55, 11], Operations: ['25+1=26', '26-15=11'] Exploring Operation: 55*11=605, Resulting Numbers: [605] 605,32 unequal: No Solution Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 32:[55, 41], Operations: ['25+1=26', '15+26=41'] Exploring Operation: 55*41=2255, Resulting Numbers: [2255] 2255,32 unequal: No Solution Exploring Operation: 55+41=96, Resulting Numbers: [96] 96,32 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 32:[26, 70], Operations: ['25+1=26', '15+55=70'] Exploring Operation: 26*70=1820, Resulting Numbers: [1820] 1820,32 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 26+70=96, Resulting Numbers: [96] 96,32 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: 32:[1, 45], Operations: ['25-15=10', '55-10=45'] Exploring Operation: 1*45=45, Resulting Numbers: [45] 45,32 unequal: No Solution Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,32 unequal: No Solution Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,32 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[10, 54], Operations: ['25-15=10', '55-1=54'] Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 10+54=64, Resulting Numbers: [64] 64,32 unequal: No Solution Exploring Operation: 10*54=540, Resulting Numbers: [540] 540,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[55, 9], Operations: ['25-15=10', '10-1=9'] Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,32 unequal: No Solution Exploring Operation: 55*9=495, Resulting Numbers: [495] 495,32 unequal: No Solution Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[10, 55], Operations: ['25-15=10', '55/1=55'] Exploring Operation: 10*55=550, Resulting Numbers: [550] 550,32 unequal: No Solution Exploring Operation: 10+55=65, Resulting Numbers: [65] 65,32 unequal: No Solution Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,32 unequal: No Solution Moving to Node #0,0,4 Current State: 32:[10, 55], Operations: ['25-15=10', '55*1=55'] Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,32 unequal: No Solution Exploring Operation: 10+55=65, Resulting Numbers: [65] 65,32 unequal: No Solution Exploring Operation: 10*55=550, Resulting Numbers: [550] 550,32 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 94, 5, 34, 23 ]
39
[ "34-23=11", "5*11=55", "94-55=39" ]
Current State: 39:[94, 5, 34, 23], Operations: [] Exploring Operation: 34-23=11, Resulting Numbers: [94, 5, 11] Generated Node #2: [94, 5, 11] from Operation: 34-23=11 Current State: 39:[94, 5, 11], Operations: ['34-23=11'] Exploring Operation: 5*11=55, Resulting Numbers: [94, 55] Generated Node #3: [94, 55] from Operation: 5*11=55 Current State: 39:[94, 55], Operations: ['34-23=11', '5*11=55'] Exploring Operation: 94-55=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[94, 5, 34, 23], Operations: [] Exploring Operation: 94-5=89, Resulting Numbers: [34, 23, 89] Generated Node #0,0: 39:[34, 23, 89] Operation: 94-5=89 Exploring Operation: 94-34=60, Resulting Numbers: [5, 23, 60] Generated Node #0,1: 39:[5, 23, 60] Operation: 94-34=60 Exploring Operation: 34-23=11, Resulting Numbers: [94, 5, 11] Generated Node #0,2: 39:[94, 5, 11] Operation: 34-23=11 Exploring Operation: 94-23=71, Resulting Numbers: [5, 34, 71] Generated Node #0,3: 39:[5, 34, 71] Operation: 94-23=71 Moving to Node #0,1 Current State: 39:[5, 23, 60], Operations: ['94-34=60'] Exploring Operation: 60-23=37, Resulting Numbers: [5, 37] Generated Node #0,1,0: 39:[5, 37] Operation: 60-23=37 Exploring Operation: 60/5=12, Resulting Numbers: [23, 12] Generated Node #0,1,1: 39:[23, 12] Operation: 60/5=12 Exploring Operation: 60-5=55, Resulting Numbers: [23, 55] Generated Node #0,1,2: 39:[23, 55] Operation: 60-5=55 Exploring Operation: 23-5=18, Resulting Numbers: [60, 18] Generated Node #0,1,3: 39:[60, 18] Operation: 23-5=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[5, 37], Operations: ['94-34=60', '60-23=37'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,39 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,39 unequal: No Solution No 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: 39:[23, 12], Operations: ['94-34=60', '60/5=12'] Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,39 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,39 unequal: No Solution No 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: 39:[23, 55], Operations: ['94-34=60', '60-5=55'] Exploring Operation: 23*55=1265, Resulting Numbers: [1265] 1265,39 unequal: No Solution Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,39 unequal: No Solution No 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: 39:[60, 18], Operations: ['94-34=60', '23-5=18'] Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,39 unequal: No Solution Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,39 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: 39:[5, 34, 71], Operations: ['94-23=71'] Exploring Operation: 5+34=39, Resulting Numbers: [71, 39] Generated Node #0,3,0: 39:[71, 39] Operation: 5+34=39 Exploring Operation: 71-34=37, Resulting Numbers: [5, 37] Generated Node #0,3,1: 39:[5, 37] Operation: 71-34=37 Exploring Operation: 71-5=66, Resulting Numbers: [34, 66] Generated Node #0,3,2: 39:[34, 66] Operation: 71-5=66 Exploring Operation: 34-5=29, Resulting Numbers: [71, 29] Generated Node #0,3,3: 39:[71, 29] Operation: 34-5=29 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 39:[5, 37], Operations: ['94-23=71', '71-34=37'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,39 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,39 unequal: No Solution No 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: 39:[71, 39], Operations: ['94-23=71', '5+34=39'] Exploring Operation: 71*39=2769, Resulting Numbers: [2769] 2769,39 unequal: No Solution Exploring Operation: 71+39=110, Resulting Numbers: [110] 110,39 unequal: No Solution Exploring Operation: 71-39=32, Resulting Numbers: [32] 32,39 unequal: No Solution No 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: 39:[34, 66], Operations: ['94-23=71', '71-5=66'] Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 34+66=100, Resulting Numbers: [100] 100,39 unequal: No Solution Exploring Operation: 34*66=2244, Resulting Numbers: [2244] 2244,39 unequal: No Solution No 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: 39:[71, 29], Operations: ['94-23=71', '34-5=29'] Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 71+29=100, Resulting Numbers: [100] 100,39 unequal: No Solution Exploring Operation: 71*29=2059, Resulting Numbers: [2059] 2059,39 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: 39:[94, 5, 11], Operations: ['34-23=11'] Exploring Operation: 94-11=83, Resulting Numbers: [5, 83] Generated Node #0,2,0: 39:[5, 83] Operation: 94-11=83 Exploring Operation: 11-5=6, Resulting Numbers: [94, 6] Generated Node #0,2,1: 39:[94, 6] Operation: 11-5=6 Exploring Operation: 5+11=16, Resulting Numbers: [94, 16] Generated Node #0,2,2: 39:[94, 16] Operation: 5+11=16 Exploring Operation: 94-5=89, Resulting Numbers: [11, 89] Generated Node #0,2,3: 39:[11, 89] Operation: 94-5=89 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 39:[5, 83], Operations: ['34-23=11', '94-11=83'] Exploring Operation: 5*83=415, Resulting Numbers: [415] 415,39 unequal: No Solution Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 5+83=88, Resulting Numbers: [88] 88,39 unequal: No Solution No 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: 39:[11, 89], Operations: ['34-23=11', '94-5=89'] Exploring Operation: 11*89=979, Resulting Numbers: [979] 979,39 unequal: No Solution Exploring Operation: 11+89=100, Resulting Numbers: [100] 100,39 unequal: No Solution Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,39 unequal: No Solution No 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: 39:[94, 6], Operations: ['34-23=11', '11-5=6'] Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,39 unequal: No Solution Exploring Operation: 94*6=564, Resulting Numbers: [564] 564,39 unequal: No Solution Exploring Operation: 94+6=100, Resulting Numbers: [100] 100,39 unequal: No Solution No 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: 39:[94, 16], Operations: ['34-23=11', '5+11=16'] Exploring Operation: 94-16=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 94+16=110, Resulting Numbers: [110] 110,39 unequal: No Solution Exploring Operation: 94*16=1504, Resulting Numbers: [1504] 1504,39 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: 39:[34, 23, 89], Operations: ['94-5=89'] Exploring Operation: 34+23=57, Resulting Numbers: [89, 57] Generated Node #0,0,0: 39:[89, 57] Operation: 34+23=57 Exploring Operation: 89-34=55, Resulting Numbers: [23, 55] Generated Node #0,0,1: 39:[23, 55] Operation: 89-34=55 Exploring Operation: 34-23=11, Resulting Numbers: [89, 11] Generated Node #0,0,2: 39:[89, 11] Operation: 34-23=11 Exploring Operation: 89-23=66, Resulting Numbers: [34, 66] Generated Node #0,0,3: 39:[34, 66] Operation: 89-23=66 Moving to Node #0,0,1 Current State: 39:[23, 55], Operations: ['94-5=89', '89-34=55'] Exploring Operation: 23*55=1265, Resulting Numbers: [1265] 1265,39 unequal: No Solution Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,39 unequal: No Solution Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[34, 66], Operations: ['94-5=89', '89-23=66'] Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 34*66=2244, Resulting Numbers: [2244] 2244,39 unequal: No Solution Exploring Operation: 34+66=100, Resulting Numbers: [100] 100,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[89, 11], Operations: ['94-5=89', '34-23=11'] Exploring Operation: 89*11=979, Resulting Numbers: [979] 979,39 unequal: No Solution Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,39 unequal: No Solution Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[89, 57], Operations: ['94-5=89', '34+23=57'] Exploring Operation: 89+57=146, Resulting Numbers: [146] 146,39 unequal: No Solution Exploring Operation: 89-57=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 89*57=5073, Resulting Numbers: [5073] 5073,39 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 5, 13, 25, 45 ]
15
[ "5+45=50", "50/25=2", "13+2=15" ]
Current State: 15:[5, 13, 25, 45], Operations: [] Exploring Operation: 5+45=50, Resulting Numbers: [13, 25, 50] Generated Node #2: [13, 25, 50] from Operation: 5+45=50 Current State: 15:[13, 25, 50], Operations: ['5+45=50'] Exploring Operation: 50/25=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 50/25=2 Current State: 15:[13, 2], Operations: ['5+45=50', '50/25=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[5, 13, 25, 45], Operations: [] Exploring Operation: 45-13=32, Resulting Numbers: [5, 25, 32] Generated Node #0,0: 15:[5, 25, 32] Operation: 45-13=32 Exploring Operation: 25/5=5, Resulting Numbers: [13, 45, 5] Generated Node #0,1: 15:[13, 45, 5] Operation: 25/5=5 Exploring Operation: 45/5=9, Resulting Numbers: [13, 25, 9] Generated Node #0,2: 15:[13, 25, 9] Operation: 45/5=9 Exploring Operation: 45-25=20, Resulting Numbers: [5, 13, 20] Generated Node #0,3: 15:[5, 13, 20] Operation: 45-25=20 Exploring Operation: 25-13=12, Resulting Numbers: [5, 45, 12] Generated Node #0,4: 15:[5, 45, 12] Operation: 25-13=12 Moving to Node #0,3 Current State: 15:[5, 13, 20], Operations: ['45-25=20'] Exploring Operation: 20/5=4, Resulting Numbers: [13, 4] Generated Node #0,3,0: 15:[13, 4] Operation: 20/5=4 Exploring Operation: 20-13=7, Resulting Numbers: [5, 7] Generated Node #0,3,1: 15:[5, 7] Operation: 20-13=7 Exploring Operation: 20-5=15, Resulting Numbers: [13, 15] Generated Node #0,3,2: 15:[13, 15] Operation: 20-5=15 Exploring Operation: 5+13=18, Resulting Numbers: [20, 18] Generated Node #0,3,3: 15:[20, 18] Operation: 5+13=18 Exploring Operation: 13-5=8, Resulting Numbers: [20, 8] Generated Node #0,3,4: 15:[20, 8] Operation: 13-5=8 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 15:[5, 7], Operations: ['45-25=20', '20-13=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,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,3,2 Current State: 15:[13, 15], Operations: ['45-25=20', '20-5=15'] Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,15 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,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,3,0 Current State: 15:[13, 4], Operations: ['45-25=20', '20/5=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 15:[20, 18], Operations: ['45-25=20', '5+13=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,15 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,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,3,4 Current State: 15:[20, 8], Operations: ['45-25=20', '13-5=8'] Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,15 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 15:[13, 25, 9], Operations: ['45/5=9'] Exploring Operation: 25-9=16, Resulting Numbers: [13, 16] Generated Node #0,2,0: 15:[13, 16] Operation: 25-9=16 Exploring Operation: 13-9=4, Resulting Numbers: [25, 4] Generated Node #0,2,1: 15:[25, 4] Operation: 13-9=4 Exploring Operation: 25+9=34, Resulting Numbers: [13, 34] Generated Node #0,2,2: 15:[13, 34] Operation: 25+9=34 Exploring Operation: 13+9=22, Resulting Numbers: [25, 22] Generated Node #0,2,3: 15:[25, 22] Operation: 13+9=22 Exploring Operation: 25-13=12, Resulting Numbers: [9, 12] Generated Node #0,2,4: 15:[9, 12] Operation: 25-13=12 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[13, 16], Operations: ['45/5=9', '25-9=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,15 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,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,2,4 Current State: 15:[9, 12], Operations: ['45/5=9', '25-13=12'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,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,2,1 Current State: 15:[25, 4], Operations: ['45/5=9', '13-9=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,15 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,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,2,3 Current State: 15:[25, 22], Operations: ['45/5=9', '13+9=22'] Exploring Operation: 25*22=550, Resulting Numbers: [550] 550,15 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,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,2,2 Current State: 15:[13, 34], Operations: ['45/5=9', '25+9=34'] Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 13*34=442, Resulting Numbers: [442] 442,15 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 15:[5, 25, 32], Operations: ['45-13=32'] Exploring Operation: 25-5=20, Resulting Numbers: [32, 20] Generated Node #0,0,0: 15:[32, 20] Operation: 25-5=20 Exploring Operation: 5+25=30, Resulting Numbers: [32, 30] Generated Node #0,0,1: 15:[32, 30] Operation: 5+25=30 Exploring Operation: 25/5=5, Resulting Numbers: [32, 5] Generated Node #0,0,2: 15:[32, 5] Operation: 25/5=5 Exploring Operation: 32-5=27, Resulting Numbers: [25, 27] Generated Node #0,0,3: 15:[25, 27] Operation: 32-5=27 Exploring Operation: 32-25=7, Resulting Numbers: [5, 7] Generated Node #0,0,4: 15:[5, 7] Operation: 32-25=7 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 15:[5, 7], Operations: ['45-13=32', '32-25=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[32, 5], Operations: ['45-13=32', '25/5=5'] Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,15 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[32, 20], Operations: ['45-13=32', '25-5=20'] Exploring Operation: 32+20=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 32*20=640, Resulting Numbers: [640] 640,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 15:[25, 27], Operations: ['45-13=32', '32-5=27'] Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 25*27=675, Resulting Numbers: [675] 675,15 unequal: No Solution Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[32, 30], Operations: ['45-13=32', '5+25=30'] Exploring Operation: 32*30=960, Resulting Numbers: [960] 960,15 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,15 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: 15:[13, 45, 5], Operations: ['25/5=5'] Exploring Operation: 45-13=32, Resulting Numbers: [5, 32] Generated Node #0,1,0: 15:[5, 32] Operation: 45-13=32 Exploring Operation: 45/5=9, Resulting Numbers: [13, 9] Generated Node #0,1,1: 15:[13, 9] Operation: 45/5=9 Exploring Operation: 13+5=18, Resulting Numbers: [45, 18] Generated Node #0,1,2: 15:[45, 18] Operation: 13+5=18 Exploring Operation: 45-5=40, Resulting Numbers: [13, 40] Generated Node #0,1,3: 15:[13, 40] Operation: 45-5=40 Exploring Operation: 13-5=8, Resulting Numbers: [45, 8] Generated Node #0,1,4: 15:[45, 8] Operation: 13-5=8 Moving to Node #0,4 Current State: 15:[5, 45, 12], Operations: ['25-13=12'] Exploring Operation: 45-12=33, Resulting Numbers: [5, 33] Generated Node #0,4,0: 15:[5, 33] Operation: 45-12=33 Exploring Operation: 45/5=9, Resulting Numbers: [12, 9] Generated Node #0,4,1: 15:[12, 9] Operation: 45/5=9 Exploring Operation: 12-5=7, Resulting Numbers: [45, 7] Generated Node #0,4,2: 15:[45, 7] Operation: 12-5=7 Exploring Operation: 5+12=17, Resulting Numbers: [45, 17] Generated Node #0,4,3: 15:[45, 17] Operation: 5+12=17 Exploring Operation: 45-5=40, Resulting Numbers: [12, 40] Generated Node #0,4,4: 15:[12, 40] Operation: 45-5=40 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 15:[12, 9], Operations: ['25-13=12', '45/5=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,15 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 15:[5, 33], Operations: ['25-13=12', '45-12=33'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,15 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 15:[12, 40], Operations: ['25-13=12', '45-5=40'] Exploring Operation: 12+40=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 12*40=480, Resulting Numbers: [480] 480,15 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 15:[45, 7], Operations: ['25-13=12', '12-5=7'] Exploring Operation: 45+7=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 45*7=315, Resulting Numbers: [315] 315,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 15:[45, 17], Operations: ['25-13=12', '5+12=17'] Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,15 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: 15:[13, 9], Operations: ['25/5=5', '45/5=9'] Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,15 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[5, 32], Operations: ['25/5=5', '45-13=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[13, 40], Operations: ['25/5=5', '45-5=40'] Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 13*40=520, Resulting Numbers: [520] 520,15 unequal: No Solution Exploring Operation: 13+40=53, Resulting Numbers: [53] 53,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[45, 18], Operations: ['25/5=5', '13+5=18'] Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,15 unequal: No Solution Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,15 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,15 unequal: No Solution Moving to Node #0,1,4 Current State: 15:[45, 8], Operations: ['25/5=5', '13-5=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,15 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,15 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 36, 83, 11, 72 ]
58
[ "36+83=119", "72-11=61", "119-61=58" ]
Current State: 58:[36, 83, 11, 72], Operations: [] Exploring Operation: 36+83=119, Resulting Numbers: [11, 72, 119] Generated Node #2: [11, 72, 119] from Operation: 36+83=119 Current State: 58:[11, 72, 119], Operations: ['36+83=119'] Exploring Operation: 72-11=61, Resulting Numbers: [119, 61] Generated Node #3: [119, 61] from Operation: 72-11=61 Current State: 58:[119, 61], Operations: ['36+83=119', '72-11=61'] Exploring Operation: 119-61=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[36, 83, 11, 72], Operations: [] Exploring Operation: 83-72=11, Resulting Numbers: [36, 11, 11] Generated Node #0,0: 58:[36, 11, 11] Operation: 83-72=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[36, 11, 11], Operations: ['83-72=11'] Exploring Operation: 11/11=1, Resulting Numbers: [36, 1] Generated Node #0,0,0: 58:[36, 1] Operation: 11/11=1 Moving to Node #0,0,0 Current State: 58:[36, 1], Operations: ['83-72=11', '11/11=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,58 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
[ 44, 63, 43, 40 ]
88
[ "44*40=1760", "63-43=20", "1760/20=88" ]
Current State: 88:[44, 63, 43, 40], Operations: [] Exploring Operation: 44*40=1760, Resulting Numbers: [63, 43, 1760] Generated Node #2: [63, 43, 1760] from Operation: 44*40=1760 Current State: 88:[63, 43, 1760], Operations: ['44*40=1760'] Exploring Operation: 63-43=20, Resulting Numbers: [1760, 20] Generated Node #3: [1760, 20] from Operation: 63-43=20 Current State: 88:[1760, 20], Operations: ['44*40=1760', '63-43=20'] Exploring Operation: 1760/20=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[44, 63, 43, 40], Operations: [] Exploring Operation: 63-44=19, Resulting Numbers: [43, 40, 19] Generated Node #0,0: 88:[43, 40, 19] Operation: 63-44=19 Exploring Operation: 63-43=20, Resulting Numbers: [44, 40, 20] Generated Node #0,1: 88:[44, 40, 20] Operation: 63-43=20 Exploring Operation: 63-40=23, Resulting Numbers: [44, 43, 23] Generated Node #0,2: 88:[44, 43, 23] Operation: 63-40=23 Exploring Operation: 63+40=103, Resulting Numbers: [44, 43, 103] Generated Node #0,3: 88:[44, 43, 103] Operation: 63+40=103 Exploring Operation: 44-40=4, Resulting Numbers: [63, 43, 4] Generated Node #0,4: 88:[63, 43, 4] Operation: 44-40=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[44, 43, 23], Operations: ['63-40=23'] Exploring Operation: 43-23=20, Resulting Numbers: [44, 20] Generated Node #0,2,0: 88:[44, 20] Operation: 43-23=20 Exploring Operation: 44+23=67, Resulting Numbers: [43, 67] Generated Node #0,2,1: 88:[43, 67] Operation: 44+23=67 Exploring Operation: 44+43=87, Resulting Numbers: [23, 87] Generated Node #0,2,2: 88:[23, 87] Operation: 44+43=87 Exploring Operation: 44-43=1, Resulting Numbers: [23, 1] Generated Node #0,2,3: 88:[23, 1] Operation: 44-43=1 Exploring Operation: 44-23=21, Resulting Numbers: [43, 21] Generated Node #0,2,4: 88:[43, 21] Operation: 44-23=21 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[44, 20], Operations: ['63-40=23', '43-23=20'] Exploring Operation: 44*20=880, Resulting Numbers: [880] 880,88 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 44+20=64, Resulting Numbers: [64] 64,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 88:[23, 87], Operations: ['63-40=23', '44+43=87'] Exploring Operation: 87-23=64, Resulting Numbers: [64] 64,88 unequal: No Solution Exploring Operation: 23*87=2001, Resulting Numbers: [2001] 2001,88 unequal: No Solution Exploring Operation: 23+87=110, Resulting Numbers: [110] 110,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 88:[23, 1], Operations: ['63-40=23', '44-43=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 88:[43, 21], Operations: ['63-40=23', '44-23=21'] Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,88 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 88:[43, 67], Operations: ['63-40=23', '44+23=67'] Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,88 unequal: No Solution Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,88 unequal: No Solution Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,88 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: 88:[44, 40, 20], Operations: ['63-43=20'] Exploring Operation: 40/20=2, Resulting Numbers: [44, 2] Generated Node #0,1,0: 88:[44, 2] Operation: 40/20=2 Exploring Operation: 44+40=84, Resulting Numbers: [20, 84] Generated Node #0,1,1: 88:[20, 84] Operation: 44+40=84 Exploring Operation: 44-40=4, Resulting Numbers: [20, 4] Generated Node #0,1,2: 88:[20, 4] Operation: 44-40=4 Exploring Operation: 40-20=20, Resulting Numbers: [44, 20] Generated Node #0,1,3: 88:[44, 20] Operation: 40-20=20 Exploring Operation: 44-20=24, Resulting Numbers: [40, 24] Generated Node #0,1,4: 88:[40, 24] Operation: 44-20=24 Moving to Node #0,1,0 Current State: 88:[44, 2], Operations: ['63-43=20', '40/20=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[44, 63, 43, 40], Operations: [] Exploring Operation: 63-43=20, Resulting Numbers: [44, 40, 20] Generated Node #0,1: 88:[44, 40, 20] Operation: 63-43=20 Moving to Node #0,1 Current State: 88:[44, 40, 20], Operations: ['63-43=20'] Exploring Operation: 40/20=2, Resulting Numbers: [44, 2] Generated Node #0,1,0: 88:[44, 2] Operation: 40/20=2 Moving to Node #0,1,0 Current State: 88:[44, 2], Operations: ['63-43=20', '40/20=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 2, 8, 37, 47 ]
21
[ "8/2=4", "37+47=84", "84/4=21" ]
Current State: 21:[2, 8, 37, 47], Operations: [] Exploring Operation: 8/2=4, Resulting Numbers: [37, 47, 4] Generated Node #2: [37, 47, 4] from Operation: 8/2=4 Current State: 21:[37, 47, 4], Operations: ['8/2=4'] Exploring Operation: 37+47=84, Resulting Numbers: [4, 84] Generated Node #3: [4, 84] from Operation: 37+47=84 Current State: 21:[4, 84], Operations: ['8/2=4', '37+47=84'] Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[2, 8, 37, 47], Operations: [] Exploring Operation: 47-8=39, Resulting Numbers: [2, 37, 39] Generated Node #0,0: 21:[2, 37, 39] Operation: 47-8=39 Exploring Operation: 37-8=29, Resulting Numbers: [2, 47, 29] Generated Node #0,1: 21:[2, 47, 29] Operation: 37-8=29 Exploring Operation: 47-37=10, Resulting Numbers: [2, 8, 10] Generated Node #0,2: 21:[2, 8, 10] Operation: 47-37=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[2, 8, 10], Operations: ['47-37=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8, 8] Generated Node #0,2,0: 21:[8, 8] Operation: 10-2=8 Exploring Operation: 10-8=2, Resulting Numbers: [2, 2] Generated Node #0,2,1: 21:[2, 2] Operation: 10-8=2 Exploring Operation: 2*10=20, Resulting Numbers: [8, 20] Generated Node #0,2,2: 21:[8, 20] Operation: 2*10=20 Moving to Node #0,2,0 Current State: 21:[8, 8], Operations: ['47-37=10', '10-2=8'] Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,21 unequal: No Solution Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,21 unequal: No Solution Moving to Node #0,2,1 Current State: 21:[2, 2], Operations: ['47-37=10', '10-8=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[8, 20], Operations: ['47-37=10', '2*10=20'] Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,21 unequal: No Solution Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,21 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[2, 37, 39], Operations: ['47-8=39'] Exploring Operation: 37-2=35, Resulting Numbers: [39, 35] Generated Node #0,0,0: 21:[39, 35] Operation: 37-2=35 Exploring Operation: 39-37=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 21:[2, 2] Operation: 39-37=2 Exploring Operation: 39-2=37, Resulting Numbers: [37, 37] Generated Node #0,0,2: 21:[37, 37] Operation: 39-2=37 Moving to Node #0,0,1 Current State: 21:[2, 2], Operations: ['47-8=39', '39-37=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[39, 35], Operations: ['47-8=39', '37-2=35'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,21 unequal: No Solution Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[37, 37], Operations: ['47-8=39', '39-2=37'] Exploring Operation: 37/37=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 37-37=0, Resulting Numbers: [0] 0,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 Current State: 21:[2, 47, 29], Operations: ['37-8=29'] Exploring Operation: 47-29=18, Resulting Numbers: [2, 18] Generated Node #0,1,0: 21:[2, 18] Operation: 47-29=18 Exploring Operation: 29-2=27, Resulting Numbers: [47, 27] Generated Node #0,1,1: 21:[47, 27] Operation: 29-2=27 Exploring Operation: 47-2=45, Resulting Numbers: [29, 45] Generated Node #0,1,2: 21:[29, 45] Operation: 47-2=45 Moving to Node #0,1,0 Current State: 21:[2, 18], Operations: ['37-8=29', '47-29=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,21 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[47, 27], Operations: ['37-8=29', '29-2=27'] Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[29, 45], Operations: ['37-8=29', '47-2=45'] Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,21 unequal: No Solution Exploring Operation: 29*45=1305, Resulting Numbers: [1305] 1305,21 unequal: No Solution Exploring Operation: 29+45=74, Resulting Numbers: [74] 74,21 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
[ 13, 62, 62, 77 ]
90
[ "13+62=75", "77-62=15", "75+15=90" ]
Current State: 90:[13, 62, 62, 77], Operations: [] Exploring Operation: 13+62=75, Resulting Numbers: [77, 75] Generated Node #2: [77, 75] from Operation: 13+62=75 Current State: 90:[77, 75], Operations: ['13+62=75'] Exploring Operation: 77-62=15, Resulting Numbers: [75, 15] Generated Node #3: [75, 15] from Operation: 77-62=15 Current State: 90:[75, 15], Operations: ['13+62=75', '77-62=15'] Exploring Operation: 75+15=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[13, 62, 62, 77], Operations: [] Exploring Operation: 62/62=1, Resulting Numbers: [13, 77, 1] Generated Node #0,0: 90:[13, 77, 1] Operation: 62/62=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[13, 77, 1], Operations: ['62/62=1'] Exploring Operation: 13+77=90, Resulting Numbers: [1, 90] Generated Node #0,0,0: 90:[1, 90] Operation: 13+77=90 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[1, 90], Operations: ['62/62=1', '13+77=90'] Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[13, 62, 62, 77], Operations: [] Exploring Operation: 62/62=1, Resulting Numbers: [13, 77, 1] Generated Node #0,0: 90:[13, 77, 1] Operation: 62/62=1 Moving to Node #0,0 Current State: 90:[13, 77, 1], Operations: ['62/62=1'] Exploring Operation: 13+77=90, Resulting Numbers: [1, 90] Generated Node #0,0,0: 90:[1, 90] Operation: 13+77=90 Moving to Node #0,0,0 Current State: 90:[1, 90], Operations: ['62/62=1', '13+77=90'] Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 82, 43, 84, 79 ]
72
[ "84-82=2", "79-43=36", "2*36=72" ]
Current State: 72:[82, 43, 84, 79], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [43, 79, 2] Generated Node #2: [43, 79, 2] from Operation: 84-82=2 Current State: 72:[43, 79, 2], Operations: ['84-82=2'] Exploring Operation: 79-43=36, Resulting Numbers: [2, 36] Generated Node #3: [2, 36] from Operation: 79-43=36 Current State: 72:[2, 36], Operations: ['84-82=2', '79-43=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[82, 43, 84, 79], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [43, 84, 3] Generated Node #0,0: 72:[43, 84, 3] Operation: 82-79=3 Exploring Operation: 84-79=5, Resulting Numbers: [82, 43, 5] Generated Node #0,1: 72:[82, 43, 5] Operation: 84-79=5 Exploring Operation: 84-82=2, Resulting Numbers: [43, 79, 2] Generated Node #0,2: 72:[43, 79, 2] Operation: 84-82=2 Moving to Node #0,2 Current State: 72:[43, 79, 2], Operations: ['84-82=2'] Exploring Operation: 79-2=77, Resulting Numbers: [43, 77] Generated Node #0,2,0: 72:[43, 77] Operation: 79-2=77 Exploring Operation: 43-2=41, Resulting Numbers: [79, 41] Generated Node #0,2,1: 72:[79, 41] Operation: 43-2=41 Exploring Operation: 79-43=36, Resulting Numbers: [2, 36] Generated Node #0,2,2: 72:[2, 36] Operation: 79-43=36 Moving to Node #0,1 Current State: 72:[82, 43, 5], Operations: ['84-79=5'] Exploring Operation: 43-5=38, Resulting Numbers: [82, 38] Generated Node #0,1,0: 72:[82, 38] Operation: 43-5=38 Exploring Operation: 82-43=39, Resulting Numbers: [5, 39] Generated Node #0,1,1: 72:[5, 39] Operation: 82-43=39 Exploring Operation: 82-5=77, Resulting Numbers: [43, 77] Generated Node #0,1,2: 72:[43, 77] Operation: 82-5=77 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[5, 39], Operations: ['84-79=5', '82-43=39'] Exploring Operation: 5*39=195, Resulting Numbers: [195] 195,72 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,72 unequal: No Solution No 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: 72:[82, 38], Operations: ['84-79=5', '43-5=38'] Exploring Operation: 82+38=120, Resulting Numbers: [120] 120,72 unequal: No Solution Exploring Operation: 82-38=44, Resulting Numbers: [44] 44,72 unequal: No Solution Exploring Operation: 82*38=3116, Resulting Numbers: [3116] 3116,72 unequal: No Solution No 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: 72:[43, 77], Operations: ['84-79=5', '82-5=77'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 43*77=3311, Resulting Numbers: [3311] 3311,72 unequal: No Solution Exploring Operation: 43+77=120, Resulting Numbers: [120] 120,72 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: 72:[43, 84, 3], Operations: ['82-79=3'] Exploring Operation: 43-3=40, Resulting Numbers: [84, 40] Generated Node #0,0,0: 72:[84, 40] Operation: 43-3=40 Exploring Operation: 84/3=28, Resulting Numbers: [43, 28] Generated Node #0,0,1: 72:[43, 28] Operation: 84/3=28 Exploring Operation: 84-43=41, Resulting Numbers: [3, 41] Generated Node #0,0,2: 72:[3, 41] Operation: 84-43=41 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[3, 41], Operations: ['82-79=3', '84-43=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,72 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,72 unequal: No Solution No 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: 72:[43, 28], Operations: ['82-79=3', '84/3=28'] Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,72 unequal: No Solution No 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: 72:[84, 40], Operations: ['82-79=3', '43-3=40'] Exploring Operation: 84*40=3360, Resulting Numbers: [3360] 3360,72 unequal: No Solution Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,72 unequal: No Solution Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,72 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: 72:[2, 36], Operations: ['84-82=2', '79-43=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[82, 43, 84, 79], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [43, 79, 2] Generated Node #0,2: 72:[43, 79, 2] Operation: 84-82=2 Moving to Node #0,2 Current State: 72:[43, 79, 2], Operations: ['84-82=2'] Exploring Operation: 79-43=36, Resulting Numbers: [2, 36] Generated Node #0,2,2: 72:[2, 36] Operation: 79-43=36 Moving to Node #0,2,2 Current State: 72:[2, 36], Operations: ['84-82=2', '79-43=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.967882
hs_3
mult_heuristic
[ 52, 72, 11, 96 ]
17
[ "52+72=124", "11+96=107", "124-107=17" ]
Current State: 17:[52, 72, 11, 96], Operations: [] Exploring Operation: 52+72=124, Resulting Numbers: [11, 96, 124] Generated Node #2: [11, 96, 124] from Operation: 52+72=124 Current State: 17:[11, 96, 124], Operations: ['52+72=124'] Exploring Operation: 11+96=107, Resulting Numbers: [124, 107] Generated Node #3: [124, 107] from Operation: 11+96=107 Current State: 17:[124, 107], Operations: ['52+72=124', '11+96=107'] Exploring Operation: 124-107=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[52, 72, 11, 96], Operations: [] Exploring Operation: 72-52=20, Resulting Numbers: [11, 96, 20] Generated Node #0,0: 17:[11, 96, 20] Operation: 72-52=20 Exploring Operation: 96-72=24, Resulting Numbers: [52, 11, 24] Generated Node #0,1: 17:[52, 11, 24] Operation: 96-72=24 Moving to Node #0,1 Current State: 17:[52, 11, 24], Operations: ['96-72=24'] Exploring Operation: 52-24=28, Resulting Numbers: [11, 28] Generated Node #0,1,0: 17:[11, 28] Operation: 52-24=28 Exploring Operation: 52-11=41, Resulting Numbers: [24, 41] Generated Node #0,1,1: 17:[24, 41] Operation: 52-11=41 Moving to Node #0,0 Current State: 17:[11, 96, 20], Operations: ['72-52=20'] Exploring Operation: 96-11=85, Resulting Numbers: [20, 85] Generated Node #0,0,0: 17:[20, 85] Operation: 96-11=85 Exploring Operation: 96-20=76, Resulting Numbers: [11, 76] Generated Node #0,0,1: 17:[11, 76] Operation: 96-20=76 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[11, 76], Operations: ['72-52=20', '96-20=76'] Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 11+76=87, Resulting Numbers: [87] 87,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[20, 85], Operations: ['72-52=20', '96-11=85'] Exploring Operation: 85-20=65, Resulting Numbers: [65] 65,17 unequal: No Solution Exploring Operation: 20+85=105, Resulting Numbers: [105] 105,17 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: 17:[11, 28], Operations: ['96-72=24', '52-24=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,17 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[52, 72, 11, 96], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [52, 11, 24] Generated Node #0,1: 17:[52, 11, 24] Operation: 96-72=24 Moving to Node #0,1 Current State: 17:[52, 11, 24], Operations: ['96-72=24'] Exploring Operation: 52-24=28, Resulting Numbers: [11, 28] Generated Node #0,1,0: 17:[11, 28] Operation: 52-24=28 Moving to Node #0,1,0 Current State: 17:[11, 28], Operations: ['96-72=24', '52-24=28'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 4, 3, 81, 41 ]
42
[ "4+81=85", "41+85=126", "126/3=42" ]
Current State: 42:[4, 3, 81, 41], Operations: [] Exploring Operation: 4+81=85, Resulting Numbers: [3, 41, 85] Generated Node #2: [3, 41, 85] from Operation: 4+81=85 Current State: 42:[3, 41, 85], Operations: ['4+81=85'] Exploring Operation: 41+85=126, Resulting Numbers: [3, 126] Generated Node #3: [3, 126] from Operation: 41+85=126 Current State: 42:[3, 126], Operations: ['4+81=85', '41+85=126'] Exploring Operation: 126/3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[4, 3, 81, 41], Operations: [] Exploring Operation: 81/3=27, Resulting Numbers: [4, 41, 27] Generated Node #0,0: 42:[4, 41, 27] Operation: 81/3=27 Exploring Operation: 81-4=77, Resulting Numbers: [3, 41, 77] Generated Node #0,1: 42:[3, 41, 77] Operation: 81-4=77 Exploring Operation: 81-41=40, Resulting Numbers: [4, 3, 40] Generated Node #0,2: 42:[4, 3, 40] Operation: 81-41=40 Moving to Node #0,2 Current State: 42:[4, 3, 40], Operations: ['81-41=40'] Exploring Operation: 4+40=44, Resulting Numbers: [3, 44] Generated Node #0,2,0: 42:[3, 44] Operation: 4+40=44 Exploring Operation: 3+40=43, Resulting Numbers: [4, 43] Generated Node #0,2,1: 42:[4, 43] Operation: 3+40=43 Exploring Operation: 4+3=7, Resulting Numbers: [40, 7] Generated Node #0,2,2: 42:[40, 7] Operation: 4+3=7 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[3, 44], Operations: ['81-41=40', '4+40=44'] Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[4, 43], Operations: ['81-41=40', '3+40=43'] Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,42 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[40, 7], Operations: ['81-41=40', '4+3=7'] Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,42 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,42 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: 42:[4, 41, 27], Operations: ['81/3=27'] Exploring Operation: 27-4=23, Resulting Numbers: [41, 23] Generated Node #0,0,0: 42:[41, 23] Operation: 27-4=23 Exploring Operation: 41-27=14, Resulting Numbers: [4, 14] Generated Node #0,0,1: 42:[4, 14] Operation: 41-27=14 Exploring Operation: 4+41=45, Resulting Numbers: [27, 45] Generated Node #0,0,2: 42:[27, 45] Operation: 4+41=45 Moving to Node #0,1 Current State: 42:[3, 41, 77], Operations: ['81-4=77'] Exploring Operation: 3+41=44, Resulting Numbers: [77, 44] Generated Node #0,1,0: 42:[77, 44] Operation: 3+41=44 Exploring Operation: 77-41=36, Resulting Numbers: [3, 36] Generated Node #0,1,1: 42:[3, 36] Operation: 77-41=36 Exploring Operation: 77-3=74, Resulting Numbers: [41, 74] Generated Node #0,1,2: 42:[41, 74] Operation: 77-3=74 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[3, 36], Operations: ['81-4=77', '77-41=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,42 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[41, 74], Operations: ['81-4=77', '77-3=74'] Exploring Operation: 41+74=115, Resulting Numbers: [115] 115,42 unequal: No Solution Exploring Operation: 41*74=3034, Resulting Numbers: [3034] 3034,42 unequal: No Solution Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[77, 44], Operations: ['81-4=77', '3+41=44'] Exploring Operation: 77+44=121, Resulting Numbers: [121] 121,42 unequal: No Solution Exploring Operation: 77*44=3388, Resulting Numbers: [3388] 3388,42 unequal: No Solution Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,42 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: 42:[4, 14], Operations: ['81/3=27', '41-27=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[41, 23], Operations: ['81/3=27', '27-4=23'] Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[27, 45], Operations: ['81/3=27', '4+41=45'] Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,42 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 82, 65, 79, 45 ]
17
[ "82-65=17", "79-45=34", "34-17=17" ]
Current State: 17:[82, 65, 79, 45], Operations: [] Exploring Operation: 82-65=17, Resulting Numbers: [79, 45, 17] Generated Node #2: [79, 45, 17] from Operation: 82-65=17 Current State: 17:[79, 45, 17], Operations: ['82-65=17'] Exploring Operation: 79-45=34, Resulting Numbers: [17, 34] Generated Node #3: [17, 34] from Operation: 79-45=34 Current State: 17:[17, 34], Operations: ['82-65=17', '79-45=34'] Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[82, 65, 79, 45], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [65, 45, 3] Generated Node #0,0: 17:[65, 45, 3] Operation: 82-79=3 Exploring Operation: 82-65=17, Resulting Numbers: [79, 45, 17] Generated Node #0,1: 17:[79, 45, 17] Operation: 82-65=17 Exploring Operation: 79-65=14, Resulting Numbers: [82, 45, 14] Generated Node #0,2: 17:[82, 45, 14] Operation: 79-65=14 Exploring Operation: 82-45=37, Resulting Numbers: [65, 79, 37] Generated Node #0,3: 17:[65, 79, 37] Operation: 82-45=37 Moving to Node #0,0 Current State: 17:[65, 45, 3], Operations: ['82-79=3'] Exploring Operation: 65-45=20, Resulting Numbers: [3, 20] Generated Node #0,0,0: 17:[3, 20] Operation: 65-45=20 Exploring Operation: 45-3=42, Resulting Numbers: [65, 42] Generated Node #0,0,1: 17:[65, 42] Operation: 45-3=42 Exploring Operation: 65-3=62, Resulting Numbers: [45, 62] Generated Node #0,0,2: 17:[45, 62] Operation: 65-3=62 Exploring Operation: 45/3=15, Resulting Numbers: [65, 15] Generated Node #0,0,3: 17:[65, 15] Operation: 45/3=15 Moving to Node #0,1 Current State: 17:[79, 45, 17], Operations: ['82-65=17'] Exploring Operation: 45-17=28, Resulting Numbers: [79, 28] Generated Node #0,1,0: 17:[79, 28] Operation: 45-17=28 Exploring Operation: 79-45=34, Resulting Numbers: [17, 34] Generated Node #0,1,1: 17:[17, 34] Operation: 79-45=34 Exploring Operation: 79+45=124, Resulting Numbers: [17, 124] Generated Node #0,1,2: 17:[17, 124] Operation: 79+45=124 Exploring Operation: 79-17=62, Resulting Numbers: [45, 62] Generated Node #0,1,3: 17:[45, 62] Operation: 79-17=62 Moving to Node #0,2 Current State: 17:[82, 45, 14], Operations: ['79-65=14'] Exploring Operation: 82-14=68, Resulting Numbers: [45, 68] Generated Node #0,2,0: 17:[45, 68] Operation: 82-14=68 Exploring Operation: 82+14=96, Resulting Numbers: [45, 96] Generated Node #0,2,1: 17:[45, 96] Operation: 82+14=96 Exploring Operation: 45-14=31, Resulting Numbers: [82, 31] Generated Node #0,2,2: 17:[82, 31] Operation: 45-14=31 Exploring Operation: 82-45=37, Resulting Numbers: [14, 37] Generated Node #0,2,3: 17:[14, 37] Operation: 82-45=37 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 17:[14, 37], Operations: ['79-65=14', '82-45=37'] Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,17 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[45, 68], Operations: ['79-65=14', '82-14=68'] Exploring Operation: 45*68=3060, Resulting Numbers: [3060] 3060,17 unequal: No Solution Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,17 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[82, 31], Operations: ['79-65=14', '45-14=31'] Exploring Operation: 82*31=2542, Resulting Numbers: [2542] 2542,17 unequal: No Solution Exploring Operation: 82+31=113, Resulting Numbers: [113] 113,17 unequal: No Solution Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 17:[45, 96], Operations: ['79-65=14', '82+14=96'] Exploring Operation: 45+96=141, Resulting Numbers: [141] 141,17 unequal: No Solution Exploring Operation: 45*96=4320, Resulting Numbers: [4320] 4320,17 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,17 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: 17:[65, 79, 37], Operations: ['82-45=37'] Exploring Operation: 79-65=14, Resulting Numbers: [37, 14] Generated Node #0,3,0: 17:[37, 14] Operation: 79-65=14 Exploring Operation: 65+79=144, Resulting Numbers: [37, 144] Generated Node #0,3,1: 17:[37, 144] Operation: 65+79=144 Exploring Operation: 79-37=42, Resulting Numbers: [65, 42] Generated Node #0,3,2: 17:[65, 42] Operation: 79-37=42 Exploring Operation: 65-37=28, Resulting Numbers: [79, 28] Generated Node #0,3,3: 17:[79, 28] Operation: 65-37=28 Moving to Node #0,0,0 Current State: 17:[3, 20], Operations: ['82-79=3', '65-45=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[82, 65, 79, 45], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [65, 45, 3] Generated Node #0,0: 17:[65, 45, 3] Operation: 82-79=3 Moving to Node #0,0 Current State: 17:[65, 45, 3], Operations: ['82-79=3'] Exploring Operation: 65-45=20, Resulting Numbers: [3, 20] Generated Node #0,0,0: 17:[3, 20] Operation: 65-45=20 Moving to Node #0,0,0 Current State: 17:[3, 20], Operations: ['82-79=3', '65-45=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.967882
hs_4
mult_heuristic
[ 26, 35, 2, 7 ]
34
[ "26+35=61", "7+61=68", "68/2=34" ]
Current State: 34:[26, 35, 2, 7], Operations: [] Exploring Operation: 26+35=61, Resulting Numbers: [2, 7, 61] Generated Node #2: [2, 7, 61] from Operation: 26+35=61 Current State: 34:[2, 7, 61], Operations: ['26+35=61'] Exploring Operation: 7+61=68, Resulting Numbers: [2, 68] Generated Node #3: [2, 68] from Operation: 7+61=68 Current State: 34:[2, 68], Operations: ['26+35=61', '7+61=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[26, 35, 2, 7], Operations: [] Exploring Operation: 26/2=13, Resulting Numbers: [35, 7, 13] Generated Node #0,0: 34:[35, 7, 13] Operation: 26/2=13 Exploring Operation: 26+7=33, Resulting Numbers: [35, 2, 33] Generated Node #0,1: 34:[35, 2, 33] Operation: 26+7=33 Exploring Operation: 26-7=19, Resulting Numbers: [35, 2, 19] Generated Node #0,2: 34:[35, 2, 19] Operation: 26-7=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[35, 2, 33], Operations: ['26+7=33'] Exploring Operation: 35-33=2, Resulting Numbers: [2, 2] Generated Node #0,1,0: 34:[2, 2] Operation: 35-33=2 Exploring Operation: 35-2=33, Resulting Numbers: [33, 33] Generated Node #0,1,1: 34:[33, 33] Operation: 35-2=33 Exploring Operation: 2+33=35, Resulting Numbers: [35, 35] Generated Node #0,1,2: 34:[35, 35] Operation: 2+33=35 Moving to Node #0,1,0 Current State: 34:[2, 2], Operations: ['26+7=33', '35-33=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[33, 33], Operations: ['26+7=33', '35-2=33'] Exploring Operation: 33/33=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 33-33=0, Resulting Numbers: [0] 0,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[35, 35], Operations: ['26+7=33', '2+33=35'] Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[35, 2, 19], Operations: ['26-7=19'] Exploring Operation: 35-19=16, Resulting Numbers: [2, 16] Generated Node #0,2,0: 34:[2, 16] Operation: 35-19=16 Exploring Operation: 19-2=17, Resulting Numbers: [35, 17] Generated Node #0,2,1: 34:[35, 17] Operation: 19-2=17 Exploring Operation: 35-2=33, Resulting Numbers: [19, 33] Generated Node #0,2,2: 34:[19, 33] Operation: 35-2=33 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 34:[2, 16], Operations: ['26-7=19', '35-19=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 34:[35, 17], Operations: ['26-7=19', '19-2=17'] Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 35*17=595, Resulting Numbers: [595] 595,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 34:[19, 33], Operations: ['26-7=19', '35-2=33'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,34 unequal: No Solution Exploring Operation: 19*33=627, Resulting Numbers: [627] 627,34 unequal: No Solution Exploring Operation: 19+33=52, Resulting Numbers: [52] 52,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[35, 7, 13], Operations: ['26/2=13'] Exploring Operation: 13-7=6, Resulting Numbers: [35, 6] Generated Node #0,0,0: 34:[35, 6] Operation: 13-7=6 Exploring Operation: 7+13=20, Resulting Numbers: [35, 20] Generated Node #0,0,1: 34:[35, 20] Operation: 7+13=20 Exploring Operation: 35/7=5, Resulting Numbers: [13, 5] Generated Node #0,0,2: 34:[13, 5] Operation: 35/7=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 34:[35, 20], Operations: ['26/2=13', '7+13=20'] Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,34 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[35, 6], Operations: ['26/2=13', '13-7=6'] Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,34 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 34:[13, 5], Operations: ['26/2=13', '35/7=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,34 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 91, 49, 49, 4 ]
88
[ "91-4=87", "49/49=1", "87+1=88" ]
Current State: 88:[91, 49, 49, 4], Operations: [] Exploring Operation: 91-4=87, Resulting Numbers: [49, 49, 87] Generated Node #2: [49, 49, 87] from Operation: 91-4=87 Current State: 88:[49, 49, 87], Operations: ['91-4=87'] Exploring Operation: 49/49=1, Resulting Numbers: [87, 1] Generated Node #3: [87, 1] from Operation: 49/49=1 Current State: 88:[87, 1], Operations: ['91-4=87', '49/49=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[91, 49, 49, 4], Operations: [] Exploring Operation: 49/49=1, Resulting Numbers: [91, 4, 1] Generated Node #0,0: 88:[91, 4, 1] Operation: 49/49=1 Moving to Node #0,0 Current State: 88:[91, 4, 1], Operations: ['49/49=1'] Exploring Operation: 91-4=87, Resulting Numbers: [1, 87] Generated Node #0,0,0: 88:[1, 87] Operation: 91-4=87 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[1, 87], Operations: ['49/49=1', '91-4=87'] Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[91, 49, 49, 4], Operations: [] Exploring Operation: 49/49=1, Resulting Numbers: [91, 4, 1] Generated Node #0,0: 88:[91, 4, 1] Operation: 49/49=1 Moving to Node #0,0 Current State: 88:[91, 4, 1], Operations: ['49/49=1'] Exploring Operation: 91-4=87, Resulting Numbers: [1, 87] Generated Node #0,0,0: 88:[1, 87] Operation: 91-4=87 Moving to Node #0,0,0 Current State: 88:[1, 87], Operations: ['49/49=1', '91-4=87'] Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 81, 25, 71, 98 ]
10
[ "81+71=152", "98+152=250", "250/25=10" ]
Current State: 10:[81, 25, 71, 98], Operations: [] Exploring Operation: 81+71=152, Resulting Numbers: [25, 98, 152] Generated Node #2: [25, 98, 152] from Operation: 81+71=152 Current State: 10:[25, 98, 152], Operations: ['81+71=152'] Exploring Operation: 98+152=250, Resulting Numbers: [25, 250] Generated Node #3: [25, 250] from Operation: 98+152=250 Current State: 10:[25, 250], Operations: ['81+71=152', '98+152=250'] Exploring Operation: 250/25=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[81, 25, 71, 98], Operations: [] Exploring Operation: 81-71=10, Resulting Numbers: [25, 98, 10] Generated Node #0,0: 10:[25, 98, 10] Operation: 81-71=10 Exploring Operation: 98-81=17, Resulting Numbers: [25, 71, 17] Generated Node #0,1: 10:[25, 71, 17] Operation: 98-81=17 Exploring Operation: 98-71=27, Resulting Numbers: [81, 25, 27] Generated Node #0,2: 10:[81, 25, 27] Operation: 98-71=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[25, 71, 17], Operations: ['98-81=17'] Exploring Operation: 25-17=8, Resulting Numbers: [71, 8] Generated Node #0,1,0: 10:[71, 8] Operation: 25-17=8 Exploring Operation: 71-25=46, Resulting Numbers: [17, 46] Generated Node #0,1,1: 10:[17, 46] Operation: 71-25=46 Exploring Operation: 71-17=54, Resulting Numbers: [25, 54] Generated Node #0,1,2: 10:[25, 54] Operation: 71-17=54 Moving to Node #0,1,1 Current State: 10:[17, 46], Operations: ['98-81=17', '71-25=46'] Exploring Operation: 17*46=782, Resulting Numbers: [782] 782,10 unequal: No Solution Exploring Operation: 17+46=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[25, 54], Operations: ['98-81=17', '71-17=54'] Exploring Operation: 25+54=79, Resulting Numbers: [79] 79,10 unequal: No Solution Exploring Operation: 25*54=1350, Resulting Numbers: [1350] 1350,10 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[71, 8], Operations: ['98-81=17', '25-17=8'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,10 unequal: No Solution Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[25, 98, 10], Operations: ['81-71=10'] Exploring Operation: 25-10=15, Resulting Numbers: [98, 15] Generated Node #0,0,0: 10:[98, 15] Operation: 25-10=15 Exploring Operation: 98-10=88, Resulting Numbers: [25, 88] Generated Node #0,0,1: 10:[25, 88] Operation: 98-10=88 Exploring Operation: 98-25=73, Resulting Numbers: [10, 73] Generated Node #0,0,2: 10:[10, 73] Operation: 98-25=73 Moving to Node #0,0,2 Current State: 10:[10, 73], Operations: ['81-71=10', '98-25=73'] Exploring Operation: 10*73=730, Resulting Numbers: [730] 730,10 unequal: No Solution Exploring Operation: 10+73=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[98, 15], Operations: ['81-71=10', '25-10=15'] Exploring Operation: 98-15=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 98*15=1470, Resulting Numbers: [1470] 1470,10 unequal: No Solution Exploring Operation: 98+15=113, Resulting Numbers: [113] 113,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[25, 88], Operations: ['81-71=10', '98-10=88'] Exploring Operation: 25*88=2200, Resulting Numbers: [2200] 2200,10 unequal: No Solution Exploring Operation: 88-25=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 25+88=113, Resulting Numbers: [113] 113,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 Current State: 10:[81, 25, 27], Operations: ['98-71=27'] Exploring Operation: 81/27=3, Resulting Numbers: [25, 3] Generated Node #0,2,0: 10:[25, 3] Operation: 81/27=3 Exploring Operation: 81-25=56, Resulting Numbers: [27, 56] Generated Node #0,2,1: 10:[27, 56] Operation: 81-25=56 Exploring Operation: 81-27=54, Resulting Numbers: [25, 54] Generated Node #0,2,2: 10:[25, 54] Operation: 81-27=54 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[25, 3], Operations: ['98-71=27', '81/27=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,10 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,10 unequal: No Solution Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,10 unequal: No Solution No 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: 10:[25, 54], Operations: ['98-71=27', '81-27=54'] Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 25+54=79, Resulting Numbers: [79] 79,10 unequal: No Solution Exploring Operation: 25*54=1350, Resulting Numbers: [1350] 1350,10 unequal: No Solution No 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: 10:[27, 56], Operations: ['98-71=27', '81-25=56'] Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 27*56=1512, Resulting Numbers: [1512] 1512,10 unequal: No Solution Exploring Operation: 27+56=83, Resulting Numbers: [83] 83,10 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
[ 96, 8, 50, 92 ]
62
[ "96+8=104", "92-50=42", "104-42=62" ]
Current State: 62:[96, 8, 50, 92], Operations: [] Exploring Operation: 96+8=104, Resulting Numbers: [50, 92, 104] Generated Node #2: [50, 92, 104] from Operation: 96+8=104 Current State: 62:[50, 92, 104], Operations: ['96+8=104'] Exploring Operation: 92-50=42, Resulting Numbers: [104, 42] Generated Node #3: [104, 42] from Operation: 92-50=42 Current State: 62:[104, 42], Operations: ['96+8=104', '92-50=42'] Exploring Operation: 104-42=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[96, 8, 50, 92], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [8, 50, 4] Generated Node #0,0: 62:[8, 50, 4] Operation: 96-92=4 Exploring Operation: 96/8=12, Resulting Numbers: [50, 92, 12] Generated Node #0,1: 62:[50, 92, 12] Operation: 96/8=12 Exploring Operation: 96-50=46, Resulting Numbers: [8, 92, 46] Generated Node #0,2: 62:[8, 92, 46] Operation: 96-50=46 Exploring Operation: 92-50=42, Resulting Numbers: [96, 8, 42] Generated Node #0,3: 62:[96, 8, 42] Operation: 92-50=42 Moving to Node #0,0 Current State: 62:[8, 50, 4], Operations: ['96-92=4'] Exploring Operation: 8/4=2, Resulting Numbers: [50, 2] Generated Node #0,0,0: 62:[50, 2] Operation: 8/4=2 Exploring Operation: 8+50=58, Resulting Numbers: [4, 58] Generated Node #0,0,1: 62:[4, 58] Operation: 8+50=58 Exploring Operation: 50-8=42, Resulting Numbers: [4, 42] Generated Node #0,0,2: 62:[4, 42] Operation: 50-8=42 Exploring Operation: 8*4=32, Resulting Numbers: [50, 32] Generated Node #0,0,3: 62:[50, 32] Operation: 8*4=32 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[4, 58], Operations: ['96-92=4', '8+50=58'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,62 unequal: No Solution Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[96, 8, 50, 92], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [8, 50, 4] Generated Node #0,0: 62:[8, 50, 4] Operation: 96-92=4 Moving to Node #0,0 Current State: 62:[8, 50, 4], Operations: ['96-92=4'] Exploring Operation: 8+50=58, Resulting Numbers: [4, 58] Generated Node #0,0,1: 62:[4, 58] Operation: 8+50=58 Moving to Node #0,0,1 Current State: 62:[4, 58], Operations: ['96-92=4', '8+50=58'] Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 22, 2, 41, 57 ]
71
[ "41+57=98", "98/2=49", "22+49=71" ]
Current State: 71:[22, 2, 41, 57], Operations: [] Exploring Operation: 41+57=98, Resulting Numbers: [22, 2, 98] Generated Node #2: [22, 2, 98] from Operation: 41+57=98 Current State: 71:[22, 2, 98], Operations: ['41+57=98'] Exploring Operation: 98/2=49, Resulting Numbers: [22, 49] Generated Node #3: [22, 49] from Operation: 98/2=49 Current State: 71:[22, 49], Operations: ['41+57=98', '98/2=49'] Exploring Operation: 22+49=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[22, 2, 41, 57], Operations: [] Exploring Operation: 22*2=44, Resulting Numbers: [41, 57, 44] Generated Node #0,0: 71:[41, 57, 44] Operation: 22*2=44 Moving to Node #0,0 Current State: 71:[41, 57, 44], Operations: ['22*2=44'] Exploring Operation: 41+44=85, Resulting Numbers: [57, 85] Generated Node #0,0,0: 71:[57, 85] Operation: 41+44=85 Moving to Node #0,0,0 Current State: 71:[57, 85], Operations: ['22*2=44', '41+44=85'] Exploring Operation: 85-57=28, Resulting Numbers: [28] 28,71 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 72, 74, 79, 52 ]
53
[ "74-72=2", "52/2=26", "79-26=53" ]
Current State: 53:[72, 74, 79, 52], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [79, 52, 2] Generated Node #2: [79, 52, 2] from Operation: 74-72=2 Current State: 53:[79, 52, 2], Operations: ['74-72=2'] Exploring Operation: 52/2=26, Resulting Numbers: [79, 26] Generated Node #3: [79, 26] from Operation: 52/2=26 Current State: 53:[79, 26], Operations: ['74-72=2', '52/2=26'] Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[72, 74, 79, 52], Operations: [] Exploring Operation: 74-52=22, Resulting Numbers: [72, 79, 22] Generated Node #0,0: 53:[72, 79, 22] Operation: 74-52=22 Exploring Operation: 79-72=7, Resulting Numbers: [74, 52, 7] Generated Node #0,1: 53:[74, 52, 7] Operation: 79-72=7 Exploring Operation: 79-52=27, Resulting Numbers: [72, 74, 27] Generated Node #0,2: 53:[72, 74, 27] Operation: 79-52=27 Exploring Operation: 79-74=5, Resulting Numbers: [72, 52, 5] Generated Node #0,3: 53:[72, 52, 5] Operation: 79-74=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[72, 74, 27], Operations: ['79-52=27'] Exploring Operation: 74-27=47, Resulting Numbers: [72, 47] Generated Node #0,2,0: 53:[72, 47] Operation: 74-27=47 Exploring Operation: 74+27=101, Resulting Numbers: [72, 101] Generated Node #0,2,1: 53:[72, 101] Operation: 74+27=101 Exploring Operation: 72-27=45, Resulting Numbers: [74, 45] Generated Node #0,2,2: 53:[74, 45] Operation: 72-27=45 Exploring Operation: 72+27=99, Resulting Numbers: [74, 99] Generated Node #0,2,3: 53:[74, 99] Operation: 72+27=99 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[72, 47], Operations: ['79-52=27', '74-27=47'] Exploring Operation: 72+47=119, Resulting Numbers: [119] 119,53 unequal: No Solution Exploring Operation: 72*47=3384, Resulting Numbers: [3384] 3384,53 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 53:[74, 45], Operations: ['79-52=27', '72-27=45'] Exploring Operation: 74+45=119, Resulting Numbers: [119] 119,53 unequal: No Solution Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 74*45=3330, Resulting Numbers: [3330] 3330,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[72, 101], Operations: ['79-52=27', '74+27=101'] Exploring Operation: 101-72=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 72+101=173, Resulting Numbers: [173] 173,53 unequal: No Solution Exploring Operation: 72*101=7272, Resulting Numbers: [7272] 7272,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 53:[74, 99], Operations: ['79-52=27', '72+27=99'] Exploring Operation: 74+99=173, Resulting Numbers: [173] 173,53 unequal: No Solution Exploring Operation: 99-74=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 74*99=7326, Resulting Numbers: [7326] 7326,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[74, 52, 7], Operations: ['79-72=7'] Exploring Operation: 74+7=81, Resulting Numbers: [52, 81] Generated Node #0,1,0: 53:[52, 81] Operation: 74+7=81 Exploring Operation: 52+7=59, Resulting Numbers: [74, 59] Generated Node #0,1,1: 53:[74, 59] Operation: 52+7=59 Exploring Operation: 52-7=45, Resulting Numbers: [74, 45] Generated Node #0,1,2: 53:[74, 45] Operation: 52-7=45 Exploring Operation: 74-7=67, Resulting Numbers: [52, 67] Generated Node #0,1,3: 53:[52, 67] Operation: 74-7=67 Moving to Node #0,1,3 Current State: 53:[52, 67], Operations: ['79-72=7', '74-7=67'] Exploring Operation: 52*67=3484, Resulting Numbers: [3484] 3484,53 unequal: No Solution Exploring Operation: 67-52=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 52+67=119, Resulting Numbers: [119] 119,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[74, 59], Operations: ['79-72=7', '52+7=59'] Exploring Operation: 74+59=133, Resulting Numbers: [133] 133,53 unequal: No Solution Exploring Operation: 74-59=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 74*59=4366, Resulting Numbers: [4366] 4366,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[74, 45], Operations: ['79-72=7', '52-7=45'] Exploring Operation: 74+45=119, Resulting Numbers: [119] 119,53 unequal: No Solution Exploring Operation: 74*45=3330, Resulting Numbers: [3330] 3330,53 unequal: No Solution Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[52, 81], Operations: ['79-72=7', '74+7=81'] Exploring Operation: 81-52=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 52*81=4212, Resulting Numbers: [4212] 4212,53 unequal: No Solution Exploring Operation: 52+81=133, Resulting Numbers: [133] 133,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 Current State: 53:[72, 52, 5], Operations: ['79-74=5'] Exploring Operation: 52-5=47, Resulting Numbers: [72, 47] Generated Node #0,3,0: 53:[72, 47] Operation: 52-5=47 Exploring Operation: 52+5=57, Resulting Numbers: [72, 57] Generated Node #0,3,1: 53:[72, 57] Operation: 52+5=57 Exploring Operation: 72-5=67, Resulting Numbers: [52, 67] Generated Node #0,3,2: 53:[52, 67] Operation: 72-5=67 Exploring Operation: 72+5=77, Resulting Numbers: [52, 77] Generated Node #0,3,3: 53:[52, 77] Operation: 72+5=77 Moving to Node #0,3,2 Current State: 53:[52, 67], Operations: ['79-74=5', '72-5=67'] Exploring Operation: 52+67=119, Resulting Numbers: [119] 119,53 unequal: No Solution Exploring Operation: 52*67=3484, Resulting Numbers: [3484] 3484,53 unequal: No Solution Exploring Operation: 67-52=15, Resulting Numbers: [15] 15,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[72, 57], Operations: ['79-74=5', '52+5=57'] Exploring Operation: 72+57=129, Resulting Numbers: [129] 129,53 unequal: No Solution Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 72*57=4104, Resulting Numbers: [4104] 4104,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[52, 77], Operations: ['79-74=5', '72+5=77'] Exploring Operation: 52*77=4004, Resulting Numbers: [4004] 4004,53 unequal: No Solution Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 52+77=129, Resulting Numbers: [129] 129,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[72, 47], Operations: ['79-74=5', '52-5=47'] Exploring Operation: 72+47=119, Resulting Numbers: [119] 119,53 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 72*47=3384, Resulting Numbers: [3384] 3384,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,0 Current State: 53:[72, 79, 22], Operations: ['74-52=22'] Exploring Operation: 79-22=57, Resulting Numbers: [72, 57] Generated Node #0,0,0: 53:[72, 57] Operation: 79-22=57 Exploring Operation: 79+22=101, Resulting Numbers: [72, 101] Generated Node #0,0,1: 53:[72, 101] Operation: 79+22=101 Exploring Operation: 72+22=94, Resulting Numbers: [79, 94] Generated Node #0,0,2: 53:[79, 94] Operation: 72+22=94 Exploring Operation: 72-22=50, Resulting Numbers: [79, 50] Generated Node #0,0,3: 53:[79, 50] Operation: 72-22=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[72, 57], Operations: ['74-52=22', '79-22=57'] Exploring Operation: 72+57=129, Resulting Numbers: [129] 129,53 unequal: No Solution Exploring Operation: 72*57=4104, Resulting Numbers: [4104] 4104,53 unequal: No Solution Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 53:[79, 50], Operations: ['74-52=22', '72-22=50'] Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 79*50=3950, Resulting Numbers: [3950] 3950,53 unequal: No Solution Exploring Operation: 79+50=129, Resulting Numbers: [129] 129,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[72, 101], Operations: ['74-52=22', '79+22=101'] Exploring Operation: 72*101=7272, Resulting Numbers: [7272] 7272,53 unequal: No Solution Exploring Operation: 72+101=173, Resulting Numbers: [173] 173,53 unequal: No Solution Exploring Operation: 101-72=29, Resulting Numbers: [29] 29,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[79, 94], Operations: ['74-52=22', '72+22=94'] Exploring Operation: 79+94=173, Resulting Numbers: [173] 173,53 unequal: No Solution Exploring Operation: 94-79=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 79*94=7426, Resulting Numbers: [7426] 7426,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 1, 13, 4, 51 ]
99
[ "13-1=12", "4*12=48", "51+48=99" ]
Current State: 99:[1, 13, 4, 51], Operations: [] Exploring Operation: 13-1=12, Resulting Numbers: [4, 51, 12] Generated Node #2: [4, 51, 12] from Operation: 13-1=12 Current State: 99:[4, 51, 12], Operations: ['13-1=12'] Exploring Operation: 4*12=48, Resulting Numbers: [51, 48] Generated Node #3: [51, 48] from Operation: 4*12=48 Current State: 99:[51, 48], Operations: ['13-1=12', '4*12=48'] Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[1, 13, 4, 51], Operations: [] Exploring Operation: 13-1=12, Resulting Numbers: [4, 51, 12] Generated Node #0,0: 99:[4, 51, 12] Operation: 13-1=12 Exploring Operation: 4-1=3, Resulting Numbers: [13, 51, 3] Generated Node #0,1: 99:[13, 51, 3] Operation: 4-1=3 Exploring Operation: 51-4=47, Resulting Numbers: [1, 13, 47] Generated Node #0,2: 99:[1, 13, 47] Operation: 51-4=47 Exploring Operation: 51-13=38, Resulting Numbers: [1, 4, 38] Generated Node #0,3: 99:[1, 4, 38] Operation: 51-13=38 Exploring Operation: 51-1=50, Resulting Numbers: [13, 4, 50] Generated Node #0,4: 99:[13, 4, 50] Operation: 51-1=50 Moving to Node #0,3 Current State: 99:[1, 4, 38], Operations: ['51-13=38'] Exploring Operation: 38-1=37, Resulting Numbers: [4, 37] Generated Node #0,3,0: 99:[4, 37] Operation: 38-1=37 Exploring Operation: 4-1=3, Resulting Numbers: [38, 3] Generated Node #0,3,1: 99:[38, 3] Operation: 4-1=3 Exploring Operation: 4/1=4, Resulting Numbers: [38, 4] Generated Node #0,3,2: 99:[38, 4] Operation: 4/1=4 Exploring Operation: 38-4=34, Resulting Numbers: [1, 34] Generated Node #0,3,3: 99:[1, 34] Operation: 38-4=34 Exploring Operation: 1*4=4, Resulting Numbers: [38, 4] Generated Node #0,3,4: 99:[38, 4] Operation: 1*4=4 Moving to Node #0,2 Current State: 99:[1, 13, 47], Operations: ['51-4=47'] Exploring Operation: 47-1=46, Resulting Numbers: [13, 46] Generated Node #0,2,0: 99:[13, 46] Operation: 47-1=46 Exploring Operation: 13-1=12, Resulting Numbers: [47, 12] Generated Node #0,2,1: 99:[47, 12] Operation: 13-1=12 Exploring Operation: 1*13=13, Resulting Numbers: [47, 13] Generated Node #0,2,2: 99:[47, 13] Operation: 1*13=13 Exploring Operation: 47-13=34, Resulting Numbers: [1, 34] Generated Node #0,2,3: 99:[1, 34] Operation: 47-13=34 Exploring Operation: 13/1=13, Resulting Numbers: [47, 13] Generated Node #0,2,4: 99:[47, 13] Operation: 13/1=13 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 99:[1, 34], Operations: ['51-4=47', '47-13=34'] Exploring Operation: 1+34=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[13, 46], Operations: ['51-4=47', '47-1=46'] Exploring Operation: 13*46=598, Resulting Numbers: [598] 598,99 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 13+46=59, Resulting Numbers: [59] 59,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[47, 12], Operations: ['51-4=47', '13-1=12'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 47*12=564, Resulting Numbers: [564] 564,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 99:[47, 13], Operations: ['51-4=47', '1*13=13'] Exploring Operation: 47*13=611, Resulting Numbers: [611] 611,99 unequal: No Solution Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,99 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 99:[47, 13], Operations: ['51-4=47', '13/1=13'] Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,99 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 47*13=611, Resulting Numbers: [611] 611,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 99:[4, 51, 12], Operations: ['13-1=12'] Exploring Operation: 12-4=8, Resulting Numbers: [51, 8] Generated Node #0,0,0: 99:[51, 8] Operation: 12-4=8 Exploring Operation: 51-4=47, Resulting Numbers: [12, 47] Generated Node #0,0,1: 99:[12, 47] Operation: 51-4=47 Exploring Operation: 51-12=39, Resulting Numbers: [4, 39] Generated Node #0,0,2: 99:[4, 39] Operation: 51-12=39 Exploring Operation: 4+51=55, Resulting Numbers: [12, 55] Generated Node #0,0,3: 99:[12, 55] Operation: 4+51=55 Exploring Operation: 12/4=3, Resulting Numbers: [51, 3] Generated Node #0,0,4: 99:[51, 3] Operation: 12/4=3 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 99:[4, 39], Operations: ['13-1=12', '51-12=39'] Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,99 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,99 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[12, 47], Operations: ['13-1=12', '51-4=47'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 12+47=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 12*47=564, Resulting Numbers: [564] 564,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 99:[51, 3], Operations: ['13-1=12', '12/4=3'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,99 unequal: No Solution Exploring Operation: 51*3=153, Resulting Numbers: [153] 153,99 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[51, 8], Operations: ['13-1=12', '12-4=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,99 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 99:[12, 55], Operations: ['13-1=12', '4+51=55'] Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,99 unequal: No Solution Exploring Operation: 12*55=660, Resulting Numbers: [660] 660,99 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,99 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: 99:[13, 51, 3], Operations: ['4-1=3'] Exploring Operation: 13-3=10, Resulting Numbers: [51, 10] Generated Node #0,1,0: 99:[51, 10] Operation: 13-3=10 Exploring Operation: 13+3=16, Resulting Numbers: [51, 16] Generated Node #0,1,1: 99:[51, 16] Operation: 13+3=16 Exploring Operation: 51-13=38, Resulting Numbers: [3, 38] Generated Node #0,1,2: 99:[3, 38] Operation: 51-13=38 Exploring Operation: 51/3=17, Resulting Numbers: [13, 17] Generated Node #0,1,3: 99:[13, 17] Operation: 51/3=17 Exploring Operation: 51-3=48, Resulting Numbers: [13, 48] Generated Node #0,1,4: 99:[13, 48] Operation: 51-3=48 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 99:[3, 38], Operations: ['4-1=3', '51-13=38'] Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,99 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,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,3 Current State: 99:[13, 17], Operations: ['4-1=3', '51/3=17'] Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,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,4 Current State: 99:[13, 48], Operations: ['4-1=3', '51-3=48'] Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 13*48=624, Resulting Numbers: [624] 624,99 unequal: No Solution Exploring Operation: 13+48=61, Resulting Numbers: [61] 61,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,0 Current State: 99:[51, 10], Operations: ['4-1=3', '13-3=10'] Exploring Operation: 51*10=510, Resulting Numbers: [510] 510,99 unequal: No Solution Exploring Operation: 51+10=61, Resulting Numbers: [61] 61,99 unequal: No Solution Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,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,1 Current State: 99:[51, 16], Operations: ['4-1=3', '13+3=16'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 51*16=816, Resulting Numbers: [816] 816,99 unequal: No Solution Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,99 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: 99:[13, 4, 50], Operations: ['51-1=50'] Exploring Operation: 13-4=9, Resulting Numbers: [50, 9] Generated Node #0,4,0: 99:[50, 9] Operation: 13-4=9 Exploring Operation: 4+50=54, Resulting Numbers: [13, 54] Generated Node #0,4,1: 99:[13, 54] Operation: 4+50=54 Exploring Operation: 13+4=17, Resulting Numbers: [50, 17] Generated Node #0,4,2: 99:[50, 17] Operation: 13+4=17 Exploring Operation: 50-4=46, Resulting Numbers: [13, 46] Generated Node #0,4,3: 99:[13, 46] Operation: 50-4=46 Exploring Operation: 50-13=37, Resulting Numbers: [4, 37] Generated Node #0,4,4: 99:[4, 37] Operation: 50-13=37 Moving to Node #0,3,3 Current State: 99:[1, 34], Operations: ['51-13=38', '38-4=34'] Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 1+34=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,99 unequal: No Solution Moving to Node #0,3,1 Current State: 99:[38, 3], Operations: ['51-13=38', '4-1=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,99 unequal: No Solution Moving to Node #0,4,4 Current State: 99:[4, 37], Operations: ['51-1=50', '50-13=37'] Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,99 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,99 unequal: No Solution Moving to Node #0,3,0 Current State: 99:[4, 37], Operations: ['51-13=38', '38-1=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,99 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,99 unequal: No Solution Moving to Node #0,3,4 Current State: 99:[38, 4], Operations: ['51-13=38', '1*4=4'] Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,99 unequal: No Solution Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,99 unequal: No Solution Moving to Node #0,3,2 Current State: 99:[38, 4], Operations: ['51-13=38', '4/1=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,99 unequal: No Solution Moving to Node #0,4,3 Current State: 99:[13, 46], Operations: ['51-1=50', '50-4=46'] Exploring Operation: 13+46=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 13*46=598, Resulting Numbers: [598] 598,99 unequal: No Solution Moving to Node #0,4,0 Current State: 99:[50, 9], Operations: ['51-1=50', '13-4=9'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,99 unequal: No Solution Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,99 unequal: No Solution Moving to Node #0,4,1 Current State: 99:[13, 54], Operations: ['51-1=50', '4+50=54'] Exploring Operation: 13+54=67, Resulting Numbers: [67] 67,99 unequal: No Solution Exploring Operation: 13*54=702, Resulting Numbers: [702] 702,99 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,99 unequal: No Solution Moving to Node #0,4,2 Current State: 99:[50, 17], Operations: ['51-1=50', '13+4=17'] Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 50*17=850, Resulting Numbers: [850] 850,99 unequal: No Solution Exploring Operation: 50+17=67, Resulting Numbers: [67] 67,99 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 59, 31, 4, 67 ]
33
[ "67-59=8", "8/4=2", "31+2=33" ]
Current State: 33:[59, 31, 4, 67], Operations: [] Exploring Operation: 67-59=8, Resulting Numbers: [31, 4, 8] Generated Node #2: [31, 4, 8] from Operation: 67-59=8 Current State: 33:[31, 4, 8], Operations: ['67-59=8'] Exploring Operation: 8/4=2, Resulting Numbers: [31, 2] Generated Node #3: [31, 2] from Operation: 8/4=2 Current State: 33:[31, 2], Operations: ['67-59=8', '8/4=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[59, 31, 4, 67], Operations: [] Exploring Operation: 67-4=63, Resulting Numbers: [59, 31, 63] Generated Node #0,0: 33:[59, 31, 63] Operation: 67-4=63 Exploring Operation: 67-31=36, Resulting Numbers: [59, 4, 36] Generated Node #0,1: 33:[59, 4, 36] Operation: 67-31=36 Exploring Operation: 59-4=55, Resulting Numbers: [31, 67, 55] Generated Node #0,2: 33:[31, 67, 55] Operation: 59-4=55 Exploring Operation: 67-59=8, Resulting Numbers: [31, 4, 8] Generated Node #0,3: 33:[31, 4, 8] Operation: 67-59=8 Exploring Operation: 59-31=28, Resulting Numbers: [4, 67, 28] Generated Node #0,4: 33:[4, 67, 28] Operation: 59-31=28 Moving to Node #0,3 Current State: 33:[31, 4, 8], Operations: ['67-59=8'] Exploring Operation: 31+4=35, Resulting Numbers: [8, 35] Generated Node #0,3,0: 33:[8, 35] Operation: 31+4=35 Exploring Operation: 8/4=2, Resulting Numbers: [31, 2] Generated Node #0,3,1: 33:[31, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [31, 4] Generated Node #0,3,2: 33:[31, 4] Operation: 8-4=4 Exploring Operation: 4+8=12, Resulting Numbers: [31, 12] Generated Node #0,3,3: 33:[31, 12] Operation: 4+8=12 Exploring Operation: 4*8=32, Resulting Numbers: [31, 32] Generated Node #0,3,4: 33:[31, 32] Operation: 4*8=32 Moving to Node #0,1 Current State: 33:[59, 4, 36], Operations: ['67-31=36'] Exploring Operation: 36-4=32, Resulting Numbers: [59, 32] Generated Node #0,1,0: 33:[59, 32] Operation: 36-4=32 Exploring Operation: 59+4=63, Resulting Numbers: [36, 63] Generated Node #0,1,1: 33:[36, 63] Operation: 59+4=63 Exploring Operation: 59-4=55, Resulting Numbers: [36, 55] Generated Node #0,1,2: 33:[36, 55] Operation: 59-4=55 Exploring Operation: 36/4=9, Resulting Numbers: [59, 9] Generated Node #0,1,3: 33:[59, 9] Operation: 36/4=9 Exploring Operation: 59-36=23, Resulting Numbers: [4, 23] Generated Node #0,1,4: 33:[4, 23] Operation: 59-36=23 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 33:[4, 23], Operations: ['67-31=36', '59-36=23'] Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,33 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[36, 55], Operations: ['67-31=36', '59-4=55'] Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 36*55=1980, Resulting Numbers: [1980] 1980,33 unequal: No Solution Exploring Operation: 36+55=91, Resulting Numbers: [91] 91,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[59, 32], Operations: ['67-31=36', '36-4=32'] Exploring Operation: 59*32=1888, Resulting Numbers: [1888] 1888,33 unequal: No Solution Exploring Operation: 59+32=91, Resulting Numbers: [91] 91,33 unequal: No Solution Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 33:[59, 9], Operations: ['67-31=36', '36/4=9'] Exploring Operation: 59*9=531, Resulting Numbers: [531] 531,33 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,33 unequal: No Solution Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[36, 63], Operations: ['67-31=36', '59+4=63'] Exploring Operation: 63-36=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 36*63=2268, Resulting Numbers: [2268] 2268,33 unequal: No Solution Exploring Operation: 36+63=99, Resulting Numbers: [99] 99,33 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: 33:[4, 67, 28], Operations: ['59-31=28'] Exploring Operation: 28/4=7, Resulting Numbers: [67, 7] Generated Node #0,4,0: 33:[67, 7] Operation: 28/4=7 Exploring Operation: 67-28=39, Resulting Numbers: [4, 39] Generated Node #0,4,1: 33:[4, 39] Operation: 67-28=39 Exploring Operation: 4+67=71, Resulting Numbers: [28, 71] Generated Node #0,4,2: 33:[28, 71] Operation: 4+67=71 Exploring Operation: 67-4=63, Resulting Numbers: [28, 63] Generated Node #0,4,3: 33:[28, 63] Operation: 67-4=63 Exploring Operation: 4+28=32, Resulting Numbers: [67, 32] Generated Node #0,4,4: 33:[67, 32] Operation: 4+28=32 Moving to Node #0,0 Current State: 33:[59, 31, 63], Operations: ['67-4=63'] Exploring Operation: 63-59=4, Resulting Numbers: [31, 4] Generated Node #0,0,0: 33:[31, 4] Operation: 63-59=4 Exploring Operation: 63-31=32, Resulting Numbers: [59, 32] Generated Node #0,0,1: 33:[59, 32] Operation: 63-31=32 Exploring Operation: 31+63=94, Resulting Numbers: [59, 94] Generated Node #0,0,2: 33:[59, 94] Operation: 31+63=94 Exploring Operation: 59-31=28, Resulting Numbers: [63, 28] Generated Node #0,0,3: 33:[63, 28] Operation: 59-31=28 Exploring Operation: 59+31=90, Resulting Numbers: [63, 90] Generated Node #0,0,4: 33:[63, 90] Operation: 59+31=90 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[31, 4], Operations: ['67-4=63', '63-59=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[59, 32], Operations: ['67-4=63', '63-31=32'] Exploring Operation: 59*32=1888, Resulting Numbers: [1888] 1888,33 unequal: No Solution Exploring Operation: 59+32=91, Resulting Numbers: [91] 91,33 unequal: No Solution Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 33:[63, 28], Operations: ['67-4=63', '59-31=28'] Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 63+28=91, Resulting Numbers: [91] 91,33 unequal: No Solution Exploring Operation: 63*28=1764, Resulting Numbers: [1764] 1764,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[59, 94], Operations: ['67-4=63', '31+63=94'] Exploring Operation: 59*94=5546, Resulting Numbers: [5546] 5546,33 unequal: No Solution Exploring Operation: 59+94=153, Resulting Numbers: [153] 153,33 unequal: No Solution Exploring Operation: 94-59=35, Resulting Numbers: [35] 35,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 33:[63, 90], Operations: ['67-4=63', '59+31=90'] Exploring Operation: 63+90=153, Resulting Numbers: [153] 153,33 unequal: No Solution Exploring Operation: 90-63=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 63*90=5670, Resulting Numbers: [5670] 5670,33 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: 33:[31, 67, 55], Operations: ['59-4=55'] Exploring Operation: 67-31=36, Resulting Numbers: [55, 36] Generated Node #0,2,0: 33:[55, 36] Operation: 67-31=36 Exploring Operation: 55-31=24, Resulting Numbers: [67, 24] Generated Node #0,2,1: 33:[67, 24] Operation: 55-31=24 Exploring Operation: 31+67=98, Resulting Numbers: [55, 98] Generated Node #0,2,2: 33:[55, 98] Operation: 31+67=98 Exploring Operation: 31+55=86, Resulting Numbers: [67, 86] Generated Node #0,2,3: 33:[67, 86] Operation: 31+55=86 Exploring Operation: 67-55=12, Resulting Numbers: [31, 12] Generated Node #0,2,4: 33:[31, 12] Operation: 67-55=12 Moving to Node #0,3,1 Current State: 33:[31, 2], Operations: ['67-59=8', '8/4=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[59, 31, 4, 67], Operations: [] Exploring Operation: 67-59=8, Resulting Numbers: [31, 4, 8] Generated Node #0,3: 33:[31, 4, 8] Operation: 67-59=8 Moving to Node #0,3 Current State: 33:[31, 4, 8], Operations: ['67-59=8'] Exploring Operation: 8/4=2, Resulting Numbers: [31, 2] Generated Node #0,3,1: 33:[31, 2] Operation: 8/4=2 Moving to Node #0,3,1 Current State: 33:[31, 2], Operations: ['67-59=8', '8/4=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.943576
hs_5
mult_heuristic
[ 28, 17, 90, 34 ]
45
[ "28-17=11", "90-34=56", "56-11=45" ]
Current State: 45:[28, 17, 90, 34], Operations: [] Exploring Operation: 28-17=11, Resulting Numbers: [90, 34, 11] Generated Node #2: [90, 34, 11] from Operation: 28-17=11 Current State: 45:[90, 34, 11], Operations: ['28-17=11'] Exploring Operation: 90-34=56, Resulting Numbers: [11, 56] Generated Node #3: [11, 56] from Operation: 90-34=56 Current State: 45:[11, 56], Operations: ['28-17=11', '90-34=56'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[28, 17, 90, 34], Operations: [] Exploring Operation: 90-17=73, Resulting Numbers: [28, 34, 73] Generated Node #0,0: 45:[28, 34, 73] Operation: 90-17=73 Exploring Operation: 34-28=6, Resulting Numbers: [17, 90, 6] Generated Node #0,1: 45:[17, 90, 6] Operation: 34-28=6 Exploring Operation: 90-34=56, Resulting Numbers: [28, 17, 56] Generated Node #0,2: 45:[28, 17, 56] Operation: 90-34=56 Exploring Operation: 90-28=62, Resulting Numbers: [17, 34, 62] Generated Node #0,3: 45:[17, 34, 62] Operation: 90-28=62 Exploring Operation: 28+17=45, Resulting Numbers: [90, 34, 45] Generated Node #0,4: 45:[90, 34, 45] Operation: 28+17=45 Moving to Node #0,2 Current State: 45:[28, 17, 56], Operations: ['90-34=56'] Exploring Operation: 56/28=2, Resulting Numbers: [17, 2] Generated Node #0,2,0: 45:[17, 2] Operation: 56/28=2 Exploring Operation: 28+17=45, Resulting Numbers: [56, 45] Generated Node #0,2,1: 45:[56, 45] Operation: 28+17=45 Exploring Operation: 28-17=11, Resulting Numbers: [56, 11] Generated Node #0,2,2: 45:[56, 11] Operation: 28-17=11 Exploring Operation: 56-17=39, Resulting Numbers: [28, 39] Generated Node #0,2,3: 45:[28, 39] Operation: 56-17=39 Exploring Operation: 56-28=28, Resulting Numbers: [17, 28] Generated Node #0,2,4: 45:[17, 28] Operation: 56-28=28 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[17, 2], Operations: ['90-34=56', '56/28=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,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,2,1 Current State: 45:[56, 45], Operations: ['90-34=56', '28+17=45'] Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 56*45=2520, Resulting Numbers: [2520] 2520,45 unequal: No Solution Exploring Operation: 56+45=101, Resulting Numbers: [101] 101,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,2,2 Current State: 45:[56, 11], Operations: ['90-34=56', '28-17=11'] Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,45 unequal: No Solution Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,45 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[28, 17, 90, 34], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [28, 17, 56] Generated Node #0,2: 45:[28, 17, 56] Operation: 90-34=56 Moving to Node #0,2 Current State: 45:[28, 17, 56], Operations: ['90-34=56'] Exploring Operation: 28-17=11, Resulting Numbers: [56, 11] Generated Node #0,2,2: 45:[56, 11] Operation: 28-17=11 Moving to Node #0,2,2 Current State: 45:[56, 11], Operations: ['90-34=56', '28-17=11'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 79, 95, 28, 1 ]
11
[ "95-79=16", "28-1=27", "27-16=11" ]
Current State: 11:[79, 95, 28, 1], Operations: [] Exploring Operation: 95-79=16, Resulting Numbers: [28, 1, 16] Generated Node #2: [28, 1, 16] from Operation: 95-79=16 Current State: 11:[28, 1, 16], Operations: ['95-79=16'] Exploring Operation: 28-1=27, Resulting Numbers: [16, 27] Generated Node #3: [16, 27] from Operation: 28-1=27 Current State: 11:[16, 27], Operations: ['95-79=16', '28-1=27'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[79, 95, 28, 1], Operations: [] Exploring Operation: 79-1=78, Resulting Numbers: [95, 28, 78] Generated Node #0,0: 11:[95, 28, 78] Operation: 79-1=78 Exploring Operation: 95-28=67, Resulting Numbers: [79, 1, 67] Generated Node #0,1: 11:[79, 1, 67] Operation: 95-28=67 Exploring Operation: 95-79=16, Resulting Numbers: [28, 1, 16] Generated Node #0,2: 11:[28, 1, 16] Operation: 95-79=16 Exploring Operation: 79-28=51, Resulting Numbers: [95, 1, 51] Generated Node #0,3: 11:[95, 1, 51] Operation: 79-28=51 Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[28, 1, 16], Operations: ['95-79=16'] Exploring Operation: 28-16=12, Resulting Numbers: [1, 12] Generated Node #0,2,0: 11:[1, 12] Operation: 28-16=12 Exploring Operation: 28*1=28, Resulting Numbers: [16, 28] Generated Node #0,2,1: 11:[16, 28] Operation: 28*1=28 Exploring Operation: 16-1=15, Resulting Numbers: [28, 15] Generated Node #0,2,2: 11:[28, 15] Operation: 16-1=15 Exploring Operation: 28-1=27, Resulting Numbers: [16, 27] Generated Node #0,2,3: 11:[16, 27] Operation: 28-1=27 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 11:[1, 12], Operations: ['95-79=16', '28-16=12'] Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[79, 95, 28, 1], Operations: [] Exploring Operation: 95-79=16, Resulting Numbers: [28, 1, 16] Generated Node #0,2: 11:[28, 1, 16] Operation: 95-79=16 Moving to Node #0,2 Current State: 11:[28, 1, 16], Operations: ['95-79=16'] Exploring Operation: 28-16=12, Resulting Numbers: [1, 12] Generated Node #0,2,0: 11:[1, 12] Operation: 28-16=12 Moving to Node #0,2,0 Current State: 11:[1, 12], Operations: ['95-79=16', '28-16=12'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 55, 21, 76, 98 ]
56
[ "55-21=34", "98-76=22", "34+22=56" ]
Current State: 56:[55, 21, 76, 98], Operations: [] Exploring Operation: 55-21=34, Resulting Numbers: [76, 98, 34] Generated Node #2: [76, 98, 34] from Operation: 55-21=34 Current State: 56:[76, 98, 34], Operations: ['55-21=34'] Exploring Operation: 98-76=22, Resulting Numbers: [34, 22] Generated Node #3: [34, 22] from Operation: 98-76=22 Current State: 56:[34, 22], Operations: ['55-21=34', '98-76=22'] Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[55, 21, 76, 98], Operations: [] Exploring Operation: 98-55=43, Resulting Numbers: [21, 76, 43] Generated Node #0,0: 56:[21, 76, 43] Operation: 98-55=43 Exploring Operation: 98-76=22, Resulting Numbers: [55, 21, 22] Generated Node #0,1: 56:[55, 21, 22] Operation: 98-76=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[55, 21, 22], Operations: ['98-76=22'] Exploring Operation: 22-21=1, Resulting Numbers: [55, 1] Generated Node #0,1,0: 56:[55, 1] Operation: 22-21=1 Exploring Operation: 55-21=34, Resulting Numbers: [22, 34] Generated Node #0,1,1: 56:[22, 34] Operation: 55-21=34 Moving to Node #0,1,0 Current State: 56:[55, 1], Operations: ['98-76=22', '22-21=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[55, 21, 76, 98], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [55, 21, 22] Generated Node #0,1: 56:[55, 21, 22] Operation: 98-76=22 Moving to Node #0,1 Current State: 56:[55, 21, 22], Operations: ['98-76=22'] Exploring Operation: 22-21=1, Resulting Numbers: [55, 1] Generated Node #0,1,0: 56:[55, 1] Operation: 22-21=1 Moving to Node #0,1,0 Current State: 56:[55, 1], Operations: ['98-76=22', '22-21=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 36, 6, 70, 38 ]
29
[ "38-36=2", "70/2=35", "35-6=29" ]
Current State: 29:[36, 6, 70, 38], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [6, 70, 2] Generated Node #2: [6, 70, 2] from Operation: 38-36=2 Current State: 29:[6, 70, 2], Operations: ['38-36=2'] Exploring Operation: 70/2=35, Resulting Numbers: [6, 35] Generated Node #3: [6, 35] from Operation: 70/2=35 Current State: 29:[6, 35], Operations: ['38-36=2', '70/2=35'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[36, 6, 70, 38], Operations: [] Exploring Operation: 70-38=32, Resulting Numbers: [36, 6, 32] Generated Node #0,0: 29:[36, 6, 32] Operation: 70-38=32 Exploring Operation: 70-36=34, Resulting Numbers: [6, 38, 34] Generated Node #0,1: 29:[6, 38, 34] Operation: 70-36=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[36, 6, 32], Operations: ['70-38=32'] Exploring Operation: 32-6=26, Resulting Numbers: [36, 26] Generated Node #0,0,0: 29:[36, 26] Operation: 32-6=26 Exploring Operation: 36-6=30, Resulting Numbers: [32, 30] Generated Node #0,0,1: 29:[32, 30] Operation: 36-6=30 Moving to Node #0,0,1 Current State: 29:[32, 30], Operations: ['70-38=32', '36-6=30'] Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[36, 26], Operations: ['70-38=32', '32-6=26'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,29 unequal: No Solution Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[6, 38, 34], Operations: ['70-36=34'] Exploring Operation: 38-6=32, Resulting Numbers: [34, 32] Generated Node #0,1,0: 29:[34, 32] Operation: 38-6=32 Exploring Operation: 34-6=28, Resulting Numbers: [38, 28] Generated Node #0,1,1: 29:[38, 28] Operation: 34-6=28 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[34, 32], Operations: ['70-36=34', '38-6=32'] Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,29 unequal: No Solution No 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: 29:[38, 28], Operations: ['70-36=34', '34-6=28'] Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,29 unequal: No Solution Exploring Operation: 38+28=66, Resulting Numbers: [66] 66,29 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
[ 2, 95, 12, 46 ]
86
[ "95-46=49", "2*49=98", "98-12=86" ]
Current State: 86:[2, 95, 12, 46], Operations: [] Exploring Operation: 95-46=49, Resulting Numbers: [2, 12, 49] Generated Node #2: [2, 12, 49] from Operation: 95-46=49 Current State: 86:[2, 12, 49], Operations: ['95-46=49'] Exploring Operation: 2*49=98, Resulting Numbers: [12, 98] Generated Node #3: [12, 98] from Operation: 2*49=98 Current State: 86:[12, 98], Operations: ['95-46=49', '2*49=98'] Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[2, 95, 12, 46], Operations: [] Exploring Operation: 95-12=83, Resulting Numbers: [2, 46, 83] Generated Node #0,0: 86:[2, 46, 83] Operation: 95-12=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[2, 46, 83], Operations: ['95-12=83'] Exploring Operation: 46-2=44, Resulting Numbers: [83, 44] Generated Node #0,0,0: 86:[83, 44] Operation: 46-2=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[83, 44], Operations: ['95-12=83', '46-2=44'] Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 72, 55, 96, 51 ]
93
[ "72-55=17", "51/17=3", "96-3=93" ]
Current State: 93:[72, 55, 96, 51], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [96, 51, 17] Generated Node #2: [96, 51, 17] from Operation: 72-55=17 Current State: 93:[96, 51, 17], Operations: ['72-55=17'] Exploring Operation: 51/17=3, Resulting Numbers: [96, 3] Generated Node #3: [96, 3] from Operation: 51/17=3 Current State: 93:[96, 3], Operations: ['72-55=17', '51/17=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[72, 55, 96, 51], Operations: [] Exploring Operation: 55+51=106, Resulting Numbers: [72, 96, 106] Generated Node #0,0: 93:[72, 96, 106] Operation: 55+51=106 Exploring Operation: 72-55=17, Resulting Numbers: [96, 51, 17] Generated Node #0,1: 93:[96, 51, 17] Operation: 72-55=17 Exploring Operation: 72-51=21, Resulting Numbers: [55, 96, 21] Generated Node #0,2: 93:[55, 96, 21] Operation: 72-51=21 Exploring Operation: 96-72=24, Resulting Numbers: [55, 51, 24] Generated Node #0,3: 93:[55, 51, 24] Operation: 96-72=24 Exploring Operation: 55-51=4, Resulting Numbers: [72, 96, 4] Generated Node #0,4: 93:[72, 96, 4] Operation: 55-51=4 Moving to Node #0,4 Current State: 93:[72, 96, 4], Operations: ['55-51=4'] Exploring Operation: 72+4=76, Resulting Numbers: [96, 76] Generated Node #0,4,0: 93:[96, 76] Operation: 72+4=76 Exploring Operation: 96-72=24, Resulting Numbers: [4, 24] Generated Node #0,4,1: 93:[4, 24] Operation: 96-72=24 Exploring Operation: 96-4=92, Resulting Numbers: [72, 92] Generated Node #0,4,2: 93:[72, 92] Operation: 96-4=92 Exploring Operation: 72/4=18, Resulting Numbers: [96, 18] Generated Node #0,4,3: 93:[96, 18] Operation: 72/4=18 Exploring Operation: 72-4=68, Resulting Numbers: [96, 68] Generated Node #0,4,4: 93:[96, 68] Operation: 72-4=68 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 93:[4, 24], Operations: ['55-51=4', '96-72=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,93 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 93:[96, 18], Operations: ['55-51=4', '72/4=18'] Exploring Operation: 96-18=78, Resulting Numbers: [78] 78,93 unequal: No Solution Exploring Operation: 96*18=1728, Resulting Numbers: [1728] 1728,93 unequal: No Solution Exploring Operation: 96+18=114, Resulting Numbers: [114] 114,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 93:[96, 76], Operations: ['55-51=4', '72+4=76'] Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,93 unequal: No Solution Exploring Operation: 96+76=172, Resulting Numbers: [172] 172,93 unequal: No Solution Exploring Operation: 96*76=7296, Resulting Numbers: [7296] 7296,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 93:[72, 92], Operations: ['55-51=4', '96-4=92'] Exploring Operation: 72*92=6624, Resulting Numbers: [6624] 6624,93 unequal: No Solution Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,93 unequal: No Solution Exploring Operation: 72+92=164, Resulting Numbers: [164] 164,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 93:[96, 68], Operations: ['55-51=4', '72-4=68'] Exploring Operation: 96*68=6528, Resulting Numbers: [6528] 6528,93 unequal: No Solution Exploring Operation: 96-68=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 96+68=164, Resulting Numbers: [164] 164,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 93:[96, 51, 17], Operations: ['72-55=17'] Exploring Operation: 96-17=79, Resulting Numbers: [51, 79] Generated Node #0,1,0: 93:[51, 79] Operation: 96-17=79 Exploring Operation: 96-51=45, Resulting Numbers: [17, 45] Generated Node #0,1,1: 93:[17, 45] Operation: 96-51=45 Exploring Operation: 51/17=3, Resulting Numbers: [96, 3] Generated Node #0,1,2: 93:[96, 3] Operation: 51/17=3 Exploring Operation: 51+17=68, Resulting Numbers: [96, 68] Generated Node #0,1,3: 93:[96, 68] Operation: 51+17=68 Exploring Operation: 51-17=34, Resulting Numbers: [96, 34] Generated Node #0,1,4: 93:[96, 34] Operation: 51-17=34 Moving to Node #0,0 Current State: 93:[72, 96, 106], Operations: ['55+51=106'] Exploring Operation: 72+96=168, Resulting Numbers: [106, 168] Generated Node #0,0,0: 93:[106, 168] Operation: 72+96=168 Exploring Operation: 96-72=24, Resulting Numbers: [106, 24] Generated Node #0,0,1: 93:[106, 24] Operation: 96-72=24 Exploring Operation: 106-96=10, Resulting Numbers: [72, 10] Generated Node #0,0,2: 93:[72, 10] Operation: 106-96=10 Exploring Operation: 106-72=34, Resulting Numbers: [96, 34] Generated Node #0,0,3: 93:[96, 34] Operation: 106-72=34 Exploring Operation: 72+106=178, Resulting Numbers: [96, 178] Generated Node #0,0,4: 93:[96, 178] Operation: 72+106=178 Moving to Node #0,2 Current State: 93:[55, 96, 21], Operations: ['72-51=21'] Exploring Operation: 55+21=76, Resulting Numbers: [96, 76] Generated Node #0,2,0: 93:[96, 76] Operation: 55+21=76 Exploring Operation: 96-21=75, Resulting Numbers: [55, 75] Generated Node #0,2,1: 93:[55, 75] Operation: 96-21=75 Exploring Operation: 55-21=34, Resulting Numbers: [96, 34] Generated Node #0,2,2: 93:[96, 34] Operation: 55-21=34 Exploring Operation: 96+21=117, Resulting Numbers: [55, 117] Generated Node #0,2,3: 93:[55, 117] Operation: 96+21=117 Exploring Operation: 96-55=41, Resulting Numbers: [21, 41] Generated Node #0,2,4: 93:[21, 41] Operation: 96-55=41 Moving to Node #0,3 Current State: 93:[55, 51, 24], Operations: ['96-72=24'] Exploring Operation: 55+51=106, Resulting Numbers: [24, 106] Generated Node #0,3,0: 93:[24, 106] Operation: 55+51=106 Exploring Operation: 55+24=79, Resulting Numbers: [51, 79] Generated Node #0,3,1: 93:[51, 79] Operation: 55+24=79 Exploring Operation: 55-24=31, Resulting Numbers: [51, 31] Generated Node #0,3,2: 93:[51, 31] Operation: 55-24=31 Exploring Operation: 51-24=27, Resulting Numbers: [55, 27] Generated Node #0,3,3: 93:[55, 27] Operation: 51-24=27 Exploring Operation: 55-51=4, Resulting Numbers: [24, 4] Generated Node #0,3,4: 93:[24, 4] Operation: 55-51=4 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 93:[24, 4], Operations: ['96-72=24', '55-51=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,93 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[24, 106], Operations: ['96-72=24', '55+51=106'] Exploring Operation: 106-24=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 24*106=2544, Resulting Numbers: [2544] 2544,93 unequal: No Solution Exploring Operation: 24+106=130, Resulting Numbers: [130] 130,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 93:[51, 31], Operations: ['96-72=24', '55-24=31'] Exploring Operation: 51*31=1581, Resulting Numbers: [1581] 1581,93 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,93 unequal: No Solution Exploring Operation: 51+31=82, Resulting Numbers: [82] 82,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 93:[55, 27], Operations: ['96-72=24', '51-24=27'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 55+27=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 55*27=1485, Resulting Numbers: [1485] 1485,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 93:[51, 79], Operations: ['96-72=24', '55+24=79'] Exploring Operation: 79-51=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 51+79=130, Resulting Numbers: [130] 130,93 unequal: No Solution Exploring Operation: 51*79=4029, Resulting Numbers: [4029] 4029,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 93:[96, 3], Operations: ['72-55=17', '51/17=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[72, 55, 96, 51], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [96, 51, 17] Generated Node #0,1: 93:[96, 51, 17] Operation: 72-55=17 Moving to Node #0,1 Current State: 93:[96, 51, 17], Operations: ['72-55=17'] Exploring Operation: 51/17=3, Resulting Numbers: [96, 3] Generated Node #0,1,2: 93:[96, 3] Operation: 51/17=3 Moving to Node #0,1,2 Current State: 93:[96, 3], Operations: ['72-55=17', '51/17=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.94184
hs_5
mult_heuristic
[ 28, 49, 35, 68 ]
96
[ "49*68=3332", "28+3332=3360", "3360/35=96" ]
Current State: 96:[28, 49, 35, 68], Operations: [] Exploring Operation: 49*68=3332, Resulting Numbers: [28, 35, 3332] Generated Node #2: [28, 35, 3332] from Operation: 49*68=3332 Current State: 96:[28, 35, 3332], Operations: ['49*68=3332'] Exploring Operation: 28+3332=3360, Resulting Numbers: [35, 3360] Generated Node #3: [35, 3360] from Operation: 28+3332=3360 Current State: 96:[35, 3360], Operations: ['49*68=3332', '28+3332=3360'] Exploring Operation: 3360/35=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[28, 49, 35, 68], Operations: [] Exploring Operation: 35+68=103, Resulting Numbers: [28, 49, 103] Generated Node #0,0: 96:[28, 49, 103] Operation: 35+68=103 Exploring Operation: 68-35=33, Resulting Numbers: [28, 49, 33] Generated Node #0,1: 96:[28, 49, 33] Operation: 68-35=33 Exploring Operation: 28+68=96, Resulting Numbers: [49, 35, 96] Generated Node #0,2: 96:[49, 35, 96] Operation: 28+68=96 Exploring Operation: 68-28=40, Resulting Numbers: [49, 35, 40] Generated Node #0,3: 96:[49, 35, 40] Operation: 68-28=40 Exploring Operation: 68-49=19, Resulting Numbers: [28, 35, 19] Generated Node #0,4: 96:[28, 35, 19] Operation: 68-49=19 Moving to Node #0,2 Current State: 96:[49, 35, 96], Operations: ['28+68=96'] Exploring Operation: 49+35=84, Resulting Numbers: [96, 84] Generated Node #0,2,0: 96:[96, 84] Operation: 49+35=84 Exploring Operation: 96-49=47, Resulting Numbers: [35, 47] Generated Node #0,2,1: 96:[35, 47] Operation: 96-49=47 Exploring Operation: 96-35=61, Resulting Numbers: [49, 61] Generated Node #0,2,2: 96:[49, 61] Operation: 96-35=61 Exploring Operation: 35+96=131, Resulting Numbers: [49, 131] Generated Node #0,2,3: 96:[49, 131] Operation: 35+96=131 Exploring Operation: 49-35=14, Resulting Numbers: [96, 14] Generated Node #0,2,4: 96:[96, 14] Operation: 49-35=14 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 96:[96, 14], Operations: ['28+68=96', '49-35=14'] Exploring Operation: 96-14=82, Resulting Numbers: [82] 82,96 unequal: No Solution Exploring Operation: 96*14=1344, Resulting Numbers: [1344] 1344,96 unequal: No Solution Exploring Operation: 96+14=110, Resulting Numbers: [110] 110,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,1 Current State: 96:[35, 47], Operations: ['28+68=96', '96-49=47'] Exploring Operation: 35+47=82, Resulting Numbers: [82] 82,96 unequal: No Solution Exploring Operation: 35*47=1645, Resulting Numbers: [1645] 1645,96 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,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:[96, 84], Operations: ['28+68=96', '49+35=84'] Exploring Operation: 96+84=180, Resulting Numbers: [180] 180,96 unequal: No Solution Exploring Operation: 96*84=8064, Resulting Numbers: [8064] 8064,96 unequal: No Solution Exploring Operation: 96-84=12, Resulting Numbers: [12] 12,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,2 Current State: 96:[49, 61], Operations: ['28+68=96', '96-35=61'] Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 49*61=2989, Resulting Numbers: [2989] 2989,96 unequal: No Solution Exploring Operation: 49+61=110, Resulting Numbers: [110] 110,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,3 Current State: 96:[49, 131], Operations: ['28+68=96', '35+96=131'] Exploring Operation: 49+131=180, Resulting Numbers: [180] 180,96 unequal: No Solution Exploring Operation: 49*131=6419, Resulting Numbers: [6419] 6419,96 unequal: No Solution Exploring Operation: 131-49=82, Resulting Numbers: [82] 82,96 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: 96:[28, 49, 33], Operations: ['68-35=33'] Exploring Operation: 49-28=21, Resulting Numbers: [33, 21] Generated Node #0,1,0: 96:[33, 21] Operation: 49-28=21 Exploring Operation: 49+33=82, Resulting Numbers: [28, 82] Generated Node #0,1,1: 96:[28, 82] Operation: 49+33=82 Exploring Operation: 33-28=5, Resulting Numbers: [49, 5] Generated Node #0,1,2: 96:[49, 5] Operation: 33-28=5 Exploring Operation: 28+33=61, Resulting Numbers: [49, 61] Generated Node #0,1,3: 96:[49, 61] Operation: 28+33=61 Exploring Operation: 49-33=16, Resulting Numbers: [28, 16] Generated Node #0,1,4: 96:[28, 16] Operation: 49-33=16 Moving to Node #0,4 Current State: 96:[28, 35, 19], Operations: ['68-49=19'] Exploring Operation: 35+19=54, Resulting Numbers: [28, 54] Generated Node #0,4,0: 96:[28, 54] Operation: 35+19=54 Exploring Operation: 28+19=47, Resulting Numbers: [35, 47] Generated Node #0,4,1: 96:[35, 47] Operation: 28+19=47 Exploring Operation: 35-19=16, Resulting Numbers: [28, 16] Generated Node #0,4,2: 96:[28, 16] Operation: 35-19=16 Exploring Operation: 35-28=7, Resulting Numbers: [19, 7] Generated Node #0,4,3: 96:[19, 7] Operation: 35-28=7 Exploring Operation: 28-19=9, Resulting Numbers: [35, 9] Generated Node #0,4,4: 96:[35, 9] Operation: 28-19=9 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 96:[35, 47], Operations: ['68-49=19', '28+19=47'] Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 35+47=82, Resulting Numbers: [82] 82,96 unequal: No Solution Exploring Operation: 35*47=1645, Resulting Numbers: [1645] 1645,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,4,2 Current State: 96:[28, 16], Operations: ['68-49=19', '35-19=16'] Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,96 unequal: No Solution Exploring Operation: 28*16=448, Resulting Numbers: [448] 448,96 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,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,4,3 Current State: 96:[19, 7], Operations: ['68-49=19', '35-28=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,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,4,4 Current State: 96:[35, 9], Operations: ['68-49=19', '28-19=9'] Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,96 unequal: No Solution Exploring Operation: 35*9=315, Resulting Numbers: [315] 315,96 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,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,4,0 Current State: 96:[28, 54], Operations: ['68-49=19', '35+19=54'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,96 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,96 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: 96:[28, 49, 103], Operations: ['35+68=103'] Exploring Operation: 103-28=75, Resulting Numbers: [49, 75] Generated Node #0,0,0: 96:[49, 75] Operation: 103-28=75 Exploring Operation: 49-28=21, Resulting Numbers: [103, 21] Generated Node #0,0,1: 96:[103, 21] Operation: 49-28=21 Exploring Operation: 103-49=54, Resulting Numbers: [28, 54] Generated Node #0,0,2: 96:[28, 54] Operation: 103-49=54 Exploring Operation: 28+49=77, Resulting Numbers: [103, 77] Generated Node #0,0,3: 96:[103, 77] Operation: 28+49=77 Exploring Operation: 28+103=131, Resulting Numbers: [49, 131] Generated Node #0,0,4: 96:[49, 131] Operation: 28+103=131 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[103, 21], Operations: ['35+68=103', '49-28=21'] Exploring Operation: 103+21=124, Resulting Numbers: [124] 124,96 unequal: No Solution Exploring Operation: 103*21=2163, Resulting Numbers: [2163] 2163,96 unequal: No Solution Exploring Operation: 103-21=82, Resulting Numbers: [82] 82,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,0,2 Current State: 96:[28, 54], Operations: ['35+68=103', '103-49=54'] Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,96 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,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,0,0 Current State: 96:[49, 75], Operations: ['35+68=103', '103-28=75'] Exploring Operation: 49*75=3675, Resulting Numbers: [3675] 3675,96 unequal: No Solution Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 49+75=124, Resulting Numbers: [124] 124,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,0,3 Current State: 96:[103, 77], Operations: ['35+68=103', '28+49=77'] Exploring Operation: 103+77=180, Resulting Numbers: [180] 180,96 unequal: No Solution Exploring Operation: 103-77=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 103*77=7931, Resulting Numbers: [7931] 7931,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,0,4 Current State: 96:[49, 131], Operations: ['35+68=103', '28+103=131'] Exploring Operation: 131-49=82, Resulting Numbers: [82] 82,96 unequal: No Solution Exploring Operation: 49*131=6419, Resulting Numbers: [6419] 6419,96 unequal: No Solution Exploring Operation: 49+131=180, Resulting Numbers: [180] 180,96 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: 96:[49, 35, 40], Operations: ['68-28=40'] Exploring Operation: 49-40=9, Resulting Numbers: [35, 9] Generated Node #0,3,0: 96:[35, 9] Operation: 49-40=9 Exploring Operation: 49-35=14, Resulting Numbers: [40, 14] Generated Node #0,3,1: 96:[40, 14] Operation: 49-35=14 Exploring Operation: 40-35=5, Resulting Numbers: [49, 5] Generated Node #0,3,2: 96:[49, 5] Operation: 40-35=5 Exploring Operation: 49+35=84, Resulting Numbers: [40, 84] Generated Node #0,3,3: 96:[40, 84] Operation: 49+35=84 Exploring Operation: 49+40=89, Resulting Numbers: [35, 89] Generated Node #0,3,4: 96:[35, 89] Operation: 49+40=89 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 96:[49, 5], Operations: ['68-28=40', '40-35=5'] Exploring Operation: 49+5=54, Resulting Numbers: [54] 54,96 unequal: No Solution Exploring Operation: 49*5=245, Resulting Numbers: [245] 245,96 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,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,3,0 Current State: 96:[35, 9], Operations: ['68-28=40', '49-40=9'] Exploring Operation: 35*9=315, Resulting Numbers: [315] 315,96 unequal: No Solution Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,96 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,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,3,1 Current State: 96:[40, 14], Operations: ['68-28=40', '49-35=14'] Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,96 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,96 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,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,3,4 Current State: 96:[35, 89], Operations: ['68-28=40', '49+40=89'] Exploring Operation: 35+89=124, Resulting Numbers: [124] 124,96 unequal: No Solution Exploring Operation: 35*89=3115, Resulting Numbers: [3115] 3115,96 unequal: No Solution Exploring Operation: 89-35=54, Resulting Numbers: [54] 54,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,3,3 Current State: 96:[40, 84], Operations: ['68-28=40', '49+35=84'] Exploring Operation: 40+84=124, Resulting Numbers: [124] 124,96 unequal: No Solution Exploring Operation: 40*84=3360, Resulting Numbers: [3360] 3360,96 unequal: No Solution Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 96:[49, 5], Operations: ['68-35=33', '33-28=5'] Exploring Operation: 49*5=245, Resulting Numbers: [245] 245,96 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,96 unequal: No Solution Exploring Operation: 49+5=54, Resulting Numbers: [54] 54,96 unequal: No Solution Moving to Node #0,1,4 Current State: 96:[28, 16], Operations: ['68-35=33', '49-33=16'] Exploring Operation: 28*16=448, Resulting Numbers: [448] 448,96 unequal: No Solution Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,96 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[33, 21], Operations: ['68-35=33', '49-28=21'] Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,96 unequal: No Solution Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,96 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[49, 61], Operations: ['68-35=33', '28+33=61'] Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 49+61=110, Resulting Numbers: [110] 110,96 unequal: No Solution Exploring Operation: 49*61=2989, Resulting Numbers: [2989] 2989,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[28, 82], Operations: ['68-35=33', '49+33=82'] Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,96 unequal: No Solution Exploring Operation: 28*82=2296, Resulting Numbers: [2296] 2296,96 unequal: No Solution Exploring Operation: 28+82=110, Resulting Numbers: [110] 110,96 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 58, 54, 95, 79 ]
18
[ "58*54=3132", "95+79=174", "3132/174=18" ]
Current State: 18:[58, 54, 95, 79], Operations: [] Exploring Operation: 58*54=3132, Resulting Numbers: [95, 79, 3132] Generated Node #2: [95, 79, 3132] from Operation: 58*54=3132 Current State: 18:[95, 79, 3132], Operations: ['58*54=3132'] Exploring Operation: 95+79=174, Resulting Numbers: [3132, 174] Generated Node #3: [3132, 174] from Operation: 95+79=174 Current State: 18:[3132, 174], Operations: ['58*54=3132', '95+79=174'] Exploring Operation: 3132/174=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[58, 54, 95, 79], Operations: [] Exploring Operation: 95-79=16, Resulting Numbers: [58, 54, 16] Generated Node #0,0: 18:[58, 54, 16] Operation: 95-79=16 Exploring Operation: 95-58=37, Resulting Numbers: [54, 79, 37] Generated Node #0,1: 18:[54, 79, 37] Operation: 95-58=37 Exploring Operation: 79-58=21, Resulting Numbers: [54, 95, 21] Generated Node #0,2: 18:[54, 95, 21] Operation: 79-58=21 Exploring Operation: 95-54=41, Resulting Numbers: [58, 79, 41] Generated Node #0,3: 18:[58, 79, 41] Operation: 95-54=41 Exploring Operation: 79-54=25, Resulting Numbers: [58, 95, 25] Generated Node #0,4: 18:[58, 95, 25] Operation: 79-54=25 Moving to Node #0,0 Current State: 18:[58, 54, 16], Operations: ['95-79=16'] Exploring Operation: 58-54=4, Resulting Numbers: [16, 4] Generated Node #0,0,0: 18:[16, 4] Operation: 58-54=4 Exploring Operation: 58+16=74, Resulting Numbers: [54, 74] Generated Node #0,0,1: 18:[54, 74] Operation: 58+16=74 Exploring Operation: 58-16=42, Resulting Numbers: [54, 42] Generated Node #0,0,2: 18:[54, 42] Operation: 58-16=42 Exploring Operation: 54+16=70, Resulting Numbers: [58, 70] Generated Node #0,0,3: 18:[58, 70] Operation: 54+16=70 Exploring Operation: 54-16=38, Resulting Numbers: [58, 38] Generated Node #0,0,4: 18:[58, 38] Operation: 54-16=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[16, 4], Operations: ['95-79=16', '58-54=4'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,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:[54, 42], Operations: ['95-79=16', '58-16=42'] Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 54*42=2268, Resulting Numbers: [2268] 2268,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:[58, 38], Operations: ['95-79=16', '54-16=38'] Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 58+38=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 58*38=2204, Resulting Numbers: [2204] 2204,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,1 Current State: 18:[54, 74], Operations: ['95-79=16', '58+16=74'] Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 54*74=3996, Resulting Numbers: [3996] 3996,18 unequal: No Solution Exploring Operation: 54+74=128, Resulting Numbers: [128] 128,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:[58, 70], Operations: ['95-79=16', '54+16=70'] Exploring Operation: 58*70=4060, Resulting Numbers: [4060] 4060,18 unequal: No Solution Exploring Operation: 58+70=128, Resulting Numbers: [128] 128,18 unequal: No Solution Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,18 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: 18:[54, 95, 21], Operations: ['79-58=21'] Exploring Operation: 54-21=33, Resulting Numbers: [95, 33] Generated Node #0,2,0: 18:[95, 33] Operation: 54-21=33 Exploring Operation: 54+21=75, Resulting Numbers: [95, 75] Generated Node #0,2,1: 18:[95, 75] Operation: 54+21=75 Exploring Operation: 54+95=149, Resulting Numbers: [21, 149] Generated Node #0,2,2: 18:[21, 149] Operation: 54+95=149 Exploring Operation: 95-54=41, Resulting Numbers: [21, 41] Generated Node #0,2,3: 18:[21, 41] Operation: 95-54=41 Exploring Operation: 95-21=74, Resulting Numbers: [54, 74] Generated Node #0,2,4: 18:[54, 74] Operation: 95-21=74 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[21, 41], Operations: ['79-58=21', '95-54=41'] Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 21*41=861, Resulting Numbers: [861] 861,18 unequal: No Solution Exploring Operation: 21+41=62, Resulting Numbers: [62] 62,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,0 Current State: 18:[95, 33], Operations: ['79-58=21', '54-21=33'] Exploring Operation: 95*33=3135, Resulting Numbers: [3135] 3135,18 unequal: No Solution Exploring Operation: 95+33=128, Resulting Numbers: [128] 128,18 unequal: No Solution Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,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,4 Current State: 18:[54, 74], Operations: ['79-58=21', '95-21=74'] Exploring Operation: 54+74=128, Resulting Numbers: [128] 128,18 unequal: No Solution Exploring Operation: 54*74=3996, Resulting Numbers: [3996] 3996,18 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[95, 75], Operations: ['79-58=21', '54+21=75'] Exploring Operation: 95-75=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 95*75=7125, Resulting Numbers: [7125] 7125,18 unequal: No Solution Exploring Operation: 95+75=170, Resulting Numbers: [170] 170,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,2 Current State: 18:[21, 149], Operations: ['79-58=21', '54+95=149'] Exploring Operation: 21*149=3129, Resulting Numbers: [3129] 3129,18 unequal: No Solution Exploring Operation: 149-21=128, Resulting Numbers: [128] 128,18 unequal: No Solution Exploring Operation: 21+149=170, Resulting Numbers: [170] 170,18 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: 18:[54, 79, 37], Operations: ['95-58=37'] Exploring Operation: 54+79=133, Resulting Numbers: [37, 133] Generated Node #0,1,0: 18:[37, 133] Operation: 54+79=133 Exploring Operation: 79-37=42, Resulting Numbers: [54, 42] Generated Node #0,1,1: 18:[54, 42] Operation: 79-37=42 Exploring Operation: 79-54=25, Resulting Numbers: [37, 25] Generated Node #0,1,2: 18:[37, 25] Operation: 79-54=25 Exploring Operation: 54+37=91, Resulting Numbers: [79, 91] Generated Node #0,1,3: 18:[79, 91] Operation: 54+37=91 Exploring Operation: 54-37=17, Resulting Numbers: [79, 17] Generated Node #0,1,4: 18:[79, 17] Operation: 54-37=17 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[37, 25], Operations: ['95-58=37', '79-54=25'] Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[54, 42], Operations: ['95-58=37', '79-37=42'] Exploring Operation: 54*42=2268, Resulting Numbers: [2268] 2268,18 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,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,4 Current State: 18:[79, 17], Operations: ['95-58=37', '54-37=17'] Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[37, 133], Operations: ['95-58=37', '54+79=133'] Exploring Operation: 37+133=170, Resulting Numbers: [170] 170,18 unequal: No Solution Exploring Operation: 133-37=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 37*133=4921, Resulting Numbers: [4921] 4921,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,3 Current State: 18:[79, 91], Operations: ['95-58=37', '54+37=91'] Exploring Operation: 79+91=170, Resulting Numbers: [170] 170,18 unequal: No Solution Exploring Operation: 79*91=7189, Resulting Numbers: [7189] 7189,18 unequal: No Solution Exploring Operation: 91-79=12, Resulting Numbers: [12] 12,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 18:[58, 79, 41], Operations: ['95-54=41'] Exploring Operation: 79-58=21, Resulting Numbers: [41, 21] Generated Node #0,3,0: 18:[41, 21] Operation: 79-58=21 Exploring Operation: 58+41=99, Resulting Numbers: [79, 99] Generated Node #0,3,1: 18:[79, 99] Operation: 58+41=99 Exploring Operation: 58+79=137, Resulting Numbers: [41, 137] Generated Node #0,3,2: 18:[41, 137] Operation: 58+79=137 Exploring Operation: 58-41=17, Resulting Numbers: [79, 17] Generated Node #0,3,3: 18:[79, 17] Operation: 58-41=17 Exploring Operation: 79-41=38, Resulting Numbers: [58, 38] Generated Node #0,3,4: 18:[58, 38] Operation: 79-41=38 Moving to Node #0,4 Current State: 18:[58, 95, 25], Operations: ['79-54=25'] Exploring Operation: 58+25=83, Resulting Numbers: [95, 83] Generated Node #0,4,0: 18:[95, 83] Operation: 58+25=83 Exploring Operation: 95-58=37, Resulting Numbers: [25, 37] Generated Node #0,4,1: 18:[25, 37] Operation: 95-58=37 Exploring Operation: 58-25=33, Resulting Numbers: [95, 33] Generated Node #0,4,2: 18:[95, 33] Operation: 58-25=33 Exploring Operation: 95-25=70, Resulting Numbers: [58, 70] Generated Node #0,4,3: 18:[58, 70] Operation: 95-25=70 Exploring Operation: 58+95=153, Resulting Numbers: [25, 153] Generated Node #0,4,4: 18:[25, 153] Operation: 58+95=153 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 18:[25, 37], Operations: ['79-54=25', '95-58=37'] Exploring Operation: 25*37=925, Resulting Numbers: [925] 925,18 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 25+37=62, Resulting Numbers: [62] 62,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:[95, 33], Operations: ['79-54=25', '58-25=33'] Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 95+33=128, Resulting Numbers: [128] 128,18 unequal: No Solution Exploring Operation: 95*33=3135, Resulting Numbers: [3135] 3135,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:[58, 70], Operations: ['79-54=25', '95-25=70'] Exploring Operation: 58+70=128, Resulting Numbers: [128] 128,18 unequal: No Solution Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 58*70=4060, Resulting Numbers: [4060] 4060,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:[95, 83], Operations: ['79-54=25', '58+25=83'] Exploring Operation: 95*83=7885, Resulting Numbers: [7885] 7885,18 unequal: No Solution Exploring Operation: 95-83=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 95+83=178, Resulting Numbers: [178] 178,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,4 Current State: 18:[25, 153], Operations: ['79-54=25', '58+95=153'] Exploring Operation: 25*153=3825, Resulting Numbers: [3825] 3825,18 unequal: No Solution Exploring Operation: 153-25=128, Resulting Numbers: [128] 128,18 unequal: No Solution Exploring Operation: 25+153=178, Resulting Numbers: [178] 178,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 18:[41, 21], Operations: ['95-54=41', '79-58=21'] Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,18 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,18 unequal: No Solution Moving to Node #0,3,4 Current State: 18:[58, 38], Operations: ['95-54=41', '79-41=38'] Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 58*38=2204, Resulting Numbers: [2204] 2204,18 unequal: No Solution Exploring Operation: 58+38=96, Resulting Numbers: [96] 96,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[79, 17], Operations: ['95-54=41', '58-41=17'] Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,18 unequal: No Solution Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[79, 99], Operations: ['95-54=41', '58+41=99'] Exploring Operation: 99-79=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 79*99=7821, Resulting Numbers: [7821] 7821,18 unequal: No Solution Exploring Operation: 79+99=178, Resulting Numbers: [178] 178,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[41, 137], Operations: ['95-54=41', '58+79=137'] Exploring Operation: 137-41=96, Resulting Numbers: [96] 96,18 unequal: No Solution Exploring Operation: 41*137=5617, Resulting Numbers: [5617] 5617,18 unequal: No Solution Exploring Operation: 41+137=178, Resulting Numbers: [178] 178,18 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 15, 36, 42, 3 ]
96
[ "15+36=51", "42+3=45", "51+45=96" ]
Current State: 96:[15, 36, 42, 3], Operations: [] Exploring Operation: 15+36=51, Resulting Numbers: [42, 3, 51] Generated Node #2: [42, 3, 51] from Operation: 15+36=51 Current State: 96:[42, 3, 51], Operations: ['15+36=51'] Exploring Operation: 42+3=45, Resulting Numbers: [51, 45] Generated Node #3: [51, 45] from Operation: 42+3=45 Current State: 96:[51, 45], Operations: ['15+36=51', '42+3=45'] Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[15, 36, 42, 3], Operations: [] Exploring Operation: 42-36=6, Resulting Numbers: [15, 3, 6] Generated Node #0,0: 96:[15, 3, 6] Operation: 42-36=6 Exploring Operation: 36/3=12, Resulting Numbers: [15, 42, 12] Generated Node #0,1: 96:[15, 42, 12] Operation: 36/3=12 Exploring Operation: 42-15=27, Resulting Numbers: [36, 3, 27] Generated Node #0,2: 96:[36, 3, 27] Operation: 42-15=27 Exploring Operation: 42/3=14, Resulting Numbers: [15, 36, 14] Generated Node #0,3: 96:[15, 36, 14] Operation: 42/3=14 Moving to Node #0,0 Current State: 96:[15, 3, 6], Operations: ['42-36=6'] Exploring Operation: 15-3=12, Resulting Numbers: [6, 12] Generated Node #0,0,0: 96:[6, 12] Operation: 15-3=12 Exploring Operation: 15-6=9, Resulting Numbers: [3, 9] Generated Node #0,0,1: 96:[3, 9] Operation: 15-6=9 Exploring Operation: 6-3=3, Resulting Numbers: [15, 3] Generated Node #0,0,2: 96:[15, 3] Operation: 6-3=3 Exploring Operation: 15/3=5, Resulting Numbers: [6, 5] Generated Node #0,0,3: 96:[6, 5] Operation: 15/3=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[6, 12], Operations: ['42-36=6', '15-3=12'] Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,96 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,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,0,1 Current State: 96:[3, 9], Operations: ['42-36=6', '15-6=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,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,0,2 Current State: 96:[15, 3], Operations: ['42-36=6', '6-3=3'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,96 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,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,0,3 Current State: 96:[6, 5], Operations: ['42-36=6', '15/3=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,96 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: 96:[36, 3, 27], Operations: ['42-15=27'] Exploring Operation: 36-3=33, Resulting Numbers: [27, 33] Generated Node #0,2,0: 96:[27, 33] Operation: 36-3=33 Exploring Operation: 27-3=24, Resulting Numbers: [36, 24] Generated Node #0,2,1: 96:[36, 24] Operation: 27-3=24 Exploring Operation: 36/3=12, Resulting Numbers: [27, 12] Generated Node #0,2,2: 96:[27, 12] Operation: 36/3=12 Exploring Operation: 36-27=9, Resulting Numbers: [3, 9] Generated Node #0,2,3: 96:[3, 9] Operation: 36-27=9 Moving to Node #0,1 Current State: 96:[15, 42, 12], Operations: ['36/3=12'] Exploring Operation: 15-12=3, Resulting Numbers: [42, 3] Generated Node #0,1,0: 96:[42, 3] Operation: 15-12=3 Exploring Operation: 42-15=27, Resulting Numbers: [12, 27] Generated Node #0,1,1: 96:[12, 27] Operation: 42-15=27 Exploring Operation: 42-12=30, Resulting Numbers: [15, 30] Generated Node #0,1,2: 96:[15, 30] Operation: 42-12=30 Exploring Operation: 42+12=54, Resulting Numbers: [15, 54] Generated Node #0,1,3: 96:[15, 54] Operation: 42+12=54 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[12, 27], Operations: ['36/3=12', '42-15=27'] Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,96 unequal: No Solution Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[15, 30], Operations: ['36/3=12', '42-12=30'] Exploring Operation: 15*30=450, Resulting Numbers: [450] 450,96 unequal: No Solution Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,96 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[42, 3], Operations: ['36/3=12', '15-12=3'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,96 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 96:[15, 54], Operations: ['36/3=12', '42+12=54'] Exploring Operation: 15*54=810, Resulting Numbers: [810] 810,96 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 15+54=69, Resulting Numbers: [69] 69,96 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: 96:[15, 36, 14], Operations: ['42/3=14'] Exploring Operation: 36-14=22, Resulting Numbers: [15, 22] Generated Node #0,3,0: 96:[15, 22] Operation: 36-14=22 Exploring Operation: 36-15=21, Resulting Numbers: [14, 21] Generated Node #0,3,1: 96:[14, 21] Operation: 36-15=21 Exploring Operation: 15+36=51, Resulting Numbers: [14, 51] Generated Node #0,3,2: 96:[14, 51] Operation: 15+36=51 Exploring Operation: 36+14=50, Resulting Numbers: [15, 50] Generated Node #0,3,3: 96:[15, 50] Operation: 36+14=50 Moving to Node #0,2,3 Current State: 96:[3, 9], Operations: ['42-15=27', '36-27=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[15, 50], Operations: ['42/3=14', '36+14=50'] Exploring Operation: 15*50=750, Resulting Numbers: [750] 750,96 unequal: No Solution Exploring Operation: 15+50=65, Resulting Numbers: [65] 65,96 unequal: No Solution Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[27, 12], Operations: ['42-15=27', '36/3=12'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 27*12=324, Resulting Numbers: [324] 324,96 unequal: No Solution Moving to Node #0,3,0 Current State: 96:[15, 22], Operations: ['42/3=14', '36-14=22'] Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,96 unequal: No Solution Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[27, 33], Operations: ['42-15=27', '36-3=33'] Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 27*33=891, Resulting Numbers: [891] 891,96 unequal: No Solution Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[36, 24], Operations: ['42-15=27', '27-3=24'] Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,96 unequal: No Solution Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,96 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[14, 51], Operations: ['42/3=14', '15+36=51'] Exploring Operation: 14*51=714, Resulting Numbers: [714] 714,96 unequal: No Solution Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[14, 21], Operations: ['42/3=14', '36-15=21'] Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,96 unequal: No Solution Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,96 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 40, 45, 19, 86 ]
100
[ "45-40=5", "19+86=105", "105-5=100" ]
Current State: 100:[40, 45, 19, 86], Operations: [] Exploring Operation: 45-40=5, Resulting Numbers: [19, 86, 5] Generated Node #2: [19, 86, 5] from Operation: 45-40=5 Current State: 100:[19, 86, 5], Operations: ['45-40=5'] Exploring Operation: 19+86=105, Resulting Numbers: [5, 105] Generated Node #3: [5, 105] from Operation: 19+86=105 Current State: 100:[5, 105], Operations: ['45-40=5', '19+86=105'] Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[40, 45, 19, 86], Operations: [] Exploring Operation: 86-40=46, Resulting Numbers: [45, 19, 46] Generated Node #0,0: 100:[45, 19, 46] Operation: 86-40=46 Exploring Operation: 40-19=21, Resulting Numbers: [45, 86, 21] Generated Node #0,1: 100:[45, 86, 21] Operation: 40-19=21 Exploring Operation: 45-40=5, Resulting Numbers: [19, 86, 5] Generated Node #0,2: 100:[19, 86, 5] Operation: 45-40=5 Exploring Operation: 86-45=41, Resulting Numbers: [40, 19, 41] Generated Node #0,3: 100:[40, 19, 41] Operation: 86-45=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[45, 19, 46], Operations: ['86-40=46'] Exploring Operation: 45+46=91, Resulting Numbers: [19, 91] Generated Node #0,0,0: 100:[19, 91] Operation: 45+46=91 Exploring Operation: 46-19=27, Resulting Numbers: [45, 27] Generated Node #0,0,1: 100:[45, 27] Operation: 46-19=27 Exploring Operation: 46-45=1, Resulting Numbers: [19, 1] Generated Node #0,0,2: 100:[19, 1] Operation: 46-45=1 Exploring Operation: 45-19=26, Resulting Numbers: [46, 26] Generated Node #0,0,3: 100:[46, 26] Operation: 45-19=26 Moving to Node #0,0,2 Current State: 100:[19, 1], Operations: ['86-40=46', '46-45=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[46, 26], Operations: ['86-40=46', '45-19=26'] Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,100 unequal: No Solution Exploring Operation: 46*26=1196, Resulting Numbers: [1196] 1196,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[45, 27], Operations: ['86-40=46', '46-19=27'] Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,100 unequal: No Solution Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,100 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[19, 91], Operations: ['86-40=46', '45+46=91'] Exploring Operation: 19+91=110, Resulting Numbers: [110] 110,100 unequal: No Solution Exploring Operation: 19*91=1729, Resulting Numbers: [1729] 1729,100 unequal: No Solution Exploring Operation: 91-19=72, Resulting Numbers: [72] 72,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[19, 86, 5], Operations: ['45-40=5'] Exploring Operation: 19+5=24, Resulting Numbers: [86, 24] Generated Node #0,2,0: 100:[86, 24] Operation: 19+5=24 Exploring Operation: 86+5=91, Resulting Numbers: [19, 91] Generated Node #0,2,1: 100:[19, 91] Operation: 86+5=91 Exploring Operation: 19+86=105, Resulting Numbers: [5, 105] Generated Node #0,2,2: 100:[5, 105] Operation: 19+86=105 Exploring Operation: 86-19=67, Resulting Numbers: [5, 67] Generated Node #0,2,3: 100:[5, 67] Operation: 86-19=67 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 100:[5, 105], Operations: ['45-40=5', '19+86=105'] Exploring Operation: 5+105=110, Resulting Numbers: [110] 110,100 unequal: No Solution Exploring Operation: 105/5=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 5*105=525, Resulting Numbers: [525] 525,100 unequal: No Solution Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[40, 45, 19, 86], Operations: [] Exploring Operation: 45-40=5, Resulting Numbers: [19, 86, 5] Generated Node #0,2: 100:[19, 86, 5] Operation: 45-40=5 Moving to Node #0,2 Current State: 100:[19, 86, 5], Operations: ['45-40=5'] Exploring Operation: 19+86=105, Resulting Numbers: [5, 105] Generated Node #0,2,2: 100:[5, 105] Operation: 19+86=105 Moving to Node #0,2,2 Current State: 100:[5, 105], Operations: ['45-40=5', '19+86=105'] Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 2, 69, 83, 70 ]
98
[ "83-69=14", "2*14=28", "70+28=98" ]
Current State: 98:[2, 69, 83, 70], Operations: [] Exploring Operation: 83-69=14, Resulting Numbers: [2, 70, 14] Generated Node #2: [2, 70, 14] from Operation: 83-69=14 Current State: 98:[2, 70, 14], Operations: ['83-69=14'] Exploring Operation: 2*14=28, Resulting Numbers: [70, 28] Generated Node #3: [70, 28] from Operation: 2*14=28 Current State: 98:[70, 28], Operations: ['83-69=14', '2*14=28'] Exploring Operation: 70+28=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[2, 69, 83, 70], Operations: [] Exploring Operation: 83-69=14, Resulting Numbers: [2, 70, 14] Generated Node #0,0: 98:[2, 70, 14] Operation: 83-69=14 Exploring Operation: 70-69=1, Resulting Numbers: [2, 83, 1] Generated Node #0,1: 98:[2, 83, 1] Operation: 70-69=1 Exploring Operation: 83-70=13, Resulting Numbers: [2, 69, 13] Generated Node #0,2: 98:[2, 69, 13] Operation: 83-70=13 Moving to Node #0,1 Current State: 98:[2, 83, 1], Operations: ['70-69=1'] Exploring Operation: 83+1=84, Resulting Numbers: [2, 84] Generated Node #0,1,0: 98:[2, 84] Operation: 83+1=84 Exploring Operation: 2*1=2, Resulting Numbers: [83, 2] Generated Node #0,1,1: 98:[83, 2] Operation: 2*1=2 Exploring Operation: 2+83=85, Resulting Numbers: [1, 85] Generated Node #0,1,2: 98:[1, 85] Operation: 2+83=85 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[2, 84], Operations: ['70-69=1', '83+1=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,98 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 98:[1, 85], Operations: ['70-69=1', '2+83=85'] Exploring Operation: 1*85=85, Resulting Numbers: [85] 85,98 unequal: No Solution Exploring Operation: 1+85=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[83, 2], Operations: ['70-69=1', '2*1=2'] Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,98 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,98 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,98 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: 98:[2, 70, 14], Operations: ['83-69=14'] Exploring Operation: 70/2=35, Resulting Numbers: [14, 35] Generated Node #0,0,0: 98:[14, 35] Operation: 70/2=35 Exploring Operation: 70-14=56, Resulting Numbers: [2, 56] Generated Node #0,0,1: 98:[2, 56] Operation: 70-14=56 Exploring Operation: 70/14=5, Resulting Numbers: [2, 5] Generated Node #0,0,2: 98:[2, 5] Operation: 70/14=5 Moving to Node #0,2 Current State: 98:[2, 69, 13], Operations: ['83-70=13'] Exploring Operation: 69+13=82, Resulting Numbers: [2, 82] Generated Node #0,2,0: 98:[2, 82] Operation: 69+13=82 Exploring Operation: 69-13=56, Resulting Numbers: [2, 56] Generated Node #0,2,1: 98:[2, 56] Operation: 69-13=56 Exploring Operation: 69-2=67, Resulting Numbers: [13, 67] Generated Node #0,2,2: 98:[13, 67] Operation: 69-2=67 Moving to Node #0,0,2 Current State: 98:[2, 5], Operations: ['83-69=14', '70/14=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[2, 56], Operations: ['83-69=14', '70-14=56'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,98 unequal: No Solution Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 2*56=112, Resulting Numbers: [112] 112,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[2, 56], Operations: ['83-70=13', '69-13=56'] Exploring Operation: 2*56=112, Resulting Numbers: [112] 112,98 unequal: No Solution Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[14, 35], Operations: ['83-69=14', '70/2=35'] Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,98 unequal: No Solution Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,98 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[2, 82], Operations: ['83-70=13', '69+13=82'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,98 unequal: No Solution Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[13, 67], Operations: ['83-70=13', '69-2=67'] Exploring Operation: 13*67=871, Resulting Numbers: [871] 871,98 unequal: No Solution Exploring Operation: 13+67=80, Resulting Numbers: [80] 80,98 unequal: No Solution Exploring Operation: 67-13=54, Resulting Numbers: [54] 54,98 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 82, 70, 38, 96 ]
56
[ "82+38=120", "70*96=6720", "6720/120=56" ]
Current State: 56:[82, 70, 38, 96], Operations: [] Exploring Operation: 82+38=120, Resulting Numbers: [70, 96, 120] Generated Node #2: [70, 96, 120] from Operation: 82+38=120 Current State: 56:[70, 96, 120], Operations: ['82+38=120'] Exploring Operation: 70*96=6720, Resulting Numbers: [120, 6720] Generated Node #3: [120, 6720] from Operation: 70*96=6720 Current State: 56:[120, 6720], Operations: ['82+38=120', '70*96=6720'] Exploring Operation: 6720/120=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[82, 70, 38, 96], Operations: [] Exploring Operation: 96-38=58, Resulting Numbers: [82, 70, 58] Generated Node #0,0: 56:[82, 70, 58] Operation: 96-38=58 Exploring Operation: 82-70=12, Resulting Numbers: [38, 96, 12] Generated Node #0,1: 56:[38, 96, 12] Operation: 82-70=12 Exploring Operation: 96-70=26, Resulting Numbers: [82, 38, 26] Generated Node #0,2: 56:[82, 38, 26] Operation: 96-70=26 Exploring Operation: 96-82=14, Resulting Numbers: [70, 38, 14] Generated Node #0,3: 56:[70, 38, 14] Operation: 96-82=14 Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[70, 38, 14], Operations: ['96-82=14'] Exploring Operation: 38+14=52, Resulting Numbers: [70, 52] Generated Node #0,3,0: 56:[70, 52] Operation: 38+14=52 Exploring Operation: 70-14=56, Resulting Numbers: [38, 56] Generated Node #0,3,1: 56:[38, 56] Operation: 70-14=56 Exploring Operation: 70/14=5, Resulting Numbers: [38, 5] Generated Node #0,3,2: 56:[38, 5] Operation: 70/14=5 Exploring Operation: 70-38=32, Resulting Numbers: [14, 32] Generated Node #0,3,3: 56:[14, 32] Operation: 70-38=32 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 56:[14, 32], Operations: ['96-82=14', '70-38=32'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,56 unequal: No Solution No 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: 56:[38, 56], Operations: ['96-82=14', '70-14=56'] Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,56 unequal: No Solution Exploring Operation: 38*56=2128, Resulting Numbers: [2128] 2128,56 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,56 unequal: No Solution No 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: 56:[38, 5], Operations: ['96-82=14', '70/14=5'] Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,56 unequal: No Solution No 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: 56:[70, 52], Operations: ['96-82=14', '38+14=52'] Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 70+52=122, Resulting Numbers: [122] 122,56 unequal: No Solution Exploring Operation: 70*52=3640, Resulting Numbers: [3640] 3640,56 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: 56:[82, 38, 26], Operations: ['96-70=26'] Exploring Operation: 38+26=64, Resulting Numbers: [82, 64] Generated Node #0,2,0: 56:[82, 64] Operation: 38+26=64 Exploring Operation: 82-38=44, Resulting Numbers: [26, 44] Generated Node #0,2,1: 56:[26, 44] Operation: 82-38=44 Exploring Operation: 38-26=12, Resulting Numbers: [82, 12] Generated Node #0,2,2: 56:[82, 12] Operation: 38-26=12 Exploring Operation: 82-26=56, Resulting Numbers: [38, 56] Generated Node #0,2,3: 56:[38, 56] Operation: 82-26=56 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 56:[38, 56], Operations: ['96-70=26', '82-26=56'] Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,56 unequal: No Solution Exploring Operation: 38*56=2128, Resulting Numbers: [2128] 2128,56 unequal: No Solution No 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: 56:[26, 44], Operations: ['96-70=26', '82-38=44'] Exploring Operation: 26+44=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 26*44=1144, Resulting Numbers: [1144] 1144,56 unequal: No Solution No 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: 56:[82, 12], Operations: ['96-70=26', '38-26=12'] Exploring Operation: 82-12=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 82+12=94, Resulting Numbers: [94] 94,56 unequal: No Solution Exploring Operation: 82*12=984, Resulting Numbers: [984] 984,56 unequal: No Solution No 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: 56:[82, 64], Operations: ['96-70=26', '38+26=64'] Exploring Operation: 82*64=5248, Resulting Numbers: [5248] 5248,56 unequal: No Solution Exploring Operation: 82+64=146, Resulting Numbers: [146] 146,56 unequal: No Solution Exploring Operation: 82-64=18, Resulting Numbers: [18] 18,56 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: 56:[82, 70, 58], Operations: ['96-38=58'] Exploring Operation: 82-70=12, Resulting Numbers: [58, 12] Generated Node #0,0,0: 56:[58, 12] Operation: 82-70=12 Exploring Operation: 82-58=24, Resulting Numbers: [70, 24] Generated Node #0,0,1: 56:[70, 24] Operation: 82-58=24 Exploring Operation: 70-58=12, Resulting Numbers: [82, 12] Generated Node #0,0,2: 56:[82, 12] Operation: 70-58=12 Exploring Operation: 82+70=152, Resulting Numbers: [58, 152] Generated Node #0,0,3: 56:[58, 152] Operation: 82+70=152 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[58, 12], Operations: ['96-38=58', '82-70=12'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 58*12=696, Resulting Numbers: [696] 696,56 unequal: No Solution No 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: 56:[70, 24], Operations: ['96-38=58', '82-58=24'] Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 70*24=1680, Resulting Numbers: [1680] 1680,56 unequal: No Solution Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,56 unequal: No Solution No 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: 56:[82, 12], Operations: ['96-38=58', '70-58=12'] Exploring Operation: 82+12=94, Resulting Numbers: [94] 94,56 unequal: No Solution Exploring Operation: 82-12=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 82*12=984, Resulting Numbers: [984] 984,56 unequal: No Solution No 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: 56:[58, 152], Operations: ['96-38=58', '82+70=152'] Exploring Operation: 152-58=94, Resulting Numbers: [94] 94,56 unequal: No Solution Exploring Operation: 58+152=210, Resulting Numbers: [210] 210,56 unequal: No Solution Exploring Operation: 58*152=8816, Resulting Numbers: [8816] 8816,56 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: 56:[38, 96, 12], Operations: ['82-70=12'] Exploring Operation: 96/12=8, Resulting Numbers: [38, 8] Generated Node #0,1,0: 56:[38, 8] Operation: 96/12=8 Exploring Operation: 96-12=84, Resulting Numbers: [38, 84] Generated Node #0,1,1: 56:[38, 84] Operation: 96-12=84 Exploring Operation: 96-38=58, Resulting Numbers: [12, 58] Generated Node #0,1,2: 56:[12, 58] Operation: 96-38=58 Exploring Operation: 38-12=26, Resulting Numbers: [96, 26] Generated Node #0,1,3: 56:[96, 26] Operation: 38-12=26 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[12, 58], Operations: ['82-70=12', '96-38=58'] Exploring Operation: 12*58=696, Resulting Numbers: [696] 696,56 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 12+58=70, Resulting Numbers: [70] 70,56 unequal: No Solution No 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: 56:[38, 8], Operations: ['82-70=12', '96/12=8'] Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,56 unequal: No Solution No 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: 56:[38, 84], Operations: ['82-70=12', '96-12=84'] Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 38*84=3192, Resulting Numbers: [3192] 3192,56 unequal: No Solution Exploring Operation: 38+84=122, Resulting Numbers: [122] 122,56 unequal: No Solution No 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: 56:[96, 26], Operations: ['82-70=12', '38-12=26'] Exploring Operation: 96+26=122, Resulting Numbers: [122] 122,56 unequal: No Solution Exploring Operation: 96*26=2496, Resulting Numbers: [2496] 2496,56 unequal: No Solution Exploring Operation: 96-26=70, Resulting Numbers: [70] 70,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 23, 73, 8, 71 ]
19
[ "73-71=2", "8/2=4", "23-4=19" ]
Current State: 19:[23, 73, 8, 71], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [23, 8, 2] Generated Node #2: [23, 8, 2] from Operation: 73-71=2 Current State: 19:[23, 8, 2], Operations: ['73-71=2'] Exploring Operation: 8/2=4, Resulting Numbers: [23, 4] Generated Node #3: [23, 4] from Operation: 8/2=4 Current State: 19:[23, 4], Operations: ['73-71=2', '8/2=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[23, 73, 8, 71], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [23, 8, 2] Generated Node #0,0: 19:[23, 8, 2] Operation: 73-71=2 Exploring Operation: 71-23=48, Resulting Numbers: [73, 8, 48] Generated Node #0,1: 19:[73, 8, 48] Operation: 71-23=48 Exploring Operation: 71-8=63, Resulting Numbers: [23, 73, 63] Generated Node #0,2: 19:[23, 73, 63] Operation: 71-8=63 Exploring Operation: 73-23=50, Resulting Numbers: [8, 71, 50] Generated Node #0,3: 19:[8, 71, 50] Operation: 73-23=50 Exploring Operation: 73-8=65, Resulting Numbers: [23, 71, 65] Generated Node #0,4: 19:[23, 71, 65] Operation: 73-8=65 Moving to Node #0,0 Current State: 19:[23, 8, 2], Operations: ['73-71=2'] Exploring Operation: 23+2=25, Resulting Numbers: [8, 25] Generated Node #0,0,0: 19:[8, 25] Operation: 23+2=25 Exploring Operation: 23-2=21, Resulting Numbers: [8, 21] Generated Node #0,0,1: 19:[8, 21] Operation: 23-2=21 Exploring Operation: 8-2=6, Resulting Numbers: [23, 6] Generated Node #0,0,2: 19:[23, 6] Operation: 8-2=6 Exploring Operation: 8*2=16, Resulting Numbers: [23, 16] Generated Node #0,0,3: 19:[23, 16] Operation: 8*2=16 Exploring Operation: 8+2=10, Resulting Numbers: [23, 10] Generated Node #0,0,4: 19:[23, 10] Operation: 8+2=10 Moving to Node #0,3 Current State: 19:[8, 71, 50], Operations: ['73-23=50'] Exploring Operation: 8+50=58, Resulting Numbers: [71, 58] Generated Node #0,3,0: 19:[71, 58] Operation: 8+50=58 Exploring Operation: 50-8=42, Resulting Numbers: [71, 42] Generated Node #0,3,1: 19:[71, 42] Operation: 50-8=42 Exploring Operation: 71-8=63, Resulting Numbers: [50, 63] Generated Node #0,3,2: 19:[50, 63] Operation: 71-8=63 Exploring Operation: 71-50=21, Resulting Numbers: [8, 21] Generated Node #0,3,3: 19:[8, 21] Operation: 71-50=21 Exploring Operation: 8+71=79, Resulting Numbers: [50, 79] Generated Node #0,3,4: 19:[50, 79] Operation: 8+71=79 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 19:[8, 21], Operations: ['73-23=50', '71-50=21'] Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,19 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 19:[71, 42], Operations: ['73-23=50', '50-8=42'] Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,19 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 19:[50, 63], Operations: ['73-23=50', '71-8=63'] Exploring Operation: 50*63=3150, Resulting Numbers: [3150] 3150,19 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 19:[71, 58], Operations: ['73-23=50', '8+50=58'] Exploring Operation: 71+58=129, Resulting Numbers: [129] 129,19 unequal: No Solution Exploring Operation: 71*58=4118, Resulting Numbers: [4118] 4118,19 unequal: No Solution Exploring Operation: 71-58=13, Resulting Numbers: [13] 13,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 19:[50, 79], Operations: ['73-23=50', '8+71=79'] Exploring Operation: 50+79=129, Resulting Numbers: [129] 129,19 unequal: No Solution Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 50*79=3950, Resulting Numbers: [3950] 3950,19 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: 19:[73, 8, 48], Operations: ['71-23=48'] Exploring Operation: 73+8=81, Resulting Numbers: [48, 81] Generated Node #0,1,0: 19:[48, 81] Operation: 73+8=81 Exploring Operation: 73-48=25, Resulting Numbers: [8, 25] Generated Node #0,1,1: 19:[8, 25] Operation: 73-48=25 Exploring Operation: 48-8=40, Resulting Numbers: [73, 40] Generated Node #0,1,2: 19:[73, 40] Operation: 48-8=40 Exploring Operation: 73-8=65, Resulting Numbers: [48, 65] Generated Node #0,1,3: 19:[48, 65] Operation: 73-8=65 Exploring Operation: 48/8=6, Resulting Numbers: [73, 6] Generated Node #0,1,4: 19:[73, 6] Operation: 48/8=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[8, 25], Operations: ['71-23=48', '73-48=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 19:[73, 6], Operations: ['71-23=48', '48/8=6'] Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,19 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,19 unequal: No Solution Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[73, 40], Operations: ['71-23=48', '48-8=40'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,19 unequal: No Solution Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 19:[48, 65], Operations: ['71-23=48', '73-8=65'] Exploring Operation: 48*65=3120, Resulting Numbers: [3120] 3120,19 unequal: No Solution Exploring Operation: 48+65=113, Resulting Numbers: [113] 113,19 unequal: No Solution Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[48, 81], Operations: ['71-23=48', '73+8=81'] Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 48*81=3888, Resulting Numbers: [3888] 3888,19 unequal: No Solution Exploring Operation: 48+81=129, Resulting Numbers: [129] 129,19 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: 19:[23, 73, 63], Operations: ['71-8=63'] Exploring Operation: 63-23=40, Resulting Numbers: [73, 40] Generated Node #0,2,0: 19:[73, 40] Operation: 63-23=40 Exploring Operation: 73-23=50, Resulting Numbers: [63, 50] Generated Node #0,2,1: 19:[63, 50] Operation: 73-23=50 Exploring Operation: 23+73=96, Resulting Numbers: [63, 96] Generated Node #0,2,2: 19:[63, 96] Operation: 23+73=96 Exploring Operation: 23+63=86, Resulting Numbers: [73, 86] Generated Node #0,2,3: 19:[73, 86] Operation: 23+63=86 Exploring Operation: 73-63=10, Resulting Numbers: [23, 10] Generated Node #0,2,4: 19:[23, 10] Operation: 73-63=10 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 19:[23, 10], Operations: ['71-8=63', '73-63=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,19 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[73, 40], Operations: ['71-8=63', '63-23=40'] Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,19 unequal: No Solution Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,19 unequal: No Solution Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[63, 50], Operations: ['71-8=63', '73-23=50'] Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 63+50=113, Resulting Numbers: [113] 113,19 unequal: No Solution Exploring Operation: 63*50=3150, Resulting Numbers: [3150] 3150,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[63, 96], Operations: ['71-8=63', '23+73=96'] Exploring Operation: 63*96=6048, Resulting Numbers: [6048] 6048,19 unequal: No Solution Exploring Operation: 96-63=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 63+96=159, Resulting Numbers: [159] 159,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 19:[73, 86], Operations: ['71-8=63', '23+63=86'] Exploring Operation: 73*86=6278, Resulting Numbers: [6278] 6278,19 unequal: No Solution Exploring Operation: 73+86=159, Resulting Numbers: [159] 159,19 unequal: No Solution Exploring Operation: 86-73=13, Resulting Numbers: [13] 13,19 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: 19:[23, 71, 65], Operations: ['73-8=65'] Exploring Operation: 71-65=6, Resulting Numbers: [23, 6] Generated Node #0,4,0: 19:[23, 6] Operation: 71-65=6 Exploring Operation: 65-23=42, Resulting Numbers: [71, 42] Generated Node #0,4,1: 19:[71, 42] Operation: 65-23=42 Exploring Operation: 23+65=88, Resulting Numbers: [71, 88] Generated Node #0,4,2: 19:[71, 88] Operation: 23+65=88 Exploring Operation: 23+71=94, Resulting Numbers: [65, 94] Generated Node #0,4,3: 19:[65, 94] Operation: 23+71=94 Exploring Operation: 71-23=48, Resulting Numbers: [65, 48] Generated Node #0,4,4: 19:[65, 48] Operation: 71-23=48 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 19:[23, 6], Operations: ['73-8=65', '71-65=6'] Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 19:[71, 42], Operations: ['73-8=65', '65-23=42'] Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,19 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 19:[65, 48], Operations: ['73-8=65', '71-23=48'] Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 65+48=113, Resulting Numbers: [113] 113,19 unequal: No Solution Exploring Operation: 65*48=3120, Resulting Numbers: [3120] 3120,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 19:[71, 88], Operations: ['73-8=65', '23+65=88'] Exploring Operation: 71+88=159, Resulting Numbers: [159] 159,19 unequal: No Solution Exploring Operation: 71*88=6248, Resulting Numbers: [6248] 6248,19 unequal: No Solution Exploring Operation: 88-71=17, Resulting Numbers: [17] 17,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 19:[65, 94], Operations: ['73-8=65', '23+71=94'] Exploring Operation: 65*94=6110, Resulting Numbers: [6110] 6110,19 unequal: No Solution Exploring Operation: 94-65=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 65+94=159, Resulting Numbers: [159] 159,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 19:[23, 16], Operations: ['73-71=2', '8*2=16'] Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,19 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,19 unequal: No Solution Moving to Node #0,0,4 Current State: 19:[23, 10], Operations: ['73-71=2', '8+2=10'] Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,19 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[8, 21], Operations: ['73-71=2', '23-2=21'] Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,19 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[8, 25], Operations: ['73-71=2', '23+2=25'] Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,19 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[23, 6], Operations: ['73-71=2', '8-2=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,19 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,19 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 85, 51, 31, 53 ]
51
[ "85-31=54", "54-53=1", "51*1=51" ]
Current State: 51:[85, 51, 31, 53], Operations: [] Exploring Operation: 85-31=54, Resulting Numbers: [51, 53, 54] Generated Node #2: [51, 53, 54] from Operation: 85-31=54 Current State: 51:[51, 53, 54], Operations: ['85-31=54'] Exploring Operation: 54-53=1, Resulting Numbers: [51, 1] Generated Node #3: [51, 1] from Operation: 54-53=1 Current State: 51:[51, 1], Operations: ['85-31=54', '54-53=1'] Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[85, 51, 31, 53], Operations: [] Exploring Operation: 85-53=32, Resulting Numbers: [51, 31, 32] Generated Node #0,0: 51:[51, 31, 32] Operation: 85-53=32 Exploring Operation: 85-31=54, Resulting Numbers: [51, 53, 54] Generated Node #0,1: 51:[51, 53, 54] Operation: 85-31=54 Moving to Node #0,1 Current State: 51:[51, 53, 54], Operations: ['85-31=54'] Exploring Operation: 54-51=3, Resulting Numbers: [53, 3] Generated Node #0,1,0: 51:[53, 3] Operation: 54-51=3 Exploring Operation: 54-53=1, Resulting Numbers: [51, 1] Generated Node #0,1,1: 51:[51, 1] Operation: 54-53=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[53, 3], Operations: ['85-31=54', '54-51=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,51 unequal: No Solution No 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: 51:[51, 1], Operations: ['85-31=54', '54-53=1'] Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[85, 51, 31, 53], Operations: [] Exploring Operation: 85-31=54, Resulting Numbers: [51, 53, 54] Generated Node #0,1: 51:[51, 53, 54] Operation: 85-31=54 Moving to Node #0,1 Current State: 51:[51, 53, 54], Operations: ['85-31=54'] Exploring Operation: 54-53=1, Resulting Numbers: [51, 1] Generated Node #0,1,1: 51:[51, 1] Operation: 54-53=1 Moving to Node #0,1,1 Current State: 51:[51, 1], Operations: ['85-31=54', '54-53=1'] Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 87, 23, 2, 75 ]
22
[ "87-23=64", "75-64=11", "2*11=22" ]
Current State: 22:[87, 23, 2, 75], Operations: [] Exploring Operation: 87-23=64, Resulting Numbers: [2, 75, 64] Generated Node #2: [2, 75, 64] from Operation: 87-23=64 Current State: 22:[2, 75, 64], Operations: ['87-23=64'] Exploring Operation: 75-64=11, Resulting Numbers: [2, 11] Generated Node #3: [2, 11] from Operation: 75-64=11 Current State: 22:[2, 11], Operations: ['87-23=64', '75-64=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[87, 23, 2, 75], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [23, 2, 12] Generated Node #0,0: 22:[23, 2, 12] Operation: 87-75=12 Exploring Operation: 87-23=64, Resulting Numbers: [2, 75, 64] Generated Node #0,1: 22:[2, 75, 64] Operation: 87-23=64 Moving to Node #0,0 Current State: 22:[23, 2, 12], Operations: ['87-75=12'] Exploring Operation: 23-12=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 22:[2, 11] Operation: 23-12=11 Exploring Operation: 23-2=21, Resulting Numbers: [12, 21] Generated Node #0,0,1: 22:[12, 21] Operation: 23-2=21 Moving to Node #0,1 Current State: 22:[2, 75, 64], Operations: ['87-23=64'] Exploring Operation: 64/2=32, Resulting Numbers: [75, 32] Generated Node #0,1,0: 22:[75, 32] Operation: 64/2=32 Exploring Operation: 75-64=11, Resulting Numbers: [2, 11] Generated Node #0,1,1: 22:[2, 11] Operation: 75-64=11 Moving to Node #0,0,0 Current State: 22:[2, 11], Operations: ['87-75=12', '23-12=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[87, 23, 2, 75], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [23, 2, 12] Generated Node #0,0: 22:[23, 2, 12] Operation: 87-75=12 Moving to Node #0,0 Current State: 22:[23, 2, 12], Operations: ['87-75=12'] Exploring Operation: 23-12=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 22:[2, 11] Operation: 23-12=11 Moving to Node #0,0,0 Current State: 22:[2, 11], Operations: ['87-75=12', '23-12=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 97, 35, 94, 31 ]
12
[ "97-94=3", "35-31=4", "3*4=12" ]
Current State: 12:[97, 35, 94, 31], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [35, 31, 3] Generated Node #2: [35, 31, 3] from Operation: 97-94=3 Current State: 12:[35, 31, 3], Operations: ['97-94=3'] Exploring Operation: 35-31=4, Resulting Numbers: [3, 4] Generated Node #3: [3, 4] from Operation: 35-31=4 Current State: 12:[3, 4], Operations: ['97-94=3', '35-31=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[97, 35, 94, 31], Operations: [] Exploring Operation: 97-35=62, Resulting Numbers: [94, 31, 62] Generated Node #0,0: 12:[94, 31, 62] Operation: 97-35=62 Exploring Operation: 97-94=3, Resulting Numbers: [35, 31, 3] Generated Node #0,1: 12:[35, 31, 3] Operation: 97-94=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[35, 31, 3], Operations: ['97-94=3'] Exploring Operation: 35-3=32, Resulting Numbers: [31, 32] Generated Node #0,1,0: 12:[31, 32] Operation: 35-3=32 Exploring Operation: 35-31=4, Resulting Numbers: [3, 4] Generated Node #0,1,1: 12:[3, 4] Operation: 35-31=4 Moving to Node #0,1,1 Current State: 12:[3, 4], Operations: ['97-94=3', '35-31=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[97, 35, 94, 31], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [35, 31, 3] Generated Node #0,1: 12:[35, 31, 3] Operation: 97-94=3 Moving to Node #0,1 Current State: 12:[35, 31, 3], Operations: ['97-94=3'] Exploring Operation: 35-31=4, Resulting Numbers: [3, 4] Generated Node #0,1,1: 12:[3, 4] Operation: 35-31=4 Moving to Node #0,1,1 Current State: 12:[3, 4], Operations: ['97-94=3', '35-31=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 95, 82, 74, 93 ]
45
[ "95-93=2", "74/2=37", "82-37=45" ]
Current State: 45:[95, 82, 74, 93], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [82, 74, 2] Generated Node #2: [82, 74, 2] from Operation: 95-93=2 Current State: 45:[82, 74, 2], Operations: ['95-93=2'] Exploring Operation: 74/2=37, Resulting Numbers: [82, 37] Generated Node #3: [82, 37] from Operation: 74/2=37 Current State: 45:[82, 37], Operations: ['95-93=2', '74/2=37'] Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[95, 82, 74, 93], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [82, 74, 2] Generated Node #0,0: 45:[82, 74, 2] Operation: 95-93=2 Exploring Operation: 93-82=11, Resulting Numbers: [95, 74, 11] Generated Node #0,1: 45:[95, 74, 11] Operation: 93-82=11 Exploring Operation: 95-82=13, Resulting Numbers: [74, 93, 13] Generated Node #0,2: 45:[74, 93, 13] Operation: 95-82=13 Exploring Operation: 95-74=21, Resulting Numbers: [82, 93, 21] Generated Node #0,3: 45:[82, 93, 21] Operation: 95-74=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[82, 74, 2], Operations: ['95-93=2'] Exploring Operation: 82-2=80, Resulting Numbers: [74, 80] Generated Node #0,0,0: 45:[74, 80] Operation: 82-2=80 Exploring Operation: 74/2=37, Resulting Numbers: [82, 37] Generated Node #0,0,1: 45:[82, 37] Operation: 74/2=37 Exploring Operation: 82/2=41, Resulting Numbers: [74, 41] Generated Node #0,0,2: 45:[74, 41] Operation: 82/2=41 Exploring Operation: 82-74=8, Resulting Numbers: [2, 8] Generated Node #0,0,3: 45:[2, 8] Operation: 82-74=8 Moving to Node #0,0,3 Current State: 45:[2, 8], Operations: ['95-93=2', '82-74=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,45 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[74, 41], Operations: ['95-93=2', '82/2=41'] Exploring Operation: 74*41=3034, Resulting Numbers: [3034] 3034,45 unequal: No Solution Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 74+41=115, Resulting Numbers: [115] 115,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[82, 37], Operations: ['95-93=2', '74/2=37'] Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,45 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[95, 82, 74, 93], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [82, 74, 2] Generated Node #0,0: 45:[82, 74, 2] Operation: 95-93=2 Moving to Node #0,0 Current State: 45:[82, 74, 2], Operations: ['95-93=2'] Exploring Operation: 74/2=37, Resulting Numbers: [82, 37] Generated Node #0,0,1: 45:[82, 37] Operation: 74/2=37 Moving to Node #0,0,1 Current State: 45:[82, 37], Operations: ['95-93=2', '74/2=37'] Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 48, 99, 81, 56 ]
86
[ "99-48=51", "81+56=137", "137-51=86" ]
Current State: 86:[48, 99, 81, 56], Operations: [] Exploring Operation: 99-48=51, Resulting Numbers: [81, 56, 51] Generated Node #2: [81, 56, 51] from Operation: 99-48=51 Current State: 86:[81, 56, 51], Operations: ['99-48=51'] Exploring Operation: 81+56=137, Resulting Numbers: [51, 137] Generated Node #3: [51, 137] from Operation: 81+56=137 Current State: 86:[51, 137], Operations: ['99-48=51', '81+56=137'] Exploring Operation: 137-51=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[48, 99, 81, 56], Operations: [] Exploring Operation: 56-48=8, Resulting Numbers: [99, 81, 8] Generated Node #0,0: 86:[99, 81, 8] Operation: 56-48=8 Exploring Operation: 99-48=51, Resulting Numbers: [81, 56, 51] Generated Node #0,1: 86:[81, 56, 51] Operation: 99-48=51 Exploring Operation: 99-56=43, Resulting Numbers: [48, 81, 43] Generated Node #0,2: 86:[48, 81, 43] Operation: 99-56=43 Moving to Node #0,2 Current State: 86:[48, 81, 43], Operations: ['99-56=43'] Exploring Operation: 48+43=91, Resulting Numbers: [81, 91] Generated Node #0,2,0: 86:[81, 91] Operation: 48+43=91 Exploring Operation: 81-48=33, Resulting Numbers: [43, 33] Generated Node #0,2,1: 86:[43, 33] Operation: 81-48=33 Exploring Operation: 48-43=5, Resulting Numbers: [81, 5] Generated Node #0,2,2: 86:[81, 5] Operation: 48-43=5 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[81, 5], Operations: ['99-56=43', '48-43=5'] Exploring Operation: 81*5=405, Resulting Numbers: [405] 405,86 unequal: No Solution Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[48, 99, 81, 56], Operations: [] Exploring Operation: 99-56=43, Resulting Numbers: [48, 81, 43] Generated Node #0,2: 86:[48, 81, 43] Operation: 99-56=43 Moving to Node #0,2 Current State: 86:[48, 81, 43], Operations: ['99-56=43'] Exploring Operation: 48-43=5, Resulting Numbers: [81, 5] Generated Node #0,2,2: 86:[81, 5] Operation: 48-43=5 Moving to Node #0,2,2 Current State: 86:[81, 5], Operations: ['99-56=43', '48-43=5'] Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 68, 70, 39, 92 ]
26
[ "68+70=138", "39*92=3588", "3588/138=26" ]
Current State: 26:[68, 70, 39, 92], Operations: [] Exploring Operation: 68+70=138, Resulting Numbers: [39, 92, 138] Generated Node #2: [39, 92, 138] from Operation: 68+70=138 Current State: 26:[39, 92, 138], Operations: ['68+70=138'] Exploring Operation: 39*92=3588, Resulting Numbers: [138, 3588] Generated Node #3: [138, 3588] from Operation: 39*92=3588 Current State: 26:[138, 3588], Operations: ['68+70=138', '39*92=3588'] Exploring Operation: 3588/138=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[68, 70, 39, 92], Operations: [] Exploring Operation: 92-68=24, Resulting Numbers: [70, 39, 24] Generated Node #0,0: 26:[70, 39, 24] Operation: 92-68=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[70, 39, 24], Operations: ['92-68=24'] Exploring Operation: 70-39=31, Resulting Numbers: [24, 31] Generated Node #0,0,0: 26:[24, 31] Operation: 70-39=31 Moving to Node #0,0,0 Current State: 26:[24, 31], Operations: ['92-68=24', '70-39=31'] Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 64, 79, 95, 17 ]
97
[ "79-64=15", "95+17=112", "112-15=97" ]
Current State: 97:[64, 79, 95, 17], Operations: [] Exploring Operation: 79-64=15, Resulting Numbers: [95, 17, 15] Generated Node #2: [95, 17, 15] from Operation: 79-64=15 Current State: 97:[95, 17, 15], Operations: ['79-64=15'] Exploring Operation: 95+17=112, Resulting Numbers: [15, 112] Generated Node #3: [15, 112] from Operation: 95+17=112 Current State: 97:[15, 112], Operations: ['79-64=15', '95+17=112'] Exploring Operation: 112-15=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[64, 79, 95, 17], Operations: [] Exploring Operation: 64+17=81, Resulting Numbers: [79, 95, 81] Generated Node #0,0: 97:[79, 95, 81] Operation: 64+17=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[79, 95, 81], Operations: ['64+17=81'] Exploring Operation: 79+81=160, Resulting Numbers: [95, 160] Generated Node #0,0,0: 97:[95, 160] Operation: 79+81=160 Moving to Node #0,0,0 Current State: 97:[95, 160], Operations: ['64+17=81', '79+81=160'] Exploring Operation: 160-95=65, Resulting Numbers: [65] 65,97 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
[ 17, 4, 32, 54 ]
63
[ "17+54=71", "32/4=8", "71-8=63" ]
Current State: 63:[17, 4, 32, 54], Operations: [] Exploring Operation: 17+54=71, Resulting Numbers: [4, 32, 71] Generated Node #2: [4, 32, 71] from Operation: 17+54=71 Current State: 63:[4, 32, 71], Operations: ['17+54=71'] Exploring Operation: 32/4=8, Resulting Numbers: [71, 8] Generated Node #3: [71, 8] from Operation: 32/4=8 Current State: 63:[71, 8], Operations: ['17+54=71', '32/4=8'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[17, 4, 32, 54], Operations: [] Exploring Operation: 32/4=8, Resulting Numbers: [17, 54, 8] Generated Node #0,0: 63:[17, 54, 8] Operation: 32/4=8 Exploring Operation: 54-32=22, Resulting Numbers: [17, 4, 22] Generated Node #0,1: 63:[17, 4, 22] Operation: 54-32=22 Exploring Operation: 32-17=15, Resulting Numbers: [4, 54, 15] Generated Node #0,2: 63:[4, 54, 15] Operation: 32-17=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[17, 4, 22], Operations: ['54-32=22'] Exploring Operation: 17-4=13, Resulting Numbers: [22, 13] Generated Node #0,1,0: 63:[22, 13] Operation: 17-4=13 Exploring Operation: 17+4=21, Resulting Numbers: [22, 21] Generated Node #0,1,1: 63:[22, 21] Operation: 17+4=21 Exploring Operation: 22-17=5, Resulting Numbers: [4, 5] Generated Node #0,1,2: 63:[4, 5] Operation: 22-17=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[22, 21], Operations: ['54-32=22', '17+4=21'] Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,63 unequal: No Solution Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 63:[4, 5], Operations: ['54-32=22', '22-17=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[22, 13], Operations: ['54-32=22', '17-4=13'] Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,63 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[17, 54, 8], Operations: ['32/4=8'] Exploring Operation: 17+54=71, Resulting Numbers: [8, 71] Generated Node #0,0,0: 63:[8, 71] Operation: 17+54=71 Exploring Operation: 54+8=62, Resulting Numbers: [17, 62] Generated Node #0,0,1: 63:[17, 62] Operation: 54+8=62 Exploring Operation: 17-8=9, Resulting Numbers: [54, 9] Generated Node #0,0,2: 63:[54, 9] Operation: 17-8=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[17, 62], Operations: ['32/4=8', '54+8=62'] Exploring Operation: 17+62=79, Resulting Numbers: [79] 79,63 unequal: No Solution Exploring Operation: 17*62=1054, Resulting Numbers: [1054] 1054,63 unequal: No Solution Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[8, 71], Operations: ['32/4=8', '17+54=71'] Exploring Operation: 8*71=568, Resulting Numbers: [568] 568,63 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[17, 4, 32, 54], Operations: [] Exploring Operation: 32/4=8, Resulting Numbers: [17, 54, 8] Generated Node #0,0: 63:[17, 54, 8] Operation: 32/4=8 Moving to Node #0,0 Current State: 63:[17, 54, 8], Operations: ['32/4=8'] Exploring Operation: 17+54=71, Resulting Numbers: [8, 71] Generated Node #0,0,0: 63:[8, 71] Operation: 17+54=71 Moving to Node #0,0,0 Current State: 63:[8, 71], Operations: ['32/4=8', '17+54=71'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 85, 99, 69, 2 ]
41
[ "99-85=14", "2*14=28", "69-28=41" ]
Current State: 41:[85, 99, 69, 2], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [69, 2, 14] Generated Node #2: [69, 2, 14] from Operation: 99-85=14 Current State: 41:[69, 2, 14], Operations: ['99-85=14'] Exploring Operation: 2*14=28, Resulting Numbers: [69, 28] Generated Node #3: [69, 28] from Operation: 2*14=28 Current State: 41:[69, 28], Operations: ['99-85=14', '2*14=28'] Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[85, 99, 69, 2], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [69, 2, 14] Generated Node #0,0: 41:[69, 2, 14] Operation: 99-85=14 Moving to Node #0,0 Current State: 41:[69, 2, 14], Operations: ['99-85=14'] Exploring Operation: 2*14=28, Resulting Numbers: [69, 28] Generated Node #0,0,0: 41:[69, 28] Operation: 2*14=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[69, 28], Operations: ['99-85=14', '2*14=28'] Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[85, 99, 69, 2], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [69, 2, 14] Generated Node #0,0: 41:[69, 2, 14] Operation: 99-85=14 Moving to Node #0,0 Current State: 41:[69, 2, 14], Operations: ['99-85=14'] Exploring Operation: 2*14=28, Resulting Numbers: [69, 28] Generated Node #0,0,0: 41:[69, 28] Operation: 2*14=28 Moving to Node #0,0,0 Current State: 41:[69, 28], Operations: ['99-85=14', '2*14=28'] Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 20, 32, 68, 36 ]
92
[ "32-20=12", "68+36=104", "104-12=92" ]
Current State: 92:[20, 32, 68, 36], Operations: [] Exploring Operation: 32-20=12, Resulting Numbers: [68, 36, 12] Generated Node #2: [68, 36, 12] from Operation: 32-20=12 Current State: 92:[68, 36, 12], Operations: ['32-20=12'] Exploring Operation: 68+36=104, Resulting Numbers: [12, 104] Generated Node #3: [12, 104] from Operation: 68+36=104 Current State: 92:[12, 104], Operations: ['32-20=12', '68+36=104'] Exploring Operation: 104-12=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[20, 32, 68, 36], Operations: [] Exploring Operation: 32+68=100, Resulting Numbers: [20, 36, 100] Generated Node #0,0: 92:[20, 36, 100] Operation: 32+68=100 Exploring Operation: 68-20=48, Resulting Numbers: [32, 36, 48] Generated Node #0,1: 92:[32, 36, 48] Operation: 68-20=48 Exploring Operation: 68-32=36, Resulting Numbers: [20, 36, 36] Generated Node #0,2: 92:[20, 36, 36] Operation: 68-32=36 Exploring Operation: 20+68=88, Resulting Numbers: [32, 36, 88] Generated Node #0,3: 92:[32, 36, 88] Operation: 20+68=88 Exploring Operation: 68-36=32, Resulting Numbers: [20, 32, 32] Generated Node #0,4: 92:[20, 32, 32] Operation: 68-36=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[20, 36, 100], Operations: ['32+68=100'] Exploring Operation: 100-36=64, Resulting Numbers: [20, 64] Generated Node #0,0,0: 92:[20, 64] Operation: 100-36=64 Exploring Operation: 20+36=56, Resulting Numbers: [100, 56] Generated Node #0,0,1: 92:[100, 56] Operation: 20+36=56 Exploring Operation: 100/20=5, Resulting Numbers: [36, 5] Generated Node #0,0,2: 92:[36, 5] Operation: 100/20=5 Exploring Operation: 100-20=80, Resulting Numbers: [36, 80] Generated Node #0,0,3: 92:[36, 80] Operation: 100-20=80 Exploring Operation: 36-20=16, Resulting Numbers: [100, 16] Generated Node #0,0,4: 92:[100, 16] Operation: 36-20=16 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 92:[36, 5], Operations: ['32+68=100', '100/20=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,92 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 92:[100, 16], Operations: ['32+68=100', '36-20=16'] Exploring Operation: 100*16=1600, Resulting Numbers: [1600] 1600,92 unequal: No Solution Exploring Operation: 100-16=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 100+16=116, Resulting Numbers: [116] 116,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[100, 56], Operations: ['32+68=100', '20+36=56'] Exploring Operation: 100-56=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 100+56=156, Resulting Numbers: [156] 156,92 unequal: No Solution Exploring Operation: 100*56=5600, Resulting Numbers: [5600] 5600,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[20, 64], Operations: ['32+68=100', '100-36=64'] Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 20*64=1280, Resulting Numbers: [1280] 1280,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 92:[36, 80], Operations: ['32+68=100', '100-20=80'] Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,92 unequal: No Solution Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[32, 36, 48], Operations: ['68-20=48'] Exploring Operation: 48-36=12, Resulting Numbers: [32, 12] Generated Node #0,1,0: 92:[32, 12] Operation: 48-36=12 Exploring Operation: 36-32=4, Resulting Numbers: [48, 4] Generated Node #0,1,1: 92:[48, 4] Operation: 36-32=4 Exploring Operation: 48-32=16, Resulting Numbers: [36, 16] Generated Node #0,1,2: 92:[36, 16] Operation: 48-32=16 Exploring Operation: 36+48=84, Resulting Numbers: [32, 84] Generated Node #0,1,3: 92:[32, 84] Operation: 36+48=84 Exploring Operation: 32+48=80, Resulting Numbers: [36, 80] Generated Node #0,1,4: 92:[36, 80] Operation: 32+48=80 Moving to Node #0,1,1 Current State: 92:[48, 4], Operations: ['68-20=48', '36-32=4'] Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,92 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[36, 16], Operations: ['68-20=48', '48-32=16'] Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,92 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[32, 12], Operations: ['68-20=48', '48-36=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,92 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[32, 84], Operations: ['68-20=48', '36+48=84'] Exploring Operation: 84-32=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 32+84=116, Resulting Numbers: [116] 116,92 unequal: No Solution Exploring Operation: 32*84=2688, Resulting Numbers: [2688] 2688,92 unequal: No Solution Moving to Node #0,1,4 Current State: 92:[36, 80], Operations: ['68-20=48', '32+48=80'] Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,92 unequal: No Solution Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,92 unequal: No Solution Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,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,4 Current State: 92:[20, 32, 32], Operations: ['68-36=32'] Exploring Operation: 20+32=52, Resulting Numbers: [32, 52] Generated Node #0,4,0: 92:[32, 52] Operation: 20+32=52 Exploring Operation: 32-20=12, Resulting Numbers: [32, 12] Generated Node #0,4,1: 92:[32, 12] Operation: 32-20=12 Exploring Operation: 32-32=0, Resulting Numbers: [20, 0] Generated Node #0,4,2: 92:[20, 0] Operation: 32-32=0 Exploring Operation: 32/32=1, Resulting Numbers: [20, 1] Generated Node #0,4,3: 92:[20, 1] Operation: 32/32=1 Exploring Operation: 20+32=52, Resulting Numbers: [32, 52] Generated Node #0,4,4: 92:[32, 52] Operation: 20+32=52 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 92:[20, 1], Operations: ['68-36=32', '32/32=1'] Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 92:[20, 0], Operations: ['68-36=32', '32-32=0'] Exploring Operation: 20+0=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 20*0=0, Resulting Numbers: [0] 0,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 92:[32, 52], Operations: ['68-36=32', '20+32=52'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 92:[32, 52], Operations: ['68-36=32', '20+32=52'] Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,92 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 92:[32, 12], Operations: ['68-36=32', '32-20=12'] Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,92 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[20, 36, 36], Operations: ['68-32=36'] Exploring Operation: 36/36=1, Resulting Numbers: [20, 1] Generated Node #0,2,0: 92:[20, 1] Operation: 36/36=1 Exploring Operation: 20+36=56, Resulting Numbers: [36, 56] Generated Node #0,2,1: 92:[36, 56] Operation: 20+36=56 Exploring Operation: 36-20=16, Resulting Numbers: [36, 16] Generated Node #0,2,2: 92:[36, 16] Operation: 36-20=16 Exploring Operation: 36-20=16, Resulting Numbers: [36, 16] Generated Node #0,2,3: 92:[36, 16] Operation: 36-20=16 Exploring Operation: 36-36=0, Resulting Numbers: [20, 0] Generated Node #0,2,4: 92:[20, 0] Operation: 36-36=0 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[20, 1], Operations: ['68-32=36', '36/36=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 92:[20, 0], Operations: ['68-32=36', '36-36=0'] Exploring Operation: 20+0=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 20*0=0, Resulting Numbers: [0] 0,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[36, 16], Operations: ['68-32=36', '36-20=16'] Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,92 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 92:[36, 16], Operations: ['68-32=36', '36-20=16'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,92 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 92:[36, 56], Operations: ['68-32=36', '20+36=56'] Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 36+56=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[20, 32, 68, 36], Operations: [] Exploring Operation: 68-32=36, Resulting Numbers: [20, 36, 36] Generated Node #0,2: 92:[20, 36, 36] Operation: 68-32=36 Moving to Node #0,2 Current State: 92:[20, 36, 36], Operations: ['68-32=36'] Exploring Operation: 20+36=56, Resulting Numbers: [36, 56] Generated Node #0,2,1: 92:[36, 56] Operation: 20+36=56 Moving to Node #0,2,1 Current State: 92:[36, 56], Operations: ['68-32=36', '20+36=56'] Exploring Operation: 36+56=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.921007
hs_5
mult_heuristic
[ 25, 32, 43, 54 ]
40
[ "25+32=57", "43+54=97", "97-57=40" ]
Current State: 40:[25, 32, 43, 54], Operations: [] Exploring Operation: 25+32=57, Resulting Numbers: [43, 54, 57] Generated Node #2: [43, 54, 57] from Operation: 25+32=57 Current State: 40:[43, 54, 57], Operations: ['25+32=57'] Exploring Operation: 43+54=97, Resulting Numbers: [57, 97] Generated Node #3: [57, 97] from Operation: 43+54=97 Current State: 40:[57, 97], Operations: ['25+32=57', '43+54=97'] Exploring Operation: 97-57=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[25, 32, 43, 54], Operations: [] Exploring Operation: 54-32=22, Resulting Numbers: [25, 43, 22] Generated Node #0,0: 40:[25, 43, 22] Operation: 54-32=22 Exploring Operation: 32-25=7, Resulting Numbers: [43, 54, 7] Generated Node #0,1: 40:[43, 54, 7] Operation: 32-25=7 Exploring Operation: 54-43=11, Resulting Numbers: [25, 32, 11] Generated Node #0,2: 40:[25, 32, 11] Operation: 54-43=11 Exploring Operation: 43-32=11, Resulting Numbers: [25, 54, 11] Generated Node #0,3: 40:[25, 54, 11] Operation: 43-32=11 Exploring Operation: 54-25=29, Resulting Numbers: [32, 43, 29] Generated Node #0,4: 40:[32, 43, 29] Operation: 54-25=29 Moving to Node #0,0 Current State: 40:[25, 43, 22], Operations: ['54-32=22'] Exploring Operation: 25+43=68, Resulting Numbers: [22, 68] Generated Node #0,0,0: 40:[22, 68] Operation: 25+43=68 Exploring Operation: 25-22=3, Resulting Numbers: [43, 3] Generated Node #0,0,1: 40:[43, 3] Operation: 25-22=3 Exploring Operation: 25+22=47, Resulting Numbers: [43, 47] Generated Node #0,0,2: 40:[43, 47] Operation: 25+22=47 Exploring Operation: 43-22=21, Resulting Numbers: [25, 21] Generated Node #0,0,3: 40:[25, 21] Operation: 43-22=21 Exploring Operation: 43-25=18, Resulting Numbers: [22, 18] Generated Node #0,0,4: 40:[22, 18] Operation: 43-25=18 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[43, 3], Operations: ['54-32=22', '25-22=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[25, 32, 43, 54], Operations: [] Exploring Operation: 54-32=22, Resulting Numbers: [25, 43, 22] Generated Node #0,0: 40:[25, 43, 22] Operation: 54-32=22 Moving to Node #0,0 Current State: 40:[25, 43, 22], Operations: ['54-32=22'] Exploring Operation: 25-22=3, Resulting Numbers: [43, 3] Generated Node #0,0,1: 40:[43, 3] Operation: 25-22=3 Moving to Node #0,0,1 Current State: 40:[43, 3], Operations: ['54-32=22', '25-22=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 62, 43, 57, 55 ]
52
[ "62-43=19", "57/19=3", "55-3=52" ]
Current State: 52:[62, 43, 57, 55], Operations: [] Exploring Operation: 62-43=19, Resulting Numbers: [57, 55, 19] Generated Node #2: [57, 55, 19] from Operation: 62-43=19 Current State: 52:[57, 55, 19], Operations: ['62-43=19'] Exploring Operation: 57/19=3, Resulting Numbers: [55, 3] Generated Node #3: [55, 3] from Operation: 57/19=3 Current State: 52:[55, 3], Operations: ['62-43=19', '57/19=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[62, 43, 57, 55], Operations: [] Exploring Operation: 62-57=5, Resulting Numbers: [43, 55, 5] Generated Node #0,0: 52:[43, 55, 5] Operation: 62-57=5 Exploring Operation: 55-43=12, Resulting Numbers: [62, 57, 12] Generated Node #0,1: 52:[62, 57, 12] Operation: 55-43=12 Exploring Operation: 62-43=19, Resulting Numbers: [57, 55, 19] Generated Node #0,2: 52:[57, 55, 19] Operation: 62-43=19 Exploring Operation: 57-43=14, Resulting Numbers: [62, 55, 14] Generated Node #0,3: 52:[62, 55, 14] Operation: 57-43=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[43, 55, 5], Operations: ['62-57=5'] Exploring Operation: 55-43=12, Resulting Numbers: [5, 12] Generated Node #0,0,0: 52:[5, 12] Operation: 55-43=12 Exploring Operation: 43+5=48, Resulting Numbers: [55, 48] Generated Node #0,0,1: 52:[55, 48] Operation: 43+5=48 Exploring Operation: 55-5=50, Resulting Numbers: [43, 50] Generated Node #0,0,2: 52:[43, 50] Operation: 55-5=50 Exploring Operation: 55/5=11, Resulting Numbers: [43, 11] Generated Node #0,0,3: 52:[43, 11] Operation: 55/5=11 Moving to Node #0,0,0 Current State: 52:[5, 12], Operations: ['62-57=5', '55-43=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[55, 48], Operations: ['62-57=5', '43+5=48'] Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,52 unequal: No Solution Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[43, 11], Operations: ['62-57=5', '55/5=11'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,52 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,52 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[43, 50], Operations: ['62-57=5', '55-5=50'] Exploring Operation: 43*50=2150, Resulting Numbers: [2150] 2150,52 unequal: No Solution Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 43+50=93, Resulting Numbers: [93] 93,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,2 Current State: 52:[57, 55, 19], Operations: ['62-43=19'] Exploring Operation: 55-19=36, Resulting Numbers: [57, 36] Generated Node #0,2,0: 52:[57, 36] Operation: 55-19=36 Exploring Operation: 57-55=2, Resulting Numbers: [19, 2] Generated Node #0,2,1: 52:[19, 2] Operation: 57-55=2 Exploring Operation: 57-19=38, Resulting Numbers: [55, 38] Generated Node #0,2,2: 52:[55, 38] Operation: 57-19=38 Exploring Operation: 57/19=3, Resulting Numbers: [55, 3] Generated Node #0,2,3: 52:[55, 3] Operation: 57/19=3 Moving to Node #0,2,3 Current State: 52:[55, 3], Operations: ['62-43=19', '57/19=3'] Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,52 unequal: No Solution Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[62, 43, 57, 55], Operations: [] Exploring Operation: 62-43=19, Resulting Numbers: [57, 55, 19] Generated Node #0,2: 52:[57, 55, 19] Operation: 62-43=19 Moving to Node #0,2 Current State: 52:[57, 55, 19], Operations: ['62-43=19'] Exploring Operation: 57/19=3, Resulting Numbers: [55, 3] Generated Node #0,2,3: 52:[55, 3] Operation: 57/19=3 Moving to Node #0,2,3 Current State: 52:[55, 3], Operations: ['62-43=19', '57/19=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 80, 5, 73, 35 ]
82
[ "80-35=45", "45/5=9", "73+9=82" ]
Current State: 82:[80, 5, 73, 35], Operations: [] Exploring Operation: 80-35=45, Resulting Numbers: [5, 73, 45] Generated Node #2: [5, 73, 45] from Operation: 80-35=45 Current State: 82:[5, 73, 45], Operations: ['80-35=45'] Exploring Operation: 45/5=9, Resulting Numbers: [73, 9] Generated Node #3: [73, 9] from Operation: 45/5=9 Current State: 82:[73, 9], Operations: ['80-35=45', '45/5=9'] Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[80, 5, 73, 35], Operations: [] Exploring Operation: 73-35=38, Resulting Numbers: [80, 5, 38] Generated Node #0,0: 82:[80, 5, 38] Operation: 73-35=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[80, 5, 38], Operations: ['73-35=38'] Exploring Operation: 80-38=42, Resulting Numbers: [5, 42] Generated Node #0,0,0: 82:[5, 42] Operation: 80-38=42 Moving to Node #0,0,0 Current State: 82:[5, 42], Operations: ['73-35=38', '80-38=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 2, 10, 2, 9 ]
76
[ "2+2=4", "10+9=19", "4*19=76" ]
Current State: 76:[2, 10, 2, 9], Operations: [] Exploring Operation: 2+2=4, Resulting Numbers: [10, 9, 4] Generated Node #2: [10, 9, 4] from Operation: 2+2=4 Current State: 76:[10, 9, 4], Operations: ['2+2=4'] Exploring Operation: 10+9=19, Resulting Numbers: [4, 19] Generated Node #3: [4, 19] from Operation: 10+9=19 Current State: 76:[4, 19], Operations: ['2+2=4', '10+9=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[2, 10, 2, 9], Operations: [] Exploring Operation: 10/2=5, Resulting Numbers: [2, 9, 5] Generated Node #0,0: 76:[2, 9, 5] Operation: 10/2=5 Exploring Operation: 10+9=19, Resulting Numbers: [2, 2, 19] Generated Node #0,1: 76:[2, 2, 19] Operation: 10+9=19 Exploring Operation: 2*10=20, Resulting Numbers: [2, 9, 20] Generated Node #0,2: 76:[2, 9, 20] Operation: 2*10=20 Exploring Operation: 10*2=20, Resulting Numbers: [2, 9, 20] Generated Node #0,3: 76:[2, 9, 20] Operation: 10*2=20 Exploring Operation: 10-9=1, Resulting Numbers: [2, 2, 1] Generated Node #0,4: 76:[2, 2, 1] Operation: 10-9=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[2, 2, 19], Operations: ['10+9=19'] Exploring Operation: 2+2=4, Resulting Numbers: [19, 4] Generated Node #0,1,0: 76:[19, 4] Operation: 2+2=4 Exploring Operation: 2*2=4, Resulting Numbers: [19, 4] Generated Node #0,1,1: 76:[19, 4] Operation: 2*2=4 Exploring Operation: 2*19=38, Resulting Numbers: [2, 38] Generated Node #0,1,2: 76:[2, 38] Operation: 2*19=38 Exploring Operation: 2/2=1, Resulting Numbers: [19, 1] Generated Node #0,1,3: 76:[19, 1] Operation: 2/2=1 Exploring Operation: 2*19=38, Resulting Numbers: [2, 38] Generated Node #0,1,4: 76:[2, 38] Operation: 2*19=38 Moving to Node #0,1,0 Current State: 76:[19, 4], Operations: ['10+9=19', '2+2=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[2, 10, 2, 9], Operations: [] Exploring Operation: 10+9=19, Resulting Numbers: [2, 2, 19] Generated Node #0,1: 76:[2, 2, 19] Operation: 10+9=19 Moving to Node #0,1 Current State: 76:[2, 2, 19], Operations: ['10+9=19'] Exploring Operation: 2+2=4, Resulting Numbers: [19, 4] Generated Node #0,1,0: 76:[19, 4] Operation: 2+2=4 Moving to Node #0,1,0 Current State: 76:[19, 4], Operations: ['10+9=19', '2+2=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 21, 10, 81, 9 ]
61
[ "21-10=11", "81-9=72", "72-11=61" ]
Current State: 61:[21, 10, 81, 9], Operations: [] Exploring Operation: 21-10=11, Resulting Numbers: [81, 9, 11] Generated Node #2: [81, 9, 11] from Operation: 21-10=11 Current State: 61:[81, 9, 11], Operations: ['21-10=11'] Exploring Operation: 81-9=72, Resulting Numbers: [11, 72] Generated Node #3: [11, 72] from Operation: 81-9=72 Current State: 61:[11, 72], Operations: ['21-10=11', '81-9=72'] Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[21, 10, 81, 9], Operations: [] Exploring Operation: 21+9=30, Resulting Numbers: [10, 81, 30] Generated Node #0,0: 61:[10, 81, 30] Operation: 21+9=30 Exploring Operation: 10*9=90, Resulting Numbers: [21, 81, 90] Generated Node #0,1: 61:[21, 81, 90] Operation: 10*9=90 Exploring Operation: 21+10=31, Resulting Numbers: [81, 9, 31] Generated Node #0,2: 61:[81, 9, 31] Operation: 21+10=31 Exploring Operation: 81-10=71, Resulting Numbers: [21, 9, 71] Generated Node #0,3: 61:[21, 9, 71] Operation: 81-10=71 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[21, 81, 90], Operations: ['10*9=90'] Exploring Operation: 81-21=60, Resulting Numbers: [90, 60] Generated Node #0,1,0: 61:[90, 60] Operation: 81-21=60 Exploring Operation: 90-21=69, Resulting Numbers: [81, 69] Generated Node #0,1,1: 61:[81, 69] Operation: 90-21=69 Exploring Operation: 21+90=111, Resulting Numbers: [81, 111] Generated Node #0,1,2: 61:[81, 111] Operation: 21+90=111 Exploring Operation: 21+81=102, Resulting Numbers: [90, 102] Generated Node #0,1,3: 61:[90, 102] Operation: 21+81=102 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[81, 69], Operations: ['10*9=90', '90-21=69'] Exploring Operation: 81*69=5589, Resulting Numbers: [5589] 5589,61 unequal: No Solution Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 81+69=150, Resulting Numbers: [150] 150,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:[90, 60], Operations: ['10*9=90', '81-21=60'] Exploring Operation: 90+60=150, Resulting Numbers: [150] 150,61 unequal: No Solution Exploring Operation: 90*60=5400, Resulting Numbers: [5400] 5400,61 unequal: No Solution Exploring Operation: 90-60=30, Resulting Numbers: [30] 30,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 61:[81, 111], Operations: ['10*9=90', '21+90=111'] Exploring Operation: 81+111=192, Resulting Numbers: [192] 192,61 unequal: No Solution Exploring Operation: 111-81=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 81*111=8991, Resulting Numbers: [8991] 8991,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,3 Current State: 61:[90, 102], Operations: ['10*9=90', '21+81=102'] Exploring Operation: 102-90=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 90*102=9180, Resulting Numbers: [9180] 9180,61 unequal: No Solution Exploring Operation: 90+102=192, Resulting Numbers: [192] 192,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,0 Current State: 61:[10, 81, 30], Operations: ['21+9=30'] Exploring Operation: 10+81=91, Resulting Numbers: [30, 91] Generated Node #0,0,0: 61:[30, 91] Operation: 10+81=91 Exploring Operation: 30-10=20, Resulting Numbers: [81, 20] Generated Node #0,0,1: 61:[81, 20] Operation: 30-10=20 Exploring Operation: 10+30=40, Resulting Numbers: [81, 40] Generated Node #0,0,2: 61:[81, 40] Operation: 10+30=40 Exploring Operation: 81-10=71, Resulting Numbers: [30, 71] Generated Node #0,0,3: 61:[30, 71] Operation: 81-10=71 Moving to Node #0,0,2 Current State: 61:[81, 40], Operations: ['21+9=30', '10+30=40'] Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,61 unequal: No Solution Exploring Operation: 81+40=121, Resulting Numbers: [121] 121,61 unequal: No Solution Exploring Operation: 81*40=3240, Resulting Numbers: [3240] 3240,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[30, 71], Operations: ['21+9=30', '81-10=71'] Exploring Operation: 30+71=101, Resulting Numbers: [101] 101,61 unequal: No Solution Exploring Operation: 30*71=2130, Resulting Numbers: [2130] 2130,61 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[81, 20], Operations: ['21+9=30', '30-10=20'] Exploring Operation: 81-20=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[21, 10, 81, 9], Operations: [] Exploring Operation: 21+9=30, Resulting Numbers: [10, 81, 30] Generated Node #0,0: 61:[10, 81, 30] Operation: 21+9=30 Moving to Node #0,0 Current State: 61:[10, 81, 30], Operations: ['21+9=30'] Exploring Operation: 30-10=20, Resulting Numbers: [81, 20] Generated Node #0,0,1: 61:[81, 20] Operation: 30-10=20 Moving to Node #0,0,1 Current State: 61:[81, 20], Operations: ['21+9=30', '30-10=20'] Exploring Operation: 81-20=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 57, 80, 46, 85 ]
87
[ "80-57=23", "46/23=2", "85+2=87" ]
Current State: 87:[57, 80, 46, 85], Operations: [] Exploring Operation: 80-57=23, Resulting Numbers: [46, 85, 23] Generated Node #2: [46, 85, 23] from Operation: 80-57=23 Current State: 87:[46, 85, 23], Operations: ['80-57=23'] Exploring Operation: 46/23=2, Resulting Numbers: [85, 2] Generated Node #3: [85, 2] from Operation: 46/23=2 Current State: 87:[85, 2], Operations: ['80-57=23', '46/23=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[57, 80, 46, 85], Operations: [] Exploring Operation: 85-57=28, Resulting Numbers: [80, 46, 28] Generated Node #0,0: 87:[80, 46, 28] Operation: 85-57=28 Exploring Operation: 57+46=103, Resulting Numbers: [80, 85, 103] Generated Node #0,1: 87:[80, 85, 103] Operation: 57+46=103 Exploring Operation: 57-46=11, Resulting Numbers: [80, 85, 11] Generated Node #0,2: 87:[80, 85, 11] Operation: 57-46=11 Exploring Operation: 80-57=23, Resulting Numbers: [46, 85, 23] Generated Node #0,3: 87:[46, 85, 23] Operation: 80-57=23 Exploring Operation: 80-46=34, Resulting Numbers: [57, 85, 34] Generated Node #0,4: 87:[57, 85, 34] Operation: 80-46=34 Moving to Node #0,2 Current State: 87:[80, 85, 11], Operations: ['57-46=11'] Exploring Operation: 85-11=74, Resulting Numbers: [80, 74] Generated Node #0,2,0: 87:[80, 74] Operation: 85-11=74 Exploring Operation: 85-80=5, Resulting Numbers: [11, 5] Generated Node #0,2,1: 87:[11, 5] Operation: 85-80=5 Exploring Operation: 80+11=91, Resulting Numbers: [85, 91] Generated Node #0,2,2: 87:[85, 91] Operation: 80+11=91 Exploring Operation: 80-11=69, Resulting Numbers: [85, 69] Generated Node #0,2,3: 87:[85, 69] Operation: 80-11=69 Exploring Operation: 85+11=96, Resulting Numbers: [80, 96] Generated Node #0,2,4: 87:[80, 96] Operation: 85+11=96 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[85, 91], Operations: ['57-46=11', '80+11=91'] Exploring Operation: 85+91=176, Resulting Numbers: [176] 176,87 unequal: No Solution Exploring Operation: 85*91=7735, Resulting Numbers: [7735] 7735,87 unequal: No Solution Exploring Operation: 91-85=6, Resulting Numbers: [6] 6,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:[11, 5], Operations: ['57-46=11', '85-80=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,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,4 Current State: 87:[80, 96], Operations: ['57-46=11', '85+11=96'] Exploring Operation: 80*96=7680, Resulting Numbers: [7680] 7680,87 unequal: No Solution Exploring Operation: 80+96=176, Resulting Numbers: [176] 176,87 unequal: No Solution Exploring Operation: 96-80=16, Resulting Numbers: [16] 16,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:[80, 74], Operations: ['57-46=11', '85-11=74'] Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 80+74=154, Resulting Numbers: [154] 154,87 unequal: No Solution Exploring Operation: 80*74=5920, Resulting Numbers: [5920] 5920,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:[85, 69], Operations: ['57-46=11', '80-11=69'] Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 85+69=154, Resulting Numbers: [154] 154,87 unequal: No Solution Exploring Operation: 85*69=5865, Resulting Numbers: [5865] 5865,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:[80, 85, 103], Operations: ['57+46=103'] Exploring Operation: 80+85=165, Resulting Numbers: [103, 165] Generated Node #0,1,0: 87:[103, 165] Operation: 80+85=165 Exploring Operation: 103-80=23, Resulting Numbers: [85, 23] Generated Node #0,1,1: 87:[85, 23] Operation: 103-80=23 Exploring Operation: 85-80=5, Resulting Numbers: [103, 5] Generated Node #0,1,2: 87:[103, 5] Operation: 85-80=5 Exploring Operation: 80+103=183, Resulting Numbers: [85, 183] Generated Node #0,1,3: 87:[85, 183] Operation: 80+103=183 Exploring Operation: 103-85=18, Resulting Numbers: [80, 18] Generated Node #0,1,4: 87:[80, 18] Operation: 103-85=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[85, 23], Operations: ['57+46=103', '103-80=23'] Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,87 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 85*23=1955, Resulting Numbers: [1955] 1955,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:[103, 5], Operations: ['57+46=103', '85-80=5'] Exploring Operation: 103+5=108, Resulting Numbers: [108] 108,87 unequal: No Solution Exploring Operation: 103-5=98, Resulting Numbers: [98] 98,87 unequal: No Solution Exploring Operation: 103*5=515, Resulting Numbers: [515] 515,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 87:[80, 18], Operations: ['57+46=103', '103-85=18'] Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,87 unequal: No Solution Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,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:[103, 165], Operations: ['57+46=103', '80+85=165'] Exploring Operation: 103+165=268, Resulting Numbers: [268] 268,87 unequal: No Solution Exploring Operation: 165-103=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 103*165=16995, Resulting Numbers: [16995] 16995,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:[85, 183], Operations: ['57+46=103', '80+103=183'] Exploring Operation: 85+183=268, Resulting Numbers: [268] 268,87 unequal: No Solution Exploring Operation: 85*183=15555, Resulting Numbers: [15555] 15555,87 unequal: No Solution Exploring Operation: 183-85=98, Resulting Numbers: [98] 98,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:[80, 46, 28], Operations: ['85-57=28'] Exploring Operation: 80-46=34, Resulting Numbers: [28, 34] Generated Node #0,0,0: 87:[28, 34] Operation: 80-46=34 Exploring Operation: 46-28=18, Resulting Numbers: [80, 18] Generated Node #0,0,1: 87:[80, 18] Operation: 46-28=18 Exploring Operation: 80+46=126, Resulting Numbers: [28, 126] Generated Node #0,0,2: 87:[28, 126] Operation: 80+46=126 Exploring Operation: 80+28=108, Resulting Numbers: [46, 108] Generated Node #0,0,3: 87:[46, 108] Operation: 80+28=108 Exploring Operation: 46+28=74, Resulting Numbers: [80, 74] Generated Node #0,0,4: 87:[80, 74] Operation: 46+28=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[28, 34], Operations: ['85-57=28', '80-46=34'] Exploring Operation: 28+34=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 28*34=952, Resulting Numbers: [952] 952,87 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,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:[80, 18], Operations: ['85-57=28', '46-28=18'] Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,87 unequal: No Solution Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,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,4 Current State: 87:[80, 74], Operations: ['85-57=28', '46+28=74'] Exploring Operation: 80*74=5920, Resulting Numbers: [5920] 5920,87 unequal: No Solution Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 80+74=154, Resulting Numbers: [154] 154,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:[46, 108], Operations: ['85-57=28', '80+28=108'] Exploring Operation: 46+108=154, Resulting Numbers: [154] 154,87 unequal: No Solution Exploring Operation: 46*108=4968, Resulting Numbers: [4968] 4968,87 unequal: No Solution Exploring Operation: 108-46=62, Resulting Numbers: [62] 62,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:[28, 126], Operations: ['85-57=28', '80+46=126'] Exploring Operation: 126-28=98, Resulting Numbers: [98] 98,87 unequal: No Solution Exploring Operation: 28+126=154, Resulting Numbers: [154] 154,87 unequal: No Solution Exploring Operation: 28*126=3528, Resulting Numbers: [3528] 3528,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:[46, 85, 23], Operations: ['80-57=23'] Exploring Operation: 46+23=69, Resulting Numbers: [85, 69] Generated Node #0,3,0: 87:[85, 69] Operation: 46+23=69 Exploring Operation: 85-46=39, Resulting Numbers: [23, 39] Generated Node #0,3,1: 87:[23, 39] Operation: 85-46=39 Exploring Operation: 46/23=2, Resulting Numbers: [85, 2] Generated Node #0,3,2: 87:[85, 2] Operation: 46/23=2 Exploring Operation: 85+23=108, Resulting Numbers: [46, 108] Generated Node #0,3,3: 87:[46, 108] Operation: 85+23=108 Exploring Operation: 46-23=23, Resulting Numbers: [85, 23] Generated Node #0,3,4: 87:[85, 23] Operation: 46-23=23 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 87:[85, 2], Operations: ['80-57=23', '46/23=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[57, 80, 46, 85], Operations: [] Exploring Operation: 80-57=23, Resulting Numbers: [46, 85, 23] Generated Node #0,3: 87:[46, 85, 23] Operation: 80-57=23 Moving to Node #0,3 Current State: 87:[46, 85, 23], Operations: ['80-57=23'] Exploring Operation: 46/23=2, Resulting Numbers: [85, 2] Generated Node #0,3,2: 87:[85, 2] Operation: 46/23=2 Moving to Node #0,3,2 Current State: 87:[85, 2], Operations: ['80-57=23', '46/23=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.934896
hs_5
mult_heuristic
[ 11, 42, 39, 12 ]
20
[ "42-11=31", "39+12=51", "51-31=20" ]
Current State: 20:[11, 42, 39, 12], Operations: [] Exploring Operation: 42-11=31, Resulting Numbers: [39, 12, 31] Generated Node #2: [39, 12, 31] from Operation: 42-11=31 Current State: 20:[39, 12, 31], Operations: ['42-11=31'] Exploring Operation: 39+12=51, Resulting Numbers: [31, 51] Generated Node #3: [31, 51] from Operation: 39+12=51 Current State: 20:[31, 51], Operations: ['42-11=31', '39+12=51'] Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[11, 42, 39, 12], Operations: [] Exploring Operation: 42-11=31, Resulting Numbers: [39, 12, 31] Generated Node #0,0: 20:[39, 12, 31] Operation: 42-11=31 Exploring Operation: 39-12=27, Resulting Numbers: [11, 42, 27] Generated Node #0,1: 20:[11, 42, 27] Operation: 39-12=27 Exploring Operation: 42-12=30, Resulting Numbers: [11, 39, 30] Generated Node #0,2: 20:[11, 39, 30] Operation: 42-12=30 Exploring Operation: 42-39=3, Resulting Numbers: [11, 12, 3] Generated Node #0,3: 20:[11, 12, 3] Operation: 42-39=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[11, 12, 3], Operations: ['42-39=3'] Exploring Operation: 12-11=1, Resulting Numbers: [3, 1] Generated Node #0,3,0: 20:[3, 1] Operation: 12-11=1 Exploring Operation: 12/3=4, Resulting Numbers: [11, 4] Generated Node #0,3,1: 20:[11, 4] Operation: 12/3=4 Exploring Operation: 12-3=9, Resulting Numbers: [11, 9] Generated Node #0,3,2: 20:[11, 9] Operation: 12-3=9 Exploring Operation: 11+12=23, Resulting Numbers: [3, 23] Generated Node #0,3,3: 20:[3, 23] Operation: 11+12=23 Moving to Node #0,3,1 Current State: 20:[11, 4], Operations: ['42-39=3', '12/3=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,20 unequal: No Solution Moving to Node #0,3,2 Current State: 20:[11, 9], Operations: ['42-39=3', '12-3=9'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[11, 42, 39, 12], Operations: [] Exploring Operation: 42-39=3, Resulting Numbers: [11, 12, 3] Generated Node #0,3: 20:[11, 12, 3] Operation: 42-39=3 Moving to Node #0,3 Current State: 20:[11, 12, 3], Operations: ['42-39=3'] Exploring Operation: 12-3=9, Resulting Numbers: [11, 9] Generated Node #0,3,2: 20:[11, 9] Operation: 12-3=9 Moving to Node #0,3,2 Current State: 20:[11, 9], Operations: ['42-39=3', '12-3=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 22, 25, 13, 34 ]
94
[ "22+25=47", "13+34=47", "47+47=94" ]
Current State: 94:[22, 25, 13, 34], Operations: [] Exploring Operation: 22+25=47, Resulting Numbers: [13, 34, 47] Generated Node #2: [13, 34, 47] from Operation: 22+25=47 Current State: 94:[13, 34, 47], Operations: ['22+25=47'] Exploring Operation: 13+34=47, Resulting Numbers: [47, 47] Generated Node #3: [47, 47] from Operation: 13+34=47 Current State: 94:[47, 47], Operations: ['22+25=47', '13+34=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[22, 25, 13, 34], Operations: [] Exploring Operation: 22+25=47, Resulting Numbers: [13, 34, 47] Generated Node #0,0: 94:[13, 34, 47] Operation: 22+25=47 Exploring Operation: 34-25=9, Resulting Numbers: [22, 13, 9] Generated Node #0,1: 94:[22, 13, 9] Operation: 34-25=9 Exploring Operation: 25-22=3, Resulting Numbers: [13, 34, 3] Generated Node #0,2: 94:[13, 34, 3] Operation: 25-22=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[13, 34, 47], Operations: ['22+25=47'] Exploring Operation: 47-34=13, Resulting Numbers: [13, 13] Generated Node #0,0,0: 94:[13, 13] Operation: 47-34=13 Exploring Operation: 34-13=21, Resulting Numbers: [47, 21] Generated Node #0,0,1: 94:[47, 21] Operation: 34-13=21 Exploring Operation: 13+34=47, Resulting Numbers: [47, 47] Generated Node #0,0,2: 94:[47, 47] Operation: 13+34=47 Moving to Node #0,0,2 Current State: 94:[47, 47], Operations: ['22+25=47', '13+34=47'] Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,94 unequal: No Solution Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[22, 25, 13, 34], Operations: [] Exploring Operation: 22+25=47, Resulting Numbers: [13, 34, 47] Generated Node #0,0: 94:[13, 34, 47] Operation: 22+25=47 Moving to Node #0,0 Current State: 94:[13, 34, 47], Operations: ['22+25=47'] Exploring Operation: 13+34=47, Resulting Numbers: [47, 47] Generated Node #0,0,2: 94:[47, 47] Operation: 13+34=47 Moving to Node #0,0,2 Current State: 94:[47, 47], Operations: ['22+25=47', '13+34=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 51, 66, 80, 4 ]
99
[ "66-51=15", "80+4=84", "15+84=99" ]
Current State: 99:[51, 66, 80, 4], Operations: [] Exploring Operation: 66-51=15, Resulting Numbers: [80, 4, 15] Generated Node #2: [80, 4, 15] from Operation: 66-51=15 Current State: 99:[80, 4, 15], Operations: ['66-51=15'] Exploring Operation: 80+4=84, Resulting Numbers: [15, 84] Generated Node #3: [15, 84] from Operation: 80+4=84 Current State: 99:[15, 84], Operations: ['66-51=15', '80+4=84'] Exploring Operation: 15+84=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[51, 66, 80, 4], Operations: [] Exploring Operation: 80-66=14, Resulting Numbers: [51, 4, 14] Generated Node #0,0: 99:[51, 4, 14] Operation: 80-66=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[51, 4, 14], Operations: ['80-66=14'] Exploring Operation: 51-14=37, Resulting Numbers: [4, 37] Generated Node #0,0,0: 99:[4, 37] Operation: 51-14=37 Moving to Node #0,0,0 Current State: 99:[4, 37], Operations: ['80-66=14', '51-14=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 51, 56, 2, 49 ]
57
[ "51-2=49", "49/49=1", "56+1=57" ]
Current State: 57:[51, 56, 2, 49], Operations: [] Exploring Operation: 51-2=49, Resulting Numbers: [56, 49, 49] Generated Node #2: [56, 49, 49] from Operation: 51-2=49 Current State: 57:[56, 49, 49], Operations: ['51-2=49'] Exploring Operation: 49/49=1, Resulting Numbers: [56, 1] Generated Node #3: [56, 1] from Operation: 49/49=1 Current State: 57:[56, 1], Operations: ['51-2=49', '49/49=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[51, 56, 2, 49], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [56, 2, 2] Generated Node #0,0: 57:[56, 2, 2] Operation: 51-49=2 Exploring Operation: 56-51=5, Resulting Numbers: [2, 49, 5] Generated Node #0,1: 57:[2, 49, 5] Operation: 56-51=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[56, 2, 2], Operations: ['51-49=2'] Exploring Operation: 56+2=58, Resulting Numbers: [2, 58] Generated Node #0,0,0: 57:[2, 58] Operation: 56+2=58 Exploring Operation: 56+2=58, Resulting Numbers: [2, 58] Generated Node #0,0,1: 57:[2, 58] Operation: 56+2=58 Moving to Node #0,0,0 Current State: 57:[2, 58], Operations: ['51-49=2', '56+2=58'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,57 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[2, 58], Operations: ['51-49=2', '56+2=58'] Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,57 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[2, 49, 5], Operations: ['56-51=5'] Exploring Operation: 49+5=54, Resulting Numbers: [2, 54] Generated Node #0,1,0: 57:[2, 54] Operation: 49+5=54 Exploring Operation: 2+49=51, Resulting Numbers: [5, 51] Generated Node #0,1,1: 57:[5, 51] Operation: 2+49=51 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 57:[2, 54], Operations: ['56-51=5', '49+5=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,57 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 57:[5, 51], Operations: ['56-51=5', '2+49=51'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 4, 52, 18, 54 ]
61
[ "54-18=36", "36/4=9", "52+9=61" ]
Current State: 61:[4, 52, 18, 54], Operations: [] Exploring Operation: 54-18=36, Resulting Numbers: [4, 52, 36] Generated Node #2: [4, 52, 36] from Operation: 54-18=36 Current State: 61:[4, 52, 36], Operations: ['54-18=36'] Exploring Operation: 36/4=9, Resulting Numbers: [52, 9] Generated Node #3: [52, 9] from Operation: 36/4=9 Current State: 61:[52, 9], Operations: ['54-18=36', '36/4=9'] Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[4, 52, 18, 54], Operations: [] Exploring Operation: 4*18=72, Resulting Numbers: [52, 54, 72] Generated Node #0,0: 61:[52, 54, 72] Operation: 4*18=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[52, 54, 72], Operations: ['4*18=72'] Exploring Operation: 72-52=20, Resulting Numbers: [54, 20] Generated Node #0,0,0: 61:[54, 20] Operation: 72-52=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[54, 20], Operations: ['4*18=72', '72-52=20'] Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,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_1
mult_heuristic
[ 56, 50, 38, 18 ]
14
[ "56-50=6", "38-18=20", "20-6=14" ]
Current State: 14:[56, 50, 38, 18], Operations: [] Exploring Operation: 56-50=6, Resulting Numbers: [38, 18, 6] Generated Node #2: [38, 18, 6] from Operation: 56-50=6 Current State: 14:[38, 18, 6], Operations: ['56-50=6'] Exploring Operation: 38-18=20, Resulting Numbers: [6, 20] Generated Node #3: [6, 20] from Operation: 38-18=20 Current State: 14:[6, 20], Operations: ['56-50=6', '38-18=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[56, 50, 38, 18], Operations: [] Exploring Operation: 56-50=6, Resulting Numbers: [38, 18, 6] Generated Node #0,0: 14:[38, 18, 6] Operation: 56-50=6 Moving to Node #0,0 Current State: 14:[38, 18, 6], Operations: ['56-50=6'] Exploring Operation: 38-18=20, Resulting Numbers: [6, 20] Generated Node #0,0,0: 14:[6, 20] Operation: 38-18=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[6, 20], Operations: ['56-50=6', '38-18=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[56, 50, 38, 18], Operations: [] Exploring Operation: 56-50=6, Resulting Numbers: [38, 18, 6] Generated Node #0,0: 14:[38, 18, 6] Operation: 56-50=6 Moving to Node #0,0 Current State: 14:[38, 18, 6], Operations: ['56-50=6'] Exploring Operation: 38-18=20, Resulting Numbers: [6, 20] Generated Node #0,0,0: 14:[6, 20] Operation: 38-18=20 Moving to Node #0,0,0 Current State: 14:[6, 20], Operations: ['56-50=6', '38-18=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 6, 50, 99, 68 ]
75
[ "50-6=44", "99-68=31", "44+31=75" ]
Current State: 75:[6, 50, 99, 68], Operations: [] Exploring Operation: 50-6=44, Resulting Numbers: [99, 68, 44] Generated Node #2: [99, 68, 44] from Operation: 50-6=44 Current State: 75:[99, 68, 44], Operations: ['50-6=44'] Exploring Operation: 99-68=31, Resulting Numbers: [44, 31] Generated Node #3: [44, 31] from Operation: 99-68=31 Current State: 75:[44, 31], Operations: ['50-6=44', '99-68=31'] Exploring Operation: 44+31=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[6, 50, 99, 68], Operations: [] Exploring Operation: 68-50=18, Resulting Numbers: [6, 99, 18] Generated Node #0,0: 75:[6, 99, 18] Operation: 68-50=18 Moving to Node #0,0 Current State: 75:[6, 99, 18], Operations: ['68-50=18'] Exploring Operation: 99-18=81, Resulting Numbers: [6, 81] Generated Node #0,0,0: 75:[6, 81] Operation: 99-18=81 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[6, 81], Operations: ['68-50=18', '99-18=81'] Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[6, 50, 99, 68], Operations: [] Exploring Operation: 68-50=18, Resulting Numbers: [6, 99, 18] Generated Node #0,0: 75:[6, 99, 18] Operation: 68-50=18 Moving to Node #0,0 Current State: 75:[6, 99, 18], Operations: ['68-50=18'] Exploring Operation: 99-18=81, Resulting Numbers: [6, 81] Generated Node #0,0,0: 75:[6, 81] Operation: 99-18=81 Moving to Node #0,0,0 Current State: 75:[6, 81], Operations: ['68-50=18', '99-18=81'] Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic