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
[ 23, 91, 23, 17 ]
75
[ "23/23=1", "91-17=74", "1+74=75" ]
Current State: 75:[23, 91, 23, 17], Operations: [] Exploring Operation: 23/23=1, Resulting Numbers: [91, 17, 1] Generated Node #2: [91, 17, 1] from Operation: 23/23=1 Current State: 75:[91, 17, 1], Operations: ['23/23=1'] Exploring Operation: 91-17=74, Resulting Numbers: [1, 74] Generated Node #3: [1, 74] from Operation: 91-17=74 Current State: 75:[1, 74], Operations: ['23/23=1', '91-17=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[23, 91, 23, 17], Operations: [] Exploring Operation: 91-17=74, Resulting Numbers: [23, 23, 74] Generated Node #0,0: 75:[23, 23, 74] Operation: 91-17=74 Exploring Operation: 23-17=6, Resulting Numbers: [23, 91, 6] Generated Node #0,1: 75:[23, 91, 6] Operation: 23-17=6 Exploring Operation: 91-23=68, Resulting Numbers: [23, 17, 68] Generated Node #0,2: 75:[23, 17, 68] Operation: 91-23=68 Exploring Operation: 91-23=68, Resulting Numbers: [23, 17, 68] Generated Node #0,3: 75:[23, 17, 68] Operation: 91-23=68 Exploring Operation: 23-17=6, Resulting Numbers: [91, 23, 6] Generated Node #0,4: 75:[91, 23, 6] Operation: 23-17=6 Moving to Node #0,0 Current State: 75:[23, 23, 74], Operations: ['91-17=74'] Exploring Operation: 23/23=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 75:[74, 1] Operation: 23/23=1 Exploring Operation: 23+74=97, Resulting Numbers: [23, 97] Generated Node #0,0,1: 75:[23, 97] Operation: 23+74=97 Exploring Operation: 23+23=46, Resulting Numbers: [74, 46] Generated Node #0,0,2: 75:[74, 46] Operation: 23+23=46 Exploring Operation: 23-23=0, Resulting Numbers: [74, 0] Generated Node #0,0,3: 75:[74, 0] Operation: 23-23=0 Exploring Operation: 23+74=97, Resulting Numbers: [23, 97] Generated Node #0,0,4: 75:[23, 97] Operation: 23+74=97 Moving to Node #0,3 Current State: 75:[23, 17, 68], Operations: ['91-23=68'] Exploring Operation: 17+68=85, Resulting Numbers: [23, 85] Generated Node #0,3,0: 75:[23, 85] Operation: 17+68=85 Exploring Operation: 68/17=4, Resulting Numbers: [23, 4] Generated Node #0,3,1: 75:[23, 4] Operation: 68/17=4 Exploring Operation: 23-17=6, Resulting Numbers: [68, 6] Generated Node #0,3,2: 75:[68, 6] Operation: 23-17=6 Exploring Operation: 23+17=40, Resulting Numbers: [68, 40] Generated Node #0,3,3: 75:[68, 40] Operation: 23+17=40 Exploring Operation: 23+68=91, Resulting Numbers: [17, 91] Generated Node #0,3,4: 75:[17, 91] Operation: 23+68=91 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 75:[23, 4], Operations: ['91-23=68', '68/17=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,75 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,75 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 75:[68, 6], Operations: ['91-23=68', '23-17=6'] Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,75 unequal: No Solution Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,75 unequal: No Solution Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 75:[23, 85], Operations: ['91-23=68', '17+68=85'] Exploring Operation: 23+85=108, Resulting Numbers: [108] 108,75 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,75 unequal: No Solution Exploring Operation: 23*85=1955, Resulting Numbers: [1955] 1955,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 75:[17, 91], Operations: ['91-23=68', '23+68=91'] Exploring Operation: 17*91=1547, Resulting Numbers: [1547] 1547,75 unequal: No Solution Exploring Operation: 17+91=108, Resulting Numbers: [108] 108,75 unequal: No Solution Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 75:[68, 40], Operations: ['91-23=68', '23+17=40'] Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,75 unequal: No Solution Exploring Operation: 68+40=108, Resulting Numbers: [108] 108,75 unequal: No Solution Exploring Operation: 68*40=2720, Resulting Numbers: [2720] 2720,75 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: 75:[23, 17, 68], Operations: ['91-23=68'] Exploring Operation: 68/17=4, Resulting Numbers: [23, 4] Generated Node #0,2,0: 75:[23, 4] Operation: 68/17=4 Exploring Operation: 17+68=85, Resulting Numbers: [23, 85] Generated Node #0,2,1: 75:[23, 85] Operation: 17+68=85 Exploring Operation: 23+68=91, Resulting Numbers: [17, 91] Generated Node #0,2,2: 75:[17, 91] Operation: 23+68=91 Exploring Operation: 23+17=40, Resulting Numbers: [68, 40] Generated Node #0,2,3: 75:[68, 40] Operation: 23+17=40 Exploring Operation: 23-17=6, Resulting Numbers: [68, 6] Generated Node #0,2,4: 75:[68, 6] Operation: 23-17=6 Moving to Node #0,1 Current State: 75:[23, 91, 6], Operations: ['23-17=6'] Exploring Operation: 23+6=29, Resulting Numbers: [91, 29] Generated Node #0,1,0: 75:[91, 29] Operation: 23+6=29 Exploring Operation: 23-6=17, Resulting Numbers: [91, 17] Generated Node #0,1,1: 75:[91, 17] Operation: 23-6=17 Exploring Operation: 91-23=68, Resulting Numbers: [6, 68] Generated Node #0,1,2: 75:[6, 68] Operation: 91-23=68 Exploring Operation: 91-6=85, Resulting Numbers: [23, 85] Generated Node #0,1,3: 75:[23, 85] Operation: 91-6=85 Exploring Operation: 91+6=97, Resulting Numbers: [23, 97] Generated Node #0,1,4: 75:[23, 97] Operation: 91+6=97 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[6, 68], Operations: ['23-17=6', '91-23=68'] Exploring Operation: 6*68=408, Resulting Numbers: [408] 408,75 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,75 unequal: No Solution Exploring Operation: 6+68=74, Resulting Numbers: [74] 74,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 75:[23, 85], Operations: ['23-17=6', '91-6=85'] Exploring Operation: 23+85=108, Resulting Numbers: [108] 108,75 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,75 unequal: No Solution Exploring Operation: 23*85=1955, Resulting Numbers: [1955] 1955,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[91, 17], Operations: ['23-17=6', '23-6=17'] Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,75 unequal: No Solution Exploring Operation: 91+17=108, Resulting Numbers: [108] 108,75 unequal: No Solution Exploring Operation: 91*17=1547, Resulting Numbers: [1547] 1547,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[91, 29], Operations: ['23-17=6', '23+6=29'] Exploring Operation: 91*29=2639, Resulting Numbers: [2639] 2639,75 unequal: No Solution Exploring Operation: 91+29=120, Resulting Numbers: [120] 120,75 unequal: No Solution Exploring Operation: 91-29=62, Resulting Numbers: [62] 62,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 75:[23, 97], Operations: ['23-17=6', '91+6=97'] Exploring Operation: 23*97=2231, Resulting Numbers: [2231] 2231,75 unequal: No Solution Exploring Operation: 97-23=74, Resulting Numbers: [74] 74,75 unequal: No Solution Exploring Operation: 23+97=120, Resulting Numbers: [120] 120,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 75:[91, 23, 6], Operations: ['23-17=6'] Exploring Operation: 91+6=97, Resulting Numbers: [23, 97] Generated Node #0,4,0: 75:[23, 97] Operation: 91+6=97 Exploring Operation: 91-6=85, Resulting Numbers: [23, 85] Generated Node #0,4,1: 75:[23, 85] Operation: 91-6=85 Exploring Operation: 91-23=68, Resulting Numbers: [6, 68] Generated Node #0,4,2: 75:[6, 68] Operation: 91-23=68 Exploring Operation: 23+6=29, Resulting Numbers: [91, 29] Generated Node #0,4,3: 75:[91, 29] Operation: 23+6=29 Exploring Operation: 23-6=17, Resulting Numbers: [91, 17] Generated Node #0,4,4: 75:[91, 17] Operation: 23-6=17 Moving to Node #0,0,0 Current State: 75:[74, 1], Operations: ['91-17=74', '23/23=1'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,75 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,75 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[23, 91, 23, 17], Operations: [] Exploring Operation: 91-17=74, Resulting Numbers: [23, 23, 74] Generated Node #0,0: 75:[23, 23, 74] Operation: 91-17=74 Moving to Node #0,0 Current State: 75:[23, 23, 74], Operations: ['91-17=74'] Exploring Operation: 23/23=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 75:[74, 1] Operation: 23/23=1 Moving to Node #0,0,0 Current State: 75:[74, 1], Operations: ['91-17=74', '23/23=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.94184
hs_5
sum_heuristic
[ 25, 62, 77, 76 ]
87
[ "25+62=87", "77-76=1", "87*1=87" ]
Current State: 87:[25, 62, 77, 76], Operations: [] Exploring Operation: 25+62=87, Resulting Numbers: [77, 76, 87] Generated Node #2: [77, 76, 87] from Operation: 25+62=87 Current State: 87:[77, 76, 87], Operations: ['25+62=87'] Exploring Operation: 77-76=1, Resulting Numbers: [87, 1] Generated Node #3: [87, 1] from Operation: 77-76=1 Current State: 87:[87, 1], Operations: ['25+62=87', '77-76=1'] Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[25, 62, 77, 76], Operations: [] Exploring Operation: 25+62=87, Resulting Numbers: [77, 76, 87] Generated Node #0,0: 87:[77, 76, 87] Operation: 25+62=87 Exploring Operation: 77-62=15, Resulting Numbers: [25, 76, 15] Generated Node #0,1: 87:[25, 76, 15] Operation: 77-62=15 Exploring Operation: 76-62=14, Resulting Numbers: [25, 77, 14] Generated Node #0,2: 87:[25, 77, 14] Operation: 76-62=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[77, 76, 87], Operations: ['25+62=87'] Exploring Operation: 87-77=10, Resulting Numbers: [76, 10] Generated Node #0,0,0: 87:[76, 10] Operation: 87-77=10 Exploring Operation: 87-76=11, Resulting Numbers: [77, 11] Generated Node #0,0,1: 87:[77, 11] Operation: 87-76=11 Exploring Operation: 77-76=1, Resulting Numbers: [87, 1] Generated Node #0,0,2: 87:[87, 1] Operation: 77-76=1 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[87, 1], Operations: ['25+62=87', '77-76=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[25, 62, 77, 76], Operations: [] Exploring Operation: 25+62=87, Resulting Numbers: [77, 76, 87] Generated Node #0,0: 87:[77, 76, 87] Operation: 25+62=87 Moving to Node #0,0 Current State: 87:[77, 76, 87], Operations: ['25+62=87'] Exploring Operation: 77-76=1, Resulting Numbers: [87, 1] Generated Node #0,0,2: 87:[87, 1] Operation: 77-76=1 Moving to Node #0,0,2 Current State: 87:[87, 1], Operations: ['25+62=87', '77-76=1'] Exploring Operation: 87*1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 81, 76, 30, 71 ]
36
[ "81-76=5", "71-30=41", "41-5=36" ]
Current State: 36:[81, 76, 30, 71], Operations: [] Exploring Operation: 81-76=5, Resulting Numbers: [30, 71, 5] Generated Node #2: [30, 71, 5] from Operation: 81-76=5 Current State: 36:[30, 71, 5], Operations: ['81-76=5'] Exploring Operation: 71-30=41, Resulting Numbers: [5, 41] Generated Node #3: [5, 41] from Operation: 71-30=41 Current State: 36:[5, 41], Operations: ['81-76=5', '71-30=41'] Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[81, 76, 30, 71], Operations: [] Exploring Operation: 81-71=10, Resulting Numbers: [76, 30, 10] Generated Node #0,0: 36:[76, 30, 10] Operation: 81-71=10 Exploring Operation: 81-76=5, Resulting Numbers: [30, 71, 5] Generated Node #0,1: 36:[30, 71, 5] Operation: 81-76=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[30, 71, 5], Operations: ['81-76=5'] Exploring Operation: 71-30=41, Resulting Numbers: [5, 41] Generated Node #0,1,0: 36:[5, 41] Operation: 71-30=41 Exploring Operation: 30/5=6, Resulting Numbers: [71, 6] Generated Node #0,1,1: 36:[71, 6] Operation: 30/5=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[5, 41], Operations: ['81-76=5', '71-30=41'] Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[81, 76, 30, 71], Operations: [] Exploring Operation: 81-76=5, Resulting Numbers: [30, 71, 5] Generated Node #0,1: 36:[30, 71, 5] Operation: 81-76=5 Moving to Node #0,1 Current State: 36:[30, 71, 5], Operations: ['81-76=5'] Exploring Operation: 71-30=41, Resulting Numbers: [5, 41] Generated Node #0,1,0: 36:[5, 41] Operation: 71-30=41 Moving to Node #0,1,0 Current State: 36:[5, 41], Operations: ['81-76=5', '71-30=41'] Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 60, 30, 15, 63 ]
61
[ "60-30=30", "30/15=2", "63-2=61" ]
Current State: 61:[60, 30, 15, 63], Operations: [] Exploring Operation: 60-30=30, Resulting Numbers: [15, 63, 30] Generated Node #2: [15, 63, 30] from Operation: 60-30=30 Current State: 61:[15, 63, 30], Operations: ['60-30=30'] Exploring Operation: 30/15=2, Resulting Numbers: [63, 2] Generated Node #3: [63, 2] from Operation: 30/15=2 Current State: 61:[63, 2], Operations: ['60-30=30', '30/15=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[60, 30, 15, 63], Operations: [] Exploring Operation: 63-15=48, Resulting Numbers: [60, 30, 48] Generated Node #0,0: 61:[60, 30, 48] Operation: 63-15=48 Exploring Operation: 60+15=75, Resulting Numbers: [30, 63, 75] Generated Node #0,1: 61:[30, 63, 75] Operation: 60+15=75 Exploring Operation: 60-15=45, Resulting Numbers: [30, 63, 45] Generated Node #0,2: 61:[30, 63, 45] Operation: 60-15=45 Exploring Operation: 30+15=45, Resulting Numbers: [60, 63, 45] Generated Node #0,3: 61:[60, 63, 45] Operation: 30+15=45 Moving to Node #0,3 Current State: 61:[60, 63, 45], Operations: ['30+15=45'] Exploring Operation: 60+45=105, Resulting Numbers: [63, 105] Generated Node #0,3,0: 61:[63, 105] Operation: 60+45=105 Exploring Operation: 63+45=108, Resulting Numbers: [60, 108] Generated Node #0,3,1: 61:[60, 108] Operation: 63+45=108 Exploring Operation: 63-45=18, Resulting Numbers: [60, 18] Generated Node #0,3,2: 61:[60, 18] Operation: 63-45=18 Exploring Operation: 60-45=15, Resulting Numbers: [63, 15] Generated Node #0,3,3: 61:[63, 15] Operation: 60-45=15 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[60, 18], Operations: ['30+15=45', '63-45=18'] Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,61 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[63, 105], Operations: ['30+15=45', '60+45=105'] Exploring Operation: 63*105=6615, Resulting Numbers: [6615] 6615,61 unequal: No Solution Exploring Operation: 63+105=168, Resulting Numbers: [168] 168,61 unequal: No Solution Exploring Operation: 105-63=42, Resulting Numbers: [42] 42,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[60, 108], Operations: ['30+15=45', '63+45=108'] Exploring Operation: 60+108=168, Resulting Numbers: [168] 168,61 unequal: No Solution Exploring Operation: 60*108=6480, Resulting Numbers: [6480] 6480,61 unequal: No Solution Exploring Operation: 108-60=48, Resulting Numbers: [48] 48,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[63, 15], Operations: ['30+15=45', '60-45=15'] Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,61 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,61 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 61:[60, 30, 48], Operations: ['63-15=48'] Exploring Operation: 60-30=30, Resulting Numbers: [48, 30] Generated Node #0,0,0: 61:[48, 30] Operation: 60-30=30 Exploring Operation: 30+48=78, Resulting Numbers: [60, 78] Generated Node #0,0,1: 61:[60, 78] Operation: 30+48=78 Exploring Operation: 48-30=18, Resulting Numbers: [60, 18] Generated Node #0,0,2: 61:[60, 18] Operation: 48-30=18 Exploring Operation: 60+30=90, Resulting Numbers: [48, 90] Generated Node #0,0,3: 61:[48, 90] Operation: 60+30=90 Moving to Node #0,1 Current State: 61:[30, 63, 75], Operations: ['60+15=75'] Exploring Operation: 30+75=105, Resulting Numbers: [63, 105] Generated Node #0,1,0: 61:[63, 105] Operation: 30+75=105 Exploring Operation: 63-30=33, Resulting Numbers: [75, 33] Generated Node #0,1,1: 61:[75, 33] Operation: 63-30=33 Exploring Operation: 30+63=93, Resulting Numbers: [75, 93] Generated Node #0,1,2: 61:[75, 93] Operation: 30+63=93 Exploring Operation: 75-30=45, Resulting Numbers: [63, 45] Generated Node #0,1,3: 61:[63, 45] Operation: 75-30=45 Moving to Node #0,2 Current State: 61:[30, 63, 45], Operations: ['60-15=45'] Exploring Operation: 30+63=93, Resulting Numbers: [45, 93] Generated Node #0,2,0: 61:[45, 93] Operation: 30+63=93 Exploring Operation: 45-30=15, Resulting Numbers: [63, 15] Generated Node #0,2,1: 61:[63, 15] Operation: 45-30=15 Exploring Operation: 63-30=33, Resulting Numbers: [45, 33] Generated Node #0,2,2: 61:[45, 33] Operation: 63-30=33 Exploring Operation: 30+45=75, Resulting Numbers: [63, 75] Generated Node #0,2,3: 61:[63, 75] Operation: 30+45=75 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[63, 75], Operations: ['60-15=45', '30+45=75'] Exploring Operation: 63*75=4725, Resulting Numbers: [4725] 4725,61 unequal: No Solution Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 63+75=138, Resulting Numbers: [138] 138,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[45, 33], Operations: ['60-15=45', '63-30=33'] Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,61 unequal: No Solution Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[45, 93], Operations: ['60-15=45', '30+63=93'] Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,61 unequal: No Solution Exploring Operation: 45*93=4185, Resulting Numbers: [4185] 4185,61 unequal: No Solution Exploring Operation: 45+93=138, Resulting Numbers: [138] 138,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[63, 15], Operations: ['60-15=45', '45-30=15'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,61 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,61 unequal: No Solution Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 61:[60, 78], Operations: ['63-15=48', '30+48=78'] Exploring Operation: 60+78=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 60*78=4680, Resulting Numbers: [4680] 4680,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[63, 45], Operations: ['60+15=75', '75-30=45'] Exploring Operation: 63*45=2835, Resulting Numbers: [2835] 2835,61 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 63+45=108, Resulting Numbers: [108] 108,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[75, 33], Operations: ['60+15=75', '63-30=33'] Exploring Operation: 75*33=2475, Resulting Numbers: [2475] 2475,61 unequal: No Solution Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[48, 90], Operations: ['63-15=48', '60+30=90'] Exploring Operation: 48+90=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 48*90=4320, Resulting Numbers: [4320] 4320,61 unequal: No Solution Exploring Operation: 90-48=42, Resulting Numbers: [42] 42,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[48, 30], Operations: ['63-15=48', '60-30=30'] Exploring Operation: 48*30=1440, Resulting Numbers: [1440] 1440,61 unequal: No Solution Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,61 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[60, 18], Operations: ['63-15=48', '48-30=18'] Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,61 unequal: No Solution Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[63, 105], Operations: ['60+15=75', '30+75=105'] Exploring Operation: 105-63=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 63*105=6615, Resulting Numbers: [6615] 6615,61 unequal: No Solution Exploring Operation: 63+105=168, Resulting Numbers: [168] 168,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[75, 93], Operations: ['60+15=75', '30+63=93'] Exploring Operation: 75+93=168, Resulting Numbers: [168] 168,61 unequal: No Solution Exploring Operation: 93-75=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 75*93=6975, Resulting Numbers: [6975] 6975,61 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 44, 64, 65, 82 ]
37
[ "64-44=20", "82-65=17", "20+17=37" ]
Current State: 37:[44, 64, 65, 82], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [65, 82, 20] Generated Node #2: [65, 82, 20] from Operation: 64-44=20 Current State: 37:[65, 82, 20], Operations: ['64-44=20'] Exploring Operation: 82-65=17, Resulting Numbers: [20, 17] Generated Node #3: [20, 17] from Operation: 82-65=17 Current State: 37:[20, 17], Operations: ['64-44=20', '82-65=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[44, 64, 65, 82], Operations: [] Exploring Operation: 82-65=17, Resulting Numbers: [44, 64, 17] Generated Node #0,0: 37:[44, 64, 17] Operation: 82-65=17 Exploring Operation: 65-64=1, Resulting Numbers: [44, 82, 1] Generated Node #0,1: 37:[44, 82, 1] Operation: 65-64=1 Exploring Operation: 82-44=38, Resulting Numbers: [64, 65, 38] Generated Node #0,2: 37:[64, 65, 38] Operation: 82-44=38 Exploring Operation: 65-44=21, Resulting Numbers: [64, 82, 21] Generated Node #0,3: 37:[64, 82, 21] Operation: 65-44=21 Exploring Operation: 82-64=18, Resulting Numbers: [44, 65, 18] Generated Node #0,4: 37:[44, 65, 18] Operation: 82-64=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[44, 64, 17], Operations: ['82-65=17'] Exploring Operation: 44-17=27, Resulting Numbers: [64, 27] Generated Node #0,0,0: 37:[64, 27] Operation: 44-17=27 Exploring Operation: 64-44=20, Resulting Numbers: [17, 20] Generated Node #0,0,1: 37:[17, 20] Operation: 64-44=20 Exploring Operation: 44+17=61, Resulting Numbers: [64, 61] Generated Node #0,0,2: 37:[64, 61] Operation: 44+17=61 Exploring Operation: 64+17=81, Resulting Numbers: [44, 81] Generated Node #0,0,3: 37:[44, 81] Operation: 64+17=81 Exploring Operation: 64-17=47, Resulting Numbers: [44, 47] Generated Node #0,0,4: 37:[44, 47] Operation: 64-17=47 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 37:[44, 47], Operations: ['82-65=17', '64-17=47'] Exploring Operation: 44+47=91, Resulting Numbers: [91] 91,37 unequal: No Solution Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 44*47=2068, Resulting Numbers: [2068] 2068,37 unequal: No Solution No 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: 37:[64, 27], Operations: ['82-65=17', '44-17=27'] Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[44, 64, 65, 82], Operations: [] Exploring Operation: 82-65=17, Resulting Numbers: [44, 64, 17] Generated Node #0,0: 37:[44, 64, 17] Operation: 82-65=17 Moving to Node #0,0 Current State: 37:[44, 64, 17], Operations: ['82-65=17'] Exploring Operation: 44-17=27, Resulting Numbers: [64, 27] Generated Node #0,0,0: 37:[64, 27] Operation: 44-17=27 Moving to Node #0,0,0 Current State: 37:[64, 27], Operations: ['82-65=17', '44-17=27'] Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 48, 96, 21, 10 ]
33
[ "96/48=2", "21+10=31", "2+31=33" ]
Current State: 33:[48, 96, 21, 10], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [21, 10, 2] Generated Node #2: [21, 10, 2] from Operation: 96/48=2 Current State: 33:[21, 10, 2], Operations: ['96/48=2'] Exploring Operation: 21+10=31, Resulting Numbers: [2, 31] Generated Node #3: [2, 31] from Operation: 21+10=31 Current State: 33:[2, 31], Operations: ['96/48=2', '21+10=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[48, 96, 21, 10], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [21, 10, 2] Generated Node #0,0: 33:[21, 10, 2] Operation: 96/48=2 Exploring Operation: 96-48=48, Resulting Numbers: [21, 10, 48] Generated Node #0,1: 33:[21, 10, 48] Operation: 96-48=48 Exploring Operation: 96-21=75, Resulting Numbers: [48, 10, 75] Generated Node #0,2: 33:[48, 10, 75] Operation: 96-21=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[21, 10, 2], Operations: ['96/48=2'] Exploring Operation: 21-2=19, Resulting Numbers: [10, 19] Generated Node #0,0,0: 33:[10, 19] Operation: 21-2=19 Exploring Operation: 21-10=11, Resulting Numbers: [2, 11] Generated Node #0,0,1: 33:[2, 11] Operation: 21-10=11 Exploring Operation: 21+10=31, Resulting Numbers: [2, 31] Generated Node #0,0,2: 33:[2, 31] Operation: 21+10=31 Moving to Node #0,0,1 Current State: 33:[2, 11], Operations: ['96/48=2', '21-10=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,33 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[2, 31], Operations: ['96/48=2', '21+10=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[48, 96, 21, 10], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [21, 10, 2] Generated Node #0,0: 33:[21, 10, 2] Operation: 96/48=2 Moving to Node #0,0 Current State: 33:[21, 10, 2], Operations: ['96/48=2'] Exploring Operation: 21+10=31, Resulting Numbers: [2, 31] Generated Node #0,0,2: 33:[2, 31] Operation: 21+10=31 Moving to Node #0,0,2 Current State: 33:[2, 31], Operations: ['96/48=2', '21+10=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 5, 38, 61, 63 ]
86
[ "5+38=43", "63-61=2", "43*2=86" ]
Current State: 86:[5, 38, 61, 63], Operations: [] Exploring Operation: 5+38=43, Resulting Numbers: [61, 63, 43] Generated Node #2: [61, 63, 43] from Operation: 5+38=43 Current State: 86:[61, 63, 43], Operations: ['5+38=43'] Exploring Operation: 63-61=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 63-61=2 Current State: 86:[43, 2], Operations: ['5+38=43', '63-61=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[5, 38, 61, 63], Operations: [] Exploring Operation: 5+38=43, Resulting Numbers: [61, 63, 43] Generated Node #0,0: 86:[61, 63, 43] Operation: 5+38=43 Exploring Operation: 63-61=2, Resulting Numbers: [5, 38, 2] Generated Node #0,1: 86:[5, 38, 2] Operation: 63-61=2 Exploring Operation: 38+61=99, Resulting Numbers: [5, 63, 99] Generated Node #0,2: 86:[5, 63, 99] Operation: 38+61=99 Exploring Operation: 38+63=101, Resulting Numbers: [5, 61, 101] Generated Node #0,3: 86:[5, 61, 101] Operation: 38+63=101 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[5, 38, 2], Operations: ['63-61=2'] Exploring Operation: 5+38=43, Resulting Numbers: [2, 43] Generated Node #0,1,0: 86:[2, 43] Operation: 5+38=43 Exploring Operation: 5-2=3, Resulting Numbers: [38, 3] Generated Node #0,1,1: 86:[38, 3] Operation: 5-2=3 Exploring Operation: 38-5=33, Resulting Numbers: [2, 33] Generated Node #0,1,2: 86:[2, 33] Operation: 38-5=33 Exploring Operation: 38+2=40, Resulting Numbers: [5, 40] Generated Node #0,1,3: 86:[5, 40] Operation: 38+2=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[2, 43], Operations: ['63-61=2', '5+38=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[5, 38, 61, 63], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [5, 38, 2] Generated Node #0,1: 86:[5, 38, 2] Operation: 63-61=2 Moving to Node #0,1 Current State: 86:[5, 38, 2], Operations: ['63-61=2'] Exploring Operation: 5+38=43, Resulting Numbers: [2, 43] Generated Node #0,1,0: 86:[2, 43] Operation: 5+38=43 Moving to Node #0,1,0 Current State: 86:[2, 43], Operations: ['63-61=2', '5+38=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 26, 25, 71, 34 ]
38
[ "26-25=1", "71-34=37", "1+37=38" ]
Current State: 38:[26, 25, 71, 34], Operations: [] Exploring Operation: 26-25=1, Resulting Numbers: [71, 34, 1] Generated Node #2: [71, 34, 1] from Operation: 26-25=1 Current State: 38:[71, 34, 1], Operations: ['26-25=1'] Exploring Operation: 71-34=37, Resulting Numbers: [1, 37] Generated Node #3: [1, 37] from Operation: 71-34=37 Current State: 38:[1, 37], Operations: ['26-25=1', '71-34=37'] Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[26, 25, 71, 34], Operations: [] Exploring Operation: 71-26=45, Resulting Numbers: [25, 34, 45] Generated Node #0,0: 38:[25, 34, 45] Operation: 71-26=45 Exploring Operation: 26-25=1, Resulting Numbers: [71, 34, 1] Generated Node #0,1: 38:[71, 34, 1] Operation: 26-25=1 Exploring Operation: 71-25=46, Resulting Numbers: [26, 34, 46] Generated Node #0,2: 38:[26, 34, 46] Operation: 71-25=46 Exploring Operation: 71-34=37, Resulting Numbers: [26, 25, 37] Generated Node #0,3: 38:[26, 25, 37] Operation: 71-34=37 Moving to Node #0,3 Current State: 38:[26, 25, 37], Operations: ['71-34=37'] Exploring Operation: 26-25=1, Resulting Numbers: [37, 1] Generated Node #0,3,0: 38:[37, 1] Operation: 26-25=1 Exploring Operation: 37-25=12, Resulting Numbers: [26, 12] Generated Node #0,3,1: 38:[26, 12] Operation: 37-25=12 Exploring Operation: 26+25=51, Resulting Numbers: [37, 51] Generated Node #0,3,2: 38:[37, 51] Operation: 26+25=51 Exploring Operation: 37-26=11, Resulting Numbers: [25, 11] Generated Node #0,3,3: 38:[25, 11] Operation: 37-26=11 Moving to Node #0,0 Current State: 38:[25, 34, 45], Operations: ['71-26=45'] Exploring Operation: 34-25=9, Resulting Numbers: [45, 9] Generated Node #0,0,0: 38:[45, 9] Operation: 34-25=9 Exploring Operation: 25+34=59, Resulting Numbers: [45, 59] Generated Node #0,0,1: 38:[45, 59] Operation: 25+34=59 Exploring Operation: 45-34=11, Resulting Numbers: [25, 11] Generated Node #0,0,2: 38:[25, 11] Operation: 45-34=11 Exploring Operation: 45-25=20, Resulting Numbers: [34, 20] Generated Node #0,0,3: 38:[34, 20] Operation: 45-25=20 Moving to Node #0,2 Current State: 38:[26, 34, 46], Operations: ['71-25=46'] Exploring Operation: 46-26=20, Resulting Numbers: [34, 20] Generated Node #0,2,0: 38:[34, 20] Operation: 46-26=20 Exploring Operation: 26+34=60, Resulting Numbers: [46, 60] Generated Node #0,2,1: 38:[46, 60] Operation: 26+34=60 Exploring Operation: 46-34=12, Resulting Numbers: [26, 12] Generated Node #0,2,2: 38:[26, 12] Operation: 46-34=12 Exploring Operation: 34-26=8, Resulting Numbers: [46, 8] Generated Node #0,2,3: 38:[46, 8] Operation: 34-26=8 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[34, 20], Operations: ['71-25=46', '46-26=20'] Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[26, 12], Operations: ['71-25=46', '46-34=12'] Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,38 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[26, 25, 71, 34], Operations: [] Exploring Operation: 71-25=46, Resulting Numbers: [26, 34, 46] Generated Node #0,2: 38:[26, 34, 46] Operation: 71-25=46 Moving to Node #0,2 Current State: 38:[26, 34, 46], Operations: ['71-25=46'] Exploring Operation: 46-34=12, Resulting Numbers: [26, 12] Generated Node #0,2,2: 38:[26, 12] Operation: 46-34=12 Moving to Node #0,2,2 Current State: 38:[26, 12], Operations: ['71-25=46', '46-34=12'] Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_4
sum_heuristic
[ 62, 56, 89, 87 ]
59
[ "62+56=118", "89-87=2", "118/2=59" ]
Current State: 59:[62, 56, 89, 87], Operations: [] Exploring Operation: 62+56=118, Resulting Numbers: [89, 87, 118] Generated Node #2: [89, 87, 118] from Operation: 62+56=118 Current State: 59:[89, 87, 118], Operations: ['62+56=118'] Exploring Operation: 89-87=2, Resulting Numbers: [118, 2] Generated Node #3: [118, 2] from Operation: 89-87=2 Current State: 59:[118, 2], Operations: ['62+56=118', '89-87=2'] Exploring Operation: 118/2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[62, 56, 89, 87], Operations: [] Exploring Operation: 89-56=33, Resulting Numbers: [62, 87, 33] Generated Node #0,0: 59:[62, 87, 33] Operation: 89-56=33 Exploring Operation: 87-56=31, Resulting Numbers: [62, 89, 31] Generated Node #0,1: 59:[62, 89, 31] Operation: 87-56=31 Exploring Operation: 89-62=27, Resulting Numbers: [56, 87, 27] Generated Node #0,2: 59:[56, 87, 27] Operation: 89-62=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[62, 87, 33], Operations: ['89-56=33'] Exploring Operation: 87-62=25, Resulting Numbers: [33, 25] Generated Node #0,0,0: 59:[33, 25] Operation: 87-62=25 Exploring Operation: 62-33=29, Resulting Numbers: [87, 29] Generated Node #0,0,1: 59:[87, 29] Operation: 62-33=29 Exploring Operation: 87-33=54, Resulting Numbers: [62, 54] Generated Node #0,0,2: 59:[62, 54] Operation: 87-33=54 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[62, 54], Operations: ['89-56=33', '87-33=54'] Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 62*54=3348, Resulting Numbers: [3348] 3348,59 unequal: No Solution Exploring Operation: 62+54=116, Resulting Numbers: [116] 116,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[87, 29], Operations: ['89-56=33', '62-33=29'] Exploring Operation: 87+29=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 87-29=58, Resulting Numbers: [58] 58,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[33, 25], Operations: ['89-56=33', '87-62=25'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,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:[62, 89, 31], Operations: ['87-56=31'] Exploring Operation: 89-31=58, Resulting Numbers: [62, 58] Generated Node #0,1,0: 59:[62, 58] Operation: 89-31=58 Exploring Operation: 89-62=27, Resulting Numbers: [31, 27] Generated Node #0,1,1: 59:[31, 27] Operation: 89-62=27 Exploring Operation: 62-31=31, Resulting Numbers: [89, 31] Generated Node #0,1,2: 59:[89, 31] Operation: 62-31=31 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[62, 58], Operations: ['87-56=31', '89-31=58'] Exploring Operation: 62*58=3596, Resulting Numbers: [3596] 3596,59 unequal: No Solution Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 62+58=120, Resulting Numbers: [120] 120,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:[89, 31], Operations: ['87-56=31', '62-31=31'] Exploring Operation: 89+31=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 89-31=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 89*31=2759, Resulting Numbers: [2759] 2759,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:[31, 27], Operations: ['87-56=31', '89-62=27'] Exploring Operation: 31*27=837, Resulting Numbers: [837] 837,59 unequal: No Solution Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,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,2 Current State: 59:[56, 87, 27], Operations: ['89-62=27'] Exploring Operation: 56+27=83, Resulting Numbers: [87, 83] Generated Node #0,2,0: 59:[87, 83] Operation: 56+27=83 Exploring Operation: 56-27=29, Resulting Numbers: [87, 29] Generated Node #0,2,1: 59:[87, 29] Operation: 56-27=29 Exploring Operation: 87-27=60, Resulting Numbers: [56, 60] Generated Node #0,2,2: 59:[56, 60] Operation: 87-27=60 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[56, 60], Operations: ['89-62=27', '87-27=60'] Exploring Operation: 56+60=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 56*60=3360, Resulting Numbers: [3360] 3360,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,2,0 Current State: 59:[87, 83], Operations: ['89-62=27', '56+27=83'] Exploring Operation: 87-83=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 87+83=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 87*83=7221, Resulting Numbers: [7221] 7221,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,2,1 Current State: 59:[87, 29], Operations: ['89-62=27', '56-27=29'] Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 87+29=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 87-29=58, Resulting Numbers: [58] 58,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 32, 99, 98, 36 ]
24
[ "98-32=66", "36*66=2376", "2376/99=24" ]
Current State: 24:[32, 99, 98, 36], Operations: [] Exploring Operation: 98-32=66, Resulting Numbers: [99, 36, 66] Generated Node #2: [99, 36, 66] from Operation: 98-32=66 Current State: 24:[99, 36, 66], Operations: ['98-32=66'] Exploring Operation: 36*66=2376, Resulting Numbers: [99, 2376] Generated Node #3: [99, 2376] from Operation: 36*66=2376 Current State: 24:[99, 2376], Operations: ['98-32=66', '36*66=2376'] Exploring Operation: 2376/99=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[32, 99, 98, 36], Operations: [] Exploring Operation: 98-36=62, Resulting Numbers: [32, 99, 62] Generated Node #0,0: 24:[32, 99, 62] Operation: 98-36=62 Exploring Operation: 99-36=63, Resulting Numbers: [32, 98, 63] Generated Node #0,1: 24:[32, 98, 63] Operation: 99-36=63 Exploring Operation: 99-98=1, Resulting Numbers: [32, 36, 1] Generated Node #0,2: 24:[32, 36, 1] Operation: 99-98=1 Moving to Node #0,2 Current State: 24:[32, 36, 1], Operations: ['99-98=1'] Exploring Operation: 36-1=35, Resulting Numbers: [32, 35] Generated Node #0,2,0: 24:[32, 35] Operation: 36-1=35 Exploring Operation: 36-32=4, Resulting Numbers: [1, 4] Generated Node #0,2,1: 24:[1, 4] Operation: 36-32=4 Exploring Operation: 32-1=31, Resulting Numbers: [36, 31] Generated Node #0,2,2: 24:[36, 31] Operation: 32-1=31 Moving to Node #0,0 Current State: 24:[32, 99, 62], Operations: ['98-36=62'] Exploring Operation: 99-32=67, Resulting Numbers: [62, 67] Generated Node #0,0,0: 24:[62, 67] Operation: 99-32=67 Exploring Operation: 99-62=37, Resulting Numbers: [32, 37] Generated Node #0,0,1: 24:[32, 37] Operation: 99-62=37 Exploring Operation: 62-32=30, Resulting Numbers: [99, 30] Generated Node #0,0,2: 24:[99, 30] Operation: 62-32=30 Moving to Node #0,1 Current State: 24:[32, 98, 63], Operations: ['99-36=63'] Exploring Operation: 98-63=35, Resulting Numbers: [32, 35] Generated Node #0,1,0: 24:[32, 35] Operation: 98-63=35 Exploring Operation: 63-32=31, Resulting Numbers: [98, 31] Generated Node #0,1,1: 24:[98, 31] Operation: 63-32=31 Exploring Operation: 98-32=66, Resulting Numbers: [63, 66] Generated Node #0,1,2: 24:[63, 66] Operation: 98-32=66 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[32, 35], Operations: ['99-36=63', '98-63=35'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,24 unequal: No Solution Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[98, 31], Operations: ['99-36=63', '63-32=31'] Exploring Operation: 98+31=129, Resulting Numbers: [129] 129,24 unequal: No Solution Exploring Operation: 98-31=67, Resulting Numbers: [67] 67,24 unequal: No Solution Exploring Operation: 98*31=3038, Resulting Numbers: [3038] 3038,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[63, 66], Operations: ['99-36=63', '98-32=66'] Exploring Operation: 63+66=129, Resulting Numbers: [129] 129,24 unequal: No Solution Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 63*66=4158, Resulting Numbers: [4158] 4158,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 24:[1, 4], Operations: ['99-98=1', '36-32=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[36, 31], Operations: ['99-98=1', '32-1=31'] Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,24 unequal: No Solution Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,24 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[32, 35], Operations: ['99-98=1', '36-1=35'] Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,24 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[32, 37], Operations: ['98-36=62', '99-62=37'] Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,24 unequal: No Solution Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[62, 67], Operations: ['98-36=62', '99-32=67'] Exploring Operation: 67-62=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 62+67=129, Resulting Numbers: [129] 129,24 unequal: No Solution Exploring Operation: 62*67=4154, Resulting Numbers: [4154] 4154,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[99, 30], Operations: ['98-36=62', '62-32=30'] Exploring Operation: 99+30=129, Resulting Numbers: [129] 129,24 unequal: No Solution Exploring Operation: 99-30=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 99*30=2970, Resulting Numbers: [2970] 2970,24 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 32, 49, 21, 81 ]
43
[ "49-32=17", "81-21=60", "60-17=43" ]
Current State: 43:[32, 49, 21, 81], Operations: [] Exploring Operation: 49-32=17, Resulting Numbers: [21, 81, 17] Generated Node #2: [21, 81, 17] from Operation: 49-32=17 Current State: 43:[21, 81, 17], Operations: ['49-32=17'] Exploring Operation: 81-21=60, Resulting Numbers: [17, 60] Generated Node #3: [17, 60] from Operation: 81-21=60 Current State: 43:[17, 60], Operations: ['49-32=17', '81-21=60'] Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[32, 49, 21, 81], Operations: [] Exploring Operation: 81-32=49, Resulting Numbers: [49, 21, 49] Generated Node #0,0: 43:[49, 21, 49] Operation: 81-32=49 Moving to Node #0,0 Current State: 43:[49, 21, 49], Operations: ['81-32=49'] Exploring Operation: 49-21=28, Resulting Numbers: [49, 28] Generated Node #0,0,0: 43:[49, 28] Operation: 49-21=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[49, 28], Operations: ['81-32=49', '49-21=28'] Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,43 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
[ 6, 23, 84, 19 ]
35
[ "6*23=138", "84+19=103", "138-103=35" ]
Current State: 35:[6, 23, 84, 19], Operations: [] Exploring Operation: 6*23=138, Resulting Numbers: [84, 19, 138] Generated Node #2: [84, 19, 138] from Operation: 6*23=138 Current State: 35:[84, 19, 138], Operations: ['6*23=138'] Exploring Operation: 84+19=103, Resulting Numbers: [138, 103] Generated Node #3: [138, 103] from Operation: 84+19=103 Current State: 35:[138, 103], Operations: ['6*23=138', '84+19=103'] Exploring Operation: 138-103=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[6, 23, 84, 19], Operations: [] Exploring Operation: 84/6=14, Resulting Numbers: [23, 19, 14] Generated Node #0,0: 35:[23, 19, 14] Operation: 84/6=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[23, 19, 14], Operations: ['84/6=14'] Exploring Operation: 23-19=4, Resulting Numbers: [14, 4] Generated Node #0,0,0: 35:[14, 4] Operation: 23-19=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[14, 4], Operations: ['84/6=14', '23-19=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 79, 28, 8, 24 ]
81
[ "28-24=4", "8/4=2", "79+2=81" ]
Current State: 81:[79, 28, 8, 24], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [79, 8, 4] Generated Node #2: [79, 8, 4] from Operation: 28-24=4 Current State: 81:[79, 8, 4], Operations: ['28-24=4'] Exploring Operation: 8/4=2, Resulting Numbers: [79, 2] Generated Node #3: [79, 2] from Operation: 8/4=2 Current State: 81:[79, 2], Operations: ['28-24=4', '8/4=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[79, 28, 8, 24], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [79, 28, 3] Generated Node #0,0: 81:[79, 28, 3] Operation: 24/8=3 Moving to Node #0,0 Current State: 81:[79, 28, 3], Operations: ['24/8=3'] Exploring Operation: 79+3=82, Resulting Numbers: [28, 82] Generated Node #0,0,0: 81:[28, 82] Operation: 79+3=82 Moving to Node #0,0,0 Current State: 81:[28, 82], Operations: ['24/8=3', '79+3=82'] Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,81 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 8, 48, 16, 60 ]
15
[ "8*60=480", "48-16=32", "480/32=15" ]
Current State: 15:[8, 48, 16, 60], Operations: [] Exploring Operation: 8*60=480, Resulting Numbers: [48, 16, 480] Generated Node #2: [48, 16, 480] from Operation: 8*60=480 Current State: 15:[48, 16, 480], Operations: ['8*60=480'] Exploring Operation: 48-16=32, Resulting Numbers: [480, 32] Generated Node #3: [480, 32] from Operation: 48-16=32 Current State: 15:[480, 32], Operations: ['8*60=480', '48-16=32'] Exploring Operation: 480/32=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[8, 48, 16, 60], Operations: [] Exploring Operation: 60-16=44, Resulting Numbers: [8, 48, 44] Generated Node #0,0: 15:[8, 48, 44] Operation: 60-16=44 Exploring Operation: 60-48=12, Resulting Numbers: [8, 16, 12] Generated Node #0,1: 15:[8, 16, 12] Operation: 60-48=12 Exploring Operation: 48/16=3, Resulting Numbers: [8, 60, 3] Generated Node #0,2: 15:[8, 60, 3] Operation: 48/16=3 Exploring Operation: 48/8=6, Resulting Numbers: [16, 60, 6] Generated Node #0,3: 15:[16, 60, 6] Operation: 48/8=6 Exploring Operation: 48-16=32, Resulting Numbers: [8, 60, 32] Generated Node #0,4: 15:[8, 60, 32] Operation: 48-16=32 Moving to Node #0,1 Current State: 15:[8, 16, 12], Operations: ['60-48=12'] Exploring Operation: 12-8=4, Resulting Numbers: [16, 4] Generated Node #0,1,0: 15:[16, 4] Operation: 12-8=4 Exploring Operation: 16/8=2, Resulting Numbers: [12, 2] Generated Node #0,1,1: 15:[12, 2] Operation: 16/8=2 Exploring Operation: 8+12=20, Resulting Numbers: [16, 20] Generated Node #0,1,2: 15:[16, 20] Operation: 8+12=20 Exploring Operation: 16-12=4, Resulting Numbers: [8, 4] Generated Node #0,1,3: 15:[8, 4] Operation: 16-12=4 Exploring Operation: 16-8=8, Resulting Numbers: [12, 8] Generated Node #0,1,4: 15:[12, 8] Operation: 16-8=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[16, 4], Operations: ['60-48=12', '12-8=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[12, 2], Operations: ['60-48=12', '16/8=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[8, 4], Operations: ['60-48=12', '16-12=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[16, 20], Operations: ['60-48=12', '8+12=20'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,15 unequal: No Solution Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 15:[12, 8], Operations: ['60-48=12', '16-8=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,15 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,15 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: 15:[16, 60, 6], Operations: ['48/8=6'] Exploring Operation: 60-16=44, Resulting Numbers: [6, 44] Generated Node #0,3,0: 15:[6, 44] Operation: 60-16=44 Exploring Operation: 60/6=10, Resulting Numbers: [16, 10] Generated Node #0,3,1: 15:[16, 10] Operation: 60/6=10 Exploring Operation: 16+6=22, Resulting Numbers: [60, 22] Generated Node #0,3,2: 15:[60, 22] Operation: 16+6=22 Exploring Operation: 60-6=54, Resulting Numbers: [16, 54] Generated Node #0,3,3: 15:[16, 54] Operation: 60-6=54 Exploring Operation: 16-6=10, Resulting Numbers: [60, 10] Generated Node #0,3,4: 15:[60, 10] Operation: 16-6=10 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 15:[16, 10], Operations: ['48/8=6', '60/6=10'] Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,15 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 15:[6, 44], Operations: ['48/8=6', '60-16=44'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,15 unequal: No Solution Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 15:[16, 54], Operations: ['48/8=6', '60-6=54'] Exploring Operation: 16+54=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 16*54=864, Resulting Numbers: [864] 864,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 15:[60, 10], Operations: ['48/8=6', '16-6=10'] Exploring Operation: 60*10=600, Resulting Numbers: [600] 600,15 unequal: No Solution Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 60+10=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 15:[60, 22], Operations: ['48/8=6', '16+6=22'] Exploring Operation: 60*22=1320, Resulting Numbers: [1320] 1320,15 unequal: No Solution Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 15:[8, 60, 3], Operations: ['48/16=3'] Exploring Operation: 8-3=5, Resulting Numbers: [60, 5] Generated Node #0,2,0: 15:[60, 5] Operation: 8-3=5 Exploring Operation: 60/3=20, Resulting Numbers: [8, 20] Generated Node #0,2,1: 15:[8, 20] Operation: 60/3=20 Exploring Operation: 60-8=52, Resulting Numbers: [3, 52] Generated Node #0,2,2: 15:[3, 52] Operation: 60-8=52 Exploring Operation: 60-3=57, Resulting Numbers: [8, 57] Generated Node #0,2,3: 15:[8, 57] Operation: 60-3=57 Exploring Operation: 8+3=11, Resulting Numbers: [60, 11] Generated Node #0,2,4: 15:[60, 11] Operation: 8+3=11 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[8, 20], Operations: ['48/16=3', '60/3=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[3, 52], Operations: ['48/16=3', '60-8=52'] Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,15 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[60, 5], Operations: ['48/16=3', '8-3=5'] Exploring Operation: 60*5=300, Resulting Numbers: [300] 300,15 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,15 unequal: No Solution Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 15:[8, 57], Operations: ['48/16=3', '60-3=57'] Exploring Operation: 8*57=456, Resulting Numbers: [456] 456,15 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 15:[60, 11], Operations: ['48/16=3', '8+3=11'] Exploring Operation: 60+11=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 60*11=660, Resulting Numbers: [660] 660,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 15:[8, 48, 44], Operations: ['60-16=44'] Exploring Operation: 48/8=6, Resulting Numbers: [44, 6] Generated Node #0,0,0: 15:[44, 6] Operation: 48/8=6 Exploring Operation: 44-8=36, Resulting Numbers: [48, 36] Generated Node #0,0,1: 15:[48, 36] Operation: 44-8=36 Exploring Operation: 48-8=40, Resulting Numbers: [44, 40] Generated Node #0,0,2: 15:[44, 40] Operation: 48-8=40 Exploring Operation: 48-44=4, Resulting Numbers: [8, 4] Generated Node #0,0,3: 15:[8, 4] Operation: 48-44=4 Exploring Operation: 8+48=56, Resulting Numbers: [44, 56] Generated Node #0,0,4: 15:[44, 56] Operation: 8+48=56 Moving to Node #0,4 Current State: 15:[8, 60, 32], Operations: ['48-16=32'] Exploring Operation: 60-8=52, Resulting Numbers: [32, 52] Generated Node #0,4,0: 15:[32, 52] Operation: 60-8=52 Exploring Operation: 32/8=4, Resulting Numbers: [60, 4] Generated Node #0,4,1: 15:[60, 4] Operation: 32/8=4 Exploring Operation: 60-32=28, Resulting Numbers: [8, 28] Generated Node #0,4,2: 15:[8, 28] Operation: 60-32=28 Exploring Operation: 8+60=68, Resulting Numbers: [32, 68] Generated Node #0,4,3: 15:[32, 68] Operation: 8+60=68 Exploring Operation: 32-8=24, Resulting Numbers: [60, 24] Generated Node #0,4,4: 15:[60, 24] Operation: 32-8=24 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 15:[8, 28], Operations: ['48-16=32', '60-32=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,15 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 15:[60, 4], Operations: ['48-16=32', '32/8=4'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[8, 48, 16, 60], Operations: [] Exploring Operation: 48-16=32, Resulting Numbers: [8, 60, 32] Generated Node #0,4: 15:[8, 60, 32] Operation: 48-16=32 Moving to Node #0,4 Current State: 15:[8, 60, 32], Operations: ['48-16=32'] Exploring Operation: 32/8=4, Resulting Numbers: [60, 4] Generated Node #0,4,1: 15:[60, 4] Operation: 32/8=4 Moving to Node #0,4,1 Current State: 15:[60, 4], Operations: ['48-16=32', '32/8=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.921875
hs_5
mult_heuristic
[ 59, 98, 65, 62 ]
97
[ "62-59=3", "65*3=195", "195-98=97" ]
Current State: 97:[59, 98, 65, 62], Operations: [] Exploring Operation: 62-59=3, Resulting Numbers: [98, 65, 3] Generated Node #2: [98, 65, 3] from Operation: 62-59=3 Current State: 97:[98, 65, 3], Operations: ['62-59=3'] Exploring Operation: 65*3=195, Resulting Numbers: [98, 195] Generated Node #3: [98, 195] from Operation: 65*3=195 Current State: 97:[98, 195], Operations: ['62-59=3', '65*3=195'] Exploring Operation: 195-98=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[59, 98, 65, 62], Operations: [] Exploring Operation: 98-59=39, Resulting Numbers: [65, 62, 39] Generated Node #0,0: 97:[65, 62, 39] Operation: 98-59=39 Exploring Operation: 59+62=121, Resulting Numbers: [98, 65, 121] Generated Node #0,1: 97:[98, 65, 121] Operation: 59+62=121 Exploring Operation: 65+62=127, Resulting Numbers: [59, 98, 127] Generated Node #0,2: 97:[59, 98, 127] Operation: 65+62=127 Exploring Operation: 59+65=124, Resulting Numbers: [98, 62, 124] Generated Node #0,3: 97:[98, 62, 124] Operation: 59+65=124 Moving to Node #0,1 Current State: 97:[98, 65, 121], Operations: ['59+62=121'] Exploring Operation: 65+121=186, Resulting Numbers: [98, 186] Generated Node #0,1,0: 97:[98, 186] Operation: 65+121=186 Exploring Operation: 98+65=163, Resulting Numbers: [121, 163] Generated Node #0,1,1: 97:[121, 163] Operation: 98+65=163 Exploring Operation: 98-65=33, Resulting Numbers: [121, 33] Generated Node #0,1,2: 97:[121, 33] Operation: 98-65=33 Exploring Operation: 121-65=56, Resulting Numbers: [98, 56] Generated Node #0,1,3: 97:[98, 56] Operation: 121-65=56 Moving to Node #0,3 Current State: 97:[98, 62, 124], Operations: ['59+65=124'] Exploring Operation: 124-62=62, Resulting Numbers: [98, 62] Generated Node #0,3,0: 97:[98, 62] Operation: 124-62=62 Exploring Operation: 62+124=186, Resulting Numbers: [98, 186] Generated Node #0,3,1: 97:[98, 186] Operation: 62+124=186 Exploring Operation: 98-62=36, Resulting Numbers: [124, 36] Generated Node #0,3,2: 97:[124, 36] Operation: 98-62=36 Exploring Operation: 98+62=160, Resulting Numbers: [124, 160] Generated Node #0,3,3: 97:[124, 160] Operation: 98+62=160 Moving to Node #0,2 Current State: 97:[59, 98, 127], Operations: ['65+62=127'] Exploring Operation: 59+98=157, Resulting Numbers: [127, 157] Generated Node #0,2,0: 97:[127, 157] Operation: 59+98=157 Exploring Operation: 127-59=68, Resulting Numbers: [98, 68] Generated Node #0,2,1: 97:[98, 68] Operation: 127-59=68 Exploring Operation: 98-59=39, Resulting Numbers: [127, 39] Generated Node #0,2,2: 97:[127, 39] Operation: 98-59=39 Exploring Operation: 59+127=186, Resulting Numbers: [98, 186] Generated Node #0,2,3: 97:[98, 186] Operation: 59+127=186 Moving to Node #0,0 Current State: 97:[65, 62, 39], Operations: ['98-59=39'] Exploring Operation: 65-39=26, Resulting Numbers: [62, 26] Generated Node #0,0,0: 97:[62, 26] Operation: 65-39=26 Exploring Operation: 62+39=101, Resulting Numbers: [65, 101] Generated Node #0,0,1: 97:[65, 101] Operation: 62+39=101 Exploring Operation: 65+39=104, Resulting Numbers: [62, 104] Generated Node #0,0,2: 97:[62, 104] Operation: 65+39=104 Exploring Operation: 65+62=127, Resulting Numbers: [39, 127] Generated Node #0,0,3: 97:[39, 127] Operation: 65+62=127 Moving to Node #0,2,1 Current State: 97:[98, 68], Operations: ['65+62=127', '127-59=68'] Exploring Operation: 98+68=166, Resulting Numbers: [166] 166,97 unequal: No Solution Exploring Operation: 98-68=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 98*68=6664, Resulting Numbers: [6664] 6664,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[65, 101], Operations: ['98-59=39', '62+39=101'] Exploring Operation: 101-65=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 65*101=6565, Resulting Numbers: [6565] 6565,97 unequal: No Solution Exploring Operation: 65+101=166, Resulting Numbers: [166] 166,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[98, 62], Operations: ['59+65=124', '124-62=62'] Exploring Operation: 98*62=6076, Resulting Numbers: [6076] 6076,97 unequal: No Solution Exploring Operation: 98-62=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 98+62=160, Resulting Numbers: [160] 160,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[62, 104], Operations: ['98-59=39', '65+39=104'] Exploring Operation: 104-62=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 62+104=166, Resulting Numbers: [166] 166,97 unequal: No Solution Exploring Operation: 62*104=6448, Resulting Numbers: [6448] 6448,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[98, 56], Operations: ['59+62=121', '121-65=56'] Exploring Operation: 98-56=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 98*56=5488, Resulting Numbers: [5488] 5488,97 unequal: No Solution Exploring Operation: 98+56=154, Resulting Numbers: [154] 154,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[39, 127], Operations: ['98-59=39', '65+62=127'] Exploring Operation: 127-39=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 39*127=4953, Resulting Numbers: [4953] 4953,97 unequal: No Solution Exploring Operation: 39+127=166, Resulting Numbers: [166] 166,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[124, 36], Operations: ['59+65=124', '98-62=36'] Exploring Operation: 124+36=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 124-36=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 124*36=4464, Resulting Numbers: [4464] 4464,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[121, 33], Operations: ['59+62=121', '98-65=33'] Exploring Operation: 121+33=154, Resulting Numbers: [154] 154,97 unequal: No Solution Exploring Operation: 121*33=3993, Resulting Numbers: [3993] 3993,97 unequal: No Solution Exploring Operation: 121-33=88, Resulting Numbers: [88] 88,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[127, 39], Operations: ['65+62=127', '98-59=39'] Exploring Operation: 127-39=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 127+39=166, Resulting Numbers: [166] 166,97 unequal: No Solution Exploring Operation: 127*39=4953, Resulting Numbers: [4953] 4953,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[98, 186], Operations: ['59+65=124', '62+124=186'] Exploring Operation: 98*186=18228, Resulting Numbers: [18228] 18228,97 unequal: No Solution Exploring Operation: 186-98=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 98+186=284, Resulting Numbers: [284] 284,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[127, 157], Operations: ['65+62=127', '59+98=157'] Exploring Operation: 127+157=284, Resulting Numbers: [284] 284,97 unequal: No Solution Exploring Operation: 127*157=19939, Resulting Numbers: [19939] 19939,97 unequal: No Solution Exploring Operation: 157-127=30, Resulting Numbers: [30] 30,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[98, 186], Operations: ['65+62=127', '59+127=186'] Exploring Operation: 98+186=284, Resulting Numbers: [284] 284,97 unequal: No Solution Exploring Operation: 98*186=18228, Resulting Numbers: [18228] 18228,97 unequal: No Solution Exploring Operation: 186-98=88, Resulting Numbers: [88] 88,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[124, 160], Operations: ['59+65=124', '98+62=160'] Exploring Operation: 160-124=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 124*160=19840, Resulting Numbers: [19840] 19840,97 unequal: No Solution Exploring Operation: 124+160=284, Resulting Numbers: [284] 284,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[98, 186], Operations: ['59+62=121', '65+121=186'] Exploring Operation: 186-98=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 98*186=18228, Resulting Numbers: [18228] 18228,97 unequal: No Solution Exploring Operation: 98+186=284, Resulting Numbers: [284] 284,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[121, 163], Operations: ['59+62=121', '98+65=163'] Exploring Operation: 121+163=284, Resulting Numbers: [284] 284,97 unequal: No Solution Exploring Operation: 163-121=42, Resulting Numbers: [42] 42,97 unequal: No Solution Exploring Operation: 121*163=19723, Resulting Numbers: [19723] 19723,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[62, 26], Operations: ['98-59=39', '65-39=26'] Exploring Operation: 62*26=1612, Resulting Numbers: [1612] 1612,97 unequal: No Solution Exploring Operation: 62+26=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 82, 12, 75, 51 ]
94
[ "82-12=70", "75-51=24", "70+24=94" ]
Current State: 94:[82, 12, 75, 51], Operations: [] Exploring Operation: 82-12=70, Resulting Numbers: [75, 51, 70] Generated Node #2: [75, 51, 70] from Operation: 82-12=70 Current State: 94:[75, 51, 70], Operations: ['82-12=70'] Exploring Operation: 75-51=24, Resulting Numbers: [70, 24] Generated Node #3: [70, 24] from Operation: 75-51=24 Current State: 94:[70, 24], Operations: ['82-12=70', '75-51=24'] Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[82, 12, 75, 51], Operations: [] Exploring Operation: 82-75=7, Resulting Numbers: [12, 51, 7] Generated Node #0,0: 94:[12, 51, 7] Operation: 82-75=7 Moving to Node #0,0 Current State: 94:[12, 51, 7], Operations: ['82-75=7'] Exploring Operation: 12-7=5, Resulting Numbers: [51, 5] Generated Node #0,0,0: 94:[51, 5] Operation: 12-7=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[51, 5], Operations: ['82-75=7', '12-7=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,94 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
[ 55, 3, 50, 52 ]
89
[ "50+52=102", "102/3=34", "55+34=89" ]
Current State: 89:[55, 3, 50, 52], Operations: [] Exploring Operation: 50+52=102, Resulting Numbers: [55, 3, 102] Generated Node #2: [55, 3, 102] from Operation: 50+52=102 Current State: 89:[55, 3, 102], Operations: ['50+52=102'] Exploring Operation: 102/3=34, Resulting Numbers: [55, 34] Generated Node #3: [55, 34] from Operation: 102/3=34 Current State: 89:[55, 34], Operations: ['50+52=102', '102/3=34'] Exploring Operation: 55+34=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[55, 3, 50, 52], Operations: [] Exploring Operation: 50-3=47, Resulting Numbers: [55, 52, 47] Generated Node #0,0: 89:[55, 52, 47] Operation: 50-3=47 Exploring Operation: 3+50=53, Resulting Numbers: [55, 52, 53] Generated Node #0,1: 89:[55, 52, 53] Operation: 3+50=53 Exploring Operation: 55-3=52, Resulting Numbers: [50, 52, 52] Generated Node #0,2: 89:[50, 52, 52] Operation: 55-3=52 Exploring Operation: 3+52=55, Resulting Numbers: [55, 50, 55] Generated Node #0,3: 89:[55, 50, 55] Operation: 3+52=55 Exploring Operation: 55+3=58, Resulting Numbers: [50, 52, 58] Generated Node #0,4: 89:[50, 52, 58] Operation: 55+3=58 Moving to Node #0,1 Current State: 89:[55, 52, 53], Operations: ['3+50=53'] Exploring Operation: 53-52=1, Resulting Numbers: [55, 1] Generated Node #0,1,0: 89:[55, 1] Operation: 53-52=1 Exploring Operation: 55-52=3, Resulting Numbers: [53, 3] Generated Node #0,1,1: 89:[53, 3] Operation: 55-52=3 Exploring Operation: 55+52=107, Resulting Numbers: [53, 107] Generated Node #0,1,2: 89:[53, 107] Operation: 55+52=107 Exploring Operation: 55+53=108, Resulting Numbers: [52, 108] Generated Node #0,1,3: 89:[52, 108] Operation: 55+53=108 Exploring Operation: 52+53=105, Resulting Numbers: [55, 105] Generated Node #0,1,4: 89:[55, 105] Operation: 52+53=105 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 89:[55, 105], Operations: ['3+50=53', '52+53=105'] Exploring Operation: 55+105=160, Resulting Numbers: [160] 160,89 unequal: No Solution Exploring Operation: 105-55=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 55*105=5775, Resulting Numbers: [5775] 5775,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[53, 107], Operations: ['3+50=53', '55+52=107'] Exploring Operation: 53+107=160, Resulting Numbers: [160] 160,89 unequal: No Solution Exploring Operation: 107-53=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 53*107=5671, Resulting Numbers: [5671] 5671,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 89:[52, 108], Operations: ['3+50=53', '55+53=108'] Exploring Operation: 108-52=56, Resulting Numbers: [56] 56,89 unequal: No Solution Exploring Operation: 52+108=160, Resulting Numbers: [160] 160,89 unequal: No Solution Exploring Operation: 52*108=5616, Resulting Numbers: [5616] 5616,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[55, 1], Operations: ['3+50=53', '53-52=1'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[53, 3], Operations: ['3+50=53', '55-52=3'] Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,89 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 89:[50, 52, 58], Operations: ['55+3=58'] Exploring Operation: 52+58=110, Resulting Numbers: [50, 110] Generated Node #0,4,0: 89:[50, 110] Operation: 52+58=110 Exploring Operation: 50+52=102, Resulting Numbers: [58, 102] Generated Node #0,4,1: 89:[58, 102] Operation: 50+52=102 Exploring Operation: 50+58=108, Resulting Numbers: [52, 108] Generated Node #0,4,2: 89:[52, 108] Operation: 50+58=108 Exploring Operation: 52-50=2, Resulting Numbers: [58, 2] Generated Node #0,4,3: 89:[58, 2] Operation: 52-50=2 Exploring Operation: 58-50=8, Resulting Numbers: [52, 8] Generated Node #0,4,4: 89:[52, 8] Operation: 58-50=8 Moving to Node #0,3 Current State: 89:[55, 50, 55], Operations: ['3+52=55'] Exploring Operation: 55-50=5, Resulting Numbers: [55, 5] Generated Node #0,3,0: 89:[55, 5] Operation: 55-50=5 Exploring Operation: 55+50=105, Resulting Numbers: [55, 105] Generated Node #0,3,1: 89:[55, 105] Operation: 55+50=105 Exploring Operation: 55-50=5, Resulting Numbers: [55, 5] Generated Node #0,3,2: 89:[55, 5] Operation: 55-50=5 Exploring Operation: 50+55=105, Resulting Numbers: [55, 105] Generated Node #0,3,3: 89:[55, 105] Operation: 50+55=105 Exploring Operation: 55+55=110, Resulting Numbers: [50, 110] Generated Node #0,3,4: 89:[50, 110] Operation: 55+55=110 Moving to Node #0,0 Current State: 89:[55, 52, 47], Operations: ['50-3=47'] Exploring Operation: 55+52=107, Resulting Numbers: [47, 107] Generated Node #0,0,0: 89:[47, 107] Operation: 55+52=107 Exploring Operation: 52+47=99, Resulting Numbers: [55, 99] Generated Node #0,0,1: 89:[55, 99] Operation: 52+47=99 Exploring Operation: 55+47=102, Resulting Numbers: [52, 102] Generated Node #0,0,2: 89:[52, 102] Operation: 55+47=102 Exploring Operation: 52-47=5, Resulting Numbers: [55, 5] Generated Node #0,0,3: 89:[55, 5] Operation: 52-47=5 Exploring Operation: 55-47=8, Resulting Numbers: [52, 8] Generated Node #0,0,4: 89:[52, 8] Operation: 55-47=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[55, 99], Operations: ['50-3=47', '52+47=99'] Exploring Operation: 99-55=44, Resulting Numbers: [44] 44,89 unequal: No Solution Exploring Operation: 55+99=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 55*99=5445, Resulting Numbers: [5445] 5445,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[52, 102], Operations: ['50-3=47', '55+47=102'] Exploring Operation: 52+102=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 102-52=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 52*102=5304, Resulting Numbers: [5304] 5304,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[47, 107], Operations: ['50-3=47', '55+52=107'] Exploring Operation: 107-47=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 47+107=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 47*107=5029, Resulting Numbers: [5029] 5029,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 89:[55, 5], Operations: ['50-3=47', '52-47=5'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 89:[52, 8], Operations: ['50-3=47', '55-47=8'] Exploring Operation: 52*8=416, Resulting Numbers: [416] 416,89 unequal: No Solution Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,89 unequal: No Solution Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,89 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: 89:[50, 52, 52], Operations: ['55-3=52'] Exploring Operation: 50+52=102, Resulting Numbers: [52, 102] Generated Node #0,2,0: 89:[52, 102] Operation: 50+52=102 Exploring Operation: 50+52=102, Resulting Numbers: [52, 102] Generated Node #0,2,1: 89:[52, 102] Operation: 50+52=102 Exploring Operation: 52+52=104, Resulting Numbers: [50, 104] Generated Node #0,2,2: 89:[50, 104] Operation: 52+52=104 Exploring Operation: 52-50=2, Resulting Numbers: [52, 2] Generated Node #0,2,3: 89:[52, 2] Operation: 52-50=2 Exploring Operation: 52-50=2, Resulting Numbers: [52, 2] Generated Node #0,2,4: 89:[52, 2] Operation: 52-50=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[52, 102], Operations: ['55-3=52', '50+52=102'] Exploring Operation: 52+102=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 102-52=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 52*102=5304, Resulting Numbers: [5304] 5304,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[52, 102], Operations: ['55-3=52', '50+52=102'] Exploring Operation: 52*102=5304, Resulting Numbers: [5304] 5304,89 unequal: No Solution Exploring Operation: 102-52=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 52+102=154, Resulting Numbers: [154] 154,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[50, 104], Operations: ['55-3=52', '52+52=104'] Exploring Operation: 50*104=5200, Resulting Numbers: [5200] 5200,89 unequal: No Solution Exploring Operation: 50+104=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 104-50=54, Resulting Numbers: [54] 54,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 89:[52, 2], Operations: ['55-3=52', '52-50=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,89 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 89:[52, 2], Operations: ['55-3=52', '52-50=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,89 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 89:[58, 102], Operations: ['55+3=58', '50+52=102'] Exploring Operation: 102-58=44, Resulting Numbers: [44] 44,89 unequal: No Solution Exploring Operation: 58+102=160, Resulting Numbers: [160] 160,89 unequal: No Solution Exploring Operation: 58*102=5916, Resulting Numbers: [5916] 5916,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[55, 105], Operations: ['3+52=55', '55+50=105'] Exploring Operation: 55+105=160, Resulting Numbers: [160] 160,89 unequal: No Solution Exploring Operation: 55*105=5775, Resulting Numbers: [5775] 5775,89 unequal: No Solution Exploring Operation: 105-55=50, Resulting Numbers: [50] 50,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[55, 105], Operations: ['3+52=55', '50+55=105'] Exploring Operation: 55*105=5775, Resulting Numbers: [5775] 5775,89 unequal: No Solution Exploring Operation: 55+105=160, Resulting Numbers: [160] 160,89 unequal: No Solution Exploring Operation: 105-55=50, Resulting Numbers: [50] 50,89 unequal: No Solution Moving to Node #0,4,2 Current State: 89:[52, 108], Operations: ['55+3=58', '50+58=108'] Exploring Operation: 108-52=56, Resulting Numbers: [56] 56,89 unequal: No Solution Exploring Operation: 52+108=160, Resulting Numbers: [160] 160,89 unequal: No Solution Exploring Operation: 52*108=5616, Resulting Numbers: [5616] 5616,89 unequal: No Solution Moving to Node #0,4,0 Current State: 89:[50, 110], Operations: ['55+3=58', '52+58=110'] Exploring Operation: 50+110=160, Resulting Numbers: [160] 160,89 unequal: No Solution Exploring Operation: 110-50=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 50*110=5500, Resulting Numbers: [5500] 5500,89 unequal: No Solution Moving to Node #0,3,4 Current State: 89:[50, 110], Operations: ['3+52=55', '55+55=110'] Exploring Operation: 110-50=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 50+110=160, Resulting Numbers: [160] 160,89 unequal: No Solution Exploring Operation: 50*110=5500, Resulting Numbers: [5500] 5500,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[55, 5], Operations: ['3+52=55', '55-50=5'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,89 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[55, 5], Operations: ['3+52=55', '55-50=5'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,89 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,89 unequal: No Solution Moving to Node #0,4,4 Current State: 89:[52, 8], Operations: ['55+3=58', '58-50=8'] Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,89 unequal: No Solution Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 52*8=416, Resulting Numbers: [416] 416,89 unequal: No Solution Moving to Node #0,4,3 Current State: 89:[58, 2], Operations: ['55+3=58', '52-50=2'] Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,89 unequal: No Solution Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,89 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,89 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 55, 48, 19, 33 ]
16
[ "55-19=36", "36-33=3", "48/3=16" ]
Current State: 16:[55, 48, 19, 33], Operations: [] Exploring Operation: 55-19=36, Resulting Numbers: [48, 33, 36] Generated Node #2: [48, 33, 36] from Operation: 55-19=36 Current State: 16:[48, 33, 36], Operations: ['55-19=36'] Exploring Operation: 36-33=3, Resulting Numbers: [48, 3] Generated Node #3: [48, 3] from Operation: 36-33=3 Current State: 16:[48, 3], Operations: ['55-19=36', '36-33=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[55, 48, 19, 33], Operations: [] Exploring Operation: 55-48=7, Resulting Numbers: [19, 33, 7] Generated Node #0,0: 16:[19, 33, 7] Operation: 55-48=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[19, 33, 7], Operations: ['55-48=7'] Exploring Operation: 33-19=14, Resulting Numbers: [7, 14] Generated Node #0,0,0: 16:[7, 14] Operation: 33-19=14 Moving to Node #0,0,0 Current State: 16:[7, 14], Operations: ['55-48=7', '33-19=14'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,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
mult_heuristic
[ 89, 66, 99, 92 ]
55
[ "92-89=3", "66+99=165", "165/3=55" ]
Current State: 55:[89, 66, 99, 92], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [66, 99, 3] Generated Node #2: [66, 99, 3] from Operation: 92-89=3 Current State: 55:[66, 99, 3], Operations: ['92-89=3'] Exploring Operation: 66+99=165, Resulting Numbers: [3, 165] Generated Node #3: [3, 165] from Operation: 66+99=165 Current State: 55:[3, 165], Operations: ['92-89=3', '66+99=165'] Exploring Operation: 165/3=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[89, 66, 99, 92], Operations: [] Exploring Operation: 99-92=7, Resulting Numbers: [89, 66, 7] Generated Node #0,0: 55:[89, 66, 7] Operation: 99-92=7 Exploring Operation: 99-89=10, Resulting Numbers: [66, 92, 10] Generated Node #0,1: 55:[66, 92, 10] Operation: 99-89=10 Moving to Node #0,0 Current State: 55:[89, 66, 7], Operations: ['99-92=7'] Exploring Operation: 89-66=23, Resulting Numbers: [7, 23] Generated Node #0,0,0: 55:[7, 23] Operation: 89-66=23 Exploring Operation: 89-7=82, Resulting Numbers: [66, 82] Generated Node #0,0,1: 55:[66, 82] Operation: 89-7=82 Moving to Node #0,1 Current State: 55:[66, 92, 10], Operations: ['99-89=10'] Exploring Operation: 92-66=26, Resulting Numbers: [10, 26] Generated Node #0,1,0: 55:[10, 26] Operation: 92-66=26 Exploring Operation: 66-10=56, Resulting Numbers: [92, 56] Generated Node #0,1,1: 55:[92, 56] Operation: 66-10=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[10, 26], Operations: ['99-89=10', '92-66=26'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[92, 56], Operations: ['99-89=10', '66-10=56'] Exploring Operation: 92+56=148, Resulting Numbers: [148] 148,55 unequal: No Solution Exploring Operation: 92-56=36, Resulting Numbers: [36] 36,55 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: 55:[7, 23], Operations: ['99-92=7', '89-66=23'] Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[66, 82], Operations: ['99-92=7', '89-7=82'] Exploring Operation: 66+82=148, Resulting Numbers: [148] 148,55 unequal: No Solution Exploring Operation: 82-66=16, Resulting Numbers: [16] 16,55 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 87, 71, 83, 22 ]
53
[ "87+71=158", "83+22=105", "158-105=53" ]
Current State: 53:[87, 71, 83, 22], Operations: [] Exploring Operation: 87+71=158, Resulting Numbers: [83, 22, 158] Generated Node #2: [83, 22, 158] from Operation: 87+71=158 Current State: 53:[83, 22, 158], Operations: ['87+71=158'] Exploring Operation: 83+22=105, Resulting Numbers: [158, 105] Generated Node #3: [158, 105] from Operation: 83+22=105 Current State: 53:[158, 105], Operations: ['87+71=158', '83+22=105'] Exploring Operation: 158-105=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[87, 71, 83, 22], Operations: [] Exploring Operation: 83-22=61, Resulting Numbers: [87, 71, 61] Generated Node #0,0: 53:[87, 71, 61] Operation: 83-22=61 Exploring Operation: 87-22=65, Resulting Numbers: [71, 83, 65] Generated Node #0,1: 53:[71, 83, 65] Operation: 87-22=65 Exploring Operation: 71-22=49, Resulting Numbers: [87, 83, 49] Generated Node #0,2: 53:[87, 83, 49] Operation: 71-22=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[87, 71, 61], Operations: ['83-22=61'] Exploring Operation: 71-61=10, Resulting Numbers: [87, 10] Generated Node #0,0,0: 53:[87, 10] Operation: 71-61=10 Exploring Operation: 87-71=16, Resulting Numbers: [61, 16] Generated Node #0,0,1: 53:[61, 16] Operation: 87-71=16 Exploring Operation: 87-61=26, Resulting Numbers: [71, 26] Generated Node #0,0,2: 53:[71, 26] Operation: 87-61=26 Moving to Node #0,0,1 Current State: 53:[61, 16], Operations: ['83-22=61', '87-71=16'] Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,53 unequal: No Solution Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,53 unequal: No Solution Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[71, 26], Operations: ['83-22=61', '87-61=26'] Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,53 unequal: No Solution Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,53 unequal: No Solution Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[87, 10], Operations: ['83-22=61', '71-61=10'] Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 87*10=870, Resulting Numbers: [870] 870,53 unequal: No Solution Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[71, 83, 65], Operations: ['87-22=65'] Exploring Operation: 83-65=18, Resulting Numbers: [71, 18] Generated Node #0,1,0: 53:[71, 18] Operation: 83-65=18 Exploring Operation: 71-65=6, Resulting Numbers: [83, 6] Generated Node #0,1,1: 53:[83, 6] Operation: 71-65=6 Exploring Operation: 83-71=12, Resulting Numbers: [65, 12] Generated Node #0,1,2: 53:[65, 12] Operation: 83-71=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[71, 18], Operations: ['87-22=65', '83-65=18'] Exploring Operation: 71*18=1278, Resulting Numbers: [1278] 1278,53 unequal: No Solution Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[87, 71, 83, 22], Operations: [] Exploring Operation: 87-22=65, Resulting Numbers: [71, 83, 65] Generated Node #0,1: 53:[71, 83, 65] Operation: 87-22=65 Moving to Node #0,1 Current State: 53:[71, 83, 65], Operations: ['87-22=65'] Exploring Operation: 83-65=18, Resulting Numbers: [71, 18] Generated Node #0,1,0: 53:[71, 18] Operation: 83-65=18 Moving to Node #0,1,0 Current State: 53:[71, 18], Operations: ['87-22=65', '83-65=18'] Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 40, 95, 81, 76 ]
22
[ "40+95=135", "81+76=157", "157-135=22" ]
Current State: 22:[40, 95, 81, 76], Operations: [] Exploring Operation: 40+95=135, Resulting Numbers: [81, 76, 135] Generated Node #2: [81, 76, 135] from Operation: 40+95=135 Current State: 22:[81, 76, 135], Operations: ['40+95=135'] Exploring Operation: 81+76=157, Resulting Numbers: [135, 157] Generated Node #3: [135, 157] from Operation: 81+76=157 Current State: 22:[135, 157], Operations: ['40+95=135', '81+76=157'] Exploring Operation: 157-135=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[40, 95, 81, 76], Operations: [] Exploring Operation: 95-76=19, Resulting Numbers: [40, 81, 19] Generated Node #0,0: 22:[40, 81, 19] Operation: 95-76=19 Exploring Operation: 81-76=5, Resulting Numbers: [40, 95, 5] Generated Node #0,1: 22:[40, 95, 5] Operation: 81-76=5 Exploring Operation: 95-81=14, Resulting Numbers: [40, 76, 14] Generated Node #0,2: 22:[40, 76, 14] Operation: 95-81=14 Exploring Operation: 95-40=55, Resulting Numbers: [81, 76, 55] Generated Node #0,3: 22:[81, 76, 55] Operation: 95-40=55 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[40, 76, 14], Operations: ['95-81=14'] Exploring Operation: 40+14=54, Resulting Numbers: [76, 54] Generated Node #0,2,0: 22:[76, 54] Operation: 40+14=54 Exploring Operation: 76-14=62, Resulting Numbers: [40, 62] Generated Node #0,2,1: 22:[40, 62] Operation: 76-14=62 Exploring Operation: 76-40=36, Resulting Numbers: [14, 36] Generated Node #0,2,2: 22:[14, 36] Operation: 76-40=36 Exploring Operation: 40-14=26, Resulting Numbers: [76, 26] Generated Node #0,2,3: 22:[76, 26] Operation: 40-14=26 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 22:[14, 36], Operations: ['95-81=14', '76-40=36'] Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,22 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[40, 95, 81, 76], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [40, 76, 14] Generated Node #0,2: 22:[40, 76, 14] Operation: 95-81=14 Moving to Node #0,2 Current State: 22:[40, 76, 14], Operations: ['95-81=14'] Exploring Operation: 76-40=36, Resulting Numbers: [14, 36] Generated Node #0,2,2: 22:[14, 36] Operation: 76-40=36 Moving to Node #0,2,2 Current State: 22:[14, 36], Operations: ['95-81=14', '76-40=36'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 41, 71, 37, 4 ]
95
[ "71-37=34", "4*34=136", "136-41=95" ]
Current State: 95:[41, 71, 37, 4], Operations: [] Exploring Operation: 71-37=34, Resulting Numbers: [41, 4, 34] Generated Node #2: [41, 4, 34] from Operation: 71-37=34 Current State: 95:[41, 4, 34], Operations: ['71-37=34'] Exploring Operation: 4*34=136, Resulting Numbers: [41, 136] Generated Node #3: [41, 136] from Operation: 4*34=136 Current State: 95:[41, 136], Operations: ['71-37=34', '4*34=136'] Exploring Operation: 136-41=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[41, 71, 37, 4], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [71, 4, 4] Generated Node #0,0: 95:[71, 4, 4] Operation: 41-37=4 Exploring Operation: 71-41=30, Resulting Numbers: [37, 4, 30] Generated Node #0,1: 95:[37, 4, 30] Operation: 71-41=30 Exploring Operation: 71+37=108, Resulting Numbers: [41, 4, 108] Generated Node #0,2: 95:[41, 4, 108] Operation: 71+37=108 Exploring Operation: 41+71=112, Resulting Numbers: [37, 4, 112] Generated Node #0,3: 95:[37, 4, 112] Operation: 41+71=112 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[71, 4, 4], Operations: ['41-37=4'] Exploring Operation: 4*4=16, Resulting Numbers: [71, 16] Generated Node #0,0,0: 95:[71, 16] Operation: 4*4=16 Exploring Operation: 4+4=8, Resulting Numbers: [71, 8] Generated Node #0,0,1: 95:[71, 8] Operation: 4+4=8 Exploring Operation: 71+4=75, Resulting Numbers: [4, 75] Generated Node #0,0,2: 95:[4, 75] Operation: 71+4=75 Exploring Operation: 71+4=75, Resulting Numbers: [4, 75] Generated Node #0,0,3: 95:[4, 75] Operation: 71+4=75 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 95:[4, 75], Operations: ['41-37=4', '71+4=75'] Exploring Operation: 4+75=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,95 unequal: No Solution Exploring Operation: 4*75=300, Resulting Numbers: [300] 300,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 95:[4, 75], Operations: ['41-37=4', '71+4=75'] Exploring Operation: 4*75=300, Resulting Numbers: [300] 300,95 unequal: No Solution Exploring Operation: 4+75=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[71, 16], Operations: ['41-37=4', '4*4=16'] Exploring Operation: 71+16=87, Resulting Numbers: [87] 87,95 unequal: No Solution Exploring Operation: 71*16=1136, Resulting Numbers: [1136] 1136,95 unequal: No Solution Exploring Operation: 71-16=55, Resulting Numbers: [55] 55,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[71, 8], Operations: ['41-37=4', '4+4=8'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[37, 4, 30], Operations: ['71-41=30'] Exploring Operation: 30-4=26, Resulting Numbers: [37, 26] Generated Node #0,1,0: 95:[37, 26] Operation: 30-4=26 Exploring Operation: 37-4=33, Resulting Numbers: [30, 33] Generated Node #0,1,1: 95:[30, 33] Operation: 37-4=33 Exploring Operation: 37+30=67, Resulting Numbers: [4, 67] Generated Node #0,1,2: 95:[4, 67] Operation: 37+30=67 Exploring Operation: 37-30=7, Resulting Numbers: [4, 7] Generated Node #0,1,3: 95:[4, 7] Operation: 37-30=7 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 95:[4, 7], Operations: ['71-41=30', '37-30=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[37, 26], Operations: ['71-41=30', '30-4=26'] Exploring Operation: 37+26=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 37*26=962, Resulting Numbers: [962] 962,95 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[30, 33], Operations: ['71-41=30', '37-4=33'] Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 95:[4, 67], Operations: ['71-41=30', '37+30=67'] Exploring Operation: 4+67=71, Resulting Numbers: [71] 71,95 unequal: No Solution Exploring Operation: 4*67=268, Resulting Numbers: [268] 268,95 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[41, 4, 108], Operations: ['71+37=108'] Exploring Operation: 41-4=37, Resulting Numbers: [108, 37] Generated Node #0,2,0: 95:[108, 37] Operation: 41-4=37 Exploring Operation: 108-41=67, Resulting Numbers: [4, 67] Generated Node #0,2,1: 95:[4, 67] Operation: 108-41=67 Exploring Operation: 108-4=104, Resulting Numbers: [41, 104] Generated Node #0,2,2: 95:[41, 104] Operation: 108-4=104 Exploring Operation: 108/4=27, Resulting Numbers: [41, 27] Generated Node #0,2,3: 95:[41, 27] Operation: 108/4=27 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 95:[4, 67], Operations: ['71+37=108', '108-41=67'] Exploring Operation: 4*67=268, Resulting Numbers: [268] 268,95 unequal: No Solution Exploring Operation: 4+67=71, Resulting Numbers: [71] 71,95 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 95:[41, 27], Operations: ['71+37=108', '108/4=27'] Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,95 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 95:[108, 37], Operations: ['71+37=108', '41-4=37'] Exploring Operation: 108-37=71, Resulting Numbers: [71] 71,95 unequal: No Solution Exploring Operation: 108*37=3996, Resulting Numbers: [3996] 3996,95 unequal: No Solution Exploring Operation: 108+37=145, Resulting Numbers: [145] 145,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 95:[41, 104], Operations: ['71+37=108', '108-4=104'] Exploring Operation: 104-41=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 41*104=4264, Resulting Numbers: [4264] 4264,95 unequal: No Solution Exploring Operation: 41+104=145, Resulting Numbers: [145] 145,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 95:[37, 4, 112], Operations: ['41+71=112'] Exploring Operation: 37-4=33, Resulting Numbers: [112, 33] Generated Node #0,3,0: 95:[112, 33] Operation: 37-4=33 Exploring Operation: 112-37=75, Resulting Numbers: [4, 75] Generated Node #0,3,1: 95:[4, 75] Operation: 112-37=75 Exploring Operation: 112-4=108, Resulting Numbers: [37, 108] Generated Node #0,3,2: 95:[37, 108] Operation: 112-4=108 Exploring Operation: 112/4=28, Resulting Numbers: [37, 28] Generated Node #0,3,3: 95:[37, 28] Operation: 112/4=28 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 95:[4, 75], Operations: ['41+71=112', '112-37=75'] Exploring Operation: 4+75=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,95 unequal: No Solution Exploring Operation: 4*75=300, Resulting Numbers: [300] 300,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 95:[37, 28], Operations: ['41+71=112', '112/4=28'] Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 37*28=1036, Resulting Numbers: [1036] 1036,95 unequal: No Solution Exploring Operation: 37+28=65, Resulting Numbers: [65] 65,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 95:[112, 33], Operations: ['41+71=112', '37-4=33'] Exploring Operation: 112*33=3696, Resulting Numbers: [3696] 3696,95 unequal: No Solution Exploring Operation: 112+33=145, Resulting Numbers: [145] 145,95 unequal: No Solution Exploring Operation: 112-33=79, Resulting Numbers: [79] 79,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 95:[37, 108], Operations: ['41+71=112', '112-4=108'] Exploring Operation: 37+108=145, Resulting Numbers: [145] 145,95 unequal: No Solution Exploring Operation: 37*108=3996, Resulting Numbers: [3996] 3996,95 unequal: No Solution Exploring Operation: 108-37=71, Resulting Numbers: [71] 71,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 10, 53, 13, 70 ]
33
[ "70/10=7", "53-13=40", "40-7=33" ]
Current State: 33:[10, 53, 13, 70], Operations: [] Exploring Operation: 70/10=7, Resulting Numbers: [53, 13, 7] Generated Node #2: [53, 13, 7] from Operation: 70/10=7 Current State: 33:[53, 13, 7], Operations: ['70/10=7'] Exploring Operation: 53-13=40, Resulting Numbers: [7, 40] Generated Node #3: [7, 40] from Operation: 53-13=40 Current State: 33:[7, 40], Operations: ['70/10=7', '53-13=40'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[10, 53, 13, 70], Operations: [] Exploring Operation: 53-13=40, Resulting Numbers: [10, 70, 40] Generated Node #0,0: 33:[10, 70, 40] Operation: 53-13=40 Exploring Operation: 70-53=17, Resulting Numbers: [10, 13, 17] Generated Node #0,1: 33:[10, 13, 17] Operation: 70-53=17 Exploring Operation: 70/10=7, Resulting Numbers: [53, 13, 7] Generated Node #0,2: 33:[53, 13, 7] Operation: 70/10=7 Exploring Operation: 70-13=57, Resulting Numbers: [10, 53, 57] Generated Node #0,3: 33:[10, 53, 57] Operation: 70-13=57 Moving to Node #0,1 Current State: 33:[10, 13, 17], Operations: ['70-53=17'] Exploring Operation: 17-13=4, Resulting Numbers: [10, 4] Generated Node #0,1,0: 33:[10, 4] Operation: 17-13=4 Exploring Operation: 17-10=7, Resulting Numbers: [13, 7] Generated Node #0,1,1: 33:[13, 7] Operation: 17-10=7 Exploring Operation: 13+17=30, Resulting Numbers: [10, 30] Generated Node #0,1,2: 33:[10, 30] Operation: 13+17=30 Exploring Operation: 13-10=3, Resulting Numbers: [17, 3] Generated Node #0,1,3: 33:[17, 3] Operation: 13-10=3 Moving to Node #0,2 Current State: 33:[53, 13, 7], Operations: ['70/10=7'] Exploring Operation: 53-7=46, Resulting Numbers: [13, 46] Generated Node #0,2,0: 33:[13, 46] Operation: 53-7=46 Exploring Operation: 13-7=6, Resulting Numbers: [53, 6] Generated Node #0,2,1: 33:[53, 6] Operation: 13-7=6 Exploring Operation: 53+7=60, Resulting Numbers: [13, 60] Generated Node #0,2,2: 33:[13, 60] Operation: 53+7=60 Exploring Operation: 53-13=40, Resulting Numbers: [7, 40] Generated Node #0,2,3: 33:[7, 40] Operation: 53-13=40 Moving to Node #0,3 Current State: 33:[10, 53, 57], Operations: ['70-13=57'] Exploring Operation: 53-10=43, Resulting Numbers: [57, 43] Generated Node #0,3,0: 33:[57, 43] Operation: 53-10=43 Exploring Operation: 57-53=4, Resulting Numbers: [10, 4] Generated Node #0,3,1: 33:[10, 4] Operation: 57-53=4 Exploring Operation: 57-10=47, Resulting Numbers: [53, 47] Generated Node #0,3,2: 33:[53, 47] Operation: 57-10=47 Exploring Operation: 10+53=63, Resulting Numbers: [57, 63] Generated Node #0,3,3: 33:[57, 63] Operation: 10+53=63 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 33:[10, 4], Operations: ['70-13=57', '57-53=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,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,3,0 Current State: 33:[57, 43], Operations: ['70-13=57', '53-10=43'] Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,33 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,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,3,2 Current State: 33:[53, 47], Operations: ['70-13=57', '57-10=47'] Exploring Operation: 53+47=100, Resulting Numbers: [100] 100,33 unequal: No Solution Exploring Operation: 53*47=2491, Resulting Numbers: [2491] 2491,33 unequal: No Solution Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,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,3,3 Current State: 33:[57, 63], Operations: ['70-13=57', '10+53=63'] Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,33 unequal: No Solution Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,33 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 33:[10, 70, 40], Operations: ['53-13=40'] Exploring Operation: 40/10=4, Resulting Numbers: [70, 4] Generated Node #0,0,0: 33:[70, 4] Operation: 40/10=4 Exploring Operation: 70/10=7, Resulting Numbers: [40, 7] Generated Node #0,0,1: 33:[40, 7] Operation: 70/10=7 Exploring Operation: 70-10=60, Resulting Numbers: [40, 60] Generated Node #0,0,2: 33:[40, 60] Operation: 70-10=60 Exploring Operation: 70-40=30, Resulting Numbers: [10, 30] Generated Node #0,0,3: 33:[10, 30] Operation: 70-40=30 Moving to Node #0,1,0 Current State: 33:[10, 4], Operations: ['70-53=17', '17-13=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[10, 30], Operations: ['70-53=17', '13+17=30'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 10*30=300, Resulting Numbers: [300] 300,33 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[10, 30], Operations: ['53-13=40', '70-40=30'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 10*30=300, Resulting Numbers: [300] 300,33 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[13, 7], Operations: ['70-53=17', '17-10=7'] Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,33 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[17, 3], Operations: ['70-53=17', '13-10=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[40, 7], Operations: ['53-13=40', '70/10=7'] Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,33 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,33 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[10, 53, 13, 70], Operations: [] Exploring Operation: 53-13=40, Resulting Numbers: [10, 70, 40] Generated Node #0,0: 33:[10, 70, 40] Operation: 53-13=40 Moving to Node #0,0 Current State: 33:[10, 70, 40], Operations: ['53-13=40'] Exploring Operation: 70/10=7, Resulting Numbers: [40, 7] Generated Node #0,0,1: 33:[40, 7] Operation: 70/10=7 Moving to Node #0,0,1 Current State: 33:[40, 7], Operations: ['53-13=40', '70/10=7'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.951389
hs_4
sum_heuristic
[ 68, 93, 58, 55 ]
43
[ "68*58=3944", "55+3944=3999", "3999/93=43" ]
Current State: 43:[68, 93, 58, 55], Operations: [] Exploring Operation: 68*58=3944, Resulting Numbers: [93, 55, 3944] Generated Node #2: [93, 55, 3944] from Operation: 68*58=3944 Current State: 43:[93, 55, 3944], Operations: ['68*58=3944'] Exploring Operation: 55+3944=3999, Resulting Numbers: [93, 3999] Generated Node #3: [93, 3999] from Operation: 55+3944=3999 Current State: 43:[93, 3999], Operations: ['68*58=3944', '55+3944=3999'] Exploring Operation: 3999/93=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[68, 93, 58, 55], Operations: [] Exploring Operation: 93-58=35, Resulting Numbers: [68, 55, 35] Generated Node #0,0: 43:[68, 55, 35] Operation: 93-58=35 Exploring Operation: 93-68=25, Resulting Numbers: [58, 55, 25] Generated Node #0,1: 43:[58, 55, 25] Operation: 93-68=25 Moving to Node #0,0 Current State: 43:[68, 55, 35], Operations: ['93-58=35'] Exploring Operation: 68-35=33, Resulting Numbers: [55, 33] Generated Node #0,0,0: 43:[55, 33] Operation: 68-35=33 Exploring Operation: 68-55=13, Resulting Numbers: [35, 13] Generated Node #0,0,1: 43:[35, 13] Operation: 68-55=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[55, 33], Operations: ['93-58=35', '68-35=33'] Exploring Operation: 55+33=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,43 unequal: No Solution No 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: 43:[35, 13], Operations: ['93-58=35', '68-55=13'] Exploring Operation: 35+13=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,43 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: 43:[58, 55, 25], Operations: ['93-68=25'] Exploring Operation: 55-25=30, Resulting Numbers: [58, 30] Generated Node #0,1,0: 43:[58, 30] Operation: 55-25=30 Exploring Operation: 58-25=33, Resulting Numbers: [55, 33] Generated Node #0,1,1: 43:[55, 33] Operation: 58-25=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[55, 33], Operations: ['93-68=25', '58-25=33'] Exploring Operation: 55+33=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,43 unequal: No Solution No 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: 43:[58, 30], Operations: ['93-68=25', '55-25=30'] Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,43 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
[ 4, 22, 79, 88 ]
17
[ "4+22=26", "88-79=9", "26-9=17" ]
Current State: 17:[4, 22, 79, 88], Operations: [] Exploring Operation: 4+22=26, Resulting Numbers: [79, 88, 26] Generated Node #2: [79, 88, 26] from Operation: 4+22=26 Current State: 17:[79, 88, 26], Operations: ['4+22=26'] Exploring Operation: 88-79=9, Resulting Numbers: [26, 9] Generated Node #3: [26, 9] from Operation: 88-79=9 Current State: 17:[26, 9], Operations: ['4+22=26', '88-79=9'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[4, 22, 79, 88], Operations: [] Exploring Operation: 88/4=22, Resulting Numbers: [22, 79, 22] Generated Node #0,0: 17:[22, 79, 22] Operation: 88/4=22 Exploring Operation: 88-79=9, Resulting Numbers: [4, 22, 9] Generated Node #0,1: 17:[4, 22, 9] Operation: 88-79=9 Moving to Node #0,1 Current State: 17:[4, 22, 9], Operations: ['88-79=9'] Exploring Operation: 22-4=18, Resulting Numbers: [9, 18] Generated Node #0,1,0: 17:[9, 18] Operation: 22-4=18 Exploring Operation: 4+9=13, Resulting Numbers: [22, 13] Generated Node #0,1,1: 17:[22, 13] Operation: 4+9=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[9, 18], Operations: ['88-79=9', '22-4=18'] Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,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:[22, 13], Operations: ['88-79=9', '4+9=13'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,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:[22, 79, 22], Operations: ['88/4=22'] Exploring Operation: 79-22=57, Resulting Numbers: [22, 57] Generated Node #0,0,0: 17:[22, 57] Operation: 79-22=57 Exploring Operation: 79-22=57, Resulting Numbers: [22, 57] Generated Node #0,0,1: 17:[22, 57] Operation: 79-22=57 Moving to Node #0,0,0 Current State: 17:[22, 57], Operations: ['88/4=22', '79-22=57'] Exploring Operation: 22+57=79, Resulting Numbers: [79] 79,17 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[22, 57], Operations: ['88/4=22', '79-22=57'] Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 22+57=79, Resulting Numbers: [79] 79,17 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 9, 33, 29, 6 ]
77
[ "9+33=42", "29+6=35", "42+35=77" ]
Current State: 77:[9, 33, 29, 6], Operations: [] Exploring Operation: 9+33=42, Resulting Numbers: [29, 6, 42] Generated Node #2: [29, 6, 42] from Operation: 9+33=42 Current State: 77:[29, 6, 42], Operations: ['9+33=42'] Exploring Operation: 29+6=35, Resulting Numbers: [42, 35] Generated Node #3: [42, 35] from Operation: 29+6=35 Current State: 77:[42, 35], Operations: ['9+33=42', '29+6=35'] Exploring Operation: 42+35=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[9, 33, 29, 6], Operations: [] Exploring Operation: 33+29=62, Resulting Numbers: [9, 6, 62] Generated Node #0,0: 77:[9, 6, 62] Operation: 33+29=62 Exploring Operation: 33-9=24, Resulting Numbers: [29, 6, 24] Generated Node #0,1: 77:[29, 6, 24] Operation: 33-9=24 Exploring Operation: 29-9=20, Resulting Numbers: [33, 6, 20] Generated Node #0,2: 77:[33, 6, 20] Operation: 29-9=20 Exploring Operation: 33-29=4, Resulting Numbers: [9, 6, 4] Generated Node #0,3: 77:[9, 6, 4] Operation: 33-29=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[9, 6, 4], Operations: ['33-29=4'] Exploring Operation: 9+4=13, Resulting Numbers: [6, 13] Generated Node #0,3,0: 77:[6, 13] Operation: 9+4=13 Exploring Operation: 9-4=5, Resulting Numbers: [6, 5] Generated Node #0,3,1: 77:[6, 5] Operation: 9-4=5 Exploring Operation: 6+4=10, Resulting Numbers: [9, 10] Generated Node #0,3,2: 77:[9, 10] Operation: 6+4=10 Exploring Operation: 9+6=15, Resulting Numbers: [4, 15] Generated Node #0,3,3: 77:[4, 15] Operation: 9+6=15 Moving to Node #0,3,0 Current State: 77:[6, 13], Operations: ['33-29=4', '9+4=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[9, 10], Operations: ['33-29=4', '6+4=10'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[6, 5], Operations: ['33-29=4', '9-4=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[4, 15], Operations: ['33-29=4', '9+6=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,77 unequal: No Solution No 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: 77:[9, 6, 62], Operations: ['33+29=62'] Exploring Operation: 9+6=15, Resulting Numbers: [62, 15] Generated Node #0,0,0: 77:[62, 15] Operation: 9+6=15 Exploring Operation: 9+62=71, Resulting Numbers: [6, 71] Generated Node #0,0,1: 77:[6, 71] Operation: 9+62=71 Exploring Operation: 9-6=3, Resulting Numbers: [62, 3] Generated Node #0,0,2: 77:[62, 3] Operation: 9-6=3 Exploring Operation: 6+62=68, Resulting Numbers: [9, 68] Generated Node #0,0,3: 77:[9, 68] Operation: 6+62=68 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[6, 71], Operations: ['33+29=62', '9+62=71'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,77 unequal: No Solution Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[9, 33, 29, 6], Operations: [] Exploring Operation: 33+29=62, Resulting Numbers: [9, 6, 62] Generated Node #0,0: 77:[9, 6, 62] Operation: 33+29=62 Moving to Node #0,0 Current State: 77:[9, 6, 62], Operations: ['33+29=62'] Exploring Operation: 9+62=71, Resulting Numbers: [6, 71] Generated Node #0,0,1: 77:[6, 71] Operation: 9+62=71 Moving to Node #0,0,1 Current State: 77:[6, 71], Operations: ['33+29=62', '9+62=71'] Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 20, 37, 3, 55 ]
69
[ "37-20=17", "55-3=52", "17+52=69" ]
Current State: 69:[20, 37, 3, 55], Operations: [] Exploring Operation: 37-20=17, Resulting Numbers: [3, 55, 17] Generated Node #2: [3, 55, 17] from Operation: 37-20=17 Current State: 69:[3, 55, 17], Operations: ['37-20=17'] Exploring Operation: 55-3=52, Resulting Numbers: [17, 52] Generated Node #3: [17, 52] from Operation: 55-3=52 Current State: 69:[17, 52], Operations: ['37-20=17', '55-3=52'] Exploring Operation: 17+52=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[20, 37, 3, 55], Operations: [] Exploring Operation: 55-37=18, Resulting Numbers: [20, 3, 18] Generated Node #0,0: 69:[20, 3, 18] Operation: 55-37=18 Moving to Node #0,0 Current State: 69:[20, 3, 18], Operations: ['55-37=18'] Exploring Operation: 20-18=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 69:[3, 2] Operation: 20-18=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[3, 2], Operations: ['55-37=18', '20-18=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 28, 24, 13, 59 ]
76
[ "28-24=4", "13+59=72", "4+72=76" ]
Current State: 76:[28, 24, 13, 59], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [13, 59, 4] Generated Node #2: [13, 59, 4] from Operation: 28-24=4 Current State: 76:[13, 59, 4], Operations: ['28-24=4'] Exploring Operation: 13+59=72, Resulting Numbers: [4, 72] Generated Node #3: [4, 72] from Operation: 13+59=72 Current State: 76:[4, 72], Operations: ['28-24=4', '13+59=72'] Exploring Operation: 4+72=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[28, 24, 13, 59], Operations: [] Exploring Operation: 59-24=35, Resulting Numbers: [28, 13, 35] Generated Node #0,0: 76:[28, 13, 35] Operation: 59-24=35 Exploring Operation: 13+59=72, Resulting Numbers: [28, 24, 72] Generated Node #0,1: 76:[28, 24, 72] Operation: 13+59=72 Exploring Operation: 59-28=31, Resulting Numbers: [24, 13, 31] Generated Node #0,2: 76:[24, 13, 31] Operation: 59-28=31 Moving to Node #0,0 Current State: 76:[28, 13, 35], Operations: ['59-24=35'] Exploring Operation: 35-28=7, Resulting Numbers: [13, 7] Generated Node #0,0,0: 76:[13, 7] Operation: 35-28=7 Exploring Operation: 28-13=15, Resulting Numbers: [35, 15] Generated Node #0,0,1: 76:[35, 15] Operation: 28-13=15 Exploring Operation: 28+13=41, Resulting Numbers: [35, 41] Generated Node #0,0,2: 76:[35, 41] Operation: 28+13=41 Moving to Node #0,1 Current State: 76:[28, 24, 72], Operations: ['13+59=72'] Exploring Operation: 72/24=3, Resulting Numbers: [28, 3] Generated Node #0,1,0: 76:[28, 3] Operation: 72/24=3 Exploring Operation: 72-28=44, Resulting Numbers: [24, 44] Generated Node #0,1,1: 76:[24, 44] Operation: 72-28=44 Exploring Operation: 28-24=4, Resulting Numbers: [72, 4] Generated Node #0,1,2: 76:[72, 4] Operation: 28-24=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[72, 4], Operations: ['13+59=72', '28-24=4'] Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,76 unequal: No Solution Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[28, 24, 13, 59], Operations: [] Exploring Operation: 13+59=72, Resulting Numbers: [28, 24, 72] Generated Node #0,1: 76:[28, 24, 72] Operation: 13+59=72 Moving to Node #0,1 Current State: 76:[28, 24, 72], Operations: ['13+59=72'] Exploring Operation: 28-24=4, Resulting Numbers: [72, 4] Generated Node #0,1,2: 76:[72, 4] Operation: 28-24=4 Moving to Node #0,1,2 Current State: 76:[72, 4], Operations: ['13+59=72', '28-24=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 40, 56, 20, 49 ]
42
[ "40/20=2", "49*2=98", "98-56=42" ]
Current State: 42:[40, 56, 20, 49], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [56, 49, 2] Generated Node #2: [56, 49, 2] from Operation: 40/20=2 Current State: 42:[56, 49, 2], Operations: ['40/20=2'] Exploring Operation: 49*2=98, Resulting Numbers: [56, 98] Generated Node #3: [56, 98] from Operation: 49*2=98 Current State: 42:[56, 98], Operations: ['40/20=2', '49*2=98'] Exploring Operation: 98-56=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[40, 56, 20, 49], Operations: [] Exploring Operation: 56-49=7, Resulting Numbers: [40, 20, 7] Generated Node #0,0: 42:[40, 20, 7] Operation: 56-49=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[40, 20, 7], Operations: ['56-49=7'] Exploring Operation: 40/20=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 42:[7, 2] Operation: 40/20=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[7, 2], Operations: ['56-49=7', '40/20=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 47, 27, 79, 30 ]
51
[ "79*30=2370", "27+2370=2397", "2397/47=51" ]
Current State: 51:[47, 27, 79, 30], Operations: [] Exploring Operation: 79*30=2370, Resulting Numbers: [47, 27, 2370] Generated Node #2: [47, 27, 2370] from Operation: 79*30=2370 Current State: 51:[47, 27, 2370], Operations: ['79*30=2370'] Exploring Operation: 27+2370=2397, Resulting Numbers: [47, 2397] Generated Node #3: [47, 2397] from Operation: 27+2370=2397 Current State: 51:[47, 2397], Operations: ['79*30=2370', '27+2370=2397'] Exploring Operation: 2397/47=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[47, 27, 79, 30], Operations: [] Exploring Operation: 79-30=49, Resulting Numbers: [47, 27, 49] Generated Node #0,0: 51:[47, 27, 49] Operation: 79-30=49 Exploring Operation: 79-47=32, Resulting Numbers: [27, 30, 32] Generated Node #0,1: 51:[27, 30, 32] Operation: 79-47=32 Exploring Operation: 79-27=52, Resulting Numbers: [47, 30, 52] Generated Node #0,2: 51:[47, 30, 52] Operation: 79-27=52 Exploring Operation: 30-27=3, Resulting Numbers: [47, 79, 3] Generated Node #0,3: 51:[47, 79, 3] Operation: 30-27=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[47, 27, 49], Operations: ['79-30=49'] Exploring Operation: 49-47=2, Resulting Numbers: [27, 2] Generated Node #0,0,0: 51:[27, 2] Operation: 49-47=2 Exploring Operation: 47+27=74, Resulting Numbers: [49, 74] Generated Node #0,0,1: 51:[49, 74] Operation: 47+27=74 Exploring Operation: 49-27=22, Resulting Numbers: [47, 22] Generated Node #0,0,2: 51:[47, 22] Operation: 49-27=22 Exploring Operation: 47-27=20, Resulting Numbers: [49, 20] Generated Node #0,0,3: 51:[49, 20] Operation: 47-27=20 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 51:[49, 20], Operations: ['79-30=49', '47-27=20'] Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,51 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[47, 22], Operations: ['79-30=49', '49-27=22'] Exploring Operation: 47*22=1034, Resulting Numbers: [1034] 1034,51 unequal: No Solution Exploring Operation: 47+22=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[27, 2], Operations: ['79-30=49', '49-47=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[49, 74], Operations: ['79-30=49', '47+27=74'] Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 49*74=3626, Resulting Numbers: [3626] 3626,51 unequal: No Solution Exploring Operation: 49+74=123, Resulting Numbers: [123] 123,51 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: 51:[47, 30, 52], Operations: ['79-27=52'] Exploring Operation: 47+30=77, Resulting Numbers: [52, 77] Generated Node #0,2,0: 51:[52, 77] Operation: 47+30=77 Exploring Operation: 47-30=17, Resulting Numbers: [52, 17] Generated Node #0,2,1: 51:[52, 17] Operation: 47-30=17 Exploring Operation: 52-30=22, Resulting Numbers: [47, 22] Generated Node #0,2,2: 51:[47, 22] Operation: 52-30=22 Exploring Operation: 52-47=5, Resulting Numbers: [30, 5] Generated Node #0,2,3: 51:[30, 5] Operation: 52-47=5 Moving to Node #0,2,1 Current State: 51:[52, 17], Operations: ['79-27=52', '47-30=17'] Exploring Operation: 52*17=884, Resulting Numbers: [884] 884,51 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,51 unequal: No Solution Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[47, 22], Operations: ['79-27=52', '52-30=22'] Exploring Operation: 47+22=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 47*22=1034, Resulting Numbers: [1034] 1034,51 unequal: No Solution Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[30, 5], Operations: ['79-27=52', '52-47=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,51 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,51 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[52, 77], Operations: ['79-27=52', '47+30=77'] Exploring Operation: 52*77=4004, Resulting Numbers: [4004] 4004,51 unequal: No Solution Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 52+77=129, Resulting Numbers: [129] 129,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[47, 79, 3], Operations: ['30-27=3'] Exploring Operation: 47-3=44, Resulting Numbers: [79, 44] Generated Node #0,3,0: 51:[79, 44] Operation: 47-3=44 Exploring Operation: 47+3=50, Resulting Numbers: [79, 50] Generated Node #0,3,1: 51:[79, 50] Operation: 47+3=50 Exploring Operation: 79-3=76, Resulting Numbers: [47, 76] Generated Node #0,3,2: 51:[47, 76] Operation: 79-3=76 Exploring Operation: 79-47=32, Resulting Numbers: [3, 32] Generated Node #0,3,3: 51:[3, 32] Operation: 79-47=32 Moving to Node #0,3,3 Current State: 51:[3, 32], Operations: ['30-27=3', '79-47=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,51 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[47, 76], Operations: ['30-27=3', '79-3=76'] Exploring Operation: 47*76=3572, Resulting Numbers: [3572] 3572,51 unequal: No Solution Exploring Operation: 47+76=123, Resulting Numbers: [123] 123,51 unequal: No Solution Exploring Operation: 76-47=29, Resulting Numbers: [29] 29,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[79, 50], Operations: ['30-27=3', '47+3=50'] Exploring Operation: 79*50=3950, Resulting Numbers: [3950] 3950,51 unequal: No Solution Exploring Operation: 79+50=129, Resulting Numbers: [129] 129,51 unequal: No Solution Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[79, 44], Operations: ['30-27=3', '47-3=44'] Exploring Operation: 79+44=123, Resulting Numbers: [123] 123,51 unequal: No Solution Exploring Operation: 79*44=3476, Resulting Numbers: [3476] 3476,51 unequal: No Solution Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[27, 30, 32], Operations: ['79-47=32'] Exploring Operation: 27+30=57, Resulting Numbers: [32, 57] Generated Node #0,1,0: 51:[32, 57] Operation: 27+30=57 Exploring Operation: 30-27=3, Resulting Numbers: [32, 3] Generated Node #0,1,1: 51:[32, 3] Operation: 30-27=3 Exploring Operation: 32-30=2, Resulting Numbers: [27, 2] Generated Node #0,1,2: 51:[27, 2] Operation: 32-30=2 Exploring Operation: 32-27=5, Resulting Numbers: [30, 5] Generated Node #0,1,3: 51:[30, 5] Operation: 32-27=5 Moving to Node #0,1,2 Current State: 51:[27, 2], Operations: ['79-47=32', '32-30=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[30, 5], Operations: ['79-47=32', '32-27=5'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,51 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[32, 3], Operations: ['79-47=32', '30-27=3'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,51 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[32, 57], Operations: ['79-47=32', '27+30=57'] Exploring Operation: 32*57=1824, Resulting Numbers: [1824] 1824,51 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 32+57=89, Resulting Numbers: [89] 89,51 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
[ 74, 70, 62, 6 ]
93
[ "74-70=4", "62*6=372", "372/4=93" ]
Current State: 93:[74, 70, 62, 6], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [62, 6, 4] Generated Node #2: [62, 6, 4] from Operation: 74-70=4 Current State: 93:[62, 6, 4], Operations: ['74-70=4'] Exploring Operation: 62*6=372, Resulting Numbers: [4, 372] Generated Node #3: [4, 372] from Operation: 62*6=372 Current State: 93:[4, 372], Operations: ['74-70=4', '62*6=372'] Exploring Operation: 372/4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[74, 70, 62, 6], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [62, 6, 4] Generated Node #0,0: 93:[62, 6, 4] Operation: 74-70=4 Exploring Operation: 70-62=8, Resulting Numbers: [74, 6, 8] Generated Node #0,1: 93:[74, 6, 8] Operation: 70-62=8 Moving to Node #0,1 Current State: 93:[74, 6, 8], Operations: ['70-62=8'] Exploring Operation: 74+8=82, Resulting Numbers: [6, 82] Generated Node #0,1,0: 93:[6, 82] Operation: 74+8=82 Exploring Operation: 74+6=80, Resulting Numbers: [8, 80] Generated Node #0,1,1: 93:[8, 80] Operation: 74+6=80 Moving to Node #0,0 Current State: 93:[62, 6, 4], Operations: ['74-70=4'] Exploring Operation: 62-6=56, Resulting Numbers: [4, 56] Generated Node #0,0,0: 93:[4, 56] Operation: 62-6=56 Exploring Operation: 62+6=68, Resulting Numbers: [4, 68] Generated Node #0,0,1: 93:[4, 68] Operation: 62+6=68 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[4, 56], Operations: ['74-70=4', '62-6=56'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[4, 68], Operations: ['74-70=4', '62+6=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 93:[6, 82], Operations: ['70-62=8', '74+8=82'] Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,93 unequal: No Solution Exploring Operation: 6+82=88, Resulting Numbers: [88] 88,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[8, 80], Operations: ['70-62=8', '74+6=80'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 8+80=88, Resulting Numbers: [88] 88,93 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 48, 97, 8, 9 ]
82
[ "48/8=6", "97-9=88", "88-6=82" ]
Current State: 82:[48, 97, 8, 9], Operations: [] Exploring Operation: 48/8=6, Resulting Numbers: [97, 9, 6] Generated Node #2: [97, 9, 6] from Operation: 48/8=6 Current State: 82:[97, 9, 6], Operations: ['48/8=6'] Exploring Operation: 97-9=88, Resulting Numbers: [6, 88] Generated Node #3: [6, 88] from Operation: 97-9=88 Current State: 82:[6, 88], Operations: ['48/8=6', '97-9=88'] Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[48, 97, 8, 9], Operations: [] Exploring Operation: 97-9=88, Resulting Numbers: [48, 8, 88] Generated Node #0,0: 82:[48, 8, 88] Operation: 97-9=88 Exploring Operation: 97-8=89, Resulting Numbers: [48, 9, 89] Generated Node #0,1: 82:[48, 9, 89] Operation: 97-8=89 Exploring Operation: 97-48=49, Resulting Numbers: [8, 9, 49] Generated Node #0,2: 82:[8, 9, 49] Operation: 97-48=49 Exploring Operation: 48-8=40, Resulting Numbers: [97, 9, 40] Generated Node #0,3: 82:[97, 9, 40] Operation: 48-8=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[48, 8, 88], Operations: ['97-9=88'] Exploring Operation: 88-8=80, Resulting Numbers: [48, 80] Generated Node #0,0,0: 82:[48, 80] Operation: 88-8=80 Exploring Operation: 48/8=6, Resulting Numbers: [88, 6] Generated Node #0,0,1: 82:[88, 6] Operation: 48/8=6 Exploring Operation: 48-8=40, Resulting Numbers: [88, 40] Generated Node #0,0,2: 82:[88, 40] Operation: 48-8=40 Exploring Operation: 88-48=40, Resulting Numbers: [8, 40] Generated Node #0,0,3: 82:[8, 40] Operation: 88-48=40 Moving to Node #0,0,2 Current State: 82:[88, 40], Operations: ['97-9=88', '48-8=40'] Exploring Operation: 88-40=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 88*40=3520, Resulting Numbers: [3520] 3520,82 unequal: No Solution Exploring Operation: 88+40=128, Resulting Numbers: [128] 128,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[8, 40], Operations: ['97-9=88', '88-48=40'] Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,82 unequal: No Solution Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,82 unequal: No Solution Exploring Operation: 8*40=320, Resulting Numbers: [320] 320,82 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[48, 80], Operations: ['97-9=88', '88-8=80'] Exploring Operation: 80-48=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 48*80=3840, Resulting Numbers: [3840] 3840,82 unequal: No Solution Exploring Operation: 48+80=128, Resulting Numbers: [128] 128,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[88, 6], Operations: ['97-9=88', '48/8=6'] Exploring Operation: 88*6=528, Resulting Numbers: [528] 528,82 unequal: No Solution Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,82 unequal: No Solution Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[48, 97, 8, 9], Operations: [] Exploring Operation: 97-9=88, Resulting Numbers: [48, 8, 88] Generated Node #0,0: 82:[48, 8, 88] Operation: 97-9=88 Moving to Node #0,0 Current State: 82:[48, 8, 88], Operations: ['97-9=88'] Exploring Operation: 48/8=6, Resulting Numbers: [88, 6] Generated Node #0,0,1: 82:[88, 6] Operation: 48/8=6 Moving to Node #0,0,1 Current State: 82:[88, 6], Operations: ['97-9=88', '48/8=6'] Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 87, 94, 44, 44 ]
95
[ "94-87=7", "44+44=88", "7+88=95" ]
Current State: 95:[87, 94, 44, 44], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [44, 44, 7] Generated Node #2: [44, 44, 7] from Operation: 94-87=7 Current State: 95:[44, 44, 7], Operations: ['94-87=7'] Exploring Operation: 44+44=88, Resulting Numbers: [7, 88] Generated Node #3: [7, 88] from Operation: 44+44=88 Current State: 95:[7, 88], Operations: ['94-87=7', '44+44=88'] Exploring Operation: 7+88=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[87, 94, 44, 44], Operations: [] Exploring Operation: 44-44=0, Resulting Numbers: [87, 94, 0] Generated Node #0,0: 95:[87, 94, 0] Operation: 44-44=0 Exploring Operation: 44/44=1, Resulting Numbers: [87, 94, 1] Generated Node #0,1: 95:[87, 94, 1] Operation: 44/44=1 Moving to Node #0,1 Current State: 95:[87, 94, 1], Operations: ['44/44=1'] Exploring Operation: 87+1=88, Resulting Numbers: [94, 88] Generated Node #0,1,0: 95:[94, 88] Operation: 87+1=88 Exploring Operation: 94-87=7, Resulting Numbers: [1, 7] Generated Node #0,1,1: 95:[1, 7] Operation: 94-87=7 Moving to Node #0,0 Current State: 95:[87, 94, 0], Operations: ['44-44=0'] Exploring Operation: 87*0=0, Resulting Numbers: [94, 0] Generated Node #0,0,0: 95:[94, 0] Operation: 87*0=0 Exploring Operation: 94-87=7, Resulting Numbers: [0, 7] Generated Node #0,0,1: 95:[0, 7] Operation: 94-87=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[94, 0], Operations: ['44-44=0', '87*0=0'] Exploring Operation: 94+0=94, Resulting Numbers: [94] 94,95 unequal: No Solution Exploring Operation: 94-0=94, Resulting Numbers: [94] 94,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,1 Current State: 95:[0, 7], Operations: ['44-44=0', '94-87=7'] Exploring Operation: 0+7=7, Resulting Numbers: [7] 7,95 unequal: No Solution Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 95:[1, 7], Operations: ['44/44=1', '94-87=7'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[94, 88], Operations: ['44/44=1', '87+1=88'] Exploring Operation: 94-88=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 94+88=182, Resulting Numbers: [182] 182,95 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 64, 30, 53, 97 ]
50
[ "64+30=94", "97-53=44", "94-44=50" ]
Current State: 50:[64, 30, 53, 97], Operations: [] Exploring Operation: 64+30=94, Resulting Numbers: [53, 97, 94] Generated Node #2: [53, 97, 94] from Operation: 64+30=94 Current State: 50:[53, 97, 94], Operations: ['64+30=94'] Exploring Operation: 97-53=44, Resulting Numbers: [94, 44] Generated Node #3: [94, 44] from Operation: 97-53=44 Current State: 50:[94, 44], Operations: ['64+30=94', '97-53=44'] Exploring Operation: 94-44=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[64, 30, 53, 97], Operations: [] Exploring Operation: 97-30=67, Resulting Numbers: [64, 53, 67] Generated Node #0,0: 50:[64, 53, 67] Operation: 97-30=67 Exploring Operation: 97-64=33, Resulting Numbers: [30, 53, 33] Generated Node #0,1: 50:[30, 53, 33] Operation: 97-64=33 Exploring Operation: 97-53=44, Resulting Numbers: [64, 30, 44] Generated Node #0,2: 50:[64, 30, 44] Operation: 97-53=44 Exploring Operation: 64-53=11, Resulting Numbers: [30, 97, 11] Generated Node #0,3: 50:[30, 97, 11] Operation: 64-53=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[30, 53, 33], Operations: ['97-64=33'] Exploring Operation: 53-33=20, Resulting Numbers: [30, 20] Generated Node #0,1,0: 50:[30, 20] Operation: 53-33=20 Exploring Operation: 53-30=23, Resulting Numbers: [33, 23] Generated Node #0,1,1: 50:[33, 23] Operation: 53-30=23 Exploring Operation: 33-30=3, Resulting Numbers: [53, 3] Generated Node #0,1,2: 50:[53, 3] Operation: 33-30=3 Exploring Operation: 30+33=63, Resulting Numbers: [53, 63] Generated Node #0,1,3: 50:[53, 63] Operation: 30+33=63 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 50:[53, 3], Operations: ['97-64=33', '33-30=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[64, 30, 53, 97], Operations: [] Exploring Operation: 97-64=33, Resulting Numbers: [30, 53, 33] Generated Node #0,1: 50:[30, 53, 33] Operation: 97-64=33 Moving to Node #0,1 Current State: 50:[30, 53, 33], Operations: ['97-64=33'] Exploring Operation: 33-30=3, Resulting Numbers: [53, 3] Generated Node #0,1,2: 50:[53, 3] Operation: 33-30=3 Moving to Node #0,1,2 Current State: 50:[53, 3], Operations: ['97-64=33', '33-30=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 35, 43, 36, 5 ]
96
[ "35*5=175", "43+36=79", "175-79=96" ]
Current State: 96:[35, 43, 36, 5], Operations: [] Exploring Operation: 35*5=175, Resulting Numbers: [43, 36, 175] Generated Node #2: [43, 36, 175] from Operation: 35*5=175 Current State: 96:[43, 36, 175], Operations: ['35*5=175'] Exploring Operation: 43+36=79, Resulting Numbers: [175, 79] Generated Node #3: [175, 79] from Operation: 43+36=79 Current State: 96:[175, 79], Operations: ['35*5=175', '43+36=79'] Exploring Operation: 175-79=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[35, 43, 36, 5], Operations: [] Exploring Operation: 36-35=1, Resulting Numbers: [43, 5, 1] Generated Node #0,0: 96:[43, 5, 1] Operation: 36-35=1 Exploring Operation: 43-35=8, Resulting Numbers: [36, 5, 8] Generated Node #0,1: 96:[36, 5, 8] Operation: 43-35=8 Exploring Operation: 43-36=7, Resulting Numbers: [35, 5, 7] Generated Node #0,2: 96:[35, 5, 7] Operation: 43-36=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[36, 5, 8], Operations: ['43-35=8'] Exploring Operation: 36+8=44, Resulting Numbers: [5, 44] Generated Node #0,1,0: 96:[5, 44] Operation: 36+8=44 Exploring Operation: 36-5=31, Resulting Numbers: [8, 31] Generated Node #0,1,1: 96:[8, 31] Operation: 36-5=31 Exploring Operation: 8-5=3, Resulting Numbers: [36, 3] Generated Node #0,1,2: 96:[36, 3] Operation: 8-5=3 Moving to Node #0,1,1 Current State: 96:[8, 31], Operations: ['43-35=8', '36-5=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,96 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[36, 3], Operations: ['43-35=8', '8-5=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[5, 44], Operations: ['43-35=8', '36+8=44'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[35, 5, 7], Operations: ['43-36=7'] Exploring Operation: 35/5=7, Resulting Numbers: [7, 7] Generated Node #0,2,0: 96:[7, 7] Operation: 35/5=7 Exploring Operation: 35-5=30, Resulting Numbers: [7, 30] Generated Node #0,2,1: 96:[7, 30] Operation: 35-5=30 Exploring Operation: 35/7=5, Resulting Numbers: [5, 5] Generated Node #0,2,2: 96:[5, 5] Operation: 35/7=5 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[7, 7], Operations: ['43-36=7', '35/5=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 96:[5, 5], Operations: ['43-36=7', '35/7=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 96:[7, 30], Operations: ['43-36=7', '35-5=30'] Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,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,0 Current State: 96:[43, 5, 1], Operations: ['36-35=1'] Exploring Operation: 43+1=44, Resulting Numbers: [5, 44] Generated Node #0,0,0: 96:[5, 44] Operation: 43+1=44 Exploring Operation: 43+5=48, Resulting Numbers: [1, 48] Generated Node #0,0,1: 96:[1, 48] Operation: 43+5=48 Exploring Operation: 5+1=6, Resulting Numbers: [43, 6] Generated Node #0,0,2: 96:[43, 6] Operation: 5+1=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[1, 48], Operations: ['36-35=1', '43+5=48'] Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 1+48=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,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,0 Current State: 96:[5, 44], Operations: ['36-35=1', '43+1=44'] Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,96 unequal: No Solution Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,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, 6], Operations: ['36-35=1', '5+1=6'] Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,96 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 94, 2, 63, 37 ]
53
[ "94/2=47", "63+37=100", "100-47=53" ]
Current State: 53:[94, 2, 63, 37], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [63, 37, 47] Generated Node #2: [63, 37, 47] from Operation: 94/2=47 Current State: 53:[63, 37, 47], Operations: ['94/2=47'] Exploring Operation: 63+37=100, Resulting Numbers: [47, 100] Generated Node #3: [47, 100] from Operation: 63+37=100 Current State: 53:[47, 100], Operations: ['94/2=47', '63+37=100'] Exploring Operation: 100-47=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[94, 2, 63, 37], Operations: [] Exploring Operation: 2+37=39, Resulting Numbers: [94, 63, 39] Generated Node #0,0: 53:[94, 63, 39] Operation: 2+37=39 Exploring Operation: 63-2=61, Resulting Numbers: [94, 37, 61] Generated Node #0,1: 53:[94, 37, 61] Operation: 63-2=61 Exploring Operation: 94/2=47, Resulting Numbers: [63, 37, 47] Generated Node #0,2: 53:[63, 37, 47] Operation: 94/2=47 Exploring Operation: 94-2=92, Resulting Numbers: [63, 37, 92] Generated Node #0,3: 53:[63, 37, 92] Operation: 94-2=92 Exploring Operation: 94-37=57, Resulting Numbers: [2, 63, 57] Generated Node #0,4: 53:[2, 63, 57] Operation: 94-37=57 Moving to Node #0,2 Current State: 53:[63, 37, 47], Operations: ['94/2=47'] Exploring Operation: 63+37=100, Resulting Numbers: [47, 100] Generated Node #0,2,0: 53:[47, 100] Operation: 63+37=100 Exploring Operation: 63-47=16, Resulting Numbers: [37, 16] Generated Node #0,2,1: 53:[37, 16] Operation: 63-47=16 Exploring Operation: 47-37=10, Resulting Numbers: [63, 10] Generated Node #0,2,2: 53:[63, 10] Operation: 47-37=10 Exploring Operation: 63-37=26, Resulting Numbers: [47, 26] Generated Node #0,2,3: 53:[47, 26] Operation: 63-37=26 Exploring Operation: 37+47=84, Resulting Numbers: [63, 84] Generated Node #0,2,4: 53:[63, 84] Operation: 37+47=84 Moving to Node #0,1 Current State: 53:[94, 37, 61], Operations: ['63-2=61'] Exploring Operation: 37+61=98, Resulting Numbers: [94, 98] Generated Node #0,1,0: 53:[94, 98] Operation: 37+61=98 Exploring Operation: 61-37=24, Resulting Numbers: [94, 24] Generated Node #0,1,1: 53:[94, 24] Operation: 61-37=24 Exploring Operation: 94-61=33, Resulting Numbers: [37, 33] Generated Node #0,1,2: 53:[37, 33] Operation: 94-61=33 Exploring Operation: 94+37=131, Resulting Numbers: [61, 131] Generated Node #0,1,3: 53:[61, 131] Operation: 94+37=131 Exploring Operation: 94-37=57, Resulting Numbers: [61, 57] Generated Node #0,1,4: 53:[61, 57] Operation: 94-37=57 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 53:[61, 57], Operations: ['63-2=61', '94-37=57'] Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 61+57=118, Resulting Numbers: [118] 118,53 unequal: No Solution Exploring Operation: 61*57=3477, Resulting Numbers: [3477] 3477,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[37, 33], Operations: ['63-2=61', '94-61=33'] Exploring Operation: 37*33=1221, Resulting Numbers: [1221] 1221,53 unequal: No Solution Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 37+33=70, Resulting Numbers: [70] 70,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[94, 24], Operations: ['63-2=61', '61-37=24'] Exploring Operation: 94+24=118, Resulting Numbers: [118] 118,53 unequal: No Solution Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 94*24=2256, Resulting Numbers: [2256] 2256,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[94, 98], Operations: ['63-2=61', '37+61=98'] Exploring Operation: 94+98=192, Resulting Numbers: [192] 192,53 unequal: No Solution Exploring Operation: 98-94=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 94*98=9212, Resulting Numbers: [9212] 9212,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 53:[61, 131], Operations: ['63-2=61', '94+37=131'] Exploring Operation: 131-61=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 61+131=192, Resulting Numbers: [192] 192,53 unequal: No Solution Exploring Operation: 61*131=7991, Resulting Numbers: [7991] 7991,53 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: 53:[2, 63, 57], Operations: ['94-37=57'] Exploring Operation: 2+63=65, Resulting Numbers: [57, 65] Generated Node #0,4,0: 53:[57, 65] Operation: 2+63=65 Exploring Operation: 2+57=59, Resulting Numbers: [63, 59] Generated Node #0,4,1: 53:[63, 59] Operation: 2+57=59 Exploring Operation: 2*57=114, Resulting Numbers: [63, 114] Generated Node #0,4,2: 53:[63, 114] Operation: 2*57=114 Exploring Operation: 57-2=55, Resulting Numbers: [63, 55] Generated Node #0,4,3: 53:[63, 55] Operation: 57-2=55 Exploring Operation: 63-2=61, Resulting Numbers: [57, 61] Generated Node #0,4,4: 53:[57, 61] Operation: 63-2=61 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 53:[63, 55], Operations: ['94-37=57', '57-2=55'] Exploring Operation: 63+55=118, Resulting Numbers: [118] 118,53 unequal: No Solution Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 63*55=3465, Resulting Numbers: [3465] 3465,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 53:[57, 61], Operations: ['94-37=57', '63-2=61'] Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 57+61=118, Resulting Numbers: [118] 118,53 unequal: No Solution Exploring Operation: 57*61=3477, Resulting Numbers: [3477] 3477,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 53:[57, 65], Operations: ['94-37=57', '2+63=65'] Exploring Operation: 57*65=3705, Resulting Numbers: [3705] 3705,53 unequal: No Solution Exploring Operation: 57+65=122, Resulting Numbers: [122] 122,53 unequal: No Solution Exploring Operation: 65-57=8, Resulting Numbers: [8] 8,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 53:[63, 59], Operations: ['94-37=57', '2+57=59'] Exploring Operation: 63+59=122, Resulting Numbers: [122] 122,53 unequal: No Solution Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 63*59=3717, Resulting Numbers: [3717] 3717,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 53:[63, 114], Operations: ['94-37=57', '2*57=114'] Exploring Operation: 63+114=177, Resulting Numbers: [177] 177,53 unequal: No Solution Exploring Operation: 114-63=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 63*114=7182, Resulting Numbers: [7182] 7182,53 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: 53:[94, 63, 39], Operations: ['2+37=39'] Exploring Operation: 63-39=24, Resulting Numbers: [94, 24] Generated Node #0,0,0: 53:[94, 24] Operation: 63-39=24 Exploring Operation: 94-63=31, Resulting Numbers: [39, 31] Generated Node #0,0,1: 53:[39, 31] Operation: 94-63=31 Exploring Operation: 94-39=55, Resulting Numbers: [63, 55] Generated Node #0,0,2: 53:[63, 55] Operation: 94-39=55 Exploring Operation: 63+39=102, Resulting Numbers: [94, 102] Generated Node #0,0,3: 53:[94, 102] Operation: 63+39=102 Exploring Operation: 94+39=133, Resulting Numbers: [63, 133] Generated Node #0,0,4: 53:[63, 133] Operation: 94+39=133 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[63, 55], Operations: ['2+37=39', '94-39=55'] Exploring Operation: 63*55=3465, Resulting Numbers: [3465] 3465,53 unequal: No Solution Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 63+55=118, Resulting Numbers: [118] 118,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[39, 31], Operations: ['2+37=39', '94-63=31'] Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 39*31=1209, Resulting Numbers: [1209] 1209,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[94, 24], Operations: ['2+37=39', '63-39=24'] Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 94+24=118, Resulting Numbers: [118] 118,53 unequal: No Solution Exploring Operation: 94*24=2256, Resulting Numbers: [2256] 2256,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[94, 102], Operations: ['2+37=39', '63+39=102'] Exploring Operation: 94*102=9588, Resulting Numbers: [9588] 9588,53 unequal: No Solution Exploring Operation: 102-94=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 94+102=196, Resulting Numbers: [196] 196,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 53:[63, 133], Operations: ['2+37=39', '94+39=133'] Exploring Operation: 133-63=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 63+133=196, Resulting Numbers: [196] 196,53 unequal: No Solution Exploring Operation: 63*133=8379, Resulting Numbers: [8379] 8379,53 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: 53:[63, 37, 92], Operations: ['94-2=92'] Exploring Operation: 37+92=129, Resulting Numbers: [63, 129] Generated Node #0,3,0: 53:[63, 129] Operation: 37+92=129 Exploring Operation: 92-37=55, Resulting Numbers: [63, 55] Generated Node #0,3,1: 53:[63, 55] Operation: 92-37=55 Exploring Operation: 63-37=26, Resulting Numbers: [92, 26] Generated Node #0,3,2: 53:[92, 26] Operation: 63-37=26 Exploring Operation: 63+37=100, Resulting Numbers: [92, 100] Generated Node #0,3,3: 53:[92, 100] Operation: 63+37=100 Exploring Operation: 92-63=29, Resulting Numbers: [37, 29] Generated Node #0,3,4: 53:[37, 29] Operation: 92-63=29 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 53:[63, 55], Operations: ['94-2=92', '92-37=55'] Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 63*55=3465, Resulting Numbers: [3465] 3465,53 unequal: No Solution Exploring Operation: 63+55=118, Resulting Numbers: [118] 118,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 53:[37, 29], Operations: ['94-2=92', '92-63=29'] Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,53 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 53:[92, 26], Operations: ['94-2=92', '63-37=26'] Exploring Operation: 92+26=118, Resulting Numbers: [118] 118,53 unequal: No Solution Exploring Operation: 92*26=2392, Resulting Numbers: [2392] 2392,53 unequal: No Solution Exploring Operation: 92-26=66, Resulting Numbers: [66] 66,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[63, 129], Operations: ['94-2=92', '37+92=129'] Exploring Operation: 63+129=192, Resulting Numbers: [192] 192,53 unequal: No Solution Exploring Operation: 63*129=8127, Resulting Numbers: [8127] 8127,53 unequal: No Solution Exploring Operation: 129-63=66, Resulting Numbers: [66] 66,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 53:[92, 100], Operations: ['94-2=92', '63+37=100'] Exploring Operation: 92*100=9200, Resulting Numbers: [9200] 9200,53 unequal: No Solution Exploring Operation: 92+100=192, Resulting Numbers: [192] 192,53 unequal: No Solution Exploring Operation: 100-92=8, Resulting Numbers: [8] 8,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 53:[47, 26], Operations: ['94/2=47', '63-37=26'] Exploring Operation: 47+26=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 47*26=1222, Resulting Numbers: [1222] 1222,53 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[63, 84], Operations: ['94/2=47', '37+47=84'] Exploring Operation: 63*84=5292, Resulting Numbers: [5292] 5292,53 unequal: No Solution Exploring Operation: 63+84=147, Resulting Numbers: [147] 147,53 unequal: No Solution Exploring Operation: 84-63=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[47, 100], Operations: ['94/2=47', '63+37=100'] Exploring Operation: 47*100=4700, Resulting Numbers: [4700] 4700,53 unequal: No Solution Exploring Operation: 47+100=147, Resulting Numbers: [147] 147,53 unequal: No Solution Exploring Operation: 100-47=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[94, 2, 63, 37], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [63, 37, 47] Generated Node #0,2: 53:[63, 37, 47] Operation: 94/2=47 Moving to Node #0,2 Current State: 53:[63, 37, 47], Operations: ['94/2=47'] Exploring Operation: 63+37=100, Resulting Numbers: [47, 100] Generated Node #0,2,0: 53:[47, 100] Operation: 63+37=100 Moving to Node #0,2,0 Current State: 53:[47, 100], Operations: ['94/2=47', '63+37=100'] Exploring Operation: 100-47=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.91059
hs_5
sum_heuristic
[ 3, 60, 45, 76 ]
88
[ "60-3=57", "76-45=31", "57+31=88" ]
Current State: 88:[3, 60, 45, 76], Operations: [] Exploring Operation: 60-3=57, Resulting Numbers: [45, 76, 57] Generated Node #2: [45, 76, 57] from Operation: 60-3=57 Current State: 88:[45, 76, 57], Operations: ['60-3=57'] Exploring Operation: 76-45=31, Resulting Numbers: [57, 31] Generated Node #3: [57, 31] from Operation: 76-45=31 Current State: 88:[57, 31], Operations: ['60-3=57', '76-45=31'] Exploring Operation: 57+31=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[3, 60, 45, 76], Operations: [] Exploring Operation: 76-60=16, Resulting Numbers: [3, 45, 16] Generated Node #0,0: 88:[3, 45, 16] Operation: 76-60=16 Moving to Node #0,0 Current State: 88:[3, 45, 16], Operations: ['76-60=16'] Exploring Operation: 16-3=13, Resulting Numbers: [45, 13] Generated Node #0,0,0: 88:[45, 13] Operation: 16-3=13 Moving to Node #0,0,0 Current State: 88:[45, 13], Operations: ['76-60=16', '16-3=13'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,88 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 27, 2, 37, 7 ]
19
[ "27-2=25", "37+7=44", "44-25=19" ]
Current State: 19:[27, 2, 37, 7], Operations: [] Exploring Operation: 27-2=25, Resulting Numbers: [37, 7, 25] Generated Node #2: [37, 7, 25] from Operation: 27-2=25 Current State: 19:[37, 7, 25], Operations: ['27-2=25'] Exploring Operation: 37+7=44, Resulting Numbers: [25, 44] Generated Node #3: [25, 44] from Operation: 37+7=44 Current State: 19:[25, 44], Operations: ['27-2=25', '37+7=44'] Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[27, 2, 37, 7], Operations: [] Exploring Operation: 2*7=14, Resulting Numbers: [27, 37, 14] Generated Node #0,0: 19:[27, 37, 14] Operation: 2*7=14 Exploring Operation: 27-7=20, Resulting Numbers: [2, 37, 20] Generated Node #0,1: 19:[2, 37, 20] Operation: 27-7=20 Exploring Operation: 27-2=25, Resulting Numbers: [37, 7, 25] Generated Node #0,2: 19:[37, 7, 25] Operation: 27-2=25 Exploring Operation: 37-2=35, Resulting Numbers: [27, 7, 35] Generated Node #0,3: 19:[27, 7, 35] Operation: 37-2=35 Moving to Node #0,0 Current State: 19:[27, 37, 14], Operations: ['2*7=14'] Exploring Operation: 37-14=23, Resulting Numbers: [27, 23] Generated Node #0,0,0: 19:[27, 23] Operation: 37-14=23 Exploring Operation: 27+14=41, Resulting Numbers: [37, 41] Generated Node #0,0,1: 19:[37, 41] Operation: 27+14=41 Exploring Operation: 27-14=13, Resulting Numbers: [37, 13] Generated Node #0,0,2: 19:[37, 13] Operation: 27-14=13 Exploring Operation: 37-27=10, Resulting Numbers: [14, 10] Generated Node #0,0,3: 19:[14, 10] Operation: 37-27=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[27, 23], Operations: ['2*7=14', '37-14=23'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 27*23=621, Resulting Numbers: [621] 621,19 unequal: No Solution Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 19:[14, 10], Operations: ['2*7=14', '37-27=10'] Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[37, 13], Operations: ['2*7=14', '27-14=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,19 unequal: No Solution Exploring Operation: 37*13=481, Resulting Numbers: [481] 481,19 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[37, 41], Operations: ['2*7=14', '27+14=41'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,19 unequal: No Solution Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 19:[37, 7, 25], Operations: ['27-2=25'] Exploring Operation: 37+7=44, Resulting Numbers: [25, 44] Generated Node #0,2,0: 19:[25, 44] Operation: 37+7=44 Exploring Operation: 37-7=30, Resulting Numbers: [25, 30] Generated Node #0,2,1: 19:[25, 30] Operation: 37-7=30 Exploring Operation: 25-7=18, Resulting Numbers: [37, 18] Generated Node #0,2,2: 19:[37, 18] Operation: 25-7=18 Exploring Operation: 37-25=12, Resulting Numbers: [7, 12] Generated Node #0,2,3: 19:[7, 12] Operation: 37-25=12 Moving to Node #0,1 Current State: 19:[2, 37, 20], Operations: ['27-7=20'] Exploring Operation: 37-20=17, Resulting Numbers: [2, 17] Generated Node #0,1,0: 19:[2, 17] Operation: 37-20=17 Exploring Operation: 2+37=39, Resulting Numbers: [20, 39] Generated Node #0,1,1: 19:[20, 39] Operation: 2+37=39 Exploring Operation: 37-2=35, Resulting Numbers: [20, 35] Generated Node #0,1,2: 19:[20, 35] Operation: 37-2=35 Exploring Operation: 20-2=18, Resulting Numbers: [37, 18] Generated Node #0,1,3: 19:[37, 18] Operation: 20-2=18 Moving to Node #0,3 Current State: 19:[27, 7, 35], Operations: ['37-2=35'] Exploring Operation: 35-7=28, Resulting Numbers: [27, 28] Generated Node #0,3,0: 19:[27, 28] Operation: 35-7=28 Exploring Operation: 35/7=5, Resulting Numbers: [27, 5] Generated Node #0,3,1: 19:[27, 5] Operation: 35/7=5 Exploring Operation: 35-27=8, Resulting Numbers: [7, 8] Generated Node #0,3,2: 19:[7, 8] Operation: 35-27=8 Exploring Operation: 27-7=20, Resulting Numbers: [35, 20] Generated Node #0,3,3: 19:[35, 20] Operation: 27-7=20 Moving to Node #0,2,1 Current State: 19:[25, 30], Operations: ['27-2=25', '37-7=30'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[20, 35], Operations: ['27-7=20', '37-2=35'] Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[35, 20], Operations: ['37-2=35', '27-7=20'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,19 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,19 unequal: No Solution Moving to Node #0,3,0 Current State: 19:[27, 28], Operations: ['37-2=35', '35-7=28'] Exploring Operation: 27*28=756, Resulting Numbers: [756] 756,19 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[7, 12], Operations: ['27-2=25', '37-25=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[27, 2, 37, 7], Operations: [] Exploring Operation: 27-2=25, Resulting Numbers: [37, 7, 25] Generated Node #0,2: 19:[37, 7, 25] Operation: 27-2=25 Moving to Node #0,2 Current State: 19:[37, 7, 25], Operations: ['27-2=25'] Exploring Operation: 37-25=12, Resulting Numbers: [7, 12] Generated Node #0,2,3: 19:[7, 12] Operation: 37-25=12 Moving to Node #0,2,3 Current State: 19:[7, 12], Operations: ['27-2=25', '37-25=12'] Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 35, 22, 6, 48 ]
38
[ "22-6=16", "48/16=3", "35+3=38" ]
Current State: 38:[35, 22, 6, 48], Operations: [] Exploring Operation: 22-6=16, Resulting Numbers: [35, 48, 16] Generated Node #2: [35, 48, 16] from Operation: 22-6=16 Current State: 38:[35, 48, 16], Operations: ['22-6=16'] Exploring Operation: 48/16=3, Resulting Numbers: [35, 3] Generated Node #3: [35, 3] from Operation: 48/16=3 Current State: 38:[35, 3], Operations: ['22-6=16', '48/16=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[35, 22, 6, 48], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [35, 22, 8] Generated Node #0,0: 38:[35, 22, 8] Operation: 48/6=8 Exploring Operation: 48-6=42, Resulting Numbers: [35, 22, 42] Generated Node #0,1: 38:[35, 22, 42] Operation: 48-6=42 Exploring Operation: 48-35=13, Resulting Numbers: [22, 6, 13] Generated Node #0,2: 38:[22, 6, 13] Operation: 48-35=13 Exploring Operation: 48-22=26, Resulting Numbers: [35, 6, 26] Generated Node #0,3: 38:[35, 6, 26] Operation: 48-22=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[35, 22, 42], Operations: ['48-6=42'] Exploring Operation: 35-22=13, Resulting Numbers: [42, 13] Generated Node #0,1,0: 38:[42, 13] Operation: 35-22=13 Exploring Operation: 42-35=7, Resulting Numbers: [22, 7] Generated Node #0,1,1: 38:[22, 7] Operation: 42-35=7 Exploring Operation: 35+22=57, Resulting Numbers: [42, 57] Generated Node #0,1,2: 38:[42, 57] Operation: 35+22=57 Exploring Operation: 42-22=20, Resulting Numbers: [35, 20] Generated Node #0,1,3: 38:[35, 20] Operation: 42-22=20 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 38:[35, 20], Operations: ['48-6=42', '42-22=20'] Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,38 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[22, 7], Operations: ['48-6=42', '42-35=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,38 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[42, 13], Operations: ['48-6=42', '35-22=13'] Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,38 unequal: No Solution Exploring Operation: 42*13=546, Resulting Numbers: [546] 546,38 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 38:[42, 57], Operations: ['48-6=42', '35+22=57'] Exploring Operation: 42*57=2394, Resulting Numbers: [2394] 2394,38 unequal: No Solution Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 42+57=99, Resulting Numbers: [99] 99,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[35, 22, 8], Operations: ['48/6=8'] Exploring Operation: 35-8=27, Resulting Numbers: [22, 27] Generated Node #0,0,0: 38:[22, 27] Operation: 35-8=27 Exploring Operation: 22-8=14, Resulting Numbers: [35, 14] Generated Node #0,0,1: 38:[35, 14] Operation: 22-8=14 Exploring Operation: 35+8=43, Resulting Numbers: [22, 43] Generated Node #0,0,2: 38:[22, 43] Operation: 35+8=43 Exploring Operation: 22+8=30, Resulting Numbers: [35, 30] Generated Node #0,0,3: 38:[35, 30] Operation: 22+8=30 Moving to Node #0,0,1 Current State: 38:[35, 14], Operations: ['48/6=8', '22-8=14'] Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,38 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[22, 43], Operations: ['48/6=8', '35+8=43'] Exploring Operation: 22+43=65, Resulting Numbers: [65] 65,38 unequal: No Solution Exploring Operation: 22*43=946, Resulting Numbers: [946] 946,38 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[35, 30], Operations: ['48/6=8', '22+8=30'] Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 35*30=1050, Resulting Numbers: [1050] 1050,38 unequal: No Solution Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[22, 27], Operations: ['48/6=8', '35-8=27'] Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,38 unequal: No Solution Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,38 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[22, 6, 13], Operations: ['48-35=13'] Exploring Operation: 13-6=7, Resulting Numbers: [22, 7] Generated Node #0,2,0: 38:[22, 7] Operation: 13-6=7 Exploring Operation: 22-6=16, Resulting Numbers: [13, 16] Generated Node #0,2,1: 38:[13, 16] Operation: 22-6=16 Exploring Operation: 6+13=19, Resulting Numbers: [22, 19] Generated Node #0,2,2: 38:[22, 19] Operation: 6+13=19 Exploring Operation: 22+13=35, Resulting Numbers: [6, 35] Generated Node #0,2,3: 38:[6, 35] Operation: 22+13=35 Moving to Node #0,2,2 Current State: 38:[22, 19], Operations: ['48-35=13', '6+13=19'] Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 22*19=418, Resulting Numbers: [418] 418,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[6, 35], Operations: ['48-35=13', '22+13=35'] Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,38 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,38 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[22, 7], Operations: ['48-35=13', '13-6=7'] Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,38 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[13, 16], Operations: ['48-35=13', '22-6=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,38 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,38 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[35, 6, 26], Operations: ['48-22=26'] Exploring Operation: 35+6=41, Resulting Numbers: [26, 41] Generated Node #0,3,0: 38:[26, 41] Operation: 35+6=41 Exploring Operation: 6+26=32, Resulting Numbers: [35, 32] Generated Node #0,3,1: 38:[35, 32] Operation: 6+26=32 Exploring Operation: 26-6=20, Resulting Numbers: [35, 20] Generated Node #0,3,2: 38:[35, 20] Operation: 26-6=20 Exploring Operation: 35-26=9, Resulting Numbers: [6, 9] Generated Node #0,3,3: 38:[6, 9] Operation: 35-26=9 Moving to Node #0,3,2 Current State: 38:[35, 20], Operations: ['48-22=26', '26-6=20'] Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,38 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,38 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,38 unequal: No Solution Moving to Node #0,3,1 Current State: 38:[35, 32], Operations: ['48-22=26', '6+26=32'] Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,38 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[26, 41], Operations: ['48-22=26', '35+6=41'] Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,38 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[6, 9], Operations: ['48-22=26', '35-26=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,38 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 35, 20, 49, 61 ]
95
[ "35-20=15", "49+61=110", "110-15=95" ]
Current State: 95:[35, 20, 49, 61], Operations: [] Exploring Operation: 35-20=15, Resulting Numbers: [49, 61, 15] Generated Node #2: [49, 61, 15] from Operation: 35-20=15 Current State: 95:[49, 61, 15], Operations: ['35-20=15'] Exploring Operation: 49+61=110, Resulting Numbers: [15, 110] Generated Node #3: [15, 110] from Operation: 49+61=110 Current State: 95:[15, 110], Operations: ['35-20=15', '49+61=110'] Exploring Operation: 110-15=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[35, 20, 49, 61], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [35, 20, 12] Generated Node #0,0: 95:[35, 20, 12] Operation: 61-49=12 Exploring Operation: 35+61=96, Resulting Numbers: [20, 49, 96] Generated Node #0,1: 95:[20, 49, 96] Operation: 35+61=96 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[35, 20, 12], Operations: ['61-49=12'] Exploring Operation: 35-20=15, Resulting Numbers: [12, 15] Generated Node #0,0,0: 95:[12, 15] Operation: 35-20=15 Exploring Operation: 35-12=23, Resulting Numbers: [20, 23] Generated Node #0,0,1: 95:[20, 23] Operation: 35-12=23 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[20, 23], Operations: ['61-49=12', '35-12=23'] Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,95 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[12, 15], Operations: ['61-49=12', '35-20=15'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[20, 49, 96], Operations: ['35+61=96'] Exploring Operation: 49-20=29, Resulting Numbers: [96, 29] Generated Node #0,1,0: 95:[96, 29] Operation: 49-20=29 Exploring Operation: 20+49=69, Resulting Numbers: [96, 69] Generated Node #0,1,1: 95:[96, 69] Operation: 20+49=69 Moving to Node #0,1,0 Current State: 95:[96, 29], Operations: ['35+61=96', '49-20=29'] Exploring Operation: 96+29=125, Resulting Numbers: [125] 125,95 unequal: No Solution Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[96, 69], Operations: ['35+61=96', '20+49=69'] Exploring Operation: 96+69=165, Resulting Numbers: [165] 165,95 unequal: No Solution Exploring Operation: 96-69=27, Resulting Numbers: [27] 27,95 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
[ 6, 23, 82, 12 ]
77
[ "23-6=17", "82+12=94", "94-17=77" ]
Current State: 77:[6, 23, 82, 12], Operations: [] Exploring Operation: 23-6=17, Resulting Numbers: [82, 12, 17] Generated Node #2: [82, 12, 17] from Operation: 23-6=17 Current State: 77:[82, 12, 17], Operations: ['23-6=17'] Exploring Operation: 82+12=94, Resulting Numbers: [17, 94] Generated Node #3: [17, 94] from Operation: 82+12=94 Current State: 77:[17, 94], Operations: ['23-6=17', '82+12=94'] Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[6, 23, 82, 12], Operations: [] Exploring Operation: 23-12=11, Resulting Numbers: [6, 82, 11] Generated Node #0,0: 77:[6, 82, 11] Operation: 23-12=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[6, 82, 11], Operations: ['23-12=11'] Exploring Operation: 82-6=76, Resulting Numbers: [11, 76] Generated Node #0,0,0: 77:[11, 76] Operation: 82-6=76 Moving to Node #0,0,0 Current State: 77:[11, 76], Operations: ['23-12=11', '82-6=76'] Exploring Operation: 11+76=87, Resulting Numbers: [87] 87,77 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
[ 77, 86, 33, 45 ]
69
[ "86-77=9", "33+45=78", "78-9=69" ]
Current State: 69:[77, 86, 33, 45], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [33, 45, 9] Generated Node #2: [33, 45, 9] from Operation: 86-77=9 Current State: 69:[33, 45, 9], Operations: ['86-77=9'] Exploring Operation: 33+45=78, Resulting Numbers: [9, 78] Generated Node #3: [9, 78] from Operation: 33+45=78 Current State: 69:[9, 78], Operations: ['86-77=9', '33+45=78'] Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[77, 86, 33, 45], Operations: [] Exploring Operation: 33+45=78, Resulting Numbers: [77, 86, 78] Generated Node #0,0: 69:[77, 86, 78] Operation: 33+45=78 Exploring Operation: 45-33=12, Resulting Numbers: [77, 86, 12] Generated Node #0,1: 69:[77, 86, 12] Operation: 45-33=12 Exploring Operation: 77-45=32, Resulting Numbers: [86, 33, 32] Generated Node #0,2: 69:[86, 33, 32] Operation: 77-45=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[77, 86, 78], Operations: ['33+45=78'] Exploring Operation: 86-78=8, Resulting Numbers: [77, 8] Generated Node #0,0,0: 69:[77, 8] Operation: 86-78=8 Exploring Operation: 78-77=1, Resulting Numbers: [86, 1] Generated Node #0,0,1: 69:[86, 1] Operation: 78-77=1 Exploring Operation: 86-77=9, Resulting Numbers: [78, 9] Generated Node #0,0,2: 69:[78, 9] Operation: 86-77=9 Moving to Node #0,0,0 Current State: 69:[77, 8], Operations: ['33+45=78', '86-78=8'] Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[77, 86, 33, 45], Operations: [] Exploring Operation: 33+45=78, Resulting Numbers: [77, 86, 78] Generated Node #0,0: 69:[77, 86, 78] Operation: 33+45=78 Moving to Node #0,0 Current State: 69:[77, 86, 78], Operations: ['33+45=78'] Exploring Operation: 86-78=8, Resulting Numbers: [77, 8] Generated Node #0,0,0: 69:[77, 8] Operation: 86-78=8 Moving to Node #0,0,0 Current State: 69:[77, 8], Operations: ['33+45=78', '86-78=8'] Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 90, 30, 14, 21 ]
67
[ "90-30=60", "21-14=7", "60+7=67" ]
Current State: 67:[90, 30, 14, 21], Operations: [] Exploring Operation: 90-30=60, Resulting Numbers: [14, 21, 60] Generated Node #2: [14, 21, 60] from Operation: 90-30=60 Current State: 67:[14, 21, 60], Operations: ['90-30=60'] Exploring Operation: 21-14=7, Resulting Numbers: [60, 7] Generated Node #3: [60, 7] from Operation: 21-14=7 Current State: 67:[60, 7], Operations: ['90-30=60', '21-14=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[90, 30, 14, 21], Operations: [] Exploring Operation: 90-21=69, Resulting Numbers: [30, 14, 69] Generated Node #0,0: 67:[30, 14, 69] Operation: 90-21=69 Exploring Operation: 90-14=76, Resulting Numbers: [30, 21, 76] Generated Node #0,1: 67:[30, 21, 76] Operation: 90-14=76 Exploring Operation: 30+21=51, Resulting Numbers: [90, 14, 51] Generated Node #0,2: 67:[90, 14, 51] Operation: 30+21=51 Exploring Operation: 30+14=44, Resulting Numbers: [90, 21, 44] Generated Node #0,3: 67:[90, 21, 44] Operation: 30+14=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[30, 14, 69], Operations: ['90-21=69'] Exploring Operation: 30+14=44, Resulting Numbers: [69, 44] Generated Node #0,0,0: 67:[69, 44] Operation: 30+14=44 Exploring Operation: 69-14=55, Resulting Numbers: [30, 55] Generated Node #0,0,1: 67:[30, 55] Operation: 69-14=55 Exploring Operation: 14+69=83, Resulting Numbers: [30, 83] Generated Node #0,0,2: 67:[30, 83] Operation: 14+69=83 Exploring Operation: 30-14=16, Resulting Numbers: [69, 16] Generated Node #0,0,3: 67:[69, 16] Operation: 30-14=16 Moving to Node #0,0,0 Current State: 67:[69, 44], Operations: ['90-21=69', '30+14=44'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 69*44=3036, Resulting Numbers: [3036] 3036,67 unequal: No Solution Exploring Operation: 69+44=113, Resulting Numbers: [113] 113,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[30, 55], Operations: ['90-21=69', '69-14=55'] Exploring Operation: 30*55=1650, Resulting Numbers: [1650] 1650,67 unequal: No Solution Exploring Operation: 30+55=85, Resulting Numbers: [85] 85,67 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[69, 16], Operations: ['90-21=69', '30-14=16'] Exploring Operation: 69*16=1104, Resulting Numbers: [1104] 1104,67 unequal: No Solution Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,67 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[30, 83], Operations: ['90-21=69', '14+69=83'] Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,67 unequal: No Solution Exploring Operation: 30+83=113, Resulting Numbers: [113] 113,67 unequal: No Solution Exploring Operation: 30*83=2490, Resulting Numbers: [2490] 2490,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:[30, 21, 76], Operations: ['90-14=76'] Exploring Operation: 30+21=51, Resulting Numbers: [76, 51] Generated Node #0,1,0: 67:[76, 51] Operation: 30+21=51 Exploring Operation: 76-21=55, Resulting Numbers: [30, 55] Generated Node #0,1,1: 67:[30, 55] Operation: 76-21=55 Exploring Operation: 30-21=9, Resulting Numbers: [76, 9] Generated Node #0,1,2: 67:[76, 9] Operation: 30-21=9 Exploring Operation: 76-30=46, Resulting Numbers: [21, 46] Generated Node #0,1,3: 67:[21, 46] Operation: 76-30=46 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[76, 51], Operations: ['90-14=76', '30+21=51'] Exploring Operation: 76*51=3876, Resulting Numbers: [3876] 3876,67 unequal: No Solution Exploring Operation: 76-51=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 76+51=127, Resulting Numbers: [127] 127,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:[30, 55], Operations: ['90-14=76', '76-21=55'] Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 30*55=1650, Resulting Numbers: [1650] 1650,67 unequal: No Solution Exploring Operation: 30+55=85, Resulting Numbers: [85] 85,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:[76, 9], Operations: ['90-14=76', '30-21=9'] Exploring Operation: 76*9=684, Resulting Numbers: [684] 684,67 unequal: No Solution Exploring Operation: 76+9=85, Resulting Numbers: [85] 85,67 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[90, 30, 14, 21], Operations: [] Exploring Operation: 90-14=76, Resulting Numbers: [30, 21, 76] Generated Node #0,1: 67:[30, 21, 76] Operation: 90-14=76 Moving to Node #0,1 Current State: 67:[30, 21, 76], Operations: ['90-14=76'] Exploring Operation: 30-21=9, Resulting Numbers: [76, 9] Generated Node #0,1,2: 67:[76, 9] Operation: 30-21=9 Moving to Node #0,1,2 Current State: 67:[76, 9], Operations: ['90-14=76', '30-21=9'] Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 47, 92, 67, 90 ]
69
[ "92-47=45", "90/45=2", "67+2=69" ]
Current State: 69:[47, 92, 67, 90], Operations: [] Exploring Operation: 92-47=45, Resulting Numbers: [67, 90, 45] Generated Node #2: [67, 90, 45] from Operation: 92-47=45 Current State: 69:[67, 90, 45], Operations: ['92-47=45'] Exploring Operation: 90/45=2, Resulting Numbers: [67, 2] Generated Node #3: [67, 2] from Operation: 90/45=2 Current State: 69:[67, 2], Operations: ['92-47=45', '90/45=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[47, 92, 67, 90], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [47, 67, 2] Generated Node #0,0: 69:[47, 67, 2] Operation: 92-90=2 Exploring Operation: 92-67=25, Resulting Numbers: [47, 90, 25] Generated Node #0,1: 69:[47, 90, 25] Operation: 92-67=25 Exploring Operation: 92-47=45, Resulting Numbers: [67, 90, 45] Generated Node #0,2: 69:[67, 90, 45] Operation: 92-47=45 Exploring Operation: 90-47=43, Resulting Numbers: [92, 67, 43] Generated Node #0,3: 69:[92, 67, 43] Operation: 90-47=43 Moving to Node #0,0 Current State: 69:[47, 67, 2], Operations: ['92-90=2'] Exploring Operation: 47-2=45, Resulting Numbers: [67, 45] Generated Node #0,0,0: 69:[67, 45] Operation: 47-2=45 Exploring Operation: 67+2=69, Resulting Numbers: [47, 69] Generated Node #0,0,1: 69:[47, 69] Operation: 67+2=69 Exploring Operation: 67-47=20, Resulting Numbers: [2, 20] Generated Node #0,0,2: 69:[2, 20] Operation: 67-47=20 Exploring Operation: 47+2=49, Resulting Numbers: [67, 49] Generated Node #0,0,3: 69:[67, 49] Operation: 47+2=49 Moving to Node #0,2 Current State: 69:[67, 90, 45], Operations: ['92-47=45'] Exploring Operation: 90/45=2, Resulting Numbers: [67, 2] Generated Node #0,2,0: 69:[67, 2] Operation: 90/45=2 Exploring Operation: 90-67=23, Resulting Numbers: [45, 23] Generated Node #0,2,1: 69:[45, 23] Operation: 90-67=23 Exploring Operation: 67-45=22, Resulting Numbers: [90, 22] Generated Node #0,2,2: 69:[90, 22] Operation: 67-45=22 Exploring Operation: 90-45=45, Resulting Numbers: [67, 45] Generated Node #0,2,3: 69:[67, 45] Operation: 90-45=45 Moving to Node #0,1 Current State: 69:[47, 90, 25], Operations: ['92-67=25'] Exploring Operation: 90-25=65, Resulting Numbers: [47, 65] Generated Node #0,1,0: 69:[47, 65] Operation: 90-25=65 Exploring Operation: 90-47=43, Resulting Numbers: [25, 43] Generated Node #0,1,1: 69:[25, 43] Operation: 90-47=43 Exploring Operation: 47-25=22, Resulting Numbers: [90, 22] Generated Node #0,1,2: 69:[90, 22] Operation: 47-25=22 Exploring Operation: 47+25=72, Resulting Numbers: [90, 72] Generated Node #0,1,3: 69:[90, 72] Operation: 47+25=72 Moving to Node #0,3 Current State: 69:[92, 67, 43], Operations: ['90-47=43'] Exploring Operation: 92-67=25, Resulting Numbers: [43, 25] Generated Node #0,3,0: 69:[43, 25] Operation: 92-67=25 Exploring Operation: 92-43=49, Resulting Numbers: [67, 49] Generated Node #0,3,1: 69:[67, 49] Operation: 92-43=49 Exploring Operation: 67-43=24, Resulting Numbers: [92, 24] Generated Node #0,3,2: 69:[92, 24] Operation: 67-43=24 Exploring Operation: 67+43=110, Resulting Numbers: [92, 110] Generated Node #0,3,3: 69:[92, 110] Operation: 67+43=110 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[43, 25], Operations: ['90-47=43', '92-67=25'] Exploring Operation: 43+25=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 43*25=1075, Resulting Numbers: [1075] 1075,69 unequal: No Solution Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,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,3,1 Current State: 69:[67, 49], Operations: ['90-47=43', '92-43=49'] Exploring Operation: 67+49=116, Resulting Numbers: [116] 116,69 unequal: No Solution Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 67*49=3283, Resulting Numbers: [3283] 3283,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,3,2 Current State: 69:[92, 24], Operations: ['90-47=43', '67-43=24'] Exploring Operation: 92*24=2208, Resulting Numbers: [2208] 2208,69 unequal: No Solution Exploring Operation: 92+24=116, Resulting Numbers: [116] 116,69 unequal: No Solution Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,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,3,3 Current State: 69:[92, 110], Operations: ['90-47=43', '67+43=110'] Exploring Operation: 92+110=202, Resulting Numbers: [202] 202,69 unequal: No Solution Exploring Operation: 110-92=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 92*110=10120, Resulting Numbers: [10120] 10120,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 69:[67, 2], Operations: ['92-47=45', '90/45=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[47, 92, 67, 90], Operations: [] Exploring Operation: 92-47=45, Resulting Numbers: [67, 90, 45] Generated Node #0,2: 69:[67, 90, 45] Operation: 92-47=45 Moving to Node #0,2 Current State: 69:[67, 90, 45], Operations: ['92-47=45'] Exploring Operation: 90/45=2, Resulting Numbers: [67, 2] Generated Node #0,2,0: 69:[67, 2] Operation: 90/45=2 Moving to Node #0,2,0 Current State: 69:[67, 2], Operations: ['92-47=45', '90/45=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.967882
hs_4
sum_heuristic
[ 16, 46, 12, 69 ]
19
[ "16+46=62", "12+69=81", "81-62=19" ]
Current State: 19:[16, 46, 12, 69], Operations: [] Exploring Operation: 16+46=62, Resulting Numbers: [12, 69, 62] Generated Node #2: [12, 69, 62] from Operation: 16+46=62 Current State: 19:[12, 69, 62], Operations: ['16+46=62'] Exploring Operation: 12+69=81, Resulting Numbers: [62, 81] Generated Node #3: [62, 81] from Operation: 12+69=81 Current State: 19:[62, 81], Operations: ['16+46=62', '12+69=81'] Exploring Operation: 81-62=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[16, 46, 12, 69], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [16, 12, 23] Generated Node #0,0: 19:[16, 12, 23] Operation: 69-46=23 Exploring Operation: 46-16=30, Resulting Numbers: [12, 69, 30] Generated Node #0,1: 19:[12, 69, 30] Operation: 46-16=30 Exploring Operation: 69-16=53, Resulting Numbers: [46, 12, 53] Generated Node #0,2: 19:[46, 12, 53] Operation: 69-16=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[16, 12, 23], Operations: ['69-46=23'] Exploring Operation: 23-12=11, Resulting Numbers: [16, 11] Generated Node #0,0,0: 19:[16, 11] Operation: 23-12=11 Exploring Operation: 16-12=4, Resulting Numbers: [23, 4] Generated Node #0,0,1: 19:[23, 4] Operation: 16-12=4 Exploring Operation: 16+12=28, Resulting Numbers: [23, 28] Generated Node #0,0,2: 19:[23, 28] Operation: 16+12=28 Moving to Node #0,0,0 Current State: 19:[16, 11], Operations: ['69-46=23', '23-12=11'] Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,19 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[23, 28], Operations: ['69-46=23', '16+12=28'] Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[23, 4], Operations: ['69-46=23', '16-12=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,19 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[16, 46, 12, 69], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [16, 12, 23] Generated Node #0,0: 19:[16, 12, 23] Operation: 69-46=23 Moving to Node #0,0 Current State: 19:[16, 12, 23], Operations: ['69-46=23'] Exploring Operation: 16-12=4, Resulting Numbers: [23, 4] Generated Node #0,0,1: 19:[23, 4] Operation: 16-12=4 Moving to Node #0,0,1 Current State: 19:[23, 4], Operations: ['69-46=23', '16-12=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 30, 86, 31, 44 ]
24
[ "30*44=1320", "86-31=55", "1320/55=24" ]
Current State: 24:[30, 86, 31, 44], Operations: [] Exploring Operation: 30*44=1320, Resulting Numbers: [86, 31, 1320] Generated Node #2: [86, 31, 1320] from Operation: 30*44=1320 Current State: 24:[86, 31, 1320], Operations: ['30*44=1320'] Exploring Operation: 86-31=55, Resulting Numbers: [1320, 55] Generated Node #3: [1320, 55] from Operation: 86-31=55 Current State: 24:[1320, 55], Operations: ['30*44=1320', '86-31=55'] Exploring Operation: 1320/55=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[30, 86, 31, 44], Operations: [] Exploring Operation: 86-30=56, Resulting Numbers: [31, 44, 56] Generated Node #0,0: 24:[31, 44, 56] Operation: 86-30=56 Exploring Operation: 86-31=55, Resulting Numbers: [30, 44, 55] Generated Node #0,1: 24:[30, 44, 55] Operation: 86-31=55 Exploring Operation: 44-31=13, Resulting Numbers: [30, 86, 13] Generated Node #0,2: 24:[30, 86, 13] Operation: 44-31=13 Exploring Operation: 86-44=42, Resulting Numbers: [30, 31, 42] Generated Node #0,3: 24:[30, 31, 42] Operation: 86-44=42 Moving to Node #0,3 Current State: 24:[30, 31, 42], Operations: ['86-44=42'] Exploring Operation: 30+31=61, Resulting Numbers: [42, 61] Generated Node #0,3,0: 24:[42, 61] Operation: 30+31=61 Exploring Operation: 42-31=11, Resulting Numbers: [30, 11] Generated Node #0,3,1: 24:[30, 11] Operation: 42-31=11 Exploring Operation: 31-30=1, Resulting Numbers: [42, 1] Generated Node #0,3,2: 24:[42, 1] Operation: 31-30=1 Exploring Operation: 42-30=12, Resulting Numbers: [31, 12] Generated Node #0,3,3: 24:[31, 12] Operation: 42-30=12 Moving to Node #0,1 Current State: 24:[30, 44, 55], Operations: ['86-31=55'] Exploring Operation: 44-30=14, Resulting Numbers: [55, 14] Generated Node #0,1,0: 24:[55, 14] Operation: 44-30=14 Exploring Operation: 55-30=25, Resulting Numbers: [44, 25] Generated Node #0,1,1: 24:[44, 25] Operation: 55-30=25 Exploring Operation: 30+44=74, Resulting Numbers: [55, 74] Generated Node #0,1,2: 24:[55, 74] Operation: 30+44=74 Exploring Operation: 55-44=11, Resulting Numbers: [30, 11] Generated Node #0,1,3: 24:[30, 11] Operation: 55-44=11 Moving to Node #0,0 Current State: 24:[31, 44, 56], Operations: ['86-30=56'] Exploring Operation: 56-44=12, Resulting Numbers: [31, 12] Generated Node #0,0,0: 24:[31, 12] Operation: 56-44=12 Exploring Operation: 56-31=25, Resulting Numbers: [44, 25] Generated Node #0,0,1: 24:[44, 25] Operation: 56-31=25 Exploring Operation: 31+44=75, Resulting Numbers: [56, 75] Generated Node #0,0,2: 24:[56, 75] Operation: 31+44=75 Exploring Operation: 44-31=13, Resulting Numbers: [56, 13] Generated Node #0,0,3: 24:[56, 13] Operation: 44-31=13 Moving to Node #0,2 Current State: 24:[30, 86, 13], Operations: ['44-31=13'] Exploring Operation: 86-30=56, Resulting Numbers: [13, 56] Generated Node #0,2,0: 24:[13, 56] Operation: 86-30=56 Exploring Operation: 30+13=43, Resulting Numbers: [86, 43] Generated Node #0,2,1: 24:[86, 43] Operation: 30+13=43 Exploring Operation: 30-13=17, Resulting Numbers: [86, 17] Generated Node #0,2,2: 24:[86, 17] Operation: 30-13=17 Exploring Operation: 86-13=73, Resulting Numbers: [30, 73] Generated Node #0,2,3: 24:[30, 73] Operation: 86-13=73 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[13, 56], Operations: ['44-31=13', '86-30=56'] Exploring Operation: 13*56=728, Resulting Numbers: [728] 728,24 unequal: No Solution Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[30, 73], Operations: ['44-31=13', '86-13=73'] Exploring Operation: 30+73=103, Resulting Numbers: [103] 103,24 unequal: No Solution Exploring Operation: 30*73=2190, Resulting Numbers: [2190] 2190,24 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[86, 17], Operations: ['44-31=13', '30-13=17'] Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 86*17=1462, Resulting Numbers: [1462] 1462,24 unequal: No Solution Exploring Operation: 86+17=103, Resulting Numbers: [103] 103,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:[86, 43], Operations: ['44-31=13', '30+13=43'] Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 86*43=3698, Resulting Numbers: [3698] 3698,24 unequal: No Solution Exploring Operation: 86+43=129, Resulting Numbers: [129] 129,24 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 24:[30, 11], Operations: ['86-44=42', '42-31=11'] Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,24 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[31, 12], Operations: ['86-44=42', '42-30=12'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 31*12=372, Resulting Numbers: [372] 372,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[30, 11], Operations: ['86-31=55', '55-44=11'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[31, 12], Operations: ['86-30=56', '56-44=12'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 31*12=372, Resulting Numbers: [372] 372,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[42, 1], Operations: ['86-44=42', '31-30=1'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[44, 25], Operations: ['86-31=55', '55-30=25'] Exploring Operation: 44*25=1100, Resulting Numbers: [1100] 1100,24 unequal: No Solution Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[44, 25], Operations: ['86-30=56', '56-31=25'] Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 44*25=1100, Resulting Numbers: [1100] 1100,24 unequal: No Solution Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[55, 14], Operations: ['86-31=55', '44-30=14'] Exploring Operation: 55+14=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 55*14=770, Resulting Numbers: [770] 770,24 unequal: No Solution Moving to Node #0,0,3 Current State: 24:[56, 13], Operations: ['86-30=56', '44-31=13'] Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 56*13=728, Resulting Numbers: [728] 728,24 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[42, 61], Operations: ['86-44=42', '30+31=61'] Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 42*61=2562, Resulting Numbers: [2562] 2562,24 unequal: No Solution Exploring Operation: 42+61=103, Resulting Numbers: [103] 103,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[55, 74], Operations: ['86-31=55', '30+44=74'] Exploring Operation: 74-55=19, Resulting Numbers: [19] 19,24 unequal: No Solution Exploring Operation: 55+74=129, Resulting Numbers: [129] 129,24 unequal: No Solution Exploring Operation: 55*74=4070, Resulting Numbers: [4070] 4070,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[56, 75], Operations: ['86-30=56', '31+44=75'] Exploring Operation: 56*75=4200, Resulting Numbers: [4200] 4200,24 unequal: No Solution Exploring Operation: 56+75=131, Resulting Numbers: [131] 131,24 unequal: No Solution Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,24 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 89, 20, 85, 18 ]
90
[ "89-85=4", "20*18=360", "360/4=90" ]
Current State: 90:[89, 20, 85, 18], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [20, 18, 4] Generated Node #2: [20, 18, 4] from Operation: 89-85=4 Current State: 90:[20, 18, 4], Operations: ['89-85=4'] Exploring Operation: 20*18=360, Resulting Numbers: [4, 360] Generated Node #3: [4, 360] from Operation: 20*18=360 Current State: 90:[4, 360], Operations: ['89-85=4', '20*18=360'] Exploring Operation: 360/4=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[89, 20, 85, 18], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [89, 85, 2] Generated Node #0,0: 90:[89, 85, 2] Operation: 20-18=2 Exploring Operation: 89-85=4, Resulting Numbers: [20, 18, 4] Generated Node #0,1: 90:[20, 18, 4] Operation: 89-85=4 Exploring Operation: 20+85=105, Resulting Numbers: [89, 18, 105] Generated Node #0,2: 90:[89, 18, 105] Operation: 20+85=105 Exploring Operation: 20+18=38, Resulting Numbers: [89, 85, 38] Generated Node #0,3: 90:[89, 85, 38] Operation: 20+18=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[20, 18, 4], Operations: ['89-85=4'] Exploring Operation: 20-4=16, Resulting Numbers: [18, 16] Generated Node #0,1,0: 90:[18, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [18, 5] Generated Node #0,1,1: 90:[18, 5] Operation: 20/4=5 Exploring Operation: 20-18=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 90:[4, 2] Operation: 20-18=2 Exploring Operation: 18-4=14, Resulting Numbers: [20, 14] Generated Node #0,1,3: 90:[20, 14] Operation: 18-4=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[18, 5], Operations: ['89-85=4', '20/4=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[89, 20, 85, 18], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [20, 18, 4] Generated Node #0,1: 90:[20, 18, 4] Operation: 89-85=4 Moving to Node #0,1 Current State: 90:[20, 18, 4], Operations: ['89-85=4'] Exploring Operation: 20/4=5, Resulting Numbers: [18, 5] Generated Node #0,1,1: 90:[18, 5] Operation: 20/4=5 Moving to Node #0,1,1 Current State: 90:[18, 5], Operations: ['89-85=4', '20/4=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 62, 4, 89, 65 ]
82
[ "62-4=58", "89-65=24", "58+24=82" ]
Current State: 82:[62, 4, 89, 65], Operations: [] Exploring Operation: 62-4=58, Resulting Numbers: [89, 65, 58] Generated Node #2: [89, 65, 58] from Operation: 62-4=58 Current State: 82:[89, 65, 58], Operations: ['62-4=58'] Exploring Operation: 89-65=24, Resulting Numbers: [58, 24] Generated Node #3: [58, 24] from Operation: 89-65=24 Current State: 82:[58, 24], Operations: ['62-4=58', '89-65=24'] Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[62, 4, 89, 65], Operations: [] Exploring Operation: 89-62=27, Resulting Numbers: [4, 65, 27] Generated Node #0,0: 82:[4, 65, 27] Operation: 89-62=27 Exploring Operation: 65-62=3, Resulting Numbers: [4, 89, 3] Generated Node #0,1: 82:[4, 89, 3] Operation: 65-62=3 Exploring Operation: 89-65=24, Resulting Numbers: [62, 4, 24] Generated Node #0,2: 82:[62, 4, 24] Operation: 89-65=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[4, 89, 3], Operations: ['65-62=3'] Exploring Operation: 4-3=1, Resulting Numbers: [89, 1] Generated Node #0,1,0: 82:[89, 1] Operation: 4-3=1 Exploring Operation: 89-3=86, Resulting Numbers: [4, 86] Generated Node #0,1,1: 82:[4, 86] Operation: 89-3=86 Exploring Operation: 89-4=85, Resulting Numbers: [3, 85] Generated Node #0,1,2: 82:[3, 85] Operation: 89-4=85 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 82:[3, 85], Operations: ['65-62=3', '89-4=85'] Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,82 unequal: No Solution Exploring Operation: 3*85=255, Resulting Numbers: [255] 255,82 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[62, 4, 89, 65], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [4, 89, 3] Generated Node #0,1: 82:[4, 89, 3] Operation: 65-62=3 Moving to Node #0,1 Current State: 82:[4, 89, 3], Operations: ['65-62=3'] Exploring Operation: 89-4=85, Resulting Numbers: [3, 85] Generated Node #0,1,2: 82:[3, 85] Operation: 89-4=85 Moving to Node #0,1,2 Current State: 82:[3, 85], Operations: ['65-62=3', '89-4=85'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 3, 47, 9, 2 ]
42
[ "9/3=3", "47-2=45", "45-3=42" ]
Current State: 42:[3, 47, 9, 2], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [47, 2, 3] Generated Node #2: [47, 2, 3] from Operation: 9/3=3 Current State: 42:[47, 2, 3], Operations: ['9/3=3'] Exploring Operation: 47-2=45, Resulting Numbers: [3, 45] Generated Node #3: [3, 45] from Operation: 47-2=45 Current State: 42:[3, 45], Operations: ['9/3=3', '47-2=45'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[3, 47, 9, 2], Operations: [] Exploring Operation: 47-9=38, Resulting Numbers: [3, 2, 38] Generated Node #0,0: 42:[3, 2, 38] Operation: 47-9=38 Exploring Operation: 47-3=44, Resulting Numbers: [9, 2, 44] Generated Node #0,1: 42:[9, 2, 44] Operation: 47-3=44 Moving to Node #0,0 Current State: 42:[3, 2, 38], Operations: ['47-9=38'] Exploring Operation: 3+38=41, Resulting Numbers: [2, 41] Generated Node #0,0,0: 42:[2, 41] Operation: 3+38=41 Exploring Operation: 2+38=40, Resulting Numbers: [3, 40] Generated Node #0,0,1: 42:[3, 40] Operation: 2+38=40 Moving to Node #0,1 Current State: 42:[9, 2, 44], Operations: ['47-3=44'] Exploring Operation: 44-2=42, Resulting Numbers: [9, 42] Generated Node #0,1,0: 42:[9, 42] Operation: 44-2=42 Exploring Operation: 9-2=7, Resulting Numbers: [44, 7] Generated Node #0,1,1: 42:[44, 7] Operation: 9-2=7 Moving to Node #0,0,0 Current State: 42:[2, 41], Operations: ['47-9=38', '3+38=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,42 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[9, 42], Operations: ['47-3=44', '44-2=42'] Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[3, 40], Operations: ['47-9=38', '2+38=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[44, 7], Operations: ['47-3=44', '9-2=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,42 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 98, 68, 23, 68 ]
15
[ "98-68=30", "68-23=45", "45-30=15" ]
Current State: 15:[98, 68, 23, 68], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [23, 30] Generated Node #2: [23, 30] from Operation: 98-68=30 Current State: 15:[23, 30], Operations: ['98-68=30'] Exploring Operation: 68-23=45, Resulting Numbers: [30, 45] Generated Node #3: [30, 45] from Operation: 68-23=45 Current State: 15:[30, 45], Operations: ['98-68=30', '68-23=45'] Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[98, 68, 23, 68], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [23, 68, 30] Generated Node #0,0: 15:[23, 68, 30] Operation: 98-68=30 Exploring Operation: 98-68=30, Resulting Numbers: [68, 23, 30] Generated Node #0,1: 15:[68, 23, 30] Operation: 98-68=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[23, 68, 30], Operations: ['98-68=30'] Exploring Operation: 68-30=38, Resulting Numbers: [23, 38] Generated Node #0,0,0: 15:[23, 38] Operation: 68-30=38 Exploring Operation: 68-23=45, Resulting Numbers: [30, 45] Generated Node #0,0,1: 15:[30, 45] Operation: 68-23=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[23, 38], Operations: ['98-68=30', '68-30=38'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[98, 68, 23, 68], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [23, 68, 30] Generated Node #0,0: 15:[23, 68, 30] Operation: 98-68=30 Moving to Node #0,0 Current State: 15:[23, 68, 30], Operations: ['98-68=30'] Exploring Operation: 68-30=38, Resulting Numbers: [23, 38] Generated Node #0,0,0: 15:[23, 38] Operation: 68-30=38 Moving to Node #0,0,0 Current State: 15:[23, 38], Operations: ['98-68=30', '68-30=38'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 38, 56, 80, 42 ]
96
[ "42-38=4", "80-56=24", "4*24=96" ]
Current State: 96:[38, 56, 80, 42], Operations: [] Exploring Operation: 42-38=4, Resulting Numbers: [56, 80, 4] Generated Node #2: [56, 80, 4] from Operation: 42-38=4 Current State: 96:[56, 80, 4], Operations: ['42-38=4'] Exploring Operation: 80-56=24, Resulting Numbers: [4, 24] Generated Node #3: [4, 24] from Operation: 80-56=24 Current State: 96:[4, 24], Operations: ['42-38=4', '80-56=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[38, 56, 80, 42], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [38, 42, 24] Generated Node #0,0: 96:[38, 42, 24] Operation: 80-56=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[38, 42, 24], Operations: ['80-56=24'] Exploring Operation: 42-38=4, Resulting Numbers: [24, 4] Generated Node #0,0,0: 96:[24, 4] Operation: 42-38=4 Moving to Node #0,0,0 Current State: 96:[24, 4], Operations: ['80-56=24', '42-38=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[38, 56, 80, 42], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [38, 42, 24] Generated Node #0,0: 96:[38, 42, 24] Operation: 80-56=24 Moving to Node #0,0 Current State: 96:[38, 42, 24], Operations: ['80-56=24'] Exploring Operation: 42-38=4, Resulting Numbers: [24, 4] Generated Node #0,0,0: 96:[24, 4] Operation: 42-38=4 Moving to Node #0,0,0 Current State: 96:[24, 4], Operations: ['80-56=24', '42-38=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 1, 89, 62, 87 ]
31
[ "1*89=89", "89-87=2", "62/2=31" ]
Current State: 31:[1, 89, 62, 87], Operations: [] Exploring Operation: 1*89=89, Resulting Numbers: [62, 87, 89] Generated Node #2: [62, 87, 89] from Operation: 1*89=89 Current State: 31:[62, 87, 89], Operations: ['1*89=89'] Exploring Operation: 89-87=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 89-87=2 Current State: 31:[62, 2], Operations: ['1*89=89', '89-87=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[1, 89, 62, 87], Operations: [] Exploring Operation: 89-62=27, Resulting Numbers: [1, 87, 27] Generated Node #0,0: 31:[1, 87, 27] Operation: 89-62=27 Exploring Operation: 89-87=2, Resulting Numbers: [1, 62, 2] Generated Node #0,1: 31:[1, 62, 2] Operation: 89-87=2 Moving to Node #0,0 Current State: 31:[1, 87, 27], Operations: ['89-62=27'] Exploring Operation: 87-1=86, Resulting Numbers: [27, 86] Generated Node #0,0,0: 31:[27, 86] Operation: 87-1=86 Exploring Operation: 1+27=28, Resulting Numbers: [87, 28] Generated Node #0,0,1: 31:[87, 28] Operation: 1+27=28 Moving to Node #0,1 Current State: 31:[1, 62, 2], Operations: ['89-87=2'] Exploring Operation: 62/2=31, Resulting Numbers: [1, 31] Generated Node #0,1,0: 31:[1, 31] Operation: 62/2=31 Exploring Operation: 62-1=61, Resulting Numbers: [2, 61] Generated Node #0,1,1: 31:[2, 61] Operation: 62-1=61 Moving to Node #0,1,0 Current State: 31:[1, 31], Operations: ['89-87=2', '62/2=31'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[1, 89, 62, 87], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [1, 62, 2] Generated Node #0,1: 31:[1, 62, 2] Operation: 89-87=2 Moving to Node #0,1 Current State: 31:[1, 62, 2], Operations: ['89-87=2'] Exploring Operation: 62/2=31, Resulting Numbers: [1, 31] Generated Node #0,1,0: 31:[1, 31] Operation: 62/2=31 Moving to Node #0,1,0 Current State: 31:[1, 31], Operations: ['89-87=2', '62/2=31'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 41, 83, 9, 68 ]
80
[ "68-41=27", "27/9=3", "83-3=80" ]
Current State: 80:[41, 83, 9, 68], Operations: [] Exploring Operation: 68-41=27, Resulting Numbers: [83, 9, 27] Generated Node #2: [83, 9, 27] from Operation: 68-41=27 Current State: 80:[83, 9, 27], Operations: ['68-41=27'] Exploring Operation: 27/9=3, Resulting Numbers: [83, 3] Generated Node #3: [83, 3] from Operation: 27/9=3 Current State: 80:[83, 3], Operations: ['68-41=27', '27/9=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[41, 83, 9, 68], Operations: [] Exploring Operation: 83-9=74, Resulting Numbers: [41, 68, 74] Generated Node #0,0: 80:[41, 68, 74] Operation: 83-9=74 Exploring Operation: 9+68=77, Resulting Numbers: [41, 83, 77] Generated Node #0,1: 80:[41, 83, 77] Operation: 9+68=77 Exploring Operation: 83-68=15, Resulting Numbers: [41, 9, 15] Generated Node #0,2: 80:[41, 9, 15] Operation: 83-68=15 Exploring Operation: 68-41=27, Resulting Numbers: [83, 9, 27] Generated Node #0,3: 80:[83, 9, 27] Operation: 68-41=27 Exploring Operation: 83-41=42, Resulting Numbers: [9, 68, 42] Generated Node #0,4: 80:[9, 68, 42] Operation: 83-41=42 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[41, 9, 15], Operations: ['83-68=15'] Exploring Operation: 41-9=32, Resulting Numbers: [15, 32] Generated Node #0,2,0: 80:[15, 32] Operation: 41-9=32 Exploring Operation: 9+15=24, Resulting Numbers: [41, 24] Generated Node #0,2,1: 80:[41, 24] Operation: 9+15=24 Exploring Operation: 41+9=50, Resulting Numbers: [15, 50] Generated Node #0,2,2: 80:[15, 50] Operation: 41+9=50 Exploring Operation: 41-15=26, Resulting Numbers: [9, 26] Generated Node #0,2,3: 80:[9, 26] Operation: 41-15=26 Exploring Operation: 15-9=6, Resulting Numbers: [41, 6] Generated Node #0,2,4: 80:[41, 6] Operation: 15-9=6 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 80:[41, 6], Operations: ['83-68=15', '15-9=6'] Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,80 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 80:[41, 24], Operations: ['83-68=15', '9+15=24'] Exploring Operation: 41*24=984, Resulting Numbers: [984] 984,80 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 41+24=65, Resulting Numbers: [65] 65,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 80:[9, 26], Operations: ['83-68=15', '41-15=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,80 unequal: No Solution Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[15, 32], Operations: ['83-68=15', '41-9=32'] Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,80 unequal: No Solution Exploring Operation: 15*32=480, Resulting Numbers: [480] 480,80 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[15, 50], Operations: ['83-68=15', '41+9=50'] Exploring Operation: 15+50=65, Resulting Numbers: [65] 65,80 unequal: No Solution Exploring Operation: 15*50=750, Resulting Numbers: [750] 750,80 unequal: No Solution Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[41, 83, 77], Operations: ['9+68=77'] Exploring Operation: 41+77=118, Resulting Numbers: [83, 118] Generated Node #0,1,0: 80:[83, 118] Operation: 41+77=118 Exploring Operation: 77-41=36, Resulting Numbers: [83, 36] Generated Node #0,1,1: 80:[83, 36] Operation: 77-41=36 Exploring Operation: 83-77=6, Resulting Numbers: [41, 6] Generated Node #0,1,2: 80:[41, 6] Operation: 83-77=6 Exploring Operation: 41+83=124, Resulting Numbers: [77, 124] Generated Node #0,1,3: 80:[77, 124] Operation: 41+83=124 Exploring Operation: 83-41=42, Resulting Numbers: [77, 42] Generated Node #0,1,4: 80:[77, 42] Operation: 83-41=42 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[41, 6], Operations: ['9+68=77', '83-77=6'] Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,80 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,80 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 80:[77, 42], Operations: ['9+68=77', '83-41=42'] Exploring Operation: 77+42=119, Resulting Numbers: [119] 119,80 unequal: No Solution Exploring Operation: 77*42=3234, Resulting Numbers: [3234] 3234,80 unequal: No Solution Exploring Operation: 77-42=35, Resulting Numbers: [35] 35,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[83, 36], Operations: ['9+68=77', '77-41=36'] Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,80 unequal: No Solution Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,80 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[83, 118], Operations: ['9+68=77', '41+77=118'] Exploring Operation: 83+118=201, Resulting Numbers: [201] 201,80 unequal: No Solution Exploring Operation: 118-83=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 83*118=9794, Resulting Numbers: [9794] 9794,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 80:[77, 124], Operations: ['9+68=77', '41+83=124'] Exploring Operation: 77+124=201, Resulting Numbers: [201] 201,80 unequal: No Solution Exploring Operation: 77*124=9548, Resulting Numbers: [9548] 9548,80 unequal: No Solution Exploring Operation: 124-77=47, Resulting Numbers: [47] 47,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[83, 9, 27], Operations: ['68-41=27'] Exploring Operation: 27-9=18, Resulting Numbers: [83, 18] Generated Node #0,3,0: 80:[83, 18] Operation: 27-9=18 Exploring Operation: 83-9=74, Resulting Numbers: [27, 74] Generated Node #0,3,1: 80:[27, 74] Operation: 83-9=74 Exploring Operation: 9+27=36, Resulting Numbers: [83, 36] Generated Node #0,3,2: 80:[83, 36] Operation: 9+27=36 Exploring Operation: 83-27=56, Resulting Numbers: [9, 56] Generated Node #0,3,3: 80:[9, 56] Operation: 83-27=56 Exploring Operation: 27/9=3, Resulting Numbers: [83, 3] Generated Node #0,3,4: 80:[83, 3] Operation: 27/9=3 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 80:[83, 3], Operations: ['68-41=27', '27/9=3'] Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,80 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[41, 83, 9, 68], Operations: [] Exploring Operation: 68-41=27, Resulting Numbers: [83, 9, 27] Generated Node #0,3: 80:[83, 9, 27] Operation: 68-41=27 Moving to Node #0,3 Current State: 80:[83, 9, 27], Operations: ['68-41=27'] Exploring Operation: 27/9=3, Resulting Numbers: [83, 3] Generated Node #0,3,4: 80:[83, 3] Operation: 27/9=3 Moving to Node #0,3,4 Current State: 80:[83, 3], Operations: ['68-41=27', '27/9=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.951389
hs_5
mult_heuristic
[ 12, 37, 29, 74 ]
22
[ "37-29=8", "12*8=96", "96-74=22" ]
Current State: 22:[12, 37, 29, 74], Operations: [] Exploring Operation: 37-29=8, Resulting Numbers: [12, 74, 8] Generated Node #2: [12, 74, 8] from Operation: 37-29=8 Current State: 22:[12, 74, 8], Operations: ['37-29=8'] Exploring Operation: 12*8=96, Resulting Numbers: [74, 96] Generated Node #3: [74, 96] from Operation: 12*8=96 Current State: 22:[74, 96], Operations: ['37-29=8', '12*8=96'] Exploring Operation: 96-74=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[12, 37, 29, 74], Operations: [] Exploring Operation: 74-37=37, Resulting Numbers: [12, 29, 37] Generated Node #0,0: 22:[12, 29, 37] Operation: 74-37=37 Exploring Operation: 74-29=45, Resulting Numbers: [12, 37, 45] Generated Node #0,1: 22:[12, 37, 45] Operation: 74-29=45 Exploring Operation: 74/37=2, Resulting Numbers: [12, 29, 2] Generated Node #0,2: 22:[12, 29, 2] Operation: 74/37=2 Exploring Operation: 37-29=8, Resulting Numbers: [12, 74, 8] Generated Node #0,3: 22:[12, 74, 8] Operation: 37-29=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[12, 29, 2], Operations: ['74/37=2'] Exploring Operation: 12-2=10, Resulting Numbers: [29, 10] Generated Node #0,2,0: 22:[29, 10] Operation: 12-2=10 Exploring Operation: 29-2=27, Resulting Numbers: [12, 27] Generated Node #0,2,1: 22:[12, 27] Operation: 29-2=27 Exploring Operation: 29-12=17, Resulting Numbers: [2, 17] Generated Node #0,2,2: 22:[2, 17] Operation: 29-12=17 Exploring Operation: 12*2=24, Resulting Numbers: [29, 24] Generated Node #0,2,3: 22:[29, 24] Operation: 12*2=24 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 22:[2, 17], Operations: ['74/37=2', '29-12=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,22 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,22 unequal: No Solution No 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: 22:[12, 27], Operations: ['74/37=2', '29-2=27'] Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,22 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,22 unequal: No Solution Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,22 unequal: No Solution No 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: 22:[29, 10], Operations: ['74/37=2', '12-2=10'] Exploring Operation: 29*10=290, Resulting Numbers: [290] 290,22 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,22 unequal: No Solution No 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: 22:[29, 24], Operations: ['74/37=2', '12*2=24'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,22 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,22 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: 22:[12, 29, 37], Operations: ['74-37=37'] Exploring Operation: 29-12=17, Resulting Numbers: [37, 17] Generated Node #0,0,0: 22:[37, 17] Operation: 29-12=17 Exploring Operation: 12+29=41, Resulting Numbers: [37, 41] Generated Node #0,0,1: 22:[37, 41] Operation: 12+29=41 Exploring Operation: 37-12=25, Resulting Numbers: [29, 25] Generated Node #0,0,2: 22:[29, 25] Operation: 37-12=25 Exploring Operation: 37-29=8, Resulting Numbers: [12, 8] Generated Node #0,0,3: 22:[12, 8] Operation: 37-29=8 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 22:[12, 8], Operations: ['74-37=37', '37-29=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,22 unequal: No Solution No 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: 22:[29, 25], Operations: ['74-37=37', '37-12=25'] Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,22 unequal: No Solution Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,22 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,22 unequal: No Solution No 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: 22:[37, 17], Operations: ['74-37=37', '29-12=17'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,22 unequal: No Solution Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,22 unequal: No Solution No 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: 22:[37, 41], Operations: ['74-37=37', '12+29=41'] Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,22 unequal: No Solution Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,22 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,22 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: 22:[12, 37, 45], Operations: ['74-29=45'] Exploring Operation: 45-12=33, Resulting Numbers: [37, 33] Generated Node #0,1,0: 22:[37, 33] Operation: 45-12=33 Exploring Operation: 45-37=8, Resulting Numbers: [12, 8] Generated Node #0,1,1: 22:[12, 8] Operation: 45-37=8 Exploring Operation: 37-12=25, Resulting Numbers: [45, 25] Generated Node #0,1,2: 22:[45, 25] Operation: 37-12=25 Exploring Operation: 12+37=49, Resulting Numbers: [45, 49] Generated Node #0,1,3: 22:[45, 49] Operation: 12+37=49 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[12, 8], Operations: ['74-29=45', '45-37=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,22 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,22 unequal: No Solution No 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: 22:[37, 33], Operations: ['74-29=45', '45-12=33'] Exploring Operation: 37+33=70, Resulting Numbers: [70] 70,22 unequal: No Solution Exploring Operation: 37*33=1221, Resulting Numbers: [1221] 1221,22 unequal: No Solution Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,22 unequal: No Solution No 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: 22:[45, 25], Operations: ['74-29=45', '37-12=25'] Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,22 unequal: No Solution Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,22 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,22 unequal: No Solution No 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: 22:[45, 49], Operations: ['74-29=45', '12+37=49'] Exploring Operation: 45+49=94, Resulting Numbers: [94] 94,22 unequal: No Solution Exploring Operation: 45*49=2205, Resulting Numbers: [2205] 2205,22 unequal: No Solution Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,22 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: 22:[12, 74, 8], Operations: ['37-29=8'] Exploring Operation: 74-8=66, Resulting Numbers: [12, 66] Generated Node #0,3,0: 22:[12, 66] Operation: 74-8=66 Exploring Operation: 12-8=4, Resulting Numbers: [74, 4] Generated Node #0,3,1: 22:[74, 4] Operation: 12-8=4 Exploring Operation: 74-12=62, Resulting Numbers: [8, 62] Generated Node #0,3,2: 22:[8, 62] Operation: 74-12=62 Exploring Operation: 12+8=20, Resulting Numbers: [74, 20] Generated Node #0,3,3: 22:[74, 20] Operation: 12+8=20 Moving to Node #0,3,2 Current State: 22:[8, 62], Operations: ['37-29=8', '74-12=62'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,22 unequal: No Solution Exploring Operation: 8*62=496, Resulting Numbers: [496] 496,22 unequal: No Solution Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,22 unequal: No Solution Moving to Node #0,3,0 Current State: 22:[12, 66], Operations: ['37-29=8', '74-8=66'] Exploring Operation: 12*66=792, Resulting Numbers: [792] 792,22 unequal: No Solution Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,22 unequal: No Solution Exploring Operation: 12+66=78, Resulting Numbers: [78] 78,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[74, 20], Operations: ['37-29=8', '12+8=20'] Exploring Operation: 74*20=1480, Resulting Numbers: [1480] 1480,22 unequal: No Solution Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,22 unequal: No Solution Exploring Operation: 74+20=94, Resulting Numbers: [94] 94,22 unequal: No Solution Moving to Node #0,3,1 Current State: 22:[74, 4], Operations: ['37-29=8', '12-8=4'] Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,22 unequal: No Solution Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,22 unequal: No Solution Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,22 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
[ 58, 3, 2, 64 ]
67
[ "58+3=61", "2*64=128", "128-61=67" ]
Current State: 67:[58, 3, 2, 64], Operations: [] Exploring Operation: 58+3=61, Resulting Numbers: [2, 64, 61] Generated Node #2: [2, 64, 61] from Operation: 58+3=61 Current State: 67:[2, 64, 61], Operations: ['58+3=61'] Exploring Operation: 2*64=128, Resulting Numbers: [61, 128] Generated Node #3: [61, 128] from Operation: 2*64=128 Current State: 67:[61, 128], Operations: ['58+3=61', '2*64=128'] Exploring Operation: 128-61=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[58, 3, 2, 64], Operations: [] Exploring Operation: 58+2=60, Resulting Numbers: [3, 64, 60] Generated Node #0,0: 67:[3, 64, 60] Operation: 58+2=60 Exploring Operation: 3+2=5, Resulting Numbers: [58, 64, 5] Generated Node #0,1: 67:[58, 64, 5] Operation: 3+2=5 Exploring Operation: 3*2=6, Resulting Numbers: [58, 64, 6] Generated Node #0,2: 67:[58, 64, 6] Operation: 3*2=6 Exploring Operation: 58+3=61, Resulting Numbers: [2, 64, 61] Generated Node #0,3: 67:[2, 64, 61] Operation: 58+3=61 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[58, 64, 6], Operations: ['3*2=6'] Exploring Operation: 64-6=58, Resulting Numbers: [58, 58] Generated Node #0,2,0: 67:[58, 58] Operation: 64-6=58 Exploring Operation: 58+6=64, Resulting Numbers: [64, 64] Generated Node #0,2,1: 67:[64, 64] Operation: 58+6=64 Exploring Operation: 58-6=52, Resulting Numbers: [64, 52] Generated Node #0,2,2: 67:[64, 52] Operation: 58-6=52 Exploring Operation: 64+6=70, Resulting Numbers: [58, 70] Generated Node #0,2,3: 67:[58, 70] Operation: 64+6=70 Moving to Node #0,2,1 Current State: 67:[64, 64], Operations: ['3*2=6', '58+6=64'] Exploring Operation: 64*64=4096, Resulting Numbers: [4096] 4096,67 unequal: No Solution Exploring Operation: 64+64=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 64/64=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 64-64=0, Resulting Numbers: [0] 0,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[58, 70], Operations: ['3*2=6', '64+6=70'] Exploring Operation: 58+70=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 58*70=4060, Resulting Numbers: [4060] 4060,67 unequal: No Solution Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[64, 52], Operations: ['3*2=6', '58-6=52'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 64*52=3328, Resulting Numbers: [3328] 3328,67 unequal: No Solution Exploring Operation: 64+52=116, Resulting Numbers: [116] 116,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[58, 58], Operations: ['3*2=6', '64-6=58'] Exploring Operation: 58+58=116, Resulting Numbers: [116] 116,67 unequal: No Solution Exploring Operation: 58-58=0, Resulting Numbers: [0] 0,67 unequal: No Solution Exploring Operation: 58*58=3364, Resulting Numbers: [3364] 3364,67 unequal: No Solution Exploring Operation: 58/58=1, Resulting Numbers: [1] 1,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[3, 64, 60], Operations: ['58+2=60'] Exploring Operation: 3+60=63, Resulting Numbers: [64, 63] Generated Node #0,0,0: 67:[64, 63] Operation: 3+60=63 Exploring Operation: 60-3=57, Resulting Numbers: [64, 57] Generated Node #0,0,1: 67:[64, 57] Operation: 60-3=57 Exploring Operation: 64-3=61, Resulting Numbers: [60, 61] Generated Node #0,0,2: 67:[60, 61] Operation: 64-3=61 Exploring Operation: 3+64=67, Resulting Numbers: [60, 67] Generated Node #0,0,3: 67:[60, 67] Operation: 3+64=67 Moving to Node #0,0,0 Current State: 67:[64, 63], Operations: ['58+2=60', '3+60=63'] Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 64+63=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 64*63=4032, Resulting Numbers: [4032] 4032,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[60, 67], Operations: ['58+2=60', '3+64=67'] Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 60+67=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 60*67=4020, Resulting Numbers: [4020] 4020,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[60, 61], Operations: ['58+2=60', '64-3=61'] Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 60*61=3660, Resulting Numbers: [3660] 3660,67 unequal: No Solution Exploring Operation: 60+61=121, Resulting Numbers: [121] 121,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[64, 57], Operations: ['58+2=60', '60-3=57'] Exploring Operation: 64+57=121, Resulting Numbers: [121] 121,67 unequal: No Solution Exploring Operation: 64-57=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 64*57=3648, Resulting Numbers: [3648] 3648,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:[58, 64, 5], Operations: ['3+2=5'] Exploring Operation: 64-5=59, Resulting Numbers: [58, 59] Generated Node #0,1,0: 67:[58, 59] Operation: 64-5=59 Exploring Operation: 64+5=69, Resulting Numbers: [58, 69] Generated Node #0,1,1: 67:[58, 69] Operation: 64+5=69 Exploring Operation: 58+5=63, Resulting Numbers: [64, 63] Generated Node #0,1,2: 67:[64, 63] Operation: 58+5=63 Exploring Operation: 58-5=53, Resulting Numbers: [64, 53] Generated Node #0,1,3: 67:[64, 53] Operation: 58-5=53 Moving to Node #0,1,2 Current State: 67:[64, 63], Operations: ['3+2=5', '58+5=63'] Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 64+63=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 64*63=4032, Resulting Numbers: [4032] 4032,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[58, 69], Operations: ['3+2=5', '64+5=69'] Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 58+69=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 58*69=4002, Resulting Numbers: [4002] 4002,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[64, 53], Operations: ['3+2=5', '58-5=53'] Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 64+53=117, Resulting Numbers: [117] 117,67 unequal: No Solution Exploring Operation: 64*53=3392, Resulting Numbers: [3392] 3392,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[58, 59], Operations: ['3+2=5', '64-5=59'] Exploring Operation: 58*59=3422, Resulting Numbers: [3422] 3422,67 unequal: No Solution Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 58+59=117, Resulting Numbers: [117] 117,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,3 Current State: 67:[2, 64, 61], Operations: ['58+3=61'] Exploring Operation: 2+61=63, Resulting Numbers: [64, 63] Generated Node #0,3,0: 67:[64, 63] Operation: 2+61=63 Exploring Operation: 2+64=66, Resulting Numbers: [61, 66] Generated Node #0,3,1: 67:[61, 66] Operation: 2+64=66 Exploring Operation: 61-2=59, Resulting Numbers: [64, 59] Generated Node #0,3,2: 67:[64, 59] Operation: 61-2=59 Exploring Operation: 64-2=62, Resulting Numbers: [61, 62] Generated Node #0,3,3: 67:[61, 62] Operation: 64-2=62 Moving to Node #0,3,0 Current State: 67:[64, 63], Operations: ['58+3=61', '2+61=63'] Exploring Operation: 64+63=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 64*63=4032, Resulting Numbers: [4032] 4032,67 unequal: No Solution Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[61, 66], Operations: ['58+3=61', '2+64=66'] Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 61*66=4026, Resulting Numbers: [4026] 4026,67 unequal: No Solution Exploring Operation: 61+66=127, Resulting Numbers: [127] 127,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[61, 62], Operations: ['58+3=61', '64-2=62'] Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 61*62=3782, Resulting Numbers: [3782] 3782,67 unequal: No Solution Exploring Operation: 61+62=123, Resulting Numbers: [123] 123,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[64, 59], Operations: ['58+3=61', '61-2=59'] Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 64*59=3776, Resulting Numbers: [3776] 3776,67 unequal: No Solution Exploring Operation: 64+59=123, Resulting Numbers: [123] 123,67 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
[ 7, 30, 54, 24 ]
63
[ "7*54=378", "30-24=6", "378/6=63" ]
Current State: 63:[7, 30, 54, 24], Operations: [] Exploring Operation: 7*54=378, Resulting Numbers: [30, 24, 378] Generated Node #2: [30, 24, 378] from Operation: 7*54=378 Current State: 63:[30, 24, 378], Operations: ['7*54=378'] Exploring Operation: 30-24=6, Resulting Numbers: [378, 6] Generated Node #3: [378, 6] from Operation: 30-24=6 Current State: 63:[378, 6], Operations: ['7*54=378', '30-24=6'] Exploring Operation: 378/6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[7, 30, 54, 24], Operations: [] Exploring Operation: 30-7=23, Resulting Numbers: [54, 24, 23] Generated Node #0,0: 63:[54, 24, 23] Operation: 30-7=23 Exploring Operation: 7+54=61, Resulting Numbers: [30, 24, 61] Generated Node #0,1: 63:[30, 24, 61] Operation: 7+54=61 Exploring Operation: 54-30=24, Resulting Numbers: [7, 24, 24] Generated Node #0,2: 63:[7, 24, 24] Operation: 54-30=24 Exploring Operation: 30-24=6, Resulting Numbers: [7, 54, 6] Generated Node #0,3: 63:[7, 54, 6] Operation: 30-24=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[7, 24, 24], Operations: ['54-30=24'] Exploring Operation: 24/24=1, Resulting Numbers: [7, 1] Generated Node #0,2,0: 63:[7, 1] Operation: 24/24=1 Exploring Operation: 24-7=17, Resulting Numbers: [24, 17] Generated Node #0,2,1: 63:[24, 17] Operation: 24-7=17 Exploring Operation: 24-24=0, Resulting Numbers: [7, 0] Generated Node #0,2,2: 63:[7, 0] Operation: 24-24=0 Exploring Operation: 24-7=17, Resulting Numbers: [24, 17] Generated Node #0,2,3: 63:[24, 17] Operation: 24-7=17 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 63:[7, 1], Operations: ['54-30=24', '24/24=1'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 63:[7, 0], Operations: ['54-30=24', '24-24=0'] Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 63:[24, 17], Operations: ['54-30=24', '24-7=17'] Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,63 unequal: No Solution Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,63 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 63:[24, 17], Operations: ['54-30=24', '24-7=17'] Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,63 unequal: No Solution Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,63 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[7, 54, 6], Operations: ['30-24=6'] Exploring Operation: 7+54=61, Resulting Numbers: [6, 61] Generated Node #0,3,0: 63:[6, 61] Operation: 7+54=61 Exploring Operation: 54/6=9, Resulting Numbers: [7, 9] Generated Node #0,3,1: 63:[7, 9] Operation: 54/6=9 Exploring Operation: 54+6=60, Resulting Numbers: [7, 60] Generated Node #0,3,2: 63:[7, 60] Operation: 54+6=60 Exploring Operation: 7-6=1, Resulting Numbers: [54, 1] Generated Node #0,3,3: 63:[54, 1] Operation: 7-6=1 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 63:[7, 9], Operations: ['30-24=6', '54/6=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,63 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[7, 30, 54, 24], Operations: [] Exploring Operation: 30-24=6, Resulting Numbers: [7, 54, 6] Generated Node #0,3: 63:[7, 54, 6] Operation: 30-24=6 Moving to Node #0,3 Current State: 63:[7, 54, 6], Operations: ['30-24=6'] Exploring Operation: 54/6=9, Resulting Numbers: [7, 9] Generated Node #0,3,1: 63:[7, 9] Operation: 54/6=9 Moving to Node #0,3,1 Current State: 63:[7, 9], Operations: ['30-24=6', '54/6=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 25, 97, 40, 69 ]
93
[ "25+97=122", "69-40=29", "122-29=93" ]
Current State: 93:[25, 97, 40, 69], Operations: [] Exploring Operation: 25+97=122, Resulting Numbers: [40, 69, 122] Generated Node #2: [40, 69, 122] from Operation: 25+97=122 Current State: 93:[40, 69, 122], Operations: ['25+97=122'] Exploring Operation: 69-40=29, Resulting Numbers: [122, 29] Generated Node #3: [122, 29] from Operation: 69-40=29 Current State: 93:[122, 29], Operations: ['25+97=122', '69-40=29'] Exploring Operation: 122-29=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[25, 97, 40, 69], Operations: [] Exploring Operation: 69-40=29, Resulting Numbers: [25, 97, 29] Generated Node #0,0: 93:[25, 97, 29] Operation: 69-40=29 Exploring Operation: 25+69=94, Resulting Numbers: [97, 40, 94] Generated Node #0,1: 93:[97, 40, 94] Operation: 25+69=94 Moving to Node #0,0 Current State: 93:[25, 97, 29], Operations: ['69-40=29'] Exploring Operation: 97-25=72, Resulting Numbers: [29, 72] Generated Node #0,0,0: 93:[29, 72] Operation: 97-25=72 Exploring Operation: 29-25=4, Resulting Numbers: [97, 4] Generated Node #0,0,1: 93:[97, 4] Operation: 29-25=4 Moving to Node #0,1 Current State: 93:[97, 40, 94], Operations: ['25+69=94'] Exploring Operation: 97-94=3, Resulting Numbers: [40, 3] Generated Node #0,1,0: 93:[40, 3] Operation: 97-94=3 Exploring Operation: 97-40=57, Resulting Numbers: [94, 57] Generated Node #0,1,1: 93:[94, 57] Operation: 97-40=57 Moving to Node #0,0,1 Current State: 93:[97, 4], Operations: ['69-40=29', '29-25=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[25, 97, 40, 69], Operations: [] Exploring Operation: 69-40=29, Resulting Numbers: [25, 97, 29] Generated Node #0,0: 93:[25, 97, 29] Operation: 69-40=29 Moving to Node #0,0 Current State: 93:[25, 97, 29], Operations: ['69-40=29'] Exploring Operation: 29-25=4, Resulting Numbers: [97, 4] Generated Node #0,0,1: 93:[97, 4] Operation: 29-25=4 Moving to Node #0,0,1 Current State: 93:[97, 4], Operations: ['69-40=29', '29-25=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 1, 59, 4, 99 ]
84
[ "1+59=60", "60/4=15", "99-15=84" ]
Current State: 84:[1, 59, 4, 99], Operations: [] Exploring Operation: 1+59=60, Resulting Numbers: [4, 99, 60] Generated Node #2: [4, 99, 60] from Operation: 1+59=60 Current State: 84:[4, 99, 60], Operations: ['1+59=60'] Exploring Operation: 60/4=15, Resulting Numbers: [99, 15] Generated Node #3: [99, 15] from Operation: 60/4=15 Current State: 84:[99, 15], Operations: ['1+59=60', '60/4=15'] Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[1, 59, 4, 99], Operations: [] Exploring Operation: 99-4=95, Resulting Numbers: [1, 59, 95] Generated Node #0,0: 84:[1, 59, 95] Operation: 99-4=95 Exploring Operation: 59-1=58, Resulting Numbers: [4, 99, 58] Generated Node #0,1: 84:[4, 99, 58] Operation: 59-1=58 Exploring Operation: 59-4=55, Resulting Numbers: [1, 99, 55] Generated Node #0,2: 84:[1, 99, 55] Operation: 59-4=55 Exploring Operation: 99-59=40, Resulting Numbers: [1, 4, 40] Generated Node #0,3: 84:[1, 4, 40] Operation: 99-59=40 Exploring Operation: 99-1=98, Resulting Numbers: [59, 4, 98] Generated Node #0,4: 84:[59, 4, 98] Operation: 99-1=98 Moving to Node #0,3 Current State: 84:[1, 4, 40], Operations: ['99-59=40'] Exploring Operation: 4/1=4, Resulting Numbers: [40, 4] Generated Node #0,3,0: 84:[40, 4] Operation: 4/1=4 Exploring Operation: 1+40=41, Resulting Numbers: [4, 41] Generated Node #0,3,1: 84:[4, 41] Operation: 1+40=41 Exploring Operation: 4-1=3, Resulting Numbers: [40, 3] Generated Node #0,3,2: 84:[40, 3] Operation: 4-1=3 Exploring Operation: 1*4=4, Resulting Numbers: [40, 4] Generated Node #0,3,3: 84:[40, 4] Operation: 1*4=4 Exploring Operation: 1*40=40, Resulting Numbers: [4, 40] Generated Node #0,3,4: 84:[4, 40] Operation: 1*40=40 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 84:[4, 41], Operations: ['99-59=40', '1+40=41'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,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,0 Current State: 84:[40, 4], Operations: ['99-59=40', '4/1=4'] Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,84 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,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:[40, 3], Operations: ['99-59=40', '4-1=3'] Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,84 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,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:[40, 4], Operations: ['99-59=40', '1*4=4'] Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,84 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,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,4 Current State: 84:[4, 40], Operations: ['99-59=40', '1*40=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,84 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,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:[1, 99, 55], Operations: ['59-4=55'] Exploring Operation: 1*99=99, Resulting Numbers: [55, 99] Generated Node #0,2,0: 84:[55, 99] Operation: 1*99=99 Exploring Operation: 99-1=98, Resulting Numbers: [55, 98] Generated Node #0,2,1: 84:[55, 98] Operation: 99-1=98 Exploring Operation: 55-1=54, Resulting Numbers: [99, 54] Generated Node #0,2,2: 84:[99, 54] Operation: 55-1=54 Exploring Operation: 99-55=44, Resulting Numbers: [1, 44] Generated Node #0,2,3: 84:[1, 44] Operation: 99-55=44 Exploring Operation: 99/1=99, Resulting Numbers: [55, 99] Generated Node #0,2,4: 84:[55, 99] Operation: 99/1=99 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 84:[1, 44], Operations: ['59-4=55', '99-55=44'] Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 1+44=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,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,2,1 Current State: 84:[55, 98], Operations: ['59-4=55', '99-1=98'] Exploring Operation: 55*98=5390, Resulting Numbers: [5390] 5390,84 unequal: No Solution Exploring Operation: 98-55=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 55+98=153, Resulting Numbers: [153] 153,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,2,2 Current State: 84:[99, 54], Operations: ['59-4=55', '55-1=54'] Exploring Operation: 99*54=5346, Resulting Numbers: [5346] 5346,84 unequal: No Solution Exploring Operation: 99+54=153, Resulting Numbers: [153] 153,84 unequal: No Solution Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,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,2,0 Current State: 84:[55, 99], Operations: ['59-4=55', '1*99=99'] Exploring Operation: 55+99=154, Resulting Numbers: [154] 154,84 unequal: No Solution Exploring Operation: 99-55=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 55*99=5445, Resulting Numbers: [5445] 5445,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,2,4 Current State: 84:[55, 99], Operations: ['59-4=55', '99/1=99'] Exploring Operation: 99-55=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 55*99=5445, Resulting Numbers: [5445] 5445,84 unequal: No Solution Exploring Operation: 55+99=154, Resulting Numbers: [154] 154,84 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: 84:[1, 59, 95], Operations: ['99-4=95'] Exploring Operation: 59-1=58, Resulting Numbers: [95, 58] Generated Node #0,0,0: 84:[95, 58] Operation: 59-1=58 Exploring Operation: 95-59=36, Resulting Numbers: [1, 36] Generated Node #0,0,1: 84:[1, 36] Operation: 95-59=36 Exploring Operation: 95-1=94, Resulting Numbers: [59, 94] Generated Node #0,0,2: 84:[59, 94] Operation: 95-1=94 Exploring Operation: 1*59=59, Resulting Numbers: [95, 59] Generated Node #0,0,3: 84:[95, 59] Operation: 1*59=59 Exploring Operation: 59/1=59, Resulting Numbers: [95, 59] Generated Node #0,0,4: 84:[95, 59] Operation: 59/1=59 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[1, 36], Operations: ['99-4=95', '95-59=36'] Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,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:[95, 58], Operations: ['99-4=95', '59-1=58'] Exploring Operation: 95+58=153, Resulting Numbers: [153] 153,84 unequal: No Solution Exploring Operation: 95-58=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 95*58=5510, Resulting Numbers: [5510] 5510,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,2 Current State: 84:[59, 94], Operations: ['99-4=95', '95-1=94'] Exploring Operation: 59*94=5546, Resulting Numbers: [5546] 5546,84 unequal: No Solution Exploring Operation: 94-59=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 59+94=153, Resulting Numbers: [153] 153,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:[95, 59], Operations: ['99-4=95', '1*59=59'] Exploring Operation: 95-59=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 95*59=5605, Resulting Numbers: [5605] 5605,84 unequal: No Solution Exploring Operation: 95+59=154, Resulting Numbers: [154] 154,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,4 Current State: 84:[95, 59], Operations: ['99-4=95', '59/1=59'] Exploring Operation: 95*59=5605, Resulting Numbers: [5605] 5605,84 unequal: No Solution Exploring Operation: 95+59=154, Resulting Numbers: [154] 154,84 unequal: No Solution Exploring Operation: 95-59=36, Resulting Numbers: [36] 36,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:[4, 99, 58], Operations: ['59-1=58'] Exploring Operation: 58-4=54, Resulting Numbers: [99, 54] Generated Node #0,1,0: 84:[99, 54] Operation: 58-4=54 Exploring Operation: 99-58=41, Resulting Numbers: [4, 41] Generated Node #0,1,1: 84:[4, 41] Operation: 99-58=41 Exploring Operation: 4+58=62, Resulting Numbers: [99, 62] Generated Node #0,1,2: 84:[99, 62] Operation: 4+58=62 Exploring Operation: 4+99=103, Resulting Numbers: [58, 103] Generated Node #0,1,3: 84:[58, 103] Operation: 4+99=103 Exploring Operation: 99-4=95, Resulting Numbers: [58, 95] Generated Node #0,1,4: 84:[58, 95] Operation: 99-4=95 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[4, 41], Operations: ['59-1=58', '99-58=41'] Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,84 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[99, 54], Operations: ['59-1=58', '58-4=54'] Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 99*54=5346, Resulting Numbers: [5346] 5346,84 unequal: No Solution Exploring Operation: 99+54=153, Resulting Numbers: [153] 153,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 84:[58, 95], Operations: ['59-1=58', '99-4=95'] Exploring Operation: 95-58=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 58*95=5510, Resulting Numbers: [5510] 5510,84 unequal: No Solution Exploring Operation: 58+95=153, Resulting Numbers: [153] 153,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[99, 62], Operations: ['59-1=58', '4+58=62'] Exploring Operation: 99+62=161, Resulting Numbers: [161] 161,84 unequal: No Solution Exploring Operation: 99*62=6138, Resulting Numbers: [6138] 6138,84 unequal: No Solution Exploring Operation: 99-62=37, Resulting Numbers: [37] 37,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 84:[58, 103], Operations: ['59-1=58', '4+99=103'] Exploring Operation: 58*103=5974, Resulting Numbers: [5974] 5974,84 unequal: No Solution Exploring Operation: 58+103=161, Resulting Numbers: [161] 161,84 unequal: No Solution Exploring Operation: 103-58=45, Resulting Numbers: [45] 45,84 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: 84:[59, 4, 98], Operations: ['99-1=98'] Exploring Operation: 98-4=94, Resulting Numbers: [59, 94] Generated Node #0,4,0: 84:[59, 94] Operation: 98-4=94 Exploring Operation: 4+98=102, Resulting Numbers: [59, 102] Generated Node #0,4,1: 84:[59, 102] Operation: 4+98=102 Exploring Operation: 59+4=63, Resulting Numbers: [98, 63] Generated Node #0,4,2: 84:[98, 63] Operation: 59+4=63 Exploring Operation: 59-4=55, Resulting Numbers: [98, 55] Generated Node #0,4,3: 84:[98, 55] Operation: 59-4=55 Exploring Operation: 98-59=39, Resulting Numbers: [4, 39] Generated Node #0,4,4: 84:[4, 39] Operation: 98-59=39 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 84:[4, 39], Operations: ['99-1=98', '98-59=39'] Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,84 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 84:[59, 94], Operations: ['99-1=98', '98-4=94'] Exploring Operation: 59*94=5546, Resulting Numbers: [5546] 5546,84 unequal: No Solution Exploring Operation: 59+94=153, Resulting Numbers: [153] 153,84 unequal: No Solution Exploring Operation: 94-59=35, Resulting Numbers: [35] 35,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 84:[98, 55], Operations: ['99-1=98', '59-4=55'] Exploring Operation: 98*55=5390, Resulting Numbers: [5390] 5390,84 unequal: No Solution Exploring Operation: 98-55=43, Resulting Numbers: [43] 43,84 unequal: No Solution Exploring Operation: 98+55=153, Resulting Numbers: [153] 153,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 84:[59, 102], Operations: ['99-1=98', '4+98=102'] Exploring Operation: 59*102=6018, Resulting Numbers: [6018] 6018,84 unequal: No Solution Exploring Operation: 59+102=161, Resulting Numbers: [161] 161,84 unequal: No Solution Exploring Operation: 102-59=43, Resulting Numbers: [43] 43,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 84:[98, 63], Operations: ['99-1=98', '59+4=63'] Exploring Operation: 98*63=6174, Resulting Numbers: [6174] 6174,84 unequal: No Solution Exploring Operation: 98+63=161, Resulting Numbers: [161] 161,84 unequal: No Solution Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 64, 81, 20, 98 ]
22
[ "64+98=162", "162/81=2", "20+2=22" ]
Current State: 22:[64, 81, 20, 98], Operations: [] Exploring Operation: 64+98=162, Resulting Numbers: [81, 20, 162] Generated Node #2: [81, 20, 162] from Operation: 64+98=162 Current State: 22:[81, 20, 162], Operations: ['64+98=162'] Exploring Operation: 162/81=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 162/81=2 Current State: 22:[20, 2], Operations: ['64+98=162', '162/81=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[64, 81, 20, 98], Operations: [] Exploring Operation: 98-81=17, Resulting Numbers: [64, 20, 17] Generated Node #0,0: 22:[64, 20, 17] Operation: 98-81=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[64, 20, 17], Operations: ['98-81=17'] Exploring Operation: 64-20=44, Resulting Numbers: [17, 44] Generated Node #0,0,0: 22:[17, 44] Operation: 64-20=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[17, 44], Operations: ['98-81=17', '64-20=44'] Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,22 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
[ 44, 70, 64, 24 ]
66
[ "70-44=26", "64-24=40", "26+40=66" ]
Current State: 66:[44, 70, 64, 24], Operations: [] Exploring Operation: 70-44=26, Resulting Numbers: [64, 24, 26] Generated Node #2: [64, 24, 26] from Operation: 70-44=26 Current State: 66:[64, 24, 26], Operations: ['70-44=26'] Exploring Operation: 64-24=40, Resulting Numbers: [26, 40] Generated Node #3: [26, 40] from Operation: 64-24=40 Current State: 66:[26, 40], Operations: ['70-44=26', '64-24=40'] Exploring Operation: 26+40=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[44, 70, 64, 24], Operations: [] Exploring Operation: 70-44=26, Resulting Numbers: [64, 24, 26] Generated Node #0,0: 66:[64, 24, 26] Operation: 70-44=26 Exploring Operation: 64-44=20, Resulting Numbers: [70, 24, 20] Generated Node #0,1: 66:[70, 24, 20] Operation: 64-44=20 Moving to Node #0,0 Current State: 66:[64, 24, 26], Operations: ['70-44=26'] Exploring Operation: 26-24=2, Resulting Numbers: [64, 2] Generated Node #0,0,0: 66:[64, 2] Operation: 26-24=2 Exploring Operation: 64-26=38, Resulting Numbers: [24, 38] Generated Node #0,0,1: 66:[24, 38] Operation: 64-26=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[64, 2], Operations: ['70-44=26', '26-24=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[44, 70, 64, 24], Operations: [] Exploring Operation: 70-44=26, Resulting Numbers: [64, 24, 26] Generated Node #0,0: 66:[64, 24, 26] Operation: 70-44=26 Moving to Node #0,0 Current State: 66:[64, 24, 26], Operations: ['70-44=26'] Exploring Operation: 26-24=2, Resulting Numbers: [64, 2] Generated Node #0,0,0: 66:[64, 2] Operation: 26-24=2 Moving to Node #0,0,0 Current State: 66:[64, 2], Operations: ['70-44=26', '26-24=2'] Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 14, 5, 41, 34 ]
10
[ "14*5=70", "41-34=7", "70/7=10" ]
Current State: 10:[14, 5, 41, 34], Operations: [] Exploring Operation: 14*5=70, Resulting Numbers: [41, 34, 70] Generated Node #2: [41, 34, 70] from Operation: 14*5=70 Current State: 10:[41, 34, 70], Operations: ['14*5=70'] Exploring Operation: 41-34=7, Resulting Numbers: [70, 7] Generated Node #3: [70, 7] from Operation: 41-34=7 Current State: 10:[70, 7], Operations: ['14*5=70', '41-34=7'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[14, 5, 41, 34], Operations: [] Exploring Operation: 34-14=20, Resulting Numbers: [5, 41, 20] Generated Node #0,0: 10:[5, 41, 20] Operation: 34-14=20 Exploring Operation: 41-34=7, Resulting Numbers: [14, 5, 7] Generated Node #0,1: 10:[14, 5, 7] Operation: 41-34=7 Exploring Operation: 41-14=27, Resulting Numbers: [5, 34, 27] Generated Node #0,2: 10:[5, 34, 27] Operation: 41-14=27 Exploring Operation: 41-5=36, Resulting Numbers: [14, 34, 36] Generated Node #0,3: 10:[14, 34, 36] Operation: 41-5=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[14, 5, 7], Operations: ['41-34=7'] Exploring Operation: 14-5=9, Resulting Numbers: [7, 9] Generated Node #0,1,0: 10:[7, 9] Operation: 14-5=9 Exploring Operation: 14-7=7, Resulting Numbers: [5, 7] Generated Node #0,1,1: 10:[5, 7] Operation: 14-7=7 Exploring Operation: 7-5=2, Resulting Numbers: [14, 2] Generated Node #0,1,2: 10:[14, 2] Operation: 7-5=2 Exploring Operation: 14/7=2, Resulting Numbers: [5, 2] Generated Node #0,1,3: 10:[5, 2] Operation: 14/7=2 Moving to Node #0,1,3 Current State: 10:[5, 2], Operations: ['41-34=7', '14/7=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[14, 5, 41, 34], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [14, 5, 7] Generated Node #0,1: 10:[14, 5, 7] Operation: 41-34=7 Moving to Node #0,1 Current State: 10:[14, 5, 7], Operations: ['41-34=7'] Exploring Operation: 14/7=2, Resulting Numbers: [5, 2] Generated Node #0,1,3: 10:[5, 2] Operation: 14/7=2 Moving to Node #0,1,3 Current State: 10:[5, 2], Operations: ['41-34=7', '14/7=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 47, 18, 49, 56 ]
22
[ "47-18=29", "56-49=7", "29-7=22" ]
Current State: 22:[47, 18, 49, 56], Operations: [] Exploring Operation: 47-18=29, Resulting Numbers: [49, 56, 29] Generated Node #2: [49, 56, 29] from Operation: 47-18=29 Current State: 22:[49, 56, 29], Operations: ['47-18=29'] Exploring Operation: 56-49=7, Resulting Numbers: [29, 7] Generated Node #3: [29, 7] from Operation: 56-49=7 Current State: 22:[29, 7], Operations: ['47-18=29', '56-49=7'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[47, 18, 49, 56], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [18, 49, 9] Generated Node #0,0: 22:[18, 49, 9] Operation: 56-47=9 Moving to Node #0,0 Current State: 22:[18, 49, 9], Operations: ['56-47=9'] Exploring Operation: 49-18=31, Resulting Numbers: [9, 31] Generated Node #0,0,0: 22:[9, 31] Operation: 49-18=31 Moving to Node #0,0,0 Current State: 22:[9, 31], Operations: ['56-47=9', '49-18=31'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[47, 18, 49, 56], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [18, 49, 9] Generated Node #0,0: 22:[18, 49, 9] Operation: 56-47=9 Moving to Node #0,0 Current State: 22:[18, 49, 9], Operations: ['56-47=9'] Exploring Operation: 49-18=31, Resulting Numbers: [9, 31] Generated Node #0,0,0: 22:[9, 31] Operation: 49-18=31 Moving to Node #0,0,0 Current State: 22:[9, 31], Operations: ['56-47=9', '49-18=31'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 3, 26, 36, 37 ]
51
[ "36/3=12", "26+37=63", "63-12=51" ]
Current State: 51:[3, 26, 36, 37], Operations: [] Exploring Operation: 36/3=12, Resulting Numbers: [26, 37, 12] Generated Node #2: [26, 37, 12] from Operation: 36/3=12 Current State: 51:[26, 37, 12], Operations: ['36/3=12'] Exploring Operation: 26+37=63, Resulting Numbers: [12, 63] Generated Node #3: [12, 63] from Operation: 26+37=63 Current State: 51:[12, 63], Operations: ['36/3=12', '26+37=63'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[3, 26, 36, 37], Operations: [] Exploring Operation: 26+36=62, Resulting Numbers: [3, 37, 62] Generated Node #0,0: 51:[3, 37, 62] Operation: 26+36=62 Exploring Operation: 37-36=1, Resulting Numbers: [3, 26, 1] Generated Node #0,1: 51:[3, 26, 1] Operation: 37-36=1 Exploring Operation: 37-26=11, Resulting Numbers: [3, 36, 11] Generated Node #0,2: 51:[3, 36, 11] Operation: 37-26=11 Exploring Operation: 26+37=63, Resulting Numbers: [3, 36, 63] Generated Node #0,3: 51:[3, 36, 63] Operation: 26+37=63 Exploring Operation: 36-26=10, Resulting Numbers: [3, 37, 10] Generated Node #0,4: 51:[3, 37, 10] Operation: 36-26=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[3, 26, 1], Operations: ['37-36=1'] Exploring Operation: 3*1=3, Resulting Numbers: [26, 3] Generated Node #0,1,0: 51:[26, 3] Operation: 3*1=3 Exploring Operation: 3/1=3, Resulting Numbers: [26, 3] Generated Node #0,1,1: 51:[26, 3] Operation: 3/1=3 Exploring Operation: 26-1=25, Resulting Numbers: [3, 25] Generated Node #0,1,2: 51:[3, 25] Operation: 26-1=25 Exploring Operation: 26*1=26, Resulting Numbers: [3, 26] Generated Node #0,1,3: 51:[3, 26] Operation: 26*1=26 Exploring Operation: 26-3=23, Resulting Numbers: [1, 23] Generated Node #0,1,4: 51:[1, 23] Operation: 26-3=23 Moving to Node #0,1,2 Current State: 51:[3, 25], Operations: ['37-36=1', '26-1=25'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,51 unequal: No Solution Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,51 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,51 unequal: No Solution Moving to Node #0,1,4 Current State: 51:[1, 23], Operations: ['37-36=1', '26-3=23'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[26, 3], Operations: ['37-36=1', '3*1=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,51 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[26, 3], Operations: ['37-36=1', '3/1=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,51 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[3, 26], Operations: ['37-36=1', '26*1=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,51 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[3, 36, 11], Operations: ['37-26=11'] Exploring Operation: 36/3=12, Resulting Numbers: [11, 12] Generated Node #0,2,0: 51:[11, 12] Operation: 36/3=12 Exploring Operation: 3+11=14, Resulting Numbers: [36, 14] Generated Node #0,2,1: 51:[36, 14] Operation: 3+11=14 Exploring Operation: 3+36=39, Resulting Numbers: [11, 39] Generated Node #0,2,2: 51:[11, 39] Operation: 3+36=39 Exploring Operation: 36+11=47, Resulting Numbers: [3, 47] Generated Node #0,2,3: 51:[3, 47] Operation: 36+11=47 Exploring Operation: 36-11=25, Resulting Numbers: [3, 25] Generated Node #0,2,4: 51:[3, 25] Operation: 36-11=25 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 51:[3, 47], Operations: ['37-26=11', '36+11=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,51 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 51:[3, 25], Operations: ['37-26=11', '36-11=25'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,51 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[11, 12], Operations: ['37-26=11', '36/3=12'] Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,51 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[36, 14], Operations: ['37-26=11', '3+11=14'] Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,51 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[11, 39], Operations: ['37-26=11', '3+36=39'] Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 11*39=429, Resulting Numbers: [429] 429,51 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,51 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: 51:[3, 37, 10], Operations: ['36-26=10'] Exploring Operation: 37-10=27, Resulting Numbers: [3, 27] Generated Node #0,4,0: 51:[3, 27] Operation: 37-10=27 Exploring Operation: 3+37=40, Resulting Numbers: [10, 40] Generated Node #0,4,1: 51:[10, 40] Operation: 3+37=40 Exploring Operation: 37+10=47, Resulting Numbers: [3, 47] Generated Node #0,4,2: 51:[3, 47] Operation: 37+10=47 Exploring Operation: 10-3=7, Resulting Numbers: [37, 7] Generated Node #0,4,3: 51:[37, 7] Operation: 10-3=7 Exploring Operation: 3+10=13, Resulting Numbers: [37, 13] Generated Node #0,4,4: 51:[37, 13] Operation: 3+10=13 Moving to Node #0,4,2 Current State: 51:[3, 47], Operations: ['36-26=10', '37+10=47'] Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,51 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,51 unequal: No Solution Moving to Node #0,4,0 Current State: 51:[3, 27], Operations: ['36-26=10', '37-10=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,51 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,51 unequal: No Solution Moving to Node #0,4,1 Current State: 51:[10, 40], Operations: ['36-26=10', '3+37=40'] Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,51 unequal: No Solution Moving to Node #0,4,3 Current State: 51:[37, 7], Operations: ['36-26=10', '10-3=7'] Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,51 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,51 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,51 unequal: No Solution Moving to Node #0,4,4 Current State: 51:[37, 13], Operations: ['36-26=10', '3+10=13'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 37*13=481, Resulting Numbers: [481] 481,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[3, 37, 62], Operations: ['26+36=62'] Exploring Operation: 3+37=40, Resulting Numbers: [62, 40] Generated Node #0,0,0: 51:[62, 40] Operation: 3+37=40 Exploring Operation: 3+62=65, Resulting Numbers: [37, 65] Generated Node #0,0,1: 51:[37, 65] Operation: 3+62=65 Exploring Operation: 62-3=59, Resulting Numbers: [37, 59] Generated Node #0,0,2: 51:[37, 59] Operation: 62-3=59 Exploring Operation: 37-3=34, Resulting Numbers: [62, 34] Generated Node #0,0,3: 51:[62, 34] Operation: 37-3=34 Exploring Operation: 62-37=25, Resulting Numbers: [3, 25] Generated Node #0,0,4: 51:[3, 25] Operation: 62-37=25 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 51:[3, 25], Operations: ['26+36=62', '62-37=25'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,51 unequal: No Solution Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,51 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[62, 40], Operations: ['26+36=62', '3+37=40'] Exploring Operation: 62*40=2480, Resulting Numbers: [2480] 2480,51 unequal: No Solution Exploring Operation: 62+40=102, Resulting Numbers: [102] 102,51 unequal: No Solution Exploring Operation: 62-40=22, Resulting Numbers: [22] 22,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[37, 59], Operations: ['26+36=62', '62-3=59'] Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,51 unequal: No Solution Exploring Operation: 37+59=96, Resulting Numbers: [96] 96,51 unequal: No Solution Exploring Operation: 37*59=2183, Resulting Numbers: [2183] 2183,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[37, 65], Operations: ['26+36=62', '3+62=65'] Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,51 unequal: No Solution Exploring Operation: 37+65=102, Resulting Numbers: [102] 102,51 unequal: No Solution Exploring Operation: 37*65=2405, Resulting Numbers: [2405] 2405,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 51:[62, 34], Operations: ['26+36=62', '37-3=34'] Exploring Operation: 62-34=28, Resulting Numbers: [28] 28,51 unequal: No Solution Exploring Operation: 62*34=2108, Resulting Numbers: [2108] 2108,51 unequal: No Solution Exploring Operation: 62+34=96, Resulting Numbers: [96] 96,51 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: 51:[3, 36, 63], Operations: ['26+37=63'] Exploring Operation: 63/3=21, Resulting Numbers: [36, 21] Generated Node #0,3,0: 51:[36, 21] Operation: 63/3=21 Exploring Operation: 3+36=39, Resulting Numbers: [63, 39] Generated Node #0,3,1: 51:[63, 39] Operation: 3+36=39 Exploring Operation: 63-3=60, Resulting Numbers: [36, 60] Generated Node #0,3,2: 51:[36, 60] Operation: 63-3=60 Exploring Operation: 63-36=27, Resulting Numbers: [3, 27] Generated Node #0,3,3: 51:[3, 27] Operation: 63-36=27 Exploring Operation: 36/3=12, Resulting Numbers: [63, 12] Generated Node #0,3,4: 51:[63, 12] Operation: 36/3=12 Moving to Node #0,3,3 Current State: 51:[3, 27], Operations: ['26+37=63', '63-36=27'] Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,51 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,51 unequal: No Solution Moving to Node #0,3,4 Current State: 51:[63, 12], Operations: ['26+37=63', '36/3=12'] Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,51 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[3, 26, 36, 37], Operations: [] Exploring Operation: 26+37=63, Resulting Numbers: [3, 36, 63] Generated Node #0,3: 51:[3, 36, 63] Operation: 26+37=63 Moving to Node #0,3 Current State: 51:[3, 36, 63], Operations: ['26+37=63'] Exploring Operation: 36/3=12, Resulting Numbers: [63, 12] Generated Node #0,3,4: 51:[63, 12] Operation: 36/3=12 Moving to Node #0,3,4 Current State: 51:[63, 12], Operations: ['26+37=63', '36/3=12'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.909722
hs_5
sum_heuristic
[ 83, 25, 13, 12 ]
92
[ "83*13=1079", "25+1079=1104", "1104/12=92" ]
Current State: 92:[83, 25, 13, 12], Operations: [] Exploring Operation: 83*13=1079, Resulting Numbers: [25, 12, 1079] Generated Node #2: [25, 12, 1079] from Operation: 83*13=1079 Current State: 92:[25, 12, 1079], Operations: ['83*13=1079'] Exploring Operation: 25+1079=1104, Resulting Numbers: [12, 1104] Generated Node #3: [12, 1104] from Operation: 25+1079=1104 Current State: 92:[12, 1104], Operations: ['83*13=1079', '25+1079=1104'] Exploring Operation: 1104/12=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[83, 25, 13, 12], Operations: [] Exploring Operation: 13-12=1, Resulting Numbers: [83, 25, 1] Generated Node #0,0: 92:[83, 25, 1] Operation: 13-12=1 Moving to Node #0,0 Current State: 92:[83, 25, 1], Operations: ['13-12=1'] Exploring Operation: 83+1=84, Resulting Numbers: [25, 84] Generated Node #0,0,0: 92:[25, 84] Operation: 83+1=84 Moving to Node #0,0,0 Current State: 92:[25, 84], Operations: ['13-12=1', '83+1=84'] Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,92 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 88, 68, 33, 17 ]
30
[ "88-68=20", "33+17=50", "50-20=30" ]
Current State: 30:[88, 68, 33, 17], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [33, 17, 20] Generated Node #2: [33, 17, 20] from Operation: 88-68=20 Current State: 30:[33, 17, 20], Operations: ['88-68=20'] Exploring Operation: 33+17=50, Resulting Numbers: [20, 50] Generated Node #3: [20, 50] from Operation: 33+17=50 Current State: 30:[20, 50], Operations: ['88-68=20', '33+17=50'] Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[88, 68, 33, 17], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [88, 33, 4] Generated Node #0,0: 30:[88, 33, 4] Operation: 68/17=4 Exploring Operation: 88-68=20, Resulting Numbers: [33, 17, 20] Generated Node #0,1: 30:[33, 17, 20] Operation: 88-68=20 Exploring Operation: 68-33=35, Resulting Numbers: [88, 17, 35] Generated Node #0,2: 30:[88, 17, 35] Operation: 68-33=35 Exploring Operation: 88-33=55, Resulting Numbers: [68, 17, 55] Generated Node #0,3: 30:[68, 17, 55] Operation: 88-33=55 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[33, 17, 20], Operations: ['88-68=20'] Exploring Operation: 20-17=3, Resulting Numbers: [33, 3] Generated Node #0,1,0: 30:[33, 3] Operation: 20-17=3 Exploring Operation: 33-17=16, Resulting Numbers: [20, 16] Generated Node #0,1,1: 30:[20, 16] Operation: 33-17=16 Exploring Operation: 17+20=37, Resulting Numbers: [33, 37] Generated Node #0,1,2: 30:[33, 37] Operation: 17+20=37 Exploring Operation: 33-20=13, Resulting Numbers: [17, 13] Generated Node #0,1,3: 30:[17, 13] Operation: 33-20=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[33, 3], Operations: ['88-68=20', '20-17=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,30 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[88, 68, 33, 17], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [33, 17, 20] Generated Node #0,1: 30:[33, 17, 20] Operation: 88-68=20 Moving to Node #0,1 Current State: 30:[33, 17, 20], Operations: ['88-68=20'] Exploring Operation: 20-17=3, Resulting Numbers: [33, 3] Generated Node #0,1,0: 30:[33, 3] Operation: 20-17=3 Moving to Node #0,1,0 Current State: 30:[33, 3], Operations: ['88-68=20', '20-17=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 9, 77, 21, 15 ]
73
[ "21+15=36", "36/9=4", "77-4=73" ]
Current State: 73:[9, 77, 21, 15], Operations: [] Exploring Operation: 21+15=36, Resulting Numbers: [9, 77, 36] Generated Node #2: [9, 77, 36] from Operation: 21+15=36 Current State: 73:[9, 77, 36], Operations: ['21+15=36'] Exploring Operation: 36/9=4, Resulting Numbers: [77, 4] Generated Node #3: [77, 4] from Operation: 36/9=4 Current State: 73:[77, 4], Operations: ['21+15=36', '36/9=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[9, 77, 21, 15], Operations: [] Exploring Operation: 9+21=30, Resulting Numbers: [77, 15, 30] Generated Node #0,0: 73:[77, 15, 30] Operation: 9+21=30 Moving to Node #0,0 Current State: 73:[77, 15, 30], Operations: ['9+21=30'] Exploring Operation: 15+30=45, Resulting Numbers: [77, 45] Generated Node #0,0,0: 73:[77, 45] Operation: 15+30=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[77, 45], Operations: ['9+21=30', '15+30=45'] Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,73 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
[ 64, 25, 83, 27 ]
38
[ "83-64=19", "27-25=2", "19*2=38" ]
Current State: 38:[64, 25, 83, 27], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [25, 27, 19] Generated Node #2: [25, 27, 19] from Operation: 83-64=19 Current State: 38:[25, 27, 19], Operations: ['83-64=19'] Exploring Operation: 27-25=2, Resulting Numbers: [19, 2] Generated Node #3: [19, 2] from Operation: 27-25=2 Current State: 38:[19, 2], Operations: ['83-64=19', '27-25=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[64, 25, 83, 27], Operations: [] Exploring Operation: 64-27=37, Resulting Numbers: [25, 83, 37] Generated Node #0,0: 38:[25, 83, 37] Operation: 64-27=37 Exploring Operation: 83-64=19, Resulting Numbers: [25, 27, 19] Generated Node #0,1: 38:[25, 27, 19] Operation: 83-64=19 Exploring Operation: 83-27=56, Resulting Numbers: [64, 25, 56] Generated Node #0,2: 38:[64, 25, 56] Operation: 83-27=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[25, 27, 19], Operations: ['83-64=19'] Exploring Operation: 27-19=8, Resulting Numbers: [25, 8] Generated Node #0,1,0: 38:[25, 8] Operation: 27-19=8 Exploring Operation: 25-19=6, Resulting Numbers: [27, 6] Generated Node #0,1,1: 38:[27, 6] Operation: 25-19=6 Exploring Operation: 27-25=2, Resulting Numbers: [19, 2] Generated Node #0,1,2: 38:[19, 2] Operation: 27-25=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 38:[19, 2], Operations: ['83-64=19', '27-25=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[64, 25, 83, 27], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [25, 27, 19] Generated Node #0,1: 38:[25, 27, 19] Operation: 83-64=19 Moving to Node #0,1 Current State: 38:[25, 27, 19], Operations: ['83-64=19'] Exploring Operation: 27-25=2, Resulting Numbers: [19, 2] Generated Node #0,1,2: 38:[19, 2] Operation: 27-25=2 Moving to Node #0,1,2 Current State: 38:[19, 2], Operations: ['83-64=19', '27-25=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 69, 11, 31, 99 ]
72
[ "69-11=58", "31+99=130", "130-58=72" ]
Current State: 72:[69, 11, 31, 99], Operations: [] Exploring Operation: 69-11=58, Resulting Numbers: [31, 99, 58] Generated Node #2: [31, 99, 58] from Operation: 69-11=58 Current State: 72:[31, 99, 58], Operations: ['69-11=58'] Exploring Operation: 31+99=130, Resulting Numbers: [58, 130] Generated Node #3: [58, 130] from Operation: 31+99=130 Current State: 72:[58, 130], Operations: ['69-11=58', '31+99=130'] Exploring Operation: 130-58=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[69, 11, 31, 99], Operations: [] Exploring Operation: 99-31=68, Resulting Numbers: [69, 11, 68] Generated Node #0,0: 72:[69, 11, 68] Operation: 99-31=68 Exploring Operation: 69-31=38, Resulting Numbers: [11, 99, 38] Generated Node #0,1: 72:[11, 99, 38] Operation: 69-31=38 Exploring Operation: 99-11=88, Resulting Numbers: [69, 31, 88] Generated Node #0,2: 72:[69, 31, 88] Operation: 99-11=88 Exploring Operation: 99-69=30, Resulting Numbers: [11, 31, 30] Generated Node #0,3: 72:[11, 31, 30] Operation: 99-69=30 Exploring Operation: 99/11=9, Resulting Numbers: [69, 31, 9] Generated Node #0,4: 72:[69, 31, 9] Operation: 99/11=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[69, 11, 68], Operations: ['99-31=68'] Exploring Operation: 69-68=1, Resulting Numbers: [11, 1] Generated Node #0,0,0: 72:[11, 1] Operation: 69-68=1 Exploring Operation: 69+11=80, Resulting Numbers: [68, 80] Generated Node #0,0,1: 72:[68, 80] Operation: 69+11=80 Exploring Operation: 68-11=57, Resulting Numbers: [69, 57] Generated Node #0,0,2: 72:[69, 57] Operation: 68-11=57 Exploring Operation: 69-11=58, Resulting Numbers: [68, 58] Generated Node #0,0,3: 72:[68, 58] Operation: 69-11=58 Exploring Operation: 11+68=79, Resulting Numbers: [69, 79] Generated Node #0,0,4: 72:[69, 79] Operation: 11+68=79 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[11, 1], Operations: ['99-31=68', '69-68=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,72 unequal: No Solution No 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: 72:[69, 79], Operations: ['99-31=68', '11+68=79'] Exploring Operation: 69+79=148, Resulting Numbers: [148] 148,72 unequal: No Solution Exploring Operation: 79-69=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 69*79=5451, Resulting Numbers: [5451] 5451,72 unequal: No Solution No 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: 72:[68, 80], Operations: ['99-31=68', '69+11=80'] Exploring Operation: 68*80=5440, Resulting Numbers: [5440] 5440,72 unequal: No Solution Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 68+80=148, Resulting Numbers: [148] 148,72 unequal: No Solution No 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: 72:[69, 57], Operations: ['99-31=68', '68-11=57'] Exploring Operation: 69-57=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 69+57=126, Resulting Numbers: [126] 126,72 unequal: No Solution Exploring Operation: 69*57=3933, Resulting Numbers: [3933] 3933,72 unequal: No Solution No 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: 72:[68, 58], Operations: ['99-31=68', '69-11=58'] Exploring Operation: 68+58=126, Resulting Numbers: [126] 126,72 unequal: No Solution Exploring Operation: 68*58=3944, Resulting Numbers: [3944] 3944,72 unequal: No Solution Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,72 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: 72:[69, 31, 9], Operations: ['99/11=9'] Exploring Operation: 31+9=40, Resulting Numbers: [69, 40] Generated Node #0,4,0: 72:[69, 40] Operation: 31+9=40 Exploring Operation: 69-31=38, Resulting Numbers: [9, 38] Generated Node #0,4,1: 72:[9, 38] Operation: 69-31=38 Exploring Operation: 31-9=22, Resulting Numbers: [69, 22] Generated Node #0,4,2: 72:[69, 22] Operation: 31-9=22 Exploring Operation: 69-9=60, Resulting Numbers: [31, 60] Generated Node #0,4,3: 72:[31, 60] Operation: 69-9=60 Exploring Operation: 69+9=78, Resulting Numbers: [31, 78] Generated Node #0,4,4: 72:[31, 78] Operation: 69+9=78 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 72:[9, 38], Operations: ['99/11=9', '69-31=38'] Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,72 unequal: No Solution No 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: 72:[69, 22], Operations: ['99/11=9', '31-9=22'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,72 unequal: No Solution Exploring Operation: 69*22=1518, Resulting Numbers: [1518] 1518,72 unequal: No Solution No 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: 72:[69, 40], Operations: ['99/11=9', '31+9=40'] Exploring Operation: 69*40=2760, Resulting Numbers: [2760] 2760,72 unequal: No Solution Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 69+40=109, Resulting Numbers: [109] 109,72 unequal: No Solution No 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: 72:[31, 78], Operations: ['99/11=9', '69+9=78'] Exploring Operation: 78-31=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 31+78=109, Resulting Numbers: [109] 109,72 unequal: No Solution Exploring Operation: 31*78=2418, Resulting Numbers: [2418] 2418,72 unequal: No Solution No 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: 72:[31, 60], Operations: ['99/11=9', '69-9=60'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 31+60=91, Resulting Numbers: [91] 91,72 unequal: No Solution Exploring Operation: 31*60=1860, Resulting Numbers: [1860] 1860,72 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: 72:[11, 31, 30], Operations: ['99-69=30'] Exploring Operation: 31-11=20, Resulting Numbers: [30, 20] Generated Node #0,3,0: 72:[30, 20] Operation: 31-11=20 Exploring Operation: 31-30=1, Resulting Numbers: [11, 1] Generated Node #0,3,1: 72:[11, 1] Operation: 31-30=1 Exploring Operation: 11+30=41, Resulting Numbers: [31, 41] Generated Node #0,3,2: 72:[31, 41] Operation: 11+30=41 Exploring Operation: 30-11=19, Resulting Numbers: [31, 19] Generated Node #0,3,3: 72:[31, 19] Operation: 30-11=19 Exploring Operation: 11+31=42, Resulting Numbers: [30, 42] Generated Node #0,3,4: 72:[30, 42] Operation: 11+31=42 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 72:[11, 1], Operations: ['99-69=30', '31-30=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,72 unequal: No Solution No 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: 72:[31, 19], Operations: ['99-69=30', '30-11=19'] Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,72 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,72 unequal: No Solution No 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: 72:[30, 20], Operations: ['99-69=30', '31-11=20'] Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,72 unequal: No Solution No 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: 72:[31, 41], Operations: ['99-69=30', '11+30=41'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 31*41=1271, Resulting Numbers: [1271] 1271,72 unequal: No Solution Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[69, 11, 31, 99], Operations: [] Exploring Operation: 99-69=30, Resulting Numbers: [11, 31, 30] Generated Node #0,3: 72:[11, 31, 30] Operation: 99-69=30 Moving to Node #0,3 Current State: 72:[11, 31, 30], Operations: ['99-69=30'] Exploring Operation: 11+30=41, Resulting Numbers: [31, 41] Generated Node #0,3,2: 72:[31, 41] Operation: 11+30=41 Moving to Node #0,3,2 Current State: 72:[31, 41], Operations: ['99-69=30', '11+30=41'] Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.940972
hs_5
mult_heuristic
[ 54, 96, 7, 20 ]
94
[ "7+20=27", "54/27=2", "96-2=94" ]
Current State: 94:[54, 96, 7, 20], Operations: [] Exploring Operation: 7+20=27, Resulting Numbers: [54, 96, 27] Generated Node #2: [54, 96, 27] from Operation: 7+20=27 Current State: 94:[54, 96, 27], Operations: ['7+20=27'] Exploring Operation: 54/27=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 54/27=2 Current State: 94:[96, 2], Operations: ['7+20=27', '54/27=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[54, 96, 7, 20], Operations: [] Exploring Operation: 54-7=47, Resulting Numbers: [96, 20, 47] Generated Node #0,0: 94:[96, 20, 47] Operation: 54-7=47 Exploring Operation: 54-20=34, Resulting Numbers: [96, 7, 34] Generated Node #0,1: 94:[96, 7, 34] Operation: 54-20=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[96, 20, 47], Operations: ['54-7=47'] Exploring Operation: 96-20=76, Resulting Numbers: [47, 76] Generated Node #0,0,0: 94:[47, 76] Operation: 96-20=76 Exploring Operation: 96-47=49, Resulting Numbers: [20, 49] Generated Node #0,0,1: 94:[20, 49] Operation: 96-47=49 Moving to Node #0,0,0 Current State: 94:[47, 76], Operations: ['54-7=47', '96-20=76'] Exploring Operation: 76-47=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 47+76=123, Resulting Numbers: [123] 123,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[20, 49], Operations: ['54-7=47', '96-47=49'] Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,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,1 Current State: 94:[96, 7, 34], Operations: ['54-20=34'] Exploring Operation: 96-7=89, Resulting Numbers: [34, 89] Generated Node #0,1,0: 94:[34, 89] Operation: 96-7=89 Exploring Operation: 7+34=41, Resulting Numbers: [96, 41] Generated Node #0,1,1: 94:[96, 41] Operation: 7+34=41 Moving to Node #0,1,1 Current State: 94:[96, 41], Operations: ['54-20=34', '7+34=41'] Exploring Operation: 96+41=137, Resulting Numbers: [137] 137,94 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[34, 89], Operations: ['54-20=34', '96-7=89'] Exploring Operation: 89-34=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 34+89=123, Resulting Numbers: [123] 123,94 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
[ 68, 4, 29, 70 ]
54
[ "70-68=2", "29*2=58", "58-4=54" ]
Current State: 54:[68, 4, 29, 70], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [4, 29, 2] Generated Node #2: [4, 29, 2] from Operation: 70-68=2 Current State: 54:[4, 29, 2], Operations: ['70-68=2'] Exploring Operation: 29*2=58, Resulting Numbers: [4, 58] Generated Node #3: [4, 58] from Operation: 29*2=58 Current State: 54:[4, 58], Operations: ['70-68=2', '29*2=58'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[68, 4, 29, 70], Operations: [] Exploring Operation: 68/4=17, Resulting Numbers: [29, 70, 17] Generated Node #0,0: 54:[29, 70, 17] Operation: 68/4=17 Exploring Operation: 68-4=64, Resulting Numbers: [29, 70, 64] Generated Node #0,1: 54:[29, 70, 64] Operation: 68-4=64 Exploring Operation: 70-68=2, Resulting Numbers: [4, 29, 2] Generated Node #0,2: 54:[4, 29, 2] Operation: 70-68=2 Exploring Operation: 70-4=66, Resulting Numbers: [68, 29, 66] Generated Node #0,3: 54:[68, 29, 66] Operation: 70-4=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[4, 29, 2], Operations: ['70-68=2'] Exploring Operation: 4-2=2, Resulting Numbers: [29, 2] Generated Node #0,2,0: 54:[29, 2] Operation: 4-2=2 Exploring Operation: 29-2=27, Resulting Numbers: [4, 27] Generated Node #0,2,1: 54:[4, 27] Operation: 29-2=27 Exploring Operation: 29-4=25, Resulting Numbers: [2, 25] Generated Node #0,2,2: 54:[2, 25] Operation: 29-4=25 Exploring Operation: 4+2=6, Resulting Numbers: [29, 6] Generated Node #0,2,3: 54:[29, 6] Operation: 4+2=6 Moving to Node #0,2,1 Current State: 54:[4, 27], Operations: ['70-68=2', '29-2=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[2, 25], Operations: ['70-68=2', '29-4=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,54 unequal: No Solution Moving to Node #0,2,0 Current State: 54:[29, 2], Operations: ['70-68=2', '4-2=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,54 unequal: No Solution Moving to Node #0,2,3 Current State: 54:[29, 6], Operations: ['70-68=2', '4+2=6'] Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,54 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[29, 70, 17], Operations: ['68/4=17'] Exploring Operation: 70-17=53, Resulting Numbers: [29, 53] Generated Node #0,0,0: 54:[29, 53] Operation: 70-17=53 Exploring Operation: 70-29=41, Resulting Numbers: [17, 41] Generated Node #0,0,1: 54:[17, 41] Operation: 70-29=41 Exploring Operation: 29-17=12, Resulting Numbers: [70, 12] Generated Node #0,0,2: 54:[70, 12] Operation: 29-17=12 Exploring Operation: 29+17=46, Resulting Numbers: [70, 46] Generated Node #0,0,3: 54:[70, 46] Operation: 29+17=46 Moving to Node #0,0,0 Current State: 54:[29, 53], Operations: ['68/4=17', '70-17=53'] Exploring Operation: 29*53=1537, Resulting Numbers: [1537] 1537,54 unequal: No Solution Exploring Operation: 29+53=82, Resulting Numbers: [82] 82,54 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[17, 41], Operations: ['68/4=17', '70-29=41'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,54 unequal: No Solution Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[70, 12], Operations: ['68/4=17', '29-17=12'] Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 70+12=82, Resulting Numbers: [82] 82,54 unequal: No Solution Exploring Operation: 70*12=840, Resulting Numbers: [840] 840,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[70, 46], Operations: ['68/4=17', '29+17=46'] Exploring Operation: 70*46=3220, Resulting Numbers: [3220] 3220,54 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 70+46=116, Resulting Numbers: [116] 116,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[29, 70, 64], Operations: ['68-4=64'] Exploring Operation: 29+70=99, Resulting Numbers: [64, 99] Generated Node #0,1,0: 54:[64, 99] Operation: 29+70=99 Exploring Operation: 64-29=35, Resulting Numbers: [70, 35] Generated Node #0,1,1: 54:[70, 35] Operation: 64-29=35 Exploring Operation: 70-64=6, Resulting Numbers: [29, 6] Generated Node #0,1,2: 54:[29, 6] Operation: 70-64=6 Exploring Operation: 70-29=41, Resulting Numbers: [64, 41] Generated Node #0,1,3: 54:[64, 41] Operation: 70-29=41 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 54:[29, 6], Operations: ['68-4=64', '70-64=6'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 54:[64, 41], Operations: ['68-4=64', '70-29=41'] Exploring Operation: 64+41=105, Resulting Numbers: [105] 105,54 unequal: No Solution Exploring Operation: 64*41=2624, Resulting Numbers: [2624] 2624,54 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 54:[70, 35], Operations: ['68-4=64', '64-29=35'] Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 70+35=105, Resulting Numbers: [105] 105,54 unequal: No Solution Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 70*35=2450, Resulting Numbers: [2450] 2450,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 54:[64, 99], Operations: ['68-4=64', '29+70=99'] Exploring Operation: 64*99=6336, Resulting Numbers: [6336] 6336,54 unequal: No Solution Exploring Operation: 99-64=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 64+99=163, Resulting Numbers: [163] 163,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[68, 29, 66], Operations: ['70-4=66'] Exploring Operation: 68+29=97, Resulting Numbers: [66, 97] Generated Node #0,3,0: 54:[66, 97] Operation: 68+29=97 Exploring Operation: 68-66=2, Resulting Numbers: [29, 2] Generated Node #0,3,1: 54:[29, 2] Operation: 68-66=2 Exploring Operation: 66-29=37, Resulting Numbers: [68, 37] Generated Node #0,3,2: 54:[68, 37] Operation: 66-29=37 Exploring Operation: 68-29=39, Resulting Numbers: [66, 39] Generated Node #0,3,3: 54:[66, 39] Operation: 68-29=39 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 54:[29, 2], Operations: ['70-4=66', '68-66=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,54 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 54:[68, 37], Operations: ['70-4=66', '66-29=37'] Exploring Operation: 68+37=105, Resulting Numbers: [105] 105,54 unequal: No Solution Exploring Operation: 68*37=2516, Resulting Numbers: [2516] 2516,54 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 54:[66, 39], Operations: ['70-4=66', '68-29=39'] Exploring Operation: 66*39=2574, Resulting Numbers: [2574] 2574,54 unequal: No Solution Exploring Operation: 66+39=105, Resulting Numbers: [105] 105,54 unequal: No Solution Exploring Operation: 66-39=27, Resulting Numbers: [27] 27,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 54:[66, 97], Operations: ['70-4=66', '68+29=97'] Exploring Operation: 66+97=163, Resulting Numbers: [163] 163,54 unequal: No Solution Exploring Operation: 66*97=6402, Resulting Numbers: [6402] 6402,54 unequal: No Solution Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 15, 2, 49, 10 ]
27
[ "15+49=64", "64-10=54", "54/2=27" ]
Current State: 27:[15, 2, 49, 10], Operations: [] Exploring Operation: 15+49=64, Resulting Numbers: [2, 10, 64] Generated Node #2: [2, 10, 64] from Operation: 15+49=64 Current State: 27:[2, 10, 64], Operations: ['15+49=64'] Exploring Operation: 64-10=54, Resulting Numbers: [2, 54] Generated Node #3: [2, 54] from Operation: 64-10=54 Current State: 27:[2, 54], Operations: ['15+49=64', '64-10=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[15, 2, 49, 10], Operations: [] Exploring Operation: 49-10=39, Resulting Numbers: [15, 2, 39] Generated Node #0,0: 27:[15, 2, 39] Operation: 49-10=39 Exploring Operation: 15-10=5, Resulting Numbers: [2, 49, 5] Generated Node #0,1: 27:[2, 49, 5] Operation: 15-10=5 Exploring Operation: 15+10=25, Resulting Numbers: [2, 49, 25] Generated Node #0,2: 27:[2, 49, 25] Operation: 15+10=25 Exploring Operation: 15*2=30, Resulting Numbers: [49, 10, 30] Generated Node #0,3: 27:[49, 10, 30] Operation: 15*2=30 Exploring Operation: 49-15=34, Resulting Numbers: [2, 10, 34] Generated Node #0,4: 27:[2, 10, 34] Operation: 49-15=34 Moving to Node #0,4 Current State: 27:[2, 10, 34], Operations: ['49-15=34'] Exploring Operation: 10/2=5, Resulting Numbers: [34, 5] Generated Node #0,4,0: 27:[34, 5] Operation: 10/2=5 Exploring Operation: 34-2=32, Resulting Numbers: [10, 32] Generated Node #0,4,1: 27:[10, 32] Operation: 34-2=32 Exploring Operation: 10-2=8, Resulting Numbers: [34, 8] Generated Node #0,4,2: 27:[34, 8] Operation: 10-2=8 Exploring Operation: 34/2=17, Resulting Numbers: [10, 17] Generated Node #0,4,3: 27:[10, 17] Operation: 34/2=17 Exploring Operation: 34-10=24, Resulting Numbers: [2, 24] Generated Node #0,4,4: 27:[2, 24] Operation: 34-10=24 Moving to Node #0,0 Current State: 27:[15, 2, 39], Operations: ['49-10=39'] Exploring Operation: 39-2=37, Resulting Numbers: [15, 37] Generated Node #0,0,0: 27:[15, 37] Operation: 39-2=37 Exploring Operation: 15-2=13, Resulting Numbers: [39, 13] Generated Node #0,0,1: 27:[39, 13] Operation: 15-2=13 Exploring Operation: 15*2=30, Resulting Numbers: [39, 30] Generated Node #0,0,2: 27:[39, 30] Operation: 15*2=30 Exploring Operation: 39-15=24, Resulting Numbers: [2, 24] Generated Node #0,0,3: 27:[2, 24] Operation: 39-15=24 Exploring Operation: 15+2=17, Resulting Numbers: [39, 17] Generated Node #0,0,4: 27:[39, 17] Operation: 15+2=17 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 27:[2, 24], Operations: ['49-10=39', '39-15=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[39, 30], Operations: ['49-10=39', '15*2=30'] Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,27 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[15, 37], Operations: ['49-10=39', '39-2=37'] Exploring Operation: 15*37=555, Resulting Numbers: [555] 555,27 unequal: No Solution Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[39, 13], Operations: ['49-10=39', '15-2=13'] Exploring Operation: 39*13=507, Resulting Numbers: [507] 507,27 unequal: No Solution Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 27:[39, 17], Operations: ['49-10=39', '15+2=17'] Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,27 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 27:[2, 49, 5], Operations: ['15-10=5'] Exploring Operation: 5-2=3, Resulting Numbers: [49, 3] Generated Node #0,1,0: 27:[49, 3] Operation: 5-2=3 Exploring Operation: 49-2=47, Resulting Numbers: [5, 47] Generated Node #0,1,1: 27:[5, 47] Operation: 49-2=47 Exploring Operation: 49-5=44, Resulting Numbers: [2, 44] Generated Node #0,1,2: 27:[2, 44] Operation: 49-5=44 Exploring Operation: 2*5=10, Resulting Numbers: [49, 10] Generated Node #0,1,3: 27:[49, 10] Operation: 2*5=10 Exploring Operation: 2+5=7, Resulting Numbers: [49, 7] Generated Node #0,1,4: 27:[49, 7] Operation: 2+5=7 Moving to Node #0,2 Current State: 27:[2, 49, 25], Operations: ['15+10=25'] Exploring Operation: 2+49=51, Resulting Numbers: [25, 51] Generated Node #0,2,0: 27:[25, 51] Operation: 2+49=51 Exploring Operation: 49-25=24, Resulting Numbers: [2, 24] Generated Node #0,2,1: 27:[2, 24] Operation: 49-25=24 Exploring Operation: 2+25=27, Resulting Numbers: [49, 27] Generated Node #0,2,2: 27:[49, 27] Operation: 2+25=27 Exploring Operation: 25-2=23, Resulting Numbers: [49, 23] Generated Node #0,2,3: 27:[49, 23] Operation: 25-2=23 Exploring Operation: 49-2=47, Resulting Numbers: [25, 47] Generated Node #0,2,4: 27:[25, 47] Operation: 49-2=47 Moving to Node #0,3 Current State: 27:[49, 10, 30], Operations: ['15*2=30'] Exploring Operation: 30-10=20, Resulting Numbers: [49, 20] Generated Node #0,3,0: 27:[49, 20] Operation: 30-10=20 Exploring Operation: 49-30=19, Resulting Numbers: [10, 19] Generated Node #0,3,1: 27:[10, 19] Operation: 49-30=19 Exploring Operation: 30/10=3, Resulting Numbers: [49, 3] Generated Node #0,3,2: 27:[49, 3] Operation: 30/10=3 Exploring Operation: 49+10=59, Resulting Numbers: [30, 59] Generated Node #0,3,3: 27:[30, 59] Operation: 49+10=59 Exploring Operation: 49-10=39, Resulting Numbers: [30, 39] Generated Node #0,3,4: 27:[30, 39] Operation: 49-10=39 Moving to Node #0,4,4 Current State: 27:[2, 24], Operations: ['49-15=34', '34-10=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,27 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[2, 24], Operations: ['15+10=25', '49-25=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,27 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,27 unequal: No Solution Moving to Node #0,4,1 Current State: 27:[10, 32], Operations: ['49-15=34', '34-2=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,27 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,27 unequal: No Solution Moving to Node #0,4,2 Current State: 27:[34, 8], Operations: ['49-15=34', '10-2=8'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,27 unequal: No Solution Moving to Node #0,4,3 Current State: 27:[10, 17], Operations: ['49-15=34', '34/2=17'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,27 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[15, 2, 49, 10], Operations: [] Exploring Operation: 49-15=34, Resulting Numbers: [2, 10, 34] Generated Node #0,4: 27:[2, 10, 34] Operation: 49-15=34 Moving to Node #0,4 Current State: 27:[2, 10, 34], Operations: ['49-15=34'] Exploring Operation: 34/2=17, Resulting Numbers: [10, 17] Generated Node #0,4,3: 27:[10, 17] Operation: 34/2=17 Moving to Node #0,4,3 Current State: 27:[10, 17], Operations: ['49-15=34', '34/2=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.940972
hs_5
mult_heuristic
[ 53, 96, 85, 31 ]
93
[ "85-53=32", "96*31=2976", "2976/32=93" ]
Current State: 93:[53, 96, 85, 31], Operations: [] Exploring Operation: 85-53=32, Resulting Numbers: [96, 31, 32] Generated Node #2: [96, 31, 32] from Operation: 85-53=32 Current State: 93:[96, 31, 32], Operations: ['85-53=32'] Exploring Operation: 96*31=2976, Resulting Numbers: [32, 2976] Generated Node #3: [32, 2976] from Operation: 96*31=2976 Current State: 93:[32, 2976], Operations: ['85-53=32', '96*31=2976'] Exploring Operation: 2976/32=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[53, 96, 85, 31], Operations: [] Exploring Operation: 96-53=43, Resulting Numbers: [85, 31, 43] Generated Node #0,0: 93:[85, 31, 43] Operation: 96-53=43 Exploring Operation: 85-53=32, Resulting Numbers: [96, 31, 32] Generated Node #0,1: 93:[96, 31, 32] Operation: 85-53=32 Exploring Operation: 53+31=84, Resulting Numbers: [96, 85, 84] Generated Node #0,2: 93:[96, 85, 84] Operation: 53+31=84 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[96, 31, 32], Operations: ['85-53=32'] Exploring Operation: 32-31=1, Resulting Numbers: [96, 1] Generated Node #0,1,0: 93:[96, 1] Operation: 32-31=1 Exploring Operation: 96/32=3, Resulting Numbers: [31, 3] Generated Node #0,1,1: 93:[31, 3] Operation: 96/32=3 Exploring Operation: 96-31=65, Resulting Numbers: [32, 65] Generated Node #0,1,2: 93:[32, 65] Operation: 96-31=65 Moving to Node #0,1,1 Current State: 93:[31, 3], Operations: ['85-53=32', '96/32=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[53, 96, 85, 31], Operations: [] Exploring Operation: 85-53=32, Resulting Numbers: [96, 31, 32] Generated Node #0,1: 93:[96, 31, 32] Operation: 85-53=32 Moving to Node #0,1 Current State: 93:[96, 31, 32], Operations: ['85-53=32'] Exploring Operation: 96/32=3, Resulting Numbers: [31, 3] Generated Node #0,1,1: 93:[31, 3] Operation: 96/32=3 Moving to Node #0,1,1 Current State: 93:[31, 3], Operations: ['85-53=32', '96/32=3'] Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 65, 44, 37, 34 ]
38
[ "65+44=109", "37+34=71", "109-71=38" ]
Current State: 38:[65, 44, 37, 34], Operations: [] Exploring Operation: 65+44=109, Resulting Numbers: [37, 34, 109] Generated Node #2: [37, 34, 109] from Operation: 65+44=109 Current State: 38:[37, 34, 109], Operations: ['65+44=109'] Exploring Operation: 37+34=71, Resulting Numbers: [109, 71] Generated Node #3: [109, 71] from Operation: 37+34=71 Current State: 38:[109, 71], Operations: ['65+44=109', '37+34=71'] Exploring Operation: 109-71=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[65, 44, 37, 34], Operations: [] Exploring Operation: 65-44=21, Resulting Numbers: [37, 34, 21] Generated Node #0,0: 38:[37, 34, 21] Operation: 65-44=21 Moving to Node #0,0 Current State: 38:[37, 34, 21], Operations: ['65-44=21'] Exploring Operation: 37-34=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 38:[21, 3] Operation: 37-34=3 Moving to Node #0,0,0 Current State: 38:[21, 3], Operations: ['65-44=21', '37-34=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,38 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 29, 22, 14, 37 ]
28
[ "29+22=51", "37-14=23", "51-23=28" ]
Current State: 28:[29, 22, 14, 37], Operations: [] Exploring Operation: 29+22=51, Resulting Numbers: [14, 37, 51] Generated Node #2: [14, 37, 51] from Operation: 29+22=51 Current State: 28:[14, 37, 51], Operations: ['29+22=51'] Exploring Operation: 37-14=23, Resulting Numbers: [51, 23] Generated Node #3: [51, 23] from Operation: 37-14=23 Current State: 28:[51, 23], Operations: ['29+22=51', '37-14=23'] Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[29, 22, 14, 37], Operations: [] Exploring Operation: 37-29=8, Resulting Numbers: [22, 14, 8] Generated Node #0,0: 28:[22, 14, 8] Operation: 37-29=8 Exploring Operation: 37-22=15, Resulting Numbers: [29, 14, 15] Generated Node #0,1: 28:[29, 14, 15] Operation: 37-22=15 Exploring Operation: 29-22=7, Resulting Numbers: [14, 37, 7] Generated Node #0,2: 28:[14, 37, 7] Operation: 29-22=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[29, 14, 15], Operations: ['37-22=15'] Exploring Operation: 14+15=29, Resulting Numbers: [29, 29] Generated Node #0,1,0: 28:[29, 29] Operation: 14+15=29 Exploring Operation: 29-14=15, Resulting Numbers: [15, 15] Generated Node #0,1,1: 28:[15, 15] Operation: 29-14=15 Exploring Operation: 29-15=14, Resulting Numbers: [14, 14] Generated Node #0,1,2: 28:[14, 14] Operation: 29-15=14 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 28:[14, 14], Operations: ['37-22=15', '29-15=14'] Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[29, 22, 14, 37], Operations: [] Exploring Operation: 37-22=15, Resulting Numbers: [29, 14, 15] Generated Node #0,1: 28:[29, 14, 15] Operation: 37-22=15 Moving to Node #0,1 Current State: 28:[29, 14, 15], Operations: ['37-22=15'] Exploring Operation: 29-15=14, Resulting Numbers: [14, 14] Generated Node #0,1,2: 28:[14, 14] Operation: 29-15=14 Moving to Node #0,1,2 Current State: 28:[14, 14], Operations: ['37-22=15', '29-15=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 7, 3, 74, 39 ]
14
[ "7*3=21", "74-39=35", "35-21=14" ]
Current State: 14:[7, 3, 74, 39], Operations: [] Exploring Operation: 7*3=21, Resulting Numbers: [74, 39, 21] Generated Node #2: [74, 39, 21] from Operation: 7*3=21 Current State: 14:[74, 39, 21], Operations: ['7*3=21'] Exploring Operation: 74-39=35, Resulting Numbers: [21, 35] Generated Node #3: [21, 35] from Operation: 74-39=35 Current State: 14:[21, 35], Operations: ['7*3=21', '74-39=35'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[7, 3, 74, 39], Operations: [] Exploring Operation: 39-7=32, Resulting Numbers: [3, 74, 32] Generated Node #0,0: 14:[3, 74, 32] Operation: 39-7=32 Exploring Operation: 74-7=67, Resulting Numbers: [3, 39, 67] Generated Node #0,1: 14:[3, 39, 67] Operation: 74-7=67 Exploring Operation: 74-39=35, Resulting Numbers: [7, 3, 35] Generated Node #0,2: 14:[7, 3, 35] Operation: 74-39=35 Exploring Operation: 39/3=13, Resulting Numbers: [7, 74, 13] Generated Node #0,3: 14:[7, 74, 13] Operation: 39/3=13 Moving to Node #0,2 Current State: 14:[7, 3, 35], Operations: ['74-39=35'] Exploring Operation: 7-3=4, Resulting Numbers: [35, 4] Generated Node #0,2,0: 14:[35, 4] Operation: 7-3=4 Exploring Operation: 35-7=28, Resulting Numbers: [3, 28] Generated Node #0,2,1: 14:[3, 28] Operation: 35-7=28 Exploring Operation: 35-3=32, Resulting Numbers: [7, 32] Generated Node #0,2,2: 14:[7, 32] Operation: 35-3=32 Exploring Operation: 35/7=5, Resulting Numbers: [3, 5] Generated Node #0,2,3: 14:[3, 5] Operation: 35/7=5 Moving to Node #0,3 Current State: 14:[7, 74, 13], Operations: ['39/3=13'] Exploring Operation: 13-7=6, Resulting Numbers: [74, 6] Generated Node #0,3,0: 14:[74, 6] Operation: 13-7=6 Exploring Operation: 74-13=61, Resulting Numbers: [7, 61] Generated Node #0,3,1: 14:[7, 61] Operation: 74-13=61 Exploring Operation: 7+13=20, Resulting Numbers: [74, 20] Generated Node #0,3,2: 14:[74, 20] Operation: 7+13=20 Exploring Operation: 74-7=67, Resulting Numbers: [13, 67] Generated Node #0,3,3: 14:[13, 67] Operation: 74-7=67 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 14:[7, 61], Operations: ['39/3=13', '74-13=61'] Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,14 unequal: No Solution Exploring Operation: 7*61=427, Resulting Numbers: [427] 427,14 unequal: No Solution Exploring Operation: 7+61=68, Resulting Numbers: [68] 68,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[13, 67], Operations: ['39/3=13', '74-7=67'] Exploring Operation: 13*67=871, Resulting Numbers: [871] 871,14 unequal: No Solution Exploring Operation: 13+67=80, Resulting Numbers: [80] 80,14 unequal: No Solution Exploring Operation: 67-13=54, Resulting Numbers: [54] 54,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 14:[74, 6], Operations: ['39/3=13', '13-7=6'] Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,14 unequal: No Solution Exploring Operation: 74*6=444, Resulting Numbers: [444] 444,14 unequal: No Solution Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 14:[74, 20], Operations: ['39/3=13', '7+13=20'] Exploring Operation: 74*20=1480, Resulting Numbers: [1480] 1480,14 unequal: No Solution Exploring Operation: 74+20=94, Resulting Numbers: [94] 94,14 unequal: No Solution Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,14 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: 14:[3, 39, 67], Operations: ['74-7=67'] Exploring Operation: 39-3=36, Resulting Numbers: [67, 36] Generated Node #0,1,0: 14:[67, 36] Operation: 39-3=36 Exploring Operation: 67-39=28, Resulting Numbers: [3, 28] Generated Node #0,1,1: 14:[3, 28] Operation: 67-39=28 Exploring Operation: 39/3=13, Resulting Numbers: [67, 13] Generated Node #0,1,2: 14:[67, 13] Operation: 39/3=13 Exploring Operation: 67-3=64, Resulting Numbers: [39, 64] Generated Node #0,1,3: 14:[39, 64] Operation: 67-3=64 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[3, 28], Operations: ['74-7=67', '67-39=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 14:[67, 13], Operations: ['74-7=67', '39/3=13'] Exploring Operation: 67*13=871, Resulting Numbers: [871] 871,14 unequal: No Solution Exploring Operation: 67-13=54, Resulting Numbers: [54] 54,14 unequal: No Solution Exploring Operation: 67+13=80, Resulting Numbers: [80] 80,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[67, 36], Operations: ['74-7=67', '39-3=36'] Exploring Operation: 67*36=2412, Resulting Numbers: [2412] 2412,14 unequal: No Solution Exploring Operation: 67+36=103, Resulting Numbers: [103] 103,14 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 14:[39, 64], Operations: ['74-7=67', '67-3=64'] Exploring Operation: 39*64=2496, Resulting Numbers: [2496] 2496,14 unequal: No Solution Exploring Operation: 39+64=103, Resulting Numbers: [103] 103,14 unequal: No Solution Exploring Operation: 64-39=25, Resulting Numbers: [25] 25,14 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: 14:[3, 74, 32], Operations: ['39-7=32'] Exploring Operation: 32-3=29, Resulting Numbers: [74, 29] Generated Node #0,0,0: 14:[74, 29] Operation: 32-3=29 Exploring Operation: 74-32=42, Resulting Numbers: [3, 42] Generated Node #0,0,1: 14:[3, 42] Operation: 74-32=42 Exploring Operation: 74-3=71, Resulting Numbers: [32, 71] Generated Node #0,0,2: 14:[32, 71] Operation: 74-3=71 Exploring Operation: 3+74=77, Resulting Numbers: [32, 77] Generated Node #0,0,3: 14:[32, 77] Operation: 3+74=77 Moving to Node #0,2,3 Current State: 14:[3, 5], Operations: ['74-39=35', '35/7=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[3, 28], Operations: ['74-39=35', '35-7=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[7, 32], Operations: ['74-39=35', '35-3=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[35, 4], Operations: ['74-39=35', '7-3=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,14 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[3, 42], Operations: ['39-7=32', '74-32=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,14 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[7, 3, 74, 39], Operations: [] Exploring Operation: 39-7=32, Resulting Numbers: [3, 74, 32] Generated Node #0,0: 14:[3, 74, 32] Operation: 39-7=32 Moving to Node #0,0 Current State: 14:[3, 74, 32], Operations: ['39-7=32'] Exploring Operation: 74-32=42, Resulting Numbers: [3, 42] Generated Node #0,0,1: 14:[3, 42] Operation: 74-32=42 Moving to Node #0,0,1 Current State: 14:[3, 42], Operations: ['39-7=32', '74-32=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.944444
hs_4
sum_heuristic
[ 7, 87, 75, 94 ]
46
[ "94-75=19", "7*19=133", "133-87=46" ]
Current State: 46:[7, 87, 75, 94], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [7, 87, 19] Generated Node #2: [7, 87, 19] from Operation: 94-75=19 Current State: 46:[7, 87, 19], Operations: ['94-75=19'] Exploring Operation: 7*19=133, Resulting Numbers: [87, 133] Generated Node #3: [87, 133] from Operation: 7*19=133 Current State: 46:[87, 133], Operations: ['94-75=19', '7*19=133'] Exploring Operation: 133-87=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[7, 87, 75, 94], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [7, 87, 19] Generated Node #0,0: 46:[7, 87, 19] Operation: 94-75=19 Exploring Operation: 94-87=7, Resulting Numbers: [7, 75, 7] Generated Node #0,1: 46:[7, 75, 7] Operation: 94-87=7 Moving to Node #0,1 Current State: 46:[7, 75, 7], Operations: ['94-87=7'] Exploring Operation: 75-7=68, Resulting Numbers: [7, 68] Generated Node #0,1,0: 46:[7, 68] Operation: 75-7=68 Exploring Operation: 75-7=68, Resulting Numbers: [7, 68] Generated Node #0,1,1: 46:[7, 68] Operation: 75-7=68 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[7, 68], Operations: ['94-87=7', '75-7=68'] Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,46 unequal: No Solution Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,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:[7, 68], Operations: ['94-87=7', '75-7=68'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,46 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: 46:[7, 87, 19], Operations: ['94-75=19'] Exploring Operation: 87-19=68, Resulting Numbers: [7, 68] Generated Node #0,0,0: 46:[7, 68] Operation: 87-19=68 Exploring Operation: 87-7=80, Resulting Numbers: [19, 80] Generated Node #0,0,1: 46:[19, 80] Operation: 87-7=80 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[7, 68], Operations: ['94-75=19', '87-19=68'] Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,46 unequal: No Solution Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,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:[19, 80], Operations: ['94-75=19', '87-7=80'] Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 19+80=99, Resulting Numbers: [99] 99,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 17, 97, 53, 39 ]
45
[ "97+39=136", "136/17=8", "53-8=45" ]
Current State: 45:[17, 97, 53, 39], Operations: [] Exploring Operation: 97+39=136, Resulting Numbers: [17, 53, 136] Generated Node #2: [17, 53, 136] from Operation: 97+39=136 Current State: 45:[17, 53, 136], Operations: ['97+39=136'] Exploring Operation: 136/17=8, Resulting Numbers: [53, 8] Generated Node #3: [53, 8] from Operation: 136/17=8 Current State: 45:[53, 8], Operations: ['97+39=136', '136/17=8'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[17, 97, 53, 39], Operations: [] Exploring Operation: 97-39=58, Resulting Numbers: [17, 53, 58] Generated Node #0,0: 45:[17, 53, 58] Operation: 97-39=58 Exploring Operation: 97-53=44, Resulting Numbers: [17, 39, 44] Generated Node #0,1: 45:[17, 39, 44] Operation: 97-53=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[17, 39, 44], Operations: ['97-53=44'] Exploring Operation: 39-17=22, Resulting Numbers: [44, 22] Generated Node #0,1,0: 45:[44, 22] Operation: 39-17=22 Exploring Operation: 44-39=5, Resulting Numbers: [17, 5] Generated Node #0,1,1: 45:[17, 5] Operation: 44-39=5 Moving to Node #0,1,1 Current State: 45:[17, 5], Operations: ['97-53=44', '44-39=5'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[44, 22], Operations: ['97-53=44', '39-17=22'] Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,45 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[17, 53, 58], Operations: ['97-39=58'] Exploring Operation: 58-17=41, Resulting Numbers: [53, 41] Generated Node #0,0,0: 45:[53, 41] Operation: 58-17=41 Exploring Operation: 58-53=5, Resulting Numbers: [17, 5] Generated Node #0,0,1: 45:[17, 5] Operation: 58-53=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 45:[17, 5], Operations: ['97-39=58', '58-53=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,45 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[53, 41], Operations: ['97-39=58', '58-17=41'] Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 53+41=94, Resulting Numbers: [94] 94,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 71, 74, 29, 68 ]
73
[ "71+74=145", "145/29=5", "68+5=73" ]
Current State: 73:[71, 74, 29, 68], Operations: [] Exploring Operation: 71+74=145, Resulting Numbers: [29, 68, 145] Generated Node #2: [29, 68, 145] from Operation: 71+74=145 Current State: 73:[29, 68, 145], Operations: ['71+74=145'] Exploring Operation: 145/29=5, Resulting Numbers: [68, 5] Generated Node #3: [68, 5] from Operation: 145/29=5 Current State: 73:[68, 5], Operations: ['71+74=145', '145/29=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[71, 74, 29, 68], Operations: [] Exploring Operation: 29+68=97, Resulting Numbers: [71, 74, 97] Generated Node #0,0: 73:[71, 74, 97] Operation: 29+68=97 Exploring Operation: 74+29=103, Resulting Numbers: [71, 68, 103] Generated Node #0,1: 73:[71, 68, 103] Operation: 74+29=103 Exploring Operation: 71+29=100, Resulting Numbers: [74, 68, 100] Generated Node #0,2: 73:[74, 68, 100] Operation: 71+29=100 Exploring Operation: 74-29=45, Resulting Numbers: [71, 68, 45] Generated Node #0,3: 73:[71, 68, 45] Operation: 74-29=45 Exploring Operation: 71-29=42, Resulting Numbers: [74, 68, 42] Generated Node #0,4: 73:[74, 68, 42] Operation: 71-29=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[71, 74, 97], Operations: ['29+68=97'] Exploring Operation: 74-71=3, Resulting Numbers: [97, 3] Generated Node #0,0,0: 73:[97, 3] Operation: 74-71=3 Exploring Operation: 71+74=145, Resulting Numbers: [97, 145] Generated Node #0,0,1: 73:[97, 145] Operation: 71+74=145 Exploring Operation: 97-71=26, Resulting Numbers: [74, 26] Generated Node #0,0,2: 73:[74, 26] Operation: 97-71=26 Exploring Operation: 97-74=23, Resulting Numbers: [71, 23] Generated Node #0,0,3: 73:[71, 23] Operation: 97-74=23 Exploring Operation: 71+97=168, Resulting Numbers: [74, 168] Generated Node #0,0,4: 73:[74, 168] Operation: 71+97=168 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[74, 26], Operations: ['29+68=97', '97-71=26'] Exploring Operation: 74*26=1924, Resulting Numbers: [1924] 1924,73 unequal: No Solution Exploring Operation: 74+26=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 73:[71, 23], Operations: ['29+68=97', '97-74=23'] Exploring Operation: 71*23=1633, Resulting Numbers: [1633] 1633,73 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 71+23=94, Resulting Numbers: [94] 94,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[97, 3], Operations: ['29+68=97', '74-71=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 97*3=291, Resulting Numbers: [291] 291,73 unequal: No Solution Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[97, 145], Operations: ['29+68=97', '71+74=145'] Exploring Operation: 145-97=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 97+145=242, Resulting Numbers: [242] 242,73 unequal: No Solution Exploring Operation: 97*145=14065, Resulting Numbers: [14065] 14065,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 73:[74, 168], Operations: ['29+68=97', '71+97=168'] Exploring Operation: 168-74=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 74*168=12432, Resulting Numbers: [12432] 12432,73 unequal: No Solution Exploring Operation: 74+168=242, Resulting Numbers: [242] 242,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[74, 68, 100], Operations: ['71+29=100'] Exploring Operation: 74+68=142, Resulting Numbers: [100, 142] Generated Node #0,2,0: 73:[100, 142] Operation: 74+68=142 Exploring Operation: 68+100=168, Resulting Numbers: [74, 168] Generated Node #0,2,1: 73:[74, 168] Operation: 68+100=168 Exploring Operation: 100-74=26, Resulting Numbers: [68, 26] Generated Node #0,2,2: 73:[68, 26] Operation: 100-74=26 Exploring Operation: 74-68=6, Resulting Numbers: [100, 6] Generated Node #0,2,3: 73:[100, 6] Operation: 74-68=6 Exploring Operation: 100-68=32, Resulting Numbers: [74, 32] Generated Node #0,2,4: 73:[74, 32] Operation: 100-68=32 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 73:[74, 32], Operations: ['71+29=100', '100-68=32'] Exploring Operation: 74*32=2368, Resulting Numbers: [2368] 2368,73 unequal: No Solution Exploring Operation: 74-32=42, Resulting Numbers: [42] 42,73 unequal: No Solution Exploring Operation: 74+32=106, Resulting Numbers: [106] 106,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 73:[68, 26], Operations: ['71+29=100', '100-74=26'] Exploring Operation: 68*26=1768, Resulting Numbers: [1768] 1768,73 unequal: No Solution Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 73:[100, 6], Operations: ['71+29=100', '74-68=6'] Exploring Operation: 100-6=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 100+6=106, Resulting Numbers: [106] 106,73 unequal: No Solution Exploring Operation: 100*6=600, Resulting Numbers: [600] 600,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[100, 142], Operations: ['71+29=100', '74+68=142'] Exploring Operation: 142-100=42, Resulting Numbers: [42] 42,73 unequal: No Solution Exploring Operation: 100*142=14200, Resulting Numbers: [14200] 14200,73 unequal: No Solution Exploring Operation: 100+142=242, Resulting Numbers: [242] 242,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[74, 168], Operations: ['71+29=100', '68+100=168'] Exploring Operation: 74+168=242, Resulting Numbers: [242] 242,73 unequal: No Solution Exploring Operation: 168-74=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 74*168=12432, Resulting Numbers: [12432] 12432,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[71, 68, 45], Operations: ['74-29=45'] Exploring Operation: 71+68=139, Resulting Numbers: [45, 139] Generated Node #0,3,0: 73:[45, 139] Operation: 71+68=139 Exploring Operation: 68-45=23, Resulting Numbers: [71, 23] Generated Node #0,3,1: 73:[71, 23] Operation: 68-45=23 Exploring Operation: 71-45=26, Resulting Numbers: [68, 26] Generated Node #0,3,2: 73:[68, 26] Operation: 71-45=26 Exploring Operation: 68+45=113, Resulting Numbers: [71, 113] Generated Node #0,3,3: 73:[71, 113] Operation: 68+45=113 Exploring Operation: 71+45=116, Resulting Numbers: [68, 116] Generated Node #0,3,4: 73:[68, 116] Operation: 71+45=116 Moving to Node #0,3,3 Current State: 73:[71, 113], Operations: ['74-29=45', '68+45=113'] Exploring Operation: 71+113=184, Resulting Numbers: [184] 184,73 unequal: No Solution Exploring Operation: 113-71=42, Resulting Numbers: [42] 42,73 unequal: No Solution Exploring Operation: 71*113=8023, Resulting Numbers: [8023] 8023,73 unequal: No Solution Moving to Node #0,3,4 Current State: 73:[68, 116], Operations: ['74-29=45', '71+45=116'] Exploring Operation: 68*116=7888, Resulting Numbers: [7888] 7888,73 unequal: No Solution Exploring Operation: 68+116=184, Resulting Numbers: [184] 184,73 unequal: No Solution Exploring Operation: 116-68=48, Resulting Numbers: [48] 48,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[71, 23], Operations: ['74-29=45', '68-45=23'] Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 71+23=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 71*23=1633, Resulting Numbers: [1633] 1633,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[68, 26], Operations: ['74-29=45', '71-45=26'] Exploring Operation: 68*26=1768, Resulting Numbers: [1768] 1768,73 unequal: No Solution Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[45, 139], Operations: ['74-29=45', '71+68=139'] Exploring Operation: 45+139=184, Resulting Numbers: [184] 184,73 unequal: No Solution Exploring Operation: 139-45=94, Resulting Numbers: [94] 94,73 unequal: No Solution Exploring Operation: 45*139=6255, Resulting Numbers: [6255] 6255,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:[71, 68, 103], Operations: ['74+29=103'] Exploring Operation: 68+103=171, Resulting Numbers: [71, 171] Generated Node #0,1,0: 73:[71, 171] Operation: 68+103=171 Exploring Operation: 71+68=139, Resulting Numbers: [103, 139] Generated Node #0,1,1: 73:[103, 139] Operation: 71+68=139 Exploring Operation: 71-68=3, Resulting Numbers: [103, 3] Generated Node #0,1,2: 73:[103, 3] Operation: 71-68=3 Exploring Operation: 103-71=32, Resulting Numbers: [68, 32] Generated Node #0,1,3: 73:[68, 32] Operation: 103-71=32 Exploring Operation: 103-68=35, Resulting Numbers: [71, 35] Generated Node #0,1,4: 73:[71, 35] Operation: 103-68=35 Moving to Node #0,1,4 Current State: 73:[71, 35], Operations: ['74+29=103', '103-68=35'] Exploring Operation: 71*35=2485, Resulting Numbers: [2485] 2485,73 unequal: No Solution Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 71+35=106, Resulting Numbers: [106] 106,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[68, 32], Operations: ['74+29=103', '103-71=32'] Exploring Operation: 68*32=2176, Resulting Numbers: [2176] 2176,73 unequal: No Solution Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 68+32=100, Resulting Numbers: [100] 100,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[103, 139], Operations: ['74+29=103', '71+68=139'] Exploring Operation: 139-103=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 103*139=14317, Resulting Numbers: [14317] 14317,73 unequal: No Solution Exploring Operation: 103+139=242, Resulting Numbers: [242] 242,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[71, 171], Operations: ['74+29=103', '68+103=171'] Exploring Operation: 171-71=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 71+171=242, Resulting Numbers: [242] 242,73 unequal: No Solution Exploring Operation: 71*171=12141, Resulting Numbers: [12141] 12141,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[103, 3], Operations: ['74+29=103', '71-68=3'] Exploring Operation: 103-3=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 103+3=106, Resulting Numbers: [106] 106,73 unequal: No Solution Exploring Operation: 103*3=309, Resulting Numbers: [309] 309,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 73:[74, 68, 42], Operations: ['71-29=42'] Exploring Operation: 74-42=32, Resulting Numbers: [68, 32] Generated Node #0,4,0: 73:[68, 32] Operation: 74-42=32 Exploring Operation: 74+42=116, Resulting Numbers: [68, 116] Generated Node #0,4,1: 73:[68, 116] Operation: 74+42=116 Exploring Operation: 68+42=110, Resulting Numbers: [74, 110] Generated Node #0,4,2: 73:[74, 110] Operation: 68+42=110 Exploring Operation: 74-68=6, Resulting Numbers: [42, 6] Generated Node #0,4,3: 73:[42, 6] Operation: 74-68=6 Exploring Operation: 68-42=26, Resulting Numbers: [74, 26] Generated Node #0,4,4: 73:[74, 26] Operation: 68-42=26 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 73:[74, 110], Operations: ['71-29=42', '68+42=110'] Exploring Operation: 110-74=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 74*110=8140, Resulting Numbers: [8140] 8140,73 unequal: No Solution Exploring Operation: 74+110=184, Resulting Numbers: [184] 184,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 73:[68, 32], Operations: ['71-29=42', '74-42=32'] Exploring Operation: 68+32=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 68*32=2176, Resulting Numbers: [2176] 2176,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 73:[68, 116], Operations: ['71-29=42', '74+42=116'] Exploring Operation: 116-68=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 68+116=184, Resulting Numbers: [184] 184,73 unequal: No Solution Exploring Operation: 68*116=7888, Resulting Numbers: [7888] 7888,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 73:[74, 26], Operations: ['71-29=42', '68-42=26'] Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 74+26=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 74*26=1924, Resulting Numbers: [1924] 1924,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 73:[42, 6], Operations: ['71-29=42', '74-68=6'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,73 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 90, 71, 8, 89 ]
79
[ "90-89=1", "71+8=79", "1*79=79" ]
Current State: 79:[90, 71, 8, 89], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [71, 8, 1] Generated Node #2: [71, 8, 1] from Operation: 90-89=1 Current State: 79:[71, 8, 1], Operations: ['90-89=1'] Exploring Operation: 71+8=79, Resulting Numbers: [1, 79] Generated Node #3: [1, 79] from Operation: 71+8=79 Current State: 79:[1, 79], Operations: ['90-89=1', '71+8=79'] Exploring Operation: 1*79=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[90, 71, 8, 89], Operations: [] Exploring Operation: 90-8=82, Resulting Numbers: [71, 89, 82] Generated Node #0,0: 79:[71, 89, 82] Operation: 90-8=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[71, 89, 82], Operations: ['90-8=82'] Exploring Operation: 89-71=18, Resulting Numbers: [82, 18] Generated Node #0,0,0: 79:[82, 18] Operation: 89-71=18 Moving to Node #0,0,0 Current State: 79:[82, 18], Operations: ['90-8=82', '89-71=18'] Exploring Operation: 82-18=64, Resulting Numbers: [64] 64,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 78, 63, 74, 16 ]
98
[ "74-63=11", "16*11=176", "176-78=98" ]
Current State: 98:[78, 63, 74, 16], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [78, 16, 11] Generated Node #2: [78, 16, 11] from Operation: 74-63=11 Current State: 98:[78, 16, 11], Operations: ['74-63=11'] Exploring Operation: 16*11=176, Resulting Numbers: [78, 176] Generated Node #3: [78, 176] from Operation: 16*11=176 Current State: 98:[78, 176], Operations: ['74-63=11', '16*11=176'] Exploring Operation: 176-78=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[78, 63, 74, 16], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [78, 16, 11] Generated Node #0,0: 98:[78, 16, 11] Operation: 74-63=11 Exploring Operation: 74+16=90, Resulting Numbers: [78, 63, 90] Generated Node #0,1: 98:[78, 63, 90] Operation: 74+16=90 Exploring Operation: 78+16=94, Resulting Numbers: [63, 74, 94] Generated Node #0,2: 98:[63, 74, 94] Operation: 78+16=94 Exploring Operation: 78-63=15, Resulting Numbers: [74, 16, 15] Generated Node #0,3: 98:[74, 16, 15] Operation: 78-63=15 Exploring Operation: 78-74=4, Resulting Numbers: [63, 16, 4] Generated Node #0,4: 98:[63, 16, 4] Operation: 78-74=4 Start Sub Search at level 1: Moving to Node #0,4 Current State: 98:[63, 16, 4], Operations: ['78-74=4'] Exploring Operation: 63+4=67, Resulting Numbers: [16, 67] Generated Node #0,4,0: 98:[16, 67] Operation: 63+4=67 Exploring Operation: 16-4=12, Resulting Numbers: [63, 12] Generated Node #0,4,1: 98:[63, 12] Operation: 16-4=12 Exploring Operation: 63-16=47, Resulting Numbers: [4, 47] Generated Node #0,4,2: 98:[4, 47] Operation: 63-16=47 Exploring Operation: 16/4=4, Resulting Numbers: [63, 4] Generated Node #0,4,3: 98:[63, 4] Operation: 16/4=4 Exploring Operation: 63-4=59, Resulting Numbers: [16, 59] Generated Node #0,4,4: 98:[16, 59] Operation: 63-4=59 Moving to Node #0,4,2 Current State: 98:[4, 47], Operations: ['78-74=4', '63-16=47'] Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,98 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,98 unequal: No Solution Moving to Node #0,4,4 Current State: 98:[16, 59], Operations: ['78-74=4', '63-4=59'] Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,98 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,98 unequal: No Solution Moving to Node #0,4,1 Current State: 98:[63, 12], Operations: ['78-74=4', '16-4=12'] Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,98 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,98 unequal: No Solution Moving to Node #0,4,3 Current State: 98:[63, 4], Operations: ['78-74=4', '16/4=4'] Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,98 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,98 unequal: No Solution Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,98 unequal: No Solution Moving to Node #0,4,0 Current State: 98:[16, 67], Operations: ['78-74=4', '63+4=67'] Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 16+67=83, Resulting Numbers: [83] 83,98 unequal: No Solution Exploring Operation: 16*67=1072, Resulting Numbers: [1072] 1072,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 Current State: 98:[78, 16, 11], Operations: ['74-63=11'] Exploring Operation: 16-11=5, Resulting Numbers: [78, 5] Generated Node #0,0,0: 98:[78, 5] Operation: 16-11=5 Exploring Operation: 78-16=62, Resulting Numbers: [11, 62] Generated Node #0,0,1: 98:[11, 62] Operation: 78-16=62 Exploring Operation: 78+16=94, Resulting Numbers: [11, 94] Generated Node #0,0,2: 98:[11, 94] Operation: 78+16=94 Exploring Operation: 78-11=67, Resulting Numbers: [16, 67] Generated Node #0,0,3: 98:[16, 67] Operation: 78-11=67 Exploring Operation: 78+11=89, Resulting Numbers: [16, 89] Generated Node #0,0,4: 98:[16, 89] Operation: 78+11=89 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 98:[11, 94], Operations: ['74-63=11', '78+16=94'] Exploring Operation: 11+94=105, Resulting Numbers: [105] 105,98 unequal: No Solution Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,98 unequal: No Solution Exploring Operation: 11*94=1034, Resulting Numbers: [1034] 1034,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 98:[16, 89], Operations: ['74-63=11', '78+11=89'] Exploring Operation: 16+89=105, Resulting Numbers: [105] 105,98 unequal: No Solution Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 16*89=1424, Resulting Numbers: [1424] 1424,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[11, 62], Operations: ['74-63=11', '78-16=62'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 11*62=682, Resulting Numbers: [682] 682,98 unequal: No Solution Exploring Operation: 11+62=73, Resulting Numbers: [73] 73,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 98:[16, 67], Operations: ['74-63=11', '78-11=67'] Exploring Operation: 16+67=83, Resulting Numbers: [83] 83,98 unequal: No Solution Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 16*67=1072, Resulting Numbers: [1072] 1072,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[78, 5], Operations: ['74-63=11', '16-11=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,98 unequal: No Solution Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[74, 16, 15], Operations: ['78-63=15'] Exploring Operation: 74+15=89, Resulting Numbers: [16, 89] Generated Node #0,3,0: 98:[16, 89] Operation: 74+15=89 Exploring Operation: 16-15=1, Resulting Numbers: [74, 1] Generated Node #0,3,1: 98:[74, 1] Operation: 16-15=1 Exploring Operation: 74+16=90, Resulting Numbers: [15, 90] Generated Node #0,3,2: 98:[15, 90] Operation: 74+16=90 Exploring Operation: 74-16=58, Resulting Numbers: [15, 58] Generated Node #0,3,3: 98:[15, 58] Operation: 74-16=58 Exploring Operation: 74-15=59, Resulting Numbers: [16, 59] Generated Node #0,3,4: 98:[16, 59] Operation: 74-15=59 Moving to Node #0,3,2 Current State: 98:[15, 90], Operations: ['78-63=15', '74+16=90'] Exploring Operation: 15*90=1350, Resulting Numbers: [1350] 1350,98 unequal: No Solution Exploring Operation: 15+90=105, Resulting Numbers: [105] 105,98 unequal: No Solution Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[15, 58], Operations: ['78-63=15', '74-16=58'] Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,98 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[16, 89], Operations: ['78-63=15', '74+15=89'] Exploring Operation: 16*89=1424, Resulting Numbers: [1424] 1424,98 unequal: No Solution Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 16+89=105, Resulting Numbers: [105] 105,98 unequal: No Solution Moving to Node #0,3,4 Current State: 98:[16, 59], Operations: ['78-63=15', '74-15=59'] Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[74, 1], Operations: ['78-63=15', '16-15=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,98 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,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 Current State: 98:[78, 63, 90], Operations: ['74+16=90'] Exploring Operation: 78-63=15, Resulting Numbers: [90, 15] Generated Node #0,1,0: 98:[90, 15] Operation: 78-63=15 Exploring Operation: 78+63=141, Resulting Numbers: [90, 141] Generated Node #0,1,1: 98:[90, 141] Operation: 78+63=141 Exploring Operation: 63+90=153, Resulting Numbers: [78, 153] Generated Node #0,1,2: 98:[78, 153] Operation: 63+90=153 Exploring Operation: 90-63=27, Resulting Numbers: [78, 27] Generated Node #0,1,3: 98:[78, 27] Operation: 90-63=27 Exploring Operation: 90-78=12, Resulting Numbers: [63, 12] Generated Node #0,1,4: 98:[63, 12] Operation: 90-78=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[90, 15], Operations: ['74+16=90', '78-63=15'] Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 90*15=1350, Resulting Numbers: [1350] 1350,98 unequal: No Solution Exploring Operation: 90+15=105, Resulting Numbers: [105] 105,98 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 98:[63, 12], Operations: ['74+16=90', '90-78=12'] Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,98 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 98:[78, 27], Operations: ['74+16=90', '90-63=27'] Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,98 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[90, 141], Operations: ['74+16=90', '78+63=141'] Exploring Operation: 90+141=231, Resulting Numbers: [231] 231,98 unequal: No Solution Exploring Operation: 141-90=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 90*141=12690, Resulting Numbers: [12690] 12690,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 98:[78, 153], Operations: ['74+16=90', '63+90=153'] Exploring Operation: 153-78=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 78+153=231, Resulting Numbers: [231] 231,98 unequal: No Solution Exploring Operation: 78*153=11934, Resulting Numbers: [11934] 11934,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[63, 74, 94], Operations: ['78+16=94'] Exploring Operation: 94-74=20, Resulting Numbers: [63, 20] Generated Node #0,2,0: 98:[63, 20] Operation: 94-74=20 Exploring Operation: 94-63=31, Resulting Numbers: [74, 31] Generated Node #0,2,1: 98:[74, 31] Operation: 94-63=31 Exploring Operation: 63+94=157, Resulting Numbers: [74, 157] Generated Node #0,2,2: 98:[74, 157] Operation: 63+94=157 Exploring Operation: 63+74=137, Resulting Numbers: [94, 137] Generated Node #0,2,3: 98:[94, 137] Operation: 63+74=137 Exploring Operation: 74-63=11, Resulting Numbers: [94, 11] Generated Node #0,2,4: 98:[94, 11] Operation: 74-63=11 Moving to Node #0,2,4 Current State: 98:[94, 11], Operations: ['78+16=94', '74-63=11'] Exploring Operation: 94*11=1034, Resulting Numbers: [1034] 1034,98 unequal: No Solution Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,98 unequal: No Solution Exploring Operation: 94+11=105, Resulting Numbers: [105] 105,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[63, 20], Operations: ['78+16=94', '94-74=20'] Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,98 unequal: No Solution Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,98 unequal: No Solution Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[74, 31], Operations: ['78+16=94', '94-63=31'] Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 74*31=2294, Resulting Numbers: [2294] 2294,98 unequal: No Solution Exploring Operation: 74+31=105, Resulting Numbers: [105] 105,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[94, 137], Operations: ['78+16=94', '63+74=137'] Exploring Operation: 94+137=231, Resulting Numbers: [231] 231,98 unequal: No Solution Exploring Operation: 137-94=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 94*137=12878, Resulting Numbers: [12878] 12878,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[74, 157], Operations: ['78+16=94', '63+94=157'] Exploring Operation: 157-74=83, Resulting Numbers: [83] 83,98 unequal: No Solution Exploring Operation: 74+157=231, Resulting Numbers: [231] 231,98 unequal: No Solution Exploring Operation: 74*157=11618, Resulting Numbers: [11618] 11618,98 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
[ 37, 2, 38, 26 ]
28
[ "38-37=1", "2+26=28", "1*28=28" ]
Current State: 28:[37, 2, 38, 26], Operations: [] Exploring Operation: 38-37=1, Resulting Numbers: [2, 26, 1] Generated Node #2: [2, 26, 1] from Operation: 38-37=1 Current State: 28:[2, 26, 1], Operations: ['38-37=1'] Exploring Operation: 2+26=28, Resulting Numbers: [1, 28] Generated Node #3: [1, 28] from Operation: 2+26=28 Current State: 28:[1, 28], Operations: ['38-37=1', '2+26=28'] Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[37, 2, 38, 26], Operations: [] Exploring Operation: 38/2=19, Resulting Numbers: [37, 26, 19] Generated Node #0,0: 28:[37, 26, 19] Operation: 38/2=19 Exploring Operation: 37-26=11, Resulting Numbers: [2, 38, 11] Generated Node #0,1: 28:[2, 38, 11] Operation: 37-26=11 Exploring Operation: 38-26=12, Resulting Numbers: [37, 2, 12] Generated Node #0,2: 28:[37, 2, 12] Operation: 38-26=12 Exploring Operation: 38-37=1, Resulting Numbers: [2, 26, 1] Generated Node #0,3: 28:[2, 26, 1] Operation: 38-37=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[2, 26, 1], Operations: ['38-37=1'] Exploring Operation: 2+26=28, Resulting Numbers: [1, 28] Generated Node #0,3,0: 28:[1, 28] Operation: 2+26=28 Exploring Operation: 26+1=27, Resulting Numbers: [2, 27] Generated Node #0,3,1: 28:[2, 27] Operation: 26+1=27 Exploring Operation: 2*1=2, Resulting Numbers: [26, 2] Generated Node #0,3,2: 28:[26, 2] Operation: 2*1=2 Exploring Operation: 26/2=13, Resulting Numbers: [1, 13] Generated Node #0,3,3: 28:[1, 13] Operation: 26/2=13 Moving to Node #0,3,0 Current State: 28:[1, 28], Operations: ['38-37=1', '2+26=28'] Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[37, 2, 38, 26], Operations: [] Exploring Operation: 38-37=1, Resulting Numbers: [2, 26, 1] Generated Node #0,3: 28:[2, 26, 1] Operation: 38-37=1 Moving to Node #0,3 Current State: 28:[2, 26, 1], Operations: ['38-37=1'] Exploring Operation: 2+26=28, Resulting Numbers: [1, 28] Generated Node #0,3,0: 28:[1, 28] Operation: 2+26=28 Moving to Node #0,3,0 Current State: 28:[1, 28], Operations: ['38-37=1', '2+26=28'] Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 72, 23, 23, 81 ]
37
[ "72+23=95", "81-23=58", "95-58=37" ]
Current State: 37:[72, 23, 23, 81], Operations: [] Exploring Operation: 72+23=95, Resulting Numbers: [81, 95] Generated Node #2: [81, 95] from Operation: 72+23=95 Current State: 37:[81, 95], Operations: ['72+23=95'] Exploring Operation: 81-23=58, Resulting Numbers: [95, 58] Generated Node #3: [95, 58] from Operation: 81-23=58 Current State: 37:[95, 58], Operations: ['72+23=95', '81-23=58'] Exploring Operation: 95-58=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[72, 23, 23, 81], Operations: [] Exploring Operation: 72-23=49, Resulting Numbers: [23, 81, 49] Generated Node #0,0: 37:[23, 81, 49] Operation: 72-23=49 Exploring Operation: 81-72=9, Resulting Numbers: [23, 23, 9] Generated Node #0,1: 37:[23, 23, 9] Operation: 81-72=9 Moving to Node #0,1 Current State: 37:[23, 23, 9], Operations: ['81-72=9'] Exploring Operation: 23+9=32, Resulting Numbers: [23, 32] Generated Node #0,1,0: 37:[23, 32] Operation: 23+9=32 Exploring Operation: 23+9=32, Resulting Numbers: [23, 32] Generated Node #0,1,1: 37:[23, 32] Operation: 23+9=32 Moving to Node #0,0 Current State: 37:[23, 81, 49], Operations: ['72-23=49'] Exploring Operation: 81-23=58, Resulting Numbers: [49, 58] Generated Node #0,0,0: 37:[49, 58] Operation: 81-23=58 Exploring Operation: 81-49=32, Resulting Numbers: [23, 32] Generated Node #0,0,1: 37:[23, 32] Operation: 81-49=32 Moving to Node #0,1,0 Current State: 37:[23, 32], Operations: ['81-72=9', '23+9=32'] Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[23, 32], Operations: ['72-23=49', '81-49=32'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[23, 32], Operations: ['81-72=9', '23+9=32'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[49, 58], Operations: ['72-23=49', '81-23=58'] Exploring Operation: 49+58=107, Resulting Numbers: [107] 107,37 unequal: No Solution Exploring Operation: 58-49=9, Resulting Numbers: [9] 9,37 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 12, 74, 31, 67 ]
36
[ "74-12=62", "31+67=98", "98-62=36" ]
Current State: 36:[12, 74, 31, 67], Operations: [] Exploring Operation: 74-12=62, Resulting Numbers: [31, 67, 62] Generated Node #2: [31, 67, 62] from Operation: 74-12=62 Current State: 36:[31, 67, 62], Operations: ['74-12=62'] Exploring Operation: 31+67=98, Resulting Numbers: [62, 98] Generated Node #3: [62, 98] from Operation: 31+67=98 Current State: 36:[62, 98], Operations: ['74-12=62', '31+67=98'] Exploring Operation: 98-62=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[12, 74, 31, 67], Operations: [] Exploring Operation: 74-31=43, Resulting Numbers: [12, 67, 43] Generated Node #0,0: 36:[12, 67, 43] Operation: 74-31=43 Exploring Operation: 67-31=36, Resulting Numbers: [12, 74, 36] Generated Node #0,1: 36:[12, 74, 36] Operation: 67-31=36 Exploring Operation: 74-67=7, Resulting Numbers: [12, 31, 7] Generated Node #0,2: 36:[12, 31, 7] Operation: 74-67=7 Exploring Operation: 74-12=62, Resulting Numbers: [31, 67, 62] Generated Node #0,3: 36:[31, 67, 62] Operation: 74-12=62 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[12, 31, 7], Operations: ['74-67=7'] Exploring Operation: 31-12=19, Resulting Numbers: [7, 19] Generated Node #0,2,0: 36:[7, 19] Operation: 31-12=19 Exploring Operation: 12-7=5, Resulting Numbers: [31, 5] Generated Node #0,2,1: 36:[31, 5] Operation: 12-7=5 Exploring Operation: 12+7=19, Resulting Numbers: [31, 19] Generated Node #0,2,2: 36:[31, 19] Operation: 12+7=19 Exploring Operation: 31+7=38, Resulting Numbers: [12, 38] Generated Node #0,2,3: 36:[12, 38] Operation: 31+7=38 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[7, 19], Operations: ['74-67=7', '31-12=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 36:[12, 38], Operations: ['74-67=7', '31+7=38'] Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,36 unequal: No Solution Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,36 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 36:[31, 5], Operations: ['74-67=7', '12-7=5'] Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[12, 74, 31, 67], Operations: [] Exploring Operation: 74-67=7, Resulting Numbers: [12, 31, 7] Generated Node #0,2: 36:[12, 31, 7] Operation: 74-67=7 Moving to Node #0,2 Current State: 36:[12, 31, 7], Operations: ['74-67=7'] Exploring Operation: 12-7=5, Resulting Numbers: [31, 5] Generated Node #0,2,1: 36:[31, 5] Operation: 12-7=5 Moving to Node #0,2,1 Current State: 36:[31, 5], Operations: ['74-67=7', '12-7=5'] Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 51, 72, 61, 5 ]
44
[ "72-51=21", "5*21=105", "105-61=44" ]
Current State: 44:[51, 72, 61, 5], Operations: [] Exploring Operation: 72-51=21, Resulting Numbers: [61, 5, 21] Generated Node #2: [61, 5, 21] from Operation: 72-51=21 Current State: 44:[61, 5, 21], Operations: ['72-51=21'] Exploring Operation: 5*21=105, Resulting Numbers: [61, 105] Generated Node #3: [61, 105] from Operation: 5*21=105 Current State: 44:[61, 105], Operations: ['72-51=21', '5*21=105'] Exploring Operation: 105-61=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[51, 72, 61, 5], Operations: [] Exploring Operation: 72-61=11, Resulting Numbers: [51, 5, 11] Generated Node #0,0: 44:[51, 5, 11] Operation: 72-61=11 Exploring Operation: 51-5=46, Resulting Numbers: [72, 61, 46] Generated Node #0,1: 44:[72, 61, 46] Operation: 51-5=46 Exploring Operation: 61-51=10, Resulting Numbers: [72, 5, 10] Generated Node #0,2: 44:[72, 5, 10] Operation: 61-51=10 Exploring Operation: 72-51=21, Resulting Numbers: [61, 5, 21] Generated Node #0,3: 44:[61, 5, 21] Operation: 72-51=21 Moving to Node #0,0 Current State: 44:[51, 5, 11], Operations: ['72-61=11'] Exploring Operation: 51+5=56, Resulting Numbers: [11, 56] Generated Node #0,0,0: 44:[11, 56] Operation: 51+5=56 Exploring Operation: 51-5=46, Resulting Numbers: [11, 46] Generated Node #0,0,1: 44:[11, 46] Operation: 51-5=46 Exploring Operation: 11-5=6, Resulting Numbers: [51, 6] Generated Node #0,0,2: 44:[51, 6] Operation: 11-5=6 Exploring Operation: 51-11=40, Resulting Numbers: [5, 40] Generated Node #0,0,3: 44:[5, 40] Operation: 51-11=40 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[11, 46], Operations: ['72-61=11', '51-5=46'] Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,44 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 44:[5, 40], Operations: ['72-61=11', '51-11=40'] Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[51, 6], Operations: ['72-61=11', '11-5=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,44 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[11, 56], Operations: ['72-61=11', '51+5=56'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,44 unequal: No Solution Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,44 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: 44:[61, 5, 21], Operations: ['72-51=21'] Exploring Operation: 5+21=26, Resulting Numbers: [61, 26] Generated Node #0,3,0: 44:[61, 26] Operation: 5+21=26 Exploring Operation: 21-5=16, Resulting Numbers: [61, 16] Generated Node #0,3,1: 44:[61, 16] Operation: 21-5=16 Exploring Operation: 61-21=40, Resulting Numbers: [5, 40] Generated Node #0,3,2: 44:[5, 40] Operation: 61-21=40 Exploring Operation: 61-5=56, Resulting Numbers: [21, 56] Generated Node #0,3,3: 44:[21, 56] Operation: 61-5=56 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 44:[5, 40], Operations: ['72-51=21', '61-21=40'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,44 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 44:[21, 56], Operations: ['72-51=21', '61-5=56'] Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 21+56=77, Resulting Numbers: [77] 77,44 unequal: No Solution Exploring Operation: 21*56=1176, Resulting Numbers: [1176] 1176,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 44:[61, 26], Operations: ['72-51=21', '5+21=26'] Exploring Operation: 61*26=1586, Resulting Numbers: [1586] 1586,44 unequal: No Solution Exploring Operation: 61+26=87, Resulting Numbers: [87] 87,44 unequal: No Solution Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 44:[61, 16], Operations: ['72-51=21', '21-5=16'] Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,44 unequal: No Solution Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,44 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: 44:[72, 5, 10], Operations: ['61-51=10'] Exploring Operation: 10-5=5, Resulting Numbers: [72, 5] Generated Node #0,2,0: 44:[72, 5] Operation: 10-5=5 Exploring Operation: 10/5=2, Resulting Numbers: [72, 2] Generated Node #0,2,1: 44:[72, 2] Operation: 10/5=2 Exploring Operation: 72-5=67, Resulting Numbers: [10, 67] Generated Node #0,2,2: 44:[10, 67] Operation: 72-5=67 Exploring Operation: 72-10=62, Resulting Numbers: [5, 62] Generated Node #0,2,3: 44:[5, 62] Operation: 72-10=62 Moving to Node #0,1 Current State: 44:[72, 61, 46], Operations: ['51-5=46'] Exploring Operation: 72+61=133, Resulting Numbers: [46, 133] Generated Node #0,1,0: 44:[46, 133] Operation: 72+61=133 Exploring Operation: 72-61=11, Resulting Numbers: [46, 11] Generated Node #0,1,1: 44:[46, 11] Operation: 72-61=11 Exploring Operation: 61-46=15, Resulting Numbers: [72, 15] Generated Node #0,1,2: 44:[72, 15] Operation: 61-46=15 Exploring Operation: 72-46=26, Resulting Numbers: [61, 26] Generated Node #0,1,3: 44:[61, 26] Operation: 72-46=26 Moving to Node #0,1,1 Current State: 44:[46, 11], Operations: ['51-5=46', '72-61=11'] Exploring Operation: 46+11=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 46*11=506, Resulting Numbers: [506] 506,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[5, 62], Operations: ['61-51=10', '72-10=62'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,44 unequal: No Solution Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[61, 26], Operations: ['51-5=46', '72-46=26'] Exploring Operation: 61*26=1586, Resulting Numbers: [1586] 1586,44 unequal: No Solution Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 61+26=87, Resulting Numbers: [87] 87,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[10, 67], Operations: ['61-51=10', '72-5=67'] Exploring Operation: 10*67=670, Resulting Numbers: [670] 670,44 unequal: No Solution Exploring Operation: 10+67=77, Resulting Numbers: [77] 77,44 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[72, 2], Operations: ['61-51=10', '10/5=2'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,44 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 72*2=144, Resulting Numbers: [144] 144,44 unequal: No Solution Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[72, 5], Operations: ['61-51=10', '10-5=5'] Exploring Operation: 72*5=360, Resulting Numbers: [360] 360,44 unequal: No Solution Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,44 unequal: No Solution Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[72, 15], Operations: ['51-5=46', '61-46=15'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 72+15=87, Resulting Numbers: [87] 87,44 unequal: No Solution Exploring Operation: 72*15=1080, Resulting Numbers: [1080] 1080,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[46, 133], Operations: ['51-5=46', '72+61=133'] Exploring Operation: 46*133=6118, Resulting Numbers: [6118] 6118,44 unequal: No Solution Exploring Operation: 46+133=179, Resulting Numbers: [179] 179,44 unequal: No Solution Exploring Operation: 133-46=87, Resulting Numbers: [87] 87,44 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 46, 13, 72, 34 ]
19
[ "46-34=12", "72/12=6", "13+6=19" ]
Current State: 19:[46, 13, 72, 34], Operations: [] Exploring Operation: 46-34=12, Resulting Numbers: [13, 72, 12] Generated Node #2: [13, 72, 12] from Operation: 46-34=12 Current State: 19:[13, 72, 12], Operations: ['46-34=12'] Exploring Operation: 72/12=6, Resulting Numbers: [13, 6] Generated Node #3: [13, 6] from Operation: 72/12=6 Current State: 19:[13, 6], Operations: ['46-34=12', '72/12=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[46, 13, 72, 34], Operations: [] Exploring Operation: 46-34=12, Resulting Numbers: [13, 72, 12] Generated Node #0,0: 19:[13, 72, 12] Operation: 46-34=12 Exploring Operation: 72-46=26, Resulting Numbers: [13, 34, 26] Generated Node #0,1: 19:[13, 34, 26] Operation: 72-46=26 Exploring Operation: 72-34=38, Resulting Numbers: [46, 13, 38] Generated Node #0,2: 19:[46, 13, 38] Operation: 72-34=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[13, 34, 26], Operations: ['72-46=26'] Exploring Operation: 34-26=8, Resulting Numbers: [13, 8] Generated Node #0,1,0: 19:[13, 8] Operation: 34-26=8 Exploring Operation: 34-13=21, Resulting Numbers: [26, 21] Generated Node #0,1,1: 19:[26, 21] Operation: 34-13=21 Exploring Operation: 26-13=13, Resulting Numbers: [34, 13] Generated Node #0,1,2: 19:[34, 13] Operation: 26-13=13 Moving to Node #0,1,1 Current State: 19:[26, 21], Operations: ['72-46=26', '34-13=21'] Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 26*21=546, Resulting Numbers: [546] 546,19 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[13, 8], Operations: ['72-46=26', '34-26=8'] Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,19 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[34, 13], Operations: ['72-46=26', '26-13=13'] Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,19 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[46, 13, 38], Operations: ['72-34=38'] Exploring Operation: 46-38=8, Resulting Numbers: [13, 8] Generated Node #0,2,0: 19:[13, 8] Operation: 46-38=8 Exploring Operation: 38-13=25, Resulting Numbers: [46, 25] Generated Node #0,2,1: 19:[46, 25] Operation: 38-13=25 Exploring Operation: 46-13=33, Resulting Numbers: [38, 33] Generated Node #0,2,2: 19:[38, 33] Operation: 46-13=33 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 19:[13, 8], Operations: ['72-34=38', '46-38=8'] Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,19 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 19:[46, 25], Operations: ['72-34=38', '38-13=25'] Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 46*25=1150, Resulting Numbers: [1150] 1150,19 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[38, 33], Operations: ['72-34=38', '46-13=33'] Exploring Operation: 38*33=1254, Resulting Numbers: [1254] 1254,19 unequal: No Solution Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,19 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[13, 72, 12], Operations: ['46-34=12'] Exploring Operation: 72/12=6, Resulting Numbers: [13, 6] Generated Node #0,0,0: 19:[13, 6] Operation: 72/12=6 Exploring Operation: 72-13=59, Resulting Numbers: [12, 59] Generated Node #0,0,1: 19:[12, 59] Operation: 72-13=59 Exploring Operation: 72-12=60, Resulting Numbers: [13, 60] Generated Node #0,0,2: 19:[13, 60] Operation: 72-12=60 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[13, 6], Operations: ['46-34=12', '72/12=6'] Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,19 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[46, 13, 72, 34], Operations: [] Exploring Operation: 46-34=12, Resulting Numbers: [13, 72, 12] Generated Node #0,0: 19:[13, 72, 12] Operation: 46-34=12 Moving to Node #0,0 Current State: 19:[13, 72, 12], Operations: ['46-34=12'] Exploring Operation: 72/12=6, Resulting Numbers: [13, 6] Generated Node #0,0,0: 19:[13, 6] Operation: 72/12=6 Moving to Node #0,0,0 Current State: 19:[13, 6], Operations: ['46-34=12', '72/12=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_3
sum_heuristic
[ 14, 27, 76, 10 ]
32
[ "14-10=4", "27*4=108", "108-76=32" ]
Current State: 32:[14, 27, 76, 10], Operations: [] Exploring Operation: 14-10=4, Resulting Numbers: [27, 76, 4] Generated Node #2: [27, 76, 4] from Operation: 14-10=4 Current State: 32:[27, 76, 4], Operations: ['14-10=4'] Exploring Operation: 27*4=108, Resulting Numbers: [76, 108] Generated Node #3: [76, 108] from Operation: 27*4=108 Current State: 32:[76, 108], Operations: ['14-10=4', '27*4=108'] Exploring Operation: 108-76=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[14, 27, 76, 10], Operations: [] Exploring Operation: 27-10=17, Resulting Numbers: [14, 76, 17] Generated Node #0,0: 32:[14, 76, 17] Operation: 27-10=17 Exploring Operation: 76-14=62, Resulting Numbers: [27, 10, 62] Generated Node #0,1: 32:[27, 10, 62] Operation: 76-14=62 Exploring Operation: 76-10=66, Resulting Numbers: [14, 27, 66] Generated Node #0,2: 32:[14, 27, 66] Operation: 76-10=66 Exploring Operation: 27-14=13, Resulting Numbers: [76, 10, 13] Generated Node #0,3: 32:[76, 10, 13] Operation: 27-14=13 Exploring Operation: 76-27=49, Resulting Numbers: [14, 10, 49] Generated Node #0,4: 32:[14, 10, 49] Operation: 76-27=49 Start Sub Search at level 1: Moving to Node #0,4 Current State: 32:[14, 10, 49], Operations: ['76-27=49'] Exploring Operation: 14-10=4, Resulting Numbers: [49, 4] Generated Node #0,4,0: 32:[49, 4] Operation: 14-10=4 Exploring Operation: 14+10=24, Resulting Numbers: [49, 24] Generated Node #0,4,1: 32:[49, 24] Operation: 14+10=24 Exploring Operation: 10+49=59, Resulting Numbers: [14, 59] Generated Node #0,4,2: 32:[14, 59] Operation: 10+49=59 Exploring Operation: 49-10=39, Resulting Numbers: [14, 39] Generated Node #0,4,3: 32:[14, 39] Operation: 49-10=39 Exploring Operation: 49-14=35, Resulting Numbers: [10, 35] Generated Node #0,4,4: 32:[10, 35] Operation: 49-14=35 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 32:[10, 35], Operations: ['76-27=49', '49-14=35'] Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,32 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 32:[14, 39], Operations: ['76-27=49', '49-10=39'] Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,32 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 14*39=546, Resulting Numbers: [546] 546,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 32:[49, 4], Operations: ['76-27=49', '14-10=4'] Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,32 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,32 unequal: No Solution Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 32:[49, 24], Operations: ['76-27=49', '14+10=24'] Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 32:[14, 59], Operations: ['76-27=49', '10+49=59'] Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,32 unequal: No Solution Exploring Operation: 14*59=826, Resulting Numbers: [826] 826,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[27, 10, 62], Operations: ['76-14=62'] Exploring Operation: 62-27=35, Resulting Numbers: [10, 35] Generated Node #0,1,0: 32:[10, 35] Operation: 62-27=35 Exploring Operation: 62-10=52, Resulting Numbers: [27, 52] Generated Node #0,1,1: 32:[27, 52] Operation: 62-10=52 Exploring Operation: 27+10=37, Resulting Numbers: [62, 37] Generated Node #0,1,2: 32:[62, 37] Operation: 27+10=37 Exploring Operation: 27-10=17, Resulting Numbers: [62, 17] Generated Node #0,1,3: 32:[62, 17] Operation: 27-10=17 Exploring Operation: 10+62=72, Resulting Numbers: [27, 72] Generated Node #0,1,4: 32:[27, 72] Operation: 10+62=72 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 32:[10, 35], Operations: ['76-14=62', '62-27=35'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,32 unequal: No Solution Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[27, 52], Operations: ['76-14=62', '62-10=52'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,32 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 32:[62, 17], Operations: ['76-14=62', '27-10=17'] Exploring Operation: 62+17=79, Resulting Numbers: [79] 79,32 unequal: No Solution Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,32 unequal: No Solution Exploring Operation: 62*17=1054, Resulting Numbers: [1054] 1054,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 32:[62, 37], Operations: ['76-14=62', '27+10=37'] Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 62+37=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 62*37=2294, Resulting Numbers: [2294] 2294,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 32:[27, 72], Operations: ['76-14=62', '10+62=72'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,32 unequal: No Solution Exploring Operation: 27*72=1944, Resulting Numbers: [1944] 1944,32 unequal: No Solution Exploring Operation: 27+72=99, Resulting Numbers: [99] 99,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[14, 27, 66], Operations: ['76-10=66'] Exploring Operation: 66-14=52, Resulting Numbers: [27, 52] Generated Node #0,2,0: 32:[27, 52] Operation: 66-14=52 Exploring Operation: 14+66=80, Resulting Numbers: [27, 80] Generated Node #0,2,1: 32:[27, 80] Operation: 14+66=80 Exploring Operation: 27-14=13, Resulting Numbers: [66, 13] Generated Node #0,2,2: 32:[66, 13] Operation: 27-14=13 Exploring Operation: 14+27=41, Resulting Numbers: [66, 41] Generated Node #0,2,3: 32:[66, 41] Operation: 14+27=41 Exploring Operation: 66-27=39, Resulting Numbers: [14, 39] Generated Node #0,2,4: 32:[14, 39] Operation: 66-27=39 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 32:[14, 39], Operations: ['76-10=66', '66-27=39'] Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,32 unequal: No Solution Exploring Operation: 14*39=546, Resulting Numbers: [546] 546,32 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 32:[27, 52], Operations: ['76-10=66', '66-14=52'] Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,32 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 32:[66, 13], Operations: ['76-10=66', '27-14=13'] Exploring Operation: 66*13=858, Resulting Numbers: [858] 858,32 unequal: No Solution Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,32 unequal: No Solution Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 32:[66, 41], Operations: ['76-10=66', '14+27=41'] Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,32 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 32:[27, 80], Operations: ['76-10=66', '14+66=80'] Exploring Operation: 27+80=107, Resulting Numbers: [107] 107,32 unequal: No Solution Exploring Operation: 27*80=2160, Resulting Numbers: [2160] 2160,32 unequal: No Solution Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[14, 76, 17], Operations: ['27-10=17'] Exploring Operation: 76-14=62, Resulting Numbers: [17, 62] Generated Node #0,0,0: 32:[17, 62] Operation: 76-14=62 Exploring Operation: 14+76=90, Resulting Numbers: [17, 90] Generated Node #0,0,1: 32:[17, 90] Operation: 14+76=90 Exploring Operation: 76-17=59, Resulting Numbers: [14, 59] Generated Node #0,0,2: 32:[14, 59] Operation: 76-17=59 Exploring Operation: 17-14=3, Resulting Numbers: [76, 3] Generated Node #0,0,3: 32:[76, 3] Operation: 17-14=3 Exploring Operation: 14+17=31, Resulting Numbers: [76, 31] Generated Node #0,0,4: 32:[76, 31] Operation: 14+17=31 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 32:[14, 59], Operations: ['27-10=17', '76-17=59'] Exploring Operation: 14*59=826, Resulting Numbers: [826] 826,32 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,32 unequal: No Solution Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[17, 62], Operations: ['27-10=17', '76-14=62'] Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,32 unequal: No Solution Exploring Operation: 17+62=79, Resulting Numbers: [79] 79,32 unequal: No Solution Exploring Operation: 17*62=1054, Resulting Numbers: [1054] 1054,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 32:[76, 3], Operations: ['27-10=17', '17-14=3'] Exploring Operation: 76*3=228, Resulting Numbers: [228] 228,32 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 76+3=79, Resulting Numbers: [79] 79,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 32:[76, 31], Operations: ['27-10=17', '14+17=31'] Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,32 unequal: No Solution Exploring Operation: 76*31=2356, Resulting Numbers: [2356] 2356,32 unequal: No Solution Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[17, 90], Operations: ['27-10=17', '14+76=90'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 17*90=1530, Resulting Numbers: [1530] 1530,32 unequal: No Solution Exploring Operation: 17+90=107, Resulting Numbers: [107] 107,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[76, 10, 13], Operations: ['27-14=13'] Exploring Operation: 76-10=66, Resulting Numbers: [13, 66] Generated Node #0,3,0: 32:[13, 66] Operation: 76-10=66 Exploring Operation: 76-13=63, Resulting Numbers: [10, 63] Generated Node #0,3,1: 32:[10, 63] Operation: 76-13=63 Exploring Operation: 10+13=23, Resulting Numbers: [76, 23] Generated Node #0,3,2: 32:[76, 23] Operation: 10+13=23 Exploring Operation: 76+10=86, Resulting Numbers: [13, 86] Generated Node #0,3,3: 32:[13, 86] Operation: 76+10=86 Exploring Operation: 13-10=3, Resulting Numbers: [76, 3] Generated Node #0,3,4: 32:[76, 3] Operation: 13-10=3 Moving to Node #0,3,1 Current State: 32:[10, 63], Operations: ['27-14=13', '76-13=63'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,32 unequal: No Solution Exploring Operation: 10+63=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 10*63=630, Resulting Numbers: [630] 630,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[13, 66], Operations: ['27-14=13', '76-10=66'] Exploring Operation: 13*66=858, Resulting Numbers: [858] 858,32 unequal: No Solution Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,32 unequal: No Solution Exploring Operation: 13+66=79, Resulting Numbers: [79] 79,32 unequal: No Solution Moving to Node #0,3,4 Current State: 32:[76, 3], Operations: ['27-14=13', '13-10=3'] Exploring Operation: 76*3=228, Resulting Numbers: [228] 228,32 unequal: No Solution Exploring Operation: 76+3=79, Resulting Numbers: [79] 79,32 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,32 unequal: No Solution Moving to Node #0,3,2 Current State: 32:[76, 23], Operations: ['27-14=13', '10+13=23'] Exploring Operation: 76+23=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 76*23=1748, Resulting Numbers: [1748] 1748,32 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[13, 86], Operations: ['27-14=13', '76+10=86'] Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 13+86=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 13*86=1118, Resulting Numbers: [1118] 1118,32 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
[ 99, 15, 35, 33 ]
53
[ "99/33=3", "15+35=50", "3+50=53" ]
Current State: 53:[99, 15, 35, 33], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [15, 35, 3] Generated Node #2: [15, 35, 3] from Operation: 99/33=3 Current State: 53:[15, 35, 3], Operations: ['99/33=3'] Exploring Operation: 15+35=50, Resulting Numbers: [3, 50] Generated Node #3: [3, 50] from Operation: 15+35=50 Current State: 53:[3, 50], Operations: ['99/33=3', '15+35=50'] Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[99, 15, 35, 33], Operations: [] Exploring Operation: 99-15=84, Resulting Numbers: [35, 33, 84] Generated Node #0,0: 53:[35, 33, 84] Operation: 99-15=84 Exploring Operation: 15+35=50, Resulting Numbers: [99, 33, 50] Generated Node #0,1: 53:[99, 33, 50] Operation: 15+35=50 Exploring Operation: 99-33=66, Resulting Numbers: [15, 35, 66] Generated Node #0,2: 53:[15, 35, 66] Operation: 99-33=66 Exploring Operation: 15+33=48, Resulting Numbers: [99, 35, 48] Generated Node #0,3: 53:[99, 35, 48] Operation: 15+33=48 Exploring Operation: 99-35=64, Resulting Numbers: [15, 33, 64] Generated Node #0,4: 53:[15, 33, 64] Operation: 99-35=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[35, 33, 84], Operations: ['99-15=84'] Exploring Operation: 84-33=51, Resulting Numbers: [35, 51] Generated Node #0,0,0: 53:[35, 51] Operation: 84-33=51 Exploring Operation: 33+84=117, Resulting Numbers: [35, 117] Generated Node #0,0,1: 53:[35, 117] Operation: 33+84=117 Exploring Operation: 35+33=68, Resulting Numbers: [84, 68] Generated Node #0,0,2: 53:[84, 68] Operation: 35+33=68 Exploring Operation: 35-33=2, Resulting Numbers: [84, 2] Generated Node #0,0,3: 53:[84, 2] Operation: 35-33=2 Exploring Operation: 84-35=49, Resulting Numbers: [33, 49] Generated Node #0,0,4: 53:[33, 49] Operation: 84-35=49 Moving to Node #0,0,0 Current State: 53:[35, 51], Operations: ['99-15=84', '84-33=51'] Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 35+51=86, Resulting Numbers: [86] 86,53 unequal: No Solution Exploring Operation: 35*51=1785, Resulting Numbers: [1785] 1785,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[33, 49], Operations: ['99-15=84', '84-35=49'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 33+49=82, Resulting Numbers: [82] 82,53 unequal: No Solution Exploring Operation: 33*49=1617, Resulting Numbers: [1617] 1617,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[84, 68], Operations: ['99-15=84', '35+33=68'] Exploring Operation: 84*68=5712, Resulting Numbers: [5712] 5712,53 unequal: No Solution Exploring Operation: 84-68=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 84+68=152, Resulting Numbers: [152] 152,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[35, 117], Operations: ['99-15=84', '33+84=117'] Exploring Operation: 35+117=152, Resulting Numbers: [152] 152,53 unequal: No Solution Exploring Operation: 35*117=4095, Resulting Numbers: [4095] 4095,53 unequal: No Solution Exploring Operation: 117-35=82, Resulting Numbers: [82] 82,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[84, 2], Operations: ['99-15=84', '35-33=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,53 unequal: No Solution Exploring Operation: 84*2=168, Resulting Numbers: [168] 168,53 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,53 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[99, 33, 50], Operations: ['15+35=50'] Exploring Operation: 99+33=132, Resulting Numbers: [50, 132] Generated Node #0,1,0: 53:[50, 132] Operation: 99+33=132 Exploring Operation: 99/33=3, Resulting Numbers: [50, 3] Generated Node #0,1,1: 53:[50, 3] Operation: 99/33=3 Exploring Operation: 33+50=83, Resulting Numbers: [99, 83] Generated Node #0,1,2: 53:[99, 83] Operation: 33+50=83 Exploring Operation: 99-50=49, Resulting Numbers: [33, 49] Generated Node #0,1,3: 53:[33, 49] Operation: 99-50=49 Exploring Operation: 99-33=66, Resulting Numbers: [50, 66] Generated Node #0,1,4: 53:[50, 66] Operation: 99-33=66 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 53:[50, 66], Operations: ['15+35=50', '99-33=66'] Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 50*66=3300, Resulting Numbers: [3300] 3300,53 unequal: No Solution Exploring Operation: 50+66=116, Resulting Numbers: [116] 116,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 53:[33, 49], Operations: ['15+35=50', '99-50=49'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 33*49=1617, Resulting Numbers: [1617] 1617,53 unequal: No Solution Exploring Operation: 33+49=82, Resulting Numbers: [82] 82,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[50, 3], Operations: ['15+35=50', '99/33=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[99, 15, 35, 33], Operations: [] Exploring Operation: 15+35=50, Resulting Numbers: [99, 33, 50] Generated Node #0,1: 53:[99, 33, 50] Operation: 15+35=50 Moving to Node #0,1 Current State: 53:[99, 33, 50], Operations: ['15+35=50'] Exploring Operation: 99/33=3, Resulting Numbers: [50, 3] Generated Node #0,1,1: 53:[50, 3] Operation: 99/33=3 Moving to Node #0,1,1 Current State: 53:[50, 3], Operations: ['15+35=50', '99/33=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 41, 99, 72, 41 ]
89
[ "99-41=58", "72-41=31", "58+31=89" ]
Current State: 89:[41, 99, 72, 41], Operations: [] Exploring Operation: 99-41=58, Resulting Numbers: [72, 58] Generated Node #2: [72, 58] from Operation: 99-41=58 Current State: 89:[72, 58], Operations: ['99-41=58'] Exploring Operation: 72-41=31, Resulting Numbers: [58, 31] Generated Node #3: [58, 31] from Operation: 72-41=31 Current State: 89:[58, 31], Operations: ['99-41=58', '72-41=31'] Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[41, 99, 72, 41], Operations: [] Exploring Operation: 41+41=82, Resulting Numbers: [99, 72, 82] Generated Node #0,0: 89:[99, 72, 82] Operation: 41+41=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[99, 72, 82], Operations: ['41+41=82'] Exploring Operation: 99-72=27, Resulting Numbers: [82, 27] Generated Node #0,0,0: 89:[82, 27] Operation: 99-72=27 Moving to Node #0,0,0 Current State: 89:[82, 27], Operations: ['41+41=82', '99-72=27'] Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,89 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
[ 68, 24, 98, 71 ]
77
[ "68+24=92", "98+71=169", "169-92=77" ]
Current State: 77:[68, 24, 98, 71], Operations: [] Exploring Operation: 68+24=92, Resulting Numbers: [98, 71, 92] Generated Node #2: [98, 71, 92] from Operation: 68+24=92 Current State: 77:[98, 71, 92], Operations: ['68+24=92'] Exploring Operation: 98+71=169, Resulting Numbers: [92, 169] Generated Node #3: [92, 169] from Operation: 98+71=169 Current State: 77:[92, 169], Operations: ['68+24=92', '98+71=169'] Exploring Operation: 169-92=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[68, 24, 98, 71], Operations: [] Exploring Operation: 71-68=3, Resulting Numbers: [24, 98, 3] Generated Node #0,0: 77:[24, 98, 3] Operation: 71-68=3 Exploring Operation: 98-24=74, Resulting Numbers: [68, 71, 74] Generated Node #0,1: 77:[68, 71, 74] Operation: 98-24=74 Exploring Operation: 98-71=27, Resulting Numbers: [68, 24, 27] Generated Node #0,2: 77:[68, 24, 27] Operation: 98-71=27 Exploring Operation: 98-68=30, Resulting Numbers: [24, 71, 30] Generated Node #0,3: 77:[24, 71, 30] Operation: 98-68=30 Exploring Operation: 68+24=92, Resulting Numbers: [98, 71, 92] Generated Node #0,4: 77:[98, 71, 92] Operation: 68+24=92 Moving to Node #0,1 Current State: 77:[68, 71, 74], Operations: ['98-24=74'] Exploring Operation: 74-71=3, Resulting Numbers: [68, 3] Generated Node #0,1,0: 77:[68, 3] Operation: 74-71=3 Exploring Operation: 71-68=3, Resulting Numbers: [74, 3] Generated Node #0,1,1: 77:[74, 3] Operation: 71-68=3 Exploring Operation: 68+74=142, Resulting Numbers: [71, 142] Generated Node #0,1,2: 77:[71, 142] Operation: 68+74=142 Exploring Operation: 74-68=6, Resulting Numbers: [71, 6] Generated Node #0,1,3: 77:[71, 6] Operation: 74-68=6 Exploring Operation: 68+71=139, Resulting Numbers: [74, 139] Generated Node #0,1,4: 77:[74, 139] Operation: 68+71=139 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[74, 3], Operations: ['98-24=74', '71-68=3'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,77 unequal: No Solution Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[68, 24, 98, 71], Operations: [] Exploring Operation: 98-24=74, Resulting Numbers: [68, 71, 74] Generated Node #0,1: 77:[68, 71, 74] Operation: 98-24=74 Moving to Node #0,1 Current State: 77:[68, 71, 74], Operations: ['98-24=74'] Exploring Operation: 71-68=3, Resulting Numbers: [74, 3] Generated Node #0,1,1: 77:[74, 3] Operation: 71-68=3 Moving to Node #0,1,1 Current State: 77:[74, 3], Operations: ['98-24=74', '71-68=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 82, 52, 43, 8 ]
10
[ "82+8=90", "52-43=9", "90/9=10" ]
Current State: 10:[82, 52, 43, 8], Operations: [] Exploring Operation: 82+8=90, Resulting Numbers: [52, 43, 90] Generated Node #2: [52, 43, 90] from Operation: 82+8=90 Current State: 10:[52, 43, 90], Operations: ['82+8=90'] Exploring Operation: 52-43=9, Resulting Numbers: [90, 9] Generated Node #3: [90, 9] from Operation: 52-43=9 Current State: 10:[90, 9], Operations: ['82+8=90', '52-43=9'] Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[82, 52, 43, 8], Operations: [] Exploring Operation: 82-52=30, Resulting Numbers: [43, 8, 30] Generated Node #0,0: 10:[43, 8, 30] Operation: 82-52=30 Exploring Operation: 52-43=9, Resulting Numbers: [82, 8, 9] Generated Node #0,1: 10:[82, 8, 9] Operation: 52-43=9 Exploring Operation: 82-43=39, Resulting Numbers: [52, 8, 39] Generated Node #0,2: 10:[52, 8, 39] Operation: 82-43=39 Moving to Node #0,0 Current State: 10:[43, 8, 30], Operations: ['82-52=30'] Exploring Operation: 30-8=22, Resulting Numbers: [43, 22] Generated Node #0,0,0: 10:[43, 22] Operation: 30-8=22 Exploring Operation: 43-8=35, Resulting Numbers: [30, 35] Generated Node #0,0,1: 10:[30, 35] Operation: 43-8=35 Exploring Operation: 43-30=13, Resulting Numbers: [8, 13] Generated Node #0,0,2: 10:[8, 13] Operation: 43-30=13 Moving to Node #0,2 Current State: 10:[52, 8, 39], Operations: ['82-43=39'] Exploring Operation: 39-8=31, Resulting Numbers: [52, 31] Generated Node #0,2,0: 10:[52, 31] Operation: 39-8=31 Exploring Operation: 52-8=44, Resulting Numbers: [39, 44] Generated Node #0,2,1: 10:[39, 44] Operation: 52-8=44 Exploring Operation: 52-39=13, Resulting Numbers: [8, 13] Generated Node #0,2,2: 10:[8, 13] Operation: 52-39=13 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[8, 13], Operations: ['82-43=39', '52-39=13'] Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,10 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[52, 31], Operations: ['82-43=39', '39-8=31'] Exploring Operation: 52*31=1612, Resulting Numbers: [1612] 1612,10 unequal: No Solution Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 52+31=83, Resulting Numbers: [83] 83,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[39, 44], Operations: ['82-43=39', '52-8=44'] Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 39*44=1716, Resulting Numbers: [1716] 1716,10 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: 10:[82, 8, 9], Operations: ['52-43=9'] Exploring Operation: 9-8=1, Resulting Numbers: [82, 1] Generated Node #0,1,0: 10:[82, 1] Operation: 9-8=1 Exploring Operation: 82-9=73, Resulting Numbers: [8, 73] Generated Node #0,1,1: 10:[8, 73] Operation: 82-9=73 Exploring Operation: 82-8=74, Resulting Numbers: [9, 74] Generated Node #0,1,2: 10:[9, 74] Operation: 82-8=74 Moving to Node #0,0,2 Current State: 10:[8, 13], Operations: ['82-52=30', '43-30=13'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,10 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[30, 35], Operations: ['82-52=30', '43-8=35'] Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,10 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[43, 22], Operations: ['82-52=30', '30-8=22'] Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[8, 73], Operations: ['52-43=9', '82-9=73'] Exploring Operation: 73-8=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 8*73=584, Resulting Numbers: [584] 584,10 unequal: No Solution Exploring Operation: 8+73=81, Resulting Numbers: [81] 81,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[9, 74], Operations: ['52-43=9', '82-8=74'] Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 9*74=666, Resulting Numbers: [666] 666,10 unequal: No Solution Exploring Operation: 9+74=83, Resulting Numbers: [83] 83,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[82, 1], Operations: ['52-43=9', '9-8=1'] Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,10 unequal: No Solution Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,10 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 76, 85, 8, 48 ]
14
[ "85+48=133", "8*133=1064", "1064/76=14" ]
Current State: 14:[76, 85, 8, 48], Operations: [] Exploring Operation: 85+48=133, Resulting Numbers: [76, 8, 133] Generated Node #2: [76, 8, 133] from Operation: 85+48=133 Current State: 14:[76, 8, 133], Operations: ['85+48=133'] Exploring Operation: 8*133=1064, Resulting Numbers: [76, 1064] Generated Node #3: [76, 1064] from Operation: 8*133=1064 Current State: 14:[76, 1064], Operations: ['85+48=133', '8*133=1064'] Exploring Operation: 1064/76=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[76, 85, 8, 48], Operations: [] Exploring Operation: 85-48=37, Resulting Numbers: [76, 8, 37] Generated Node #0,0: 14:[76, 8, 37] Operation: 85-48=37 Exploring Operation: 85-76=9, Resulting Numbers: [8, 48, 9] Generated Node #0,1: 14:[8, 48, 9] Operation: 85-76=9 Exploring Operation: 76-48=28, Resulting Numbers: [85, 8, 28] Generated Node #0,2: 14:[85, 8, 28] Operation: 76-48=28 Moving to Node #0,1 Current State: 14:[8, 48, 9], Operations: ['85-76=9'] Exploring Operation: 48-9=39, Resulting Numbers: [8, 39] Generated Node #0,1,0: 14:[8, 39] Operation: 48-9=39 Exploring Operation: 48-8=40, Resulting Numbers: [9, 40] Generated Node #0,1,1: 14:[9, 40] Operation: 48-8=40 Exploring Operation: 48/8=6, Resulting Numbers: [9, 6] Generated Node #0,1,2: 14:[9, 6] Operation: 48/8=6 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 14:[9, 6], Operations: ['85-76=9', '48/8=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,14 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[8, 39], Operations: ['85-76=9', '48-9=39'] Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,14 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[9, 40], Operations: ['85-76=9', '48-8=40'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,14 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: 14:[76, 8, 37], Operations: ['85-48=37'] Exploring Operation: 76-37=39, Resulting Numbers: [8, 39] Generated Node #0,0,0: 14:[8, 39] Operation: 76-37=39 Exploring Operation: 37-8=29, Resulting Numbers: [76, 29] Generated Node #0,0,1: 14:[76, 29] Operation: 37-8=29 Exploring Operation: 76-8=68, Resulting Numbers: [37, 68] Generated Node #0,0,2: 14:[37, 68] Operation: 76-8=68 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[8, 39], Operations: ['85-48=37', '76-37=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[76, 29], Operations: ['85-48=37', '37-8=29'] Exploring Operation: 76+29=105, Resulting Numbers: [105] 105,14 unequal: No Solution Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 76*29=2204, Resulting Numbers: [2204] 2204,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 14:[37, 68], Operations: ['85-48=37', '76-8=68'] Exploring Operation: 37*68=2516, Resulting Numbers: [2516] 2516,14 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 37+68=105, Resulting Numbers: [105] 105,14 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: 14:[85, 8, 28], Operations: ['76-48=28'] Exploring Operation: 85-8=77, Resulting Numbers: [28, 77] Generated Node #0,2,0: 14:[28, 77] Operation: 85-8=77 Exploring Operation: 85-28=57, Resulting Numbers: [8, 57] Generated Node #0,2,1: 14:[8, 57] Operation: 85-28=57 Exploring Operation: 28-8=20, Resulting Numbers: [85, 20] Generated Node #0,2,2: 14:[85, 20] Operation: 28-8=20 Moving to Node #0,2,1 Current State: 14:[8, 57], Operations: ['76-48=28', '85-28=57'] Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,14 unequal: No Solution Exploring Operation: 8*57=456, Resulting Numbers: [456] 456,14 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[28, 77], Operations: ['76-48=28', '85-8=77'] Exploring Operation: 28+77=105, Resulting Numbers: [105] 105,14 unequal: No Solution Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 28*77=2156, Resulting Numbers: [2156] 2156,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[85, 20], Operations: ['76-48=28', '28-8=20'] Exploring Operation: 85-20=65, Resulting Numbers: [65] 65,14 unequal: No Solution Exploring Operation: 85*20=1700, Resulting Numbers: [1700] 1700,14 unequal: No Solution Exploring Operation: 85+20=105, Resulting Numbers: [105] 105,14 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 20, 33, 63, 20 ]
29
[ "20/20=1", "63-33=30", "30-1=29" ]
Current State: 29:[20, 33, 63, 20], Operations: [] Exploring Operation: 20/20=1, Resulting Numbers: [33, 63, 1] Generated Node #2: [33, 63, 1] from Operation: 20/20=1 Current State: 29:[33, 63, 1], Operations: ['20/20=1'] Exploring Operation: 63-33=30, Resulting Numbers: [1, 30] Generated Node #3: [1, 30] from Operation: 63-33=30 Current State: 29:[1, 30], Operations: ['20/20=1', '63-33=30'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[20, 33, 63, 20], Operations: [] Exploring Operation: 63-33=30, Resulting Numbers: [20, 20, 30] Generated Node #0,0: 29:[20, 20, 30] Operation: 63-33=30 Moving to Node #0,0 Current State: 29:[20, 20, 30], Operations: ['63-33=30'] Exploring Operation: 20+20=40, Resulting Numbers: [30, 40] Generated Node #0,0,0: 29:[30, 40] Operation: 20+20=40 Moving to Node #0,0,0 Current State: 29:[30, 40], Operations: ['63-33=30', '20+20=40'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,29 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 46, 36, 71, 47 ]
34
[ "46-36=10", "71-47=24", "10+24=34" ]
Current State: 34:[46, 36, 71, 47], Operations: [] Exploring Operation: 46-36=10, Resulting Numbers: [71, 47, 10] Generated Node #2: [71, 47, 10] from Operation: 46-36=10 Current State: 34:[71, 47, 10], Operations: ['46-36=10'] Exploring Operation: 71-47=24, Resulting Numbers: [10, 24] Generated Node #3: [10, 24] from Operation: 71-47=24 Current State: 34:[10, 24], Operations: ['46-36=10', '71-47=24'] Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[46, 36, 71, 47], Operations: [] Exploring Operation: 71-47=24, Resulting Numbers: [46, 36, 24] Generated Node #0,0: 34:[46, 36, 24] Operation: 71-47=24 Moving to Node #0,0 Current State: 34:[46, 36, 24], Operations: ['71-47=24'] Exploring Operation: 46-24=22, Resulting Numbers: [36, 22] Generated Node #0,0,0: 34:[36, 22] Operation: 46-24=22 Moving to Node #0,0,0 Current State: 34:[36, 22], Operations: ['71-47=24', '46-24=22'] Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,34 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 11, 9, 4, 12 ]
45
[ "11+4=15", "12-9=3", "15*3=45" ]
Current State: 45:[11, 9, 4, 12], Operations: [] Exploring Operation: 11+4=15, Resulting Numbers: [9, 12, 15] Generated Node #2: [9, 12, 15] from Operation: 11+4=15 Current State: 45:[9, 12, 15], Operations: ['11+4=15'] Exploring Operation: 12-9=3, Resulting Numbers: [15, 3] Generated Node #3: [15, 3] from Operation: 12-9=3 Current State: 45:[15, 3], Operations: ['11+4=15', '12-9=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[11, 9, 4, 12], Operations: [] Exploring Operation: 12/4=3, Resulting Numbers: [11, 9, 3] Generated Node #0,0: 45:[11, 9, 3] Operation: 12/4=3 Exploring Operation: 12-11=1, Resulting Numbers: [9, 4, 1] Generated Node #0,1: 45:[9, 4, 1] Operation: 12-11=1 Exploring Operation: 11+4=15, Resulting Numbers: [9, 12, 15] Generated Node #0,2: 45:[9, 12, 15] Operation: 11+4=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[11, 9, 3], Operations: ['12/4=3'] Exploring Operation: 11-3=8, Resulting Numbers: [9, 8] Generated Node #0,0,0: 45:[9, 8] Operation: 11-3=8 Exploring Operation: 11+3=14, Resulting Numbers: [9, 14] Generated Node #0,0,1: 45:[9, 14] Operation: 11+3=14 Exploring Operation: 11-9=2, Resulting Numbers: [3, 2] Generated Node #0,0,2: 45:[3, 2] Operation: 11-9=2 Moving to Node #0,0,0 Current State: 45:[9, 8], Operations: ['12/4=3', '11-3=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,45 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[9, 14], Operations: ['12/4=3', '11+3=14'] Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,45 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[3, 2], Operations: ['12/4=3', '11-9=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[9, 4, 1], Operations: ['12-11=1'] Exploring Operation: 9*1=9, Resulting Numbers: [4, 9] Generated Node #0,1,0: 45:[4, 9] Operation: 9*1=9 Exploring Operation: 4+1=5, Resulting Numbers: [9, 5] Generated Node #0,1,1: 45:[9, 5] Operation: 4+1=5 Exploring Operation: 4-1=3, Resulting Numbers: [9, 3] Generated Node #0,1,2: 45:[9, 3] Operation: 4-1=3 Moving to Node #0,1,1 Current State: 45:[9, 5], Operations: ['12-11=1', '4+1=5'] Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[11, 9, 4, 12], Operations: [] Exploring Operation: 12-11=1, Resulting Numbers: [9, 4, 1] Generated Node #0,1: 45:[9, 4, 1] Operation: 12-11=1 Moving to Node #0,1 Current State: 45:[9, 4, 1], Operations: ['12-11=1'] Exploring Operation: 4+1=5, Resulting Numbers: [9, 5] Generated Node #0,1,1: 45:[9, 5] Operation: 4+1=5 Moving to Node #0,1,1 Current State: 45:[9, 5], Operations: ['12-11=1', '4+1=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 5, 13, 5, 44 ]
44
[ "5-5=0", "13*0=0", "44+0=44" ]
Current State: 44:[5, 13, 5, 44], Operations: [] Exploring Operation: 5-5=0, Resulting Numbers: [13, 44, 0] Generated Node #2: [13, 44, 0] from Operation: 5-5=0 Current State: 44:[13, 44, 0], Operations: ['5-5=0'] Exploring Operation: 13*0=0, Resulting Numbers: [44, 0] Generated Node #3: [44, 0] from Operation: 13*0=0 Current State: 44:[44, 0], Operations: ['5-5=0', '13*0=0'] Exploring Operation: 44+0=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[5, 13, 5, 44], Operations: [] Exploring Operation: 5+5=10, Resulting Numbers: [13, 44, 10] Generated Node #0,0: 44:[13, 44, 10] Operation: 5+5=10 Exploring Operation: 13-5=8, Resulting Numbers: [5, 44, 8] Generated Node #0,1: 44:[5, 44, 8] Operation: 13-5=8 Exploring Operation: 13-5=8, Resulting Numbers: [5, 44, 8] Generated Node #0,2: 44:[5, 44, 8] Operation: 13-5=8 Exploring Operation: 5/5=1, Resulting Numbers: [13, 44, 1] Generated Node #0,3: 44:[13, 44, 1] Operation: 5/5=1 Exploring Operation: 5-5=0, Resulting Numbers: [13, 44, 0] Generated Node #0,4: 44:[13, 44, 0] Operation: 5-5=0 Moving to Node #0,0 Current State: 44:[13, 44, 10], Operations: ['5+5=10'] Exploring Operation: 13-10=3, Resulting Numbers: [44, 3] Generated Node #0,0,0: 44:[44, 3] Operation: 13-10=3 Exploring Operation: 44-13=31, Resulting Numbers: [10, 31] Generated Node #0,0,1: 44:[10, 31] Operation: 44-13=31 Exploring Operation: 44-10=34, Resulting Numbers: [13, 34] Generated Node #0,0,2: 44:[13, 34] Operation: 44-10=34 Exploring Operation: 13+10=23, Resulting Numbers: [44, 23] Generated Node #0,0,3: 44:[44, 23] Operation: 13+10=23 Exploring Operation: 44+10=54, Resulting Numbers: [13, 54] Generated Node #0,0,4: 44:[13, 54] Operation: 44+10=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[44, 3], Operations: ['5+5=10', '13-10=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,44 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 44:[44, 23], Operations: ['5+5=10', '13+10=23'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,44 unequal: No Solution Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[10, 31], Operations: ['5+5=10', '44-13=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,44 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[13, 34], Operations: ['5+5=10', '44-10=34'] Exploring Operation: 13*34=442, Resulting Numbers: [442] 442,44 unequal: No Solution Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 44:[13, 54], Operations: ['5+5=10', '44+10=54'] Exploring Operation: 13+54=67, Resulting Numbers: [67] 67,44 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 13*54=702, Resulting Numbers: [702] 702,44 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: 44:[13, 44, 1], Operations: ['5/5=1'] Exploring Operation: 13/1=13, Resulting Numbers: [44, 13] Generated Node #0,3,0: 44:[44, 13] Operation: 13/1=13 Exploring Operation: 44/1=44, Resulting Numbers: [13, 44] Generated Node #0,3,1: 44:[13, 44] Operation: 44/1=44 Exploring Operation: 13*1=13, Resulting Numbers: [44, 13] Generated Node #0,3,2: 44:[44, 13] Operation: 13*1=13 Exploring Operation: 13-1=12, Resulting Numbers: [44, 12] Generated Node #0,3,3: 44:[44, 12] Operation: 13-1=12 Exploring Operation: 44*1=44, Resulting Numbers: [13, 44] Generated Node #0,3,4: 44:[13, 44] Operation: 44*1=44 Moving to Node #0,1 Current State: 44:[5, 44, 8], Operations: ['13-5=8'] Exploring Operation: 5+44=49, Resulting Numbers: [8, 49] Generated Node #0,1,0: 44:[8, 49] Operation: 5+44=49 Exploring Operation: 44-5=39, Resulting Numbers: [8, 39] Generated Node #0,1,1: 44:[8, 39] Operation: 44-5=39 Exploring Operation: 8-5=3, Resulting Numbers: [44, 3] Generated Node #0,1,2: 44:[44, 3] Operation: 8-5=3 Exploring Operation: 5*8=40, Resulting Numbers: [44, 40] Generated Node #0,1,3: 44:[44, 40] Operation: 5*8=40 Exploring Operation: 5+8=13, Resulting Numbers: [44, 13] Generated Node #0,1,4: 44:[44, 13] Operation: 5+8=13 Moving to Node #0,2 Current State: 44:[5, 44, 8], Operations: ['13-5=8'] Exploring Operation: 44-5=39, Resulting Numbers: [8, 39] Generated Node #0,2,0: 44:[8, 39] Operation: 44-5=39 Exploring Operation: 8-5=3, Resulting Numbers: [44, 3] Generated Node #0,2,1: 44:[44, 3] Operation: 8-5=3 Exploring Operation: 5+8=13, Resulting Numbers: [44, 13] Generated Node #0,2,2: 44:[44, 13] Operation: 5+8=13 Exploring Operation: 5+44=49, Resulting Numbers: [8, 49] Generated Node #0,2,3: 44:[8, 49] Operation: 5+44=49 Exploring Operation: 5*8=40, Resulting Numbers: [44, 40] Generated Node #0,2,4: 44:[44, 40] Operation: 5*8=40 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 44:[44, 3], Operations: ['13-5=8', '8-5=3'] Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,44 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[44, 13], Operations: ['13-5=8', '5+8=13'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,44 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 44:[44, 40], Operations: ['13-5=8', '5*8=40'] Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,44 unequal: No Solution Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,44 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[8, 39], Operations: ['13-5=8', '44-5=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,44 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 44:[8, 49], Operations: ['13-5=8', '5+44=49'] Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 44:[13, 44, 0], Operations: ['5-5=0'] Exploring Operation: 44-0=44, Resulting Numbers: [13, 44] Generated Node #0,4,0: 44:[13, 44] Operation: 44-0=44 Exploring Operation: 13+0=13, Resulting Numbers: [44, 13] Generated Node #0,4,1: 44:[44, 13] Operation: 13+0=13 Exploring Operation: 44+0=44, Resulting Numbers: [13, 44] Generated Node #0,4,2: 44:[13, 44] Operation: 44+0=44 Exploring Operation: 13-0=13, Resulting Numbers: [44, 13] Generated Node #0,4,3: 44:[44, 13] Operation: 13-0=13 Exploring Operation: 13*0=0, Resulting Numbers: [44, 0] Generated Node #0,4,4: 44:[44, 0] Operation: 13*0=0 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 44:[13, 44], Operations: ['5-5=0', '44-0=44'] Exploring Operation: 13*44=572, Resulting Numbers: [572] 572,44 unequal: No Solution Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 44:[44, 13], Operations: ['5-5=0', '13+0=13'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,44 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,44 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 44:[13, 44], Operations: ['5-5=0', '44+0=44'] Exploring Operation: 13*44=572, Resulting Numbers: [572] 572,44 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,44 unequal: No Solution Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 44:[44, 13], Operations: ['5-5=0', '13-0=13'] Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,44 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 44:[44, 0], Operations: ['5-5=0', '13*0=0'] Exploring Operation: 44-0=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[5, 13, 5, 44], Operations: [] Exploring Operation: 5-5=0, Resulting Numbers: [13, 44, 0] Generated Node #0,4: 44:[13, 44, 0] Operation: 5-5=0 Moving to Node #0,4 Current State: 44:[13, 44, 0], Operations: ['5-5=0'] Exploring Operation: 13*0=0, Resulting Numbers: [44, 0] Generated Node #0,4,4: 44:[44, 0] Operation: 13*0=0 Moving to Node #0,4,4 Current State: 44:[44, 0], Operations: ['5-5=0', '13*0=0'] Exploring Operation: 44-0=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.93316
hs_5
sum_heuristic
[ 8, 46, 77, 84 ]
31
[ "46-8=38", "84-77=7", "38-7=31" ]
Current State: 31:[8, 46, 77, 84], Operations: [] Exploring Operation: 46-8=38, Resulting Numbers: [77, 84, 38] Generated Node #2: [77, 84, 38] from Operation: 46-8=38 Current State: 31:[77, 84, 38], Operations: ['46-8=38'] Exploring Operation: 84-77=7, Resulting Numbers: [38, 7] Generated Node #3: [38, 7] from Operation: 84-77=7 Current State: 31:[38, 7], Operations: ['46-8=38', '84-77=7'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[8, 46, 77, 84], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [8, 46, 7] Generated Node #0,0: 31:[8, 46, 7] Operation: 84-77=7 Exploring Operation: 84-46=38, Resulting Numbers: [8, 77, 38] Generated Node #0,1: 31:[8, 77, 38] Operation: 84-46=38 Exploring Operation: 77-46=31, Resulting Numbers: [8, 84, 31] Generated Node #0,2: 31:[8, 84, 31] Operation: 77-46=31 Exploring Operation: 46-8=38, Resulting Numbers: [77, 84, 38] Generated Node #0,3: 31:[77, 84, 38] Operation: 46-8=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[8, 46, 7], Operations: ['84-77=7'] Exploring Operation: 46-7=39, Resulting Numbers: [8, 39] Generated Node #0,0,0: 31:[8, 39] Operation: 46-7=39 Exploring Operation: 46-8=38, Resulting Numbers: [7, 38] Generated Node #0,0,1: 31:[7, 38] Operation: 46-8=38 Exploring Operation: 8*7=56, Resulting Numbers: [46, 56] Generated Node #0,0,2: 31:[46, 56] Operation: 8*7=56 Exploring Operation: 8+7=15, Resulting Numbers: [46, 15] Generated Node #0,0,3: 31:[46, 15] Operation: 8+7=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[8, 39], Operations: ['84-77=7', '46-7=39'] Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,31 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[8, 46, 77, 84], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [8, 46, 7] Generated Node #0,0: 31:[8, 46, 7] Operation: 84-77=7 Moving to Node #0,0 Current State: 31:[8, 46, 7], Operations: ['84-77=7'] Exploring Operation: 46-7=39, Resulting Numbers: [8, 39] Generated Node #0,0,0: 31:[8, 39] Operation: 46-7=39 Moving to Node #0,0,0 Current State: 31:[8, 39], Operations: ['84-77=7', '46-7=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 80, 33, 66, 81 ]
100
[ "80-33=47", "66+81=147", "147-47=100" ]
Current State: 100:[80, 33, 66, 81], Operations: [] Exploring Operation: 80-33=47, Resulting Numbers: [66, 81, 47] Generated Node #2: [66, 81, 47] from Operation: 80-33=47 Current State: 100:[66, 81, 47], Operations: ['80-33=47'] Exploring Operation: 66+81=147, Resulting Numbers: [47, 147] Generated Node #3: [47, 147] from Operation: 66+81=147 Current State: 100:[47, 147], Operations: ['80-33=47', '66+81=147'] Exploring Operation: 147-47=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[80, 33, 66, 81], Operations: [] Exploring Operation: 80-33=47, Resulting Numbers: [66, 81, 47] Generated Node #0,0: 100:[66, 81, 47] Operation: 80-33=47 Exploring Operation: 81-80=1, Resulting Numbers: [33, 66, 1] Generated Node #0,1: 100:[33, 66, 1] Operation: 81-80=1 Exploring Operation: 81-66=15, Resulting Numbers: [80, 33, 15] Generated Node #0,2: 100:[80, 33, 15] Operation: 81-66=15 Exploring Operation: 80-66=14, Resulting Numbers: [33, 81, 14] Generated Node #0,3: 100:[33, 81, 14] Operation: 80-66=14 Exploring Operation: 81-33=48, Resulting Numbers: [80, 66, 48] Generated Node #0,4: 100:[80, 66, 48] Operation: 81-33=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[33, 66, 1], Operations: ['81-80=1'] Exploring Operation: 33-1=32, Resulting Numbers: [66, 32] Generated Node #0,1,0: 100:[66, 32] Operation: 33-1=32 Exploring Operation: 33+66=99, Resulting Numbers: [1, 99] Generated Node #0,1,1: 100:[1, 99] Operation: 33+66=99 Exploring Operation: 66/33=2, Resulting Numbers: [1, 2] Generated Node #0,1,2: 100:[1, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [1, 33] Generated Node #0,1,3: 100:[1, 33] Operation: 66-33=33 Exploring Operation: 66-1=65, Resulting Numbers: [33, 65] Generated Node #0,1,4: 100:[33, 65] Operation: 66-1=65 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[1, 2], Operations: ['81-80=1', '66/33=2'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[1, 99], Operations: ['81-80=1', '33+66=99'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 1*99=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 1+99=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[80, 33, 66, 81], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [33, 66, 1] Generated Node #0,1: 100:[33, 66, 1] Operation: 81-80=1 Moving to Node #0,1 Current State: 100:[33, 66, 1], Operations: ['81-80=1'] Exploring Operation: 33+66=99, Resulting Numbers: [1, 99] Generated Node #0,1,1: 100:[1, 99] Operation: 33+66=99 Moving to Node #0,1,1 Current State: 100:[1, 99], Operations: ['81-80=1', '33+66=99'] Exploring Operation: 1+99=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 39, 75, 9, 66 ]
93
[ "75-39=36", "66-9=57", "36+57=93" ]
Current State: 93:[39, 75, 9, 66], Operations: [] Exploring Operation: 75-39=36, Resulting Numbers: [9, 66, 36] Generated Node #2: [9, 66, 36] from Operation: 75-39=36 Current State: 93:[9, 66, 36], Operations: ['75-39=36'] Exploring Operation: 66-9=57, Resulting Numbers: [36, 57] Generated Node #3: [36, 57] from Operation: 66-9=57 Current State: 93:[36, 57], Operations: ['75-39=36', '66-9=57'] Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[39, 75, 9, 66], Operations: [] Exploring Operation: 39+66=105, Resulting Numbers: [75, 9, 105] Generated Node #0,0: 93:[75, 9, 105] Operation: 39+66=105 Exploring Operation: 75-66=9, Resulting Numbers: [39, 9, 9] Generated Node #0,1: 93:[39, 9, 9] Operation: 75-66=9 Exploring Operation: 66-39=27, Resulting Numbers: [75, 9, 27] Generated Node #0,2: 93:[75, 9, 27] Operation: 66-39=27 Exploring Operation: 75-39=36, Resulting Numbers: [9, 66, 36] Generated Node #0,3: 93:[9, 66, 36] Operation: 75-39=36 Moving to Node #0,1 Current State: 93:[39, 9, 9], Operations: ['75-66=9'] Exploring Operation: 9-9=0, Resulting Numbers: [39, 0] Generated Node #0,1,0: 93:[39, 0] Operation: 9-9=0 Exploring Operation: 9/9=1, Resulting Numbers: [39, 1] Generated Node #0,1,1: 93:[39, 1] Operation: 9/9=1 Exploring Operation: 39-9=30, Resulting Numbers: [9, 30] Generated Node #0,1,2: 93:[9, 30] Operation: 39-9=30 Exploring Operation: 39-9=30, Resulting Numbers: [9, 30] Generated Node #0,1,3: 93:[9, 30] Operation: 39-9=30 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[9, 30], Operations: ['75-66=9', '39-9=30'] Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,93 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,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,3 Current State: 93:[9, 30], Operations: ['75-66=9', '39-9=30'] Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,93 unequal: No Solution Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,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,1 Current State: 93:[39, 1], Operations: ['75-66=9', '9/9=1'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,93 unequal: No Solution Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,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,0 Current State: 93:[39, 0], Operations: ['75-66=9', '9-9=0'] Exploring Operation: 39*0=0, Resulting Numbers: [0] 0,93 unequal: No Solution Exploring Operation: 39-0=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 39+0=39, Resulting Numbers: [39] 39,93 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: 93:[75, 9, 27], Operations: ['66-39=27'] Exploring Operation: 75+27=102, Resulting Numbers: [9, 102] Generated Node #0,2,0: 93:[9, 102] Operation: 75+27=102 Exploring Operation: 75-27=48, Resulting Numbers: [9, 48] Generated Node #0,2,1: 93:[9, 48] Operation: 75-27=48 Exploring Operation: 27/9=3, Resulting Numbers: [75, 3] Generated Node #0,2,2: 93:[75, 3] Operation: 27/9=3 Exploring Operation: 75+9=84, Resulting Numbers: [27, 84] Generated Node #0,2,3: 93:[27, 84] Operation: 75+9=84 Moving to Node #0,0 Current State: 93:[75, 9, 105], Operations: ['39+66=105'] Exploring Operation: 105-75=30, Resulting Numbers: [9, 30] Generated Node #0,0,0: 93:[9, 30] Operation: 105-75=30 Exploring Operation: 75-9=66, Resulting Numbers: [105, 66] Generated Node #0,0,1: 93:[105, 66] Operation: 75-9=66 Exploring Operation: 75+9=84, Resulting Numbers: [105, 84] Generated Node #0,0,2: 93:[105, 84] Operation: 75+9=84 Exploring Operation: 105-9=96, Resulting Numbers: [75, 96] Generated Node #0,0,3: 93:[75, 96] Operation: 105-9=96 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[9, 30], Operations: ['39+66=105', '105-75=30'] Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,93 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[105, 84], Operations: ['39+66=105', '75+9=84'] Exploring Operation: 105+84=189, Resulting Numbers: [189] 189,93 unequal: No Solution Exploring Operation: 105*84=8820, Resulting Numbers: [8820] 8820,93 unequal: No Solution Exploring Operation: 105-84=21, Resulting Numbers: [21] 21,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 93:[75, 96], Operations: ['39+66=105', '105-9=96'] Exploring Operation: 96-75=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 75*96=7200, Resulting Numbers: [7200] 7200,93 unequal: No Solution Exploring Operation: 75+96=171, Resulting Numbers: [171] 171,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[105, 66], Operations: ['39+66=105', '75-9=66'] Exploring Operation: 105-66=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 105*66=6930, Resulting Numbers: [6930] 6930,93 unequal: No Solution Exploring Operation: 105+66=171, Resulting Numbers: [171] 171,93 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: 93:[9, 66, 36], Operations: ['75-39=36'] Exploring Operation: 66-36=30, Resulting Numbers: [9, 30] Generated Node #0,3,0: 93:[9, 30] Operation: 66-36=30 Exploring Operation: 9+66=75, Resulting Numbers: [36, 75] Generated Node #0,3,1: 93:[36, 75] Operation: 9+66=75 Exploring Operation: 66+36=102, Resulting Numbers: [9, 102] Generated Node #0,3,2: 93:[9, 102] Operation: 66+36=102 Exploring Operation: 36/9=4, Resulting Numbers: [66, 4] Generated Node #0,3,3: 93:[66, 4] Operation: 36/9=4 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[9, 30], Operations: ['75-39=36', '66-36=30'] Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 93:[9, 102], Operations: ['75-39=36', '66+36=102'] Exploring Operation: 102-9=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[39, 75, 9, 66], Operations: [] Exploring Operation: 75-39=36, Resulting Numbers: [9, 66, 36] Generated Node #0,3: 93:[9, 66, 36] Operation: 75-39=36 Moving to Node #0,3 Current State: 93:[9, 66, 36], Operations: ['75-39=36'] Exploring Operation: 66+36=102, Resulting Numbers: [9, 102] Generated Node #0,3,2: 93:[9, 102] Operation: 66+36=102 Moving to Node #0,3,2 Current State: 93:[9, 102], Operations: ['75-39=36', '66+36=102'] Exploring Operation: 102-9=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_4
mult_heuristic
[ 8, 88, 75, 8 ]
96
[ "88-75=13", "8*13=104", "104-8=96" ]
Current State: 96:[8, 88, 75, 8], Operations: [] Exploring Operation: 88-75=13, Resulting Numbers: [8, 8, 13] Generated Node #2: [8, 8, 13] from Operation: 88-75=13 Current State: 96:[8, 8, 13], Operations: ['88-75=13'] Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,96 equal: Goal Reached Exploring Operation: 104-8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[8, 88, 75, 8], Operations: [] Exploring Operation: 8+88=96, Resulting Numbers: [75, 8, 96] Generated Node #0,0: 96:[75, 8, 96] Operation: 8+88=96 Exploring Operation: 88-75=13, Resulting Numbers: [8, 8, 13] Generated Node #0,1: 96:[8, 8, 13] Operation: 88-75=13 Moving to Node #0,1 Current State: 96:[8, 8, 13], Operations: ['88-75=13'] Exploring Operation: 8+8=16, Resulting Numbers: [13, 16] Generated Node #0,1,0: 96:[13, 16] Operation: 8+8=16 Exploring Operation: 13-8=5, Resulting Numbers: [8, 5] Generated Node #0,1,1: 96:[8, 5] Operation: 13-8=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[13, 16], Operations: ['88-75=13', '8+8=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[8, 5], Operations: ['88-75=13', '13-8=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 96:[75, 8, 96], Operations: ['8+88=96'] Exploring Operation: 96-75=21, Resulting Numbers: [8, 21] Generated Node #0,0,0: 96:[8, 21] Operation: 96-75=21 Exploring Operation: 75+8=83, Resulting Numbers: [96, 83] Generated Node #0,0,1: 96:[96, 83] Operation: 75+8=83 Moving to Node #0,0,0 Current State: 96:[8, 21], Operations: ['8+88=96', '96-75=21'] Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[96, 83], Operations: ['8+88=96', '75+8=83'] Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,96 unequal: No Solution Exploring Operation: 96+83=179, Resulting Numbers: [179] 179,96 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 97, 9, 90, 83 ]
11
[ "97+83=180", "180/90=2", "9+2=11" ]
Current State: 11:[97, 9, 90, 83], Operations: [] Exploring Operation: 97+83=180, Resulting Numbers: [9, 90, 180] Generated Node #2: [9, 90, 180] from Operation: 97+83=180 Current State: 11:[9, 90, 180], Operations: ['97+83=180'] Exploring Operation: 180/90=2, Resulting Numbers: [9, 2] Generated Node #3: [9, 2] from Operation: 180/90=2 Current State: 11:[9, 2], Operations: ['97+83=180', '180/90=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[97, 9, 90, 83], Operations: [] Exploring Operation: 97-83=14, Resulting Numbers: [9, 90, 14] Generated Node #0,0: 11:[9, 90, 14] Operation: 97-83=14 Exploring Operation: 97-90=7, Resulting Numbers: [9, 83, 7] Generated Node #0,1: 11:[9, 83, 7] Operation: 97-90=7 Exploring Operation: 90-83=7, Resulting Numbers: [97, 9, 7] Generated Node #0,2: 11:[97, 9, 7] Operation: 90-83=7 Exploring Operation: 90/9=10, Resulting Numbers: [97, 83, 10] Generated Node #0,3: 11:[97, 83, 10] Operation: 90/9=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[9, 83, 7], Operations: ['97-90=7'] Exploring Operation: 9-7=2, Resulting Numbers: [83, 2] Generated Node #0,1,0: 11:[83, 2] Operation: 9-7=2 Exploring Operation: 83-9=74, Resulting Numbers: [7, 74] Generated Node #0,1,1: 11:[7, 74] Operation: 83-9=74 Exploring Operation: 83-7=76, Resulting Numbers: [9, 76] Generated Node #0,1,2: 11:[9, 76] Operation: 83-7=76 Exploring Operation: 9+7=16, Resulting Numbers: [83, 16] Generated Node #0,1,3: 11:[83, 16] Operation: 9+7=16 Moving to Node #0,1,1 Current State: 11:[7, 74], Operations: ['97-90=7', '83-9=74'] Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 7+74=81, Resulting Numbers: [81] 81,11 unequal: No Solution Exploring Operation: 7*74=518, Resulting Numbers: [518] 518,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[9, 76], Operations: ['97-90=7', '83-7=76'] Exploring Operation: 9+76=85, Resulting Numbers: [85] 85,11 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 9*76=684, Resulting Numbers: [684] 684,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[83, 16], Operations: ['97-90=7', '9+7=16'] Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,11 unequal: No Solution Exploring Operation: 83*16=1328, Resulting Numbers: [1328] 1328,11 unequal: No Solution Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[83, 2], Operations: ['97-90=7', '9-7=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,11 unequal: No Solution Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,11 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,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,0 Current State: 11:[9, 90, 14], Operations: ['97-83=14'] Exploring Operation: 90/9=10, Resulting Numbers: [14, 10] Generated Node #0,0,0: 11:[14, 10] Operation: 90/9=10 Exploring Operation: 14-9=5, Resulting Numbers: [90, 5] Generated Node #0,0,1: 11:[90, 5] Operation: 14-9=5 Exploring Operation: 90-9=81, Resulting Numbers: [14, 81] Generated Node #0,0,2: 11:[14, 81] Operation: 90-9=81 Exploring Operation: 90-14=76, Resulting Numbers: [9, 76] Generated Node #0,0,3: 11:[9, 76] Operation: 90-14=76 Moving to Node #0,0,0 Current State: 11:[14, 10], Operations: ['97-83=14', '90/9=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[9, 76], Operations: ['97-83=14', '90-14=76'] Exploring Operation: 9*76=684, Resulting Numbers: [684] 684,11 unequal: No Solution Exploring Operation: 9+76=85, Resulting Numbers: [85] 85,11 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[14, 81], Operations: ['97-83=14', '90-9=81'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 14*81=1134, Resulting Numbers: [1134] 1134,11 unequal: No Solution Exploring Operation: 14+81=95, Resulting Numbers: [95] 95,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[90, 5], Operations: ['97-83=14', '14-9=5'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,11 unequal: No Solution Exploring Operation: 90+5=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 90*5=450, Resulting Numbers: [450] 450,11 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,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 Current State: 11:[97, 9, 7], Operations: ['90-83=7'] Exploring Operation: 97-9=88, Resulting Numbers: [7, 88] Generated Node #0,2,0: 11:[7, 88] Operation: 97-9=88 Exploring Operation: 97-7=90, Resulting Numbers: [9, 90] Generated Node #0,2,1: 11:[9, 90] Operation: 97-7=90 Exploring Operation: 9+7=16, Resulting Numbers: [97, 16] Generated Node #0,2,2: 11:[97, 16] Operation: 9+7=16 Exploring Operation: 97+7=104, Resulting Numbers: [9, 104] Generated Node #0,2,3: 11:[9, 104] Operation: 97+7=104 Moving to Node #0,2,0 Current State: 11:[7, 88], Operations: ['90-83=7', '97-9=88'] Exploring Operation: 7*88=616, Resulting Numbers: [616] 616,11 unequal: No Solution Exploring Operation: 7+88=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[9, 90], Operations: ['90-83=7', '97-7=90'] Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,11 unequal: No Solution Exploring Operation: 9*90=810, Resulting Numbers: [810] 810,11 unequal: No Solution Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 9+90=99, Resulting Numbers: [99] 99,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[97, 16], Operations: ['90-83=7', '9+7=16'] Exploring Operation: 97+16=113, Resulting Numbers: [113] 113,11 unequal: No Solution Exploring Operation: 97*16=1552, Resulting Numbers: [1552] 1552,11 unequal: No Solution Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[9, 104], Operations: ['90-83=7', '97+7=104'] Exploring Operation: 104-9=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 9*104=936, Resulting Numbers: [936] 936,11 unequal: No Solution Exploring Operation: 9+104=113, Resulting Numbers: [113] 113,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 Current State: 11:[97, 83, 10], Operations: ['90/9=10'] Exploring Operation: 97-83=14, Resulting Numbers: [10, 14] Generated Node #0,3,0: 11:[10, 14] Operation: 97-83=14 Exploring Operation: 97-10=87, Resulting Numbers: [83, 87] Generated Node #0,3,1: 11:[83, 87] Operation: 97-10=87 Exploring Operation: 97+10=107, Resulting Numbers: [83, 107] Generated Node #0,3,2: 11:[83, 107] Operation: 97+10=107 Exploring Operation: 83-10=73, Resulting Numbers: [97, 73] Generated Node #0,3,3: 11:[97, 73] Operation: 83-10=73 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 11:[10, 14], Operations: ['90/9=10', '97-83=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,11 unequal: No Solution 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 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 11:[83, 87], Operations: ['90/9=10', '97-10=87'] Exploring Operation: 83+87=170, Resulting Numbers: [170] 170,11 unequal: No Solution Exploring Operation: 87-83=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 83*87=7221, Resulting Numbers: [7221] 7221,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 11:[97, 73], Operations: ['90/9=10', '83-10=73'] Exploring Operation: 97+73=170, Resulting Numbers: [170] 170,11 unequal: No Solution Exploring Operation: 97-73=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 97*73=7081, Resulting Numbers: [7081] 7081,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 11:[83, 107], Operations: ['90/9=10', '97+10=107'] Exploring Operation: 107-83=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 83*107=8881, Resulting Numbers: [8881] 8881,11 unequal: No Solution Exploring Operation: 83+107=190, Resulting Numbers: [190] 190,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_4
sum_heuristic