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
[ 9, 30, 20, 32 ]
90
[ "9+20=29", "32-29=3", "30*3=90" ]
Current State: 90:[9, 30, 20, 32], Operations: [] Exploring Operation: 9+20=29, Resulting Numbers: [30, 32, 29] Generated Node #2: [30, 32, 29] from Operation: 9+20=29 Current State: 90:[30, 32, 29], Operations: ['9+20=29'] Exploring Operation: 32-29=3, Resulting Numbers: [30, 3] Generated Node #3: [30, 3] from Operation: 32-29=3 Current State: 90:[30, 3], Operations: ['9+20=29', '32-29=3'] Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[9, 30, 20, 32], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [9, 20, 2] Generated Node #0,0: 90:[9, 20, 2] Operation: 32-30=2 Exploring Operation: 30-20=10, Resulting Numbers: [9, 32, 10] Generated Node #0,1: 90:[9, 32, 10] Operation: 30-20=10 Moving to Node #0,0 Current State: 90:[9, 20, 2], Operations: ['32-30=2'] Exploring Operation: 20-2=18, Resulting Numbers: [9, 18] Generated Node #0,0,0: 90:[9, 18] Operation: 20-2=18 Exploring Operation: 20/2=10, Resulting Numbers: [9, 10] Generated Node #0,0,1: 90:[9, 10] Operation: 20/2=10 Moving to Node #0,1 Current State: 90:[9, 32, 10], Operations: ['30-20=10'] Exploring Operation: 9*10=90, Resulting Numbers: [32, 90] Generated Node #0,1,0: 90:[32, 90] Operation: 9*10=90 Exploring Operation: 9+10=19, Resulting Numbers: [32, 19] Generated Node #0,1,1: 90:[32, 19] Operation: 9+10=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[32, 90], Operations: ['30-20=10', '9*10=90'] Exploring Operation: 32+90=122, Resulting Numbers: [122] 122,90 unequal: No Solution Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[32, 19], Operations: ['30-20=10', '9+10=19'] Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,90 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,90 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: 90:[9, 18], Operations: ['32-30=2', '20-2=18'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[9, 10], Operations: ['32-30=2', '20/2=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[9, 30, 20, 32], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [9, 20, 2] Generated Node #0,0: 90:[9, 20, 2] Operation: 32-30=2 Moving to Node #0,0 Current State: 90:[9, 20, 2], Operations: ['32-30=2'] Exploring Operation: 20/2=10, Resulting Numbers: [9, 10] Generated Node #0,0,1: 90:[9, 10] Operation: 20/2=10 Moving to Node #0,0,1 Current State: 90:[9, 10], Operations: ['32-30=2', '20/2=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 64, 33, 24, 7 ]
66
[ "64+33=97", "24+7=31", "97-31=66" ]
Current State: 66:[64, 33, 24, 7], Operations: [] Exploring Operation: 64+33=97, Resulting Numbers: [24, 7, 97] Generated Node #2: [24, 7, 97] from Operation: 64+33=97 Current State: 66:[24, 7, 97], Operations: ['64+33=97'] Exploring Operation: 24+7=31, Resulting Numbers: [97, 31] Generated Node #3: [97, 31] from Operation: 24+7=31 Current State: 66:[97, 31], Operations: ['64+33=97', '24+7=31'] Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[64, 33, 24, 7], Operations: [] Exploring Operation: 33-24=9, Resulting Numbers: [64, 7, 9] Generated Node #0,0: 66:[64, 7, 9] Operation: 33-24=9 Exploring Operation: 64+7=71, Resulting Numbers: [33, 24, 71] Generated Node #0,1: 66:[33, 24, 71] Operation: 64+7=71 Exploring Operation: 24+7=31, Resulting Numbers: [64, 33, 31] Generated Node #0,2: 66:[64, 33, 31] Operation: 24+7=31 Exploring Operation: 24-7=17, Resulting Numbers: [64, 33, 17] Generated Node #0,3: 66:[64, 33, 17] Operation: 24-7=17 Exploring Operation: 64-33=31, Resulting Numbers: [24, 7, 31] Generated Node #0,4: 66:[24, 7, 31] Operation: 64-33=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[64, 33, 31], Operations: ['24+7=31'] Exploring Operation: 64-31=33, Resulting Numbers: [33, 33] Generated Node #0,2,0: 66:[33, 33] Operation: 64-31=33 Exploring Operation: 33-31=2, Resulting Numbers: [64, 2] Generated Node #0,2,1: 66:[64, 2] Operation: 33-31=2 Exploring Operation: 64-33=31, Resulting Numbers: [31, 31] Generated Node #0,2,2: 66:[31, 31] Operation: 64-33=31 Exploring Operation: 64+31=95, Resulting Numbers: [33, 95] Generated Node #0,2,3: 66:[33, 95] Operation: 64+31=95 Exploring Operation: 33+31=64, Resulting Numbers: [64, 64] Generated Node #0,2,4: 66:[64, 64] Operation: 33+31=64 Moving to Node #0,2,0 Current State: 66:[33, 33], Operations: ['24+7=31', '64-31=33'] Exploring Operation: 33*33=1089, Resulting Numbers: [1089] 1089,66 unequal: No Solution Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[64, 33, 24, 7], Operations: [] Exploring Operation: 24+7=31, Resulting Numbers: [64, 33, 31] Generated Node #0,2: 66:[64, 33, 31] Operation: 24+7=31 Moving to Node #0,2 Current State: 66:[64, 33, 31], Operations: ['24+7=31'] Exploring Operation: 64-31=33, Resulting Numbers: [33, 33] Generated Node #0,2,0: 66:[33, 33] Operation: 64-31=33 Moving to Node #0,2,0 Current State: 66:[33, 33], Operations: ['24+7=31', '64-31=33'] Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 46, 35, 66, 29 ]
84
[ "46-35=11", "66+29=95", "95-11=84" ]
Current State: 84:[46, 35, 66, 29], Operations: [] Exploring Operation: 46-35=11, Resulting Numbers: [66, 29, 11] Generated Node #2: [66, 29, 11] from Operation: 46-35=11 Current State: 84:[66, 29, 11], Operations: ['46-35=11'] Exploring Operation: 66+29=95, Resulting Numbers: [11, 95] Generated Node #3: [11, 95] from Operation: 66+29=95 Current State: 84:[11, 95], Operations: ['46-35=11', '66+29=95'] Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[46, 35, 66, 29], Operations: [] Exploring Operation: 66-35=31, Resulting Numbers: [46, 29, 31] Generated Node #0,0: 84:[46, 29, 31] Operation: 66-35=31 Exploring Operation: 46+35=81, Resulting Numbers: [66, 29, 81] Generated Node #0,1: 84:[66, 29, 81] Operation: 46+35=81 Exploring Operation: 46-35=11, Resulting Numbers: [66, 29, 11] Generated Node #0,2: 84:[66, 29, 11] Operation: 46-35=11 Exploring Operation: 66-46=20, Resulting Numbers: [35, 29, 20] Generated Node #0,3: 84:[35, 29, 20] Operation: 66-46=20 Exploring Operation: 66-29=37, Resulting Numbers: [46, 35, 37] Generated Node #0,4: 84:[46, 35, 37] Operation: 66-29=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[46, 29, 31], Operations: ['66-35=31'] Exploring Operation: 46-31=15, Resulting Numbers: [29, 15] Generated Node #0,0,0: 84:[29, 15] Operation: 46-31=15 Exploring Operation: 46-29=17, Resulting Numbers: [31, 17] Generated Node #0,0,1: 84:[31, 17] Operation: 46-29=17 Exploring Operation: 31-29=2, Resulting Numbers: [46, 2] Generated Node #0,0,2: 84:[46, 2] Operation: 31-29=2 Exploring Operation: 46+29=75, Resulting Numbers: [31, 75] Generated Node #0,0,3: 84:[31, 75] Operation: 46+29=75 Exploring Operation: 46+31=77, Resulting Numbers: [29, 77] Generated Node #0,0,4: 84:[29, 77] Operation: 46+31=77 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[29, 15], Operations: ['66-35=31', '46-31=15'] Exploring Operation: 29*15=435, Resulting Numbers: [435] 435,84 unequal: No Solution Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[46, 2], Operations: ['66-35=31', '31-29=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,84 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,84 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[31, 17], Operations: ['66-35=31', '46-29=17'] Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,84 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 84:[29, 77], Operations: ['66-35=31', '46+31=77'] Exploring Operation: 29+77=106, Resulting Numbers: [106] 106,84 unequal: No Solution Exploring Operation: 29*77=2233, Resulting Numbers: [2233] 2233,84 unequal: No Solution Exploring Operation: 77-29=48, Resulting Numbers: [48] 48,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 84:[31, 75], Operations: ['66-35=31', '46+29=75'] Exploring Operation: 31*75=2325, Resulting Numbers: [2325] 2325,84 unequal: No Solution Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 31+75=106, Resulting Numbers: [106] 106,84 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: 84:[35, 29, 20], Operations: ['66-46=20'] Exploring Operation: 35-20=15, Resulting Numbers: [29, 15] Generated Node #0,3,0: 84:[29, 15] Operation: 35-20=15 Exploring Operation: 29+20=49, Resulting Numbers: [35, 49] Generated Node #0,3,1: 84:[35, 49] Operation: 29+20=49 Exploring Operation: 35-29=6, Resulting Numbers: [20, 6] Generated Node #0,3,2: 84:[20, 6] Operation: 35-29=6 Exploring Operation: 35+20=55, Resulting Numbers: [29, 55] Generated Node #0,3,3: 84:[29, 55] Operation: 35+20=55 Exploring Operation: 29-20=9, Resulting Numbers: [35, 9] Generated Node #0,3,4: 84:[35, 9] Operation: 29-20=9 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 84:[20, 6], Operations: ['66-46=20', '35-29=6'] Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,84 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 84:[29, 15], Operations: ['66-46=20', '35-20=15'] Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 29*15=435, Resulting Numbers: [435] 435,84 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 84:[35, 9], Operations: ['66-46=20', '29-20=9'] Exploring Operation: 35*9=315, Resulting Numbers: [315] 315,84 unequal: No Solution Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 84:[35, 49], Operations: ['66-46=20', '29+20=49'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,84 unequal: No Solution Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[46, 35, 66, 29], Operations: [] Exploring Operation: 66-46=20, Resulting Numbers: [35, 29, 20] Generated Node #0,3: 84:[35, 29, 20] Operation: 66-46=20 Moving to Node #0,3 Current State: 84:[35, 29, 20], Operations: ['66-46=20'] Exploring Operation: 29+20=49, Resulting Numbers: [35, 49] Generated Node #0,3,1: 84:[35, 49] Operation: 29+20=49 Moving to Node #0,3,1 Current State: 84:[35, 49], Operations: ['66-46=20', '29+20=49'] Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.959201
hs_5
mult_heuristic
[ 63, 59, 61, 35 ]
11
[ "63-61=2", "35*2=70", "70-59=11" ]
Current State: 11:[63, 59, 61, 35], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [59, 35, 2] Generated Node #2: [59, 35, 2] from Operation: 63-61=2 Current State: 11:[59, 35, 2], Operations: ['63-61=2'] Exploring Operation: 35*2=70, Resulting Numbers: [59, 70] Generated Node #3: [59, 70] from Operation: 35*2=70 Current State: 11:[59, 70], Operations: ['63-61=2', '35*2=70'] Exploring Operation: 70-59=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[63, 59, 61, 35], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [59, 35, 2] Generated Node #0,0: 11:[59, 35, 2] Operation: 63-61=2 Exploring Operation: 61-59=2, Resulting Numbers: [63, 35, 2] Generated Node #0,1: 11:[63, 35, 2] Operation: 61-59=2 Exploring Operation: 59-35=24, Resulting Numbers: [63, 61, 24] Generated Node #0,2: 11:[63, 61, 24] Operation: 59-35=24 Exploring Operation: 63-35=28, Resulting Numbers: [59, 61, 28] Generated Node #0,3: 11:[59, 61, 28] Operation: 63-35=28 Exploring Operation: 63-59=4, Resulting Numbers: [61, 35, 4] Generated Node #0,4: 11:[61, 35, 4] Operation: 63-59=4 Moving to Node #0,0 Current State: 11:[59, 35, 2], Operations: ['63-61=2'] Exploring Operation: 59-2=57, Resulting Numbers: [35, 57] Generated Node #0,0,0: 11:[35, 57] Operation: 59-2=57 Exploring Operation: 35-2=33, Resulting Numbers: [59, 33] Generated Node #0,0,1: 11:[59, 33] Operation: 35-2=33 Exploring Operation: 59+2=61, Resulting Numbers: [35, 61] Generated Node #0,0,2: 11:[35, 61] Operation: 59+2=61 Exploring Operation: 35+2=37, Resulting Numbers: [59, 37] Generated Node #0,0,3: 11:[59, 37] Operation: 35+2=37 Exploring Operation: 59-35=24, Resulting Numbers: [2, 24] Generated Node #0,0,4: 11:[2, 24] Operation: 59-35=24 Moving to Node #0,4 Current State: 11:[61, 35, 4], Operations: ['63-59=4'] Exploring Operation: 61+4=65, Resulting Numbers: [35, 65] Generated Node #0,4,0: 11:[35, 65] Operation: 61+4=65 Exploring Operation: 61-35=26, Resulting Numbers: [4, 26] Generated Node #0,4,1: 11:[4, 26] Operation: 61-35=26 Exploring Operation: 61-4=57, Resulting Numbers: [35, 57] Generated Node #0,4,2: 11:[35, 57] Operation: 61-4=57 Exploring Operation: 35-4=31, Resulting Numbers: [61, 31] Generated Node #0,4,3: 11:[61, 31] Operation: 35-4=31 Exploring Operation: 35+4=39, Resulting Numbers: [61, 39] Generated Node #0,4,4: 11:[61, 39] Operation: 35+4=39 Moving to Node #0,1 Current State: 11:[63, 35, 2], Operations: ['61-59=2'] Exploring Operation: 63-35=28, Resulting Numbers: [2, 28] Generated Node #0,1,0: 11:[2, 28] Operation: 63-35=28 Exploring Operation: 35-2=33, Resulting Numbers: [63, 33] Generated Node #0,1,1: 11:[63, 33] Operation: 35-2=33 Exploring Operation: 63-2=61, Resulting Numbers: [35, 61] Generated Node #0,1,2: 11:[35, 61] Operation: 63-2=61 Exploring Operation: 63+2=65, Resulting Numbers: [35, 65] Generated Node #0,1,3: 11:[35, 65] Operation: 63+2=65 Exploring Operation: 35+2=37, Resulting Numbers: [63, 37] Generated Node #0,1,4: 11:[63, 37] Operation: 35+2=37 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[2, 28], Operations: ['61-59=2', '63-35=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[63, 33], Operations: ['61-59=2', '35-2=33'] Exploring Operation: 63+33=96, Resulting Numbers: [96] 96,11 unequal: No Solution Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 63*33=2079, Resulting Numbers: [2079] 2079,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[35, 61], Operations: ['61-59=2', '63-2=61'] Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 35*61=2135, Resulting Numbers: [2135] 2135,11 unequal: No Solution Exploring Operation: 35+61=96, Resulting Numbers: [96] 96,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 11:[35, 65], Operations: ['61-59=2', '63+2=65'] Exploring Operation: 35*65=2275, Resulting Numbers: [2275] 2275,11 unequal: No Solution Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 11:[63, 37], Operations: ['61-59=2', '35+2=37'] Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,11 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,11 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: 11:[63, 61, 24], Operations: ['59-35=24'] Exploring Operation: 61-24=37, Resulting Numbers: [63, 37] Generated Node #0,2,0: 11:[63, 37] Operation: 61-24=37 Exploring Operation: 63+61=124, Resulting Numbers: [24, 124] Generated Node #0,2,1: 11:[24, 124] Operation: 63+61=124 Exploring Operation: 63-24=39, Resulting Numbers: [61, 39] Generated Node #0,2,2: 11:[61, 39] Operation: 63-24=39 Exploring Operation: 63-61=2, Resulting Numbers: [24, 2] Generated Node #0,2,3: 11:[24, 2] Operation: 63-61=2 Exploring Operation: 63+24=87, Resulting Numbers: [61, 87] Generated Node #0,2,4: 11:[61, 87] Operation: 63+24=87 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 11:[24, 2], Operations: ['59-35=24', '63-61=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[63, 37], Operations: ['59-35=24', '61-24=37'] Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,11 unequal: No Solution Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 11:[61, 39], Operations: ['59-35=24', '63-24=39'] Exploring Operation: 61*39=2379, Resulting Numbers: [2379] 2379,11 unequal: No Solution Exploring Operation: 61+39=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[24, 124], Operations: ['59-35=24', '63+61=124'] Exploring Operation: 24+124=148, Resulting Numbers: [148] 148,11 unequal: No Solution Exploring Operation: 124-24=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 24*124=2976, Resulting Numbers: [2976] 2976,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 11:[61, 87], Operations: ['59-35=24', '63+24=87'] Exploring Operation: 61+87=148, Resulting Numbers: [148] 148,11 unequal: No Solution Exploring Operation: 87-61=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 61*87=5307, Resulting Numbers: [5307] 5307,11 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: 11:[59, 61, 28], Operations: ['63-35=28'] Exploring Operation: 59+28=87, Resulting Numbers: [61, 87] Generated Node #0,3,0: 11:[61, 87] Operation: 59+28=87 Exploring Operation: 59+61=120, Resulting Numbers: [28, 120] Generated Node #0,3,1: 11:[28, 120] Operation: 59+61=120 Exploring Operation: 59-28=31, Resulting Numbers: [61, 31] Generated Node #0,3,2: 11:[61, 31] Operation: 59-28=31 Exploring Operation: 61-59=2, Resulting Numbers: [28, 2] Generated Node #0,3,3: 11:[28, 2] Operation: 61-59=2 Exploring Operation: 61-28=33, Resulting Numbers: [59, 33] Generated Node #0,3,4: 11:[59, 33] Operation: 61-28=33 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[28, 2], Operations: ['63-35=28', '61-59=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[61, 31], Operations: ['63-35=28', '59-28=31'] Exploring Operation: 61*31=1891, Resulting Numbers: [1891] 1891,11 unequal: No Solution Exploring Operation: 61+31=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 11:[59, 33], Operations: ['63-35=28', '61-28=33'] Exploring Operation: 59+33=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 59*33=1947, Resulting Numbers: [1947] 1947,11 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[61, 87], Operations: ['63-35=28', '59+28=87'] Exploring Operation: 61*87=5307, Resulting Numbers: [5307] 5307,11 unequal: No Solution Exploring Operation: 87-61=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 61+87=148, Resulting Numbers: [148] 148,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[28, 120], Operations: ['63-35=28', '59+61=120'] Exploring Operation: 120-28=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 28+120=148, Resulting Numbers: [148] 148,11 unequal: No Solution Exploring Operation: 28*120=3360, Resulting Numbers: [3360] 3360,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 11:[2, 24], Operations: ['63-61=2', '59-35=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,11 unequal: No Solution Moving to Node #0,4,1 Current State: 11:[4, 26], Operations: ['63-59=4', '61-35=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,11 unequal: No Solution Moving to Node #0,4,2 Current State: 11:[35, 57], Operations: ['63-59=4', '61-4=57'] Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 35+57=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 35*57=1995, Resulting Numbers: [1995] 1995,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[59, 33], Operations: ['63-61=2', '35-2=33'] Exploring Operation: 59+33=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 59*33=1947, Resulting Numbers: [1947] 1947,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[35, 57], Operations: ['63-61=2', '59-2=57'] Exploring Operation: 35+57=92, Resulting Numbers: [92] 92,11 unequal: No Solution Exploring Operation: 35*57=1995, Resulting Numbers: [1995] 1995,11 unequal: No Solution Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,11 unequal: No Solution Moving to Node #0,4,3 Current State: 11:[61, 31], Operations: ['63-59=4', '35-4=31'] Exploring Operation: 61*31=1891, Resulting Numbers: [1891] 1891,11 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 61+31=92, Resulting Numbers: [92] 92,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[35, 61], Operations: ['63-61=2', '59+2=61'] Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 35*61=2135, Resulting Numbers: [2135] 2135,11 unequal: No Solution Exploring Operation: 35+61=96, Resulting Numbers: [96] 96,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[59, 37], Operations: ['63-61=2', '35+2=37'] Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 59+37=96, Resulting Numbers: [96] 96,11 unequal: No Solution Exploring Operation: 59*37=2183, Resulting Numbers: [2183] 2183,11 unequal: No Solution Moving to Node #0,4,4 Current State: 11:[61, 39], Operations: ['63-59=4', '35+4=39'] Exploring Operation: 61*39=2379, Resulting Numbers: [2379] 2379,11 unequal: No Solution Exploring Operation: 61+39=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,11 unequal: No Solution Moving to Node #0,4,0 Current State: 11:[35, 65], Operations: ['63-59=4', '61+4=65'] Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 35*65=2275, Resulting Numbers: [2275] 2275,11 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 79, 5, 4, 1 ]
87
[ "79+5=84", "4-1=3", "84+3=87" ]
Current State: 87:[79, 5, 4, 1], Operations: [] Exploring Operation: 79+5=84, Resulting Numbers: [4, 1, 84] Generated Node #2: [4, 1, 84] from Operation: 79+5=84 Current State: 87:[4, 1, 84], Operations: ['79+5=84'] Exploring Operation: 4-1=3, Resulting Numbers: [84, 3] Generated Node #3: [84, 3] from Operation: 4-1=3 Current State: 87:[84, 3], Operations: ['79+5=84', '4-1=3'] Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[79, 5, 4, 1], Operations: [] Exploring Operation: 5-1=4, Resulting Numbers: [79, 4, 4] Generated Node #0,0: 87:[79, 4, 4] Operation: 5-1=4 Exploring Operation: 79+5=84, Resulting Numbers: [4, 1, 84] Generated Node #0,1: 87:[4, 1, 84] Operation: 79+5=84 Exploring Operation: 79+1=80, Resulting Numbers: [5, 4, 80] Generated Node #0,2: 87:[5, 4, 80] Operation: 79+1=80 Exploring Operation: 79+4=83, Resulting Numbers: [5, 1, 83] Generated Node #0,3: 87:[5, 1, 83] Operation: 79+4=83 Moving to Node #0,1 Current State: 87:[4, 1, 84], Operations: ['79+5=84'] Exploring Operation: 4+84=88, Resulting Numbers: [1, 88] Generated Node #0,1,0: 87:[1, 88] Operation: 4+84=88 Exploring Operation: 4-1=3, Resulting Numbers: [84, 3] Generated Node #0,1,1: 87:[84, 3] Operation: 4-1=3 Exploring Operation: 1+84=85, Resulting Numbers: [4, 85] Generated Node #0,1,2: 87:[4, 85] Operation: 1+84=85 Exploring Operation: 4*1=4, Resulting Numbers: [84, 4] Generated Node #0,1,3: 87:[84, 4] Operation: 4*1=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[1, 88], Operations: ['79+5=84', '4+84=88'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 1+88=89, Resulting Numbers: [89] 89,87 unequal: No Solution Exploring Operation: 1*88=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[79, 5, 4, 1], Operations: [] Exploring Operation: 79+5=84, Resulting Numbers: [4, 1, 84] Generated Node #0,1: 87:[4, 1, 84] Operation: 79+5=84 Moving to Node #0,1 Current State: 87:[4, 1, 84], Operations: ['79+5=84'] Exploring Operation: 4+84=88, Resulting Numbers: [1, 88] Generated Node #0,1,0: 87:[1, 88] Operation: 4+84=88 Moving to Node #0,1,0 Current State: 87:[1, 88], Operations: ['79+5=84', '4+84=88'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 44, 36, 18, 19 ]
44
[ "36-18=18", "19-18=1", "44*1=44" ]
Current State: 44:[44, 36, 18, 19], Operations: [] Exploring Operation: 36-18=18, Resulting Numbers: [44, 19, 18] Generated Node #2: [44, 19, 18] from Operation: 36-18=18 Current State: 44:[44, 19, 18], Operations: ['36-18=18'] Exploring Operation: 19-18=1, Resulting Numbers: [44, 1] Generated Node #3: [44, 1] from Operation: 19-18=1 Current State: 44:[44, 1], Operations: ['36-18=18', '19-18=1'] Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[44, 36, 18, 19], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [44, 19, 2] Generated Node #0,0: 44:[44, 19, 2] Operation: 36/18=2 Exploring Operation: 36-18=18, Resulting Numbers: [44, 19, 18] Generated Node #0,1: 44:[44, 19, 18] Operation: 36-18=18 Exploring Operation: 36-19=17, Resulting Numbers: [44, 18, 17] Generated Node #0,2: 44:[44, 18, 17] Operation: 36-19=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[44, 19, 2], Operations: ['36/18=2'] Exploring Operation: 44-19=25, Resulting Numbers: [2, 25] Generated Node #0,0,0: 44:[2, 25] Operation: 44-19=25 Exploring Operation: 44/2=22, Resulting Numbers: [19, 22] Generated Node #0,0,1: 44:[19, 22] Operation: 44/2=22 Exploring Operation: 19+2=21, Resulting Numbers: [44, 21] Generated Node #0,0,2: 44:[44, 21] Operation: 19+2=21 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[44, 21], Operations: ['36/18=2', '19+2=21'] Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,44 unequal: No Solution Exploring Operation: 44*21=924, Resulting Numbers: [924] 924,44 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,44 unequal: No Solution No 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: 44:[2, 25], Operations: ['36/18=2', '44-19=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,44 unequal: No Solution No 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: 44:[19, 22], Operations: ['36/18=2', '44/2=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,44 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,44 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: 44:[44, 19, 18], Operations: ['36-18=18'] Exploring Operation: 44-18=26, Resulting Numbers: [19, 26] Generated Node #0,1,0: 44:[19, 26] Operation: 44-18=26 Exploring Operation: 44-19=25, Resulting Numbers: [18, 25] Generated Node #0,1,1: 44:[18, 25] Operation: 44-19=25 Exploring Operation: 19-18=1, Resulting Numbers: [44, 1] Generated Node #0,1,2: 44:[44, 1] Operation: 19-18=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 44:[44, 1], Operations: ['36-18=18', '19-18=1'] Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[44, 36, 18, 19], Operations: [] Exploring Operation: 36-18=18, Resulting Numbers: [44, 19, 18] Generated Node #0,1: 44:[44, 19, 18] Operation: 36-18=18 Moving to Node #0,1 Current State: 44:[44, 19, 18], Operations: ['36-18=18'] Exploring Operation: 19-18=1, Resulting Numbers: [44, 1] Generated Node #0,1,2: 44:[44, 1] Operation: 19-18=1 Moving to Node #0,1,2 Current State: 44:[44, 1], Operations: ['36-18=18', '19-18=1'] Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 81, 12, 7, 27 ]
73
[ "81+12=93", "27-7=20", "93-20=73" ]
Current State: 73:[81, 12, 7, 27], Operations: [] Exploring Operation: 81+12=93, Resulting Numbers: [7, 27, 93] Generated Node #2: [7, 27, 93] from Operation: 81+12=93 Current State: 73:[7, 27, 93], Operations: ['81+12=93'] Exploring Operation: 27-7=20, Resulting Numbers: [93, 20] Generated Node #3: [93, 20] from Operation: 27-7=20 Current State: 73:[93, 20], Operations: ['81+12=93', '27-7=20'] Exploring Operation: 93-20=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[81, 12, 7, 27], Operations: [] Exploring Operation: 12*7=84, Resulting Numbers: [81, 27, 84] Generated Node #0,0: 73:[81, 27, 84] Operation: 12*7=84 Exploring Operation: 81-7=74, Resulting Numbers: [12, 27, 74] Generated Node #0,1: 73:[12, 27, 74] Operation: 81-7=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[81, 27, 84], Operations: ['12*7=84'] Exploring Operation: 84-27=57, Resulting Numbers: [81, 57] Generated Node #0,0,0: 73:[81, 57] Operation: 84-27=57 Exploring Operation: 81-27=54, Resulting Numbers: [84, 54] Generated Node #0,0,1: 73:[84, 54] Operation: 81-27=54 Moving to Node #0,0,0 Current State: 73:[81, 57], Operations: ['12*7=84', '84-27=57'] Exploring Operation: 81+57=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 81-57=24, Resulting Numbers: [24] 24,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[84, 54], Operations: ['12*7=84', '81-27=54'] Exploring Operation: 84+54=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 84-54=30, Resulting Numbers: [30] 30,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[12, 27, 74], Operations: ['81-7=74'] Exploring Operation: 12+27=39, Resulting Numbers: [74, 39] Generated Node #0,1,0: 73:[74, 39] Operation: 12+27=39 Exploring Operation: 74-12=62, Resulting Numbers: [27, 62] Generated Node #0,1,1: 73:[27, 62] Operation: 74-12=62 Moving to Node #0,1,0 Current State: 73:[74, 39], Operations: ['81-7=74', '12+27=39'] Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 74+39=113, Resulting Numbers: [113] 113,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[27, 62], Operations: ['81-7=74', '74-12=62'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 27+62=89, Resulting Numbers: [89] 89,73 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
[ 41, 77, 75, 52 ]
82
[ "52-41=11", "77/11=7", "75+7=82" ]
Current State: 82:[41, 77, 75, 52], Operations: [] Exploring Operation: 52-41=11, Resulting Numbers: [77, 75, 11] Generated Node #2: [77, 75, 11] from Operation: 52-41=11 Current State: 82:[77, 75, 11], Operations: ['52-41=11'] Exploring Operation: 77/11=7, Resulting Numbers: [75, 7] Generated Node #3: [75, 7] from Operation: 77/11=7 Current State: 82:[75, 7], Operations: ['52-41=11', '77/11=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[41, 77, 75, 52], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [41, 52, 2] Generated Node #0,0: 82:[41, 52, 2] Operation: 77-75=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[41, 52, 2], Operations: ['77-75=2'] Exploring Operation: 52-41=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 82:[2, 11] Operation: 52-41=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[2, 11], Operations: ['77-75=2', '52-41=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 22, 98, 71, 47 ]
49
[ "71-22=49", "98/49=2", "47+2=49" ]
Current State: 49:[22, 98, 71, 47], Operations: [] Exploring Operation: 71-22=49, Resulting Numbers: [98, 47, 49] Generated Node #2: [98, 47, 49] from Operation: 71-22=49 Current State: 49:[98, 47, 49], Operations: ['71-22=49'] Exploring Operation: 98/49=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 98/49=2 Current State: 49:[47, 2], Operations: ['71-22=49', '98/49=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[22, 98, 71, 47], Operations: [] Exploring Operation: 98-47=51, Resulting Numbers: [22, 71, 51] Generated Node #0,0: 49:[22, 71, 51] Operation: 98-47=51 Exploring Operation: 98-71=27, Resulting Numbers: [22, 47, 27] Generated Node #0,1: 49:[22, 47, 27] Operation: 98-71=27 Exploring Operation: 98-22=76, Resulting Numbers: [71, 47, 76] Generated Node #0,2: 49:[71, 47, 76] Operation: 98-22=76 Moving to Node #0,1 Current State: 49:[22, 47, 27], Operations: ['98-71=27'] Exploring Operation: 27-22=5, Resulting Numbers: [47, 5] Generated Node #0,1,0: 49:[47, 5] Operation: 27-22=5 Exploring Operation: 47-27=20, Resulting Numbers: [22, 20] Generated Node #0,1,1: 49:[22, 20] Operation: 47-27=20 Exploring Operation: 22+27=49, Resulting Numbers: [47, 49] Generated Node #0,1,2: 49:[47, 49] Operation: 22+27=49 Moving to Node #0,0 Current State: 49:[22, 71, 51], Operations: ['98-47=51'] Exploring Operation: 51-22=29, Resulting Numbers: [71, 29] Generated Node #0,0,0: 49:[71, 29] Operation: 51-22=29 Exploring Operation: 71-51=20, Resulting Numbers: [22, 20] Generated Node #0,0,1: 49:[22, 20] Operation: 71-51=20 Exploring Operation: 71-22=49, Resulting Numbers: [51, 49] Generated Node #0,0,2: 49:[51, 49] Operation: 71-22=49 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[51, 49], Operations: ['98-47=51', '71-22=49'] Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 51*49=2499, Resulting Numbers: [2499] 2499,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[22, 20], Operations: ['98-47=51', '71-51=20'] Exploring Operation: 22*20=440, Resulting Numbers: [440] 440,49 unequal: No Solution Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[71, 29], Operations: ['98-47=51', '51-22=29'] Exploring Operation: 71*29=2059, Resulting Numbers: [2059] 2059,49 unequal: No Solution Exploring Operation: 71+29=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,49 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: 49:[71, 47, 76], Operations: ['98-22=76'] Exploring Operation: 76-71=5, Resulting Numbers: [47, 5] Generated Node #0,2,0: 49:[47, 5] Operation: 76-71=5 Exploring Operation: 71-47=24, Resulting Numbers: [76, 24] Generated Node #0,2,1: 49:[76, 24] Operation: 71-47=24 Exploring Operation: 76-47=29, Resulting Numbers: [71, 29] Generated Node #0,2,2: 49:[71, 29] Operation: 76-47=29 Moving to Node #0,1,2 Current State: 49:[47, 49], Operations: ['98-71=27', '22+27=49'] Exploring Operation: 47*49=2303, Resulting Numbers: [2303] 2303,49 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[47, 5], Operations: ['98-71=27', '27-22=5'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,49 unequal: No Solution Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[47, 5], Operations: ['98-22=76', '76-71=5'] Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,49 unequal: No Solution Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,49 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[22, 20], Operations: ['98-71=27', '47-27=20'] Exploring Operation: 22*20=440, Resulting Numbers: [440] 440,49 unequal: No Solution Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[71, 29], Operations: ['98-22=76', '76-47=29'] Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 71*29=2059, Resulting Numbers: [2059] 2059,49 unequal: No Solution Exploring Operation: 71+29=100, Resulting Numbers: [100] 100,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[76, 24], Operations: ['98-22=76', '71-47=24'] Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,49 unequal: No Solution Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,49 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 15, 47, 24, 45 ]
41
[ "15+47=62", "45-24=21", "62-21=41" ]
Current State: 41:[15, 47, 24, 45], Operations: [] Exploring Operation: 15+47=62, Resulting Numbers: [24, 45, 62] Generated Node #2: [24, 45, 62] from Operation: 15+47=62 Current State: 41:[24, 45, 62], Operations: ['15+47=62'] Exploring Operation: 45-24=21, Resulting Numbers: [62, 21] Generated Node #3: [62, 21] from Operation: 45-24=21 Current State: 41:[62, 21], Operations: ['15+47=62', '45-24=21'] Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[15, 47, 24, 45], Operations: [] Exploring Operation: 47-15=32, Resulting Numbers: [24, 45, 32] Generated Node #0,0: 41:[24, 45, 32] Operation: 47-15=32 Exploring Operation: 15+24=39, Resulting Numbers: [47, 45, 39] Generated Node #0,1: 41:[47, 45, 39] Operation: 15+24=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[47, 45, 39], Operations: ['15+24=39'] Exploring Operation: 47-45=2, Resulting Numbers: [39, 2] Generated Node #0,1,0: 41:[39, 2] Operation: 47-45=2 Exploring Operation: 47-39=8, Resulting Numbers: [45, 8] Generated Node #0,1,1: 41:[45, 8] Operation: 47-39=8 Moving to Node #0,1,1 Current State: 41:[45, 8], Operations: ['15+24=39', '47-39=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[39, 2], Operations: ['15+24=39', '47-45=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[15, 47, 24, 45], Operations: [] Exploring Operation: 15+24=39, Resulting Numbers: [47, 45, 39] Generated Node #0,1: 41:[47, 45, 39] Operation: 15+24=39 Moving to Node #0,1 Current State: 41:[47, 45, 39], Operations: ['15+24=39'] Exploring Operation: 47-45=2, Resulting Numbers: [39, 2] Generated Node #0,1,0: 41:[39, 2] Operation: 47-45=2 Moving to Node #0,1,0 Current State: 41:[39, 2], Operations: ['15+24=39', '47-45=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 81, 21, 34, 24 ]
44
[ "81+21=102", "34+24=58", "102-58=44" ]
Current State: 44:[81, 21, 34, 24], Operations: [] Exploring Operation: 81+21=102, Resulting Numbers: [34, 24, 102] Generated Node #2: [34, 24, 102] from Operation: 81+21=102 Current State: 44:[34, 24, 102], Operations: ['81+21=102'] Exploring Operation: 34+24=58, Resulting Numbers: [102, 58] Generated Node #3: [102, 58] from Operation: 34+24=58 Current State: 44:[102, 58], Operations: ['81+21=102', '34+24=58'] Exploring Operation: 102-58=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[81, 21, 34, 24], Operations: [] Exploring Operation: 34-21=13, Resulting Numbers: [81, 24, 13] Generated Node #0,0: 44:[81, 24, 13] Operation: 34-21=13 Exploring Operation: 81-34=47, Resulting Numbers: [21, 24, 47] Generated Node #0,1: 44:[21, 24, 47] Operation: 81-34=47 Exploring Operation: 81-24=57, Resulting Numbers: [21, 34, 57] Generated Node #0,2: 44:[21, 34, 57] Operation: 81-24=57 Exploring Operation: 81-21=60, Resulting Numbers: [34, 24, 60] Generated Node #0,3: 44:[34, 24, 60] Operation: 81-21=60 Exploring Operation: 34-24=10, Resulting Numbers: [81, 21, 10] Generated Node #0,4: 44:[81, 21, 10] Operation: 34-24=10 Moving to Node #0,1 Current State: 44:[21, 24, 47], Operations: ['81-34=47'] Exploring Operation: 21+24=45, Resulting Numbers: [47, 45] Generated Node #0,1,0: 44:[47, 45] Operation: 21+24=45 Exploring Operation: 21+47=68, Resulting Numbers: [24, 68] Generated Node #0,1,1: 44:[24, 68] Operation: 21+47=68 Exploring Operation: 47-21=26, Resulting Numbers: [24, 26] Generated Node #0,1,2: 44:[24, 26] Operation: 47-21=26 Exploring Operation: 24-21=3, Resulting Numbers: [47, 3] Generated Node #0,1,3: 44:[47, 3] Operation: 24-21=3 Exploring Operation: 47-24=23, Resulting Numbers: [21, 23] Generated Node #0,1,4: 44:[21, 23] Operation: 47-24=23 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 44:[21, 23], Operations: ['81-34=47', '47-24=23'] Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 21*23=483, Resulting Numbers: [483] 483,44 unequal: No Solution Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[81, 21, 34, 24], Operations: [] Exploring Operation: 81-34=47, Resulting Numbers: [21, 24, 47] Generated Node #0,1: 44:[21, 24, 47] Operation: 81-34=47 Moving to Node #0,1 Current State: 44:[21, 24, 47], Operations: ['81-34=47'] Exploring Operation: 47-24=23, Resulting Numbers: [21, 23] Generated Node #0,1,4: 44:[21, 23] Operation: 47-24=23 Moving to Node #0,1,4 Current State: 44:[21, 23], Operations: ['81-34=47', '47-24=23'] Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 13, 71, 15, 52 ]
45
[ "15-13=2", "52/2=26", "71-26=45" ]
Current State: 45:[13, 71, 15, 52], Operations: [] Exploring Operation: 15-13=2, Resulting Numbers: [71, 52, 2] Generated Node #2: [71, 52, 2] from Operation: 15-13=2 Current State: 45:[71, 52, 2], Operations: ['15-13=2'] Exploring Operation: 52/2=26, Resulting Numbers: [71, 26] Generated Node #3: [71, 26] from Operation: 52/2=26 Current State: 45:[71, 26], Operations: ['15-13=2', '52/2=26'] Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[13, 71, 15, 52], Operations: [] Exploring Operation: 71-13=58, Resulting Numbers: [15, 52, 58] Generated Node #0,0: 45:[15, 52, 58] Operation: 71-13=58 Exploring Operation: 71-52=19, Resulting Numbers: [13, 15, 19] Generated Node #0,1: 45:[13, 15, 19] Operation: 71-52=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[13, 15, 19], Operations: ['71-52=19'] Exploring Operation: 19-15=4, Resulting Numbers: [13, 4] Generated Node #0,1,0: 45:[13, 4] Operation: 19-15=4 Exploring Operation: 19-13=6, Resulting Numbers: [15, 6] Generated Node #0,1,1: 45:[15, 6] Operation: 19-13=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[15, 6], Operations: ['71-52=19', '19-13=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[13, 4], Operations: ['71-52=19', '19-15=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[15, 52, 58], Operations: ['71-13=58'] Exploring Operation: 58-15=43, Resulting Numbers: [52, 43] Generated Node #0,0,0: 45:[52, 43] Operation: 58-15=43 Exploring Operation: 58-52=6, Resulting Numbers: [15, 6] Generated Node #0,0,1: 45:[15, 6] Operation: 58-52=6 Moving to Node #0,0,1 Current State: 45:[15, 6], Operations: ['71-13=58', '58-52=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[52, 43], Operations: ['71-13=58', '58-15=43'] Exploring Operation: 52+43=95, Resulting Numbers: [95] 95,45 unequal: No Solution Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,45 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
[ 42, 5, 6, 6 ]
11
[ "42+5=47", "6*6=36", "47-36=11" ]
Current State: 11:[42, 5, 6, 6], Operations: [] Exploring Operation: 42+5=47, Resulting Numbers: [6, 6, 47] Generated Node #2: [6, 6, 47] from Operation: 42+5=47 Current State: 11:[6, 6, 47], Operations: ['42+5=47'] Exploring Operation: 6*6=36, Resulting Numbers: [47, 36] Generated Node #3: [47, 36] from Operation: 6*6=36 Current State: 11:[47, 36], Operations: ['42+5=47', '6*6=36'] Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[42, 5, 6, 6], Operations: [] Exploring Operation: 42/6=7, Resulting Numbers: [5, 6, 7] Generated Node #0,0: 11:[5, 6, 7] Operation: 42/6=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[5, 6, 7], Operations: ['42/6=7'] Exploring Operation: 5+6=11, Resulting Numbers: [7, 11] Generated Node #0,0,0: 11:[7, 11] Operation: 5+6=11 Moving to Node #0,0,0 Current State: 11:[7, 11], Operations: ['42/6=7', '5+6=11'] Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,11 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
[ 14, 64, 84, 90 ]
32
[ "84/14=6", "90-64=26", "6+26=32" ]
Current State: 32:[14, 64, 84, 90], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [64, 90, 6] Generated Node #2: [64, 90, 6] from Operation: 84/14=6 Current State: 32:[64, 90, 6], Operations: ['84/14=6'] Exploring Operation: 90-64=26, Resulting Numbers: [6, 26] Generated Node #3: [6, 26] from Operation: 90-64=26 Current State: 32:[6, 26], Operations: ['84/14=6', '90-64=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[14, 64, 84, 90], Operations: [] Exploring Operation: 84-64=20, Resulting Numbers: [14, 90, 20] Generated Node #0,0: 32:[14, 90, 20] Operation: 84-64=20 Exploring Operation: 90-84=6, Resulting Numbers: [14, 64, 6] Generated Node #0,1: 32:[14, 64, 6] Operation: 90-84=6 Exploring Operation: 90-64=26, Resulting Numbers: [14, 84, 26] Generated Node #0,2: 32:[14, 84, 26] Operation: 90-64=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[14, 64, 6], Operations: ['90-84=6'] Exploring Operation: 64-6=58, Resulting Numbers: [14, 58] Generated Node #0,1,0: 32:[14, 58] Operation: 64-6=58 Exploring Operation: 64-14=50, Resulting Numbers: [6, 50] Generated Node #0,1,1: 32:[6, 50] Operation: 64-14=50 Exploring Operation: 14-6=8, Resulting Numbers: [64, 8] Generated Node #0,1,2: 32:[64, 8] Operation: 14-6=8 Moving to Node #0,1,1 Current State: 32:[6, 50], Operations: ['90-84=6', '64-14=50'] Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,32 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[14, 58], Operations: ['90-84=6', '64-6=58'] Exploring Operation: 14+58=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 14*58=812, Resulting Numbers: [812] 812,32 unequal: No Solution Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[64, 8], Operations: ['90-84=6', '14-6=8'] Exploring Operation: 64+8=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,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:[14, 84, 26], Operations: ['90-64=26'] Exploring Operation: 84-14=70, Resulting Numbers: [26, 70] Generated Node #0,2,0: 32:[26, 70] Operation: 84-14=70 Exploring Operation: 84-26=58, Resulting Numbers: [14, 58] Generated Node #0,2,1: 32:[14, 58] Operation: 84-26=58 Exploring Operation: 84/14=6, Resulting Numbers: [26, 6] Generated Node #0,2,2: 32:[26, 6] Operation: 84/14=6 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 32:[26, 6], Operations: ['90-64=26', '84/14=6'] Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[14, 64, 84, 90], Operations: [] Exploring Operation: 90-64=26, Resulting Numbers: [14, 84, 26] Generated Node #0,2: 32:[14, 84, 26] Operation: 90-64=26 Moving to Node #0,2 Current State: 32:[14, 84, 26], Operations: ['90-64=26'] Exploring Operation: 84/14=6, Resulting Numbers: [26, 6] Generated Node #0,2,2: 32:[26, 6] Operation: 84/14=6 Moving to Node #0,2,2 Current State: 32:[26, 6], Operations: ['90-64=26', '84/14=6'] Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 10, 94, 3, 97 ]
60
[ "94-3=91", "97-91=6", "10*6=60" ]
Current State: 60:[10, 94, 3, 97], Operations: [] Exploring Operation: 94-3=91, Resulting Numbers: [10, 97, 91] Generated Node #2: [10, 97, 91] from Operation: 94-3=91 Current State: 60:[10, 97, 91], Operations: ['94-3=91'] Exploring Operation: 97-91=6, Resulting Numbers: [10, 6] Generated Node #3: [10, 6] from Operation: 97-91=6 Current State: 60:[10, 6], Operations: ['94-3=91', '97-91=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[10, 94, 3, 97], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [10, 3, 3] Generated Node #0,0: 60:[10, 3, 3] Operation: 97-94=3 Exploring Operation: 94-10=84, Resulting Numbers: [3, 97, 84] Generated Node #0,1: 60:[3, 97, 84] Operation: 94-10=84 Exploring Operation: 97-10=87, Resulting Numbers: [94, 3, 87] Generated Node #0,2: 60:[94, 3, 87] Operation: 97-10=87 Moving to Node #0,0 Current State: 60:[10, 3, 3], Operations: ['97-94=3'] Exploring Operation: 10*3=30, Resulting Numbers: [3, 30] Generated Node #0,0,0: 60:[3, 30] Operation: 10*3=30 Exploring Operation: 10*3=30, Resulting Numbers: [3, 30] Generated Node #0,0,1: 60:[3, 30] Operation: 10*3=30 Exploring Operation: 3+3=6, Resulting Numbers: [10, 6] Generated Node #0,0,2: 60:[10, 6] Operation: 3+3=6 Moving to Node #0,1 Current State: 60:[3, 97, 84], Operations: ['94-10=84'] Exploring Operation: 97-3=94, Resulting Numbers: [84, 94] Generated Node #0,1,0: 60:[84, 94] Operation: 97-3=94 Exploring Operation: 97-84=13, Resulting Numbers: [3, 13] Generated Node #0,1,1: 60:[3, 13] Operation: 97-84=13 Exploring Operation: 84/3=28, Resulting Numbers: [97, 28] Generated Node #0,1,2: 60:[97, 28] Operation: 84/3=28 Moving to Node #0,2 Current State: 60:[94, 3, 87], Operations: ['97-10=87'] Exploring Operation: 94-87=7, Resulting Numbers: [3, 7] Generated Node #0,2,0: 60:[3, 7] Operation: 94-87=7 Exploring Operation: 87/3=29, Resulting Numbers: [94, 29] Generated Node #0,2,1: 60:[94, 29] Operation: 87/3=29 Exploring Operation: 94-3=91, Resulting Numbers: [87, 91] Generated Node #0,2,2: 60:[87, 91] Operation: 94-3=91 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 60:[3, 7], Operations: ['97-10=87', '94-87=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,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,2,1 Current State: 60:[94, 29], Operations: ['97-10=87', '87/3=29'] Exploring Operation: 94+29=123, Resulting Numbers: [123] 123,60 unequal: No Solution Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 94*29=2726, Resulting Numbers: [2726] 2726,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,2,2 Current State: 60:[87, 91], Operations: ['97-10=87', '94-3=91'] Exploring Operation: 91-87=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 87+91=178, Resulting Numbers: [178] 178,60 unequal: No Solution Exploring Operation: 87*91=7917, Resulting Numbers: [7917] 7917,60 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: 60:[3, 30], Operations: ['97-94=3', '10*3=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[10, 6], Operations: ['97-94=3', '3+3=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[10, 94, 3, 97], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [10, 3, 3] Generated Node #0,0: 60:[10, 3, 3] Operation: 97-94=3 Moving to Node #0,0 Current State: 60:[10, 3, 3], Operations: ['97-94=3'] Exploring Operation: 3+3=6, Resulting Numbers: [10, 6] Generated Node #0,0,2: 60:[10, 6] Operation: 3+3=6 Moving to Node #0,0,2 Current State: 60:[10, 6], Operations: ['97-94=3', '3+3=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.973958
hs_3
sum_heuristic
[ 33, 28, 14, 77 ]
88
[ "77-33=44", "28/14=2", "44*2=88" ]
Current State: 88:[33, 28, 14, 77], Operations: [] Exploring Operation: 77-33=44, Resulting Numbers: [28, 14, 44] Generated Node #2: [28, 14, 44] from Operation: 77-33=44 Current State: 88:[28, 14, 44], Operations: ['77-33=44'] Exploring Operation: 28/14=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 28/14=2 Current State: 88:[44, 2], Operations: ['77-33=44', '28/14=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[33, 28, 14, 77], Operations: [] Exploring Operation: 77-33=44, Resulting Numbers: [28, 14, 44] Generated Node #0,0: 88:[28, 14, 44] Operation: 77-33=44 Moving to Node #0,0 Current State: 88:[28, 14, 44], Operations: ['77-33=44'] Exploring Operation: 28/14=2, Resulting Numbers: [44, 2] Generated Node #0,0,0: 88:[44, 2] Operation: 28/14=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[44, 2], Operations: ['77-33=44', '28/14=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[33, 28, 14, 77], Operations: [] Exploring Operation: 77-33=44, Resulting Numbers: [28, 14, 44] Generated Node #0,0: 88:[28, 14, 44] Operation: 77-33=44 Moving to Node #0,0 Current State: 88:[28, 14, 44], Operations: ['77-33=44'] Exploring Operation: 28/14=2, Resulting Numbers: [44, 2] Generated Node #0,0,0: 88:[44, 2] Operation: 28/14=2 Moving to Node #0,0,0 Current State: 88:[44, 2], Operations: ['77-33=44', '28/14=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 6, 42, 64, 48 ]
98
[ "48/6=8", "42+64=106", "106-8=98" ]
Current State: 98:[6, 42, 64, 48], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [42, 64, 8] Generated Node #2: [42, 64, 8] from Operation: 48/6=8 Current State: 98:[42, 64, 8], Operations: ['48/6=8'] Exploring Operation: 42+64=106, Resulting Numbers: [8, 106] Generated Node #3: [8, 106] from Operation: 42+64=106 Current State: 98:[8, 106], Operations: ['48/6=8', '42+64=106'] Exploring Operation: 106-8=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[6, 42, 64, 48], Operations: [] Exploring Operation: 64-42=22, Resulting Numbers: [6, 48, 22] Generated Node #0,0: 98:[6, 48, 22] Operation: 64-42=22 Exploring Operation: 42+64=106, Resulting Numbers: [6, 48, 106] Generated Node #0,1: 98:[6, 48, 106] Operation: 42+64=106 Moving to Node #0,0 Current State: 98:[6, 48, 22], Operations: ['64-42=22'] Exploring Operation: 48/6=8, Resulting Numbers: [22, 8] Generated Node #0,0,0: 98:[22, 8] Operation: 48/6=8 Exploring Operation: 22-6=16, Resulting Numbers: [48, 16] Generated Node #0,0,1: 98:[48, 16] Operation: 22-6=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[48, 16], Operations: ['64-42=22', '22-6=16'] Exploring Operation: 48+16=64, Resulting Numbers: [64] 64,98 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[22, 8], Operations: ['64-42=22', '48/6=8'] Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,98 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,98 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: 98:[6, 48, 106], Operations: ['42+64=106'] Exploring Operation: 48/6=8, Resulting Numbers: [106, 8] Generated Node #0,1,0: 98:[106, 8] Operation: 48/6=8 Exploring Operation: 106-6=100, Resulting Numbers: [48, 100] Generated Node #0,1,1: 98:[48, 100] Operation: 106-6=100 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[48, 100], Operations: ['42+64=106', '106-6=100'] Exploring Operation: 48+100=148, Resulting Numbers: [148] 148,98 unequal: No Solution Exploring Operation: 100-48=52, Resulting Numbers: [52] 52,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[106, 8], Operations: ['42+64=106', '48/6=8'] Exploring Operation: 106+8=114, Resulting Numbers: [114] 114,98 unequal: No Solution Exploring Operation: 106-8=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[6, 42, 64, 48], Operations: [] Exploring Operation: 42+64=106, Resulting Numbers: [6, 48, 106] Generated Node #0,1: 98:[6, 48, 106] Operation: 42+64=106 Moving to Node #0,1 Current State: 98:[6, 48, 106], Operations: ['42+64=106'] Exploring Operation: 48/6=8, Resulting Numbers: [106, 8] Generated Node #0,1,0: 98:[106, 8] Operation: 48/6=8 Moving to Node #0,1,0 Current State: 98:[106, 8], Operations: ['42+64=106', '48/6=8'] Exploring Operation: 106-8=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 23, 70, 33, 78 ]
42
[ "78-23=55", "70*33=2310", "2310/55=42" ]
Current State: 42:[23, 70, 33, 78], Operations: [] Exploring Operation: 78-23=55, Resulting Numbers: [70, 33, 55] Generated Node #2: [70, 33, 55] from Operation: 78-23=55 Current State: 42:[70, 33, 55], Operations: ['78-23=55'] Exploring Operation: 70*33=2310, Resulting Numbers: [55, 2310] Generated Node #3: [55, 2310] from Operation: 70*33=2310 Current State: 42:[55, 2310], Operations: ['78-23=55', '70*33=2310'] Exploring Operation: 2310/55=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[23, 70, 33, 78], Operations: [] Exploring Operation: 70-33=37, Resulting Numbers: [23, 78, 37] Generated Node #0,0: 42:[23, 78, 37] Operation: 70-33=37 Exploring Operation: 78-70=8, Resulting Numbers: [23, 33, 8] Generated Node #0,1: 42:[23, 33, 8] Operation: 78-70=8 Exploring Operation: 78-33=45, Resulting Numbers: [23, 70, 45] Generated Node #0,2: 42:[23, 70, 45] Operation: 78-33=45 Exploring Operation: 70-23=47, Resulting Numbers: [33, 78, 47] Generated Node #0,3: 42:[33, 78, 47] Operation: 70-23=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[23, 33, 8], Operations: ['78-70=8'] Exploring Operation: 33+8=41, Resulting Numbers: [23, 41] Generated Node #0,1,0: 42:[23, 41] Operation: 33+8=41 Exploring Operation: 33-23=10, Resulting Numbers: [8, 10] Generated Node #0,1,1: 42:[8, 10] Operation: 33-23=10 Exploring Operation: 33-8=25, Resulting Numbers: [23, 25] Generated Node #0,1,2: 42:[23, 25] Operation: 33-8=25 Exploring Operation: 23-8=15, Resulting Numbers: [33, 15] Generated Node #0,1,3: 42:[33, 15] Operation: 23-8=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[23, 41], Operations: ['78-70=8', '33+8=41'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,42 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[8, 10], Operations: ['78-70=8', '33-23=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,42 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[23, 25], Operations: ['78-70=8', '33-8=25'] Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,42 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 42:[33, 15], Operations: ['78-70=8', '23-8=15'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[23, 70, 45], Operations: ['78-33=45'] Exploring Operation: 45-23=22, Resulting Numbers: [70, 22] Generated Node #0,2,0: 42:[70, 22] Operation: 45-23=22 Exploring Operation: 23+70=93, Resulting Numbers: [45, 93] Generated Node #0,2,1: 42:[45, 93] Operation: 23+70=93 Exploring Operation: 70-45=25, Resulting Numbers: [23, 25] Generated Node #0,2,2: 42:[23, 25] Operation: 70-45=25 Exploring Operation: 70-23=47, Resulting Numbers: [45, 47] Generated Node #0,2,3: 42:[45, 47] Operation: 70-23=47 Moving to Node #0,2,2 Current State: 42:[23, 25], Operations: ['78-33=45', '70-45=25'] Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[45, 47], Operations: ['78-33=45', '70-23=47'] Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 45+47=92, Resulting Numbers: [92] 92,42 unequal: No Solution Exploring Operation: 45*47=2115, Resulting Numbers: [2115] 2115,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[70, 22], Operations: ['78-33=45', '45-23=22'] Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,42 unequal: No Solution Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,42 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[45, 93], Operations: ['78-33=45', '23+70=93'] Exploring Operation: 45*93=4185, Resulting Numbers: [4185] 4185,42 unequal: No Solution Exploring Operation: 45+93=138, Resulting Numbers: [138] 138,42 unequal: No Solution Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[23, 78, 37], Operations: ['70-33=37'] Exploring Operation: 37-23=14, Resulting Numbers: [78, 14] Generated Node #0,0,0: 42:[78, 14] Operation: 37-23=14 Exploring Operation: 78-37=41, Resulting Numbers: [23, 41] Generated Node #0,0,1: 42:[23, 41] Operation: 78-37=41 Exploring Operation: 23+37=60, Resulting Numbers: [78, 60] Generated Node #0,0,2: 42:[78, 60] Operation: 23+37=60 Exploring Operation: 78-23=55, Resulting Numbers: [37, 55] Generated Node #0,0,3: 42:[37, 55] Operation: 78-23=55 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[23, 41], Operations: ['70-33=37', '78-37=41'] Exploring Operation: 23*41=943, Resulting Numbers: [943] 943,42 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 23+41=64, Resulting Numbers: [64] 64,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 42:[37, 55], Operations: ['70-33=37', '78-23=55'] Exploring Operation: 37+55=92, Resulting Numbers: [92] 92,42 unequal: No Solution Exploring Operation: 37*55=2035, Resulting Numbers: [2035] 2035,42 unequal: No Solution Exploring Operation: 55-37=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[78, 14], Operations: ['70-33=37', '37-23=14'] Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,42 unequal: No Solution Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,42 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[78, 60], Operations: ['70-33=37', '23+37=60'] Exploring Operation: 78+60=138, Resulting Numbers: [138] 138,42 unequal: No Solution Exploring Operation: 78*60=4680, Resulting Numbers: [4680] 4680,42 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[33, 78, 47], Operations: ['70-23=47'] Exploring Operation: 47-33=14, Resulting Numbers: [78, 14] Generated Node #0,3,0: 42:[78, 14] Operation: 47-33=14 Exploring Operation: 78-47=31, Resulting Numbers: [33, 31] Generated Node #0,3,1: 42:[33, 31] Operation: 78-47=31 Exploring Operation: 33+78=111, Resulting Numbers: [47, 111] Generated Node #0,3,2: 42:[47, 111] Operation: 33+78=111 Exploring Operation: 78-33=45, Resulting Numbers: [47, 45] Generated Node #0,3,3: 42:[47, 45] Operation: 78-33=45 Moving to Node #0,3,3 Current State: 42:[47, 45], Operations: ['70-23=47', '78-33=45'] Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,42 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 47*45=2115, Resulting Numbers: [2115] 2115,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[33, 31], Operations: ['70-23=47', '78-47=31'] Exploring Operation: 33*31=1023, Resulting Numbers: [1023] 1023,42 unequal: No Solution Exploring Operation: 33+31=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,42 unequal: No Solution Moving to Node #0,3,0 Current State: 42:[78, 14], Operations: ['70-23=47', '47-33=14'] Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,42 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[47, 111], Operations: ['70-23=47', '33+78=111'] Exploring Operation: 47+111=158, Resulting Numbers: [158] 158,42 unequal: No Solution Exploring Operation: 47*111=5217, Resulting Numbers: [5217] 5217,42 unequal: No Solution Exploring Operation: 111-47=64, Resulting Numbers: [64] 64,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 26, 27, 9, 70 ]
41
[ "70-26=44", "27/9=3", "44-3=41" ]
Current State: 41:[26, 27, 9, 70], Operations: [] Exploring Operation: 70-26=44, Resulting Numbers: [27, 9, 44] Generated Node #2: [27, 9, 44] from Operation: 70-26=44 Current State: 41:[27, 9, 44], Operations: ['70-26=44'] Exploring Operation: 27/9=3, Resulting Numbers: [44, 3] Generated Node #3: [44, 3] from Operation: 27/9=3 Current State: 41:[44, 3], Operations: ['70-26=44', '27/9=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[26, 27, 9, 70], Operations: [] Exploring Operation: 26+9=35, Resulting Numbers: [27, 70, 35] Generated Node #0,0: 41:[27, 70, 35] Operation: 26+9=35 Exploring Operation: 70-9=61, Resulting Numbers: [26, 27, 61] Generated Node #0,1: 41:[26, 27, 61] Operation: 70-9=61 Exploring Operation: 70-27=43, Resulting Numbers: [26, 9, 43] Generated Node #0,2: 41:[26, 9, 43] Operation: 70-27=43 Exploring Operation: 70-26=44, Resulting Numbers: [27, 9, 44] Generated Node #0,3: 41:[27, 9, 44] Operation: 70-26=44 Exploring Operation: 27+9=36, Resulting Numbers: [26, 70, 36] Generated Node #0,4: 41:[26, 70, 36] Operation: 27+9=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[27, 70, 35], Operations: ['26+9=35'] Exploring Operation: 70-27=43, Resulting Numbers: [35, 43] Generated Node #0,0,0: 41:[35, 43] Operation: 70-27=43 Exploring Operation: 70-35=35, Resulting Numbers: [27, 35] Generated Node #0,0,1: 41:[27, 35] Operation: 70-35=35 Exploring Operation: 27+35=62, Resulting Numbers: [70, 62] Generated Node #0,0,2: 41:[70, 62] Operation: 27+35=62 Exploring Operation: 27+70=97, Resulting Numbers: [35, 97] Generated Node #0,0,3: 41:[35, 97] Operation: 27+70=97 Exploring Operation: 70/35=2, Resulting Numbers: [27, 2] Generated Node #0,0,4: 41:[27, 2] Operation: 70/35=2 Moving to Node #0,0,0 Current State: 41:[35, 43], Operations: ['26+9=35', '70-27=43'] Exploring Operation: 35+43=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 35*43=1505, Resulting Numbers: [1505] 1505,41 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[27, 35], Operations: ['26+9=35', '70-35=35'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[70, 62], Operations: ['26+9=35', '27+35=62'] Exploring Operation: 70+62=132, Resulting Numbers: [132] 132,41 unequal: No Solution Exploring Operation: 70*62=4340, Resulting Numbers: [4340] 4340,41 unequal: No Solution Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,41 unequal: No Solution Moving to Node #0,0,4 Current State: 41:[27, 2], Operations: ['26+9=35', '70/35=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[35, 97], Operations: ['26+9=35', '27+70=97'] Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 35*97=3395, Resulting Numbers: [3395] 3395,41 unequal: No Solution Exploring Operation: 35+97=132, Resulting Numbers: [132] 132,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[26, 27, 61], Operations: ['70-9=61'] Exploring Operation: 61-26=35, Resulting Numbers: [27, 35] Generated Node #0,1,0: 41:[27, 35] Operation: 61-26=35 Exploring Operation: 26+61=87, Resulting Numbers: [27, 87] Generated Node #0,1,1: 41:[27, 87] Operation: 26+61=87 Exploring Operation: 61-27=34, Resulting Numbers: [26, 34] Generated Node #0,1,2: 41:[26, 34] Operation: 61-27=34 Exploring Operation: 27-26=1, Resulting Numbers: [61, 1] Generated Node #0,1,3: 41:[61, 1] Operation: 27-26=1 Exploring Operation: 26+27=53, Resulting Numbers: [61, 53] Generated Node #0,1,4: 41:[61, 53] Operation: 26+27=53 Moving to Node #0,1,0 Current State: 41:[27, 35], Operations: ['70-9=61', '61-26=35'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[26, 34], Operations: ['70-9=61', '61-27=34'] Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[61, 53], Operations: ['70-9=61', '26+27=53'] Exploring Operation: 61*53=3233, Resulting Numbers: [3233] 3233,41 unequal: No Solution Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 61+53=114, Resulting Numbers: [114] 114,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[27, 87], Operations: ['70-9=61', '26+61=87'] Exploring Operation: 87-27=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 27+87=114, Resulting Numbers: [114] 114,41 unequal: No Solution Exploring Operation: 27*87=2349, Resulting Numbers: [2349] 2349,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[61, 1], Operations: ['70-9=61', '27-26=1'] Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,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 Current State: 41:[26, 9, 43], Operations: ['70-27=43'] Exploring Operation: 43-9=34, Resulting Numbers: [26, 34] Generated Node #0,2,0: 41:[26, 34] Operation: 43-9=34 Exploring Operation: 9+43=52, Resulting Numbers: [26, 52] Generated Node #0,2,1: 41:[26, 52] Operation: 9+43=52 Exploring Operation: 43-26=17, Resulting Numbers: [9, 17] Generated Node #0,2,2: 41:[9, 17] Operation: 43-26=17 Exploring Operation: 26-9=17, Resulting Numbers: [43, 17] Generated Node #0,2,3: 41:[43, 17] Operation: 26-9=17 Exploring Operation: 26+9=35, Resulting Numbers: [43, 35] Generated Node #0,2,4: 41:[43, 35] Operation: 26+9=35 Moving to Node #0,2,4 Current State: 41:[43, 35], Operations: ['70-27=43', '26+9=35'] Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 43*35=1505, Resulting Numbers: [1505] 1505,41 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[26, 34], Operations: ['70-27=43', '43-9=34'] Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,41 unequal: No Solution Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[26, 52], Operations: ['70-27=43', '9+43=52'] Exploring Operation: 26*52=1352, Resulting Numbers: [1352] 1352,41 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,41 unequal: No Solution Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[43, 17], Operations: ['70-27=43', '26-9=17'] Exploring Operation: 43+17=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,41 unequal: No Solution Exploring Operation: 43*17=731, Resulting Numbers: [731] 731,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[9, 17], Operations: ['70-27=43', '43-26=17'] Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,41 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[27, 9, 44], Operations: ['70-26=44'] Exploring Operation: 27-9=18, Resulting Numbers: [44, 18] Generated Node #0,3,0: 41:[44, 18] Operation: 27-9=18 Exploring Operation: 9+44=53, Resulting Numbers: [27, 53] Generated Node #0,3,1: 41:[27, 53] Operation: 9+44=53 Exploring Operation: 27/9=3, Resulting Numbers: [44, 3] Generated Node #0,3,2: 41:[44, 3] Operation: 27/9=3 Exploring Operation: 44-9=35, Resulting Numbers: [27, 35] Generated Node #0,3,3: 41:[27, 35] Operation: 44-9=35 Exploring Operation: 27+9=36, Resulting Numbers: [44, 36] Generated Node #0,3,4: 41:[44, 36] Operation: 27+9=36 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 41:[44, 36], Operations: ['70-26=44', '27+9=36'] Exploring Operation: 44*36=1584, Resulting Numbers: [1584] 1584,41 unequal: No Solution Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 44+36=80, Resulting Numbers: [80] 80,41 unequal: No Solution No 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: 41:[27, 35], Operations: ['70-26=44', '44-9=35'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,41 unequal: No Solution Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,41 unequal: No Solution No 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: 41:[44, 18], Operations: ['70-26=44', '27-9=18'] Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,41 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,41 unequal: No Solution Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,41 unequal: No Solution No 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: 41:[27, 53], Operations: ['70-26=44', '9+44=53'] Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,41 unequal: No Solution Exploring Operation: 27*53=1431, Resulting Numbers: [1431] 1431,41 unequal: No Solution Exploring Operation: 27+53=80, Resulting Numbers: [80] 80,41 unequal: No Solution No 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: 41:[44, 3], Operations: ['70-26=44', '27/9=3'] Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,41 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[26, 27, 9, 70], Operations: [] Exploring Operation: 70-26=44, Resulting Numbers: [27, 9, 44] Generated Node #0,3: 41:[27, 9, 44] Operation: 70-26=44 Moving to Node #0,3 Current State: 41:[27, 9, 44], Operations: ['70-26=44'] Exploring Operation: 27/9=3, Resulting Numbers: [44, 3] Generated Node #0,3,2: 41:[44, 3] Operation: 27/9=3 Moving to Node #0,3,2 Current State: 41:[44, 3], Operations: ['70-26=44', '27/9=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.921875
hs_5
mult_heuristic
[ 8, 34, 32, 82 ]
37
[ "82-8=74", "34-32=2", "74/2=37" ]
Current State: 37:[8, 34, 32, 82], Operations: [] Exploring Operation: 82-8=74, Resulting Numbers: [34, 32, 74] Generated Node #2: [34, 32, 74] from Operation: 82-8=74 Current State: 37:[34, 32, 74], Operations: ['82-8=74'] Exploring Operation: 34-32=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 34-32=2 Current State: 37:[74, 2], Operations: ['82-8=74', '34-32=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[8, 34, 32, 82], Operations: [] Exploring Operation: 82-8=74, Resulting Numbers: [34, 32, 74] Generated Node #0,0: 37:[34, 32, 74] Operation: 82-8=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[34, 32, 74], Operations: ['82-8=74'] Exploring Operation: 74-34=40, Resulting Numbers: [32, 40] Generated Node #0,0,0: 37:[32, 40] Operation: 74-34=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[32, 40], Operations: ['82-8=74', '74-34=40'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,37 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
[ 67, 23, 65, 20 ]
17
[ "67-65=2", "20*2=40", "40-23=17" ]
Current State: 17:[67, 23, 65, 20], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [23, 20, 2] Generated Node #2: [23, 20, 2] from Operation: 67-65=2 Current State: 17:[23, 20, 2], Operations: ['67-65=2'] Exploring Operation: 20*2=40, Resulting Numbers: [23, 40] Generated Node #3: [23, 40] from Operation: 20*2=40 Current State: 17:[23, 40], Operations: ['67-65=2', '20*2=40'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[67, 23, 65, 20], Operations: [] Exploring Operation: 67-23=44, Resulting Numbers: [65, 20, 44] Generated Node #0,0: 17:[65, 20, 44] Operation: 67-23=44 Exploring Operation: 67-65=2, Resulting Numbers: [23, 20, 2] Generated Node #0,1: 17:[23, 20, 2] Operation: 67-65=2 Moving to Node #0,1 Current State: 17:[23, 20, 2], Operations: ['67-65=2'] Exploring Operation: 23-2=21, Resulting Numbers: [20, 21] Generated Node #0,1,0: 17:[20, 21] Operation: 23-2=21 Exploring Operation: 20-2=18, Resulting Numbers: [23, 18] Generated Node #0,1,1: 17:[23, 18] Operation: 20-2=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[20, 21], Operations: ['67-65=2', '23-2=21'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[23, 18], Operations: ['67-65=2', '20-2=18'] Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,17 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 17:[65, 20, 44], Operations: ['67-23=44'] Exploring Operation: 65-20=45, Resulting Numbers: [44, 45] Generated Node #0,0,0: 17:[44, 45] Operation: 65-20=45 Exploring Operation: 65-44=21, Resulting Numbers: [20, 21] Generated Node #0,0,1: 17:[20, 21] Operation: 65-44=21 Moving to Node #0,0,1 Current State: 17:[20, 21], Operations: ['67-23=44', '65-44=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,17 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[44, 45], Operations: ['67-23=44', '65-20=45'] Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,17 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,17 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 65, 54, 42, 11 ]
66
[ "65+54=119", "42+11=53", "119-53=66" ]
Current State: 66:[65, 54, 42, 11], Operations: [] Exploring Operation: 65+54=119, Resulting Numbers: [42, 11, 119] Generated Node #2: [42, 11, 119] from Operation: 65+54=119 Current State: 66:[42, 11, 119], Operations: ['65+54=119'] Exploring Operation: 42+11=53, Resulting Numbers: [119, 53] Generated Node #3: [119, 53] from Operation: 42+11=53 Current State: 66:[119, 53], Operations: ['65+54=119', '42+11=53'] Exploring Operation: 119-53=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[65, 54, 42, 11], Operations: [] Exploring Operation: 42-11=31, Resulting Numbers: [65, 54, 31] Generated Node #0,0: 66:[65, 54, 31] Operation: 42-11=31 Exploring Operation: 65-42=23, Resulting Numbers: [54, 11, 23] Generated Node #0,1: 66:[54, 11, 23] Operation: 65-42=23 Exploring Operation: 54-42=12, Resulting Numbers: [65, 11, 12] Generated Node #0,2: 66:[65, 11, 12] Operation: 54-42=12 Exploring Operation: 54+11=65, Resulting Numbers: [65, 42, 65] Generated Node #0,3: 66:[65, 42, 65] Operation: 54+11=65 Exploring Operation: 65-54=11, Resulting Numbers: [42, 11, 11] Generated Node #0,4: 66:[42, 11, 11] Operation: 65-54=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[65, 11, 12], Operations: ['54-42=12'] Exploring Operation: 65+12=77, Resulting Numbers: [11, 77] Generated Node #0,2,0: 66:[11, 77] Operation: 65+12=77 Exploring Operation: 12-11=1, Resulting Numbers: [65, 1] Generated Node #0,2,1: 66:[65, 1] Operation: 12-11=1 Exploring Operation: 65-11=54, Resulting Numbers: [12, 54] Generated Node #0,2,2: 66:[12, 54] Operation: 65-11=54 Exploring Operation: 11+12=23, Resulting Numbers: [65, 23] Generated Node #0,2,3: 66:[65, 23] Operation: 11+12=23 Exploring Operation: 65+11=76, Resulting Numbers: [12, 76] Generated Node #0,2,4: 66:[12, 76] Operation: 65+11=76 Moving to Node #0,2,1 Current State: 66:[65, 1], Operations: ['54-42=12', '12-11=1'] Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[65, 54, 42, 11], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [65, 11, 12] Generated Node #0,2: 66:[65, 11, 12] Operation: 54-42=12 Moving to Node #0,2 Current State: 66:[65, 11, 12], Operations: ['54-42=12'] Exploring Operation: 12-11=1, Resulting Numbers: [65, 1] Generated Node #0,2,1: 66:[65, 1] Operation: 12-11=1 Moving to Node #0,2,1 Current State: 66:[65, 1], Operations: ['54-42=12', '12-11=1'] Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 62, 40, 26, 56 ]
52
[ "62-40=22", "56-26=30", "22+30=52" ]
Current State: 52:[62, 40, 26, 56], Operations: [] Exploring Operation: 62-40=22, Resulting Numbers: [26, 56, 22] Generated Node #2: [26, 56, 22] from Operation: 62-40=22 Current State: 52:[26, 56, 22], Operations: ['62-40=22'] Exploring Operation: 56-26=30, Resulting Numbers: [22, 30] Generated Node #3: [22, 30] from Operation: 56-26=30 Current State: 52:[22, 30], Operations: ['62-40=22', '56-26=30'] Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[62, 40, 26, 56], Operations: [] Exploring Operation: 62-40=22, Resulting Numbers: [26, 56, 22] Generated Node #0,0: 52:[26, 56, 22] Operation: 62-40=22 Exploring Operation: 56-40=16, Resulting Numbers: [62, 26, 16] Generated Node #0,1: 52:[62, 26, 16] Operation: 56-40=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[26, 56, 22], Operations: ['62-40=22'] Exploring Operation: 56-26=30, Resulting Numbers: [22, 30] Generated Node #0,0,0: 52:[22, 30] Operation: 56-26=30 Exploring Operation: 26-22=4, Resulting Numbers: [56, 4] Generated Node #0,0,1: 52:[56, 4] Operation: 26-22=4 Moving to Node #0,0,1 Current State: 52:[56, 4], Operations: ['62-40=22', '26-22=4'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[62, 40, 26, 56], Operations: [] Exploring Operation: 62-40=22, Resulting Numbers: [26, 56, 22] Generated Node #0,0: 52:[26, 56, 22] Operation: 62-40=22 Moving to Node #0,0 Current State: 52:[26, 56, 22], Operations: ['62-40=22'] Exploring Operation: 26-22=4, Resulting Numbers: [56, 4] Generated Node #0,0,1: 52:[56, 4] Operation: 26-22=4 Moving to Node #0,0,1 Current State: 52:[56, 4], Operations: ['62-40=22', '26-22=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 61, 51, 84, 1 ]
29
[ "61+51=112", "84-1=83", "112-83=29" ]
Current State: 29:[61, 51, 84, 1], Operations: [] Exploring Operation: 61+51=112, Resulting Numbers: [84, 1, 112] Generated Node #2: [84, 1, 112] from Operation: 61+51=112 Current State: 29:[84, 1, 112], Operations: ['61+51=112'] Exploring Operation: 84-1=83, Resulting Numbers: [112, 83] Generated Node #3: [112, 83] from Operation: 84-1=83 Current State: 29:[112, 83], Operations: ['61+51=112', '84-1=83'] Exploring Operation: 112-83=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[61, 51, 84, 1], Operations: [] Exploring Operation: 84-61=23, Resulting Numbers: [51, 1, 23] Generated Node #0,0: 29:[51, 1, 23] Operation: 84-61=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[51, 1, 23], Operations: ['84-61=23'] Exploring Operation: 51-1=50, Resulting Numbers: [23, 50] Generated Node #0,0,0: 29:[23, 50] Operation: 51-1=50 Moving to Node #0,0,0 Current State: 29:[23, 50], Operations: ['84-61=23', '51-1=50'] Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 62, 34, 86, 99 ]
83
[ "62+34=96", "99-86=13", "96-13=83" ]
Current State: 83:[62, 34, 86, 99], Operations: [] Exploring Operation: 62+34=96, Resulting Numbers: [86, 99, 96] Generated Node #2: [86, 99, 96] from Operation: 62+34=96 Current State: 83:[86, 99, 96], Operations: ['62+34=96'] Exploring Operation: 99-86=13, Resulting Numbers: [96, 13] Generated Node #3: [96, 13] from Operation: 99-86=13 Current State: 83:[96, 13], Operations: ['62+34=96', '99-86=13'] Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[62, 34, 86, 99], Operations: [] Exploring Operation: 99-34=65, Resulting Numbers: [62, 86, 65] Generated Node #0,0: 83:[62, 86, 65] Operation: 99-34=65 Exploring Operation: 62+34=96, Resulting Numbers: [86, 99, 96] Generated Node #0,1: 83:[86, 99, 96] Operation: 62+34=96 Moving to Node #0,1 Current State: 83:[86, 99, 96], Operations: ['62+34=96'] Exploring Operation: 99-96=3, Resulting Numbers: [86, 3] Generated Node #0,1,0: 83:[86, 3] Operation: 99-96=3 Exploring Operation: 99-86=13, Resulting Numbers: [96, 13] Generated Node #0,1,1: 83:[96, 13] Operation: 99-86=13 Moving to Node #0,0 Current State: 83:[62, 86, 65], Operations: ['99-34=65'] Exploring Operation: 86-62=24, Resulting Numbers: [65, 24] Generated Node #0,0,0: 83:[65, 24] Operation: 86-62=24 Exploring Operation: 62+65=127, Resulting Numbers: [86, 127] Generated Node #0,0,1: 83:[86, 127] Operation: 62+65=127 Moving to Node #0,0,1 Current State: 83:[86, 127], Operations: ['99-34=65', '62+65=127'] Exploring Operation: 86+127=213, Resulting Numbers: [213] 213,83 unequal: No Solution Exploring Operation: 127-86=41, Resulting Numbers: [41] 41,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[65, 24], Operations: ['99-34=65', '86-62=24'] Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,83 unequal: No Solution Exploring Operation: 65+24=89, Resulting Numbers: [89] 89,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[96, 13], Operations: ['62+34=96', '99-86=13'] Exploring Operation: 96+13=109, Resulting Numbers: [109] 109,83 unequal: No Solution Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[62, 34, 86, 99], Operations: [] Exploring Operation: 62+34=96, Resulting Numbers: [86, 99, 96] Generated Node #0,1: 83:[86, 99, 96] Operation: 62+34=96 Moving to Node #0,1 Current State: 83:[86, 99, 96], Operations: ['62+34=96'] Exploring Operation: 99-86=13, Resulting Numbers: [96, 13] Generated Node #0,1,1: 83:[96, 13] Operation: 99-86=13 Moving to Node #0,1,1 Current State: 83:[96, 13], Operations: ['62+34=96', '99-86=13'] Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 2, 5, 21, 96 ]
59
[ "2*21=42", "5+96=101", "101-42=59" ]
Current State: 59:[2, 5, 21, 96], Operations: [] Exploring Operation: 2*21=42, Resulting Numbers: [5, 96, 42] Generated Node #2: [5, 96, 42] from Operation: 2*21=42 Current State: 59:[5, 96, 42], Operations: ['2*21=42'] Exploring Operation: 5+96=101, Resulting Numbers: [42, 101] Generated Node #3: [42, 101] from Operation: 5+96=101 Current State: 59:[42, 101], Operations: ['2*21=42', '5+96=101'] Exploring Operation: 101-42=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[2, 5, 21, 96], Operations: [] Exploring Operation: 2+5=7, Resulting Numbers: [21, 96, 7] Generated Node #0,0: 59:[21, 96, 7] Operation: 2+5=7 Exploring Operation: 2*21=42, Resulting Numbers: [5, 96, 42] Generated Node #0,1: 59:[5, 96, 42] Operation: 2*21=42 Exploring Operation: 2*5=10, Resulting Numbers: [21, 96, 10] Generated Node #0,2: 59:[21, 96, 10] Operation: 2*5=10 Exploring Operation: 96/2=48, Resulting Numbers: [5, 21, 48] Generated Node #0,3: 59:[5, 21, 48] Operation: 96/2=48 Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[5, 21, 48], Operations: ['96/2=48'] Exploring Operation: 21-5=16, Resulting Numbers: [48, 16] Generated Node #0,3,0: 59:[48, 16] Operation: 21-5=16 Exploring Operation: 48-5=43, Resulting Numbers: [21, 43] Generated Node #0,3,1: 59:[21, 43] Operation: 48-5=43 Exploring Operation: 5+48=53, Resulting Numbers: [21, 53] Generated Node #0,3,2: 59:[21, 53] Operation: 5+48=53 Exploring Operation: 5+21=26, Resulting Numbers: [48, 26] Generated Node #0,3,3: 59:[48, 26] Operation: 5+21=26 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 59:[21, 53], Operations: ['96/2=48', '5+48=53'] Exploring Operation: 21*53=1113, Resulting Numbers: [1113] 1113,59 unequal: No Solution Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 21+53=74, Resulting Numbers: [74] 74,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 59:[48, 26], Operations: ['96/2=48', '5+21=26'] Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 48*26=1248, Resulting Numbers: [1248] 1248,59 unequal: No Solution Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 59:[48, 16], Operations: ['96/2=48', '21-5=16'] Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 48*16=768, Resulting Numbers: [768] 768,59 unequal: No Solution Exploring Operation: 48+16=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[21, 43], Operations: ['96/2=48', '48-5=43'] Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,59 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[5, 96, 42], Operations: ['2*21=42'] Exploring Operation: 96-5=91, Resulting Numbers: [42, 91] Generated Node #0,1,0: 59:[42, 91] Operation: 96-5=91 Exploring Operation: 5+42=47, Resulting Numbers: [96, 47] Generated Node #0,1,1: 59:[96, 47] Operation: 5+42=47 Exploring Operation: 42-5=37, Resulting Numbers: [96, 37] Generated Node #0,1,2: 59:[96, 37] Operation: 42-5=37 Exploring Operation: 5+96=101, Resulting Numbers: [42, 101] Generated Node #0,1,3: 59:[42, 101] Operation: 5+96=101 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[42, 91], Operations: ['2*21=42', '96-5=91'] Exploring Operation: 91-42=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 42+91=133, Resulting Numbers: [133] 133,59 unequal: No Solution Exploring Operation: 42*91=3822, Resulting Numbers: [3822] 3822,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[96, 47], Operations: ['2*21=42', '5+42=47'] Exploring Operation: 96*47=4512, Resulting Numbers: [4512] 4512,59 unequal: No Solution Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,59 unequal: No Solution Exploring Operation: 96+47=143, Resulting Numbers: [143] 143,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[96, 37], Operations: ['2*21=42', '42-5=37'] Exploring Operation: 96*37=3552, Resulting Numbers: [3552] 3552,59 unequal: No Solution Exploring Operation: 96-37=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[2, 5, 21, 96], Operations: [] Exploring Operation: 2*21=42, Resulting Numbers: [5, 96, 42] Generated Node #0,1: 59:[5, 96, 42] Operation: 2*21=42 Moving to Node #0,1 Current State: 59:[5, 96, 42], Operations: ['2*21=42'] Exploring Operation: 42-5=37, Resulting Numbers: [96, 37] Generated Node #0,1,2: 59:[96, 37] Operation: 42-5=37 Moving to Node #0,1,2 Current State: 59:[96, 37], Operations: ['2*21=42', '42-5=37'] Exploring Operation: 96-37=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 89, 32, 2, 35 ]
70
[ "89-35=54", "32/2=16", "54+16=70" ]
Current State: 70:[89, 32, 2, 35], Operations: [] Exploring Operation: 89-35=54, Resulting Numbers: [32, 2, 54] Generated Node #2: [32, 2, 54] from Operation: 89-35=54 Current State: 70:[32, 2, 54], Operations: ['89-35=54'] Exploring Operation: 32/2=16, Resulting Numbers: [54, 16] Generated Node #3: [54, 16] from Operation: 32/2=16 Current State: 70:[54, 16], Operations: ['89-35=54', '32/2=16'] Exploring Operation: 54+16=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[89, 32, 2, 35], Operations: [] Exploring Operation: 89-32=57, Resulting Numbers: [2, 35, 57] Generated Node #0,0: 70:[2, 35, 57] Operation: 89-32=57 Exploring Operation: 32+2=34, Resulting Numbers: [89, 35, 34] Generated Node #0,1: 70:[89, 35, 34] Operation: 32+2=34 Exploring Operation: 89-35=54, Resulting Numbers: [32, 2, 54] Generated Node #0,2: 70:[32, 2, 54] Operation: 89-35=54 Exploring Operation: 89-2=87, Resulting Numbers: [32, 35, 87] Generated Node #0,3: 70:[32, 35, 87] Operation: 89-2=87 Moving to Node #0,0 Current State: 70:[2, 35, 57], Operations: ['89-32=57'] Exploring Operation: 2+35=37, Resulting Numbers: [57, 37] Generated Node #0,0,0: 70:[57, 37] Operation: 2+35=37 Exploring Operation: 2+57=59, Resulting Numbers: [35, 59] Generated Node #0,0,1: 70:[35, 59] Operation: 2+57=59 Exploring Operation: 2*35=70, Resulting Numbers: [57, 70] Generated Node #0,0,2: 70:[57, 70] Operation: 2*35=70 Exploring Operation: 57-35=22, Resulting Numbers: [2, 22] Generated Node #0,0,3: 70:[2, 22] Operation: 57-35=22 Moving to Node #0,2 Current State: 70:[32, 2, 54], Operations: ['89-35=54'] Exploring Operation: 32+54=86, Resulting Numbers: [2, 86] Generated Node #0,2,0: 70:[2, 86] Operation: 32+54=86 Exploring Operation: 54-32=22, Resulting Numbers: [2, 22] Generated Node #0,2,1: 70:[2, 22] Operation: 54-32=22 Exploring Operation: 32+2=34, Resulting Numbers: [54, 34] Generated Node #0,2,2: 70:[54, 34] Operation: 32+2=34 Exploring Operation: 54/2=27, Resulting Numbers: [32, 27] Generated Node #0,2,3: 70:[32, 27] Operation: 54/2=27 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[2, 22], Operations: ['89-35=54', '54-32=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,70 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 70:[32, 27], Operations: ['89-35=54', '54/2=27'] Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,70 unequal: No Solution Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[2, 86], Operations: ['89-35=54', '32+54=86'] Exploring Operation: 2*86=172, Resulting Numbers: [172] 172,70 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,70 unequal: No Solution Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,70 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 70:[54, 34], Operations: ['89-35=54', '32+2=34'] Exploring Operation: 54*34=1836, Resulting Numbers: [1836] 1836,70 unequal: No Solution Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,70 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,70 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: 70:[32, 35, 87], Operations: ['89-2=87'] Exploring Operation: 87-35=52, Resulting Numbers: [32, 52] Generated Node #0,3,0: 70:[32, 52] Operation: 87-35=52 Exploring Operation: 32+35=67, Resulting Numbers: [87, 67] Generated Node #0,3,1: 70:[87, 67] Operation: 32+35=67 Exploring Operation: 35-32=3, Resulting Numbers: [87, 3] Generated Node #0,3,2: 70:[87, 3] Operation: 35-32=3 Exploring Operation: 87-32=55, Resulting Numbers: [35, 55] Generated Node #0,3,3: 70:[35, 55] Operation: 87-32=55 Moving to Node #0,1 Current State: 70:[89, 35, 34], Operations: ['32+2=34'] Exploring Operation: 89-34=55, Resulting Numbers: [35, 55] Generated Node #0,1,0: 70:[35, 55] Operation: 89-34=55 Exploring Operation: 89-35=54, Resulting Numbers: [34, 54] Generated Node #0,1,1: 70:[34, 54] Operation: 89-35=54 Exploring Operation: 35-34=1, Resulting Numbers: [89, 1] Generated Node #0,1,2: 70:[89, 1] Operation: 35-34=1 Exploring Operation: 35+34=69, Resulting Numbers: [89, 69] Generated Node #0,1,3: 70:[89, 69] Operation: 35+34=69 Moving to Node #0,0,3 Current State: 70:[2, 22], Operations: ['89-32=57', '57-35=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[35, 59], Operations: ['89-32=57', '2+57=59'] Exploring Operation: 35*59=2065, Resulting Numbers: [2065] 2065,70 unequal: No Solution Exploring Operation: 35+59=94, Resulting Numbers: [94] 94,70 unequal: No Solution Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[57, 70], Operations: ['89-32=57', '2*35=70'] Exploring Operation: 57+70=127, Resulting Numbers: [127] 127,70 unequal: No Solution Exploring Operation: 57*70=3990, Resulting Numbers: [3990] 3990,70 unequal: No Solution Exploring Operation: 70-57=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[35, 55], Operations: ['89-2=87', '87-32=55'] Exploring Operation: 35*55=1925, Resulting Numbers: [1925] 1925,70 unequal: No Solution Exploring Operation: 35+55=90, Resulting Numbers: [90] 90,70 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[57, 37], Operations: ['89-32=57', '2+35=37'] Exploring Operation: 57-37=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 57+37=94, Resulting Numbers: [94] 94,70 unequal: No Solution Exploring Operation: 57*37=2109, Resulting Numbers: [2109] 2109,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[35, 55], Operations: ['32+2=34', '89-34=55'] Exploring Operation: 35*55=1925, Resulting Numbers: [1925] 1925,70 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 35+55=90, Resulting Numbers: [90] 90,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[34, 54], Operations: ['32+2=34', '89-35=54'] Exploring Operation: 34+54=88, Resulting Numbers: [88] 88,70 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 34*54=1836, Resulting Numbers: [1836] 1836,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[87, 3], Operations: ['89-2=87', '35-32=3'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,70 unequal: No Solution Exploring Operation: 87*3=261, Resulting Numbers: [261] 261,70 unequal: No Solution Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,70 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[89, 1], Operations: ['32+2=34', '35-34=1'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,70 unequal: No Solution Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[32, 52], Operations: ['89-2=87', '87-35=52'] Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,70 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[89, 69], Operations: ['32+2=34', '35+34=69'] Exploring Operation: 89+69=158, Resulting Numbers: [158] 158,70 unequal: No Solution Exploring Operation: 89*69=6141, Resulting Numbers: [6141] 6141,70 unequal: No Solution Exploring Operation: 89-69=20, Resulting Numbers: [20] 20,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[87, 67], Operations: ['89-2=87', '32+35=67'] Exploring Operation: 87+67=154, Resulting Numbers: [154] 154,70 unequal: No Solution Exploring Operation: 87*67=5829, Resulting Numbers: [5829] 5829,70 unequal: No Solution Exploring Operation: 87-67=20, Resulting Numbers: [20] 20,70 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 20, 9, 2, 68 ]
46
[ "20-9=11", "2*11=22", "68-22=46" ]
Current State: 46:[20, 9, 2, 68], Operations: [] Exploring Operation: 20-9=11, Resulting Numbers: [2, 68, 11] Generated Node #2: [2, 68, 11] from Operation: 20-9=11 Current State: 46:[2, 68, 11], Operations: ['20-9=11'] Exploring Operation: 2*11=22, Resulting Numbers: [68, 22] Generated Node #3: [68, 22] from Operation: 2*11=22 Current State: 46:[68, 22], Operations: ['20-9=11', '2*11=22'] Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[20, 9, 2, 68], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [20, 9, 34] Generated Node #0,0: 46:[20, 9, 34] Operation: 68/2=34 Exploring Operation: 20+2=22, Resulting Numbers: [9, 68, 22] Generated Node #0,1: 46:[9, 68, 22] Operation: 20+2=22 Exploring Operation: 20+9=29, Resulting Numbers: [2, 68, 29] Generated Node #0,2: 46:[2, 68, 29] Operation: 20+9=29 Exploring Operation: 68-20=48, Resulting Numbers: [9, 2, 48] Generated Node #0,3: 46:[9, 2, 48] Operation: 68-20=48 Exploring Operation: 68-9=59, Resulting Numbers: [20, 2, 59] Generated Node #0,4: 46:[20, 2, 59] Operation: 68-9=59 Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[9, 2, 48], Operations: ['68-20=48'] Exploring Operation: 48-9=39, Resulting Numbers: [2, 39] Generated Node #0,3,0: 46:[2, 39] Operation: 48-9=39 Exploring Operation: 9-2=7, Resulting Numbers: [48, 7] Generated Node #0,3,1: 46:[48, 7] Operation: 9-2=7 Exploring Operation: 9*2=18, Resulting Numbers: [48, 18] Generated Node #0,3,2: 46:[48, 18] Operation: 9*2=18 Exploring Operation: 48/2=24, Resulting Numbers: [9, 24] Generated Node #0,3,3: 46:[9, 24] Operation: 48/2=24 Exploring Operation: 48-2=46, Resulting Numbers: [9, 46] Generated Node #0,3,4: 46:[9, 46] Operation: 48-2=46 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 46:[2, 39], Operations: ['68-20=48', '48-9=39'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,46 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 46:[48, 7], Operations: ['68-20=48', '9-2=7'] Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,46 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,46 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 46:[48, 18], Operations: ['68-20=48', '9*2=18'] Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,46 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 48*18=864, Resulting Numbers: [864] 864,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 46:[9, 46], Operations: ['68-20=48', '48-2=46'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,46 unequal: No Solution Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 46:[9, 24], Operations: ['68-20=48', '48/2=24'] Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,46 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,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,4 Current State: 46:[20, 2, 59], Operations: ['68-9=59'] Exploring Operation: 59-20=39, Resulting Numbers: [2, 39] Generated Node #0,4,0: 46:[2, 39] Operation: 59-20=39 Exploring Operation: 2+59=61, Resulting Numbers: [20, 61] Generated Node #0,4,1: 46:[20, 61] Operation: 2+59=61 Exploring Operation: 59-2=57, Resulting Numbers: [20, 57] Generated Node #0,4,2: 46:[20, 57] Operation: 59-2=57 Exploring Operation: 20-2=18, Resulting Numbers: [59, 18] Generated Node #0,4,3: 46:[59, 18] Operation: 20-2=18 Exploring Operation: 20+2=22, Resulting Numbers: [59, 22] Generated Node #0,4,4: 46:[59, 22] Operation: 20+2=22 Moving to Node #0,4,0 Current State: 46:[2, 39], Operations: ['68-9=59', '59-20=39'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,46 unequal: No Solution Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,46 unequal: No Solution Moving to Node #0,4,4 Current State: 46:[59, 22], Operations: ['68-9=59', '20+2=22'] Exploring Operation: 59+22=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 59*22=1298, Resulting Numbers: [1298] 1298,46 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,46 unequal: No Solution Moving to Node #0,4,2 Current State: 46:[20, 57], Operations: ['68-9=59', '59-2=57'] Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,46 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,46 unequal: No Solution Moving to Node #0,4,1 Current State: 46:[20, 61], Operations: ['68-9=59', '2+59=61'] Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,46 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,46 unequal: No Solution Moving to Node #0,4,3 Current State: 46:[59, 18], Operations: ['68-9=59', '20-2=18'] Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,46 unequal: No Solution Exploring Operation: 59*18=1062, Resulting Numbers: [1062] 1062,46 unequal: No Solution Exploring Operation: 59+18=77, Resulting Numbers: [77] 77,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[20, 9, 34], Operations: ['68/2=34'] Exploring Operation: 20+9=29, Resulting Numbers: [34, 29] Generated Node #0,0,0: 46:[34, 29] Operation: 20+9=29 Exploring Operation: 9+34=43, Resulting Numbers: [20, 43] Generated Node #0,0,1: 46:[20, 43] Operation: 9+34=43 Exploring Operation: 20+34=54, Resulting Numbers: [9, 54] Generated Node #0,0,2: 46:[9, 54] Operation: 20+34=54 Exploring Operation: 34-20=14, Resulting Numbers: [9, 14] Generated Node #0,0,3: 46:[9, 14] Operation: 34-20=14 Exploring Operation: 34-9=25, Resulting Numbers: [20, 25] Generated Node #0,0,4: 46:[20, 25] Operation: 34-9=25 Moving to Node #0,0,4 Current State: 46:[20, 25], Operations: ['68/2=34', '34-9=25'] Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,46 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[20, 43], Operations: ['68/2=34', '9+34=43'] Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 20+43=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 20*43=860, Resulting Numbers: [860] 860,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[9, 54], Operations: ['68/2=34', '20+34=54'] Exploring Operation: 9*54=486, Resulting Numbers: [486] 486,46 unequal: No Solution Exploring Operation: 9+54=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[9, 14], Operations: ['68/2=34', '34-20=14'] Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,46 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[34, 29], Operations: ['68/2=34', '20+9=29'] Exploring Operation: 34+29=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 34*29=986, Resulting Numbers: [986] 986,46 unequal: No Solution Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[2, 68, 29], Operations: ['20+9=29'] Exploring Operation: 29-2=27, Resulting Numbers: [68, 27] Generated Node #0,2,0: 46:[68, 27] Operation: 29-2=27 Exploring Operation: 68-29=39, Resulting Numbers: [2, 39] Generated Node #0,2,1: 46:[2, 39] Operation: 68-29=39 Exploring Operation: 68/2=34, Resulting Numbers: [29, 34] Generated Node #0,2,2: 46:[29, 34] Operation: 68/2=34 Exploring Operation: 68-2=66, Resulting Numbers: [29, 66] Generated Node #0,2,3: 46:[29, 66] Operation: 68-2=66 Exploring Operation: 2+68=70, Resulting Numbers: [29, 70] Generated Node #0,2,4: 46:[29, 70] Operation: 2+68=70 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 46:[2, 39], Operations: ['20+9=29', '68-29=39'] Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,46 unequal: No Solution Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,46 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,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,2,2 Current State: 46:[29, 34], Operations: ['20+9=29', '68/2=34'] Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,46 unequal: No Solution Exploring Operation: 29*34=986, Resulting Numbers: [986] 986,46 unequal: No Solution Exploring Operation: 29+34=63, Resulting Numbers: [63] 63,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,2,0 Current State: 46:[68, 27], Operations: ['20+9=29', '29-2=27'] Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,46 unequal: No Solution Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,46 unequal: No Solution Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,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,2,3 Current State: 46:[29, 66], Operations: ['20+9=29', '68-2=66'] Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 29+66=95, Resulting Numbers: [95] 95,46 unequal: No Solution Exploring Operation: 29*66=1914, Resulting Numbers: [1914] 1914,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,2,4 Current State: 46:[29, 70], Operations: ['20+9=29', '2+68=70'] Exploring Operation: 29*70=2030, Resulting Numbers: [2030] 2030,46 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,46 unequal: No Solution Exploring Operation: 29+70=99, Resulting Numbers: [99] 99,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,1 Current State: 46:[9, 68, 22], Operations: ['20+2=22'] Exploring Operation: 22-9=13, Resulting Numbers: [68, 13] Generated Node #0,1,0: 46:[68, 13] Operation: 22-9=13 Exploring Operation: 9+22=31, Resulting Numbers: [68, 31] Generated Node #0,1,1: 46:[68, 31] Operation: 9+22=31 Exploring Operation: 9+68=77, Resulting Numbers: [22, 77] Generated Node #0,1,2: 46:[22, 77] Operation: 9+68=77 Exploring Operation: 68-22=46, Resulting Numbers: [9, 46] Generated Node #0,1,3: 46:[9, 46] Operation: 68-22=46 Exploring Operation: 68-9=59, Resulting Numbers: [22, 59] Generated Node #0,1,4: 46:[22, 59] Operation: 68-9=59 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 46:[9, 46], Operations: ['20+2=22', '68-22=46'] Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,46 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,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:[22, 59], Operations: ['20+2=22', '68-9=59'] Exploring Operation: 22+59=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 22*59=1298, Resulting Numbers: [1298] 1298,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:[68, 31], Operations: ['20+2=22', '9+22=31'] Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,46 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,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:[68, 13], Operations: ['20+2=22', '22-9=13'] Exploring Operation: 68*13=884, Resulting Numbers: [884] 884,46 unequal: No Solution Exploring Operation: 68+13=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,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,2 Current State: 46:[22, 77], Operations: ['20+2=22', '9+68=77'] Exploring Operation: 22*77=1694, Resulting Numbers: [1694] 1694,46 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,46 unequal: No Solution Exploring Operation: 22+77=99, Resulting Numbers: [99] 99,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 No solution found.
0
hs_5
mult_heuristic
[ 87, 6, 41, 79 ]
67
[ "41+79=120", "120/6=20", "87-20=67" ]
Current State: 67:[87, 6, 41, 79], Operations: [] Exploring Operation: 41+79=120, Resulting Numbers: [87, 6, 120] Generated Node #2: [87, 6, 120] from Operation: 41+79=120 Current State: 67:[87, 6, 120], Operations: ['41+79=120'] Exploring Operation: 120/6=20, Resulting Numbers: [87, 20] Generated Node #3: [87, 20] from Operation: 120/6=20 Current State: 67:[87, 20], Operations: ['41+79=120', '120/6=20'] Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[87, 6, 41, 79], Operations: [] Exploring Operation: 79-6=73, Resulting Numbers: [87, 41, 73] Generated Node #0,0: 67:[87, 41, 73] Operation: 79-6=73 Exploring Operation: 87-6=81, Resulting Numbers: [41, 79, 81] Generated Node #0,1: 67:[41, 79, 81] Operation: 87-6=81 Exploring Operation: 6+41=47, Resulting Numbers: [87, 79, 47] Generated Node #0,2: 67:[87, 79, 47] Operation: 6+41=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[87, 41, 73], Operations: ['79-6=73'] Exploring Operation: 87-41=46, Resulting Numbers: [73, 46] Generated Node #0,0,0: 67:[73, 46] Operation: 87-41=46 Exploring Operation: 87+41=128, Resulting Numbers: [73, 128] Generated Node #0,0,1: 67:[73, 128] Operation: 87+41=128 Exploring Operation: 73-41=32, Resulting Numbers: [87, 32] Generated Node #0,0,2: 67:[87, 32] Operation: 73-41=32 Moving to Node #0,0,0 Current State: 67:[73, 46], Operations: ['79-6=73', '87-41=46'] Exploring Operation: 73-46=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 73+46=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 73*46=3358, Resulting Numbers: [3358] 3358,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[87, 32], Operations: ['79-6=73', '73-41=32'] Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,67 unequal: No Solution Exploring Operation: 87*32=2784, Resulting Numbers: [2784] 2784,67 unequal: No Solution Exploring Operation: 87+32=119, Resulting Numbers: [119] 119,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[73, 128], Operations: ['79-6=73', '87+41=128'] Exploring Operation: 73*128=9344, Resulting Numbers: [9344] 9344,67 unequal: No Solution Exploring Operation: 73+128=201, Resulting Numbers: [201] 201,67 unequal: No Solution Exploring Operation: 128-73=55, Resulting Numbers: [55] 55,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[41, 79, 81], Operations: ['87-6=81'] Exploring Operation: 81-41=40, Resulting Numbers: [79, 40] Generated Node #0,1,0: 67:[79, 40] Operation: 81-41=40 Exploring Operation: 41+79=120, Resulting Numbers: [81, 120] Generated Node #0,1,1: 67:[81, 120] Operation: 41+79=120 Exploring Operation: 79-41=38, Resulting Numbers: [81, 38] Generated Node #0,1,2: 67:[81, 38] Operation: 79-41=38 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[79, 40], Operations: ['87-6=81', '81-41=40'] Exploring Operation: 79*40=3160, Resulting Numbers: [3160] 3160,67 unequal: No Solution Exploring Operation: 79+40=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[81, 38], Operations: ['87-6=81', '79-41=38'] Exploring Operation: 81*38=3078, Resulting Numbers: [3078] 3078,67 unequal: No Solution Exploring Operation: 81+38=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 81-38=43, Resulting Numbers: [43] 43,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[81, 120], Operations: ['87-6=81', '41+79=120'] Exploring Operation: 81+120=201, Resulting Numbers: [201] 201,67 unequal: No Solution Exploring Operation: 120-81=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 81*120=9720, Resulting Numbers: [9720] 9720,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[87, 79, 47], Operations: ['6+41=47'] Exploring Operation: 87-47=40, Resulting Numbers: [79, 40] Generated Node #0,2,0: 67:[79, 40] Operation: 87-47=40 Exploring Operation: 87-79=8, Resulting Numbers: [47, 8] Generated Node #0,2,1: 67:[47, 8] Operation: 87-79=8 Exploring Operation: 79-47=32, Resulting Numbers: [87, 32] Generated Node #0,2,2: 67:[87, 32] Operation: 79-47=32 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[79, 40], Operations: ['6+41=47', '87-47=40'] Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 79+40=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 79*40=3160, Resulting Numbers: [3160] 3160,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[87, 32], Operations: ['6+41=47', '79-47=32'] Exploring Operation: 87*32=2784, Resulting Numbers: [2784] 2784,67 unequal: No Solution Exploring Operation: 87+32=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[47, 8], Operations: ['6+41=47', '87-79=8'] Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,67 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 31, 3, 80, 21 ]
31
[ "31-3=28", "80-21=59", "59-28=31" ]
Current State: 31:[31, 3, 80, 21], Operations: [] Exploring Operation: 31-3=28, Resulting Numbers: [80, 21, 28] Generated Node #2: [80, 21, 28] from Operation: 31-3=28 Current State: 31:[80, 21, 28], Operations: ['31-3=28'] Exploring Operation: 80-21=59, Resulting Numbers: [28, 59] Generated Node #3: [28, 59] from Operation: 80-21=59 Current State: 31:[28, 59], Operations: ['31-3=28', '80-21=59'] Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[31, 3, 80, 21], Operations: [] Exploring Operation: 3+21=24, Resulting Numbers: [31, 80, 24] Generated Node #0,0: 31:[31, 80, 24] Operation: 3+21=24 Exploring Operation: 80-3=77, Resulting Numbers: [31, 21, 77] Generated Node #0,1: 31:[31, 21, 77] Operation: 80-3=77 Exploring Operation: 80-31=49, Resulting Numbers: [3, 21, 49] Generated Node #0,2: 31:[3, 21, 49] Operation: 80-31=49 Exploring Operation: 80-21=59, Resulting Numbers: [31, 3, 59] Generated Node #0,3: 31:[31, 3, 59] Operation: 80-21=59 Moving to Node #0,0 Current State: 31:[31, 80, 24], Operations: ['3+21=24'] Exploring Operation: 31+24=55, Resulting Numbers: [80, 55] Generated Node #0,0,0: 31:[80, 55] Operation: 31+24=55 Exploring Operation: 31-24=7, Resulting Numbers: [80, 7] Generated Node #0,0,1: 31:[80, 7] Operation: 31-24=7 Exploring Operation: 80-31=49, Resulting Numbers: [24, 49] Generated Node #0,0,2: 31:[24, 49] Operation: 80-31=49 Exploring Operation: 80-24=56, Resulting Numbers: [31, 56] Generated Node #0,0,3: 31:[31, 56] Operation: 80-24=56 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 31:[24, 49], Operations: ['3+21=24', '80-31=49'] Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 24+49=73, Resulting Numbers: [73] 73,31 unequal: No Solution Exploring Operation: 24*49=1176, Resulting Numbers: [1176] 1176,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,3 Current State: 31:[31, 56], Operations: ['3+21=24', '80-24=56'] Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 31+56=87, Resulting Numbers: [87] 87,31 unequal: No Solution Exploring Operation: 31*56=1736, Resulting Numbers: [1736] 1736,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,0 Current State: 31:[80, 55], Operations: ['3+21=24', '31+24=55'] Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 80*55=4400, Resulting Numbers: [4400] 4400,31 unequal: No Solution Exploring Operation: 80+55=135, Resulting Numbers: [135] 135,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[80, 7], Operations: ['3+21=24', '31-24=7'] Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,31 unequal: No Solution Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,31 unequal: No Solution Exploring Operation: 80*7=560, Resulting Numbers: [560] 560,31 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: 31:[3, 21, 49], Operations: ['80-31=49'] Exploring Operation: 21-3=18, Resulting Numbers: [49, 18] Generated Node #0,2,0: 31:[49, 18] Operation: 21-3=18 Exploring Operation: 49-3=46, Resulting Numbers: [21, 46] Generated Node #0,2,1: 31:[21, 46] Operation: 49-3=46 Exploring Operation: 3+49=52, Resulting Numbers: [21, 52] Generated Node #0,2,2: 31:[21, 52] Operation: 3+49=52 Exploring Operation: 3+21=24, Resulting Numbers: [49, 24] Generated Node #0,2,3: 31:[49, 24] Operation: 3+21=24 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 31:[21, 46], Operations: ['80-31=49', '49-3=46'] Exploring Operation: 21*46=966, Resulting Numbers: [966] 966,31 unequal: No Solution Exploring Operation: 21+46=67, Resulting Numbers: [67] 67,31 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 31:[49, 24], Operations: ['80-31=49', '3+21=24'] Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,31 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[49, 18], Operations: ['80-31=49', '21-3=18'] Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,31 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[31, 3, 80, 21], Operations: [] Exploring Operation: 80-31=49, Resulting Numbers: [3, 21, 49] Generated Node #0,2: 31:[3, 21, 49] Operation: 80-31=49 Moving to Node #0,2 Current State: 31:[3, 21, 49], Operations: ['80-31=49'] Exploring Operation: 21-3=18, Resulting Numbers: [49, 18] Generated Node #0,2,0: 31:[49, 18] Operation: 21-3=18 Moving to Node #0,2,0 Current State: 31:[49, 18], Operations: ['80-31=49', '21-3=18'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
mult_heuristic
[ 28, 50, 58, 88 ]
25
[ "28+58=86", "88-86=2", "50/2=25" ]
Current State: 25:[28, 50, 58, 88], Operations: [] Exploring Operation: 28+58=86, Resulting Numbers: [50, 88, 86] Generated Node #2: [50, 88, 86] from Operation: 28+58=86 Current State: 25:[50, 88, 86], Operations: ['28+58=86'] Exploring Operation: 88-86=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 88-86=2 Current State: 25:[50, 2], Operations: ['28+58=86', '88-86=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[28, 50, 58, 88], Operations: [] Exploring Operation: 88-58=30, Resulting Numbers: [28, 50, 30] Generated Node #0,0: 25:[28, 50, 30] Operation: 88-58=30 Moving to Node #0,0 Current State: 25:[28, 50, 30], Operations: ['88-58=30'] Exploring Operation: 50-28=22, Resulting Numbers: [30, 22] Generated Node #0,0,0: 25:[30, 22] Operation: 50-28=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[30, 22], Operations: ['88-58=30', '50-28=22'] Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 87, 65, 69, 13 ]
70
[ "87+65=152", "69+13=82", "152-82=70" ]
Current State: 70:[87, 65, 69, 13], Operations: [] Exploring Operation: 87+65=152, Resulting Numbers: [69, 13, 152] Generated Node #2: [69, 13, 152] from Operation: 87+65=152 Current State: 70:[69, 13, 152], Operations: ['87+65=152'] Exploring Operation: 69+13=82, Resulting Numbers: [152, 82] Generated Node #3: [152, 82] from Operation: 69+13=82 Current State: 70:[152, 82], Operations: ['87+65=152', '69+13=82'] Exploring Operation: 152-82=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[87, 65, 69, 13], Operations: [] Exploring Operation: 87-65=22, Resulting Numbers: [69, 13, 22] Generated Node #0,0: 70:[69, 13, 22] Operation: 87-65=22 Exploring Operation: 87-69=18, Resulting Numbers: [65, 13, 18] Generated Node #0,1: 70:[65, 13, 18] Operation: 87-69=18 Exploring Operation: 87-13=74, Resulting Numbers: [65, 69, 74] Generated Node #0,2: 70:[65, 69, 74] Operation: 87-13=74 Moving to Node #0,0 Current State: 70:[69, 13, 22], Operations: ['87-65=22'] Exploring Operation: 13+22=35, Resulting Numbers: [69, 35] Generated Node #0,0,0: 70:[69, 35] Operation: 13+22=35 Exploring Operation: 69-22=47, Resulting Numbers: [13, 47] Generated Node #0,0,1: 70:[13, 47] Operation: 69-22=47 Exploring Operation: 22-13=9, Resulting Numbers: [69, 9] Generated Node #0,0,2: 70:[69, 9] Operation: 22-13=9 Moving to Node #0,1 Current State: 70:[65, 13, 18], Operations: ['87-69=18'] Exploring Operation: 18-13=5, Resulting Numbers: [65, 5] Generated Node #0,1,0: 70:[65, 5] Operation: 18-13=5 Exploring Operation: 13+18=31, Resulting Numbers: [65, 31] Generated Node #0,1,1: 70:[65, 31] Operation: 13+18=31 Exploring Operation: 65/13=5, Resulting Numbers: [18, 5] Generated Node #0,1,2: 70:[18, 5] Operation: 65/13=5 Moving to Node #0,2 Current State: 70:[65, 69, 74], Operations: ['87-13=74'] Exploring Operation: 74-65=9, Resulting Numbers: [69, 9] Generated Node #0,2,0: 70:[69, 9] Operation: 74-65=9 Exploring Operation: 74-69=5, Resulting Numbers: [65, 5] Generated Node #0,2,1: 70:[65, 5] Operation: 74-69=5 Exploring Operation: 69-65=4, Resulting Numbers: [74, 4] Generated Node #0,2,2: 70:[74, 4] Operation: 69-65=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[69, 9], Operations: ['87-13=74', '74-65=9'] Exploring Operation: 69+9=78, Resulting Numbers: [78] 78,70 unequal: No Solution Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 69*9=621, Resulting Numbers: [621] 621,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[65, 5], Operations: ['87-13=74', '74-69=5'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[87, 65, 69, 13], Operations: [] Exploring Operation: 87-13=74, Resulting Numbers: [65, 69, 74] Generated Node #0,2: 70:[65, 69, 74] Operation: 87-13=74 Moving to Node #0,2 Current State: 70:[65, 69, 74], Operations: ['87-13=74'] Exploring Operation: 74-69=5, Resulting Numbers: [65, 5] Generated Node #0,2,1: 70:[65, 5] Operation: 74-69=5 Moving to Node #0,2,1 Current State: 70:[65, 5], Operations: ['87-13=74', '74-69=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_3
mult_heuristic
[ 85, 20, 51, 15 ]
46
[ "85+15=100", "100/20=5", "51-5=46" ]
Current State: 46:[85, 20, 51, 15], Operations: [] Exploring Operation: 85+15=100, Resulting Numbers: [20, 51, 100] Generated Node #2: [20, 51, 100] from Operation: 85+15=100 Current State: 46:[20, 51, 100], Operations: ['85+15=100'] Exploring Operation: 100/20=5, Resulting Numbers: [51, 5] Generated Node #3: [51, 5] from Operation: 100/20=5 Current State: 46:[51, 5], Operations: ['85+15=100', '100/20=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[85, 20, 51, 15], Operations: [] Exploring Operation: 85-20=65, Resulting Numbers: [51, 15, 65] Generated Node #0,0: 46:[51, 15, 65] Operation: 85-20=65 Exploring Operation: 51-15=36, Resulting Numbers: [85, 20, 36] Generated Node #0,1: 46:[85, 20, 36] Operation: 51-15=36 Exploring Operation: 20-15=5, Resulting Numbers: [85, 51, 5] Generated Node #0,2: 46:[85, 51, 5] Operation: 20-15=5 Exploring Operation: 85-51=34, Resulting Numbers: [20, 15, 34] Generated Node #0,3: 46:[20, 15, 34] Operation: 85-51=34 Exploring Operation: 85-15=70, Resulting Numbers: [20, 51, 70] Generated Node #0,4: 46:[20, 51, 70] Operation: 85-15=70 Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[20, 15, 34], Operations: ['85-51=34'] Exploring Operation: 15+34=49, Resulting Numbers: [20, 49] Generated Node #0,3,0: 46:[20, 49] Operation: 15+34=49 Exploring Operation: 20-15=5, Resulting Numbers: [34, 5] Generated Node #0,3,1: 46:[34, 5] Operation: 20-15=5 Exploring Operation: 20+34=54, Resulting Numbers: [15, 54] Generated Node #0,3,2: 46:[15, 54] Operation: 20+34=54 Exploring Operation: 34-15=19, Resulting Numbers: [20, 19] Generated Node #0,3,3: 46:[20, 19] Operation: 34-15=19 Exploring Operation: 34-20=14, Resulting Numbers: [15, 14] Generated Node #0,3,4: 46:[15, 14] Operation: 34-20=14 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 46:[20, 49], Operations: ['85-51=34', '15+34=49'] Exploring Operation: 20*49=980, Resulting Numbers: [980] 980,46 unequal: No Solution Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,46 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 46:[20, 19], Operations: ['85-51=34', '34-15=19'] Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 46:[34, 5], Operations: ['85-51=34', '20-15=5'] Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,46 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 46:[15, 54], Operations: ['85-51=34', '20+34=54'] Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 15*54=810, Resulting Numbers: [810] 810,46 unequal: No Solution Exploring Operation: 15+54=69, Resulting Numbers: [69] 69,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 46:[15, 14], Operations: ['85-51=34', '34-20=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,46 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[51, 15, 65], Operations: ['85-20=65'] Exploring Operation: 15+65=80, Resulting Numbers: [51, 80] Generated Node #0,0,0: 46:[51, 80] Operation: 15+65=80 Exploring Operation: 51+15=66, Resulting Numbers: [65, 66] Generated Node #0,0,1: 46:[65, 66] Operation: 51+15=66 Exploring Operation: 65-15=50, Resulting Numbers: [51, 50] Generated Node #0,0,2: 46:[51, 50] Operation: 65-15=50 Exploring Operation: 65-51=14, Resulting Numbers: [15, 14] Generated Node #0,0,3: 46:[15, 14] Operation: 65-51=14 Exploring Operation: 51-15=36, Resulting Numbers: [65, 36] Generated Node #0,0,4: 46:[65, 36] Operation: 51-15=36 Moving to Node #0,0,2 Current State: 46:[51, 50], Operations: ['85-20=65', '65-15=50'] Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,46 unequal: No Solution Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,46 unequal: No Solution Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[15, 14], Operations: ['85-20=65', '65-51=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[65, 36], Operations: ['85-20=65', '51-15=36'] Exploring Operation: 65+36=101, Resulting Numbers: [101] 101,46 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 65*36=2340, Resulting Numbers: [2340] 2340,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[51, 80], Operations: ['85-20=65', '15+65=80'] Exploring Operation: 51+80=131, Resulting Numbers: [131] 131,46 unequal: No Solution Exploring Operation: 80-51=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 51*80=4080, Resulting Numbers: [4080] 4080,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[65, 66], Operations: ['85-20=65', '51+15=66'] Exploring Operation: 65*66=4290, Resulting Numbers: [4290] 4290,46 unequal: No Solution Exploring Operation: 65+66=131, Resulting Numbers: [131] 131,46 unequal: No Solution Exploring Operation: 66-65=1, Resulting Numbers: [1] 1,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[20, 51, 70], Operations: ['85-15=70'] Exploring Operation: 51-20=31, Resulting Numbers: [70, 31] Generated Node #0,4,0: 46:[70, 31] Operation: 51-20=31 Exploring Operation: 20+70=90, Resulting Numbers: [51, 90] Generated Node #0,4,1: 46:[51, 90] Operation: 20+70=90 Exploring Operation: 70-20=50, Resulting Numbers: [51, 50] Generated Node #0,4,2: 46:[51, 50] Operation: 70-20=50 Exploring Operation: 70-51=19, Resulting Numbers: [20, 19] Generated Node #0,4,3: 46:[20, 19] Operation: 70-51=19 Exploring Operation: 20+51=71, Resulting Numbers: [70, 71] Generated Node #0,4,4: 46:[70, 71] Operation: 20+51=71 Moving to Node #0,4,3 Current State: 46:[20, 19], Operations: ['85-15=70', '70-51=19'] Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,46 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,46 unequal: No Solution Moving to Node #0,4,2 Current State: 46:[51, 50], Operations: ['85-15=70', '70-20=50'] Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,46 unequal: No Solution Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,46 unequal: No Solution Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,46 unequal: No Solution Moving to Node #0,4,0 Current State: 46:[70, 31], Operations: ['85-15=70', '51-20=31'] Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 70+31=101, Resulting Numbers: [101] 101,46 unequal: No Solution Exploring Operation: 70*31=2170, Resulting Numbers: [2170] 2170,46 unequal: No Solution Moving to Node #0,4,1 Current State: 46:[51, 90], Operations: ['85-15=70', '20+70=90'] Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,46 unequal: No Solution Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,46 unequal: No Solution Moving to Node #0,4,4 Current State: 46:[70, 71], Operations: ['85-15=70', '20+51=71'] Exploring Operation: 70*71=4970, Resulting Numbers: [4970] 4970,46 unequal: No Solution Exploring Operation: 70+71=141, Resulting Numbers: [141] 141,46 unequal: No Solution Exploring Operation: 71-70=1, Resulting Numbers: [1] 1,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[85, 51, 5], Operations: ['20-15=5'] Exploring Operation: 51-5=46, Resulting Numbers: [85, 46] Generated Node #0,2,0: 46:[85, 46] Operation: 51-5=46 Exploring Operation: 85+5=90, Resulting Numbers: [51, 90] Generated Node #0,2,1: 46:[51, 90] Operation: 85+5=90 Exploring Operation: 85-5=80, Resulting Numbers: [51, 80] Generated Node #0,2,2: 46:[51, 80] Operation: 85-5=80 Exploring Operation: 85-51=34, Resulting Numbers: [5, 34] Generated Node #0,2,3: 46:[5, 34] Operation: 85-51=34 Exploring Operation: 85/5=17, Resulting Numbers: [51, 17] Generated Node #0,2,4: 46:[51, 17] Operation: 85/5=17 Moving to Node #0,2,4 Current State: 46:[51, 17], Operations: ['20-15=5', '85/5=17'] Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 51+17=68, Resulting Numbers: [68] 68,46 unequal: No Solution Exploring Operation: 51*17=867, Resulting Numbers: [867] 867,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[5, 34], Operations: ['20-15=5', '85-51=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,46 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[85, 46], Operations: ['20-15=5', '51-5=46'] Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 85*46=3910, Resulting Numbers: [3910] 3910,46 unequal: No Solution Exploring Operation: 85+46=131, Resulting Numbers: [131] 131,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[51, 80], Operations: ['20-15=5', '85-5=80'] Exploring Operation: 51+80=131, Resulting Numbers: [131] 131,46 unequal: No Solution Exploring Operation: 80-51=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 51*80=4080, Resulting Numbers: [4080] 4080,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[51, 90], Operations: ['20-15=5', '85+5=90'] Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,46 unequal: No Solution Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[85, 20, 36], Operations: ['51-15=36'] Exploring Operation: 85+20=105, Resulting Numbers: [36, 105] Generated Node #0,1,0: 46:[36, 105] Operation: 85+20=105 Exploring Operation: 85-36=49, Resulting Numbers: [20, 49] Generated Node #0,1,1: 46:[20, 49] Operation: 85-36=49 Exploring Operation: 20+36=56, Resulting Numbers: [85, 56] Generated Node #0,1,2: 46:[85, 56] Operation: 20+36=56 Exploring Operation: 85-20=65, Resulting Numbers: [36, 65] Generated Node #0,1,3: 46:[36, 65] Operation: 85-20=65 Exploring Operation: 36-20=16, Resulting Numbers: [85, 16] Generated Node #0,1,4: 46:[85, 16] Operation: 36-20=16 Moving to Node #0,1,1 Current State: 46:[20, 49], Operations: ['51-15=36', '85-36=49'] Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,46 unequal: No Solution Exploring Operation: 20*49=980, Resulting Numbers: [980] 980,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[36, 65], Operations: ['51-15=36', '85-20=65'] Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 36*65=2340, Resulting Numbers: [2340] 2340,46 unequal: No Solution Exploring Operation: 36+65=101, Resulting Numbers: [101] 101,46 unequal: No Solution Moving to Node #0,1,4 Current State: 46:[85, 16], Operations: ['51-15=36', '36-20=16'] Exploring Operation: 85-16=69, Resulting Numbers: [69] 69,46 unequal: No Solution Exploring Operation: 85+16=101, Resulting Numbers: [101] 101,46 unequal: No Solution Exploring Operation: 85*16=1360, Resulting Numbers: [1360] 1360,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[85, 56], Operations: ['51-15=36', '20+36=56'] Exploring Operation: 85*56=4760, Resulting Numbers: [4760] 4760,46 unequal: No Solution Exploring Operation: 85+56=141, Resulting Numbers: [141] 141,46 unequal: No Solution Exploring Operation: 85-56=29, Resulting Numbers: [29] 29,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[36, 105], Operations: ['51-15=36', '85+20=105'] Exploring Operation: 36+105=141, Resulting Numbers: [141] 141,46 unequal: No Solution Exploring Operation: 36*105=3780, Resulting Numbers: [3780] 3780,46 unequal: No Solution Exploring Operation: 105-36=69, Resulting Numbers: [69] 69,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 7, 30, 96, 43 ]
71
[ "7*30=210", "96+43=139", "210-139=71" ]
Current State: 71:[7, 30, 96, 43], Operations: [] Exploring Operation: 7*30=210, Resulting Numbers: [96, 43, 210] Generated Node #2: [96, 43, 210] from Operation: 7*30=210 Current State: 71:[96, 43, 210], Operations: ['7*30=210'] Exploring Operation: 96+43=139, Resulting Numbers: [210, 139] Generated Node #3: [210, 139] from Operation: 96+43=139 Current State: 71:[210, 139], Operations: ['7*30=210', '96+43=139'] Exploring Operation: 210-139=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[7, 30, 96, 43], Operations: [] Exploring Operation: 7+30=37, Resulting Numbers: [96, 43, 37] Generated Node #0,0: 71:[96, 43, 37] Operation: 7+30=37 Exploring Operation: 7+43=50, Resulting Numbers: [30, 96, 50] Generated Node #0,1: 71:[30, 96, 50] Operation: 7+43=50 Exploring Operation: 96-7=89, Resulting Numbers: [30, 43, 89] Generated Node #0,2: 71:[30, 43, 89] Operation: 96-7=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[96, 43, 37], Operations: ['7+30=37'] Exploring Operation: 43+37=80, Resulting Numbers: [96, 80] Generated Node #0,0,0: 71:[96, 80] Operation: 43+37=80 Exploring Operation: 96-37=59, Resulting Numbers: [43, 59] Generated Node #0,0,1: 71:[43, 59] Operation: 96-37=59 Exploring Operation: 96-43=53, Resulting Numbers: [37, 53] Generated Node #0,0,2: 71:[37, 53] Operation: 96-43=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[96, 80], Operations: ['7+30=37', '43+37=80'] Exploring Operation: 96-80=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 96+80=176, Resulting Numbers: [176] 176,71 unequal: No Solution Exploring Operation: 96*80=7680, Resulting Numbers: [7680] 7680,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:[43, 59], Operations: ['7+30=37', '96-37=59'] Exploring Operation: 43*59=2537, Resulting Numbers: [2537] 2537,71 unequal: No Solution Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 43+59=102, Resulting Numbers: [102] 102,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,2 Current State: 71:[37, 53], Operations: ['7+30=37', '96-43=53'] Exploring Operation: 37+53=90, Resulting Numbers: [90] 90,71 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 37*53=1961, Resulting Numbers: [1961] 1961,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[30, 96, 50], Operations: ['7+43=50'] Exploring Operation: 96-50=46, Resulting Numbers: [30, 46] Generated Node #0,1,0: 71:[30, 46] Operation: 96-50=46 Exploring Operation: 30+50=80, Resulting Numbers: [96, 80] Generated Node #0,1,1: 71:[96, 80] Operation: 30+50=80 Exploring Operation: 96-30=66, Resulting Numbers: [50, 66] Generated Node #0,1,2: 71:[50, 66] Operation: 96-30=66 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[50, 66], Operations: ['7+43=50', '96-30=66'] Exploring Operation: 50*66=3300, Resulting Numbers: [3300] 3300,71 unequal: No Solution Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 50+66=116, Resulting Numbers: [116] 116,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,1,1 Current State: 71:[96, 80], Operations: ['7+43=50', '30+50=80'] Exploring Operation: 96+80=176, Resulting Numbers: [176] 176,71 unequal: No Solution Exploring Operation: 96*80=7680, Resulting Numbers: [7680] 7680,71 unequal: No Solution Exploring Operation: 96-80=16, Resulting Numbers: [16] 16,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,1,0 Current State: 71:[30, 46], Operations: ['7+43=50', '96-50=46'] Exploring Operation: 30+46=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 30*46=1380, Resulting Numbers: [1380] 1380,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[30, 43, 89], Operations: ['96-7=89'] Exploring Operation: 89-30=59, Resulting Numbers: [43, 59] Generated Node #0,2,0: 71:[43, 59] Operation: 89-30=59 Exploring Operation: 30+43=73, Resulting Numbers: [89, 73] Generated Node #0,2,1: 71:[89, 73] Operation: 30+43=73 Exploring Operation: 89-43=46, Resulting Numbers: [30, 46] Generated Node #0,2,2: 71:[30, 46] Operation: 89-43=46 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[89, 73], Operations: ['96-7=89', '30+43=73'] Exploring Operation: 89-73=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 89*73=6497, Resulting Numbers: [6497] 6497,71 unequal: No Solution Exploring Operation: 89+73=162, Resulting Numbers: [162] 162,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,2,0 Current State: 71:[43, 59], Operations: ['96-7=89', '89-30=59'] Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 43*59=2537, Resulting Numbers: [2537] 2537,71 unequal: No Solution Exploring Operation: 43+59=102, Resulting Numbers: [102] 102,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,2,2 Current State: 71:[30, 46], Operations: ['96-7=89', '89-43=46'] Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 30+46=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 30*46=1380, Resulting Numbers: [1380] 1380,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_3
sum_heuristic
[ 39, 56, 90, 52 ]
21
[ "56-39=17", "90-52=38", "38-17=21" ]
Current State: 21:[39, 56, 90, 52], Operations: [] Exploring Operation: 56-39=17, Resulting Numbers: [90, 52, 17] Generated Node #2: [90, 52, 17] from Operation: 56-39=17 Current State: 21:[90, 52, 17], Operations: ['56-39=17'] Exploring Operation: 90-52=38, Resulting Numbers: [17, 38] Generated Node #3: [17, 38] from Operation: 90-52=38 Current State: 21:[17, 38], Operations: ['56-39=17', '90-52=38'] Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[39, 56, 90, 52], Operations: [] Exploring Operation: 90-52=38, Resulting Numbers: [39, 56, 38] Generated Node #0,0: 21:[39, 56, 38] Operation: 90-52=38 Exploring Operation: 90-56=34, Resulting Numbers: [39, 52, 34] Generated Node #0,1: 21:[39, 52, 34] Operation: 90-56=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[39, 52, 34], Operations: ['90-56=34'] Exploring Operation: 52-34=18, Resulting Numbers: [39, 18] Generated Node #0,1,0: 21:[39, 18] Operation: 52-34=18 Exploring Operation: 52-39=13, Resulting Numbers: [34, 13] Generated Node #0,1,1: 21:[34, 13] Operation: 52-39=13 Moving to Node #0,1,1 Current State: 21:[34, 13], Operations: ['90-56=34', '52-39=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[39, 56, 90, 52], Operations: [] Exploring Operation: 90-56=34, Resulting Numbers: [39, 52, 34] Generated Node #0,1: 21:[39, 52, 34] Operation: 90-56=34 Moving to Node #0,1 Current State: 21:[39, 52, 34], Operations: ['90-56=34'] Exploring Operation: 52-39=13, Resulting Numbers: [34, 13] Generated Node #0,1,1: 21:[34, 13] Operation: 52-39=13 Moving to Node #0,1,1 Current State: 21:[34, 13], Operations: ['90-56=34', '52-39=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 78, 3, 88, 21 ]
69
[ "78-21=57", "57/3=19", "88-19=69" ]
Current State: 69:[78, 3, 88, 21], Operations: [] Exploring Operation: 78-21=57, Resulting Numbers: [3, 88, 57] Generated Node #2: [3, 88, 57] from Operation: 78-21=57 Current State: 69:[3, 88, 57], Operations: ['78-21=57'] Exploring Operation: 57/3=19, Resulting Numbers: [88, 19] Generated Node #3: [88, 19] from Operation: 57/3=19 Current State: 69:[88, 19], Operations: ['78-21=57', '57/3=19'] Exploring Operation: 88-19=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[78, 3, 88, 21], Operations: [] Exploring Operation: 88-21=67, Resulting Numbers: [78, 3, 67] Generated Node #0,0: 69:[78, 3, 67] Operation: 88-21=67 Exploring Operation: 88-78=10, Resulting Numbers: [3, 21, 10] Generated Node #0,1: 69:[3, 21, 10] Operation: 88-78=10 Exploring Operation: 78/3=26, Resulting Numbers: [88, 21, 26] Generated Node #0,2: 69:[88, 21, 26] Operation: 78/3=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[3, 21, 10], Operations: ['88-78=10'] Exploring Operation: 10-3=7, Resulting Numbers: [21, 7] Generated Node #0,1,0: 69:[21, 7] Operation: 10-3=7 Exploring Operation: 3+21=24, Resulting Numbers: [10, 24] Generated Node #0,1,1: 69:[10, 24] Operation: 3+21=24 Exploring Operation: 21+10=31, Resulting Numbers: [3, 31] Generated Node #0,1,2: 69:[3, 31] Operation: 21+10=31 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[21, 7], Operations: ['88-78=10', '10-3=7'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 21+7=28, Resulting Numbers: [28] 28,69 unequal: No Solution No 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: 69:[10, 24], Operations: ['88-78=10', '3+21=24'] Exploring Operation: 10*24=240, Resulting Numbers: [240] 240,69 unequal: No Solution Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,69 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,69 unequal: No Solution No 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: 69:[3, 31], Operations: ['88-78=10', '21+10=31'] Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,69 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,69 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: 69:[78, 3, 67], Operations: ['88-21=67'] Exploring Operation: 78-3=75, Resulting Numbers: [67, 75] Generated Node #0,0,0: 69:[67, 75] Operation: 78-3=75 Exploring Operation: 78/3=26, Resulting Numbers: [67, 26] Generated Node #0,0,1: 69:[67, 26] Operation: 78/3=26 Exploring Operation: 78-67=11, Resulting Numbers: [3, 11] Generated Node #0,0,2: 69:[3, 11] Operation: 78-67=11 Moving to Node #0,0,1 Current State: 69:[67, 26], Operations: ['88-21=67', '78/3=26'] Exploring Operation: 67*26=1742, Resulting Numbers: [1742] 1742,69 unequal: No Solution Exploring Operation: 67+26=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 67-26=41, Resulting Numbers: [41] 41,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[67, 75], Operations: ['88-21=67', '78-3=75'] Exploring Operation: 67*75=5025, Resulting Numbers: [5025] 5025,69 unequal: No Solution Exploring Operation: 67+75=142, Resulting Numbers: [142] 142,69 unequal: No Solution Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[3, 11], Operations: ['88-21=67', '78-67=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,69 unequal: No Solution No 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: 69:[88, 21, 26], Operations: ['78/3=26'] Exploring Operation: 88-21=67, Resulting Numbers: [26, 67] Generated Node #0,2,0: 69:[26, 67] Operation: 88-21=67 Exploring Operation: 88-26=62, Resulting Numbers: [21, 62] Generated Node #0,2,1: 69:[21, 62] Operation: 88-26=62 Exploring Operation: 26-21=5, Resulting Numbers: [88, 5] Generated Node #0,2,2: 69:[88, 5] Operation: 26-21=5 Moving to Node #0,2,0 Current State: 69:[26, 67], Operations: ['78/3=26', '88-21=67'] Exploring Operation: 67-26=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 26+67=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 26*67=1742, Resulting Numbers: [1742] 1742,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[21, 62], Operations: ['78/3=26', '88-26=62'] Exploring Operation: 21+62=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 21*62=1302, Resulting Numbers: [1302] 1302,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[88, 5], Operations: ['78/3=26', '26-21=5'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 88*5=440, Resulting Numbers: [440] 440,69 unequal: No Solution Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 49, 6, 48, 24 ]
33
[ "49-24=25", "48/6=8", "25+8=33" ]
Current State: 33:[49, 6, 48, 24], Operations: [] Exploring Operation: 49-24=25, Resulting Numbers: [6, 48, 25] Generated Node #2: [6, 48, 25] from Operation: 49-24=25 Current State: 33:[6, 48, 25], Operations: ['49-24=25'] Exploring Operation: 48/6=8, Resulting Numbers: [25, 8] Generated Node #3: [25, 8] from Operation: 48/6=8 Current State: 33:[25, 8], Operations: ['49-24=25', '48/6=8'] Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[49, 6, 48, 24], Operations: [] Exploring Operation: 49-24=25, Resulting Numbers: [6, 48, 25] Generated Node #0,0: 33:[6, 48, 25] Operation: 49-24=25 Exploring Operation: 48/24=2, Resulting Numbers: [49, 6, 2] Generated Node #0,1: 33:[49, 6, 2] Operation: 48/24=2 Exploring Operation: 48/6=8, Resulting Numbers: [49, 24, 8] Generated Node #0,2: 33:[49, 24, 8] Operation: 48/6=8 Exploring Operation: 49-48=1, Resulting Numbers: [6, 24, 1] Generated Node #0,3: 33:[6, 24, 1] Operation: 49-48=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[6, 24, 1], Operations: ['49-48=1'] Exploring Operation: 6+24=30, Resulting Numbers: [1, 30] Generated Node #0,3,0: 33:[1, 30] Operation: 6+24=30 Exploring Operation: 24/6=4, Resulting Numbers: [1, 4] Generated Node #0,3,1: 33:[1, 4] Operation: 24/6=4 Exploring Operation: 6-1=5, Resulting Numbers: [24, 5] Generated Node #0,3,2: 33:[24, 5] Operation: 6-1=5 Exploring Operation: 24-6=18, Resulting Numbers: [1, 18] Generated Node #0,3,3: 33:[1, 18] Operation: 24-6=18 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 33:[1, 4], Operations: ['49-48=1', '24/6=4'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,33 unequal: No Solution No 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: 33:[1, 30], Operations: ['49-48=1', '6+24=30'] Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,33 unequal: No Solution No 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: 33:[1, 18], Operations: ['49-48=1', '24-6=18'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,33 unequal: No Solution No 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: 33:[24, 5], Operations: ['49-48=1', '6-1=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,33 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[49, 6, 2], Operations: ['48/24=2'] Exploring Operation: 6*2=12, Resulting Numbers: [49, 12] Generated Node #0,1,0: 33:[49, 12] Operation: 6*2=12 Exploring Operation: 6/2=3, Resulting Numbers: [49, 3] Generated Node #0,1,1: 33:[49, 3] Operation: 6/2=3 Exploring Operation: 49-6=43, Resulting Numbers: [2, 43] Generated Node #0,1,2: 33:[2, 43] Operation: 49-6=43 Exploring Operation: 49-2=47, Resulting Numbers: [6, 47] Generated Node #0,1,3: 33:[6, 47] Operation: 49-2=47 Moving to Node #0,1,2 Current State: 33:[2, 43], Operations: ['48/24=2', '49-6=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[49, 3], Operations: ['48/24=2', '6/2=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,33 unequal: No Solution Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[6, 47], Operations: ['48/24=2', '49-2=47'] Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,33 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[49, 12], Operations: ['48/24=2', '6*2=12'] Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,33 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[6, 48, 25], Operations: ['49-24=25'] Exploring Operation: 48-25=23, Resulting Numbers: [6, 23] Generated Node #0,0,0: 33:[6, 23] Operation: 48-25=23 Exploring Operation: 48-6=42, Resulting Numbers: [25, 42] Generated Node #0,0,1: 33:[25, 42] Operation: 48-6=42 Exploring Operation: 6+25=31, Resulting Numbers: [48, 31] Generated Node #0,0,2: 33:[48, 31] Operation: 6+25=31 Exploring Operation: 48/6=8, Resulting Numbers: [25, 8] Generated Node #0,0,3: 33:[25, 8] Operation: 48/6=8 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 33:[25, 8], Operations: ['49-24=25', '48/6=8'] Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[49, 6, 48, 24], Operations: [] Exploring Operation: 49-24=25, Resulting Numbers: [6, 48, 25] Generated Node #0,0: 33:[6, 48, 25] Operation: 49-24=25 Moving to Node #0,0 Current State: 33:[6, 48, 25], Operations: ['49-24=25'] Exploring Operation: 48/6=8, Resulting Numbers: [25, 8] Generated Node #0,0,3: 33:[25, 8] Operation: 48/6=8 Moving to Node #0,0,3 Current State: 33:[25, 8], Operations: ['49-24=25', '48/6=8'] Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.958333
hs_4
sum_heuristic
[ 42, 21, 90, 58 ]
14
[ "21*58=1218", "42+1218=1260", "1260/90=14" ]
Current State: 14:[42, 21, 90, 58], Operations: [] Exploring Operation: 21*58=1218, Resulting Numbers: [42, 90, 1218] Generated Node #2: [42, 90, 1218] from Operation: 21*58=1218 Current State: 14:[42, 90, 1218], Operations: ['21*58=1218'] Exploring Operation: 42+1218=1260, Resulting Numbers: [90, 1260] Generated Node #3: [90, 1260] from Operation: 42+1218=1260 Current State: 14:[90, 1260], Operations: ['21*58=1218', '42+1218=1260'] Exploring Operation: 1260/90=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[42, 21, 90, 58], Operations: [] Exploring Operation: 90-42=48, Resulting Numbers: [21, 58, 48] Generated Node #0,0: 14:[21, 58, 48] Operation: 90-42=48 Exploring Operation: 58-42=16, Resulting Numbers: [21, 90, 16] Generated Node #0,1: 14:[21, 90, 16] Operation: 58-42=16 Exploring Operation: 90-58=32, Resulting Numbers: [42, 21, 32] Generated Node #0,2: 14:[42, 21, 32] Operation: 90-58=32 Moving to Node #0,2 Current State: 14:[42, 21, 32], Operations: ['90-58=32'] Exploring Operation: 42/21=2, Resulting Numbers: [32, 2] Generated Node #0,2,0: 14:[32, 2] Operation: 42/21=2 Exploring Operation: 42-21=21, Resulting Numbers: [32, 21] Generated Node #0,2,1: 14:[32, 21] Operation: 42-21=21 Exploring Operation: 42-32=10, Resulting Numbers: [21, 10] Generated Node #0,2,2: 14:[21, 10] Operation: 42-32=10 Moving to Node #0,0 Current State: 14:[21, 58, 48], Operations: ['90-42=48'] Exploring Operation: 48-21=27, Resulting Numbers: [58, 27] Generated Node #0,0,0: 14:[58, 27] Operation: 48-21=27 Exploring Operation: 58-48=10, Resulting Numbers: [21, 10] Generated Node #0,0,1: 14:[21, 10] Operation: 58-48=10 Exploring Operation: 58-21=37, Resulting Numbers: [48, 37] Generated Node #0,0,2: 14:[48, 37] Operation: 58-21=37 Moving to Node #0,1 Current State: 14:[21, 90, 16], Operations: ['58-42=16'] Exploring Operation: 90-16=74, Resulting Numbers: [21, 74] Generated Node #0,1,0: 14:[21, 74] Operation: 90-16=74 Exploring Operation: 90-21=69, Resulting Numbers: [16, 69] Generated Node #0,1,1: 14:[16, 69] Operation: 90-21=69 Exploring Operation: 21-16=5, Resulting Numbers: [90, 5] Generated Node #0,1,2: 14:[90, 5] Operation: 21-16=5 Moving to Node #0,2,2 Current State: 14:[21, 10], Operations: ['90-58=32', '42-32=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,14 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[21, 10], Operations: ['90-42=48', '58-48=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,14 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[32, 2], Operations: ['90-58=32', '42/21=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,14 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[32, 21], Operations: ['90-58=32', '42-21=21'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,14 unequal: No Solution Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[48, 37], Operations: ['90-42=48', '58-21=37'] Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,14 unequal: No Solution Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,14 unequal: No Solution Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[16, 69], Operations: ['58-42=16', '90-21=69'] Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,14 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 16*69=1104, Resulting Numbers: [1104] 1104,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[58, 27], Operations: ['90-42=48', '48-21=27'] Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 58*27=1566, Resulting Numbers: [1566] 1566,14 unequal: No Solution Exploring Operation: 58+27=85, Resulting Numbers: [85] 85,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[21, 74], Operations: ['58-42=16', '90-16=74'] Exploring Operation: 21+74=95, Resulting Numbers: [95] 95,14 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 21*74=1554, Resulting Numbers: [1554] 1554,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[90, 5], Operations: ['58-42=16', '21-16=5'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,14 unequal: No Solution Exploring Operation: 90+5=95, Resulting Numbers: [95] 95,14 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 39, 42, 9, 36 ]
69
[ "39-36=3", "9*3=27", "42+27=69" ]
Current State: 69:[39, 42, 9, 36], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [42, 9, 3] Generated Node #2: [42, 9, 3] from Operation: 39-36=3 Current State: 69:[42, 9, 3], Operations: ['39-36=3'] Exploring Operation: 9*3=27, Resulting Numbers: [42, 27] Generated Node #3: [42, 27] from Operation: 9*3=27 Current State: 69:[42, 27], Operations: ['39-36=3', '9*3=27'] Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[39, 42, 9, 36], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [42, 9, 3] Generated Node #0,0: 69:[42, 9, 3] Operation: 39-36=3 Exploring Operation: 42-39=3, Resulting Numbers: [9, 36, 3] Generated Node #0,1: 69:[9, 36, 3] Operation: 42-39=3 Moving to Node #0,1 Current State: 69:[9, 36, 3], Operations: ['42-39=3'] Exploring Operation: 36/9=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 69:[3, 4] Operation: 36/9=4 Exploring Operation: 36-9=27, Resulting Numbers: [3, 27] Generated Node #0,1,1: 69:[3, 27] Operation: 36-9=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[3, 4], Operations: ['42-39=3', '36/9=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,69 unequal: No Solution No 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: 69:[3, 27], Operations: ['42-39=3', '36-9=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,69 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: 69:[42, 9, 3], Operations: ['39-36=3'] Exploring Operation: 42/3=14, Resulting Numbers: [9, 14] Generated Node #0,0,0: 69:[9, 14] Operation: 42/3=14 Exploring Operation: 42-9=33, Resulting Numbers: [3, 33] Generated Node #0,0,1: 69:[3, 33] Operation: 42-9=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[3, 33], Operations: ['39-36=3', '42-9=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,69 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,69 unequal: No Solution No 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: 69:[9, 14], Operations: ['39-36=3', '42/3=14'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,69 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
[ 43, 57, 96, 45 ]
65
[ "57-43=14", "96-45=51", "14+51=65" ]
Current State: 65:[43, 57, 96, 45], Operations: [] Exploring Operation: 57-43=14, Resulting Numbers: [96, 45, 14] Generated Node #2: [96, 45, 14] from Operation: 57-43=14 Current State: 65:[96, 45, 14], Operations: ['57-43=14'] Exploring Operation: 96-45=51, Resulting Numbers: [14, 51] Generated Node #3: [14, 51] from Operation: 96-45=51 Current State: 65:[14, 51], Operations: ['57-43=14', '96-45=51'] Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[43, 57, 96, 45], Operations: [] Exploring Operation: 96-43=53, Resulting Numbers: [57, 45, 53] Generated Node #0,0: 65:[57, 45, 53] Operation: 96-43=53 Moving to Node #0,0 Current State: 65:[57, 45, 53], Operations: ['96-43=53'] Exploring Operation: 53-45=8, Resulting Numbers: [57, 8] Generated Node #0,0,0: 65:[57, 8] Operation: 53-45=8 Moving to Node #0,0,0 Current State: 65:[57, 8], Operations: ['96-43=53', '53-45=8'] Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[43, 57, 96, 45], Operations: [] Exploring Operation: 96-43=53, Resulting Numbers: [57, 45, 53] Generated Node #0,0: 65:[57, 45, 53] Operation: 96-43=53 Moving to Node #0,0 Current State: 65:[57, 45, 53], Operations: ['96-43=53'] Exploring Operation: 53-45=8, Resulting Numbers: [57, 8] Generated Node #0,0,0: 65:[57, 8] Operation: 53-45=8 Moving to Node #0,0,0 Current State: 65:[57, 8], Operations: ['96-43=53', '53-45=8'] Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 68, 47, 4, 64 ]
46
[ "68-4=64", "64/64=1", "47-1=46" ]
Current State: 46:[68, 47, 4, 64], Operations: [] Exploring Operation: 68-4=64, Resulting Numbers: [47, 64, 64] Generated Node #2: [47, 64, 64] from Operation: 68-4=64 Current State: 46:[47, 64, 64], Operations: ['68-4=64'] Exploring Operation: 64/64=1, Resulting Numbers: [47, 1] Generated Node #3: [47, 1] from Operation: 64/64=1 Current State: 46:[47, 1], Operations: ['68-4=64', '64/64=1'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[68, 47, 4, 64], Operations: [] Exploring Operation: 68-47=21, Resulting Numbers: [4, 64, 21] Generated Node #0,0: 46:[4, 64, 21] Operation: 68-47=21 Exploring Operation: 64-47=17, Resulting Numbers: [68, 4, 17] Generated Node #0,1: 46:[68, 4, 17] Operation: 64-47=17 Exploring Operation: 68-64=4, Resulting Numbers: [47, 4, 4] Generated Node #0,2: 46:[47, 4, 4] Operation: 68-64=4 Exploring Operation: 68/4=17, Resulting Numbers: [47, 64, 17] Generated Node #0,3: 46:[47, 64, 17] Operation: 68/4=17 Moving to Node #0,2 Current State: 46:[47, 4, 4], Operations: ['68-64=4'] Exploring Operation: 47-4=43, Resulting Numbers: [4, 43] Generated Node #0,2,0: 46:[4, 43] Operation: 47-4=43 Exploring Operation: 47-4=43, Resulting Numbers: [4, 43] Generated Node #0,2,1: 46:[4, 43] Operation: 47-4=43 Exploring Operation: 4/4=1, Resulting Numbers: [47, 1] Generated Node #0,2,2: 46:[47, 1] Operation: 4/4=1 Exploring Operation: 4-4=0, Resulting Numbers: [47, 0] Generated Node #0,2,3: 46:[47, 0] Operation: 4-4=0 Moving to Node #0,0 Current State: 46:[4, 64, 21], Operations: ['68-47=21'] Exploring Operation: 4+21=25, Resulting Numbers: [64, 25] Generated Node #0,0,0: 46:[64, 25] Operation: 4+21=25 Exploring Operation: 64/4=16, Resulting Numbers: [21, 16] Generated Node #0,0,1: 46:[21, 16] Operation: 64/4=16 Exploring Operation: 64-4=60, Resulting Numbers: [21, 60] Generated Node #0,0,2: 46:[21, 60] Operation: 64-4=60 Exploring Operation: 64-21=43, Resulting Numbers: [4, 43] Generated Node #0,0,3: 46:[4, 43] Operation: 64-21=43 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 46:[4, 43], Operations: ['68-47=21', '64-21=43'] Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,46 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[21, 16], Operations: ['68-47=21', '64/4=16'] Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,46 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[21, 60], Operations: ['68-47=21', '64-4=60'] Exploring Operation: 21*60=1260, Resulting Numbers: [1260] 1260,46 unequal: No Solution Exploring Operation: 21+60=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[64, 25], Operations: ['68-47=21', '4+21=25'] Exploring Operation: 64-25=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 64+25=89, Resulting Numbers: [89] 89,46 unequal: No Solution Exploring Operation: 64*25=1600, Resulting Numbers: [1600] 1600,46 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: 46:[47, 64, 17], Operations: ['68/4=17'] Exploring Operation: 47+17=64, Resulting Numbers: [64, 64] Generated Node #0,3,0: 46:[64, 64] Operation: 47+17=64 Exploring Operation: 47-17=30, Resulting Numbers: [64, 30] Generated Node #0,3,1: 46:[64, 30] Operation: 47-17=30 Exploring Operation: 64-17=47, Resulting Numbers: [47, 47] Generated Node #0,3,2: 46:[47, 47] Operation: 64-17=47 Exploring Operation: 64-47=17, Resulting Numbers: [17, 17] Generated Node #0,3,3: 46:[17, 17] Operation: 64-47=17 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 46:[47, 47], Operations: ['68/4=17', '64-17=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 47*47=2209, Resulting Numbers: [2209] 2209,46 unequal: No Solution Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 46:[17, 17], Operations: ['68/4=17', '64-47=17'] Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 46:[64, 30], Operations: ['68/4=17', '47-17=30'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 64+30=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 64*30=1920, Resulting Numbers: [1920] 1920,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 46:[64, 64], Operations: ['68/4=17', '47+17=64'] Exploring Operation: 64/64=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 64*64=4096, Resulting Numbers: [4096] 4096,46 unequal: No Solution Exploring Operation: 64-64=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 64+64=128, Resulting Numbers: [128] 128,46 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: 46:[68, 4, 17], Operations: ['64-47=17'] Exploring Operation: 68/17=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 46:[4, 4] Operation: 68/17=4 Exploring Operation: 68/4=17, Resulting Numbers: [17, 17] Generated Node #0,1,1: 46:[17, 17] Operation: 68/4=17 Exploring Operation: 68-17=51, Resulting Numbers: [4, 51] Generated Node #0,1,2: 46:[4, 51] Operation: 68-17=51 Exploring Operation: 68-4=64, Resulting Numbers: [17, 64] Generated Node #0,1,3: 46:[17, 64] Operation: 68-4=64 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[4, 4], Operations: ['64-47=17', '68/17=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[4, 51], Operations: ['64-47=17', '68-17=51'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 4*51=204, Resulting Numbers: [204] 204,46 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[17, 17], Operations: ['64-47=17', '68/4=17'] Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,46 unequal: No Solution Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[17, 64], Operations: ['64-47=17', '68-4=64'] Exploring Operation: 17*64=1088, Resulting Numbers: [1088] 1088,46 unequal: No Solution Exploring Operation: 17+64=81, Resulting Numbers: [81] 81,46 unequal: No Solution Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 46:[47, 1], Operations: ['68-64=4', '4/4=1'] Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[68, 47, 4, 64], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [47, 4, 4] Generated Node #0,2: 46:[47, 4, 4] Operation: 68-64=4 Moving to Node #0,2 Current State: 46:[47, 4, 4], Operations: ['68-64=4'] Exploring Operation: 4/4=1, Resulting Numbers: [47, 1] Generated Node #0,2,2: 46:[47, 1] Operation: 4/4=1 Moving to Node #0,2,2 Current State: 46:[47, 1], Operations: ['68-64=4', '4/4=1'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.94184
hs_4
mult_heuristic
[ 61, 71, 37, 80 ]
33
[ "71-61=10", "80-37=43", "43-10=33" ]
Current State: 33:[61, 71, 37, 80], Operations: [] Exploring Operation: 71-61=10, Resulting Numbers: [37, 80, 10] Generated Node #2: [37, 80, 10] from Operation: 71-61=10 Current State: 33:[37, 80, 10], Operations: ['71-61=10'] Exploring Operation: 80-37=43, Resulting Numbers: [10, 43] Generated Node #3: [10, 43] from Operation: 80-37=43 Current State: 33:[10, 43], Operations: ['71-61=10', '80-37=43'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[61, 71, 37, 80], Operations: [] Exploring Operation: 80-37=43, Resulting Numbers: [61, 71, 43] Generated Node #0,0: 33:[61, 71, 43] Operation: 80-37=43 Exploring Operation: 71-37=34, Resulting Numbers: [61, 80, 34] Generated Node #0,1: 33:[61, 80, 34] Operation: 71-37=34 Exploring Operation: 71-61=10, Resulting Numbers: [37, 80, 10] Generated Node #0,2: 33:[37, 80, 10] Operation: 71-61=10 Exploring Operation: 80-61=19, Resulting Numbers: [71, 37, 19] Generated Node #0,3: 33:[71, 37, 19] Operation: 80-61=19 Exploring Operation: 80-71=9, Resulting Numbers: [61, 37, 9] Generated Node #0,4: 33:[61, 37, 9] Operation: 80-71=9 Moving to Node #0,4 Current State: 33:[61, 37, 9], Operations: ['80-71=9'] Exploring Operation: 61+9=70, Resulting Numbers: [37, 70] Generated Node #0,4,0: 33:[37, 70] Operation: 61+9=70 Exploring Operation: 61-37=24, Resulting Numbers: [9, 24] Generated Node #0,4,1: 33:[9, 24] Operation: 61-37=24 Exploring Operation: 37+9=46, Resulting Numbers: [61, 46] Generated Node #0,4,2: 33:[61, 46] Operation: 37+9=46 Exploring Operation: 37-9=28, Resulting Numbers: [61, 28] Generated Node #0,4,3: 33:[61, 28] Operation: 37-9=28 Exploring Operation: 61-9=52, Resulting Numbers: [37, 52] Generated Node #0,4,4: 33:[37, 52] Operation: 61-9=52 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 33:[9, 24], Operations: ['80-71=9', '61-37=24'] Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[61, 71, 37, 80], Operations: [] Exploring Operation: 80-71=9, Resulting Numbers: [61, 37, 9] Generated Node #0,4: 33:[61, 37, 9] Operation: 80-71=9 Moving to Node #0,4 Current State: 33:[61, 37, 9], Operations: ['80-71=9'] Exploring Operation: 61-37=24, Resulting Numbers: [9, 24] Generated Node #0,4,1: 33:[9, 24] Operation: 61-37=24 Moving to Node #0,4,1 Current State: 33:[9, 24], Operations: ['80-71=9', '61-37=24'] Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 66, 54, 65, 84 ]
78
[ "65-54=11", "66/11=6", "84-6=78" ]
Current State: 78:[66, 54, 65, 84], Operations: [] Exploring Operation: 65-54=11, Resulting Numbers: [66, 84, 11] Generated Node #2: [66, 84, 11] from Operation: 65-54=11 Current State: 78:[66, 84, 11], Operations: ['65-54=11'] Exploring Operation: 66/11=6, Resulting Numbers: [84, 6] Generated Node #3: [84, 6] from Operation: 66/11=6 Current State: 78:[84, 6], Operations: ['65-54=11', '66/11=6'] Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[66, 54, 65, 84], Operations: [] Exploring Operation: 66-54=12, Resulting Numbers: [65, 84, 12] Generated Node #0,0: 78:[65, 84, 12] Operation: 66-54=12 Exploring Operation: 65-54=11, Resulting Numbers: [66, 84, 11] Generated Node #0,1: 78:[66, 84, 11] Operation: 65-54=11 Moving to Node #0,0 Current State: 78:[65, 84, 12], Operations: ['66-54=12'] Exploring Operation: 84-65=19, Resulting Numbers: [12, 19] Generated Node #0,0,0: 78:[12, 19] Operation: 84-65=19 Exploring Operation: 65+12=77, Resulting Numbers: [84, 77] Generated Node #0,0,1: 78:[84, 77] Operation: 65+12=77 Moving to Node #0,1 Current State: 78:[66, 84, 11], Operations: ['65-54=11'] Exploring Operation: 84-66=18, Resulting Numbers: [11, 18] Generated Node #0,1,0: 78:[11, 18] Operation: 84-66=18 Exploring Operation: 66/11=6, Resulting Numbers: [84, 6] Generated Node #0,1,1: 78:[84, 6] Operation: 66/11=6 Moving to Node #0,1,1 Current State: 78:[84, 6], Operations: ['65-54=11', '66/11=6'] Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[66, 54, 65, 84], Operations: [] Exploring Operation: 65-54=11, Resulting Numbers: [66, 84, 11] Generated Node #0,1: 78:[66, 84, 11] Operation: 65-54=11 Moving to Node #0,1 Current State: 78:[66, 84, 11], Operations: ['65-54=11'] Exploring Operation: 66/11=6, Resulting Numbers: [84, 6] Generated Node #0,1,1: 78:[84, 6] Operation: 66/11=6 Moving to Node #0,1,1 Current State: 78:[84, 6], Operations: ['65-54=11', '66/11=6'] Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 9, 13, 83, 6 ]
93
[ "13-9=4", "83+6=89", "4+89=93" ]
Current State: 93:[9, 13, 83, 6], Operations: [] Exploring Operation: 13-9=4, Resulting Numbers: [83, 6, 4] Generated Node #2: [83, 6, 4] from Operation: 13-9=4 Current State: 93:[83, 6, 4], Operations: ['13-9=4'] Exploring Operation: 83+6=89, Resulting Numbers: [4, 89] Generated Node #3: [4, 89] from Operation: 83+6=89 Current State: 93:[4, 89], Operations: ['13-9=4', '83+6=89'] Exploring Operation: 4+89=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[9, 13, 83, 6], Operations: [] Exploring Operation: 13+83=96, Resulting Numbers: [9, 6, 96] Generated Node #0,0: 93:[9, 6, 96] Operation: 13+83=96 Exploring Operation: 9+83=92, Resulting Numbers: [13, 6, 92] Generated Node #0,1: 93:[13, 6, 92] Operation: 9+83=92 Exploring Operation: 13-6=7, Resulting Numbers: [9, 83, 7] Generated Node #0,2: 93:[9, 83, 7] Operation: 13-6=7 Exploring Operation: 13-9=4, Resulting Numbers: [83, 6, 4] Generated Node #0,3: 93:[83, 6, 4] Operation: 13-9=4 Exploring Operation: 9-6=3, Resulting Numbers: [13, 83, 3] Generated Node #0,4: 93:[13, 83, 3] Operation: 9-6=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[9, 6, 96], Operations: ['13+83=96'] Exploring Operation: 9+6=15, Resulting Numbers: [96, 15] Generated Node #0,0,0: 93:[96, 15] Operation: 9+6=15 Exploring Operation: 9+96=105, Resulting Numbers: [6, 105] Generated Node #0,0,1: 93:[6, 105] Operation: 9+96=105 Exploring Operation: 96-9=87, Resulting Numbers: [6, 87] Generated Node #0,0,2: 93:[6, 87] Operation: 96-9=87 Exploring Operation: 96-6=90, Resulting Numbers: [9, 90] Generated Node #0,0,3: 93:[9, 90] Operation: 96-6=90 Exploring Operation: 9-6=3, Resulting Numbers: [96, 3] Generated Node #0,0,4: 93:[96, 3] Operation: 9-6=3 Moving to Node #0,0,4 Current State: 93:[96, 3], Operations: ['13+83=96', '9-6=3'] Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 96*3=288, Resulting Numbers: [288] 288,93 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[9, 13, 83, 6], Operations: [] Exploring Operation: 13+83=96, Resulting Numbers: [9, 6, 96] Generated Node #0,0: 93:[9, 6, 96] Operation: 13+83=96 Moving to Node #0,0 Current State: 93:[9, 6, 96], Operations: ['13+83=96'] Exploring Operation: 9-6=3, Resulting Numbers: [96, 3] Generated Node #0,0,4: 93:[96, 3] Operation: 9-6=3 Moving to Node #0,0,4 Current State: 93:[96, 3], Operations: ['13+83=96', '9-6=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 11, 12, 17, 19 ]
94
[ "19-12=7", "11*7=77", "17+77=94" ]
Current State: 94:[11, 12, 17, 19], Operations: [] Exploring Operation: 19-12=7, Resulting Numbers: [11, 17, 7] Generated Node #2: [11, 17, 7] from Operation: 19-12=7 Current State: 94:[11, 17, 7], Operations: ['19-12=7'] Exploring Operation: 11*7=77, Resulting Numbers: [17, 77] Generated Node #3: [17, 77] from Operation: 11*7=77 Current State: 94:[17, 77], Operations: ['19-12=7', '11*7=77'] Exploring Operation: 17+77=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[11, 12, 17, 19], Operations: [] Exploring Operation: 17-12=5, Resulting Numbers: [11, 19, 5] Generated Node #0,0: 94:[11, 19, 5] Operation: 17-12=5 Exploring Operation: 19-17=2, Resulting Numbers: [11, 12, 2] Generated Node #0,1: 94:[11, 12, 2] Operation: 19-17=2 Exploring Operation: 19-12=7, Resulting Numbers: [11, 17, 7] Generated Node #0,2: 94:[11, 17, 7] Operation: 19-12=7 Exploring Operation: 17+19=36, Resulting Numbers: [11, 12, 36] Generated Node #0,3: 94:[11, 12, 36] Operation: 17+19=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[11, 12, 2], Operations: ['19-17=2'] Exploring Operation: 11-2=9, Resulting Numbers: [12, 9] Generated Node #0,1,0: 94:[12, 9] Operation: 11-2=9 Exploring Operation: 12/2=6, Resulting Numbers: [11, 6] Generated Node #0,1,1: 94:[11, 6] Operation: 12/2=6 Exploring Operation: 12-2=10, Resulting Numbers: [11, 10] Generated Node #0,1,2: 94:[11, 10] Operation: 12-2=10 Exploring Operation: 12-11=1, Resulting Numbers: [2, 1] Generated Node #0,1,3: 94:[2, 1] Operation: 12-11=1 Moving to Node #0,1,3 Current State: 94:[2, 1], Operations: ['19-17=2', '12-11=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[11, 6], Operations: ['19-17=2', '12/2=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,94 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[11, 10], Operations: ['19-17=2', '12-2=10'] Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,94 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[12, 9], Operations: ['19-17=2', '11-2=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,94 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,94 unequal: No Solution No 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: 94:[11, 19, 5], Operations: ['17-12=5'] Exploring Operation: 19-11=8, Resulting Numbers: [5, 8] Generated Node #0,0,0: 94:[5, 8] Operation: 19-11=8 Exploring Operation: 11+19=30, Resulting Numbers: [5, 30] Generated Node #0,0,1: 94:[5, 30] Operation: 11+19=30 Exploring Operation: 11-5=6, Resulting Numbers: [19, 6] Generated Node #0,0,2: 94:[19, 6] Operation: 11-5=6 Exploring Operation: 19*5=95, Resulting Numbers: [11, 95] Generated Node #0,0,3: 94:[11, 95] Operation: 19*5=95 Moving to Node #0,0,0 Current State: 94:[5, 8], Operations: ['17-12=5', '19-11=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[11, 95], Operations: ['17-12=5', '19*5=95'] Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 11+95=106, Resulting Numbers: [106] 106,94 unequal: No Solution Exploring Operation: 11*95=1045, Resulting Numbers: [1045] 1045,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[5, 30], Operations: ['17-12=5', '11+19=30'] Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,94 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,94 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[19, 6], Operations: ['17-12=5', '11-5=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,94 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,94 unequal: No Solution No 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: 94:[11, 17, 7], Operations: ['19-12=7'] Exploring Operation: 11+17=28, Resulting Numbers: [7, 28] Generated Node #0,2,0: 94:[7, 28] Operation: 11+17=28 Exploring Operation: 17-7=10, Resulting Numbers: [11, 10] Generated Node #0,2,1: 94:[11, 10] Operation: 17-7=10 Exploring Operation: 11-7=4, Resulting Numbers: [17, 4] Generated Node #0,2,2: 94:[17, 4] Operation: 11-7=4 Exploring Operation: 17-11=6, Resulting Numbers: [7, 6] Generated Node #0,2,3: 94:[7, 6] Operation: 17-11=6 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 94:[7, 6], Operations: ['19-12=7', '17-11=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,94 unequal: No Solution No 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: 94:[11, 10], Operations: ['19-12=7', '17-7=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,94 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,94 unequal: No Solution No 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: 94:[17, 4], Operations: ['19-12=7', '11-7=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,94 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,94 unequal: No Solution No 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: 94:[7, 28], Operations: ['19-12=7', '11+17=28'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,94 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,94 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,94 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: 94:[11, 12, 36], Operations: ['17+19=36'] Exploring Operation: 12+36=48, Resulting Numbers: [11, 48] Generated Node #0,3,0: 94:[11, 48] Operation: 12+36=48 Exploring Operation: 36/12=3, Resulting Numbers: [11, 3] Generated Node #0,3,1: 94:[11, 3] Operation: 36/12=3 Exploring Operation: 12-11=1, Resulting Numbers: [36, 1] Generated Node #0,3,2: 94:[36, 1] Operation: 12-11=1 Exploring Operation: 11+36=47, Resulting Numbers: [12, 47] Generated Node #0,3,3: 94:[12, 47] Operation: 11+36=47 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 94:[11, 48], Operations: ['17+19=36', '12+36=48'] Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,94 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,94 unequal: No Solution Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,94 unequal: No Solution No 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: 94:[11, 3], Operations: ['17+19=36', '36/12=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,94 unequal: No Solution No 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: 94:[12, 47], Operations: ['17+19=36', '11+36=47'] Exploring Operation: 12*47=564, Resulting Numbers: [564] 564,94 unequal: No Solution Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 12+47=59, Resulting Numbers: [59] 59,94 unequal: No Solution No 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: 94:[36, 1], Operations: ['17+19=36', '12-11=1'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,94 unequal: No Solution Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,94 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,94 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
[ 6, 9, 70, 95 ]
28
[ "9-6=3", "95-70=25", "3+25=28" ]
Current State: 28:[6, 9, 70, 95], Operations: [] Exploring Operation: 9-6=3, Resulting Numbers: [70, 95, 3] Generated Node #2: [70, 95, 3] from Operation: 9-6=3 Current State: 28:[70, 95, 3], Operations: ['9-6=3'] Exploring Operation: 95-70=25, Resulting Numbers: [3, 25] Generated Node #3: [3, 25] from Operation: 95-70=25 Current State: 28:[3, 25], Operations: ['9-6=3', '95-70=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[6, 9, 70, 95], Operations: [] Exploring Operation: 95-70=25, Resulting Numbers: [6, 9, 25] Generated Node #0,0: 28:[6, 9, 25] Operation: 95-70=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[6, 9, 25], Operations: ['95-70=25'] Exploring Operation: 25-9=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 28:[6, 16] Operation: 25-9=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[6, 16], Operations: ['95-70=25', '25-9=16'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,28 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
[ 5, 14, 66, 61 ]
11
[ "66-61=5", "5*5=25", "25-14=11" ]
Current State: 11:[5, 14, 66, 61], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [5, 14, 5] Generated Node #2: [5, 14, 5] from Operation: 66-61=5 Current State: 11:[5, 14, 5], Operations: ['66-61=5'] Exploring Operation: 5*5=25, Resulting Numbers: [14, 25] Generated Node #3: [14, 25] from Operation: 5*5=25 Current State: 11:[14, 25], Operations: ['66-61=5', '5*5=25'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[5, 14, 66, 61], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [5, 14, 5] Generated Node #0,0: 11:[5, 14, 5] Operation: 66-61=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[5, 14, 5], Operations: ['66-61=5'] Exploring Operation: 5+5=10, Resulting Numbers: [14, 10] Generated Node #0,0,0: 11:[14, 10] Operation: 5+5=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[14, 10], Operations: ['66-61=5', '5+5=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 88, 74, 51, 22 ]
89
[ "88+74=162", "51+22=73", "162-73=89" ]
Current State: 89:[88, 74, 51, 22], Operations: [] Exploring Operation: 88+74=162, Resulting Numbers: [51, 22, 162] Generated Node #2: [51, 22, 162] from Operation: 88+74=162 Current State: 89:[51, 22, 162], Operations: ['88+74=162'] Exploring Operation: 51+22=73, Resulting Numbers: [162, 73] Generated Node #3: [162, 73] from Operation: 51+22=73 Current State: 89:[162, 73], Operations: ['88+74=162', '51+22=73'] Exploring Operation: 162-73=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[88, 74, 51, 22], Operations: [] Exploring Operation: 51+22=73, Resulting Numbers: [88, 74, 73] Generated Node #0,0: 89:[88, 74, 73] Operation: 51+22=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[88, 74, 73], Operations: ['51+22=73'] Exploring Operation: 74+73=147, Resulting Numbers: [88, 147] Generated Node #0,0,0: 89:[88, 147] Operation: 74+73=147 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[88, 147], Operations: ['51+22=73', '74+73=147'] Exploring Operation: 147-88=59, Resulting Numbers: [59] 59,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 75, 89, 81, 30 ]
91
[ "81-75=6", "30*6=180", "180-89=91" ]
Current State: 91:[75, 89, 81, 30], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [89, 30, 6] Generated Node #2: [89, 30, 6] from Operation: 81-75=6 Current State: 91:[89, 30, 6], Operations: ['81-75=6'] Exploring Operation: 30*6=180, Resulting Numbers: [89, 180] Generated Node #3: [89, 180] from Operation: 30*6=180 Current State: 91:[89, 180], Operations: ['81-75=6', '30*6=180'] Exploring Operation: 180-89=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[75, 89, 81, 30], Operations: [] Exploring Operation: 75+30=105, Resulting Numbers: [89, 81, 105] Generated Node #0,0: 91:[89, 81, 105] Operation: 75+30=105 Exploring Operation: 89-75=14, Resulting Numbers: [81, 30, 14] Generated Node #0,1: 91:[81, 30, 14] Operation: 89-75=14 Exploring Operation: 89-81=8, Resulting Numbers: [75, 30, 8] Generated Node #0,2: 91:[75, 30, 8] Operation: 89-81=8 Exploring Operation: 81-75=6, Resulting Numbers: [89, 30, 6] Generated Node #0,3: 91:[89, 30, 6] Operation: 81-75=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[89, 30, 6], Operations: ['81-75=6'] Exploring Operation: 89-6=83, Resulting Numbers: [30, 83] Generated Node #0,3,0: 91:[30, 83] Operation: 89-6=83 Exploring Operation: 30/6=5, Resulting Numbers: [89, 5] Generated Node #0,3,1: 91:[89, 5] Operation: 30/6=5 Exploring Operation: 30-6=24, Resulting Numbers: [89, 24] Generated Node #0,3,2: 91:[89, 24] Operation: 30-6=24 Exploring Operation: 89+6=95, Resulting Numbers: [30, 95] Generated Node #0,3,3: 91:[30, 95] Operation: 89+6=95 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 91:[89, 5], Operations: ['81-75=6', '30/6=5'] Exploring Operation: 89*5=445, Resulting Numbers: [445] 445,91 unequal: No Solution Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,91 unequal: No Solution Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 91:[89, 24], Operations: ['81-75=6', '30-6=24'] Exploring Operation: 89+24=113, Resulting Numbers: [113] 113,91 unequal: No Solution Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 89*24=2136, Resulting Numbers: [2136] 2136,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 91:[30, 95], Operations: ['81-75=6', '89+6=95'] Exploring Operation: 30*95=2850, Resulting Numbers: [2850] 2850,91 unequal: No Solution Exploring Operation: 30+95=125, Resulting Numbers: [125] 125,91 unequal: No Solution Exploring Operation: 95-30=65, Resulting Numbers: [65] 65,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 91:[30, 83], Operations: ['81-75=6', '89-6=83'] Exploring Operation: 30+83=113, Resulting Numbers: [113] 113,91 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,91 unequal: No Solution Exploring Operation: 30*83=2490, Resulting Numbers: [2490] 2490,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[89, 81, 105], Operations: ['75+30=105'] Exploring Operation: 89+81=170, Resulting Numbers: [105, 170] Generated Node #0,0,0: 91:[105, 170] Operation: 89+81=170 Exploring Operation: 89-81=8, Resulting Numbers: [105, 8] Generated Node #0,0,1: 91:[105, 8] Operation: 89-81=8 Exploring Operation: 105-89=16, Resulting Numbers: [81, 16] Generated Node #0,0,2: 91:[81, 16] Operation: 105-89=16 Exploring Operation: 105-81=24, Resulting Numbers: [89, 24] Generated Node #0,0,3: 91:[89, 24] Operation: 105-81=24 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 91:[81, 16], Operations: ['75+30=105', '105-89=16'] Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 81*16=1296, Resulting Numbers: [1296] 1296,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 91:[89, 24], Operations: ['75+30=105', '105-81=24'] Exploring Operation: 89+24=113, Resulting Numbers: [113] 113,91 unequal: No Solution Exploring Operation: 89*24=2136, Resulting Numbers: [2136] 2136,91 unequal: No Solution Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[105, 8], Operations: ['75+30=105', '89-81=8'] Exploring Operation: 105*8=840, Resulting Numbers: [840] 840,91 unequal: No Solution Exploring Operation: 105+8=113, Resulting Numbers: [113] 113,91 unequal: No Solution Exploring Operation: 105-8=97, Resulting Numbers: [97] 97,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[105, 170], Operations: ['75+30=105', '89+81=170'] Exploring Operation: 105+170=275, Resulting Numbers: [275] 275,91 unequal: No Solution Exploring Operation: 170-105=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 105*170=17850, Resulting Numbers: [17850] 17850,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[81, 30, 14], Operations: ['89-75=14'] Exploring Operation: 81+30=111, Resulting Numbers: [14, 111] Generated Node #0,1,0: 91:[14, 111] Operation: 81+30=111 Exploring Operation: 81+14=95, Resulting Numbers: [30, 95] Generated Node #0,1,1: 91:[30, 95] Operation: 81+14=95 Exploring Operation: 30-14=16, Resulting Numbers: [81, 16] Generated Node #0,1,2: 91:[81, 16] Operation: 30-14=16 Exploring Operation: 81-30=51, Resulting Numbers: [14, 51] Generated Node #0,1,3: 91:[14, 51] Operation: 81-30=51 Moving to Node #0,1,2 Current State: 91:[81, 16], Operations: ['89-75=14', '30-14=16'] Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 81*16=1296, Resulting Numbers: [1296] 1296,91 unequal: No Solution Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[30, 95], Operations: ['89-75=14', '81+14=95'] Exploring Operation: 30+95=125, Resulting Numbers: [125] 125,91 unequal: No Solution Exploring Operation: 30*95=2850, Resulting Numbers: [2850] 2850,91 unequal: No Solution Exploring Operation: 95-30=65, Resulting Numbers: [65] 65,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[14, 111], Operations: ['89-75=14', '81+30=111'] Exploring Operation: 111-14=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 14+111=125, Resulting Numbers: [125] 125,91 unequal: No Solution Exploring Operation: 14*111=1554, Resulting Numbers: [1554] 1554,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[14, 51], Operations: ['89-75=14', '81-30=51'] Exploring Operation: 14*51=714, Resulting Numbers: [714] 714,91 unequal: No Solution Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,91 unequal: No Solution Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[75, 30, 8], Operations: ['89-81=8'] Exploring Operation: 75+8=83, Resulting Numbers: [30, 83] Generated Node #0,2,0: 91:[30, 83] Operation: 75+8=83 Exploring Operation: 30-8=22, Resulting Numbers: [75, 22] Generated Node #0,2,1: 91:[75, 22] Operation: 30-8=22 Exploring Operation: 75-30=45, Resulting Numbers: [8, 45] Generated Node #0,2,2: 91:[8, 45] Operation: 75-30=45 Exploring Operation: 75+30=105, Resulting Numbers: [8, 105] Generated Node #0,2,3: 91:[8, 105] Operation: 75+30=105 Moving to Node #0,2,3 Current State: 91:[8, 105], Operations: ['89-81=8', '75+30=105'] Exploring Operation: 8*105=840, Resulting Numbers: [840] 840,91 unequal: No Solution Exploring Operation: 8+105=113, Resulting Numbers: [113] 113,91 unequal: No Solution Exploring Operation: 105-8=97, Resulting Numbers: [97] 97,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[75, 22], Operations: ['89-81=8', '30-8=22'] Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,91 unequal: No Solution Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 75*22=1650, Resulting Numbers: [1650] 1650,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[30, 83], Operations: ['89-81=8', '75+8=83'] Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,91 unequal: No Solution Exploring Operation: 30+83=113, Resulting Numbers: [113] 113,91 unequal: No Solution Exploring Operation: 30*83=2490, Resulting Numbers: [2490] 2490,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[8, 45], Operations: ['89-81=8', '75-30=45'] Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,91 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,91 unequal: No Solution Exploring Operation: 8*45=360, Resulting Numbers: [360] 360,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 68, 16, 14, 25 ]
45
[ "68+16=84", "14+25=39", "84-39=45" ]
Current State: 45:[68, 16, 14, 25], Operations: [] Exploring Operation: 68+16=84, Resulting Numbers: [14, 25, 84] Generated Node #2: [14, 25, 84] from Operation: 68+16=84 Current State: 45:[14, 25, 84], Operations: ['68+16=84'] Exploring Operation: 14+25=39, Resulting Numbers: [84, 39] Generated Node #3: [84, 39] from Operation: 14+25=39 Current State: 45:[84, 39], Operations: ['68+16=84', '14+25=39'] Exploring Operation: 84-39=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[68, 16, 14, 25], Operations: [] Exploring Operation: 68-25=43, Resulting Numbers: [16, 14, 43] Generated Node #0,0: 45:[16, 14, 43] Operation: 68-25=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[16, 14, 43], Operations: ['68-25=43'] Exploring Operation: 16-14=2, Resulting Numbers: [43, 2] Generated Node #0,0,0: 45:[43, 2] Operation: 16-14=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[43, 2], Operations: ['68-25=43', '16-14=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[68, 16, 14, 25], Operations: [] Exploring Operation: 68-25=43, Resulting Numbers: [16, 14, 43] Generated Node #0,0: 45:[16, 14, 43] Operation: 68-25=43 Moving to Node #0,0 Current State: 45:[16, 14, 43], Operations: ['68-25=43'] Exploring Operation: 16-14=2, Resulting Numbers: [43, 2] Generated Node #0,0,0: 45:[43, 2] Operation: 16-14=2 Moving to Node #0,0,0 Current State: 45:[43, 2], Operations: ['68-25=43', '16-14=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 13, 88, 76, 38 ]
62
[ "13*76=988", "988/38=26", "88-26=62" ]
Current State: 62:[13, 88, 76, 38], Operations: [] Exploring Operation: 13*76=988, Resulting Numbers: [88, 38, 988] Generated Node #2: [88, 38, 988] from Operation: 13*76=988 Current State: 62:[88, 38, 988], Operations: ['13*76=988'] Exploring Operation: 988/38=26, Resulting Numbers: [88, 26] Generated Node #3: [88, 26] from Operation: 988/38=26 Current State: 62:[88, 26], Operations: ['13*76=988', '988/38=26'] Exploring Operation: 88-26=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[13, 88, 76, 38], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [13, 88, 2] Generated Node #0,0: 62:[13, 88, 2] Operation: 76/38=2 Exploring Operation: 76-13=63, Resulting Numbers: [88, 38, 63] Generated Node #0,1: 62:[88, 38, 63] Operation: 76-13=63 Exploring Operation: 88-38=50, Resulting Numbers: [13, 76, 50] Generated Node #0,2: 62:[13, 76, 50] Operation: 88-38=50 Exploring Operation: 88-13=75, Resulting Numbers: [76, 38, 75] Generated Node #0,3: 62:[76, 38, 75] Operation: 88-13=75 Exploring Operation: 88-76=12, Resulting Numbers: [13, 38, 12] Generated Node #0,4: 62:[13, 38, 12] Operation: 88-76=12 Start Sub Search at level 1: Moving to Node #0,4 Current State: 62:[13, 38, 12], Operations: ['88-76=12'] Exploring Operation: 38-13=25, Resulting Numbers: [12, 25] Generated Node #0,4,0: 62:[12, 25] Operation: 38-13=25 Exploring Operation: 13+12=25, Resulting Numbers: [38, 25] Generated Node #0,4,1: 62:[38, 25] Operation: 13+12=25 Exploring Operation: 38-12=26, Resulting Numbers: [13, 26] Generated Node #0,4,2: 62:[13, 26] Operation: 38-12=26 Exploring Operation: 13+38=51, Resulting Numbers: [12, 51] Generated Node #0,4,3: 62:[12, 51] Operation: 13+38=51 Exploring Operation: 13-12=1, Resulting Numbers: [38, 1] Generated Node #0,4,4: 62:[38, 1] Operation: 13-12=1 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 62:[38, 1], Operations: ['88-76=12', '13-12=1'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 62:[38, 25], Operations: ['88-76=12', '13+12=25'] Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 38+25=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 38*25=950, Resulting Numbers: [950] 950,62 unequal: No Solution No 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: 62:[12, 25], Operations: ['88-76=12', '38-13=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,62 unequal: No Solution No 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: 62:[13, 26], Operations: ['88-76=12', '38-12=26'] Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,62 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,62 unequal: No Solution No 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: 62:[12, 51], Operations: ['88-76=12', '13+38=51'] Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 12+51=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 12*51=612, Resulting Numbers: [612] 612,62 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: 62:[88, 38, 63], Operations: ['76-13=63'] Exploring Operation: 88+38=126, Resulting Numbers: [63, 126] Generated Node #0,1,0: 62:[63, 126] Operation: 88+38=126 Exploring Operation: 63-38=25, Resulting Numbers: [88, 25] Generated Node #0,1,1: 62:[88, 25] Operation: 63-38=25 Exploring Operation: 88-63=25, Resulting Numbers: [38, 25] Generated Node #0,1,2: 62:[38, 25] Operation: 88-63=25 Exploring Operation: 88-38=50, Resulting Numbers: [63, 50] Generated Node #0,1,3: 62:[63, 50] Operation: 88-38=50 Exploring Operation: 38+63=101, Resulting Numbers: [88, 101] Generated Node #0,1,4: 62:[88, 101] Operation: 38+63=101 Moving to Node #0,1,2 Current State: 62:[38, 25], Operations: ['76-13=63', '88-63=25'] Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 38*25=950, Resulting Numbers: [950] 950,62 unequal: No Solution Exploring Operation: 38+25=63, Resulting Numbers: [63] 63,62 unequal: No Solution Moving to Node #0,1,3 Current State: 62:[63, 50], Operations: ['76-13=63', '88-38=50'] Exploring Operation: 63*50=3150, Resulting Numbers: [3150] 3150,62 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 63+50=113, Resulting Numbers: [113] 113,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[88, 25], Operations: ['76-13=63', '63-38=25'] Exploring Operation: 88*25=2200, Resulting Numbers: [2200] 2200,62 unequal: No Solution Exploring Operation: 88-25=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 88+25=113, Resulting Numbers: [113] 113,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[63, 126], Operations: ['76-13=63', '88+38=126'] Exploring Operation: 63*126=7938, Resulting Numbers: [7938] 7938,62 unequal: No Solution Exploring Operation: 63+126=189, Resulting Numbers: [189] 189,62 unequal: No Solution Exploring Operation: 126/63=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 126-63=63, Resulting Numbers: [63] 63,62 unequal: No Solution Moving to Node #0,1,4 Current State: 62:[88, 101], Operations: ['76-13=63', '38+63=101'] Exploring Operation: 88*101=8888, Resulting Numbers: [8888] 8888,62 unequal: No Solution Exploring Operation: 101-88=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 88+101=189, Resulting Numbers: [189] 189,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[76, 38, 75], Operations: ['88-13=75'] Exploring Operation: 76/38=2, Resulting Numbers: [75, 2] Generated Node #0,3,0: 62:[75, 2] Operation: 76/38=2 Exploring Operation: 75-38=37, Resulting Numbers: [76, 37] Generated Node #0,3,1: 62:[76, 37] Operation: 75-38=37 Exploring Operation: 76+38=114, Resulting Numbers: [75, 114] Generated Node #0,3,2: 62:[75, 114] Operation: 76+38=114 Exploring Operation: 76-38=38, Resulting Numbers: [75, 38] Generated Node #0,3,3: 62:[75, 38] Operation: 76-38=38 Exploring Operation: 76-75=1, Resulting Numbers: [38, 1] Generated Node #0,3,4: 62:[38, 1] Operation: 76-75=1 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 62:[38, 1], Operations: ['88-13=75', '76-75=1'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,62 unequal: No Solution No 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: 62:[75, 2], Operations: ['88-13=75', '76/38=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,62 unequal: No Solution Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,62 unequal: No Solution Exploring Operation: 75*2=150, Resulting Numbers: [150] 150,62 unequal: No Solution No 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: 62:[76, 37], Operations: ['88-13=75', '75-38=37'] Exploring Operation: 76*37=2812, Resulting Numbers: [2812] 2812,62 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,62 unequal: No Solution No 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: 62:[75, 38], Operations: ['88-13=75', '76-38=38'] Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,62 unequal: No Solution Exploring Operation: 75*38=2850, Resulting Numbers: [2850] 2850,62 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,62 unequal: No Solution No 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: 62:[75, 114], Operations: ['88-13=75', '76+38=114'] Exploring Operation: 75+114=189, Resulting Numbers: [189] 189,62 unequal: No Solution Exploring Operation: 75*114=8550, Resulting Numbers: [8550] 8550,62 unequal: No Solution Exploring Operation: 114-75=39, Resulting Numbers: [39] 39,62 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: 62:[13, 88, 2], Operations: ['76/38=2'] Exploring Operation: 88/2=44, Resulting Numbers: [13, 44] Generated Node #0,0,0: 62:[13, 44] Operation: 88/2=44 Exploring Operation: 88-13=75, Resulting Numbers: [2, 75] Generated Node #0,0,1: 62:[2, 75] Operation: 88-13=75 Exploring Operation: 13-2=11, Resulting Numbers: [88, 11] Generated Node #0,0,2: 62:[88, 11] Operation: 13-2=11 Exploring Operation: 88-2=86, Resulting Numbers: [13, 86] Generated Node #0,0,3: 62:[13, 86] Operation: 88-2=86 Exploring Operation: 13*2=26, Resulting Numbers: [88, 26] Generated Node #0,0,4: 62:[88, 26] Operation: 13*2=26 Moving to Node #0,0,1 Current State: 62:[2, 75], Operations: ['76/38=2', '88-13=75'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,62 unequal: No Solution Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,62 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[13, 44], Operations: ['76/38=2', '88/2=44'] Exploring Operation: 13*44=572, Resulting Numbers: [572] 572,62 unequal: No Solution Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,62 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,62 unequal: No Solution Moving to Node #0,0,4 Current State: 62:[88, 26], Operations: ['76/38=2', '13*2=26'] Exploring Operation: 88-26=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[13, 88, 76, 38], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [13, 88, 2] Generated Node #0,0: 62:[13, 88, 2] Operation: 76/38=2 Moving to Node #0,0 Current State: 62:[13, 88, 2], Operations: ['76/38=2'] Exploring Operation: 13*2=26, Resulting Numbers: [88, 26] Generated Node #0,0,4: 62:[88, 26] Operation: 13*2=26 Moving to Node #0,0,4 Current State: 62:[88, 26], Operations: ['76/38=2', '13*2=26'] Exploring Operation: 88-26=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.926215
hs_5
mult_heuristic
[ 49, 74, 77, 70 ]
32
[ "74-49=25", "77-70=7", "25+7=32" ]
Current State: 32:[49, 74, 77, 70], Operations: [] Exploring Operation: 74-49=25, Resulting Numbers: [77, 70, 25] Generated Node #2: [77, 70, 25] from Operation: 74-49=25 Current State: 32:[77, 70, 25], Operations: ['74-49=25'] Exploring Operation: 77-70=7, Resulting Numbers: [25, 7] Generated Node #3: [25, 7] from Operation: 77-70=7 Current State: 32:[25, 7], Operations: ['74-49=25', '77-70=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[49, 74, 77, 70], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [49, 70, 3] Generated Node #0,0: 32:[49, 70, 3] Operation: 77-74=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[49, 70, 3], Operations: ['77-74=3'] Exploring Operation: 70-49=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 32:[3, 21] Operation: 70-49=21 Moving to Node #0,0,0 Current State: 32:[3, 21], Operations: ['77-74=3', '70-49=21'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,32 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
[ 10, 6, 12, 62 ]
46
[ "10-6=4", "62-12=50", "50-4=46" ]
Current State: 46:[10, 6, 12, 62], Operations: [] Exploring Operation: 10-6=4, Resulting Numbers: [12, 62, 4] Generated Node #2: [12, 62, 4] from Operation: 10-6=4 Current State: 46:[12, 62, 4], Operations: ['10-6=4'] Exploring Operation: 62-12=50, Resulting Numbers: [4, 50] Generated Node #3: [4, 50] from Operation: 62-12=50 Current State: 46:[4, 50], Operations: ['10-6=4', '62-12=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[10, 6, 12, 62], Operations: [] Exploring Operation: 62-12=50, Resulting Numbers: [10, 6, 50] Generated Node #0,0: 46:[10, 6, 50] Operation: 62-12=50 Exploring Operation: 12-10=2, Resulting Numbers: [6, 62, 2] Generated Node #0,1: 46:[6, 62, 2] Operation: 12-10=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[10, 6, 50], Operations: ['62-12=50'] Exploring Operation: 10-6=4, Resulting Numbers: [50, 4] Generated Node #0,0,0: 46:[50, 4] Operation: 10-6=4 Exploring Operation: 50/10=5, Resulting Numbers: [6, 5] Generated Node #0,0,1: 46:[6, 5] Operation: 50/10=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[50, 4], Operations: ['62-12=50', '10-6=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[10, 6, 12, 62], Operations: [] Exploring Operation: 62-12=50, Resulting Numbers: [10, 6, 50] Generated Node #0,0: 46:[10, 6, 50] Operation: 62-12=50 Moving to Node #0,0 Current State: 46:[10, 6, 50], Operations: ['62-12=50'] Exploring Operation: 10-6=4, Resulting Numbers: [50, 4] Generated Node #0,0,0: 46:[50, 4] Operation: 10-6=4 Moving to Node #0,0,0 Current State: 46:[50, 4], Operations: ['62-12=50', '10-6=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 2, 27, 5, 28 ]
57
[ "5-2=3", "28*3=84", "84-27=57" ]
Current State: 57:[2, 27, 5, 28], Operations: [] Exploring Operation: 5-2=3, Resulting Numbers: [27, 28, 3] Generated Node #2: [27, 28, 3] from Operation: 5-2=3 Current State: 57:[27, 28, 3], Operations: ['5-2=3'] Exploring Operation: 28*3=84, Resulting Numbers: [27, 84] Generated Node #3: [27, 84] from Operation: 28*3=84 Current State: 57:[27, 84], Operations: ['5-2=3', '28*3=84'] Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[2, 27, 5, 28], Operations: [] Exploring Operation: 27+28=55, Resulting Numbers: [2, 5, 55] Generated Node #0,0: 57:[2, 5, 55] Operation: 27+28=55 Moving to Node #0,0 Current State: 57:[2, 5, 55], Operations: ['27+28=55'] Exploring Operation: 5-2=3, Resulting Numbers: [55, 3] Generated Node #0,0,0: 57:[55, 3] Operation: 5-2=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[55, 3], Operations: ['27+28=55', '5-2=3'] Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 63, 62, 93, 83 ]
31
[ "83-62=21", "63/21=3", "93/3=31" ]
Current State: 31:[63, 62, 93, 83], Operations: [] Exploring Operation: 83-62=21, Resulting Numbers: [63, 93, 21] Generated Node #2: [63, 93, 21] from Operation: 83-62=21 Current State: 31:[63, 93, 21], Operations: ['83-62=21'] Exploring Operation: 63/21=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 63/21=3 Current State: 31:[93, 3], Operations: ['83-62=21', '63/21=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[63, 62, 93, 83], Operations: [] Exploring Operation: 93-63=30, Resulting Numbers: [62, 83, 30] Generated Node #0,0: 31:[62, 83, 30] Operation: 93-63=30 Exploring Operation: 93-62=31, Resulting Numbers: [63, 83, 31] Generated Node #0,1: 31:[63, 83, 31] Operation: 93-62=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[62, 83, 30], Operations: ['93-63=30'] Exploring Operation: 83-62=21, Resulting Numbers: [30, 21] Generated Node #0,0,0: 31:[30, 21] Operation: 83-62=21 Exploring Operation: 62-30=32, Resulting Numbers: [83, 32] Generated Node #0,0,1: 31:[83, 32] Operation: 62-30=32 Moving to Node #0,0,0 Current State: 31:[30, 21], Operations: ['93-63=30', '83-62=21'] Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[83, 32], Operations: ['93-63=30', '62-30=32'] Exploring Operation: 83+32=115, Resulting Numbers: [115] 115,31 unequal: No Solution Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,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,1 Current State: 31:[63, 83, 31], Operations: ['93-62=31'] Exploring Operation: 83-63=20, Resulting Numbers: [31, 20] Generated Node #0,1,0: 31:[31, 20] Operation: 83-63=20 Exploring Operation: 63-31=32, Resulting Numbers: [83, 32] Generated Node #0,1,1: 31:[83, 32] Operation: 63-31=32 Moving to Node #0,1,0 Current State: 31:[31, 20], Operations: ['93-62=31', '83-63=20'] Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[83, 32], Operations: ['93-62=31', '63-31=32'] Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 83+32=115, Resulting Numbers: [115] 115,31 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
[ 23, 67, 67, 69 ]
69
[ "67-67=0", "23*0=0", "69+0=69" ]
Current State: 69:[23, 67, 67, 69], Operations: [] Exploring Operation: 67-67=0, Resulting Numbers: [23, 69, 0] Generated Node #2: [23, 69, 0] from Operation: 67-67=0 Current State: 69:[23, 69, 0], Operations: ['67-67=0'] Exploring Operation: 23*0=0, Resulting Numbers: [69, 0] Generated Node #3: [69, 0] from Operation: 23*0=0 Current State: 69:[69, 0], Operations: ['67-67=0', '23*0=0'] Exploring Operation: 69+0=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[23, 67, 67, 69], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [23, 67, 2] Generated Node #0,0: 69:[23, 67, 2] Operation: 69-67=2 Exploring Operation: 67-67=0, Resulting Numbers: [23, 69, 0] Generated Node #0,1: 69:[23, 69, 0] Operation: 67-67=0 Exploring Operation: 67/67=1, Resulting Numbers: [23, 69, 1] Generated Node #0,2: 69:[23, 69, 1] Operation: 67/67=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[23, 69, 1], Operations: ['67/67=1'] Exploring Operation: 23*1=23, Resulting Numbers: [69, 23] Generated Node #0,2,0: 69:[69, 23] Operation: 23*1=23 Exploring Operation: 23/1=23, Resulting Numbers: [69, 23] Generated Node #0,2,1: 69:[69, 23] Operation: 23/1=23 Exploring Operation: 69*1=69, Resulting Numbers: [23, 69] Generated Node #0,2,2: 69:[23, 69] Operation: 69*1=69 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 69:[69, 23], Operations: ['67/67=1', '23*1=23'] Exploring Operation: 69+23=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,69 unequal: No Solution No 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: 69:[69, 23], Operations: ['67/67=1', '23/1=23'] Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 69+23=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,69 unequal: No Solution No 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: 69:[23, 69], Operations: ['67/67=1', '69*1=69'] Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 23+69=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,69 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: 69:[23, 67, 2], Operations: ['69-67=2'] Exploring Operation: 67+2=69, Resulting Numbers: [23, 69] Generated Node #0,0,0: 69:[23, 69] Operation: 67+2=69 Exploring Operation: 23-2=21, Resulting Numbers: [67, 21] Generated Node #0,0,1: 69:[67, 21] Operation: 23-2=21 Exploring Operation: 23+2=25, Resulting Numbers: [67, 25] Generated Node #0,0,2: 69:[67, 25] Operation: 23+2=25 Moving to Node #0,0,0 Current State: 69:[23, 69], Operations: ['69-67=2', '67+2=69'] Exploring Operation: 23+69=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[67, 21], Operations: ['69-67=2', '23-2=21'] Exploring Operation: 67*21=1407, Resulting Numbers: [1407] 1407,69 unequal: No Solution Exploring Operation: 67+21=88, Resulting Numbers: [88] 88,69 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[67, 25], Operations: ['69-67=2', '23+2=25'] Exploring Operation: 67+25=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 67*25=1675, Resulting Numbers: [1675] 1675,69 unequal: No Solution Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,69 unequal: No Solution No 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: 69:[23, 69, 0], Operations: ['67-67=0'] Exploring Operation: 23-0=23, Resulting Numbers: [69, 23] Generated Node #0,1,0: 69:[69, 23] Operation: 23-0=23 Exploring Operation: 69+0=69, Resulting Numbers: [23, 69] Generated Node #0,1,1: 69:[23, 69] Operation: 69+0=69 Exploring Operation: 23+0=23, Resulting Numbers: [69, 23] Generated Node #0,1,2: 69:[69, 23] Operation: 23+0=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[69, 23], Operations: ['67-67=0', '23-0=23'] Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 69+23=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,69 unequal: No Solution No 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: 69:[23, 69], Operations: ['67-67=0', '69+0=69'] Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 23+69=92, Resulting Numbers: [92] 92,69 unequal: No Solution No 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: 69:[69, 23], Operations: ['67-67=0', '23+0=23'] Exploring Operation: 69+23=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,69 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
[ 45, 58, 5, 24 ]
74
[ "45+58=103", "5+24=29", "103-29=74" ]
Current State: 74:[45, 58, 5, 24], Operations: [] Exploring Operation: 45+58=103, Resulting Numbers: [5, 24, 103] Generated Node #2: [5, 24, 103] from Operation: 45+58=103 Current State: 74:[5, 24, 103], Operations: ['45+58=103'] Exploring Operation: 5+24=29, Resulting Numbers: [103, 29] Generated Node #3: [103, 29] from Operation: 5+24=29 Current State: 74:[103, 29], Operations: ['45+58=103', '5+24=29'] Exploring Operation: 103-29=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[45, 58, 5, 24], Operations: [] Exploring Operation: 58+24=82, Resulting Numbers: [45, 5, 82] Generated Node #0,0: 74:[45, 5, 82] Operation: 58+24=82 Exploring Operation: 58-24=34, Resulting Numbers: [45, 5, 34] Generated Node #0,1: 74:[45, 5, 34] Operation: 58-24=34 Moving to Node #0,1 Current State: 74:[45, 5, 34], Operations: ['58-24=34'] Exploring Operation: 45+34=79, Resulting Numbers: [5, 79] Generated Node #0,1,0: 74:[5, 79] Operation: 45+34=79 Exploring Operation: 45-5=40, Resulting Numbers: [34, 40] Generated Node #0,1,1: 74:[34, 40] Operation: 45-5=40 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[34, 40], Operations: ['58-24=34', '45-5=40'] Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[45, 58, 5, 24], Operations: [] Exploring Operation: 58-24=34, Resulting Numbers: [45, 5, 34] Generated Node #0,1: 74:[45, 5, 34] Operation: 58-24=34 Moving to Node #0,1 Current State: 74:[45, 5, 34], Operations: ['58-24=34'] Exploring Operation: 45-5=40, Resulting Numbers: [34, 40] Generated Node #0,1,1: 74:[34, 40] Operation: 45-5=40 Moving to Node #0,1,1 Current State: 74:[34, 40], Operations: ['58-24=34', '45-5=40'] Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 37, 56, 5, 39 ]
48
[ "56-39=17", "5*17=85", "85-37=48" ]
Current State: 48:[37, 56, 5, 39], Operations: [] Exploring Operation: 56-39=17, Resulting Numbers: [37, 5, 17] Generated Node #2: [37, 5, 17] from Operation: 56-39=17 Current State: 48:[37, 5, 17], Operations: ['56-39=17'] Exploring Operation: 5*17=85, Resulting Numbers: [37, 85] Generated Node #3: [37, 85] from Operation: 5*17=85 Current State: 48:[37, 85], Operations: ['56-39=17', '5*17=85'] Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[37, 56, 5, 39], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [56, 5, 2] Generated Node #0,0: 48:[56, 5, 2] Operation: 39-37=2 Moving to Node #0,0 Current State: 48:[56, 5, 2], Operations: ['39-37=2'] Exploring Operation: 56-5=51, Resulting Numbers: [2, 51] Generated Node #0,0,0: 48:[2, 51] Operation: 56-5=51 Moving to Node #0,0,0 Current State: 48:[2, 51], Operations: ['39-37=2', '56-5=51'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,48 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 3, 19, 88, 57 ]
88
[ "3*19=57", "88+57=145", "145-57=88" ]
Current State: 88:[3, 19, 88, 57], Operations: [] Exploring Operation: 3*19=57, Resulting Numbers: [88, 57, 57] Generated Node #2: [88, 57, 57] from Operation: 3*19=57 Current State: 88:[88, 57, 57], Operations: ['3*19=57'] Exploring Operation: 88+57=145, Resulting Numbers: [145] 145,88 equal: Goal Reached Exploring Operation: 145-57=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[3, 19, 88, 57], Operations: [] Exploring Operation: 57/3=19, Resulting Numbers: [19, 88, 19] Generated Node #0,0: 88:[19, 88, 19] Operation: 57/3=19 Exploring Operation: 57/19=3, Resulting Numbers: [3, 88, 3] Generated Node #0,1: 88:[3, 88, 3] Operation: 57/19=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[3, 88, 3], Operations: ['57/19=3'] Exploring Operation: 3*3=9, Resulting Numbers: [88, 9] Generated Node #0,1,0: 88:[88, 9] Operation: 3*3=9 Exploring Operation: 3/3=1, Resulting Numbers: [88, 1] Generated Node #0,1,1: 88:[88, 1] Operation: 3/3=1 Moving to Node #0,1,0 Current State: 88:[88, 9], Operations: ['57/19=3', '3*3=9'] Exploring Operation: 88+9=97, Resulting Numbers: [97] 97,88 unequal: No Solution Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[88, 1], Operations: ['57/19=3', '3/3=1'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[3, 19, 88, 57], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [3, 88, 3] Generated Node #0,1: 88:[3, 88, 3] Operation: 57/19=3 Moving to Node #0,1 Current State: 88:[3, 88, 3], Operations: ['57/19=3'] Exploring Operation: 3/3=1, Resulting Numbers: [88, 1] Generated Node #0,1,1: 88:[88, 1] Operation: 3/3=1 Moving to Node #0,1,1 Current State: 88:[88, 1], Operations: ['57/19=3', '3/3=1'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 56, 51, 77, 54 ]
84
[ "56+51=107", "77-54=23", "107-23=84" ]
Current State: 84:[56, 51, 77, 54], Operations: [] Exploring Operation: 56+51=107, Resulting Numbers: [77, 54, 107] Generated Node #2: [77, 54, 107] from Operation: 56+51=107 Current State: 84:[77, 54, 107], Operations: ['56+51=107'] Exploring Operation: 77-54=23, Resulting Numbers: [107, 23] Generated Node #3: [107, 23] from Operation: 77-54=23 Current State: 84:[107, 23], Operations: ['56+51=107', '77-54=23'] Exploring Operation: 107-23=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[56, 51, 77, 54], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [51, 77, 2] Generated Node #0,0: 84:[51, 77, 2] Operation: 56-54=2 Exploring Operation: 56-51=5, Resulting Numbers: [77, 54, 5] Generated Node #0,1: 84:[77, 54, 5] Operation: 56-51=5 Exploring Operation: 77-56=21, Resulting Numbers: [51, 54, 21] Generated Node #0,2: 84:[51, 54, 21] Operation: 77-56=21 Exploring Operation: 54-51=3, Resulting Numbers: [56, 77, 3] Generated Node #0,3: 84:[56, 77, 3] Operation: 54-51=3 Moving to Node #0,0 Current State: 84:[51, 77, 2], Operations: ['56-54=2'] Exploring Operation: 51-2=49, Resulting Numbers: [77, 49] Generated Node #0,0,0: 84:[77, 49] Operation: 51-2=49 Exploring Operation: 51+2=53, Resulting Numbers: [77, 53] Generated Node #0,0,1: 84:[77, 53] Operation: 51+2=53 Exploring Operation: 77-51=26, Resulting Numbers: [2, 26] Generated Node #0,0,2: 84:[2, 26] Operation: 77-51=26 Exploring Operation: 77+2=79, Resulting Numbers: [51, 79] Generated Node #0,0,3: 84:[51, 79] Operation: 77+2=79 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[2, 26], Operations: ['56-54=2', '77-51=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,84 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[77, 49], Operations: ['56-54=2', '51-2=49'] Exploring Operation: 77*49=3773, Resulting Numbers: [3773] 3773,84 unequal: No Solution Exploring Operation: 77+49=126, Resulting Numbers: [126] 126,84 unequal: No Solution Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 84:[51, 79], Operations: ['56-54=2', '77+2=79'] Exploring Operation: 51+79=130, Resulting Numbers: [130] 130,84 unequal: No Solution Exploring Operation: 79-51=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 51*79=4029, Resulting Numbers: [4029] 4029,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[77, 53], Operations: ['56-54=2', '51+2=53'] Exploring Operation: 77*53=4081, Resulting Numbers: [4081] 4081,84 unequal: No Solution Exploring Operation: 77+53=130, Resulting Numbers: [130] 130,84 unequal: No Solution Exploring Operation: 77-53=24, Resulting Numbers: [24] 24,84 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: 84:[77, 54, 5], Operations: ['56-51=5'] Exploring Operation: 77+5=82, Resulting Numbers: [54, 82] Generated Node #0,1,0: 84:[54, 82] Operation: 77+5=82 Exploring Operation: 77-54=23, Resulting Numbers: [5, 23] Generated Node #0,1,1: 84:[5, 23] Operation: 77-54=23 Exploring Operation: 54-5=49, Resulting Numbers: [77, 49] Generated Node #0,1,2: 84:[77, 49] Operation: 54-5=49 Exploring Operation: 77-5=72, Resulting Numbers: [54, 72] Generated Node #0,1,3: 84:[54, 72] Operation: 77-5=72 Moving to Node #0,3 Current State: 84:[56, 77, 3], Operations: ['54-51=3'] Exploring Operation: 77-56=21, Resulting Numbers: [3, 21] Generated Node #0,3,0: 84:[3, 21] Operation: 77-56=21 Exploring Operation: 56-3=53, Resulting Numbers: [77, 53] Generated Node #0,3,1: 84:[77, 53] Operation: 56-3=53 Exploring Operation: 77+3=80, Resulting Numbers: [56, 80] Generated Node #0,3,2: 84:[56, 80] Operation: 77+3=80 Exploring Operation: 56+3=59, Resulting Numbers: [77, 59] Generated Node #0,3,3: 84:[77, 59] Operation: 56+3=59 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[3, 21], Operations: ['54-51=3', '77-56=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,84 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 84:[77, 53], Operations: ['54-51=3', '56-3=53'] Exploring Operation: 77*53=4081, Resulting Numbers: [4081] 4081,84 unequal: No Solution Exploring Operation: 77+53=130, Resulting Numbers: [130] 130,84 unequal: No Solution Exploring Operation: 77-53=24, Resulting Numbers: [24] 24,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 84:[56, 80], Operations: ['54-51=3', '77+3=80'] Exploring Operation: 56*80=4480, Resulting Numbers: [4480] 4480,84 unequal: No Solution Exploring Operation: 56+80=136, Resulting Numbers: [136] 136,84 unequal: No Solution Exploring Operation: 80-56=24, Resulting Numbers: [24] 24,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 84:[77, 59], Operations: ['54-51=3', '56+3=59'] Exploring Operation: 77-59=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 77+59=136, Resulting Numbers: [136] 136,84 unequal: No Solution Exploring Operation: 77*59=4543, Resulting Numbers: [4543] 4543,84 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: 84:[51, 54, 21], Operations: ['77-56=21'] Exploring Operation: 54-51=3, Resulting Numbers: [21, 3] Generated Node #0,2,0: 84:[21, 3] Operation: 54-51=3 Exploring Operation: 54-21=33, Resulting Numbers: [51, 33] Generated Node #0,2,1: 84:[51, 33] Operation: 54-21=33 Exploring Operation: 51-21=30, Resulting Numbers: [54, 30] Generated Node #0,2,2: 84:[54, 30] Operation: 51-21=30 Exploring Operation: 54+21=75, Resulting Numbers: [51, 75] Generated Node #0,2,3: 84:[51, 75] Operation: 54+21=75 Moving to Node #0,2,0 Current State: 84:[21, 3], Operations: ['77-56=21', '54-51=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,84 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[5, 23], Operations: ['56-51=5', '77-54=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[77, 49], Operations: ['56-51=5', '54-5=49'] Exploring Operation: 77*49=3773, Resulting Numbers: [3773] 3773,84 unequal: No Solution Exploring Operation: 77+49=126, Resulting Numbers: [126] 126,84 unequal: No Solution Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[51, 33], Operations: ['77-56=21', '54-21=33'] Exploring Operation: 51*33=1683, Resulting Numbers: [1683] 1683,84 unequal: No Solution Exploring Operation: 51+33=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[56, 51, 77, 54], Operations: [] Exploring Operation: 77-56=21, Resulting Numbers: [51, 54, 21] Generated Node #0,2: 84:[51, 54, 21] Operation: 77-56=21 Moving to Node #0,2 Current State: 84:[51, 54, 21], Operations: ['77-56=21'] Exploring Operation: 54-21=33, Resulting Numbers: [51, 33] Generated Node #0,2,1: 84:[51, 33] Operation: 54-21=33 Moving to Node #0,2,1 Current State: 84:[51, 33], Operations: ['77-56=21', '54-21=33'] Exploring Operation: 51+33=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.946181
hs_4
sum_heuristic
[ 3, 89, 43, 42 ]
96
[ "89-43=46", "3*46=138", "138-42=96" ]
Current State: 96:[3, 89, 43, 42], Operations: [] Exploring Operation: 89-43=46, Resulting Numbers: [3, 42, 46] Generated Node #2: [3, 42, 46] from Operation: 89-43=46 Current State: 96:[3, 42, 46], Operations: ['89-43=46'] Exploring Operation: 3*46=138, Resulting Numbers: [42, 138] Generated Node #3: [42, 138] from Operation: 3*46=138 Current State: 96:[42, 138], Operations: ['89-43=46', '3*46=138'] Exploring Operation: 138-42=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[3, 89, 43, 42], Operations: [] Exploring Operation: 42/3=14, Resulting Numbers: [89, 43, 14] Generated Node #0,0: 96:[89, 43, 14] Operation: 42/3=14 Exploring Operation: 89-42=47, Resulting Numbers: [3, 43, 47] Generated Node #0,1: 96:[3, 43, 47] Operation: 89-42=47 Exploring Operation: 3+89=92, Resulting Numbers: [43, 42, 92] Generated Node #0,2: 96:[43, 42, 92] Operation: 3+89=92 Exploring Operation: 89-43=46, Resulting Numbers: [3, 42, 46] Generated Node #0,3: 96:[3, 42, 46] Operation: 89-43=46 Exploring Operation: 43-42=1, Resulting Numbers: [3, 89, 1] Generated Node #0,4: 96:[3, 89, 1] Operation: 43-42=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[3, 43, 47], Operations: ['89-42=47'] Exploring Operation: 43-3=40, Resulting Numbers: [47, 40] Generated Node #0,1,0: 96:[47, 40] Operation: 43-3=40 Exploring Operation: 47-43=4, Resulting Numbers: [3, 4] Generated Node #0,1,1: 96:[3, 4] Operation: 47-43=4 Exploring Operation: 43+47=90, Resulting Numbers: [3, 90] Generated Node #0,1,2: 96:[3, 90] Operation: 43+47=90 Exploring Operation: 3+47=50, Resulting Numbers: [43, 50] Generated Node #0,1,3: 96:[43, 50] Operation: 3+47=50 Exploring Operation: 3+43=46, Resulting Numbers: [47, 46] Generated Node #0,1,4: 96:[47, 46] Operation: 3+43=46 Moving to Node #0,1,1 Current State: 96:[3, 4], Operations: ['89-42=47', '47-43=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,96 unequal: No Solution Moving to Node #0,1,4 Current State: 96:[47, 46], Operations: ['89-42=47', '3+43=46'] Exploring Operation: 47+46=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 47-46=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 47*46=2162, Resulting Numbers: [2162] 2162,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[3, 90], Operations: ['89-42=47', '43+47=90'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 3*90=270, Resulting Numbers: [270] 270,96 unequal: No Solution Exploring Operation: 3+90=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[43, 50], Operations: ['89-42=47', '3+47=50'] Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 43+50=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 43*50=2150, Resulting Numbers: [2150] 2150,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[47, 40], Operations: ['89-42=47', '43-3=40'] Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 47+40=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 47*40=1880, Resulting Numbers: [1880] 1880,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[3, 42, 46], Operations: ['89-43=46'] Exploring Operation: 42+46=88, Resulting Numbers: [3, 88] Generated Node #0,3,0: 96:[3, 88] Operation: 42+46=88 Exploring Operation: 3+46=49, Resulting Numbers: [42, 49] Generated Node #0,3,1: 96:[42, 49] Operation: 3+46=49 Exploring Operation: 46-42=4, Resulting Numbers: [3, 4] Generated Node #0,3,2: 96:[3, 4] Operation: 46-42=4 Exploring Operation: 3+42=45, Resulting Numbers: [46, 45] Generated Node #0,3,3: 96:[46, 45] Operation: 3+42=45 Exploring Operation: 42/3=14, Resulting Numbers: [46, 14] Generated Node #0,3,4: 96:[46, 14] Operation: 42/3=14 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 96:[3, 4], Operations: ['89-43=46', '46-42=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 96:[46, 14], Operations: ['89-43=46', '42/3=14'] Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,96 unequal: No Solution Exploring Operation: 46*14=644, Resulting Numbers: [644] 644,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 96:[46, 45], Operations: ['89-43=46', '3+42=45'] Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 46*45=2070, Resulting Numbers: [2070] 2070,96 unequal: No Solution Exploring Operation: 46+45=91, Resulting Numbers: [91] 91,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 96:[42, 49], Operations: ['89-43=46', '3+46=49'] Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,96 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 42*49=2058, Resulting Numbers: [2058] 2058,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 96:[3, 88], Operations: ['89-43=46', '42+46=88'] Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,96 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 3*88=264, Resulting Numbers: [264] 264,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 96:[3, 89, 1], Operations: ['43-42=1'] Exploring Operation: 3+89=92, Resulting Numbers: [1, 92] Generated Node #0,4,0: 96:[1, 92] Operation: 3+89=92 Exploring Operation: 3+1=4, Resulting Numbers: [89, 4] Generated Node #0,4,1: 96:[89, 4] Operation: 3+1=4 Exploring Operation: 3*1=3, Resulting Numbers: [89, 3] Generated Node #0,4,2: 96:[89, 3] Operation: 3*1=3 Exploring Operation: 3-1=2, Resulting Numbers: [89, 2] Generated Node #0,4,3: 96:[89, 2] Operation: 3-1=2 Exploring Operation: 89+1=90, Resulting Numbers: [3, 90] Generated Node #0,4,4: 96:[3, 90] Operation: 89+1=90 Moving to Node #0,4,0 Current State: 96:[1, 92], Operations: ['43-42=1', '3+89=92'] Exploring Operation: 1*92=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 1+92=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,96 unequal: No Solution Moving to Node #0,4,4 Current State: 96:[3, 90], Operations: ['43-42=1', '89+1=90'] Exploring Operation: 3*90=270, Resulting Numbers: [270] 270,96 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 3+90=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,96 unequal: No Solution Moving to Node #0,4,1 Current State: 96:[89, 4], Operations: ['43-42=1', '3+1=4'] Exploring Operation: 89*4=356, Resulting Numbers: [356] 356,96 unequal: No Solution Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,96 unequal: No Solution Moving to Node #0,4,2 Current State: 96:[89, 3], Operations: ['43-42=1', '3*1=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,96 unequal: No Solution Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,96 unequal: No Solution Moving to Node #0,4,3 Current State: 96:[89, 2], Operations: ['43-42=1', '3-1=2'] Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,96 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[89, 43, 14], Operations: ['42/3=14'] Exploring Operation: 89-43=46, Resulting Numbers: [14, 46] Generated Node #0,0,0: 96:[14, 46] Operation: 89-43=46 Exploring Operation: 43+14=57, Resulting Numbers: [89, 57] Generated Node #0,0,1: 96:[89, 57] Operation: 43+14=57 Exploring Operation: 89-14=75, Resulting Numbers: [43, 75] Generated Node #0,0,2: 96:[43, 75] Operation: 89-14=75 Exploring Operation: 89+14=103, Resulting Numbers: [43, 103] Generated Node #0,0,3: 96:[43, 103] Operation: 89+14=103 Exploring Operation: 43-14=29, Resulting Numbers: [89, 29] Generated Node #0,0,4: 96:[89, 29] Operation: 43-14=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[14, 46], Operations: ['42/3=14', '89-43=46'] Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,96 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,96 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 96:[89, 29], Operations: ['42/3=14', '43-14=29'] Exploring Operation: 89*29=2581, Resulting Numbers: [2581] 2581,96 unequal: No Solution Exploring Operation: 89+29=118, Resulting Numbers: [118] 118,96 unequal: No Solution Exploring Operation: 89-29=60, Resulting Numbers: [60] 60,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 96:[43, 103], Operations: ['42/3=14', '89+14=103'] Exploring Operation: 43+103=146, Resulting Numbers: [146] 146,96 unequal: No Solution Exploring Operation: 43*103=4429, Resulting Numbers: [4429] 4429,96 unequal: No Solution Exploring Operation: 103-43=60, Resulting Numbers: [60] 60,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[89, 57], Operations: ['42/3=14', '43+14=57'] Exploring Operation: 89*57=5073, Resulting Numbers: [5073] 5073,96 unequal: No Solution Exploring Operation: 89-57=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 89+57=146, Resulting Numbers: [146] 146,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 96:[43, 75], Operations: ['42/3=14', '89-14=75'] Exploring Operation: 43*75=3225, Resulting Numbers: [3225] 3225,96 unequal: No Solution Exploring Operation: 43+75=118, Resulting Numbers: [118] 118,96 unequal: No Solution Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[43, 42, 92], Operations: ['3+89=92'] Exploring Operation: 43-42=1, Resulting Numbers: [92, 1] Generated Node #0,2,0: 96:[92, 1] Operation: 43-42=1 Exploring Operation: 92-42=50, Resulting Numbers: [43, 50] Generated Node #0,2,1: 96:[43, 50] Operation: 92-42=50 Exploring Operation: 43+42=85, Resulting Numbers: [92, 85] Generated Node #0,2,2: 96:[92, 85] Operation: 43+42=85 Exploring Operation: 42+92=134, Resulting Numbers: [43, 134] Generated Node #0,2,3: 96:[43, 134] Operation: 42+92=134 Exploring Operation: 92-43=49, Resulting Numbers: [42, 49] Generated Node #0,2,4: 96:[42, 49] Operation: 92-43=49 Moving to Node #0,2,0 Current State: 96:[92, 1], Operations: ['3+89=92', '43-42=1'] Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,96 unequal: No Solution Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,96 unequal: No Solution Moving to Node #0,2,4 Current State: 96:[42, 49], Operations: ['3+89=92', '92-43=49'] Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,96 unequal: No Solution Exploring Operation: 42*49=2058, Resulting Numbers: [2058] 2058,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[43, 50], Operations: ['3+89=92', '92-42=50'] Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 43+50=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 43*50=2150, Resulting Numbers: [2150] 2150,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[92, 85], Operations: ['3+89=92', '43+42=85'] Exploring Operation: 92+85=177, Resulting Numbers: [177] 177,96 unequal: No Solution Exploring Operation: 92-85=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 92*85=7820, Resulting Numbers: [7820] 7820,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[43, 134], Operations: ['3+89=92', '42+92=134'] Exploring Operation: 134-43=91, Resulting Numbers: [91] 91,96 unequal: No Solution Exploring Operation: 43*134=5762, Resulting Numbers: [5762] 5762,96 unequal: No Solution Exploring Operation: 43+134=177, Resulting Numbers: [177] 177,96 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
[ 35, 57, 15, 4 ]
68
[ "35*4=140", "57+15=72", "140-72=68" ]
Current State: 68:[35, 57, 15, 4], Operations: [] Exploring Operation: 35*4=140, Resulting Numbers: [57, 15, 140] Generated Node #2: [57, 15, 140] from Operation: 35*4=140 Current State: 68:[57, 15, 140], Operations: ['35*4=140'] Exploring Operation: 57+15=72, Resulting Numbers: [140, 72] Generated Node #3: [140, 72] from Operation: 57+15=72 Current State: 68:[140, 72], Operations: ['35*4=140', '57+15=72'] Exploring Operation: 140-72=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[35, 57, 15, 4], Operations: [] Exploring Operation: 57-15=42, Resulting Numbers: [35, 4, 42] Generated Node #0,0: 68:[35, 4, 42] Operation: 57-15=42 Exploring Operation: 35-15=20, Resulting Numbers: [57, 4, 20] Generated Node #0,1: 68:[57, 4, 20] Operation: 35-15=20 Exploring Operation: 57-35=22, Resulting Numbers: [15, 4, 22] Generated Node #0,2: 68:[15, 4, 22] Operation: 57-35=22 Exploring Operation: 57+4=61, Resulting Numbers: [35, 15, 61] Generated Node #0,3: 68:[35, 15, 61] Operation: 57+4=61 Exploring Operation: 57+15=72, Resulting Numbers: [35, 4, 72] Generated Node #0,4: 68:[35, 4, 72] Operation: 57+15=72 Moving to Node #0,4 Current State: 68:[35, 4, 72], Operations: ['57+15=72'] Exploring Operation: 72-35=37, Resulting Numbers: [4, 37] Generated Node #0,4,0: 68:[4, 37] Operation: 72-35=37 Exploring Operation: 35-4=31, Resulting Numbers: [72, 31] Generated Node #0,4,1: 68:[72, 31] Operation: 35-4=31 Exploring Operation: 35+4=39, Resulting Numbers: [72, 39] Generated Node #0,4,2: 68:[72, 39] Operation: 35+4=39 Exploring Operation: 72-4=68, Resulting Numbers: [35, 68] Generated Node #0,4,3: 68:[35, 68] Operation: 72-4=68 Exploring Operation: 72/4=18, Resulting Numbers: [35, 18] Generated Node #0,4,4: 68:[35, 18] Operation: 72/4=18 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 68:[35, 68], Operations: ['57+15=72', '72-4=68'] Exploring Operation: 35*68=2380, Resulting Numbers: [2380] 2380,68 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 35+68=103, Resulting Numbers: [103] 103,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:[35, 18], Operations: ['57+15=72', '72/4=18'] Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,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:[4, 37], Operations: ['57+15=72', '72-35=37'] Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,68 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,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:[72, 31], Operations: ['57+15=72', '35-4=31'] Exploring Operation: 72*31=2232, Resulting Numbers: [2232] 2232,68 unequal: No Solution Exploring Operation: 72+31=103, Resulting Numbers: [103] 103,68 unequal: No Solution Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,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:[72, 39], Operations: ['57+15=72', '35+4=39'] Exploring Operation: 72*39=2808, Resulting Numbers: [2808] 2808,68 unequal: No Solution Exploring Operation: 72-39=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 72+39=111, Resulting Numbers: [111] 111,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:[15, 4, 22], Operations: ['57-35=22'] Exploring Operation: 15+22=37, Resulting Numbers: [4, 37] Generated Node #0,2,0: 68:[4, 37] Operation: 15+22=37 Exploring Operation: 15+4=19, Resulting Numbers: [22, 19] Generated Node #0,2,1: 68:[22, 19] Operation: 15+4=19 Exploring Operation: 22-15=7, Resulting Numbers: [4, 7] Generated Node #0,2,2: 68:[4, 7] Operation: 22-15=7 Exploring Operation: 4+22=26, Resulting Numbers: [15, 26] Generated Node #0,2,3: 68:[15, 26] Operation: 4+22=26 Exploring Operation: 22-4=18, Resulting Numbers: [15, 18] Generated Node #0,2,4: 68:[15, 18] Operation: 22-4=18 Moving to Node #0,0 Current State: 68:[35, 4, 42], Operations: ['57-15=42'] Exploring Operation: 35-4=31, Resulting Numbers: [42, 31] Generated Node #0,0,0: 68:[42, 31] Operation: 35-4=31 Exploring Operation: 42-35=7, Resulting Numbers: [4, 7] Generated Node #0,0,1: 68:[4, 7] Operation: 42-35=7 Exploring Operation: 35+4=39, Resulting Numbers: [42, 39] Generated Node #0,0,2: 68:[42, 39] Operation: 35+4=39 Exploring Operation: 35+42=77, Resulting Numbers: [4, 77] Generated Node #0,0,3: 68:[4, 77] Operation: 35+42=77 Exploring Operation: 42-4=38, Resulting Numbers: [35, 38] Generated Node #0,0,4: 68:[35, 38] Operation: 42-4=38 Moving to Node #0,3 Current State: 68:[35, 15, 61], Operations: ['57+4=61'] Exploring Operation: 15+61=76, Resulting Numbers: [35, 76] Generated Node #0,3,0: 68:[35, 76] Operation: 15+61=76 Exploring Operation: 35+15=50, Resulting Numbers: [61, 50] Generated Node #0,3,1: 68:[61, 50] Operation: 35+15=50 Exploring Operation: 61-35=26, Resulting Numbers: [15, 26] Generated Node #0,3,2: 68:[15, 26] Operation: 61-35=26 Exploring Operation: 61-15=46, Resulting Numbers: [35, 46] Generated Node #0,3,3: 68:[35, 46] Operation: 61-15=46 Exploring Operation: 35-15=20, Resulting Numbers: [61, 20] Generated Node #0,3,4: 68:[61, 20] Operation: 35-15=20 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 68:[35, 76], Operations: ['57+4=61', '15+61=76'] Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 35+76=111, Resulting Numbers: [111] 111,68 unequal: No Solution Exploring Operation: 35*76=2660, Resulting Numbers: [2660] 2660,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,3,2 Current State: 68:[15, 26], Operations: ['57+4=61', '61-35=26'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 15*26=390, Resulting Numbers: [390] 390,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,3,4 Current State: 68:[61, 20], Operations: ['57+4=61', '35-15=20'] Exploring Operation: 61+20=81, Resulting Numbers: [81] 81,68 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 61*20=1220, Resulting Numbers: [1220] 1220,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,3,3 Current State: 68:[35, 46], Operations: ['57+4=61', '61-15=46'] Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 35*46=1610, Resulting Numbers: [1610] 1610,68 unequal: No Solution Exploring Operation: 35+46=81, Resulting Numbers: [81] 81,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,3,1 Current State: 68:[61, 50], Operations: ['57+4=61', '35+15=50'] Exploring Operation: 61*50=3050, Resulting Numbers: [3050] 3050,68 unequal: No Solution Exploring Operation: 61-50=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 61+50=111, Resulting Numbers: [111] 111,68 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: 68:[57, 4, 20], Operations: ['35-15=20'] Exploring Operation: 57-20=37, Resulting Numbers: [4, 37] Generated Node #0,1,0: 68:[4, 37] Operation: 57-20=37 Exploring Operation: 57+20=77, Resulting Numbers: [4, 77] Generated Node #0,1,1: 68:[4, 77] Operation: 57+20=77 Exploring Operation: 57+4=61, Resulting Numbers: [20, 61] Generated Node #0,1,2: 68:[20, 61] Operation: 57+4=61 Exploring Operation: 20-4=16, Resulting Numbers: [57, 16] Generated Node #0,1,3: 68:[57, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [57, 5] Generated Node #0,1,4: 68:[57, 5] Operation: 20/4=5 Moving to Node #0,2,0 Current State: 68:[4, 37], Operations: ['57-35=22', '15+22=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,68 unequal: No Solution Moving to Node #0,2,4 Current State: 68:[15, 18], Operations: ['57-35=22', '22-4=18'] Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,68 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[4, 7], Operations: ['57-15=42', '42-35=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[4, 7], Operations: ['57-35=22', '22-15=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[4, 37], Operations: ['35-15=20', '57-20=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,68 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,68 unequal: No Solution Moving to Node #0,0,4 Current State: 68:[35, 38], Operations: ['57-15=42', '42-4=38'] Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 35+38=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 35*38=1330, Resulting Numbers: [1330] 1330,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[22, 19], Operations: ['57-35=22', '15+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,1 Current State: 68:[4, 77], Operations: ['35-15=20', '57+20=77'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,68 unequal: No Solution Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[4, 77], Operations: ['57-15=42', '35+42=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,68 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[20, 61], Operations: ['35-15=20', '57+4=61'] Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,68 unequal: No Solution Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,68 unequal: No Solution Moving to Node #0,2,3 Current State: 68:[15, 26], Operations: ['57-35=22', '4+22=26'] Exploring Operation: 15*26=390, Resulting Numbers: [390] 390,68 unequal: No Solution Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[42, 31], Operations: ['57-15=42', '35-4=31'] Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,68 unequal: No Solution Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[57, 16], Operations: ['35-15=20', '20-4=16'] Exploring Operation: 57*16=912, Resulting Numbers: [912] 912,68 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 57+16=73, Resulting Numbers: [73] 73,68 unequal: No Solution Moving to Node #0,1,4 Current State: 68:[57, 5], Operations: ['35-15=20', '20/4=5'] Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,68 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[42, 39], Operations: ['57-15=42', '35+4=39'] Exploring Operation: 42*39=1638, Resulting Numbers: [1638] 1638,68 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 42+39=81, Resulting Numbers: [81] 81,68 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 13, 93, 8, 27 ]
37
[ "93-13=80", "80/8=10", "27+10=37" ]
Current State: 37:[13, 93, 8, 27], Operations: [] Exploring Operation: 93-13=80, Resulting Numbers: [8, 27, 80] Generated Node #2: [8, 27, 80] from Operation: 93-13=80 Current State: 37:[8, 27, 80], Operations: ['93-13=80'] Exploring Operation: 80/8=10, Resulting Numbers: [27, 10] Generated Node #3: [27, 10] from Operation: 80/8=10 Current State: 37:[27, 10], Operations: ['93-13=80', '80/8=10'] Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[13, 93, 8, 27], Operations: [] Exploring Operation: 93-8=85, Resulting Numbers: [13, 27, 85] Generated Node #0,0: 37:[13, 27, 85] Operation: 93-8=85 Exploring Operation: 93-27=66, Resulting Numbers: [13, 8, 66] Generated Node #0,1: 37:[13, 8, 66] Operation: 93-27=66 Exploring Operation: 93-13=80, Resulting Numbers: [8, 27, 80] Generated Node #0,2: 37:[8, 27, 80] Operation: 93-13=80 Exploring Operation: 13+8=21, Resulting Numbers: [93, 27, 21] Generated Node #0,3: 37:[93, 27, 21] Operation: 13+8=21 Moving to Node #0,0 Current State: 37:[13, 27, 85], Operations: ['93-8=85'] Exploring Operation: 27-13=14, Resulting Numbers: [85, 14] Generated Node #0,0,0: 37:[85, 14] Operation: 27-13=14 Exploring Operation: 85-27=58, Resulting Numbers: [13, 58] Generated Node #0,0,1: 37:[13, 58] Operation: 85-27=58 Exploring Operation: 85-13=72, Resulting Numbers: [27, 72] Generated Node #0,0,2: 37:[27, 72] Operation: 85-13=72 Exploring Operation: 13+27=40, Resulting Numbers: [85, 40] Generated Node #0,0,3: 37:[85, 40] Operation: 13+27=40 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[13, 58], Operations: ['93-8=85', '85-27=58'] Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 13+58=71, Resulting Numbers: [71] 71,37 unequal: No Solution Exploring Operation: 13*58=754, Resulting Numbers: [754] 754,37 unequal: No Solution No 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: 37:[27, 72], Operations: ['93-8=85', '85-13=72'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 27+72=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 27*72=1944, Resulting Numbers: [1944] 1944,37 unequal: No Solution No 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: 37:[85, 40], Operations: ['93-8=85', '13+27=40'] Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 85+40=125, Resulting Numbers: [125] 125,37 unequal: No Solution Exploring Operation: 85*40=3400, Resulting Numbers: [3400] 3400,37 unequal: No Solution No 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: 37:[85, 14], Operations: ['93-8=85', '27-13=14'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,37 unequal: No Solution Exploring Operation: 85+14=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 85*14=1190, Resulting Numbers: [1190] 1190,37 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: 37:[8, 27, 80], Operations: ['93-13=80'] Exploring Operation: 80/8=10, Resulting Numbers: [27, 10] Generated Node #0,2,0: 37:[27, 10] Operation: 80/8=10 Exploring Operation: 8+27=35, Resulting Numbers: [80, 35] Generated Node #0,2,1: 37:[80, 35] Operation: 8+27=35 Exploring Operation: 80-8=72, Resulting Numbers: [27, 72] Generated Node #0,2,2: 37:[27, 72] Operation: 80-8=72 Exploring Operation: 80-27=53, Resulting Numbers: [8, 53] Generated Node #0,2,3: 37:[8, 53] Operation: 80-27=53 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[27, 10], Operations: ['93-13=80', '80/8=10'] Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,37 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,37 unequal: No Solution Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[13, 93, 8, 27], Operations: [] Exploring Operation: 93-13=80, Resulting Numbers: [8, 27, 80] Generated Node #0,2: 37:[8, 27, 80] Operation: 93-13=80 Moving to Node #0,2 Current State: 37:[8, 27, 80], Operations: ['93-13=80'] Exploring Operation: 80/8=10, Resulting Numbers: [27, 10] Generated Node #0,2,0: 37:[27, 10] Operation: 80/8=10 Moving to Node #0,2,0 Current State: 37:[27, 10], Operations: ['93-13=80', '80/8=10'] Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 87, 94, 51, 18 ]
92
[ "87-51=36", "36/18=2", "94-2=92" ]
Current State: 92:[87, 94, 51, 18], Operations: [] Exploring Operation: 87-51=36, Resulting Numbers: [94, 18, 36] Generated Node #2: [94, 18, 36] from Operation: 87-51=36 Current State: 92:[94, 18, 36], Operations: ['87-51=36'] Exploring Operation: 36/18=2, Resulting Numbers: [94, 2] Generated Node #3: [94, 2] from Operation: 36/18=2 Current State: 92:[94, 2], Operations: ['87-51=36', '36/18=2'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[87, 94, 51, 18], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [51, 18, 7] Generated Node #0,0: 92:[51, 18, 7] Operation: 94-87=7 Exploring Operation: 94-51=43, Resulting Numbers: [87, 18, 43] Generated Node #0,1: 92:[87, 18, 43] Operation: 94-51=43 Moving to Node #0,0 Current State: 92:[51, 18, 7], Operations: ['94-87=7'] Exploring Operation: 18+7=25, Resulting Numbers: [51, 25] Generated Node #0,0,0: 92:[51, 25] Operation: 18+7=25 Exploring Operation: 51-7=44, Resulting Numbers: [18, 44] Generated Node #0,0,1: 92:[18, 44] Operation: 51-7=44 Moving to Node #0,1 Current State: 92:[87, 18, 43], Operations: ['94-51=43'] Exploring Operation: 43-18=25, Resulting Numbers: [87, 25] Generated Node #0,1,0: 92:[87, 25] Operation: 43-18=25 Exploring Operation: 87-43=44, Resulting Numbers: [18, 44] Generated Node #0,1,1: 92:[18, 44] Operation: 87-43=44 Moving to Node #0,0,0 Current State: 92:[51, 25], Operations: ['94-87=7', '18+7=25'] Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,92 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[87, 25], Operations: ['94-51=43', '43-18=25'] Exploring Operation: 87+25=112, Resulting Numbers: [112] 112,92 unequal: No Solution Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[18, 44], Operations: ['94-87=7', '51-7=44'] Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[18, 44], Operations: ['94-51=43', '87-43=44'] Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,92 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 22, 88, 39, 52 ]
97
[ "22+88=110", "52-39=13", "110-13=97" ]
Current State: 97:[22, 88, 39, 52], Operations: [] Exploring Operation: 22+88=110, Resulting Numbers: [39, 52, 110] Generated Node #2: [39, 52, 110] from Operation: 22+88=110 Current State: 97:[39, 52, 110], Operations: ['22+88=110'] Exploring Operation: 52-39=13, Resulting Numbers: [110, 13] Generated Node #3: [110, 13] from Operation: 52-39=13 Current State: 97:[110, 13], Operations: ['22+88=110', '52-39=13'] Exploring Operation: 110-13=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[22, 88, 39, 52], Operations: [] Exploring Operation: 22+39=61, Resulting Numbers: [88, 52, 61] Generated Node #0,0: 97:[88, 52, 61] Operation: 22+39=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[88, 52, 61], Operations: ['22+39=61'] Exploring Operation: 52+61=113, Resulting Numbers: [88, 113] Generated Node #0,0,0: 97:[88, 113] Operation: 52+61=113 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[88, 113], Operations: ['22+39=61', '52+61=113'] Exploring Operation: 113-88=25, Resulting Numbers: [25] 25,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 7, 72, 6, 55 ]
95
[ "72-55=17", "6*17=102", "102-7=95" ]
Current State: 95:[7, 72, 6, 55], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [7, 6, 17] Generated Node #2: [7, 6, 17] from Operation: 72-55=17 Current State: 95:[7, 6, 17], Operations: ['72-55=17'] Exploring Operation: 6*17=102, Resulting Numbers: [7, 102] Generated Node #3: [7, 102] from Operation: 6*17=102 Current State: 95:[7, 102], Operations: ['72-55=17', '6*17=102'] Exploring Operation: 102-7=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[7, 72, 6, 55], Operations: [] Exploring Operation: 72+55=127, Resulting Numbers: [7, 6, 127] Generated Node #0,0: 95:[7, 6, 127] Operation: 72+55=127 Exploring Operation: 72-55=17, Resulting Numbers: [7, 6, 17] Generated Node #0,1: 95:[7, 6, 17] Operation: 72-55=17 Exploring Operation: 72/6=12, Resulting Numbers: [7, 55, 12] Generated Node #0,2: 95:[7, 55, 12] Operation: 72/6=12 Moving to Node #0,1 Current State: 95:[7, 6, 17], Operations: ['72-55=17'] Exploring Operation: 7-6=1, Resulting Numbers: [17, 1] Generated Node #0,1,0: 95:[17, 1] Operation: 7-6=1 Exploring Operation: 17-7=10, Resulting Numbers: [6, 10] Generated Node #0,1,1: 95:[6, 10] Operation: 17-7=10 Exploring Operation: 7+17=24, Resulting Numbers: [6, 24] Generated Node #0,1,2: 95:[6, 24] Operation: 7+17=24 Moving to Node #0,0 Current State: 95:[7, 6, 127], Operations: ['72+55=127'] Exploring Operation: 7-6=1, Resulting Numbers: [127, 1] Generated Node #0,0,0: 95:[127, 1] Operation: 7-6=1 Exploring Operation: 127-7=120, Resulting Numbers: [6, 120] Generated Node #0,0,1: 95:[6, 120] Operation: 127-7=120 Exploring Operation: 127-6=121, Resulting Numbers: [7, 121] Generated Node #0,0,2: 95:[7, 121] Operation: 127-6=121 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[6, 120], Operations: ['72+55=127', '127-7=120'] Exploring Operation: 120-6=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 120/6=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 6+120=126, Resulting Numbers: [126] 126,95 unequal: No Solution No 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: 95:[7, 121], Operations: ['72+55=127', '127-6=121'] Exploring Operation: 7*121=847, Resulting Numbers: [847] 847,95 unequal: No Solution Exploring Operation: 121-7=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 7+121=128, Resulting Numbers: [128] 128,95 unequal: No Solution No 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: 95:[127, 1], Operations: ['72+55=127', '7-6=1'] Exploring Operation: 127-1=126, Resulting Numbers: [126] 126,95 unequal: No Solution Exploring Operation: 127*1=127, Resulting Numbers: [127] 127,95 unequal: No Solution Exploring Operation: 127/1=127, Resulting Numbers: [127] 127,95 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: 95:[7, 55, 12], Operations: ['72/6=12'] Exploring Operation: 55-12=43, Resulting Numbers: [7, 43] Generated Node #0,2,0: 95:[7, 43] Operation: 55-12=43 Exploring Operation: 55+12=67, Resulting Numbers: [7, 67] Generated Node #0,2,1: 95:[7, 67] Operation: 55+12=67 Exploring Operation: 55-7=48, Resulting Numbers: [12, 48] Generated Node #0,2,2: 95:[12, 48] Operation: 55-7=48 Moving to Node #0,1,0 Current State: 95:[17, 1], Operations: ['72-55=17', '7-6=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,95 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[6, 24], Operations: ['72-55=17', '7+17=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,95 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[6, 10], Operations: ['72-55=17', '17-7=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[7, 43], Operations: ['72/6=12', '55-12=43'] Exploring Operation: 7*43=301, Resulting Numbers: [301] 301,95 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,95 unequal: No Solution Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[7, 67], Operations: ['72/6=12', '55+12=67'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,95 unequal: No Solution Exploring Operation: 7+67=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 7*67=469, Resulting Numbers: [469] 469,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[12, 48], Operations: ['72/6=12', '55-7=48'] Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 12+48=60, Resulting Numbers: [60] 60,95 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,95 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 69, 55, 54, 85 ]
93
[ "69+55=124", "85-54=31", "124-31=93" ]
Current State: 93:[69, 55, 54, 85], Operations: [] Exploring Operation: 69+55=124, Resulting Numbers: [54, 85, 124] Generated Node #2: [54, 85, 124] from Operation: 69+55=124 Current State: 93:[54, 85, 124], Operations: ['69+55=124'] Exploring Operation: 85-54=31, Resulting Numbers: [124, 31] Generated Node #3: [124, 31] from Operation: 85-54=31 Current State: 93:[124, 31], Operations: ['69+55=124', '85-54=31'] Exploring Operation: 124-31=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[69, 55, 54, 85], Operations: [] Exploring Operation: 85-55=30, Resulting Numbers: [69, 54, 30] Generated Node #0,0: 93:[69, 54, 30] Operation: 85-55=30 Exploring Operation: 69-55=14, Resulting Numbers: [54, 85, 14] Generated Node #0,1: 93:[54, 85, 14] Operation: 69-55=14 Exploring Operation: 55+54=109, Resulting Numbers: [69, 85, 109] Generated Node #0,2: 93:[69, 85, 109] Operation: 55+54=109 Exploring Operation: 55-54=1, Resulting Numbers: [69, 85, 1] Generated Node #0,3: 93:[69, 85, 1] Operation: 55-54=1 Exploring Operation: 69-54=15, Resulting Numbers: [55, 85, 15] Generated Node #0,4: 93:[55, 85, 15] Operation: 69-54=15 Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[69, 85, 1], Operations: ['55-54=1'] Exploring Operation: 69/1=69, Resulting Numbers: [85, 69] Generated Node #0,3,0: 93:[85, 69] Operation: 69/1=69 Exploring Operation: 69+1=70, Resulting Numbers: [85, 70] Generated Node #0,3,1: 93:[85, 70] Operation: 69+1=70 Exploring Operation: 85+1=86, Resulting Numbers: [69, 86] Generated Node #0,3,2: 93:[69, 86] Operation: 85+1=86 Exploring Operation: 69*1=69, Resulting Numbers: [85, 69] Generated Node #0,3,3: 93:[85, 69] Operation: 69*1=69 Exploring Operation: 85-69=16, Resulting Numbers: [1, 16] Generated Node #0,3,4: 93:[1, 16] Operation: 85-69=16 Moving to Node #0,3,4 Current State: 93:[1, 16], Operations: ['55-54=1', '85-69=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[69, 86], Operations: ['55-54=1', '85+1=86'] Exploring Operation: 69+86=155, Resulting Numbers: [155] 155,93 unequal: No Solution Exploring Operation: 86-69=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 69*86=5934, Resulting Numbers: [5934] 5934,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[85, 70], Operations: ['55-54=1', '69+1=70'] Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 85+70=155, Resulting Numbers: [155] 155,93 unequal: No Solution Exploring Operation: 85*70=5950, Resulting Numbers: [5950] 5950,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[85, 69], Operations: ['55-54=1', '69/1=69'] Exploring Operation: 85+69=154, Resulting Numbers: [154] 154,93 unequal: No Solution Exploring Operation: 85*69=5865, Resulting Numbers: [5865] 5865,93 unequal: No Solution Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[85, 69], Operations: ['55-54=1', '69*1=69'] Exploring Operation: 85+69=154, Resulting Numbers: [154] 154,93 unequal: No Solution Exploring Operation: 85*69=5865, Resulting Numbers: [5865] 5865,93 unequal: No Solution Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,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,1 Current State: 93:[54, 85, 14], Operations: ['69-55=14'] Exploring Operation: 54+14=68, Resulting Numbers: [85, 68] Generated Node #0,1,0: 93:[85, 68] Operation: 54+14=68 Exploring Operation: 85+14=99, Resulting Numbers: [54, 99] Generated Node #0,1,1: 93:[54, 99] Operation: 85+14=99 Exploring Operation: 85-54=31, Resulting Numbers: [14, 31] Generated Node #0,1,2: 93:[14, 31] Operation: 85-54=31 Exploring Operation: 54-14=40, Resulting Numbers: [85, 40] Generated Node #0,1,3: 93:[85, 40] Operation: 54-14=40 Exploring Operation: 85-14=71, Resulting Numbers: [54, 71] Generated Node #0,1,4: 93:[54, 71] Operation: 85-14=71 Moving to Node #0,1,2 Current State: 93:[14, 31], Operations: ['69-55=14', '85-54=31'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 14*31=434, Resulting Numbers: [434] 434,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[85, 40], Operations: ['69-55=14', '54-14=40'] Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 85*40=3400, Resulting Numbers: [3400] 3400,93 unequal: No Solution Exploring Operation: 85+40=125, Resulting Numbers: [125] 125,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[54, 99], Operations: ['69-55=14', '85+14=99'] Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 54+99=153, Resulting Numbers: [153] 153,93 unequal: No Solution Exploring Operation: 54*99=5346, Resulting Numbers: [5346] 5346,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[85, 68], Operations: ['69-55=14', '54+14=68'] Exploring Operation: 85*68=5780, Resulting Numbers: [5780] 5780,93 unequal: No Solution Exploring Operation: 85+68=153, Resulting Numbers: [153] 153,93 unequal: No Solution Exploring Operation: 85-68=17, Resulting Numbers: [17] 17,93 unequal: No Solution Moving to Node #0,1,4 Current State: 93:[54, 71], Operations: ['69-55=14', '85-14=71'] Exploring Operation: 54*71=3834, Resulting Numbers: [3834] 3834,93 unequal: No Solution Exploring Operation: 54+71=125, Resulting Numbers: [125] 125,93 unequal: No Solution Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,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:[55, 85, 15], Operations: ['69-54=15'] Exploring Operation: 85-55=30, Resulting Numbers: [15, 30] Generated Node #0,4,0: 93:[15, 30] Operation: 85-55=30 Exploring Operation: 55+15=70, Resulting Numbers: [85, 70] Generated Node #0,4,1: 93:[85, 70] Operation: 55+15=70 Exploring Operation: 85-15=70, Resulting Numbers: [55, 70] Generated Node #0,4,2: 93:[55, 70] Operation: 85-15=70 Exploring Operation: 85+15=100, Resulting Numbers: [55, 100] Generated Node #0,4,3: 93:[55, 100] Operation: 85+15=100 Exploring Operation: 55-15=40, Resulting Numbers: [85, 40] Generated Node #0,4,4: 93:[85, 40] Operation: 55-15=40 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 93:[15, 30], Operations: ['69-54=15', '85-55=30'] Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 15*30=450, Resulting Numbers: [450] 450,93 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 15+30=45, Resulting Numbers: [45] 45,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,4,4 Current State: 93:[85, 40], Operations: ['69-54=15', '55-15=40'] Exploring Operation: 85+40=125, Resulting Numbers: [125] 125,93 unequal: No Solution Exploring Operation: 85*40=3400, Resulting Numbers: [3400] 3400,93 unequal: No Solution Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,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,4,1 Current State: 93:[85, 70], Operations: ['69-54=15', '55+15=70'] Exploring Operation: 85+70=155, Resulting Numbers: [155] 155,93 unequal: No Solution Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 85*70=5950, Resulting Numbers: [5950] 5950,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,4,3 Current State: 93:[55, 100], Operations: ['69-54=15', '85+15=100'] Exploring Operation: 55*100=5500, Resulting Numbers: [5500] 5500,93 unequal: No Solution Exploring Operation: 100-55=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 55+100=155, Resulting Numbers: [155] 155,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,4,2 Current State: 93:[55, 70], Operations: ['69-54=15', '85-15=70'] Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 55*70=3850, Resulting Numbers: [3850] 3850,93 unequal: No Solution Exploring Operation: 55+70=125, Resulting Numbers: [125] 125,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,0 Current State: 93:[69, 54, 30], Operations: ['85-55=30'] Exploring Operation: 69+54=123, Resulting Numbers: [30, 123] Generated Node #0,0,0: 93:[30, 123] Operation: 69+54=123 Exploring Operation: 69-30=39, Resulting Numbers: [54, 39] Generated Node #0,0,1: 93:[54, 39] Operation: 69-30=39 Exploring Operation: 69-54=15, Resulting Numbers: [30, 15] Generated Node #0,0,2: 93:[30, 15] Operation: 69-54=15 Exploring Operation: 54-30=24, Resulting Numbers: [69, 24] Generated Node #0,0,3: 93:[69, 24] Operation: 54-30=24 Exploring Operation: 69+30=99, Resulting Numbers: [54, 99] Generated Node #0,0,4: 93:[54, 99] Operation: 69+30=99 Moving to Node #0,0,2 Current State: 93:[30, 15], Operations: ['85-55=30', '69-54=15'] Exploring Operation: 30*15=450, Resulting Numbers: [450] 450,93 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,93 unequal: No Solution Moving to Node #0,0,4 Current State: 93:[54, 99], Operations: ['85-55=30', '69+30=99'] Exploring Operation: 54+99=153, Resulting Numbers: [153] 153,93 unequal: No Solution Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 54*99=5346, Resulting Numbers: [5346] 5346,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[30, 123], Operations: ['85-55=30', '69+54=123'] Exploring Operation: 123-30=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[69, 55, 54, 85], Operations: [] Exploring Operation: 85-55=30, Resulting Numbers: [69, 54, 30] Generated Node #0,0: 93:[69, 54, 30] Operation: 85-55=30 Moving to Node #0,0 Current State: 93:[69, 54, 30], Operations: ['85-55=30'] Exploring Operation: 69+54=123, Resulting Numbers: [30, 123] Generated Node #0,0,0: 93:[30, 123] Operation: 69+54=123 Moving to Node #0,0,0 Current State: 93:[30, 123], Operations: ['85-55=30', '69+54=123'] Exploring Operation: 123-30=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.927083
hs_5
mult_heuristic
[ 35, 29, 80, 11 ]
16
[ "35-29=6", "11-6=5", "80/5=16" ]
Current State: 16:[35, 29, 80, 11], Operations: [] Exploring Operation: 35-29=6, Resulting Numbers: [80, 11, 6] Generated Node #2: [80, 11, 6] from Operation: 35-29=6 Current State: 16:[80, 11, 6], Operations: ['35-29=6'] Exploring Operation: 11-6=5, Resulting Numbers: [80, 5] Generated Node #3: [80, 5] from Operation: 11-6=5 Current State: 16:[80, 5], Operations: ['35-29=6', '11-6=5'] Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[35, 29, 80, 11], Operations: [] Exploring Operation: 80-35=45, Resulting Numbers: [29, 11, 45] Generated Node #0,0: 16:[29, 11, 45] Operation: 80-35=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[29, 11, 45], Operations: ['80-35=45'] Exploring Operation: 45-29=16, Resulting Numbers: [11, 16] Generated Node #0,0,0: 16:[11, 16] Operation: 45-29=16 Moving to Node #0,0,0 Current State: 16:[11, 16], Operations: ['80-35=45', '45-29=16'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,16 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
[ 11, 37, 77, 7 ]
36
[ "11+37=48", "77+7=84", "84-48=36" ]
Current State: 36:[11, 37, 77, 7], Operations: [] Exploring Operation: 11+37=48, Resulting Numbers: [77, 7, 48] Generated Node #2: [77, 7, 48] from Operation: 11+37=48 Current State: 36:[77, 7, 48], Operations: ['11+37=48'] Exploring Operation: 77+7=84, Resulting Numbers: [48, 84] Generated Node #3: [48, 84] from Operation: 77+7=84 Current State: 36:[48, 84], Operations: ['11+37=48', '77+7=84'] Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[11, 37, 77, 7], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [37, 7, 7] Generated Node #0,0: 36:[37, 7, 7] Operation: 77/11=7 Moving to Node #0,0 Current State: 36:[37, 7, 7], Operations: ['77/11=7'] Exploring Operation: 7/7=1, Resulting Numbers: [37, 1] Generated Node #0,0,0: 36:[37, 1] Operation: 7/7=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[37, 1], Operations: ['77/11=7', '7/7=1'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[11, 37, 77, 7], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [37, 7, 7] Generated Node #0,0: 36:[37, 7, 7] Operation: 77/11=7 Moving to Node #0,0 Current State: 36:[37, 7, 7], Operations: ['77/11=7'] Exploring Operation: 7/7=1, Resulting Numbers: [37, 1] Generated Node #0,0,0: 36:[37, 1] Operation: 7/7=1 Moving to Node #0,0,0 Current State: 36:[37, 1], Operations: ['77/11=7', '7/7=1'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 32, 49, 92, 7 ]
53
[ "92-32=60", "49/7=7", "60-7=53" ]
Current State: 53:[32, 49, 92, 7], Operations: [] Exploring Operation: 92-32=60, Resulting Numbers: [49, 7, 60] Generated Node #2: [49, 7, 60] from Operation: 92-32=60 Current State: 53:[49, 7, 60], Operations: ['92-32=60'] Exploring Operation: 49/7=7, Resulting Numbers: [60, 7] Generated Node #3: [60, 7] from Operation: 49/7=7 Current State: 53:[60, 7], Operations: ['92-32=60', '49/7=7'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[32, 49, 92, 7], Operations: [] Exploring Operation: 92-7=85, Resulting Numbers: [32, 49, 85] Generated Node #0,0: 53:[32, 49, 85] Operation: 92-7=85 Exploring Operation: 92-32=60, Resulting Numbers: [49, 7, 60] Generated Node #0,1: 53:[49, 7, 60] Operation: 92-32=60 Exploring Operation: 32+7=39, Resulting Numbers: [49, 92, 39] Generated Node #0,2: 53:[49, 92, 39] Operation: 32+7=39 Moving to Node #0,0 Current State: 53:[32, 49, 85], Operations: ['92-7=85'] Exploring Operation: 85-32=53, Resulting Numbers: [49, 53] Generated Node #0,0,0: 53:[49, 53] Operation: 85-32=53 Exploring Operation: 32+49=81, Resulting Numbers: [85, 81] Generated Node #0,0,1: 53:[85, 81] Operation: 32+49=81 Exploring Operation: 85-49=36, Resulting Numbers: [32, 36] Generated Node #0,0,2: 53:[32, 36] Operation: 85-49=36 Moving to Node #0,1 Current State: 53:[49, 7, 60], Operations: ['92-32=60'] Exploring Operation: 49+7=56, Resulting Numbers: [60, 56] Generated Node #0,1,0: 53:[60, 56] Operation: 49+7=56 Exploring Operation: 60-7=53, Resulting Numbers: [49, 53] Generated Node #0,1,1: 53:[49, 53] Operation: 60-7=53 Exploring Operation: 49-7=42, Resulting Numbers: [60, 42] Generated Node #0,1,2: 53:[60, 42] Operation: 49-7=42 Moving to Node #0,2 Current State: 53:[49, 92, 39], Operations: ['32+7=39'] Exploring Operation: 92-39=53, Resulting Numbers: [49, 53] Generated Node #0,2,0: 53:[49, 53] Operation: 92-39=53 Exploring Operation: 49+39=88, Resulting Numbers: [92, 88] Generated Node #0,2,1: 53:[92, 88] Operation: 49+39=88 Exploring Operation: 92-49=43, Resulting Numbers: [39, 43] Generated Node #0,2,2: 53:[39, 43] Operation: 92-49=43 Moving to Node #0,0,0 Current State: 53:[49, 53], Operations: ['92-7=85', '85-32=53'] Exploring Operation: 49*53=2597, Resulting Numbers: [2597] 2597,53 unequal: No Solution Exploring Operation: 49+53=102, Resulting Numbers: [102] 102,53 unequal: No Solution Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[49, 53], Operations: ['32+7=39', '92-39=53'] Exploring Operation: 49*53=2597, Resulting Numbers: [2597] 2597,53 unequal: No Solution Exploring Operation: 49+53=102, Resulting Numbers: [102] 102,53 unequal: No Solution Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[49, 53], Operations: ['92-32=60', '60-7=53'] Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 49*53=2597, Resulting Numbers: [2597] 2597,53 unequal: No Solution Exploring Operation: 49+53=102, Resulting Numbers: [102] 102,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[60, 56], Operations: ['92-32=60', '49+7=56'] Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,53 unequal: No Solution Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,53 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[60, 42], Operations: ['92-32=60', '49-7=42'] Exploring Operation: 60*42=2520, Resulting Numbers: [2520] 2520,53 unequal: No Solution Exploring Operation: 60+42=102, Resulting Numbers: [102] 102,53 unequal: No Solution Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[39, 43], Operations: ['32+7=39', '92-49=43'] Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,53 unequal: No Solution Exploring Operation: 39*43=1677, Resulting Numbers: [1677] 1677,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[32, 36], Operations: ['92-7=85', '85-49=36'] Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,53 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[85, 81], Operations: ['92-7=85', '32+49=81'] Exploring Operation: 85-81=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 85+81=166, Resulting Numbers: [166] 166,53 unequal: No Solution Exploring Operation: 85*81=6885, Resulting Numbers: [6885] 6885,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[92, 88], Operations: ['32+7=39', '49+39=88'] Exploring Operation: 92*88=8096, Resulting Numbers: [8096] 8096,53 unequal: No Solution Exploring Operation: 92-88=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 92+88=180, Resulting Numbers: [180] 180,53 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 3, 39, 35, 90 ]
34
[ "90/3=30", "39-35=4", "30+4=34" ]
Current State: 34:[3, 39, 35, 90], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [39, 35, 30] Generated Node #2: [39, 35, 30] from Operation: 90/3=30 Current State: 34:[39, 35, 30], Operations: ['90/3=30'] Exploring Operation: 39-35=4, Resulting Numbers: [30, 4] Generated Node #3: [30, 4] from Operation: 39-35=4 Current State: 34:[30, 4], Operations: ['90/3=30', '39-35=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[3, 39, 35, 90], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [39, 35, 30] Generated Node #0,0: 34:[39, 35, 30] Operation: 90/3=30 Exploring Operation: 90-39=51, Resulting Numbers: [3, 35, 51] Generated Node #0,1: 34:[3, 35, 51] Operation: 90-39=51 Moving to Node #0,0 Current State: 34:[39, 35, 30], Operations: ['90/3=30'] Exploring Operation: 39-35=4, Resulting Numbers: [30, 4] Generated Node #0,0,0: 34:[30, 4] Operation: 39-35=4 Exploring Operation: 39-30=9, Resulting Numbers: [35, 9] Generated Node #0,0,1: 34:[35, 9] Operation: 39-30=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[30, 4], Operations: ['90/3=30', '39-35=4'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[3, 39, 35, 90], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [39, 35, 30] Generated Node #0,0: 34:[39, 35, 30] Operation: 90/3=30 Moving to Node #0,0 Current State: 34:[39, 35, 30], Operations: ['90/3=30'] Exploring Operation: 39-35=4, Resulting Numbers: [30, 4] Generated Node #0,0,0: 34:[30, 4] Operation: 39-35=4 Moving to Node #0,0,0 Current State: 34:[30, 4], Operations: ['90/3=30', '39-35=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 4, 84, 39, 31 ]
18
[ "4+84=88", "39+31=70", "88-70=18" ]
Current State: 18:[4, 84, 39, 31], Operations: [] Exploring Operation: 4+84=88, Resulting Numbers: [39, 31, 88] Generated Node #2: [39, 31, 88] from Operation: 4+84=88 Current State: 18:[39, 31, 88], Operations: ['4+84=88'] Exploring Operation: 39+31=70, Resulting Numbers: [88, 70] Generated Node #3: [88, 70] from Operation: 39+31=70 Current State: 18:[88, 70], Operations: ['4+84=88', '39+31=70'] Exploring Operation: 88-70=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[4, 84, 39, 31], Operations: [] Exploring Operation: 84/4=21, Resulting Numbers: [39, 31, 21] Generated Node #0,0: 18:[39, 31, 21] Operation: 84/4=21 Moving to Node #0,0 Current State: 18:[39, 31, 21], Operations: ['84/4=21'] Exploring Operation: 39-31=8, Resulting Numbers: [21, 8] Generated Node #0,0,0: 18:[21, 8] Operation: 39-31=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[21, 8], Operations: ['84/4=21', '39-31=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,18 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
[ 11, 28, 6, 99 ]
58
[ "11+99=110", "28*6=168", "168-110=58" ]
Current State: 58:[11, 28, 6, 99], Operations: [] Exploring Operation: 11+99=110, Resulting Numbers: [28, 6, 110] Generated Node #2: [28, 6, 110] from Operation: 11+99=110 Current State: 58:[28, 6, 110], Operations: ['11+99=110'] Exploring Operation: 28*6=168, Resulting Numbers: [110, 168] Generated Node #3: [110, 168] from Operation: 28*6=168 Current State: 58:[110, 168], Operations: ['11+99=110', '28*6=168'] Exploring Operation: 168-110=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[11, 28, 6, 99], Operations: [] Exploring Operation: 11-6=5, Resulting Numbers: [28, 99, 5] Generated Node #0,0: 58:[28, 99, 5] Operation: 11-6=5 Exploring Operation: 99-11=88, Resulting Numbers: [28, 6, 88] Generated Node #0,1: 58:[28, 6, 88] Operation: 99-11=88 Exploring Operation: 99-28=71, Resulting Numbers: [11, 6, 71] Generated Node #0,2: 58:[11, 6, 71] Operation: 99-28=71 Exploring Operation: 99/11=9, Resulting Numbers: [28, 6, 9] Generated Node #0,3: 58:[28, 6, 9] Operation: 99/11=9 Exploring Operation: 99-6=93, Resulting Numbers: [11, 28, 93] Generated Node #0,4: 58:[11, 28, 93] Operation: 99-6=93 Moving to Node #0,3 Current State: 58:[28, 6, 9], Operations: ['99/11=9'] Exploring Operation: 28+9=37, Resulting Numbers: [6, 37] Generated Node #0,3,0: 58:[6, 37] Operation: 28+9=37 Exploring Operation: 28-6=22, Resulting Numbers: [9, 22] Generated Node #0,3,1: 58:[9, 22] Operation: 28-6=22 Exploring Operation: 28+6=34, Resulting Numbers: [9, 34] Generated Node #0,3,2: 58:[9, 34] Operation: 28+6=34 Exploring Operation: 6*9=54, Resulting Numbers: [28, 54] Generated Node #0,3,3: 58:[28, 54] Operation: 6*9=54 Exploring Operation: 9-6=3, Resulting Numbers: [28, 3] Generated Node #0,3,4: 58:[28, 3] Operation: 9-6=3 Moving to Node #0,2 Current State: 58:[11, 6, 71], Operations: ['99-28=71'] Exploring Operation: 11-6=5, Resulting Numbers: [71, 5] Generated Node #0,2,0: 58:[71, 5] Operation: 11-6=5 Exploring Operation: 11+6=17, Resulting Numbers: [71, 17] Generated Node #0,2,1: 58:[71, 17] Operation: 11+6=17 Exploring Operation: 11*6=66, Resulting Numbers: [71, 66] Generated Node #0,2,2: 58:[71, 66] Operation: 11*6=66 Exploring Operation: 71-6=65, Resulting Numbers: [11, 65] Generated Node #0,2,3: 58:[11, 65] Operation: 71-6=65 Exploring Operation: 71-11=60, Resulting Numbers: [6, 60] Generated Node #0,2,4: 58:[6, 60] Operation: 71-11=60 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 58:[6, 60], Operations: ['99-28=71', '71-11=60'] Exploring Operation: 6+60=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 6*60=360, Resulting Numbers: [360] 360,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[71, 5], Operations: ['99-28=71', '11-6=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 71*5=355, Resulting Numbers: [355] 355,58 unequal: No Solution Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 58:[11, 65], Operations: ['99-28=71', '71-6=65'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 11*65=715, Resulting Numbers: [715] 715,58 unequal: No Solution Exploring Operation: 11+65=76, Resulting Numbers: [76] 76,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[71, 66], Operations: ['99-28=71', '11*6=66'] Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 71*66=4686, Resulting Numbers: [4686] 4686,58 unequal: No Solution Exploring Operation: 71+66=137, Resulting Numbers: [137] 137,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[71, 17], Operations: ['99-28=71', '11+6=17'] Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,58 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 58:[28, 6, 88], Operations: ['99-11=88'] Exploring Operation: 28+6=34, Resulting Numbers: [88, 34] Generated Node #0,1,0: 58:[88, 34] Operation: 28+6=34 Exploring Operation: 28-6=22, Resulting Numbers: [88, 22] Generated Node #0,1,1: 58:[88, 22] Operation: 28-6=22 Exploring Operation: 88-6=82, Resulting Numbers: [28, 82] Generated Node #0,1,2: 58:[28, 82] Operation: 88-6=82 Exploring Operation: 6+88=94, Resulting Numbers: [28, 94] Generated Node #0,1,3: 58:[28, 94] Operation: 6+88=94 Exploring Operation: 88-28=60, Resulting Numbers: [6, 60] Generated Node #0,1,4: 58:[6, 60] Operation: 88-28=60 Moving to Node #0,0 Current State: 58:[28, 99, 5], Operations: ['11-6=5'] Exploring Operation: 28-5=23, Resulting Numbers: [99, 23] Generated Node #0,0,0: 58:[99, 23] Operation: 28-5=23 Exploring Operation: 28+5=33, Resulting Numbers: [99, 33] Generated Node #0,0,1: 58:[99, 33] Operation: 28+5=33 Exploring Operation: 99-5=94, Resulting Numbers: [28, 94] Generated Node #0,0,2: 58:[28, 94] Operation: 99-5=94 Exploring Operation: 99-28=71, Resulting Numbers: [5, 71] Generated Node #0,0,3: 58:[5, 71] Operation: 99-28=71 Exploring Operation: 99+5=104, Resulting Numbers: [28, 104] Generated Node #0,0,4: 58:[28, 104] Operation: 99+5=104 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 58:[5, 71], Operations: ['11-6=5', '99-28=71'] Exploring Operation: 5*71=355, Resulting Numbers: [355] 355,58 unequal: No Solution Exploring Operation: 5+71=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[28, 94], Operations: ['11-6=5', '99-5=94'] Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 28*94=2632, Resulting Numbers: [2632] 2632,58 unequal: No Solution Exploring Operation: 28+94=122, Resulting Numbers: [122] 122,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[99, 33], Operations: ['11-6=5', '28+5=33'] Exploring Operation: 99-33=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 99*33=3267, Resulting Numbers: [3267] 3267,58 unequal: No Solution Exploring Operation: 99/33=3, Resulting Numbers: [3] 3,58 unequal: No Solution Exploring Operation: 99+33=132, Resulting Numbers: [132] 132,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[99, 23], Operations: ['11-6=5', '28-5=23'] Exploring Operation: 99-23=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 99+23=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 99*23=2277, Resulting Numbers: [2277] 2277,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 58:[28, 104], Operations: ['11-6=5', '99+5=104'] Exploring Operation: 28*104=2912, Resulting Numbers: [2912] 2912,58 unequal: No Solution Exploring Operation: 28+104=132, Resulting Numbers: [132] 132,58 unequal: No Solution Exploring Operation: 104-28=76, Resulting Numbers: [76] 76,58 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: 58:[11, 28, 93], Operations: ['99-6=93'] Exploring Operation: 11+28=39, Resulting Numbers: [93, 39] Generated Node #0,4,0: 58:[93, 39] Operation: 11+28=39 Exploring Operation: 93-11=82, Resulting Numbers: [28, 82] Generated Node #0,4,1: 58:[28, 82] Operation: 93-11=82 Exploring Operation: 28-11=17, Resulting Numbers: [93, 17] Generated Node #0,4,2: 58:[93, 17] Operation: 28-11=17 Exploring Operation: 93-28=65, Resulting Numbers: [11, 65] Generated Node #0,4,3: 58:[11, 65] Operation: 93-28=65 Exploring Operation: 11+93=104, Resulting Numbers: [28, 104] Generated Node #0,4,4: 58:[28, 104] Operation: 11+93=104 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 58:[11, 65], Operations: ['99-6=93', '93-28=65'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 11+65=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 11*65=715, Resulting Numbers: [715] 715,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 58:[28, 82], Operations: ['99-6=93', '93-11=82'] Exploring Operation: 28+82=110, Resulting Numbers: [110] 110,58 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 28*82=2296, Resulting Numbers: [2296] 2296,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 58:[93, 39], Operations: ['99-6=93', '11+28=39'] Exploring Operation: 93-39=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 93+39=132, Resulting Numbers: [132] 132,58 unequal: No Solution Exploring Operation: 93*39=3627, Resulting Numbers: [3627] 3627,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 58:[93, 17], Operations: ['99-6=93', '28-11=17'] Exploring Operation: 93+17=110, Resulting Numbers: [110] 110,58 unequal: No Solution Exploring Operation: 93*17=1581, Resulting Numbers: [1581] 1581,58 unequal: No Solution Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 58:[28, 104], Operations: ['99-6=93', '11+93=104'] Exploring Operation: 28*104=2912, Resulting Numbers: [2912] 2912,58 unequal: No Solution Exploring Operation: 104-28=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 28+104=132, Resulting Numbers: [132] 132,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 58:[28, 3], Operations: ['99/11=9', '9-6=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,58 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[28, 54], Operations: ['99/11=9', '6*9=54'] Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,58 unequal: No Solution Moving to Node #0,1,4 Current State: 58:[6, 60], Operations: ['99-11=88', '88-28=60'] Exploring Operation: 6+60=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 6*60=360, Resulting Numbers: [360] 360,58 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[6, 37], Operations: ['99/11=9', '28+9=37'] Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,58 unequal: No Solution Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[9, 34], Operations: ['99/11=9', '28+6=34'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 9*34=306, Resulting Numbers: [306] 306,58 unequal: No Solution Exploring Operation: 9+34=43, Resulting Numbers: [43] 43,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[9, 22], Operations: ['99/11=9', '28-6=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,58 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[28, 82], Operations: ['99-11=88', '88-6=82'] Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 28+82=110, Resulting Numbers: [110] 110,58 unequal: No Solution Exploring Operation: 28*82=2296, Resulting Numbers: [2296] 2296,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[88, 34], Operations: ['99-11=88', '28+6=34'] Exploring Operation: 88+34=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 88*34=2992, Resulting Numbers: [2992] 2992,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[88, 22], Operations: ['99-11=88', '28-6=22'] Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,58 unequal: No Solution Exploring Operation: 88*22=1936, Resulting Numbers: [1936] 1936,58 unequal: No Solution Exploring Operation: 88+22=110, Resulting Numbers: [110] 110,58 unequal: No Solution Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,58 unequal: No Solution Moving to Node #0,1,3 Current State: 58:[28, 94], Operations: ['99-11=88', '6+88=94'] Exploring Operation: 28+94=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 28*94=2632, Resulting Numbers: [2632] 2632,58 unequal: No Solution Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,58 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 47, 93, 37, 86 ]
70
[ "47-37=10", "93-86=7", "10*7=70" ]
Current State: 70:[47, 93, 37, 86], Operations: [] Exploring Operation: 47-37=10, Resulting Numbers: [93, 86, 10] Generated Node #2: [93, 86, 10] from Operation: 47-37=10 Current State: 70:[93, 86, 10], Operations: ['47-37=10'] Exploring Operation: 93-86=7, Resulting Numbers: [10, 7] Generated Node #3: [10, 7] from Operation: 93-86=7 Current State: 70:[10, 7], Operations: ['47-37=10', '93-86=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[47, 93, 37, 86], Operations: [] Exploring Operation: 47-37=10, Resulting Numbers: [93, 86, 10] Generated Node #0,0: 70:[93, 86, 10] Operation: 47-37=10 Exploring Operation: 93-86=7, Resulting Numbers: [47, 37, 7] Generated Node #0,1: 70:[47, 37, 7] Operation: 93-86=7 Exploring Operation: 93-47=46, Resulting Numbers: [37, 86, 46] Generated Node #0,2: 70:[37, 86, 46] Operation: 93-47=46 Exploring Operation: 86-47=39, Resulting Numbers: [93, 37, 39] Generated Node #0,3: 70:[93, 37, 39] Operation: 86-47=39 Moving to Node #0,1 Current State: 70:[47, 37, 7], Operations: ['93-86=7'] Exploring Operation: 37-7=30, Resulting Numbers: [47, 30] Generated Node #0,1,0: 70:[47, 30] Operation: 37-7=30 Exploring Operation: 47-37=10, Resulting Numbers: [7, 10] Generated Node #0,1,1: 70:[7, 10] Operation: 47-37=10 Exploring Operation: 47-7=40, Resulting Numbers: [37, 40] Generated Node #0,1,2: 70:[37, 40] Operation: 47-7=40 Exploring Operation: 47+37=84, Resulting Numbers: [7, 84] Generated Node #0,1,3: 70:[7, 84] Operation: 47+37=84 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[7, 10], Operations: ['93-86=7', '47-37=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[47, 93, 37, 86], Operations: [] Exploring Operation: 93-86=7, Resulting Numbers: [47, 37, 7] Generated Node #0,1: 70:[47, 37, 7] Operation: 93-86=7 Moving to Node #0,1 Current State: 70:[47, 37, 7], Operations: ['93-86=7'] Exploring Operation: 47-37=10, Resulting Numbers: [7, 10] Generated Node #0,1,1: 70:[7, 10] Operation: 47-37=10 Moving to Node #0,1,1 Current State: 70:[7, 10], Operations: ['93-86=7', '47-37=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 8, 22, 55, 20 ]
45
[ "8+22=30", "55+20=75", "75-30=45" ]
Current State: 45:[8, 22, 55, 20], Operations: [] Exploring Operation: 8+22=30, Resulting Numbers: [55, 20, 30] Generated Node #2: [55, 20, 30] from Operation: 8+22=30 Current State: 45:[55, 20, 30], Operations: ['8+22=30'] Exploring Operation: 55+20=75, Resulting Numbers: [30, 75] Generated Node #3: [30, 75] from Operation: 55+20=75 Current State: 45:[30, 75], Operations: ['8+22=30', '55+20=75'] Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[8, 22, 55, 20], Operations: [] Exploring Operation: 22+20=42, Resulting Numbers: [8, 55, 42] Generated Node #0,0: 45:[8, 55, 42] Operation: 22+20=42 Exploring Operation: 55-8=47, Resulting Numbers: [22, 20, 47] Generated Node #0,1: 45:[22, 20, 47] Operation: 55-8=47 Exploring Operation: 22-20=2, Resulting Numbers: [8, 55, 2] Generated Node #0,2: 45:[8, 55, 2] Operation: 22-20=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[8, 55, 2], Operations: ['22-20=2'] Exploring Operation: 55-2=53, Resulting Numbers: [8, 53] Generated Node #0,2,0: 45:[8, 53] Operation: 55-2=53 Exploring Operation: 55-8=47, Resulting Numbers: [2, 47] Generated Node #0,2,1: 45:[2, 47] Operation: 55-8=47 Exploring Operation: 8+2=10, Resulting Numbers: [55, 10] Generated Node #0,2,2: 45:[55, 10] Operation: 8+2=10 Moving to Node #0,2,1 Current State: 45:[2, 47], Operations: ['22-20=2', '55-8=47'] Exploring Operation: 2*47=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:[8, 22, 55, 20], Operations: [] Exploring Operation: 22-20=2, Resulting Numbers: [8, 55, 2] Generated Node #0,2: 45:[8, 55, 2] Operation: 22-20=2 Moving to Node #0,2 Current State: 45:[8, 55, 2], Operations: ['22-20=2'] Exploring Operation: 55-8=47, Resulting Numbers: [2, 47] Generated Node #0,2,1: 45:[2, 47] Operation: 55-8=47 Moving to Node #0,2,1 Current State: 45:[2, 47], Operations: ['22-20=2', '55-8=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 68, 17, 51, 57 ]
56
[ "68-17=51", "51/51=1", "57-1=56" ]
Current State: 56:[68, 17, 51, 57], Operations: [] Exploring Operation: 68-17=51, Resulting Numbers: [51, 57, 51] Generated Node #2: [51, 57, 51] from Operation: 68-17=51 Current State: 56:[51, 57, 51], Operations: ['68-17=51'] Exploring Operation: 51/51=1, Resulting Numbers: [57, 1] Generated Node #3: [57, 1] from Operation: 51/51=1 Current State: 56:[57, 1], Operations: ['68-17=51', '51/51=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[68, 17, 51, 57], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [51, 57, 4] Generated Node #0,0: 56:[51, 57, 4] Operation: 68/17=4 Exploring Operation: 68-57=11, Resulting Numbers: [17, 51, 11] Generated Node #0,1: 56:[17, 51, 11] Operation: 68-57=11 Exploring Operation: 68-51=17, Resulting Numbers: [17, 57, 17] Generated Node #0,2: 56:[17, 57, 17] Operation: 68-51=17 Exploring Operation: 68-17=51, Resulting Numbers: [51, 57, 51] Generated Node #0,3: 56:[51, 57, 51] Operation: 68-17=51 Moving to Node #0,0 Current State: 56:[51, 57, 4], Operations: ['68/17=4'] Exploring Operation: 51+4=55, Resulting Numbers: [57, 55] Generated Node #0,0,0: 56:[57, 55] Operation: 51+4=55 Exploring Operation: 51-4=47, Resulting Numbers: [57, 47] Generated Node #0,0,1: 56:[57, 47] Operation: 51-4=47 Exploring Operation: 57-51=6, Resulting Numbers: [4, 6] Generated Node #0,0,2: 56:[4, 6] Operation: 57-51=6 Exploring Operation: 57-4=53, Resulting Numbers: [51, 53] Generated Node #0,0,3: 56:[51, 53] Operation: 57-4=53 Moving to Node #0,2 Current State: 56:[17, 57, 17], Operations: ['68-51=17'] Exploring Operation: 17/17=1, Resulting Numbers: [57, 1] Generated Node #0,2,0: 56:[57, 1] Operation: 17/17=1 Exploring Operation: 17+17=34, Resulting Numbers: [57, 34] Generated Node #0,2,1: 56:[57, 34] Operation: 17+17=34 Exploring Operation: 17-17=0, Resulting Numbers: [57, 0] Generated Node #0,2,2: 56:[57, 0] Operation: 17-17=0 Exploring Operation: 57-17=40, Resulting Numbers: [17, 40] Generated Node #0,2,3: 56:[17, 40] Operation: 57-17=40 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[57, 1], Operations: ['68-51=17', '17/17=1'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[68, 17, 51, 57], Operations: [] Exploring Operation: 68-51=17, Resulting Numbers: [17, 57, 17] Generated Node #0,2: 56:[17, 57, 17] Operation: 68-51=17 Moving to Node #0,2 Current State: 56:[17, 57, 17], Operations: ['68-51=17'] Exploring Operation: 17/17=1, Resulting Numbers: [57, 1] Generated Node #0,2,0: 56:[57, 1] Operation: 17/17=1 Moving to Node #0,2,0 Current State: 56:[57, 1], Operations: ['68-51=17', '17/17=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 47, 42, 14, 21 ]
23
[ "47-21=26", "42/14=3", "26-3=23" ]
Current State: 23:[47, 42, 14, 21], Operations: [] Exploring Operation: 47-21=26, Resulting Numbers: [42, 14, 26] Generated Node #2: [42, 14, 26] from Operation: 47-21=26 Current State: 23:[42, 14, 26], Operations: ['47-21=26'] Exploring Operation: 42/14=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 42/14=3 Current State: 23:[26, 3], Operations: ['47-21=26', '42/14=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[47, 42, 14, 21], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [14, 21, 5] Generated Node #0,0: 23:[14, 21, 5] Operation: 47-42=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[14, 21, 5], Operations: ['47-42=5'] Exploring Operation: 14+5=19, Resulting Numbers: [21, 19] Generated Node #0,0,0: 23:[21, 19] Operation: 14+5=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[21, 19], Operations: ['47-42=5', '14+5=19'] Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 5, 14, 94, 93 ]
65
[ "94-14=80", "93-80=13", "5*13=65" ]
Current State: 65:[5, 14, 94, 93], Operations: [] Exploring Operation: 94-14=80, Resulting Numbers: [5, 93, 80] Generated Node #2: [5, 93, 80] from Operation: 94-14=80 Current State: 65:[5, 93, 80], Operations: ['94-14=80'] Exploring Operation: 93-80=13, Resulting Numbers: [5, 13] Generated Node #3: [5, 13] from Operation: 93-80=13 Current State: 65:[5, 13], Operations: ['94-14=80', '93-80=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[5, 14, 94, 93], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [5, 14, 1] Generated Node #0,0: 65:[5, 14, 1] Operation: 94-93=1 Exploring Operation: 94-14=80, Resulting Numbers: [5, 93, 80] Generated Node #0,1: 65:[5, 93, 80] Operation: 94-14=80 Exploring Operation: 93-14=79, Resulting Numbers: [5, 94, 79] Generated Node #0,2: 65:[5, 94, 79] Operation: 93-14=79 Exploring Operation: 94-5=89, Resulting Numbers: [14, 93, 89] Generated Node #0,3: 65:[14, 93, 89] Operation: 94-5=89 Exploring Operation: 93-5=88, Resulting Numbers: [14, 94, 88] Generated Node #0,4: 65:[14, 94, 88] Operation: 93-5=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[5, 14, 1], Operations: ['94-93=1'] Exploring Operation: 14*1=14, Resulting Numbers: [5, 14] Generated Node #0,0,0: 65:[5, 14] Operation: 14*1=14 Exploring Operation: 14/1=14, Resulting Numbers: [5, 14] Generated Node #0,0,1: 65:[5, 14] Operation: 14/1=14 Exploring Operation: 5*1=5, Resulting Numbers: [14, 5] Generated Node #0,0,2: 65:[14, 5] Operation: 5*1=5 Exploring Operation: 5/1=5, Resulting Numbers: [14, 5] Generated Node #0,0,3: 65:[14, 5] Operation: 5/1=5 Exploring Operation: 14-1=13, Resulting Numbers: [5, 13] Generated Node #0,0,4: 65:[5, 13] Operation: 14-1=13 Moving to Node #0,0,4 Current State: 65:[5, 13], Operations: ['94-93=1', '14-1=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[5, 14, 94, 93], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [5, 14, 1] Generated Node #0,0: 65:[5, 14, 1] Operation: 94-93=1 Moving to Node #0,0 Current State: 65:[5, 14, 1], Operations: ['94-93=1'] Exploring Operation: 14-1=13, Resulting Numbers: [5, 13] Generated Node #0,0,4: 65:[5, 13] Operation: 14-1=13 Moving to Node #0,0,4 Current State: 65:[5, 13], Operations: ['94-93=1', '14-1=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 16, 36, 25, 68 ]
13
[ "16*25=400", "68+400=468", "468/36=13" ]
Current State: 13:[16, 36, 25, 68], Operations: [] Exploring Operation: 16*25=400, Resulting Numbers: [36, 68, 400] Generated Node #2: [36, 68, 400] from Operation: 16*25=400 Current State: 13:[36, 68, 400], Operations: ['16*25=400'] Exploring Operation: 68+400=468, Resulting Numbers: [36, 468] Generated Node #3: [36, 468] from Operation: 68+400=468 Current State: 13:[36, 468], Operations: ['16*25=400', '68+400=468'] Exploring Operation: 468/36=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[16, 36, 25, 68], Operations: [] Exploring Operation: 68-36=32, Resulting Numbers: [16, 25, 32] Generated Node #0,0: 13:[16, 25, 32] Operation: 68-36=32 Exploring Operation: 68-25=43, Resulting Numbers: [16, 36, 43] Generated Node #0,1: 13:[16, 36, 43] Operation: 68-25=43 Exploring Operation: 36-25=11, Resulting Numbers: [16, 68, 11] Generated Node #0,2: 13:[16, 68, 11] Operation: 36-25=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[16, 25, 32], Operations: ['68-36=32'] Exploring Operation: 32-25=7, Resulting Numbers: [16, 7] Generated Node #0,0,0: 13:[16, 7] Operation: 32-25=7 Exploring Operation: 25-16=9, Resulting Numbers: [32, 9] Generated Node #0,0,1: 13:[32, 9] Operation: 25-16=9 Exploring Operation: 32-16=16, Resulting Numbers: [25, 16] Generated Node #0,0,2: 13:[25, 16] Operation: 32-16=16 Moving to Node #0,0,0 Current State: 13:[16, 7], Operations: ['68-36=32', '32-25=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,13 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[25, 16], Operations: ['68-36=32', '32-16=16'] Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,13 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[32, 9], Operations: ['68-36=32', '25-16=9'] Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,13 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[16, 36, 43], Operations: ['68-25=43'] Exploring Operation: 43-36=7, Resulting Numbers: [16, 7] Generated Node #0,1,0: 13:[16, 7] Operation: 43-36=7 Exploring Operation: 36-16=20, Resulting Numbers: [43, 20] Generated Node #0,1,1: 13:[43, 20] Operation: 36-16=20 Exploring Operation: 43-16=27, Resulting Numbers: [36, 27] Generated Node #0,1,2: 13:[36, 27] Operation: 43-16=27 Moving to Node #0,1,0 Current State: 13:[16, 7], Operations: ['68-25=43', '43-36=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,13 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[43, 20], Operations: ['68-25=43', '36-16=20'] Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,13 unequal: No Solution Exploring Operation: 43+20=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 43*20=860, Resulting Numbers: [860] 860,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[36, 27], Operations: ['68-25=43', '43-16=27'] Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[16, 68, 11], Operations: ['36-25=11'] Exploring Operation: 68-16=52, Resulting Numbers: [11, 52] Generated Node #0,2,0: 13:[11, 52] Operation: 68-16=52 Exploring Operation: 16-11=5, Resulting Numbers: [68, 5] Generated Node #0,2,1: 13:[68, 5] Operation: 16-11=5 Exploring Operation: 68-11=57, Resulting Numbers: [16, 57] Generated Node #0,2,2: 13:[16, 57] Operation: 68-11=57 Moving to Node #0,2,0 Current State: 13:[11, 52], Operations: ['36-25=11', '68-16=52'] Exploring Operation: 11*52=572, Resulting Numbers: [572] 572,13 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 11+52=63, Resulting Numbers: [63] 63,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[16, 57], Operations: ['36-25=11', '68-11=57'] Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,13 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[68, 5], Operations: ['36-25=11', '16-11=5'] Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,13 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 43, 43, 17, 19 ]
86
[ "43*17=731", "43*19=817", "817-731=86" ]
Current State: 86:[43, 43, 17, 19], Operations: [] Exploring Operation: 43*17=731, Resulting Numbers: [19, 731] Generated Node #2: [19, 731] from Operation: 43*17=731 Current State: 86:[19, 731], Operations: ['43*17=731'] Exploring Operation: 43*19=817, Resulting Numbers: [731, 817] Generated Node #3: [731, 817] from Operation: 43*19=817 Current State: 86:[731, 817], Operations: ['43*17=731', '43*19=817'] Exploring Operation: 817-731=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[43, 43, 17, 19], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [43, 43, 2] Generated Node #0,0: 86:[43, 43, 2] Operation: 19-17=2 Moving to Node #0,0 Current State: 86:[43, 43, 2], Operations: ['19-17=2'] Exploring Operation: 43+43=86, Resulting Numbers: [2, 86] Generated Node #0,0,0: 86:[2, 86] Operation: 43+43=86 Moving to Node #0,0,0 Current State: 86:[2, 86], Operations: ['19-17=2', '43+43=86'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,86 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 16, 5, 8, 40 ]
17
[ "5*8=40", "40/40=1", "16+1=17" ]
Current State: 17:[16, 5, 8, 40], Operations: [] Exploring Operation: 5*8=40, Resulting Numbers: [16, 40, 40] Generated Node #2: [16, 40, 40] from Operation: 5*8=40 Current State: 17:[16, 40, 40], Operations: ['5*8=40'] Exploring Operation: 40/40=1, Resulting Numbers: [16, 1] Generated Node #3: [16, 1] from Operation: 40/40=1 Current State: 17:[16, 1], Operations: ['5*8=40', '40/40=1'] Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[16, 5, 8, 40], Operations: [] Exploring Operation: 40/5=8, Resulting Numbers: [16, 8, 8] Generated Node #0,0: 17:[16, 8, 8] Operation: 40/5=8 Exploring Operation: 40/8=5, Resulting Numbers: [16, 5, 5] Generated Node #0,1: 17:[16, 5, 5] Operation: 40/8=5 Moving to Node #0,0 Current State: 17:[16, 8, 8], Operations: ['40/5=8'] Exploring Operation: 16+8=24, Resulting Numbers: [8, 24] Generated Node #0,0,0: 17:[8, 24] Operation: 16+8=24 Exploring Operation: 8+8=16, Resulting Numbers: [16, 16] Generated Node #0,0,1: 17:[16, 16] Operation: 8+8=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[16, 16], Operations: ['40/5=8', '8+8=16'] Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[8, 24], Operations: ['40/5=8', '16+8=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,17 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: 17:[16, 5, 5], Operations: ['40/8=5'] Exploring Operation: 5*5=25, Resulting Numbers: [16, 25] Generated Node #0,1,0: 17:[16, 25] Operation: 5*5=25 Exploring Operation: 5+5=10, Resulting Numbers: [16, 10] Generated Node #0,1,1: 17:[16, 10] Operation: 5+5=10 Moving to Node #0,1,1 Current State: 17:[16, 10], Operations: ['40/8=5', '5+5=10'] Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[16, 25], Operations: ['40/8=5', '5*5=25'] Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,17 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,17 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 97, 2, 42, 60 ]
58
[ "97-60=37", "42/2=21", "37+21=58" ]
Current State: 58:[97, 2, 42, 60], Operations: [] Exploring Operation: 97-60=37, Resulting Numbers: [2, 42, 37] Generated Node #2: [2, 42, 37] from Operation: 97-60=37 Current State: 58:[2, 42, 37], Operations: ['97-60=37'] Exploring Operation: 42/2=21, Resulting Numbers: [37, 21] Generated Node #3: [37, 21] from Operation: 42/2=21 Current State: 58:[37, 21], Operations: ['97-60=37', '42/2=21'] Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[97, 2, 42, 60], Operations: [] Exploring Operation: 97-42=55, Resulting Numbers: [2, 60, 55] Generated Node #0,0: 58:[2, 60, 55] Operation: 97-42=55 Moving to Node #0,0 Current State: 58:[2, 60, 55], Operations: ['97-42=55'] Exploring Operation: 60-2=58, Resulting Numbers: [55, 58] Generated Node #0,0,0: 58:[55, 58] Operation: 60-2=58 Moving to Node #0,0,0 Current State: 58:[55, 58], Operations: ['97-42=55', '60-2=58'] Exploring Operation: 58-55=3, Resulting Numbers: [3] 3,58 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 91, 1, 25, 40 ]
25
[ "91-1=90", "25+40=65", "90-65=25" ]
Current State: 25:[91, 1, 25, 40], Operations: [] Exploring Operation: 91-1=90, Resulting Numbers: [25, 40, 90] Generated Node #2: [25, 40, 90] from Operation: 91-1=90 Current State: 25:[25, 40, 90], Operations: ['91-1=90'] Exploring Operation: 25+40=65, Resulting Numbers: [90, 65] Generated Node #3: [90, 65] from Operation: 25+40=65 Current State: 25:[90, 65], Operations: ['91-1=90', '25+40=65'] Exploring Operation: 90-65=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[91, 1, 25, 40], Operations: [] Exploring Operation: 91-40=51, Resulting Numbers: [1, 25, 51] Generated Node #0,0: 25:[1, 25, 51] Operation: 91-40=51 Exploring Operation: 91-1=90, Resulting Numbers: [25, 40, 90] Generated Node #0,1: 25:[25, 40, 90] Operation: 91-1=90 Exploring Operation: 91-25=66, Resulting Numbers: [1, 40, 66] Generated Node #0,2: 25:[1, 40, 66] Operation: 91-25=66 Moving to Node #0,0 Current State: 25:[1, 25, 51], Operations: ['91-40=51'] Exploring Operation: 51-1=50, Resulting Numbers: [25, 50] Generated Node #0,0,0: 25:[25, 50] Operation: 51-1=50 Exploring Operation: 1*25=25, Resulting Numbers: [51, 25] Generated Node #0,0,1: 25:[51, 25] Operation: 1*25=25 Exploring Operation: 51-25=26, Resulting Numbers: [1, 26] Generated Node #0,0,2: 25:[1, 26] Operation: 51-25=26 Moving to Node #0,2 Current State: 25:[1, 40, 66], Operations: ['91-25=66'] Exploring Operation: 40-1=39, Resulting Numbers: [66, 39] Generated Node #0,2,0: 25:[66, 39] Operation: 40-1=39 Exploring Operation: 66-40=26, Resulting Numbers: [1, 26] Generated Node #0,2,1: 25:[1, 26] Operation: 66-40=26 Exploring Operation: 66-1=65, Resulting Numbers: [40, 65] Generated Node #0,2,2: 25:[40, 65] Operation: 66-1=65 Moving to Node #0,1 Current State: 25:[25, 40, 90], Operations: ['91-1=90'] Exploring Operation: 90-40=50, Resulting Numbers: [25, 50] Generated Node #0,1,0: 25:[25, 50] Operation: 90-40=50 Exploring Operation: 90-25=65, Resulting Numbers: [40, 65] Generated Node #0,1,1: 25:[40, 65] Operation: 90-25=65 Exploring Operation: 40-25=15, Resulting Numbers: [90, 15] Generated Node #0,1,2: 25:[90, 15] Operation: 40-25=15 Moving to Node #0,0,2 Current State: 25:[1, 26], Operations: ['91-40=51', '51-25=26'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[91, 1, 25, 40], Operations: [] Exploring Operation: 91-40=51, Resulting Numbers: [1, 25, 51] Generated Node #0,0: 25:[1, 25, 51] Operation: 91-40=51 Moving to Node #0,0 Current State: 25:[1, 25, 51], Operations: ['91-40=51'] Exploring Operation: 51-25=26, Resulting Numbers: [1, 26] Generated Node #0,0,2: 25:[1, 26] Operation: 51-25=26 Moving to Node #0,0,2 Current State: 25:[1, 26], Operations: ['91-40=51', '51-25=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.983507
hs_3
mult_heuristic
[ 97, 11, 22, 69 ]
66
[ "97-22=75", "75-69=6", "11*6=66" ]
Current State: 66:[97, 11, 22, 69], Operations: [] Exploring Operation: 97-22=75, Resulting Numbers: [11, 69, 75] Generated Node #2: [11, 69, 75] from Operation: 97-22=75 Current State: 66:[11, 69, 75], Operations: ['97-22=75'] Exploring Operation: 75-69=6, Resulting Numbers: [11, 6] Generated Node #3: [11, 6] from Operation: 75-69=6 Current State: 66:[11, 6], Operations: ['97-22=75', '75-69=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[97, 11, 22, 69], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [11, 22, 28] Generated Node #0,0: 66:[11, 22, 28] Operation: 97-69=28 Moving to Node #0,0 Current State: 66:[11, 22, 28], Operations: ['97-69=28'] Exploring Operation: 28-22=6, Resulting Numbers: [11, 6] Generated Node #0,0,0: 66:[11, 6] Operation: 28-22=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[11, 6], Operations: ['97-69=28', '28-22=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[97, 11, 22, 69], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [11, 22, 28] Generated Node #0,0: 66:[11, 22, 28] Operation: 97-69=28 Moving to Node #0,0 Current State: 66:[11, 22, 28], Operations: ['97-69=28'] Exploring Operation: 28-22=6, Resulting Numbers: [11, 6] Generated Node #0,0,0: 66:[11, 6] Operation: 28-22=6 Moving to Node #0,0,0 Current State: 66:[11, 6], Operations: ['97-69=28', '28-22=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 70, 24, 22, 26 ]
12
[ "70-26=44", "24*22=528", "528/44=12" ]
Current State: 12:[70, 24, 22, 26], Operations: [] Exploring Operation: 70-26=44, Resulting Numbers: [24, 22, 44] Generated Node #2: [24, 22, 44] from Operation: 70-26=44 Current State: 12:[24, 22, 44], Operations: ['70-26=44'] Exploring Operation: 24*22=528, Resulting Numbers: [44, 528] Generated Node #3: [44, 528] from Operation: 24*22=528 Current State: 12:[44, 528], Operations: ['70-26=44', '24*22=528'] Exploring Operation: 528/44=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[70, 24, 22, 26], Operations: [] Exploring Operation: 70-24=46, Resulting Numbers: [22, 26, 46] Generated Node #0,0: 12:[22, 26, 46] Operation: 70-24=46 Exploring Operation: 70-26=44, Resulting Numbers: [24, 22, 44] Generated Node #0,1: 12:[24, 22, 44] Operation: 70-26=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[24, 22, 44], Operations: ['70-26=44'] Exploring Operation: 44/22=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 12:[24, 2] Operation: 44/22=2 Exploring Operation: 44-24=20, Resulting Numbers: [22, 20] Generated Node #0,1,1: 12:[22, 20] Operation: 44-24=20 Moving to Node #0,1,0 Current State: 12:[24, 2], Operations: ['70-26=44', '44/22=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[70, 24, 22, 26], Operations: [] Exploring Operation: 70-26=44, Resulting Numbers: [24, 22, 44] Generated Node #0,1: 12:[24, 22, 44] Operation: 70-26=44 Moving to Node #0,1 Current State: 12:[24, 22, 44], Operations: ['70-26=44'] Exploring Operation: 44/22=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 12:[24, 2] Operation: 44/22=2 Moving to Node #0,1,0 Current State: 12:[24, 2], Operations: ['70-26=44', '44/22=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 18, 48, 71, 78 ]
78
[ "48+78=126", "126/18=7", "71+7=78" ]
Current State: 78:[18, 48, 71, 78], Operations: [] Exploring Operation: 48+78=126, Resulting Numbers: [18, 71, 126] Generated Node #2: [18, 71, 126] from Operation: 48+78=126 Current State: 78:[18, 71, 126], Operations: ['48+78=126'] Exploring Operation: 126/18=7, Resulting Numbers: [71, 7] Generated Node #3: [71, 7] from Operation: 126/18=7 Current State: 78:[71, 7], Operations: ['48+78=126', '126/18=7'] Exploring Operation: 71+7=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[18, 48, 71, 78], Operations: [] Exploring Operation: 71-48=23, Resulting Numbers: [18, 78, 23] Generated Node #0,0: 78:[18, 78, 23] Operation: 71-48=23 Exploring Operation: 48-18=30, Resulting Numbers: [71, 78, 30] Generated Node #0,1: 78:[71, 78, 30] Operation: 48-18=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[18, 78, 23], Operations: ['71-48=23'] Exploring Operation: 18+23=41, Resulting Numbers: [78, 41] Generated Node #0,0,0: 78:[78, 41] Operation: 18+23=41 Exploring Operation: 23-18=5, Resulting Numbers: [78, 5] Generated Node #0,0,1: 78:[78, 5] Operation: 23-18=5 Moving to Node #0,0,1 Current State: 78:[78, 5], Operations: ['71-48=23', '23-18=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,78 unequal: No Solution Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[78, 41], Operations: ['71-48=23', '18+23=41'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,78 unequal: No Solution No 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: 78:[71, 78, 30], Operations: ['48-18=30'] Exploring Operation: 78-71=7, Resulting Numbers: [30, 7] Generated Node #0,1,0: 78:[30, 7] Operation: 78-71=7 Exploring Operation: 71-30=41, Resulting Numbers: [78, 41] Generated Node #0,1,1: 78:[78, 41] Operation: 71-30=41 Moving to Node #0,1,1 Current State: 78:[78, 41], Operations: ['48-18=30', '71-30=41'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[30, 7], Operations: ['48-18=30', '78-71=7'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,78 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,78 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
[ 63, 18, 87, 90 ]
19
[ "87-63=24", "90/18=5", "24-5=19" ]
Current State: 19:[63, 18, 87, 90], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [18, 90, 24] Generated Node #2: [18, 90, 24] from Operation: 87-63=24 Current State: 19:[18, 90, 24], Operations: ['87-63=24'] Exploring Operation: 90/18=5, Resulting Numbers: [24, 5] Generated Node #3: [24, 5] from Operation: 90/18=5 Current State: 19:[24, 5], Operations: ['87-63=24', '90/18=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[63, 18, 87, 90], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [63, 18, 3] Generated Node #0,0: 19:[63, 18, 3] Operation: 90-87=3 Exploring Operation: 63-18=45, Resulting Numbers: [87, 90, 45] Generated Node #0,1: 19:[87, 90, 45] Operation: 63-18=45 Exploring Operation: 90/18=5, Resulting Numbers: [63, 87, 5] Generated Node #0,2: 19:[63, 87, 5] Operation: 90/18=5 Exploring Operation: 90-63=27, Resulting Numbers: [18, 87, 27] Generated Node #0,3: 19:[18, 87, 27] Operation: 90-63=27 Exploring Operation: 87-63=24, Resulting Numbers: [18, 90, 24] Generated Node #0,4: 19:[18, 90, 24] Operation: 87-63=24 Moving to Node #0,0 Current State: 19:[63, 18, 3], Operations: ['90-87=3'] Exploring Operation: 63/3=21, Resulting Numbers: [18, 21] Generated Node #0,0,0: 19:[18, 21] Operation: 63/3=21 Exploring Operation: 63-3=60, Resulting Numbers: [18, 60] Generated Node #0,0,1: 19:[18, 60] Operation: 63-3=60 Exploring Operation: 18+3=21, Resulting Numbers: [63, 21] Generated Node #0,0,2: 19:[63, 21] Operation: 18+3=21 Exploring Operation: 63+3=66, Resulting Numbers: [18, 66] Generated Node #0,0,3: 19:[18, 66] Operation: 63+3=66 Exploring Operation: 63-18=45, Resulting Numbers: [3, 45] Generated Node #0,0,4: 19:[3, 45] Operation: 63-18=45 Moving to Node #0,4 Current State: 19:[18, 90, 24], Operations: ['87-63=24'] Exploring Operation: 24-18=6, Resulting Numbers: [90, 6] Generated Node #0,4,0: 19:[90, 6] Operation: 24-18=6 Exploring Operation: 90-18=72, Resulting Numbers: [24, 72] Generated Node #0,4,1: 19:[24, 72] Operation: 90-18=72 Exploring Operation: 90/18=5, Resulting Numbers: [24, 5] Generated Node #0,4,2: 19:[24, 5] Operation: 90/18=5 Exploring Operation: 18+90=108, Resulting Numbers: [24, 108] Generated Node #0,4,3: 19:[24, 108] Operation: 18+90=108 Exploring Operation: 90-24=66, Resulting Numbers: [18, 66] Generated Node #0,4,4: 19:[18, 66] Operation: 90-24=66 Moving to Node #0,3 Current State: 19:[18, 87, 27], Operations: ['90-63=27'] Exploring Operation: 87-18=69, Resulting Numbers: [27, 69] Generated Node #0,3,0: 19:[27, 69] Operation: 87-18=69 Exploring Operation: 87-27=60, Resulting Numbers: [18, 60] Generated Node #0,3,1: 19:[18, 60] Operation: 87-27=60 Exploring Operation: 27-18=9, Resulting Numbers: [87, 9] Generated Node #0,3,2: 19:[87, 9] Operation: 27-18=9 Exploring Operation: 18+27=45, Resulting Numbers: [87, 45] Generated Node #0,3,3: 19:[87, 45] Operation: 18+27=45 Exploring Operation: 18+87=105, Resulting Numbers: [27, 105] Generated Node #0,3,4: 19:[27, 105] Operation: 18+87=105 Moving to Node #0,2 Current State: 19:[63, 87, 5], Operations: ['90/18=5'] Exploring Operation: 87-63=24, Resulting Numbers: [5, 24] Generated Node #0,2,0: 19:[5, 24] Operation: 87-63=24 Exploring Operation: 63-5=58, Resulting Numbers: [87, 58] Generated Node #0,2,1: 19:[87, 58] Operation: 63-5=58 Exploring Operation: 63+5=68, Resulting Numbers: [87, 68] Generated Node #0,2,2: 19:[87, 68] Operation: 63+5=68 Exploring Operation: 87-5=82, Resulting Numbers: [63, 82] Generated Node #0,2,3: 19:[63, 82] Operation: 87-5=82 Exploring Operation: 87+5=92, Resulting Numbers: [63, 92] Generated Node #0,2,4: 19:[63, 92] Operation: 87+5=92 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[5, 24], Operations: ['90/18=5', '87-63=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,19 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[63, 18, 87, 90], Operations: [] Exploring Operation: 90/18=5, Resulting Numbers: [63, 87, 5] Generated Node #0,2: 19:[63, 87, 5] Operation: 90/18=5 Moving to Node #0,2 Current State: 19:[63, 87, 5], Operations: ['90/18=5'] Exploring Operation: 87-63=24, Resulting Numbers: [5, 24] Generated Node #0,2,0: 19:[5, 24] Operation: 87-63=24 Moving to Node #0,2,0 Current State: 19:[5, 24], Operations: ['90/18=5', '87-63=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_5
sum_heuristic
[ 66, 81, 88, 8 ]
51
[ "66+81=147", "88+8=96", "147-96=51" ]
Current State: 51:[66, 81, 88, 8], Operations: [] Exploring Operation: 66+81=147, Resulting Numbers: [88, 8, 147] Generated Node #2: [88, 8, 147] from Operation: 66+81=147 Current State: 51:[88, 8, 147], Operations: ['66+81=147'] Exploring Operation: 88+8=96, Resulting Numbers: [147, 96] Generated Node #3: [147, 96] from Operation: 88+8=96 Current State: 51:[147, 96], Operations: ['66+81=147', '88+8=96'] Exploring Operation: 147-96=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[66, 81, 88, 8], Operations: [] Exploring Operation: 88-66=22, Resulting Numbers: [81, 8, 22] Generated Node #0,0: 51:[81, 8, 22] Operation: 88-66=22 Exploring Operation: 88-81=7, Resulting Numbers: [66, 8, 7] Generated Node #0,1: 51:[66, 8, 7] Operation: 88-81=7 Moving to Node #0,1 Current State: 51:[66, 8, 7], Operations: ['88-81=7'] Exploring Operation: 66-8=58, Resulting Numbers: [7, 58] Generated Node #0,1,0: 51:[7, 58] Operation: 66-8=58 Exploring Operation: 66-7=59, Resulting Numbers: [8, 59] Generated Node #0,1,1: 51:[8, 59] Operation: 66-7=59 Moving to Node #0,0 Current State: 51:[81, 8, 22], Operations: ['88-66=22'] Exploring Operation: 81-8=73, Resulting Numbers: [22, 73] Generated Node #0,0,0: 51:[22, 73] Operation: 81-8=73 Exploring Operation: 81-22=59, Resulting Numbers: [8, 59] Generated Node #0,0,1: 51:[8, 59] Operation: 81-22=59 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[8, 59], Operations: ['88-66=22', '81-22=59'] Exploring Operation: 8+59=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[66, 81, 88, 8], Operations: [] Exploring Operation: 88-66=22, Resulting Numbers: [81, 8, 22] Generated Node #0,0: 51:[81, 8, 22] Operation: 88-66=22 Moving to Node #0,0 Current State: 51:[81, 8, 22], Operations: ['88-66=22'] Exploring Operation: 81-22=59, Resulting Numbers: [8, 59] Generated Node #0,0,1: 51:[8, 59] Operation: 81-22=59 Moving to Node #0,0,1 Current State: 51:[8, 59], Operations: ['88-66=22', '81-22=59'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 64, 97, 52, 14 ]
99
[ "97-64=33", "52+14=66", "33+66=99" ]
Current State: 99:[64, 97, 52, 14], Operations: [] Exploring Operation: 97-64=33, Resulting Numbers: [52, 14, 33] Generated Node #2: [52, 14, 33] from Operation: 97-64=33 Current State: 99:[52, 14, 33], Operations: ['97-64=33'] Exploring Operation: 52+14=66, Resulting Numbers: [33, 66] Generated Node #3: [33, 66] from Operation: 52+14=66 Current State: 99:[33, 66], Operations: ['97-64=33', '52+14=66'] Exploring Operation: 33+66=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[64, 97, 52, 14], Operations: [] Exploring Operation: 97-64=33, Resulting Numbers: [52, 14, 33] Generated Node #0,0: 99:[52, 14, 33] Operation: 97-64=33 Exploring Operation: 52-14=38, Resulting Numbers: [64, 97, 38] Generated Node #0,1: 99:[64, 97, 38] Operation: 52-14=38 Exploring Operation: 64+52=116, Resulting Numbers: [97, 14, 116] Generated Node #0,2: 99:[97, 14, 116] Operation: 64+52=116 Exploring Operation: 64-52=12, Resulting Numbers: [97, 14, 12] Generated Node #0,3: 99:[97, 14, 12] Operation: 64-52=12 Exploring Operation: 64-14=50, Resulting Numbers: [97, 52, 50] Generated Node #0,4: 99:[97, 52, 50] Operation: 64-14=50 Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[97, 14, 12], Operations: ['64-52=12'] Exploring Operation: 97+14=111, Resulting Numbers: [12, 111] Generated Node #0,3,0: 99:[12, 111] Operation: 97+14=111 Exploring Operation: 14-12=2, Resulting Numbers: [97, 2] Generated Node #0,3,1: 99:[97, 2] Operation: 14-12=2 Exploring Operation: 97-14=83, Resulting Numbers: [12, 83] Generated Node #0,3,2: 99:[12, 83] Operation: 97-14=83 Exploring Operation: 14+12=26, Resulting Numbers: [97, 26] Generated Node #0,3,3: 99:[97, 26] Operation: 14+12=26 Exploring Operation: 97+12=109, Resulting Numbers: [14, 109] Generated Node #0,3,4: 99:[14, 109] Operation: 97+12=109 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 99:[97, 2], Operations: ['64-52=12', '14-12=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,99 unequal: No Solution Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[64, 97, 52, 14], Operations: [] Exploring Operation: 64-52=12, Resulting Numbers: [97, 14, 12] Generated Node #0,3: 99:[97, 14, 12] Operation: 64-52=12 Moving to Node #0,3 Current State: 99:[97, 14, 12], Operations: ['64-52=12'] Exploring Operation: 14-12=2, Resulting Numbers: [97, 2] Generated Node #0,3,1: 99:[97, 2] Operation: 14-12=2 Moving to Node #0,3,1 Current State: 99:[97, 2], Operations: ['64-52=12', '14-12=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 3, 45, 91, 46 ]
93
[ "3+45=48", "91-46=45", "48+45=93" ]
Current State: 93:[3, 45, 91, 46], Operations: [] Exploring Operation: 3+45=48, Resulting Numbers: [91, 46, 48] Generated Node #2: [91, 46, 48] from Operation: 3+45=48 Current State: 93:[91, 46, 48], Operations: ['3+45=48'] Exploring Operation: 91-46=45, Resulting Numbers: [48, 45] Generated Node #3: [48, 45] from Operation: 91-46=45 Current State: 93:[48, 45], Operations: ['3+45=48', '91-46=45'] Exploring Operation: 48+45=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[3, 45, 91, 46], Operations: [] Exploring Operation: 45+46=91, Resulting Numbers: [3, 91, 91] Generated Node #0,0: 93:[3, 91, 91] Operation: 45+46=91 Exploring Operation: 46-45=1, Resulting Numbers: [3, 91, 1] Generated Node #0,1: 93:[3, 91, 1] Operation: 46-45=1 Exploring Operation: 91-46=45, Resulting Numbers: [3, 45, 45] Generated Node #0,2: 93:[3, 45, 45] Operation: 91-46=45 Exploring Operation: 46-3=43, Resulting Numbers: [45, 91, 43] Generated Node #0,3: 93:[45, 91, 43] Operation: 46-3=43 Exploring Operation: 45-3=42, Resulting Numbers: [91, 46, 42] Generated Node #0,4: 93:[91, 46, 42] Operation: 45-3=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[3, 91, 91], Operations: ['45+46=91'] Exploring Operation: 91-3=88, Resulting Numbers: [91, 88] Generated Node #0,0,0: 93:[91, 88] Operation: 91-3=88 Exploring Operation: 3+91=94, Resulting Numbers: [91, 94] Generated Node #0,0,1: 93:[91, 94] Operation: 3+91=94 Exploring Operation: 91/91=1, Resulting Numbers: [3, 1] Generated Node #0,0,2: 93:[3, 1] Operation: 91/91=1 Exploring Operation: 91-91=0, Resulting Numbers: [3, 0] Generated Node #0,0,3: 93:[3, 0] Operation: 91-91=0 Exploring Operation: 3+91=94, Resulting Numbers: [91, 94] Generated Node #0,0,4: 93:[91, 94] Operation: 3+91=94 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 93:[3, 1], Operations: ['45+46=91', '91/91=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,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:[91, 94], Operations: ['45+46=91', '3+91=94'] Exploring Operation: 91+94=185, Resulting Numbers: [185] 185,93 unequal: No Solution Exploring Operation: 91*94=8554, Resulting Numbers: [8554] 8554,93 unequal: No Solution Exploring Operation: 94-91=3, Resulting Numbers: [3] 3,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,3 Current State: 93:[3, 0], Operations: ['45+46=91', '91-91=0'] Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,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,4 Current State: 93:[91, 94], Operations: ['45+46=91', '3+91=94'] Exploring Operation: 91*94=8554, Resulting Numbers: [8554] 8554,93 unequal: No Solution Exploring Operation: 91+94=185, Resulting Numbers: [185] 185,93 unequal: No Solution Exploring Operation: 94-91=3, Resulting Numbers: [3] 3,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:[91, 88], Operations: ['45+46=91', '91-3=88'] Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 91+88=179, Resulting Numbers: [179] 179,93 unequal: No Solution Exploring Operation: 91*88=8008, Resulting Numbers: [8008] 8008,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:[3, 91, 1], Operations: ['46-45=1'] Exploring Operation: 3/1=3, Resulting Numbers: [91, 3] Generated Node #0,1,0: 93:[91, 3] Operation: 3/1=3 Exploring Operation: 3*1=3, Resulting Numbers: [91, 3] Generated Node #0,1,1: 93:[91, 3] Operation: 3*1=3 Exploring Operation: 91+1=92, Resulting Numbers: [3, 92] Generated Node #0,1,2: 93:[3, 92] Operation: 91+1=92 Exploring Operation: 91*1=91, Resulting Numbers: [3, 91] Generated Node #0,1,3: 93:[3, 91] Operation: 91*1=91 Exploring Operation: 91/1=91, Resulting Numbers: [3, 91] Generated Node #0,1,4: 93:[3, 91] Operation: 91/1=91 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[3, 92], Operations: ['46-45=1', '91+1=92'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,93 unequal: No Solution Exploring Operation: 3*92=276, Resulting Numbers: [276] 276,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,0 Current State: 93:[91, 3], Operations: ['46-45=1', '3/1=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,93 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,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:[91, 3], Operations: ['46-45=1', '3*1=3'] Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,93 unequal: No Solution Exploring Operation: 91-3=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,3 Current State: 93:[3, 91], Operations: ['46-45=1', '91*1=91'] Exploring Operation: 3*91=273, Resulting Numbers: [273] 273,93 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,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,4 Current State: 93:[3, 91], Operations: ['46-45=1', '91/1=91'] Exploring Operation: 3*91=273, Resulting Numbers: [273] 273,93 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,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:[3, 45, 45], Operations: ['91-46=45'] Exploring Operation: 45-3=42, Resulting Numbers: [45, 42] Generated Node #0,2,0: 93:[45, 42] Operation: 45-3=42 Exploring Operation: 45+45=90, Resulting Numbers: [3, 90] Generated Node #0,2,1: 93:[3, 90] Operation: 45+45=90 Exploring Operation: 45-3=42, Resulting Numbers: [45, 42] Generated Node #0,2,2: 93:[45, 42] Operation: 45-3=42 Exploring Operation: 45-45=0, Resulting Numbers: [3, 0] Generated Node #0,2,3: 93:[3, 0] Operation: 45-45=0 Exploring Operation: 45/45=1, Resulting Numbers: [3, 1] Generated Node #0,2,4: 93:[3, 1] Operation: 45/45=1 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 93:[3, 1], Operations: ['91-46=45', '45/45=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,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:[3, 90], Operations: ['91-46=45', '45+45=90'] Exploring Operation: 3+90=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[3, 45, 91, 46], Operations: [] Exploring Operation: 91-46=45, Resulting Numbers: [3, 45, 45] Generated Node #0,2: 93:[3, 45, 45] Operation: 91-46=45 Moving to Node #0,2 Current State: 93:[3, 45, 45], Operations: ['91-46=45'] Exploring Operation: 45+45=90, Resulting Numbers: [3, 90] Generated Node #0,2,1: 93:[3, 90] Operation: 45+45=90 Moving to Node #0,2,1 Current State: 93:[3, 90], Operations: ['91-46=45', '45+45=90'] Exploring Operation: 3+90=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.947917
hs_5
sum_heuristic
[ 81, 72, 84, 44 ]
60
[ "84-81=3", "44*3=132", "132-72=60" ]
Current State: 60:[81, 72, 84, 44], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [72, 44, 3] Generated Node #2: [72, 44, 3] from Operation: 84-81=3 Current State: 60:[72, 44, 3], Operations: ['84-81=3'] Exploring Operation: 44*3=132, Resulting Numbers: [72, 132] Generated Node #3: [72, 132] from Operation: 44*3=132 Current State: 60:[72, 132], Operations: ['84-81=3', '44*3=132'] Exploring Operation: 132-72=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[81, 72, 84, 44], Operations: [] Exploring Operation: 84-44=40, Resulting Numbers: [81, 72, 40] Generated Node #0,0: 60:[81, 72, 40] Operation: 84-44=40 Exploring Operation: 81-44=37, Resulting Numbers: [72, 84, 37] Generated Node #0,1: 60:[72, 84, 37] Operation: 81-44=37 Exploring Operation: 81-72=9, Resulting Numbers: [84, 44, 9] Generated Node #0,2: 60:[84, 44, 9] Operation: 81-72=9 Exploring Operation: 84-72=12, Resulting Numbers: [81, 44, 12] Generated Node #0,3: 60:[81, 44, 12] Operation: 84-72=12 Exploring Operation: 84-81=3, Resulting Numbers: [72, 44, 3] Generated Node #0,4: 60:[72, 44, 3] Operation: 84-81=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 60:[72, 44, 3], Operations: ['84-81=3'] Exploring Operation: 72/3=24, Resulting Numbers: [44, 24] Generated Node #0,4,0: 60:[44, 24] Operation: 72/3=24 Exploring Operation: 72-3=69, Resulting Numbers: [44, 69] Generated Node #0,4,1: 60:[44, 69] Operation: 72-3=69 Exploring Operation: 72-44=28, Resulting Numbers: [3, 28] Generated Node #0,4,2: 60:[3, 28] Operation: 72-44=28 Exploring Operation: 44+3=47, Resulting Numbers: [72, 47] Generated Node #0,4,3: 60:[72, 47] Operation: 44+3=47 Exploring Operation: 44-3=41, Resulting Numbers: [72, 41] Generated Node #0,4,4: 60:[72, 41] Operation: 44-3=41 Moving to Node #0,4,2 Current State: 60:[3, 28], Operations: ['84-81=3', '72-44=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,60 unequal: No Solution Moving to Node #0,4,0 Current State: 60:[44, 24], Operations: ['84-81=3', '72/3=24'] Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,60 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,60 unequal: No Solution Moving to Node #0,4,1 Current State: 60:[44, 69], Operations: ['84-81=3', '72-3=69'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 44*69=3036, Resulting Numbers: [3036] 3036,60 unequal: No Solution Exploring Operation: 44+69=113, Resulting Numbers: [113] 113,60 unequal: No Solution Moving to Node #0,4,4 Current State: 60:[72, 41], Operations: ['84-81=3', '44-3=41'] Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,60 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,60 unequal: No Solution Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,60 unequal: No Solution Moving to Node #0,4,3 Current State: 60:[72, 47], Operations: ['84-81=3', '44+3=47'] Exploring Operation: 72*47=3384, Resulting Numbers: [3384] 3384,60 unequal: No Solution Exploring Operation: 72+47=119, Resulting Numbers: [119] 119,60 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,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,3 Current State: 60:[81, 44, 12], Operations: ['84-72=12'] Exploring Operation: 81+12=93, Resulting Numbers: [44, 93] Generated Node #0,3,0: 60:[44, 93] Operation: 81+12=93 Exploring Operation: 81-44=37, Resulting Numbers: [12, 37] Generated Node #0,3,1: 60:[12, 37] Operation: 81-44=37 Exploring Operation: 81-12=69, Resulting Numbers: [44, 69] Generated Node #0,3,2: 60:[44, 69] Operation: 81-12=69 Exploring Operation: 44-12=32, Resulting Numbers: [81, 32] Generated Node #0,3,3: 60:[81, 32] Operation: 44-12=32 Exploring Operation: 44+12=56, Resulting Numbers: [81, 56] Generated Node #0,3,4: 60:[81, 56] Operation: 44+12=56 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 60:[12, 37], Operations: ['84-72=12', '81-44=37'] Exploring Operation: 12*37=444, Resulting Numbers: [444] 444,60 unequal: No Solution Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,60 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,60 unequal: No Solution No 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: 60:[44, 69], Operations: ['84-72=12', '81-12=69'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 44+69=113, Resulting Numbers: [113] 113,60 unequal: No Solution Exploring Operation: 44*69=3036, Resulting Numbers: [3036] 3036,60 unequal: No Solution No 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: 60:[81, 32], Operations: ['84-72=12', '44-12=32'] Exploring Operation: 81+32=113, Resulting Numbers: [113] 113,60 unequal: No Solution Exploring Operation: 81*32=2592, Resulting Numbers: [2592] 2592,60 unequal: No Solution Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,60 unequal: No Solution No 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: 60:[81, 56], Operations: ['84-72=12', '44+12=56'] Exploring Operation: 81+56=137, Resulting Numbers: [137] 137,60 unequal: No Solution Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 81*56=4536, Resulting Numbers: [4536] 4536,60 unequal: No Solution No 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: 60:[44, 93], Operations: ['84-72=12', '81+12=93'] Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,60 unequal: No Solution Exploring Operation: 44+93=137, Resulting Numbers: [137] 137,60 unequal: No Solution Exploring Operation: 44*93=4092, Resulting Numbers: [4092] 4092,60 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: 60:[84, 44, 9], Operations: ['81-72=9'] Exploring Operation: 84-44=40, Resulting Numbers: [9, 40] Generated Node #0,2,0: 60:[9, 40] Operation: 84-44=40 Exploring Operation: 44-9=35, Resulting Numbers: [84, 35] Generated Node #0,2,1: 60:[84, 35] Operation: 44-9=35 Exploring Operation: 44+9=53, Resulting Numbers: [84, 53] Generated Node #0,2,2: 60:[84, 53] Operation: 44+9=53 Exploring Operation: 84-9=75, Resulting Numbers: [44, 75] Generated Node #0,2,3: 60:[44, 75] Operation: 84-9=75 Exploring Operation: 84+9=93, Resulting Numbers: [44, 93] Generated Node #0,2,4: 60:[44, 93] Operation: 84+9=93 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[9, 40], Operations: ['81-72=9', '84-44=40'] Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,60 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,60 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,60 unequal: No Solution No 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: 60:[84, 35], Operations: ['81-72=9', '44-9=35'] Exploring Operation: 84*35=2940, Resulting Numbers: [2940] 2940,60 unequal: No Solution Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,60 unequal: No Solution Exploring Operation: 84+35=119, Resulting Numbers: [119] 119,60 unequal: No Solution No 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: 60:[44, 75], Operations: ['81-72=9', '84-9=75'] Exploring Operation: 44*75=3300, Resulting Numbers: [3300] 3300,60 unequal: No Solution Exploring Operation: 75-44=31, Resulting Numbers: [31] 31,60 unequal: No Solution Exploring Operation: 44+75=119, Resulting Numbers: [119] 119,60 unequal: No Solution No 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: 60:[84, 53], Operations: ['81-72=9', '44+9=53'] Exploring Operation: 84+53=137, Resulting Numbers: [137] 137,60 unequal: No Solution Exploring Operation: 84*53=4452, Resulting Numbers: [4452] 4452,60 unequal: No Solution Exploring Operation: 84-53=31, Resulting Numbers: [31] 31,60 unequal: No Solution No 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: 60:[44, 93], Operations: ['81-72=9', '84+9=93'] Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,60 unequal: No Solution Exploring Operation: 44*93=4092, Resulting Numbers: [4092] 4092,60 unequal: No Solution Exploring Operation: 44+93=137, Resulting Numbers: [137] 137,60 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: 60:[81, 72, 40], Operations: ['84-44=40'] Exploring Operation: 81-72=9, Resulting Numbers: [40, 9] Generated Node #0,0,0: 60:[40, 9] Operation: 81-72=9 Exploring Operation: 81+40=121, Resulting Numbers: [72, 121] Generated Node #0,0,1: 60:[72, 121] Operation: 81+40=121 Exploring Operation: 81-40=41, Resulting Numbers: [72, 41] Generated Node #0,0,2: 60:[72, 41] Operation: 81-40=41 Exploring Operation: 72+40=112, Resulting Numbers: [81, 112] Generated Node #0,0,3: 60:[81, 112] Operation: 72+40=112 Exploring Operation: 72-40=32, Resulting Numbers: [81, 32] Generated Node #0,0,4: 60:[81, 32] Operation: 72-40=32 Moving to Node #0,0,0 Current State: 60:[40, 9], Operations: ['84-44=40', '81-72=9'] Exploring Operation: 40*9=360, Resulting Numbers: [360] 360,60 unequal: No Solution Exploring Operation: 40+9=49, Resulting Numbers: [49] 49,60 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,60 unequal: No Solution Moving to Node #0,0,4 Current State: 60:[81, 32], Operations: ['84-44=40', '72-40=32'] Exploring Operation: 81+32=113, Resulting Numbers: [113] 113,60 unequal: No Solution Exploring Operation: 81*32=2592, Resulting Numbers: [2592] 2592,60 unequal: No Solution Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[72, 41], Operations: ['84-44=40', '81-40=41'] Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,60 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,60 unequal: No Solution Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[72, 121], Operations: ['84-44=40', '81+40=121'] Exploring Operation: 121-72=49, Resulting Numbers: [49] 49,60 unequal: No Solution Exploring Operation: 72*121=8712, Resulting Numbers: [8712] 8712,60 unequal: No Solution Exploring Operation: 72+121=193, Resulting Numbers: [193] 193,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[81, 112], Operations: ['84-44=40', '72+40=112'] Exploring Operation: 112-81=31, Resulting Numbers: [31] 31,60 unequal: No Solution Exploring Operation: 81*112=9072, Resulting Numbers: [9072] 9072,60 unequal: No Solution Exploring Operation: 81+112=193, Resulting Numbers: [193] 193,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[72, 84, 37], Operations: ['81-44=37'] Exploring Operation: 84-37=47, Resulting Numbers: [72, 47] Generated Node #0,1,0: 60:[72, 47] Operation: 84-37=47 Exploring Operation: 72-37=35, Resulting Numbers: [84, 35] Generated Node #0,1,1: 60:[84, 35] Operation: 72-37=35 Exploring Operation: 84+37=121, Resulting Numbers: [72, 121] Generated Node #0,1,2: 60:[72, 121] Operation: 84+37=121 Exploring Operation: 72+37=109, Resulting Numbers: [84, 109] Generated Node #0,1,3: 60:[84, 109] Operation: 72+37=109 Exploring Operation: 84-72=12, Resulting Numbers: [37, 12] Generated Node #0,1,4: 60:[37, 12] Operation: 84-72=12 Moving to Node #0,1,4 Current State: 60:[37, 12], Operations: ['81-44=37', '84-72=12'] Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,60 unequal: No Solution Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,60 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[72, 47], Operations: ['81-44=37', '84-37=47'] Exploring Operation: 72+47=119, Resulting Numbers: [119] 119,60 unequal: No Solution Exploring Operation: 72*47=3384, Resulting Numbers: [3384] 3384,60 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[84, 35], Operations: ['81-44=37', '72-37=35'] Exploring Operation: 84*35=2940, Resulting Numbers: [2940] 2940,60 unequal: No Solution Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,60 unequal: No Solution Exploring Operation: 84+35=119, Resulting Numbers: [119] 119,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[72, 121], Operations: ['81-44=37', '84+37=121'] Exploring Operation: 121-72=49, Resulting Numbers: [49] 49,60 unequal: No Solution Exploring Operation: 72*121=8712, Resulting Numbers: [8712] 8712,60 unequal: No Solution Exploring Operation: 72+121=193, Resulting Numbers: [193] 193,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[84, 109], Operations: ['81-44=37', '72+37=109'] Exploring Operation: 109-84=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 84*109=9156, Resulting Numbers: [9156] 9156,60 unequal: No Solution Exploring Operation: 84+109=193, Resulting Numbers: [193] 193,60 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
[ 40, 63, 24, 4 ]
51
[ "63-40=23", "24+4=28", "23+28=51" ]
Current State: 51:[40, 63, 24, 4], Operations: [] Exploring Operation: 63-40=23, Resulting Numbers: [24, 4, 23] Generated Node #2: [24, 4, 23] from Operation: 63-40=23 Current State: 51:[24, 4, 23], Operations: ['63-40=23'] Exploring Operation: 24+4=28, Resulting Numbers: [23, 28] Generated Node #3: [23, 28] from Operation: 24+4=28 Current State: 51:[23, 28], Operations: ['63-40=23', '24+4=28'] Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[40, 63, 24, 4], Operations: [] Exploring Operation: 40+24=64, Resulting Numbers: [63, 4, 64] Generated Node #0,0: 51:[63, 4, 64] Operation: 40+24=64 Exploring Operation: 63-24=39, Resulting Numbers: [40, 4, 39] Generated Node #0,1: 51:[40, 4, 39] Operation: 63-24=39 Exploring Operation: 40-24=16, Resulting Numbers: [63, 4, 16] Generated Node #0,2: 51:[63, 4, 16] Operation: 40-24=16 Exploring Operation: 63-40=23, Resulting Numbers: [24, 4, 23] Generated Node #0,3: 51:[24, 4, 23] Operation: 63-40=23 Exploring Operation: 40+4=44, Resulting Numbers: [63, 24, 44] Generated Node #0,4: 51:[63, 24, 44] Operation: 40+4=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[63, 4, 16], Operations: ['40-24=16'] Exploring Operation: 63+4=67, Resulting Numbers: [16, 67] Generated Node #0,2,0: 51:[16, 67] Operation: 63+4=67 Exploring Operation: 4+16=20, Resulting Numbers: [63, 20] Generated Node #0,2,1: 51:[63, 20] Operation: 4+16=20 Exploring Operation: 63-4=59, Resulting Numbers: [16, 59] Generated Node #0,2,2: 51:[16, 59] Operation: 63-4=59 Exploring Operation: 16/4=4, Resulting Numbers: [63, 4] Generated Node #0,2,3: 51:[63, 4] Operation: 16/4=4 Exploring Operation: 63-16=47, Resulting Numbers: [4, 47] Generated Node #0,2,4: 51:[4, 47] Operation: 63-16=47 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 51:[4, 47], Operations: ['40-24=16', '63-16=47'] Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,51 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[40, 63, 24, 4], Operations: [] Exploring Operation: 40-24=16, Resulting Numbers: [63, 4, 16] Generated Node #0,2: 51:[63, 4, 16] Operation: 40-24=16 Moving to Node #0,2 Current State: 51:[63, 4, 16], Operations: ['40-24=16'] Exploring Operation: 63-16=47, Resulting Numbers: [4, 47] Generated Node #0,2,4: 51:[4, 47] Operation: 63-16=47 Moving to Node #0,2,4 Current State: 51:[4, 47], Operations: ['40-24=16', '63-16=47'] Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 84, 96, 19, 36 ]
21
[ "84-36=48", "96/48=2", "19+2=21" ]
Current State: 21:[84, 96, 19, 36], Operations: [] Exploring Operation: 84-36=48, Resulting Numbers: [96, 19, 48] Generated Node #2: [96, 19, 48] from Operation: 84-36=48 Current State: 21:[96, 19, 48], Operations: ['84-36=48'] Exploring Operation: 96/48=2, Resulting Numbers: [19, 2] Generated Node #3: [19, 2] from Operation: 96/48=2 Current State: 21:[19, 2], Operations: ['84-36=48', '96/48=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[84, 96, 19, 36], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [19, 36, 12] Generated Node #0,0: 21:[19, 36, 12] Operation: 96-84=12 Exploring Operation: 96-36=60, Resulting Numbers: [84, 19, 60] Generated Node #0,1: 21:[84, 19, 60] Operation: 96-36=60 Exploring Operation: 84-36=48, Resulting Numbers: [96, 19, 48] Generated Node #0,2: 21:[96, 19, 48] Operation: 84-36=48 Moving to Node #0,0 Current State: 21:[19, 36, 12], Operations: ['96-84=12'] Exploring Operation: 36-12=24, Resulting Numbers: [19, 24] Generated Node #0,0,0: 21:[19, 24] Operation: 36-12=24 Exploring Operation: 36-19=17, Resulting Numbers: [12, 17] Generated Node #0,0,1: 21:[12, 17] Operation: 36-19=17 Exploring Operation: 36/12=3, Resulting Numbers: [19, 3] Generated Node #0,0,2: 21:[19, 3] Operation: 36/12=3 Moving to Node #0,1 Current State: 21:[84, 19, 60], Operations: ['96-36=60'] Exploring Operation: 84-19=65, Resulting Numbers: [60, 65] Generated Node #0,1,0: 21:[60, 65] Operation: 84-19=65 Exploring Operation: 84-60=24, Resulting Numbers: [19, 24] Generated Node #0,1,1: 21:[19, 24] Operation: 84-60=24 Exploring Operation: 60-19=41, Resulting Numbers: [84, 41] Generated Node #0,1,2: 21:[84, 41] Operation: 60-19=41 Moving to Node #0,2 Current State: 21:[96, 19, 48], Operations: ['84-36=48'] Exploring Operation: 96-48=48, Resulting Numbers: [19, 48] Generated Node #0,2,0: 21:[19, 48] Operation: 96-48=48 Exploring Operation: 96-19=77, Resulting Numbers: [48, 77] Generated Node #0,2,1: 21:[48, 77] Operation: 96-19=77 Exploring Operation: 96/48=2, Resulting Numbers: [19, 2] Generated Node #0,2,2: 21:[19, 2] Operation: 96/48=2 Moving to Node #0,0,2 Current State: 21:[19, 3], Operations: ['96-84=12', '36/12=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,21 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[19, 2], Operations: ['84-36=48', '96/48=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,21 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[84, 96, 19, 36], Operations: [] Exploring Operation: 84-36=48, Resulting Numbers: [96, 19, 48] Generated Node #0,2: 21:[96, 19, 48] Operation: 84-36=48 Moving to Node #0,2 Current State: 21:[96, 19, 48], Operations: ['84-36=48'] Exploring Operation: 96/48=2, Resulting Numbers: [19, 2] Generated Node #0,2,2: 21:[19, 2] Operation: 96/48=2 Moving to Node #0,2,2 Current State: 21:[19, 2], Operations: ['84-36=48', '96/48=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.980903
hs_3
mult_heuristic
[ 82, 80, 3, 59 ]
100
[ "82+80=162", "3+59=62", "162-62=100" ]
Current State: 100:[82, 80, 3, 59], Operations: [] Exploring Operation: 82+80=162, Resulting Numbers: [3, 59, 162] Generated Node #2: [3, 59, 162] from Operation: 82+80=162 Current State: 100:[3, 59, 162], Operations: ['82+80=162'] Exploring Operation: 3+59=62, Resulting Numbers: [162, 62] Generated Node #3: [162, 62] from Operation: 3+59=62 Current State: 100:[162, 62], Operations: ['82+80=162', '3+59=62'] Exploring Operation: 162-62=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[82, 80, 3, 59], Operations: [] Exploring Operation: 82-80=2, Resulting Numbers: [3, 59, 2] Generated Node #0,0: 100:[3, 59, 2] Operation: 82-80=2 Exploring Operation: 82-59=23, Resulting Numbers: [80, 3, 23] Generated Node #0,1: 100:[80, 3, 23] Operation: 82-59=23 Exploring Operation: 80-59=21, Resulting Numbers: [82, 3, 21] Generated Node #0,2: 100:[82, 3, 21] Operation: 80-59=21 Moving to Node #0,0 Current State: 100:[3, 59, 2], Operations: ['82-80=2'] Exploring Operation: 59-3=56, Resulting Numbers: [2, 56] Generated Node #0,0,0: 100:[2, 56] Operation: 59-3=56 Exploring Operation: 3+2=5, Resulting Numbers: [59, 5] Generated Node #0,0,1: 100:[59, 5] Operation: 3+2=5 Exploring Operation: 59-2=57, Resulting Numbers: [3, 57] Generated Node #0,0,2: 100:[3, 57] Operation: 59-2=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[2, 56], Operations: ['82-80=2', '59-3=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,100 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 100:[3, 57], Operations: ['82-80=2', '59-2=57'] Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,100 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[59, 5], Operations: ['82-80=2', '3+2=5'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,100 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: 100:[82, 3, 21], Operations: ['80-59=21'] Exploring Operation: 82+3=85, Resulting Numbers: [21, 85] Generated Node #0,2,0: 100:[21, 85] Operation: 82+3=85 Exploring Operation: 82+21=103, Resulting Numbers: [3, 103] Generated Node #0,2,1: 100:[3, 103] Operation: 82+21=103 Exploring Operation: 82-21=61, Resulting Numbers: [3, 61] Generated Node #0,2,2: 100:[3, 61] Operation: 82-21=61 Moving to Node #0,1 Current State: 100:[80, 3, 23], Operations: ['82-59=23'] Exploring Operation: 80-23=57, Resulting Numbers: [3, 57] Generated Node #0,1,0: 100:[3, 57] Operation: 80-23=57 Exploring Operation: 80+23=103, Resulting Numbers: [3, 103] Generated Node #0,1,1: 100:[3, 103] Operation: 80+23=103 Exploring Operation: 80+3=83, Resulting Numbers: [23, 83] Generated Node #0,1,2: 100:[23, 83] Operation: 80+3=83 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[3, 103], Operations: ['82-59=23', '80+23=103'] Exploring Operation: 3*103=309, Resulting Numbers: [309] 309,100 unequal: No Solution Exploring Operation: 3+103=106, Resulting Numbers: [106] 106,100 unequal: No Solution Exploring Operation: 103-3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[82, 80, 3, 59], Operations: [] Exploring Operation: 82-59=23, Resulting Numbers: [80, 3, 23] Generated Node #0,1: 100:[80, 3, 23] Operation: 82-59=23 Moving to Node #0,1 Current State: 100:[80, 3, 23], Operations: ['82-59=23'] Exploring Operation: 80+23=103, Resulting Numbers: [3, 103] Generated Node #0,1,1: 100:[3, 103] Operation: 80+23=103 Moving to Node #0,1,1 Current State: 100:[3, 103], Operations: ['82-59=23', '80+23=103'] Exploring Operation: 103-3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 50, 35, 10, 17 ]
24
[ "50/10=5", "35/5=7", "17+7=24" ]
Current State: 24:[50, 35, 10, 17], Operations: [] Exploring Operation: 50/10=5, Resulting Numbers: [35, 17, 5] Generated Node #2: [35, 17, 5] from Operation: 50/10=5 Current State: 24:[35, 17, 5], Operations: ['50/10=5'] Exploring Operation: 35/5=7, Resulting Numbers: [17, 7] Generated Node #3: [17, 7] from Operation: 35/5=7 Current State: 24:[17, 7], Operations: ['50/10=5', '35/5=7'] Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[50, 35, 10, 17], Operations: [] Exploring Operation: 50-17=33, Resulting Numbers: [35, 10, 33] Generated Node #0,0: 24:[35, 10, 33] Operation: 50-17=33 Exploring Operation: 50/10=5, Resulting Numbers: [35, 17, 5] Generated Node #0,1: 24:[35, 17, 5] Operation: 50/10=5 Exploring Operation: 50-35=15, Resulting Numbers: [10, 17, 15] Generated Node #0,2: 24:[10, 17, 15] Operation: 50-35=15 Moving to Node #0,2 Current State: 24:[10, 17, 15], Operations: ['50-35=15'] Exploring Operation: 17-15=2, Resulting Numbers: [10, 2] Generated Node #0,2,0: 24:[10, 2] Operation: 17-15=2 Exploring Operation: 17-10=7, Resulting Numbers: [15, 7] Generated Node #0,2,1: 24:[15, 7] Operation: 17-10=7 Exploring Operation: 10+17=27, Resulting Numbers: [15, 27] Generated Node #0,2,2: 24:[15, 27] Operation: 10+17=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[10, 2], Operations: ['50-35=15', '17-15=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[15, 7], Operations: ['50-35=15', '17-10=7'] Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,24 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[15, 27], Operations: ['50-35=15', '10+17=27'] Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 24:[35, 17, 5], Operations: ['50/10=5'] Exploring Operation: 35/5=7, Resulting Numbers: [17, 7] Generated Node #0,1,0: 24:[17, 7] Operation: 35/5=7 Exploring Operation: 35-5=30, Resulting Numbers: [17, 30] Generated Node #0,1,1: 24:[17, 30] Operation: 35-5=30 Exploring Operation: 35-17=18, Resulting Numbers: [5, 18] Generated Node #0,1,2: 24:[5, 18] Operation: 35-17=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[17, 7], Operations: ['50/10=5', '35/5=7'] Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[50, 35, 10, 17], Operations: [] Exploring Operation: 50/10=5, Resulting Numbers: [35, 17, 5] Generated Node #0,1: 24:[35, 17, 5] Operation: 50/10=5 Moving to Node #0,1 Current State: 24:[35, 17, 5], Operations: ['50/10=5'] Exploring Operation: 35/5=7, Resulting Numbers: [17, 7] Generated Node #0,1,0: 24:[17, 7] Operation: 35/5=7 Moving to Node #0,1,0 Current State: 24:[17, 7], Operations: ['50/10=5', '35/5=7'] Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 80, 63, 6, 71 ]
16
[ "71-63=8", "80/8=10", "6+10=16" ]
Current State: 16:[80, 63, 6, 71], Operations: [] Exploring Operation: 71-63=8, Resulting Numbers: [80, 6, 8] Generated Node #2: [80, 6, 8] from Operation: 71-63=8 Current State: 16:[80, 6, 8], Operations: ['71-63=8'] Exploring Operation: 80/8=10, Resulting Numbers: [6, 10] Generated Node #3: [6, 10] from Operation: 80/8=10 Current State: 16:[6, 10], Operations: ['71-63=8', '80/8=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[80, 63, 6, 71], Operations: [] Exploring Operation: 80-63=17, Resulting Numbers: [6, 71, 17] Generated Node #0,0: 16:[6, 71, 17] Operation: 80-63=17 Exploring Operation: 80-71=9, Resulting Numbers: [63, 6, 9] Generated Node #0,1: 16:[63, 6, 9] Operation: 80-71=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[63, 6, 9], Operations: ['80-71=9'] Exploring Operation: 63/9=7, Resulting Numbers: [6, 7] Generated Node #0,1,0: 16:[6, 7] Operation: 63/9=7 Exploring Operation: 63-9=54, Resulting Numbers: [6, 54] Generated Node #0,1,1: 16:[6, 54] Operation: 63-9=54 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[6, 7], Operations: ['80-71=9', '63/9=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[6, 54], Operations: ['80-71=9', '63-9=54'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No 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: 16:[6, 71, 17], Operations: ['80-63=17'] Exploring Operation: 71-6=65, Resulting Numbers: [17, 65] Generated Node #0,0,0: 16:[17, 65] Operation: 71-6=65 Exploring Operation: 71-17=54, Resulting Numbers: [6, 54] Generated Node #0,0,1: 16:[6, 54] Operation: 71-17=54 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[6, 54], Operations: ['80-63=17', '71-17=54'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[17, 65], Operations: ['80-63=17', '71-6=65'] Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 17+65=82, Resulting Numbers: [82] 82,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 36, 19, 73, 46 ]
28
[ "36+19=55", "73-46=27", "55-27=28" ]
Current State: 28:[36, 19, 73, 46], Operations: [] Exploring Operation: 36+19=55, Resulting Numbers: [73, 46, 55] Generated Node #2: [73, 46, 55] from Operation: 36+19=55 Current State: 28:[73, 46, 55], Operations: ['36+19=55'] Exploring Operation: 73-46=27, Resulting Numbers: [55, 27] Generated Node #3: [55, 27] from Operation: 73-46=27 Current State: 28:[55, 27], Operations: ['36+19=55', '73-46=27'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[36, 19, 73, 46], Operations: [] Exploring Operation: 73-46=27, Resulting Numbers: [36, 19, 27] Generated Node #0,0: 28:[36, 19, 27] Operation: 73-46=27 Moving to Node #0,0 Current State: 28:[36, 19, 27], Operations: ['73-46=27'] Exploring Operation: 36-19=17, Resulting Numbers: [27, 17] Generated Node #0,0,0: 28:[27, 17] Operation: 36-19=17 Moving to Node #0,0,0 Current State: 28:[27, 17], Operations: ['73-46=27', '36-19=17'] Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,28 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 25, 50, 54, 1 ]
57
[ "50/25=2", "54+1=55", "2+55=57" ]
Current State: 57:[25, 50, 54, 1], Operations: [] Exploring Operation: 50/25=2, Resulting Numbers: [54, 1, 2] Generated Node #2: [54, 1, 2] from Operation: 50/25=2 Current State: 57:[54, 1, 2], Operations: ['50/25=2'] Exploring Operation: 54+1=55, Resulting Numbers: [2, 55] Generated Node #3: [2, 55] from Operation: 54+1=55 Current State: 57:[2, 55], Operations: ['50/25=2', '54+1=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[25, 50, 54, 1], Operations: [] Exploring Operation: 50/25=2, Resulting Numbers: [54, 1, 2] Generated Node #0,0: 57:[54, 1, 2] Operation: 50/25=2 Exploring Operation: 54-50=4, Resulting Numbers: [25, 1, 4] Generated Node #0,1: 57:[25, 1, 4] Operation: 54-50=4 Moving to Node #0,0 Current State: 57:[54, 1, 2], Operations: ['50/25=2'] Exploring Operation: 54+1=55, Resulting Numbers: [2, 55] Generated Node #0,0,0: 57:[2, 55] Operation: 54+1=55 Exploring Operation: 54+2=56, Resulting Numbers: [1, 56] Generated Node #0,0,1: 57:[1, 56] Operation: 54+2=56 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[2, 55], Operations: ['50/25=2', '54+1=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,57 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[25, 50, 54, 1], Operations: [] Exploring Operation: 50/25=2, Resulting Numbers: [54, 1, 2] Generated Node #0,0: 57:[54, 1, 2] Operation: 50/25=2 Moving to Node #0,0 Current State: 57:[54, 1, 2], Operations: ['50/25=2'] Exploring Operation: 54+1=55, Resulting Numbers: [2, 55] Generated Node #0,0,0: 57:[2, 55] Operation: 54+1=55 Moving to Node #0,0,0 Current State: 57:[2, 55], Operations: ['50/25=2', '54+1=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 81, 81, 74, 52 ]
74
[ "81-81=0", "52*0=0", "74+0=74" ]
Current State: 74:[81, 81, 74, 52], Operations: [] Exploring Operation: 81-81=0, Resulting Numbers: [74, 52, 0] Generated Node #2: [74, 52, 0] from Operation: 81-81=0 Current State: 74:[74, 52, 0], Operations: ['81-81=0'] Exploring Operation: 52*0=0, Resulting Numbers: [74, 0] Generated Node #3: [74, 0] from Operation: 52*0=0 Current State: 74:[74, 0], Operations: ['81-81=0', '52*0=0'] Exploring Operation: 74+0=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[81, 81, 74, 52], Operations: [] Exploring Operation: 81-52=29, Resulting Numbers: [81, 74, 29] Generated Node #0,0: 74:[81, 74, 29] Operation: 81-52=29 Exploring Operation: 81-81=0, Resulting Numbers: [74, 52, 0] Generated Node #0,1: 74:[74, 52, 0] Operation: 81-81=0 Exploring Operation: 81/81=1, Resulting Numbers: [74, 52, 1] Generated Node #0,2: 74:[74, 52, 1] Operation: 81/81=1 Exploring Operation: 81-52=29, Resulting Numbers: [81, 74, 29] Generated Node #0,3: 74:[81, 74, 29] Operation: 81-52=29 Exploring Operation: 81-74=7, Resulting Numbers: [81, 52, 7] Generated Node #0,4: 74:[81, 52, 7] Operation: 81-74=7 Moving to Node #0,0 Current State: 74:[81, 74, 29], Operations: ['81-52=29'] Exploring Operation: 74-29=45, Resulting Numbers: [81, 45] Generated Node #0,0,0: 74:[81, 45] Operation: 74-29=45 Exploring Operation: 81-29=52, Resulting Numbers: [74, 52] Generated Node #0,0,1: 74:[74, 52] Operation: 81-29=52 Exploring Operation: 81+29=110, Resulting Numbers: [74, 110] Generated Node #0,0,2: 74:[74, 110] Operation: 81+29=110 Exploring Operation: 81-74=7, Resulting Numbers: [29, 7] Generated Node #0,0,3: 74:[29, 7] Operation: 81-74=7 Exploring Operation: 74+29=103, Resulting Numbers: [81, 103] Generated Node #0,0,4: 74:[81, 103] Operation: 74+29=103 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[29, 7], Operations: ['81-52=29', '81-74=7'] Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,74 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[81, 45], Operations: ['81-52=29', '74-29=45'] Exploring Operation: 81*45=3645, Resulting Numbers: [3645] 3645,74 unequal: No Solution Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 81+45=126, Resulting Numbers: [126] 126,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[74, 52], Operations: ['81-52=29', '81-29=52'] Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 74*52=3848, Resulting Numbers: [3848] 3848,74 unequal: No Solution Exploring Operation: 74+52=126, Resulting Numbers: [126] 126,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[74, 110], Operations: ['81-52=29', '81+29=110'] Exploring Operation: 74+110=184, Resulting Numbers: [184] 184,74 unequal: No Solution Exploring Operation: 110-74=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 74*110=8140, Resulting Numbers: [8140] 8140,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 74:[81, 103], Operations: ['81-52=29', '74+29=103'] Exploring Operation: 81+103=184, Resulting Numbers: [184] 184,74 unequal: No Solution Exploring Operation: 81*103=8343, Resulting Numbers: [8343] 8343,74 unequal: No Solution Exploring Operation: 103-81=22, Resulting Numbers: [22] 22,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 74:[81, 74, 29], Operations: ['81-52=29'] Exploring Operation: 81-74=7, Resulting Numbers: [29, 7] Generated Node #0,3,0: 74:[29, 7] Operation: 81-74=7 Exploring Operation: 81-29=52, Resulting Numbers: [74, 52] Generated Node #0,3,1: 74:[74, 52] Operation: 81-29=52 Exploring Operation: 74-29=45, Resulting Numbers: [81, 45] Generated Node #0,3,2: 74:[81, 45] Operation: 74-29=45 Exploring Operation: 81+29=110, Resulting Numbers: [74, 110] Generated Node #0,3,3: 74:[74, 110] Operation: 81+29=110 Exploring Operation: 74+29=103, Resulting Numbers: [81, 103] Generated Node #0,3,4: 74:[81, 103] Operation: 74+29=103 Moving to Node #0,2 Current State: 74:[74, 52, 1], Operations: ['81/81=1'] Exploring Operation: 52/1=52, Resulting Numbers: [74, 52] Generated Node #0,2,0: 74:[74, 52] Operation: 52/1=52 Exploring Operation: 74*1=74, Resulting Numbers: [52, 74] Generated Node #0,2,1: 74:[52, 74] Operation: 74*1=74 Exploring Operation: 52-1=51, Resulting Numbers: [74, 51] Generated Node #0,2,2: 74:[74, 51] Operation: 52-1=51 Exploring Operation: 74/1=74, Resulting Numbers: [52, 74] Generated Node #0,2,3: 74:[52, 74] Operation: 74/1=74 Exploring Operation: 52*1=52, Resulting Numbers: [74, 52] Generated Node #0,2,4: 74:[74, 52] Operation: 52*1=52 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[74, 51], Operations: ['81/81=1', '52-1=51'] Exploring Operation: 74+51=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 74*51=3774, Resulting Numbers: [3774] 3774,74 unequal: No Solution Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[74, 52], Operations: ['81/81=1', '52/1=52'] Exploring Operation: 74+52=126, Resulting Numbers: [126] 126,74 unequal: No Solution Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 74*52=3848, Resulting Numbers: [3848] 3848,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[52, 74], Operations: ['81/81=1', '74*1=74'] Exploring Operation: 52*74=3848, Resulting Numbers: [3848] 3848,74 unequal: No Solution Exploring Operation: 52+74=126, Resulting Numbers: [126] 126,74 unequal: No Solution Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 74:[52, 74], Operations: ['81/81=1', '74/1=74'] Exploring Operation: 52*74=3848, Resulting Numbers: [3848] 3848,74 unequal: No Solution Exploring Operation: 52+74=126, Resulting Numbers: [126] 126,74 unequal: No Solution Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 74:[74, 52], Operations: ['81/81=1', '52*1=52'] Exploring Operation: 74*52=3848, Resulting Numbers: [3848] 3848,74 unequal: No Solution Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 74+52=126, Resulting Numbers: [126] 126,74 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: 74:[74, 52, 0], Operations: ['81-81=0'] Exploring Operation: 52+0=52, Resulting Numbers: [74, 52] Generated Node #0,1,0: 74:[74, 52] Operation: 52+0=52 Exploring Operation: 74+0=74, Resulting Numbers: [52, 74] Generated Node #0,1,1: 74:[52, 74] Operation: 74+0=74 Exploring Operation: 74-0=74, Resulting Numbers: [52, 74] Generated Node #0,1,2: 74:[52, 74] Operation: 74-0=74 Exploring Operation: 52-0=52, Resulting Numbers: [74, 52] Generated Node #0,1,3: 74:[74, 52] Operation: 52-0=52 Exploring Operation: 52*0=0, Resulting Numbers: [74, 0] Generated Node #0,1,4: 74:[74, 0] Operation: 52*0=0 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 74:[74, 0], Operations: ['81-81=0', '52*0=0'] Exploring Operation: 74-0=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[81, 81, 74, 52], Operations: [] Exploring Operation: 81-81=0, Resulting Numbers: [74, 52, 0] Generated Node #0,1: 74:[74, 52, 0] Operation: 81-81=0 Moving to Node #0,1 Current State: 74:[74, 52, 0], Operations: ['81-81=0'] Exploring Operation: 52*0=0, Resulting Numbers: [74, 0] Generated Node #0,1,4: 74:[74, 0] Operation: 52*0=0 Moving to Node #0,1,4 Current State: 74:[74, 0], Operations: ['81-81=0', '52*0=0'] Exploring Operation: 74-0=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.947917
hs_5
mult_heuristic
[ 60, 61, 75, 34 ]
64
[ "61+75=136", "136/34=4", "60+4=64" ]
Current State: 64:[60, 61, 75, 34], Operations: [] Exploring Operation: 61+75=136, Resulting Numbers: [60, 34, 136] Generated Node #2: [60, 34, 136] from Operation: 61+75=136 Current State: 64:[60, 34, 136], Operations: ['61+75=136'] Exploring Operation: 136/34=4, Resulting Numbers: [60, 4] Generated Node #3: [60, 4] from Operation: 136/34=4 Current State: 64:[60, 4], Operations: ['61+75=136', '136/34=4'] Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[60, 61, 75, 34], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [60, 34, 14] Generated Node #0,0: 64:[60, 34, 14] Operation: 75-61=14 Exploring Operation: 75-60=15, Resulting Numbers: [61, 34, 15] Generated Node #0,1: 64:[61, 34, 15] Operation: 75-60=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[61, 34, 15], Operations: ['75-60=15'] Exploring Operation: 34-15=19, Resulting Numbers: [61, 19] Generated Node #0,1,0: 64:[61, 19] Operation: 34-15=19 Exploring Operation: 61-34=27, Resulting Numbers: [15, 27] Generated Node #0,1,1: 64:[15, 27] Operation: 61-34=27 Moving to Node #0,1,0 Current State: 64:[61, 19], Operations: ['75-60=15', '34-15=19'] Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 61+19=80, Resulting Numbers: [80] 80,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[15, 27], Operations: ['75-60=15', '61-34=27'] Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[60, 34, 14], Operations: ['75-61=14'] Exploring Operation: 34-14=20, Resulting Numbers: [60, 20] Generated Node #0,0,0: 64:[60, 20] Operation: 34-14=20 Exploring Operation: 60-34=26, Resulting Numbers: [14, 26] Generated Node #0,0,1: 64:[14, 26] Operation: 60-34=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[60, 20], Operations: ['75-61=14', '34-14=20'] Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,64 unequal: No Solution No 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: 64:[14, 26], Operations: ['75-61=14', '60-34=26'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,64 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