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
[ 31, 51, 29, 29 ]
11
[ "31-29=2", "51-29=22", "22/2=11" ]
Current State: 11:[31, 51, 29, 29], Operations: [] Exploring Operation: 31-29=2, Resulting Numbers: [51, 2] Generated Node #2: [51, 2] from Operation: 31-29=2 Current State: 11:[51, 2], Operations: ['31-29=2'] Exploring Operation: 51-29=22, Resulting Numbers: [2, 22] Generated Node #3: [2, 22] from Operation: 51-29=22 Current State: 11:[2, 22], Operations: ['31-29=2', '51-29=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[31, 51, 29, 29], Operations: [] Exploring Operation: 51-29=22, Resulting Numbers: [31, 29, 22] Generated Node #0,0: 11:[31, 29, 22] Operation: 51-29=22 Exploring Operation: 51-31=20, Resulting Numbers: [29, 29, 20] Generated Node #0,1: 11:[29, 29, 20] Operation: 51-31=20 Exploring Operation: 51-29=22, Resulting Numbers: [31, 29, 22] Generated Node #0,2: 11:[31, 29, 22] Operation: 51-29=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[29, 29, 20], Operations: ['51-31=20'] Exploring Operation: 29-20=9, Resulting Numbers: [29, 9] Generated Node #0,1,0: 11:[29, 9] Operation: 29-20=9 Exploring Operation: 29/29=1, Resulting Numbers: [20, 1] Generated Node #0,1,1: 11:[20, 1] Operation: 29/29=1 Exploring Operation: 29-29=0, Resulting Numbers: [20, 0] Generated Node #0,1,2: 11:[20, 0] Operation: 29-29=0 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[20, 1], Operations: ['51-31=20', '29/29=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[29, 9], Operations: ['51-31=20', '29-20=9'] Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,11 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[20, 0], Operations: ['51-31=20', '29-29=0'] Exploring Operation: 20+0=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 20*0=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[31, 29, 22], Operations: ['51-29=22'] Exploring Operation: 31-29=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 11:[22, 2] Operation: 31-29=2 Exploring Operation: 29-22=7, Resulting Numbers: [31, 7] Generated Node #0,0,1: 11:[31, 7] Operation: 29-22=7 Exploring Operation: 31-22=9, Resulting Numbers: [29, 9] Generated Node #0,0,2: 11:[29, 9] Operation: 31-22=9 Moving to Node #0,0,0 Current State: 11:[22, 2], Operations: ['51-29=22', '31-29=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[31, 51, 29, 29], Operations: [] Exploring Operation: 51-29=22, Resulting Numbers: [31, 29, 22] Generated Node #0,0: 11:[31, 29, 22] Operation: 51-29=22 Moving to Node #0,0 Current State: 11:[31, 29, 22], Operations: ['51-29=22'] Exploring Operation: 31-29=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 11:[22, 2] Operation: 31-29=2 Moving to Node #0,0,0 Current State: 11:[22, 2], Operations: ['51-29=22', '31-29=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 43, 24, 14, 20 ]
86
[ "43*20=860", "24-14=10", "860/10=86" ]
Current State: 86:[43, 24, 14, 20], Operations: [] Exploring Operation: 43*20=860, Resulting Numbers: [24, 14, 860] Generated Node #2: [24, 14, 860] from Operation: 43*20=860 Current State: 86:[24, 14, 860], Operations: ['43*20=860'] Exploring Operation: 24-14=10, Resulting Numbers: [860, 10] Generated Node #3: [860, 10] from Operation: 24-14=10 Current State: 86:[860, 10], Operations: ['43*20=860', '24-14=10'] Exploring Operation: 860/10=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[43, 24, 14, 20], Operations: [] Exploring Operation: 24-20=4, Resulting Numbers: [43, 14, 4] Generated Node #0,0: 86:[43, 14, 4] Operation: 24-20=4 Exploring Operation: 24+20=44, Resulting Numbers: [43, 14, 44] Generated Node #0,1: 86:[43, 14, 44] Operation: 24+20=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[43, 14, 44], Operations: ['24+20=44'] Exploring Operation: 43+44=87, Resulting Numbers: [14, 87] Generated Node #0,1,0: 86:[14, 87] Operation: 43+44=87 Exploring Operation: 44-43=1, Resulting Numbers: [14, 1] Generated Node #0,1,1: 86:[14, 1] Operation: 44-43=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[14, 87], Operations: ['24+20=44', '43+44=87'] Exploring Operation: 87-14=73, Resulting Numbers: [73] 73,86 unequal: No Solution Exploring Operation: 14+87=101, Resulting Numbers: [101] 101,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[14, 1], Operations: ['24+20=44', '44-43=1'] Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[43, 14, 4], Operations: ['24-20=4'] Exploring Operation: 14*4=56, Resulting Numbers: [43, 56] Generated Node #0,0,0: 86:[43, 56] Operation: 14*4=56 Exploring Operation: 14-4=10, Resulting Numbers: [43, 10] Generated Node #0,0,1: 86:[43, 10] Operation: 14-4=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[43, 10], Operations: ['24-20=4', '14-4=10'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[43, 56], Operations: ['24-20=4', '14*4=56'] Exploring Operation: 56-43=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 43+56=99, Resulting Numbers: [99] 99,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_2
mult_heuristic
[ 46, 36, 29, 68 ]
86
[ "36*68=2448", "46+2448=2494", "2494/29=86" ]
Current State: 86:[46, 36, 29, 68], Operations: [] Exploring Operation: 36*68=2448, Resulting Numbers: [46, 29, 2448] Generated Node #2: [46, 29, 2448] from Operation: 36*68=2448 Current State: 86:[46, 29, 2448], Operations: ['36*68=2448'] Exploring Operation: 46+2448=2494, Resulting Numbers: [29, 2494] Generated Node #3: [29, 2494] from Operation: 46+2448=2494 Current State: 86:[29, 2494], Operations: ['36*68=2448', '46+2448=2494'] Exploring Operation: 2494/29=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[46, 36, 29, 68], Operations: [] Exploring Operation: 29+68=97, Resulting Numbers: [46, 36, 97] Generated Node #0,0: 86:[46, 36, 97] Operation: 29+68=97 Exploring Operation: 68-29=39, Resulting Numbers: [46, 36, 39] Generated Node #0,1: 86:[46, 36, 39] Operation: 68-29=39 Moving to Node #0,1 Current State: 86:[46, 36, 39], Operations: ['68-29=39'] Exploring Operation: 46+36=82, Resulting Numbers: [39, 82] Generated Node #0,1,0: 86:[39, 82] Operation: 46+36=82 Exploring Operation: 39-36=3, Resulting Numbers: [46, 3] Generated Node #0,1,1: 86:[46, 3] Operation: 39-36=3 Moving to Node #0,0 Current State: 86:[46, 36, 97], Operations: ['29+68=97'] Exploring Operation: 97-46=51, Resulting Numbers: [36, 51] Generated Node #0,0,0: 86:[36, 51] Operation: 97-46=51 Exploring Operation: 46+36=82, Resulting Numbers: [97, 82] Generated Node #0,0,1: 86:[97, 82] Operation: 46+36=82 Moving to Node #0,1,1 Current State: 86:[46, 3], Operations: ['68-29=39', '39-36=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[39, 82], Operations: ['68-29=39', '46+36=82'] Exploring Operation: 39+82=121, Resulting Numbers: [121] 121,86 unequal: No Solution Exploring Operation: 82-39=43, Resulting Numbers: [43] 43,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[97, 82], Operations: ['29+68=97', '46+36=82'] Exploring Operation: 97+82=179, Resulting Numbers: [179] 179,86 unequal: No Solution Exploring Operation: 97-82=15, Resulting Numbers: [15] 15,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[36, 51], Operations: ['29+68=97', '97-46=51'] Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 36+51=87, Resulting Numbers: [87] 87,86 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 44, 87, 46, 58 ]
55
[ "87-44=43", "58-46=12", "43+12=55" ]
Current State: 55:[44, 87, 46, 58], Operations: [] Exploring Operation: 87-44=43, Resulting Numbers: [46, 58, 43] Generated Node #2: [46, 58, 43] from Operation: 87-44=43 Current State: 55:[46, 58, 43], Operations: ['87-44=43'] Exploring Operation: 58-46=12, Resulting Numbers: [43, 12] Generated Node #3: [43, 12] from Operation: 58-46=12 Current State: 55:[43, 12], Operations: ['87-44=43', '58-46=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[44, 87, 46, 58], Operations: [] Exploring Operation: 87-44=43, Resulting Numbers: [46, 58, 43] Generated Node #0,0: 55:[46, 58, 43] Operation: 87-44=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[46, 58, 43], Operations: ['87-44=43'] Exploring Operation: 46-43=3, Resulting Numbers: [58, 3] Generated Node #0,0,0: 55:[58, 3] Operation: 46-43=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[58, 3], Operations: ['87-44=43', '46-43=3'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[44, 87, 46, 58], Operations: [] Exploring Operation: 87-44=43, Resulting Numbers: [46, 58, 43] Generated Node #0,0: 55:[46, 58, 43] Operation: 87-44=43 Moving to Node #0,0 Current State: 55:[46, 58, 43], Operations: ['87-44=43'] Exploring Operation: 46-43=3, Resulting Numbers: [58, 3] Generated Node #0,0,0: 55:[58, 3] Operation: 46-43=3 Moving to Node #0,0,0 Current State: 55:[58, 3], Operations: ['87-44=43', '46-43=3'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 20, 38, 2, 34 ]
50
[ "38-20=18", "2*34=68", "68-18=50" ]
Current State: 50:[20, 38, 2, 34], Operations: [] Exploring Operation: 38-20=18, Resulting Numbers: [2, 34, 18] Generated Node #2: [2, 34, 18] from Operation: 38-20=18 Current State: 50:[2, 34, 18], Operations: ['38-20=18'] Exploring Operation: 2*34=68, Resulting Numbers: [18, 68] Generated Node #3: [18, 68] from Operation: 2*34=68 Current State: 50:[18, 68], Operations: ['38-20=18', '2*34=68'] Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[20, 38, 2, 34], Operations: [] Exploring Operation: 20+34=54, Resulting Numbers: [38, 2, 54] Generated Node #0,0: 50:[38, 2, 54] Operation: 20+34=54 Exploring Operation: 38-34=4, Resulting Numbers: [20, 2, 4] Generated Node #0,1: 50:[20, 2, 4] Operation: 38-34=4 Exploring Operation: 38-20=18, Resulting Numbers: [2, 34, 18] Generated Node #0,2: 50:[2, 34, 18] Operation: 38-20=18 Moving to Node #0,1 Current State: 50:[20, 2, 4], Operations: ['38-34=4'] Exploring Operation: 20/2=10, Resulting Numbers: [4, 10] Generated Node #0,1,0: 50:[4, 10] Operation: 20/2=10 Exploring Operation: 20+4=24, Resulting Numbers: [2, 24] Generated Node #0,1,1: 50:[2, 24] Operation: 20+4=24 Exploring Operation: 20/4=5, Resulting Numbers: [2, 5] Generated Node #0,1,2: 50:[2, 5] Operation: 20/4=5 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[2, 5], Operations: ['38-34=4', '20/4=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,50 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[4, 10], Operations: ['38-34=4', '20/2=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,50 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[2, 24], Operations: ['38-34=4', '20+4=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,50 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,50 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: 50:[38, 2, 54], Operations: ['20+34=54'] Exploring Operation: 54-38=16, Resulting Numbers: [2, 16] Generated Node #0,0,0: 50:[2, 16] Operation: 54-38=16 Exploring Operation: 38+2=40, Resulting Numbers: [54, 40] Generated Node #0,0,1: 50:[54, 40] Operation: 38+2=40 Exploring Operation: 38/2=19, Resulting Numbers: [54, 19] Generated Node #0,0,2: 50:[54, 19] Operation: 38/2=19 Moving to Node #0,2 Current State: 50:[2, 34, 18], Operations: ['38-20=18'] Exploring Operation: 18/2=9, Resulting Numbers: [34, 9] Generated Node #0,2,0: 50:[34, 9] Operation: 18/2=9 Exploring Operation: 34+18=52, Resulting Numbers: [2, 52] Generated Node #0,2,1: 50:[2, 52] Operation: 34+18=52 Exploring Operation: 34-18=16, Resulting Numbers: [2, 16] Generated Node #0,2,2: 50:[2, 16] Operation: 34-18=16 Moving to Node #0,2,1 Current State: 50:[2, 52], Operations: ['38-20=18', '34+18=52'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[20, 38, 2, 34], Operations: [] Exploring Operation: 38-20=18, Resulting Numbers: [2, 34, 18] Generated Node #0,2: 50:[2, 34, 18] Operation: 38-20=18 Moving to Node #0,2 Current State: 50:[2, 34, 18], Operations: ['38-20=18'] Exploring Operation: 34+18=52, Resulting Numbers: [2, 52] Generated Node #0,2,1: 50:[2, 52] Operation: 34+18=52 Moving to Node #0,2,1 Current State: 50:[2, 52], Operations: ['38-20=18', '34+18=52'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 83, 99, 69, 3 ]
50
[ "99-83=16", "69-3=66", "66-16=50" ]
Current State: 50:[83, 99, 69, 3], Operations: [] Exploring Operation: 99-83=16, Resulting Numbers: [69, 3, 16] Generated Node #2: [69, 3, 16] from Operation: 99-83=16 Current State: 50:[69, 3, 16], Operations: ['99-83=16'] Exploring Operation: 69-3=66, Resulting Numbers: [16, 66] Generated Node #3: [16, 66] from Operation: 69-3=66 Current State: 50:[16, 66], Operations: ['99-83=16', '69-3=66'] Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[83, 99, 69, 3], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [83, 99, 23] Generated Node #0,0: 50:[83, 99, 23] Operation: 69/3=23 Exploring Operation: 99/3=33, Resulting Numbers: [83, 69, 33] Generated Node #0,1: 50:[83, 69, 33] Operation: 99/3=33 Exploring Operation: 99-83=16, Resulting Numbers: [69, 3, 16] Generated Node #0,2: 50:[69, 3, 16] Operation: 99-83=16 Exploring Operation: 99-69=30, Resulting Numbers: [83, 3, 30] Generated Node #0,3: 50:[83, 3, 30] Operation: 99-69=30 Exploring Operation: 83-69=14, Resulting Numbers: [99, 3, 14] Generated Node #0,4: 50:[99, 3, 14] Operation: 83-69=14 Moving to Node #0,2 Current State: 50:[69, 3, 16], Operations: ['99-83=16'] Exploring Operation: 16-3=13, Resulting Numbers: [69, 13] Generated Node #0,2,0: 50:[69, 13] Operation: 16-3=13 Exploring Operation: 69-3=66, Resulting Numbers: [16, 66] Generated Node #0,2,1: 50:[16, 66] Operation: 69-3=66 Exploring Operation: 69-16=53, Resulting Numbers: [3, 53] Generated Node #0,2,2: 50:[3, 53] Operation: 69-16=53 Exploring Operation: 3*16=48, Resulting Numbers: [69, 48] Generated Node #0,2,3: 50:[69, 48] Operation: 3*16=48 Exploring Operation: 69/3=23, Resulting Numbers: [16, 23] Generated Node #0,2,4: 50:[16, 23] Operation: 69/3=23 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[3, 53], Operations: ['99-83=16', '69-16=53'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[83, 99, 69, 3], Operations: [] Exploring Operation: 99-83=16, Resulting Numbers: [69, 3, 16] Generated Node #0,2: 50:[69, 3, 16] Operation: 99-83=16 Moving to Node #0,2 Current State: 50:[69, 3, 16], Operations: ['99-83=16'] Exploring Operation: 69-16=53, Resulting Numbers: [3, 53] Generated Node #0,2,2: 50:[3, 53] Operation: 69-16=53 Moving to Node #0,2,2 Current State: 50:[3, 53], Operations: ['99-83=16', '69-16=53'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 70, 43, 87, 33 ]
59
[ "70+43=113", "87-33=54", "113-54=59" ]
Current State: 59:[70, 43, 87, 33], Operations: [] Exploring Operation: 70+43=113, Resulting Numbers: [87, 33, 113] Generated Node #2: [87, 33, 113] from Operation: 70+43=113 Current State: 59:[87, 33, 113], Operations: ['70+43=113'] Exploring Operation: 87-33=54, Resulting Numbers: [113, 54] Generated Node #3: [113, 54] from Operation: 87-33=54 Current State: 59:[113, 54], Operations: ['70+43=113', '87-33=54'] Exploring Operation: 113-54=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[70, 43, 87, 33], Operations: [] Exploring Operation: 87-33=54, Resulting Numbers: [70, 43, 54] Generated Node #0,0: 59:[70, 43, 54] Operation: 87-33=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[70, 43, 54], Operations: ['87-33=54'] Exploring Operation: 70-43=27, Resulting Numbers: [54, 27] Generated Node #0,0,0: 59:[54, 27] Operation: 70-43=27 Moving to Node #0,0,0 Current State: 59:[54, 27], Operations: ['87-33=54', '70-43=27'] Exploring Operation: 54+27=81, Resulting Numbers: [81] 81,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 8, 3, 34, 1 ]
31
[ "8+1=9", "9/3=3", "34-3=31" ]
Current State: 31:[8, 3, 34, 1], Operations: [] Exploring Operation: 8+1=9, Resulting Numbers: [3, 34, 9] Generated Node #2: [3, 34, 9] from Operation: 8+1=9 Current State: 31:[3, 34, 9], Operations: ['8+1=9'] Exploring Operation: 9/3=3, Resulting Numbers: [34, 3] Generated Node #3: [34, 3] from Operation: 9/3=3 Current State: 31:[34, 3], Operations: ['8+1=9', '9/3=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[8, 3, 34, 1], Operations: [] Exploring Operation: 8+1=9, Resulting Numbers: [3, 34, 9] Generated Node #0,0: 31:[3, 34, 9] Operation: 8+1=9 Exploring Operation: 8*3=24, Resulting Numbers: [34, 1, 24] Generated Node #0,1: 31:[34, 1, 24] Operation: 8*3=24 Exploring Operation: 8+3=11, Resulting Numbers: [34, 1, 11] Generated Node #0,2: 31:[34, 1, 11] Operation: 8+3=11 Exploring Operation: 34-3=31, Resulting Numbers: [8, 1, 31] Generated Node #0,3: 31:[8, 1, 31] Operation: 34-3=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[34, 1, 24], Operations: ['8*3=24'] Exploring Operation: 34/1=34, Resulting Numbers: [24, 34] Generated Node #0,1,0: 31:[24, 34] Operation: 34/1=34 Exploring Operation: 34-1=33, Resulting Numbers: [24, 33] Generated Node #0,1,1: 31:[24, 33] Operation: 34-1=33 Exploring Operation: 1+24=25, Resulting Numbers: [34, 25] Generated Node #0,1,2: 31:[34, 25] Operation: 1+24=25 Exploring Operation: 34*1=34, Resulting Numbers: [24, 34] Generated Node #0,1,3: 31:[24, 34] Operation: 34*1=34 Moving to Node #0,1,1 Current State: 31:[24, 33], Operations: ['8*3=24', '34-1=33'] Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,31 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[34, 25], Operations: ['8*3=24', '1+24=25'] Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,31 unequal: No Solution Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,31 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[24, 34], Operations: ['8*3=24', '34*1=34'] Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,31 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[24, 34], Operations: ['8*3=24', '34/1=34'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,31 unequal: No Solution Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[3, 34, 9], Operations: ['8+1=9'] Exploring Operation: 3+9=12, Resulting Numbers: [34, 12] Generated Node #0,0,0: 31:[34, 12] Operation: 3+9=12 Exploring Operation: 3*9=27, Resulting Numbers: [34, 27] Generated Node #0,0,1: 31:[34, 27] Operation: 3*9=27 Exploring Operation: 34-3=31, Resulting Numbers: [9, 31] Generated Node #0,0,2: 31:[9, 31] Operation: 34-3=31 Exploring Operation: 3+34=37, Resulting Numbers: [9, 37] Generated Node #0,0,3: 31:[9, 37] Operation: 3+34=37 Moving to Node #0,0,1 Current State: 31:[34, 27], Operations: ['8+1=9', '3*9=27'] Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,31 unequal: No Solution Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[9, 31], Operations: ['8+1=9', '34-3=31'] Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 9*31=279, Resulting Numbers: [279] 279,31 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[34, 12], Operations: ['8+1=9', '3+9=12'] Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,31 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[9, 37], Operations: ['8+1=9', '3+34=37'] Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,31 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[34, 1, 11], Operations: ['8+3=11'] Exploring Operation: 1+11=12, Resulting Numbers: [34, 12] Generated Node #0,2,0: 31:[34, 12] Operation: 1+11=12 Exploring Operation: 34*1=34, Resulting Numbers: [11, 34] Generated Node #0,2,1: 31:[11, 34] Operation: 34*1=34 Exploring Operation: 34/1=34, Resulting Numbers: [11, 34] Generated Node #0,2,2: 31:[11, 34] Operation: 34/1=34 Exploring Operation: 34-1=33, Resulting Numbers: [11, 33] Generated Node #0,2,3: 31:[11, 33] Operation: 34-1=33 Moving to Node #0,2,0 Current State: 31:[34, 12], Operations: ['8+3=11', '1+11=12'] Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[11, 33], Operations: ['8+3=11', '34-1=33'] Exploring Operation: 11*33=363, Resulting Numbers: [363] 363,31 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[11, 34], Operations: ['8+3=11', '34/1=34'] Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,31 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,31 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[11, 34], Operations: ['8+3=11', '34*1=34'] Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,31 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,31 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[8, 1, 31], Operations: ['34-3=31'] Exploring Operation: 1*31=31, Resulting Numbers: [8, 31] Generated Node #0,3,0: 31:[8, 31] Operation: 1*31=31 Exploring Operation: 8*1=8, Resulting Numbers: [31, 8] Generated Node #0,3,1: 31:[31, 8] Operation: 8*1=8 Exploring Operation: 8/1=8, Resulting Numbers: [31, 8] Generated Node #0,3,2: 31:[31, 8] Operation: 8/1=8 Exploring Operation: 8+1=9, Resulting Numbers: [31, 9] Generated Node #0,3,3: 31:[31, 9] Operation: 8+1=9 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 31:[31, 9], Operations: ['34-3=31', '8+1=9'] Exploring Operation: 31*9=279, Resulting Numbers: [279] 279,31 unequal: No Solution Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,31 unequal: No Solution No 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: 31:[8, 31], Operations: ['34-3=31', '1*31=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,31 unequal: No Solution No 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: 31:[31, 8], Operations: ['34-3=31', '8*1=8'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,31 unequal: No Solution No 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: 31:[31, 8], Operations: ['34-3=31', '8/1=8'] Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,31 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 25, 72, 62, 48 ]
13
[ "25+72=97", "62+48=110", "110-97=13" ]
Current State: 13:[25, 72, 62, 48], Operations: [] Exploring Operation: 25+72=97, Resulting Numbers: [62, 48, 97] Generated Node #2: [62, 48, 97] from Operation: 25+72=97 Current State: 13:[62, 48, 97], Operations: ['25+72=97'] Exploring Operation: 62+48=110, Resulting Numbers: [97, 110] Generated Node #3: [97, 110] from Operation: 62+48=110 Current State: 13:[97, 110], Operations: ['25+72=97', '62+48=110'] Exploring Operation: 110-97=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[25, 72, 62, 48], Operations: [] Exploring Operation: 72-48=24, Resulting Numbers: [25, 62, 24] Generated Node #0,0: 13:[25, 62, 24] Operation: 72-48=24 Exploring Operation: 72-62=10, Resulting Numbers: [25, 48, 10] Generated Node #0,1: 13:[25, 48, 10] Operation: 72-62=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[25, 48, 10], Operations: ['72-62=10'] Exploring Operation: 25-10=15, Resulting Numbers: [48, 15] Generated Node #0,1,0: 13:[48, 15] Operation: 25-10=15 Exploring Operation: 48-25=23, Resulting Numbers: [10, 23] Generated Node #0,1,1: 13:[10, 23] Operation: 48-25=23 Moving to Node #0,1,1 Current State: 13:[10, 23], Operations: ['72-62=10', '48-25=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[25, 72, 62, 48], Operations: [] Exploring Operation: 72-62=10, Resulting Numbers: [25, 48, 10] Generated Node #0,1: 13:[25, 48, 10] Operation: 72-62=10 Moving to Node #0,1 Current State: 13:[25, 48, 10], Operations: ['72-62=10'] Exploring Operation: 48-25=23, Resulting Numbers: [10, 23] Generated Node #0,1,1: 13:[10, 23] Operation: 48-25=23 Moving to Node #0,1,1 Current State: 13:[10, 23], Operations: ['72-62=10', '48-25=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 16, 35, 33, 15 ]
21
[ "16+33=49", "15*49=735", "735/35=21" ]
Current State: 21:[16, 35, 33, 15], Operations: [] Exploring Operation: 16+33=49, Resulting Numbers: [35, 15, 49] Generated Node #2: [35, 15, 49] from Operation: 16+33=49 Current State: 21:[35, 15, 49], Operations: ['16+33=49'] Exploring Operation: 15*49=735, Resulting Numbers: [35, 735] Generated Node #3: [35, 735] from Operation: 15*49=735 Current State: 21:[35, 735], Operations: ['16+33=49', '15*49=735'] Exploring Operation: 735/35=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[16, 35, 33, 15], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [16, 15, 2] Generated Node #0,0: 21:[16, 15, 2] Operation: 35-33=2 Exploring Operation: 35-15=20, Resulting Numbers: [16, 33, 20] Generated Node #0,1: 21:[16, 33, 20] Operation: 35-15=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[16, 15, 2], Operations: ['35-33=2'] Exploring Operation: 16-15=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 21:[2, 1] Operation: 16-15=1 Exploring Operation: 16/2=8, Resulting Numbers: [15, 8] Generated Node #0,0,1: 21:[15, 8] Operation: 16/2=8 Moving to Node #0,0,0 Current State: 21:[2, 1], Operations: ['35-33=2', '16-15=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[15, 8], Operations: ['35-33=2', '16/2=8'] Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,21 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[16, 33, 20], Operations: ['35-15=20'] Exploring Operation: 33-20=13, Resulting Numbers: [16, 13] Generated Node #0,1,0: 21:[16, 13] Operation: 33-20=13 Exploring Operation: 33-16=17, Resulting Numbers: [20, 17] Generated Node #0,1,1: 21:[20, 17] Operation: 33-16=17 Moving to Node #0,1,1 Current State: 21:[20, 17], Operations: ['35-15=20', '33-16=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,21 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[16, 13], Operations: ['35-15=20', '33-20=13'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 72, 74, 52, 23 ]
98
[ "74-72=2", "23*2=46", "52+46=98" ]
Current State: 98:[72, 74, 52, 23], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [52, 23, 2] Generated Node #2: [52, 23, 2] from Operation: 74-72=2 Current State: 98:[52, 23, 2], Operations: ['74-72=2'] Exploring Operation: 23*2=46, Resulting Numbers: [52, 46] Generated Node #3: [52, 46] from Operation: 23*2=46 Current State: 98:[52, 46], Operations: ['74-72=2', '23*2=46'] Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[72, 74, 52, 23], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [52, 23, 2] Generated Node #0,0: 98:[52, 23, 2] Operation: 74-72=2 Exploring Operation: 72-23=49, Resulting Numbers: [74, 52, 49] Generated Node #0,1: 98:[74, 52, 49] Operation: 72-23=49 Exploring Operation: 74+23=97, Resulting Numbers: [72, 52, 97] Generated Node #0,2: 98:[72, 52, 97] Operation: 74+23=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[52, 23, 2], Operations: ['74-72=2'] Exploring Operation: 52-2=50, Resulting Numbers: [23, 50] Generated Node #0,0,0: 98:[23, 50] Operation: 52-2=50 Exploring Operation: 23-2=21, Resulting Numbers: [52, 21] Generated Node #0,0,1: 98:[52, 21] Operation: 23-2=21 Exploring Operation: 23*2=46, Resulting Numbers: [52, 46] Generated Node #0,0,2: 98:[52, 46] Operation: 23*2=46 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 98:[52, 46], Operations: ['74-72=2', '23*2=46'] Exploring Operation: 52*46=2392, Resulting Numbers: [2392] 2392,98 unequal: No Solution Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[72, 74, 52, 23], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [52, 23, 2] Generated Node #0,0: 98:[52, 23, 2] Operation: 74-72=2 Moving to Node #0,0 Current State: 98:[52, 23, 2], Operations: ['74-72=2'] Exploring Operation: 23*2=46, Resulting Numbers: [52, 46] Generated Node #0,0,2: 98:[52, 46] Operation: 23*2=46 Moving to Node #0,0,2 Current State: 98:[52, 46], Operations: ['74-72=2', '23*2=46'] Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 9, 58, 84, 98 ]
42
[ "58-9=49", "84*49=4116", "4116/98=42" ]
Current State: 42:[9, 58, 84, 98], Operations: [] Exploring Operation: 58-9=49, Resulting Numbers: [84, 98, 49] Generated Node #2: [84, 98, 49] from Operation: 58-9=49 Current State: 42:[84, 98, 49], Operations: ['58-9=49'] Exploring Operation: 84*49=4116, Resulting Numbers: [98, 4116] Generated Node #3: [98, 4116] from Operation: 84*49=4116 Current State: 42:[98, 4116], Operations: ['58-9=49', '84*49=4116'] Exploring Operation: 4116/98=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[9, 58, 84, 98], Operations: [] Exploring Operation: 84-58=26, Resulting Numbers: [9, 98, 26] Generated Node #0,0: 42:[9, 98, 26] Operation: 84-58=26 Exploring Operation: 98-58=40, Resulting Numbers: [9, 84, 40] Generated Node #0,1: 42:[9, 84, 40] Operation: 98-58=40 Exploring Operation: 98-84=14, Resulting Numbers: [9, 58, 14] Generated Node #0,2: 42:[9, 58, 14] Operation: 98-84=14 Moving to Node #0,2 Current State: 42:[9, 58, 14], Operations: ['98-84=14'] Exploring Operation: 58-9=49, Resulting Numbers: [14, 49] Generated Node #0,2,0: 42:[14, 49] Operation: 58-9=49 Exploring Operation: 14-9=5, Resulting Numbers: [58, 5] Generated Node #0,2,1: 42:[58, 5] Operation: 14-9=5 Exploring Operation: 58-14=44, Resulting Numbers: [9, 44] Generated Node #0,2,2: 42:[9, 44] Operation: 58-14=44 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[9, 44], Operations: ['98-84=14', '58-14=44'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,42 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,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,0 Current State: 42:[14, 49], Operations: ['98-84=14', '58-9=49'] Exploring Operation: 14*49=686, Resulting Numbers: [686] 686,42 unequal: No Solution Exploring Operation: 14+49=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,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:[58, 5], Operations: ['98-84=14', '14-9=5'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,42 unequal: No Solution Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 58*5=290, Resulting Numbers: [290] 290,42 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: 42:[9, 84, 40], Operations: ['98-58=40'] Exploring Operation: 84-9=75, Resulting Numbers: [40, 75] Generated Node #0,1,0: 42:[40, 75] Operation: 84-9=75 Exploring Operation: 9+40=49, Resulting Numbers: [84, 49] Generated Node #0,1,1: 42:[84, 49] Operation: 9+40=49 Exploring Operation: 84-40=44, Resulting Numbers: [9, 44] Generated Node #0,1,2: 42:[9, 44] Operation: 84-40=44 Moving to Node #0,0 Current State: 42:[9, 98, 26], Operations: ['84-58=26'] Exploring Operation: 98-9=89, Resulting Numbers: [26, 89] Generated Node #0,0,0: 42:[26, 89] Operation: 98-9=89 Exploring Operation: 98-26=72, Resulting Numbers: [9, 72] Generated Node #0,0,1: 42:[9, 72] Operation: 98-26=72 Exploring Operation: 26-9=17, Resulting Numbers: [98, 17] Generated Node #0,0,2: 42:[98, 17] Operation: 26-9=17 Moving to Node #0,1,2 Current State: 42:[9, 44], Operations: ['98-58=40', '84-40=44'] Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,42 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,42 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[9, 72], Operations: ['84-58=26', '98-26=72'] Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[40, 75], Operations: ['98-58=40', '84-9=75'] Exploring Operation: 40+75=115, Resulting Numbers: [115] 115,42 unequal: No Solution Exploring Operation: 40*75=3000, Resulting Numbers: [3000] 3000,42 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[84, 49], Operations: ['98-58=40', '9+40=49'] Exploring Operation: 84*49=4116, Resulting Numbers: [4116] 4116,42 unequal: No Solution Exploring Operation: 84+49=133, Resulting Numbers: [133] 133,42 unequal: No Solution Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[26, 89], Operations: ['84-58=26', '98-9=89'] Exploring Operation: 26+89=115, Resulting Numbers: [115] 115,42 unequal: No Solution Exploring Operation: 26*89=2314, Resulting Numbers: [2314] 2314,42 unequal: No Solution Exploring Operation: 89-26=63, Resulting Numbers: [63] 63,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[98, 17], Operations: ['84-58=26', '26-9=17'] Exploring Operation: 98*17=1666, Resulting Numbers: [1666] 1666,42 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 98+17=115, Resulting Numbers: [115] 115,42 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 48, 66, 28, 14 ]
60
[ "66-48=18", "28+14=42", "18+42=60" ]
Current State: 60:[48, 66, 28, 14], Operations: [] Exploring Operation: 66-48=18, Resulting Numbers: [28, 14, 18] Generated Node #2: [28, 14, 18] from Operation: 66-48=18 Current State: 60:[28, 14, 18], Operations: ['66-48=18'] Exploring Operation: 28+14=42, Resulting Numbers: [18, 42] Generated Node #3: [18, 42] from Operation: 28+14=42 Current State: 60:[18, 42], Operations: ['66-48=18', '28+14=42'] Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[48, 66, 28, 14], Operations: [] Exploring Operation: 48-28=20, Resulting Numbers: [66, 14, 20] Generated Node #0,0: 60:[66, 14, 20] Operation: 48-28=20 Exploring Operation: 28/14=2, Resulting Numbers: [48, 66, 2] Generated Node #0,1: 60:[48, 66, 2] Operation: 28/14=2 Exploring Operation: 48-14=34, Resulting Numbers: [66, 28, 34] Generated Node #0,2: 60:[66, 28, 34] Operation: 48-14=34 Exploring Operation: 48+14=62, Resulting Numbers: [66, 28, 62] Generated Node #0,3: 60:[66, 28, 62] Operation: 48+14=62 Exploring Operation: 66-48=18, Resulting Numbers: [28, 14, 18] Generated Node #0,4: 60:[28, 14, 18] Operation: 66-48=18 Moving to Node #0,4 Current State: 60:[28, 14, 18], Operations: ['66-48=18'] Exploring Operation: 28-14=14, Resulting Numbers: [18, 14] Generated Node #0,4,0: 60:[18, 14] Operation: 28-14=14 Exploring Operation: 28/14=2, Resulting Numbers: [18, 2] Generated Node #0,4,1: 60:[18, 2] Operation: 28/14=2 Exploring Operation: 14+18=32, Resulting Numbers: [28, 32] Generated Node #0,4,2: 60:[28, 32] Operation: 14+18=32 Exploring Operation: 18-14=4, Resulting Numbers: [28, 4] Generated Node #0,4,3: 60:[28, 4] Operation: 18-14=4 Exploring Operation: 28-18=10, Resulting Numbers: [14, 10] Generated Node #0,4,4: 60:[14, 10] Operation: 28-18=10 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 60:[14, 10], Operations: ['66-48=18', '28-18=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,60 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 60:[18, 2], Operations: ['66-48=18', '28/14=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 60:[28, 4], Operations: ['66-48=18', '18-14=4'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 60:[18, 14], Operations: ['66-48=18', '28-14=14'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,60 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 60:[28, 32], Operations: ['66-48=18', '14+18=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[48, 66, 28, 14], Operations: [] Exploring Operation: 66-48=18, Resulting Numbers: [28, 14, 18] Generated Node #0,4: 60:[28, 14, 18] Operation: 66-48=18 Moving to Node #0,4 Current State: 60:[28, 14, 18], Operations: ['66-48=18'] Exploring Operation: 14+18=32, Resulting Numbers: [28, 32] Generated Node #0,4,2: 60:[28, 32] Operation: 14+18=32 Moving to Node #0,4,2 Current State: 60:[28, 32], Operations: ['66-48=18', '14+18=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_5
mult_heuristic
[ 10, 90, 92, 33 ]
53
[ "92-90=2", "10*2=20", "33+20=53" ]
Current State: 53:[10, 90, 92, 33], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [10, 33, 2] Generated Node #2: [10, 33, 2] from Operation: 92-90=2 Current State: 53:[10, 33, 2], Operations: ['92-90=2'] Exploring Operation: 10*2=20, Resulting Numbers: [33, 20] Generated Node #3: [33, 20] from Operation: 10*2=20 Current State: 53:[33, 20], Operations: ['92-90=2', '10*2=20'] Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[10, 90, 92, 33], Operations: [] Exploring Operation: 92-10=82, Resulting Numbers: [90, 33, 82] Generated Node #0,0: 53:[90, 33, 82] Operation: 92-10=82 Exploring Operation: 90-10=80, Resulting Numbers: [92, 33, 80] Generated Node #0,1: 53:[92, 33, 80] Operation: 90-10=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[90, 33, 82], Operations: ['92-10=82'] Exploring Operation: 90-33=57, Resulting Numbers: [82, 57] Generated Node #0,0,0: 53:[82, 57] Operation: 90-33=57 Exploring Operation: 82-33=49, Resulting Numbers: [90, 49] Generated Node #0,0,1: 53:[90, 49] Operation: 82-33=49 Moving to Node #0,0,0 Current State: 53:[82, 57], Operations: ['92-10=82', '90-33=57'] Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 82+57=139, Resulting Numbers: [139] 139,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[90, 49], Operations: ['92-10=82', '82-33=49'] Exploring Operation: 90+49=139, Resulting Numbers: [139] 139,53 unequal: No Solution Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,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,1 Current State: 53:[92, 33, 80], Operations: ['90-10=80'] Exploring Operation: 80-33=47, Resulting Numbers: [92, 47] Generated Node #0,1,0: 53:[92, 47] Operation: 80-33=47 Exploring Operation: 92-33=59, Resulting Numbers: [80, 59] Generated Node #0,1,1: 53:[80, 59] Operation: 92-33=59 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[80, 59], Operations: ['90-10=80', '92-33=59'] Exploring Operation: 80+59=139, Resulting Numbers: [139] 139,53 unequal: No Solution Exploring Operation: 80-59=21, Resulting Numbers: [21] 21,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,1,0 Current State: 53:[92, 47], Operations: ['90-10=80', '80-33=47'] Exploring Operation: 92+47=139, Resulting Numbers: [139] 139,53 unequal: No Solution Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,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_2
mult_heuristic
[ 27, 27, 86, 23 ]
23
[ "27-27=0", "86*0=0", "23+0=23" ]
Current State: 23:[27, 27, 86, 23], Operations: [] Exploring Operation: 27-27=0, Resulting Numbers: [86, 23, 0] Generated Node #2: [86, 23, 0] from Operation: 27-27=0 Current State: 23:[86, 23, 0], Operations: ['27-27=0'] Exploring Operation: 86*0=0, Resulting Numbers: [23, 0] Generated Node #3: [23, 0] from Operation: 86*0=0 Current State: 23:[23, 0], Operations: ['27-27=0', '86*0=0'] Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[27, 27, 86, 23], Operations: [] Exploring Operation: 86-23=63, Resulting Numbers: [27, 27, 63] Generated Node #0,0: 23:[27, 27, 63] Operation: 86-23=63 Exploring Operation: 27-27=0, Resulting Numbers: [86, 23, 0] Generated Node #0,1: 23:[86, 23, 0] Operation: 27-27=0 Exploring Operation: 86-27=59, Resulting Numbers: [27, 23, 59] Generated Node #0,2: 23:[27, 23, 59] Operation: 86-27=59 Exploring Operation: 27/27=1, Resulting Numbers: [86, 23, 1] Generated Node #0,3: 23:[86, 23, 1] Operation: 27/27=1 Exploring Operation: 86-27=59, Resulting Numbers: [27, 23, 59] Generated Node #0,4: 23:[27, 23, 59] Operation: 86-27=59 Moving to Node #0,2 Current State: 23:[27, 23, 59], Operations: ['86-27=59'] Exploring Operation: 27+23=50, Resulting Numbers: [59, 50] Generated Node #0,2,0: 23:[59, 50] Operation: 27+23=50 Exploring Operation: 27-23=4, Resulting Numbers: [59, 4] Generated Node #0,2,1: 23:[59, 4] Operation: 27-23=4 Exploring Operation: 27+59=86, Resulting Numbers: [23, 86] Generated Node #0,2,2: 23:[23, 86] Operation: 27+59=86 Exploring Operation: 59-27=32, Resulting Numbers: [23, 32] Generated Node #0,2,3: 23:[23, 32] Operation: 59-27=32 Exploring Operation: 59-23=36, Resulting Numbers: [27, 36] Generated Node #0,2,4: 23:[27, 36] Operation: 59-23=36 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 23:[23, 32], Operations: ['86-27=59', '59-27=32'] Exploring Operation: 23*32=736, Resulting Numbers: [736] 736,23 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,23 unequal: No Solution No 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: 23:[27, 36], Operations: ['86-27=59', '59-23=36'] Exploring Operation: 27*36=972, Resulting Numbers: [972] 972,23 unequal: No Solution Exploring Operation: 27+36=63, Resulting Numbers: [63] 63,23 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,23 unequal: No Solution No 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: 23:[59, 4], Operations: ['86-27=59', '27-23=4'] Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,23 unequal: No Solution Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,23 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,23 unequal: No Solution No 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: 23:[59, 50], Operations: ['86-27=59', '27+23=50'] Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 59*50=2950, Resulting Numbers: [2950] 2950,23 unequal: No Solution Exploring Operation: 59+50=109, Resulting Numbers: [109] 109,23 unequal: No Solution No 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: 23:[23, 86], Operations: ['86-27=59', '27+59=86'] Exploring Operation: 23+86=109, Resulting Numbers: [109] 109,23 unequal: No Solution Exploring Operation: 23*86=1978, Resulting Numbers: [1978] 1978,23 unequal: No Solution Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,23 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: 23:[27, 23, 59], Operations: ['86-27=59'] Exploring Operation: 27+59=86, Resulting Numbers: [23, 86] Generated Node #0,4,0: 23:[23, 86] Operation: 27+59=86 Exploring Operation: 59-23=36, Resulting Numbers: [27, 36] Generated Node #0,4,1: 23:[27, 36] Operation: 59-23=36 Exploring Operation: 27+23=50, Resulting Numbers: [59, 50] Generated Node #0,4,2: 23:[59, 50] Operation: 27+23=50 Exploring Operation: 27-23=4, Resulting Numbers: [59, 4] Generated Node #0,4,3: 23:[59, 4] Operation: 27-23=4 Exploring Operation: 59-27=32, Resulting Numbers: [23, 32] Generated Node #0,4,4: 23:[23, 32] Operation: 59-27=32 Moving to Node #0,0 Current State: 23:[27, 27, 63], Operations: ['86-23=63'] Exploring Operation: 63-27=36, Resulting Numbers: [27, 36] Generated Node #0,0,0: 23:[27, 36] Operation: 63-27=36 Exploring Operation: 27+27=54, Resulting Numbers: [63, 54] Generated Node #0,0,1: 23:[63, 54] Operation: 27+27=54 Exploring Operation: 27/27=1, Resulting Numbers: [63, 1] Generated Node #0,0,2: 23:[63, 1] Operation: 27/27=1 Exploring Operation: 63-27=36, Resulting Numbers: [27, 36] Generated Node #0,0,3: 23:[27, 36] Operation: 63-27=36 Exploring Operation: 27-27=0, Resulting Numbers: [63, 0] Generated Node #0,0,4: 23:[63, 0] Operation: 27-27=0 Moving to Node #0,3 Current State: 23:[86, 23, 1], Operations: ['27/27=1'] Exploring Operation: 86-1=85, Resulting Numbers: [23, 85] Generated Node #0,3,0: 23:[23, 85] Operation: 86-1=85 Exploring Operation: 86*1=86, Resulting Numbers: [23, 86] Generated Node #0,3,1: 23:[23, 86] Operation: 86*1=86 Exploring Operation: 23*1=23, Resulting Numbers: [86, 23] Generated Node #0,3,2: 23:[86, 23] Operation: 23*1=23 Exploring Operation: 86-23=63, Resulting Numbers: [1, 63] Generated Node #0,3,3: 23:[1, 63] Operation: 86-23=63 Exploring Operation: 86/1=86, Resulting Numbers: [23, 86] Generated Node #0,3,4: 23:[23, 86] Operation: 86/1=86 Moving to Node #0,1 Current State: 23:[86, 23, 0], Operations: ['27-27=0'] Exploring Operation: 86*0=0, Resulting Numbers: [23, 0] Generated Node #0,1,0: 23:[23, 0] Operation: 86*0=0 Exploring Operation: 86-0=86, Resulting Numbers: [23, 86] Generated Node #0,1,1: 23:[23, 86] Operation: 86-0=86 Exploring Operation: 86-23=63, Resulting Numbers: [0, 63] Generated Node #0,1,2: 23:[0, 63] Operation: 86-23=63 Exploring Operation: 86+0=86, Resulting Numbers: [23, 86] Generated Node #0,1,3: 23:[23, 86] Operation: 86+0=86 Exploring Operation: 23+0=23, Resulting Numbers: [86, 23] Generated Node #0,1,4: 23:[86, 23] Operation: 23+0=23 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[23, 0], Operations: ['27-27=0', '86*0=0'] Exploring Operation: 23*0=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[27, 27, 86, 23], Operations: [] Exploring Operation: 27-27=0, Resulting Numbers: [86, 23, 0] Generated Node #0,1: 23:[86, 23, 0] Operation: 27-27=0 Moving to Node #0,1 Current State: 23:[86, 23, 0], Operations: ['27-27=0'] Exploring Operation: 86*0=0, Resulting Numbers: [23, 0] Generated Node #0,1,0: 23:[23, 0] Operation: 86*0=0 Moving to Node #0,1,0 Current State: 23:[23, 0], Operations: ['27-27=0', '86*0=0'] Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_5
sum_heuristic
[ 28, 78, 47, 35 ]
32
[ "78-28=50", "47+35=82", "82-50=32" ]
Current State: 32:[28, 78, 47, 35], Operations: [] Exploring Operation: 78-28=50, Resulting Numbers: [47, 35, 50] Generated Node #2: [47, 35, 50] from Operation: 78-28=50 Current State: 32:[47, 35, 50], Operations: ['78-28=50'] Exploring Operation: 47+35=82, Resulting Numbers: [50, 82] Generated Node #3: [50, 82] from Operation: 47+35=82 Current State: 32:[50, 82], Operations: ['78-28=50', '47+35=82'] Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[28, 78, 47, 35], Operations: [] Exploring Operation: 78-35=43, Resulting Numbers: [28, 47, 43] Generated Node #0,0: 32:[28, 47, 43] Operation: 78-35=43 Exploring Operation: 78-47=31, Resulting Numbers: [28, 35, 31] Generated Node #0,1: 32:[28, 35, 31] Operation: 78-47=31 Exploring Operation: 78-28=50, Resulting Numbers: [47, 35, 50] Generated Node #0,2: 32:[47, 35, 50] Operation: 78-28=50 Moving to Node #0,1 Current State: 32:[28, 35, 31], Operations: ['78-47=31'] Exploring Operation: 35-31=4, Resulting Numbers: [28, 4] Generated Node #0,1,0: 32:[28, 4] Operation: 35-31=4 Exploring Operation: 31-28=3, Resulting Numbers: [35, 3] Generated Node #0,1,1: 32:[35, 3] Operation: 31-28=3 Exploring Operation: 35-28=7, Resulting Numbers: [31, 7] Generated Node #0,1,2: 32:[31, 7] Operation: 35-28=7 Moving to Node #0,0 Current State: 32:[28, 47, 43], Operations: ['78-35=43'] Exploring Operation: 47-43=4, Resulting Numbers: [28, 4] Generated Node #0,0,0: 32:[28, 4] Operation: 47-43=4 Exploring Operation: 47-28=19, Resulting Numbers: [43, 19] Generated Node #0,0,1: 32:[43, 19] Operation: 47-28=19 Exploring Operation: 43-28=15, Resulting Numbers: [47, 15] Generated Node #0,0,2: 32:[47, 15] Operation: 43-28=15 Moving to Node #0,2 Current State: 32:[47, 35, 50], Operations: ['78-28=50'] Exploring Operation: 50-47=3, Resulting Numbers: [35, 3] Generated Node #0,2,0: 32:[35, 3] Operation: 50-47=3 Exploring Operation: 50-35=15, Resulting Numbers: [47, 15] Generated Node #0,2,1: 32:[47, 15] Operation: 50-35=15 Exploring Operation: 47-35=12, Resulting Numbers: [50, 12] Generated Node #0,2,2: 32:[50, 12] Operation: 47-35=12 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[35, 3], Operations: ['78-28=50', '50-47=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,32 unequal: No Solution Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,32 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[28, 78, 47, 35], Operations: [] Exploring Operation: 78-28=50, Resulting Numbers: [47, 35, 50] Generated Node #0,2: 32:[47, 35, 50] Operation: 78-28=50 Moving to Node #0,2 Current State: 32:[47, 35, 50], Operations: ['78-28=50'] Exploring Operation: 50-47=3, Resulting Numbers: [35, 3] Generated Node #0,2,0: 32:[35, 3] Operation: 50-47=3 Moving to Node #0,2,0 Current State: 32:[35, 3], Operations: ['78-28=50', '50-47=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 77, 16, 88, 99 ]
25
[ "88-77=11", "99/11=9", "16+9=25" ]
Current State: 25:[77, 16, 88, 99], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [16, 99, 11] Generated Node #2: [16, 99, 11] from Operation: 88-77=11 Current State: 25:[16, 99, 11], Operations: ['88-77=11'] Exploring Operation: 99/11=9, Resulting Numbers: [16, 9] Generated Node #3: [16, 9] from Operation: 99/11=9 Current State: 25:[16, 9], Operations: ['88-77=11', '99/11=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[77, 16, 88, 99], Operations: [] Exploring Operation: 99-88=11, Resulting Numbers: [77, 16, 11] Generated Node #0,0: 25:[77, 16, 11] Operation: 99-88=11 Exploring Operation: 99-77=22, Resulting Numbers: [16, 88, 22] Generated Node #0,1: 25:[16, 88, 22] Operation: 99-77=22 Moving to Node #0,0 Current State: 25:[77, 16, 11], Operations: ['99-88=11'] Exploring Operation: 77-16=61, Resulting Numbers: [11, 61] Generated Node #0,0,0: 25:[11, 61] Operation: 77-16=61 Exploring Operation: 77/11=7, Resulting Numbers: [16, 7] Generated Node #0,0,1: 25:[16, 7] Operation: 77/11=7 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[16, 7], Operations: ['99-88=11', '77/11=7'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[11, 61], Operations: ['99-88=11', '77-16=61'] Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 11+61=72, Resulting Numbers: [72] 72,25 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: 25:[16, 88, 22], Operations: ['99-77=22'] Exploring Operation: 88-16=72, Resulting Numbers: [22, 72] Generated Node #0,1,0: 25:[22, 72] Operation: 88-16=72 Exploring Operation: 88/22=4, Resulting Numbers: [16, 4] Generated Node #0,1,1: 25:[16, 4] Operation: 88/22=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[16, 4], Operations: ['99-77=22', '88/22=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[22, 72], Operations: ['99-77=22', '88-16=72'] Exploring Operation: 22+72=94, Resulting Numbers: [94] 94,25 unequal: No Solution Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,25 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
[ 89, 19, 9, 35 ]
82
[ "89+19=108", "35-9=26", "108-26=82" ]
Current State: 82:[89, 19, 9, 35], Operations: [] Exploring Operation: 89+19=108, Resulting Numbers: [9, 35, 108] Generated Node #2: [9, 35, 108] from Operation: 89+19=108 Current State: 82:[9, 35, 108], Operations: ['89+19=108'] Exploring Operation: 35-9=26, Resulting Numbers: [108, 26] Generated Node #3: [108, 26] from Operation: 35-9=26 Current State: 82:[108, 26], Operations: ['89+19=108', '35-9=26'] Exploring Operation: 108-26=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[89, 19, 9, 35], Operations: [] Exploring Operation: 19-9=10, Resulting Numbers: [89, 35, 10] Generated Node #0,0: 82:[89, 35, 10] Operation: 19-9=10 Moving to Node #0,0 Current State: 82:[89, 35, 10], Operations: ['19-9=10'] Exploring Operation: 89-10=79, Resulting Numbers: [35, 79] Generated Node #0,0,0: 82:[35, 79] Operation: 89-10=79 Moving to Node #0,0,0 Current State: 82:[35, 79], Operations: ['19-9=10', '89-10=79'] Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,82 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 27, 3, 49, 48 ]
84
[ "27+49=76", "76-48=28", "3*28=84" ]
Current State: 84:[27, 3, 49, 48], Operations: [] Exploring Operation: 27+49=76, Resulting Numbers: [3, 48, 76] Generated Node #2: [3, 48, 76] from Operation: 27+49=76 Current State: 84:[3, 48, 76], Operations: ['27+49=76'] Exploring Operation: 76-48=28, Resulting Numbers: [3, 28] Generated Node #3: [3, 28] from Operation: 76-48=28 Current State: 84:[3, 28], Operations: ['27+49=76', '76-48=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[27, 3, 49, 48], Operations: [] Exploring Operation: 49-27=22, Resulting Numbers: [3, 48, 22] Generated Node #0,0: 84:[3, 48, 22] Operation: 49-27=22 Exploring Operation: 48/3=16, Resulting Numbers: [27, 49, 16] Generated Node #0,1: 84:[27, 49, 16] Operation: 48/3=16 Exploring Operation: 49-48=1, Resulting Numbers: [27, 3, 1] Generated Node #0,2: 84:[27, 3, 1] Operation: 49-48=1 Exploring Operation: 48-27=21, Resulting Numbers: [3, 49, 21] Generated Node #0,3: 84:[3, 49, 21] Operation: 48-27=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[27, 3, 1], Operations: ['49-48=1'] Exploring Operation: 27*1=27, Resulting Numbers: [3, 27] Generated Node #0,2,0: 84:[3, 27] Operation: 27*1=27 Exploring Operation: 3+1=4, Resulting Numbers: [27, 4] Generated Node #0,2,1: 84:[27, 4] Operation: 3+1=4 Exploring Operation: 27/1=27, Resulting Numbers: [3, 27] Generated Node #0,2,2: 84:[3, 27] Operation: 27/1=27 Exploring Operation: 27+1=28, Resulting Numbers: [3, 28] Generated Node #0,2,3: 84:[3, 28] Operation: 27+1=28 Moving to Node #0,2,3 Current State: 84:[3, 28], Operations: ['49-48=1', '27+1=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,84 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[27, 3, 49, 48], Operations: [] Exploring Operation: 49-48=1, Resulting Numbers: [27, 3, 1] Generated Node #0,2: 84:[27, 3, 1] Operation: 49-48=1 Moving to Node #0,2 Current State: 84:[27, 3, 1], Operations: ['49-48=1'] Exploring Operation: 27+1=28, Resulting Numbers: [3, 28] Generated Node #0,2,3: 84:[3, 28] Operation: 27+1=28 Moving to Node #0,2,3 Current State: 84:[3, 28], Operations: ['49-48=1', '27+1=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 67, 98, 41, 44 ]
34
[ "98-67=31", "44-41=3", "31+3=34" ]
Current State: 34:[67, 98, 41, 44], Operations: [] Exploring Operation: 98-67=31, Resulting Numbers: [41, 44, 31] Generated Node #2: [41, 44, 31] from Operation: 98-67=31 Current State: 34:[41, 44, 31], Operations: ['98-67=31'] Exploring Operation: 44-41=3, Resulting Numbers: [31, 3] Generated Node #3: [31, 3] from Operation: 44-41=3 Current State: 34:[31, 3], Operations: ['98-67=31', '44-41=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[67, 98, 41, 44], Operations: [] Exploring Operation: 98-67=31, Resulting Numbers: [41, 44, 31] Generated Node #0,0: 34:[41, 44, 31] Operation: 98-67=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[41, 44, 31], Operations: ['98-67=31'] Exploring Operation: 44-41=3, Resulting Numbers: [31, 3] Generated Node #0,0,0: 34:[31, 3] Operation: 44-41=3 Moving to Node #0,0,0 Current State: 34:[31, 3], Operations: ['98-67=31', '44-41=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[67, 98, 41, 44], Operations: [] Exploring Operation: 98-67=31, Resulting Numbers: [41, 44, 31] Generated Node #0,0: 34:[41, 44, 31] Operation: 98-67=31 Moving to Node #0,0 Current State: 34:[41, 44, 31], Operations: ['98-67=31'] Exploring Operation: 44-41=3, Resulting Numbers: [31, 3] Generated Node #0,0,0: 34:[31, 3] Operation: 44-41=3 Moving to Node #0,0,0 Current State: 34:[31, 3], Operations: ['98-67=31', '44-41=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 16, 95, 29, 33 ]
18
[ "95-29=66", "66/33=2", "16+2=18" ]
Current State: 18:[16, 95, 29, 33], Operations: [] Exploring Operation: 95-29=66, Resulting Numbers: [16, 33, 66] Generated Node #2: [16, 33, 66] from Operation: 95-29=66 Current State: 18:[16, 33, 66], Operations: ['95-29=66'] Exploring Operation: 66/33=2, Resulting Numbers: [16, 2] Generated Node #3: [16, 2] from Operation: 66/33=2 Current State: 18:[16, 2], Operations: ['95-29=66', '66/33=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[16, 95, 29, 33], Operations: [] Exploring Operation: 33-29=4, Resulting Numbers: [16, 95, 4] Generated Node #0,0: 18:[16, 95, 4] Operation: 33-29=4 Exploring Operation: 95-33=62, Resulting Numbers: [16, 29, 62] Generated Node #0,1: 18:[16, 29, 62] Operation: 95-33=62 Exploring Operation: 95-29=66, Resulting Numbers: [16, 33, 66] Generated Node #0,2: 18:[16, 33, 66] Operation: 95-29=66 Exploring Operation: 95-16=79, Resulting Numbers: [29, 33, 79] Generated Node #0,3: 18:[29, 33, 79] Operation: 95-16=79 Moving to Node #0,1 Current State: 18:[16, 29, 62], Operations: ['95-33=62'] Exploring Operation: 62-16=46, Resulting Numbers: [29, 46] Generated Node #0,1,0: 18:[29, 46] Operation: 62-16=46 Exploring Operation: 29-16=13, Resulting Numbers: [62, 13] Generated Node #0,1,1: 18:[62, 13] Operation: 29-16=13 Exploring Operation: 62-29=33, Resulting Numbers: [16, 33] Generated Node #0,1,2: 18:[16, 33] Operation: 62-29=33 Exploring Operation: 16+29=45, Resulting Numbers: [62, 45] Generated Node #0,1,3: 18:[62, 45] Operation: 16+29=45 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[16, 33], Operations: ['95-33=62', '62-29=33'] Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,18 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,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:[29, 46], Operations: ['95-33=62', '62-16=46'] Exploring Operation: 29*46=1334, Resulting Numbers: [1334] 1334,18 unequal: No Solution Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 29+46=75, Resulting Numbers: [75] 75,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:[62, 13], Operations: ['95-33=62', '29-16=13'] Exploring Operation: 62*13=806, Resulting Numbers: [806] 806,18 unequal: No Solution Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 62+13=75, Resulting Numbers: [75] 75,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:[62, 45], Operations: ['95-33=62', '16+29=45'] Exploring Operation: 62+45=107, Resulting Numbers: [107] 107,18 unequal: No Solution Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 62*45=2790, Resulting Numbers: [2790] 2790,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:[16, 33, 66], Operations: ['95-29=66'] Exploring Operation: 66/33=2, Resulting Numbers: [16, 2] Generated Node #0,2,0: 18:[16, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [16, 33] Generated Node #0,2,1: 18:[16, 33] Operation: 66-33=33 Exploring Operation: 33-16=17, Resulting Numbers: [66, 17] Generated Node #0,2,2: 18:[66, 17] Operation: 33-16=17 Exploring Operation: 66-16=50, Resulting Numbers: [33, 50] Generated Node #0,2,3: 18:[33, 50] Operation: 66-16=50 Moving to Node #0,0 Current State: 18:[16, 95, 4], Operations: ['33-29=4'] Exploring Operation: 16/4=4, Resulting Numbers: [95, 4] Generated Node #0,0,0: 18:[95, 4] Operation: 16/4=4 Exploring Operation: 95-4=91, Resulting Numbers: [16, 91] Generated Node #0,0,1: 18:[16, 91] Operation: 95-4=91 Exploring Operation: 95-16=79, Resulting Numbers: [4, 79] Generated Node #0,0,2: 18:[4, 79] Operation: 95-16=79 Exploring Operation: 16+4=20, Resulting Numbers: [95, 20] Generated Node #0,0,3: 18:[95, 20] Operation: 16+4=20 Moving to Node #0,3 Current State: 18:[29, 33, 79], Operations: ['95-16=79'] Exploring Operation: 79-33=46, Resulting Numbers: [29, 46] Generated Node #0,3,0: 18:[29, 46] Operation: 79-33=46 Exploring Operation: 29+33=62, Resulting Numbers: [79, 62] Generated Node #0,3,1: 18:[79, 62] Operation: 29+33=62 Exploring Operation: 79-29=50, Resulting Numbers: [33, 50] Generated Node #0,3,2: 18:[33, 50] Operation: 79-29=50 Exploring Operation: 33-29=4, Resulting Numbers: [79, 4] Generated Node #0,3,3: 18:[79, 4] Operation: 33-29=4 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 18:[29, 46], Operations: ['95-16=79', '79-33=46'] Exploring Operation: 29*46=1334, Resulting Numbers: [1334] 1334,18 unequal: No Solution Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,18 unequal: No Solution Exploring Operation: 29+46=75, Resulting Numbers: [75] 75,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,3,2 Current State: 18:[33, 50], Operations: ['95-16=79', '79-29=50'] Exploring Operation: 33+50=83, Resulting Numbers: [83] 83,18 unequal: No Solution Exploring Operation: 33*50=1650, Resulting Numbers: [1650] 1650,18 unequal: No Solution Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,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,3,3 Current State: 18:[79, 4], Operations: ['95-16=79', '33-29=4'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,18 unequal: No Solution Exploring Operation: 79*4=316, Resulting Numbers: [316] 316,18 unequal: No Solution Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,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,3,1 Current State: 18:[79, 62], Operations: ['95-16=79', '29+33=62'] Exploring Operation: 79*62=4898, Resulting Numbers: [4898] 4898,18 unequal: No Solution Exploring Operation: 79+62=141, Resulting Numbers: [141] 141,18 unequal: No Solution Exploring Operation: 79-62=17, Resulting Numbers: [17] 17,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 18:[16, 2], Operations: ['95-29=66', '66/33=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[16, 95, 29, 33], Operations: [] Exploring Operation: 95-29=66, Resulting Numbers: [16, 33, 66] Generated Node #0,2: 18:[16, 33, 66] Operation: 95-29=66 Moving to Node #0,2 Current State: 18:[16, 33, 66], Operations: ['95-29=66'] Exploring Operation: 66/33=2, Resulting Numbers: [16, 2] Generated Node #0,2,0: 18:[16, 2] Operation: 66/33=2 Moving to Node #0,2,0 Current State: 18:[16, 2], Operations: ['95-29=66', '66/33=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.956597
hs_4
mult_heuristic
[ 33, 75, 42, 44 ]
45
[ "75-33=42", "42/42=1", "44+1=45" ]
Current State: 45:[33, 75, 42, 44], Operations: [] Exploring Operation: 75-33=42, Resulting Numbers: [42, 44, 42] Generated Node #2: [42, 44, 42] from Operation: 75-33=42 Current State: 45:[42, 44, 42], Operations: ['75-33=42'] Exploring Operation: 42/42=1, Resulting Numbers: [44, 1] Generated Node #3: [44, 1] from Operation: 42/42=1 Current State: 45:[44, 1], Operations: ['75-33=42', '42/42=1'] Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[33, 75, 42, 44], Operations: [] Exploring Operation: 75-33=42, Resulting Numbers: [42, 44, 42] Generated Node #0,0: 45:[42, 44, 42] Operation: 75-33=42 Exploring Operation: 75-42=33, Resulting Numbers: [33, 44, 33] Generated Node #0,1: 45:[33, 44, 33] Operation: 75-42=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[42, 44, 42], Operations: ['75-33=42'] Exploring Operation: 44-42=2, Resulting Numbers: [42, 2] Generated Node #0,0,0: 45:[42, 2] Operation: 44-42=2 Exploring Operation: 42/42=1, Resulting Numbers: [44, 1] Generated Node #0,0,1: 45:[44, 1] Operation: 42/42=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 45:[44, 1], Operations: ['75-33=42', '42/42=1'] Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[33, 75, 42, 44], Operations: [] Exploring Operation: 75-33=42, Resulting Numbers: [42, 44, 42] Generated Node #0,0: 45:[42, 44, 42] Operation: 75-33=42 Moving to Node #0,0 Current State: 45:[42, 44, 42], Operations: ['75-33=42'] Exploring Operation: 42/42=1, Resulting Numbers: [44, 1] Generated Node #0,0,1: 45:[44, 1] Operation: 42/42=1 Moving to Node #0,0,1 Current State: 45:[44, 1], Operations: ['75-33=42', '42/42=1'] Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 8, 50, 1, 28 ]
13
[ "50-8=42", "1+28=29", "42-29=13" ]
Current State: 13:[8, 50, 1, 28], Operations: [] Exploring Operation: 50-8=42, Resulting Numbers: [1, 28, 42] Generated Node #2: [1, 28, 42] from Operation: 50-8=42 Current State: 13:[1, 28, 42], Operations: ['50-8=42'] Exploring Operation: 1+28=29, Resulting Numbers: [42, 29] Generated Node #3: [42, 29] from Operation: 1+28=29 Current State: 13:[42, 29], Operations: ['50-8=42', '1+28=29'] Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[8, 50, 1, 28], Operations: [] Exploring Operation: 8+1=9, Resulting Numbers: [50, 28, 9] Generated Node #0,0: 13:[50, 28, 9] Operation: 8+1=9 Exploring Operation: 28-8=20, Resulting Numbers: [50, 1, 20] Generated Node #0,1: 13:[50, 1, 20] Operation: 28-8=20 Exploring Operation: 50-28=22, Resulting Numbers: [8, 1, 22] Generated Node #0,2: 13:[8, 1, 22] Operation: 50-28=22 Exploring Operation: 50-8=42, Resulting Numbers: [1, 28, 42] Generated Node #0,3: 13:[1, 28, 42] Operation: 50-8=42 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[8, 1, 22], Operations: ['50-28=22'] Exploring Operation: 8*1=8, Resulting Numbers: [22, 8] Generated Node #0,2,0: 13:[22, 8] Operation: 8*1=8 Exploring Operation: 22-8=14, Resulting Numbers: [1, 14] Generated Node #0,2,1: 13:[1, 14] Operation: 22-8=14 Exploring Operation: 22-1=21, Resulting Numbers: [8, 21] Generated Node #0,2,2: 13:[8, 21] Operation: 22-1=21 Exploring Operation: 8+1=9, Resulting Numbers: [22, 9] Generated Node #0,2,3: 13:[22, 9] Operation: 8+1=9 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 13:[1, 14], Operations: ['50-28=22', '22-8=14'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[8, 50, 1, 28], Operations: [] Exploring Operation: 50-28=22, Resulting Numbers: [8, 1, 22] Generated Node #0,2: 13:[8, 1, 22] Operation: 50-28=22 Moving to Node #0,2 Current State: 13:[8, 1, 22], Operations: ['50-28=22'] Exploring Operation: 22-8=14, Resulting Numbers: [1, 14] Generated Node #0,2,1: 13:[1, 14] Operation: 22-8=14 Moving to Node #0,2,1 Current State: 13:[1, 14], Operations: ['50-28=22', '22-8=14'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 11, 29, 10, 35 ]
15
[ "11+29=40", "35-10=25", "40-25=15" ]
Current State: 15:[11, 29, 10, 35], Operations: [] Exploring Operation: 11+29=40, Resulting Numbers: [10, 35, 40] Generated Node #2: [10, 35, 40] from Operation: 11+29=40 Current State: 15:[10, 35, 40], Operations: ['11+29=40'] Exploring Operation: 35-10=25, Resulting Numbers: [40, 25] Generated Node #3: [40, 25] from Operation: 35-10=25 Current State: 15:[40, 25], Operations: ['11+29=40', '35-10=25'] Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[11, 29, 10, 35], Operations: [] Exploring Operation: 35-11=24, Resulting Numbers: [29, 10, 24] Generated Node #0,0: 15:[29, 10, 24] Operation: 35-11=24 Exploring Operation: 35-29=6, Resulting Numbers: [11, 10, 6] Generated Node #0,1: 15:[11, 10, 6] Operation: 35-29=6 Exploring Operation: 29-10=19, Resulting Numbers: [11, 35, 19] Generated Node #0,2: 15:[11, 35, 19] Operation: 29-10=19 Exploring Operation: 29-11=18, Resulting Numbers: [10, 35, 18] Generated Node #0,3: 15:[10, 35, 18] Operation: 29-11=18 Exploring Operation: 35-10=25, Resulting Numbers: [11, 29, 25] Generated Node #0,4: 15:[11, 29, 25] Operation: 35-10=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[11, 10, 6], Operations: ['35-29=6'] Exploring Operation: 11+10=21, Resulting Numbers: [6, 21] Generated Node #0,1,0: 15:[6, 21] Operation: 11+10=21 Exploring Operation: 10+6=16, Resulting Numbers: [11, 16] Generated Node #0,1,1: 15:[11, 16] Operation: 10+6=16 Exploring Operation: 11-10=1, Resulting Numbers: [6, 1] Generated Node #0,1,2: 15:[6, 1] Operation: 11-10=1 Exploring Operation: 10-6=4, Resulting Numbers: [11, 4] Generated Node #0,1,3: 15:[11, 4] Operation: 10-6=4 Exploring Operation: 11-6=5, Resulting Numbers: [10, 5] Generated Node #0,1,4: 15:[10, 5] Operation: 11-6=5 Moving to Node #0,1,2 Current State: 15:[6, 1], Operations: ['35-29=6', '11-10=1'] Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[11, 4], Operations: ['35-29=6', '10-6=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[11, 29, 10, 35], Operations: [] Exploring Operation: 35-29=6, Resulting Numbers: [11, 10, 6] Generated Node #0,1: 15:[11, 10, 6] Operation: 35-29=6 Moving to Node #0,1 Current State: 15:[11, 10, 6], Operations: ['35-29=6'] Exploring Operation: 10-6=4, Resulting Numbers: [11, 4] Generated Node #0,1,3: 15:[11, 4] Operation: 10-6=4 Moving to Node #0,1,3 Current State: 15:[11, 4], Operations: ['35-29=6', '10-6=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 78, 24, 14, 2 ]
66
[ "78-24=54", "14-2=12", "54+12=66" ]
Current State: 66:[78, 24, 14, 2], Operations: [] Exploring Operation: 78-24=54, Resulting Numbers: [14, 2, 54] Generated Node #2: [14, 2, 54] from Operation: 78-24=54 Current State: 66:[14, 2, 54], Operations: ['78-24=54'] Exploring Operation: 14-2=12, Resulting Numbers: [54, 12] Generated Node #3: [54, 12] from Operation: 14-2=12 Current State: 66:[54, 12], Operations: ['78-24=54', '14-2=12'] Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[78, 24, 14, 2], Operations: [] Exploring Operation: 78/2=39, Resulting Numbers: [24, 14, 39] Generated Node #0,0: 66:[24, 14, 39] Operation: 78/2=39 Exploring Operation: 78-14=64, Resulting Numbers: [24, 2, 64] Generated Node #0,1: 66:[24, 2, 64] Operation: 78-14=64 Moving to Node #0,1 Current State: 66:[24, 2, 64], Operations: ['78-14=64'] Exploring Operation: 24-2=22, Resulting Numbers: [64, 22] Generated Node #0,1,0: 66:[64, 22] Operation: 24-2=22 Exploring Operation: 2+64=66, Resulting Numbers: [24, 66] Generated Node #0,1,1: 66:[24, 66] Operation: 2+64=66 Moving to Node #0,0 Current State: 66:[24, 14, 39], Operations: ['78/2=39'] Exploring Operation: 39-14=25, Resulting Numbers: [24, 25] Generated Node #0,0,0: 66:[24, 25] Operation: 39-14=25 Exploring Operation: 24+39=63, Resulting Numbers: [14, 63] Generated Node #0,0,1: 66:[14, 63] Operation: 24+39=63 Moving to Node #0,1,0 Current State: 66:[64, 22], Operations: ['78-14=64', '24-2=22'] Exploring Operation: 64+22=86, Resulting Numbers: [86] 86,66 unequal: No Solution Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[24, 66], Operations: ['78-14=64', '2+64=66'] Exploring Operation: 24+66=90, Resulting Numbers: [90] 90,66 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[24, 25], Operations: ['78/2=39', '39-14=25'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[14, 63], Operations: ['78/2=39', '24+39=63'] Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,66 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,66 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 5, 33, 6, 99 ]
23
[ "99/33=3", "6*3=18", "5+18=23" ]
Current State: 23:[5, 33, 6, 99], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [5, 6, 3] Generated Node #2: [5, 6, 3] from Operation: 99/33=3 Current State: 23:[5, 6, 3], Operations: ['99/33=3'] Exploring Operation: 6*3=18, Resulting Numbers: [5, 18] Generated Node #3: [5, 18] from Operation: 6*3=18 Current State: 23:[5, 18], Operations: ['99/33=3', '6*3=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[5, 33, 6, 99], Operations: [] Exploring Operation: 99-33=66, Resulting Numbers: [5, 6, 66] Generated Node #0,0: 23:[5, 6, 66] Operation: 99-33=66 Exploring Operation: 99/33=3, Resulting Numbers: [5, 6, 3] Generated Node #0,1: 23:[5, 6, 3] Operation: 99/33=3 Moving to Node #0,1 Current State: 23:[5, 6, 3], Operations: ['99/33=3'] Exploring Operation: 6*3=18, Resulting Numbers: [5, 18] Generated Node #0,1,0: 23:[5, 18] Operation: 6*3=18 Exploring Operation: 5*3=15, Resulting Numbers: [6, 15] Generated Node #0,1,1: 23:[6, 15] Operation: 5*3=15 Moving to Node #0,0 Current State: 23:[5, 6, 66], Operations: ['99-33=66'] Exploring Operation: 66/6=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 23:[5, 11] Operation: 66/6=11 Exploring Operation: 5*6=30, Resulting Numbers: [66, 30] Generated Node #0,0,1: 23:[66, 30] Operation: 5*6=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[5, 11], Operations: ['99-33=66', '66/6=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,23 unequal: No Solution No solution 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: 23:[66, 30], Operations: ['99-33=66', '5*6=30'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,23 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: 23:[5, 18], Operations: ['99/33=3', '6*3=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[5, 33, 6, 99], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [5, 6, 3] Generated Node #0,1: 23:[5, 6, 3] Operation: 99/33=3 Moving to Node #0,1 Current State: 23:[5, 6, 3], Operations: ['99/33=3'] Exploring Operation: 6*3=18, Resulting Numbers: [5, 18] Generated Node #0,1,0: 23:[5, 18] Operation: 6*3=18 Moving to Node #0,1,0 Current State: 23:[5, 18], Operations: ['99/33=3', '6*3=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 60, 78, 3, 42 ]
84
[ "60-42=18", "18/3=6", "78+6=84" ]
Current State: 84:[60, 78, 3, 42], Operations: [] Exploring Operation: 60-42=18, Resulting Numbers: [78, 3, 18] Generated Node #2: [78, 3, 18] from Operation: 60-42=18 Current State: 84:[78, 3, 18], Operations: ['60-42=18'] Exploring Operation: 18/3=6, Resulting Numbers: [78, 6] Generated Node #3: [78, 6] from Operation: 18/3=6 Current State: 84:[78, 6], Operations: ['60-42=18', '18/3=6'] Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[60, 78, 3, 42], Operations: [] Exploring Operation: 60/3=20, Resulting Numbers: [78, 42, 20] Generated Node #0,0: 84:[78, 42, 20] Operation: 60/3=20 Exploring Operation: 78-60=18, Resulting Numbers: [3, 42, 18] Generated Node #0,1: 84:[3, 42, 18] Operation: 78-60=18 Moving to Node #0,1 Current State: 84:[3, 42, 18], Operations: ['78-60=18'] Exploring Operation: 18/3=6, Resulting Numbers: [42, 6] Generated Node #0,1,0: 84:[42, 6] Operation: 18/3=6 Exploring Operation: 3+18=21, Resulting Numbers: [42, 21] Generated Node #0,1,1: 84:[42, 21] Operation: 3+18=21 Moving to Node #0,0 Current State: 84:[78, 42, 20], Operations: ['60/3=20'] Exploring Operation: 42-20=22, Resulting Numbers: [78, 22] Generated Node #0,0,0: 84:[78, 22] Operation: 42-20=22 Exploring Operation: 78-42=36, Resulting Numbers: [20, 36] Generated Node #0,0,1: 84:[20, 36] Operation: 78-42=36 Moving to Node #0,1,0 Current State: 84:[42, 6], Operations: ['78-60=18', '18/3=6'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[42, 21], Operations: ['78-60=18', '3+18=21'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[20, 36], Operations: ['60/3=20', '78-42=36'] Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[78, 22], Operations: ['60/3=20', '42-20=22'] Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 78+22=100, Resulting Numbers: [100] 100,84 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 60, 98, 31, 11 ]
18
[ "98-60=38", "31-11=20", "38-20=18" ]
Current State: 18:[60, 98, 31, 11], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [31, 11, 38] Generated Node #2: [31, 11, 38] from Operation: 98-60=38 Current State: 18:[31, 11, 38], Operations: ['98-60=38'] Exploring Operation: 31-11=20, Resulting Numbers: [38, 20] Generated Node #3: [38, 20] from Operation: 31-11=20 Current State: 18:[38, 20], Operations: ['98-60=38', '31-11=20'] Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[60, 98, 31, 11], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [31, 11, 38] Generated Node #0,0: 18:[31, 11, 38] Operation: 98-60=38 Exploring Operation: 60-31=29, Resulting Numbers: [98, 11, 29] Generated Node #0,1: 18:[98, 11, 29] Operation: 60-31=29 Moving to Node #0,0 Current State: 18:[31, 11, 38], Operations: ['98-60=38'] Exploring Operation: 38-31=7, Resulting Numbers: [11, 7] Generated Node #0,0,0: 18:[11, 7] Operation: 38-31=7 Exploring Operation: 31-11=20, Resulting Numbers: [38, 20] Generated Node #0,0,1: 18:[38, 20] Operation: 31-11=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[11, 7], Operations: ['98-60=38', '38-31=7'] Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[60, 98, 31, 11], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [31, 11, 38] Generated Node #0,0: 18:[31, 11, 38] Operation: 98-60=38 Moving to Node #0,0 Current State: 18:[31, 11, 38], Operations: ['98-60=38'] Exploring Operation: 38-31=7, Resulting Numbers: [11, 7] Generated Node #0,0,0: 18:[11, 7] Operation: 38-31=7 Moving to Node #0,0,0 Current State: 18:[11, 7], Operations: ['98-60=38', '38-31=7'] Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 2, 35, 41, 59 ]
42
[ "2*59=118", "35+41=76", "118-76=42" ]
Current State: 42:[2, 35, 41, 59], Operations: [] Exploring Operation: 2*59=118, Resulting Numbers: [35, 41, 118] Generated Node #2: [35, 41, 118] from Operation: 2*59=118 Current State: 42:[35, 41, 118], Operations: ['2*59=118'] Exploring Operation: 35+41=76, Resulting Numbers: [118, 76] Generated Node #3: [118, 76] from Operation: 35+41=76 Current State: 42:[118, 76], Operations: ['2*59=118', '35+41=76'] Exploring Operation: 118-76=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[2, 35, 41, 59], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [2, 35, 18] Generated Node #0,0: 42:[2, 35, 18] Operation: 59-41=18 Exploring Operation: 59-35=24, Resulting Numbers: [2, 41, 24] Generated Node #0,1: 42:[2, 41, 24] Operation: 59-35=24 Moving to Node #0,1 Current State: 42:[2, 41, 24], Operations: ['59-35=24'] Exploring Operation: 24/2=12, Resulting Numbers: [41, 12] Generated Node #0,1,0: 42:[41, 12] Operation: 24/2=12 Exploring Operation: 24-2=22, Resulting Numbers: [41, 22] Generated Node #0,1,1: 42:[41, 22] Operation: 24-2=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[41, 22], Operations: ['59-35=24', '24-2=22'] Exploring Operation: 41+22=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,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:[41, 12], Operations: ['59-35=24', '24/2=12'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,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:[2, 35, 18], Operations: ['59-41=18'] Exploring Operation: 2+35=37, Resulting Numbers: [18, 37] Generated Node #0,0,0: 42:[18, 37] Operation: 2+35=37 Exploring Operation: 35-18=17, Resulting Numbers: [2, 17] Generated Node #0,0,1: 42:[2, 17] Operation: 35-18=17 Moving to Node #0,0,1 Current State: 42:[2, 17], Operations: ['59-41=18', '35-18=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[18, 37], Operations: ['59-41=18', '2+35=37'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 18+37=55, Resulting Numbers: [55] 55,42 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 87, 4, 87, 26 ]
100
[ "87/87=1", "26-1=25", "4*25=100" ]
Current State: 100:[87, 4, 87, 26], Operations: [] Exploring Operation: 87/87=1, Resulting Numbers: [4, 26, 1] Generated Node #2: [4, 26, 1] from Operation: 87/87=1 Current State: 100:[4, 26, 1], Operations: ['87/87=1'] Exploring Operation: 26-1=25, Resulting Numbers: [4, 25] Generated Node #3: [4, 25] from Operation: 26-1=25 Current State: 100:[4, 25], Operations: ['87/87=1', '26-1=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[87, 4, 87, 26], Operations: [] Exploring Operation: 87-87=0, Resulting Numbers: [4, 26, 0] Generated Node #0,0: 100:[4, 26, 0] Operation: 87-87=0 Exploring Operation: 87/87=1, Resulting Numbers: [4, 26, 1] Generated Node #0,1: 100:[4, 26, 1] Operation: 87/87=1 Exploring Operation: 87+4=91, Resulting Numbers: [87, 26, 91] Generated Node #0,2: 100:[87, 26, 91] Operation: 87+4=91 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[4, 26, 1], Operations: ['87/87=1'] Exploring Operation: 4+1=5, Resulting Numbers: [26, 5] Generated Node #0,1,0: 100:[26, 5] Operation: 4+1=5 Exploring Operation: 26-1=25, Resulting Numbers: [4, 25] Generated Node #0,1,1: 100:[4, 25] Operation: 26-1=25 Exploring Operation: 4*1=4, Resulting Numbers: [26, 4] Generated Node #0,1,2: 100:[26, 4] Operation: 4*1=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[4, 25], Operations: ['87/87=1', '26-1=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[87, 4, 87, 26], Operations: [] Exploring Operation: 87/87=1, Resulting Numbers: [4, 26, 1] Generated Node #0,1: 100:[4, 26, 1] Operation: 87/87=1 Moving to Node #0,1 Current State: 100:[4, 26, 1], Operations: ['87/87=1'] Exploring Operation: 26-1=25, Resulting Numbers: [4, 25] Generated Node #0,1,1: 100:[4, 25] Operation: 26-1=25 Moving to Node #0,1,1 Current State: 100:[4, 25], Operations: ['87/87=1', '26-1=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 22, 9, 51, 4 ]
80
[ "22+9=31", "51-31=20", "4*20=80" ]
Current State: 80:[22, 9, 51, 4], Operations: [] Exploring Operation: 22+9=31, Resulting Numbers: [51, 4, 31] Generated Node #2: [51, 4, 31] from Operation: 22+9=31 Current State: 80:[51, 4, 31], Operations: ['22+9=31'] Exploring Operation: 51-31=20, Resulting Numbers: [4, 20] Generated Node #3: [4, 20] from Operation: 51-31=20 Current State: 80:[4, 20], Operations: ['22+9=31', '51-31=20'] Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[22, 9, 51, 4], Operations: [] Exploring Operation: 51-22=29, Resulting Numbers: [9, 4, 29] Generated Node #0,0: 80:[9, 4, 29] Operation: 51-22=29 Exploring Operation: 51-9=42, Resulting Numbers: [22, 4, 42] Generated Node #0,1: 80:[22, 4, 42] Operation: 51-9=42 Exploring Operation: 22+51=73, Resulting Numbers: [9, 4, 73] Generated Node #0,2: 80:[9, 4, 73] Operation: 22+51=73 Moving to Node #0,1 Current State: 80:[22, 4, 42], Operations: ['51-9=42'] Exploring Operation: 42-4=38, Resulting Numbers: [22, 38] Generated Node #0,1,0: 80:[22, 38] Operation: 42-4=38 Exploring Operation: 42-22=20, Resulting Numbers: [4, 20] Generated Node #0,1,1: 80:[4, 20] Operation: 42-22=20 Exploring Operation: 22-4=18, Resulting Numbers: [42, 18] Generated Node #0,1,2: 80:[42, 18] Operation: 22-4=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[4, 20], Operations: ['51-9=42', '42-22=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[22, 9, 51, 4], Operations: [] Exploring Operation: 51-9=42, Resulting Numbers: [22, 4, 42] Generated Node #0,1: 80:[22, 4, 42] Operation: 51-9=42 Moving to Node #0,1 Current State: 80:[22, 4, 42], Operations: ['51-9=42'] Exploring Operation: 42-22=20, Resulting Numbers: [4, 20] Generated Node #0,1,1: 80:[4, 20] Operation: 42-22=20 Moving to Node #0,1,1 Current State: 80:[4, 20], Operations: ['51-9=42', '42-22=20'] Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 76, 41, 68, 65 ]
98
[ "76-41=35", "68+65=133", "133-35=98" ]
Current State: 98:[76, 41, 68, 65], Operations: [] Exploring Operation: 76-41=35, Resulting Numbers: [68, 65, 35] Generated Node #2: [68, 65, 35] from Operation: 76-41=35 Current State: 98:[68, 65, 35], Operations: ['76-41=35'] Exploring Operation: 68+65=133, Resulting Numbers: [35, 133] Generated Node #3: [35, 133] from Operation: 68+65=133 Current State: 98:[35, 133], Operations: ['76-41=35', '68+65=133'] Exploring Operation: 133-35=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[76, 41, 68, 65], Operations: [] Exploring Operation: 76-41=35, Resulting Numbers: [68, 65, 35] Generated Node #0,0: 98:[68, 65, 35] Operation: 76-41=35 Exploring Operation: 41+68=109, Resulting Numbers: [76, 65, 109] Generated Node #0,1: 98:[76, 65, 109] Operation: 41+68=109 Exploring Operation: 76-65=11, Resulting Numbers: [41, 68, 11] Generated Node #0,2: 98:[41, 68, 11] Operation: 76-65=11 Exploring Operation: 76-68=8, Resulting Numbers: [41, 65, 8] Generated Node #0,3: 98:[41, 65, 8] Operation: 76-68=8 Exploring Operation: 68-65=3, Resulting Numbers: [76, 41, 3] Generated Node #0,4: 98:[76, 41, 3] Operation: 68-65=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[41, 65, 8], Operations: ['76-68=8'] Exploring Operation: 41+65=106, Resulting Numbers: [8, 106] Generated Node #0,3,0: 98:[8, 106] Operation: 41+65=106 Exploring Operation: 41+8=49, Resulting Numbers: [65, 49] Generated Node #0,3,1: 98:[65, 49] Operation: 41+8=49 Exploring Operation: 41-8=33, Resulting Numbers: [65, 33] Generated Node #0,3,2: 98:[65, 33] Operation: 41-8=33 Exploring Operation: 65-8=57, Resulting Numbers: [41, 57] Generated Node #0,3,3: 98:[41, 57] Operation: 65-8=57 Exploring Operation: 65-41=24, Resulting Numbers: [8, 24] Generated Node #0,3,4: 98:[8, 24] Operation: 65-41=24 Moving to Node #0,3,0 Current State: 98:[8, 106], Operations: ['76-68=8', '41+65=106'] Exploring Operation: 106-8=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[76, 41, 68, 65], Operations: [] Exploring Operation: 76-68=8, Resulting Numbers: [41, 65, 8] Generated Node #0,3: 98:[41, 65, 8] Operation: 76-68=8 Moving to Node #0,3 Current State: 98:[41, 65, 8], Operations: ['76-68=8'] Exploring Operation: 41+65=106, Resulting Numbers: [8, 106] Generated Node #0,3,0: 98:[8, 106] Operation: 41+65=106 Moving to Node #0,3,0 Current State: 98:[8, 106], Operations: ['76-68=8', '41+65=106'] Exploring Operation: 106-8=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 59, 59, 10, 59 ]
48
[ "59/59=1", "59-10=49", "49-1=48" ]
Current State: 48:[59, 59, 10, 59], Operations: [] Exploring Operation: 59/59=1, Resulting Numbers: [10, 1] Generated Node #2: [10, 1] from Operation: 59/59=1 Current State: 48:[10, 1], Operations: ['59/59=1'] Exploring Operation: 59-10=49, Resulting Numbers: [1, 49] Generated Node #3: [1, 49] from Operation: 59-10=49 Current State: 48:[1, 49], Operations: ['59/59=1', '59-10=49'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[59, 59, 10, 59], Operations: [] Exploring Operation: 59/59=1, Resulting Numbers: [59, 10, 1] Generated Node #0,0: 48:[59, 10, 1] Operation: 59/59=1 Exploring Operation: 59/59=1, Resulting Numbers: [59, 10, 1] Generated Node #0,1: 48:[59, 10, 1] Operation: 59/59=1 Exploring Operation: 59/59=1, Resulting Numbers: [10, 59, 1] Generated Node #0,2: 48:[10, 59, 1] Operation: 59/59=1 Exploring Operation: 59-59=0, Resulting Numbers: [10, 59, 0] Generated Node #0,3: 48:[10, 59, 0] Operation: 59-59=0 Moving to Node #0,0 Current State: 48:[59, 10, 1], Operations: ['59/59=1'] Exploring Operation: 59-10=49, Resulting Numbers: [1, 49] Generated Node #0,0,0: 48:[1, 49] Operation: 59-10=49 Exploring Operation: 10+1=11, Resulting Numbers: [59, 11] Generated Node #0,0,1: 48:[59, 11] Operation: 10+1=11 Exploring Operation: 59-1=58, Resulting Numbers: [10, 58] Generated Node #0,0,2: 48:[10, 58] Operation: 59-1=58 Exploring Operation: 10-1=9, Resulting Numbers: [59, 9] Generated Node #0,0,3: 48:[59, 9] Operation: 10-1=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[1, 49], Operations: ['59/59=1', '59-10=49'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 1*49=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[59, 59, 10, 59], Operations: [] Exploring Operation: 59/59=1, Resulting Numbers: [59, 10, 1] Generated Node #0,0: 48:[59, 10, 1] Operation: 59/59=1 Moving to Node #0,0 Current State: 48:[59, 10, 1], Operations: ['59/59=1'] Exploring Operation: 59-10=49, Resulting Numbers: [1, 49] Generated Node #0,0,0: 48:[1, 49] Operation: 59-10=49 Moving to Node #0,0,0 Current State: 48:[1, 49], Operations: ['59/59=1', '59-10=49'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 9, 41, 69, 42 ]
38
[ "69-42=27", "27/9=3", "41-3=38" ]
Current State: 38:[9, 41, 69, 42], Operations: [] Exploring Operation: 69-42=27, Resulting Numbers: [9, 41, 27] Generated Node #2: [9, 41, 27] from Operation: 69-42=27 Current State: 38:[9, 41, 27], Operations: ['69-42=27'] Exploring Operation: 27/9=3, Resulting Numbers: [41, 3] Generated Node #3: [41, 3] from Operation: 27/9=3 Current State: 38:[41, 3], Operations: ['69-42=27', '27/9=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[9, 41, 69, 42], Operations: [] Exploring Operation: 42-41=1, Resulting Numbers: [9, 69, 1] Generated Node #0,0: 38:[9, 69, 1] Operation: 42-41=1 Exploring Operation: 69-9=60, Resulting Numbers: [41, 42, 60] Generated Node #0,1: 38:[41, 42, 60] Operation: 69-9=60 Exploring Operation: 69-41=28, Resulting Numbers: [9, 42, 28] Generated Node #0,2: 38:[9, 42, 28] Operation: 69-41=28 Exploring Operation: 69-42=27, Resulting Numbers: [9, 41, 27] Generated Node #0,3: 38:[9, 41, 27] Operation: 69-42=27 Exploring Operation: 42-9=33, Resulting Numbers: [41, 69, 33] Generated Node #0,4: 38:[41, 69, 33] Operation: 42-9=33 Moving to Node #0,3 Current State: 38:[9, 41, 27], Operations: ['69-42=27'] Exploring Operation: 27/9=3, Resulting Numbers: [41, 3] Generated Node #0,3,0: 38:[41, 3] Operation: 27/9=3 Exploring Operation: 41-9=32, Resulting Numbers: [27, 32] Generated Node #0,3,1: 38:[27, 32] Operation: 41-9=32 Exploring Operation: 41-27=14, Resulting Numbers: [9, 14] Generated Node #0,3,2: 38:[9, 14] Operation: 41-27=14 Exploring Operation: 27-9=18, Resulting Numbers: [41, 18] Generated Node #0,3,3: 38:[41, 18] Operation: 27-9=18 Exploring Operation: 9+27=36, Resulting Numbers: [41, 36] Generated Node #0,3,4: 38:[41, 36] Operation: 9+27=36 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 38:[41, 3], Operations: ['69-42=27', '27/9=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,38 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[9, 41, 69, 42], Operations: [] Exploring Operation: 69-42=27, Resulting Numbers: [9, 41, 27] Generated Node #0,3: 38:[9, 41, 27] Operation: 69-42=27 Moving to Node #0,3 Current State: 38:[9, 41, 27], Operations: ['69-42=27'] Exploring Operation: 27/9=3, Resulting Numbers: [41, 3] Generated Node #0,3,0: 38:[41, 3] Operation: 27/9=3 Moving to Node #0,3,0 Current State: 38:[41, 3], Operations: ['69-42=27', '27/9=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 10, 27, 81, 23 ]
53
[ "10*81=810", "810/27=30", "23+30=53" ]
Current State: 53:[10, 27, 81, 23], Operations: [] Exploring Operation: 10*81=810, Resulting Numbers: [27, 23, 810] Generated Node #2: [27, 23, 810] from Operation: 10*81=810 Current State: 53:[27, 23, 810], Operations: ['10*81=810'] Exploring Operation: 810/27=30, Resulting Numbers: [23, 30] Generated Node #3: [23, 30] from Operation: 810/27=30 Current State: 53:[23, 30], Operations: ['10*81=810', '810/27=30'] Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[10, 27, 81, 23], Operations: [] Exploring Operation: 27+23=50, Resulting Numbers: [10, 81, 50] Generated Node #0,0: 53:[10, 81, 50] Operation: 27+23=50 Exploring Operation: 10+27=37, Resulting Numbers: [81, 23, 37] Generated Node #0,1: 53:[81, 23, 37] Operation: 10+27=37 Exploring Operation: 10+23=33, Resulting Numbers: [27, 81, 33] Generated Node #0,2: 53:[27, 81, 33] Operation: 10+23=33 Exploring Operation: 81-10=71, Resulting Numbers: [27, 23, 71] Generated Node #0,3: 53:[27, 23, 71] Operation: 81-10=71 Exploring Operation: 81-27=54, Resulting Numbers: [10, 23, 54] Generated Node #0,4: 53:[10, 23, 54] Operation: 81-27=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[10, 81, 50], Operations: ['27+23=50'] Exploring Operation: 81-50=31, Resulting Numbers: [10, 31] Generated Node #0,0,0: 53:[10, 31] Operation: 81-50=31 Exploring Operation: 10+50=60, Resulting Numbers: [81, 60] Generated Node #0,0,1: 53:[81, 60] Operation: 10+50=60 Exploring Operation: 10+81=91, Resulting Numbers: [50, 91] Generated Node #0,0,2: 53:[50, 91] Operation: 10+81=91 Exploring Operation: 50-10=40, Resulting Numbers: [81, 40] Generated Node #0,0,3: 53:[81, 40] Operation: 50-10=40 Exploring Operation: 81-10=71, Resulting Numbers: [50, 71] Generated Node #0,0,4: 53:[50, 71] Operation: 81-10=71 Moving to Node #0,0,4 Current State: 53:[50, 71], Operations: ['27+23=50', '81-10=71'] Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 50*71=3550, Resulting Numbers: [3550] 3550,53 unequal: No Solution Exploring Operation: 50+71=121, Resulting Numbers: [121] 121,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[81, 60], Operations: ['27+23=50', '10+50=60'] Exploring Operation: 81*60=4860, Resulting Numbers: [4860] 4860,53 unequal: No Solution Exploring Operation: 81+60=141, Resulting Numbers: [141] 141,53 unequal: No Solution Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[50, 91], Operations: ['27+23=50', '10+81=91'] Exploring Operation: 50+91=141, Resulting Numbers: [141] 141,53 unequal: No Solution Exploring Operation: 91-50=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 50*91=4550, Resulting Numbers: [4550] 4550,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[81, 40], Operations: ['27+23=50', '50-10=40'] Exploring Operation: 81*40=3240, Resulting Numbers: [3240] 3240,53 unequal: No Solution Exploring Operation: 81+40=121, Resulting Numbers: [121] 121,53 unequal: No Solution Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[10, 31], Operations: ['27+23=50', '81-50=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,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,1 Current State: 53:[81, 23, 37], Operations: ['10+27=37'] Exploring Operation: 81+23=104, Resulting Numbers: [37, 104] Generated Node #0,1,0: 53:[37, 104] Operation: 81+23=104 Exploring Operation: 23+37=60, Resulting Numbers: [81, 60] Generated Node #0,1,1: 53:[81, 60] Operation: 23+37=60 Exploring Operation: 81-23=58, Resulting Numbers: [37, 58] Generated Node #0,1,2: 53:[37, 58] Operation: 81-23=58 Exploring Operation: 37-23=14, Resulting Numbers: [81, 14] Generated Node #0,1,3: 53:[81, 14] Operation: 37-23=14 Exploring Operation: 81-37=44, Resulting Numbers: [23, 44] Generated Node #0,1,4: 53:[23, 44] Operation: 81-37=44 Moving to Node #0,1,2 Current State: 53:[37, 58], Operations: ['10+27=37', '81-23=58'] Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,53 unequal: No Solution Exploring Operation: 37*58=2146, Resulting Numbers: [2146] 2146,53 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[81, 60], Operations: ['10+27=37', '23+37=60'] Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 81+60=141, Resulting Numbers: [141] 141,53 unequal: No Solution Exploring Operation: 81*60=4860, Resulting Numbers: [4860] 4860,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[23, 44], Operations: ['10+27=37', '81-37=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[37, 104], Operations: ['10+27=37', '81+23=104'] Exploring Operation: 37+104=141, Resulting Numbers: [141] 141,53 unequal: No Solution Exploring Operation: 104-37=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 37*104=3848, Resulting Numbers: [3848] 3848,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[81, 14], Operations: ['10+27=37', '37-23=14'] Exploring Operation: 81*14=1134, Resulting Numbers: [1134] 1134,53 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 81+14=95, Resulting Numbers: [95] 95,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[27, 81, 33], Operations: ['10+23=33'] Exploring Operation: 27+81=108, Resulting Numbers: [33, 108] Generated Node #0,2,0: 53:[33, 108] Operation: 27+81=108 Exploring Operation: 81-27=54, Resulting Numbers: [33, 54] Generated Node #0,2,1: 53:[33, 54] Operation: 81-27=54 Exploring Operation: 27+33=60, Resulting Numbers: [81, 60] Generated Node #0,2,2: 53:[81, 60] Operation: 27+33=60 Exploring Operation: 81/27=3, Resulting Numbers: [33, 3] Generated Node #0,2,3: 53:[33, 3] Operation: 81/27=3 Exploring Operation: 81-33=48, Resulting Numbers: [27, 48] Generated Node #0,2,4: 53:[27, 48] Operation: 81-33=48 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[33, 54], Operations: ['10+23=33', '81-27=54'] Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 33*54=1782, Resulting Numbers: [1782] 1782,53 unequal: No Solution Exploring Operation: 33+54=87, Resulting Numbers: [87] 87,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,4 Current State: 53:[27, 48], Operations: ['10+23=33', '81-33=48'] Exploring Operation: 27+48=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 27*48=1296, Resulting Numbers: [1296] 1296,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:[81, 60], Operations: ['10+23=33', '27+33=60'] Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 81*60=4860, Resulting Numbers: [4860] 4860,53 unequal: No Solution Exploring Operation: 81+60=141, Resulting Numbers: [141] 141,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:[33, 3], Operations: ['10+23=33', '81/27=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,53 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,53 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,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,0 Current State: 53:[33, 108], Operations: ['10+23=33', '27+81=108'] Exploring Operation: 33*108=3564, Resulting Numbers: [3564] 3564,53 unequal: No Solution Exploring Operation: 108-33=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 33+108=141, Resulting Numbers: [141] 141,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,3 Current State: 53:[27, 23, 71], Operations: ['81-10=71'] Exploring Operation: 27-23=4, Resulting Numbers: [71, 4] Generated Node #0,3,0: 53:[71, 4] Operation: 27-23=4 Exploring Operation: 27+23=50, Resulting Numbers: [71, 50] Generated Node #0,3,1: 53:[71, 50] Operation: 27+23=50 Exploring Operation: 71-27=44, Resulting Numbers: [23, 44] Generated Node #0,3,2: 53:[23, 44] Operation: 71-27=44 Exploring Operation: 71-23=48, Resulting Numbers: [27, 48] Generated Node #0,3,3: 53:[27, 48] Operation: 71-23=48 Exploring Operation: 23+71=94, Resulting Numbers: [27, 94] Generated Node #0,3,4: 53:[27, 94] Operation: 23+71=94 Moving to Node #0,3,1 Current State: 53:[71, 50], Operations: ['81-10=71', '27+23=50'] Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 71*50=3550, Resulting Numbers: [3550] 3550,53 unequal: No Solution Exploring Operation: 71+50=121, Resulting Numbers: [121] 121,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[27, 48], Operations: ['81-10=71', '71-23=48'] Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 27+48=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 27*48=1296, Resulting Numbers: [1296] 1296,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[23, 44], Operations: ['81-10=71', '71-27=44'] Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,53 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[71, 4], Operations: ['81-10=71', '27-23=4'] Exploring Operation: 71*4=284, Resulting Numbers: [284] 284,53 unequal: No Solution Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[27, 94], Operations: ['81-10=71', '23+71=94'] Exploring Operation: 27*94=2538, Resulting Numbers: [2538] 2538,53 unequal: No Solution Exploring Operation: 27+94=121, Resulting Numbers: [121] 121,53 unequal: No Solution Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,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,4 Current State: 53:[10, 23, 54], Operations: ['81-27=54'] Exploring Operation: 54-10=44, Resulting Numbers: [23, 44] Generated Node #0,4,0: 53:[23, 44] Operation: 54-10=44 Exploring Operation: 10+23=33, Resulting Numbers: [54, 33] Generated Node #0,4,1: 53:[54, 33] Operation: 10+23=33 Exploring Operation: 54-23=31, Resulting Numbers: [10, 31] Generated Node #0,4,2: 53:[10, 31] Operation: 54-23=31 Exploring Operation: 10+54=64, Resulting Numbers: [23, 64] Generated Node #0,4,3: 53:[23, 64] Operation: 10+54=64 Exploring Operation: 23-10=13, Resulting Numbers: [54, 13] Generated Node #0,4,4: 53:[54, 13] Operation: 23-10=13 Moving to Node #0,4,1 Current State: 53:[54, 33], Operations: ['81-27=54', '10+23=33'] Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 54+33=87, Resulting Numbers: [87] 87,53 unequal: No Solution Exploring Operation: 54*33=1782, Resulting Numbers: [1782] 1782,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[23, 44], Operations: ['81-27=54', '54-10=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,53 unequal: No Solution Moving to Node #0,4,3 Current State: 53:[23, 64], Operations: ['81-27=54', '10+54=64'] Exploring Operation: 23*64=1472, Resulting Numbers: [1472] 1472,53 unequal: No Solution Exploring Operation: 23+64=87, Resulting Numbers: [87] 87,53 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[54, 13], Operations: ['81-27=54', '23-10=13'] Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 54*13=702, Resulting Numbers: [702] 702,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[10, 31], Operations: ['81-27=54', '54-23=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 20, 76, 16, 22 ]
68
[ "22-20=2", "16/2=8", "76-8=68" ]
Current State: 68:[20, 76, 16, 22], Operations: [] Exploring Operation: 22-20=2, Resulting Numbers: [76, 16, 2] Generated Node #2: [76, 16, 2] from Operation: 22-20=2 Current State: 68:[76, 16, 2], Operations: ['22-20=2'] Exploring Operation: 16/2=8, Resulting Numbers: [76, 8] Generated Node #3: [76, 8] from Operation: 16/2=8 Current State: 68:[76, 8], Operations: ['22-20=2', '16/2=8'] Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[20, 76, 16, 22], Operations: [] Exploring Operation: 22-16=6, Resulting Numbers: [20, 76, 6] Generated Node #0,0: 68:[20, 76, 6] Operation: 22-16=6 Exploring Operation: 22-20=2, Resulting Numbers: [76, 16, 2] Generated Node #0,1: 68:[76, 16, 2] Operation: 22-20=2 Exploring Operation: 20-16=4, Resulting Numbers: [76, 22, 4] Generated Node #0,2: 68:[76, 22, 4] Operation: 20-16=4 Moving to Node #0,1 Current State: 68:[76, 16, 2], Operations: ['22-20=2'] Exploring Operation: 76-16=60, Resulting Numbers: [2, 60] Generated Node #0,1,0: 68:[2, 60] Operation: 76-16=60 Exploring Operation: 76/2=38, Resulting Numbers: [16, 38] Generated Node #0,1,1: 68:[16, 38] Operation: 76/2=38 Exploring Operation: 76-2=74, Resulting Numbers: [16, 74] Generated Node #0,1,2: 68:[16, 74] Operation: 76-2=74 Moving to Node #0,0 Current State: 68:[20, 76, 6], Operations: ['22-16=6'] Exploring Operation: 20-6=14, Resulting Numbers: [76, 14] Generated Node #0,0,0: 68:[76, 14] Operation: 20-6=14 Exploring Operation: 76-6=70, Resulting Numbers: [20, 70] Generated Node #0,0,1: 68:[20, 70] Operation: 76-6=70 Exploring Operation: 76-20=56, Resulting Numbers: [6, 56] Generated Node #0,0,2: 68:[6, 56] Operation: 76-20=56 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[20, 70], Operations: ['22-16=6', '76-6=70'] Exploring Operation: 20*70=1400, Resulting Numbers: [1400] 1400,68 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 20+70=90, Resulting Numbers: [90] 90,68 unequal: No Solution No solution 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: 68:[76, 14], Operations: ['22-16=6', '20-6=14'] Exploring Operation: 76*14=1064, Resulting Numbers: [1064] 1064,68 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,68 unequal: No Solution No solution 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: 68:[6, 56], Operations: ['22-16=6', '76-20=56'] Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,68 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,68 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: 68:[76, 22, 4], Operations: ['20-16=4'] Exploring Operation: 22-4=18, Resulting Numbers: [76, 18] Generated Node #0,2,0: 68:[76, 18] Operation: 22-4=18 Exploring Operation: 76/4=19, Resulting Numbers: [22, 19] Generated Node #0,2,1: 68:[22, 19] Operation: 76/4=19 Exploring Operation: 76-4=72, Resulting Numbers: [22, 72] Generated Node #0,2,2: 68:[22, 72] Operation: 76-4=72 Moving to Node #0,1,1 Current State: 68:[16, 38], Operations: ['22-20=2', '76/2=38'] Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,68 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[16, 74], Operations: ['22-20=2', '76-2=74'] Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,68 unequal: No Solution Exploring Operation: 16*74=1184, Resulting Numbers: [1184] 1184,68 unequal: No Solution Exploring Operation: 16+74=90, Resulting Numbers: [90] 90,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[22, 19], Operations: ['20-16=4', '76/4=19'] Exploring Operation: 22*19=418, Resulting Numbers: [418] 418,68 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[2, 60], Operations: ['22-20=2', '76-16=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[22, 72], Operations: ['20-16=4', '76-4=72'] Exploring Operation: 22+72=94, Resulting Numbers: [94] 94,68 unequal: No Solution Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 22*72=1584, Resulting Numbers: [1584] 1584,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[76, 18], Operations: ['20-16=4', '22-4=18'] Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,68 unequal: No Solution Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,68 unequal: No Solution Exploring Operation: 76*18=1368, Resulting Numbers: [1368] 1368,68 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 8, 19, 48, 34 ]
93
[ "19-8=11", "48+34=82", "11+82=93" ]
Current State: 93:[8, 19, 48, 34], Operations: [] Exploring Operation: 19-8=11, Resulting Numbers: [48, 34, 11] Generated Node #2: [48, 34, 11] from Operation: 19-8=11 Current State: 93:[48, 34, 11], Operations: ['19-8=11'] Exploring Operation: 48+34=82, Resulting Numbers: [11, 82] Generated Node #3: [11, 82] from Operation: 48+34=82 Current State: 93:[11, 82], Operations: ['19-8=11', '48+34=82'] Exploring Operation: 11+82=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[8, 19, 48, 34], Operations: [] Exploring Operation: 48/8=6, Resulting Numbers: [19, 34, 6] Generated Node #0,0: 93:[19, 34, 6] Operation: 48/8=6 Exploring Operation: 48-19=29, Resulting Numbers: [8, 34, 29] Generated Node #0,1: 93:[8, 34, 29] Operation: 48-19=29 Moving to Node #0,1 Current State: 93:[8, 34, 29], Operations: ['48-19=29'] Exploring Operation: 34-8=26, Resulting Numbers: [29, 26] Generated Node #0,1,0: 93:[29, 26] Operation: 34-8=26 Exploring Operation: 34-29=5, Resulting Numbers: [8, 5] Generated Node #0,1,1: 93:[8, 5] Operation: 34-29=5 Moving to Node #0,0 Current State: 93:[19, 34, 6], Operations: ['48/8=6'] Exploring Operation: 19+6=25, Resulting Numbers: [34, 25] Generated Node #0,0,0: 93:[34, 25] Operation: 19+6=25 Exploring Operation: 19-6=13, Resulting Numbers: [34, 13] Generated Node #0,0,1: 93:[34, 13] Operation: 19-6=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[34, 25], Operations: ['48/8=6', '19+6=25'] Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,93 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,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,0,1 Current State: 93:[34, 13], Operations: ['48/8=6', '19-6=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,93 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: 93:[29, 26], Operations: ['48-19=29', '34-8=26'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 29+26=55, Resulting Numbers: [55] 55,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[8, 5], Operations: ['48-19=29', '34-29=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,93 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 89, 36, 83, 27 ]
69
[ "89+36=125", "83-27=56", "125-56=69" ]
Current State: 69:[89, 36, 83, 27], Operations: [] Exploring Operation: 89+36=125, Resulting Numbers: [83, 27, 125] Generated Node #2: [83, 27, 125] from Operation: 89+36=125 Current State: 69:[83, 27, 125], Operations: ['89+36=125'] Exploring Operation: 83-27=56, Resulting Numbers: [125, 56] Generated Node #3: [125, 56] from Operation: 83-27=56 Current State: 69:[125, 56], Operations: ['89+36=125', '83-27=56'] Exploring Operation: 125-56=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[89, 36, 83, 27], Operations: [] Exploring Operation: 89-27=62, Resulting Numbers: [36, 83, 62] Generated Node #0,0: 69:[36, 83, 62] Operation: 89-27=62 Exploring Operation: 89-36=53, Resulting Numbers: [83, 27, 53] Generated Node #0,1: 69:[83, 27, 53] Operation: 89-36=53 Exploring Operation: 89-83=6, Resulting Numbers: [36, 27, 6] Generated Node #0,2: 69:[36, 27, 6] Operation: 89-83=6 Exploring Operation: 36+27=63, Resulting Numbers: [89, 83, 63] Generated Node #0,3: 69:[89, 83, 63] Operation: 36+27=63 Exploring Operation: 36-27=9, Resulting Numbers: [89, 83, 9] Generated Node #0,4: 69:[89, 83, 9] Operation: 36-27=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[36, 27, 6], Operations: ['89-83=6'] Exploring Operation: 36+27=63, Resulting Numbers: [6, 63] Generated Node #0,2,0: 69:[6, 63] Operation: 36+27=63 Exploring Operation: 36/6=6, Resulting Numbers: [27, 6] Generated Node #0,2,1: 69:[27, 6] Operation: 36/6=6 Exploring Operation: 36-27=9, Resulting Numbers: [6, 9] Generated Node #0,2,2: 69:[6, 9] Operation: 36-27=9 Exploring Operation: 36-6=30, Resulting Numbers: [27, 30] Generated Node #0,2,3: 69:[27, 30] Operation: 36-6=30 Exploring Operation: 27-6=21, Resulting Numbers: [36, 21] Generated Node #0,2,4: 69:[36, 21] Operation: 27-6=21 Moving to Node #0,2,1 Current State: 69:[27, 6], Operations: ['89-83=6', '36/6=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,69 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[6, 9], Operations: ['89-83=6', '36-27=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,69 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[6, 63], Operations: ['89-83=6', '36+27=63'] Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,69 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,69 unequal: No Solution Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[89, 36, 83, 27], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [36, 27, 6] Generated Node #0,2: 69:[36, 27, 6] Operation: 89-83=6 Moving to Node #0,2 Current State: 69:[36, 27, 6], Operations: ['89-83=6'] Exploring Operation: 36+27=63, Resulting Numbers: [6, 63] Generated Node #0,2,0: 69:[6, 63] Operation: 36+27=63 Moving to Node #0,2,0 Current State: 69:[6, 63], Operations: ['89-83=6', '36+27=63'] Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 19, 2, 26, 57 ]
25
[ "26-19=7", "57-7=50", "50/2=25" ]
Current State: 25:[19, 2, 26, 57], Operations: [] Exploring Operation: 26-19=7, Resulting Numbers: [2, 57, 7] Generated Node #2: [2, 57, 7] from Operation: 26-19=7 Current State: 25:[2, 57, 7], Operations: ['26-19=7'] Exploring Operation: 57-7=50, Resulting Numbers: [2, 50] Generated Node #3: [2, 50] from Operation: 57-7=50 Current State: 25:[2, 50], Operations: ['26-19=7', '57-7=50'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[19, 2, 26, 57], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [2, 26, 3] Generated Node #0,0: 25:[2, 26, 3] Operation: 57/19=3 Exploring Operation: 57-26=31, Resulting Numbers: [19, 2, 31] Generated Node #0,1: 25:[19, 2, 31] Operation: 57-26=31 Moving to Node #0,0 Current State: 25:[2, 26, 3], Operations: ['57/19=3'] Exploring Operation: 2*3=6, Resulting Numbers: [26, 6] Generated Node #0,0,0: 25:[26, 6] Operation: 2*3=6 Exploring Operation: 2+3=5, Resulting Numbers: [26, 5] Generated Node #0,0,1: 25:[26, 5] Operation: 2+3=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[26, 5], Operations: ['57/19=3', '2+3=5'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[26, 6], Operations: ['57/19=3', '2*3=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,25 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 25:[19, 2, 31], Operations: ['57-26=31'] Exploring Operation: 31-19=12, Resulting Numbers: [2, 12] Generated Node #0,1,0: 25:[2, 12] Operation: 31-19=12 Exploring Operation: 19+2=21, Resulting Numbers: [31, 21] Generated Node #0,1,1: 25:[31, 21] Operation: 19+2=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[2, 12], Operations: ['57-26=31', '31-19=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[31, 21], Operations: ['57-26=31', '19+2=21'] Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 60, 58, 77, 33 ]
82
[ "60*77=4620", "4620/33=140", "140-58=82" ]
Current State: 82:[60, 58, 77, 33], Operations: [] Exploring Operation: 60*77=4620, Resulting Numbers: [58, 33, 4620] Generated Node #2: [58, 33, 4620] from Operation: 60*77=4620 Current State: 82:[58, 33, 4620], Operations: ['60*77=4620'] Exploring Operation: 4620/33=140, Resulting Numbers: [58, 140] Generated Node #3: [58, 140] from Operation: 4620/33=140 Current State: 82:[58, 140], Operations: ['60*77=4620', '4620/33=140'] Exploring Operation: 140-58=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[60, 58, 77, 33], Operations: [] Exploring Operation: 60-33=27, Resulting Numbers: [58, 77, 27] Generated Node #0,0: 82:[58, 77, 27] Operation: 60-33=27 Exploring Operation: 60+33=93, Resulting Numbers: [58, 77, 93] Generated Node #0,1: 82:[58, 77, 93] Operation: 60+33=93 Exploring Operation: 60-58=2, Resulting Numbers: [77, 33, 2] Generated Node #0,2: 82:[77, 33, 2] Operation: 60-58=2 Exploring Operation: 77-33=44, Resulting Numbers: [60, 58, 44] Generated Node #0,3: 82:[60, 58, 44] Operation: 77-33=44 Exploring Operation: 58+33=91, Resulting Numbers: [60, 77, 91] Generated Node #0,4: 82:[60, 77, 91] Operation: 58+33=91 Moving to Node #0,2 Current State: 82:[77, 33, 2], Operations: ['60-58=2'] Exploring Operation: 77-33=44, Resulting Numbers: [2, 44] Generated Node #0,2,0: 82:[2, 44] Operation: 77-33=44 Exploring Operation: 77+2=79, Resulting Numbers: [33, 79] Generated Node #0,2,1: 82:[33, 79] Operation: 77+2=79 Exploring Operation: 77-2=75, Resulting Numbers: [33, 75] Generated Node #0,2,2: 82:[33, 75] Operation: 77-2=75 Exploring Operation: 33-2=31, Resulting Numbers: [77, 31] Generated Node #0,2,3: 82:[77, 31] Operation: 33-2=31 Exploring Operation: 33+2=35, Resulting Numbers: [77, 35] Generated Node #0,2,4: 82:[77, 35] Operation: 33+2=35 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[2, 44], Operations: ['60-58=2', '77-33=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[33, 79], Operations: ['60-58=2', '77+2=79'] Exploring Operation: 33+79=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 33*79=2607, Resulting Numbers: [2607] 2607,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 82:[77, 35], Operations: ['60-58=2', '33+2=35'] Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 77*35=2695, Resulting Numbers: [2695] 2695,82 unequal: No Solution Exploring Operation: 77+35=112, Resulting Numbers: [112] 112,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[33, 75], Operations: ['60-58=2', '77-2=75'] Exploring Operation: 33*75=2475, Resulting Numbers: [2475] 2475,82 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 33+75=108, Resulting Numbers: [108] 108,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 82:[77, 31], Operations: ['60-58=2', '33-2=31'] Exploring Operation: 77+31=108, Resulting Numbers: [108] 108,82 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 77*31=2387, Resulting Numbers: [2387] 2387,82 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: 82:[60, 77, 91], Operations: ['58+33=91'] Exploring Operation: 77-60=17, Resulting Numbers: [91, 17] Generated Node #0,4,0: 82:[91, 17] Operation: 77-60=17 Exploring Operation: 91-77=14, Resulting Numbers: [60, 14] Generated Node #0,4,1: 82:[60, 14] Operation: 91-77=14 Exploring Operation: 91-60=31, Resulting Numbers: [77, 31] Generated Node #0,4,2: 82:[77, 31] Operation: 91-60=31 Exploring Operation: 60+91=151, Resulting Numbers: [77, 151] Generated Node #0,4,3: 82:[77, 151] Operation: 60+91=151 Exploring Operation: 60+77=137, Resulting Numbers: [91, 137] Generated Node #0,4,4: 82:[91, 137] Operation: 60+77=137 Moving to Node #0,1 Current State: 82:[58, 77, 93], Operations: ['60+33=93'] Exploring Operation: 93-58=35, Resulting Numbers: [77, 35] Generated Node #0,1,0: 82:[77, 35] Operation: 93-58=35 Exploring Operation: 77-58=19, Resulting Numbers: [93, 19] Generated Node #0,1,1: 82:[93, 19] Operation: 77-58=19 Exploring Operation: 58+93=151, Resulting Numbers: [77, 151] Generated Node #0,1,2: 82:[77, 151] Operation: 58+93=151 Exploring Operation: 93-77=16, Resulting Numbers: [58, 16] Generated Node #0,1,3: 82:[58, 16] Operation: 93-77=16 Exploring Operation: 58+77=135, Resulting Numbers: [93, 135] Generated Node #0,1,4: 82:[93, 135] Operation: 58+77=135 Moving to Node #0,0 Current State: 82:[58, 77, 27], Operations: ['60-33=27'] Exploring Operation: 58+27=85, Resulting Numbers: [77, 85] Generated Node #0,0,0: 82:[77, 85] Operation: 58+27=85 Exploring Operation: 77-27=50, Resulting Numbers: [58, 50] Generated Node #0,0,1: 82:[58, 50] Operation: 77-27=50 Exploring Operation: 77+27=104, Resulting Numbers: [58, 104] Generated Node #0,0,2: 82:[58, 104] Operation: 77+27=104 Exploring Operation: 58-27=31, Resulting Numbers: [77, 31] Generated Node #0,0,3: 82:[77, 31] Operation: 58-27=31 Exploring Operation: 77-58=19, Resulting Numbers: [27, 19] Generated Node #0,0,4: 82:[27, 19] Operation: 77-58=19 Moving to Node #0,3 Current State: 82:[60, 58, 44], Operations: ['77-33=44'] Exploring Operation: 60+58=118, Resulting Numbers: [44, 118] Generated Node #0,3,0: 82:[44, 118] Operation: 60+58=118 Exploring Operation: 60+44=104, Resulting Numbers: [58, 104] Generated Node #0,3,1: 82:[58, 104] Operation: 60+44=104 Exploring Operation: 58-44=14, Resulting Numbers: [60, 14] Generated Node #0,3,2: 82:[60, 14] Operation: 58-44=14 Exploring Operation: 60-44=16, Resulting Numbers: [58, 16] Generated Node #0,3,3: 82:[58, 16] Operation: 60-44=16 Exploring Operation: 60-58=2, Resulting Numbers: [44, 2] Generated Node #0,3,4: 82:[44, 2] Operation: 60-58=2 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 82:[44, 2], Operations: ['77-33=44', '60-58=2'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,82 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 82:[60, 14], Operations: ['77-33=44', '58-44=14'] Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,82 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 82:[58, 16], Operations: ['77-33=44', '60-44=16'] Exploring Operation: 58+16=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 58*16=928, Resulting Numbers: [928] 928,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 82:[44, 118], Operations: ['77-33=44', '60+58=118'] Exploring Operation: 44+118=162, Resulting Numbers: [162] 162,82 unequal: No Solution Exploring Operation: 44*118=5192, Resulting Numbers: [5192] 5192,82 unequal: No Solution Exploring Operation: 118-44=74, Resulting Numbers: [74] 74,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 82:[58, 104], Operations: ['77-33=44', '60+44=104'] Exploring Operation: 104-58=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 58+104=162, Resulting Numbers: [162] 162,82 unequal: No Solution Exploring Operation: 58*104=6032, Resulting Numbers: [6032] 6032,82 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: 82:[77, 85], Operations: ['60-33=27', '58+27=85'] Exploring Operation: 77+85=162, Resulting Numbers: [162] 162,82 unequal: No Solution Exploring Operation: 77*85=6545, Resulting Numbers: [6545] 6545,82 unequal: No Solution Exploring Operation: 85-77=8, Resulting Numbers: [8] 8,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[77, 35], Operations: ['60+33=93', '93-58=35'] Exploring Operation: 77*35=2695, Resulting Numbers: [2695] 2695,82 unequal: No Solution Exploring Operation: 77+35=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,82 unequal: No Solution Moving to Node #0,4,2 Current State: 82:[77, 31], Operations: ['58+33=91', '91-60=31'] Exploring Operation: 77*31=2387, Resulting Numbers: [2387] 2387,82 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 77+31=108, Resulting Numbers: [108] 108,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[77, 31], Operations: ['60-33=27', '58-27=31'] Exploring Operation: 77*31=2387, Resulting Numbers: [2387] 2387,82 unequal: No Solution Exploring Operation: 77+31=108, Resulting Numbers: [108] 108,82 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,82 unequal: No Solution Moving to Node #0,4,0 Current State: 82:[91, 17], Operations: ['58+33=91', '77-60=17'] Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 91+17=108, Resulting Numbers: [108] 108,82 unequal: No Solution Exploring Operation: 91*17=1547, Resulting Numbers: [1547] 1547,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[58, 50], Operations: ['60-33=27', '77-27=50'] Exploring Operation: 58+50=108, Resulting Numbers: [108] 108,82 unequal: No Solution Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,82 unequal: No Solution Exploring Operation: 58*50=2900, Resulting Numbers: [2900] 2900,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[93, 19], Operations: ['60+33=93', '77-58=19'] Exploring Operation: 93-19=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 93*19=1767, Resulting Numbers: [1767] 1767,82 unequal: No Solution Exploring Operation: 93+19=112, Resulting Numbers: [112] 112,82 unequal: No Solution Moving to Node #0,4,1 Current State: 82:[60, 14], Operations: ['58+33=91', '91-77=14'] Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,82 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[58, 16], Operations: ['60+33=93', '93-77=16'] Exploring Operation: 58+16=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 58*16=928, Resulting Numbers: [928] 928,82 unequal: No Solution Moving to Node #0,0,4 Current State: 82:[27, 19], Operations: ['60-33=27', '77-58=19'] Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,82 unequal: No Solution Exploring Operation: 27+19=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 27*19=513, Resulting Numbers: [513] 513,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[58, 104], Operations: ['60-33=27', '77+27=104'] Exploring Operation: 58*104=6032, Resulting Numbers: [6032] 6032,82 unequal: No Solution Exploring Operation: 104-58=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 58+104=162, Resulting Numbers: [162] 162,82 unequal: No Solution Moving to Node #0,1,4 Current State: 82:[93, 135], Operations: ['60+33=93', '58+77=135'] Exploring Operation: 93*135=12555, Resulting Numbers: [12555] 12555,82 unequal: No Solution Exploring Operation: 93+135=228, Resulting Numbers: [228] 228,82 unequal: No Solution Exploring Operation: 135-93=42, Resulting Numbers: [42] 42,82 unequal: No Solution Moving to Node #0,4,4 Current State: 82:[91, 137], Operations: ['58+33=91', '60+77=137'] Exploring Operation: 137-91=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 91*137=12467, Resulting Numbers: [12467] 12467,82 unequal: No Solution Exploring Operation: 91+137=228, Resulting Numbers: [228] 228,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[77, 151], Operations: ['60+33=93', '58+93=151'] Exploring Operation: 77*151=11627, Resulting Numbers: [11627] 11627,82 unequal: No Solution Exploring Operation: 77+151=228, Resulting Numbers: [228] 228,82 unequal: No Solution Exploring Operation: 151-77=74, Resulting Numbers: [74] 74,82 unequal: No Solution Moving to Node #0,4,3 Current State: 82:[77, 151], Operations: ['58+33=91', '60+91=151'] Exploring Operation: 151-77=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 77+151=228, Resulting Numbers: [228] 228,82 unequal: No Solution Exploring Operation: 77*151=11627, Resulting Numbers: [11627] 11627,82 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 35, 86, 11, 55 ]
44
[ "35+86=121", "121/11=11", "55-11=44" ]
Current State: 44:[35, 86, 11, 55], Operations: [] Exploring Operation: 35+86=121, Resulting Numbers: [11, 55, 121] Generated Node #2: [11, 55, 121] from Operation: 35+86=121 Current State: 44:[11, 55, 121], Operations: ['35+86=121'] Exploring Operation: 121/11=11, Resulting Numbers: [55, 11] Generated Node #3: [55, 11] from Operation: 121/11=11 Current State: 44:[55, 11], Operations: ['35+86=121', '121/11=11'] Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[35, 86, 11, 55], Operations: [] Exploring Operation: 86-35=51, Resulting Numbers: [11, 55, 51] Generated Node #0,0: 44:[11, 55, 51] Operation: 86-35=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[11, 55, 51], Operations: ['86-35=51'] Exploring Operation: 55-51=4, Resulting Numbers: [11, 4] Generated Node #0,0,0: 44:[11, 4] Operation: 55-51=4 Moving to Node #0,0,0 Current State: 44:[11, 4], Operations: ['86-35=51', '55-51=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[35, 86, 11, 55], Operations: [] Exploring Operation: 86-35=51, Resulting Numbers: [11, 55, 51] Generated Node #0,0: 44:[11, 55, 51] Operation: 86-35=51 Moving to Node #0,0 Current State: 44:[11, 55, 51], Operations: ['86-35=51'] Exploring Operation: 55-51=4, Resulting Numbers: [11, 4] Generated Node #0,0,0: 44:[11, 4] Operation: 55-51=4 Moving to Node #0,0,0 Current State: 44:[11, 4], Operations: ['86-35=51', '55-51=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 3, 51, 98, 6 ]
45
[ "6/3=2", "98-51=47", "47-2=45" ]
Current State: 45:[3, 51, 98, 6], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [51, 98, 2] Generated Node #2: [51, 98, 2] from Operation: 6/3=2 Current State: 45:[51, 98, 2], Operations: ['6/3=2'] Exploring Operation: 98-51=47, Resulting Numbers: [2, 47] Generated Node #3: [2, 47] from Operation: 98-51=47 Current State: 45:[2, 47], Operations: ['6/3=2', '98-51=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[3, 51, 98, 6], Operations: [] Exploring Operation: 98-6=92, Resulting Numbers: [3, 51, 92] Generated Node #0,0: 45:[3, 51, 92] Operation: 98-6=92 Exploring Operation: 51/3=17, Resulting Numbers: [98, 6, 17] Generated Node #0,1: 45:[98, 6, 17] Operation: 51/3=17 Exploring Operation: 51-6=45, Resulting Numbers: [3, 98, 45] Generated Node #0,2: 45:[3, 98, 45] Operation: 51-6=45 Exploring Operation: 98-51=47, Resulting Numbers: [3, 6, 47] Generated Node #0,3: 45:[3, 6, 47] Operation: 98-51=47 Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[3, 6, 47], Operations: ['98-51=47'] Exploring Operation: 6/3=2, Resulting Numbers: [47, 2] Generated Node #0,3,0: 45:[47, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [47, 3] Generated Node #0,3,1: 45:[47, 3] Operation: 6-3=3 Exploring Operation: 3+6=9, Resulting Numbers: [47, 9] Generated Node #0,3,2: 45:[47, 9] Operation: 3+6=9 Exploring Operation: 47-3=44, Resulting Numbers: [6, 44] Generated Node #0,3,3: 45:[6, 44] Operation: 47-3=44 Moving to Node #0,3,1 Current State: 45:[47, 3], Operations: ['98-51=47', '6-3=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[6, 44], Operations: ['98-51=47', '47-3=44'] Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,45 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[47, 9], Operations: ['98-51=47', '3+6=9'] Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,45 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[47, 2], Operations: ['98-51=47', '6/3=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,45 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[3, 51, 98, 6], Operations: [] Exploring Operation: 98-51=47, Resulting Numbers: [3, 6, 47] Generated Node #0,3: 45:[3, 6, 47] Operation: 98-51=47 Moving to Node #0,3 Current State: 45:[3, 6, 47], Operations: ['98-51=47'] Exploring Operation: 6/3=2, Resulting Numbers: [47, 2] Generated Node #0,3,0: 45:[47, 2] Operation: 6/3=2 Moving to Node #0,3,0 Current State: 45:[47, 2], Operations: ['98-51=47', '6/3=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
sum_heuristic
[ 95, 9, 10, 21 ]
93
[ "95+9=104", "21-10=11", "104-11=93" ]
Current State: 93:[95, 9, 10, 21], Operations: [] Exploring Operation: 95+9=104, Resulting Numbers: [10, 21, 104] Generated Node #2: [10, 21, 104] from Operation: 95+9=104 Current State: 93:[10, 21, 104], Operations: ['95+9=104'] Exploring Operation: 21-10=11, Resulting Numbers: [104, 11] Generated Node #3: [104, 11] from Operation: 21-10=11 Current State: 93:[104, 11], Operations: ['95+9=104', '21-10=11'] Exploring Operation: 104-11=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[95, 9, 10, 21], Operations: [] Exploring Operation: 9*10=90, Resulting Numbers: [95, 21, 90] Generated Node #0,0: 93:[95, 21, 90] Operation: 9*10=90 Exploring Operation: 9+21=30, Resulting Numbers: [95, 10, 30] Generated Node #0,1: 93:[95, 10, 30] Operation: 9+21=30 Exploring Operation: 10+21=31, Resulting Numbers: [95, 9, 31] Generated Node #0,2: 93:[95, 9, 31] Operation: 10+21=31 Exploring Operation: 10-9=1, Resulting Numbers: [95, 21, 1] Generated Node #0,3: 93:[95, 21, 1] Operation: 10-9=1 Exploring Operation: 21-10=11, Resulting Numbers: [95, 9, 11] Generated Node #0,4: 93:[95, 9, 11] Operation: 21-10=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[95, 9, 31], Operations: ['10+21=31'] Exploring Operation: 95+9=104, Resulting Numbers: [31, 104] Generated Node #0,2,0: 93:[31, 104] Operation: 95+9=104 Exploring Operation: 31-9=22, Resulting Numbers: [95, 22] Generated Node #0,2,1: 93:[95, 22] Operation: 31-9=22 Exploring Operation: 95-9=86, Resulting Numbers: [31, 86] Generated Node #0,2,2: 93:[31, 86] Operation: 95-9=86 Exploring Operation: 95-31=64, Resulting Numbers: [9, 64] Generated Node #0,2,3: 93:[9, 64] Operation: 95-31=64 Exploring Operation: 9+31=40, Resulting Numbers: [95, 40] Generated Node #0,2,4: 93:[95, 40] Operation: 9+31=40 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[31, 86], Operations: ['10+21=31', '95-9=86'] Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,93 unequal: No Solution Exploring Operation: 31*86=2666, Resulting Numbers: [2666] 2666,93 unequal: No Solution Exploring Operation: 31+86=117, Resulting Numbers: [117] 117,93 unequal: No Solution No 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: 93:[31, 104], Operations: ['10+21=31', '95+9=104'] Exploring Operation: 31*104=3224, Resulting Numbers: [3224] 3224,93 unequal: No Solution Exploring Operation: 104-31=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 31+104=135, Resulting Numbers: [135] 135,93 unequal: No Solution No 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: 93:[95, 22], Operations: ['10+21=31', '31-9=22'] Exploring Operation: 95*22=2090, Resulting Numbers: [2090] 2090,93 unequal: No Solution Exploring Operation: 95-22=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 95+22=117, Resulting Numbers: [117] 117,93 unequal: No Solution No 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: 93:[95, 40], Operations: ['10+21=31', '9+31=40'] Exploring Operation: 95+40=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 95-40=55, Resulting Numbers: [55] 55,93 unequal: No Solution Exploring Operation: 95*40=3800, Resulting Numbers: [3800] 3800,93 unequal: No Solution No 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: 93:[9, 64], Operations: ['10+21=31', '95-31=64'] Exploring Operation: 9*64=576, Resulting Numbers: [576] 576,93 unequal: No Solution Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,93 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: 93:[95, 10, 30], Operations: ['9+21=30'] Exploring Operation: 95+10=105, Resulting Numbers: [30, 105] Generated Node #0,1,0: 93:[30, 105] Operation: 95+10=105 Exploring Operation: 30/10=3, Resulting Numbers: [95, 3] Generated Node #0,1,1: 93:[95, 3] Operation: 30/10=3 Exploring Operation: 95-10=85, Resulting Numbers: [30, 85] Generated Node #0,1,2: 93:[30, 85] Operation: 95-10=85 Exploring Operation: 30-10=20, Resulting Numbers: [95, 20] Generated Node #0,1,3: 93:[95, 20] Operation: 30-10=20 Exploring Operation: 10+30=40, Resulting Numbers: [95, 40] Generated Node #0,1,4: 93:[95, 40] Operation: 10+30=40 Moving to Node #0,1,1 Current State: 93:[95, 3], Operations: ['9+21=30', '30/10=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,93 unequal: No Solution Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,93 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[30, 85], Operations: ['9+21=30', '95-10=85'] Exploring Operation: 30*85=2550, Resulting Numbers: [2550] 2550,93 unequal: No Solution Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,93 unequal: No Solution Exploring Operation: 30+85=115, Resulting Numbers: [115] 115,93 unequal: No Solution Moving to Node #0,1,4 Current State: 93:[95, 40], Operations: ['9+21=30', '10+30=40'] Exploring Operation: 95*40=3800, Resulting Numbers: [3800] 3800,93 unequal: No Solution Exploring Operation: 95+40=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 95-40=55, Resulting Numbers: [55] 55,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[30, 105], Operations: ['9+21=30', '95+10=105'] Exploring Operation: 30+105=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 30*105=3150, Resulting Numbers: [3150] 3150,93 unequal: No Solution Exploring Operation: 105-30=75, Resulting Numbers: [75] 75,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[95, 20], Operations: ['9+21=30', '30-10=20'] Exploring Operation: 95-20=75, Resulting Numbers: [75] 75,93 unequal: No Solution Exploring Operation: 95+20=115, Resulting Numbers: [115] 115,93 unequal: No Solution Exploring Operation: 95*20=1900, Resulting Numbers: [1900] 1900,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 Current State: 93:[95, 21, 1], Operations: ['10-9=1'] Exploring Operation: 21+1=22, Resulting Numbers: [95, 22] Generated Node #0,3,0: 93:[95, 22] Operation: 21+1=22 Exploring Operation: 21*1=21, Resulting Numbers: [95, 21] Generated Node #0,3,1: 93:[95, 21] Operation: 21*1=21 Exploring Operation: 95/1=95, Resulting Numbers: [21, 95] Generated Node #0,3,2: 93:[21, 95] Operation: 95/1=95 Exploring Operation: 95*1=95, Resulting Numbers: [21, 95] Generated Node #0,3,3: 93:[21, 95] Operation: 95*1=95 Exploring Operation: 95-1=94, Resulting Numbers: [21, 94] Generated Node #0,3,4: 93:[21, 94] Operation: 95-1=94 Moving to Node #0,3,0 Current State: 93:[95, 22], Operations: ['10-9=1', '21+1=22'] Exploring Operation: 95+22=117, Resulting Numbers: [117] 117,93 unequal: No Solution Exploring Operation: 95-22=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 95*22=2090, Resulting Numbers: [2090] 2090,93 unequal: No Solution Moving to Node #0,3,4 Current State: 93:[21, 94], Operations: ['10-9=1', '95-1=94'] Exploring Operation: 21*94=1974, Resulting Numbers: [1974] 1974,93 unequal: No Solution Exploring Operation: 94-21=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 21+94=115, Resulting Numbers: [115] 115,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[95, 21], Operations: ['10-9=1', '21*1=21'] Exploring Operation: 95*21=1995, Resulting Numbers: [1995] 1995,93 unequal: No Solution Exploring Operation: 95+21=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 95-21=74, Resulting Numbers: [74] 74,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[21, 95], Operations: ['10-9=1', '95/1=95'] Exploring Operation: 21+95=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 21*95=1995, Resulting Numbers: [1995] 1995,93 unequal: No Solution Exploring Operation: 95-21=74, Resulting Numbers: [74] 74,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[21, 95], Operations: ['10-9=1', '95*1=95'] Exploring Operation: 95-21=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 21+95=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 21*95=1995, Resulting Numbers: [1995] 1995,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,0 Current State: 93:[95, 21, 90], Operations: ['9*10=90'] Exploring Operation: 21+90=111, Resulting Numbers: [95, 111] Generated Node #0,0,0: 93:[95, 111] Operation: 21+90=111 Exploring Operation: 90-21=69, Resulting Numbers: [95, 69] Generated Node #0,0,1: 93:[95, 69] Operation: 90-21=69 Exploring Operation: 95-21=74, Resulting Numbers: [90, 74] Generated Node #0,0,2: 93:[90, 74] Operation: 95-21=74 Exploring Operation: 95-90=5, Resulting Numbers: [21, 5] Generated Node #0,0,3: 93:[21, 5] Operation: 95-90=5 Exploring Operation: 95+21=116, Resulting Numbers: [90, 116] Generated Node #0,0,4: 93:[90, 116] Operation: 95+21=116 Moving to Node #0,0,3 Current State: 93:[21, 5], Operations: ['9*10=90', '95-90=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,93 unequal: No Solution Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[95, 111], Operations: ['9*10=90', '21+90=111'] Exploring Operation: 111-95=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 95+111=206, Resulting Numbers: [206] 206,93 unequal: No Solution Exploring Operation: 95*111=10545, Resulting Numbers: [10545] 10545,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[90, 74], Operations: ['9*10=90', '95-21=74'] Exploring Operation: 90*74=6660, Resulting Numbers: [6660] 6660,93 unequal: No Solution Exploring Operation: 90-74=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 90+74=164, Resulting Numbers: [164] 164,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[95, 69], Operations: ['9*10=90', '90-21=69'] Exploring Operation: 95*69=6555, Resulting Numbers: [6555] 6555,93 unequal: No Solution Exploring Operation: 95-69=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 95+69=164, Resulting Numbers: [164] 164,93 unequal: No Solution Moving to Node #0,0,4 Current State: 93:[90, 116], Operations: ['9*10=90', '95+21=116'] Exploring Operation: 90+116=206, Resulting Numbers: [206] 206,93 unequal: No Solution Exploring Operation: 116-90=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 90*116=10440, Resulting Numbers: [10440] 10440,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 Current State: 93:[95, 9, 11], Operations: ['21-10=11'] Exploring Operation: 95-9=86, Resulting Numbers: [11, 86] Generated Node #0,4,0: 93:[11, 86] Operation: 95-9=86 Exploring Operation: 9+11=20, Resulting Numbers: [95, 20] Generated Node #0,4,1: 93:[95, 20] Operation: 9+11=20 Exploring Operation: 11-9=2, Resulting Numbers: [95, 2] Generated Node #0,4,2: 93:[95, 2] Operation: 11-9=2 Exploring Operation: 9*11=99, Resulting Numbers: [95, 99] Generated Node #0,4,3: 93:[95, 99] Operation: 9*11=99 Exploring Operation: 95-11=84, Resulting Numbers: [9, 84] Generated Node #0,4,4: 93:[9, 84] Operation: 95-11=84 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 93:[95, 2], Operations: ['21-10=11', '11-9=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[95, 9, 10, 21], Operations: [] Exploring Operation: 21-10=11, Resulting Numbers: [95, 9, 11] Generated Node #0,4: 93:[95, 9, 11] Operation: 21-10=11 Moving to Node #0,4 Current State: 93:[95, 9, 11], Operations: ['21-10=11'] Exploring Operation: 11-9=2, Resulting Numbers: [95, 2] Generated Node #0,4,2: 93:[95, 2] Operation: 11-9=2 Moving to Node #0,4,2 Current State: 93:[95, 2], Operations: ['21-10=11', '11-9=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.917535
hs_5
sum_heuristic
[ 89, 48, 3, 44 ]
90
[ "89+48=137", "3+44=47", "137-47=90" ]
Current State: 90:[89, 48, 3, 44], Operations: [] Exploring Operation: 89+48=137, Resulting Numbers: [3, 44, 137] Generated Node #2: [3, 44, 137] from Operation: 89+48=137 Current State: 90:[3, 44, 137], Operations: ['89+48=137'] Exploring Operation: 3+44=47, Resulting Numbers: [137, 47] Generated Node #3: [137, 47] from Operation: 3+44=47 Current State: 90:[137, 47], Operations: ['89+48=137', '3+44=47'] Exploring Operation: 137-47=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[89, 48, 3, 44], Operations: [] Exploring Operation: 48/3=16, Resulting Numbers: [89, 44, 16] Generated Node #0,0: 90:[89, 44, 16] Operation: 48/3=16 Exploring Operation: 89-44=45, Resulting Numbers: [48, 3, 45] Generated Node #0,1: 90:[48, 3, 45] Operation: 89-44=45 Exploring Operation: 48-44=4, Resulting Numbers: [89, 3, 4] Generated Node #0,2: 90:[89, 3, 4] Operation: 48-44=4 Exploring Operation: 48-3=45, Resulting Numbers: [89, 44, 45] Generated Node #0,3: 90:[89, 44, 45] Operation: 48-3=45 Moving to Node #0,2 Current State: 90:[89, 3, 4], Operations: ['48-44=4'] Exploring Operation: 3+4=7, Resulting Numbers: [89, 7] Generated Node #0,2,0: 90:[89, 7] Operation: 3+4=7 Exploring Operation: 4-3=1, Resulting Numbers: [89, 1] Generated Node #0,2,1: 90:[89, 1] Operation: 4-3=1 Exploring Operation: 89+4=93, Resulting Numbers: [3, 93] Generated Node #0,2,2: 90:[3, 93] Operation: 89+4=93 Exploring Operation: 89+3=92, Resulting Numbers: [4, 92] Generated Node #0,2,3: 90:[4, 92] Operation: 89+3=92 Moving to Node #0,3 Current State: 90:[89, 44, 45], Operations: ['48-3=45'] Exploring Operation: 89-44=45, Resulting Numbers: [45, 45] Generated Node #0,3,0: 90:[45, 45] Operation: 89-44=45 Exploring Operation: 44+45=89, Resulting Numbers: [89, 89] Generated Node #0,3,1: 90:[89, 89] Operation: 44+45=89 Exploring Operation: 89-45=44, Resulting Numbers: [44, 44] Generated Node #0,3,2: 90:[44, 44] Operation: 89-45=44 Exploring Operation: 45-44=1, Resulting Numbers: [89, 1] Generated Node #0,3,3: 90:[89, 1] Operation: 45-44=1 Moving to Node #0,1 Current State: 90:[48, 3, 45], Operations: ['89-44=45'] Exploring Operation: 48+45=93, Resulting Numbers: [3, 93] Generated Node #0,1,0: 90:[3, 93] Operation: 48+45=93 Exploring Operation: 48-3=45, Resulting Numbers: [45, 45] Generated Node #0,1,1: 90:[45, 45] Operation: 48-3=45 Exploring Operation: 48-45=3, Resulting Numbers: [3, 3] Generated Node #0,1,2: 90:[3, 3] Operation: 48-45=3 Exploring Operation: 48/3=16, Resulting Numbers: [45, 16] Generated Node #0,1,3: 90:[45, 16] Operation: 48/3=16 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[45, 45], Operations: ['89-44=45', '48-3=45'] Exploring Operation: 45*45=2025, Resulting Numbers: [2025] 2025,90 unequal: No Solution Exploring Operation: 45/45=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[89, 48, 3, 44], Operations: [] Exploring Operation: 89-44=45, Resulting Numbers: [48, 3, 45] Generated Node #0,1: 90:[48, 3, 45] Operation: 89-44=45 Moving to Node #0,1 Current State: 90:[48, 3, 45], Operations: ['89-44=45'] Exploring Operation: 48-3=45, Resulting Numbers: [45, 45] Generated Node #0,1,1: 90:[45, 45] Operation: 48-3=45 Moving to Node #0,1,1 Current State: 90:[45, 45], Operations: ['89-44=45', '48-3=45'] Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
sum_heuristic
[ 25, 17, 50, 27 ]
46
[ "50/25=2", "17+27=44", "2+44=46" ]
Current State: 46:[25, 17, 50, 27], Operations: [] Exploring Operation: 50/25=2, Resulting Numbers: [17, 27, 2] Generated Node #2: [17, 27, 2] from Operation: 50/25=2 Current State: 46:[17, 27, 2], Operations: ['50/25=2'] Exploring Operation: 17+27=44, Resulting Numbers: [2, 44] Generated Node #3: [2, 44] from Operation: 17+27=44 Current State: 46:[2, 44], Operations: ['50/25=2', '17+27=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[25, 17, 50, 27], Operations: [] Exploring Operation: 27-25=2, Resulting Numbers: [17, 50, 2] Generated Node #0,0: 46:[17, 50, 2] Operation: 27-25=2 Exploring Operation: 50-27=23, Resulting Numbers: [25, 17, 23] Generated Node #0,1: 46:[25, 17, 23] Operation: 50-27=23 Exploring Operation: 25+17=42, Resulting Numbers: [50, 27, 42] Generated Node #0,2: 46:[50, 27, 42] Operation: 25+17=42 Exploring Operation: 17+27=44, Resulting Numbers: [25, 50, 44] Generated Node #0,3: 46:[25, 50, 44] Operation: 17+27=44 Exploring Operation: 50/25=2, Resulting Numbers: [17, 27, 2] Generated Node #0,4: 46:[17, 27, 2] Operation: 50/25=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[25, 17, 23], Operations: ['50-27=23'] Exploring Operation: 25-17=8, Resulting Numbers: [23, 8] Generated Node #0,1,0: 46:[23, 8] Operation: 25-17=8 Exploring Operation: 23-17=6, Resulting Numbers: [25, 6] Generated Node #0,1,1: 46:[25, 6] Operation: 23-17=6 Exploring Operation: 25+17=42, Resulting Numbers: [23, 42] Generated Node #0,1,2: 46:[23, 42] Operation: 25+17=42 Exploring Operation: 25-23=2, Resulting Numbers: [17, 2] Generated Node #0,1,3: 46:[17, 2] Operation: 25-23=2 Exploring Operation: 25+23=48, Resulting Numbers: [17, 48] Generated Node #0,1,4: 46:[17, 48] Operation: 25+23=48 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 46:[23, 42], Operations: ['50-27=23', '25+17=42'] Exploring Operation: 23+42=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 23*42=966, Resulting Numbers: [966] 966,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[23, 8], Operations: ['50-27=23', '25-17=8'] Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,46 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 46:[25, 6], Operations: ['50-27=23', '23-17=6'] Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,46 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 46:[17, 2], Operations: ['50-27=23', '25-23=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 46:[17, 48], Operations: ['50-27=23', '25+23=48'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 17*48=816, Resulting Numbers: [816] 816,46 unequal: No Solution Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[25, 50, 44], Operations: ['17+27=44'] Exploring Operation: 44-25=19, Resulting Numbers: [50, 19] Generated Node #0,3,0: 46:[50, 19] Operation: 44-25=19 Exploring Operation: 50-25=25, Resulting Numbers: [44, 25] Generated Node #0,3,1: 46:[44, 25] Operation: 50-25=25 Exploring Operation: 50-44=6, Resulting Numbers: [25, 6] Generated Node #0,3,2: 46:[25, 6] Operation: 50-44=6 Exploring Operation: 50/25=2, Resulting Numbers: [44, 2] Generated Node #0,3,3: 46:[44, 2] Operation: 50/25=2 Exploring Operation: 25+44=69, Resulting Numbers: [50, 69] Generated Node #0,3,4: 46:[50, 69] Operation: 25+44=69 Moving to Node #0,3,3 Current State: 46:[44, 2], Operations: ['17+27=44', '50/25=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[25, 17, 50, 27], Operations: [] Exploring Operation: 17+27=44, Resulting Numbers: [25, 50, 44] Generated Node #0,3: 46:[25, 50, 44] Operation: 17+27=44 Moving to Node #0,3 Current State: 46:[25, 50, 44], Operations: ['17+27=44'] Exploring Operation: 50/25=2, Resulting Numbers: [44, 2] Generated Node #0,3,3: 46:[44, 2] Operation: 50/25=2 Moving to Node #0,3,3 Current State: 46:[44, 2], Operations: ['17+27=44', '50/25=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 86, 9, 96, 32 ]
83
[ "9*32=288", "288/96=3", "86-3=83" ]
Current State: 83:[86, 9, 96, 32], Operations: [] Exploring Operation: 9*32=288, Resulting Numbers: [86, 96, 288] Generated Node #2: [86, 96, 288] from Operation: 9*32=288 Current State: 83:[86, 96, 288], Operations: ['9*32=288'] Exploring Operation: 288/96=3, Resulting Numbers: [86, 3] Generated Node #3: [86, 3] from Operation: 288/96=3 Current State: 83:[86, 3], Operations: ['9*32=288', '288/96=3'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[86, 9, 96, 32], Operations: [] Exploring Operation: 9+32=41, Resulting Numbers: [86, 96, 41] Generated Node #0,0: 83:[86, 96, 41] Operation: 9+32=41 Exploring Operation: 96-9=87, Resulting Numbers: [86, 32, 87] Generated Node #0,1: 83:[86, 32, 87] Operation: 96-9=87 Moving to Node #0,0 Current State: 83:[86, 96, 41], Operations: ['9+32=41'] Exploring Operation: 86-41=45, Resulting Numbers: [96, 45] Generated Node #0,0,0: 83:[96, 45] Operation: 86-41=45 Exploring Operation: 96-41=55, Resulting Numbers: [86, 55] Generated Node #0,0,1: 83:[86, 55] Operation: 96-41=55 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[86, 55], Operations: ['9+32=41', '96-41=55'] Exploring Operation: 86+55=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[96, 45], Operations: ['9+32=41', '86-41=45'] Exploring Operation: 96+45=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,83 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: 83:[86, 32, 87], Operations: ['96-9=87'] Exploring Operation: 87-32=55, Resulting Numbers: [86, 55] Generated Node #0,1,0: 83:[86, 55] Operation: 87-32=55 Exploring Operation: 86-32=54, Resulting Numbers: [87, 54] Generated Node #0,1,1: 83:[87, 54] Operation: 86-32=54 Moving to Node #0,1,0 Current State: 83:[86, 55], Operations: ['96-9=87', '87-32=55'] Exploring Operation: 86+55=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[87, 54], Operations: ['96-9=87', '86-32=54'] Exploring Operation: 87+54=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 87-54=33, Resulting Numbers: [33] 33,83 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 71, 69, 98, 87 ]
68
[ "98-69=29", "87/29=3", "71-3=68" ]
Current State: 68:[71, 69, 98, 87], Operations: [] Exploring Operation: 98-69=29, Resulting Numbers: [71, 87, 29] Generated Node #2: [71, 87, 29] from Operation: 98-69=29 Current State: 68:[71, 87, 29], Operations: ['98-69=29'] Exploring Operation: 87/29=3, Resulting Numbers: [71, 3] Generated Node #3: [71, 3] from Operation: 87/29=3 Current State: 68:[71, 3], Operations: ['98-69=29', '87/29=3'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[71, 69, 98, 87], Operations: [] Exploring Operation: 98-69=29, Resulting Numbers: [71, 87, 29] Generated Node #0,0: 68:[71, 87, 29] Operation: 98-69=29 Exploring Operation: 87-71=16, Resulting Numbers: [69, 98, 16] Generated Node #0,1: 68:[69, 98, 16] Operation: 87-71=16 Exploring Operation: 87-69=18, Resulting Numbers: [71, 98, 18] Generated Node #0,2: 68:[71, 98, 18] Operation: 87-69=18 Exploring Operation: 98-71=27, Resulting Numbers: [69, 87, 27] Generated Node #0,3: 68:[69, 87, 27] Operation: 98-71=27 Exploring Operation: 98-87=11, Resulting Numbers: [71, 69, 11] Generated Node #0,4: 68:[71, 69, 11] Operation: 98-87=11 Moving to Node #0,4 Current State: 68:[71, 69, 11], Operations: ['98-87=11'] Exploring Operation: 69+11=80, Resulting Numbers: [71, 80] Generated Node #0,4,0: 68:[71, 80] Operation: 69+11=80 Exploring Operation: 69-11=58, Resulting Numbers: [71, 58] Generated Node #0,4,1: 68:[71, 58] Operation: 69-11=58 Exploring Operation: 71-11=60, Resulting Numbers: [69, 60] Generated Node #0,4,2: 68:[69, 60] Operation: 71-11=60 Exploring Operation: 71-69=2, Resulting Numbers: [11, 2] Generated Node #0,4,3: 68:[11, 2] Operation: 71-69=2 Exploring Operation: 71+11=82, Resulting Numbers: [69, 82] Generated Node #0,4,4: 68:[69, 82] Operation: 71+11=82 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 68:[11, 2], Operations: ['98-87=11', '71-69=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,68 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,68 unequal: No Solution No 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: 68:[69, 60], Operations: ['98-87=11', '71-11=60'] Exploring Operation: 69*60=4140, Resulting Numbers: [4140] 4140,68 unequal: No Solution Exploring Operation: 69+60=129, Resulting Numbers: [129] 129,68 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,68 unequal: No Solution No 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: 68:[71, 58], Operations: ['98-87=11', '69-11=58'] Exploring Operation: 71*58=4118, Resulting Numbers: [4118] 4118,68 unequal: No Solution Exploring Operation: 71+58=129, Resulting Numbers: [129] 129,68 unequal: No Solution Exploring Operation: 71-58=13, Resulting Numbers: [13] 13,68 unequal: No Solution No 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: 68:[71, 80], Operations: ['98-87=11', '69+11=80'] Exploring Operation: 80-71=9, Resulting Numbers: [9] 9,68 unequal: No Solution Exploring Operation: 71*80=5680, Resulting Numbers: [5680] 5680,68 unequal: No Solution Exploring Operation: 71+80=151, Resulting Numbers: [151] 151,68 unequal: No Solution No 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: 68:[69, 82], Operations: ['98-87=11', '71+11=82'] Exploring Operation: 82-69=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 69+82=151, Resulting Numbers: [151] 151,68 unequal: No Solution Exploring Operation: 69*82=5658, Resulting Numbers: [5658] 5658,68 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: 68:[69, 87, 27], Operations: ['98-71=27'] Exploring Operation: 87-27=60, Resulting Numbers: [69, 60] Generated Node #0,3,0: 68:[69, 60] Operation: 87-27=60 Exploring Operation: 87-69=18, Resulting Numbers: [27, 18] Generated Node #0,3,1: 68:[27, 18] Operation: 87-69=18 Exploring Operation: 69+27=96, Resulting Numbers: [87, 96] Generated Node #0,3,2: 68:[87, 96] Operation: 69+27=96 Exploring Operation: 69-27=42, Resulting Numbers: [87, 42] Generated Node #0,3,3: 68:[87, 42] Operation: 69-27=42 Exploring Operation: 87+27=114, Resulting Numbers: [69, 114] Generated Node #0,3,4: 68:[69, 114] Operation: 87+27=114 Moving to Node #0,0 Current State: 68:[71, 87, 29], Operations: ['98-69=29'] Exploring Operation: 87-71=16, Resulting Numbers: [29, 16] Generated Node #0,0,0: 68:[29, 16] Operation: 87-71=16 Exploring Operation: 71+29=100, Resulting Numbers: [87, 100] Generated Node #0,0,1: 68:[87, 100] Operation: 71+29=100 Exploring Operation: 87-29=58, Resulting Numbers: [71, 58] Generated Node #0,0,2: 68:[71, 58] Operation: 87-29=58 Exploring Operation: 71-29=42, Resulting Numbers: [87, 42] Generated Node #0,0,3: 68:[87, 42] Operation: 71-29=42 Exploring Operation: 87/29=3, Resulting Numbers: [71, 3] Generated Node #0,0,4: 68:[71, 3] Operation: 87/29=3 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 68:[71, 3], Operations: ['98-69=29', '87/29=3'] Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,68 unequal: No Solution Exploring Operation: 71*3=213, Resulting Numbers: [213] 213,68 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[71, 69, 98, 87], Operations: [] Exploring Operation: 98-69=29, Resulting Numbers: [71, 87, 29] Generated Node #0,0: 68:[71, 87, 29] Operation: 98-69=29 Moving to Node #0,0 Current State: 68:[71, 87, 29], Operations: ['98-69=29'] Exploring Operation: 87/29=3, Resulting Numbers: [71, 3] Generated Node #0,0,4: 68:[71, 3] Operation: 87/29=3 Moving to Node #0,0,4 Current State: 68:[71, 3], Operations: ['98-69=29', '87/29=3'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 66, 12, 13, 8 ]
26
[ "66+12=78", "13*8=104", "104-78=26" ]
Current State: 26:[66, 12, 13, 8], Operations: [] Exploring Operation: 66+12=78, Resulting Numbers: [13, 8, 78] Generated Node #2: [13, 8, 78] from Operation: 66+12=78 Current State: 26:[13, 8, 78], Operations: ['66+12=78'] Exploring Operation: 13*8=104, Resulting Numbers: [78, 104] Generated Node #3: [78, 104] from Operation: 13*8=104 Current State: 26:[78, 104], Operations: ['66+12=78', '13*8=104'] Exploring Operation: 104-78=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[66, 12, 13, 8], Operations: [] Exploring Operation: 66-12=54, Resulting Numbers: [13, 8, 54] Generated Node #0,0: 26:[13, 8, 54] Operation: 66-12=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[13, 8, 54], Operations: ['66-12=54'] Exploring Operation: 54-13=41, Resulting Numbers: [8, 41] Generated Node #0,0,0: 26:[8, 41] Operation: 54-13=41 Moving to Node #0,0,0 Current State: 26:[8, 41], Operations: ['66-12=54', '54-13=41'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,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
[ 2, 74, 32, 1 ]
21
[ "2*1=2", "74-32=42", "42/2=21" ]
Current State: 21:[2, 74, 32, 1], Operations: [] Exploring Operation: 2*1=2, Resulting Numbers: [74, 32, 2] Generated Node #2: [74, 32, 2] from Operation: 2*1=2 Current State: 21:[74, 32, 2], Operations: ['2*1=2'] Exploring Operation: 74-32=42, Resulting Numbers: [2, 42] Generated Node #3: [2, 42] from Operation: 74-32=42 Current State: 21:[2, 42], Operations: ['2*1=2', '74-32=42'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[2, 74, 32, 1], Operations: [] Exploring Operation: 74/2=37, Resulting Numbers: [32, 1, 37] Generated Node #0,0: 21:[32, 1, 37] Operation: 74/2=37 Exploring Operation: 74-32=42, Resulting Numbers: [2, 1, 42] Generated Node #0,1: 21:[2, 1, 42] Operation: 74-32=42 Moving to Node #0,1 Current State: 21:[2, 1, 42], Operations: ['74-32=42'] Exploring Operation: 2+1=3, Resulting Numbers: [42, 3] Generated Node #0,1,0: 21:[42, 3] Operation: 2+1=3 Exploring Operation: 42/2=21, Resulting Numbers: [1, 21] Generated Node #0,1,1: 21:[1, 21] Operation: 42/2=21 Moving to Node #0,0 Current State: 21:[32, 1, 37], Operations: ['74/2=37'] Exploring Operation: 32-1=31, Resulting Numbers: [37, 31] Generated Node #0,0,0: 21:[37, 31] Operation: 32-1=31 Exploring Operation: 37-32=5, Resulting Numbers: [1, 5] Generated Node #0,0,1: 21:[1, 5] Operation: 37-32=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[1, 5], Operations: ['74/2=37', '37-32=5'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,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,0 Current State: 21:[37, 31], Operations: ['74/2=37', '32-1=31'] Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,21 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: 21:[1, 21], Operations: ['74-32=42', '42/2=21'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[2, 74, 32, 1], Operations: [] Exploring Operation: 74-32=42, Resulting Numbers: [2, 1, 42] Generated Node #0,1: 21:[2, 1, 42] Operation: 74-32=42 Moving to Node #0,1 Current State: 21:[2, 1, 42], Operations: ['74-32=42'] Exploring Operation: 42/2=21, Resulting Numbers: [1, 21] Generated Node #0,1,1: 21:[1, 21] Operation: 42/2=21 Moving to Node #0,1,1 Current State: 21:[1, 21], Operations: ['74-32=42', '42/2=21'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 12, 46, 20, 26 ]
52
[ "12+46=58", "26-20=6", "58-6=52" ]
Current State: 52:[12, 46, 20, 26], Operations: [] Exploring Operation: 12+46=58, Resulting Numbers: [20, 26, 58] Generated Node #2: [20, 26, 58] from Operation: 12+46=58 Current State: 52:[20, 26, 58], Operations: ['12+46=58'] Exploring Operation: 26-20=6, Resulting Numbers: [58, 6] Generated Node #3: [58, 6] from Operation: 26-20=6 Current State: 52:[58, 6], Operations: ['12+46=58', '26-20=6'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[12, 46, 20, 26], Operations: [] Exploring Operation: 26-20=6, Resulting Numbers: [12, 46, 6] Generated Node #0,0: 52:[12, 46, 6] Operation: 26-20=6 Exploring Operation: 46-20=26, Resulting Numbers: [12, 26, 26] Generated Node #0,1: 52:[12, 26, 26] Operation: 46-20=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[12, 26, 26], Operations: ['46-20=26'] Exploring Operation: 26-12=14, Resulting Numbers: [26, 14] Generated Node #0,1,0: 52:[26, 14] Operation: 26-12=14 Exploring Operation: 26-12=14, Resulting Numbers: [26, 14] Generated Node #0,1,1: 52:[26, 14] Operation: 26-12=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[26, 14], Operations: ['46-20=26', '26-12=14'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[26, 14], Operations: ['46-20=26', '26-12=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[12, 46, 6], Operations: ['26-20=6'] Exploring Operation: 12/6=2, Resulting Numbers: [46, 2] Generated Node #0,0,0: 52:[46, 2] Operation: 12/6=2 Exploring Operation: 46+6=52, Resulting Numbers: [12, 52] Generated Node #0,0,1: 52:[12, 52] Operation: 46+6=52 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[12, 52], Operations: ['26-20=6', '46+6=52'] Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,52 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[46, 2], Operations: ['26-20=6', '12/6=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 78, 76, 79, 52 ]
23
[ "78+76=154", "79+52=131", "154-131=23" ]
Current State: 23:[78, 76, 79, 52], Operations: [] Exploring Operation: 78+76=154, Resulting Numbers: [79, 52, 154] Generated Node #2: [79, 52, 154] from Operation: 78+76=154 Current State: 23:[79, 52, 154], Operations: ['78+76=154'] Exploring Operation: 79+52=131, Resulting Numbers: [154, 131] Generated Node #3: [154, 131] from Operation: 79+52=131 Current State: 23:[154, 131], Operations: ['78+76=154', '79+52=131'] Exploring Operation: 154-131=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[78, 76, 79, 52], Operations: [] Exploring Operation: 78-52=26, Resulting Numbers: [76, 79, 26] Generated Node #0,0: 23:[76, 79, 26] Operation: 78-52=26 Exploring Operation: 78-76=2, Resulting Numbers: [79, 52, 2] Generated Node #0,1: 23:[79, 52, 2] Operation: 78-76=2 Exploring Operation: 79-78=1, Resulting Numbers: [76, 52, 1] Generated Node #0,2: 23:[76, 52, 1] Operation: 79-78=1 Exploring Operation: 79-76=3, Resulting Numbers: [78, 52, 3] Generated Node #0,3: 23:[78, 52, 3] Operation: 79-76=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[76, 52, 1], Operations: ['79-78=1'] Exploring Operation: 52-1=51, Resulting Numbers: [76, 51] Generated Node #0,2,0: 23:[76, 51] Operation: 52-1=51 Exploring Operation: 76-52=24, Resulting Numbers: [1, 24] Generated Node #0,2,1: 23:[1, 24] Operation: 76-52=24 Exploring Operation: 76-1=75, Resulting Numbers: [52, 75] Generated Node #0,2,2: 23:[52, 75] Operation: 76-1=75 Exploring Operation: 76*1=76, Resulting Numbers: [52, 76] Generated Node #0,2,3: 23:[52, 76] Operation: 76*1=76 Moving to Node #0,2,1 Current State: 23:[1, 24], Operations: ['79-78=1', '76-52=24'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[78, 76, 79, 52], Operations: [] Exploring Operation: 79-78=1, Resulting Numbers: [76, 52, 1] Generated Node #0,2: 23:[76, 52, 1] Operation: 79-78=1 Moving to Node #0,2 Current State: 23:[76, 52, 1], Operations: ['79-78=1'] Exploring Operation: 76-52=24, Resulting Numbers: [1, 24] Generated Node #0,2,1: 23:[1, 24] Operation: 76-52=24 Moving to Node #0,2,1 Current State: 23:[1, 24], Operations: ['79-78=1', '76-52=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 12, 94, 6, 3 ]
94
[ "12/6=2", "3-2=1", "94*1=94" ]
Current State: 94:[12, 94, 6, 3], Operations: [] Exploring Operation: 12/6=2, Resulting Numbers: [94, 3, 2] Generated Node #2: [94, 3, 2] from Operation: 12/6=2 Current State: 94:[94, 3, 2], Operations: ['12/6=2'] Exploring Operation: 3-2=1, Resulting Numbers: [94, 1] Generated Node #3: [94, 1] from Operation: 3-2=1 Current State: 94:[94, 1], Operations: ['12/6=2', '3-2=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[12, 94, 6, 3], Operations: [] Exploring Operation: 12/3=4, Resulting Numbers: [94, 6, 4] Generated Node #0,0: 94:[94, 6, 4] Operation: 12/3=4 Exploring Operation: 12-6=6, Resulting Numbers: [94, 3, 6] Generated Node #0,1: 94:[94, 3, 6] Operation: 12-6=6 Exploring Operation: 12/6=2, Resulting Numbers: [94, 3, 2] Generated Node #0,2: 94:[94, 3, 2] Operation: 12/6=2 Moving to Node #0,2 Current State: 94:[94, 3, 2], Operations: ['12/6=2'] Exploring Operation: 3-2=1, Resulting Numbers: [94, 1] Generated Node #0,2,0: 94:[94, 1] Operation: 3-2=1 Exploring Operation: 94+3=97, Resulting Numbers: [2, 97] Generated Node #0,2,1: 94:[2, 97] Operation: 94+3=97 Exploring Operation: 94/2=47, Resulting Numbers: [3, 47] Generated Node #0,2,2: 94:[3, 47] Operation: 94/2=47 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[94, 1], Operations: ['12/6=2', '3-2=1'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[12, 94, 6, 3], Operations: [] Exploring Operation: 12/6=2, Resulting Numbers: [94, 3, 2] Generated Node #0,2: 94:[94, 3, 2] Operation: 12/6=2 Moving to Node #0,2 Current State: 94:[94, 3, 2], Operations: ['12/6=2'] Exploring Operation: 3-2=1, Resulting Numbers: [94, 1] Generated Node #0,2,0: 94:[94, 1] Operation: 3-2=1 Moving to Node #0,2,0 Current State: 94:[94, 1], Operations: ['12/6=2', '3-2=1'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 16, 9, 28, 60 ]
32
[ "9*60=540", "540-28=512", "512/16=32" ]
Current State: 32:[16, 9, 28, 60], Operations: [] Exploring Operation: 9*60=540, Resulting Numbers: [16, 28, 540] Generated Node #2: [16, 28, 540] from Operation: 9*60=540 Current State: 32:[16, 28, 540], Operations: ['9*60=540'] Exploring Operation: 540-28=512, Resulting Numbers: [16, 512] Generated Node #3: [16, 512] from Operation: 540-28=512 Current State: 32:[16, 512], Operations: ['9*60=540', '540-28=512'] Exploring Operation: 512/16=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[16, 9, 28, 60], Operations: [] Exploring Operation: 60-28=32, Resulting Numbers: [16, 9, 32] Generated Node #0,0: 32:[16, 9, 32] Operation: 60-28=32 Exploring Operation: 60-9=51, Resulting Numbers: [16, 28, 51] Generated Node #0,1: 32:[16, 28, 51] Operation: 60-9=51 Exploring Operation: 60-16=44, Resulting Numbers: [9, 28, 44] Generated Node #0,2: 32:[9, 28, 44] Operation: 60-16=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[16, 9, 32], Operations: ['60-28=32'] Exploring Operation: 16-9=7, Resulting Numbers: [32, 7] Generated Node #0,0,0: 32:[32, 7] Operation: 16-9=7 Exploring Operation: 32-16=16, Resulting Numbers: [9, 16] Generated Node #0,0,1: 32:[9, 16] Operation: 32-16=16 Exploring Operation: 32/16=2, Resulting Numbers: [9, 2] Generated Node #0,0,2: 32:[9, 2] Operation: 32/16=2 Moving to Node #0,0,0 Current State: 32:[32, 7], Operations: ['60-28=32', '16-9=7'] Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,32 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[9, 16], Operations: ['60-28=32', '32-16=16'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,32 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[9, 2], Operations: ['60-28=32', '32/16=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,32 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,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 Current State: 32:[9, 28, 44], Operations: ['60-16=44'] Exploring Operation: 44-9=35, Resulting Numbers: [28, 35] Generated Node #0,2,0: 32:[28, 35] Operation: 44-9=35 Exploring Operation: 28-9=19, Resulting Numbers: [44, 19] Generated Node #0,2,1: 32:[44, 19] Operation: 28-9=19 Exploring Operation: 44-28=16, Resulting Numbers: [9, 16] Generated Node #0,2,2: 32:[9, 16] Operation: 44-28=16 Moving to Node #0,2,2 Current State: 32:[9, 16], Operations: ['60-16=44', '44-28=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[28, 35], Operations: ['60-16=44', '44-9=35'] Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 28+35=63, Resulting Numbers: [63] 63,32 unequal: No Solution Exploring Operation: 28*35=980, Resulting Numbers: [980] 980,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[44, 19], Operations: ['60-16=44', '28-9=19'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,32 unequal: No Solution Exploring Operation: 44*19=836, Resulting Numbers: [836] 836,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[16, 28, 51], Operations: ['60-9=51'] Exploring Operation: 51-16=35, Resulting Numbers: [28, 35] Generated Node #0,1,0: 32:[28, 35] Operation: 51-16=35 Exploring Operation: 28-16=12, Resulting Numbers: [51, 12] Generated Node #0,1,1: 32:[51, 12] Operation: 28-16=12 Exploring Operation: 51-28=23, Resulting Numbers: [16, 23] Generated Node #0,1,2: 32:[16, 23] Operation: 51-28=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 32:[28, 35], Operations: ['60-9=51', '51-16=35'] Exploring Operation: 28*35=980, Resulting Numbers: [980] 980,32 unequal: No Solution Exploring Operation: 28+35=63, Resulting Numbers: [63] 63,32 unequal: No Solution Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 32:[16, 23], Operations: ['60-9=51', '51-28=23'] Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 16*23=368, Resulting Numbers: [368] 368,32 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[51, 12], Operations: ['60-9=51', '28-16=12'] Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,32 unequal: No Solution Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,32 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 42, 48, 85, 34 ]
45
[ "48-42=6", "85-34=51", "51-6=45" ]
Current State: 45:[42, 48, 85, 34], Operations: [] Exploring Operation: 48-42=6, Resulting Numbers: [85, 34, 6] Generated Node #2: [85, 34, 6] from Operation: 48-42=6 Current State: 45:[85, 34, 6], Operations: ['48-42=6'] Exploring Operation: 85-34=51, Resulting Numbers: [6, 51] Generated Node #3: [6, 51] from Operation: 85-34=51 Current State: 45:[6, 51], Operations: ['48-42=6', '85-34=51'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[42, 48, 85, 34], Operations: [] Exploring Operation: 42-34=8, Resulting Numbers: [48, 85, 8] Generated Node #0,0: 45:[48, 85, 8] Operation: 42-34=8 Exploring Operation: 85-42=43, Resulting Numbers: [48, 34, 43] Generated Node #0,1: 45:[48, 34, 43] Operation: 85-42=43 Exploring Operation: 85-34=51, Resulting Numbers: [42, 48, 51] Generated Node #0,2: 45:[42, 48, 51] Operation: 85-34=51 Exploring Operation: 85-48=37, Resulting Numbers: [42, 34, 37] Generated Node #0,3: 45:[42, 34, 37] Operation: 85-48=37 Moving to Node #0,2 Current State: 45:[42, 48, 51], Operations: ['85-34=51'] Exploring Operation: 51-48=3, Resulting Numbers: [42, 3] Generated Node #0,2,0: 45:[42, 3] Operation: 51-48=3 Exploring Operation: 48-42=6, Resulting Numbers: [51, 6] Generated Node #0,2,1: 45:[51, 6] Operation: 48-42=6 Exploring Operation: 42+48=90, Resulting Numbers: [51, 90] Generated Node #0,2,2: 45:[51, 90] Operation: 42+48=90 Exploring Operation: 51-42=9, Resulting Numbers: [48, 9] Generated Node #0,2,3: 45:[48, 9] Operation: 51-42=9 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[42, 3], Operations: ['85-34=51', '51-48=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[42, 48, 85, 34], Operations: [] Exploring Operation: 85-34=51, Resulting Numbers: [42, 48, 51] Generated Node #0,2: 45:[42, 48, 51] Operation: 85-34=51 Moving to Node #0,2 Current State: 45:[42, 48, 51], Operations: ['85-34=51'] Exploring Operation: 51-48=3, Resulting Numbers: [42, 3] Generated Node #0,2,0: 45:[42, 3] Operation: 51-48=3 Moving to Node #0,2,0 Current State: 45:[42, 3], Operations: ['85-34=51', '51-48=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 3, 67, 28, 83 ]
47
[ "67-3=64", "28+83=111", "111-64=47" ]
Current State: 47:[3, 67, 28, 83], Operations: [] Exploring Operation: 67-3=64, Resulting Numbers: [28, 83, 64] Generated Node #2: [28, 83, 64] from Operation: 67-3=64 Current State: 47:[28, 83, 64], Operations: ['67-3=64'] Exploring Operation: 28+83=111, Resulting Numbers: [64, 111] Generated Node #3: [64, 111] from Operation: 28+83=111 Current State: 47:[64, 111], Operations: ['67-3=64', '28+83=111'] Exploring Operation: 111-64=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[3, 67, 28, 83], Operations: [] Exploring Operation: 67-3=64, Resulting Numbers: [28, 83, 64] Generated Node #0,0: 47:[28, 83, 64] Operation: 67-3=64 Exploring Operation: 3+28=31, Resulting Numbers: [67, 83, 31] Generated Node #0,1: 47:[67, 83, 31] Operation: 3+28=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[28, 83, 64], Operations: ['67-3=64'] Exploring Operation: 64-28=36, Resulting Numbers: [83, 36] Generated Node #0,0,0: 47:[83, 36] Operation: 64-28=36 Exploring Operation: 83-28=55, Resulting Numbers: [64, 55] Generated Node #0,0,1: 47:[64, 55] Operation: 83-28=55 Moving to Node #0,0,1 Current State: 47:[64, 55], Operations: ['67-3=64', '83-28=55'] Exploring Operation: 64-55=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 64+55=119, Resulting Numbers: [119] 119,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[83, 36], Operations: ['67-3=64', '64-28=36'] Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,47 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[3, 67, 28, 83], Operations: [] Exploring Operation: 67-3=64, Resulting Numbers: [28, 83, 64] Generated Node #0,0: 47:[28, 83, 64] Operation: 67-3=64 Moving to Node #0,0 Current State: 47:[28, 83, 64], Operations: ['67-3=64'] Exploring Operation: 64-28=36, Resulting Numbers: [83, 36] Generated Node #0,0,0: 47:[83, 36] Operation: 64-28=36 Moving to Node #0,0,0 Current State: 47:[83, 36], Operations: ['67-3=64', '64-28=36'] Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 52, 28, 84, 15 ]
21
[ "28-15=13", "52/13=4", "84/4=21" ]
Current State: 21:[52, 28, 84, 15], Operations: [] Exploring Operation: 28-15=13, Resulting Numbers: [52, 84, 13] Generated Node #2: [52, 84, 13] from Operation: 28-15=13 Current State: 21:[52, 84, 13], Operations: ['28-15=13'] Exploring Operation: 52/13=4, Resulting Numbers: [84, 4] Generated Node #3: [84, 4] from Operation: 52/13=4 Current State: 21:[84, 4], Operations: ['28-15=13', '52/13=4'] Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[52, 28, 84, 15], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [52, 15, 3] Generated Node #0,0: 21:[52, 15, 3] Operation: 84/28=3 Exploring Operation: 84-52=32, Resulting Numbers: [28, 15, 32] Generated Node #0,1: 21:[28, 15, 32] Operation: 84-52=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[28, 15, 32], Operations: ['84-52=32'] Exploring Operation: 32-28=4, Resulting Numbers: [15, 4] Generated Node #0,1,0: 21:[15, 4] Operation: 32-28=4 Exploring Operation: 32-15=17, Resulting Numbers: [28, 17] Generated Node #0,1,1: 21:[28, 17] Operation: 32-15=17 Moving to Node #0,1,0 Current State: 21:[15, 4], Operations: ['84-52=32', '32-28=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[28, 17], Operations: ['84-52=32', '32-15=17'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,21 unequal: No Solution Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,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:[52, 15, 3], Operations: ['84/28=3'] Exploring Operation: 15/3=5, Resulting Numbers: [52, 5] Generated Node #0,0,0: 21:[52, 5] Operation: 15/3=5 Exploring Operation: 52-15=37, Resulting Numbers: [3, 37] Generated Node #0,0,1: 21:[3, 37] Operation: 52-15=37 Moving to Node #0,0,1 Current State: 21:[3, 37], Operations: ['84/28=3', '52-15=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[52, 5], Operations: ['84/28=3', '15/3=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,21 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 2, 59, 85, 31 ]
21
[ "85-59=26", "2*26=52", "52-31=21" ]
Current State: 21:[2, 59, 85, 31], Operations: [] Exploring Operation: 85-59=26, Resulting Numbers: [2, 31, 26] Generated Node #2: [2, 31, 26] from Operation: 85-59=26 Current State: 21:[2, 31, 26], Operations: ['85-59=26'] Exploring Operation: 2*26=52, Resulting Numbers: [31, 52] Generated Node #3: [31, 52] from Operation: 2*26=52 Current State: 21:[31, 52], Operations: ['85-59=26', '2*26=52'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[2, 59, 85, 31], Operations: [] Exploring Operation: 85-59=26, Resulting Numbers: [2, 31, 26] Generated Node #0,0: 21:[2, 31, 26] Operation: 85-59=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[2, 31, 26], Operations: ['85-59=26'] Exploring Operation: 31-26=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 21:[2, 5] Operation: 31-26=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[2, 5], Operations: ['85-59=26', '31-26=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,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 No solution found.
0
hs_1
mult_heuristic
[ 77, 24, 39, 27 ]
67
[ "77*24=1848", "1848-39=1809", "1809/27=67" ]
Current State: 67:[77, 24, 39, 27], Operations: [] Exploring Operation: 77*24=1848, Resulting Numbers: [39, 27, 1848] Generated Node #2: [39, 27, 1848] from Operation: 77*24=1848 Current State: 67:[39, 27, 1848], Operations: ['77*24=1848'] Exploring Operation: 1848-39=1809, Resulting Numbers: [27, 1809] Generated Node #3: [27, 1809] from Operation: 1848-39=1809 Current State: 67:[27, 1809], Operations: ['77*24=1848', '1848-39=1809'] Exploring Operation: 1809/27=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[77, 24, 39, 27], Operations: [] Exploring Operation: 24+27=51, Resulting Numbers: [77, 39, 51] Generated Node #0,0: 67:[77, 39, 51] Operation: 24+27=51 Exploring Operation: 24+39=63, Resulting Numbers: [77, 27, 63] Generated Node #0,1: 67:[77, 27, 63] Operation: 24+39=63 Moving to Node #0,0 Current State: 67:[77, 39, 51], Operations: ['24+27=51'] Exploring Operation: 77-39=38, Resulting Numbers: [51, 38] Generated Node #0,0,0: 67:[51, 38] Operation: 77-39=38 Exploring Operation: 39+51=90, Resulting Numbers: [77, 90] Generated Node #0,0,1: 67:[77, 90] Operation: 39+51=90 Moving to Node #0,1 Current State: 67:[77, 27, 63], Operations: ['24+39=63'] Exploring Operation: 77-27=50, Resulting Numbers: [63, 50] Generated Node #0,1,0: 67:[63, 50] Operation: 77-27=50 Exploring Operation: 27+63=90, Resulting Numbers: [77, 90] Generated Node #0,1,1: 67:[77, 90] Operation: 27+63=90 Moving to Node #0,1,0 Current State: 67:[63, 50], Operations: ['24+39=63', '77-27=50'] Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,67 unequal: No Solution Exploring Operation: 63+50=113, Resulting Numbers: [113] 113,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[77, 90], Operations: ['24+27=51', '39+51=90'] Exploring Operation: 77+90=167, Resulting Numbers: [167] 167,67 unequal: No Solution Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[77, 90], Operations: ['24+39=63', '27+63=90'] Exploring Operation: 77+90=167, Resulting Numbers: [167] 167,67 unequal: No Solution Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[51, 38], Operations: ['24+27=51', '77-39=38'] Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,67 unequal: No Solution Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,67 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 21, 60, 6, 53 ]
22
[ "21+60=81", "6+53=59", "81-59=22" ]
Current State: 22:[21, 60, 6, 53], Operations: [] Exploring Operation: 21+60=81, Resulting Numbers: [6, 53, 81] Generated Node #2: [6, 53, 81] from Operation: 21+60=81 Current State: 22:[6, 53, 81], Operations: ['21+60=81'] Exploring Operation: 6+53=59, Resulting Numbers: [81, 59] Generated Node #3: [81, 59] from Operation: 6+53=59 Current State: 22:[81, 59], Operations: ['21+60=81', '6+53=59'] Exploring Operation: 81-59=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[21, 60, 6, 53], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [21, 53, 10] Generated Node #0,0: 22:[21, 53, 10] Operation: 60/6=10 Exploring Operation: 60-53=7, Resulting Numbers: [21, 6, 7] Generated Node #0,1: 22:[21, 6, 7] Operation: 60-53=7 Exploring Operation: 60-21=39, Resulting Numbers: [6, 53, 39] Generated Node #0,2: 22:[6, 53, 39] Operation: 60-21=39 Exploring Operation: 60-6=54, Resulting Numbers: [21, 53, 54] Generated Node #0,3: 22:[21, 53, 54] Operation: 60-6=54 Exploring Operation: 53-21=32, Resulting Numbers: [60, 6, 32] Generated Node #0,4: 22:[60, 6, 32] Operation: 53-21=32 Moving to Node #0,1 Current State: 22:[21, 6, 7], Operations: ['60-53=7'] Exploring Operation: 21-7=14, Resulting Numbers: [6, 14] Generated Node #0,1,0: 22:[6, 14] Operation: 21-7=14 Exploring Operation: 6+7=13, Resulting Numbers: [21, 13] Generated Node #0,1,1: 22:[21, 13] Operation: 6+7=13 Exploring Operation: 21-6=15, Resulting Numbers: [7, 15] Generated Node #0,1,2: 22:[7, 15] Operation: 21-6=15 Exploring Operation: 7-6=1, Resulting Numbers: [21, 1] Generated Node #0,1,3: 22:[21, 1] Operation: 7-6=1 Exploring Operation: 21/7=3, Resulting Numbers: [6, 3] Generated Node #0,1,4: 22:[6, 3] Operation: 21/7=3 Moving to Node #0,0 Current State: 22:[21, 53, 10], Operations: ['60/6=10'] Exploring Operation: 21+10=31, Resulting Numbers: [53, 31] Generated Node #0,0,0: 22:[53, 31] Operation: 21+10=31 Exploring Operation: 53-10=43, Resulting Numbers: [21, 43] Generated Node #0,0,1: 22:[21, 43] Operation: 53-10=43 Exploring Operation: 53-21=32, Resulting Numbers: [10, 32] Generated Node #0,0,2: 22:[10, 32] Operation: 53-21=32 Exploring Operation: 53+10=63, Resulting Numbers: [21, 63] Generated Node #0,0,3: 22:[21, 63] Operation: 53+10=63 Exploring Operation: 21-10=11, Resulting Numbers: [53, 11] Generated Node #0,0,4: 22:[53, 11] Operation: 21-10=11 Moving to Node #0,2 Current State: 22:[6, 53, 39], Operations: ['60-21=39'] Exploring Operation: 6+53=59, Resulting Numbers: [39, 59] Generated Node #0,2,0: 22:[39, 59] Operation: 6+53=59 Exploring Operation: 6+39=45, Resulting Numbers: [53, 45] Generated Node #0,2,1: 22:[53, 45] Operation: 6+39=45 Exploring Operation: 39-6=33, Resulting Numbers: [53, 33] Generated Node #0,2,2: 22:[53, 33] Operation: 39-6=33 Exploring Operation: 53-6=47, Resulting Numbers: [39, 47] Generated Node #0,2,3: 22:[39, 47] Operation: 53-6=47 Exploring Operation: 53-39=14, Resulting Numbers: [6, 14] Generated Node #0,2,4: 22:[6, 14] Operation: 53-39=14 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 22:[6, 14], Operations: ['60-21=39', '53-39=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,22 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 22:[53, 33], Operations: ['60-21=39', '39-6=33'] Exploring Operation: 53+33=86, Resulting Numbers: [86] 86,22 unequal: No Solution Exploring Operation: 53*33=1749, Resulting Numbers: [1749] 1749,22 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 22:[39, 47], Operations: ['60-21=39', '53-6=47'] Exploring Operation: 39*47=1833, Resulting Numbers: [1833] 1833,22 unequal: No Solution Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 39+47=86, Resulting Numbers: [86] 86,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[39, 59], Operations: ['60-21=39', '6+53=59'] Exploring Operation: 39*59=2301, Resulting Numbers: [2301] 2301,22 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 39+59=98, Resulting Numbers: [98] 98,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[53, 45], Operations: ['60-21=39', '6+39=45'] Exploring Operation: 53*45=2385, Resulting Numbers: [2385] 2385,22 unequal: No Solution Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,22 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: 22:[60, 6, 32], Operations: ['53-21=32'] Exploring Operation: 60-6=54, Resulting Numbers: [32, 54] Generated Node #0,4,0: 22:[32, 54] Operation: 60-6=54 Exploring Operation: 60/6=10, Resulting Numbers: [32, 10] Generated Node #0,4,1: 22:[32, 10] Operation: 60/6=10 Exploring Operation: 60+6=66, Resulting Numbers: [32, 66] Generated Node #0,4,2: 22:[32, 66] Operation: 60+6=66 Exploring Operation: 32-6=26, Resulting Numbers: [60, 26] Generated Node #0,4,3: 22:[60, 26] Operation: 32-6=26 Exploring Operation: 60-32=28, Resulting Numbers: [6, 28] Generated Node #0,4,4: 22:[6, 28] Operation: 60-32=28 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 22:[6, 28], Operations: ['53-21=32', '60-32=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,22 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[21, 60, 6, 53], Operations: [] Exploring Operation: 53-21=32, Resulting Numbers: [60, 6, 32] Generated Node #0,4: 22:[60, 6, 32] Operation: 53-21=32 Moving to Node #0,4 Current State: 22:[60, 6, 32], Operations: ['53-21=32'] Exploring Operation: 60-32=28, Resulting Numbers: [6, 28] Generated Node #0,4,4: 22:[6, 28] Operation: 60-32=28 Moving to Node #0,4,4 Current State: 22:[6, 28], Operations: ['53-21=32', '60-32=28'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
mult_heuristic
[ 2, 22, 44, 61 ]
78
[ "44-22=22", "61-22=39", "2*39=78" ]
Current State: 78:[2, 22, 44, 61], Operations: [] Exploring Operation: 44-22=22, Resulting Numbers: [2, 61, 22] Generated Node #2: [2, 61, 22] from Operation: 44-22=22 Current State: 78:[2, 61, 22], Operations: ['44-22=22'] Exploring Operation: 61-22=39, Resulting Numbers: [2, 39] Generated Node #3: [2, 39] from Operation: 61-22=39 Current State: 78:[2, 39], Operations: ['44-22=22', '61-22=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[2, 22, 44, 61], Operations: [] Exploring Operation: 61-22=39, Resulting Numbers: [2, 44, 39] Generated Node #0,0: 78:[2, 44, 39] Operation: 61-22=39 Exploring Operation: 61-44=17, Resulting Numbers: [2, 22, 17] Generated Node #0,1: 78:[2, 22, 17] Operation: 61-44=17 Exploring Operation: 22+61=83, Resulting Numbers: [2, 44, 83] Generated Node #0,2: 78:[2, 44, 83] Operation: 22+61=83 Moving to Node #0,0 Current State: 78:[2, 44, 39], Operations: ['61-22=39'] Exploring Operation: 44/2=22, Resulting Numbers: [39, 22] Generated Node #0,0,0: 78:[39, 22] Operation: 44/2=22 Exploring Operation: 44-39=5, Resulting Numbers: [2, 5] Generated Node #0,0,1: 78:[2, 5] Operation: 44-39=5 Exploring Operation: 44-2=42, Resulting Numbers: [39, 42] Generated Node #0,0,2: 78:[39, 42] Operation: 44-2=42 Moving to Node #0,1 Current State: 78:[2, 22, 17], Operations: ['61-44=17'] Exploring Operation: 22-17=5, Resulting Numbers: [2, 5] Generated Node #0,1,0: 78:[2, 5] Operation: 22-17=5 Exploring Operation: 22+17=39, Resulting Numbers: [2, 39] Generated Node #0,1,1: 78:[2, 39] Operation: 22+17=39 Exploring Operation: 2+22=24, Resulting Numbers: [17, 24] Generated Node #0,1,2: 78:[17, 24] Operation: 2+22=24 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[2, 39], Operations: ['61-44=17', '22+17=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[2, 22, 44, 61], Operations: [] Exploring Operation: 61-44=17, Resulting Numbers: [2, 22, 17] Generated Node #0,1: 78:[2, 22, 17] Operation: 61-44=17 Moving to Node #0,1 Current State: 78:[2, 22, 17], Operations: ['61-44=17'] Exploring Operation: 22+17=39, Resulting Numbers: [2, 39] Generated Node #0,1,1: 78:[2, 39] Operation: 22+17=39 Moving to Node #0,1,1 Current State: 78:[2, 39], Operations: ['61-44=17', '22+17=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 43, 77, 72, 2 ]
76
[ "77-43=34", "72-34=38", "2*38=76" ]
Current State: 76:[43, 77, 72, 2], Operations: [] Exploring Operation: 77-43=34, Resulting Numbers: [72, 2, 34] Generated Node #2: [72, 2, 34] from Operation: 77-43=34 Current State: 76:[72, 2, 34], Operations: ['77-43=34'] Exploring Operation: 72-34=38, Resulting Numbers: [2, 38] Generated Node #3: [2, 38] from Operation: 72-34=38 Current State: 76:[2, 38], Operations: ['77-43=34', '72-34=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[43, 77, 72, 2], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [43, 2, 5] Generated Node #0,0: 76:[43, 2, 5] Operation: 77-72=5 Moving to Node #0,0 Current State: 76:[43, 2, 5], Operations: ['77-72=5'] Exploring Operation: 43-5=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 76:[2, 38] Operation: 43-5=38 Moving to Node #0,0,0 Current State: 76:[2, 38], Operations: ['77-72=5', '43-5=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[43, 77, 72, 2], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [43, 2, 5] Generated Node #0,0: 76:[43, 2, 5] Operation: 77-72=5 Moving to Node #0,0 Current State: 76:[43, 2, 5], Operations: ['77-72=5'] Exploring Operation: 43-5=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 76:[2, 38] Operation: 43-5=38 Moving to Node #0,0,0 Current State: 76:[2, 38], Operations: ['77-72=5', '43-5=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 24, 91, 28, 30 ]
77
[ "30-24=6", "28*6=168", "168-91=77" ]
Current State: 77:[24, 91, 28, 30], Operations: [] Exploring Operation: 30-24=6, Resulting Numbers: [91, 28, 6] Generated Node #2: [91, 28, 6] from Operation: 30-24=6 Current State: 77:[91, 28, 6], Operations: ['30-24=6'] Exploring Operation: 28*6=168, Resulting Numbers: [91, 168] Generated Node #3: [91, 168] from Operation: 28*6=168 Current State: 77:[91, 168], Operations: ['30-24=6', '28*6=168'] Exploring Operation: 168-91=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[24, 91, 28, 30], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [91, 30, 4] Generated Node #0,0: 77:[91, 30, 4] Operation: 28-24=4 Exploring Operation: 30-28=2, Resulting Numbers: [24, 91, 2] Generated Node #0,1: 77:[24, 91, 2] Operation: 30-28=2 Exploring Operation: 30-24=6, Resulting Numbers: [91, 28, 6] Generated Node #0,2: 77:[91, 28, 6] Operation: 30-24=6 Moving to Node #0,1 Current State: 77:[24, 91, 2], Operations: ['30-28=2'] Exploring Operation: 24/2=12, Resulting Numbers: [91, 12] Generated Node #0,1,0: 77:[91, 12] Operation: 24/2=12 Exploring Operation: 24-2=22, Resulting Numbers: [91, 22] Generated Node #0,1,1: 77:[91, 22] Operation: 24-2=22 Exploring Operation: 91-24=67, Resulting Numbers: [2, 67] Generated Node #0,1,2: 77:[2, 67] Operation: 91-24=67 Moving to Node #0,2 Current State: 77:[91, 28, 6], Operations: ['30-24=6'] Exploring Operation: 28-6=22, Resulting Numbers: [91, 22] Generated Node #0,2,0: 77:[91, 22] Operation: 28-6=22 Exploring Operation: 91-6=85, Resulting Numbers: [28, 85] Generated Node #0,2,1: 77:[28, 85] Operation: 91-6=85 Exploring Operation: 91-28=63, Resulting Numbers: [6, 63] Generated Node #0,2,2: 77:[6, 63] Operation: 91-28=63 Moving to Node #0,0 Current State: 77:[91, 30, 4], Operations: ['28-24=4'] Exploring Operation: 30-4=26, Resulting Numbers: [91, 26] Generated Node #0,0,0: 77:[91, 26] Operation: 30-4=26 Exploring Operation: 91-4=87, Resulting Numbers: [30, 87] Generated Node #0,0,1: 77:[30, 87] Operation: 91-4=87 Exploring Operation: 91-30=61, Resulting Numbers: [4, 61] Generated Node #0,0,2: 77:[4, 61] Operation: 91-30=61 Moving to Node #0,1,0 Current State: 77:[91, 12], Operations: ['30-28=2', '24/2=12'] Exploring Operation: 91+12=103, Resulting Numbers: [103] 103,77 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,77 unequal: No Solution Exploring Operation: 91*12=1092, Resulting Numbers: [1092] 1092,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[2, 67], Operations: ['30-28=2', '91-24=67'] Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,77 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,77 unequal: No Solution Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[6, 63], Operations: ['30-24=6', '91-28=63'] Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,77 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,77 unequal: No Solution Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[4, 61], Operations: ['28-24=4', '91-30=61'] Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,77 unequal: No Solution Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,77 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[28, 85], Operations: ['30-24=6', '91-6=85'] Exploring Operation: 28*85=2380, Resulting Numbers: [2380] 2380,77 unequal: No Solution Exploring Operation: 28+85=113, Resulting Numbers: [113] 113,77 unequal: No Solution Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[91, 22], Operations: ['30-28=2', '24-2=22'] Exploring Operation: 91+22=113, Resulting Numbers: [113] 113,77 unequal: No Solution Exploring Operation: 91-22=69, Resulting Numbers: [69] 69,77 unequal: No Solution Exploring Operation: 91*22=2002, Resulting Numbers: [2002] 2002,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[91, 22], Operations: ['30-24=6', '28-6=22'] Exploring Operation: 91+22=113, Resulting Numbers: [113] 113,77 unequal: No Solution Exploring Operation: 91*22=2002, Resulting Numbers: [2002] 2002,77 unequal: No Solution Exploring Operation: 91-22=69, Resulting Numbers: [69] 69,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[91, 26], Operations: ['28-24=4', '30-4=26'] Exploring Operation: 91*26=2366, Resulting Numbers: [2366] 2366,77 unequal: No Solution Exploring Operation: 91-26=65, Resulting Numbers: [65] 65,77 unequal: No Solution Exploring Operation: 91+26=117, Resulting Numbers: [117] 117,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[30, 87], Operations: ['28-24=4', '91-4=87'] Exploring Operation: 30*87=2610, Resulting Numbers: [2610] 2610,77 unequal: No Solution Exploring Operation: 30+87=117, Resulting Numbers: [117] 117,77 unequal: No Solution Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,77 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 46, 56, 63, 23 ]
14
[ "46/23=2", "63-56=7", "2*7=14" ]
Current State: 14:[46, 56, 63, 23], Operations: [] Exploring Operation: 46/23=2, Resulting Numbers: [56, 63, 2] Generated Node #2: [56, 63, 2] from Operation: 46/23=2 Current State: 14:[56, 63, 2], Operations: ['46/23=2'] Exploring Operation: 63-56=7, Resulting Numbers: [2, 7] Generated Node #3: [2, 7] from Operation: 63-56=7 Current State: 14:[2, 7], Operations: ['46/23=2', '63-56=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[46, 56, 63, 23], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [46, 23, 7] Generated Node #0,0: 14:[46, 23, 7] Operation: 63-56=7 Moving to Node #0,0 Current State: 14:[46, 23, 7], Operations: ['63-56=7'] Exploring Operation: 46/23=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 14:[7, 2] Operation: 46/23=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[7, 2], Operations: ['63-56=7', '46/23=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[46, 56, 63, 23], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [46, 23, 7] Generated Node #0,0: 14:[46, 23, 7] Operation: 63-56=7 Moving to Node #0,0 Current State: 14:[46, 23, 7], Operations: ['63-56=7'] Exploring Operation: 46/23=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 14:[7, 2] Operation: 46/23=2 Moving to Node #0,0,0 Current State: 14:[7, 2], Operations: ['63-56=7', '46/23=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 10, 29, 10, 16 ]
89
[ "16-10=6", "10*6=60", "29+60=89" ]
Current State: 89:[10, 29, 10, 16], Operations: [] Exploring Operation: 16-10=6, Resulting Numbers: [29, 6] Generated Node #2: [29, 6] from Operation: 16-10=6 Current State: 89:[29, 6], Operations: ['16-10=6'] Exploring Operation: 10*6=60, Resulting Numbers: [29, 60] Generated Node #3: [29, 60] from Operation: 10*6=60 Current State: 89:[29, 60], Operations: ['16-10=6', '10*6=60'] Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[10, 29, 10, 16], Operations: [] Exploring Operation: 10+16=26, Resulting Numbers: [29, 10, 26] Generated Node #0,0: 89:[29, 10, 26] Operation: 10+16=26 Exploring Operation: 10+10=20, Resulting Numbers: [29, 16, 20] Generated Node #0,1: 89:[29, 16, 20] Operation: 10+10=20 Exploring Operation: 10*10=100, Resulting Numbers: [29, 16, 100] Generated Node #0,2: 89:[29, 16, 100] Operation: 10*10=100 Exploring Operation: 29+10=39, Resulting Numbers: [10, 16, 39] Generated Node #0,3: 89:[10, 16, 39] Operation: 29+10=39 Exploring Operation: 10+29=39, Resulting Numbers: [10, 16, 39] Generated Node #0,4: 89:[10, 16, 39] Operation: 10+29=39 Moving to Node #0,2 Current State: 89:[29, 16, 100], Operations: ['10*10=100'] Exploring Operation: 100-29=71, Resulting Numbers: [16, 71] Generated Node #0,2,0: 89:[16, 71] Operation: 100-29=71 Exploring Operation: 29-16=13, Resulting Numbers: [100, 13] Generated Node #0,2,1: 89:[100, 13] Operation: 29-16=13 Exploring Operation: 16+100=116, Resulting Numbers: [29, 116] Generated Node #0,2,2: 89:[29, 116] Operation: 16+100=116 Exploring Operation: 29+16=45, Resulting Numbers: [100, 45] Generated Node #0,2,3: 89:[100, 45] Operation: 29+16=45 Exploring Operation: 100-16=84, Resulting Numbers: [29, 84] Generated Node #0,2,4: 89:[29, 84] Operation: 100-16=84 Moving to Node #0,1 Current State: 89:[29, 16, 20], Operations: ['10+10=20'] Exploring Operation: 29-16=13, Resulting Numbers: [20, 13] Generated Node #0,1,0: 89:[20, 13] Operation: 29-16=13 Exploring Operation: 29+16=45, Resulting Numbers: [20, 45] Generated Node #0,1,1: 89:[20, 45] Operation: 29+16=45 Exploring Operation: 20-16=4, Resulting Numbers: [29, 4] Generated Node #0,1,2: 89:[29, 4] Operation: 20-16=4 Exploring Operation: 29+20=49, Resulting Numbers: [16, 49] Generated Node #0,1,3: 89:[16, 49] Operation: 29+20=49 Exploring Operation: 16+20=36, Resulting Numbers: [29, 36] Generated Node #0,1,4: 89:[29, 36] Operation: 16+20=36 Moving to Node #0,4 Current State: 89:[10, 16, 39], Operations: ['10+29=39'] Exploring Operation: 10+16=26, Resulting Numbers: [39, 26] Generated Node #0,4,0: 89:[39, 26] Operation: 10+16=26 Exploring Operation: 10+39=49, Resulting Numbers: [16, 49] Generated Node #0,4,1: 89:[16, 49] Operation: 10+39=49 Exploring Operation: 16-10=6, Resulting Numbers: [39, 6] Generated Node #0,4,2: 89:[39, 6] Operation: 16-10=6 Exploring Operation: 10*16=160, Resulting Numbers: [39, 160] Generated Node #0,4,3: 89:[39, 160] Operation: 10*16=160 Exploring Operation: 16+39=55, Resulting Numbers: [10, 55] Generated Node #0,4,4: 89:[10, 55] Operation: 16+39=55 Moving to Node #0,0 Current State: 89:[29, 10, 26], Operations: ['10+16=26'] Exploring Operation: 29+26=55, Resulting Numbers: [10, 55] Generated Node #0,0,0: 89:[10, 55] Operation: 29+26=55 Exploring Operation: 26-10=16, Resulting Numbers: [29, 16] Generated Node #0,0,1: 89:[29, 16] Operation: 26-10=16 Exploring Operation: 29+10=39, Resulting Numbers: [26, 39] Generated Node #0,0,2: 89:[26, 39] Operation: 29+10=39 Exploring Operation: 29-10=19, Resulting Numbers: [26, 19] Generated Node #0,0,3: 89:[26, 19] Operation: 29-10=19 Exploring Operation: 10+26=36, Resulting Numbers: [29, 36] Generated Node #0,0,4: 89:[29, 36] Operation: 10+26=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[10, 55], Operations: ['10+16=26', '29+26=55'] Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,89 unequal: No Solution Exploring Operation: 10*55=550, Resulting Numbers: [550] 550,89 unequal: No Solution Exploring Operation: 10+55=65, Resulting Numbers: [65] 65,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[26, 39], Operations: ['10+16=26', '29+10=39'] Exploring Operation: 26*39=1014, Resulting Numbers: [1014] 1014,89 unequal: No Solution Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 89:[29, 36], Operations: ['10+16=26', '10+26=36'] Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,89 unequal: No Solution Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[29, 16], Operations: ['10+16=26', '26-10=16'] Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,89 unequal: No Solution Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,89 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 89:[26, 19], Operations: ['10+16=26', '29-10=19'] Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 26+19=45, Resulting Numbers: [45] 45,89 unequal: No Solution Exploring Operation: 26*19=494, Resulting Numbers: [494] 494,89 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: 89:[10, 16, 39], Operations: ['29+10=39'] Exploring Operation: 10*16=160, Resulting Numbers: [39, 160] Generated Node #0,3,0: 89:[39, 160] Operation: 10*16=160 Exploring Operation: 16+39=55, Resulting Numbers: [10, 55] Generated Node #0,3,1: 89:[10, 55] Operation: 16+39=55 Exploring Operation: 10+16=26, Resulting Numbers: [39, 26] Generated Node #0,3,2: 89:[39, 26] Operation: 10+16=26 Exploring Operation: 10+39=49, Resulting Numbers: [16, 49] Generated Node #0,3,3: 89:[16, 49] Operation: 10+39=49 Exploring Operation: 16-10=6, Resulting Numbers: [39, 6] Generated Node #0,3,4: 89:[39, 6] Operation: 16-10=6 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 89:[10, 55], Operations: ['29+10=39', '16+39=55'] Exploring Operation: 10+55=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 10*55=550, Resulting Numbers: [550] 550,89 unequal: No Solution Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[39, 26], Operations: ['29+10=39', '10+16=26'] Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[16, 49], Operations: ['29+10=39', '10+39=49'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 16*49=784, Resulting Numbers: [784] 784,89 unequal: No Solution Exploring Operation: 16+49=65, Resulting Numbers: [65] 65,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 89:[39, 160], Operations: ['29+10=39', '10*16=160'] Exploring Operation: 160-39=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 39+160=199, Resulting Numbers: [199] 199,89 unequal: No Solution Exploring Operation: 39*160=6240, Resulting Numbers: [6240] 6240,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 89:[39, 6], Operations: ['29+10=39', '16-10=6'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,89 unequal: No Solution Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 89:[100, 45], Operations: ['10*10=100', '29+16=45'] Exploring Operation: 100-45=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 100+45=145, Resulting Numbers: [145] 145,89 unequal: No Solution Exploring Operation: 100*45=4500, Resulting Numbers: [4500] 4500,89 unequal: No Solution Moving to Node #0,2,4 Current State: 89:[29, 84], Operations: ['10*10=100', '100-16=84'] Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 29+84=113, Resulting Numbers: [113] 113,89 unequal: No Solution Exploring Operation: 29*84=2436, Resulting Numbers: [2436] 2436,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[100, 13], Operations: ['10*10=100', '29-16=13'] Exploring Operation: 100*13=1300, Resulting Numbers: [1300] 1300,89 unequal: No Solution Exploring Operation: 100+13=113, Resulting Numbers: [113] 113,89 unequal: No Solution Exploring Operation: 100-13=87, Resulting Numbers: [87] 87,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[29, 116], Operations: ['10*10=100', '16+100=116'] Exploring Operation: 116-29=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 29*116=3364, Resulting Numbers: [3364] 3364,89 unequal: No Solution Exploring Operation: 116/29=4, Resulting Numbers: [4] 4,89 unequal: No Solution Exploring Operation: 29+116=145, Resulting Numbers: [145] 145,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[16, 71], Operations: ['10*10=100', '100-29=71'] Exploring Operation: 71-16=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 16*71=1136, Resulting Numbers: [1136] 1136,89 unequal: No Solution Exploring Operation: 16+71=87, Resulting Numbers: [87] 87,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[16, 49], Operations: ['10+10=20', '29+20=49'] Exploring Operation: 16*49=784, Resulting Numbers: [784] 784,89 unequal: No Solution Exploring Operation: 16+49=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[20, 45], Operations: ['10+10=20', '29+16=45'] Exploring Operation: 20*45=900, Resulting Numbers: [900] 900,89 unequal: No Solution Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,89 unequal: No Solution Exploring Operation: 20+45=65, Resulting Numbers: [65] 65,89 unequal: No Solution Moving to Node #0,4,1 Current State: 89:[16, 49], Operations: ['10+29=39', '10+39=49'] Exploring Operation: 16*49=784, Resulting Numbers: [784] 784,89 unequal: No Solution Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 16+49=65, Resulting Numbers: [65] 65,89 unequal: No Solution Moving to Node #0,4,0 Current State: 89:[39, 26], Operations: ['10+29=39', '10+16=26'] Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,89 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,89 unequal: No Solution Moving to Node #0,4,4 Current State: 89:[10, 55], Operations: ['10+29=39', '16+39=55'] Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,89 unequal: No Solution Exploring Operation: 10+55=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 10*55=550, Resulting Numbers: [550] 550,89 unequal: No Solution Moving to Node #0,1,4 Current State: 89:[29, 36], Operations: ['10+10=20', '16+20=36'] Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,89 unequal: No Solution Moving to Node #0,4,3 Current State: 89:[39, 160], Operations: ['10+29=39', '10*16=160'] Exploring Operation: 39*160=6240, Resulting Numbers: [6240] 6240,89 unequal: No Solution Exploring Operation: 39+160=199, Resulting Numbers: [199] 199,89 unequal: No Solution Exploring Operation: 160-39=121, Resulting Numbers: [121] 121,89 unequal: No Solution Moving to Node #0,4,2 Current State: 89:[39, 6], Operations: ['10+29=39', '16-10=6'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,89 unequal: No Solution Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[20, 13], Operations: ['10+10=20', '29-16=13'] Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,89 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[29, 4], Operations: ['10+10=20', '20-16=4'] Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,89 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,89 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 45, 32, 73, 79 ]
83
[ "45+32=77", "79-73=6", "77+6=83" ]
Current State: 83:[45, 32, 73, 79], Operations: [] Exploring Operation: 45+32=77, Resulting Numbers: [73, 79, 77] Generated Node #2: [73, 79, 77] from Operation: 45+32=77 Current State: 83:[73, 79, 77], Operations: ['45+32=77'] Exploring Operation: 79-73=6, Resulting Numbers: [77, 6] Generated Node #3: [77, 6] from Operation: 79-73=6 Current State: 83:[77, 6], Operations: ['45+32=77', '79-73=6'] Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[45, 32, 73, 79], Operations: [] Exploring Operation: 45+32=77, Resulting Numbers: [73, 79, 77] Generated Node #0,0: 83:[73, 79, 77] Operation: 45+32=77 Moving to Node #0,0 Current State: 83:[73, 79, 77], Operations: ['45+32=77'] Exploring Operation: 73+77=150, Resulting Numbers: [79, 150] Generated Node #0,0,0: 83:[79, 150] Operation: 73+77=150 Moving to Node #0,0,0 Current State: 83:[79, 150], Operations: ['45+32=77', '73+77=150'] Exploring Operation: 150-79=71, Resulting Numbers: [71] 71,83 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 14, 66, 42, 26 ]
28
[ "66-42=24", "26-24=2", "14*2=28" ]
Current State: 28:[14, 66, 42, 26], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [14, 26, 24] Generated Node #2: [14, 26, 24] from Operation: 66-42=24 Current State: 28:[14, 26, 24], Operations: ['66-42=24'] Exploring Operation: 26-24=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 26-24=2 Current State: 28:[14, 2], Operations: ['66-42=24', '26-24=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[14, 66, 42, 26], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [14, 26, 24] Generated Node #0,0: 28:[14, 26, 24] Operation: 66-42=24 Exploring Operation: 66-26=40, Resulting Numbers: [14, 42, 40] Generated Node #0,1: 28:[14, 42, 40] Operation: 66-26=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[14, 26, 24], Operations: ['66-42=24'] Exploring Operation: 26-24=2, Resulting Numbers: [14, 2] Generated Node #0,0,0: 28:[14, 2] Operation: 26-24=2 Exploring Operation: 24-14=10, Resulting Numbers: [26, 10] Generated Node #0,0,1: 28:[26, 10] Operation: 24-14=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[14, 2], Operations: ['66-42=24', '26-24=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[14, 66, 42, 26], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [14, 26, 24] Generated Node #0,0: 28:[14, 26, 24] Operation: 66-42=24 Moving to Node #0,0 Current State: 28:[14, 26, 24], Operations: ['66-42=24'] Exploring Operation: 26-24=2, Resulting Numbers: [14, 2] Generated Node #0,0,0: 28:[14, 2] Operation: 26-24=2 Moving to Node #0,0,0 Current State: 28:[14, 2], Operations: ['66-42=24', '26-24=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 13, 65, 94, 56 ]
40
[ "13+65=78", "94-56=38", "78-38=40" ]
Current State: 40:[13, 65, 94, 56], Operations: [] Exploring Operation: 13+65=78, Resulting Numbers: [94, 56, 78] Generated Node #2: [94, 56, 78] from Operation: 13+65=78 Current State: 40:[94, 56, 78], Operations: ['13+65=78'] Exploring Operation: 94-56=38, Resulting Numbers: [78, 38] Generated Node #3: [78, 38] from Operation: 94-56=38 Current State: 40:[78, 38], Operations: ['13+65=78', '94-56=38'] Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[13, 65, 94, 56], Operations: [] Exploring Operation: 94-56=38, Resulting Numbers: [13, 65, 38] Generated Node #0,0: 40:[13, 65, 38] Operation: 94-56=38 Exploring Operation: 94-65=29, Resulting Numbers: [13, 56, 29] Generated Node #0,1: 40:[13, 56, 29] Operation: 94-65=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[13, 56, 29], Operations: ['94-65=29'] Exploring Operation: 56-29=27, Resulting Numbers: [13, 27] Generated Node #0,1,0: 40:[13, 27] Operation: 56-29=27 Exploring Operation: 56-13=43, Resulting Numbers: [29, 43] Generated Node #0,1,1: 40:[29, 43] Operation: 56-13=43 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[13, 27], Operations: ['94-65=29', '56-29=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[13, 65, 94, 56], Operations: [] Exploring Operation: 94-65=29, Resulting Numbers: [13, 56, 29] Generated Node #0,1: 40:[13, 56, 29] Operation: 94-65=29 Moving to Node #0,1 Current State: 40:[13, 56, 29], Operations: ['94-65=29'] Exploring Operation: 56-29=27, Resulting Numbers: [13, 27] Generated Node #0,1,0: 40:[13, 27] Operation: 56-29=27 Moving to Node #0,1,0 Current State: 40:[13, 27], Operations: ['94-65=29', '56-29=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 28, 31, 27, 68 ]
77
[ "31-28=3", "27/3=9", "68+9=77" ]
Current State: 77:[28, 31, 27, 68], Operations: [] Exploring Operation: 31-28=3, Resulting Numbers: [27, 68, 3] Generated Node #2: [27, 68, 3] from Operation: 31-28=3 Current State: 77:[27, 68, 3], Operations: ['31-28=3'] Exploring Operation: 27/3=9, Resulting Numbers: [68, 9] Generated Node #3: [68, 9] from Operation: 27/3=9 Current State: 77:[68, 9], Operations: ['31-28=3', '27/3=9'] Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[28, 31, 27, 68], Operations: [] Exploring Operation: 31-28=3, Resulting Numbers: [27, 68, 3] Generated Node #0,0: 77:[27, 68, 3] Operation: 31-28=3 Exploring Operation: 31-27=4, Resulting Numbers: [28, 68, 4] Generated Node #0,1: 77:[28, 68, 4] Operation: 31-27=4 Moving to Node #0,0 Current State: 77:[27, 68, 3], Operations: ['31-28=3'] Exploring Operation: 27*3=81, Resulting Numbers: [68, 81] Generated Node #0,0,0: 77:[68, 81] Operation: 27*3=81 Exploring Operation: 27/3=9, Resulting Numbers: [68, 9] Generated Node #0,0,1: 77:[68, 9] Operation: 27/3=9 Moving to Node #0,1 Current State: 77:[28, 68, 4], Operations: ['31-27=4'] Exploring Operation: 28+68=96, Resulting Numbers: [4, 96] Generated Node #0,1,0: 77:[4, 96] Operation: 28+68=96 Exploring Operation: 28/4=7, Resulting Numbers: [68, 7] Generated Node #0,1,1: 77:[68, 7] Operation: 28/4=7 Moving to Node #0,1,1 Current State: 77:[68, 7], Operations: ['31-27=4', '28/4=7'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,77 unequal: No Solution Exploring Operation: 68+7=75, Resulting Numbers: [75] 75,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[68, 9], Operations: ['31-28=3', '27/3=9'] Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[28, 31, 27, 68], Operations: [] Exploring Operation: 31-28=3, Resulting Numbers: [27, 68, 3] Generated Node #0,0: 77:[27, 68, 3] Operation: 31-28=3 Moving to Node #0,0 Current State: 77:[27, 68, 3], Operations: ['31-28=3'] Exploring Operation: 27/3=9, Resulting Numbers: [68, 9] Generated Node #0,0,1: 77:[68, 9] Operation: 27/3=9 Moving to Node #0,0,1 Current State: 77:[68, 9], Operations: ['31-28=3', '27/3=9'] Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.988715
hs_2
sum_heuristic
[ 81, 85, 79, 15 ]
55
[ "81-79=2", "15*2=30", "85-30=55" ]
Current State: 55:[81, 85, 79, 15], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [85, 15, 2] Generated Node #2: [85, 15, 2] from Operation: 81-79=2 Current State: 55:[85, 15, 2], Operations: ['81-79=2'] Exploring Operation: 15*2=30, Resulting Numbers: [85, 30] Generated Node #3: [85, 30] from Operation: 15*2=30 Current State: 55:[85, 30], Operations: ['81-79=2', '15*2=30'] Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[81, 85, 79, 15], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [79, 15, 4] Generated Node #0,0: 55:[79, 15, 4] Operation: 85-81=4 Exploring Operation: 81-15=66, Resulting Numbers: [85, 79, 66] Generated Node #0,1: 55:[85, 79, 66] Operation: 81-15=66 Exploring Operation: 81-79=2, Resulting Numbers: [85, 15, 2] Generated Node #0,2: 55:[85, 15, 2] Operation: 81-79=2 Exploring Operation: 85-79=6, Resulting Numbers: [81, 15, 6] Generated Node #0,3: 55:[81, 15, 6] Operation: 85-79=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[79, 15, 4], Operations: ['85-81=4'] Exploring Operation: 15-4=11, Resulting Numbers: [79, 11] Generated Node #0,0,0: 55:[79, 11] Operation: 15-4=11 Exploring Operation: 15*4=60, Resulting Numbers: [79, 60] Generated Node #0,0,1: 55:[79, 60] Operation: 15*4=60 Exploring Operation: 79-15=64, Resulting Numbers: [4, 64] Generated Node #0,0,2: 55:[4, 64] Operation: 79-15=64 Exploring Operation: 79-4=75, Resulting Numbers: [15, 75] Generated Node #0,0,3: 55:[15, 75] Operation: 79-4=75 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 55:[4, 64], Operations: ['85-81=4', '79-15=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 4*64=256, Resulting Numbers: [256] 256,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[79, 11], Operations: ['85-81=4', '15-4=11'] Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 55:[15, 75], Operations: ['85-81=4', '79-4=75'] Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 15*75=1125, Resulting Numbers: [1125] 1125,55 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 15+75=90, Resulting Numbers: [90] 90,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[79, 60], Operations: ['85-81=4', '15*4=60'] Exploring Operation: 79-60=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 79+60=139, Resulting Numbers: [139] 139,55 unequal: No Solution Exploring Operation: 79*60=4740, Resulting Numbers: [4740] 4740,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[81, 15, 6], Operations: ['85-79=6'] Exploring Operation: 81-15=66, Resulting Numbers: [6, 66] Generated Node #0,3,0: 55:[6, 66] Operation: 81-15=66 Exploring Operation: 15-6=9, Resulting Numbers: [81, 9] Generated Node #0,3,1: 55:[81, 9] Operation: 15-6=9 Exploring Operation: 81-6=75, Resulting Numbers: [15, 75] Generated Node #0,3,2: 55:[15, 75] Operation: 81-6=75 Exploring Operation: 81+6=87, Resulting Numbers: [15, 87] Generated Node #0,3,3: 55:[15, 87] Operation: 81+6=87 Moving to Node #0,3,0 Current State: 55:[6, 66], Operations: ['85-79=6', '81-15=66'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 6*66=396, Resulting Numbers: [396] 396,55 unequal: No Solution Exploring Operation: 6+66=72, Resulting Numbers: [72] 72,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[15, 75], Operations: ['85-79=6', '81-6=75'] Exploring Operation: 15*75=1125, Resulting Numbers: [1125] 1125,55 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 15+75=90, Resulting Numbers: [90] 90,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[81, 9], Operations: ['85-79=6', '15-6=9'] Exploring Operation: 81+9=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 81*9=729, Resulting Numbers: [729] 729,55 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[15, 87], Operations: ['85-79=6', '81+6=87'] Exploring Operation: 15*87=1305, Resulting Numbers: [1305] 1305,55 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 15+87=102, Resulting Numbers: [102] 102,55 unequal: No Solution No 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: 55:[85, 15, 2], Operations: ['81-79=2'] Exploring Operation: 85+2=87, Resulting Numbers: [15, 87] Generated Node #0,2,0: 55:[15, 87] Operation: 85+2=87 Exploring Operation: 15-2=13, Resulting Numbers: [85, 13] Generated Node #0,2,1: 55:[85, 13] Operation: 15-2=13 Exploring Operation: 85-2=83, Resulting Numbers: [15, 83] Generated Node #0,2,2: 55:[15, 83] Operation: 85-2=83 Exploring Operation: 85-15=70, Resulting Numbers: [2, 70] Generated Node #0,2,3: 55:[2, 70] Operation: 85-15=70 Moving to Node #0,2,3 Current State: 55:[2, 70], Operations: ['81-79=2', '85-15=70'] Exploring Operation: 2*70=140, Resulting Numbers: [140] 140,55 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[15, 83], Operations: ['81-79=2', '85-2=83'] Exploring Operation: 15+83=98, Resulting Numbers: [98] 98,55 unequal: No Solution Exploring Operation: 15*83=1245, Resulting Numbers: [1245] 1245,55 unequal: No Solution Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[85, 13], Operations: ['81-79=2', '15-2=13'] Exploring Operation: 85+13=98, Resulting Numbers: [98] 98,55 unequal: No Solution Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 85*13=1105, Resulting Numbers: [1105] 1105,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[15, 87], Operations: ['81-79=2', '85+2=87'] Exploring Operation: 15+87=102, Resulting Numbers: [102] 102,55 unequal: No Solution Exploring Operation: 15*87=1305, Resulting Numbers: [1305] 1305,55 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,55 unequal: No Solution No solution 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: 55:[85, 79, 66], Operations: ['81-15=66'] Exploring Operation: 79-66=13, Resulting Numbers: [85, 13] Generated Node #0,1,0: 55:[85, 13] Operation: 79-66=13 Exploring Operation: 85+79=164, Resulting Numbers: [66, 164] Generated Node #0,1,1: 55:[66, 164] Operation: 85+79=164 Exploring Operation: 85-79=6, Resulting Numbers: [66, 6] Generated Node #0,1,2: 55:[66, 6] Operation: 85-79=6 Exploring Operation: 85-66=19, Resulting Numbers: [79, 19] Generated Node #0,1,3: 55:[79, 19] Operation: 85-66=19 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 55:[66, 6], Operations: ['81-15=66', '85-79=6'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 55:[85, 13], Operations: ['81-15=66', '79-66=13'] Exploring Operation: 85*13=1105, Resulting Numbers: [1105] 1105,55 unequal: No Solution Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 85+13=98, Resulting Numbers: [98] 98,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 55:[79, 19], Operations: ['81-15=66', '85-66=19'] Exploring Operation: 79+19=98, Resulting Numbers: [98] 98,55 unequal: No Solution Exploring Operation: 79-19=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 79*19=1501, Resulting Numbers: [1501] 1501,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 55:[66, 164], Operations: ['81-15=66', '85+79=164'] Exploring Operation: 164-66=98, Resulting Numbers: [98] 98,55 unequal: No Solution Exploring Operation: 66*164=10824, Resulting Numbers: [10824] 10824,55 unequal: No Solution Exploring Operation: 66+164=230, Resulting Numbers: [230] 230,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 1, 52, 26, 13 ]
22
[ "1*52=52", "52/13=4", "26-4=22" ]
Current State: 22:[1, 52, 26, 13], Operations: [] Exploring Operation: 1*52=52, Resulting Numbers: [26, 13, 52] Generated Node #2: [26, 13, 52] from Operation: 1*52=52 Current State: 22:[26, 13, 52], Operations: ['1*52=52'] Exploring Operation: 52/13=4, Resulting Numbers: [26, 4] Generated Node #3: [26, 4] from Operation: 52/13=4 Current State: 22:[26, 4], Operations: ['1*52=52', '52/13=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[1, 52, 26, 13], Operations: [] Exploring Operation: 52/13=4, Resulting Numbers: [1, 26, 4] Generated Node #0,0: 22:[1, 26, 4] Operation: 52/13=4 Exploring Operation: 52-26=26, Resulting Numbers: [1, 13, 26] Generated Node #0,1: 22:[1, 13, 26] Operation: 52-26=26 Exploring Operation: 52-13=39, Resulting Numbers: [1, 26, 39] Generated Node #0,2: 22:[1, 26, 39] Operation: 52-13=39 Exploring Operation: 52/26=2, Resulting Numbers: [1, 13, 2] Generated Node #0,3: 22:[1, 13, 2] Operation: 52/26=2 Moving to Node #0,3 Current State: 22:[1, 13, 2], Operations: ['52/26=2'] Exploring Operation: 13/1=13, Resulting Numbers: [2, 13] Generated Node #0,3,0: 22:[2, 13] Operation: 13/1=13 Exploring Operation: 13-1=12, Resulting Numbers: [2, 12] Generated Node #0,3,1: 22:[2, 12] Operation: 13-1=12 Exploring Operation: 13-2=11, Resulting Numbers: [1, 11] Generated Node #0,3,2: 22:[1, 11] Operation: 13-2=11 Exploring Operation: 1*13=13, Resulting Numbers: [2, 13] Generated Node #0,3,3: 22:[2, 13] Operation: 1*13=13 Moving to Node #0,1 Current State: 22:[1, 13, 26], Operations: ['52-26=26'] Exploring Operation: 26-1=25, Resulting Numbers: [13, 25] Generated Node #0,1,0: 22:[13, 25] Operation: 26-1=25 Exploring Operation: 26-13=13, Resulting Numbers: [1, 13] Generated Node #0,1,1: 22:[1, 13] Operation: 26-13=13 Exploring Operation: 13-1=12, Resulting Numbers: [26, 12] Generated Node #0,1,2: 22:[26, 12] Operation: 13-1=12 Exploring Operation: 26/13=2, Resulting Numbers: [1, 2] Generated Node #0,1,3: 22:[1, 2] Operation: 26/13=2 Moving to Node #0,0 Current State: 22:[1, 26, 4], Operations: ['52/13=4'] Exploring Operation: 1*26=26, Resulting Numbers: [4, 26] Generated Node #0,0,0: 22:[4, 26] Operation: 1*26=26 Exploring Operation: 26-4=22, Resulting Numbers: [1, 22] Generated Node #0,0,1: 22:[1, 22] Operation: 26-4=22 Exploring Operation: 26-1=25, Resulting Numbers: [4, 25] Generated Node #0,0,2: 22:[4, 25] Operation: 26-1=25 Exploring Operation: 4-1=3, Resulting Numbers: [26, 3] Generated Node #0,0,3: 22:[26, 3] Operation: 4-1=3 Moving to Node #0,2 Current State: 22:[1, 26, 39], Operations: ['52-13=39'] Exploring Operation: 1*26=26, Resulting Numbers: [39, 26] Generated Node #0,2,0: 22:[39, 26] Operation: 1*26=26 Exploring Operation: 39-26=13, Resulting Numbers: [1, 13] Generated Node #0,2,1: 22:[1, 13] Operation: 39-26=13 Exploring Operation: 26-1=25, Resulting Numbers: [39, 25] Generated Node #0,2,2: 22:[39, 25] Operation: 26-1=25 Exploring Operation: 39-1=38, Resulting Numbers: [26, 38] Generated Node #0,2,3: 22:[26, 38] Operation: 39-1=38 Moving to Node #0,3,1 Current State: 22:[2, 12], Operations: ['52/26=2', '13-1=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,22 unequal: No Solution Moving to Node #0,3,2 Current State: 22:[1, 11], Operations: ['52/26=2', '13-2=11'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,22 unequal: No Solution Moving to Node #0,1,3 Current State: 22:[1, 2], Operations: ['52-26=26', '26/13=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,22 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[1, 22], Operations: ['52/13=4', '26-4=22'] Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[1, 52, 26, 13], Operations: [] Exploring Operation: 52/13=4, Resulting Numbers: [1, 26, 4] Generated Node #0,0: 22:[1, 26, 4] Operation: 52/13=4 Moving to Node #0,0 Current State: 22:[1, 26, 4], Operations: ['52/13=4'] Exploring Operation: 26-4=22, Resulting Numbers: [1, 22] Generated Node #0,0,1: 22:[1, 22] Operation: 26-4=22 Moving to Node #0,0,1 Current State: 22:[1, 22], Operations: ['52/13=4', '26-4=22'] Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.967882
hs_4
mult_heuristic
[ 86, 93, 89, 27 ]
100
[ "93-86=7", "27*7=189", "189-89=100" ]
Current State: 100:[86, 93, 89, 27], Operations: [] Exploring Operation: 93-86=7, Resulting Numbers: [89, 27, 7] Generated Node #2: [89, 27, 7] from Operation: 93-86=7 Current State: 100:[89, 27, 7], Operations: ['93-86=7'] Exploring Operation: 27*7=189, Resulting Numbers: [89, 189] Generated Node #3: [89, 189] from Operation: 27*7=189 Current State: 100:[89, 189], Operations: ['93-86=7', '27*7=189'] Exploring Operation: 189-89=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[86, 93, 89, 27], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [93, 27, 3] Generated Node #0,0: 100:[93, 27, 3] Operation: 89-86=3 Exploring Operation: 93-86=7, Resulting Numbers: [89, 27, 7] Generated Node #0,1: 100:[89, 27, 7] Operation: 93-86=7 Exploring Operation: 93-89=4, Resulting Numbers: [86, 27, 4] Generated Node #0,2: 100:[86, 27, 4] Operation: 93-89=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[93, 27, 3], Operations: ['89-86=3'] Exploring Operation: 93+3=96, Resulting Numbers: [27, 96] Generated Node #0,0,0: 100:[27, 96] Operation: 93+3=96 Exploring Operation: 93/3=31, Resulting Numbers: [27, 31] Generated Node #0,0,1: 100:[27, 31] Operation: 93/3=31 Exploring Operation: 27-3=24, Resulting Numbers: [93, 24] Generated Node #0,0,2: 100:[93, 24] Operation: 27-3=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[27, 96], Operations: ['89-86=3', '93+3=96'] Exploring Operation: 27+96=123, Resulting Numbers: [123] 123,100 unequal: No Solution Exploring Operation: 96-27=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 27*96=2592, Resulting Numbers: [2592] 2592,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[27, 31], Operations: ['89-86=3', '93/3=31'] Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,100 unequal: No Solution Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 100:[93, 24], Operations: ['89-86=3', '27-3=24'] Exploring Operation: 93+24=117, Resulting Numbers: [117] 117,100 unequal: No Solution Exploring Operation: 93*24=2232, Resulting Numbers: [2232] 2232,100 unequal: No Solution Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[89, 27, 7], Operations: ['93-86=7'] Exploring Operation: 27-7=20, Resulting Numbers: [89, 20] Generated Node #0,1,0: 100:[89, 20] Operation: 27-7=20 Exploring Operation: 89+7=96, Resulting Numbers: [27, 96] Generated Node #0,1,1: 100:[27, 96] Operation: 89+7=96 Exploring Operation: 89-27=62, Resulting Numbers: [7, 62] Generated Node #0,1,2: 100:[7, 62] Operation: 89-27=62 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[27, 96], Operations: ['93-86=7', '89+7=96'] Exploring Operation: 27+96=123, Resulting Numbers: [123] 123,100 unequal: No Solution Exploring Operation: 96-27=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 27*96=2592, Resulting Numbers: [2592] 2592,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[89, 20], Operations: ['93-86=7', '27-7=20'] Exploring Operation: 89*20=1780, Resulting Numbers: [1780] 1780,100 unequal: No Solution Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 89+20=109, Resulting Numbers: [109] 109,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[7, 62], Operations: ['93-86=7', '89-27=62'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 7*62=434, Resulting Numbers: [434] 434,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[86, 27, 4], Operations: ['93-89=4'] Exploring Operation: 86+4=90, Resulting Numbers: [27, 90] Generated Node #0,2,0: 100:[27, 90] Operation: 86+4=90 Exploring Operation: 86-27=59, Resulting Numbers: [4, 59] Generated Node #0,2,1: 100:[4, 59] Operation: 86-27=59 Exploring Operation: 86+27=113, Resulting Numbers: [4, 113] Generated Node #0,2,2: 100:[4, 113] Operation: 86+27=113 Moving to Node #0,2,1 Current State: 100:[4, 59], Operations: ['93-89=4', '86-27=59'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 4*59=236, Resulting Numbers: [236] 236,100 unequal: No Solution Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[27, 90], Operations: ['93-89=4', '86+4=90'] Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,100 unequal: No Solution Exploring Operation: 27*90=2430, Resulting Numbers: [2430] 2430,100 unequal: No Solution Exploring Operation: 27+90=117, Resulting Numbers: [117] 117,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[4, 113], Operations: ['93-89=4', '86+27=113'] Exploring Operation: 4*113=452, Resulting Numbers: [452] 452,100 unequal: No Solution Exploring Operation: 113-4=109, Resulting Numbers: [109] 109,100 unequal: No Solution Exploring Operation: 4+113=117, Resulting Numbers: [117] 117,100 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
[ 37, 3, 24, 8 ]
72
[ "37+3=40", "24+8=32", "40+32=72" ]
Current State: 72:[37, 3, 24, 8], Operations: [] Exploring Operation: 37+3=40, Resulting Numbers: [24, 8, 40] Generated Node #2: [24, 8, 40] from Operation: 37+3=40 Current State: 72:[24, 8, 40], Operations: ['37+3=40'] Exploring Operation: 24+8=32, Resulting Numbers: [40, 32] Generated Node #3: [40, 32] from Operation: 24+8=32 Current State: 72:[40, 32], Operations: ['37+3=40', '24+8=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[37, 3, 24, 8], Operations: [] Exploring Operation: 37-24=13, Resulting Numbers: [3, 8, 13] Generated Node #0,0: 72:[3, 8, 13] Operation: 37-24=13 Exploring Operation: 3*24=72, Resulting Numbers: [37, 8, 72] Generated Node #0,1: 72:[37, 8, 72] Operation: 3*24=72 Moving to Node #0,0 Current State: 72:[3, 8, 13], Operations: ['37-24=13'] Exploring Operation: 3*8=24, Resulting Numbers: [13, 24] Generated Node #0,0,0: 72:[13, 24] Operation: 3*8=24 Exploring Operation: 13-3=10, Resulting Numbers: [8, 10] Generated Node #0,0,1: 72:[8, 10] Operation: 13-3=10 Moving to Node #0,1 Current State: 72:[37, 8, 72], Operations: ['3*24=72'] Exploring Operation: 72/8=9, Resulting Numbers: [37, 9] Generated Node #0,1,0: 72:[37, 9] Operation: 72/8=9 Exploring Operation: 72-37=35, Resulting Numbers: [8, 35] Generated Node #0,1,1: 72:[8, 35] Operation: 72-37=35 Moving to Node #0,0,0 Current State: 72:[13, 24], Operations: ['37-24=13', '3*8=24'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 13+24=37, Resulting Numbers: [37] 37,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[37, 9], Operations: ['3*24=72', '72/8=9'] Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[8, 10], Operations: ['37-24=13', '13-3=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[8, 35], Operations: ['3*24=72', '72-37=35'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,72 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 23, 87, 70, 5 ]
42
[ "23*5=115", "87+70=157", "157-115=42" ]
Current State: 42:[23, 87, 70, 5], Operations: [] Exploring Operation: 23*5=115, Resulting Numbers: [87, 70, 115] Generated Node #2: [87, 70, 115] from Operation: 23*5=115 Current State: 42:[87, 70, 115], Operations: ['23*5=115'] Exploring Operation: 87+70=157, Resulting Numbers: [115, 157] Generated Node #3: [115, 157] from Operation: 87+70=157 Current State: 42:[115, 157], Operations: ['23*5=115', '87+70=157'] Exploring Operation: 157-115=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[23, 87, 70, 5], Operations: [] Exploring Operation: 70-23=47, Resulting Numbers: [87, 5, 47] Generated Node #0,0: 42:[87, 5, 47] Operation: 70-23=47 Exploring Operation: 87-70=17, Resulting Numbers: [23, 5, 17] Generated Node #0,1: 42:[23, 5, 17] Operation: 87-70=17 Exploring Operation: 70/5=14, Resulting Numbers: [23, 87, 14] Generated Node #0,2: 42:[23, 87, 14] Operation: 70/5=14 Exploring Operation: 87-23=64, Resulting Numbers: [70, 5, 64] Generated Node #0,3: 42:[70, 5, 64] Operation: 87-23=64 Moving to Node #0,1 Current State: 42:[23, 5, 17], Operations: ['87-70=17'] Exploring Operation: 23-17=6, Resulting Numbers: [5, 6] Generated Node #0,1,0: 42:[5, 6] Operation: 23-17=6 Exploring Operation: 17-5=12, Resulting Numbers: [23, 12] Generated Node #0,1,1: 42:[23, 12] Operation: 17-5=12 Exploring Operation: 5+17=22, Resulting Numbers: [23, 22] Generated Node #0,1,2: 42:[23, 22] Operation: 5+17=22 Exploring Operation: 23+17=40, Resulting Numbers: [5, 40] Generated Node #0,1,3: 42:[5, 40] Operation: 23+17=40 Moving to Node #0,2 Current State: 42:[23, 87, 14], Operations: ['70/5=14'] Exploring Operation: 23-14=9, Resulting Numbers: [87, 9] Generated Node #0,2,0: 42:[87, 9] Operation: 23-14=9 Exploring Operation: 87-14=73, Resulting Numbers: [23, 73] Generated Node #0,2,1: 42:[23, 73] Operation: 87-14=73 Exploring Operation: 87-23=64, Resulting Numbers: [14, 64] Generated Node #0,2,2: 42:[14, 64] Operation: 87-23=64 Exploring Operation: 23+14=37, Resulting Numbers: [87, 37] Generated Node #0,2,3: 42:[87, 37] Operation: 23+14=37 Moving to Node #0,3 Current State: 42:[70, 5, 64], Operations: ['87-23=64'] Exploring Operation: 70-64=6, Resulting Numbers: [5, 6] Generated Node #0,3,0: 42:[5, 6] Operation: 70-64=6 Exploring Operation: 70/5=14, Resulting Numbers: [64, 14] Generated Node #0,3,1: 42:[64, 14] Operation: 70/5=14 Exploring Operation: 70-5=65, Resulting Numbers: [64, 65] Generated Node #0,3,2: 42:[64, 65] Operation: 70-5=65 Exploring Operation: 64-5=59, Resulting Numbers: [70, 59] Generated Node #0,3,3: 42:[70, 59] Operation: 64-5=59 Moving to Node #0,0 Current State: 42:[87, 5, 47], Operations: ['70-23=47'] Exploring Operation: 87-5=82, Resulting Numbers: [47, 82] Generated Node #0,0,0: 42:[47, 82] Operation: 87-5=82 Exploring Operation: 47-5=42, Resulting Numbers: [87, 42] Generated Node #0,0,1: 42:[87, 42] Operation: 47-5=42 Exploring Operation: 87+5=92, Resulting Numbers: [47, 92] Generated Node #0,0,2: 42:[47, 92] Operation: 87+5=92 Exploring Operation: 87-47=40, Resulting Numbers: [5, 40] Generated Node #0,0,3: 42:[5, 40] Operation: 87-47=40 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 42:[5, 40], Operations: ['70-23=47', '87-47=40'] Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,42 unequal: No Solution Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,42 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,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,0 Current State: 42:[47, 82], Operations: ['70-23=47', '87-5=82'] Exploring Operation: 47+82=129, Resulting Numbers: [129] 129,42 unequal: No Solution Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 47*82=3854, Resulting Numbers: [3854] 3854,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,1 Current State: 42:[87, 42], Operations: ['70-23=47', '47-5=42'] Exploring Operation: 87+42=129, Resulting Numbers: [129] 129,42 unequal: No Solution Exploring Operation: 87*42=3654, Resulting Numbers: [3654] 3654,42 unequal: No Solution Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,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,2 Current State: 42:[47, 92], Operations: ['70-23=47', '87+5=92'] Exploring Operation: 47+92=139, Resulting Numbers: [139] 139,42 unequal: No Solution Exploring Operation: 47*92=4324, Resulting Numbers: [4324] 4324,42 unequal: No Solution Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,42 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: 42:[5, 6], Operations: ['87-70=17', '23-17=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,42 unequal: No Solution Moving to Node #0,3,0 Current State: 42:[5, 6], Operations: ['87-23=64', '70-64=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[5, 40], Operations: ['87-70=17', '23+17=40'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,42 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[23, 22], Operations: ['87-70=17', '5+17=22'] Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,42 unequal: No Solution Exploring Operation: 23*22=506, Resulting Numbers: [506] 506,42 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[23, 12], Operations: ['87-70=17', '17-5=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[14, 64], Operations: ['70/5=14', '87-23=64'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 14*64=896, Resulting Numbers: [896] 896,42 unequal: No Solution Exploring Operation: 14+64=78, Resulting Numbers: [78] 78,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[64, 14], Operations: ['87-23=64', '70/5=14'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 64*14=896, Resulting Numbers: [896] 896,42 unequal: No Solution Exploring Operation: 64+14=78, Resulting Numbers: [78] 78,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[23, 73], Operations: ['70/5=14', '87-14=73'] Exploring Operation: 23*73=1679, Resulting Numbers: [1679] 1679,42 unequal: No Solution Exploring Operation: 73-23=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 23+73=96, Resulting Numbers: [96] 96,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[64, 65], Operations: ['87-23=64', '70-5=65'] Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,42 unequal: No Solution Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,42 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[70, 59], Operations: ['87-23=64', '64-5=59'] Exploring Operation: 70+59=129, Resulting Numbers: [129] 129,42 unequal: No Solution Exploring Operation: 70-59=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 70*59=4130, Resulting Numbers: [4130] 4130,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[87, 9], Operations: ['70/5=14', '23-14=9'] Exploring Operation: 87*9=783, Resulting Numbers: [783] 783,42 unequal: No Solution Exploring Operation: 87+9=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[87, 37], Operations: ['70/5=14', '23+14=37'] Exploring Operation: 87+37=124, Resulting Numbers: [124] 124,42 unequal: No Solution Exploring Operation: 87*37=3219, Resulting Numbers: [3219] 3219,42 unequal: No Solution Exploring Operation: 87-37=50, Resulting Numbers: [50] 50,42 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 66, 4, 69, 72 ]
45
[ "72-66=6", "4*6=24", "69-24=45" ]
Current State: 45:[66, 4, 69, 72], Operations: [] Exploring Operation: 72-66=6, Resulting Numbers: [4, 69, 6] Generated Node #2: [4, 69, 6] from Operation: 72-66=6 Current State: 45:[4, 69, 6], Operations: ['72-66=6'] Exploring Operation: 4*6=24, Resulting Numbers: [69, 24] Generated Node #3: [69, 24] from Operation: 4*6=24 Current State: 45:[69, 24], Operations: ['72-66=6', '4*6=24'] Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[66, 4, 69, 72], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [66, 4, 3] Generated Node #0,0: 45:[66, 4, 3] Operation: 72-69=3 Exploring Operation: 69-66=3, Resulting Numbers: [4, 72, 3] Generated Node #0,1: 45:[4, 72, 3] Operation: 69-66=3 Exploring Operation: 72-66=6, Resulting Numbers: [4, 69, 6] Generated Node #0,2: 45:[4, 69, 6] Operation: 72-66=6 Moving to Node #0,0 Current State: 45:[66, 4, 3], Operations: ['72-69=3'] Exploring Operation: 66-4=62, Resulting Numbers: [3, 62] Generated Node #0,0,0: 45:[3, 62] Operation: 66-4=62 Exploring Operation: 66/3=22, Resulting Numbers: [4, 22] Generated Node #0,0,1: 45:[4, 22] Operation: 66/3=22 Exploring Operation: 66-3=63, Resulting Numbers: [4, 63] Generated Node #0,0,2: 45:[4, 63] Operation: 66-3=63 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[4, 22], Operations: ['72-69=3', '66/3=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[3, 62], Operations: ['72-69=3', '66-4=62'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,45 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[4, 63], Operations: ['72-69=3', '66-3=63'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,45 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 45:[4, 69, 6], Operations: ['72-66=6'] Exploring Operation: 4+6=10, Resulting Numbers: [69, 10] Generated Node #0,2,0: 45:[69, 10] Operation: 4+6=10 Exploring Operation: 69-4=65, Resulting Numbers: [6, 65] Generated Node #0,2,1: 45:[6, 65] Operation: 69-4=65 Exploring Operation: 69-6=63, Resulting Numbers: [4, 63] Generated Node #0,2,2: 45:[4, 63] Operation: 69-6=63 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[4, 63], Operations: ['72-66=6', '69-6=63'] Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,45 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,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:[6, 65], Operations: ['72-66=6', '69-4=65'] Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,45 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,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,0 Current State: 45:[69, 10], Operations: ['72-66=6', '4+6=10'] Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,45 unequal: No Solution Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 45:[4, 72, 3], Operations: ['69-66=3'] Exploring Operation: 72/3=24, Resulting Numbers: [4, 24] Generated Node #0,1,0: 45:[4, 24] Operation: 72/3=24 Exploring Operation: 72-4=68, Resulting Numbers: [3, 68] Generated Node #0,1,1: 45:[3, 68] Operation: 72-4=68 Exploring Operation: 72/4=18, Resulting Numbers: [3, 18] Generated Node #0,1,2: 45:[3, 18] Operation: 72/4=18 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[3, 18], Operations: ['69-66=3', '72/4=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[4, 24], Operations: ['69-66=3', '72/3=24'] Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[3, 68], Operations: ['69-66=3', '72-4=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,45 unequal: No Solution Exploring Operation: 3+68=71, Resulting Numbers: [71] 71,45 unequal: No Solution Exploring Operation: 3*68=204, Resulting Numbers: [204] 204,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 87, 17, 94, 88 ]
31
[ "94-87=7", "17*7=119", "119-88=31" ]
Current State: 31:[87, 17, 94, 88], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [17, 88, 7] Generated Node #2: [17, 88, 7] from Operation: 94-87=7 Current State: 31:[17, 88, 7], Operations: ['94-87=7'] Exploring Operation: 17*7=119, Resulting Numbers: [88, 119] Generated Node #3: [88, 119] from Operation: 17*7=119 Current State: 31:[88, 119], Operations: ['94-87=7', '17*7=119'] Exploring Operation: 119-88=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[87, 17, 94, 88], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [17, 88, 7] Generated Node #0,0: 31:[17, 88, 7] Operation: 94-87=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[17, 88, 7], Operations: ['94-87=7'] Exploring Operation: 88-17=71, Resulting Numbers: [7, 71] Generated Node #0,0,0: 31:[7, 71] Operation: 88-17=71 Moving to Node #0,0,0 Current State: 31:[7, 71], Operations: ['94-87=7', '88-17=71'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 70, 48, 65, 9 ]
83
[ "65-48=17", "9*17=153", "153-70=83" ]
Current State: 83:[70, 48, 65, 9], Operations: [] Exploring Operation: 65-48=17, Resulting Numbers: [70, 9, 17] Generated Node #2: [70, 9, 17] from Operation: 65-48=17 Current State: 83:[70, 9, 17], Operations: ['65-48=17'] Exploring Operation: 9*17=153, Resulting Numbers: [70, 153] Generated Node #3: [70, 153] from Operation: 9*17=153 Current State: 83:[70, 153], Operations: ['65-48=17', '9*17=153'] Exploring Operation: 153-70=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[70, 48, 65, 9], Operations: [] Exploring Operation: 70+9=79, Resulting Numbers: [48, 65, 79] Generated Node #0,0: 83:[48, 65, 79] Operation: 70+9=79 Exploring Operation: 65+9=74, Resulting Numbers: [70, 48, 74] Generated Node #0,1: 83:[70, 48, 74] Operation: 65+9=74 Exploring Operation: 48+9=57, Resulting Numbers: [70, 65, 57] Generated Node #0,2: 83:[70, 65, 57] Operation: 48+9=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[48, 65, 79], Operations: ['70+9=79'] Exploring Operation: 65-48=17, Resulting Numbers: [79, 17] Generated Node #0,0,0: 83:[79, 17] Operation: 65-48=17 Exploring Operation: 48+65=113, Resulting Numbers: [79, 113] Generated Node #0,0,1: 83:[79, 113] Operation: 48+65=113 Exploring Operation: 48+79=127, Resulting Numbers: [65, 127] Generated Node #0,0,2: 83:[65, 127] Operation: 48+79=127 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[79, 113], Operations: ['70+9=79', '48+65=113'] Exploring Operation: 79*113=8927, Resulting Numbers: [8927] 8927,83 unequal: No Solution Exploring Operation: 79+113=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 113-79=34, Resulting Numbers: [34] 34,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[65, 127], Operations: ['70+9=79', '48+79=127'] Exploring Operation: 65+127=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 65*127=8255, Resulting Numbers: [8255] 8255,83 unequal: No Solution Exploring Operation: 127-65=62, Resulting Numbers: [62] 62,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[79, 17], Operations: ['70+9=79', '65-48=17'] Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,83 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[70, 48, 74], Operations: ['65+9=74'] Exploring Operation: 70+48=118, Resulting Numbers: [74, 118] Generated Node #0,1,0: 83:[74, 118] Operation: 70+48=118 Exploring Operation: 48+74=122, Resulting Numbers: [70, 122] Generated Node #0,1,1: 83:[70, 122] Operation: 48+74=122 Exploring Operation: 70-48=22, Resulting Numbers: [74, 22] Generated Node #0,1,2: 83:[74, 22] Operation: 70-48=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[74, 118], Operations: ['65+9=74', '70+48=118'] Exploring Operation: 118-74=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 74+118=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 74*118=8732, Resulting Numbers: [8732] 8732,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[70, 122], Operations: ['65+9=74', '48+74=122'] Exploring Operation: 70+122=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 70*122=8540, Resulting Numbers: [8540] 8540,83 unequal: No Solution Exploring Operation: 122-70=52, Resulting Numbers: [52] 52,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[74, 22], Operations: ['65+9=74', '70-48=22'] Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,83 unequal: No Solution Exploring Operation: 74*22=1628, Resulting Numbers: [1628] 1628,83 unequal: No Solution Exploring Operation: 74+22=96, Resulting Numbers: [96] 96,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[70, 65, 57], Operations: ['48+9=57'] Exploring Operation: 70+57=127, Resulting Numbers: [65, 127] Generated Node #0,2,0: 83:[65, 127] Operation: 70+57=127 Exploring Operation: 65+57=122, Resulting Numbers: [70, 122] Generated Node #0,2,1: 83:[70, 122] Operation: 65+57=122 Exploring Operation: 70+65=135, Resulting Numbers: [57, 135] Generated Node #0,2,2: 83:[57, 135] Operation: 70+65=135 Moving to Node #0,2,1 Current State: 83:[70, 122], Operations: ['48+9=57', '65+57=122'] Exploring Operation: 70+122=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 70*122=8540, Resulting Numbers: [8540] 8540,83 unequal: No Solution Exploring Operation: 122-70=52, Resulting Numbers: [52] 52,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[65, 127], Operations: ['48+9=57', '70+57=127'] Exploring Operation: 65+127=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 65*127=8255, Resulting Numbers: [8255] 8255,83 unequal: No Solution Exploring Operation: 127-65=62, Resulting Numbers: [62] 62,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[57, 135], Operations: ['48+9=57', '70+65=135'] Exploring Operation: 135-57=78, Resulting Numbers: [78] 78,83 unequal: No Solution Exploring Operation: 57*135=7695, Resulting Numbers: [7695] 7695,83 unequal: No Solution Exploring Operation: 57+135=192, Resulting Numbers: [192] 192,83 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
[ 39, 33, 5, 94 ]
93
[ "39-33=6", "5+94=99", "99-6=93" ]
Current State: 93:[39, 33, 5, 94], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [5, 94, 6] Generated Node #2: [5, 94, 6] from Operation: 39-33=6 Current State: 93:[5, 94, 6], Operations: ['39-33=6'] Exploring Operation: 5+94=99, Resulting Numbers: [6, 99] Generated Node #3: [6, 99] from Operation: 5+94=99 Current State: 93:[6, 99], Operations: ['39-33=6', '5+94=99'] Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[39, 33, 5, 94], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [5, 94, 6] Generated Node #0,0: 93:[5, 94, 6] Operation: 39-33=6 Moving to Node #0,0 Current State: 93:[5, 94, 6], Operations: ['39-33=6'] Exploring Operation: 5*6=30, Resulting Numbers: [94, 30] Generated Node #0,0,0: 93:[94, 30] Operation: 5*6=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[94, 30], Operations: ['39-33=6', '5*6=30'] Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 5, 99, 3, 39 ]
25
[ "99-39=60", "60/3=20", "5+20=25" ]
Current State: 25:[5, 99, 3, 39], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [5, 3, 60] Generated Node #2: [5, 3, 60] from Operation: 99-39=60 Current State: 25:[5, 3, 60], Operations: ['99-39=60'] Exploring Operation: 60/3=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 60/3=20 Current State: 25:[5, 20], Operations: ['99-39=60', '60/3=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[5, 99, 3, 39], Operations: [] Exploring Operation: 39-5=34, Resulting Numbers: [99, 3, 34] Generated Node #0,0: 25:[99, 3, 34] Operation: 39-5=34 Exploring Operation: 99/3=33, Resulting Numbers: [5, 39, 33] Generated Node #0,1: 25:[5, 39, 33] Operation: 99/3=33 Exploring Operation: 99-5=94, Resulting Numbers: [3, 39, 94] Generated Node #0,2: 25:[3, 39, 94] Operation: 99-5=94 Exploring Operation: 99-39=60, Resulting Numbers: [5, 3, 60] Generated Node #0,3: 25:[5, 3, 60] Operation: 99-39=60 Exploring Operation: 39/3=13, Resulting Numbers: [5, 99, 13] Generated Node #0,4: 25:[5, 99, 13] Operation: 39/3=13 Moving to Node #0,1 Current State: 25:[5, 39, 33], Operations: ['99/3=33'] Exploring Operation: 5+33=38, Resulting Numbers: [39, 38] Generated Node #0,1,0: 25:[39, 38] Operation: 5+33=38 Exploring Operation: 39-5=34, Resulting Numbers: [33, 34] Generated Node #0,1,1: 25:[33, 34] Operation: 39-5=34 Exploring Operation: 33-5=28, Resulting Numbers: [39, 28] Generated Node #0,1,2: 25:[39, 28] Operation: 33-5=28 Exploring Operation: 39-33=6, Resulting Numbers: [5, 6] Generated Node #0,1,3: 25:[5, 6] Operation: 39-33=6 Exploring Operation: 5+39=44, Resulting Numbers: [33, 44] Generated Node #0,1,4: 25:[33, 44] Operation: 5+39=44 Moving to Node #0,3 Current State: 25:[5, 3, 60], Operations: ['99-39=60'] Exploring Operation: 5+3=8, Resulting Numbers: [60, 8] Generated Node #0,3,0: 25:[60, 8] Operation: 5+3=8 Exploring Operation: 60/3=20, Resulting Numbers: [5, 20] Generated Node #0,3,1: 25:[5, 20] Operation: 60/3=20 Exploring Operation: 60/5=12, Resulting Numbers: [3, 12] Generated Node #0,3,2: 25:[3, 12] Operation: 60/5=12 Exploring Operation: 60-5=55, Resulting Numbers: [3, 55] Generated Node #0,3,3: 25:[3, 55] Operation: 60-5=55 Exploring Operation: 60-3=57, Resulting Numbers: [5, 57] Generated Node #0,3,4: 25:[5, 57] Operation: 60-3=57 Moving to Node #0,4 Current State: 25:[5, 99, 13], Operations: ['39/3=13'] Exploring Operation: 5+99=104, Resulting Numbers: [13, 104] Generated Node #0,4,0: 25:[13, 104] Operation: 5+99=104 Exploring Operation: 99-13=86, Resulting Numbers: [5, 86] Generated Node #0,4,1: 25:[5, 86] Operation: 99-13=86 Exploring Operation: 99-5=94, Resulting Numbers: [13, 94] Generated Node #0,4,2: 25:[13, 94] Operation: 99-5=94 Exploring Operation: 5+13=18, Resulting Numbers: [99, 18] Generated Node #0,4,3: 25:[99, 18] Operation: 5+13=18 Exploring Operation: 13-5=8, Resulting Numbers: [99, 8] Generated Node #0,4,4: 25:[99, 8] Operation: 13-5=8 Moving to Node #0,0 Current State: 25:[99, 3, 34], Operations: ['39-5=34'] Exploring Operation: 99+3=102, Resulting Numbers: [34, 102] Generated Node #0,0,0: 25:[34, 102] Operation: 99+3=102 Exploring Operation: 99-3=96, Resulting Numbers: [34, 96] Generated Node #0,0,1: 25:[34, 96] Operation: 99-3=96 Exploring Operation: 99/3=33, Resulting Numbers: [34, 33] Generated Node #0,0,2: 25:[34, 33] Operation: 99/3=33 Exploring Operation: 34-3=31, Resulting Numbers: [99, 31] Generated Node #0,0,3: 25:[99, 31] Operation: 34-3=31 Exploring Operation: 99-34=65, Resulting Numbers: [3, 65] Generated Node #0,0,4: 25:[3, 65] Operation: 99-34=65 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[34, 33], Operations: ['39-5=34', '99/3=33'] Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,25 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 25:[3, 65], Operations: ['39-5=34', '99-34=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,25 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,25 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[34, 96], Operations: ['39-5=34', '99-3=96'] Exploring Operation: 34*96=3264, Resulting Numbers: [3264] 3264,25 unequal: No Solution Exploring Operation: 96-34=62, Resulting Numbers: [62] 62,25 unequal: No Solution Exploring Operation: 34+96=130, Resulting Numbers: [130] 130,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[99, 31], Operations: ['39-5=34', '34-3=31'] Exploring Operation: 99*31=3069, Resulting Numbers: [3069] 3069,25 unequal: No Solution Exploring Operation: 99+31=130, Resulting Numbers: [130] 130,25 unequal: No Solution Exploring Operation: 99-31=68, Resulting Numbers: [68] 68,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[34, 102], Operations: ['39-5=34', '99+3=102'] Exploring Operation: 34+102=136, Resulting Numbers: [136] 136,25 unequal: No Solution Exploring Operation: 34*102=3468, Resulting Numbers: [3468] 3468,25 unequal: No Solution Exploring Operation: 102-34=68, Resulting Numbers: [68] 68,25 unequal: No Solution Exploring Operation: 102/34=3, Resulting Numbers: [3] 3,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 25:[3, 39, 94], Operations: ['99-5=94'] Exploring Operation: 39/3=13, Resulting Numbers: [94, 13] Generated Node #0,2,0: 25:[94, 13] Operation: 39/3=13 Exploring Operation: 94-3=91, Resulting Numbers: [39, 91] Generated Node #0,2,1: 25:[39, 91] Operation: 94-3=91 Exploring Operation: 94-39=55, Resulting Numbers: [3, 55] Generated Node #0,2,2: 25:[3, 55] Operation: 94-39=55 Exploring Operation: 39-3=36, Resulting Numbers: [94, 36] Generated Node #0,2,3: 25:[94, 36] Operation: 39-3=36 Exploring Operation: 3+39=42, Resulting Numbers: [94, 42] Generated Node #0,2,4: 25:[94, 42] Operation: 3+39=42 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[3, 55], Operations: ['99-5=94', '94-39=55'] Exploring Operation: 3*55=165, Resulting Numbers: [165] 165,25 unequal: No Solution Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,25 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[94, 13], Operations: ['99-5=94', '39/3=13'] Exploring Operation: 94*13=1222, Resulting Numbers: [1222] 1222,25 unequal: No Solution Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 94+13=107, Resulting Numbers: [107] 107,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[39, 91], Operations: ['99-5=94', '94-3=91'] Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 39+91=130, Resulting Numbers: [130] 130,25 unequal: No Solution Exploring Operation: 39*91=3549, Resulting Numbers: [3549] 3549,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 25:[94, 36], Operations: ['99-5=94', '39-3=36'] Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,25 unequal: No Solution Exploring Operation: 94+36=130, Resulting Numbers: [130] 130,25 unequal: No Solution Exploring Operation: 94*36=3384, Resulting Numbers: [3384] 3384,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 25:[94, 42], Operations: ['99-5=94', '3+39=42'] Exploring Operation: 94-42=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 94+42=136, Resulting Numbers: [136] 136,25 unequal: No Solution Exploring Operation: 94*42=3948, Resulting Numbers: [3948] 3948,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 25:[5, 6], Operations: ['99/3=33', '39-33=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[5, 20], Operations: ['99-39=60', '60/3=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,25 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[5, 99, 3, 39], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [5, 3, 60] Generated Node #0,3: 25:[5, 3, 60] Operation: 99-39=60 Moving to Node #0,3 Current State: 25:[5, 3, 60], Operations: ['99-39=60'] Exploring Operation: 60/3=20, Resulting Numbers: [5, 20] Generated Node #0,3,1: 25:[5, 20] Operation: 60/3=20 Moving to Node #0,3,1 Current State: 25:[5, 20], Operations: ['99-39=60', '60/3=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.9375
hs_5
sum_heuristic
[ 67, 36, 37, 28 ]
39
[ "67-28=39", "37-36=1", "39*1=39" ]
Current State: 39:[67, 36, 37, 28], Operations: [] Exploring Operation: 67-28=39, Resulting Numbers: [36, 37, 39] Generated Node #2: [36, 37, 39] from Operation: 67-28=39 Current State: 39:[36, 37, 39], Operations: ['67-28=39'] Exploring Operation: 37-36=1, Resulting Numbers: [39, 1] Generated Node #3: [39, 1] from Operation: 37-36=1 Current State: 39:[39, 1], Operations: ['67-28=39', '37-36=1'] Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[67, 36, 37, 28], Operations: [] Exploring Operation: 67-37=30, Resulting Numbers: [36, 28, 30] Generated Node #0,0: 39:[36, 28, 30] Operation: 67-37=30 Exploring Operation: 67-36=31, Resulting Numbers: [37, 28, 31] Generated Node #0,1: 39:[37, 28, 31] Operation: 67-36=31 Exploring Operation: 36-28=8, Resulting Numbers: [67, 37, 8] Generated Node #0,2: 39:[67, 37, 8] Operation: 36-28=8 Exploring Operation: 67-28=39, Resulting Numbers: [36, 37, 39] Generated Node #0,3: 39:[36, 37, 39] Operation: 67-28=39 Exploring Operation: 37-28=9, Resulting Numbers: [67, 36, 9] Generated Node #0,4: 39:[67, 36, 9] Operation: 37-28=9 Moving to Node #0,3 Current State: 39:[36, 37, 39], Operations: ['67-28=39'] Exploring Operation: 36+37=73, Resulting Numbers: [39, 73] Generated Node #0,3,0: 39:[39, 73] Operation: 36+37=73 Exploring Operation: 39-37=2, Resulting Numbers: [36, 2] Generated Node #0,3,1: 39:[36, 2] Operation: 39-37=2 Exploring Operation: 36+39=75, Resulting Numbers: [37, 75] Generated Node #0,3,2: 39:[37, 75] Operation: 36+39=75 Exploring Operation: 39-36=3, Resulting Numbers: [37, 3] Generated Node #0,3,3: 39:[37, 3] Operation: 39-36=3 Exploring Operation: 37-36=1, Resulting Numbers: [39, 1] Generated Node #0,3,4: 39:[39, 1] Operation: 37-36=1 Moving to Node #0,1 Current State: 39:[37, 28, 31], Operations: ['67-36=31'] Exploring Operation: 37-28=9, Resulting Numbers: [31, 9] Generated Node #0,1,0: 39:[31, 9] Operation: 37-28=9 Exploring Operation: 37+28=65, Resulting Numbers: [31, 65] Generated Node #0,1,1: 39:[31, 65] Operation: 37+28=65 Exploring Operation: 37-31=6, Resulting Numbers: [28, 6] Generated Node #0,1,2: 39:[28, 6] Operation: 37-31=6 Exploring Operation: 28+31=59, Resulting Numbers: [37, 59] Generated Node #0,1,3: 39:[37, 59] Operation: 28+31=59 Exploring Operation: 31-28=3, Resulting Numbers: [37, 3] Generated Node #0,1,4: 39:[37, 3] Operation: 31-28=3 Moving to Node #0,0 Current State: 39:[36, 28, 30], Operations: ['67-37=30'] Exploring Operation: 36+28=64, Resulting Numbers: [30, 64] Generated Node #0,0,0: 39:[30, 64] Operation: 36+28=64 Exploring Operation: 36-28=8, Resulting Numbers: [30, 8] Generated Node #0,0,1: 39:[30, 8] Operation: 36-28=8 Exploring Operation: 36-30=6, Resulting Numbers: [28, 6] Generated Node #0,0,2: 39:[28, 6] Operation: 36-30=6 Exploring Operation: 30-28=2, Resulting Numbers: [36, 2] Generated Node #0,0,3: 39:[36, 2] Operation: 30-28=2 Exploring Operation: 28+30=58, Resulting Numbers: [36, 58] Generated Node #0,0,4: 39:[36, 58] Operation: 28+30=58 Moving to Node #0,2 Current State: 39:[67, 37, 8], Operations: ['36-28=8'] Exploring Operation: 67+8=75, Resulting Numbers: [37, 75] Generated Node #0,2,0: 39:[37, 75] Operation: 67+8=75 Exploring Operation: 67-37=30, Resulting Numbers: [8, 30] Generated Node #0,2,1: 39:[8, 30] Operation: 67-37=30 Exploring Operation: 37+8=45, Resulting Numbers: [67, 45] Generated Node #0,2,2: 39:[67, 45] Operation: 37+8=45 Exploring Operation: 37-8=29, Resulting Numbers: [67, 29] Generated Node #0,2,3: 39:[67, 29] Operation: 37-8=29 Exploring Operation: 67-8=59, Resulting Numbers: [37, 59] Generated Node #0,2,4: 39:[37, 59] Operation: 67-8=59 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[8, 30], Operations: ['36-28=8', '67-37=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,39 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,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,4 Current State: 39:[37, 59], Operations: ['36-28=8', '67-8=59'] Exploring Operation: 37*59=2183, Resulting Numbers: [2183] 2183,39 unequal: No Solution Exploring Operation: 37+59=96, Resulting Numbers: [96] 96,39 unequal: No Solution Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,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:[67, 45], Operations: ['36-28=8', '37+8=45'] Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,39 unequal: No Solution Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,39 unequal: No Solution Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,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,0 Current State: 39:[37, 75], Operations: ['36-28=8', '67+8=75'] Exploring Operation: 37+75=112, Resulting Numbers: [112] 112,39 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,39 unequal: No Solution Exploring Operation: 37*75=2775, Resulting Numbers: [2775] 2775,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:[67, 29], Operations: ['36-28=8', '37-8=29'] Exploring Operation: 67+29=96, Resulting Numbers: [96] 96,39 unequal: No Solution Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,39 unequal: No Solution Exploring Operation: 67*29=1943, Resulting Numbers: [1943] 1943,39 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: 39:[67, 36, 9], Operations: ['37-28=9'] Exploring Operation: 36/9=4, Resulting Numbers: [67, 4] Generated Node #0,4,0: 39:[67, 4] Operation: 36/9=4 Exploring Operation: 67+9=76, Resulting Numbers: [36, 76] Generated Node #0,4,1: 39:[36, 76] Operation: 67+9=76 Exploring Operation: 67-9=58, Resulting Numbers: [36, 58] Generated Node #0,4,2: 39:[36, 58] Operation: 67-9=58 Exploring Operation: 67-36=31, Resulting Numbers: [9, 31] Generated Node #0,4,3: 39:[9, 31] Operation: 67-36=31 Exploring Operation: 36+9=45, Resulting Numbers: [67, 45] Generated Node #0,4,4: 39:[67, 45] Operation: 36+9=45 Moving to Node #0,3,3 Current State: 39:[37, 3], Operations: ['67-28=39', '39-36=3'] Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,39 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,39 unequal: No Solution Moving to Node #0,1,4 Current State: 39:[37, 3], Operations: ['67-36=31', '31-28=3'] Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,39 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,39 unequal: No Solution Moving to Node #0,3,4 Current State: 39:[39, 1], Operations: ['67-28=39', '37-36=1'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[67, 36, 37, 28], Operations: [] Exploring Operation: 67-28=39, Resulting Numbers: [36, 37, 39] Generated Node #0,3: 39:[36, 37, 39] Operation: 67-28=39 Moving to Node #0,3 Current State: 39:[36, 37, 39], Operations: ['67-28=39'] Exploring Operation: 37-36=1, Resulting Numbers: [39, 1] Generated Node #0,3,4: 39:[39, 1] Operation: 37-36=1 Moving to Node #0,3,4 Current State: 39:[39, 1], Operations: ['67-28=39', '37-36=1'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.951389
hs_5
mult_heuristic
[ 81, 92, 3, 34 ]
67
[ "92-81=11", "3*11=33", "34+33=67" ]
Current State: 67:[81, 92, 3, 34], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [3, 34, 11] Generated Node #2: [3, 34, 11] from Operation: 92-81=11 Current State: 67:[3, 34, 11], Operations: ['92-81=11'] Exploring Operation: 3*11=33, Resulting Numbers: [34, 33] Generated Node #3: [34, 33] from Operation: 3*11=33 Current State: 67:[34, 33], Operations: ['92-81=11', '3*11=33'] Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[81, 92, 3, 34], Operations: [] Exploring Operation: 3+34=37, Resulting Numbers: [81, 92, 37] Generated Node #0,0: 67:[81, 92, 37] Operation: 3+34=37 Exploring Operation: 81+3=84, Resulting Numbers: [92, 34, 84] Generated Node #0,1: 67:[92, 34, 84] Operation: 81+3=84 Exploring Operation: 81-3=78, Resulting Numbers: [92, 34, 78] Generated Node #0,2: 67:[92, 34, 78] Operation: 81-3=78 Exploring Operation: 3*34=102, Resulting Numbers: [81, 92, 102] Generated Node #0,3: 67:[81, 92, 102] Operation: 3*34=102 Exploring Operation: 92-3=89, Resulting Numbers: [81, 34, 89] Generated Node #0,4: 67:[81, 34, 89] Operation: 92-3=89 Moving to Node #0,0 Current State: 67:[81, 92, 37], Operations: ['3+34=37'] Exploring Operation: 92-37=55, Resulting Numbers: [81, 55] Generated Node #0,0,0: 67:[81, 55] Operation: 92-37=55 Exploring Operation: 92+37=129, Resulting Numbers: [81, 129] Generated Node #0,0,1: 67:[81, 129] Operation: 92+37=129 Exploring Operation: 81+37=118, Resulting Numbers: [92, 118] Generated Node #0,0,2: 67:[92, 118] Operation: 81+37=118 Exploring Operation: 92-81=11, Resulting Numbers: [37, 11] Generated Node #0,0,3: 67:[37, 11] Operation: 92-81=11 Exploring Operation: 81-37=44, Resulting Numbers: [92, 44] Generated Node #0,0,4: 67:[92, 44] Operation: 81-37=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[81, 55], Operations: ['3+34=37', '92-37=55'] Exploring Operation: 81*55=4455, Resulting Numbers: [4455] 4455,67 unequal: No Solution Exploring Operation: 81+55=136, Resulting Numbers: [136] 136,67 unequal: No Solution Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 67:[92, 44], Operations: ['3+34=37', '81-37=44'] Exploring Operation: 92+44=136, Resulting Numbers: [136] 136,67 unequal: No Solution Exploring Operation: 92-44=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 92*44=4048, Resulting Numbers: [4048] 4048,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[81, 129], Operations: ['3+34=37', '92+37=129'] Exploring Operation: 129-81=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 81*129=10449, Resulting Numbers: [10449] 10449,67 unequal: No Solution Exploring Operation: 81+129=210, Resulting Numbers: [210] 210,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[92, 118], Operations: ['3+34=37', '81+37=118'] Exploring Operation: 92+118=210, Resulting Numbers: [210] 210,67 unequal: No Solution Exploring Operation: 92*118=10856, Resulting Numbers: [10856] 10856,67 unequal: No Solution Exploring Operation: 118-92=26, Resulting Numbers: [26] 26,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 67:[37, 11], Operations: ['3+34=37', '92-81=11'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,67 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,67 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: 67:[81, 34, 89], Operations: ['92-3=89'] Exploring Operation: 81-34=47, Resulting Numbers: [89, 47] Generated Node #0,4,0: 67:[89, 47] Operation: 81-34=47 Exploring Operation: 34+89=123, Resulting Numbers: [81, 123] Generated Node #0,4,1: 67:[81, 123] Operation: 34+89=123 Exploring Operation: 89-34=55, Resulting Numbers: [81, 55] Generated Node #0,4,2: 67:[81, 55] Operation: 89-34=55 Exploring Operation: 89-81=8, Resulting Numbers: [34, 8] Generated Node #0,4,3: 67:[34, 8] Operation: 89-81=8 Exploring Operation: 81+34=115, Resulting Numbers: [89, 115] Generated Node #0,4,4: 67:[89, 115] Operation: 81+34=115 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 67:[81, 55], Operations: ['92-3=89', '89-34=55'] Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 81*55=4455, Resulting Numbers: [4455] 4455,67 unequal: No Solution Exploring Operation: 81+55=136, Resulting Numbers: [136] 136,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 67:[89, 47], Operations: ['92-3=89', '81-34=47'] Exploring Operation: 89*47=4183, Resulting Numbers: [4183] 4183,67 unequal: No Solution Exploring Operation: 89+47=136, Resulting Numbers: [136] 136,67 unequal: No Solution Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 67:[81, 123], Operations: ['92-3=89', '34+89=123'] Exploring Operation: 123-81=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 81+123=204, Resulting Numbers: [204] 204,67 unequal: No Solution Exploring Operation: 81*123=9963, Resulting Numbers: [9963] 9963,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 67:[89, 115], Operations: ['92-3=89', '81+34=115'] Exploring Operation: 115-89=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 89+115=204, Resulting Numbers: [204] 204,67 unequal: No Solution Exploring Operation: 89*115=10235, Resulting Numbers: [10235] 10235,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 67:[34, 8], Operations: ['92-3=89', '89-81=8'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,67 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 67:[92, 34, 78], Operations: ['81-3=78'] Exploring Operation: 78-34=44, Resulting Numbers: [92, 44] Generated Node #0,2,0: 67:[92, 44] Operation: 78-34=44 Exploring Operation: 34+78=112, Resulting Numbers: [92, 112] Generated Node #0,2,1: 67:[92, 112] Operation: 34+78=112 Exploring Operation: 92-78=14, Resulting Numbers: [34, 14] Generated Node #0,2,2: 67:[34, 14] Operation: 92-78=14 Exploring Operation: 92+34=126, Resulting Numbers: [78, 126] Generated Node #0,2,3: 67:[78, 126] Operation: 92+34=126 Exploring Operation: 92-34=58, Resulting Numbers: [78, 58] Generated Node #0,2,4: 67:[78, 58] Operation: 92-34=58 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 67:[78, 58], Operations: ['81-3=78', '92-34=58'] Exploring Operation: 78-58=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 78+58=136, Resulting Numbers: [136] 136,67 unequal: No Solution Exploring Operation: 78*58=4524, Resulting Numbers: [4524] 4524,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[92, 44], Operations: ['81-3=78', '78-34=44'] Exploring Operation: 92*44=4048, Resulting Numbers: [4048] 4048,67 unequal: No Solution Exploring Operation: 92-44=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 92+44=136, Resulting Numbers: [136] 136,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[92, 112], Operations: ['81-3=78', '34+78=112'] Exploring Operation: 92*112=10304, Resulting Numbers: [10304] 10304,67 unequal: No Solution Exploring Operation: 112-92=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 92+112=204, Resulting Numbers: [204] 204,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 67:[78, 126], Operations: ['81-3=78', '92+34=126'] Exploring Operation: 126-78=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 78+126=204, Resulting Numbers: [204] 204,67 unequal: No Solution Exploring Operation: 78*126=9828, Resulting Numbers: [9828] 9828,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[34, 14], Operations: ['81-3=78', '92-78=14'] Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,67 unequal: No Solution Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,67 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,67 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: 67:[81, 92, 102], Operations: ['3*34=102'] Exploring Operation: 81+102=183, Resulting Numbers: [92, 183] Generated Node #0,3,0: 67:[92, 183] Operation: 81+102=183 Exploring Operation: 102-81=21, Resulting Numbers: [92, 21] Generated Node #0,3,1: 67:[92, 21] Operation: 102-81=21 Exploring Operation: 102-92=10, Resulting Numbers: [81, 10] Generated Node #0,3,2: 67:[81, 10] Operation: 102-92=10 Exploring Operation: 92-81=11, Resulting Numbers: [102, 11] Generated Node #0,3,3: 67:[102, 11] Operation: 92-81=11 Exploring Operation: 81+92=173, Resulting Numbers: [102, 173] Generated Node #0,3,4: 67:[102, 173] Operation: 81+92=173 Moving to Node #0,1 Current State: 67:[92, 34, 84], Operations: ['81+3=84'] Exploring Operation: 92+34=126, Resulting Numbers: [84, 126] Generated Node #0,1,0: 67:[84, 126] Operation: 92+34=126 Exploring Operation: 84-34=50, Resulting Numbers: [92, 50] Generated Node #0,1,1: 67:[92, 50] Operation: 84-34=50 Exploring Operation: 92-84=8, Resulting Numbers: [34, 8] Generated Node #0,1,2: 67:[34, 8] Operation: 92-84=8 Exploring Operation: 92-34=58, Resulting Numbers: [84, 58] Generated Node #0,1,3: 67:[84, 58] Operation: 92-34=58 Exploring Operation: 34+84=118, Resulting Numbers: [92, 118] Generated Node #0,1,4: 67:[92, 118] Operation: 34+84=118 Moving to Node #0,1,3 Current State: 67:[84, 58], Operations: ['81+3=84', '92-34=58'] Exploring Operation: 84+58=142, Resulting Numbers: [142] 142,67 unequal: No Solution Exploring Operation: 84*58=4872, Resulting Numbers: [4872] 4872,67 unequal: No Solution Exploring Operation: 84-58=26, Resulting Numbers: [26] 26,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[92, 50], Operations: ['81+3=84', '84-34=50'] Exploring Operation: 92*50=4600, Resulting Numbers: [4600] 4600,67 unequal: No Solution Exploring Operation: 92+50=142, Resulting Numbers: [142] 142,67 unequal: No Solution Exploring Operation: 92-50=42, Resulting Numbers: [42] 42,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[92, 21], Operations: ['3*34=102', '102-81=21'] Exploring Operation: 92*21=1932, Resulting Numbers: [1932] 1932,67 unequal: No Solution Exploring Operation: 92-21=71, Resulting Numbers: [71] 71,67 unequal: No Solution Exploring Operation: 92+21=113, Resulting Numbers: [113] 113,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[81, 10], Operations: ['3*34=102', '102-92=10'] Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 81*10=810, Resulting Numbers: [810] 810,67 unequal: No Solution Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,67 unequal: No Solution Moving to Node #0,1,4 Current State: 67:[92, 118], Operations: ['81+3=84', '34+84=118'] Exploring Operation: 118-92=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 92+118=210, Resulting Numbers: [210] 210,67 unequal: No Solution Exploring Operation: 92*118=10856, Resulting Numbers: [10856] 10856,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[84, 126], Operations: ['81+3=84', '92+34=126'] Exploring Operation: 84+126=210, Resulting Numbers: [210] 210,67 unequal: No Solution Exploring Operation: 126-84=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 84*126=10584, Resulting Numbers: [10584] 10584,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[102, 11], Operations: ['3*34=102', '92-81=11'] Exploring Operation: 102-11=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 102+11=113, Resulting Numbers: [113] 113,67 unequal: No Solution Exploring Operation: 102*11=1122, Resulting Numbers: [1122] 1122,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[34, 8], Operations: ['81+3=84', '92-84=8'] Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[92, 183], Operations: ['3*34=102', '81+102=183'] Exploring Operation: 92*183=16836, Resulting Numbers: [16836] 16836,67 unequal: No Solution Exploring Operation: 92+183=275, Resulting Numbers: [275] 275,67 unequal: No Solution Exploring Operation: 183-92=91, Resulting Numbers: [91] 91,67 unequal: No Solution Moving to Node #0,3,4 Current State: 67:[102, 173], Operations: ['3*34=102', '81+92=173'] Exploring Operation: 102*173=17646, Resulting Numbers: [17646] 17646,67 unequal: No Solution Exploring Operation: 102+173=275, Resulting Numbers: [275] 275,67 unequal: No Solution Exploring Operation: 173-102=71, Resulting Numbers: [71] 71,67 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 32, 84, 85, 2 ]
19
[ "84-32=52", "2*52=104", "104-85=19" ]
Current State: 19:[32, 84, 85, 2], Operations: [] Exploring Operation: 84-32=52, Resulting Numbers: [85, 2, 52] Generated Node #2: [85, 2, 52] from Operation: 84-32=52 Current State: 19:[85, 2, 52], Operations: ['84-32=52'] Exploring Operation: 2*52=104, Resulting Numbers: [85, 104] Generated Node #3: [85, 104] from Operation: 2*52=104 Current State: 19:[85, 104], Operations: ['84-32=52', '2*52=104'] Exploring Operation: 104-85=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[32, 84, 85, 2], Operations: [] Exploring Operation: 84/2=42, Resulting Numbers: [32, 85, 42] Generated Node #0,0: 19:[32, 85, 42] Operation: 84/2=42 Exploring Operation: 84-32=52, Resulting Numbers: [85, 2, 52] Generated Node #0,1: 19:[85, 2, 52] Operation: 84-32=52 Exploring Operation: 85-84=1, Resulting Numbers: [32, 2, 1] Generated Node #0,2: 19:[32, 2, 1] Operation: 85-84=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[32, 2, 1], Operations: ['85-84=1'] Exploring Operation: 32/2=16, Resulting Numbers: [1, 16] Generated Node #0,2,0: 19:[1, 16] Operation: 32/2=16 Exploring Operation: 32-1=31, Resulting Numbers: [2, 31] Generated Node #0,2,1: 19:[2, 31] Operation: 32-1=31 Exploring Operation: 32-2=30, Resulting Numbers: [1, 30] Generated Node #0,2,2: 19:[1, 30] Operation: 32-2=30 Moving to Node #0,2,0 Current State: 19:[1, 16], Operations: ['85-84=1', '32/2=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,19 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[2, 31], Operations: ['85-84=1', '32-1=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,19 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[1, 30], Operations: ['85-84=1', '32-2=30'] Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,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:[32, 85, 42], Operations: ['84/2=42'] Exploring Operation: 85-42=43, Resulting Numbers: [32, 43] Generated Node #0,0,0: 19:[32, 43] Operation: 85-42=43 Exploring Operation: 42-32=10, Resulting Numbers: [85, 10] Generated Node #0,0,1: 19:[85, 10] Operation: 42-32=10 Exploring Operation: 85-32=53, Resulting Numbers: [42, 53] Generated Node #0,0,2: 19:[42, 53] Operation: 85-32=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[32, 43], Operations: ['84/2=42', '85-42=43'] Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 32+43=75, Resulting Numbers: [75] 75,19 unequal: No Solution Exploring Operation: 32*43=1376, Resulting Numbers: [1376] 1376,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,0,2 Current State: 19:[42, 53], Operations: ['84/2=42', '85-32=53'] Exploring Operation: 42+53=95, Resulting Numbers: [95] 95,19 unequal: No Solution Exploring Operation: 42*53=2226, Resulting Numbers: [2226] 2226,19 unequal: No Solution Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,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,0,1 Current State: 19:[85, 10], Operations: ['84/2=42', '42-32=10'] Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,19 unequal: No Solution Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,19 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[85, 2, 52], Operations: ['84-32=52'] Exploring Operation: 52/2=26, Resulting Numbers: [85, 26] Generated Node #0,1,0: 19:[85, 26] Operation: 52/2=26 Exploring Operation: 85-2=83, Resulting Numbers: [52, 83] Generated Node #0,1,1: 19:[52, 83] Operation: 85-2=83 Exploring Operation: 85-52=33, Resulting Numbers: [2, 33] Generated Node #0,1,2: 19:[2, 33] Operation: 85-52=33 Moving to Node #0,1,2 Current State: 19:[2, 33], Operations: ['84-32=52', '85-52=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[85, 26], Operations: ['84-32=52', '52/2=26'] Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,19 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 85*26=2210, Resulting Numbers: [2210] 2210,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[52, 83], Operations: ['84-32=52', '85-2=83'] Exploring Operation: 52+83=135, Resulting Numbers: [135] 135,19 unequal: No Solution Exploring Operation: 52*83=4316, Resulting Numbers: [4316] 4316,19 unequal: No Solution Exploring Operation: 83-52=31, Resulting Numbers: [31] 31,19 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
[ 42, 99, 25, 3 ]
29
[ "99-42=57", "25+3=28", "57-28=29" ]
Current State: 29:[42, 99, 25, 3], Operations: [] Exploring Operation: 99-42=57, Resulting Numbers: [25, 3, 57] Generated Node #2: [25, 3, 57] from Operation: 99-42=57 Current State: 29:[25, 3, 57], Operations: ['99-42=57'] Exploring Operation: 25+3=28, Resulting Numbers: [57, 28] Generated Node #3: [57, 28] from Operation: 25+3=28 Current State: 29:[57, 28], Operations: ['99-42=57', '25+3=28'] Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[42, 99, 25, 3], Operations: [] Exploring Operation: 99-42=57, Resulting Numbers: [25, 3, 57] Generated Node #0,0: 29:[25, 3, 57] Operation: 99-42=57 Exploring Operation: 99/3=33, Resulting Numbers: [42, 25, 33] Generated Node #0,1: 29:[42, 25, 33] Operation: 99/3=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[42, 25, 33], Operations: ['99/3=33'] Exploring Operation: 42-33=9, Resulting Numbers: [25, 9] Generated Node #0,1,0: 29:[25, 9] Operation: 42-33=9 Exploring Operation: 42-25=17, Resulting Numbers: [33, 17] Generated Node #0,1,1: 29:[33, 17] Operation: 42-25=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[33, 17], Operations: ['99/3=33', '42-25=17'] Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,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,0 Current State: 29:[25, 9], Operations: ['99/3=33', '42-33=9'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,29 unequal: No Solution Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[25, 3, 57], Operations: ['99-42=57'] Exploring Operation: 25+3=28, Resulting Numbers: [57, 28] Generated Node #0,0,0: 29:[57, 28] Operation: 25+3=28 Exploring Operation: 57/3=19, Resulting Numbers: [25, 19] Generated Node #0,0,1: 29:[25, 19] Operation: 57/3=19 Moving to Node #0,0,1 Current State: 29:[25, 19], Operations: ['99-42=57', '57/3=19'] Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 25+19=44, Resulting Numbers: [44] 44,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[57, 28], Operations: ['99-42=57', '25+3=28'] Exploring Operation: 57+28=85, Resulting Numbers: [85] 85,29 unequal: No Solution Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[42, 99, 25, 3], Operations: [] Exploring Operation: 99-42=57, Resulting Numbers: [25, 3, 57] Generated Node #0,0: 29:[25, 3, 57] Operation: 99-42=57 Moving to Node #0,0 Current State: 29:[25, 3, 57], Operations: ['99-42=57'] Exploring Operation: 25+3=28, Resulting Numbers: [57, 28] Generated Node #0,0,0: 29:[57, 28] Operation: 25+3=28 Moving to Node #0,0,0 Current State: 29:[57, 28], Operations: ['99-42=57', '25+3=28'] Exploring Operation: 57-28=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 3, 25, 59, 72 ]
52
[ "25+59=84", "72+84=156", "156/3=52" ]
Current State: 52:[3, 25, 59, 72], Operations: [] Exploring Operation: 25+59=84, Resulting Numbers: [3, 72, 84] Generated Node #2: [3, 72, 84] from Operation: 25+59=84 Current State: 52:[3, 72, 84], Operations: ['25+59=84'] Exploring Operation: 72+84=156, Resulting Numbers: [3, 156] Generated Node #3: [3, 156] from Operation: 72+84=156 Current State: 52:[3, 156], Operations: ['25+59=84', '72+84=156'] Exploring Operation: 156/3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[3, 25, 59, 72], Operations: [] Exploring Operation: 59-3=56, Resulting Numbers: [25, 72, 56] Generated Node #0,0: 52:[25, 72, 56] Operation: 59-3=56 Exploring Operation: 72-25=47, Resulting Numbers: [3, 59, 47] Generated Node #0,1: 52:[3, 59, 47] Operation: 72-25=47 Exploring Operation: 72-59=13, Resulting Numbers: [3, 25, 13] Generated Node #0,2: 52:[3, 25, 13] Operation: 72-59=13 Exploring Operation: 72/3=24, Resulting Numbers: [25, 59, 24] Generated Node #0,3: 52:[25, 59, 24] Operation: 72/3=24 Exploring Operation: 72-3=69, Resulting Numbers: [25, 59, 69] Generated Node #0,4: 52:[25, 59, 69] Operation: 72-3=69 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[3, 25, 13], Operations: ['72-59=13'] Exploring Operation: 25-13=12, Resulting Numbers: [3, 12] Generated Node #0,2,0: 52:[3, 12] Operation: 25-13=12 Exploring Operation: 13-3=10, Resulting Numbers: [25, 10] Generated Node #0,2,1: 52:[25, 10] Operation: 13-3=10 Exploring Operation: 25-3=22, Resulting Numbers: [13, 22] Generated Node #0,2,2: 52:[13, 22] Operation: 25-3=22 Exploring Operation: 3+25=28, Resulting Numbers: [13, 28] Generated Node #0,2,3: 52:[13, 28] Operation: 3+25=28 Exploring Operation: 3+13=16, Resulting Numbers: [25, 16] Generated Node #0,2,4: 52:[25, 16] Operation: 3+13=16 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 52:[3, 12], Operations: ['72-59=13', '25-13=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 52:[13, 28], Operations: ['72-59=13', '3+25=28'] Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,52 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 52:[25, 10], Operations: ['72-59=13', '13-3=10'] Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,52 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 52:[13, 22], Operations: ['72-59=13', '25-3=22'] Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,52 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 52:[25, 16], Operations: ['72-59=13', '3+13=16'] Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,52 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[25, 59, 24], Operations: ['72/3=24'] Exploring Operation: 25-24=1, Resulting Numbers: [59, 1] Generated Node #0,3,0: 52:[59, 1] Operation: 25-24=1 Exploring Operation: 59+24=83, Resulting Numbers: [25, 83] Generated Node #0,3,1: 52:[25, 83] Operation: 59+24=83 Exploring Operation: 25+24=49, Resulting Numbers: [59, 49] Generated Node #0,3,2: 52:[59, 49] Operation: 25+24=49 Exploring Operation: 59-24=35, Resulting Numbers: [25, 35] Generated Node #0,3,3: 52:[25, 35] Operation: 59-24=35 Exploring Operation: 59-25=34, Resulting Numbers: [24, 34] Generated Node #0,3,4: 52:[24, 34] Operation: 59-25=34 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 52:[59, 1], Operations: ['72/3=24', '25-24=1'] Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 52:[59, 49], Operations: ['72/3=24', '25+24=49'] Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 59*49=2891, Resulting Numbers: [2891] 2891,52 unequal: No Solution Exploring Operation: 59+49=108, Resulting Numbers: [108] 108,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 52:[25, 35], Operations: ['72/3=24', '59-24=35'] Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 25*35=875, Resulting Numbers: [875] 875,52 unequal: No Solution Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 52:[24, 34], Operations: ['72/3=24', '59-25=34'] Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,52 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 52:[25, 83], Operations: ['72/3=24', '59+24=83'] Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 25+83=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 25*83=2075, Resulting Numbers: [2075] 2075,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[3, 59, 47], Operations: ['72-25=47'] Exploring Operation: 3+59=62, Resulting Numbers: [47, 62] Generated Node #0,1,0: 52:[47, 62] Operation: 3+59=62 Exploring Operation: 59-47=12, Resulting Numbers: [3, 12] Generated Node #0,1,1: 52:[3, 12] Operation: 59-47=12 Exploring Operation: 59-3=56, Resulting Numbers: [47, 56] Generated Node #0,1,2: 52:[47, 56] Operation: 59-3=56 Exploring Operation: 3+47=50, Resulting Numbers: [59, 50] Generated Node #0,1,3: 52:[59, 50] Operation: 3+47=50 Exploring Operation: 47-3=44, Resulting Numbers: [59, 44] Generated Node #0,1,4: 52:[59, 44] Operation: 47-3=44 Moving to Node #0,1,1 Current State: 52:[3, 12], Operations: ['72-25=47', '59-47=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[59, 50], Operations: ['72-25=47', '3+47=50'] Exploring Operation: 59*50=2950, Resulting Numbers: [2950] 2950,52 unequal: No Solution Exploring Operation: 59+50=109, Resulting Numbers: [109] 109,52 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[47, 56], Operations: ['72-25=47', '59-3=56'] Exploring Operation: 47*56=2632, Resulting Numbers: [2632] 2632,52 unequal: No Solution Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 47+56=103, Resulting Numbers: [103] 103,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[47, 62], Operations: ['72-25=47', '3+59=62'] Exploring Operation: 47*62=2914, Resulting Numbers: [2914] 2914,52 unequal: No Solution Exploring Operation: 62-47=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 47+62=109, Resulting Numbers: [109] 109,52 unequal: No Solution Moving to Node #0,1,4 Current State: 52:[59, 44], Operations: ['72-25=47', '47-3=44'] Exploring Operation: 59*44=2596, Resulting Numbers: [2596] 2596,52 unequal: No Solution Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 59+44=103, Resulting Numbers: [103] 103,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,0 Current State: 52:[25, 72, 56], Operations: ['59-3=56'] Exploring Operation: 72-25=47, Resulting Numbers: [56, 47] Generated Node #0,0,0: 52:[56, 47] Operation: 72-25=47 Exploring Operation: 56-25=31, Resulting Numbers: [72, 31] Generated Node #0,0,1: 52:[72, 31] Operation: 56-25=31 Exploring Operation: 25+72=97, Resulting Numbers: [56, 97] Generated Node #0,0,2: 52:[56, 97] Operation: 25+72=97 Exploring Operation: 72-56=16, Resulting Numbers: [25, 16] Generated Node #0,0,3: 52:[25, 16] Operation: 72-56=16 Exploring Operation: 25+56=81, Resulting Numbers: [72, 81] Generated Node #0,0,4: 52:[72, 81] Operation: 25+56=81 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 52:[25, 16], Operations: ['59-3=56', '72-56=16'] Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,52 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[56, 47], Operations: ['59-3=56', '72-25=47'] Exploring Operation: 56-47=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 56+47=103, Resulting Numbers: [103] 103,52 unequal: No Solution Exploring Operation: 56*47=2632, Resulting Numbers: [2632] 2632,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[72, 31], Operations: ['59-3=56', '56-25=31'] Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 72+31=103, Resulting Numbers: [103] 103,52 unequal: No Solution Exploring Operation: 72*31=2232, Resulting Numbers: [2232] 2232,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 52:[56, 97], Operations: ['59-3=56', '25+72=97'] Exploring Operation: 56*97=5432, Resulting Numbers: [5432] 5432,52 unequal: No Solution Exploring Operation: 97-56=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 56+97=153, Resulting Numbers: [153] 153,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 52:[72, 81], Operations: ['59-3=56', '25+56=81'] Exploring Operation: 72*81=5832, Resulting Numbers: [5832] 5832,52 unequal: No Solution Exploring Operation: 72+81=153, Resulting Numbers: [153] 153,52 unequal: No Solution Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 52:[25, 59, 69], Operations: ['72-3=69'] Exploring Operation: 69-25=44, Resulting Numbers: [59, 44] Generated Node #0,4,0: 52:[59, 44] Operation: 69-25=44 Exploring Operation: 69-59=10, Resulting Numbers: [25, 10] Generated Node #0,4,1: 52:[25, 10] Operation: 69-59=10 Exploring Operation: 25+69=94, Resulting Numbers: [59, 94] Generated Node #0,4,2: 52:[59, 94] Operation: 25+69=94 Exploring Operation: 59-25=34, Resulting Numbers: [69, 34] Generated Node #0,4,3: 52:[69, 34] Operation: 59-25=34 Exploring Operation: 25+59=84, Resulting Numbers: [69, 84] Generated Node #0,4,4: 52:[69, 84] Operation: 25+59=84 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 52:[25, 10], Operations: ['72-3=69', '69-59=10'] Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,52 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 52:[59, 44], Operations: ['72-3=69', '69-25=44'] Exploring Operation: 59+44=103, Resulting Numbers: [103] 103,52 unequal: No Solution Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 59*44=2596, Resulting Numbers: [2596] 2596,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 52:[69, 34], Operations: ['72-3=69', '59-25=34'] Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 69+34=103, Resulting Numbers: [103] 103,52 unequal: No Solution Exploring Operation: 69*34=2346, Resulting Numbers: [2346] 2346,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 52:[59, 94], Operations: ['72-3=69', '25+69=94'] Exploring Operation: 94-59=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 59*94=5546, Resulting Numbers: [5546] 5546,52 unequal: No Solution Exploring Operation: 59+94=153, Resulting Numbers: [153] 153,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 52:[69, 84], Operations: ['72-3=69', '25+59=84'] Exploring Operation: 69*84=5796, Resulting Numbers: [5796] 5796,52 unequal: No Solution Exploring Operation: 69+84=153, Resulting Numbers: [153] 153,52 unequal: No Solution Exploring Operation: 84-69=15, Resulting Numbers: [15] 15,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 86, 18, 43, 80 ]
71
[ "86/43=2", "18/2=9", "80-9=71" ]
Current State: 71:[86, 18, 43, 80], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [18, 80, 2] Generated Node #2: [18, 80, 2] from Operation: 86/43=2 Current State: 71:[18, 80, 2], Operations: ['86/43=2'] Exploring Operation: 18/2=9, Resulting Numbers: [80, 9] Generated Node #3: [80, 9] from Operation: 18/2=9 Current State: 71:[80, 9], Operations: ['86/43=2', '18/2=9'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[86, 18, 43, 80], Operations: [] Exploring Operation: 86-18=68, Resulting Numbers: [43, 80, 68] Generated Node #0,0: 71:[43, 80, 68] Operation: 86-18=68 Exploring Operation: 18+43=61, Resulting Numbers: [86, 80, 61] Generated Node #0,1: 71:[86, 80, 61] Operation: 18+43=61 Exploring Operation: 80-18=62, Resulting Numbers: [86, 43, 62] Generated Node #0,2: 71:[86, 43, 62] Operation: 80-18=62 Exploring Operation: 86+18=104, Resulting Numbers: [43, 80, 104] Generated Node #0,3: 71:[43, 80, 104] Operation: 86+18=104 Moving to Node #0,1 Current State: 71:[86, 80, 61], Operations: ['18+43=61'] Exploring Operation: 86-61=25, Resulting Numbers: [80, 25] Generated Node #0,1,0: 71:[80, 25] Operation: 86-61=25 Exploring Operation: 86+61=147, Resulting Numbers: [80, 147] Generated Node #0,1,1: 71:[80, 147] Operation: 86+61=147 Exploring Operation: 86-80=6, Resulting Numbers: [61, 6] Generated Node #0,1,2: 71:[61, 6] Operation: 86-80=6 Exploring Operation: 80-61=19, Resulting Numbers: [86, 19] Generated Node #0,1,3: 71:[86, 19] Operation: 80-61=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[80, 25], Operations: ['18+43=61', '86-61=25'] Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,71 unequal: No Solution Exploring Operation: 80+25=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 80*25=2000, Resulting Numbers: [2000] 2000,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[86, 19], Operations: ['18+43=61', '80-61=19'] Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,71 unequal: No Solution Exploring Operation: 86*19=1634, Resulting Numbers: [1634] 1634,71 unequal: No Solution Exploring Operation: 86+19=105, Resulting Numbers: [105] 105,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[61, 6], Operations: ['18+43=61', '86-80=6'] Exploring Operation: 61*6=366, Resulting Numbers: [366] 366,71 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,71 unequal: No Solution Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[80, 147], Operations: ['18+43=61', '86+61=147'] Exploring Operation: 147-80=67, Resulting Numbers: [67] 67,71 unequal: No Solution Exploring Operation: 80+147=227, Resulting Numbers: [227] 227,71 unequal: No Solution Exploring Operation: 80*147=11760, Resulting Numbers: [11760] 11760,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 71:[43, 80, 68], Operations: ['86-18=68'] Exploring Operation: 43+80=123, Resulting Numbers: [68, 123] Generated Node #0,0,0: 71:[68, 123] Operation: 43+80=123 Exploring Operation: 68-43=25, Resulting Numbers: [80, 25] Generated Node #0,0,1: 71:[80, 25] Operation: 68-43=25 Exploring Operation: 43+68=111, Resulting Numbers: [80, 111] Generated Node #0,0,2: 71:[80, 111] Operation: 43+68=111 Exploring Operation: 80-43=37, Resulting Numbers: [68, 37] Generated Node #0,0,3: 71:[68, 37] Operation: 80-43=37 Moving to Node #0,2 Current State: 71:[86, 43, 62], Operations: ['80-18=62'] Exploring Operation: 86-43=43, Resulting Numbers: [62, 43] Generated Node #0,2,0: 71:[62, 43] Operation: 86-43=43 Exploring Operation: 62-43=19, Resulting Numbers: [86, 19] Generated Node #0,2,1: 71:[86, 19] Operation: 62-43=19 Exploring Operation: 86+43=129, Resulting Numbers: [62, 129] Generated Node #0,2,2: 71:[62, 129] Operation: 86+43=129 Exploring Operation: 43+62=105, Resulting Numbers: [86, 105] Generated Node #0,2,3: 71:[86, 105] Operation: 43+62=105 Moving to Node #0,3 Current State: 71:[43, 80, 104], Operations: ['86+18=104'] Exploring Operation: 80-43=37, Resulting Numbers: [104, 37] Generated Node #0,3,0: 71:[104, 37] Operation: 80-43=37 Exploring Operation: 104-80=24, Resulting Numbers: [43, 24] Generated Node #0,3,1: 71:[43, 24] Operation: 104-80=24 Exploring Operation: 43+80=123, Resulting Numbers: [104, 123] Generated Node #0,3,2: 71:[104, 123] Operation: 43+80=123 Exploring Operation: 104-43=61, Resulting Numbers: [80, 61] Generated Node #0,3,3: 71:[80, 61] Operation: 104-43=61 Moving to Node #0,3,3 Current State: 71:[80, 61], Operations: ['86+18=104', '104-43=61'] Exploring Operation: 80+61=141, Resulting Numbers: [141] 141,71 unequal: No Solution Exploring Operation: 80-61=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 80*61=4880, Resulting Numbers: [4880] 4880,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[68, 37], Operations: ['86-18=68', '80-43=37'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 68+37=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 68*37=2516, Resulting Numbers: [2516] 2516,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[62, 43], Operations: ['80-18=62', '86-43=43'] Exploring Operation: 62-43=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 62+43=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 62*43=2666, Resulting Numbers: [2666] 2666,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[86, 105], Operations: ['80-18=62', '43+62=105'] Exploring Operation: 86*105=9030, Resulting Numbers: [9030] 9030,71 unequal: No Solution Exploring Operation: 105-86=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 86+105=191, Resulting Numbers: [191] 191,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[80, 111], Operations: ['86-18=68', '43+68=111'] Exploring Operation: 80+111=191, Resulting Numbers: [191] 191,71 unequal: No Solution Exploring Operation: 111-80=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 80*111=8880, Resulting Numbers: [8880] 8880,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[68, 123], Operations: ['86-18=68', '43+80=123'] Exploring Operation: 68+123=191, Resulting Numbers: [191] 191,71 unequal: No Solution Exploring Operation: 123-68=55, Resulting Numbers: [55] 55,71 unequal: No Solution Exploring Operation: 68*123=8364, Resulting Numbers: [8364] 8364,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[80, 25], Operations: ['86-18=68', '68-43=25'] Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,71 unequal: No Solution Exploring Operation: 80+25=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 80*25=2000, Resulting Numbers: [2000] 2000,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[86, 19], Operations: ['80-18=62', '62-43=19'] Exploring Operation: 86*19=1634, Resulting Numbers: [1634] 1634,71 unequal: No Solution Exploring Operation: 86+19=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[104, 37], Operations: ['86+18=104', '80-43=37'] Exploring Operation: 104+37=141, Resulting Numbers: [141] 141,71 unequal: No Solution Exploring Operation: 104*37=3848, Resulting Numbers: [3848] 3848,71 unequal: No Solution Exploring Operation: 104-37=67, Resulting Numbers: [67] 67,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[62, 129], Operations: ['80-18=62', '86+43=129'] Exploring Operation: 62*129=7998, Resulting Numbers: [7998] 7998,71 unequal: No Solution Exploring Operation: 129-62=67, Resulting Numbers: [67] 67,71 unequal: No Solution Exploring Operation: 62+129=191, Resulting Numbers: [191] 191,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[43, 24], Operations: ['86+18=104', '104-80=24'] Exploring Operation: 43*24=1032, Resulting Numbers: [1032] 1032,71 unequal: No Solution Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[104, 123], Operations: ['86+18=104', '43+80=123'] Exploring Operation: 104*123=12792, Resulting Numbers: [12792] 12792,71 unequal: No Solution Exploring Operation: 104+123=227, Resulting Numbers: [227] 227,71 unequal: No Solution Exploring Operation: 123-104=19, Resulting Numbers: [19] 19,71 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 87, 5, 85, 81 ]
43
[ "87-85=2", "5+81=86", "86/2=43" ]
Current State: 43:[87, 5, 85, 81], Operations: [] Exploring Operation: 87-85=2, Resulting Numbers: [5, 81, 2] Generated Node #2: [5, 81, 2] from Operation: 87-85=2 Current State: 43:[5, 81, 2], Operations: ['87-85=2'] Exploring Operation: 5+81=86, Resulting Numbers: [2, 86] Generated Node #3: [2, 86] from Operation: 5+81=86 Current State: 43:[2, 86], Operations: ['87-85=2', '5+81=86'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[87, 5, 85, 81], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [87, 81, 17] Generated Node #0,0: 43:[87, 81, 17] Operation: 85/5=17 Moving to Node #0,0 Current State: 43:[87, 81, 17], Operations: ['85/5=17'] Exploring Operation: 87-81=6, Resulting Numbers: [17, 6] Generated Node #0,0,0: 43:[17, 6] Operation: 87-81=6 Moving to Node #0,0,0 Current State: 43:[17, 6], Operations: ['85/5=17', '87-81=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,43 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 63, 26, 69, 63 ]
43
[ "63+26=89", "69+63=132", "132-89=43" ]
Current State: 43:[63, 26, 69, 63], Operations: [] Exploring Operation: 63+26=89, Resulting Numbers: [69, 89] Generated Node #2: [69, 89] from Operation: 63+26=89 Current State: 43:[69, 89], Operations: ['63+26=89'] Exploring Operation: 69+63=132, Resulting Numbers: [89, 132] Generated Node #3: [89, 132] from Operation: 69+63=132 Current State: 43:[89, 132], Operations: ['63+26=89', '69+63=132'] Exploring Operation: 132-89=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[63, 26, 69, 63], Operations: [] Exploring Operation: 63-26=37, Resulting Numbers: [63, 69, 37] Generated Node #0,0: 43:[63, 69, 37] Operation: 63-26=37 Exploring Operation: 69-63=6, Resulting Numbers: [63, 26, 6] Generated Node #0,1: 43:[63, 26, 6] Operation: 69-63=6 Exploring Operation: 69-26=43, Resulting Numbers: [63, 63, 43] Generated Node #0,2: 43:[63, 63, 43] Operation: 69-26=43 Exploring Operation: 63-26=37, Resulting Numbers: [69, 63, 37] Generated Node #0,3: 43:[69, 63, 37] Operation: 63-26=37 Exploring Operation: 69-63=6, Resulting Numbers: [26, 63, 6] Generated Node #0,4: 43:[26, 63, 6] Operation: 69-63=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[63, 63, 43], Operations: ['69-26=43'] Exploring Operation: 63/63=1, Resulting Numbers: [43, 1] Generated Node #0,2,0: 43:[43, 1] Operation: 63/63=1 Exploring Operation: 63-63=0, Resulting Numbers: [43, 0] Generated Node #0,2,1: 43:[43, 0] Operation: 63-63=0 Exploring Operation: 63-43=20, Resulting Numbers: [63, 20] Generated Node #0,2,2: 43:[63, 20] Operation: 63-43=20 Exploring Operation: 63-43=20, Resulting Numbers: [63, 20] Generated Node #0,2,3: 43:[63, 20] Operation: 63-43=20 Exploring Operation: 63+63=126, Resulting Numbers: [43, 126] Generated Node #0,2,4: 43:[43, 126] Operation: 63+63=126 Moving to Node #0,2,0 Current State: 43:[43, 1], Operations: ['69-26=43', '63/63=1'] Exploring Operation: 43+1=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[63, 26, 69, 63], Operations: [] Exploring Operation: 69-26=43, Resulting Numbers: [63, 63, 43] Generated Node #0,2: 43:[63, 63, 43] Operation: 69-26=43 Moving to Node #0,2 Current State: 43:[63, 63, 43], Operations: ['69-26=43'] Exploring Operation: 63/63=1, Resulting Numbers: [43, 1] Generated Node #0,2,0: 43:[43, 1] Operation: 63/63=1 Moving to Node #0,2,0 Current State: 43:[43, 1], Operations: ['69-26=43', '63/63=1'] Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 38, 27, 68, 64 ]
67
[ "38+27=65", "68+64=132", "132-65=67" ]
Current State: 67:[38, 27, 68, 64], Operations: [] Exploring Operation: 38+27=65, Resulting Numbers: [68, 64, 65] Generated Node #2: [68, 64, 65] from Operation: 38+27=65 Current State: 67:[68, 64, 65], Operations: ['38+27=65'] Exploring Operation: 68+64=132, Resulting Numbers: [65, 132] Generated Node #3: [65, 132] from Operation: 68+64=132 Current State: 67:[65, 132], Operations: ['38+27=65', '68+64=132'] Exploring Operation: 132-65=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[38, 27, 68, 64], Operations: [] Exploring Operation: 27+64=91, Resulting Numbers: [38, 68, 91] Generated Node #0,0: 67:[38, 68, 91] Operation: 27+64=91 Exploring Operation: 38+27=65, Resulting Numbers: [68, 64, 65] Generated Node #0,1: 67:[68, 64, 65] Operation: 38+27=65 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[68, 64, 65], Operations: ['38+27=65'] Exploring Operation: 68-64=4, Resulting Numbers: [65, 4] Generated Node #0,1,0: 67:[65, 4] Operation: 68-64=4 Exploring Operation: 64+65=129, Resulting Numbers: [68, 129] Generated Node #0,1,1: 67:[68, 129] Operation: 64+65=129 Moving to Node #0,1,1 Current State: 67:[68, 129], Operations: ['38+27=65', '64+65=129'] Exploring Operation: 129-68=61, Resulting Numbers: [61] 61,67 unequal: No Solution Exploring Operation: 68+129=197, Resulting Numbers: [197] 197,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[65, 4], Operations: ['38+27=65', '68-64=4'] Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[38, 68, 91], Operations: ['27+64=91'] Exploring Operation: 91-38=53, Resulting Numbers: [68, 53] Generated Node #0,0,0: 67:[68, 53] Operation: 91-38=53 Exploring Operation: 68-38=30, Resulting Numbers: [91, 30] Generated Node #0,0,1: 67:[91, 30] Operation: 68-38=30 Moving to Node #0,0,0 Current State: 67:[68, 53], Operations: ['27+64=91', '91-38=53'] Exploring Operation: 68-53=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 68+53=121, Resulting Numbers: [121] 121,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[91, 30], Operations: ['27+64=91', '68-38=30'] Exploring Operation: 91+30=121, Resulting Numbers: [121] 121,67 unequal: No Solution Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,67 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
[ 2, 43, 30, 64 ]
41
[ "2+30=32", "64/32=2", "43-2=41" ]
Current State: 41:[2, 43, 30, 64], Operations: [] Exploring Operation: 2+30=32, Resulting Numbers: [43, 64, 32] Generated Node #2: [43, 64, 32] from Operation: 2+30=32 Current State: 41:[43, 64, 32], Operations: ['2+30=32'] Exploring Operation: 64/32=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 64/32=2 Current State: 41:[43, 2], Operations: ['2+30=32', '64/32=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[2, 43, 30, 64], Operations: [] Exploring Operation: 43-2=41, Resulting Numbers: [30, 64, 41] Generated Node #0,0: 41:[30, 64, 41] Operation: 43-2=41 Exploring Operation: 2+30=32, Resulting Numbers: [43, 64, 32] Generated Node #0,1: 41:[43, 64, 32] Operation: 2+30=32 Exploring Operation: 64/2=32, Resulting Numbers: [43, 30, 32] Generated Node #0,2: 41:[43, 30, 32] Operation: 64/2=32 Moving to Node #0,2 Current State: 41:[43, 30, 32], Operations: ['64/2=32'] Exploring Operation: 30+32=62, Resulting Numbers: [43, 62] Generated Node #0,2,0: 41:[43, 62] Operation: 30+32=62 Exploring Operation: 43+30=73, Resulting Numbers: [32, 73] Generated Node #0,2,1: 41:[32, 73] Operation: 43+30=73 Exploring Operation: 43-30=13, Resulting Numbers: [32, 13] Generated Node #0,2,2: 41:[32, 13] Operation: 43-30=13 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[43, 62], Operations: ['64/2=32', '30+32=62'] Exploring Operation: 62-43=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 43+62=105, Resulting Numbers: [105] 105,41 unequal: No Solution Exploring Operation: 43*62=2666, Resulting Numbers: [2666] 2666,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[32, 13], Operations: ['64/2=32', '43-30=13'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,41 unequal: No Solution Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[32, 73], Operations: ['64/2=32', '43+30=73'] Exploring Operation: 32+73=105, Resulting Numbers: [105] 105,41 unequal: No Solution Exploring Operation: 32*73=2336, Resulting Numbers: [2336] 2336,41 unequal: No Solution Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[2, 43, 30, 64], Operations: [] Exploring Operation: 64/2=32, Resulting Numbers: [43, 30, 32] Generated Node #0,2: 41:[43, 30, 32] Operation: 64/2=32 Moving to Node #0,2 Current State: 41:[43, 30, 32], Operations: ['64/2=32'] Exploring Operation: 43+30=73, Resulting Numbers: [32, 73] Generated Node #0,2,1: 41:[32, 73] Operation: 43+30=73 Moving to Node #0,2,1 Current State: 41:[32, 73], Operations: ['64/2=32', '43+30=73'] Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 19, 97, 79, 27 ]
26
[ "97-19=78", "79-27=52", "78-52=26" ]
Current State: 26:[19, 97, 79, 27], Operations: [] Exploring Operation: 97-19=78, Resulting Numbers: [79, 27, 78] Generated Node #2: [79, 27, 78] from Operation: 97-19=78 Current State: 26:[79, 27, 78], Operations: ['97-19=78'] Exploring Operation: 79-27=52, Resulting Numbers: [78, 52] Generated Node #3: [78, 52] from Operation: 79-27=52 Current State: 26:[78, 52], Operations: ['97-19=78', '79-27=52'] Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[19, 97, 79, 27], Operations: [] Exploring Operation: 97-19=78, Resulting Numbers: [79, 27, 78] Generated Node #0,0: 26:[79, 27, 78] Operation: 97-19=78 Exploring Operation: 79-27=52, Resulting Numbers: [19, 97, 52] Generated Node #0,1: 26:[19, 97, 52] Operation: 79-27=52 Exploring Operation: 97-79=18, Resulting Numbers: [19, 27, 18] Generated Node #0,2: 26:[19, 27, 18] Operation: 97-79=18 Exploring Operation: 97-27=70, Resulting Numbers: [19, 79, 70] Generated Node #0,3: 26:[19, 79, 70] Operation: 97-27=70 Moving to Node #0,2 Current State: 26:[19, 27, 18], Operations: ['97-79=18'] Exploring Operation: 19-18=1, Resulting Numbers: [27, 1] Generated Node #0,2,0: 26:[27, 1] Operation: 19-18=1 Exploring Operation: 27-19=8, Resulting Numbers: [18, 8] Generated Node #0,2,1: 26:[18, 8] Operation: 27-19=8 Exploring Operation: 27-18=9, Resulting Numbers: [19, 9] Generated Node #0,2,2: 26:[19, 9] Operation: 27-18=9 Exploring Operation: 19+18=37, Resulting Numbers: [27, 37] Generated Node #0,2,3: 26:[27, 37] Operation: 19+18=37 Moving to Node #0,3 Current State: 26:[19, 79, 70], Operations: ['97-27=70'] Exploring Operation: 19+79=98, Resulting Numbers: [70, 98] Generated Node #0,3,0: 26:[70, 98] Operation: 19+79=98 Exploring Operation: 70-19=51, Resulting Numbers: [79, 51] Generated Node #0,3,1: 26:[79, 51] Operation: 70-19=51 Exploring Operation: 79-70=9, Resulting Numbers: [19, 9] Generated Node #0,3,2: 26:[19, 9] Operation: 79-70=9 Exploring Operation: 79-19=60, Resulting Numbers: [70, 60] Generated Node #0,3,3: 26:[70, 60] Operation: 79-19=60 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 26:[19, 9], Operations: ['97-27=70', '79-70=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 26:[79, 51], Operations: ['97-27=70', '70-19=51'] Exploring Operation: 79+51=130, Resulting Numbers: [130] 130,26 unequal: No Solution Exploring Operation: 79-51=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 79*51=4029, Resulting Numbers: [4029] 4029,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 26:[70, 60], Operations: ['97-27=70', '79-19=60'] Exploring Operation: 70*60=4200, Resulting Numbers: [4200] 4200,26 unequal: No Solution Exploring Operation: 70+60=130, Resulting Numbers: [130] 130,26 unequal: No Solution Exploring Operation: 70-60=10, Resulting Numbers: [10] 10,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 26:[70, 98], Operations: ['97-27=70', '19+79=98'] Exploring Operation: 70+98=168, Resulting Numbers: [168] 168,26 unequal: No Solution Exploring Operation: 70*98=6860, Resulting Numbers: [6860] 6860,26 unequal: No Solution Exploring Operation: 98-70=28, Resulting Numbers: [28] 28,26 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: 26:[19, 97, 52], Operations: ['79-27=52'] Exploring Operation: 19+97=116, Resulting Numbers: [52, 116] Generated Node #0,1,0: 26:[52, 116] Operation: 19+97=116 Exploring Operation: 97-52=45, Resulting Numbers: [19, 45] Generated Node #0,1,1: 26:[19, 45] Operation: 97-52=45 Exploring Operation: 52-19=33, Resulting Numbers: [97, 33] Generated Node #0,1,2: 26:[97, 33] Operation: 52-19=33 Exploring Operation: 97-19=78, Resulting Numbers: [52, 78] Generated Node #0,1,3: 26:[52, 78] Operation: 97-19=78 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[19, 45], Operations: ['79-27=52', '97-52=45'] Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,26 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[19, 97, 79, 27], Operations: [] Exploring Operation: 79-27=52, Resulting Numbers: [19, 97, 52] Generated Node #0,1: 26:[19, 97, 52] Operation: 79-27=52 Moving to Node #0,1 Current State: 26:[19, 97, 52], Operations: ['79-27=52'] Exploring Operation: 97-52=45, Resulting Numbers: [19, 45] Generated Node #0,1,1: 26:[19, 45] Operation: 97-52=45 Moving to Node #0,1,1 Current State: 26:[19, 45], Operations: ['79-27=52', '97-52=45'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 5, 7, 49, 67 ]
65
[ "5+67=72", "49/7=7", "72-7=65" ]
Current State: 65:[5, 7, 49, 67], Operations: [] Exploring Operation: 5+67=72, Resulting Numbers: [7, 49, 72] Generated Node #2: [7, 49, 72] from Operation: 5+67=72 Current State: 65:[7, 49, 72], Operations: ['5+67=72'] Exploring Operation: 49/7=7, Resulting Numbers: [72, 7] Generated Node #3: [72, 7] from Operation: 49/7=7 Current State: 65:[72, 7], Operations: ['5+67=72', '49/7=7'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[5, 7, 49, 67], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [5, 67, 7] Generated Node #0,0: 65:[5, 67, 7] Operation: 49/7=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[5, 67, 7], Operations: ['49/7=7'] Exploring Operation: 5+7=12, Resulting Numbers: [67, 12] Generated Node #0,0,0: 65:[67, 12] Operation: 5+7=12 Moving to Node #0,0,0 Current State: 65:[67, 12], Operations: ['49/7=7', '5+7=12'] Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,65 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
[ 55, 19, 62, 24 ]
53
[ "62-24=38", "38/19=2", "55-2=53" ]
Current State: 53:[55, 19, 62, 24], Operations: [] Exploring Operation: 62-24=38, Resulting Numbers: [55, 19, 38] Generated Node #2: [55, 19, 38] from Operation: 62-24=38 Current State: 53:[55, 19, 38], Operations: ['62-24=38'] Exploring Operation: 38/19=2, Resulting Numbers: [55, 2] Generated Node #3: [55, 2] from Operation: 38/19=2 Current State: 53:[55, 2], Operations: ['62-24=38', '38/19=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[55, 19, 62, 24], Operations: [] Exploring Operation: 19+24=43, Resulting Numbers: [55, 62, 43] Generated Node #0,0: 53:[55, 62, 43] Operation: 19+24=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[55, 62, 43], Operations: ['19+24=43'] Exploring Operation: 62-43=19, Resulting Numbers: [55, 19] Generated Node #0,0,0: 53:[55, 19] Operation: 62-43=19 Moving to Node #0,0,0 Current State: 53:[55, 19], Operations: ['19+24=43', '62-43=19'] Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,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
[ 78, 30, 40, 26 ]
34
[ "78-30=48", "40-26=14", "48-14=34" ]
Current State: 34:[78, 30, 40, 26], Operations: [] Exploring Operation: 78-30=48, Resulting Numbers: [40, 26, 48] Generated Node #2: [40, 26, 48] from Operation: 78-30=48 Current State: 34:[40, 26, 48], Operations: ['78-30=48'] Exploring Operation: 40-26=14, Resulting Numbers: [48, 14] Generated Node #3: [48, 14] from Operation: 40-26=14 Current State: 34:[48, 14], Operations: ['78-30=48', '40-26=14'] Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[78, 30, 40, 26], Operations: [] Exploring Operation: 78-26=52, Resulting Numbers: [30, 40, 52] Generated Node #0,0: 34:[30, 40, 52] Operation: 78-26=52 Exploring Operation: 78/26=3, Resulting Numbers: [30, 40, 3] Generated Node #0,1: 34:[30, 40, 3] Operation: 78/26=3 Exploring Operation: 40-26=14, Resulting Numbers: [78, 30, 14] Generated Node #0,2: 34:[78, 30, 14] Operation: 40-26=14 Exploring Operation: 78-30=48, Resulting Numbers: [40, 26, 48] Generated Node #0,3: 34:[40, 26, 48] Operation: 78-30=48 Exploring Operation: 78-40=38, Resulting Numbers: [30, 26, 38] Generated Node #0,4: 34:[30, 26, 38] Operation: 78-40=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[30, 40, 3], Operations: ['78/26=3'] Exploring Operation: 40-30=10, Resulting Numbers: [3, 10] Generated Node #0,1,0: 34:[3, 10] Operation: 40-30=10 Exploring Operation: 30-3=27, Resulting Numbers: [40, 27] Generated Node #0,1,1: 34:[40, 27] Operation: 30-3=27 Exploring Operation: 30+3=33, Resulting Numbers: [40, 33] Generated Node #0,1,2: 34:[40, 33] Operation: 30+3=33 Exploring Operation: 30/3=10, Resulting Numbers: [40, 10] Generated Node #0,1,3: 34:[40, 10] Operation: 30/3=10 Exploring Operation: 40-3=37, Resulting Numbers: [30, 37] Generated Node #0,1,4: 34:[30, 37] Operation: 40-3=37 Moving to Node #0,1,2 Current State: 34:[40, 33], Operations: ['78/26=3', '30+3=33'] Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,34 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 40*33=1320, Resulting Numbers: [1320] 1320,34 unequal: No Solution Moving to Node #0,1,4 Current State: 34:[30, 37], Operations: ['78/26=3', '40-3=37'] Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 30+37=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 30*37=1110, Resulting Numbers: [1110] 1110,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[3, 10], Operations: ['78/26=3', '40-30=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[40, 27], Operations: ['78/26=3', '30-3=27'] Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 40*27=1080, Resulting Numbers: [1080] 1080,34 unequal: No Solution Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[40, 10], Operations: ['78/26=3', '30/3=10'] Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 40*10=400, Resulting Numbers: [400] 400,34 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,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,4 Current State: 34:[30, 26, 38], Operations: ['78-40=38'] Exploring Operation: 30+26=56, Resulting Numbers: [38, 56] Generated Node #0,4,0: 34:[38, 56] Operation: 30+26=56 Exploring Operation: 38-30=8, Resulting Numbers: [26, 8] Generated Node #0,4,1: 34:[26, 8] Operation: 38-30=8 Exploring Operation: 30-26=4, Resulting Numbers: [38, 4] Generated Node #0,4,2: 34:[38, 4] Operation: 30-26=4 Exploring Operation: 26+38=64, Resulting Numbers: [30, 64] Generated Node #0,4,3: 34:[30, 64] Operation: 26+38=64 Exploring Operation: 38-26=12, Resulting Numbers: [30, 12] Generated Node #0,4,4: 34:[30, 12] Operation: 38-26=12 Moving to Node #0,4,2 Current State: 34:[38, 4], Operations: ['78-40=38', '30-26=4'] Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,34 unequal: No Solution Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[78, 30, 40, 26], Operations: [] Exploring Operation: 78-40=38, Resulting Numbers: [30, 26, 38] Generated Node #0,4: 34:[30, 26, 38] Operation: 78-40=38 Moving to Node #0,4 Current State: 34:[30, 26, 38], Operations: ['78-40=38'] Exploring Operation: 30-26=4, Resulting Numbers: [38, 4] Generated Node #0,4,2: 34:[38, 4] Operation: 30-26=4 Moving to Node #0,4,2 Current State: 34:[38, 4], Operations: ['78-40=38', '30-26=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 52, 80, 71, 41 ]
58
[ "80-52=28", "71-41=30", "28+30=58" ]
Current State: 58:[52, 80, 71, 41], Operations: [] Exploring Operation: 80-52=28, Resulting Numbers: [71, 41, 28] Generated Node #2: [71, 41, 28] from Operation: 80-52=28 Current State: 58:[71, 41, 28], Operations: ['80-52=28'] Exploring Operation: 71-41=30, Resulting Numbers: [28, 30] Generated Node #3: [28, 30] from Operation: 71-41=30 Current State: 58:[28, 30], Operations: ['80-52=28', '71-41=30'] Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[52, 80, 71, 41], Operations: [] Exploring Operation: 80-71=9, Resulting Numbers: [52, 41, 9] Generated Node #0,0: 58:[52, 41, 9] Operation: 80-71=9 Exploring Operation: 80-52=28, Resulting Numbers: [71, 41, 28] Generated Node #0,1: 58:[71, 41, 28] Operation: 80-52=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[52, 41, 9], Operations: ['80-71=9'] Exploring Operation: 41+9=50, Resulting Numbers: [52, 50] Generated Node #0,0,0: 58:[52, 50] Operation: 41+9=50 Exploring Operation: 41-9=32, Resulting Numbers: [52, 32] Generated Node #0,0,1: 58:[52, 32] Operation: 41-9=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[52, 32], Operations: ['80-71=9', '41-9=32'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 52+32=84, Resulting Numbers: [84] 84,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,0 Current State: 58:[52, 50], Operations: ['80-71=9', '41+9=50'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[71, 41, 28], Operations: ['80-52=28'] Exploring Operation: 41+28=69, Resulting Numbers: [71, 69] Generated Node #0,1,0: 58:[71, 69] Operation: 41+28=69 Exploring Operation: 71-41=30, Resulting Numbers: [28, 30] Generated Node #0,1,1: 58:[28, 30] Operation: 71-41=30 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[28, 30], Operations: ['80-52=28', '71-41=30'] Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[52, 80, 71, 41], Operations: [] Exploring Operation: 80-52=28, Resulting Numbers: [71, 41, 28] Generated Node #0,1: 58:[71, 41, 28] Operation: 80-52=28 Moving to Node #0,1 Current State: 58:[71, 41, 28], Operations: ['80-52=28'] Exploring Operation: 71-41=30, Resulting Numbers: [28, 30] Generated Node #0,1,1: 58:[28, 30] Operation: 71-41=30 Moving to Node #0,1,1 Current State: 58:[28, 30], Operations: ['80-52=28', '71-41=30'] Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 88, 64, 10, 26 ]
22
[ "26-10=16", "88*16=1408", "1408/64=22" ]
Current State: 22:[88, 64, 10, 26], Operations: [] Exploring Operation: 26-10=16, Resulting Numbers: [88, 64, 16] Generated Node #2: [88, 64, 16] from Operation: 26-10=16 Current State: 22:[88, 64, 16], Operations: ['26-10=16'] Exploring Operation: 88*16=1408, Resulting Numbers: [64, 1408] Generated Node #3: [64, 1408] from Operation: 88*16=1408 Current State: 22:[64, 1408], Operations: ['26-10=16', '88*16=1408'] Exploring Operation: 1408/64=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[88, 64, 10, 26], Operations: [] Exploring Operation: 88-26=62, Resulting Numbers: [64, 10, 62] Generated Node #0,0: 22:[64, 10, 62] Operation: 88-26=62 Exploring Operation: 88-64=24, Resulting Numbers: [10, 26, 24] Generated Node #0,1: 22:[10, 26, 24] Operation: 88-64=24 Moving to Node #0,1 Current State: 22:[10, 26, 24], Operations: ['88-64=24'] Exploring Operation: 26-24=2, Resulting Numbers: [10, 2] Generated Node #0,1,0: 22:[10, 2] Operation: 26-24=2 Exploring Operation: 26-10=16, Resulting Numbers: [24, 16] Generated Node #0,1,1: 22:[24, 16] Operation: 26-10=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[10, 2], Operations: ['88-64=24', '26-24=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[24, 16], Operations: ['88-64=24', '26-10=16'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 22:[64, 10, 62], Operations: ['88-26=62'] Exploring Operation: 64-62=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 22:[10, 2] Operation: 64-62=2 Exploring Operation: 64-10=54, Resulting Numbers: [62, 54] Generated Node #0,0,1: 22:[62, 54] Operation: 64-10=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[10, 2], Operations: ['88-26=62', '64-62=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[62, 54], Operations: ['88-26=62', '64-10=54'] Exploring Operation: 62+54=116, Resulting Numbers: [116] 116,22 unequal: No Solution Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 6, 12, 89, 53 ]
71
[ "12/6=2", "89+53=142", "142/2=71" ]
Current State: 71:[6, 12, 89, 53], Operations: [] Exploring Operation: 12/6=2, Resulting Numbers: [89, 53, 2] Generated Node #2: [89, 53, 2] from Operation: 12/6=2 Current State: 71:[89, 53, 2], Operations: ['12/6=2'] Exploring Operation: 89+53=142, Resulting Numbers: [2, 142] Generated Node #3: [2, 142] from Operation: 89+53=142 Current State: 71:[2, 142], Operations: ['12/6=2', '89+53=142'] Exploring Operation: 142/2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[6, 12, 89, 53], Operations: [] Exploring Operation: 6+12=18, Resulting Numbers: [89, 53, 18] Generated Node #0,0: 71:[89, 53, 18] Operation: 6+12=18 Exploring Operation: 6*12=72, Resulting Numbers: [89, 53, 72] Generated Node #0,1: 71:[89, 53, 72] Operation: 6*12=72 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[89, 53, 72], Operations: ['6*12=72'] Exploring Operation: 72-53=19, Resulting Numbers: [89, 19] Generated Node #0,1,0: 71:[89, 19] Operation: 72-53=19 Exploring Operation: 89-53=36, Resulting Numbers: [72, 36] Generated Node #0,1,1: 71:[72, 36] Operation: 89-53=36 Moving to Node #0,1,1 Current State: 71:[72, 36], Operations: ['6*12=72', '89-53=36'] Exploring Operation: 72-36=36, Resulting Numbers: [36] 36,71 unequal: No Solution Exploring Operation: 72+36=108, Resulting Numbers: [108] 108,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[89, 19], Operations: ['6*12=72', '72-53=19'] Exploring Operation: 89-19=70, Resulting Numbers: [70] 70,71 unequal: No Solution Exploring Operation: 89+19=108, Resulting Numbers: [108] 108,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[89, 53, 18], Operations: ['6+12=18'] Exploring Operation: 89-18=71, Resulting Numbers: [53, 71] Generated Node #0,0,0: 71:[53, 71] Operation: 89-18=71 Exploring Operation: 53+18=71, Resulting Numbers: [89, 71] Generated Node #0,0,1: 71:[89, 71] Operation: 53+18=71 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[53, 71], Operations: ['6+12=18', '89-18=71'] Exploring Operation: 53+71=124, Resulting Numbers: [124] 124,71 unequal: No Solution Exploring Operation: 71-53=18, Resulting Numbers: [18] 18,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[89, 71], Operations: ['6+12=18', '53+18=71'] Exploring Operation: 89-71=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 89+71=160, Resulting Numbers: [160] 160,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 46, 50, 60, 88 ]
38
[ "50-46=4", "88/4=22", "60-22=38" ]
Current State: 38:[46, 50, 60, 88], Operations: [] Exploring Operation: 50-46=4, Resulting Numbers: [60, 88, 4] Generated Node #2: [60, 88, 4] from Operation: 50-46=4 Current State: 38:[60, 88, 4], Operations: ['50-46=4'] Exploring Operation: 88/4=22, Resulting Numbers: [60, 22] Generated Node #3: [60, 22] from Operation: 88/4=22 Current State: 38:[60, 22], Operations: ['50-46=4', '88/4=22'] Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[46, 50, 60, 88], Operations: [] Exploring Operation: 88-60=28, Resulting Numbers: [46, 50, 28] Generated Node #0,0: 38:[46, 50, 28] Operation: 88-60=28 Exploring Operation: 60-50=10, Resulting Numbers: [46, 88, 10] Generated Node #0,1: 38:[46, 88, 10] Operation: 60-50=10 Exploring Operation: 88-50=38, Resulting Numbers: [46, 60, 38] Generated Node #0,2: 38:[46, 60, 38] Operation: 88-50=38 Exploring Operation: 88-46=42, Resulting Numbers: [50, 60, 42] Generated Node #0,3: 38:[50, 60, 42] Operation: 88-46=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[46, 50, 28], Operations: ['88-60=28'] Exploring Operation: 46+28=74, Resulting Numbers: [50, 74] Generated Node #0,0,0: 38:[50, 74] Operation: 46+28=74 Exploring Operation: 46-28=18, Resulting Numbers: [50, 18] Generated Node #0,0,1: 38:[50, 18] Operation: 46-28=18 Exploring Operation: 50-28=22, Resulting Numbers: [46, 22] Generated Node #0,0,2: 38:[46, 22] Operation: 50-28=22 Exploring Operation: 50-46=4, Resulting Numbers: [28, 4] Generated Node #0,0,3: 38:[28, 4] Operation: 50-46=4 Moving to Node #0,0,2 Current State: 38:[46, 22], Operations: ['88-60=28', '50-28=22'] Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 46+22=68, Resulting Numbers: [68] 68,38 unequal: No Solution Exploring Operation: 46*22=1012, Resulting Numbers: [1012] 1012,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[28, 4], Operations: ['88-60=28', '50-46=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,38 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[50, 18], Operations: ['88-60=28', '46-28=18'] Exploring Operation: 50*18=900, Resulting Numbers: [900] 900,38 unequal: No Solution Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[50, 74], Operations: ['88-60=28', '46+28=74'] Exploring Operation: 50*74=3700, Resulting Numbers: [3700] 3700,38 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 50+74=124, Resulting Numbers: [124] 124,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[46, 60, 38], Operations: ['88-50=38'] Exploring Operation: 46+60=106, Resulting Numbers: [38, 106] Generated Node #0,2,0: 38:[38, 106] Operation: 46+60=106 Exploring Operation: 60-46=14, Resulting Numbers: [38, 14] Generated Node #0,2,1: 38:[38, 14] Operation: 60-46=14 Exploring Operation: 46-38=8, Resulting Numbers: [60, 8] Generated Node #0,2,2: 38:[60, 8] Operation: 46-38=8 Exploring Operation: 60-38=22, Resulting Numbers: [46, 22] Generated Node #0,2,3: 38:[46, 22] Operation: 60-38=22 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[38, 14], Operations: ['88-50=38', '60-46=14'] Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,38 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 38:[46, 22], Operations: ['88-50=38', '60-38=22'] Exploring Operation: 46*22=1012, Resulting Numbers: [1012] 1012,38 unequal: No Solution Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 46+22=68, Resulting Numbers: [68] 68,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 38:[60, 8], Operations: ['88-50=38', '46-38=8'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,38 unequal: No Solution Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[38, 106], Operations: ['88-50=38', '46+60=106'] Exploring Operation: 38+106=144, Resulting Numbers: [144] 144,38 unequal: No Solution Exploring Operation: 38*106=4028, Resulting Numbers: [4028] 4028,38 unequal: No Solution Exploring Operation: 106-38=68, Resulting Numbers: [68] 68,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[50, 60, 42], Operations: ['88-46=42'] Exploring Operation: 60-50=10, Resulting Numbers: [42, 10] Generated Node #0,3,0: 38:[42, 10] Operation: 60-50=10 Exploring Operation: 60-42=18, Resulting Numbers: [50, 18] Generated Node #0,3,1: 38:[50, 18] Operation: 60-42=18 Exploring Operation: 50+60=110, Resulting Numbers: [42, 110] Generated Node #0,3,2: 38:[42, 110] Operation: 50+60=110 Exploring Operation: 50-42=8, Resulting Numbers: [60, 8] Generated Node #0,3,3: 38:[60, 8] Operation: 50-42=8 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 38:[42, 10], Operations: ['88-46=42', '60-50=10'] Exploring Operation: 42*10=420, Resulting Numbers: [420] 420,38 unequal: No Solution Exploring Operation: 42+10=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 38:[50, 18], Operations: ['88-46=42', '60-42=18'] Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,38 unequal: No Solution Exploring Operation: 50*18=900, Resulting Numbers: [900] 900,38 unequal: No Solution Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 38:[60, 8], Operations: ['88-46=42', '50-42=8'] Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,38 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 38:[42, 110], Operations: ['88-46=42', '50+60=110'] Exploring Operation: 42*110=4620, Resulting Numbers: [4620] 4620,38 unequal: No Solution Exploring Operation: 42+110=152, Resulting Numbers: [152] 152,38 unequal: No Solution Exploring Operation: 110-42=68, Resulting Numbers: [68] 68,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[46, 88, 10], Operations: ['60-50=10'] Exploring Operation: 88-10=78, Resulting Numbers: [46, 78] Generated Node #0,1,0: 38:[46, 78] Operation: 88-10=78 Exploring Operation: 88-46=42, Resulting Numbers: [10, 42] Generated Node #0,1,1: 38:[10, 42] Operation: 88-46=42 Exploring Operation: 46+10=56, Resulting Numbers: [88, 56] Generated Node #0,1,2: 38:[88, 56] Operation: 46+10=56 Exploring Operation: 46-10=36, Resulting Numbers: [88, 36] Generated Node #0,1,3: 38:[88, 36] Operation: 46-10=36 Moving to Node #0,1,1 Current State: 38:[10, 42], Operations: ['60-50=10', '88-46=42'] Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[46, 78], Operations: ['60-50=10', '88-10=78'] Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 46+78=124, Resulting Numbers: [124] 124,38 unequal: No Solution Exploring Operation: 46*78=3588, Resulting Numbers: [3588] 3588,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[88, 36], Operations: ['60-50=10', '46-10=36'] Exploring Operation: 88+36=124, Resulting Numbers: [124] 124,38 unequal: No Solution Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 88*36=3168, Resulting Numbers: [3168] 3168,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[88, 56], Operations: ['60-50=10', '46+10=56'] Exploring Operation: 88-56=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 88*56=4928, Resulting Numbers: [4928] 4928,38 unequal: No Solution Exploring Operation: 88+56=144, Resulting Numbers: [144] 144,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 89, 34, 21, 14 ]
93
[ "34-21=13", "14*13=182", "182-89=93" ]
Current State: 93:[89, 34, 21, 14], Operations: [] Exploring Operation: 34-21=13, Resulting Numbers: [89, 14, 13] Generated Node #2: [89, 14, 13] from Operation: 34-21=13 Current State: 93:[89, 14, 13], Operations: ['34-21=13'] Exploring Operation: 14*13=182, Resulting Numbers: [89, 182] Generated Node #3: [89, 182] from Operation: 14*13=182 Current State: 93:[89, 182], Operations: ['34-21=13', '14*13=182'] Exploring Operation: 182-89=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[89, 34, 21, 14], Operations: [] Exploring Operation: 89+14=103, Resulting Numbers: [34, 21, 103] Generated Node #0,0: 93:[34, 21, 103] Operation: 89+14=103 Exploring Operation: 21+14=35, Resulting Numbers: [89, 34, 35] Generated Node #0,1: 93:[89, 34, 35] Operation: 21+14=35 Exploring Operation: 21-14=7, Resulting Numbers: [89, 34, 7] Generated Node #0,2: 93:[89, 34, 7] Operation: 21-14=7 Exploring Operation: 34-21=13, Resulting Numbers: [89, 14, 13] Generated Node #0,3: 93:[89, 14, 13] Operation: 34-21=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[89, 34, 35], Operations: ['21+14=35'] Exploring Operation: 35-34=1, Resulting Numbers: [89, 1] Generated Node #0,1,0: 93:[89, 1] Operation: 35-34=1 Exploring Operation: 34+35=69, Resulting Numbers: [89, 69] Generated Node #0,1,1: 93:[89, 69] Operation: 34+35=69 Exploring Operation: 89-35=54, Resulting Numbers: [34, 54] Generated Node #0,1,2: 93:[34, 54] Operation: 89-35=54 Exploring Operation: 89-34=55, Resulting Numbers: [35, 55] Generated Node #0,1,3: 93:[35, 55] Operation: 89-34=55 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[89, 1], Operations: ['21+14=35', '35-34=1'] Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,93 unequal: No Solution Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,93 unequal: No Solution No 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: 93:[34, 54], Operations: ['21+14=35', '89-35=54'] Exploring Operation: 34*54=1836, Resulting Numbers: [1836] 1836,93 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,93 unequal: No Solution Exploring Operation: 34+54=88, Resulting Numbers: [88] 88,93 unequal: No Solution No 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: 93:[89, 69], Operations: ['21+14=35', '34+35=69'] Exploring Operation: 89+69=158, Resulting Numbers: [158] 158,93 unequal: No Solution Exploring Operation: 89-69=20, Resulting Numbers: [20] 20,93 unequal: No Solution Exploring Operation: 89*69=6141, Resulting Numbers: [6141] 6141,93 unequal: No Solution No 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: 93:[35, 55], Operations: ['21+14=35', '89-34=55'] Exploring Operation: 35+55=90, Resulting Numbers: [90] 90,93 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,93 unequal: No Solution Exploring Operation: 35*55=1925, Resulting Numbers: [1925] 1925,93 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: 93:[89, 34, 7], Operations: ['21-14=7'] Exploring Operation: 34+7=41, Resulting Numbers: [89, 41] Generated Node #0,2,0: 93:[89, 41] Operation: 34+7=41 Exploring Operation: 89+7=96, Resulting Numbers: [34, 96] Generated Node #0,2,1: 93:[34, 96] Operation: 89+7=96 Exploring Operation: 89-7=82, Resulting Numbers: [34, 82] Generated Node #0,2,2: 93:[34, 82] Operation: 89-7=82 Exploring Operation: 34-7=27, Resulting Numbers: [89, 27] Generated Node #0,2,3: 93:[89, 27] Operation: 34-7=27 Moving to Node #0,2,1 Current State: 93:[34, 96], Operations: ['21-14=7', '89+7=96'] Exploring Operation: 34+96=130, Resulting Numbers: [130] 130,93 unequal: No Solution Exploring Operation: 34*96=3264, Resulting Numbers: [3264] 3264,93 unequal: No Solution Exploring Operation: 96-34=62, Resulting Numbers: [62] 62,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[89, 27], Operations: ['21-14=7', '34-7=27'] Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,93 unequal: No Solution Exploring Operation: 89+27=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 89*27=2403, Resulting Numbers: [2403] 2403,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[34, 82], Operations: ['21-14=7', '89-7=82'] Exploring Operation: 34+82=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 34*82=2788, Resulting Numbers: [2788] 2788,93 unequal: No Solution Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[89, 41], Operations: ['21-14=7', '34+7=41'] Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 89+41=130, Resulting Numbers: [130] 130,93 unequal: No Solution Exploring Operation: 89*41=3649, Resulting Numbers: [3649] 3649,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,0 Current State: 93:[34, 21, 103], Operations: ['89+14=103'] Exploring Operation: 34+21=55, Resulting Numbers: [103, 55] Generated Node #0,0,0: 93:[103, 55] Operation: 34+21=55 Exploring Operation: 103-34=69, Resulting Numbers: [21, 69] Generated Node #0,0,1: 93:[21, 69] Operation: 103-34=69 Exploring Operation: 34-21=13, Resulting Numbers: [103, 13] Generated Node #0,0,2: 93:[103, 13] Operation: 34-21=13 Exploring Operation: 103-21=82, Resulting Numbers: [34, 82] Generated Node #0,0,3: 93:[34, 82] Operation: 103-21=82 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 93:[34, 82], Operations: ['89+14=103', '103-21=82'] Exploring Operation: 34+82=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 34*82=2788, Resulting Numbers: [2788] 2788,93 unequal: No Solution No 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: 93:[103, 13], Operations: ['89+14=103', '34-21=13'] Exploring Operation: 103*13=1339, Resulting Numbers: [1339] 1339,93 unequal: No Solution Exploring Operation: 103-13=90, Resulting Numbers: [90] 90,93 unequal: No Solution Exploring Operation: 103+13=116, Resulting Numbers: [116] 116,93 unequal: No Solution No 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: 93:[103, 55], Operations: ['89+14=103', '34+21=55'] Exploring Operation: 103-55=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 103+55=158, Resulting Numbers: [158] 158,93 unequal: No Solution Exploring Operation: 103*55=5665, Resulting Numbers: [5665] 5665,93 unequal: No Solution No 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: 93:[21, 69], Operations: ['89+14=103', '103-34=69'] Exploring Operation: 21*69=1449, Resulting Numbers: [1449] 1449,93 unequal: No Solution Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 21+69=90, Resulting Numbers: [90] 90,93 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: 93:[89, 14, 13], Operations: ['34-21=13'] Exploring Operation: 14+13=27, Resulting Numbers: [89, 27] Generated Node #0,3,0: 93:[89, 27] Operation: 14+13=27 Exploring Operation: 14-13=1, Resulting Numbers: [89, 1] Generated Node #0,3,1: 93:[89, 1] Operation: 14-13=1 Exploring Operation: 89+13=102, Resulting Numbers: [14, 102] Generated Node #0,3,2: 93:[14, 102] Operation: 89+13=102 Exploring Operation: 89+14=103, Resulting Numbers: [13, 103] Generated Node #0,3,3: 93:[13, 103] Operation: 89+14=103 Moving to Node #0,3,1 Current State: 93:[89, 1], Operations: ['34-21=13', '14-13=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[89, 27], Operations: ['34-21=13', '14+13=27'] Exploring Operation: 89+27=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 89*27=2403, Resulting Numbers: [2403] 2403,93 unequal: No Solution Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[13, 103], Operations: ['34-21=13', '89+14=103'] Exploring Operation: 103-13=90, Resulting Numbers: [90] 90,93 unequal: No Solution Exploring Operation: 13*103=1339, Resulting Numbers: [1339] 1339,93 unequal: No Solution Exploring Operation: 13+103=116, Resulting Numbers: [116] 116,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[14, 102], Operations: ['34-21=13', '89+13=102'] Exploring Operation: 14+102=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 14*102=1428, Resulting Numbers: [1428] 1428,93 unequal: No Solution Exploring Operation: 102-14=88, Resulting Numbers: [88] 88,93 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
[ 17, 20, 45, 96 ]
39
[ "20-17=3", "45*3=135", "135-96=39" ]
Current State: 39:[17, 20, 45, 96], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [45, 96, 3] Generated Node #2: [45, 96, 3] from Operation: 20-17=3 Current State: 39:[45, 96, 3], Operations: ['20-17=3'] Exploring Operation: 45*3=135, Resulting Numbers: [96, 135] Generated Node #3: [96, 135] from Operation: 45*3=135 Current State: 39:[96, 135], Operations: ['20-17=3', '45*3=135'] Exploring Operation: 135-96=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[17, 20, 45, 96], Operations: [] Exploring Operation: 96-45=51, Resulting Numbers: [17, 20, 51] Generated Node #0,0: 39:[17, 20, 51] Operation: 96-45=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[17, 20, 51], Operations: ['96-45=51'] Exploring Operation: 51/17=3, Resulting Numbers: [20, 3] Generated Node #0,0,0: 39:[20, 3] Operation: 51/17=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[20, 3], Operations: ['96-45=51', '51/17=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 19, 36, 63, 45 ]
38
[ "19*36=684", "63-45=18", "684/18=38" ]
Current State: 38:[19, 36, 63, 45], Operations: [] Exploring Operation: 19*36=684, Resulting Numbers: [63, 45, 684] Generated Node #2: [63, 45, 684] from Operation: 19*36=684 Current State: 38:[63, 45, 684], Operations: ['19*36=684'] Exploring Operation: 63-45=18, Resulting Numbers: [684, 18] Generated Node #3: [684, 18] from Operation: 63-45=18 Current State: 38:[684, 18], Operations: ['19*36=684', '63-45=18'] Exploring Operation: 684/18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[19, 36, 63, 45], Operations: [] Exploring Operation: 63-45=18, Resulting Numbers: [19, 36, 18] Generated Node #0,0: 38:[19, 36, 18] Operation: 63-45=18 Exploring Operation: 63-36=27, Resulting Numbers: [19, 45, 27] Generated Node #0,1: 38:[19, 45, 27] Operation: 63-36=27 Exploring Operation: 63-19=44, Resulting Numbers: [36, 45, 44] Generated Node #0,2: 38:[36, 45, 44] Operation: 63-19=44 Moving to Node #0,0 Current State: 38:[19, 36, 18], Operations: ['63-45=18'] Exploring Operation: 36-19=17, Resulting Numbers: [18, 17] Generated Node #0,0,0: 38:[18, 17] Operation: 36-19=17 Exploring Operation: 36/18=2, Resulting Numbers: [19, 2] Generated Node #0,0,1: 38:[19, 2] Operation: 36/18=2 Exploring Operation: 36-18=18, Resulting Numbers: [19, 18] Generated Node #0,0,2: 38:[19, 18] Operation: 36-18=18 Moving to Node #0,1 Current State: 38:[19, 45, 27], Operations: ['63-36=27'] Exploring Operation: 45-27=18, Resulting Numbers: [19, 18] Generated Node #0,1,0: 38:[19, 18] Operation: 45-27=18 Exploring Operation: 27-19=8, Resulting Numbers: [45, 8] Generated Node #0,1,1: 38:[45, 8] Operation: 27-19=8 Exploring Operation: 45-19=26, Resulting Numbers: [27, 26] Generated Node #0,1,2: 38:[27, 26] Operation: 45-19=26 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[19, 18], Operations: ['63-36=27', '45-27=18'] Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,38 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,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:[45, 8], Operations: ['63-36=27', '27-19=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,38 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,38 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,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,2 Current State: 38:[27, 26], Operations: ['63-36=27', '45-19=26'] Exploring Operation: 27*26=702, Resulting Numbers: [702] 702,38 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 38:[36, 45, 44], Operations: ['63-19=44'] Exploring Operation: 45-44=1, Resulting Numbers: [36, 1] Generated Node #0,2,0: 38:[36, 1] Operation: 45-44=1 Exploring Operation: 44-36=8, Resulting Numbers: [45, 8] Generated Node #0,2,1: 38:[45, 8] Operation: 44-36=8 Exploring Operation: 45-36=9, Resulting Numbers: [44, 9] Generated Node #0,2,2: 38:[44, 9] Operation: 45-36=9 Moving to Node #0,0,1 Current State: 38:[19, 2], Operations: ['63-45=18', '36/18=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[19, 36, 63, 45], Operations: [] Exploring Operation: 63-45=18, Resulting Numbers: [19, 36, 18] Generated Node #0,0: 38:[19, 36, 18] Operation: 63-45=18 Moving to Node #0,0 Current State: 38:[19, 36, 18], Operations: ['63-45=18'] Exploring Operation: 36/18=2, Resulting Numbers: [19, 2] Generated Node #0,0,1: 38:[19, 2] Operation: 36/18=2 Moving to Node #0,0,1 Current State: 38:[19, 2], Operations: ['63-45=18', '36/18=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 15, 41, 2, 11 ]
93
[ "15+11=26", "2*26=52", "41+52=93" ]
Current State: 93:[15, 41, 2, 11], Operations: [] Exploring Operation: 15+11=26, Resulting Numbers: [41, 2, 26] Generated Node #2: [41, 2, 26] from Operation: 15+11=26 Current State: 93:[41, 2, 26], Operations: ['15+11=26'] Exploring Operation: 2*26=52, Resulting Numbers: [41, 52] Generated Node #3: [41, 52] from Operation: 2*26=52 Current State: 93:[41, 52], Operations: ['15+11=26', '2*26=52'] Exploring Operation: 41+52=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[15, 41, 2, 11], Operations: [] Exploring Operation: 15-11=4, Resulting Numbers: [41, 2, 4] Generated Node #0,0: 93:[41, 2, 4] Operation: 15-11=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[41, 2, 4], Operations: ['15-11=4'] Exploring Operation: 41-4=37, Resulting Numbers: [2, 37] Generated Node #0,0,0: 93:[2, 37] Operation: 41-4=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[2, 37], Operations: ['15-11=4', '41-4=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,93 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