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
[ 58, 16, 26, 78 ]
76
[ "58-26=32", "32/16=2", "78-2=76" ]
Current State: 76:[58, 16, 26, 78], Operations: [] Exploring Operation: 58-26=32, Resulting Numbers: [16, 78, 32] Generated Node #2: [16, 78, 32] from Operation: 58-26=32 Current State: 76:[16, 78, 32], Operations: ['58-26=32'] Exploring Operation: 32/16=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 32/16=2 Current State: 76:[78, 2], Operations: ['58-26=32', '32/16=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[58, 16, 26, 78], Operations: [] Exploring Operation: 58+16=74, Resulting Numbers: [26, 78, 74] Generated Node #0,0: 76:[26, 78, 74] Operation: 58+16=74 Exploring Operation: 58-26=32, Resulting Numbers: [16, 78, 32] Generated Node #0,1: 76:[16, 78, 32] Operation: 58-26=32 Moving to Node #0,0 Current State: 76:[26, 78, 74], Operations: ['58+16=74'] Exploring Operation: 78/26=3, Resulting Numbers: [74, 3] Generated Node #0,0,0: 76:[74, 3] Operation: 78/26=3 Exploring Operation: 78-74=4, Resulting Numbers: [26, 4] Generated Node #0,0,1: 76:[26, 4] Operation: 78-74=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[74, 3], Operations: ['58+16=74', '78/26=3'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,76 unequal: No Solution Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[26, 4], Operations: ['58+16=74', '78-74=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,76 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: 76:[16, 78, 32], Operations: ['58-26=32'] Exploring Operation: 32/16=2, Resulting Numbers: [78, 2] Generated Node #0,1,0: 76:[78, 2] Operation: 32/16=2 Exploring Operation: 32-16=16, Resulting Numbers: [78, 16] Generated Node #0,1,1: 76:[78, 16] Operation: 32-16=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[78, 2], Operations: ['58-26=32', '32/16=2'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[58, 16, 26, 78], Operations: [] Exploring Operation: 58-26=32, Resulting Numbers: [16, 78, 32] Generated Node #0,1: 76:[16, 78, 32] Operation: 58-26=32 Moving to Node #0,1 Current State: 76:[16, 78, 32], Operations: ['58-26=32'] Exploring Operation: 32/16=2, Resulting Numbers: [78, 2] Generated Node #0,1,0: 76:[78, 2] Operation: 32/16=2 Moving to Node #0,1,0 Current State: 76:[78, 2], Operations: ['58-26=32', '32/16=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 24, 14, 23, 15 ]
42
[ "24*14=336", "23-15=8", "336/8=42" ]
Current State: 42:[24, 14, 23, 15], Operations: [] Exploring Operation: 24*14=336, Resulting Numbers: [23, 15, 336] Generated Node #2: [23, 15, 336] from Operation: 24*14=336 Current State: 42:[23, 15, 336], Operations: ['24*14=336'] Exploring Operation: 23-15=8, Resulting Numbers: [336, 8] Generated Node #3: [336, 8] from Operation: 23-15=8 Current State: 42:[336, 8], Operations: ['24*14=336', '23-15=8'] Exploring Operation: 336/8=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[24, 14, 23, 15], Operations: [] Exploring Operation: 24-15=9, Resulting Numbers: [14, 23, 9] Generated Node #0,0: 42:[14, 23, 9] Operation: 24-15=9 Exploring Operation: 23-15=8, Resulting Numbers: [24, 14, 8] Generated Node #0,1: 42:[24, 14, 8] Operation: 23-15=8 Exploring Operation: 24-23=1, Resulting Numbers: [14, 15, 1] Generated Node #0,2: 42:[14, 15, 1] Operation: 24-23=1 Moving to Node #0,2 Current State: 42:[14, 15, 1], Operations: ['24-23=1'] Exploring Operation: 14*1=14, Resulting Numbers: [15, 14] Generated Node #0,2,0: 42:[15, 14] Operation: 14*1=14 Exploring Operation: 14/1=14, Resulting Numbers: [15, 14] Generated Node #0,2,1: 42:[15, 14] Operation: 14/1=14 Exploring Operation: 15-1=14, Resulting Numbers: [14, 14] Generated Node #0,2,2: 42:[14, 14] Operation: 15-1=14 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[14, 14], Operations: ['24-23=1', '15-1=14'] Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 14-14=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[15, 14], Operations: ['24-23=1', '14*1=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[15, 14], Operations: ['24-23=1', '14/1=14'] Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,42 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 42:[14, 23, 9], Operations: ['24-15=9'] Exploring Operation: 23-9=14, Resulting Numbers: [14, 14] Generated Node #0,0,0: 42:[14, 14] Operation: 23-9=14 Exploring Operation: 23-14=9, Resulting Numbers: [9, 9] Generated Node #0,0,1: 42:[9, 9] Operation: 23-14=9 Exploring Operation: 14-9=5, Resulting Numbers: [23, 5] Generated Node #0,0,2: 42:[23, 5] Operation: 14-9=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[14, 14], Operations: ['24-15=9', '23-9=14'] Exploring Operation: 14-14=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[23, 5], Operations: ['24-15=9', '14-9=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[9, 9], Operations: ['24-15=9', '23-14=9'] Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 42:[24, 14, 8], Operations: ['23-15=8'] Exploring Operation: 14-8=6, Resulting Numbers: [24, 6] Generated Node #0,1,0: 42:[24, 6] Operation: 14-8=6 Exploring Operation: 24-8=16, Resulting Numbers: [14, 16] Generated Node #0,1,1: 42:[14, 16] Operation: 24-8=16 Exploring Operation: 24/8=3, Resulting Numbers: [14, 3] Generated Node #0,1,2: 42:[14, 3] Operation: 24/8=3 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[14, 3], Operations: ['23-15=8', '24/8=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[24, 14, 23, 15], Operations: [] Exploring Operation: 23-15=8, Resulting Numbers: [24, 14, 8] Generated Node #0,1: 42:[24, 14, 8] Operation: 23-15=8 Moving to Node #0,1 Current State: 42:[24, 14, 8], Operations: ['23-15=8'] Exploring Operation: 24/8=3, Resulting Numbers: [14, 3] Generated Node #0,1,2: 42:[14, 3] Operation: 24/8=3 Moving to Node #0,1,2 Current State: 42:[14, 3], Operations: ['23-15=8', '24/8=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 71, 3, 98, 94 ]
17
[ "71-3=68", "98-94=4", "68/4=17" ]
Current State: 17:[71, 3, 98, 94], Operations: [] Exploring Operation: 71-3=68, Resulting Numbers: [98, 94, 68] Generated Node #2: [98, 94, 68] from Operation: 71-3=68 Current State: 17:[98, 94, 68], Operations: ['71-3=68'] Exploring Operation: 98-94=4, Resulting Numbers: [68, 4] Generated Node #3: [68, 4] from Operation: 98-94=4 Current State: 17:[68, 4], Operations: ['71-3=68', '98-94=4'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[71, 3, 98, 94], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [71, 3, 4] Generated Node #0,0: 17:[71, 3, 4] Operation: 98-94=4 Exploring Operation: 98-71=27, Resulting Numbers: [3, 94, 27] Generated Node #0,1: 17:[3, 94, 27] Operation: 98-71=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[71, 3, 4], Operations: ['98-94=4'] Exploring Operation: 71-3=68, Resulting Numbers: [4, 68] Generated Node #0,0,0: 17:[4, 68] Operation: 71-3=68 Exploring Operation: 3*4=12, Resulting Numbers: [71, 12] Generated Node #0,0,1: 17:[71, 12] Operation: 3*4=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[71, 12], Operations: ['98-94=4', '3*4=12'] Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,17 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[4, 68], Operations: ['98-94=4', '71-3=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[71, 3, 98, 94], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [71, 3, 4] Generated Node #0,0: 17:[71, 3, 4] Operation: 98-94=4 Moving to Node #0,0 Current State: 17:[71, 3, 4], Operations: ['98-94=4'] Exploring Operation: 71-3=68, Resulting Numbers: [4, 68] Generated Node #0,0,0: 17:[4, 68] Operation: 71-3=68 Moving to Node #0,0,0 Current State: 17:[4, 68], Operations: ['98-94=4', '71-3=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 1, 32, 9, 36 ]
60
[ "1+32=33", "36-9=27", "33+27=60" ]
Current State: 60:[1, 32, 9, 36], Operations: [] Exploring Operation: 1+32=33, Resulting Numbers: [9, 36, 33] Generated Node #2: [9, 36, 33] from Operation: 1+32=33 Current State: 60:[9, 36, 33], Operations: ['1+32=33'] Exploring Operation: 36-9=27, Resulting Numbers: [33, 27] Generated Node #3: [33, 27] from Operation: 36-9=27 Current State: 60:[33, 27], Operations: ['1+32=33', '36-9=27'] Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[1, 32, 9, 36], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [1, 9, 4] Generated Node #0,0: 60:[1, 9, 4] Operation: 36-32=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[1, 9, 4], Operations: ['36-32=4'] Exploring Operation: 1+9=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 60:[4, 10] Operation: 1+9=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[4, 10], Operations: ['36-32=4', '1+9=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 4, 82, 85, 84 ]
84
[ "4+82=86", "86-85=1", "84*1=84" ]
Current State: 84:[4, 82, 85, 84], Operations: [] Exploring Operation: 4+82=86, Resulting Numbers: [85, 84, 86] Generated Node #2: [85, 84, 86] from Operation: 4+82=86 Current State: 84:[85, 84, 86], Operations: ['4+82=86'] Exploring Operation: 86-85=1, Resulting Numbers: [84, 1] Generated Node #3: [84, 1] from Operation: 86-85=1 Current State: 84:[84, 1], Operations: ['4+82=86', '86-85=1'] Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[4, 82, 85, 84], Operations: [] Exploring Operation: 4+82=86, Resulting Numbers: [85, 84, 86] Generated Node #0,0: 84:[85, 84, 86] Operation: 4+82=86 Exploring Operation: 84-82=2, Resulting Numbers: [4, 85, 2] Generated Node #0,1: 84:[4, 85, 2] Operation: 84-82=2 Exploring Operation: 85-82=3, Resulting Numbers: [4, 84, 3] Generated Node #0,2: 84:[4, 84, 3] Operation: 85-82=3 Exploring Operation: 85-84=1, Resulting Numbers: [4, 82, 1] Generated Node #0,3: 84:[4, 82, 1] Operation: 85-84=1 Exploring Operation: 84/4=21, Resulting Numbers: [82, 85, 21] Generated Node #0,4: 84:[82, 85, 21] Operation: 84/4=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[4, 84, 3], Operations: ['85-82=3'] Exploring Operation: 4*3=12, Resulting Numbers: [84, 12] Generated Node #0,2,0: 84:[84, 12] Operation: 4*3=12 Exploring Operation: 4+3=7, Resulting Numbers: [84, 7] Generated Node #0,2,1: 84:[84, 7] Operation: 4+3=7 Exploring Operation: 84/3=28, Resulting Numbers: [4, 28] Generated Node #0,2,2: 84:[4, 28] Operation: 84/3=28 Exploring Operation: 4-3=1, Resulting Numbers: [84, 1] Generated Node #0,2,3: 84:[84, 1] Operation: 4-3=1 Exploring Operation: 84/4=21, Resulting Numbers: [3, 21] Generated Node #0,2,4: 84:[3, 21] Operation: 84/4=21 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[84, 12], Operations: ['85-82=3', '4*3=12'] Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,84 unequal: No Solution Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,84 unequal: No Solution Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,84 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[84, 7], Operations: ['85-82=3', '4+3=7'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,84 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,84 unequal: No Solution Exploring Operation: 84*7=588, Resulting Numbers: [588] 588,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 84:[4, 28], Operations: ['85-82=3', '84/3=28'] Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,84 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 84:[3, 21], Operations: ['85-82=3', '84/4=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,84 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 84:[84, 1], Operations: ['85-82=3', '4-3=1'] Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,84 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[4, 82, 85, 84], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [4, 84, 3] Generated Node #0,2: 84:[4, 84, 3] Operation: 85-82=3 Moving to Node #0,2 Current State: 84:[4, 84, 3], Operations: ['85-82=3'] Exploring Operation: 4-3=1, Resulting Numbers: [84, 1] Generated Node #0,2,3: 84:[84, 1] Operation: 4-3=1 Moving to Node #0,2,3 Current State: 84:[84, 1], Operations: ['85-82=3', '4-3=1'] Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_5
mult_heuristic
[ 79, 25, 66, 61 ]
84
[ "66-61=5", "25/5=5", "79+5=84" ]
Current State: 84:[79, 25, 66, 61], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [79, 25, 5] Generated Node #2: [79, 25, 5] from Operation: 66-61=5 Current State: 84:[79, 25, 5], Operations: ['66-61=5'] Exploring Operation: 25/5=5, Resulting Numbers: [79, 5] Generated Node #3: [79, 5] from Operation: 25/5=5 Current State: 84:[79, 5], Operations: ['66-61=5', '25/5=5'] Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[79, 25, 66, 61], Operations: [] Exploring Operation: 79-66=13, Resulting Numbers: [25, 61, 13] Generated Node #0,0: 84:[25, 61, 13] Operation: 79-66=13 Exploring Operation: 25+61=86, Resulting Numbers: [79, 66, 86] Generated Node #0,1: 84:[79, 66, 86] Operation: 25+61=86 Exploring Operation: 79-61=18, Resulting Numbers: [25, 66, 18] Generated Node #0,2: 84:[25, 66, 18] Operation: 79-61=18 Exploring Operation: 66-25=41, Resulting Numbers: [79, 61, 41] Generated Node #0,3: 84:[79, 61, 41] Operation: 66-25=41 Exploring Operation: 66-61=5, Resulting Numbers: [79, 25, 5] Generated Node #0,4: 84:[79, 25, 5] Operation: 66-61=5 Moving to Node #0,4 Current State: 84:[79, 25, 5], Operations: ['66-61=5'] Exploring Operation: 25-5=20, Resulting Numbers: [79, 20] Generated Node #0,4,0: 84:[79, 20] Operation: 25-5=20 Exploring Operation: 79-25=54, Resulting Numbers: [5, 54] Generated Node #0,4,1: 84:[5, 54] Operation: 79-25=54 Exploring Operation: 79+5=84, Resulting Numbers: [25, 84] Generated Node #0,4,2: 84:[25, 84] Operation: 79+5=84 Exploring Operation: 25+5=30, Resulting Numbers: [79, 30] Generated Node #0,4,3: 84:[79, 30] Operation: 25+5=30 Exploring Operation: 25/5=5, Resulting Numbers: [79, 5] Generated Node #0,4,4: 84:[79, 5] Operation: 25/5=5 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 84:[25, 84], Operations: ['66-61=5', '79+5=84'] Exploring Operation: 25*84=2100, Resulting Numbers: [2100] 2100,84 unequal: No Solution Exploring Operation: 25+84=109, Resulting Numbers: [109] 109,84 unequal: No Solution Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,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:[79, 20], Operations: ['66-61=5', '25-5=20'] Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,84 unequal: No Solution Exploring Operation: 79*20=1580, Resulting Numbers: [1580] 1580,84 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,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,4 Current State: 84:[79, 5], Operations: ['66-61=5', '25/5=5'] Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,84 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,84 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[79, 25, 66, 61], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [79, 25, 5] Generated Node #0,4: 84:[79, 25, 5] Operation: 66-61=5 Moving to Node #0,4 Current State: 84:[79, 25, 5], Operations: ['66-61=5'] Exploring Operation: 25/5=5, Resulting Numbers: [79, 5] Generated Node #0,4,4: 84:[79, 5] Operation: 25/5=5 Moving to Node #0,4,4 Current State: 84:[79, 5], Operations: ['66-61=5', '25/5=5'] Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 31, 30, 10, 72 ]
62
[ "31-30=1", "72-10=62", "1*62=62" ]
Current State: 62:[31, 30, 10, 72], Operations: [] Exploring Operation: 31-30=1, Resulting Numbers: [10, 72, 1] Generated Node #2: [10, 72, 1] from Operation: 31-30=1 Current State: 62:[10, 72, 1], Operations: ['31-30=1'] Exploring Operation: 72-10=62, Resulting Numbers: [1, 62] Generated Node #3: [1, 62] from Operation: 72-10=62 Current State: 62:[1, 62], Operations: ['31-30=1', '72-10=62'] Exploring Operation: 1*62=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[31, 30, 10, 72], Operations: [] Exploring Operation: 72-10=62, Resulting Numbers: [31, 30, 62] Generated Node #0,0: 62:[31, 30, 62] Operation: 72-10=62 Moving to Node #0,0 Current State: 62:[31, 30, 62], Operations: ['72-10=62'] Exploring Operation: 31+30=61, Resulting Numbers: [62, 61] Generated Node #0,0,0: 62:[62, 61] Operation: 31+30=61 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[62, 61], Operations: ['72-10=62', '31+30=61'] Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,62 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
[ 74, 7, 17, 9 ]
59
[ "74-7=67", "17-9=8", "67-8=59" ]
Current State: 59:[74, 7, 17, 9], Operations: [] Exploring Operation: 74-7=67, Resulting Numbers: [17, 9, 67] Generated Node #2: [17, 9, 67] from Operation: 74-7=67 Current State: 59:[17, 9, 67], Operations: ['74-7=67'] Exploring Operation: 17-9=8, Resulting Numbers: [67, 8] Generated Node #3: [67, 8] from Operation: 17-9=8 Current State: 59:[67, 8], Operations: ['74-7=67', '17-9=8'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[74, 7, 17, 9], Operations: [] Exploring Operation: 74-7=67, Resulting Numbers: [17, 9, 67] Generated Node #0,0: 59:[17, 9, 67] Operation: 74-7=67 Exploring Operation: 7+17=24, Resulting Numbers: [74, 9, 24] Generated Node #0,1: 59:[74, 9, 24] Operation: 7+17=24 Exploring Operation: 7*9=63, Resulting Numbers: [74, 17, 63] Generated Node #0,2: 59:[74, 17, 63] Operation: 7*9=63 Exploring Operation: 74-9=65, Resulting Numbers: [7, 17, 65] Generated Node #0,3: 59:[7, 17, 65] Operation: 74-9=65 Moving to Node #0,2 Current State: 59:[74, 17, 63], Operations: ['7*9=63'] Exploring Operation: 63-17=46, Resulting Numbers: [74, 46] Generated Node #0,2,0: 59:[74, 46] Operation: 63-17=46 Exploring Operation: 17+63=80, Resulting Numbers: [74, 80] Generated Node #0,2,1: 59:[74, 80] Operation: 17+63=80 Exploring Operation: 74-17=57, Resulting Numbers: [63, 57] Generated Node #0,2,2: 59:[63, 57] Operation: 74-17=57 Exploring Operation: 74+17=91, Resulting Numbers: [63, 91] Generated Node #0,2,3: 59:[63, 91] Operation: 74+17=91 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[63, 57], Operations: ['7*9=63', '74-17=57'] Exploring Operation: 63+57=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,59 unequal: No Solution Exploring Operation: 63*57=3591, Resulting Numbers: [3591] 3591,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[74, 46], Operations: ['7*9=63', '63-17=46'] Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 74*46=3404, Resulting Numbers: [3404] 3404,59 unequal: No Solution Exploring Operation: 74+46=120, Resulting Numbers: [120] 120,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[74, 80], Operations: ['7*9=63', '17+63=80'] Exploring Operation: 74*80=5920, Resulting Numbers: [5920] 5920,59 unequal: No Solution Exploring Operation: 74+80=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 59:[63, 91], Operations: ['7*9=63', '74+17=91'] Exploring Operation: 91-63=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 63+91=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 63*91=5733, Resulting Numbers: [5733] 5733,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[74, 9, 24], Operations: ['7+17=24'] Exploring Operation: 74-9=65, Resulting Numbers: [24, 65] Generated Node #0,1,0: 59:[24, 65] Operation: 74-9=65 Exploring Operation: 74-24=50, Resulting Numbers: [9, 50] Generated Node #0,1,1: 59:[9, 50] Operation: 74-24=50 Exploring Operation: 9+24=33, Resulting Numbers: [74, 33] Generated Node #0,1,2: 59:[74, 33] Operation: 9+24=33 Exploring Operation: 74+9=83, Resulting Numbers: [24, 83] Generated Node #0,1,3: 59:[24, 83] Operation: 74+9=83 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[24, 65], Operations: ['7+17=24', '74-9=65'] Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 24+65=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 24*65=1560, Resulting Numbers: [1560] 1560,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[74, 33], Operations: ['7+17=24', '9+24=33'] Exploring Operation: 74+33=107, Resulting Numbers: [107] 107,59 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 74*33=2442, Resulting Numbers: [2442] 2442,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[9, 50], Operations: ['7+17=24', '74-24=50'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,59 unequal: No Solution Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[74, 7, 17, 9], Operations: [] Exploring Operation: 7+17=24, Resulting Numbers: [74, 9, 24] Generated Node #0,1: 59:[74, 9, 24] Operation: 7+17=24 Moving to Node #0,1 Current State: 59:[74, 9, 24], Operations: ['7+17=24'] Exploring Operation: 74-24=50, Resulting Numbers: [9, 50] Generated Node #0,1,1: 59:[9, 50] Operation: 74-24=50 Moving to Node #0,1,1 Current State: 59:[9, 50], Operations: ['7+17=24', '74-24=50'] Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 36, 58, 2, 74 ]
94
[ "58-36=22", "74-2=72", "22+72=94" ]
Current State: 94:[36, 58, 2, 74], Operations: [] Exploring Operation: 58-36=22, Resulting Numbers: [2, 74, 22] Generated Node #2: [2, 74, 22] from Operation: 58-36=22 Current State: 94:[2, 74, 22], Operations: ['58-36=22'] Exploring Operation: 74-2=72, Resulting Numbers: [22, 72] Generated Node #3: [22, 72] from Operation: 74-2=72 Current State: 94:[22, 72], Operations: ['58-36=22', '74-2=72'] Exploring Operation: 22+72=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[36, 58, 2, 74], Operations: [] Exploring Operation: 36+58=94, Resulting Numbers: [2, 74, 94] Generated Node #0,0: 94:[2, 74, 94] Operation: 36+58=94 Exploring Operation: 74-36=38, Resulting Numbers: [58, 2, 38] Generated Node #0,1: 94:[58, 2, 38] Operation: 74-36=38 Moving to Node #0,0 Current State: 94:[2, 74, 94], Operations: ['36+58=94'] Exploring Operation: 74/2=37, Resulting Numbers: [94, 37] Generated Node #0,0,0: 94:[94, 37] Operation: 74/2=37 Exploring Operation: 2+74=76, Resulting Numbers: [94, 76] Generated Node #0,0,1: 94:[94, 76] Operation: 2+74=76 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[94, 37], Operations: ['36+58=94', '74/2=37'] Exploring Operation: 94-37=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 94+37=131, Resulting Numbers: [131] 131,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[94, 76], Operations: ['36+58=94', '2+74=76'] Exploring Operation: 94-76=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 94+76=170, Resulting Numbers: [170] 170,94 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: 94:[58, 2, 38], Operations: ['74-36=38'] Exploring Operation: 58-2=56, Resulting Numbers: [38, 56] Generated Node #0,1,0: 94:[38, 56] Operation: 58-2=56 Exploring Operation: 58+38=96, Resulting Numbers: [2, 96] Generated Node #0,1,1: 94:[2, 96] Operation: 58+38=96 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[2, 96], Operations: ['74-36=38', '58+38=96'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[36, 58, 2, 74], Operations: [] Exploring Operation: 74-36=38, Resulting Numbers: [58, 2, 38] Generated Node #0,1: 94:[58, 2, 38] Operation: 74-36=38 Moving to Node #0,1 Current State: 94:[58, 2, 38], Operations: ['74-36=38'] Exploring Operation: 58+38=96, Resulting Numbers: [2, 96] Generated Node #0,1,1: 94:[2, 96] Operation: 58+38=96 Moving to Node #0,1,1 Current State: 94:[2, 96], Operations: ['74-36=38', '58+38=96'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 17, 99, 3, 38 ]
22
[ "17+38=55", "99/3=33", "55-33=22" ]
Current State: 22:[17, 99, 3, 38], Operations: [] Exploring Operation: 17+38=55, Resulting Numbers: [99, 3, 55] Generated Node #2: [99, 3, 55] from Operation: 17+38=55 Current State: 22:[99, 3, 55], Operations: ['17+38=55'] Exploring Operation: 99/3=33, Resulting Numbers: [55, 33] Generated Node #3: [55, 33] from Operation: 99/3=33 Current State: 22:[55, 33], Operations: ['17+38=55', '99/3=33'] Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[17, 99, 3, 38], Operations: [] Exploring Operation: 38-17=21, Resulting Numbers: [99, 3, 21] Generated Node #0,0: 22:[99, 3, 21] Operation: 38-17=21 Exploring Operation: 99-38=61, Resulting Numbers: [17, 3, 61] Generated Node #0,1: 22:[17, 3, 61] Operation: 99-38=61 Exploring Operation: 99-17=82, Resulting Numbers: [3, 38, 82] Generated Node #0,2: 22:[3, 38, 82] Operation: 99-17=82 Exploring Operation: 17+3=20, Resulting Numbers: [99, 38, 20] Generated Node #0,3: 22:[99, 38, 20] Operation: 17+3=20 Exploring Operation: 99/3=33, Resulting Numbers: [17, 38, 33] Generated Node #0,4: 22:[17, 38, 33] Operation: 99/3=33 Start Sub Search at level 1: Moving to Node #0,4 Current State: 22:[17, 38, 33], Operations: ['99/3=33'] Exploring Operation: 38-17=21, Resulting Numbers: [33, 21] Generated Node #0,4,0: 22:[33, 21] Operation: 38-17=21 Exploring Operation: 17+33=50, Resulting Numbers: [38, 50] Generated Node #0,4,1: 22:[38, 50] Operation: 17+33=50 Exploring Operation: 33-17=16, Resulting Numbers: [38, 16] Generated Node #0,4,2: 22:[38, 16] Operation: 33-17=16 Exploring Operation: 38-33=5, Resulting Numbers: [17, 5] Generated Node #0,4,3: 22:[17, 5] Operation: 38-33=5 Exploring Operation: 17+38=55, Resulting Numbers: [33, 55] Generated Node #0,4,4: 22:[33, 55] Operation: 17+38=55 Moving to Node #0,4,3 Current State: 22:[17, 5], Operations: ['99/3=33', '38-33=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,22 unequal: No Solution Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[17, 99, 3, 38], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [17, 38, 33] Generated Node #0,4: 22:[17, 38, 33] Operation: 99/3=33 Moving to Node #0,4 Current State: 22:[17, 38, 33], Operations: ['99/3=33'] Exploring Operation: 38-33=5, Resulting Numbers: [17, 5] Generated Node #0,4,3: 22:[17, 5] Operation: 38-33=5 Moving to Node #0,4,3 Current State: 22:[17, 5], Operations: ['99/3=33', '38-33=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 79, 2, 27, 82 ]
49
[ "79*2=158", "27+82=109", "158-109=49" ]
Current State: 49:[79, 2, 27, 82], Operations: [] Exploring Operation: 79*2=158, Resulting Numbers: [27, 82, 158] Generated Node #2: [27, 82, 158] from Operation: 79*2=158 Current State: 49:[27, 82, 158], Operations: ['79*2=158'] Exploring Operation: 27+82=109, Resulting Numbers: [158, 109] Generated Node #3: [158, 109] from Operation: 27+82=109 Current State: 49:[158, 109], Operations: ['79*2=158', '27+82=109'] Exploring Operation: 158-109=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[79, 2, 27, 82], Operations: [] Exploring Operation: 82-27=55, Resulting Numbers: [79, 2, 55] Generated Node #0,0: 49:[79, 2, 55] Operation: 82-27=55 Exploring Operation: 82-79=3, Resulting Numbers: [2, 27, 3] Generated Node #0,1: 49:[2, 27, 3] Operation: 82-79=3 Exploring Operation: 79-27=52, Resulting Numbers: [2, 82, 52] Generated Node #0,2: 49:[2, 82, 52] Operation: 79-27=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[2, 27, 3], Operations: ['82-79=3'] Exploring Operation: 2*27=54, Resulting Numbers: [3, 54] Generated Node #0,1,0: 49:[3, 54] Operation: 2*27=54 Exploring Operation: 2*3=6, Resulting Numbers: [27, 6] Generated Node #0,1,1: 49:[27, 6] Operation: 2*3=6 Exploring Operation: 27/3=9, Resulting Numbers: [2, 9] Generated Node #0,1,2: 49:[2, 9] Operation: 27/3=9 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[2, 9], Operations: ['82-79=3', '27/3=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,49 unequal: No Solution No 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: 49:[3, 54], Operations: ['82-79=3', '2*27=54'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,49 unequal: No Solution No 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: 49:[27, 6], Operations: ['82-79=3', '2*3=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,49 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,49 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: 49:[79, 2, 55], Operations: ['82-27=55'] Exploring Operation: 79-2=77, Resulting Numbers: [55, 77] Generated Node #0,0,0: 49:[55, 77] Operation: 79-2=77 Exploring Operation: 79-55=24, Resulting Numbers: [2, 24] Generated Node #0,0,1: 49:[2, 24] Operation: 79-55=24 Exploring Operation: 55-2=53, Resulting Numbers: [79, 53] Generated Node #0,0,2: 49:[79, 53] Operation: 55-2=53 Moving to Node #0,0,1 Current State: 49:[2, 24], Operations: ['82-27=55', '79-55=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[55, 77], Operations: ['82-27=55', '79-2=77'] Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,49 unequal: No Solution Exploring Operation: 55*77=4235, Resulting Numbers: [4235] 4235,49 unequal: No Solution Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[79, 53], Operations: ['82-27=55', '55-2=53'] Exploring Operation: 79-53=26, Resulting Numbers: [26] 26,49 unequal: No Solution Exploring Operation: 79+53=132, Resulting Numbers: [132] 132,49 unequal: No Solution Exploring Operation: 79*53=4187, Resulting Numbers: [4187] 4187,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[2, 82, 52], Operations: ['79-27=52'] Exploring Operation: 82-52=30, Resulting Numbers: [2, 30] Generated Node #0,2,0: 49:[2, 30] Operation: 82-52=30 Exploring Operation: 82-2=80, Resulting Numbers: [52, 80] Generated Node #0,2,1: 49:[52, 80] Operation: 82-2=80 Exploring Operation: 82/2=41, Resulting Numbers: [52, 41] Generated Node #0,2,2: 49:[52, 41] Operation: 82/2=41 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[52, 41], Operations: ['79-27=52', '82/2=41'] Exploring Operation: 52*41=2132, Resulting Numbers: [2132] 2132,49 unequal: No Solution Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 52+41=93, Resulting Numbers: [93] 93,49 unequal: No Solution No 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: 49:[2, 30], Operations: ['79-27=52', '82-52=30'] Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,49 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,49 unequal: No Solution No 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: 49:[52, 80], Operations: ['79-27=52', '82-2=80'] Exploring Operation: 52*80=4160, Resulting Numbers: [4160] 4160,49 unequal: No Solution Exploring Operation: 52+80=132, Resulting Numbers: [132] 132,49 unequal: No Solution Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,49 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
[ 84, 99, 84, 59 ]
40
[ "84+99=183", "84+59=143", "183-143=40" ]
Current State: 40:[84, 99, 84, 59], Operations: [] Exploring Operation: 84+99=183, Resulting Numbers: [59, 183] Generated Node #2: [59, 183] from Operation: 84+99=183 Current State: 40:[59, 183], Operations: ['84+99=183'] Exploring Operation: 84+59=143, Resulting Numbers: [183, 143] Generated Node #3: [183, 143] from Operation: 84+59=143 Current State: 40:[183, 143], Operations: ['84+99=183', '84+59=143'] Exploring Operation: 183-143=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[84, 99, 84, 59], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [84, 59, 15] Generated Node #0,0: 40:[84, 59, 15] Operation: 99-84=15 Exploring Operation: 84/84=1, Resulting Numbers: [99, 59, 1] Generated Node #0,1: 40:[99, 59, 1] Operation: 84/84=1 Exploring Operation: 99-84=15, Resulting Numbers: [84, 59, 15] Generated Node #0,2: 40:[84, 59, 15] Operation: 99-84=15 Moving to Node #0,0 Current State: 40:[84, 59, 15], Operations: ['99-84=15'] Exploring Operation: 84-15=69, Resulting Numbers: [59, 69] Generated Node #0,0,0: 40:[59, 69] Operation: 84-15=69 Exploring Operation: 59-15=44, Resulting Numbers: [84, 44] Generated Node #0,0,1: 40:[84, 44] Operation: 59-15=44 Exploring Operation: 84-59=25, Resulting Numbers: [15, 25] Generated Node #0,0,2: 40:[15, 25] Operation: 84-59=25 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 40:[15, 25], Operations: ['99-84=15', '84-59=25'] Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[84, 99, 84, 59], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [84, 59, 15] Generated Node #0,0: 40:[84, 59, 15] Operation: 99-84=15 Moving to Node #0,0 Current State: 40:[84, 59, 15], Operations: ['99-84=15'] Exploring Operation: 84-59=25, Resulting Numbers: [15, 25] Generated Node #0,0,2: 40:[15, 25] Operation: 84-59=25 Moving to Node #0,0,2 Current State: 40:[15, 25], Operations: ['99-84=15', '84-59=25'] Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 39, 34, 3, 30 ]
40
[ "39+34=73", "3+30=33", "73-33=40" ]
Current State: 40:[39, 34, 3, 30], Operations: [] Exploring Operation: 39+34=73, Resulting Numbers: [3, 30, 73] Generated Node #2: [3, 30, 73] from Operation: 39+34=73 Current State: 40:[3, 30, 73], Operations: ['39+34=73'] Exploring Operation: 3+30=33, Resulting Numbers: [73, 33] Generated Node #3: [73, 33] from Operation: 3+30=33 Current State: 40:[73, 33], Operations: ['39+34=73', '3+30=33'] Exploring Operation: 73-33=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[39, 34, 3, 30], Operations: [] Exploring Operation: 30/3=10, Resulting Numbers: [39, 34, 10] Generated Node #0,0: 40:[39, 34, 10] Operation: 30/3=10 Exploring Operation: 34-30=4, Resulting Numbers: [39, 3, 4] Generated Node #0,1: 40:[39, 3, 4] Operation: 34-30=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[39, 3, 4], Operations: ['34-30=4'] Exploring Operation: 3+4=7, Resulting Numbers: [39, 7] Generated Node #0,1,0: 40:[39, 7] Operation: 3+4=7 Exploring Operation: 39+3=42, Resulting Numbers: [4, 42] Generated Node #0,1,1: 40:[4, 42] Operation: 39+3=42 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[39, 7], Operations: ['34-30=4', '3+4=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,40 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[4, 42], Operations: ['34-30=4', '39+3=42'] Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,40 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[39, 34, 10], Operations: ['30/3=10'] Exploring Operation: 39-34=5, Resulting Numbers: [10, 5] Generated Node #0,0,0: 40:[10, 5] Operation: 39-34=5 Exploring Operation: 34+10=44, Resulting Numbers: [39, 44] Generated Node #0,0,1: 40:[39, 44] Operation: 34+10=44 Moving to Node #0,0,0 Current State: 40:[10, 5], Operations: ['30/3=10', '39-34=5'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[39, 44], Operations: ['30/3=10', '34+10=44'] Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,40 unequal: No Solution Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,40 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
[ 10, 81, 49, 65 ]
12
[ "81+49=130", "130/65=2", "10+2=12" ]
Current State: 12:[10, 81, 49, 65], Operations: [] Exploring Operation: 81+49=130, Resulting Numbers: [10, 65, 130] Generated Node #2: [10, 65, 130] from Operation: 81+49=130 Current State: 12:[10, 65, 130], Operations: ['81+49=130'] Exploring Operation: 130/65=2, Resulting Numbers: [10, 2] Generated Node #3: [10, 2] from Operation: 130/65=2 Current State: 12:[10, 2], Operations: ['81+49=130', '130/65=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[10, 81, 49, 65], Operations: [] Exploring Operation: 81-65=16, Resulting Numbers: [10, 49, 16] Generated Node #0,0: 12:[10, 49, 16] Operation: 81-65=16 Moving to Node #0,0 Current State: 12:[10, 49, 16], Operations: ['81-65=16'] Exploring Operation: 49-16=33, Resulting Numbers: [10, 33] Generated Node #0,0,0: 12:[10, 33] Operation: 49-16=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[10, 33], Operations: ['81-65=16', '49-16=33'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,12 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
[ 68, 77, 75, 5 ]
46
[ "68+77=145", "145/5=29", "75-29=46" ]
Current State: 46:[68, 77, 75, 5], Operations: [] Exploring Operation: 68+77=145, Resulting Numbers: [75, 5, 145] Generated Node #2: [75, 5, 145] from Operation: 68+77=145 Current State: 46:[75, 5, 145], Operations: ['68+77=145'] Exploring Operation: 145/5=29, Resulting Numbers: [75, 29] Generated Node #3: [75, 29] from Operation: 145/5=29 Current State: 46:[75, 29], Operations: ['68+77=145', '145/5=29'] Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[68, 77, 75, 5], Operations: [] Exploring Operation: 77-68=9, Resulting Numbers: [75, 5, 9] Generated Node #0,0: 46:[75, 5, 9] Operation: 77-68=9 Exploring Operation: 75-68=7, Resulting Numbers: [77, 5, 7] Generated Node #0,1: 46:[77, 5, 7] Operation: 75-68=7 Exploring Operation: 75/5=15, Resulting Numbers: [68, 77, 15] Generated Node #0,2: 46:[68, 77, 15] Operation: 75/5=15 Exploring Operation: 77-75=2, Resulting Numbers: [68, 5, 2] Generated Node #0,3: 46:[68, 5, 2] Operation: 77-75=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[68, 5, 2], Operations: ['77-75=2'] Exploring Operation: 68/2=34, Resulting Numbers: [5, 34] Generated Node #0,3,0: 46:[5, 34] Operation: 68/2=34 Exploring Operation: 68-5=63, Resulting Numbers: [2, 63] Generated Node #0,3,1: 46:[2, 63] Operation: 68-5=63 Exploring Operation: 68-2=66, Resulting Numbers: [5, 66] Generated Node #0,3,2: 46:[5, 66] Operation: 68-2=66 Exploring Operation: 5-2=3, Resulting Numbers: [68, 3] Generated Node #0,3,3: 46:[68, 3] Operation: 5-2=3 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 46:[5, 34], Operations: ['77-75=2', '68/2=34'] Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,46 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,46 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 46:[2, 63], Operations: ['77-75=2', '68-5=63'] Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,46 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 46:[5, 66], Operations: ['77-75=2', '68-2=66'] Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,46 unequal: No Solution Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 46:[68, 3], Operations: ['77-75=2', '5-2=3'] Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 68*3=204, Resulting Numbers: [204] 204,46 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[75, 5, 9], Operations: ['77-68=9'] Exploring Operation: 5*9=45, Resulting Numbers: [75, 45] Generated Node #0,0,0: 46:[75, 45] Operation: 5*9=45 Exploring Operation: 75/5=15, Resulting Numbers: [9, 15] Generated Node #0,0,1: 46:[9, 15] Operation: 75/5=15 Exploring Operation: 75-5=70, Resulting Numbers: [9, 70] Generated Node #0,0,2: 46:[9, 70] Operation: 75-5=70 Exploring Operation: 75-9=66, Resulting Numbers: [5, 66] Generated Node #0,0,3: 46:[5, 66] Operation: 75-9=66 Moving to Node #0,0,1 Current State: 46:[9, 15], Operations: ['77-68=9', '75/5=15'] Exploring Operation: 9*15=135, Resulting Numbers: [135] 135,46 unequal: No Solution Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[5, 66], Operations: ['77-68=9', '75-9=66'] Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,46 unequal: No Solution Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,46 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[75, 45], Operations: ['77-68=9', '5*9=45'] Exploring Operation: 75+45=120, Resulting Numbers: [120] 120,46 unequal: No Solution Exploring Operation: 75*45=3375, Resulting Numbers: [3375] 3375,46 unequal: No Solution Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[9, 70], Operations: ['77-68=9', '75-5=70'] Exploring Operation: 9+70=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 9*70=630, Resulting Numbers: [630] 630,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[77, 5, 7], Operations: ['75-68=7'] Exploring Operation: 77-7=70, Resulting Numbers: [5, 70] Generated Node #0,1,0: 46:[5, 70] Operation: 77-7=70 Exploring Operation: 7-5=2, Resulting Numbers: [77, 2] Generated Node #0,1,1: 46:[77, 2] Operation: 7-5=2 Exploring Operation: 77/7=11, Resulting Numbers: [5, 11] Generated Node #0,1,2: 46:[5, 11] Operation: 77/7=11 Exploring Operation: 77-5=72, Resulting Numbers: [7, 72] Generated Node #0,1,3: 46:[7, 72] Operation: 77-5=72 Moving to Node #0,1,2 Current State: 46:[5, 11], Operations: ['75-68=7', '77/7=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[5, 70], Operations: ['75-68=7', '77-7=70'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,46 unequal: No Solution Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,46 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[7, 72], Operations: ['75-68=7', '77-5=72'] Exploring Operation: 7+72=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 7*72=504, Resulting Numbers: [504] 504,46 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[77, 2], Operations: ['75-68=7', '7-5=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,46 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[68, 77, 15], Operations: ['75/5=15'] Exploring Operation: 77-15=62, Resulting Numbers: [68, 62] Generated Node #0,2,0: 46:[68, 62] Operation: 77-15=62 Exploring Operation: 77-68=9, Resulting Numbers: [15, 9] Generated Node #0,2,1: 46:[15, 9] Operation: 77-68=9 Exploring Operation: 68-15=53, Resulting Numbers: [77, 53] Generated Node #0,2,2: 46:[77, 53] Operation: 68-15=53 Exploring Operation: 68+15=83, Resulting Numbers: [77, 83] Generated Node #0,2,3: 46:[77, 83] Operation: 68+15=83 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 46:[15, 9], Operations: ['75/5=15', '77-68=9'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,46 unequal: No Solution Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[68, 62], Operations: ['75/5=15', '77-15=62'] Exploring Operation: 68*62=4216, Resulting Numbers: [4216] 4216,46 unequal: No Solution Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 68+62=130, Resulting Numbers: [130] 130,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 46:[77, 53], Operations: ['75/5=15', '68-15=53'] Exploring Operation: 77*53=4081, Resulting Numbers: [4081] 4081,46 unequal: No Solution Exploring Operation: 77+53=130, Resulting Numbers: [130] 130,46 unequal: No Solution Exploring Operation: 77-53=24, Resulting Numbers: [24] 24,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 46:[77, 83], Operations: ['75/5=15', '68+15=83'] Exploring Operation: 83-77=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 77+83=160, Resulting Numbers: [160] 160,46 unequal: No Solution Exploring Operation: 77*83=6391, Resulting Numbers: [6391] 6391,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 46, 16, 23, 22 ]
61
[ "46+16=62", "23-22=1", "62-1=61" ]
Current State: 61:[46, 16, 23, 22], Operations: [] Exploring Operation: 46+16=62, Resulting Numbers: [23, 22, 62] Generated Node #2: [23, 22, 62] from Operation: 46+16=62 Current State: 61:[23, 22, 62], Operations: ['46+16=62'] Exploring Operation: 23-22=1, Resulting Numbers: [62, 1] Generated Node #3: [62, 1] from Operation: 23-22=1 Current State: 61:[62, 1], Operations: ['46+16=62', '23-22=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[46, 16, 23, 22], Operations: [] Exploring Operation: 16+23=39, Resulting Numbers: [46, 22, 39] Generated Node #0,0: 61:[46, 22, 39] Operation: 16+23=39 Exploring Operation: 46+22=68, Resulting Numbers: [16, 23, 68] Generated Node #0,1: 61:[16, 23, 68] Operation: 46+22=68 Exploring Operation: 16+22=38, Resulting Numbers: [46, 23, 38] Generated Node #0,2: 61:[46, 23, 38] Operation: 16+22=38 Exploring Operation: 46+16=62, Resulting Numbers: [23, 22, 62] Generated Node #0,3: 61:[23, 22, 62] Operation: 46+16=62 Exploring Operation: 23+22=45, Resulting Numbers: [46, 16, 45] Generated Node #0,4: 61:[46, 16, 45] Operation: 23+22=45 Moving to Node #0,0 Current State: 61:[46, 22, 39], Operations: ['16+23=39'] Exploring Operation: 39-22=17, Resulting Numbers: [46, 17] Generated Node #0,0,0: 61:[46, 17] Operation: 39-22=17 Exploring Operation: 46-22=24, Resulting Numbers: [39, 24] Generated Node #0,0,1: 61:[39, 24] Operation: 46-22=24 Exploring Operation: 46+22=68, Resulting Numbers: [39, 68] Generated Node #0,0,2: 61:[39, 68] Operation: 46+22=68 Exploring Operation: 46+39=85, Resulting Numbers: [22, 85] Generated Node #0,0,3: 61:[22, 85] Operation: 46+39=85 Exploring Operation: 22+39=61, Resulting Numbers: [46, 61] Generated Node #0,0,4: 61:[46, 61] Operation: 22+39=61 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 61:[46, 61], Operations: ['16+23=39', '22+39=61'] Exploring Operation: 46*61=2806, Resulting Numbers: [2806] 2806,61 unequal: No Solution Exploring Operation: 46+61=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,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,0,2 Current State: 61:[39, 68], Operations: ['16+23=39', '46+22=68'] Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,61 unequal: No Solution Exploring Operation: 39*68=2652, Resulting Numbers: [2652] 2652,61 unequal: No Solution Exploring Operation: 39+68=107, Resulting Numbers: [107] 107,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,0,0 Current State: 61:[46, 17], Operations: ['16+23=39', '39-22=17'] Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,61 unequal: No Solution Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,61 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,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,0,1 Current State: 61:[39, 24], Operations: ['16+23=39', '46-22=24'] Exploring Operation: 39*24=936, Resulting Numbers: [936] 936,61 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,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,0,3 Current State: 61:[22, 85], Operations: ['16+23=39', '46+39=85'] Exploring Operation: 22+85=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,61 unequal: No Solution Exploring Operation: 22*85=1870, Resulting Numbers: [1870] 1870,61 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: 61:[46, 16, 45], Operations: ['23+22=45'] Exploring Operation: 16+45=61, Resulting Numbers: [46, 61] Generated Node #0,4,0: 61:[46, 61] Operation: 16+45=61 Exploring Operation: 46+45=91, Resulting Numbers: [16, 91] Generated Node #0,4,1: 61:[16, 91] Operation: 46+45=91 Exploring Operation: 46+16=62, Resulting Numbers: [45, 62] Generated Node #0,4,2: 61:[45, 62] Operation: 46+16=62 Exploring Operation: 45-16=29, Resulting Numbers: [46, 29] Generated Node #0,4,3: 61:[46, 29] Operation: 45-16=29 Exploring Operation: 46-16=30, Resulting Numbers: [45, 30] Generated Node #0,4,4: 61:[45, 30] Operation: 46-16=30 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 61:[46, 61], Operations: ['23+22=45', '16+45=61'] Exploring Operation: 46+61=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 46*61=2806, Resulting Numbers: [2806] 2806,61 unequal: No Solution Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 61:[45, 62], Operations: ['23+22=45', '46+16=62'] Exploring Operation: 45+62=107, Resulting Numbers: [107] 107,61 unequal: No Solution Exploring Operation: 45*62=2790, Resulting Numbers: [2790] 2790,61 unequal: No Solution Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 61:[46, 29], Operations: ['23+22=45', '45-16=29'] Exploring Operation: 46+29=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,61 unequal: No Solution Exploring Operation: 46*29=1334, Resulting Numbers: [1334] 1334,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 61:[45, 30], Operations: ['23+22=45', '46-16=30'] Exploring Operation: 45+30=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 45*30=1350, Resulting Numbers: [1350] 1350,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 61:[16, 91], Operations: ['23+22=45', '46+45=91'] Exploring Operation: 16*91=1456, Resulting Numbers: [1456] 1456,61 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 16+91=107, Resulting Numbers: [107] 107,61 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: 61:[46, 23, 38], Operations: ['16+22=38'] Exploring Operation: 46+38=84, Resulting Numbers: [23, 84] Generated Node #0,2,0: 61:[23, 84] Operation: 46+38=84 Exploring Operation: 46+23=69, Resulting Numbers: [38, 69] Generated Node #0,2,1: 61:[38, 69] Operation: 46+23=69 Exploring Operation: 46-23=23, Resulting Numbers: [38, 23] Generated Node #0,2,2: 61:[38, 23] Operation: 46-23=23 Exploring Operation: 23+38=61, Resulting Numbers: [46, 61] Generated Node #0,2,3: 61:[46, 61] Operation: 23+38=61 Exploring Operation: 38-23=15, Resulting Numbers: [46, 15] Generated Node #0,2,4: 61:[46, 15] Operation: 38-23=15 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[46, 61], Operations: ['16+22=38', '23+38=61'] Exploring Operation: 46*61=2806, Resulting Numbers: [2806] 2806,61 unequal: No Solution Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 46+61=107, Resulting Numbers: [107] 107,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:[38, 69], Operations: ['16+22=38', '46+23=69'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,61 unequal: No Solution Exploring Operation: 38*69=2622, Resulting Numbers: [2622] 2622,61 unequal: No Solution Exploring Operation: 38+69=107, Resulting Numbers: [107] 107,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:[23, 84], Operations: ['16+22=38', '46+38=84'] Exploring Operation: 23*84=1932, Resulting Numbers: [1932] 1932,61 unequal: No Solution Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[46, 16, 23, 22], Operations: [] Exploring Operation: 16+22=38, Resulting Numbers: [46, 23, 38] Generated Node #0,2: 61:[46, 23, 38] Operation: 16+22=38 Moving to Node #0,2 Current State: 61:[46, 23, 38], Operations: ['16+22=38'] Exploring Operation: 46+38=84, Resulting Numbers: [23, 84] Generated Node #0,2,0: 61:[23, 84] Operation: 46+38=84 Moving to Node #0,2,0 Current State: 61:[23, 84], Operations: ['16+22=38', '46+38=84'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_5
mult_heuristic
[ 61, 37, 90, 45 ]
100
[ "61+37=98", "90/45=2", "98+2=100" ]
Current State: 100:[61, 37, 90, 45], Operations: [] Exploring Operation: 61+37=98, Resulting Numbers: [90, 45, 98] Generated Node #2: [90, 45, 98] from Operation: 61+37=98 Current State: 100:[90, 45, 98], Operations: ['61+37=98'] Exploring Operation: 90/45=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 90/45=2 Current State: 100:[98, 2], Operations: ['61+37=98', '90/45=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[61, 37, 90, 45], Operations: [] Exploring Operation: 61-37=24, Resulting Numbers: [90, 45, 24] Generated Node #0,0: 100:[90, 45, 24] Operation: 61-37=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[90, 45, 24], Operations: ['61-37=24'] Exploring Operation: 90/45=2, Resulting Numbers: [24, 2] Generated Node #0,0,0: 100:[24, 2] Operation: 90/45=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[24, 2], Operations: ['61-37=24', '90/45=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 99, 79, 31, 5 ]
56
[ "99-79=20", "31+5=36", "20+36=56" ]
Current State: 56:[99, 79, 31, 5], Operations: [] Exploring Operation: 99-79=20, Resulting Numbers: [31, 5, 20] Generated Node #2: [31, 5, 20] from Operation: 99-79=20 Current State: 56:[31, 5, 20], Operations: ['99-79=20'] Exploring Operation: 31+5=36, Resulting Numbers: [20, 36] Generated Node #3: [20, 36] from Operation: 31+5=36 Current State: 56:[20, 36], Operations: ['99-79=20', '31+5=36'] Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[99, 79, 31, 5], Operations: [] Exploring Operation: 99-79=20, Resulting Numbers: [31, 5, 20] Generated Node #0,0: 56:[31, 5, 20] Operation: 99-79=20 Exploring Operation: 99-31=68, Resulting Numbers: [79, 5, 68] Generated Node #0,1: 56:[79, 5, 68] Operation: 99-31=68 Exploring Operation: 79-31=48, Resulting Numbers: [99, 5, 48] Generated Node #0,2: 56:[99, 5, 48] Operation: 79-31=48 Exploring Operation: 99-5=94, Resulting Numbers: [79, 31, 94] Generated Node #0,3: 56:[79, 31, 94] Operation: 99-5=94 Moving to Node #0,0 Current State: 56:[31, 5, 20], Operations: ['99-79=20'] Exploring Operation: 31+20=51, Resulting Numbers: [5, 51] Generated Node #0,0,0: 56:[5, 51] Operation: 31+20=51 Exploring Operation: 20/5=4, Resulting Numbers: [31, 4] Generated Node #0,0,1: 56:[31, 4] Operation: 20/5=4 Exploring Operation: 20-5=15, Resulting Numbers: [31, 15] Generated Node #0,0,2: 56:[31, 15] Operation: 20-5=15 Exploring Operation: 31-20=11, Resulting Numbers: [5, 11] Generated Node #0,0,3: 56:[5, 11] Operation: 31-20=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[31, 4], Operations: ['99-79=20', '20/5=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,56 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[31, 15], Operations: ['99-79=20', '20-5=15'] Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 31*15=465, Resulting Numbers: [465] 465,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[5, 11], Operations: ['99-79=20', '31-20=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[5, 51], Operations: ['99-79=20', '31+20=51'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[99, 79, 31, 5], Operations: [] Exploring Operation: 99-79=20, Resulting Numbers: [31, 5, 20] Generated Node #0,0: 56:[31, 5, 20] Operation: 99-79=20 Moving to Node #0,0 Current State: 56:[31, 5, 20], Operations: ['99-79=20'] Exploring Operation: 31+20=51, Resulting Numbers: [5, 51] Generated Node #0,0,0: 56:[5, 51] Operation: 31+20=51 Moving to Node #0,0,0 Current State: 56:[5, 51], Operations: ['99-79=20', '31+20=51'] Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 83, 95, 95, 56 ]
28
[ "83-56=27", "95/95=1", "27+1=28" ]
Current State: 28:[83, 95, 95, 56], Operations: [] Exploring Operation: 83-56=27, Resulting Numbers: [95, 95, 27] Generated Node #2: [95, 95, 27] from Operation: 83-56=27 Current State: 28:[95, 95, 27], Operations: ['83-56=27'] Exploring Operation: 95/95=1, Resulting Numbers: [27, 1] Generated Node #3: [27, 1] from Operation: 95/95=1 Current State: 28:[27, 1], Operations: ['83-56=27', '95/95=1'] Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[83, 95, 95, 56], Operations: [] Exploring Operation: 95/95=1, Resulting Numbers: [83, 56, 1] Generated Node #0,0: 28:[83, 56, 1] Operation: 95/95=1 Moving to Node #0,0 Current State: 28:[83, 56, 1], Operations: ['95/95=1'] Exploring Operation: 83-56=27, Resulting Numbers: [1, 27] Generated Node #0,0,0: 28:[1, 27] Operation: 83-56=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[1, 27], Operations: ['95/95=1', '83-56=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[83, 95, 95, 56], Operations: [] Exploring Operation: 95/95=1, Resulting Numbers: [83, 56, 1] Generated Node #0,0: 28:[83, 56, 1] Operation: 95/95=1 Moving to Node #0,0 Current State: 28:[83, 56, 1], Operations: ['95/95=1'] Exploring Operation: 83-56=27, Resulting Numbers: [1, 27] Generated Node #0,0,0: 28:[1, 27] Operation: 83-56=27 Moving to Node #0,0,0 Current State: 28:[1, 27], Operations: ['95/95=1', '83-56=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 93, 3, 91, 25 ]
35
[ "93/3=31", "91-25=66", "66-31=35" ]
Current State: 35:[93, 3, 91, 25], Operations: [] Exploring Operation: 93/3=31, Resulting Numbers: [91, 25, 31] Generated Node #2: [91, 25, 31] from Operation: 93/3=31 Current State: 35:[91, 25, 31], Operations: ['93/3=31'] Exploring Operation: 91-25=66, Resulting Numbers: [31, 66] Generated Node #3: [31, 66] from Operation: 91-25=66 Current State: 35:[31, 66], Operations: ['93/3=31', '91-25=66'] Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[93, 3, 91, 25], Operations: [] Exploring Operation: 93/3=31, Resulting Numbers: [91, 25, 31] Generated Node #0,0: 35:[91, 25, 31] Operation: 93/3=31 Exploring Operation: 91-25=66, Resulting Numbers: [93, 3, 66] Generated Node #0,1: 35:[93, 3, 66] Operation: 91-25=66 Exploring Operation: 93-25=68, Resulting Numbers: [3, 91, 68] Generated Node #0,2: 35:[3, 91, 68] Operation: 93-25=68 Exploring Operation: 93-91=2, Resulting Numbers: [3, 25, 2] Generated Node #0,3: 35:[3, 25, 2] Operation: 93-91=2 Moving to Node #0,3 Current State: 35:[3, 25, 2], Operations: ['93-91=2'] Exploring Operation: 3+25=28, Resulting Numbers: [2, 28] Generated Node #0,3,0: 35:[2, 28] Operation: 3+25=28 Exploring Operation: 25+2=27, Resulting Numbers: [3, 27] Generated Node #0,3,1: 35:[3, 27] Operation: 25+2=27 Exploring Operation: 3+2=5, Resulting Numbers: [25, 5] Generated Node #0,3,2: 35:[25, 5] Operation: 3+2=5 Exploring Operation: 3*2=6, Resulting Numbers: [25, 6] Generated Node #0,3,3: 35:[25, 6] Operation: 3*2=6 Moving to Node #0,0 Current State: 35:[91, 25, 31], Operations: ['93/3=31'] Exploring Operation: 91-31=60, Resulting Numbers: [25, 60] Generated Node #0,0,0: 35:[25, 60] Operation: 91-31=60 Exploring Operation: 91-25=66, Resulting Numbers: [31, 66] Generated Node #0,0,1: 35:[31, 66] Operation: 91-25=66 Exploring Operation: 31-25=6, Resulting Numbers: [91, 6] Generated Node #0,0,2: 35:[91, 6] Operation: 31-25=6 Exploring Operation: 25+31=56, Resulting Numbers: [91, 56] Generated Node #0,0,3: 35:[91, 56] Operation: 25+31=56 Moving to Node #0,2 Current State: 35:[3, 91, 68], Operations: ['93-25=68'] Exploring Operation: 91-3=88, Resulting Numbers: [68, 88] Generated Node #0,2,0: 35:[68, 88] Operation: 91-3=88 Exploring Operation: 68-3=65, Resulting Numbers: [91, 65] Generated Node #0,2,1: 35:[91, 65] Operation: 68-3=65 Exploring Operation: 91-68=23, Resulting Numbers: [3, 23] Generated Node #0,2,2: 35:[3, 23] Operation: 91-68=23 Exploring Operation: 3+91=94, Resulting Numbers: [68, 94] Generated Node #0,2,3: 35:[68, 94] Operation: 3+91=94 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 35:[3, 23], Operations: ['93-25=68', '91-68=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,35 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 35:[68, 88], Operations: ['93-25=68', '91-3=88'] Exploring Operation: 88-68=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 68+88=156, Resulting Numbers: [156] 156,35 unequal: No Solution Exploring Operation: 68*88=5984, Resulting Numbers: [5984] 5984,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 35:[91, 65], Operations: ['93-25=68', '68-3=65'] Exploring Operation: 91*65=5915, Resulting Numbers: [5915] 5915,35 unequal: No Solution Exploring Operation: 91+65=156, Resulting Numbers: [156] 156,35 unequal: No Solution Exploring Operation: 91-65=26, Resulting Numbers: [26] 26,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 35:[68, 94], Operations: ['93-25=68', '3+91=94'] Exploring Operation: 68+94=162, Resulting Numbers: [162] 162,35 unequal: No Solution Exploring Operation: 68*94=6392, Resulting Numbers: [6392] 6392,35 unequal: No Solution Exploring Operation: 94-68=26, Resulting Numbers: [26] 26,35 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: 35:[93, 3, 66], Operations: ['91-25=66'] Exploring Operation: 93/3=31, Resulting Numbers: [66, 31] Generated Node #0,1,0: 35:[66, 31] Operation: 93/3=31 Exploring Operation: 66/3=22, Resulting Numbers: [93, 22] Generated Node #0,1,1: 35:[93, 22] Operation: 66/3=22 Exploring Operation: 93-66=27, Resulting Numbers: [3, 27] Generated Node #0,1,2: 35:[3, 27] Operation: 93-66=27 Exploring Operation: 93-3=90, Resulting Numbers: [66, 90] Generated Node #0,1,3: 35:[66, 90] Operation: 93-3=90 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 35:[3, 27], Operations: ['91-25=66', '93-66=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,35 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[66, 31], Operations: ['91-25=66', '93/3=31'] Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[93, 3, 91, 25], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [93, 3, 66] Generated Node #0,1: 35:[93, 3, 66] Operation: 91-25=66 Moving to Node #0,1 Current State: 35:[93, 3, 66], Operations: ['91-25=66'] Exploring Operation: 93/3=31, Resulting Numbers: [66, 31] Generated Node #0,1,0: 35:[66, 31] Operation: 93/3=31 Moving to Node #0,1,0 Current State: 35:[66, 31], Operations: ['91-25=66', '93/3=31'] Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_4
sum_heuristic
[ 61, 63, 62, 80 ]
19
[ "80-61=19", "63-62=1", "19*1=19" ]
Current State: 19:[61, 63, 62, 80], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [63, 62, 19] Generated Node #2: [63, 62, 19] from Operation: 80-61=19 Current State: 19:[63, 62, 19], Operations: ['80-61=19'] Exploring Operation: 63-62=1, Resulting Numbers: [19, 1] Generated Node #3: [19, 1] from Operation: 63-62=1 Current State: 19:[19, 1], Operations: ['80-61=19', '63-62=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[61, 63, 62, 80], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [63, 62, 19] Generated Node #0,0: 19:[63, 62, 19] Operation: 80-61=19 Moving to Node #0,0 Current State: 19:[63, 62, 19], Operations: ['80-61=19'] Exploring Operation: 63-62=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 19:[19, 1] Operation: 63-62=1 Moving to Node #0,0,0 Current State: 19:[19, 1], Operations: ['80-61=19', '63-62=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[61, 63, 62, 80], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [63, 62, 19] Generated Node #0,0: 19:[63, 62, 19] Operation: 80-61=19 Moving to Node #0,0 Current State: 19:[63, 62, 19], Operations: ['80-61=19'] Exploring Operation: 63-62=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 19:[19, 1] Operation: 63-62=1 Moving to Node #0,0,0 Current State: 19:[19, 1], Operations: ['80-61=19', '63-62=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 17, 8, 21, 96 ]
66
[ "17-8=9", "96-21=75", "75-9=66" ]
Current State: 66:[17, 8, 21, 96], Operations: [] Exploring Operation: 17-8=9, Resulting Numbers: [21, 96, 9] Generated Node #2: [21, 96, 9] from Operation: 17-8=9 Current State: 66:[21, 96, 9], Operations: ['17-8=9'] Exploring Operation: 96-21=75, Resulting Numbers: [9, 75] Generated Node #3: [9, 75] from Operation: 96-21=75 Current State: 66:[9, 75], Operations: ['17-8=9', '96-21=75'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[17, 8, 21, 96], Operations: [] Exploring Operation: 96/8=12, Resulting Numbers: [17, 21, 12] Generated Node #0,0: 66:[17, 21, 12] Operation: 96/8=12 Exploring Operation: 96-21=75, Resulting Numbers: [17, 8, 75] Generated Node #0,1: 66:[17, 8, 75] Operation: 96-21=75 Exploring Operation: 96-17=79, Resulting Numbers: [8, 21, 79] Generated Node #0,2: 66:[8, 21, 79] Operation: 96-17=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[17, 21, 12], Operations: ['96/8=12'] Exploring Operation: 17-12=5, Resulting Numbers: [21, 5] Generated Node #0,0,0: 66:[21, 5] Operation: 17-12=5 Exploring Operation: 21-17=4, Resulting Numbers: [12, 4] Generated Node #0,0,1: 66:[12, 4] Operation: 21-17=4 Exploring Operation: 17+12=29, Resulting Numbers: [21, 29] Generated Node #0,0,2: 66:[21, 29] Operation: 17+12=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[21, 5], Operations: ['96/8=12', '17-12=5'] Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,66 unequal: No Solution No 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: 66:[12, 4], Operations: ['96/8=12', '21-17=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,66 unequal: No Solution No 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: 66:[21, 29], Operations: ['96/8=12', '17+12=29'] Exploring Operation: 21*29=609, Resulting Numbers: [609] 609,66 unequal: No Solution Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,66 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: 66:[17, 8, 75], Operations: ['96-21=75'] Exploring Operation: 75-17=58, Resulting Numbers: [8, 58] Generated Node #0,1,0: 66:[8, 58] Operation: 75-17=58 Exploring Operation: 17-8=9, Resulting Numbers: [75, 9] Generated Node #0,1,1: 66:[75, 9] Operation: 17-8=9 Exploring Operation: 75-8=67, Resulting Numbers: [17, 67] Generated Node #0,1,2: 66:[17, 67] Operation: 75-8=67 Moving to Node #0,1,2 Current State: 66:[17, 67], Operations: ['96-21=75', '75-8=67'] Exploring Operation: 17+67=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 17*67=1139, Resulting Numbers: [1139] 1139,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[8, 58], Operations: ['96-21=75', '75-17=58'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,66 unequal: No Solution Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[17, 8, 21, 96], Operations: [] Exploring Operation: 96-21=75, Resulting Numbers: [17, 8, 75] Generated Node #0,1: 66:[17, 8, 75] Operation: 96-21=75 Moving to Node #0,1 Current State: 66:[17, 8, 75], Operations: ['96-21=75'] Exploring Operation: 75-17=58, Resulting Numbers: [8, 58] Generated Node #0,1,0: 66:[8, 58] Operation: 75-17=58 Moving to Node #0,1,0 Current State: 66:[8, 58], Operations: ['96-21=75', '75-17=58'] Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 43, 24, 67, 87 ]
88
[ "43+24=67", "67/67=1", "87+1=88" ]
Current State: 88:[43, 24, 67, 87], Operations: [] Exploring Operation: 43+24=67, Resulting Numbers: [67, 87, 67] Generated Node #2: [67, 87, 67] from Operation: 43+24=67 Current State: 88:[67, 87, 67], Operations: ['43+24=67'] Exploring Operation: 67/67=1, Resulting Numbers: [87, 1] Generated Node #3: [87, 1] from Operation: 67/67=1 Current State: 88:[87, 1], Operations: ['43+24=67', '67/67=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[43, 24, 67, 87], Operations: [] Exploring Operation: 67-43=24, Resulting Numbers: [24, 87, 24] Generated Node #0,0: 88:[24, 87, 24] Operation: 67-43=24 Exploring Operation: 87-67=20, Resulting Numbers: [43, 24, 20] Generated Node #0,1: 88:[43, 24, 20] Operation: 87-67=20 Exploring Operation: 67-24=43, Resulting Numbers: [43, 87, 43] Generated Node #0,2: 88:[43, 87, 43] Operation: 67-24=43 Exploring Operation: 24+67=91, Resulting Numbers: [43, 87, 91] Generated Node #0,3: 88:[43, 87, 91] Operation: 24+67=91 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[43, 87, 43], Operations: ['67-24=43'] Exploring Operation: 43/43=1, Resulting Numbers: [87, 1] Generated Node #0,2,0: 88:[87, 1] Operation: 43/43=1 Exploring Operation: 43+43=86, Resulting Numbers: [87, 86] Generated Node #0,2,1: 88:[87, 86] Operation: 43+43=86 Exploring Operation: 87-43=44, Resulting Numbers: [43, 44] Generated Node #0,2,2: 88:[43, 44] Operation: 87-43=44 Exploring Operation: 87-43=44, Resulting Numbers: [43, 44] Generated Node #0,2,3: 88:[43, 44] Operation: 87-43=44 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 88:[43, 44], Operations: ['67-24=43', '87-43=44'] Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 43*44=1892, Resulting Numbers: [1892] 1892,88 unequal: No Solution Exploring Operation: 43+44=87, Resulting Numbers: [87] 87,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 88:[43, 44], Operations: ['67-24=43', '87-43=44'] Exploring Operation: 43*44=1892, Resulting Numbers: [1892] 1892,88 unequal: No Solution Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 43+44=87, Resulting Numbers: [87] 87,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[87, 1], Operations: ['67-24=43', '43/43=1'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[43, 24, 67, 87], Operations: [] Exploring Operation: 67-24=43, Resulting Numbers: [43, 87, 43] Generated Node #0,2: 88:[43, 87, 43] Operation: 67-24=43 Moving to Node #0,2 Current State: 88:[43, 87, 43], Operations: ['67-24=43'] Exploring Operation: 43/43=1, Resulting Numbers: [87, 1] Generated Node #0,2,0: 88:[87, 1] Operation: 43/43=1 Moving to Node #0,2,0 Current State: 88:[87, 1], Operations: ['67-24=43', '43/43=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 49, 70, 68, 58 ]
78
[ "70-68=2", "58/2=29", "49+29=78" ]
Current State: 78:[49, 70, 68, 58], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [49, 58, 2] Generated Node #2: [49, 58, 2] from Operation: 70-68=2 Current State: 78:[49, 58, 2], Operations: ['70-68=2'] Exploring Operation: 58/2=29, Resulting Numbers: [49, 29] Generated Node #3: [49, 29] from Operation: 58/2=29 Current State: 78:[49, 29], Operations: ['70-68=2', '58/2=29'] Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[49, 70, 68, 58], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [49, 70, 10] Generated Node #0,0: 78:[49, 70, 10] Operation: 68-58=10 Exploring Operation: 70-58=12, Resulting Numbers: [49, 68, 12] Generated Node #0,1: 78:[49, 68, 12] Operation: 70-58=12 Exploring Operation: 58-49=9, Resulting Numbers: [70, 68, 9] Generated Node #0,2: 78:[70, 68, 9] Operation: 58-49=9 Exploring Operation: 70-68=2, Resulting Numbers: [49, 58, 2] Generated Node #0,3: 78:[49, 58, 2] Operation: 70-68=2 Moving to Node #0,0 Current State: 78:[49, 70, 10], Operations: ['68-58=10'] Exploring Operation: 70+10=80, Resulting Numbers: [49, 80] Generated Node #0,0,0: 78:[49, 80] Operation: 70+10=80 Exploring Operation: 70-49=21, Resulting Numbers: [10, 21] Generated Node #0,0,1: 78:[10, 21] Operation: 70-49=21 Exploring Operation: 49-10=39, Resulting Numbers: [70, 39] Generated Node #0,0,2: 78:[70, 39] Operation: 49-10=39 Exploring Operation: 70/10=7, Resulting Numbers: [49, 7] Generated Node #0,0,3: 78:[49, 7] Operation: 70/10=7 Moving to Node #0,2 Current State: 78:[70, 68, 9], Operations: ['58-49=9'] Exploring Operation: 70+9=79, Resulting Numbers: [68, 79] Generated Node #0,2,0: 78:[68, 79] Operation: 70+9=79 Exploring Operation: 68+9=77, Resulting Numbers: [70, 77] Generated Node #0,2,1: 78:[70, 77] Operation: 68+9=77 Exploring Operation: 70-68=2, Resulting Numbers: [9, 2] Generated Node #0,2,2: 78:[9, 2] Operation: 70-68=2 Exploring Operation: 70-9=61, Resulting Numbers: [68, 61] Generated Node #0,2,3: 78:[68, 61] Operation: 70-9=61 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[9, 2], Operations: ['58-49=9', '70-68=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[70, 77], Operations: ['58-49=9', '68+9=77'] Exploring Operation: 77-70=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 70+77=147, Resulting Numbers: [147] 147,78 unequal: No Solution Exploring Operation: 70*77=5390, Resulting Numbers: [5390] 5390,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[68, 79], Operations: ['58-49=9', '70+9=79'] Exploring Operation: 79-68=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 68+79=147, Resulting Numbers: [147] 147,78 unequal: No Solution Exploring Operation: 68*79=5372, Resulting Numbers: [5372] 5372,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 78:[68, 61], Operations: ['58-49=9', '70-9=61'] Exploring Operation: 68+61=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 68*61=4148, Resulting Numbers: [4148] 4148,78 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,78 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: 78:[49, 68, 12], Operations: ['70-58=12'] Exploring Operation: 68-49=19, Resulting Numbers: [12, 19] Generated Node #0,1,0: 78:[12, 19] Operation: 68-49=19 Exploring Operation: 49+12=61, Resulting Numbers: [68, 61] Generated Node #0,1,1: 78:[68, 61] Operation: 49+12=61 Exploring Operation: 49-12=37, Resulting Numbers: [68, 37] Generated Node #0,1,2: 78:[68, 37] Operation: 49-12=37 Exploring Operation: 68+12=80, Resulting Numbers: [49, 80] Generated Node #0,1,3: 78:[49, 80] Operation: 68+12=80 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[12, 19], Operations: ['70-58=12', '68-49=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,78 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[68, 37], Operations: ['70-58=12', '49-12=37'] Exploring Operation: 68*37=2516, Resulting Numbers: [2516] 2516,78 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 68+37=105, Resulting Numbers: [105] 105,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 78:[49, 80], Operations: ['70-58=12', '68+12=80'] Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 49+80=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 49*80=3920, Resulting Numbers: [3920] 3920,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[68, 61], Operations: ['70-58=12', '49+12=61'] Exploring Operation: 68+61=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 68*61=4148, Resulting Numbers: [4148] 4148,78 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,78 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: 78:[49, 58, 2], Operations: ['70-68=2'] Exploring Operation: 58-2=56, Resulting Numbers: [49, 56] Generated Node #0,3,0: 78:[49, 56] Operation: 58-2=56 Exploring Operation: 58/2=29, Resulting Numbers: [49, 29] Generated Node #0,3,1: 78:[49, 29] Operation: 58/2=29 Exploring Operation: 58-49=9, Resulting Numbers: [2, 9] Generated Node #0,3,2: 78:[2, 9] Operation: 58-49=9 Exploring Operation: 49-2=47, Resulting Numbers: [58, 47] Generated Node #0,3,3: 78:[58, 47] Operation: 49-2=47 Moving to Node #0,3,2 Current State: 78:[2, 9], Operations: ['70-68=2', '58-49=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[10, 21], Operations: ['68-58=10', '70-49=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[70, 39], Operations: ['68-58=10', '49-10=39'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,78 unequal: No Solution Exploring Operation: 70*39=2730, Resulting Numbers: [2730] 2730,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[49, 7], Operations: ['68-58=10', '70/10=7'] Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 49*7=343, Resulting Numbers: [343] 343,78 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[49, 80], Operations: ['68-58=10', '70+10=80'] Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 49+80=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 49*80=3920, Resulting Numbers: [3920] 3920,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[49, 29], Operations: ['70-68=2', '58/2=29'] Exploring Operation: 49*29=1421, Resulting Numbers: [1421] 1421,78 unequal: No Solution Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,78 unequal: No Solution Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[49, 70, 68, 58], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [49, 58, 2] Generated Node #0,3: 78:[49, 58, 2] Operation: 70-68=2 Moving to Node #0,3 Current State: 78:[49, 58, 2], Operations: ['70-68=2'] Exploring Operation: 58/2=29, Resulting Numbers: [49, 29] Generated Node #0,3,1: 78:[49, 29] Operation: 58/2=29 Moving to Node #0,3,1 Current State: 78:[49, 29], Operations: ['70-68=2', '58/2=29'] Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.94184
hs_4
sum_heuristic
[ 22, 54, 33, 39 ]
26
[ "54-22=32", "39-33=6", "32-6=26" ]
Current State: 26:[22, 54, 33, 39], Operations: [] Exploring Operation: 54-22=32, Resulting Numbers: [33, 39, 32] Generated Node #2: [33, 39, 32] from Operation: 54-22=32 Current State: 26:[33, 39, 32], Operations: ['54-22=32'] Exploring Operation: 39-33=6, Resulting Numbers: [32, 6] Generated Node #3: [32, 6] from Operation: 39-33=6 Current State: 26:[32, 6], Operations: ['54-22=32', '39-33=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[22, 54, 33, 39], Operations: [] Exploring Operation: 54-39=15, Resulting Numbers: [22, 33, 15] Generated Node #0,0: 26:[22, 33, 15] Operation: 54-39=15 Exploring Operation: 54-33=21, Resulting Numbers: [22, 39, 21] Generated Node #0,1: 26:[22, 39, 21] Operation: 54-33=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[22, 33, 15], Operations: ['54-39=15'] Exploring Operation: 33-15=18, Resulting Numbers: [22, 18] Generated Node #0,0,0: 26:[22, 18] Operation: 33-15=18 Exploring Operation: 33-22=11, Resulting Numbers: [15, 11] Generated Node #0,0,1: 26:[15, 11] Operation: 33-22=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[15, 11], Operations: ['54-39=15', '33-22=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[22, 54, 33, 39], Operations: [] Exploring Operation: 54-39=15, Resulting Numbers: [22, 33, 15] Generated Node #0,0: 26:[22, 33, 15] Operation: 54-39=15 Moving to Node #0,0 Current State: 26:[22, 33, 15], Operations: ['54-39=15'] Exploring Operation: 33-22=11, Resulting Numbers: [15, 11] Generated Node #0,0,1: 26:[15, 11] Operation: 33-22=11 Moving to Node #0,0,1 Current State: 26:[15, 11], Operations: ['54-39=15', '33-22=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 21, 60, 75, 75 ]
80
[ "21+60=81", "75/75=1", "81-1=80" ]
Current State: 80:[21, 60, 75, 75], Operations: [] Exploring Operation: 21+60=81, Resulting Numbers: [75, 75, 81] Generated Node #2: [75, 75, 81] from Operation: 21+60=81 Current State: 80:[75, 75, 81], Operations: ['21+60=81'] Exploring Operation: 75/75=1, Resulting Numbers: [81, 1] Generated Node #3: [81, 1] from Operation: 75/75=1 Current State: 80:[81, 1], Operations: ['21+60=81', '75/75=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[21, 60, 75, 75], Operations: [] Exploring Operation: 60-21=39, Resulting Numbers: [75, 75, 39] Generated Node #0,0: 80:[75, 75, 39] Operation: 60-21=39 Exploring Operation: 75-60=15, Resulting Numbers: [21, 75, 15] Generated Node #0,1: 80:[21, 75, 15] Operation: 75-60=15 Exploring Operation: 75-60=15, Resulting Numbers: [21, 75, 15] Generated Node #0,2: 80:[21, 75, 15] Operation: 75-60=15 Exploring Operation: 21+60=81, Resulting Numbers: [75, 75, 81] Generated Node #0,3: 80:[75, 75, 81] Operation: 21+60=81 Moving to Node #0,1 Current State: 80:[21, 75, 15], Operations: ['75-60=15'] Exploring Operation: 75+15=90, Resulting Numbers: [21, 90] Generated Node #0,1,0: 80:[21, 90] Operation: 75+15=90 Exploring Operation: 21+15=36, Resulting Numbers: [75, 36] Generated Node #0,1,1: 80:[75, 36] Operation: 21+15=36 Exploring Operation: 21-15=6, Resulting Numbers: [75, 6] Generated Node #0,1,2: 80:[75, 6] Operation: 21-15=6 Exploring Operation: 75/15=5, Resulting Numbers: [21, 5] Generated Node #0,1,3: 80:[21, 5] Operation: 75/15=5 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[21, 5], Operations: ['75-60=15', '75/15=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[75, 6], Operations: ['75-60=15', '21-15=6'] Exploring Operation: 75+6=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 75*6=450, Resulting Numbers: [450] 450,80 unequal: No Solution Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[75, 36], Operations: ['75-60=15', '21+15=36'] Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,80 unequal: No Solution Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[21, 90], Operations: ['75-60=15', '75+15=90'] Exploring Operation: 21+90=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 90-21=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 21*90=1890, Resulting Numbers: [1890] 1890,80 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: 80:[21, 75, 15], Operations: ['75-60=15'] Exploring Operation: 21-15=6, Resulting Numbers: [75, 6] Generated Node #0,2,0: 80:[75, 6] Operation: 21-15=6 Exploring Operation: 75/15=5, Resulting Numbers: [21, 5] Generated Node #0,2,1: 80:[21, 5] Operation: 75/15=5 Exploring Operation: 75+15=90, Resulting Numbers: [21, 90] Generated Node #0,2,2: 80:[21, 90] Operation: 75+15=90 Exploring Operation: 21+15=36, Resulting Numbers: [75, 36] Generated Node #0,2,3: 80:[75, 36] Operation: 21+15=36 Moving to Node #0,3 Current State: 80:[75, 75, 81], Operations: ['21+60=81'] Exploring Operation: 75/75=1, Resulting Numbers: [81, 1] Generated Node #0,3,0: 80:[81, 1] Operation: 75/75=1 Exploring Operation: 75-75=0, Resulting Numbers: [81, 0] Generated Node #0,3,1: 80:[81, 0] Operation: 75-75=0 Exploring Operation: 81-75=6, Resulting Numbers: [75, 6] Generated Node #0,3,2: 80:[75, 6] Operation: 81-75=6 Exploring Operation: 81-75=6, Resulting Numbers: [75, 6] Generated Node #0,3,3: 80:[75, 6] Operation: 81-75=6 Moving to Node #0,0 Current State: 80:[75, 75, 39], Operations: ['60-21=39'] Exploring Operation: 75-39=36, Resulting Numbers: [75, 36] Generated Node #0,0,0: 80:[75, 36] Operation: 75-39=36 Exploring Operation: 75-75=0, Resulting Numbers: [39, 0] Generated Node #0,0,1: 80:[39, 0] Operation: 75-75=0 Exploring Operation: 75/75=1, Resulting Numbers: [39, 1] Generated Node #0,0,2: 80:[39, 1] Operation: 75/75=1 Exploring Operation: 75-39=36, Resulting Numbers: [75, 36] Generated Node #0,0,3: 80:[75, 36] Operation: 75-39=36 Moving to Node #0,2,1 Current State: 80:[21, 5], Operations: ['75-60=15', '75/15=5'] Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,80 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[81, 1], Operations: ['21+60=81', '75/75=1'] Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[21, 60, 75, 75], Operations: [] Exploring Operation: 21+60=81, Resulting Numbers: [75, 75, 81] Generated Node #0,3: 80:[75, 75, 81] Operation: 21+60=81 Moving to Node #0,3 Current State: 80:[75, 75, 81], Operations: ['21+60=81'] Exploring Operation: 75/75=1, Resulting Numbers: [81, 1] Generated Node #0,3,0: 80:[81, 1] Operation: 75/75=1 Moving to Node #0,3,0 Current State: 80:[81, 1], Operations: ['21+60=81', '75/75=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.963542
hs_4
sum_heuristic
[ 91, 22, 81, 85 ]
89
[ "91+85=176", "176/22=8", "81+8=89" ]
Current State: 89:[91, 22, 81, 85], Operations: [] Exploring Operation: 91+85=176, Resulting Numbers: [22, 81, 176] Generated Node #2: [22, 81, 176] from Operation: 91+85=176 Current State: 89:[22, 81, 176], Operations: ['91+85=176'] Exploring Operation: 176/22=8, Resulting Numbers: [81, 8] Generated Node #3: [81, 8] from Operation: 176/22=8 Current State: 89:[81, 8], Operations: ['91+85=176', '176/22=8'] Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[91, 22, 81, 85], Operations: [] Exploring Operation: 22+81=103, Resulting Numbers: [91, 85, 103] Generated Node #0,0: 89:[91, 85, 103] Operation: 22+81=103 Moving to Node #0,0 Current State: 89:[91, 85, 103], Operations: ['22+81=103'] Exploring Operation: 103-85=18, Resulting Numbers: [91, 18] Generated Node #0,0,0: 89:[91, 18] Operation: 103-85=18 Moving to Node #0,0,0 Current State: 89:[91, 18], Operations: ['22+81=103', '103-85=18'] Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,89 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 47, 7, 44, 69 ]
48
[ "47-44=3", "7*3=21", "69-21=48" ]
Current State: 48:[47, 7, 44, 69], Operations: [] Exploring Operation: 47-44=3, Resulting Numbers: [7, 69, 3] Generated Node #2: [7, 69, 3] from Operation: 47-44=3 Current State: 48:[7, 69, 3], Operations: ['47-44=3'] Exploring Operation: 7*3=21, Resulting Numbers: [69, 21] Generated Node #3: [69, 21] from Operation: 7*3=21 Current State: 48:[69, 21], Operations: ['47-44=3', '7*3=21'] Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[47, 7, 44, 69], Operations: [] Exploring Operation: 69-47=22, Resulting Numbers: [7, 44, 22] Generated Node #0,0: 48:[7, 44, 22] Operation: 69-47=22 Exploring Operation: 69-44=25, Resulting Numbers: [47, 7, 25] Generated Node #0,1: 48:[47, 7, 25] Operation: 69-44=25 Exploring Operation: 69-7=62, Resulting Numbers: [47, 44, 62] Generated Node #0,2: 48:[47, 44, 62] Operation: 69-7=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[47, 7, 25], Operations: ['69-44=25'] Exploring Operation: 47+7=54, Resulting Numbers: [25, 54] Generated Node #0,1,0: 48:[25, 54] Operation: 47+7=54 Exploring Operation: 47-25=22, Resulting Numbers: [7, 22] Generated Node #0,1,1: 48:[7, 22] Operation: 47-25=22 Exploring Operation: 25-7=18, Resulting Numbers: [47, 18] Generated Node #0,1,2: 48:[47, 18] Operation: 25-7=18 Moving to Node #0,1,1 Current State: 48:[7, 22], Operations: ['69-44=25', '47-25=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[47, 18], Operations: ['69-44=25', '25-7=18'] Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,48 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 47*18=846, Resulting Numbers: [846] 846,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[25, 54], Operations: ['69-44=25', '47+7=54'] Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 25+54=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 25*54=1350, Resulting Numbers: [1350] 1350,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[7, 44, 22], Operations: ['69-47=22'] Exploring Operation: 44-22=22, Resulting Numbers: [7, 22] Generated Node #0,0,0: 48:[7, 22] Operation: 44-22=22 Exploring Operation: 44/22=2, Resulting Numbers: [7, 2] Generated Node #0,0,1: 48:[7, 2] Operation: 44/22=2 Exploring Operation: 7+44=51, Resulting Numbers: [22, 51] Generated Node #0,0,2: 48:[22, 51] Operation: 7+44=51 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[7, 2], Operations: ['69-47=22', '44/22=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,48 unequal: No Solution No 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: 48:[7, 22], Operations: ['69-47=22', '44-22=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,48 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,48 unequal: No Solution No 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: 48:[22, 51], Operations: ['69-47=22', '7+44=51'] Exploring Operation: 22*51=1122, Resulting Numbers: [1122] 1122,48 unequal: No Solution Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 22+51=73, Resulting Numbers: [73] 73,48 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: 48:[47, 44, 62], Operations: ['69-7=62'] Exploring Operation: 62-47=15, Resulting Numbers: [44, 15] Generated Node #0,2,0: 48:[44, 15] Operation: 62-47=15 Exploring Operation: 62-44=18, Resulting Numbers: [47, 18] Generated Node #0,2,1: 48:[47, 18] Operation: 62-44=18 Exploring Operation: 47-44=3, Resulting Numbers: [62, 3] Generated Node #0,2,2: 48:[62, 3] Operation: 47-44=3 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[47, 18], Operations: ['69-7=62', '62-44=18'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,48 unequal: No Solution Exploring Operation: 47*18=846, Resulting Numbers: [846] 846,48 unequal: No Solution No 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: 48:[44, 15], Operations: ['69-7=62', '62-47=15'] Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,48 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,48 unequal: No Solution No 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: 48:[62, 3], Operations: ['69-7=62', '47-44=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,48 unequal: No Solution Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 39, 92, 96, 6 ]
78
[ "96-92=4", "6-4=2", "39*2=78" ]
Current State: 78:[39, 92, 96, 6], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [39, 6, 4] Generated Node #2: [39, 6, 4] from Operation: 96-92=4 Current State: 78:[39, 6, 4], Operations: ['96-92=4'] Exploring Operation: 6-4=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 6-4=2 Current State: 78:[39, 2], Operations: ['96-92=4', '6-4=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[39, 92, 96, 6], Operations: [] Exploring Operation: 96/6=16, Resulting Numbers: [39, 92, 16] Generated Node #0,0: 78:[39, 92, 16] Operation: 96/6=16 Exploring Operation: 96-92=4, Resulting Numbers: [39, 6, 4] Generated Node #0,1: 78:[39, 6, 4] Operation: 96-92=4 Moving to Node #0,1 Current State: 78:[39, 6, 4], Operations: ['96-92=4'] Exploring Operation: 6*4=24, Resulting Numbers: [39, 24] Generated Node #0,1,0: 78:[39, 24] Operation: 6*4=24 Exploring Operation: 6-4=2, Resulting Numbers: [39, 2] Generated Node #0,1,1: 78:[39, 2] Operation: 6-4=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[39, 2], Operations: ['96-92=4', '6-4=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[39, 92, 96, 6], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [39, 6, 4] Generated Node #0,1: 78:[39, 6, 4] Operation: 96-92=4 Moving to Node #0,1 Current State: 78:[39, 6, 4], Operations: ['96-92=4'] Exploring Operation: 6-4=2, Resulting Numbers: [39, 2] Generated Node #0,1,1: 78:[39, 2] Operation: 6-4=2 Moving to Node #0,1,1 Current State: 78:[39, 2], Operations: ['96-92=4', '6-4=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 1, 51, 60, 64 ]
55
[ "1*51=51", "64-60=4", "51+4=55" ]
Current State: 55:[1, 51, 60, 64], Operations: [] Exploring Operation: 1*51=51, Resulting Numbers: [60, 64, 51] Generated Node #2: [60, 64, 51] from Operation: 1*51=51 Current State: 55:[60, 64, 51], Operations: ['1*51=51'] Exploring Operation: 64-60=4, Resulting Numbers: [51, 4] Generated Node #3: [51, 4] from Operation: 64-60=4 Current State: 55:[51, 4], Operations: ['1*51=51', '64-60=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[1, 51, 60, 64], Operations: [] Exploring Operation: 60-1=59, Resulting Numbers: [51, 64, 59] Generated Node #0,0: 55:[51, 64, 59] Operation: 60-1=59 Exploring Operation: 60-51=9, Resulting Numbers: [1, 64, 9] Generated Node #0,1: 55:[1, 64, 9] Operation: 60-51=9 Exploring Operation: 1+51=52, Resulting Numbers: [60, 64, 52] Generated Node #0,2: 55:[60, 64, 52] Operation: 1+51=52 Exploring Operation: 64-51=13, Resulting Numbers: [1, 60, 13] Generated Node #0,3: 55:[1, 60, 13] Operation: 64-51=13 Exploring Operation: 64-60=4, Resulting Numbers: [1, 51, 4] Generated Node #0,4: 55:[1, 51, 4] Operation: 64-60=4 Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[1, 51, 4], Operations: ['64-60=4'] Exploring Operation: 1+51=52, Resulting Numbers: [4, 52] Generated Node #0,4,0: 55:[4, 52] Operation: 1+51=52 Exploring Operation: 51+4=55, Resulting Numbers: [1, 55] Generated Node #0,4,1: 55:[1, 55] Operation: 51+4=55 Exploring Operation: 1*51=51, Resulting Numbers: [4, 51] Generated Node #0,4,2: 55:[4, 51] Operation: 1*51=51 Exploring Operation: 51/1=51, Resulting Numbers: [4, 51] Generated Node #0,4,3: 55:[4, 51] Operation: 51/1=51 Exploring Operation: 1+4=5, Resulting Numbers: [51, 5] Generated Node #0,4,4: 55:[51, 5] Operation: 1+4=5 Moving to Node #0,4,0 Current State: 55:[4, 52], Operations: ['64-60=4', '1+51=52'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,55 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 4*52=208, Resulting Numbers: [208] 208,55 unequal: No Solution Moving to Node #0,4,4 Current State: 55:[51, 5], Operations: ['64-60=4', '1+4=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,55 unequal: No Solution Moving to Node #0,4,1 Current State: 55:[1, 55], Operations: ['64-60=4', '51+4=55'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[1, 51, 60, 64], Operations: [] Exploring Operation: 64-60=4, Resulting Numbers: [1, 51, 4] Generated Node #0,4: 55:[1, 51, 4] Operation: 64-60=4 Moving to Node #0,4 Current State: 55:[1, 51, 4], Operations: ['64-60=4'] Exploring Operation: 51+4=55, Resulting Numbers: [1, 55] Generated Node #0,4,1: 55:[1, 55] Operation: 51+4=55 Moving to Node #0,4,1 Current State: 55:[1, 55], Operations: ['64-60=4', '51+4=55'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 1, 25, 14, 6 ]
66
[ "1*25=25", "25-14=11", "6*11=66" ]
Current State: 66:[1, 25, 14, 6], Operations: [] Exploring Operation: 1*25=25, Resulting Numbers: [14, 6, 25] Generated Node #2: [14, 6, 25] from Operation: 1*25=25 Current State: 66:[14, 6, 25], Operations: ['1*25=25'] Exploring Operation: 25-14=11, Resulting Numbers: [6, 11] Generated Node #3: [6, 11] from Operation: 25-14=11 Current State: 66:[6, 11], Operations: ['1*25=25', '25-14=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[1, 25, 14, 6], Operations: [] Exploring Operation: 25-14=11, Resulting Numbers: [1, 6, 11] Generated Node #0,0: 66:[1, 6, 11] Operation: 25-14=11 Moving to Node #0,0 Current State: 66:[1, 6, 11], Operations: ['25-14=11'] Exploring Operation: 1*6=6, Resulting Numbers: [11, 6] Generated Node #0,0,0: 66:[11, 6] Operation: 1*6=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[11, 6], Operations: ['25-14=11', '1*6=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[1, 25, 14, 6], Operations: [] Exploring Operation: 25-14=11, Resulting Numbers: [1, 6, 11] Generated Node #0,0: 66:[1, 6, 11] Operation: 25-14=11 Moving to Node #0,0 Current State: 66:[1, 6, 11], Operations: ['25-14=11'] Exploring Operation: 1*6=6, Resulting Numbers: [11, 6] Generated Node #0,0,0: 66:[11, 6] Operation: 1*6=6 Moving to Node #0,0,0 Current State: 66:[11, 6], Operations: ['25-14=11', '1*6=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 83, 67, 27, 2 ]
39
[ "83-27=56", "56/2=28", "67-28=39" ]
Current State: 39:[83, 67, 27, 2], Operations: [] Exploring Operation: 83-27=56, Resulting Numbers: [67, 2, 56] Generated Node #2: [67, 2, 56] from Operation: 83-27=56 Current State: 39:[67, 2, 56], Operations: ['83-27=56'] Exploring Operation: 56/2=28, Resulting Numbers: [67, 28] Generated Node #3: [67, 28] from Operation: 56/2=28 Current State: 39:[67, 28], Operations: ['83-27=56', '56/2=28'] Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[83, 67, 27, 2], Operations: [] Exploring Operation: 83-2=81, Resulting Numbers: [67, 27, 81] Generated Node #0,0: 39:[67, 27, 81] Operation: 83-2=81 Exploring Operation: 83-67=16, Resulting Numbers: [27, 2, 16] Generated Node #0,1: 39:[27, 2, 16] Operation: 83-67=16 Exploring Operation: 83-27=56, Resulting Numbers: [67, 2, 56] Generated Node #0,2: 39:[67, 2, 56] Operation: 83-27=56 Exploring Operation: 67-27=40, Resulting Numbers: [83, 2, 40] Generated Node #0,3: 39:[83, 2, 40] Operation: 67-27=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[27, 2, 16], Operations: ['83-67=16'] Exploring Operation: 16-2=14, Resulting Numbers: [27, 14] Generated Node #0,1,0: 39:[27, 14] Operation: 16-2=14 Exploring Operation: 27+16=43, Resulting Numbers: [2, 43] Generated Node #0,1,1: 39:[2, 43] Operation: 27+16=43 Exploring Operation: 27+2=29, Resulting Numbers: [16, 29] Generated Node #0,1,2: 39:[16, 29] Operation: 27+2=29 Exploring Operation: 27-16=11, Resulting Numbers: [2, 11] Generated Node #0,1,3: 39:[2, 11] Operation: 27-16=11 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 39:[2, 11], Operations: ['83-67=16', '27-16=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,39 unequal: No Solution No 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: 39:[2, 43], Operations: ['83-67=16', '27+16=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,39 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,39 unequal: No Solution No 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: 39:[27, 14], Operations: ['83-67=16', '16-2=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,39 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,39 unequal: No Solution No 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: 39:[16, 29], Operations: ['83-67=16', '27+2=29'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,39 unequal: No Solution Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[67, 2, 56], Operations: ['83-27=56'] Exploring Operation: 67-2=65, Resulting Numbers: [56, 65] Generated Node #0,2,0: 39:[56, 65] Operation: 67-2=65 Exploring Operation: 56-2=54, Resulting Numbers: [67, 54] Generated Node #0,2,1: 39:[67, 54] Operation: 56-2=54 Exploring Operation: 67-56=11, Resulting Numbers: [2, 11] Generated Node #0,2,2: 39:[2, 11] Operation: 67-56=11 Exploring Operation: 56/2=28, Resulting Numbers: [67, 28] Generated Node #0,2,3: 39:[67, 28] Operation: 56/2=28 Moving to Node #0,2,2 Current State: 39:[2, 11], Operations: ['83-27=56', '67-56=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,39 unequal: No Solution Moving to Node #0,2,3 Current State: 39:[67, 28], Operations: ['83-27=56', '56/2=28'] Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[83, 67, 27, 2], Operations: [] Exploring Operation: 83-27=56, Resulting Numbers: [67, 2, 56] Generated Node #0,2: 39:[67, 2, 56] Operation: 83-27=56 Moving to Node #0,2 Current State: 39:[67, 2, 56], Operations: ['83-27=56'] Exploring Operation: 56/2=28, Resulting Numbers: [67, 28] Generated Node #0,2,3: 39:[67, 28] Operation: 56/2=28 Moving to Node #0,2,3 Current State: 39:[67, 28], Operations: ['83-27=56', '56/2=28'] Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 91, 98, 12, 85 ]
66
[ "98-91=7", "85-12=73", "73-7=66" ]
Current State: 66:[91, 98, 12, 85], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [12, 85, 7] Generated Node #2: [12, 85, 7] from Operation: 98-91=7 Current State: 66:[12, 85, 7], Operations: ['98-91=7'] Exploring Operation: 85-12=73, Resulting Numbers: [7, 73] Generated Node #3: [7, 73] from Operation: 85-12=73 Current State: 66:[7, 73], Operations: ['98-91=7', '85-12=73'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[91, 98, 12, 85], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [12, 85, 7] Generated Node #0,0: 66:[12, 85, 7] Operation: 98-91=7 Moving to Node #0,0 Current State: 66:[12, 85, 7], Operations: ['98-91=7'] Exploring Operation: 85-12=73, Resulting Numbers: [7, 73] Generated Node #0,0,0: 66:[7, 73] Operation: 85-12=73 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[7, 73], Operations: ['98-91=7', '85-12=73'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[91, 98, 12, 85], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [12, 85, 7] Generated Node #0,0: 66:[12, 85, 7] Operation: 98-91=7 Moving to Node #0,0 Current State: 66:[12, 85, 7], Operations: ['98-91=7'] Exploring Operation: 85-12=73, Resulting Numbers: [7, 73] Generated Node #0,0,0: 66:[7, 73] Operation: 85-12=73 Moving to Node #0,0,0 Current State: 66:[7, 73], Operations: ['98-91=7', '85-12=73'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 48, 51, 98, 56 ]
33
[ "48*98=4704", "4704/56=84", "84-51=33" ]
Current State: 33:[48, 51, 98, 56], Operations: [] Exploring Operation: 48*98=4704, Resulting Numbers: [51, 56, 4704] Generated Node #2: [51, 56, 4704] from Operation: 48*98=4704 Current State: 33:[51, 56, 4704], Operations: ['48*98=4704'] Exploring Operation: 4704/56=84, Resulting Numbers: [51, 84] Generated Node #3: [51, 84] from Operation: 4704/56=84 Current State: 33:[51, 84], Operations: ['48*98=4704', '4704/56=84'] Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[48, 51, 98, 56], Operations: [] Exploring Operation: 98-48=50, Resulting Numbers: [51, 56, 50] Generated Node #0,0: 33:[51, 56, 50] Operation: 98-48=50 Exploring Operation: 56-51=5, Resulting Numbers: [48, 98, 5] Generated Node #0,1: 33:[48, 98, 5] Operation: 56-51=5 Exploring Operation: 98-56=42, Resulting Numbers: [48, 51, 42] Generated Node #0,2: 33:[48, 51, 42] Operation: 98-56=42 Exploring Operation: 98-51=47, Resulting Numbers: [48, 56, 47] Generated Node #0,3: 33:[48, 56, 47] Operation: 98-51=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[48, 51, 42], Operations: ['98-56=42'] Exploring Operation: 48-42=6, Resulting Numbers: [51, 6] Generated Node #0,2,0: 33:[51, 6] Operation: 48-42=6 Exploring Operation: 48+51=99, Resulting Numbers: [42, 99] Generated Node #0,2,1: 33:[42, 99] Operation: 48+51=99 Exploring Operation: 51-48=3, Resulting Numbers: [42, 3] Generated Node #0,2,2: 33:[42, 3] Operation: 51-48=3 Exploring Operation: 51-42=9, Resulting Numbers: [48, 9] Generated Node #0,2,3: 33:[48, 9] Operation: 51-42=9 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 33:[42, 3], Operations: ['98-56=42', '51-48=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,33 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 33:[48, 9], Operations: ['98-56=42', '51-42=9'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,33 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 33:[51, 6], Operations: ['98-56=42', '48-42=6'] Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,33 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[42, 99], Operations: ['98-56=42', '48+51=99'] Exploring Operation: 99-42=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 42+99=141, Resulting Numbers: [141] 141,33 unequal: No Solution Exploring Operation: 42*99=4158, Resulting Numbers: [4158] 4158,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[48, 56, 47], Operations: ['98-51=47'] Exploring Operation: 56-48=8, Resulting Numbers: [47, 8] Generated Node #0,3,0: 33:[47, 8] Operation: 56-48=8 Exploring Operation: 56-47=9, Resulting Numbers: [48, 9] Generated Node #0,3,1: 33:[48, 9] Operation: 56-47=9 Exploring Operation: 48-47=1, Resulting Numbers: [56, 1] Generated Node #0,3,2: 33:[56, 1] Operation: 48-47=1 Exploring Operation: 48+56=104, Resulting Numbers: [47, 104] Generated Node #0,3,3: 33:[47, 104] Operation: 48+56=104 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 33:[47, 8], Operations: ['98-51=47', '56-48=8'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,33 unequal: No Solution Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 33:[48, 9], Operations: ['98-51=47', '56-47=9'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 33:[56, 1], Operations: ['98-51=47', '48-47=1'] Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,33 unequal: No Solution Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 33:[47, 104], Operations: ['98-51=47', '48+56=104'] Exploring Operation: 47+104=151, Resulting Numbers: [151] 151,33 unequal: No Solution Exploring Operation: 47*104=4888, Resulting Numbers: [4888] 4888,33 unequal: No Solution Exploring Operation: 104-47=57, Resulting Numbers: [57] 57,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[51, 56, 50], Operations: ['98-48=50'] Exploring Operation: 56-51=5, Resulting Numbers: [50, 5] Generated Node #0,0,0: 33:[50, 5] Operation: 56-51=5 Exploring Operation: 51-50=1, Resulting Numbers: [56, 1] Generated Node #0,0,1: 33:[56, 1] Operation: 51-50=1 Exploring Operation: 56-50=6, Resulting Numbers: [51, 6] Generated Node #0,0,2: 33:[51, 6] Operation: 56-50=6 Exploring Operation: 51+56=107, Resulting Numbers: [50, 107] Generated Node #0,0,3: 33:[50, 107] Operation: 51+56=107 Moving to Node #0,0,0 Current State: 33:[50, 5], Operations: ['98-48=50', '56-51=5'] Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,33 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 50*5=250, Resulting Numbers: [250] 250,33 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[51, 6], Operations: ['98-48=50', '56-50=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,33 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[56, 1], Operations: ['98-48=50', '51-50=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,33 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[50, 107], Operations: ['98-48=50', '51+56=107'] Exploring Operation: 50+107=157, Resulting Numbers: [157] 157,33 unequal: No Solution Exploring Operation: 50*107=5350, Resulting Numbers: [5350] 5350,33 unequal: No Solution Exploring Operation: 107-50=57, Resulting Numbers: [57] 57,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[48, 98, 5], Operations: ['56-51=5'] Exploring Operation: 98-48=50, Resulting Numbers: [5, 50] Generated Node #0,1,0: 33:[5, 50] Operation: 98-48=50 Exploring Operation: 48+5=53, Resulting Numbers: [98, 53] Generated Node #0,1,1: 33:[98, 53] Operation: 48+5=53 Exploring Operation: 48-5=43, Resulting Numbers: [98, 43] Generated Node #0,1,2: 33:[98, 43] Operation: 48-5=43 Exploring Operation: 98-5=93, Resulting Numbers: [48, 93] Generated Node #0,1,3: 33:[48, 93] Operation: 98-5=93 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[5, 50], Operations: ['56-51=5', '98-48=50'] Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 5*50=250, Resulting Numbers: [250] 250,33 unequal: No Solution Exploring Operation: 5+50=55, Resulting Numbers: [55] 55,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[98, 43], Operations: ['56-51=5', '48-5=43'] Exploring Operation: 98*43=4214, Resulting Numbers: [4214] 4214,33 unequal: No Solution Exploring Operation: 98+43=141, Resulting Numbers: [141] 141,33 unequal: No Solution Exploring Operation: 98-43=55, Resulting Numbers: [55] 55,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 33:[48, 93], Operations: ['56-51=5', '98-5=93'] Exploring Operation: 48+93=141, Resulting Numbers: [141] 141,33 unequal: No Solution Exploring Operation: 93-48=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 48*93=4464, Resulting Numbers: [4464] 4464,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[98, 53], Operations: ['56-51=5', '48+5=53'] Exploring Operation: 98*53=5194, Resulting Numbers: [5194] 5194,33 unequal: No Solution Exploring Operation: 98-53=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 98+53=151, Resulting Numbers: [151] 151,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 18, 31, 36, 45 ]
58
[ "18+31=49", "45-36=9", "49+9=58" ]
Current State: 58:[18, 31, 36, 45], Operations: [] Exploring Operation: 18+31=49, Resulting Numbers: [36, 45, 49] Generated Node #2: [36, 45, 49] from Operation: 18+31=49 Current State: 58:[36, 45, 49], Operations: ['18+31=49'] Exploring Operation: 45-36=9, Resulting Numbers: [49, 9] Generated Node #3: [49, 9] from Operation: 45-36=9 Current State: 58:[49, 9], Operations: ['18+31=49', '45-36=9'] Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[18, 31, 36, 45], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [31, 45, 2] Generated Node #0,0: 58:[31, 45, 2] Operation: 36/18=2 Exploring Operation: 45-18=27, Resulting Numbers: [31, 36, 27] Generated Node #0,1: 58:[31, 36, 27] Operation: 45-18=27 Exploring Operation: 18+45=63, Resulting Numbers: [31, 36, 63] Generated Node #0,2: 58:[31, 36, 63] Operation: 18+45=63 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[31, 36, 27], Operations: ['45-18=27'] Exploring Operation: 31+27=58, Resulting Numbers: [36, 58] Generated Node #0,1,0: 58:[36, 58] Operation: 31+27=58 Exploring Operation: 36-31=5, Resulting Numbers: [27, 5] Generated Node #0,1,1: 58:[27, 5] Operation: 36-31=5 Exploring Operation: 36+27=63, Resulting Numbers: [31, 63] Generated Node #0,1,2: 58:[31, 63] Operation: 36+27=63 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[27, 5], Operations: ['45-18=27', '36-31=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,58 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[36, 58], Operations: ['45-18=27', '31+27=58'] Exploring Operation: 36*58=2088, Resulting Numbers: [2088] 2088,58 unequal: No Solution Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 36+58=94, Resulting Numbers: [94] 94,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 58:[31, 63], Operations: ['45-18=27', '36+27=63'] Exploring Operation: 31*63=1953, Resulting Numbers: [1953] 1953,58 unequal: No Solution Exploring Operation: 31+63=94, Resulting Numbers: [94] 94,58 unequal: No Solution Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[31, 36, 63], Operations: ['18+45=63'] Exploring Operation: 36-31=5, Resulting Numbers: [63, 5] Generated Node #0,2,0: 58:[63, 5] Operation: 36-31=5 Exploring Operation: 63-36=27, Resulting Numbers: [31, 27] Generated Node #0,2,1: 58:[31, 27] Operation: 63-36=27 Exploring Operation: 63-31=32, Resulting Numbers: [36, 32] Generated Node #0,2,2: 58:[36, 32] Operation: 63-31=32 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 58:[31, 27], Operations: ['18+45=63', '63-36=27'] Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[18, 31, 36, 45], Operations: [] Exploring Operation: 18+45=63, Resulting Numbers: [31, 36, 63] Generated Node #0,2: 58:[31, 36, 63] Operation: 18+45=63 Moving to Node #0,2 Current State: 58:[31, 36, 63], Operations: ['18+45=63'] Exploring Operation: 63-36=27, Resulting Numbers: [31, 27] Generated Node #0,2,1: 58:[31, 27] Operation: 63-36=27 Moving to Node #0,2,1 Current State: 58:[31, 27], Operations: ['18+45=63', '63-36=27'] Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 98, 11, 17, 32 ]
60
[ "98+11=109", "17+32=49", "109-49=60" ]
Current State: 60:[98, 11, 17, 32], Operations: [] Exploring Operation: 98+11=109, Resulting Numbers: [17, 32, 109] Generated Node #2: [17, 32, 109] from Operation: 98+11=109 Current State: 60:[17, 32, 109], Operations: ['98+11=109'] Exploring Operation: 17+32=49, Resulting Numbers: [109, 49] Generated Node #3: [109, 49] from Operation: 17+32=49 Current State: 60:[109, 49], Operations: ['98+11=109', '17+32=49'] Exploring Operation: 109-49=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[98, 11, 17, 32], Operations: [] Exploring Operation: 98-32=66, Resulting Numbers: [11, 17, 66] Generated Node #0,0: 60:[11, 17, 66] Operation: 98-32=66 Exploring Operation: 98-17=81, Resulting Numbers: [11, 32, 81] Generated Node #0,1: 60:[11, 32, 81] Operation: 98-17=81 Moving to Node #0,0 Current State: 60:[11, 17, 66], Operations: ['98-32=66'] Exploring Operation: 66/11=6, Resulting Numbers: [17, 6] Generated Node #0,0,0: 60:[17, 6] Operation: 66/11=6 Exploring Operation: 17-11=6, Resulting Numbers: [66, 6] Generated Node #0,0,1: 60:[66, 6] Operation: 17-11=6 Moving to Node #0,1 Current State: 60:[11, 32, 81], Operations: ['98-17=81'] Exploring Operation: 81-32=49, Resulting Numbers: [11, 49] Generated Node #0,1,0: 60:[11, 49] Operation: 81-32=49 Exploring Operation: 81-11=70, Resulting Numbers: [32, 70] Generated Node #0,1,1: 60:[32, 70] Operation: 81-11=70 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[11, 49], Operations: ['98-17=81', '81-32=49'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[98, 11, 17, 32], Operations: [] Exploring Operation: 98-17=81, Resulting Numbers: [11, 32, 81] Generated Node #0,1: 60:[11, 32, 81] Operation: 98-17=81 Moving to Node #0,1 Current State: 60:[11, 32, 81], Operations: ['98-17=81'] Exploring Operation: 81-32=49, Resulting Numbers: [11, 49] Generated Node #0,1,0: 60:[11, 49] Operation: 81-32=49 Moving to Node #0,1,0 Current State: 60:[11, 49], Operations: ['98-17=81', '81-32=49'] Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 4, 20, 97, 56 ]
91
[ "56/4=14", "97-20=77", "14+77=91" ]
Current State: 91:[4, 20, 97, 56], Operations: [] Exploring Operation: 56/4=14, Resulting Numbers: [20, 97, 14] Generated Node #2: [20, 97, 14] from Operation: 56/4=14 Current State: 91:[20, 97, 14], Operations: ['56/4=14'] Exploring Operation: 97-20=77, Resulting Numbers: [14, 77] Generated Node #3: [14, 77] from Operation: 97-20=77 Current State: 91:[14, 77], Operations: ['56/4=14', '97-20=77'] Exploring Operation: 14+77=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[4, 20, 97, 56], Operations: [] Exploring Operation: 20/4=5, Resulting Numbers: [97, 56, 5] Generated Node #0,0: 91:[97, 56, 5] Operation: 20/4=5 Exploring Operation: 56/4=14, Resulting Numbers: [20, 97, 14] Generated Node #0,1: 91:[20, 97, 14] Operation: 56/4=14 Exploring Operation: 20+56=76, Resulting Numbers: [4, 97, 76] Generated Node #0,2: 91:[4, 97, 76] Operation: 20+56=76 Exploring Operation: 97-56=41, Resulting Numbers: [4, 20, 41] Generated Node #0,3: 91:[4, 20, 41] Operation: 97-56=41 Exploring Operation: 56-20=36, Resulting Numbers: [4, 97, 36] Generated Node #0,4: 91:[4, 97, 36] Operation: 56-20=36 Moving to Node #0,1 Current State: 91:[20, 97, 14], Operations: ['56/4=14'] Exploring Operation: 20-14=6, Resulting Numbers: [97, 6] Generated Node #0,1,0: 91:[97, 6] Operation: 20-14=6 Exploring Operation: 20+97=117, Resulting Numbers: [14, 117] Generated Node #0,1,1: 91:[14, 117] Operation: 20+97=117 Exploring Operation: 97-20=77, Resulting Numbers: [14, 77] Generated Node #0,1,2: 91:[14, 77] Operation: 97-20=77 Exploring Operation: 97-14=83, Resulting Numbers: [20, 83] Generated Node #0,1,3: 91:[20, 83] Operation: 97-14=83 Exploring Operation: 20+14=34, Resulting Numbers: [97, 34] Generated Node #0,1,4: 91:[97, 34] Operation: 20+14=34 Moving to Node #0,2 Current State: 91:[4, 97, 76], Operations: ['20+56=76'] Exploring Operation: 4+76=80, Resulting Numbers: [97, 80] Generated Node #0,2,0: 91:[97, 80] Operation: 4+76=80 Exploring Operation: 97-4=93, Resulting Numbers: [76, 93] Generated Node #0,2,1: 91:[76, 93] Operation: 97-4=93 Exploring Operation: 97-76=21, Resulting Numbers: [4, 21] Generated Node #0,2,2: 91:[4, 21] Operation: 97-76=21 Exploring Operation: 76/4=19, Resulting Numbers: [97, 19] Generated Node #0,2,3: 91:[97, 19] Operation: 76/4=19 Exploring Operation: 4+97=101, Resulting Numbers: [76, 101] Generated Node #0,2,4: 91:[76, 101] Operation: 4+97=101 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[4, 21], Operations: ['20+56=76', '97-76=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 91:[97, 19], Operations: ['20+56=76', '76/4=19'] Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,91 unequal: No Solution Exploring Operation: 97*19=1843, Resulting Numbers: [1843] 1843,91 unequal: No Solution Exploring Operation: 97+19=116, Resulting Numbers: [116] 116,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[97, 80], Operations: ['20+56=76', '4+76=80'] Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 97*80=7760, Resulting Numbers: [7760] 7760,91 unequal: No Solution Exploring Operation: 97+80=177, Resulting Numbers: [177] 177,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[76, 93], Operations: ['20+56=76', '97-4=93'] Exploring Operation: 93-76=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 76+93=169, Resulting Numbers: [169] 169,91 unequal: No Solution Exploring Operation: 76*93=7068, Resulting Numbers: [7068] 7068,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 91:[76, 101], Operations: ['20+56=76', '4+97=101'] Exploring Operation: 76+101=177, Resulting Numbers: [177] 177,91 unequal: No Solution Exploring Operation: 76*101=7676, Resulting Numbers: [7676] 7676,91 unequal: No Solution Exploring Operation: 101-76=25, Resulting Numbers: [25] 25,91 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: 91:[4, 97, 36], Operations: ['56-20=36'] Exploring Operation: 97-4=93, Resulting Numbers: [36, 93] Generated Node #0,4,0: 91:[36, 93] Operation: 97-4=93 Exploring Operation: 36/4=9, Resulting Numbers: [97, 9] Generated Node #0,4,1: 91:[97, 9] Operation: 36/4=9 Exploring Operation: 36-4=32, Resulting Numbers: [97, 32] Generated Node #0,4,2: 91:[97, 32] Operation: 36-4=32 Exploring Operation: 4+97=101, Resulting Numbers: [36, 101] Generated Node #0,4,3: 91:[36, 101] Operation: 4+97=101 Exploring Operation: 4+36=40, Resulting Numbers: [97, 40] Generated Node #0,4,4: 91:[97, 40] Operation: 4+36=40 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 91:[97, 9], Operations: ['56-20=36', '36/4=9'] Exploring Operation: 97*9=873, Resulting Numbers: [873] 873,91 unequal: No Solution Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 97+9=106, Resulting Numbers: [106] 106,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 91:[36, 93], Operations: ['56-20=36', '97-4=93'] Exploring Operation: 36+93=129, Resulting Numbers: [129] 129,91 unequal: No Solution Exploring Operation: 36*93=3348, Resulting Numbers: [3348] 3348,91 unequal: No Solution Exploring Operation: 93-36=57, Resulting Numbers: [57] 57,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 91:[97, 32], Operations: ['56-20=36', '36-4=32'] Exploring Operation: 97+32=129, Resulting Numbers: [129] 129,91 unequal: No Solution Exploring Operation: 97*32=3104, Resulting Numbers: [3104] 3104,91 unequal: No Solution Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 91:[36, 101], Operations: ['56-20=36', '4+97=101'] Exploring Operation: 36+101=137, Resulting Numbers: [137] 137,91 unequal: No Solution Exploring Operation: 101-36=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 36*101=3636, Resulting Numbers: [3636] 3636,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 91:[97, 40], Operations: ['56-20=36', '4+36=40'] Exploring Operation: 97+40=137, Resulting Numbers: [137] 137,91 unequal: No Solution Exploring Operation: 97-40=57, Resulting Numbers: [57] 57,91 unequal: No Solution Exploring Operation: 97*40=3880, Resulting Numbers: [3880] 3880,91 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: 91:[4, 20, 41], Operations: ['97-56=41'] Exploring Operation: 20-4=16, Resulting Numbers: [41, 16] Generated Node #0,3,0: 91:[41, 16] Operation: 20-4=16 Exploring Operation: 20+41=61, Resulting Numbers: [4, 61] Generated Node #0,3,1: 91:[4, 61] Operation: 20+41=61 Exploring Operation: 41-20=21, Resulting Numbers: [4, 21] Generated Node #0,3,2: 91:[4, 21] Operation: 41-20=21 Exploring Operation: 41-4=37, Resulting Numbers: [20, 37] Generated Node #0,3,3: 91:[20, 37] Operation: 41-4=37 Exploring Operation: 20/4=5, Resulting Numbers: [41, 5] Generated Node #0,3,4: 91:[41, 5] Operation: 20/4=5 Moving to Node #0,0 Current State: 91:[97, 56, 5], Operations: ['20/4=5'] Exploring Operation: 97-56=41, Resulting Numbers: [5, 41] Generated Node #0,0,0: 91:[5, 41] Operation: 97-56=41 Exploring Operation: 56+5=61, Resulting Numbers: [97, 61] Generated Node #0,0,1: 91:[97, 61] Operation: 56+5=61 Exploring Operation: 97-5=92, Resulting Numbers: [56, 92] Generated Node #0,0,2: 91:[56, 92] Operation: 97-5=92 Exploring Operation: 97+5=102, Resulting Numbers: [56, 102] Generated Node #0,0,3: 91:[56, 102] Operation: 97+5=102 Exploring Operation: 56-5=51, Resulting Numbers: [97, 51] Generated Node #0,0,4: 91:[97, 51] Operation: 56-5=51 Moving to Node #0,1,0 Current State: 91:[97, 6], Operations: ['56/4=14', '20-14=6'] Exploring Operation: 97*6=582, Resulting Numbers: [582] 582,91 unequal: No Solution Exploring Operation: 97+6=103, Resulting Numbers: [103] 103,91 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[4, 20, 97, 56], Operations: [] Exploring Operation: 56/4=14, Resulting Numbers: [20, 97, 14] Generated Node #0,1: 91:[20, 97, 14] Operation: 56/4=14 Moving to Node #0,1 Current State: 91:[20, 97, 14], Operations: ['56/4=14'] Exploring Operation: 20-14=6, Resulting Numbers: [97, 6] Generated Node #0,1,0: 91:[97, 6] Operation: 20-14=6 Moving to Node #0,1,0 Current State: 91:[97, 6], Operations: ['56/4=14', '20-14=6'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.94184
hs_5
sum_heuristic
[ 61, 15, 9, 15 ]
52
[ "61+15=76", "9+15=24", "76-24=52" ]
Current State: 52:[61, 15, 9, 15], Operations: [] Exploring Operation: 61+15=76, Resulting Numbers: [9, 76] Generated Node #2: [9, 76] from Operation: 61+15=76 Current State: 52:[9, 76], Operations: ['61+15=76'] Exploring Operation: 9+15=24, Resulting Numbers: [76, 24] Generated Node #3: [76, 24] from Operation: 9+15=24 Current State: 52:[76, 24], Operations: ['61+15=76', '9+15=24'] Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[61, 15, 9, 15], Operations: [] Exploring Operation: 61-15=46, Resulting Numbers: [9, 15, 46] Generated Node #0,0: 52:[9, 15, 46] Operation: 61-15=46 Exploring Operation: 61-15=46, Resulting Numbers: [15, 9, 46] Generated Node #0,1: 52:[15, 9, 46] Operation: 61-15=46 Exploring Operation: 61-9=52, Resulting Numbers: [15, 15, 52] Generated Node #0,2: 52:[15, 15, 52] Operation: 61-9=52 Moving to Node #0,2 Current State: 52:[15, 15, 52], Operations: ['61-9=52'] Exploring Operation: 15/15=1, Resulting Numbers: [52, 1] Generated Node #0,2,0: 52:[52, 1] Operation: 15/15=1 Exploring Operation: 15-15=0, Resulting Numbers: [52, 0] Generated Node #0,2,1: 52:[52, 0] Operation: 15-15=0 Exploring Operation: 15+15=30, Resulting Numbers: [52, 30] Generated Node #0,2,2: 52:[52, 30] Operation: 15+15=30 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[52, 1], Operations: ['61-9=52', '15/15=1'] Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[61, 15, 9, 15], Operations: [] Exploring Operation: 61-9=52, Resulting Numbers: [15, 15, 52] Generated Node #0,2: 52:[15, 15, 52] Operation: 61-9=52 Moving to Node #0,2 Current State: 52:[15, 15, 52], Operations: ['61-9=52'] Exploring Operation: 15/15=1, Resulting Numbers: [52, 1] Generated Node #0,2,0: 52:[52, 1] Operation: 15/15=1 Moving to Node #0,2,0 Current State: 52:[52, 1], Operations: ['61-9=52', '15/15=1'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 73, 70, 33, 25 ]
14
[ "73-70=3", "33/3=11", "25-11=14" ]
Current State: 14:[73, 70, 33, 25], Operations: [] Exploring Operation: 73-70=3, Resulting Numbers: [33, 25, 3] Generated Node #2: [33, 25, 3] from Operation: 73-70=3 Current State: 14:[33, 25, 3], Operations: ['73-70=3'] Exploring Operation: 33/3=11, Resulting Numbers: [25, 11] Generated Node #3: [25, 11] from Operation: 33/3=11 Current State: 14:[25, 11], Operations: ['73-70=3', '33/3=11'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[73, 70, 33, 25], Operations: [] Exploring Operation: 73-33=40, Resulting Numbers: [70, 25, 40] Generated Node #0,0: 14:[70, 25, 40] Operation: 73-33=40 Exploring Operation: 70-33=37, Resulting Numbers: [73, 25, 37] Generated Node #0,1: 14:[73, 25, 37] Operation: 70-33=37 Exploring Operation: 73-25=48, Resulting Numbers: [70, 33, 48] Generated Node #0,2: 14:[70, 33, 48] Operation: 73-25=48 Exploring Operation: 73-70=3, Resulting Numbers: [33, 25, 3] Generated Node #0,3: 14:[33, 25, 3] Operation: 73-70=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[33, 25, 3], Operations: ['73-70=3'] Exploring Operation: 33-25=8, Resulting Numbers: [3, 8] Generated Node #0,3,0: 14:[3, 8] Operation: 33-25=8 Exploring Operation: 33/3=11, Resulting Numbers: [25, 11] Generated Node #0,3,1: 14:[25, 11] Operation: 33/3=11 Exploring Operation: 25-3=22, Resulting Numbers: [33, 22] Generated Node #0,3,2: 14:[33, 22] Operation: 25-3=22 Exploring Operation: 33-3=30, Resulting Numbers: [25, 30] Generated Node #0,3,3: 14:[25, 30] Operation: 33-3=30 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 14:[3, 8], Operations: ['73-70=3', '33-25=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 14:[25, 11], Operations: ['73-70=3', '33/3=11'] Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 25*11=275, Resulting Numbers: [275] 275,14 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[73, 70, 33, 25], Operations: [] Exploring Operation: 73-70=3, Resulting Numbers: [33, 25, 3] Generated Node #0,3: 14:[33, 25, 3] Operation: 73-70=3 Moving to Node #0,3 Current State: 14:[33, 25, 3], Operations: ['73-70=3'] Exploring Operation: 33/3=11, Resulting Numbers: [25, 11] Generated Node #0,3,1: 14:[25, 11] Operation: 33/3=11 Moving to Node #0,3,1 Current State: 14:[25, 11], Operations: ['73-70=3', '33/3=11'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 96, 55, 15, 87 ]
31
[ "96-55=41", "87-15=72", "72-41=31" ]
Current State: 31:[96, 55, 15, 87], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [15, 87, 41] Generated Node #2: [15, 87, 41] from Operation: 96-55=41 Current State: 31:[15, 87, 41], Operations: ['96-55=41'] Exploring Operation: 87-15=72, Resulting Numbers: [41, 72] Generated Node #3: [41, 72] from Operation: 87-15=72 Current State: 31:[41, 72], Operations: ['96-55=41', '87-15=72'] Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[96, 55, 15, 87], Operations: [] Exploring Operation: 96-87=9, Resulting Numbers: [55, 15, 9] Generated Node #0,0: 31:[55, 15, 9] Operation: 96-87=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[55, 15, 9], Operations: ['96-87=9'] Exploring Operation: 55-15=40, Resulting Numbers: [9, 40] Generated Node #0,0,0: 31:[9, 40] Operation: 55-15=40 Moving to Node #0,0,0 Current State: 31:[9, 40], Operations: ['96-87=9', '55-15=40'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[96, 55, 15, 87], Operations: [] Exploring Operation: 96-87=9, Resulting Numbers: [55, 15, 9] Generated Node #0,0: 31:[55, 15, 9] Operation: 96-87=9 Moving to Node #0,0 Current State: 31:[55, 15, 9], Operations: ['96-87=9'] Exploring Operation: 55-15=40, Resulting Numbers: [9, 40] Generated Node #0,0,0: 31:[9, 40] Operation: 55-15=40 Moving to Node #0,0,0 Current State: 31:[9, 40], Operations: ['96-87=9', '55-15=40'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 21, 34, 60, 49 ]
96
[ "34-21=13", "60+49=109", "109-13=96" ]
Current State: 96:[21, 34, 60, 49], Operations: [] Exploring Operation: 34-21=13, Resulting Numbers: [60, 49, 13] Generated Node #2: [60, 49, 13] from Operation: 34-21=13 Current State: 96:[60, 49, 13], Operations: ['34-21=13'] Exploring Operation: 60+49=109, Resulting Numbers: [13, 109] Generated Node #3: [13, 109] from Operation: 60+49=109 Current State: 96:[13, 109], Operations: ['34-21=13', '60+49=109'] Exploring Operation: 109-13=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[21, 34, 60, 49], Operations: [] Exploring Operation: 60-49=11, Resulting Numbers: [21, 34, 11] Generated Node #0,0: 96:[21, 34, 11] Operation: 60-49=11 Exploring Operation: 60-34=26, Resulting Numbers: [21, 49, 26] Generated Node #0,1: 96:[21, 49, 26] Operation: 60-34=26 Exploring Operation: 34+60=94, Resulting Numbers: [21, 49, 94] Generated Node #0,2: 96:[21, 49, 94] Operation: 34+60=94 Moving to Node #0,0 Current State: 96:[21, 34, 11], Operations: ['60-49=11'] Exploring Operation: 34-21=13, Resulting Numbers: [11, 13] Generated Node #0,0,0: 96:[11, 13] Operation: 34-21=13 Exploring Operation: 21+11=32, Resulting Numbers: [34, 32] Generated Node #0,0,1: 96:[34, 32] Operation: 21+11=32 Exploring Operation: 21-11=10, Resulting Numbers: [34, 10] Generated Node #0,0,2: 96:[34, 10] Operation: 21-11=10 Moving to Node #0,1 Current State: 96:[21, 49, 26], Operations: ['60-34=26'] Exploring Operation: 21+26=47, Resulting Numbers: [49, 47] Generated Node #0,1,0: 96:[49, 47] Operation: 21+26=47 Exploring Operation: 49-26=23, Resulting Numbers: [21, 23] Generated Node #0,1,1: 96:[21, 23] Operation: 49-26=23 Exploring Operation: 26-21=5, Resulting Numbers: [49, 5] Generated Node #0,1,2: 96:[49, 5] Operation: 26-21=5 Moving to Node #0,2 Current State: 96:[21, 49, 94], Operations: ['34+60=94'] Exploring Operation: 49-21=28, Resulting Numbers: [94, 28] Generated Node #0,2,0: 96:[94, 28] Operation: 49-21=28 Exploring Operation: 94-49=45, Resulting Numbers: [21, 45] Generated Node #0,2,1: 96:[21, 45] Operation: 94-49=45 Exploring Operation: 21+94=115, Resulting Numbers: [49, 115] Generated Node #0,2,2: 96:[49, 115] Operation: 21+94=115 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[94, 28], Operations: ['34+60=94', '49-21=28'] Exploring Operation: 94*28=2632, Resulting Numbers: [2632] 2632,96 unequal: No Solution Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,96 unequal: No Solution Exploring Operation: 94+28=122, Resulting Numbers: [122] 122,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[21, 45], Operations: ['34+60=94', '94-49=45'] Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,96 unequal: No Solution Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[49, 115], Operations: ['34+60=94', '21+94=115'] Exploring Operation: 115-49=66, Resulting Numbers: [66] 66,96 unequal: No Solution Exploring Operation: 49+115=164, Resulting Numbers: [164] 164,96 unequal: No Solution Exploring Operation: 49*115=5635, Resulting Numbers: [5635] 5635,96 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: 96:[11, 13], Operations: ['60-49=11', '34-21=13'] Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,96 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[34, 32], Operations: ['60-49=11', '21+11=32'] Exploring Operation: 34*32=1088, Resulting Numbers: [1088] 1088,96 unequal: No Solution Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,96 unequal: No Solution Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[49, 5], Operations: ['60-34=26', '26-21=5'] Exploring Operation: 49*5=245, Resulting Numbers: [245] 245,96 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,96 unequal: No Solution Exploring Operation: 49+5=54, Resulting Numbers: [54] 54,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[49, 47], Operations: ['60-34=26', '21+26=47'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[21, 34, 60, 49], Operations: [] Exploring Operation: 60-34=26, Resulting Numbers: [21, 49, 26] Generated Node #0,1: 96:[21, 49, 26] Operation: 60-34=26 Moving to Node #0,1 Current State: 96:[21, 49, 26], Operations: ['60-34=26'] Exploring Operation: 21+26=47, Resulting Numbers: [49, 47] Generated Node #0,1,0: 96:[49, 47] Operation: 21+26=47 Moving to Node #0,1,0 Current State: 96:[49, 47], Operations: ['60-34=26', '21+26=47'] Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 4, 41, 39, 43 ]
70
[ "39-4=35", "43-41=2", "35*2=70" ]
Current State: 70:[4, 41, 39, 43], Operations: [] Exploring Operation: 39-4=35, Resulting Numbers: [41, 43, 35] Generated Node #2: [41, 43, 35] from Operation: 39-4=35 Current State: 70:[41, 43, 35], Operations: ['39-4=35'] Exploring Operation: 43-41=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 43-41=2 Current State: 70:[35, 2], Operations: ['39-4=35', '43-41=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[4, 41, 39, 43], Operations: [] Exploring Operation: 43-41=2, Resulting Numbers: [4, 39, 2] Generated Node #0,0: 70:[4, 39, 2] Operation: 43-41=2 Exploring Operation: 41-4=37, Resulting Numbers: [39, 43, 37] Generated Node #0,1: 70:[39, 43, 37] Operation: 41-4=37 Exploring Operation: 41-39=2, Resulting Numbers: [4, 43, 2] Generated Node #0,2: 70:[4, 43, 2] Operation: 41-39=2 Exploring Operation: 43-39=4, Resulting Numbers: [4, 41, 4] Generated Node #0,3: 70:[4, 41, 4] Operation: 43-39=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[4, 39, 2], Operations: ['43-41=2'] Exploring Operation: 39-4=35, Resulting Numbers: [2, 35] Generated Node #0,0,0: 70:[2, 35] Operation: 39-4=35 Exploring Operation: 4-2=2, Resulting Numbers: [39, 2] Generated Node #0,0,1: 70:[39, 2] Operation: 4-2=2 Exploring Operation: 4/2=2, Resulting Numbers: [39, 2] Generated Node #0,0,2: 70:[39, 2] Operation: 4/2=2 Exploring Operation: 39-2=37, Resulting Numbers: [4, 37] Generated Node #0,0,3: 70:[4, 37] Operation: 39-2=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[2, 35], Operations: ['43-41=2', '39-4=35'] Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[4, 41, 39, 43], Operations: [] Exploring Operation: 43-41=2, Resulting Numbers: [4, 39, 2] Generated Node #0,0: 70:[4, 39, 2] Operation: 43-41=2 Moving to Node #0,0 Current State: 70:[4, 39, 2], Operations: ['43-41=2'] Exploring Operation: 39-4=35, Resulting Numbers: [2, 35] Generated Node #0,0,0: 70:[2, 35] Operation: 39-4=35 Moving to Node #0,0,0 Current State: 70:[2, 35], Operations: ['43-41=2', '39-4=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 73, 70, 12, 33 ]
21
[ "73-33=40", "70*12=840", "840/40=21" ]
Current State: 21:[73, 70, 12, 33], Operations: [] Exploring Operation: 73-33=40, Resulting Numbers: [70, 12, 40] Generated Node #2: [70, 12, 40] from Operation: 73-33=40 Current State: 21:[70, 12, 40], Operations: ['73-33=40'] Exploring Operation: 70*12=840, Resulting Numbers: [40, 840] Generated Node #3: [40, 840] from Operation: 70*12=840 Current State: 21:[40, 840], Operations: ['73-33=40', '70*12=840'] Exploring Operation: 840/40=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[73, 70, 12, 33], Operations: [] Exploring Operation: 70-33=37, Resulting Numbers: [73, 12, 37] Generated Node #0,0: 21:[73, 12, 37] Operation: 70-33=37 Exploring Operation: 73-70=3, Resulting Numbers: [12, 33, 3] Generated Node #0,1: 21:[12, 33, 3] Operation: 73-70=3 Exploring Operation: 73-12=61, Resulting Numbers: [70, 33, 61] Generated Node #0,2: 21:[70, 33, 61] Operation: 73-12=61 Exploring Operation: 73-33=40, Resulting Numbers: [70, 12, 40] Generated Node #0,3: 21:[70, 12, 40] Operation: 73-33=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[12, 33, 3], Operations: ['73-70=3'] Exploring Operation: 12/3=4, Resulting Numbers: [33, 4] Generated Node #0,1,0: 21:[33, 4] Operation: 12/3=4 Exploring Operation: 33-12=21, Resulting Numbers: [3, 21] Generated Node #0,1,1: 21:[3, 21] Operation: 33-12=21 Exploring Operation: 33/3=11, Resulting Numbers: [12, 11] Generated Node #0,1,2: 21:[12, 11] Operation: 33/3=11 Exploring Operation: 12-3=9, Resulting Numbers: [33, 9] Generated Node #0,1,3: 21:[33, 9] Operation: 12-3=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 21:[3, 21], Operations: ['73-70=3', '33-12=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,21 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 21:[12, 11], Operations: ['73-70=3', '33/3=11'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,21 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 21:[33, 4], Operations: ['73-70=3', '12/3=4'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,21 unequal: No Solution Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 21:[33, 9], Operations: ['73-70=3', '12-3=9'] Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,21 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[73, 12, 37], Operations: ['70-33=37'] Exploring Operation: 37-12=25, Resulting Numbers: [73, 25] Generated Node #0,0,0: 21:[73, 25] Operation: 37-12=25 Exploring Operation: 73+12=85, Resulting Numbers: [37, 85] Generated Node #0,0,1: 21:[37, 85] Operation: 73+12=85 Exploring Operation: 73-37=36, Resulting Numbers: [12, 36] Generated Node #0,0,2: 21:[12, 36] Operation: 73-37=36 Exploring Operation: 73-12=61, Resulting Numbers: [37, 61] Generated Node #0,0,3: 21:[37, 61] Operation: 73-12=61 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 21:[12, 36], Operations: ['70-33=37', '73-37=36'] Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,21 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,21 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[73, 25], Operations: ['70-33=37', '37-12=25'] Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,21 unequal: No Solution Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 21:[37, 61], Operations: ['70-33=37', '73-12=61'] Exploring Operation: 37+61=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 37*61=2257, Resulting Numbers: [2257] 2257,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[37, 85], Operations: ['70-33=37', '73+12=85'] Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,21 unequal: No Solution Exploring Operation: 37+85=122, Resulting Numbers: [122] 122,21 unequal: No Solution Exploring Operation: 37*85=3145, Resulting Numbers: [3145] 3145,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[70, 12, 40], Operations: ['73-33=40'] Exploring Operation: 70+12=82, Resulting Numbers: [40, 82] Generated Node #0,3,0: 21:[40, 82] Operation: 70+12=82 Exploring Operation: 70-40=30, Resulting Numbers: [12, 30] Generated Node #0,3,1: 21:[12, 30] Operation: 70-40=30 Exploring Operation: 70-12=58, Resulting Numbers: [40, 58] Generated Node #0,3,2: 21:[40, 58] Operation: 70-12=58 Exploring Operation: 40-12=28, Resulting Numbers: [70, 28] Generated Node #0,3,3: 21:[70, 28] Operation: 40-12=28 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 21:[12, 30], Operations: ['73-33=40', '70-40=30'] Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 12*30=360, Resulting Numbers: [360] 360,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 21:[40, 58], Operations: ['73-33=40', '70-12=58'] Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 40*58=2320, Resulting Numbers: [2320] 2320,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 21:[70, 28], Operations: ['73-33=40', '40-12=28'] Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 70+28=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 70*28=1960, Resulting Numbers: [1960] 1960,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 21:[40, 82], Operations: ['73-33=40', '70+12=82'] Exploring Operation: 40+82=122, Resulting Numbers: [122] 122,21 unequal: No Solution Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 40*82=3280, Resulting Numbers: [3280] 3280,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[70, 33, 61], Operations: ['73-12=61'] Exploring Operation: 61-33=28, Resulting Numbers: [70, 28] Generated Node #0,2,0: 21:[70, 28] Operation: 61-33=28 Exploring Operation: 70-33=37, Resulting Numbers: [61, 37] Generated Node #0,2,1: 21:[61, 37] Operation: 70-33=37 Exploring Operation: 70-61=9, Resulting Numbers: [33, 9] Generated Node #0,2,2: 21:[33, 9] Operation: 70-61=9 Exploring Operation: 70+33=103, Resulting Numbers: [61, 103] Generated Node #0,2,3: 21:[61, 103] Operation: 70+33=103 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[33, 9], Operations: ['73-12=61', '70-61=9'] Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 21:[70, 28], Operations: ['73-12=61', '61-33=28'] Exploring Operation: 70*28=1960, Resulting Numbers: [1960] 1960,21 unequal: No Solution Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 70+28=98, Resulting Numbers: [98] 98,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 21:[61, 37], Operations: ['73-12=61', '70-33=37'] Exploring Operation: 61*37=2257, Resulting Numbers: [2257] 2257,21 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 61+37=98, Resulting Numbers: [98] 98,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 21:[61, 103], Operations: ['73-12=61', '70+33=103'] Exploring Operation: 103-61=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 61+103=164, Resulting Numbers: [164] 164,21 unequal: No Solution Exploring Operation: 61*103=6283, Resulting Numbers: [6283] 6283,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 14, 92, 3, 42 ]
93
[ "14*3=42", "42/42=1", "92+1=93" ]
Current State: 93:[14, 92, 3, 42], Operations: [] Exploring Operation: 14*3=42, Resulting Numbers: [92, 42, 42] Generated Node #2: [92, 42, 42] from Operation: 14*3=42 Current State: 93:[92, 42, 42], Operations: ['14*3=42'] Exploring Operation: 42/42=1, Resulting Numbers: [92, 1] Generated Node #3: [92, 1] from Operation: 42/42=1 Current State: 93:[92, 1], Operations: ['14*3=42', '42/42=1'] Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[14, 92, 3, 42], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [92, 3, 3] Generated Node #0,0: 93:[92, 3, 3] Operation: 42/14=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[92, 3, 3], Operations: ['42/14=3'] Exploring Operation: 92+3=95, Resulting Numbers: [3, 95] Generated Node #0,0,0: 93:[3, 95] Operation: 92+3=95 Moving to Node #0,0,0 Current State: 93:[3, 95], Operations: ['42/14=3', '92+3=95'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 65, 80, 45, 24 ]
54
[ "80-65=15", "45+24=69", "69-15=54" ]
Current State: 54:[65, 80, 45, 24], Operations: [] Exploring Operation: 80-65=15, Resulting Numbers: [45, 24, 15] Generated Node #2: [45, 24, 15] from Operation: 80-65=15 Current State: 54:[45, 24, 15], Operations: ['80-65=15'] Exploring Operation: 45+24=69, Resulting Numbers: [15, 69] Generated Node #3: [15, 69] from Operation: 45+24=69 Current State: 54:[15, 69], Operations: ['80-65=15', '45+24=69'] Exploring Operation: 69-15=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[65, 80, 45, 24], Operations: [] Exploring Operation: 80-45=35, Resulting Numbers: [65, 24, 35] Generated Node #0,0: 54:[65, 24, 35] Operation: 80-45=35 Exploring Operation: 80-65=15, Resulting Numbers: [45, 24, 15] Generated Node #0,1: 54:[45, 24, 15] Operation: 80-65=15 Exploring Operation: 80-24=56, Resulting Numbers: [65, 45, 56] Generated Node #0,2: 54:[65, 45, 56] Operation: 80-24=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[45, 24, 15], Operations: ['80-65=15'] Exploring Operation: 45-15=30, Resulting Numbers: [24, 30] Generated Node #0,1,0: 54:[24, 30] Operation: 45-15=30 Exploring Operation: 45/15=3, Resulting Numbers: [24, 3] Generated Node #0,1,1: 54:[24, 3] Operation: 45/15=3 Exploring Operation: 45-24=21, Resulting Numbers: [15, 21] Generated Node #0,1,2: 54:[15, 21] Operation: 45-24=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 54:[24, 3], Operations: ['80-65=15', '45/15=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,54 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,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:[24, 30], Operations: ['80-65=15', '45-15=30'] Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[65, 80, 45, 24], Operations: [] Exploring Operation: 80-65=15, Resulting Numbers: [45, 24, 15] Generated Node #0,1: 54:[45, 24, 15] Operation: 80-65=15 Moving to Node #0,1 Current State: 54:[45, 24, 15], Operations: ['80-65=15'] Exploring Operation: 45-15=30, Resulting Numbers: [24, 30] Generated Node #0,1,0: 54:[24, 30] Operation: 45-15=30 Moving to Node #0,1,0 Current State: 54:[24, 30], Operations: ['80-65=15', '45-15=30'] Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 19, 10, 72, 6 ]
95
[ "19+10=29", "72-6=66", "29+66=95" ]
Current State: 95:[19, 10, 72, 6], Operations: [] Exploring Operation: 19+10=29, Resulting Numbers: [72, 6, 29] Generated Node #2: [72, 6, 29] from Operation: 19+10=29 Current State: 95:[72, 6, 29], Operations: ['19+10=29'] Exploring Operation: 72-6=66, Resulting Numbers: [29, 66] Generated Node #3: [29, 66] from Operation: 72-6=66 Current State: 95:[29, 66], Operations: ['19+10=29', '72-6=66'] Exploring Operation: 29+66=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[19, 10, 72, 6], Operations: [] Exploring Operation: 19+72=91, Resulting Numbers: [10, 6, 91] Generated Node #0,0: 95:[10, 6, 91] Operation: 19+72=91 Exploring Operation: 72+6=78, Resulting Numbers: [19, 10, 78] Generated Node #0,1: 95:[19, 10, 78] Operation: 72+6=78 Exploring Operation: 10-6=4, Resulting Numbers: [19, 72, 4] Generated Node #0,2: 95:[19, 72, 4] Operation: 10-6=4 Exploring Operation: 72/6=12, Resulting Numbers: [19, 10, 12] Generated Node #0,3: 95:[19, 10, 12] Operation: 72/6=12 Exploring Operation: 10+72=82, Resulting Numbers: [19, 6, 82] Generated Node #0,4: 95:[19, 6, 82] Operation: 10+72=82 Moving to Node #0,0 Current State: 95:[10, 6, 91], Operations: ['19+72=91'] Exploring Operation: 6+91=97, Resulting Numbers: [10, 97] Generated Node #0,0,0: 95:[10, 97] Operation: 6+91=97 Exploring Operation: 10+6=16, Resulting Numbers: [91, 16] Generated Node #0,0,1: 95:[91, 16] Operation: 10+6=16 Exploring Operation: 10+91=101, Resulting Numbers: [6, 101] Generated Node #0,0,2: 95:[6, 101] Operation: 10+91=101 Exploring Operation: 91-10=81, Resulting Numbers: [6, 81] Generated Node #0,0,3: 95:[6, 81] Operation: 91-10=81 Exploring Operation: 10-6=4, Resulting Numbers: [91, 4] Generated Node #0,0,4: 95:[91, 4] Operation: 10-6=4 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 95:[91, 4], Operations: ['19+72=91', '10-6=4'] Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,95 unequal: No Solution Exploring Operation: 91*4=364, Resulting Numbers: [364] 364,95 unequal: No Solution Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[19, 10, 72, 6], Operations: [] Exploring Operation: 19+72=91, Resulting Numbers: [10, 6, 91] Generated Node #0,0: 95:[10, 6, 91] Operation: 19+72=91 Moving to Node #0,0 Current State: 95:[10, 6, 91], Operations: ['19+72=91'] Exploring Operation: 10-6=4, Resulting Numbers: [91, 4] Generated Node #0,0,4: 95:[91, 4] Operation: 10-6=4 Moving to Node #0,0,4 Current State: 95:[91, 4], Operations: ['19+72=91', '10-6=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 16, 46, 44, 34 ]
95
[ "46*34=1564", "1564-44=1520", "1520/16=95" ]
Current State: 95:[16, 46, 44, 34], Operations: [] Exploring Operation: 46*34=1564, Resulting Numbers: [16, 44, 1564] Generated Node #2: [16, 44, 1564] from Operation: 46*34=1564 Current State: 95:[16, 44, 1564], Operations: ['46*34=1564'] Exploring Operation: 1564-44=1520, Resulting Numbers: [16, 1520] Generated Node #3: [16, 1520] from Operation: 1564-44=1520 Current State: 95:[16, 1520], Operations: ['46*34=1564', '1564-44=1520'] Exploring Operation: 1520/16=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[16, 46, 44, 34], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [16, 34, 2] Generated Node #0,0: 95:[16, 34, 2] Operation: 46-44=2 Exploring Operation: 46+44=90, Resulting Numbers: [16, 34, 90] Generated Node #0,1: 95:[16, 34, 90] Operation: 46+44=90 Exploring Operation: 46-34=12, Resulting Numbers: [16, 44, 12] Generated Node #0,2: 95:[16, 44, 12] Operation: 46-34=12 Exploring Operation: 44-34=10, Resulting Numbers: [16, 46, 10] Generated Node #0,3: 95:[16, 46, 10] Operation: 44-34=10 Moving to Node #0,0 Current State: 95:[16, 34, 2], Operations: ['46-44=2'] Exploring Operation: 34-16=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 95:[2, 18] Operation: 34-16=18 Exploring Operation: 34-2=32, Resulting Numbers: [16, 32] Generated Node #0,0,1: 95:[16, 32] Operation: 34-2=32 Exploring Operation: 16+2=18, Resulting Numbers: [34, 18] Generated Node #0,0,2: 95:[34, 18] Operation: 16+2=18 Exploring Operation: 34/2=17, Resulting Numbers: [16, 17] Generated Node #0,0,3: 95:[16, 17] Operation: 34/2=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[2, 18], Operations: ['46-44=2', '34-16=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,95 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,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,3 Current State: 95:[16, 17], Operations: ['46-44=2', '34/2=17'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 16*17=272, Resulting Numbers: [272] 272,95 unequal: No Solution Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,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:[16, 32], Operations: ['46-44=2', '34-2=32'] Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,95 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,95 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[34, 18], Operations: ['46-44=2', '16+2=18'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,95 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,95 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: 95:[16, 34, 90], Operations: ['46+44=90'] Exploring Operation: 16+34=50, Resulting Numbers: [90, 50] Generated Node #0,1,0: 95:[90, 50] Operation: 16+34=50 Exploring Operation: 34+90=124, Resulting Numbers: [16, 124] Generated Node #0,1,1: 95:[16, 124] Operation: 34+90=124 Exploring Operation: 16+90=106, Resulting Numbers: [34, 106] Generated Node #0,1,2: 95:[34, 106] Operation: 16+90=106 Exploring Operation: 34-16=18, Resulting Numbers: [90, 18] Generated Node #0,1,3: 95:[90, 18] Operation: 34-16=18 Moving to Node #0,3 Current State: 95:[16, 46, 10], Operations: ['44-34=10'] Exploring Operation: 16+10=26, Resulting Numbers: [46, 26] Generated Node #0,3,0: 95:[46, 26] Operation: 16+10=26 Exploring Operation: 46-16=30, Resulting Numbers: [10, 30] Generated Node #0,3,1: 95:[10, 30] Operation: 46-16=30 Exploring Operation: 46-10=36, Resulting Numbers: [16, 36] Generated Node #0,3,2: 95:[16, 36] Operation: 46-10=36 Exploring Operation: 16-10=6, Resulting Numbers: [46, 6] Generated Node #0,3,3: 95:[46, 6] Operation: 16-10=6 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 95:[10, 30], Operations: ['44-34=10', '46-16=30'] Exploring Operation: 10*30=300, Resulting Numbers: [300] 300,95 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,95 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,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,3,2 Current State: 95:[16, 36], Operations: ['44-34=10', '46-10=36'] Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,95 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,95 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,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,3,3 Current State: 95:[46, 6], Operations: ['44-34=10', '16-10=6'] Exploring Operation: 46+6=52, Resulting Numbers: [52] 52,95 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,95 unequal: No Solution Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,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,3,0 Current State: 95:[46, 26], Operations: ['44-34=10', '16+10=26'] Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 46*26=1196, Resulting Numbers: [1196] 1196,95 unequal: No Solution Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 95:[16, 44, 12], Operations: ['46-34=12'] Exploring Operation: 44-16=28, Resulting Numbers: [12, 28] Generated Node #0,2,0: 95:[12, 28] Operation: 44-16=28 Exploring Operation: 44-12=32, Resulting Numbers: [16, 32] Generated Node #0,2,1: 95:[16, 32] Operation: 44-12=32 Exploring Operation: 16-12=4, Resulting Numbers: [44, 4] Generated Node #0,2,2: 95:[44, 4] Operation: 16-12=4 Exploring Operation: 16+12=28, Resulting Numbers: [44, 28] Generated Node #0,2,3: 95:[44, 28] Operation: 16+12=28 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[12, 28], Operations: ['46-34=12', '44-16=28'] Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,95 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 12*28=336, Resulting Numbers: [336] 336,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,2,1 Current State: 95:[16, 32], Operations: ['46-34=12', '44-12=32'] Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,95 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,95 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,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,2,2 Current State: 95:[44, 4], Operations: ['46-34=12', '16-12=4'] Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,95 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,95 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,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,2,3 Current State: 95:[44, 28], Operations: ['46-34=12', '16+12=28'] Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 44*28=1232, Resulting Numbers: [1232] 1232,95 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 95:[90, 18], Operations: ['46+44=90', '34-16=18'] Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 90+18=108, Resulting Numbers: [108] 108,95 unequal: No Solution Exploring Operation: 90*18=1620, Resulting Numbers: [1620] 1620,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[34, 106], Operations: ['46+44=90', '16+90=106'] Exploring Operation: 34+106=140, Resulting Numbers: [140] 140,95 unequal: No Solution Exploring Operation: 34*106=3604, Resulting Numbers: [3604] 3604,95 unequal: No Solution Exploring Operation: 106-34=72, Resulting Numbers: [72] 72,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[16, 124], Operations: ['46+44=90', '34+90=124'] Exploring Operation: 124-16=108, Resulting Numbers: [108] 108,95 unequal: No Solution Exploring Operation: 16+124=140, Resulting Numbers: [140] 140,95 unequal: No Solution Exploring Operation: 16*124=1984, Resulting Numbers: [1984] 1984,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[90, 50], Operations: ['46+44=90', '16+34=50'] Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,95 unequal: No Solution Exploring Operation: 90*50=4500, Resulting Numbers: [4500] 4500,95 unequal: No Solution Exploring Operation: 90+50=140, Resulting Numbers: [140] 140,95 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 37, 6, 59, 91 ]
68
[ "91-37=54", "54/6=9", "59+9=68" ]
Current State: 68:[37, 6, 59, 91], Operations: [] Exploring Operation: 91-37=54, Resulting Numbers: [6, 59, 54] Generated Node #2: [6, 59, 54] from Operation: 91-37=54 Current State: 68:[6, 59, 54], Operations: ['91-37=54'] Exploring Operation: 54/6=9, Resulting Numbers: [59, 9] Generated Node #3: [59, 9] from Operation: 54/6=9 Current State: 68:[59, 9], Operations: ['91-37=54', '54/6=9'] Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[37, 6, 59, 91], Operations: [] Exploring Operation: 91-59=32, Resulting Numbers: [37, 6, 32] Generated Node #0,0: 68:[37, 6, 32] Operation: 91-59=32 Exploring Operation: 6+59=65, Resulting Numbers: [37, 91, 65] Generated Node #0,1: 68:[37, 91, 65] Operation: 6+59=65 Exploring Operation: 91-37=54, Resulting Numbers: [6, 59, 54] Generated Node #0,2: 68:[6, 59, 54] Operation: 91-37=54 Exploring Operation: 91-6=85, Resulting Numbers: [37, 59, 85] Generated Node #0,3: 68:[37, 59, 85] Operation: 91-6=85 Moving to Node #0,0 Current State: 68:[37, 6, 32], Operations: ['91-59=32'] Exploring Operation: 37-6=31, Resulting Numbers: [32, 31] Generated Node #0,0,0: 68:[32, 31] Operation: 37-6=31 Exploring Operation: 37+32=69, Resulting Numbers: [6, 69] Generated Node #0,0,1: 68:[6, 69] Operation: 37+32=69 Exploring Operation: 37-32=5, Resulting Numbers: [6, 5] Generated Node #0,0,2: 68:[6, 5] Operation: 37-32=5 Exploring Operation: 6+32=38, Resulting Numbers: [37, 38] Generated Node #0,0,3: 68:[37, 38] Operation: 6+32=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[6, 69], Operations: ['91-59=32', '37+32=69'] Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,68 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 68:[6, 5], Operations: ['91-59=32', '37-32=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[32, 31], Operations: ['91-59=32', '37-6=31'] Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 32*31=992, Resulting Numbers: [992] 992,68 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 68:[37, 38], Operations: ['91-59=32', '6+32=38'] Exploring Operation: 37*38=1406, Resulting Numbers: [1406] 1406,68 unequal: No Solution Exploring Operation: 37+38=75, Resulting Numbers: [75] 75,68 unequal: No Solution Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 68:[6, 59, 54], Operations: ['91-37=54'] Exploring Operation: 54/6=9, Resulting Numbers: [59, 9] Generated Node #0,2,0: 68:[59, 9] Operation: 54/6=9 Exploring Operation: 6+59=65, Resulting Numbers: [54, 65] Generated Node #0,2,1: 68:[54, 65] Operation: 6+59=65 Exploring Operation: 6+54=60, Resulting Numbers: [59, 60] Generated Node #0,2,2: 68:[59, 60] Operation: 6+54=60 Exploring Operation: 59-54=5, Resulting Numbers: [6, 5] Generated Node #0,2,3: 68:[6, 5] Operation: 59-54=5 Moving to Node #0,3 Current State: 68:[37, 59, 85], Operations: ['91-6=85'] Exploring Operation: 85-37=48, Resulting Numbers: [59, 48] Generated Node #0,3,0: 68:[59, 48] Operation: 85-37=48 Exploring Operation: 37+59=96, Resulting Numbers: [85, 96] Generated Node #0,3,1: 68:[85, 96] Operation: 37+59=96 Exploring Operation: 59-37=22, Resulting Numbers: [85, 22] Generated Node #0,3,2: 68:[85, 22] Operation: 59-37=22 Exploring Operation: 85-59=26, Resulting Numbers: [37, 26] Generated Node #0,3,3: 68:[37, 26] Operation: 85-59=26 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 68:[37, 26], Operations: ['91-6=85', '85-59=26'] Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 37*26=962, Resulting Numbers: [962] 962,68 unequal: No Solution Exploring Operation: 37+26=63, Resulting Numbers: [63] 63,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 68:[85, 22], Operations: ['91-6=85', '59-37=22'] Exploring Operation: 85+22=107, Resulting Numbers: [107] 107,68 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 85*22=1870, Resulting Numbers: [1870] 1870,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 68:[59, 48], Operations: ['91-6=85', '85-37=48'] Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,68 unequal: No Solution Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 68:[85, 96], Operations: ['91-6=85', '37+59=96'] Exploring Operation: 85*96=8160, Resulting Numbers: [8160] 8160,68 unequal: No Solution Exploring Operation: 85+96=181, Resulting Numbers: [181] 181,68 unequal: No Solution Exploring Operation: 96-85=11, Resulting Numbers: [11] 11,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 68:[37, 91, 65], Operations: ['6+59=65'] Exploring Operation: 91-65=26, Resulting Numbers: [37, 26] Generated Node #0,1,0: 68:[37, 26] Operation: 91-65=26 Exploring Operation: 91-37=54, Resulting Numbers: [65, 54] Generated Node #0,1,1: 68:[65, 54] Operation: 91-37=54 Exploring Operation: 37+65=102, Resulting Numbers: [91, 102] Generated Node #0,1,2: 68:[91, 102] Operation: 37+65=102 Exploring Operation: 65-37=28, Resulting Numbers: [91, 28] Generated Node #0,1,3: 68:[91, 28] Operation: 65-37=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[37, 26], Operations: ['6+59=65', '91-65=26'] Exploring Operation: 37+26=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 37*26=962, Resulting Numbers: [962] 962,68 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[65, 54], Operations: ['6+59=65', '91-37=54'] Exploring Operation: 65*54=3510, Resulting Numbers: [3510] 3510,68 unequal: No Solution Exploring Operation: 65+54=119, Resulting Numbers: [119] 119,68 unequal: No Solution Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 68:[91, 28], Operations: ['6+59=65', '65-37=28'] Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 91*28=2548, Resulting Numbers: [2548] 2548,68 unequal: No Solution Exploring Operation: 91+28=119, Resulting Numbers: [119] 119,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 68:[91, 102], Operations: ['6+59=65', '37+65=102'] Exploring Operation: 91+102=193, Resulting Numbers: [193] 193,68 unequal: No Solution Exploring Operation: 91*102=9282, Resulting Numbers: [9282] 9282,68 unequal: No Solution Exploring Operation: 102-91=11, Resulting Numbers: [11] 11,68 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: 68:[6, 5], Operations: ['91-37=54', '59-54=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[59, 9], Operations: ['91-37=54', '54/6=9'] Exploring Operation: 59*9=531, Resulting Numbers: [531] 531,68 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[37, 6, 59, 91], Operations: [] Exploring Operation: 91-37=54, Resulting Numbers: [6, 59, 54] Generated Node #0,2: 68:[6, 59, 54] Operation: 91-37=54 Moving to Node #0,2 Current State: 68:[6, 59, 54], Operations: ['91-37=54'] Exploring Operation: 54/6=9, Resulting Numbers: [59, 9] Generated Node #0,2,0: 68:[59, 9] Operation: 54/6=9 Moving to Node #0,2,0 Current State: 68:[59, 9], Operations: ['91-37=54', '54/6=9'] Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.942708
hs_4
sum_heuristic
[ 30, 92, 43, 16 ]
89
[ "92-30=62", "43-16=27", "62+27=89" ]
Current State: 89:[30, 92, 43, 16], Operations: [] Exploring Operation: 92-30=62, Resulting Numbers: [43, 16, 62] Generated Node #2: [43, 16, 62] from Operation: 92-30=62 Current State: 89:[43, 16, 62], Operations: ['92-30=62'] Exploring Operation: 43-16=27, Resulting Numbers: [62, 27] Generated Node #3: [62, 27] from Operation: 43-16=27 Current State: 89:[62, 27], Operations: ['92-30=62', '43-16=27'] Exploring Operation: 62+27=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[30, 92, 43, 16], Operations: [] Exploring Operation: 43+16=59, Resulting Numbers: [30, 92, 59] Generated Node #0,0: 89:[30, 92, 59] Operation: 43+16=59 Exploring Operation: 30+16=46, Resulting Numbers: [92, 43, 46] Generated Node #0,1: 89:[92, 43, 46] Operation: 30+16=46 Exploring Operation: 30+43=73, Resulting Numbers: [92, 16, 73] Generated Node #0,2: 89:[92, 16, 73] Operation: 30+43=73 Moving to Node #0,0 Current State: 89:[30, 92, 59], Operations: ['43+16=59'] Exploring Operation: 30+59=89, Resulting Numbers: [92, 89] Generated Node #0,0,0: 89:[92, 89] Operation: 30+59=89 Exploring Operation: 30+92=122, Resulting Numbers: [59, 122] Generated Node #0,0,1: 89:[59, 122] Operation: 30+92=122 Exploring Operation: 92-30=62, Resulting Numbers: [59, 62] Generated Node #0,0,2: 89:[59, 62] Operation: 92-30=62 Moving to Node #0,1 Current State: 89:[92, 43, 46], Operations: ['30+16=46'] Exploring Operation: 92-43=49, Resulting Numbers: [46, 49] Generated Node #0,1,0: 89:[46, 49] Operation: 92-43=49 Exploring Operation: 43+46=89, Resulting Numbers: [92, 89] Generated Node #0,1,1: 89:[92, 89] Operation: 43+46=89 Exploring Operation: 92+43=135, Resulting Numbers: [46, 135] Generated Node #0,1,2: 89:[46, 135] Operation: 92+43=135 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[92, 89], Operations: ['30+16=46', '43+46=89'] Exploring Operation: 92-89=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 92*89=8188, Resulting Numbers: [8188] 8188,89 unequal: No Solution Exploring Operation: 92+89=181, Resulting Numbers: [181] 181,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:[46, 49], Operations: ['30+16=46', '92-43=49'] Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,89 unequal: No Solution Exploring Operation: 46*49=2254, Resulting Numbers: [2254] 2254,89 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,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:[46, 135], Operations: ['30+16=46', '92+43=135'] Exploring Operation: 46*135=6210, Resulting Numbers: [6210] 6210,89 unequal: No Solution Exploring Operation: 135-46=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[30, 92, 43, 16], Operations: [] Exploring Operation: 30+16=46, Resulting Numbers: [92, 43, 46] Generated Node #0,1: 89:[92, 43, 46] Operation: 30+16=46 Moving to Node #0,1 Current State: 89:[92, 43, 46], Operations: ['30+16=46'] Exploring Operation: 92+43=135, Resulting Numbers: [46, 135] Generated Node #0,1,2: 89:[46, 135] Operation: 92+43=135 Moving to Node #0,1,2 Current State: 89:[46, 135], Operations: ['30+16=46', '92+43=135'] Exploring Operation: 135-46=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_3
mult_heuristic
[ 16, 23, 75, 98 ]
16
[ "16+23=39", "98-75=23", "39-23=16" ]
Current State: 16:[16, 23, 75, 98], Operations: [] Exploring Operation: 16+23=39, Resulting Numbers: [75, 98, 39] Generated Node #2: [75, 98, 39] from Operation: 16+23=39 Current State: 16:[75, 98, 39], Operations: ['16+23=39'] Exploring Operation: 98-75=23, Resulting Numbers: [39, 23] Generated Node #3: [39, 23] from Operation: 98-75=23 Current State: 16:[39, 23], Operations: ['16+23=39', '98-75=23'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[16, 23, 75, 98], Operations: [] Exploring Operation: 98-75=23, Resulting Numbers: [16, 23, 23] Generated Node #0,0: 16:[16, 23, 23] Operation: 98-75=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[16, 23, 23], Operations: ['98-75=23'] Exploring Operation: 23/23=1, Resulting Numbers: [16, 1] Generated Node #0,0,0: 16:[16, 1] Operation: 23/23=1 Moving to Node #0,0,0 Current State: 16:[16, 1], Operations: ['98-75=23', '23/23=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[16, 23, 75, 98], Operations: [] Exploring Operation: 98-75=23, Resulting Numbers: [16, 23, 23] Generated Node #0,0: 16:[16, 23, 23] Operation: 98-75=23 Moving to Node #0,0 Current State: 16:[16, 23, 23], Operations: ['98-75=23'] Exploring Operation: 23/23=1, Resulting Numbers: [16, 1] Generated Node #0,0,0: 16:[16, 1] Operation: 23/23=1 Moving to Node #0,0,0 Current State: 16:[16, 1], Operations: ['98-75=23', '23/23=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 14, 19, 31, 11 ]
100
[ "19-14=5", "31-11=20", "5*20=100" ]
Current State: 100:[14, 19, 31, 11], Operations: [] Exploring Operation: 19-14=5, Resulting Numbers: [31, 11, 5] Generated Node #2: [31, 11, 5] from Operation: 19-14=5 Current State: 100:[31, 11, 5], Operations: ['19-14=5'] Exploring Operation: 31-11=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 31-11=20 Current State: 100:[5, 20], Operations: ['19-14=5', '31-11=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[14, 19, 31, 11], Operations: [] Exploring Operation: 31-14=17, Resulting Numbers: [19, 11, 17] Generated Node #0,0: 100:[19, 11, 17] Operation: 31-14=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[19, 11, 17], Operations: ['31-14=17'] Exploring Operation: 19-17=2, Resulting Numbers: [11, 2] Generated Node #0,0,0: 100:[11, 2] Operation: 19-17=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[11, 2], Operations: ['31-14=17', '19-17=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 55, 78, 32, 41 ]
82
[ "78+32=110", "110/55=2", "41*2=82" ]
Current State: 82:[55, 78, 32, 41], Operations: [] Exploring Operation: 78+32=110, Resulting Numbers: [55, 41, 110] Generated Node #2: [55, 41, 110] from Operation: 78+32=110 Current State: 82:[55, 41, 110], Operations: ['78+32=110'] Exploring Operation: 110/55=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 110/55=2 Current State: 82:[41, 2], Operations: ['78+32=110', '110/55=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[55, 78, 32, 41], Operations: [] Exploring Operation: 55-32=23, Resulting Numbers: [78, 41, 23] Generated Node #0,0: 82:[78, 41, 23] Operation: 55-32=23 Exploring Operation: 78-32=46, Resulting Numbers: [55, 41, 46] Generated Node #0,1: 82:[55, 41, 46] Operation: 78-32=46 Exploring Operation: 55-41=14, Resulting Numbers: [78, 32, 14] Generated Node #0,2: 82:[78, 32, 14] Operation: 55-41=14 Exploring Operation: 41-32=9, Resulting Numbers: [55, 78, 9] Generated Node #0,3: 82:[55, 78, 9] Operation: 41-32=9 Exploring Operation: 55+32=87, Resulting Numbers: [78, 41, 87] Generated Node #0,4: 82:[78, 41, 87] Operation: 55+32=87 Moving to Node #0,4 Current State: 82:[78, 41, 87], Operations: ['55+32=87'] Exploring Operation: 41+87=128, Resulting Numbers: [78, 128] Generated Node #0,4,0: 82:[78, 128] Operation: 41+87=128 Exploring Operation: 87-78=9, Resulting Numbers: [41, 9] Generated Node #0,4,1: 82:[41, 9] Operation: 87-78=9 Exploring Operation: 78+41=119, Resulting Numbers: [87, 119] Generated Node #0,4,2: 82:[87, 119] Operation: 78+41=119 Exploring Operation: 87-41=46, Resulting Numbers: [78, 46] Generated Node #0,4,3: 82:[78, 46] Operation: 87-41=46 Exploring Operation: 78-41=37, Resulting Numbers: [87, 37] Generated Node #0,4,4: 82:[87, 37] Operation: 78-41=37 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 82:[41, 9], Operations: ['55+32=87', '87-78=9'] Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 41*9=369, Resulting Numbers: [369] 369,82 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 82:[78, 46], Operations: ['55+32=87', '87-41=46'] Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,82 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 82:[87, 37], Operations: ['55+32=87', '78-41=37'] Exploring Operation: 87*37=3219, Resulting Numbers: [3219] 3219,82 unequal: No Solution Exploring Operation: 87+37=124, Resulting Numbers: [124] 124,82 unequal: No Solution Exploring Operation: 87-37=50, Resulting Numbers: [50] 50,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 82:[87, 119], Operations: ['55+32=87', '78+41=119'] Exploring Operation: 87*119=10353, Resulting Numbers: [10353] 10353,82 unequal: No Solution Exploring Operation: 119-87=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 87+119=206, Resulting Numbers: [206] 206,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 82:[78, 128], Operations: ['55+32=87', '41+87=128'] Exploring Operation: 128-78=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 78*128=9984, Resulting Numbers: [9984] 9984,82 unequal: No Solution Exploring Operation: 78+128=206, Resulting Numbers: [206] 206,82 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: 82:[55, 41, 46], Operations: ['78-32=46'] Exploring Operation: 46-41=5, Resulting Numbers: [55, 5] Generated Node #0,1,0: 82:[55, 5] Operation: 46-41=5 Exploring Operation: 55+41=96, Resulting Numbers: [46, 96] Generated Node #0,1,1: 82:[46, 96] Operation: 55+41=96 Exploring Operation: 55+46=101, Resulting Numbers: [41, 101] Generated Node #0,1,2: 82:[41, 101] Operation: 55+46=101 Exploring Operation: 55-41=14, Resulting Numbers: [46, 14] Generated Node #0,1,3: 82:[46, 14] Operation: 55-41=14 Exploring Operation: 55-46=9, Resulting Numbers: [41, 9] Generated Node #0,1,4: 82:[41, 9] Operation: 55-46=9 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 82:[41, 9], Operations: ['78-32=46', '55-46=9'] Exploring Operation: 41*9=369, Resulting Numbers: [369] 369,82 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[55, 5], Operations: ['78-32=46', '46-41=5'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,82 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 82:[46, 14], Operations: ['78-32=46', '55-41=14'] Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 46*14=644, Resulting Numbers: [644] 644,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[46, 96], Operations: ['78-32=46', '55+41=96'] Exploring Operation: 46+96=142, Resulting Numbers: [142] 142,82 unequal: No Solution Exploring Operation: 96-46=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 46*96=4416, Resulting Numbers: [4416] 4416,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[41, 101], Operations: ['78-32=46', '55+46=101'] Exploring Operation: 41+101=142, Resulting Numbers: [142] 142,82 unequal: No Solution Exploring Operation: 41*101=4141, Resulting Numbers: [4141] 4141,82 unequal: No Solution Exploring Operation: 101-41=60, Resulting Numbers: [60] 60,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 82:[78, 41, 23], Operations: ['55-32=23'] Exploring Operation: 78+23=101, Resulting Numbers: [41, 101] Generated Node #0,0,0: 82:[41, 101] Operation: 78+23=101 Exploring Operation: 41-23=18, Resulting Numbers: [78, 18] Generated Node #0,0,1: 82:[78, 18] Operation: 41-23=18 Exploring Operation: 78-41=37, Resulting Numbers: [23, 37] Generated Node #0,0,2: 82:[23, 37] Operation: 78-41=37 Exploring Operation: 78-23=55, Resulting Numbers: [41, 55] Generated Node #0,0,3: 82:[41, 55] Operation: 78-23=55 Exploring Operation: 41+23=64, Resulting Numbers: [78, 64] Generated Node #0,0,4: 82:[78, 64] Operation: 41+23=64 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 82:[41, 55], Operations: ['55-32=23', '78-23=55'] Exploring Operation: 41*55=2255, Resulting Numbers: [2255] 2255,82 unequal: No Solution Exploring Operation: 41+55=96, Resulting Numbers: [96] 96,82 unequal: No Solution Exploring Operation: 55-41=14, Resulting Numbers: [14] 14,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[41, 101], Operations: ['55-32=23', '78+23=101'] Exploring Operation: 41+101=142, Resulting Numbers: [142] 142,82 unequal: No Solution Exploring Operation: 41*101=4141, Resulting Numbers: [4141] 4141,82 unequal: No Solution Exploring Operation: 101-41=60, Resulting Numbers: [60] 60,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[78, 18], Operations: ['55-32=23', '41-23=18'] Exploring Operation: 78*18=1404, Resulting Numbers: [1404] 1404,82 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 78+18=96, Resulting Numbers: [96] 96,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[23, 37], Operations: ['55-32=23', '78-41=37'] Exploring Operation: 23*37=851, Resulting Numbers: [851] 851,82 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 23+37=60, Resulting Numbers: [60] 60,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 82:[78, 64], Operations: ['55-32=23', '41+23=64'] Exploring Operation: 78*64=4992, Resulting Numbers: [4992] 4992,82 unequal: No Solution Exploring Operation: 78+64=142, Resulting Numbers: [142] 142,82 unequal: No Solution Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,82 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: 82:[78, 32, 14], Operations: ['55-41=14'] Exploring Operation: 78+14=92, Resulting Numbers: [32, 92] Generated Node #0,2,0: 82:[32, 92] Operation: 78+14=92 Exploring Operation: 78-14=64, Resulting Numbers: [32, 64] Generated Node #0,2,1: 82:[32, 64] Operation: 78-14=64 Exploring Operation: 78-32=46, Resulting Numbers: [14, 46] Generated Node #0,2,2: 82:[14, 46] Operation: 78-32=46 Exploring Operation: 32-14=18, Resulting Numbers: [78, 18] Generated Node #0,2,3: 82:[78, 18] Operation: 32-14=18 Exploring Operation: 32+14=46, Resulting Numbers: [78, 46] Generated Node #0,2,4: 82:[78, 46] Operation: 32+14=46 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 82:[78, 46], Operations: ['55-41=14', '32+14=46'] Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,82 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[14, 46], Operations: ['55-41=14', '78-32=46'] Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,82 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[32, 92], Operations: ['55-41=14', '78+14=92'] Exploring Operation: 92-32=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 32*92=2944, Resulting Numbers: [2944] 2944,82 unequal: No Solution Exploring Operation: 32+92=124, Resulting Numbers: [124] 124,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 82:[78, 18], Operations: ['55-41=14', '32-14=18'] Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 78*18=1404, Resulting Numbers: [1404] 1404,82 unequal: No Solution Exploring Operation: 78+18=96, Resulting Numbers: [96] 96,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[32, 64], Operations: ['55-41=14', '78-14=64'] Exploring Operation: 32+64=96, Resulting Numbers: [96] 96,82 unequal: No Solution Exploring Operation: 32*64=2048, Resulting Numbers: [2048] 2048,82 unequal: No Solution Exploring Operation: 64/32=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,82 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: 82:[55, 78, 9], Operations: ['41-32=9'] Exploring Operation: 78-55=23, Resulting Numbers: [9, 23] Generated Node #0,3,0: 82:[9, 23] Operation: 78-55=23 Exploring Operation: 78-9=69, Resulting Numbers: [55, 69] Generated Node #0,3,1: 82:[55, 69] Operation: 78-9=69 Exploring Operation: 55-9=46, Resulting Numbers: [78, 46] Generated Node #0,3,2: 82:[78, 46] Operation: 55-9=46 Exploring Operation: 55+9=64, Resulting Numbers: [78, 64] Generated Node #0,3,3: 82:[78, 64] Operation: 55+9=64 Exploring Operation: 78+9=87, Resulting Numbers: [55, 87] Generated Node #0,3,4: 82:[55, 87] Operation: 78+9=87 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 82:[78, 46], Operations: ['41-32=9', '55-9=46'] Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,82 unequal: No Solution Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,82 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 82:[55, 87], Operations: ['41-32=9', '78+9=87'] Exploring Operation: 55+87=142, Resulting Numbers: [142] 142,82 unequal: No Solution Exploring Operation: 87-55=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 55*87=4785, Resulting Numbers: [4785] 4785,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 82:[78, 64], Operations: ['41-32=9', '55+9=64'] Exploring Operation: 78+64=142, Resulting Numbers: [142] 142,82 unequal: No Solution Exploring Operation: 78*64=4992, Resulting Numbers: [4992] 4992,82 unequal: No Solution Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 82:[9, 23], Operations: ['41-32=9', '78-55=23'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,82 unequal: No Solution Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 82:[55, 69], Operations: ['41-32=9', '78-9=69'] Exploring Operation: 55*69=3795, Resulting Numbers: [3795] 3795,82 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 55+69=124, Resulting Numbers: [124] 124,82 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
[ 73, 52, 22, 88 ]
87
[ "73-52=21", "88-22=66", "21+66=87" ]
Current State: 87:[73, 52, 22, 88], Operations: [] Exploring Operation: 73-52=21, Resulting Numbers: [22, 88, 21] Generated Node #2: [22, 88, 21] from Operation: 73-52=21 Current State: 87:[22, 88, 21], Operations: ['73-52=21'] Exploring Operation: 88-22=66, Resulting Numbers: [21, 66] Generated Node #3: [21, 66] from Operation: 88-22=66 Current State: 87:[21, 66], Operations: ['73-52=21', '88-22=66'] Exploring Operation: 21+66=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[73, 52, 22, 88], Operations: [] Exploring Operation: 52-22=30, Resulting Numbers: [73, 88, 30] Generated Node #0,0: 87:[73, 88, 30] Operation: 52-22=30 Exploring Operation: 73-52=21, Resulting Numbers: [22, 88, 21] Generated Node #0,1: 87:[22, 88, 21] Operation: 73-52=21 Moving to Node #0,0 Current State: 87:[73, 88, 30], Operations: ['52-22=30'] Exploring Operation: 73-30=43, Resulting Numbers: [88, 43] Generated Node #0,0,0: 87:[88, 43] Operation: 73-30=43 Exploring Operation: 88-73=15, Resulting Numbers: [30, 15] Generated Node #0,0,1: 87:[30, 15] Operation: 88-73=15 Moving to Node #0,1 Current State: 87:[22, 88, 21], Operations: ['73-52=21'] Exploring Operation: 88/22=4, Resulting Numbers: [21, 4] Generated Node #0,1,0: 87:[21, 4] Operation: 88/22=4 Exploring Operation: 22-21=1, Resulting Numbers: [88, 1] Generated Node #0,1,1: 87:[88, 1] Operation: 22-21=1 Moving to Node #0,1,1 Current State: 87:[88, 1], Operations: ['73-52=21', '22-21=1'] Exploring Operation: 88*1=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[73, 52, 22, 88], Operations: [] Exploring Operation: 73-52=21, Resulting Numbers: [22, 88, 21] Generated Node #0,1: 87:[22, 88, 21] Operation: 73-52=21 Moving to Node #0,1 Current State: 87:[22, 88, 21], Operations: ['73-52=21'] Exploring Operation: 22-21=1, Resulting Numbers: [88, 1] Generated Node #0,1,1: 87:[88, 1] Operation: 22-21=1 Moving to Node #0,1,1 Current State: 87:[88, 1], Operations: ['73-52=21', '22-21=1'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 14, 90, 25, 58 ]
20
[ "14+58=72", "25*72=1800", "1800/90=20" ]
Current State: 20:[14, 90, 25, 58], Operations: [] Exploring Operation: 14+58=72, Resulting Numbers: [90, 25, 72] Generated Node #2: [90, 25, 72] from Operation: 14+58=72 Current State: 20:[90, 25, 72], Operations: ['14+58=72'] Exploring Operation: 25*72=1800, Resulting Numbers: [90, 1800] Generated Node #3: [90, 1800] from Operation: 25*72=1800 Current State: 20:[90, 1800], Operations: ['14+58=72', '25*72=1800'] Exploring Operation: 1800/90=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[14, 90, 25, 58], Operations: [] Exploring Operation: 90-14=76, Resulting Numbers: [25, 58, 76] Generated Node #0,0: 20:[25, 58, 76] Operation: 90-14=76 Exploring Operation: 90-25=65, Resulting Numbers: [14, 58, 65] Generated Node #0,1: 20:[14, 58, 65] Operation: 90-25=65 Exploring Operation: 58-25=33, Resulting Numbers: [14, 90, 33] Generated Node #0,2: 20:[14, 90, 33] Operation: 58-25=33 Exploring Operation: 58-14=44, Resulting Numbers: [90, 25, 44] Generated Node #0,3: 20:[90, 25, 44] Operation: 58-14=44 Exploring Operation: 90-58=32, Resulting Numbers: [14, 25, 32] Generated Node #0,4: 20:[14, 25, 32] Operation: 90-58=32 Start Sub Search at level 1: Moving to Node #0,4 Current State: 20:[14, 25, 32], Operations: ['90-58=32'] Exploring Operation: 25-14=11, Resulting Numbers: [32, 11] Generated Node #0,4,0: 20:[32, 11] Operation: 25-14=11 Exploring Operation: 14+32=46, Resulting Numbers: [25, 46] Generated Node #0,4,1: 20:[25, 46] Operation: 14+32=46 Exploring Operation: 32-14=18, Resulting Numbers: [25, 18] Generated Node #0,4,2: 20:[25, 18] Operation: 32-14=18 Exploring Operation: 14+25=39, Resulting Numbers: [32, 39] Generated Node #0,4,3: 20:[32, 39] Operation: 14+25=39 Exploring Operation: 32-25=7, Resulting Numbers: [14, 7] Generated Node #0,4,4: 20:[14, 7] Operation: 32-25=7 Moving to Node #0,4,4 Current State: 20:[14, 7], Operations: ['90-58=32', '32-25=7'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,20 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,20 unequal: No Solution Moving to Node #0,4,2 Current State: 20:[25, 18], Operations: ['90-58=32', '32-14=18'] Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,20 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,20 unequal: No Solution Moving to Node #0,4,0 Current State: 20:[32, 11], Operations: ['90-58=32', '25-14=11'] Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,20 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,20 unequal: No Solution Moving to Node #0,4,1 Current State: 20:[25, 46], Operations: ['90-58=32', '14+32=46'] Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,20 unequal: No Solution Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,20 unequal: No Solution Moving to Node #0,4,3 Current State: 20:[32, 39], Operations: ['90-58=32', '14+25=39'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 32*39=1248, Resulting Numbers: [1248] 1248,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[14, 58, 65], Operations: ['90-25=65'] Exploring Operation: 65-14=51, Resulting Numbers: [58, 51] Generated Node #0,1,0: 20:[58, 51] Operation: 65-14=51 Exploring Operation: 58-14=44, Resulting Numbers: [65, 44] Generated Node #0,1,1: 20:[65, 44] Operation: 58-14=44 Exploring Operation: 65-58=7, Resulting Numbers: [14, 7] Generated Node #0,1,2: 20:[14, 7] Operation: 65-58=7 Exploring Operation: 14+65=79, Resulting Numbers: [58, 79] Generated Node #0,1,3: 20:[58, 79] Operation: 14+65=79 Exploring Operation: 14+58=72, Resulting Numbers: [65, 72] Generated Node #0,1,4: 20:[65, 72] Operation: 14+58=72 Moving to Node #0,1,2 Current State: 20:[14, 7], Operations: ['90-25=65', '65-58=7'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[65, 44], Operations: ['90-25=65', '58-14=44'] Exploring Operation: 65+44=109, Resulting Numbers: [109] 109,20 unequal: No Solution Exploring Operation: 65*44=2860, Resulting Numbers: [2860] 2860,20 unequal: No Solution Exploring Operation: 65-44=21, Resulting Numbers: [21] 21,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[58, 51], Operations: ['90-25=65', '65-14=51'] Exploring Operation: 58-51=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 58*51=2958, Resulting Numbers: [2958] 2958,20 unequal: No Solution Exploring Operation: 58+51=109, Resulting Numbers: [109] 109,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[58, 79], Operations: ['90-25=65', '14+65=79'] Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 58+79=137, Resulting Numbers: [137] 137,20 unequal: No Solution Exploring Operation: 58*79=4582, Resulting Numbers: [4582] 4582,20 unequal: No Solution Moving to Node #0,1,4 Current State: 20:[65, 72], Operations: ['90-25=65', '14+58=72'] Exploring Operation: 65+72=137, Resulting Numbers: [137] 137,20 unequal: No Solution Exploring Operation: 65*72=4680, Resulting Numbers: [4680] 4680,20 unequal: No Solution Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[14, 90, 33], Operations: ['58-25=33'] Exploring Operation: 14+90=104, Resulting Numbers: [33, 104] Generated Node #0,2,0: 20:[33, 104] Operation: 14+90=104 Exploring Operation: 90-33=57, Resulting Numbers: [14, 57] Generated Node #0,2,1: 20:[14, 57] Operation: 90-33=57 Exploring Operation: 14+33=47, Resulting Numbers: [90, 47] Generated Node #0,2,2: 20:[90, 47] Operation: 14+33=47 Exploring Operation: 33-14=19, Resulting Numbers: [90, 19] Generated Node #0,2,3: 20:[90, 19] Operation: 33-14=19 Exploring Operation: 90-14=76, Resulting Numbers: [33, 76] Generated Node #0,2,4: 20:[33, 76] Operation: 90-14=76 Moving to Node #0,2,1 Current State: 20:[14, 57], Operations: ['58-25=33', '90-33=57'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 14*57=798, Resulting Numbers: [798] 798,20 unequal: No Solution Moving to Node #0,2,4 Current State: 20:[33, 76], Operations: ['58-25=33', '90-14=76'] Exploring Operation: 33+76=109, Resulting Numbers: [109] 109,20 unequal: No Solution Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 33*76=2508, Resulting Numbers: [2508] 2508,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[90, 19], Operations: ['58-25=33', '33-14=19'] Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 90*19=1710, Resulting Numbers: [1710] 1710,20 unequal: No Solution Exploring Operation: 90+19=109, Resulting Numbers: [109] 109,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[33, 104], Operations: ['58-25=33', '14+90=104'] Exploring Operation: 33*104=3432, Resulting Numbers: [3432] 3432,20 unequal: No Solution Exploring Operation: 33+104=137, Resulting Numbers: [137] 137,20 unequal: No Solution Exploring Operation: 104-33=71, Resulting Numbers: [71] 71,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[90, 47], Operations: ['58-25=33', '14+33=47'] Exploring Operation: 90+47=137, Resulting Numbers: [137] 137,20 unequal: No Solution Exploring Operation: 90*47=4230, Resulting Numbers: [4230] 4230,20 unequal: No Solution Exploring Operation: 90-47=43, Resulting Numbers: [43] 43,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[25, 58, 76], Operations: ['90-14=76'] Exploring Operation: 58-25=33, Resulting Numbers: [76, 33] Generated Node #0,0,0: 20:[76, 33] Operation: 58-25=33 Exploring Operation: 76-58=18, Resulting Numbers: [25, 18] Generated Node #0,0,1: 20:[25, 18] Operation: 76-58=18 Exploring Operation: 25+76=101, Resulting Numbers: [58, 101] Generated Node #0,0,2: 20:[58, 101] Operation: 25+76=101 Exploring Operation: 76-25=51, Resulting Numbers: [58, 51] Generated Node #0,0,3: 20:[58, 51] Operation: 76-25=51 Exploring Operation: 25+58=83, Resulting Numbers: [76, 83] Generated Node #0,0,4: 20:[76, 83] Operation: 25+58=83 Moving to Node #0,0,1 Current State: 20:[25, 18], Operations: ['90-14=76', '76-58=18'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,20 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[58, 51], Operations: ['90-14=76', '76-25=51'] Exploring Operation: 58*51=2958, Resulting Numbers: [2958] 2958,20 unequal: No Solution Exploring Operation: 58-51=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 58+51=109, Resulting Numbers: [109] 109,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[76, 33], Operations: ['90-14=76', '58-25=33'] Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 76*33=2508, Resulting Numbers: [2508] 2508,20 unequal: No Solution Exploring Operation: 76+33=109, Resulting Numbers: [109] 109,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[58, 101], Operations: ['90-14=76', '25+76=101'] Exploring Operation: 58*101=5858, Resulting Numbers: [5858] 5858,20 unequal: No Solution Exploring Operation: 58+101=159, Resulting Numbers: [159] 159,20 unequal: No Solution Exploring Operation: 101-58=43, Resulting Numbers: [43] 43,20 unequal: No Solution Moving to Node #0,0,4 Current State: 20:[76, 83], Operations: ['90-14=76', '25+58=83'] Exploring Operation: 83-76=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 76*83=6308, Resulting Numbers: [6308] 6308,20 unequal: No Solution Exploring Operation: 76+83=159, Resulting Numbers: [159] 159,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[90, 25, 44], Operations: ['58-14=44'] Exploring Operation: 90+25=115, Resulting Numbers: [44, 115] Generated Node #0,3,0: 20:[44, 115] Operation: 90+25=115 Exploring Operation: 90-44=46, Resulting Numbers: [25, 46] Generated Node #0,3,1: 20:[25, 46] Operation: 90-44=46 Exploring Operation: 90-25=65, Resulting Numbers: [44, 65] Generated Node #0,3,2: 20:[44, 65] Operation: 90-25=65 Exploring Operation: 90+44=134, Resulting Numbers: [25, 134] Generated Node #0,3,3: 20:[25, 134] Operation: 90+44=134 Exploring Operation: 44-25=19, Resulting Numbers: [90, 19] Generated Node #0,3,4: 20:[90, 19] Operation: 44-25=19 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 20:[25, 46], Operations: ['58-14=44', '90-44=46'] Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 20:[44, 65], Operations: ['58-14=44', '90-25=65'] Exploring Operation: 44+65=109, Resulting Numbers: [109] 109,20 unequal: No Solution Exploring Operation: 44*65=2860, Resulting Numbers: [2860] 2860,20 unequal: No Solution Exploring Operation: 65-44=21, Resulting Numbers: [21] 21,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 20:[90, 19], Operations: ['58-14=44', '44-25=19'] Exploring Operation: 90+19=109, Resulting Numbers: [109] 109,20 unequal: No Solution Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 90*19=1710, Resulting Numbers: [1710] 1710,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 20:[44, 115], Operations: ['58-14=44', '90+25=115'] Exploring Operation: 44+115=159, Resulting Numbers: [159] 159,20 unequal: No Solution Exploring Operation: 115-44=71, Resulting Numbers: [71] 71,20 unequal: No Solution Exploring Operation: 44*115=5060, Resulting Numbers: [5060] 5060,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 20:[25, 134], Operations: ['58-14=44', '90+44=134'] Exploring Operation: 25*134=3350, Resulting Numbers: [3350] 3350,20 unequal: No Solution Exploring Operation: 134-25=109, Resulting Numbers: [109] 109,20 unequal: No Solution Exploring Operation: 25+134=159, Resulting Numbers: [159] 159,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 80, 39, 97, 77 ]
20
[ "80-77=3", "39*3=117", "117-97=20" ]
Current State: 20:[80, 39, 97, 77], Operations: [] Exploring Operation: 80-77=3, Resulting Numbers: [39, 97, 3] Generated Node #2: [39, 97, 3] from Operation: 80-77=3 Current State: 20:[39, 97, 3], Operations: ['80-77=3'] Exploring Operation: 39*3=117, Resulting Numbers: [97, 117] Generated Node #3: [97, 117] from Operation: 39*3=117 Current State: 20:[97, 117], Operations: ['80-77=3', '39*3=117'] Exploring Operation: 117-97=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[80, 39, 97, 77], Operations: [] Exploring Operation: 97-77=20, Resulting Numbers: [80, 39, 20] Generated Node #0,0: 20:[80, 39, 20] Operation: 97-77=20 Exploring Operation: 97-80=17, Resulting Numbers: [39, 77, 17] Generated Node #0,1: 20:[39, 77, 17] Operation: 97-80=17 Moving to Node #0,0 Current State: 20:[80, 39, 20], Operations: ['97-77=20'] Exploring Operation: 80-39=41, Resulting Numbers: [20, 41] Generated Node #0,0,0: 20:[20, 41] Operation: 80-39=41 Exploring Operation: 80/20=4, Resulting Numbers: [39, 4] Generated Node #0,0,1: 20:[39, 4] Operation: 80/20=4 Moving to Node #0,1 Current State: 20:[39, 77, 17], Operations: ['97-80=17'] Exploring Operation: 77-39=38, Resulting Numbers: [17, 38] Generated Node #0,1,0: 20:[17, 38] Operation: 77-39=38 Exploring Operation: 39-17=22, Resulting Numbers: [77, 22] Generated Node #0,1,1: 20:[77, 22] Operation: 39-17=22 Moving to Node #0,0,1 Current State: 20:[39, 4], Operations: ['97-77=20', '80/20=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[17, 38], Operations: ['97-80=17', '77-39=38'] Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,20 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[20, 41], Operations: ['97-77=20', '80-39=41'] Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 20+41=61, Resulting Numbers: [61] 61,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[77, 22], Operations: ['97-80=17', '39-17=22'] Exploring Operation: 77+22=99, Resulting Numbers: [99] 99,20 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,20 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 26, 98, 65, 96 ]
37
[ "26+98=124", "65+96=161", "161-124=37" ]
Current State: 37:[26, 98, 65, 96], Operations: [] Exploring Operation: 26+98=124, Resulting Numbers: [65, 96, 124] Generated Node #2: [65, 96, 124] from Operation: 26+98=124 Current State: 37:[65, 96, 124], Operations: ['26+98=124'] Exploring Operation: 65+96=161, Resulting Numbers: [124, 161] Generated Node #3: [124, 161] from Operation: 65+96=161 Current State: 37:[124, 161], Operations: ['26+98=124', '65+96=161'] Exploring Operation: 161-124=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[26, 98, 65, 96], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [26, 96, 33] Generated Node #0,0: 37:[26, 96, 33] Operation: 98-65=33 Exploring Operation: 65-26=39, Resulting Numbers: [98, 96, 39] Generated Node #0,1: 37:[98, 96, 39] Operation: 65-26=39 Exploring Operation: 98-96=2, Resulting Numbers: [26, 65, 2] Generated Node #0,2: 37:[26, 65, 2] Operation: 98-96=2 Exploring Operation: 98-26=72, Resulting Numbers: [65, 96, 72] Generated Node #0,3: 37:[65, 96, 72] Operation: 98-26=72 Exploring Operation: 96-65=31, Resulting Numbers: [26, 98, 31] Generated Node #0,4: 37:[26, 98, 31] Operation: 96-65=31 Moving to Node #0,0 Current State: 37:[26, 96, 33], Operations: ['98-65=33'] Exploring Operation: 33-26=7, Resulting Numbers: [96, 7] Generated Node #0,0,0: 37:[96, 7] Operation: 33-26=7 Exploring Operation: 26+96=122, Resulting Numbers: [33, 122] Generated Node #0,0,1: 37:[33, 122] Operation: 26+96=122 Exploring Operation: 96-26=70, Resulting Numbers: [33, 70] Generated Node #0,0,2: 37:[33, 70] Operation: 96-26=70 Exploring Operation: 26+33=59, Resulting Numbers: [96, 59] Generated Node #0,0,3: 37:[96, 59] Operation: 26+33=59 Exploring Operation: 96-33=63, Resulting Numbers: [26, 63] Generated Node #0,0,4: 37:[26, 63] Operation: 96-33=63 Moving to Node #0,2 Current State: 37:[26, 65, 2], Operations: ['98-96=2'] Exploring Operation: 65-26=39, Resulting Numbers: [2, 39] Generated Node #0,2,0: 37:[2, 39] Operation: 65-26=39 Exploring Operation: 65+2=67, Resulting Numbers: [26, 67] Generated Node #0,2,1: 37:[26, 67] Operation: 65+2=67 Exploring Operation: 65-2=63, Resulting Numbers: [26, 63] Generated Node #0,2,2: 37:[26, 63] Operation: 65-2=63 Exploring Operation: 26+2=28, Resulting Numbers: [65, 28] Generated Node #0,2,3: 37:[65, 28] Operation: 26+2=28 Exploring Operation: 26-2=24, Resulting Numbers: [65, 24] Generated Node #0,2,4: 37:[65, 24] Operation: 26-2=24 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[2, 39], Operations: ['98-96=2', '65-26=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,37 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[26, 98, 65, 96], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [26, 65, 2] Generated Node #0,2: 37:[26, 65, 2] Operation: 98-96=2 Moving to Node #0,2 Current State: 37:[26, 65, 2], Operations: ['98-96=2'] Exploring Operation: 65-26=39, Resulting Numbers: [2, 39] Generated Node #0,2,0: 37:[2, 39] Operation: 65-26=39 Moving to Node #0,2,0 Current State: 37:[2, 39], Operations: ['98-96=2', '65-26=39'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 74, 3, 89, 3 ]
21
[ "74-3=71", "89+3=92", "92-71=21" ]
Current State: 21:[74, 3, 89, 3], Operations: [] Exploring Operation: 74-3=71, Resulting Numbers: [89, 71] Generated Node #2: [89, 71] from Operation: 74-3=71 Current State: 21:[89, 71], Operations: ['74-3=71'] Exploring Operation: 89+3=92, Resulting Numbers: [71, 92] Generated Node #3: [71, 92] from Operation: 89+3=92 Current State: 21:[71, 92], Operations: ['74-3=71', '89+3=92'] Exploring Operation: 92-71=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[74, 3, 89, 3], Operations: [] Exploring Operation: 74-3=71, Resulting Numbers: [89, 3, 71] Generated Node #0,0: 21:[89, 3, 71] Operation: 74-3=71 Exploring Operation: 74-3=71, Resulting Numbers: [3, 89, 71] Generated Node #0,1: 21:[3, 89, 71] Operation: 74-3=71 Exploring Operation: 89-3=86, Resulting Numbers: [74, 3, 86] Generated Node #0,2: 21:[74, 3, 86] Operation: 89-3=86 Exploring Operation: 89-74=15, Resulting Numbers: [3, 3, 15] Generated Node #0,3: 21:[3, 3, 15] Operation: 89-74=15 Moving to Node #0,3 Current State: 21:[3, 3, 15], Operations: ['89-74=15'] Exploring Operation: 15/3=5, Resulting Numbers: [3, 5] Generated Node #0,3,0: 21:[3, 5] Operation: 15/3=5 Exploring Operation: 3+15=18, Resulting Numbers: [3, 18] Generated Node #0,3,1: 21:[3, 18] Operation: 3+15=18 Exploring Operation: 3+15=18, Resulting Numbers: [3, 18] Generated Node #0,3,2: 21:[3, 18] Operation: 3+15=18 Exploring Operation: 15/3=5, Resulting Numbers: [3, 5] Generated Node #0,3,3: 21:[3, 5] Operation: 15/3=5 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 21:[3, 5], Operations: ['89-74=15', '15/3=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 21:[3, 5], Operations: ['89-74=15', '15/3=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 21:[3, 18], Operations: ['89-74=15', '3+15=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[74, 3, 89, 3], Operations: [] Exploring Operation: 89-74=15, Resulting Numbers: [3, 3, 15] Generated Node #0,3: 21:[3, 3, 15] Operation: 89-74=15 Moving to Node #0,3 Current State: 21:[3, 3, 15], Operations: ['89-74=15'] Exploring Operation: 3+15=18, Resulting Numbers: [3, 18] Generated Node #0,3,1: 21:[3, 18] Operation: 3+15=18 Moving to Node #0,3,1 Current State: 21:[3, 18], Operations: ['89-74=15', '3+15=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 75, 57, 74, 6 ]
34
[ "75-57=18", "6*18=108", "108-74=34" ]
Current State: 34:[75, 57, 74, 6], Operations: [] Exploring Operation: 75-57=18, Resulting Numbers: [74, 6, 18] Generated Node #2: [74, 6, 18] from Operation: 75-57=18 Current State: 34:[74, 6, 18], Operations: ['75-57=18'] Exploring Operation: 6*18=108, Resulting Numbers: [74, 108] Generated Node #3: [74, 108] from Operation: 6*18=108 Current State: 34:[74, 108], Operations: ['75-57=18', '6*18=108'] Exploring Operation: 108-74=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[75, 57, 74, 6], Operations: [] Exploring Operation: 75-57=18, Resulting Numbers: [74, 6, 18] Generated Node #0,0: 34:[74, 6, 18] Operation: 75-57=18 Exploring Operation: 75-74=1, Resulting Numbers: [57, 6, 1] Generated Node #0,1: 34:[57, 6, 1] Operation: 75-74=1 Moving to Node #0,1 Current State: 34:[57, 6, 1], Operations: ['75-74=1'] Exploring Operation: 57-1=56, Resulting Numbers: [6, 56] Generated Node #0,1,0: 34:[6, 56] Operation: 57-1=56 Exploring Operation: 57-6=51, Resulting Numbers: [1, 51] Generated Node #0,1,1: 34:[1, 51] Operation: 57-6=51 Moving to Node #0,0 Current State: 34:[74, 6, 18], Operations: ['75-57=18'] Exploring Operation: 74-6=68, Resulting Numbers: [18, 68] Generated Node #0,0,0: 34:[18, 68] Operation: 74-6=68 Exploring Operation: 74-18=56, Resulting Numbers: [6, 56] Generated Node #0,0,1: 34:[6, 56] Operation: 74-18=56 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[6, 56], Operations: ['75-57=18', '74-18=56'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[18, 68], Operations: ['75-57=18', '74-6=68'] Exploring Operation: 18+68=86, Resulting Numbers: [86] 86,34 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,34 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: 34:[1, 51], Operations: ['75-74=1', '57-6=51'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[6, 56], Operations: ['75-74=1', '57-1=56'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,34 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 99, 34, 12, 21 ]
31
[ "12+21=33", "99/33=3", "34-3=31" ]
Current State: 31:[99, 34, 12, 21], Operations: [] Exploring Operation: 12+21=33, Resulting Numbers: [99, 34, 33] Generated Node #2: [99, 34, 33] from Operation: 12+21=33 Current State: 31:[99, 34, 33], Operations: ['12+21=33'] Exploring Operation: 99/33=3, Resulting Numbers: [34, 3] Generated Node #3: [34, 3] from Operation: 99/33=3 Current State: 31:[34, 3], Operations: ['12+21=33', '99/33=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[99, 34, 12, 21], Operations: [] Exploring Operation: 99-12=87, Resulting Numbers: [34, 21, 87] Generated Node #0,0: 31:[34, 21, 87] Operation: 99-12=87 Exploring Operation: 99-21=78, Resulting Numbers: [34, 12, 78] Generated Node #0,1: 31:[34, 12, 78] Operation: 99-21=78 Exploring Operation: 99-34=65, Resulting Numbers: [12, 21, 65] Generated Node #0,2: 31:[12, 21, 65] Operation: 99-34=65 Exploring Operation: 12+21=33, Resulting Numbers: [99, 34, 33] Generated Node #0,3: 31:[99, 34, 33] Operation: 12+21=33 Moving to Node #0,2 Current State: 31:[12, 21, 65], Operations: ['99-34=65'] Exploring Operation: 65-12=53, Resulting Numbers: [21, 53] Generated Node #0,2,0: 31:[21, 53] Operation: 65-12=53 Exploring Operation: 21-12=9, Resulting Numbers: [65, 9] Generated Node #0,2,1: 31:[65, 9] Operation: 21-12=9 Exploring Operation: 65-21=44, Resulting Numbers: [12, 44] Generated Node #0,2,2: 31:[12, 44] Operation: 65-21=44 Exploring Operation: 12+21=33, Resulting Numbers: [65, 33] Generated Node #0,2,3: 31:[65, 33] Operation: 12+21=33 Moving to Node #0,1 Current State: 31:[34, 12, 78], Operations: ['99-21=78'] Exploring Operation: 34+12=46, Resulting Numbers: [78, 46] Generated Node #0,1,0: 31:[78, 46] Operation: 34+12=46 Exploring Operation: 78-12=66, Resulting Numbers: [34, 66] Generated Node #0,1,1: 31:[34, 66] Operation: 78-12=66 Exploring Operation: 34-12=22, Resulting Numbers: [78, 22] Generated Node #0,1,2: 31:[78, 22] Operation: 34-12=22 Exploring Operation: 78-34=44, Resulting Numbers: [12, 44] Generated Node #0,1,3: 31:[12, 44] Operation: 78-34=44 Moving to Node #0,0 Current State: 31:[34, 21, 87], Operations: ['99-12=87'] Exploring Operation: 87-34=53, Resulting Numbers: [21, 53] Generated Node #0,0,0: 31:[21, 53] Operation: 87-34=53 Exploring Operation: 34-21=13, Resulting Numbers: [87, 13] Generated Node #0,0,1: 31:[87, 13] Operation: 34-21=13 Exploring Operation: 87-21=66, Resulting Numbers: [34, 66] Generated Node #0,0,2: 31:[34, 66] Operation: 87-21=66 Exploring Operation: 34+21=55, Resulting Numbers: [87, 55] Generated Node #0,0,3: 31:[87, 55] Operation: 34+21=55 Moving to Node #0,3 Current State: 31:[99, 34, 33], Operations: ['12+21=33'] Exploring Operation: 99/33=3, Resulting Numbers: [34, 3] Generated Node #0,3,0: 31:[34, 3] Operation: 99/33=3 Exploring Operation: 99-33=66, Resulting Numbers: [34, 66] Generated Node #0,3,1: 31:[34, 66] Operation: 99-33=66 Exploring Operation: 99-34=65, Resulting Numbers: [33, 65] Generated Node #0,3,2: 31:[33, 65] Operation: 99-34=65 Exploring Operation: 34-33=1, Resulting Numbers: [99, 1] Generated Node #0,3,3: 31:[99, 1] Operation: 34-33=1 Moving to Node #0,3,0 Current State: 31:[34, 3], Operations: ['12+21=33', '99/33=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,31 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[99, 34, 12, 21], Operations: [] Exploring Operation: 12+21=33, Resulting Numbers: [99, 34, 33] Generated Node #0,3: 31:[99, 34, 33] Operation: 12+21=33 Moving to Node #0,3 Current State: 31:[99, 34, 33], Operations: ['12+21=33'] Exploring Operation: 99/33=3, Resulting Numbers: [34, 3] Generated Node #0,3,0: 31:[34, 3] Operation: 99/33=3 Moving to Node #0,3,0 Current State: 31:[34, 3], Operations: ['12+21=33', '99/33=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.976563
hs_4
sum_heuristic
[ 51, 44, 11, 22 ]
69
[ "51+22=73", "44/11=4", "73-4=69" ]
Current State: 69:[51, 44, 11, 22], Operations: [] Exploring Operation: 51+22=73, Resulting Numbers: [44, 11, 73] Generated Node #2: [44, 11, 73] from Operation: 51+22=73 Current State: 69:[44, 11, 73], Operations: ['51+22=73'] Exploring Operation: 44/11=4, Resulting Numbers: [73, 4] Generated Node #3: [73, 4] from Operation: 44/11=4 Current State: 69:[73, 4], Operations: ['51+22=73', '44/11=4'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[51, 44, 11, 22], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [11, 22, 7] Generated Node #0,0: 69:[11, 22, 7] Operation: 51-44=7 Moving to Node #0,0 Current State: 69:[11, 22, 7], Operations: ['51-44=7'] Exploring Operation: 11-7=4, Resulting Numbers: [22, 4] Generated Node #0,0,0: 69:[22, 4] Operation: 11-7=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[22, 4], Operations: ['51-44=7', '11-7=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,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
sum_heuristic
[ 49, 96, 52, 93 ]
95
[ "96-93=3", "49*3=147", "147-52=95" ]
Current State: 95:[49, 96, 52, 93], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [49, 52, 3] Generated Node #2: [49, 52, 3] from Operation: 96-93=3 Current State: 95:[49, 52, 3], Operations: ['96-93=3'] Exploring Operation: 49*3=147, Resulting Numbers: [52, 147] Generated Node #3: [52, 147] from Operation: 49*3=147 Current State: 95:[52, 147], Operations: ['96-93=3', '49*3=147'] Exploring Operation: 147-52=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[49, 96, 52, 93], Operations: [] Exploring Operation: 93-52=41, Resulting Numbers: [49, 96, 41] Generated Node #0,0: 95:[49, 96, 41] Operation: 93-52=41 Exploring Operation: 52-49=3, Resulting Numbers: [96, 93, 3] Generated Node #0,1: 95:[96, 93, 3] Operation: 52-49=3 Exploring Operation: 49+52=101, Resulting Numbers: [96, 93, 101] Generated Node #0,2: 95:[96, 93, 101] Operation: 49+52=101 Exploring Operation: 96-52=44, Resulting Numbers: [49, 93, 44] Generated Node #0,3: 95:[49, 93, 44] Operation: 96-52=44 Moving to Node #0,1 Current State: 95:[96, 93, 3], Operations: ['52-49=3'] Exploring Operation: 93+3=96, Resulting Numbers: [96, 96] Generated Node #0,1,0: 95:[96, 96] Operation: 93+3=96 Exploring Operation: 96-3=93, Resulting Numbers: [93, 93] Generated Node #0,1,1: 95:[93, 93] Operation: 96-3=93 Exploring Operation: 96+3=99, Resulting Numbers: [93, 99] Generated Node #0,1,2: 95:[93, 99] Operation: 96+3=99 Exploring Operation: 96-93=3, Resulting Numbers: [3, 3] Generated Node #0,1,3: 95:[3, 3] Operation: 96-93=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[96, 96], Operations: ['52-49=3', '93+3=96'] Exploring Operation: 96-96=0, Resulting Numbers: [0] 0,95 unequal: No Solution Exploring Operation: 96/96=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 96*96=9216, Resulting Numbers: [9216] 9216,95 unequal: No Solution Exploring Operation: 96+96=192, Resulting Numbers: [192] 192,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,1,1 Current State: 95:[93, 93], Operations: ['52-49=3', '96-3=93'] Exploring Operation: 93-93=0, Resulting Numbers: [0] 0,95 unequal: No Solution Exploring Operation: 93/93=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 93+93=186, Resulting Numbers: [186] 186,95 unequal: No Solution Exploring Operation: 93*93=8649, Resulting Numbers: [8649] 8649,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,1,3 Current State: 95:[3, 3], Operations: ['52-49=3', '96-93=3'] Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,95 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,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,1,2 Current State: 95:[93, 99], Operations: ['52-49=3', '96+3=99'] Exploring Operation: 93*99=9207, Resulting Numbers: [9207] 9207,95 unequal: No Solution Exploring Operation: 93+99=192, Resulting Numbers: [192] 192,95 unequal: No Solution Exploring Operation: 99-93=6, Resulting Numbers: [6] 6,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 95:[96, 93, 101], Operations: ['49+52=101'] Exploring Operation: 96-93=3, Resulting Numbers: [101, 3] Generated Node #0,2,0: 95:[101, 3] Operation: 96-93=3 Exploring Operation: 101-93=8, Resulting Numbers: [96, 8] Generated Node #0,2,1: 95:[96, 8] Operation: 101-93=8 Exploring Operation: 101-96=5, Resulting Numbers: [93, 5] Generated Node #0,2,2: 95:[93, 5] Operation: 101-96=5 Exploring Operation: 96+93=189, Resulting Numbers: [101, 189] Generated Node #0,2,3: 95:[101, 189] Operation: 96+93=189 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[93, 5], Operations: ['49+52=101', '101-96=5'] Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,95 unequal: No Solution Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 93*5=465, Resulting Numbers: [465] 465,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,2,1 Current State: 95:[96, 8], Operations: ['49+52=101', '101-93=8'] Exploring Operation: 96*8=768, Resulting Numbers: [768] 768,95 unequal: No Solution Exploring Operation: 96-8=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,95 unequal: No Solution Exploring Operation: 96+8=104, Resulting Numbers: [104] 104,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,2,0 Current State: 95:[101, 3], Operations: ['49+52=101', '96-93=3'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,95 unequal: No Solution Exploring Operation: 101+3=104, Resulting Numbers: [104] 104,95 unequal: No Solution Exploring Operation: 101*3=303, Resulting Numbers: [303] 303,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,2,3 Current State: 95:[101, 189], Operations: ['49+52=101', '96+93=189'] Exploring Operation: 101+189=290, Resulting Numbers: [290] 290,95 unequal: No Solution Exploring Operation: 101*189=19089, Resulting Numbers: [19089] 19089,95 unequal: No Solution Exploring Operation: 189-101=88, Resulting Numbers: [88] 88,95 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: 95:[49, 96, 41], Operations: ['93-52=41'] Exploring Operation: 49+41=90, Resulting Numbers: [96, 90] Generated Node #0,0,0: 95:[96, 90] Operation: 49+41=90 Exploring Operation: 49-41=8, Resulting Numbers: [96, 8] Generated Node #0,0,1: 95:[96, 8] Operation: 49-41=8 Exploring Operation: 96-41=55, Resulting Numbers: [49, 55] Generated Node #0,0,2: 95:[49, 55] Operation: 96-41=55 Exploring Operation: 96-49=47, Resulting Numbers: [41, 47] Generated Node #0,0,3: 95:[41, 47] Operation: 96-49=47 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[96, 8], Operations: ['93-52=41', '49-41=8'] Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,95 unequal: No Solution Exploring Operation: 96-8=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 96*8=768, Resulting Numbers: [768] 768,95 unequal: No Solution Exploring Operation: 96+8=104, Resulting Numbers: [104] 104,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[96, 90], Operations: ['93-52=41', '49+41=90'] Exploring Operation: 96+90=186, Resulting Numbers: [186] 186,95 unequal: No Solution Exploring Operation: 96-90=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 96*90=8640, Resulting Numbers: [8640] 8640,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,3 Current State: 95:[41, 47], Operations: ['93-52=41', '96-49=47'] Exploring Operation: 41+47=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 41*47=1927, Resulting Numbers: [1927] 1927,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[49, 55], Operations: ['93-52=41', '96-41=55'] Exploring Operation: 49+55=104, Resulting Numbers: [104] 104,95 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 49*55=2695, Resulting Numbers: [2695] 2695,95 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: 95:[49, 93, 44], Operations: ['96-52=44'] Exploring Operation: 49-44=5, Resulting Numbers: [93, 5] Generated Node #0,3,0: 95:[93, 5] Operation: 49-44=5 Exploring Operation: 93-44=49, Resulting Numbers: [49, 49] Generated Node #0,3,1: 95:[49, 49] Operation: 93-44=49 Exploring Operation: 93-49=44, Resulting Numbers: [44, 44] Generated Node #0,3,2: 95:[44, 44] Operation: 93-49=44 Exploring Operation: 49+44=93, Resulting Numbers: [93, 93] Generated Node #0,3,3: 95:[93, 93] Operation: 49+44=93 Moving to Node #0,3,0 Current State: 95:[93, 5], Operations: ['96-52=44', '49-44=5'] Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,95 unequal: No Solution Exploring Operation: 93*5=465, Resulting Numbers: [465] 465,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[93, 93], Operations: ['96-52=44', '49+44=93'] Exploring Operation: 93*93=8649, Resulting Numbers: [8649] 8649,95 unequal: No Solution Exploring Operation: 93/93=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 93-93=0, Resulting Numbers: [0] 0,95 unequal: No Solution Exploring Operation: 93+93=186, Resulting Numbers: [186] 186,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[44, 44], Operations: ['96-52=44', '93-49=44'] Exploring Operation: 44*44=1936, Resulting Numbers: [1936] 1936,95 unequal: No Solution Exploring Operation: 44-44=0, Resulting Numbers: [0] 0,95 unequal: No Solution Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 44/44=1, Resulting Numbers: [1] 1,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[49, 49], Operations: ['96-52=44', '93-44=49'] Exploring Operation: 49*49=2401, Resulting Numbers: [2401] 2401,95 unequal: No Solution Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,95 unequal: No Solution Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,95 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 5, 35, 24, 84 ]
90
[ "35-5=30", "84-24=60", "30+60=90" ]
Current State: 90:[5, 35, 24, 84], Operations: [] Exploring Operation: 35-5=30, Resulting Numbers: [24, 84, 30] Generated Node #2: [24, 84, 30] from Operation: 35-5=30 Current State: 90:[24, 84, 30], Operations: ['35-5=30'] Exploring Operation: 84-24=60, Resulting Numbers: [30, 60] Generated Node #3: [30, 60] from Operation: 84-24=60 Current State: 90:[30, 60], Operations: ['35-5=30', '84-24=60'] Exploring Operation: 30+60=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[5, 35, 24, 84], Operations: [] Exploring Operation: 35-24=11, Resulting Numbers: [5, 84, 11] Generated Node #0,0: 90:[5, 84, 11] Operation: 35-24=11 Exploring Operation: 5+24=29, Resulting Numbers: [35, 84, 29] Generated Node #0,1: 90:[35, 84, 29] Operation: 5+24=29 Exploring Operation: 84-35=49, Resulting Numbers: [5, 24, 49] Generated Node #0,2: 90:[5, 24, 49] Operation: 84-35=49 Exploring Operation: 35-5=30, Resulting Numbers: [24, 84, 30] Generated Node #0,3: 90:[24, 84, 30] Operation: 35-5=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[5, 84, 11], Operations: ['35-24=11'] Exploring Operation: 5+84=89, Resulting Numbers: [11, 89] Generated Node #0,0,0: 90:[11, 89] Operation: 5+84=89 Exploring Operation: 84+11=95, Resulting Numbers: [5, 95] Generated Node #0,0,1: 90:[5, 95] Operation: 84+11=95 Exploring Operation: 11-5=6, Resulting Numbers: [84, 6] Generated Node #0,0,2: 90:[84, 6] Operation: 11-5=6 Exploring Operation: 5+11=16, Resulting Numbers: [84, 16] Generated Node #0,0,3: 90:[84, 16] Operation: 5+11=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[11, 89], Operations: ['35-24=11', '5+84=89'] Exploring Operation: 11+89=100, Resulting Numbers: [100] 100,90 unequal: No Solution Exploring Operation: 11*89=979, Resulting Numbers: [979] 979,90 unequal: No Solution Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,90 unequal: No Solution No 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: 90:[5, 95], Operations: ['35-24=11', '84+11=95'] Exploring Operation: 5*95=475, Resulting Numbers: [475] 475,90 unequal: No Solution Exploring Operation: 5+95=100, Resulting Numbers: [100] 100,90 unequal: No Solution Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[5, 35, 24, 84], Operations: [] Exploring Operation: 35-24=11, Resulting Numbers: [5, 84, 11] Generated Node #0,0: 90:[5, 84, 11] Operation: 35-24=11 Moving to Node #0,0 Current State: 90:[5, 84, 11], Operations: ['35-24=11'] Exploring Operation: 84+11=95, Resulting Numbers: [5, 95] Generated Node #0,0,1: 90:[5, 95] Operation: 84+11=95 Moving to Node #0,0,1 Current State: 90:[5, 95], Operations: ['35-24=11', '84+11=95'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 54, 65, 84, 52 ]
51
[ "65*84=5460", "5460/52=105", "105-54=51" ]
Current State: 51:[54, 65, 84, 52], Operations: [] Exploring Operation: 65*84=5460, Resulting Numbers: [54, 52, 5460] Generated Node #2: [54, 52, 5460] from Operation: 65*84=5460 Current State: 51:[54, 52, 5460], Operations: ['65*84=5460'] Exploring Operation: 5460/52=105, Resulting Numbers: [54, 105] Generated Node #3: [54, 105] from Operation: 5460/52=105 Current State: 51:[54, 105], Operations: ['65*84=5460', '5460/52=105'] Exploring Operation: 105-54=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[54, 65, 84, 52], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [54, 52, 19] Generated Node #0,0: 51:[54, 52, 19] Operation: 84-65=19 Exploring Operation: 65-54=11, Resulting Numbers: [84, 52, 11] Generated Node #0,1: 51:[84, 52, 11] Operation: 65-54=11 Exploring Operation: 84-52=32, Resulting Numbers: [54, 65, 32] Generated Node #0,2: 51:[54, 65, 32] Operation: 84-52=32 Exploring Operation: 84-54=30, Resulting Numbers: [65, 52, 30] Generated Node #0,3: 51:[65, 52, 30] Operation: 84-54=30 Moving to Node #0,0 Current State: 51:[54, 52, 19], Operations: ['84-65=19'] Exploring Operation: 52-19=33, Resulting Numbers: [54, 33] Generated Node #0,0,0: 51:[54, 33] Operation: 52-19=33 Exploring Operation: 54-52=2, Resulting Numbers: [19, 2] Generated Node #0,0,1: 51:[19, 2] Operation: 54-52=2 Exploring Operation: 54+19=73, Resulting Numbers: [52, 73] Generated Node #0,0,2: 51:[52, 73] Operation: 54+19=73 Exploring Operation: 54-19=35, Resulting Numbers: [52, 35] Generated Node #0,0,3: 51:[52, 35] Operation: 54-19=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[19, 2], Operations: ['84-65=19', '54-52=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,51 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,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,3 Current State: 51:[52, 35], Operations: ['84-65=19', '54-19=35'] Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 52+35=87, Resulting Numbers: [87] 87,51 unequal: No Solution Exploring Operation: 52*35=1820, Resulting Numbers: [1820] 1820,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,0 Current State: 51:[54, 33], Operations: ['84-65=19', '52-19=33'] Exploring Operation: 54*33=1782, Resulting Numbers: [1782] 1782,51 unequal: No Solution Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 54+33=87, Resulting Numbers: [87] 87,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,2 Current State: 51:[52, 73], Operations: ['84-65=19', '54+19=73'] Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 52+73=125, Resulting Numbers: [125] 125,51 unequal: No Solution Exploring Operation: 52*73=3796, Resulting Numbers: [3796] 3796,51 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: 51:[65, 52, 30], Operations: ['84-54=30'] Exploring Operation: 65-52=13, Resulting Numbers: [30, 13] Generated Node #0,3,0: 51:[30, 13] Operation: 65-52=13 Exploring Operation: 52-30=22, Resulting Numbers: [65, 22] Generated Node #0,3,1: 51:[65, 22] Operation: 52-30=22 Exploring Operation: 65-30=35, Resulting Numbers: [52, 35] Generated Node #0,3,2: 51:[52, 35] Operation: 65-30=35 Exploring Operation: 65+30=95, Resulting Numbers: [52, 95] Generated Node #0,3,3: 51:[52, 95] Operation: 65+30=95 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 51:[30, 13], Operations: ['84-54=30', '65-52=13'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,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,2 Current State: 51:[52, 35], Operations: ['84-54=30', '65-30=35'] Exploring Operation: 52+35=87, Resulting Numbers: [87] 87,51 unequal: No Solution Exploring Operation: 52*35=1820, Resulting Numbers: [1820] 1820,51 unequal: No Solution Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,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,1 Current State: 51:[65, 22], Operations: ['84-54=30', '52-30=22'] Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,51 unequal: No Solution Exploring Operation: 65*22=1430, Resulting Numbers: [1430] 1430,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,3 Current State: 51:[52, 95], Operations: ['84-54=30', '65+30=95'] Exploring Operation: 52+95=147, Resulting Numbers: [147] 147,51 unequal: No Solution Exploring Operation: 52*95=4940, Resulting Numbers: [4940] 4940,51 unequal: No Solution Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,51 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: 51:[54, 65, 32], Operations: ['84-52=32'] Exploring Operation: 54-32=22, Resulting Numbers: [65, 22] Generated Node #0,2,0: 51:[65, 22] Operation: 54-32=22 Exploring Operation: 54+32=86, Resulting Numbers: [65, 86] Generated Node #0,2,1: 51:[65, 86] Operation: 54+32=86 Exploring Operation: 65-32=33, Resulting Numbers: [54, 33] Generated Node #0,2,2: 51:[54, 33] Operation: 65-32=33 Exploring Operation: 65-54=11, Resulting Numbers: [32, 11] Generated Node #0,2,3: 51:[32, 11] Operation: 65-54=11 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[65, 22], Operations: ['84-52=32', '54-32=22'] Exploring Operation: 65*22=1430, Resulting Numbers: [1430] 1430,51 unequal: No Solution Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,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,2 Current State: 51:[54, 33], Operations: ['84-52=32', '65-32=33'] Exploring Operation: 54+33=87, Resulting Numbers: [87] 87,51 unequal: No Solution Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 54*33=1782, Resulting Numbers: [1782] 1782,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,3 Current State: 51:[32, 11], Operations: ['84-52=32', '65-54=11'] Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,51 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,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,1 Current State: 51:[65, 86], Operations: ['84-52=32', '54+32=86'] Exploring Operation: 65*86=5590, Resulting Numbers: [5590] 5590,51 unequal: No Solution Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 65+86=151, Resulting Numbers: [151] 151,51 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: 51:[84, 52, 11], Operations: ['65-54=11'] Exploring Operation: 84-52=32, Resulting Numbers: [11, 32] Generated Node #0,1,0: 51:[11, 32] Operation: 84-52=32 Exploring Operation: 84-11=73, Resulting Numbers: [52, 73] Generated Node #0,1,1: 51:[52, 73] Operation: 84-11=73 Exploring Operation: 52-11=41, Resulting Numbers: [84, 41] Generated Node #0,1,2: 51:[84, 41] Operation: 52-11=41 Exploring Operation: 84+11=95, Resulting Numbers: [52, 95] Generated Node #0,1,3: 51:[52, 95] Operation: 84+11=95 Moving to Node #0,1,0 Current State: 51:[11, 32], Operations: ['65-54=11', '84-52=32'] Exploring Operation: 11*32=352, Resulting Numbers: [352] 352,51 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[52, 73], Operations: ['65-54=11', '84-11=73'] Exploring Operation: 52+73=125, Resulting Numbers: [125] 125,51 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 52*73=3796, Resulting Numbers: [3796] 3796,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[84, 41], Operations: ['65-54=11', '52-11=41'] Exploring Operation: 84+41=125, Resulting Numbers: [125] 125,51 unequal: No Solution Exploring Operation: 84*41=3444, Resulting Numbers: [3444] 3444,51 unequal: No Solution Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[52, 95], Operations: ['65-54=11', '84+11=95'] Exploring Operation: 52*95=4940, Resulting Numbers: [4940] 4940,51 unequal: No Solution Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 52+95=147, Resulting Numbers: [147] 147,51 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 12, 19, 4, 20 ]
41
[ "12/4=3", "20*3=60", "60-19=41" ]
Current State: 41:[12, 19, 4, 20], Operations: [] Exploring Operation: 12/4=3, Resulting Numbers: [19, 20, 3] Generated Node #2: [19, 20, 3] from Operation: 12/4=3 Current State: 41:[19, 20, 3], Operations: ['12/4=3'] Exploring Operation: 20*3=60, Resulting Numbers: [19, 60] Generated Node #3: [19, 60] from Operation: 20*3=60 Current State: 41:[19, 60], Operations: ['12/4=3', '20*3=60'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[12, 19, 4, 20], Operations: [] Exploring Operation: 12+20=32, Resulting Numbers: [19, 4, 32] Generated Node #0,0: 41:[19, 4, 32] Operation: 12+20=32 Exploring Operation: 12*4=48, Resulting Numbers: [19, 20, 48] Generated Node #0,1: 41:[19, 20, 48] Operation: 12*4=48 Exploring Operation: 12+4=16, Resulting Numbers: [19, 20, 16] Generated Node #0,2: 41:[19, 20, 16] Operation: 12+4=16 Exploring Operation: 12+19=31, Resulting Numbers: [4, 20, 31] Generated Node #0,3: 41:[4, 20, 31] Operation: 12+19=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[19, 20, 48], Operations: ['12*4=48'] Exploring Operation: 48-20=28, Resulting Numbers: [19, 28] Generated Node #0,1,0: 41:[19, 28] Operation: 48-20=28 Exploring Operation: 20-19=1, Resulting Numbers: [48, 1] Generated Node #0,1,1: 41:[48, 1] Operation: 20-19=1 Exploring Operation: 19+20=39, Resulting Numbers: [48, 39] Generated Node #0,1,2: 41:[48, 39] Operation: 19+20=39 Exploring Operation: 48-19=29, Resulting Numbers: [20, 29] Generated Node #0,1,3: 41:[20, 29] Operation: 48-19=29 Moving to Node #0,1,2 Current State: 41:[48, 39], Operations: ['12*4=48', '19+20=39'] Exploring Operation: 48*39=1872, Resulting Numbers: [1872] 1872,41 unequal: No Solution Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,41 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[20, 29], Operations: ['12*4=48', '48-19=29'] Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,41 unequal: No Solution Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[19, 28], Operations: ['12*4=48', '48-20=28'] Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,41 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[48, 1], Operations: ['12*4=48', '20-19=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,41 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,41 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[19, 4, 32], Operations: ['12+20=32'] Exploring Operation: 19+4=23, Resulting Numbers: [32, 23] Generated Node #0,0,0: 41:[32, 23] Operation: 19+4=23 Exploring Operation: 32-4=28, Resulting Numbers: [19, 28] Generated Node #0,0,1: 41:[19, 28] Operation: 32-4=28 Exploring Operation: 19-4=15, Resulting Numbers: [32, 15] Generated Node #0,0,2: 41:[32, 15] Operation: 19-4=15 Exploring Operation: 4+32=36, Resulting Numbers: [19, 36] Generated Node #0,0,3: 41:[19, 36] Operation: 4+32=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[32, 23], Operations: ['12+20=32', '19+4=23'] Exploring Operation: 32*23=736, Resulting Numbers: [736] 736,41 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 41:[19, 36], Operations: ['12+20=32', '4+32=36'] Exploring Operation: 19+36=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 19*36=684, Resulting Numbers: [684] 684,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[19, 28], Operations: ['12+20=32', '32-4=28'] Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,41 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,41 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[32, 15], Operations: ['12+20=32', '19-4=15'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,41 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,41 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: 41:[19, 20, 16], Operations: ['12+4=16'] Exploring Operation: 19+16=35, Resulting Numbers: [20, 35] Generated Node #0,2,0: 41:[20, 35] Operation: 19+16=35 Exploring Operation: 19-16=3, Resulting Numbers: [20, 3] Generated Node #0,2,1: 41:[20, 3] Operation: 19-16=3 Exploring Operation: 20+16=36, Resulting Numbers: [19, 36] Generated Node #0,2,2: 41:[19, 36] Operation: 20+16=36 Exploring Operation: 19+20=39, Resulting Numbers: [16, 39] Generated Node #0,2,3: 41:[16, 39] Operation: 19+20=39 Moving to Node #0,2,0 Current State: 41:[20, 35], Operations: ['12+4=16', '19+16=35'] Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,41 unequal: No Solution Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[16, 39], Operations: ['12+4=16', '19+20=39'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[19, 36], Operations: ['12+4=16', '20+16=36'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 19*36=684, Resulting Numbers: [684] 684,41 unequal: No Solution Exploring Operation: 19+36=55, Resulting Numbers: [55] 55,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[20, 3], Operations: ['12+4=16', '19-16=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[4, 20, 31], Operations: ['12+19=31'] Exploring Operation: 4+31=35, Resulting Numbers: [20, 35] Generated Node #0,3,0: 41:[20, 35] Operation: 4+31=35 Exploring Operation: 4+20=24, Resulting Numbers: [31, 24] Generated Node #0,3,1: 41:[31, 24] Operation: 4+20=24 Exploring Operation: 31-4=27, Resulting Numbers: [20, 27] Generated Node #0,3,2: 41:[20, 27] Operation: 31-4=27 Exploring Operation: 20-4=16, Resulting Numbers: [31, 16] Generated Node #0,3,3: 41:[31, 16] Operation: 20-4=16 Moving to Node #0,3,0 Current State: 41:[20, 35], Operations: ['12+19=31', '4+31=35'] Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,41 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,41 unequal: No Solution Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[31, 24], Operations: ['12+19=31', '4+20=24'] Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 31+24=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 31*24=744, Resulting Numbers: [744] 744,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[31, 16], Operations: ['12+19=31', '20-4=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,41 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,41 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[20, 27], Operations: ['12+19=31', '31-4=27'] Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,41 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,41 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
[ 38, 82, 3, 37 ]
53
[ "82-37=45", "45/3=15", "38+15=53" ]
Current State: 53:[38, 82, 3, 37], Operations: [] Exploring Operation: 82-37=45, Resulting Numbers: [38, 3, 45] Generated Node #2: [38, 3, 45] from Operation: 82-37=45 Current State: 53:[38, 3, 45], Operations: ['82-37=45'] Exploring Operation: 45/3=15, Resulting Numbers: [38, 15] Generated Node #3: [38, 15] from Operation: 45/3=15 Current State: 53:[38, 15], Operations: ['82-37=45', '45/3=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[38, 82, 3, 37], Operations: [] Exploring Operation: 82-3=79, Resulting Numbers: [38, 37, 79] Generated Node #0,0: 53:[38, 37, 79] Operation: 82-3=79 Exploring Operation: 38+3=41, Resulting Numbers: [82, 37, 41] Generated Node #0,1: 53:[82, 37, 41] Operation: 38+3=41 Moving to Node #0,0 Current State: 53:[38, 37, 79], Operations: ['82-3=79'] Exploring Operation: 79-37=42, Resulting Numbers: [38, 42] Generated Node #0,0,0: 53:[38, 42] Operation: 79-37=42 Exploring Operation: 79-38=41, Resulting Numbers: [37, 41] Generated Node #0,0,1: 53:[37, 41] Operation: 79-38=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[38, 42], Operations: ['82-3=79', '79-37=42'] Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,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:[37, 41], Operations: ['82-3=79', '79-38=41'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 53:[82, 37, 41], Operations: ['38+3=41'] Exploring Operation: 82-37=45, Resulting Numbers: [41, 45] Generated Node #0,1,0: 53:[41, 45] Operation: 82-37=45 Exploring Operation: 82-41=41, Resulting Numbers: [37, 41] Generated Node #0,1,1: 53:[37, 41] Operation: 82-41=41 Moving to Node #0,1,0 Current State: 53:[41, 45], Operations: ['38+3=41', '82-37=45'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[37, 41], Operations: ['38+3=41', '82-41=41'] Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,53 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,53 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 34, 42, 45, 39 ]
70
[ "34+42=76", "45-39=6", "76-6=70" ]
Current State: 70:[34, 42, 45, 39], Operations: [] Exploring Operation: 34+42=76, Resulting Numbers: [45, 39, 76] Generated Node #2: [45, 39, 76] from Operation: 34+42=76 Current State: 70:[45, 39, 76], Operations: ['34+42=76'] Exploring Operation: 45-39=6, Resulting Numbers: [76, 6] Generated Node #3: [76, 6] from Operation: 45-39=6 Current State: 70:[76, 6], Operations: ['34+42=76', '45-39=6'] Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[34, 42, 45, 39], Operations: [] Exploring Operation: 45-39=6, Resulting Numbers: [34, 42, 6] Generated Node #0,0: 70:[34, 42, 6] Operation: 45-39=6 Exploring Operation: 45-34=11, Resulting Numbers: [42, 39, 11] Generated Node #0,1: 70:[42, 39, 11] Operation: 45-34=11 Exploring Operation: 45-42=3, Resulting Numbers: [34, 39, 3] Generated Node #0,2: 70:[34, 39, 3] Operation: 45-42=3 Moving to Node #0,2 Current State: 70:[34, 39, 3], Operations: ['45-42=3'] Exploring Operation: 39-34=5, Resulting Numbers: [3, 5] Generated Node #0,2,0: 70:[3, 5] Operation: 39-34=5 Exploring Operation: 39-3=36, Resulting Numbers: [34, 36] Generated Node #0,2,1: 70:[34, 36] Operation: 39-3=36 Exploring Operation: 39/3=13, Resulting Numbers: [34, 13] Generated Node #0,2,2: 70:[34, 13] Operation: 39/3=13 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[3, 5], Operations: ['45-42=3', '39-34=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[34, 36], Operations: ['45-42=3', '39-3=36'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,70 unequal: No Solution Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[34, 42, 45, 39], Operations: [] Exploring Operation: 45-42=3, Resulting Numbers: [34, 39, 3] Generated Node #0,2: 70:[34, 39, 3] Operation: 45-42=3 Moving to Node #0,2 Current State: 70:[34, 39, 3], Operations: ['45-42=3'] Exploring Operation: 39-3=36, Resulting Numbers: [34, 36] Generated Node #0,2,1: 70:[34, 36] Operation: 39-3=36 Moving to Node #0,2,1 Current State: 70:[34, 36], Operations: ['45-42=3', '39-3=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 8, 28, 68, 64 ]
56
[ "8*28=224", "68-64=4", "224/4=56" ]
Current State: 56:[8, 28, 68, 64], Operations: [] Exploring Operation: 8*28=224, Resulting Numbers: [68, 64, 224] Generated Node #2: [68, 64, 224] from Operation: 8*28=224 Current State: 56:[68, 64, 224], Operations: ['8*28=224'] Exploring Operation: 68-64=4, Resulting Numbers: [224, 4] Generated Node #3: [224, 4] from Operation: 68-64=4 Current State: 56:[224, 4], Operations: ['8*28=224', '68-64=4'] Exploring Operation: 224/4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[8, 28, 68, 64], Operations: [] Exploring Operation: 68-28=40, Resulting Numbers: [8, 64, 40] Generated Node #0,0: 56:[8, 64, 40] Operation: 68-28=40 Exploring Operation: 64/8=8, Resulting Numbers: [28, 68, 8] Generated Node #0,1: 56:[28, 68, 8] Operation: 64/8=8 Exploring Operation: 68-8=60, Resulting Numbers: [28, 64, 60] Generated Node #0,2: 56:[28, 64, 60] Operation: 68-8=60 Exploring Operation: 68-64=4, Resulting Numbers: [8, 28, 4] Generated Node #0,3: 56:[8, 28, 4] Operation: 68-64=4 Exploring Operation: 64-8=56, Resulting Numbers: [28, 68, 56] Generated Node #0,4: 56:[28, 68, 56] Operation: 64-8=56 Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[8, 28, 4], Operations: ['68-64=4'] Exploring Operation: 28/4=7, Resulting Numbers: [8, 7] Generated Node #0,3,0: 56:[8, 7] Operation: 28/4=7 Exploring Operation: 8+4=12, Resulting Numbers: [28, 12] Generated Node #0,3,1: 56:[28, 12] Operation: 8+4=12 Exploring Operation: 8-4=4, Resulting Numbers: [28, 4] Generated Node #0,3,2: 56:[28, 4] Operation: 8-4=4 Exploring Operation: 8*4=32, Resulting Numbers: [28, 32] Generated Node #0,3,3: 56:[28, 32] Operation: 8*4=32 Exploring Operation: 8/4=2, Resulting Numbers: [28, 2] Generated Node #0,3,4: 56:[28, 2] Operation: 8/4=2 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 56:[8, 7], Operations: ['68-64=4', '28/4=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[8, 28, 68, 64], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [8, 28, 4] Generated Node #0,3: 56:[8, 28, 4] Operation: 68-64=4 Moving to Node #0,3 Current State: 56:[8, 28, 4], Operations: ['68-64=4'] Exploring Operation: 28/4=7, Resulting Numbers: [8, 7] Generated Node #0,3,0: 56:[8, 7] Operation: 28/4=7 Moving to Node #0,3,0 Current State: 56:[8, 7], Operations: ['68-64=4', '28/4=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 54, 27, 52, 7 ]
43
[ "54/27=2", "52-7=45", "45-2=43" ]
Current State: 43:[54, 27, 52, 7], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [52, 7, 2] Generated Node #2: [52, 7, 2] from Operation: 54/27=2 Current State: 43:[52, 7, 2], Operations: ['54/27=2'] Exploring Operation: 52-7=45, Resulting Numbers: [2, 45] Generated Node #3: [2, 45] from Operation: 52-7=45 Current State: 43:[2, 45], Operations: ['54/27=2', '52-7=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[54, 27, 52, 7], Operations: [] Exploring Operation: 27+7=34, Resulting Numbers: [54, 52, 34] Generated Node #0,0: 43:[54, 52, 34] Operation: 27+7=34 Exploring Operation: 54-7=47, Resulting Numbers: [27, 52, 47] Generated Node #0,1: 43:[27, 52, 47] Operation: 54-7=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[54, 52, 34], Operations: ['27+7=34'] Exploring Operation: 52-34=18, Resulting Numbers: [54, 18] Generated Node #0,0,0: 43:[54, 18] Operation: 52-34=18 Exploring Operation: 54-34=20, Resulting Numbers: [52, 20] Generated Node #0,0,1: 43:[52, 20] Operation: 54-34=20 Moving to Node #0,0,1 Current State: 43:[52, 20], Operations: ['27+7=34', '54-34=20'] Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[54, 18], Operations: ['27+7=34', '52-34=18'] Exploring Operation: 54+18=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,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 Current State: 43:[27, 52, 47], Operations: ['54-7=47'] Exploring Operation: 47-27=20, Resulting Numbers: [52, 20] Generated Node #0,1,0: 43:[52, 20] Operation: 47-27=20 Exploring Operation: 52-27=25, Resulting Numbers: [47, 25] Generated Node #0,1,1: 43:[47, 25] Operation: 52-27=25 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 43:[47, 25], Operations: ['54-7=47', '52-27=25'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,43 unequal: No Solution No 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: 43:[52, 20], Operations: ['54-7=47', '47-27=20'] Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,43 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
[ 60, 36, 23, 39 ]
43
[ "39-36=3", "60/3=20", "23+20=43" ]
Current State: 43:[60, 36, 23, 39], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [60, 23, 3] Generated Node #2: [60, 23, 3] from Operation: 39-36=3 Current State: 43:[60, 23, 3], Operations: ['39-36=3'] Exploring Operation: 60/3=20, Resulting Numbers: [23, 20] Generated Node #3: [23, 20] from Operation: 60/3=20 Current State: 43:[23, 20], Operations: ['39-36=3', '60/3=20'] Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[60, 36, 23, 39], Operations: [] Exploring Operation: 36+23=59, Resulting Numbers: [60, 39, 59] Generated Node #0,0: 43:[60, 39, 59] Operation: 36+23=59 Exploring Operation: 60-36=24, Resulting Numbers: [23, 39, 24] Generated Node #0,1: 43:[23, 39, 24] Operation: 60-36=24 Exploring Operation: 60-23=37, Resulting Numbers: [36, 39, 37] Generated Node #0,2: 43:[36, 39, 37] Operation: 60-23=37 Moving to Node #0,2 Current State: 43:[36, 39, 37], Operations: ['60-23=37'] Exploring Operation: 39+37=76, Resulting Numbers: [36, 76] Generated Node #0,2,0: 43:[36, 76] Operation: 39+37=76 Exploring Operation: 36+39=75, Resulting Numbers: [37, 75] Generated Node #0,2,1: 43:[37, 75] Operation: 36+39=75 Exploring Operation: 36+37=73, Resulting Numbers: [39, 73] Generated Node #0,2,2: 43:[39, 73] Operation: 36+37=73 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 43:[39, 73], Operations: ['60-23=37', '36+37=73'] Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 39+73=112, Resulting Numbers: [112] 112,43 unequal: No Solution Exploring Operation: 39*73=2847, Resulting Numbers: [2847] 2847,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,2,1 Current State: 43:[37, 75], Operations: ['60-23=37', '36+39=75'] Exploring Operation: 37*75=2775, Resulting Numbers: [2775] 2775,43 unequal: No Solution Exploring Operation: 37+75=112, Resulting Numbers: [112] 112,43 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,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,2,0 Current State: 43:[36, 76], Operations: ['60-23=37', '39+37=76'] Exploring Operation: 76-36=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 36+76=112, Resulting Numbers: [112] 112,43 unequal: No Solution Exploring Operation: 36*76=2736, Resulting Numbers: [2736] 2736,43 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: 43:[60, 39, 59], Operations: ['36+23=59'] Exploring Operation: 60-39=21, Resulting Numbers: [59, 21] Generated Node #0,0,0: 43:[59, 21] Operation: 60-39=21 Exploring Operation: 59-39=20, Resulting Numbers: [60, 20] Generated Node #0,0,1: 43:[60, 20] Operation: 59-39=20 Exploring Operation: 60-59=1, Resulting Numbers: [39, 1] Generated Node #0,0,2: 43:[39, 1] Operation: 60-59=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[59, 21], Operations: ['36+23=59', '60-39=21'] Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,43 unequal: No Solution Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,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:[60, 20], Operations: ['36+23=59', '59-39=20'] Exploring Operation: 60+20=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,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,2 Current State: 43:[39, 1], Operations: ['36+23=59', '60-59=1'] Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,43 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,43 unequal: No Solution Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,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:[23, 39, 24], Operations: ['60-36=24'] Exploring Operation: 39+24=63, Resulting Numbers: [23, 63] Generated Node #0,1,0: 43:[23, 63] Operation: 39+24=63 Exploring Operation: 23+24=47, Resulting Numbers: [39, 47] Generated Node #0,1,1: 43:[39, 47] Operation: 23+24=47 Exploring Operation: 23+39=62, Resulting Numbers: [24, 62] Generated Node #0,1,2: 43:[24, 62] Operation: 23+39=62 Moving to Node #0,1,1 Current State: 43:[39, 47], Operations: ['60-36=24', '23+24=47'] Exploring Operation: 39*47=1833, Resulting Numbers: [1833] 1833,43 unequal: No Solution Exploring Operation: 39+47=86, Resulting Numbers: [86] 86,43 unequal: No Solution Exploring Operation: 47-39=8, Resulting Numbers: [8] 8,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[24, 62], Operations: ['60-36=24', '23+39=62'] Exploring Operation: 24*62=1488, Resulting Numbers: [1488] 1488,43 unequal: No Solution Exploring Operation: 24+62=86, Resulting Numbers: [86] 86,43 unequal: No Solution Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[23, 63], Operations: ['60-36=24', '39+24=63'] Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 23*63=1449, Resulting Numbers: [1449] 1449,43 unequal: No Solution Exploring Operation: 23+63=86, Resulting Numbers: [86] 86,43 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 50, 80, 68, 5 ]
43
[ "80-50=30", "68+5=73", "73-30=43" ]
Current State: 43:[50, 80, 68, 5], Operations: [] Exploring Operation: 80-50=30, Resulting Numbers: [68, 5, 30] Generated Node #2: [68, 5, 30] from Operation: 80-50=30 Current State: 43:[68, 5, 30], Operations: ['80-50=30'] Exploring Operation: 68+5=73, Resulting Numbers: [30, 73] Generated Node #3: [30, 73] from Operation: 68+5=73 Current State: 43:[30, 73], Operations: ['80-50=30', '68+5=73'] Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[50, 80, 68, 5], Operations: [] Exploring Operation: 80-5=75, Resulting Numbers: [50, 68, 75] Generated Node #0,0: 43:[50, 68, 75] Operation: 80-5=75 Exploring Operation: 50-5=45, Resulting Numbers: [80, 68, 45] Generated Node #0,1: 43:[80, 68, 45] Operation: 50-5=45 Exploring Operation: 80/5=16, Resulting Numbers: [50, 68, 16] Generated Node #0,2: 43:[50, 68, 16] Operation: 80/5=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[50, 68, 16], Operations: ['80/5=16'] Exploring Operation: 68-16=52, Resulting Numbers: [50, 52] Generated Node #0,2,0: 43:[50, 52] Operation: 68-16=52 Exploring Operation: 50-16=34, Resulting Numbers: [68, 34] Generated Node #0,2,1: 43:[68, 34] Operation: 50-16=34 Exploring Operation: 50+16=66, Resulting Numbers: [68, 66] Generated Node #0,2,2: 43:[68, 66] Operation: 50+16=66 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 43:[50, 52], Operations: ['80/5=16', '68-16=52'] Exploring Operation: 50*52=2600, Resulting Numbers: [2600] 2600,43 unequal: No Solution Exploring Operation: 50+52=102, Resulting Numbers: [102] 102,43 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,43 unequal: No Solution No 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: 43:[68, 34], Operations: ['80/5=16', '50-16=34'] Exploring Operation: 68/34=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 68+34=102, Resulting Numbers: [102] 102,43 unequal: No Solution Exploring Operation: 68-34=34, Resulting Numbers: [34] 34,43 unequal: No Solution No 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: 43:[68, 66], Operations: ['80/5=16', '50+16=66'] Exploring Operation: 68*66=4488, Resulting Numbers: [4488] 4488,43 unequal: No Solution Exploring Operation: 68+66=134, Resulting Numbers: [134] 134,43 unequal: No Solution Exploring Operation: 68-66=2, Resulting Numbers: [2] 2,43 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: 43:[50, 68, 75], Operations: ['80-5=75'] Exploring Operation: 75-68=7, Resulting Numbers: [50, 7] Generated Node #0,0,0: 43:[50, 7] Operation: 75-68=7 Exploring Operation: 75-50=25, Resulting Numbers: [68, 25] Generated Node #0,0,1: 43:[68, 25] Operation: 75-50=25 Exploring Operation: 68-50=18, Resulting Numbers: [75, 18] Generated Node #0,0,2: 43:[75, 18] Operation: 68-50=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[50, 7], Operations: ['80-5=75', '75-68=7'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[50, 80, 68, 5], Operations: [] Exploring Operation: 80-5=75, Resulting Numbers: [50, 68, 75] Generated Node #0,0: 43:[50, 68, 75] Operation: 80-5=75 Moving to Node #0,0 Current State: 43:[50, 68, 75], Operations: ['80-5=75'] Exploring Operation: 75-68=7, Resulting Numbers: [50, 7] Generated Node #0,0,0: 43:[50, 7] Operation: 75-68=7 Moving to Node #0,0,0 Current State: 43:[50, 7], Operations: ['80-5=75', '75-68=7'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 7, 89, 97, 26 ]
25
[ "7+89=96", "97-26=71", "96-71=25" ]
Current State: 25:[7, 89, 97, 26], Operations: [] Exploring Operation: 7+89=96, Resulting Numbers: [97, 26, 96] Generated Node #2: [97, 26, 96] from Operation: 7+89=96 Current State: 25:[97, 26, 96], Operations: ['7+89=96'] Exploring Operation: 97-26=71, Resulting Numbers: [96, 71] Generated Node #3: [96, 71] from Operation: 97-26=71 Current State: 25:[96, 71], Operations: ['7+89=96', '97-26=71'] Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[7, 89, 97, 26], Operations: [] Exploring Operation: 89-26=63, Resulting Numbers: [7, 97, 63] Generated Node #0,0: 25:[7, 97, 63] Operation: 89-26=63 Exploring Operation: 97-89=8, Resulting Numbers: [7, 26, 8] Generated Node #0,1: 25:[7, 26, 8] Operation: 97-89=8 Exploring Operation: 97-26=71, Resulting Numbers: [7, 89, 71] Generated Node #0,2: 25:[7, 89, 71] Operation: 97-26=71 Exploring Operation: 89-7=82, Resulting Numbers: [97, 26, 82] Generated Node #0,3: 25:[97, 26, 82] Operation: 89-7=82 Exploring Operation: 97-7=90, Resulting Numbers: [89, 26, 90] Generated Node #0,4: 25:[89, 26, 90] Operation: 97-7=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[7, 26, 8], Operations: ['97-89=8'] Exploring Operation: 7+8=15, Resulting Numbers: [26, 15] Generated Node #0,1,0: 25:[26, 15] Operation: 7+8=15 Exploring Operation: 7+26=33, Resulting Numbers: [8, 33] Generated Node #0,1,1: 25:[8, 33] Operation: 7+26=33 Exploring Operation: 26-7=19, Resulting Numbers: [8, 19] Generated Node #0,1,2: 25:[8, 19] Operation: 26-7=19 Exploring Operation: 8-7=1, Resulting Numbers: [26, 1] Generated Node #0,1,3: 25:[26, 1] Operation: 8-7=1 Exploring Operation: 26-8=18, Resulting Numbers: [7, 18] Generated Node #0,1,4: 25:[7, 18] Operation: 26-8=18 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 25:[26, 1], Operations: ['97-89=8', '8-7=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,25 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[7, 89, 97, 26], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [7, 26, 8] Generated Node #0,1: 25:[7, 26, 8] Operation: 97-89=8 Moving to Node #0,1 Current State: 25:[7, 26, 8], Operations: ['97-89=8'] Exploring Operation: 8-7=1, Resulting Numbers: [26, 1] Generated Node #0,1,3: 25:[26, 1] Operation: 8-7=1 Moving to Node #0,1,3 Current State: 25:[26, 1], Operations: ['97-89=8', '8-7=1'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 11, 13, 48, 92 ]
52
[ "92-48=44", "44/11=4", "13*4=52" ]
Current State: 52:[11, 13, 48, 92], Operations: [] Exploring Operation: 92-48=44, Resulting Numbers: [11, 13, 44] Generated Node #2: [11, 13, 44] from Operation: 92-48=44 Current State: 52:[11, 13, 44], Operations: ['92-48=44'] Exploring Operation: 44/11=4, Resulting Numbers: [13, 4] Generated Node #3: [13, 4] from Operation: 44/11=4 Current State: 52:[13, 4], Operations: ['92-48=44', '44/11=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[11, 13, 48, 92], Operations: [] Exploring Operation: 92-48=44, Resulting Numbers: [11, 13, 44] Generated Node #0,0: 52:[11, 13, 44] Operation: 92-48=44 Exploring Operation: 92-11=81, Resulting Numbers: [13, 48, 81] Generated Node #0,1: 52:[13, 48, 81] Operation: 92-11=81 Moving to Node #0,0 Current State: 52:[11, 13, 44], Operations: ['92-48=44'] Exploring Operation: 11+44=55, Resulting Numbers: [13, 55] Generated Node #0,0,0: 52:[13, 55] Operation: 11+44=55 Exploring Operation: 44/11=4, Resulting Numbers: [13, 4] Generated Node #0,0,1: 52:[13, 4] Operation: 44/11=4 Moving to Node #0,1 Current State: 52:[13, 48, 81], Operations: ['92-11=81'] Exploring Operation: 81-48=33, Resulting Numbers: [13, 33] Generated Node #0,1,0: 52:[13, 33] Operation: 81-48=33 Exploring Operation: 81-13=68, Resulting Numbers: [48, 68] Generated Node #0,1,1: 52:[48, 68] Operation: 81-13=68 Moving to Node #0,0,1 Current State: 52:[13, 4], Operations: ['92-48=44', '44/11=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[11, 13, 48, 92], Operations: [] Exploring Operation: 92-48=44, Resulting Numbers: [11, 13, 44] Generated Node #0,0: 52:[11, 13, 44] Operation: 92-48=44 Moving to Node #0,0 Current State: 52:[11, 13, 44], Operations: ['92-48=44'] Exploring Operation: 44/11=4, Resulting Numbers: [13, 4] Generated Node #0,0,1: 52:[13, 4] Operation: 44/11=4 Moving to Node #0,0,1 Current State: 52:[13, 4], Operations: ['92-48=44', '44/11=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 50, 78, 40, 73 ]
18
[ "50+40=90", "78-73=5", "90/5=18" ]
Current State: 18:[50, 78, 40, 73], Operations: [] Exploring Operation: 50+40=90, Resulting Numbers: [78, 73, 90] Generated Node #2: [78, 73, 90] from Operation: 50+40=90 Current State: 18:[78, 73, 90], Operations: ['50+40=90'] Exploring Operation: 78-73=5, Resulting Numbers: [90, 5] Generated Node #3: [90, 5] from Operation: 78-73=5 Current State: 18:[90, 5], Operations: ['50+40=90', '78-73=5'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[50, 78, 40, 73], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [50, 40, 5] Generated Node #0,0: 18:[50, 40, 5] Operation: 78-73=5 Exploring Operation: 78-50=28, Resulting Numbers: [40, 73, 28] Generated Node #0,1: 18:[40, 73, 28] Operation: 78-50=28 Moving to Node #0,0 Current State: 18:[50, 40, 5], Operations: ['78-73=5'] Exploring Operation: 50-40=10, Resulting Numbers: [5, 10] Generated Node #0,0,0: 18:[5, 10] Operation: 50-40=10 Exploring Operation: 50/5=10, Resulting Numbers: [40, 10] Generated Node #0,0,1: 18:[40, 10] Operation: 50/5=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[5, 10], Operations: ['78-73=5', '50-40=10'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[40, 10], Operations: ['78-73=5', '50/5=10'] Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 18:[40, 73, 28], Operations: ['78-50=28'] Exploring Operation: 73-28=45, Resulting Numbers: [40, 45] Generated Node #0,1,0: 18:[40, 45] Operation: 73-28=45 Exploring Operation: 73-40=33, Resulting Numbers: [28, 33] Generated Node #0,1,1: 18:[28, 33] Operation: 73-40=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[28, 33], Operations: ['78-50=28', '73-40=33'] Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 28+33=61, Resulting Numbers: [61] 61,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[40, 45], Operations: ['78-50=28', '73-28=45'] Exploring Operation: 40+45=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 10, 37, 74, 55 ]
28
[ "10+37=47", "74-55=19", "47-19=28" ]
Current State: 28:[10, 37, 74, 55], Operations: [] Exploring Operation: 10+37=47, Resulting Numbers: [74, 55, 47] Generated Node #2: [74, 55, 47] from Operation: 10+37=47 Current State: 28:[74, 55, 47], Operations: ['10+37=47'] Exploring Operation: 74-55=19, Resulting Numbers: [47, 19] Generated Node #3: [47, 19] from Operation: 74-55=19 Current State: 28:[47, 19], Operations: ['10+37=47', '74-55=19'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[10, 37, 74, 55], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [10, 55, 2] Generated Node #0,0: 28:[10, 55, 2] Operation: 74/37=2 Exploring Operation: 74-37=37, Resulting Numbers: [10, 55, 37] Generated Node #0,1: 28:[10, 55, 37] Operation: 74-37=37 Exploring Operation: 55-37=18, Resulting Numbers: [10, 74, 18] Generated Node #0,2: 28:[10, 74, 18] Operation: 55-37=18 Exploring Operation: 74-55=19, Resulting Numbers: [10, 37, 19] Generated Node #0,3: 28:[10, 37, 19] Operation: 74-55=19 Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[10, 37, 19], Operations: ['74-55=19'] Exploring Operation: 37-19=18, Resulting Numbers: [10, 18] Generated Node #0,3,0: 28:[10, 18] Operation: 37-19=18 Exploring Operation: 19-10=9, Resulting Numbers: [37, 9] Generated Node #0,3,1: 28:[37, 9] Operation: 19-10=9 Exploring Operation: 37-10=27, Resulting Numbers: [19, 27] Generated Node #0,3,2: 28:[19, 27] Operation: 37-10=27 Exploring Operation: 10+19=29, Resulting Numbers: [37, 29] Generated Node #0,3,3: 28:[37, 29] Operation: 10+19=29 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 28:[19, 27], Operations: ['74-55=19', '37-10=27'] Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,28 unequal: No Solution Exploring Operation: 19*27=513, Resulting Numbers: [513] 513,28 unequal: No Solution Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,28 unequal: No Solution No 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: 28:[10, 18], Operations: ['74-55=19', '37-19=18'] Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[10, 37, 74, 55], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [10, 37, 19] Generated Node #0,3: 28:[10, 37, 19] Operation: 74-55=19 Moving to Node #0,3 Current State: 28:[10, 37, 19], Operations: ['74-55=19'] Exploring Operation: 37-19=18, Resulting Numbers: [10, 18] Generated Node #0,3,0: 28:[10, 18] Operation: 37-19=18 Moving to Node #0,3,0 Current State: 28:[10, 18], Operations: ['74-55=19', '37-19=18'] Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 5, 36, 81, 80 ]
41
[ "5+36=41", "81-80=1", "41*1=41" ]
Current State: 41:[5, 36, 81, 80], Operations: [] Exploring Operation: 5+36=41, Resulting Numbers: [81, 80, 41] Generated Node #2: [81, 80, 41] from Operation: 5+36=41 Current State: 41:[81, 80, 41], Operations: ['5+36=41'] Exploring Operation: 81-80=1, Resulting Numbers: [41, 1] Generated Node #3: [41, 1] from Operation: 81-80=1 Current State: 41:[41, 1], Operations: ['5+36=41', '81-80=1'] Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[5, 36, 81, 80], Operations: [] Exploring Operation: 80-5=75, Resulting Numbers: [36, 81, 75] Generated Node #0,0: 41:[36, 81, 75] Operation: 80-5=75 Exploring Operation: 81-5=76, Resulting Numbers: [36, 80, 76] Generated Node #0,1: 41:[36, 80, 76] Operation: 81-5=76 Exploring Operation: 80/5=16, Resulting Numbers: [36, 81, 16] Generated Node #0,2: 41:[36, 81, 16] Operation: 80/5=16 Exploring Operation: 5+36=41, Resulting Numbers: [81, 80, 41] Generated Node #0,3: 41:[81, 80, 41] Operation: 5+36=41 Exploring Operation: 81-36=45, Resulting Numbers: [5, 80, 45] Generated Node #0,4: 41:[5, 80, 45] Operation: 81-36=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[36, 81, 16], Operations: ['80/5=16'] Exploring Operation: 36+16=52, Resulting Numbers: [81, 52] Generated Node #0,2,0: 41:[81, 52] Operation: 36+16=52 Exploring Operation: 81-16=65, Resulting Numbers: [36, 65] Generated Node #0,2,1: 41:[36, 65] Operation: 81-16=65 Exploring Operation: 81+16=97, Resulting Numbers: [36, 97] Generated Node #0,2,2: 41:[36, 97] Operation: 81+16=97 Exploring Operation: 81-36=45, Resulting Numbers: [16, 45] Generated Node #0,2,3: 41:[16, 45] Operation: 81-36=45 Exploring Operation: 36-16=20, Resulting Numbers: [81, 20] Generated Node #0,2,4: 41:[81, 20] Operation: 36-16=20 Moving to Node #0,2,1 Current State: 41:[36, 65], Operations: ['80/5=16', '81-16=65'] Exploring Operation: 36*65=2340, Resulting Numbers: [2340] 2340,41 unequal: No Solution Exploring Operation: 36+65=101, Resulting Numbers: [101] 101,41 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[16, 45], Operations: ['80/5=16', '81-36=45'] Exploring Operation: 16*45=720, Resulting Numbers: [720] 720,41 unequal: No Solution Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[81, 52], Operations: ['80/5=16', '36+16=52'] Exploring Operation: 81*52=4212, Resulting Numbers: [4212] 4212,41 unequal: No Solution Exploring Operation: 81-52=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 81+52=133, Resulting Numbers: [133] 133,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[36, 97], Operations: ['80/5=16', '81+16=97'] Exploring Operation: 36*97=3492, Resulting Numbers: [3492] 3492,41 unequal: No Solution Exploring Operation: 36+97=133, Resulting Numbers: [133] 133,41 unequal: No Solution Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,41 unequal: No Solution Moving to Node #0,2,4 Current State: 41:[81, 20], Operations: ['80/5=16', '36-16=20'] Exploring Operation: 81*20=1620, Resulting Numbers: [1620] 1620,41 unequal: No Solution Exploring Operation: 81+20=101, Resulting Numbers: [101] 101,41 unequal: No Solution Exploring Operation: 81-20=61, Resulting Numbers: [61] 61,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[36, 81, 75], Operations: ['80-5=75'] Exploring Operation: 81-36=45, Resulting Numbers: [75, 45] Generated Node #0,0,0: 41:[75, 45] Operation: 81-36=45 Exploring Operation: 81-75=6, Resulting Numbers: [36, 6] Generated Node #0,0,1: 41:[36, 6] Operation: 81-75=6 Exploring Operation: 36+81=117, Resulting Numbers: [75, 117] Generated Node #0,0,2: 41:[75, 117] Operation: 36+81=117 Exploring Operation: 75-36=39, Resulting Numbers: [81, 39] Generated Node #0,0,3: 41:[81, 39] Operation: 75-36=39 Exploring Operation: 36+75=111, Resulting Numbers: [81, 111] Generated Node #0,0,4: 41:[81, 111] Operation: 36+75=111 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[75, 45], Operations: ['80-5=75', '81-36=45'] Exploring Operation: 75+45=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 75*45=3375, Resulting Numbers: [3375] 3375,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[36, 6], Operations: ['80-5=75', '81-75=6'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,41 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 41:[81, 39], Operations: ['80-5=75', '75-36=39'] Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[75, 117], Operations: ['80-5=75', '36+81=117'] Exploring Operation: 75*117=8775, Resulting Numbers: [8775] 8775,41 unequal: No Solution Exploring Operation: 117-75=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 75+117=192, Resulting Numbers: [192] 192,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 41:[81, 111], Operations: ['80-5=75', '36+75=111'] Exploring Operation: 81+111=192, Resulting Numbers: [192] 192,41 unequal: No Solution Exploring Operation: 111-81=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 81*111=8991, Resulting Numbers: [8991] 8991,41 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: 41:[36, 80, 76], Operations: ['81-5=76'] Exploring Operation: 36+80=116, Resulting Numbers: [76, 116] Generated Node #0,1,0: 41:[76, 116] Operation: 36+80=116 Exploring Operation: 76-36=40, Resulting Numbers: [80, 40] Generated Node #0,1,1: 41:[80, 40] Operation: 76-36=40 Exploring Operation: 80-36=44, Resulting Numbers: [76, 44] Generated Node #0,1,2: 41:[76, 44] Operation: 80-36=44 Exploring Operation: 80-76=4, Resulting Numbers: [36, 4] Generated Node #0,1,3: 41:[36, 4] Operation: 80-76=4 Exploring Operation: 36+76=112, Resulting Numbers: [80, 112] Generated Node #0,1,4: 41:[80, 112] Operation: 36+76=112 Moving to Node #0,1,2 Current State: 41:[76, 44], Operations: ['81-5=76', '80-36=44'] Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 76*44=3344, Resulting Numbers: [3344] 3344,41 unequal: No Solution Exploring Operation: 76+44=120, Resulting Numbers: [120] 120,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[80, 40], Operations: ['81-5=76', '76-36=40'] Exploring Operation: 80*40=3200, Resulting Numbers: [3200] 3200,41 unequal: No Solution Exploring Operation: 80/40=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 80+40=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 80-40=40, Resulting Numbers: [40] 40,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[36, 4], Operations: ['81-5=76', '80-76=4'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[76, 116], Operations: ['81-5=76', '36+80=116'] Exploring Operation: 76*116=8816, Resulting Numbers: [8816] 8816,41 unequal: No Solution Exploring Operation: 76+116=192, Resulting Numbers: [192] 192,41 unequal: No Solution Exploring Operation: 116-76=40, Resulting Numbers: [40] 40,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[80, 112], Operations: ['81-5=76', '36+76=112'] Exploring Operation: 80+112=192, Resulting Numbers: [192] 192,41 unequal: No Solution Exploring Operation: 112-80=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 80*112=8960, Resulting Numbers: [8960] 8960,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[81, 80, 41], Operations: ['5+36=41'] Exploring Operation: 81+80=161, Resulting Numbers: [41, 161] Generated Node #0,3,0: 41:[41, 161] Operation: 81+80=161 Exploring Operation: 80-41=39, Resulting Numbers: [81, 39] Generated Node #0,3,1: 41:[81, 39] Operation: 80-41=39 Exploring Operation: 81-80=1, Resulting Numbers: [41, 1] Generated Node #0,3,2: 41:[41, 1] Operation: 81-80=1 Exploring Operation: 81+41=122, Resulting Numbers: [80, 122] Generated Node #0,3,3: 41:[80, 122] Operation: 81+41=122 Exploring Operation: 81-41=40, Resulting Numbers: [80, 40] Generated Node #0,3,4: 41:[80, 40] Operation: 81-41=40 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[41, 1], Operations: ['5+36=41', '81-80=1'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[5, 36, 81, 80], Operations: [] Exploring Operation: 5+36=41, Resulting Numbers: [81, 80, 41] Generated Node #0,3: 41:[81, 80, 41] Operation: 5+36=41 Moving to Node #0,3 Current State: 41:[81, 80, 41], Operations: ['5+36=41'] Exploring Operation: 81-80=1, Resulting Numbers: [41, 1] Generated Node #0,3,2: 41:[41, 1] Operation: 81-80=1 Moving to Node #0,3,2 Current State: 41:[41, 1], Operations: ['5+36=41', '81-80=1'] Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.931424
hs_5
sum_heuristic
[ 54, 31, 90, 53 ]
14
[ "54-31=23", "90-53=37", "37-23=14" ]
Current State: 14:[54, 31, 90, 53], Operations: [] Exploring Operation: 54-31=23, Resulting Numbers: [90, 53, 23] Generated Node #2: [90, 53, 23] from Operation: 54-31=23 Current State: 14:[90, 53, 23], Operations: ['54-31=23'] Exploring Operation: 90-53=37, Resulting Numbers: [23, 37] Generated Node #3: [23, 37] from Operation: 90-53=37 Current State: 14:[23, 37], Operations: ['54-31=23', '90-53=37'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[54, 31, 90, 53], Operations: [] Exploring Operation: 90-53=37, Resulting Numbers: [54, 31, 37] Generated Node #0,0: 14:[54, 31, 37] Operation: 90-53=37 Exploring Operation: 54-31=23, Resulting Numbers: [90, 53, 23] Generated Node #0,1: 14:[90, 53, 23] Operation: 54-31=23 Exploring Operation: 54-53=1, Resulting Numbers: [31, 90, 1] Generated Node #0,2: 14:[31, 90, 1] Operation: 54-53=1 Exploring Operation: 90-54=36, Resulting Numbers: [31, 53, 36] Generated Node #0,3: 14:[31, 53, 36] Operation: 90-54=36 Moving to Node #0,3 Current State: 14:[31, 53, 36], Operations: ['90-54=36'] Exploring Operation: 36-31=5, Resulting Numbers: [53, 5] Generated Node #0,3,0: 14:[53, 5] Operation: 36-31=5 Exploring Operation: 31+53=84, Resulting Numbers: [36, 84] Generated Node #0,3,1: 14:[36, 84] Operation: 31+53=84 Exploring Operation: 53-31=22, Resulting Numbers: [36, 22] Generated Node #0,3,2: 14:[36, 22] Operation: 53-31=22 Exploring Operation: 53-36=17, Resulting Numbers: [31, 17] Generated Node #0,3,3: 14:[31, 17] Operation: 53-36=17 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[31, 17], Operations: ['90-54=36', '53-36=17'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[54, 31, 90, 53], Operations: [] Exploring Operation: 90-54=36, Resulting Numbers: [31, 53, 36] Generated Node #0,3: 14:[31, 53, 36] Operation: 90-54=36 Moving to Node #0,3 Current State: 14:[31, 53, 36], Operations: ['90-54=36'] Exploring Operation: 53-36=17, Resulting Numbers: [31, 17] Generated Node #0,3,3: 14:[31, 17] Operation: 53-36=17 Moving to Node #0,3,3 Current State: 14:[31, 17], Operations: ['90-54=36', '53-36=17'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 28, 39, 26, 33 ]
35
[ "33-26=7", "28/7=4", "39-4=35" ]
Current State: 35:[28, 39, 26, 33], Operations: [] Exploring Operation: 33-26=7, Resulting Numbers: [28, 39, 7] Generated Node #2: [28, 39, 7] from Operation: 33-26=7 Current State: 35:[28, 39, 7], Operations: ['33-26=7'] Exploring Operation: 28/7=4, Resulting Numbers: [39, 4] Generated Node #3: [39, 4] from Operation: 28/7=4 Current State: 35:[39, 4], Operations: ['33-26=7', '28/7=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[28, 39, 26, 33], Operations: [] Exploring Operation: 28-26=2, Resulting Numbers: [39, 33, 2] Generated Node #0,0: 35:[39, 33, 2] Operation: 28-26=2 Exploring Operation: 33-28=5, Resulting Numbers: [39, 26, 5] Generated Node #0,1: 35:[39, 26, 5] Operation: 33-28=5 Exploring Operation: 33-26=7, Resulting Numbers: [28, 39, 7] Generated Node #0,2: 35:[28, 39, 7] Operation: 33-26=7 Exploring Operation: 39-28=11, Resulting Numbers: [26, 33, 11] Generated Node #0,3: 35:[26, 33, 11] Operation: 39-28=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[39, 33, 2], Operations: ['28-26=2'] Exploring Operation: 39+2=41, Resulting Numbers: [33, 41] Generated Node #0,0,0: 35:[33, 41] Operation: 39+2=41 Exploring Operation: 39-2=37, Resulting Numbers: [33, 37] Generated Node #0,0,1: 35:[33, 37] Operation: 39-2=37 Exploring Operation: 39-33=6, Resulting Numbers: [2, 6] Generated Node #0,0,2: 35:[2, 6] Operation: 39-33=6 Exploring Operation: 33+2=35, Resulting Numbers: [39, 35] Generated Node #0,0,3: 35:[39, 35] Operation: 33+2=35 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[33, 37], Operations: ['28-26=2', '39-2=37'] Exploring Operation: 33*37=1221, Resulting Numbers: [1221] 1221,35 unequal: No Solution Exploring Operation: 33+37=70, Resulting Numbers: [70] 70,35 unequal: No Solution Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 35:[2, 6], Operations: ['28-26=2', '39-33=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 35:[39, 35], Operations: ['28-26=2', '33+2=35'] Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,35 unequal: No Solution Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[33, 41], Operations: ['28-26=2', '39+2=41'] Exploring Operation: 33+41=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 33*41=1353, Resulting Numbers: [1353] 1353,35 unequal: No Solution Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[28, 39, 7], Operations: ['33-26=7'] Exploring Operation: 39-7=32, Resulting Numbers: [28, 32] Generated Node #0,2,0: 35:[28, 32] Operation: 39-7=32 Exploring Operation: 39-28=11, Resulting Numbers: [7, 11] Generated Node #0,2,1: 35:[7, 11] Operation: 39-28=11 Exploring Operation: 28/7=4, Resulting Numbers: [39, 4] Generated Node #0,2,2: 35:[39, 4] Operation: 28/7=4 Exploring Operation: 28+7=35, Resulting Numbers: [39, 35] Generated Node #0,2,3: 35:[39, 35] Operation: 28+7=35 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[7, 11], Operations: ['33-26=7', '39-28=11'] Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 35:[39, 35], Operations: ['33-26=7', '28+7=35'] Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,35 unequal: No Solution Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 35:[39, 4], Operations: ['33-26=7', '28/7=4'] Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,35 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[28, 39, 26, 33], Operations: [] Exploring Operation: 33-26=7, Resulting Numbers: [28, 39, 7] Generated Node #0,2: 35:[28, 39, 7] Operation: 33-26=7 Moving to Node #0,2 Current State: 35:[28, 39, 7], Operations: ['33-26=7'] Exploring Operation: 28/7=4, Resulting Numbers: [39, 4] Generated Node #0,2,2: 35:[39, 4] Operation: 28/7=4 Moving to Node #0,2,2 Current State: 35:[39, 4], Operations: ['33-26=7', '28/7=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 50, 95, 16, 2 ]
80
[ "50*2=100", "100-95=5", "16*5=80" ]
Current State: 80:[50, 95, 16, 2], Operations: [] Exploring Operation: 50*2=100, Resulting Numbers: [95, 16, 100] Generated Node #2: [95, 16, 100] from Operation: 50*2=100 Current State: 80:[95, 16, 100], Operations: ['50*2=100'] Exploring Operation: 100-95=5, Resulting Numbers: [16, 5] Generated Node #3: [16, 5] from Operation: 100-95=5 Current State: 80:[16, 5], Operations: ['50*2=100', '100-95=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[50, 95, 16, 2], Operations: [] Exploring Operation: 95-50=45, Resulting Numbers: [16, 2, 45] Generated Node #0,0: 80:[16, 2, 45] Operation: 95-50=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[16, 2, 45], Operations: ['95-50=45'] Exploring Operation: 45-2=43, Resulting Numbers: [16, 43] Generated Node #0,0,0: 80:[16, 43] Operation: 45-2=43 Moving to Node #0,0,0 Current State: 80:[16, 43], Operations: ['95-50=45', '45-2=43'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,80 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
[ 48, 43, 38, 58 ]
25
[ "48-43=5", "58-38=20", "5+20=25" ]
Current State: 25:[48, 43, 38, 58], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [38, 58, 5] Generated Node #2: [38, 58, 5] from Operation: 48-43=5 Current State: 25:[38, 58, 5], Operations: ['48-43=5'] Exploring Operation: 58-38=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 58-38=20 Current State: 25:[5, 20], Operations: ['48-43=5', '58-38=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[48, 43, 38, 58], Operations: [] Exploring Operation: 58-43=15, Resulting Numbers: [48, 38, 15] Generated Node #0,0: 25:[48, 38, 15] Operation: 58-43=15 Exploring Operation: 48-43=5, Resulting Numbers: [38, 58, 5] Generated Node #0,1: 25:[38, 58, 5] Operation: 48-43=5 Exploring Operation: 58-48=10, Resulting Numbers: [43, 38, 10] Generated Node #0,2: 25:[43, 38, 10] Operation: 58-48=10 Moving to Node #0,2 Current State: 25:[43, 38, 10], Operations: ['58-48=10'] Exploring Operation: 38-10=28, Resulting Numbers: [43, 28] Generated Node #0,2,0: 25:[43, 28] Operation: 38-10=28 Exploring Operation: 43-10=33, Resulting Numbers: [38, 33] Generated Node #0,2,1: 25:[38, 33] Operation: 43-10=33 Exploring Operation: 43-38=5, Resulting Numbers: [10, 5] Generated Node #0,2,2: 25:[10, 5] Operation: 43-38=5 Moving to Node #0,0 Current State: 25:[48, 38, 15], Operations: ['58-43=15'] Exploring Operation: 48-15=33, Resulting Numbers: [38, 33] Generated Node #0,0,0: 25:[38, 33] Operation: 48-15=33 Exploring Operation: 38-15=23, Resulting Numbers: [48, 23] Generated Node #0,0,1: 25:[48, 23] Operation: 38-15=23 Exploring Operation: 48-38=10, Resulting Numbers: [15, 10] Generated Node #0,0,2: 25:[15, 10] Operation: 48-38=10 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[15, 10], Operations: ['58-43=15', '48-38=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[48, 43, 38, 58], Operations: [] Exploring Operation: 58-43=15, Resulting Numbers: [48, 38, 15] Generated Node #0,0: 25:[48, 38, 15] Operation: 58-43=15 Moving to Node #0,0 Current State: 25:[48, 38, 15], Operations: ['58-43=15'] Exploring Operation: 48-38=10, Resulting Numbers: [15, 10] Generated Node #0,0,2: 25:[15, 10] Operation: 48-38=10 Moving to Node #0,0,2 Current State: 25:[15, 10], Operations: ['58-43=15', '48-38=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 34, 39, 18, 48 ]
70
[ "39*48=1872", "1872/18=104", "104-34=70" ]
Current State: 70:[34, 39, 18, 48], Operations: [] Exploring Operation: 39*48=1872, Resulting Numbers: [34, 18, 1872] Generated Node #2: [34, 18, 1872] from Operation: 39*48=1872 Current State: 70:[34, 18, 1872], Operations: ['39*48=1872'] Exploring Operation: 1872/18=104, Resulting Numbers: [34, 104] Generated Node #3: [34, 104] from Operation: 1872/18=104 Current State: 70:[34, 104], Operations: ['39*48=1872', '1872/18=104'] Exploring Operation: 104-34=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[34, 39, 18, 48], Operations: [] Exploring Operation: 48-39=9, Resulting Numbers: [34, 18, 9] Generated Node #0,0: 70:[34, 18, 9] Operation: 48-39=9 Exploring Operation: 48-34=14, Resulting Numbers: [39, 18, 14] Generated Node #0,1: 70:[39, 18, 14] Operation: 48-34=14 Exploring Operation: 18+48=66, Resulting Numbers: [34, 39, 66] Generated Node #0,2: 70:[34, 39, 66] Operation: 18+48=66 Moving to Node #0,0 Current State: 70:[34, 18, 9], Operations: ['48-39=9'] Exploring Operation: 18/9=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 70:[34, 2] Operation: 18/9=2 Exploring Operation: 18-9=9, Resulting Numbers: [34, 9] Generated Node #0,0,1: 70:[34, 9] Operation: 18-9=9 Exploring Operation: 34-18=16, Resulting Numbers: [9, 16] Generated Node #0,0,2: 70:[9, 16] Operation: 34-18=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[34, 2], Operations: ['48-39=9', '18/9=2'] Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,70 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[34, 9], Operations: ['48-39=9', '18-9=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,70 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,70 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[9, 16], Operations: ['48-39=9', '34-18=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,70 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,70 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: 70:[39, 18, 14], Operations: ['48-34=14'] Exploring Operation: 18-14=4, Resulting Numbers: [39, 4] Generated Node #0,1,0: 70:[39, 4] Operation: 18-14=4 Exploring Operation: 39-18=21, Resulting Numbers: [14, 21] Generated Node #0,1,1: 70:[14, 21] Operation: 39-18=21 Exploring Operation: 18+14=32, Resulting Numbers: [39, 32] Generated Node #0,1,2: 70:[39, 32] Operation: 18+14=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[39, 4], Operations: ['48-34=14', '18-14=4'] Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,70 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[14, 21], Operations: ['48-34=14', '39-18=21'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[39, 32], Operations: ['48-34=14', '18+14=32'] Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,70 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,70 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: 70:[34, 39, 66], Operations: ['18+48=66'] Exploring Operation: 66-34=32, Resulting Numbers: [39, 32] Generated Node #0,2,0: 70:[39, 32] Operation: 66-34=32 Exploring Operation: 39-34=5, Resulting Numbers: [66, 5] Generated Node #0,2,1: 70:[66, 5] Operation: 39-34=5 Exploring Operation: 34+39=73, Resulting Numbers: [66, 73] Generated Node #0,2,2: 70:[66, 73] Operation: 34+39=73 Moving to Node #0,2,1 Current State: 70:[66, 5], Operations: ['18+48=66', '39-34=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,70 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,70 unequal: No Solution Exploring Operation: 66*5=330, Resulting Numbers: [330] 330,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[39, 32], Operations: ['18+48=66', '66-34=32'] Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,70 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[66, 73], Operations: ['18+48=66', '34+39=73'] Exploring Operation: 66+73=139, Resulting Numbers: [139] 139,70 unequal: No Solution Exploring Operation: 66*73=4818, Resulting Numbers: [4818] 4818,70 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,70 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 50, 23, 58, 86 ]
71
[ "50+23=73", "58+86=144", "144-73=71" ]
Current State: 71:[50, 23, 58, 86], Operations: [] Exploring Operation: 50+23=73, Resulting Numbers: [58, 86, 73] Generated Node #2: [58, 86, 73] from Operation: 50+23=73 Current State: 71:[58, 86, 73], Operations: ['50+23=73'] Exploring Operation: 58+86=144, Resulting Numbers: [73, 144] Generated Node #3: [73, 144] from Operation: 58+86=144 Current State: 71:[73, 144], Operations: ['50+23=73', '58+86=144'] Exploring Operation: 144-73=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[50, 23, 58, 86], Operations: [] Exploring Operation: 86-23=63, Resulting Numbers: [50, 58, 63] Generated Node #0,0: 71:[50, 58, 63] Operation: 86-23=63 Exploring Operation: 50+23=73, Resulting Numbers: [58, 86, 73] Generated Node #0,1: 71:[58, 86, 73] Operation: 50+23=73 Moving to Node #0,1 Current State: 71:[58, 86, 73], Operations: ['50+23=73'] Exploring Operation: 86-58=28, Resulting Numbers: [73, 28] Generated Node #0,1,0: 71:[73, 28] Operation: 86-58=28 Exploring Operation: 73-58=15, Resulting Numbers: [86, 15] Generated Node #0,1,1: 71:[86, 15] Operation: 73-58=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[73, 28], Operations: ['50+23=73', '86-58=28'] Exploring Operation: 73+28=101, Resulting Numbers: [101] 101,71 unequal: No Solution Exploring Operation: 73-28=45, Resulting Numbers: [45] 45,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[86, 15], Operations: ['50+23=73', '73-58=15'] Exploring Operation: 86+15=101, Resulting Numbers: [101] 101,71 unequal: No Solution Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[50, 23, 58, 86], Operations: [] Exploring Operation: 50+23=73, Resulting Numbers: [58, 86, 73] Generated Node #0,1: 71:[58, 86, 73] Operation: 50+23=73 Moving to Node #0,1 Current State: 71:[58, 86, 73], Operations: ['50+23=73'] Exploring Operation: 73-58=15, Resulting Numbers: [86, 15] Generated Node #0,1,1: 71:[86, 15] Operation: 73-58=15 Moving to Node #0,1,1 Current State: 71:[86, 15], Operations: ['50+23=73', '73-58=15'] Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 26, 24, 61, 24 ]
73
[ "26-24=2", "24/2=12", "61+12=73" ]
Current State: 73:[26, 24, 61, 24], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [61, 2] Generated Node #2: [61, 2] from Operation: 26-24=2 Current State: 73:[61, 2], Operations: ['26-24=2'] Exploring Operation: 24/2=12, Resulting Numbers: [61, 12] Generated Node #3: [61, 12] from Operation: 24/2=12 Current State: 73:[61, 12], Operations: ['26-24=2', '24/2=12'] Exploring Operation: 61+12=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[26, 24, 61, 24], Operations: [] Exploring Operation: 26+24=50, Resulting Numbers: [61, 24, 50] Generated Node #0,0: 73:[61, 24, 50] Operation: 26+24=50 Exploring Operation: 26+24=50, Resulting Numbers: [24, 61, 50] Generated Node #0,1: 73:[24, 61, 50] Operation: 26+24=50 Moving to Node #0,0 Current State: 73:[61, 24, 50], Operations: ['26+24=50'] Exploring Operation: 24+50=74, Resulting Numbers: [61, 74] Generated Node #0,0,0: 73:[61, 74] Operation: 24+50=74 Exploring Operation: 61+24=85, Resulting Numbers: [50, 85] Generated Node #0,0,1: 73:[50, 85] Operation: 61+24=85 Moving to Node #0,1 Current State: 73:[24, 61, 50], Operations: ['26+24=50'] Exploring Operation: 24+61=85, Resulting Numbers: [50, 85] Generated Node #0,1,0: 73:[50, 85] Operation: 24+61=85 Exploring Operation: 24+50=74, Resulting Numbers: [61, 74] Generated Node #0,1,1: 73:[61, 74] Operation: 24+50=74 Moving to Node #0,0,0 Current State: 73:[61, 74], Operations: ['26+24=50', '24+50=74'] Exploring Operation: 61+74=135, Resulting Numbers: [135] 135,73 unequal: No Solution Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[61, 74], Operations: ['26+24=50', '24+50=74'] Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 61+74=135, Resulting Numbers: [135] 135,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[50, 85], Operations: ['26+24=50', '61+24=85'] Exploring Operation: 85-50=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 50+85=135, Resulting Numbers: [135] 135,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[50, 85], Operations: ['26+24=50', '24+61=85'] Exploring Operation: 50+85=135, Resulting Numbers: [135] 135,73 unequal: No Solution Exploring Operation: 85-50=35, Resulting Numbers: [35] 35,73 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 39, 64, 2, 20 ]
43
[ "64-39=25", "20-2=18", "25+18=43" ]
Current State: 43:[39, 64, 2, 20], Operations: [] Exploring Operation: 64-39=25, Resulting Numbers: [2, 20, 25] Generated Node #2: [2, 20, 25] from Operation: 64-39=25 Current State: 43:[2, 20, 25], Operations: ['64-39=25'] Exploring Operation: 20-2=18, Resulting Numbers: [25, 18] Generated Node #3: [25, 18] from Operation: 20-2=18 Current State: 43:[25, 18], Operations: ['64-39=25', '20-2=18'] Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[39, 64, 2, 20], Operations: [] Exploring Operation: 2*20=40, Resulting Numbers: [39, 64, 40] Generated Node #0,0: 43:[39, 64, 40] Operation: 2*20=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[39, 64, 40], Operations: ['2*20=40'] Exploring Operation: 64-39=25, Resulting Numbers: [40, 25] Generated Node #0,0,0: 43:[40, 25] Operation: 64-39=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[40, 25], Operations: ['2*20=40', '64-39=25'] Exploring Operation: 40+25=65, Resulting Numbers: [65] 65,43 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
[ 13, 92, 73, 84 ]
52
[ "13+92=105", "73+84=157", "157-105=52" ]
Current State: 52:[13, 92, 73, 84], Operations: [] Exploring Operation: 13+92=105, Resulting Numbers: [73, 84, 105] Generated Node #2: [73, 84, 105] from Operation: 13+92=105 Current State: 52:[73, 84, 105], Operations: ['13+92=105'] Exploring Operation: 73+84=157, Resulting Numbers: [105, 157] Generated Node #3: [105, 157] from Operation: 73+84=157 Current State: 52:[105, 157], Operations: ['13+92=105', '73+84=157'] Exploring Operation: 157-105=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[13, 92, 73, 84], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [13, 92, 11] Generated Node #0,0: 52:[13, 92, 11] Operation: 84-73=11 Exploring Operation: 92-84=8, Resulting Numbers: [13, 73, 8] Generated Node #0,1: 52:[13, 73, 8] Operation: 92-84=8 Exploring Operation: 92-73=19, Resulting Numbers: [13, 84, 19] Generated Node #0,2: 52:[13, 84, 19] Operation: 92-73=19 Exploring Operation: 92-13=79, Resulting Numbers: [73, 84, 79] Generated Node #0,3: 52:[73, 84, 79] Operation: 92-13=79 Moving to Node #0,1 Current State: 52:[13, 73, 8], Operations: ['92-84=8'] Exploring Operation: 73-8=65, Resulting Numbers: [13, 65] Generated Node #0,1,0: 52:[13, 65] Operation: 73-8=65 Exploring Operation: 13+8=21, Resulting Numbers: [73, 21] Generated Node #0,1,1: 52:[73, 21] Operation: 13+8=21 Exploring Operation: 73-13=60, Resulting Numbers: [8, 60] Generated Node #0,1,2: 52:[8, 60] Operation: 73-13=60 Exploring Operation: 13-8=5, Resulting Numbers: [73, 5] Generated Node #0,1,3: 52:[73, 5] Operation: 13-8=5 Moving to Node #0,2 Current State: 52:[13, 84, 19], Operations: ['92-73=19'] Exploring Operation: 19-13=6, Resulting Numbers: [84, 6] Generated Node #0,2,0: 52:[84, 6] Operation: 19-13=6 Exploring Operation: 84-13=71, Resulting Numbers: [19, 71] Generated Node #0,2,1: 52:[19, 71] Operation: 84-13=71 Exploring Operation: 84-19=65, Resulting Numbers: [13, 65] Generated Node #0,2,2: 52:[13, 65] Operation: 84-19=65 Exploring Operation: 13+19=32, Resulting Numbers: [84, 32] Generated Node #0,2,3: 52:[84, 32] Operation: 13+19=32 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[13, 65], Operations: ['92-73=19', '84-19=65'] Exploring Operation: 65-13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[13, 92, 73, 84], Operations: [] Exploring Operation: 92-73=19, Resulting Numbers: [13, 84, 19] Generated Node #0,2: 52:[13, 84, 19] Operation: 92-73=19 Moving to Node #0,2 Current State: 52:[13, 84, 19], Operations: ['92-73=19'] Exploring Operation: 84-19=65, Resulting Numbers: [13, 65] Generated Node #0,2,2: 52:[13, 65] Operation: 84-19=65 Moving to Node #0,2,2 Current State: 52:[13, 65], Operations: ['92-73=19', '84-19=65'] Exploring Operation: 65-13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 73, 8, 64, 32 ]
13
[ "73-64=9", "32/8=4", "9+4=13" ]
Current State: 13:[73, 8, 64, 32], Operations: [] Exploring Operation: 73-64=9, Resulting Numbers: [8, 32, 9] Generated Node #2: [8, 32, 9] from Operation: 73-64=9 Current State: 13:[8, 32, 9], Operations: ['73-64=9'] Exploring Operation: 32/8=4, Resulting Numbers: [9, 4] Generated Node #3: [9, 4] from Operation: 32/8=4 Current State: 13:[9, 4], Operations: ['73-64=9', '32/8=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[73, 8, 64, 32], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [73, 8, 2] Generated Node #0,0: 13:[73, 8, 2] Operation: 64/32=2 Exploring Operation: 73-32=41, Resulting Numbers: [8, 64, 41] Generated Node #0,1: 13:[8, 64, 41] Operation: 73-32=41 Exploring Operation: 73-64=9, Resulting Numbers: [8, 32, 9] Generated Node #0,2: 13:[8, 32, 9] Operation: 73-64=9 Moving to Node #0,2 Current State: 13:[8, 32, 9], Operations: ['73-64=9'] Exploring Operation: 32/8=4, Resulting Numbers: [9, 4] Generated Node #0,2,0: 13:[9, 4] Operation: 32/8=4 Exploring Operation: 32-9=23, Resulting Numbers: [8, 23] Generated Node #0,2,1: 13:[8, 23] Operation: 32-9=23 Exploring Operation: 32-8=24, Resulting Numbers: [9, 24] Generated Node #0,2,2: 13:[9, 24] Operation: 32-8=24 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 13:[9, 4], Operations: ['73-64=9', '32/8=4'] Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[73, 8, 64, 32], Operations: [] Exploring Operation: 73-64=9, Resulting Numbers: [8, 32, 9] Generated Node #0,2: 13:[8, 32, 9] Operation: 73-64=9 Moving to Node #0,2 Current State: 13:[8, 32, 9], Operations: ['73-64=9'] Exploring Operation: 32/8=4, Resulting Numbers: [9, 4] Generated Node #0,2,0: 13:[9, 4] Operation: 32/8=4 Moving to Node #0,2,0 Current State: 13:[9, 4], Operations: ['73-64=9', '32/8=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 87, 16, 98, 94 ]
82
[ "98-87=11", "16*11=176", "176-94=82" ]
Current State: 82:[87, 16, 98, 94], Operations: [] Exploring Operation: 98-87=11, Resulting Numbers: [16, 94, 11] Generated Node #2: [16, 94, 11] from Operation: 98-87=11 Current State: 82:[16, 94, 11], Operations: ['98-87=11'] Exploring Operation: 16*11=176, Resulting Numbers: [94, 176] Generated Node #3: [94, 176] from Operation: 16*11=176 Current State: 82:[94, 176], Operations: ['98-87=11', '16*11=176'] Exploring Operation: 176-94=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[87, 16, 98, 94], Operations: [] Exploring Operation: 98-16=82, Resulting Numbers: [87, 94, 82] Generated Node #0,0: 82:[87, 94, 82] Operation: 98-16=82 Exploring Operation: 94-16=78, Resulting Numbers: [87, 98, 78] Generated Node #0,1: 82:[87, 98, 78] Operation: 94-16=78 Exploring Operation: 98-94=4, Resulting Numbers: [87, 16, 4] Generated Node #0,2: 82:[87, 16, 4] Operation: 98-94=4 Moving to Node #0,0 Current State: 82:[87, 94, 82], Operations: ['98-16=82'] Exploring Operation: 94-87=7, Resulting Numbers: [82, 7] Generated Node #0,0,0: 82:[82, 7] Operation: 94-87=7 Exploring Operation: 94-82=12, Resulting Numbers: [87, 12] Generated Node #0,0,1: 82:[87, 12] Operation: 94-82=12 Exploring Operation: 87-82=5, Resulting Numbers: [94, 5] Generated Node #0,0,2: 82:[94, 5] Operation: 87-82=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[82, 7], Operations: ['98-16=82', '94-87=7'] Exploring Operation: 82*7=574, Resulting Numbers: [574] 574,82 unequal: No Solution Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,82 unequal: No Solution Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[87, 12], Operations: ['98-16=82', '94-82=12'] Exploring Operation: 87*12=1044, Resulting Numbers: [1044] 1044,82 unequal: No Solution Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,82 unequal: No Solution Exploring Operation: 87+12=99, Resulting Numbers: [99] 99,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[94, 5], Operations: ['98-16=82', '87-82=5'] Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,82 unequal: No Solution Exploring Operation: 94*5=470, Resulting Numbers: [470] 470,82 unequal: No Solution Exploring Operation: 94+5=99, Resulting Numbers: [99] 99,82 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: 82:[87, 16, 4], Operations: ['98-94=4'] Exploring Operation: 16/4=4, Resulting Numbers: [87, 4] Generated Node #0,2,0: 82:[87, 4] Operation: 16/4=4 Exploring Operation: 87-4=83, Resulting Numbers: [16, 83] Generated Node #0,2,1: 82:[16, 83] Operation: 87-4=83 Exploring Operation: 87-16=71, Resulting Numbers: [4, 71] Generated Node #0,2,2: 82:[4, 71] Operation: 87-16=71 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[87, 4], Operations: ['98-94=4', '16/4=4'] Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,82 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[4, 71], Operations: ['98-94=4', '87-16=71'] Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,82 unequal: No Solution Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 4*71=284, Resulting Numbers: [284] 284,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[16, 83], Operations: ['98-94=4', '87-4=83'] Exploring Operation: 16*83=1328, Resulting Numbers: [1328] 1328,82 unequal: No Solution Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 16+83=99, Resulting Numbers: [99] 99,82 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: 82:[87, 98, 78], Operations: ['94-16=78'] Exploring Operation: 98-78=20, Resulting Numbers: [87, 20] Generated Node #0,1,0: 82:[87, 20] Operation: 98-78=20 Exploring Operation: 98-87=11, Resulting Numbers: [78, 11] Generated Node #0,1,1: 82:[78, 11] Operation: 98-87=11 Exploring Operation: 87-78=9, Resulting Numbers: [98, 9] Generated Node #0,1,2: 82:[98, 9] Operation: 87-78=9 Moving to Node #0,1,1 Current State: 82:[78, 11], Operations: ['94-16=78', '98-87=11'] Exploring Operation: 78*11=858, Resulting Numbers: [858] 858,82 unequal: No Solution Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,82 unequal: No Solution Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[87, 20], Operations: ['94-16=78', '98-78=20'] Exploring Operation: 87+20=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 87*20=1740, Resulting Numbers: [1740] 1740,82 unequal: No Solution Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[98, 9], Operations: ['94-16=78', '87-78=9'] Exploring Operation: 98*9=882, Resulting Numbers: [882] 882,82 unequal: No Solution Exploring Operation: 98+9=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,82 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 95, 98, 25, 53 ]
81
[ "98-95=3", "25+53=78", "3+78=81" ]
Current State: 81:[95, 98, 25, 53], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [25, 53, 3] Generated Node #2: [25, 53, 3] from Operation: 98-95=3 Current State: 81:[25, 53, 3], Operations: ['98-95=3'] Exploring Operation: 25+53=78, Resulting Numbers: [3, 78] Generated Node #3: [3, 78] from Operation: 25+53=78 Current State: 81:[3, 78], Operations: ['98-95=3', '25+53=78'] Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[95, 98, 25, 53], Operations: [] Exploring Operation: 95-53=42, Resulting Numbers: [98, 25, 42] Generated Node #0,0: 81:[98, 25, 42] Operation: 95-53=42 Exploring Operation: 53-25=28, Resulting Numbers: [95, 98, 28] Generated Node #0,1: 81:[95, 98, 28] Operation: 53-25=28 Exploring Operation: 98-95=3, Resulting Numbers: [25, 53, 3] Generated Node #0,2: 81:[25, 53, 3] Operation: 98-95=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[25, 53, 3], Operations: ['98-95=3'] Exploring Operation: 25+53=78, Resulting Numbers: [3, 78] Generated Node #0,2,0: 81:[3, 78] Operation: 25+53=78 Exploring Operation: 53-25=28, Resulting Numbers: [3, 28] Generated Node #0,2,1: 81:[3, 28] Operation: 53-25=28 Exploring Operation: 53-3=50, Resulting Numbers: [25, 50] Generated Node #0,2,2: 81:[25, 50] Operation: 53-3=50 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 81:[3, 28], Operations: ['98-95=3', '53-25=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,81 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[3, 78], Operations: ['98-95=3', '25+53=78'] Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[95, 98, 25, 53], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [25, 53, 3] Generated Node #0,2: 81:[25, 53, 3] Operation: 98-95=3 Moving to Node #0,2 Current State: 81:[25, 53, 3], Operations: ['98-95=3'] Exploring Operation: 25+53=78, Resulting Numbers: [3, 78] Generated Node #0,2,0: 81:[3, 78] Operation: 25+53=78 Moving to Node #0,2,0 Current State: 81:[3, 78], Operations: ['98-95=3', '25+53=78'] Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 54, 18, 16, 45 ]
58
[ "54/18=3", "16+45=61", "61-3=58" ]
Current State: 58:[54, 18, 16, 45], Operations: [] Exploring Operation: 54/18=3, Resulting Numbers: [16, 45, 3] Generated Node #2: [16, 45, 3] from Operation: 54/18=3 Current State: 58:[16, 45, 3], Operations: ['54/18=3'] Exploring Operation: 16+45=61, Resulting Numbers: [3, 61] Generated Node #3: [3, 61] from Operation: 16+45=61 Current State: 58:[3, 61], Operations: ['54/18=3', '16+45=61'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[54, 18, 16, 45], Operations: [] Exploring Operation: 45-18=27, Resulting Numbers: [54, 16, 27] Generated Node #0,0: 58:[54, 16, 27] Operation: 45-18=27 Exploring Operation: 45-16=29, Resulting Numbers: [54, 18, 29] Generated Node #0,1: 58:[54, 18, 29] Operation: 45-16=29 Exploring Operation: 16+45=61, Resulting Numbers: [54, 18, 61] Generated Node #0,2: 58:[54, 18, 61] Operation: 16+45=61 Exploring Operation: 18+16=34, Resulting Numbers: [54, 45, 34] Generated Node #0,3: 58:[54, 45, 34] Operation: 18+16=34 Exploring Operation: 18-16=2, Resulting Numbers: [54, 45, 2] Generated Node #0,4: 58:[54, 45, 2] Operation: 18-16=2 Moving to Node #0,1 Current State: 58:[54, 18, 29], Operations: ['45-16=29'] Exploring Operation: 54/18=3, Resulting Numbers: [29, 3] Generated Node #0,1,0: 58:[29, 3] Operation: 54/18=3 Exploring Operation: 54+18=72, Resulting Numbers: [29, 72] Generated Node #0,1,1: 58:[29, 72] Operation: 54+18=72 Exploring Operation: 54-29=25, Resulting Numbers: [18, 25] Generated Node #0,1,2: 58:[18, 25] Operation: 54-29=25 Exploring Operation: 54-18=36, Resulting Numbers: [29, 36] Generated Node #0,1,3: 58:[29, 36] Operation: 54-18=36 Exploring Operation: 29-18=11, Resulting Numbers: [54, 11] Generated Node #0,1,4: 58:[54, 11] Operation: 29-18=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[29, 3], Operations: ['45-16=29', '54/18=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,58 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,58 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 58:[29, 36], Operations: ['45-16=29', '54-18=36'] Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,58 unequal: No Solution Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,58 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 58:[54, 11], Operations: ['45-16=29', '29-18=11'] Exploring Operation: 54*11=594, Resulting Numbers: [594] 594,58 unequal: No Solution Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 54+11=65, Resulting Numbers: [65] 65,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[29, 72], Operations: ['45-16=29', '54+18=72'] Exploring Operation: 29+72=101, Resulting Numbers: [101] 101,58 unequal: No Solution Exploring Operation: 29*72=2088, Resulting Numbers: [2088] 2088,58 unequal: No Solution Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 58:[18, 25], Operations: ['45-16=29', '54-29=25'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,58 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 58:[54, 45, 2], Operations: ['18-16=2'] Exploring Operation: 54+2=56, Resulting Numbers: [45, 56] Generated Node #0,4,0: 58:[45, 56] Operation: 54+2=56 Exploring Operation: 45+2=47, Resulting Numbers: [54, 47] Generated Node #0,4,1: 58:[54, 47] Operation: 45+2=47 Exploring Operation: 45-2=43, Resulting Numbers: [54, 43] Generated Node #0,4,2: 58:[54, 43] Operation: 45-2=43 Exploring Operation: 54-45=9, Resulting Numbers: [2, 9] Generated Node #0,4,3: 58:[2, 9] Operation: 54-45=9 Exploring Operation: 54/2=27, Resulting Numbers: [45, 27] Generated Node #0,4,4: 58:[45, 27] Operation: 54/2=27 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 58:[2, 9], Operations: ['18-16=2', '54-45=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 58:[45, 56], Operations: ['18-16=2', '54+2=56'] Exploring Operation: 45+56=101, Resulting Numbers: [101] 101,58 unequal: No Solution Exploring Operation: 45*56=2520, Resulting Numbers: [2520] 2520,58 unequal: No Solution Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 58:[54, 47], Operations: ['18-16=2', '45+2=47'] Exploring Operation: 54+47=101, Resulting Numbers: [101] 101,58 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 54*47=2538, Resulting Numbers: [2538] 2538,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 58:[45, 27], Operations: ['18-16=2', '54/2=27'] Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,58 unequal: No Solution Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 58:[54, 43], Operations: ['18-16=2', '45-2=43'] Exploring Operation: 54*43=2322, Resulting Numbers: [2322] 2322,58 unequal: No Solution Exploring Operation: 54+43=97, Resulting Numbers: [97] 97,58 unequal: No Solution Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,58 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: 58:[54, 18, 61], Operations: ['16+45=61'] Exploring Operation: 54/18=3, Resulting Numbers: [61, 3] Generated Node #0,2,0: 58:[61, 3] Operation: 54/18=3 Exploring Operation: 61-54=7, Resulting Numbers: [18, 7] Generated Node #0,2,1: 58:[18, 7] Operation: 61-54=7 Exploring Operation: 54+18=72, Resulting Numbers: [61, 72] Generated Node #0,2,2: 58:[61, 72] Operation: 54+18=72 Exploring Operation: 61-18=43, Resulting Numbers: [54, 43] Generated Node #0,2,3: 58:[54, 43] Operation: 61-18=43 Exploring Operation: 54-18=36, Resulting Numbers: [61, 36] Generated Node #0,2,4: 58:[61, 36] Operation: 54-18=36 Moving to Node #0,0 Current State: 58:[54, 16, 27], Operations: ['45-18=27'] Exploring Operation: 27-16=11, Resulting Numbers: [54, 11] Generated Node #0,0,0: 58:[54, 11] Operation: 27-16=11 Exploring Operation: 54/27=2, Resulting Numbers: [16, 2] Generated Node #0,0,1: 58:[16, 2] Operation: 54/27=2 Exploring Operation: 54-27=27, Resulting Numbers: [16, 27] Generated Node #0,0,2: 58:[16, 27] Operation: 54-27=27 Exploring Operation: 54+16=70, Resulting Numbers: [27, 70] Generated Node #0,0,3: 58:[27, 70] Operation: 54+16=70 Exploring Operation: 54-16=38, Resulting Numbers: [27, 38] Generated Node #0,0,4: 58:[27, 38] Operation: 54-16=38 Moving to Node #0,3 Current State: 58:[54, 45, 34], Operations: ['18+16=34'] Exploring Operation: 54+34=88, Resulting Numbers: [45, 88] Generated Node #0,3,0: 58:[45, 88] Operation: 54+34=88 Exploring Operation: 54-34=20, Resulting Numbers: [45, 20] Generated Node #0,3,1: 58:[45, 20] Operation: 54-34=20 Exploring Operation: 54-45=9, Resulting Numbers: [34, 9] Generated Node #0,3,2: 58:[34, 9] Operation: 54-45=9 Exploring Operation: 45+34=79, Resulting Numbers: [54, 79] Generated Node #0,3,3: 58:[54, 79] Operation: 45+34=79 Exploring Operation: 45-34=11, Resulting Numbers: [54, 11] Generated Node #0,3,4: 58:[54, 11] Operation: 45-34=11 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 58:[34, 9], Operations: ['18+16=34', '54-45=9'] Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 58:[54, 11], Operations: ['18+16=34', '45-34=11'] Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 54*11=594, Resulting Numbers: [594] 594,58 unequal: No Solution Exploring Operation: 54+11=65, Resulting Numbers: [65] 65,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 58:[45, 20], Operations: ['18+16=34', '54-34=20'] Exploring Operation: 45+20=65, Resulting Numbers: [65] 65,58 unequal: No Solution Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 45*20=900, Resulting Numbers: [900] 900,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 58:[54, 79], Operations: ['18+16=34', '45+34=79'] Exploring Operation: 54+79=133, Resulting Numbers: [133] 133,58 unequal: No Solution Exploring Operation: 54*79=4266, Resulting Numbers: [4266] 4266,58 unequal: No Solution Exploring Operation: 79-54=25, Resulting Numbers: [25] 25,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 58:[45, 88], Operations: ['18+16=34', '54+34=88'] Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 45+88=133, Resulting Numbers: [133] 133,58 unequal: No Solution Exploring Operation: 45*88=3960, Resulting Numbers: [3960] 3960,58 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: 58:[61, 3], Operations: ['16+45=61', '54/18=3'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[54, 18, 16, 45], Operations: [] Exploring Operation: 16+45=61, Resulting Numbers: [54, 18, 61] Generated Node #0,2: 58:[54, 18, 61] Operation: 16+45=61 Moving to Node #0,2 Current State: 58:[54, 18, 61], Operations: ['16+45=61'] Exploring Operation: 54/18=3, Resulting Numbers: [61, 3] Generated Node #0,2,0: 58:[61, 3] Operation: 54/18=3 Moving to Node #0,2,0 Current State: 58:[61, 3], Operations: ['16+45=61', '54/18=3'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.930556
hs_5
sum_heuristic
[ 17, 64, 57, 85 ]
34
[ "64-57=7", "17*7=119", "119-85=34" ]
Current State: 34:[17, 64, 57, 85], Operations: [] Exploring Operation: 64-57=7, Resulting Numbers: [17, 85, 7] Generated Node #2: [17, 85, 7] from Operation: 64-57=7 Current State: 34:[17, 85, 7], Operations: ['64-57=7'] Exploring Operation: 17*7=119, Resulting Numbers: [85, 119] Generated Node #3: [85, 119] from Operation: 17*7=119 Current State: 34:[85, 119], Operations: ['64-57=7', '17*7=119'] Exploring Operation: 119-85=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[17, 64, 57, 85], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [64, 57, 5] Generated Node #0,0: 34:[64, 57, 5] Operation: 85/17=5 Exploring Operation: 85-57=28, Resulting Numbers: [17, 64, 28] Generated Node #0,1: 34:[17, 64, 28] Operation: 85-57=28 Exploring Operation: 64-17=47, Resulting Numbers: [57, 85, 47] Generated Node #0,2: 34:[57, 85, 47] Operation: 64-17=47 Exploring Operation: 85-64=21, Resulting Numbers: [17, 57, 21] Generated Node #0,3: 34:[17, 57, 21] Operation: 85-64=21 Exploring Operation: 64-57=7, Resulting Numbers: [17, 85, 7] Generated Node #0,4: 34:[17, 85, 7] Operation: 64-57=7 Moving to Node #0,3 Current State: 34:[17, 57, 21], Operations: ['85-64=21'] Exploring Operation: 57-17=40, Resulting Numbers: [21, 40] Generated Node #0,3,0: 34:[21, 40] Operation: 57-17=40 Exploring Operation: 17+57=74, Resulting Numbers: [21, 74] Generated Node #0,3,1: 34:[21, 74] Operation: 17+57=74 Exploring Operation: 21-17=4, Resulting Numbers: [57, 4] Generated Node #0,3,2: 34:[57, 4] Operation: 21-17=4 Exploring Operation: 57-21=36, Resulting Numbers: [17, 36] Generated Node #0,3,3: 34:[17, 36] Operation: 57-21=36 Exploring Operation: 17+21=38, Resulting Numbers: [57, 38] Generated Node #0,3,4: 34:[57, 38] Operation: 17+21=38 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 34:[17, 36], Operations: ['85-64=21', '57-21=36'] Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 17*36=612, Resulting Numbers: [612] 612,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 34:[21, 40], Operations: ['85-64=21', '57-17=40'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 21*40=840, Resulting Numbers: [840] 840,34 unequal: No Solution Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[57, 4], Operations: ['85-64=21', '21-17=4'] Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 34:[57, 38], Operations: ['85-64=21', '17+21=38'] Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 57+38=95, Resulting Numbers: [95] 95,34 unequal: No Solution Exploring Operation: 57*38=2166, Resulting Numbers: [2166] 2166,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 34:[21, 74], Operations: ['85-64=21', '17+57=74'] Exploring Operation: 21+74=95, Resulting Numbers: [95] 95,34 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 21*74=1554, Resulting Numbers: [1554] 1554,34 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: 34:[17, 64, 28], Operations: ['85-57=28'] Exploring Operation: 28-17=11, Resulting Numbers: [64, 11] Generated Node #0,1,0: 34:[64, 11] Operation: 28-17=11 Exploring Operation: 17+28=45, Resulting Numbers: [64, 45] Generated Node #0,1,1: 34:[64, 45] Operation: 17+28=45 Exploring Operation: 64-28=36, Resulting Numbers: [17, 36] Generated Node #0,1,2: 34:[17, 36] Operation: 64-28=36 Exploring Operation: 17+64=81, Resulting Numbers: [28, 81] Generated Node #0,1,3: 34:[28, 81] Operation: 17+64=81 Exploring Operation: 64-17=47, Resulting Numbers: [28, 47] Generated Node #0,1,4: 34:[28, 47] Operation: 64-17=47 Moving to Node #0,0 Current State: 34:[64, 57, 5], Operations: ['85/17=5'] Exploring Operation: 64-5=59, Resulting Numbers: [57, 59] Generated Node #0,0,0: 34:[57, 59] Operation: 64-5=59 Exploring Operation: 57-5=52, Resulting Numbers: [64, 52] Generated Node #0,0,1: 34:[64, 52] Operation: 57-5=52 Exploring Operation: 64+5=69, Resulting Numbers: [57, 69] Generated Node #0,0,2: 34:[57, 69] Operation: 64+5=69 Exploring Operation: 64-57=7, Resulting Numbers: [5, 7] Generated Node #0,0,3: 34:[5, 7] Operation: 64-57=7 Exploring Operation: 57+5=62, Resulting Numbers: [64, 62] Generated Node #0,0,4: 34:[64, 62] Operation: 57+5=62 Moving to Node #0,4 Current State: 34:[17, 85, 7], Operations: ['64-57=7'] Exploring Operation: 17-7=10, Resulting Numbers: [85, 10] Generated Node #0,4,0: 34:[85, 10] Operation: 17-7=10 Exploring Operation: 85-17=68, Resulting Numbers: [7, 68] Generated Node #0,4,1: 34:[7, 68] Operation: 85-17=68 Exploring Operation: 17+7=24, Resulting Numbers: [85, 24] Generated Node #0,4,2: 34:[85, 24] Operation: 17+7=24 Exploring Operation: 85-7=78, Resulting Numbers: [17, 78] Generated Node #0,4,3: 34:[17, 78] Operation: 85-7=78 Exploring Operation: 85/17=5, Resulting Numbers: [7, 5] Generated Node #0,4,4: 34:[7, 5] Operation: 85/17=5 Moving to Node #0,2 Current State: 34:[57, 85, 47], Operations: ['64-17=47'] Exploring Operation: 85-57=28, Resulting Numbers: [47, 28] Generated Node #0,2,0: 34:[47, 28] Operation: 85-57=28 Exploring Operation: 85-47=38, Resulting Numbers: [57, 38] Generated Node #0,2,1: 34:[57, 38] Operation: 85-47=38 Exploring Operation: 57+47=104, Resulting Numbers: [85, 104] Generated Node #0,2,2: 34:[85, 104] Operation: 57+47=104 Exploring Operation: 57-47=10, Resulting Numbers: [85, 10] Generated Node #0,2,3: 34:[85, 10] Operation: 57-47=10 Exploring Operation: 57+85=142, Resulting Numbers: [47, 142] Generated Node #0,2,4: 34:[47, 142] Operation: 57+85=142 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[47, 28], Operations: ['64-17=47', '85-57=28'] Exploring Operation: 47*28=1316, Resulting Numbers: [1316] 1316,34 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 47+28=75, Resulting Numbers: [75] 75,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 34:[57, 38], Operations: ['64-17=47', '85-47=38'] Exploring Operation: 57*38=2166, Resulting Numbers: [2166] 2166,34 unequal: No Solution Exploring Operation: 57+38=95, Resulting Numbers: [95] 95,34 unequal: No Solution Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 34:[85, 10], Operations: ['64-17=47', '57-47=10'] Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,34 unequal: No Solution Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,34 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[85, 104], Operations: ['64-17=47', '57+47=104'] Exploring Operation: 104-85=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 85*104=8840, Resulting Numbers: [8840] 8840,34 unequal: No Solution Exploring Operation: 85+104=189, Resulting Numbers: [189] 189,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 34:[47, 142], Operations: ['64-17=47', '57+85=142'] Exploring Operation: 142-47=95, Resulting Numbers: [95] 95,34 unequal: No Solution Exploring Operation: 47+142=189, Resulting Numbers: [189] 189,34 unequal: No Solution Exploring Operation: 47*142=6674, Resulting Numbers: [6674] 6674,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 34:[17, 36], Operations: ['85-57=28', '64-28=36'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 17*36=612, Resulting Numbers: [612] 612,34 unequal: No Solution Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[5, 7], Operations: ['85/17=5', '64-57=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,34 unequal: No Solution Moving to Node #0,4,4 Current State: 34:[7, 5], Operations: ['64-57=7', '85/17=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,34 unequal: No Solution Moving to Node #0,1,4 Current State: 34:[28, 47], Operations: ['85-57=28', '64-17=47'] Exploring Operation: 28*47=1316, Resulting Numbers: [1316] 1316,34 unequal: No Solution Exploring Operation: 28+47=75, Resulting Numbers: [75] 75,34 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[64, 11], Operations: ['85-57=28', '28-17=11'] Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,34 unequal: No Solution Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,34 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,34 unequal: No Solution Moving to Node #0,4,1 Current State: 34:[7, 68], Operations: ['64-57=7', '85-17=68'] Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,34 unequal: No Solution Exploring Operation: 7*68=476, Resulting Numbers: [476] 476,34 unequal: No Solution Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[64, 45], Operations: ['85-57=28', '17+28=45'] Exploring Operation: 64*45=2880, Resulting Numbers: [2880] 2880,34 unequal: No Solution Exploring Operation: 64+45=109, Resulting Numbers: [109] 109,34 unequal: No Solution Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,34 unequal: No Solution Moving to Node #0,4,3 Current State: 34:[17, 78], Operations: ['64-57=7', '85-7=78'] Exploring Operation: 17+78=95, Resulting Numbers: [95] 95,34 unequal: No Solution Exploring Operation: 17*78=1326, Resulting Numbers: [1326] 1326,34 unequal: No Solution Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[57, 59], Operations: ['85/17=5', '64-5=59'] Exploring Operation: 59-57=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 57+59=116, Resulting Numbers: [116] 116,34 unequal: No Solution Exploring Operation: 57*59=3363, Resulting Numbers: [3363] 3363,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[64, 52], Operations: ['85/17=5', '57-5=52'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 64+52=116, Resulting Numbers: [116] 116,34 unequal: No Solution Exploring Operation: 64*52=3328, Resulting Numbers: [3328] 3328,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[28, 81], Operations: ['85-57=28', '17+64=81'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 28*81=2268, Resulting Numbers: [2268] 2268,34 unequal: No Solution Exploring Operation: 28+81=109, Resulting Numbers: [109] 109,34 unequal: No Solution Moving to Node #0,4,0 Current State: 34:[85, 10], Operations: ['64-57=7', '17-7=10'] Exploring Operation: 85*10=850, Resulting Numbers: [850] 850,34 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,34 unequal: No Solution Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,34 unequal: No Solution Moving to Node #0,4,2 Current State: 34:[85, 24], Operations: ['64-57=7', '17+7=24'] Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 85*24=2040, Resulting Numbers: [2040] 2040,34 unequal: No Solution Exploring Operation: 85+24=109, Resulting Numbers: [109] 109,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[57, 69], Operations: ['85/17=5', '64+5=69'] Exploring Operation: 69-57=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 57+69=126, Resulting Numbers: [126] 126,34 unequal: No Solution Exploring Operation: 57*69=3933, Resulting Numbers: [3933] 3933,34 unequal: No Solution Moving to Node #0,0,4 Current State: 34:[64, 62], Operations: ['85/17=5', '57+5=62'] Exploring Operation: 64*62=3968, Resulting Numbers: [3968] 3968,34 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 64+62=126, Resulting Numbers: [126] 126,34 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 83, 52, 62, 80 ]
82
[ "83-52=31", "62/31=2", "80+2=82" ]
Current State: 82:[83, 52, 62, 80], Operations: [] Exploring Operation: 83-52=31, Resulting Numbers: [62, 80, 31] Generated Node #2: [62, 80, 31] from Operation: 83-52=31 Current State: 82:[62, 80, 31], Operations: ['83-52=31'] Exploring Operation: 62/31=2, Resulting Numbers: [80, 2] Generated Node #3: [80, 2] from Operation: 62/31=2 Current State: 82:[80, 2], Operations: ['83-52=31', '62/31=2'] Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[83, 52, 62, 80], Operations: [] Exploring Operation: 83-52=31, Resulting Numbers: [62, 80, 31] Generated Node #0,0: 82:[62, 80, 31] Operation: 83-52=31 Exploring Operation: 62-52=10, Resulting Numbers: [83, 80, 10] Generated Node #0,1: 82:[83, 80, 10] Operation: 62-52=10 Exploring Operation: 80-62=18, Resulting Numbers: [83, 52, 18] Generated Node #0,2: 82:[83, 52, 18] Operation: 80-62=18 Exploring Operation: 83-62=21, Resulting Numbers: [52, 80, 21] Generated Node #0,3: 82:[52, 80, 21] Operation: 83-62=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[83, 80, 10], Operations: ['62-52=10'] Exploring Operation: 83-80=3, Resulting Numbers: [10, 3] Generated Node #0,1,0: 82:[10, 3] Operation: 83-80=3 Exploring Operation: 80+10=90, Resulting Numbers: [83, 90] Generated Node #0,1,1: 82:[83, 90] Operation: 80+10=90 Exploring Operation: 83-10=73, Resulting Numbers: [80, 73] Generated Node #0,1,2: 82:[80, 73] Operation: 83-10=73 Exploring Operation: 80/10=8, Resulting Numbers: [83, 8] Generated Node #0,1,3: 82:[83, 8] Operation: 80/10=8 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 82:[83, 8], Operations: ['62-52=10', '80/10=8'] Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,82 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,82 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,82 unequal: No Solution No 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: 82:[10, 3], Operations: ['62-52=10', '83-80=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,82 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,82 unequal: No Solution No 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: 82:[83, 90], Operations: ['62-52=10', '80+10=90'] Exploring Operation: 83+90=173, Resulting Numbers: [173] 173,82 unequal: No Solution Exploring Operation: 90-83=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 83*90=7470, Resulting Numbers: [7470] 7470,82 unequal: No Solution No 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: 82:[80, 73], Operations: ['62-52=10', '83-10=73'] Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 80+73=153, Resulting Numbers: [153] 153,82 unequal: No Solution Exploring Operation: 80*73=5840, Resulting Numbers: [5840] 5840,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[83, 52, 18], Operations: ['80-62=18'] Exploring Operation: 52-18=34, Resulting Numbers: [83, 34] Generated Node #0,2,0: 82:[83, 34] Operation: 52-18=34 Exploring Operation: 52+18=70, Resulting Numbers: [83, 70] Generated Node #0,2,1: 82:[83, 70] Operation: 52+18=70 Exploring Operation: 83-52=31, Resulting Numbers: [18, 31] Generated Node #0,2,2: 82:[18, 31] Operation: 83-52=31 Exploring Operation: 83-18=65, Resulting Numbers: [52, 65] Generated Node #0,2,3: 82:[52, 65] Operation: 83-18=65 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 82:[83, 34], Operations: ['80-62=18', '52-18=34'] Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,82 unequal: No Solution Exploring Operation: 83+34=117, Resulting Numbers: [117] 117,82 unequal: No Solution Exploring Operation: 83*34=2822, Resulting Numbers: [2822] 2822,82 unequal: No Solution No 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: 82:[83, 70], Operations: ['80-62=18', '52+18=70'] Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 83*70=5810, Resulting Numbers: [5810] 5810,82 unequal: No Solution Exploring Operation: 83+70=153, Resulting Numbers: [153] 153,82 unequal: No Solution No 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: 82:[18, 31], Operations: ['80-62=18', '83-52=31'] Exploring Operation: 18*31=558, Resulting Numbers: [558] 558,82 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,82 unequal: No Solution No 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: 82:[52, 65], Operations: ['80-62=18', '83-18=65'] Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 52*65=3380, Resulting Numbers: [3380] 3380,82 unequal: No Solution Exploring Operation: 52+65=117, Resulting Numbers: [117] 117,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[62, 80, 31], Operations: ['83-52=31'] Exploring Operation: 80-62=18, Resulting Numbers: [31, 18] Generated Node #0,0,0: 82:[31, 18] Operation: 80-62=18 Exploring Operation: 62+31=93, Resulting Numbers: [80, 93] Generated Node #0,0,1: 82:[80, 93] Operation: 62+31=93 Exploring Operation: 62/31=2, Resulting Numbers: [80, 2] Generated Node #0,0,2: 82:[80, 2] Operation: 62/31=2 Exploring Operation: 62-31=31, Resulting Numbers: [80, 31] Generated Node #0,0,3: 82:[80, 31] Operation: 62-31=31 Moving to Node #0,0,2 Current State: 82:[80, 2], Operations: ['83-52=31', '62/31=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,82 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[83, 52, 62, 80], Operations: [] Exploring Operation: 83-52=31, Resulting Numbers: [62, 80, 31] Generated Node #0,0: 82:[62, 80, 31] Operation: 83-52=31 Moving to Node #0,0 Current State: 82:[62, 80, 31], Operations: ['83-52=31'] Exploring Operation: 62/31=2, Resulting Numbers: [80, 2] Generated Node #0,0,2: 82:[80, 2] Operation: 62/31=2 Moving to Node #0,0,2 Current State: 82:[80, 2], Operations: ['83-52=31', '62/31=2'] Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_4
sum_heuristic
[ 12, 75, 72, 74 ]
89
[ "12+75=87", "74-72=2", "87+2=89" ]
Current State: 89:[12, 75, 72, 74], Operations: [] Exploring Operation: 12+75=87, Resulting Numbers: [72, 74, 87] Generated Node #2: [72, 74, 87] from Operation: 12+75=87 Current State: 89:[72, 74, 87], Operations: ['12+75=87'] Exploring Operation: 74-72=2, Resulting Numbers: [87, 2] Generated Node #3: [87, 2] from Operation: 74-72=2 Current State: 89:[87, 2], Operations: ['12+75=87', '74-72=2'] Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[12, 75, 72, 74], Operations: [] Exploring Operation: 12+75=87, Resulting Numbers: [72, 74, 87] Generated Node #0,0: 89:[72, 74, 87] Operation: 12+75=87 Exploring Operation: 12+74=86, Resulting Numbers: [75, 72, 86] Generated Node #0,1: 89:[75, 72, 86] Operation: 12+74=86 Exploring Operation: 12+72=84, Resulting Numbers: [75, 74, 84] Generated Node #0,2: 89:[75, 74, 84] Operation: 12+72=84 Exploring Operation: 72-12=60, Resulting Numbers: [75, 74, 60] Generated Node #0,3: 89:[75, 74, 60] Operation: 72-12=60 Exploring Operation: 75-12=63, Resulting Numbers: [72, 74, 63] Generated Node #0,4: 89:[72, 74, 63] Operation: 75-12=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[72, 74, 87], Operations: ['12+75=87'] Exploring Operation: 74-72=2, Resulting Numbers: [87, 2] Generated Node #0,0,0: 89:[87, 2] Operation: 74-72=2 Exploring Operation: 74+87=161, Resulting Numbers: [72, 161] Generated Node #0,0,1: 89:[72, 161] Operation: 74+87=161 Exploring Operation: 72+74=146, Resulting Numbers: [87, 146] Generated Node #0,0,2: 89:[87, 146] Operation: 72+74=146 Exploring Operation: 72+87=159, Resulting Numbers: [74, 159] Generated Node #0,0,3: 89:[74, 159] Operation: 72+87=159 Exploring Operation: 87-72=15, Resulting Numbers: [74, 15] Generated Node #0,0,4: 89:[74, 15] Operation: 87-72=15 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[87, 146], Operations: ['12+75=87', '72+74=146'] Exploring Operation: 87+146=233, Resulting Numbers: [233] 233,89 unequal: No Solution Exploring Operation: 87*146=12702, Resulting Numbers: [12702] 12702,89 unequal: No Solution Exploring Operation: 146-87=59, Resulting Numbers: [59] 59,89 unequal: No Solution No 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: 89:[74, 159], Operations: ['12+75=87', '72+87=159'] Exploring Operation: 74*159=11766, Resulting Numbers: [11766] 11766,89 unequal: No Solution Exploring Operation: 74+159=233, Resulting Numbers: [233] 233,89 unequal: No Solution Exploring Operation: 159-74=85, Resulting Numbers: [85] 85,89 unequal: No Solution No 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: 89:[87, 2], Operations: ['12+75=87', '74-72=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,89 unequal: No Solution Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[12, 75, 72, 74], Operations: [] Exploring Operation: 12+75=87, Resulting Numbers: [72, 74, 87] Generated Node #0,0: 89:[72, 74, 87] Operation: 12+75=87 Moving to Node #0,0 Current State: 89:[72, 74, 87], Operations: ['12+75=87'] Exploring Operation: 74-72=2, Resulting Numbers: [87, 2] Generated Node #0,0,0: 89:[87, 2] Operation: 74-72=2 Moving to Node #0,0,0 Current State: 89:[87, 2], Operations: ['12+75=87', '74-72=2'] Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 34, 20, 88, 26 ]
85
[ "34+26=60", "60/20=3", "88-3=85" ]
Current State: 85:[34, 20, 88, 26], Operations: [] Exploring Operation: 34+26=60, Resulting Numbers: [20, 88, 60] Generated Node #2: [20, 88, 60] from Operation: 34+26=60 Current State: 85:[20, 88, 60], Operations: ['34+26=60'] Exploring Operation: 60/20=3, Resulting Numbers: [88, 3] Generated Node #3: [88, 3] from Operation: 60/20=3 Current State: 85:[88, 3], Operations: ['34+26=60', '60/20=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[34, 20, 88, 26], Operations: [] Exploring Operation: 26-20=6, Resulting Numbers: [34, 88, 6] Generated Node #0,0: 85:[34, 88, 6] Operation: 26-20=6 Exploring Operation: 34-26=8, Resulting Numbers: [20, 88, 8] Generated Node #0,1: 85:[20, 88, 8] Operation: 34-26=8 Exploring Operation: 34-20=14, Resulting Numbers: [88, 26, 14] Generated Node #0,2: 85:[88, 26, 14] Operation: 34-20=14 Exploring Operation: 34+20=54, Resulting Numbers: [88, 26, 54] Generated Node #0,3: 85:[88, 26, 54] Operation: 34+20=54 Exploring Operation: 34+26=60, Resulting Numbers: [20, 88, 60] Generated Node #0,4: 85:[20, 88, 60] Operation: 34+26=60 Moving to Node #0,1 Current State: 85:[20, 88, 8], Operations: ['34-26=8'] Exploring Operation: 20+8=28, Resulting Numbers: [88, 28] Generated Node #0,1,0: 85:[88, 28] Operation: 20+8=28 Exploring Operation: 20-8=12, Resulting Numbers: [88, 12] Generated Node #0,1,1: 85:[88, 12] Operation: 20-8=12 Exploring Operation: 88+8=96, Resulting Numbers: [20, 96] Generated Node #0,1,2: 85:[20, 96] Operation: 88+8=96 Exploring Operation: 88/8=11, Resulting Numbers: [20, 11] Generated Node #0,1,3: 85:[20, 11] Operation: 88/8=11 Exploring Operation: 88-8=80, Resulting Numbers: [20, 80] Generated Node #0,1,4: 85:[20, 80] Operation: 88-8=80 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[88, 12], Operations: ['34-26=8', '20-8=12'] Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,85 unequal: No Solution Exploring Operation: 88+12=100, Resulting Numbers: [100] 100,85 unequal: No Solution Exploring Operation: 88*12=1056, Resulting Numbers: [1056] 1056,85 unequal: No Solution No 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: 85:[20, 80], Operations: ['34-26=8', '88-8=80'] Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 20*80=1600, Resulting Numbers: [1600] 1600,85 unequal: No Solution Exploring Operation: 20+80=100, Resulting Numbers: [100] 100,85 unequal: No Solution No 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: 85:[20, 11], Operations: ['34-26=8', '88/8=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,85 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,85 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,85 unequal: No Solution No 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: 85:[88, 28], Operations: ['34-26=8', '20+8=28'] Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 88+28=116, Resulting Numbers: [116] 116,85 unequal: No Solution Exploring Operation: 88*28=2464, Resulting Numbers: [2464] 2464,85 unequal: No Solution No 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: 85:[20, 96], Operations: ['34-26=8', '88+8=96'] Exploring Operation: 20+96=116, Resulting Numbers: [116] 116,85 unequal: No Solution Exploring Operation: 96-20=76, Resulting Numbers: [76] 76,85 unequal: No Solution Exploring Operation: 20*96=1920, Resulting Numbers: [1920] 1920,85 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: 85:[88, 26, 14], Operations: ['34-20=14'] Exploring Operation: 88+14=102, Resulting Numbers: [26, 102] Generated Node #0,2,0: 85:[26, 102] Operation: 88+14=102 Exploring Operation: 88-26=62, Resulting Numbers: [14, 62] Generated Node #0,2,1: 85:[14, 62] Operation: 88-26=62 Exploring Operation: 26+14=40, Resulting Numbers: [88, 40] Generated Node #0,2,2: 85:[88, 40] Operation: 26+14=40 Exploring Operation: 88-14=74, Resulting Numbers: [26, 74] Generated Node #0,2,3: 85:[26, 74] Operation: 88-14=74 Exploring Operation: 26-14=12, Resulting Numbers: [88, 12] Generated Node #0,2,4: 85:[88, 12] Operation: 26-14=12 Moving to Node #0,0 Current State: 85:[34, 88, 6], Operations: ['26-20=6'] Exploring Operation: 88-6=82, Resulting Numbers: [34, 82] Generated Node #0,0,0: 85:[34, 82] Operation: 88-6=82 Exploring Operation: 88+6=94, Resulting Numbers: [34, 94] Generated Node #0,0,1: 85:[34, 94] Operation: 88+6=94 Exploring Operation: 88-34=54, Resulting Numbers: [6, 54] Generated Node #0,0,2: 85:[6, 54] Operation: 88-34=54 Exploring Operation: 34-6=28, Resulting Numbers: [88, 28] Generated Node #0,0,3: 85:[88, 28] Operation: 34-6=28 Exploring Operation: 34+6=40, Resulting Numbers: [88, 40] Generated Node #0,0,4: 85:[88, 40] Operation: 34+6=40 Moving to Node #0,4 Current State: 85:[20, 88, 60], Operations: ['34+26=60'] Exploring Operation: 20+60=80, Resulting Numbers: [88, 80] Generated Node #0,4,0: 85:[88, 80] Operation: 20+60=80 Exploring Operation: 60/20=3, Resulting Numbers: [88, 3] Generated Node #0,4,1: 85:[88, 3] Operation: 60/20=3 Exploring Operation: 88-60=28, Resulting Numbers: [20, 28] Generated Node #0,4,2: 85:[20, 28] Operation: 88-60=28 Exploring Operation: 60-20=40, Resulting Numbers: [88, 40] Generated Node #0,4,3: 85:[88, 40] Operation: 60-20=40 Exploring Operation: 88-20=68, Resulting Numbers: [60, 68] Generated Node #0,4,4: 85:[60, 68] Operation: 88-20=68 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 85:[88, 3], Operations: ['34+26=60', '60/20=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[34, 20, 88, 26], Operations: [] Exploring Operation: 34+26=60, Resulting Numbers: [20, 88, 60] Generated Node #0,4: 85:[20, 88, 60] Operation: 34+26=60 Moving to Node #0,4 Current State: 85:[20, 88, 60], Operations: ['34+26=60'] Exploring Operation: 60/20=3, Resulting Numbers: [88, 3] Generated Node #0,4,1: 85:[88, 3] Operation: 60/20=3 Moving to Node #0,4,1 Current State: 85:[88, 3], Operations: ['34+26=60', '60/20=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
sum_heuristic
[ 27, 84, 12, 66 ]
33
[ "27+84=111", "12+66=78", "111-78=33" ]
Current State: 33:[27, 84, 12, 66], Operations: [] Exploring Operation: 27+84=111, Resulting Numbers: [12, 66, 111] Generated Node #2: [12, 66, 111] from Operation: 27+84=111 Current State: 33:[12, 66, 111], Operations: ['27+84=111'] Exploring Operation: 12+66=78, Resulting Numbers: [111, 78] Generated Node #3: [111, 78] from Operation: 12+66=78 Current State: 33:[111, 78], Operations: ['27+84=111', '12+66=78'] Exploring Operation: 111-78=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[27, 84, 12, 66], Operations: [] Exploring Operation: 84-66=18, Resulting Numbers: [27, 12, 18] Generated Node #0,0: 33:[27, 12, 18] Operation: 84-66=18 Exploring Operation: 84-27=57, Resulting Numbers: [12, 66, 57] Generated Node #0,1: 33:[12, 66, 57] Operation: 84-27=57 Exploring Operation: 84/12=7, Resulting Numbers: [27, 66, 7] Generated Node #0,2: 33:[27, 66, 7] Operation: 84/12=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[27, 12, 18], Operations: ['84-66=18'] Exploring Operation: 12+18=30, Resulting Numbers: [27, 30] Generated Node #0,0,0: 33:[27, 30] Operation: 12+18=30 Exploring Operation: 27-18=9, Resulting Numbers: [12, 9] Generated Node #0,0,1: 33:[12, 9] Operation: 27-18=9 Exploring Operation: 18-12=6, Resulting Numbers: [27, 6] Generated Node #0,0,2: 33:[27, 6] Operation: 18-12=6 Moving to Node #0,0,1 Current State: 33:[12, 9], Operations: ['84-66=18', '27-18=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[27, 30], Operations: ['84-66=18', '12+18=30'] Exploring Operation: 27+30=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 27*30=810, Resulting Numbers: [810] 810,33 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[27, 6], Operations: ['84-66=18', '18-12=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[27, 84, 12, 66], Operations: [] Exploring Operation: 84-66=18, Resulting Numbers: [27, 12, 18] Generated Node #0,0: 33:[27, 12, 18] Operation: 84-66=18 Moving to Node #0,0 Current State: 33:[27, 12, 18], Operations: ['84-66=18'] Exploring Operation: 18-12=6, Resulting Numbers: [27, 6] Generated Node #0,0,2: 33:[27, 6] Operation: 18-12=6 Moving to Node #0,0,2 Current State: 33:[27, 6], Operations: ['84-66=18', '18-12=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 38, 84, 32, 10 ]
91
[ "38+32=70", "70/10=7", "84+7=91" ]
Current State: 91:[38, 84, 32, 10], Operations: [] Exploring Operation: 38+32=70, Resulting Numbers: [84, 10, 70] Generated Node #2: [84, 10, 70] from Operation: 38+32=70 Current State: 91:[84, 10, 70], Operations: ['38+32=70'] Exploring Operation: 70/10=7, Resulting Numbers: [84, 7] Generated Node #3: [84, 7] from Operation: 70/10=7 Current State: 91:[84, 7], Operations: ['38+32=70', '70/10=7'] Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[38, 84, 32, 10], Operations: [] Exploring Operation: 38-32=6, Resulting Numbers: [84, 10, 6] Generated Node #0,0: 91:[84, 10, 6] Operation: 38-32=6 Moving to Node #0,0 Current State: 91:[84, 10, 6], Operations: ['38-32=6'] Exploring Operation: 84+10=94, Resulting Numbers: [6, 94] Generated Node #0,0,0: 91:[6, 94] Operation: 84+10=94 Moving to Node #0,0,0 Current State: 91:[6, 94], Operations: ['38-32=6', '84+10=94'] Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,91 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 34, 36, 38, 75 ]
92
[ "38-36=2", "34/2=17", "75+17=92" ]
Current State: 92:[34, 36, 38, 75], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [34, 75, 2] Generated Node #2: [34, 75, 2] from Operation: 38-36=2 Current State: 92:[34, 75, 2], Operations: ['38-36=2'] Exploring Operation: 34/2=17, Resulting Numbers: [75, 17] Generated Node #3: [75, 17] from Operation: 34/2=17 Current State: 92:[75, 17], Operations: ['38-36=2', '34/2=17'] Exploring Operation: 75+17=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[34, 36, 38, 75], Operations: [] Exploring Operation: 75-34=41, Resulting Numbers: [36, 38, 41] Generated Node #0,0: 92:[36, 38, 41] Operation: 75-34=41 Exploring Operation: 75-36=39, Resulting Numbers: [34, 38, 39] Generated Node #0,1: 92:[34, 38, 39] Operation: 75-36=39 Exploring Operation: 36-34=2, Resulting Numbers: [38, 75, 2] Generated Node #0,2: 92:[38, 75, 2] Operation: 36-34=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[36, 38, 41], Operations: ['75-34=41'] Exploring Operation: 41-36=5, Resulting Numbers: [38, 5] Generated Node #0,0,0: 92:[38, 5] Operation: 41-36=5 Exploring Operation: 41-38=3, Resulting Numbers: [36, 3] Generated Node #0,0,1: 92:[36, 3] Operation: 41-38=3 Exploring Operation: 38-36=2, Resulting Numbers: [41, 2] Generated Node #0,0,2: 92:[41, 2] Operation: 38-36=2 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 92:[41, 2], Operations: ['75-34=41', '38-36=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[38, 5], Operations: ['75-34=41', '41-36=5'] Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,92 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,92 unequal: No Solution Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[36, 3], Operations: ['75-34=41', '41-38=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,92 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[38, 75, 2], Operations: ['36-34=2'] Exploring Operation: 38/2=19, Resulting Numbers: [75, 19] Generated Node #0,2,0: 92:[75, 19] Operation: 38/2=19 Exploring Operation: 38+75=113, Resulting Numbers: [2, 113] Generated Node #0,2,1: 92:[2, 113] Operation: 38+75=113 Exploring Operation: 75-38=37, Resulting Numbers: [2, 37] Generated Node #0,2,2: 92:[2, 37] Operation: 75-38=37 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[2, 37], Operations: ['36-34=2', '75-38=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,92 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[75, 19], Operations: ['36-34=2', '38/2=19'] Exploring Operation: 75-19=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 75*19=1425, Resulting Numbers: [1425] 1425,92 unequal: No Solution Exploring Operation: 75+19=94, Resulting Numbers: [94] 94,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 92:[2, 113], Operations: ['36-34=2', '38+75=113'] Exploring Operation: 2+113=115, Resulting Numbers: [115] 115,92 unequal: No Solution Exploring Operation: 2*113=226, Resulting Numbers: [226] 226,92 unequal: No Solution Exploring Operation: 113-2=111, Resulting Numbers: [111] 111,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[34, 38, 39], Operations: ['75-36=39'] Exploring Operation: 38-34=4, Resulting Numbers: [39, 4] Generated Node #0,1,0: 92:[39, 4] Operation: 38-34=4 Exploring Operation: 39-34=5, Resulting Numbers: [38, 5] Generated Node #0,1,1: 92:[38, 5] Operation: 39-34=5 Exploring Operation: 39-38=1, Resulting Numbers: [34, 1] Generated Node #0,1,2: 92:[34, 1] Operation: 39-38=1 Moving to Node #0,1,0 Current State: 92:[39, 4], Operations: ['75-36=39', '38-34=4'] Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,92 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[38, 5], Operations: ['75-36=39', '39-34=5'] Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,92 unequal: No Solution Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[34, 1], Operations: ['75-36=39', '39-38=1'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,92 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 62, 61, 59, 83 ]
23
[ "62-61=1", "83-59=24", "24-1=23" ]
Current State: 23:[62, 61, 59, 83], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [59, 83, 1] Generated Node #2: [59, 83, 1] from Operation: 62-61=1 Current State: 23:[59, 83, 1], Operations: ['62-61=1'] Exploring Operation: 83-59=24, Resulting Numbers: [1, 24] Generated Node #3: [1, 24] from Operation: 83-59=24 Current State: 23:[1, 24], Operations: ['62-61=1', '83-59=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[62, 61, 59, 83], Operations: [] Exploring Operation: 62-59=3, Resulting Numbers: [61, 83, 3] Generated Node #0,0: 23:[61, 83, 3] Operation: 62-59=3 Exploring Operation: 83-59=24, Resulting Numbers: [62, 61, 24] Generated Node #0,1: 23:[62, 61, 24] Operation: 83-59=24 Exploring Operation: 83-62=21, Resulting Numbers: [61, 59, 21] Generated Node #0,2: 23:[61, 59, 21] Operation: 83-62=21 Exploring Operation: 83-61=22, Resulting Numbers: [62, 59, 22] Generated Node #0,3: 23:[62, 59, 22] Operation: 83-61=22 Exploring Operation: 62-61=1, Resulting Numbers: [59, 83, 1] Generated Node #0,4: 23:[59, 83, 1] Operation: 62-61=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[61, 59, 21], Operations: ['83-62=21'] Exploring Operation: 59-21=38, Resulting Numbers: [61, 38] Generated Node #0,2,0: 23:[61, 38] Operation: 59-21=38 Exploring Operation: 61-59=2, Resulting Numbers: [21, 2] Generated Node #0,2,1: 23:[21, 2] Operation: 61-59=2 Exploring Operation: 59+21=80, Resulting Numbers: [61, 80] Generated Node #0,2,2: 23:[61, 80] Operation: 59+21=80 Exploring Operation: 61+21=82, Resulting Numbers: [59, 82] Generated Node #0,2,3: 23:[59, 82] Operation: 61+21=82 Exploring Operation: 61-21=40, Resulting Numbers: [59, 40] Generated Node #0,2,4: 23:[59, 40] Operation: 61-21=40 Moving to Node #0,2,1 Current State: 23:[21, 2], Operations: ['83-62=21', '61-59=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[62, 61, 59, 83], Operations: [] Exploring Operation: 83-62=21, Resulting Numbers: [61, 59, 21] Generated Node #0,2: 23:[61, 59, 21] Operation: 83-62=21 Moving to Node #0,2 Current State: 23:[61, 59, 21], Operations: ['83-62=21'] Exploring Operation: 61-59=2, Resulting Numbers: [21, 2] Generated Node #0,2,1: 23:[21, 2] Operation: 61-59=2 Moving to Node #0,2,1 Current State: 23:[21, 2], Operations: ['83-62=21', '61-59=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 12, 11, 14, 7 ]
99
[ "12-11=1", "14*7=98", "1+98=99" ]
Current State: 99:[12, 11, 14, 7], Operations: [] Exploring Operation: 12-11=1, Resulting Numbers: [14, 7, 1] Generated Node #2: [14, 7, 1] from Operation: 12-11=1 Current State: 99:[14, 7, 1], Operations: ['12-11=1'] Exploring Operation: 14*7=98, Resulting Numbers: [1, 98] Generated Node #3: [1, 98] from Operation: 14*7=98 Current State: 99:[1, 98], Operations: ['12-11=1', '14*7=98'] Exploring Operation: 1+98=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[12, 11, 14, 7], Operations: [] Exploring Operation: 14*7=98, Resulting Numbers: [12, 11, 98] Generated Node #0,0: 99:[12, 11, 98] Operation: 14*7=98 Exploring Operation: 14/7=2, Resulting Numbers: [12, 11, 2] Generated Node #0,1: 99:[12, 11, 2] Operation: 14/7=2 Exploring Operation: 14-12=2, Resulting Numbers: [11, 7, 2] Generated Node #0,2: 99:[11, 7, 2] Operation: 14-12=2 Moving to Node #0,0 Current State: 99:[12, 11, 98], Operations: ['14*7=98'] Exploring Operation: 12+11=23, Resulting Numbers: [98, 23] Generated Node #0,0,0: 99:[98, 23] Operation: 12+11=23 Exploring Operation: 12+98=110, Resulting Numbers: [11, 110] Generated Node #0,0,1: 99:[11, 110] Operation: 12+98=110 Exploring Operation: 12-11=1, Resulting Numbers: [98, 1] Generated Node #0,0,2: 99:[98, 1] Operation: 12-11=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 99:[98, 1], Operations: ['14*7=98', '12-11=1'] Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,99 unequal: No Solution Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[12, 11, 14, 7], Operations: [] Exploring Operation: 14*7=98, Resulting Numbers: [12, 11, 98] Generated Node #0,0: 99:[12, 11, 98] Operation: 14*7=98 Moving to Node #0,0 Current State: 99:[12, 11, 98], Operations: ['14*7=98'] Exploring Operation: 12-11=1, Resulting Numbers: [98, 1] Generated Node #0,0,2: 99:[98, 1] Operation: 12-11=1 Moving to Node #0,0,2 Current State: 99:[98, 1], Operations: ['14*7=98', '12-11=1'] Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 27, 7, 36, 13 ]
11
[ "27+7=34", "36-13=23", "34-23=11" ]
Current State: 11:[27, 7, 36, 13], Operations: [] Exploring Operation: 27+7=34, Resulting Numbers: [36, 13, 34] Generated Node #2: [36, 13, 34] from Operation: 27+7=34 Current State: 11:[36, 13, 34], Operations: ['27+7=34'] Exploring Operation: 36-13=23, Resulting Numbers: [34, 23] Generated Node #3: [34, 23] from Operation: 36-13=23 Current State: 11:[34, 23], Operations: ['27+7=34', '36-13=23'] Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[27, 7, 36, 13], Operations: [] Exploring Operation: 27-13=14, Resulting Numbers: [7, 36, 14] Generated Node #0,0: 11:[7, 36, 14] Operation: 27-13=14 Exploring Operation: 36-27=9, Resulting Numbers: [7, 13, 9] Generated Node #0,1: 11:[7, 13, 9] Operation: 36-27=9 Exploring Operation: 36-13=23, Resulting Numbers: [27, 7, 23] Generated Node #0,2: 11:[27, 7, 23] Operation: 36-13=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[7, 13, 9], Operations: ['36-27=9'] Exploring Operation: 7+13=20, Resulting Numbers: [9, 20] Generated Node #0,1,0: 11:[9, 20] Operation: 7+13=20 Exploring Operation: 7+9=16, Resulting Numbers: [13, 16] Generated Node #0,1,1: 11:[13, 16] Operation: 7+9=16 Exploring Operation: 13-7=6, Resulting Numbers: [9, 6] Generated Node #0,1,2: 11:[9, 6] Operation: 13-7=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[13, 16], Operations: ['36-27=9', '7+9=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,11 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[9, 6], Operations: ['36-27=9', '13-7=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,11 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[9, 20], Operations: ['36-27=9', '7+13=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[27, 7, 36, 13], Operations: [] Exploring Operation: 36-27=9, Resulting Numbers: [7, 13, 9] Generated Node #0,1: 11:[7, 13, 9] Operation: 36-27=9 Moving to Node #0,1 Current State: 11:[7, 13, 9], Operations: ['36-27=9'] Exploring Operation: 7+13=20, Resulting Numbers: [9, 20] Generated Node #0,1,0: 11:[9, 20] Operation: 7+13=20 Moving to Node #0,1,0 Current State: 11:[9, 20], Operations: ['36-27=9', '7+13=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 54, 61, 7, 50 ]
64
[ "61-54=7", "7+50=57", "7+57=64" ]
Current State: 64:[54, 61, 7, 50], Operations: [] Exploring Operation: 61-54=7, Resulting Numbers: [7, 50, 7] Generated Node #2: [7, 50, 7] from Operation: 61-54=7 Current State: 64:[7, 50, 7], Operations: ['61-54=7'] Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,64 equal: Goal Reached Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[54, 61, 7, 50], Operations: [] Exploring Operation: 61-50=11, Resulting Numbers: [54, 7, 11] Generated Node #0,0: 64:[54, 7, 11] Operation: 61-50=11 Exploring Operation: 54-50=4, Resulting Numbers: [61, 7, 4] Generated Node #0,1: 64:[61, 7, 4] Operation: 54-50=4 Exploring Operation: 61-54=7, Resulting Numbers: [7, 50, 7] Generated Node #0,2: 64:[7, 50, 7] Operation: 61-54=7 Moving to Node #0,1 Current State: 64:[61, 7, 4], Operations: ['54-50=4'] Exploring Operation: 61+4=65, Resulting Numbers: [7, 65] Generated Node #0,1,0: 64:[7, 65] Operation: 61+4=65 Exploring Operation: 61+7=68, Resulting Numbers: [4, 68] Generated Node #0,1,1: 64:[4, 68] Operation: 61+7=68 Exploring Operation: 7-4=3, Resulting Numbers: [61, 3] Generated Node #0,1,2: 64:[61, 3] Operation: 7-4=3 Moving to Node #0,0 Current State: 64:[54, 7, 11], Operations: ['61-50=11'] Exploring Operation: 11-7=4, Resulting Numbers: [54, 4] Generated Node #0,0,0: 64:[54, 4] Operation: 11-7=4 Exploring Operation: 54+11=65, Resulting Numbers: [7, 65] Generated Node #0,0,1: 64:[7, 65] Operation: 54+11=65 Exploring Operation: 54+7=61, Resulting Numbers: [11, 61] Generated Node #0,0,2: 64:[11, 61] Operation: 54+7=61 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[7, 65], Operations: ['61-50=11', '54+11=65'] Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 7*65=455, Resulting Numbers: [455] 455,64 unequal: No Solution Exploring Operation: 7+65=72, Resulting Numbers: [72] 72,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[11, 61], Operations: ['61-50=11', '54+7=61'] Exploring Operation: 11+61=72, Resulting Numbers: [72] 72,64 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 11*61=671, Resulting Numbers: [671] 671,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[54, 4], Operations: ['61-50=11', '11-7=4'] Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,64 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: 64:[7, 50, 7], Operations: ['61-54=7'] Exploring Operation: 7+50=57, Resulting Numbers: [7, 57] Generated Node #0,2,0: 64:[7, 57] Operation: 7+50=57 Exploring Operation: 50-7=43, Resulting Numbers: [7, 43] Generated Node #0,2,1: 64:[7, 43] Operation: 50-7=43 Exploring Operation: 50+7=57, Resulting Numbers: [7, 57] Generated Node #0,2,2: 64:[7, 57] Operation: 50+7=57 Moving to Node #0,1,0 Current State: 64:[7, 65], Operations: ['54-50=4', '61+4=65'] Exploring Operation: 7+65=72, Resulting Numbers: [72] 72,64 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 7*65=455, Resulting Numbers: [455] 455,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[61, 3], Operations: ['54-50=4', '7-4=3'] Exploring Operation: 61*3=183, Resulting Numbers: [183] 183,64 unequal: No Solution Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[54, 61, 7, 50], Operations: [] Exploring Operation: 54-50=4, Resulting Numbers: [61, 7, 4] Generated Node #0,1: 64:[61, 7, 4] Operation: 54-50=4 Moving to Node #0,1 Current State: 64:[61, 7, 4], Operations: ['54-50=4'] Exploring Operation: 7-4=3, Resulting Numbers: [61, 3] Generated Node #0,1,2: 64:[61, 3] Operation: 7-4=3 Moving to Node #0,1,2 Current State: 64:[61, 3], Operations: ['54-50=4', '7-4=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.973958
hs_3
sum_heuristic
[ 2, 6, 93, 54 ]
69
[ "6/2=3", "54*3=162", "162-93=69" ]
Current State: 69:[2, 6, 93, 54], Operations: [] Exploring Operation: 6/2=3, Resulting Numbers: [93, 54, 3] Generated Node #2: [93, 54, 3] from Operation: 6/2=3 Current State: 69:[93, 54, 3], Operations: ['6/2=3'] Exploring Operation: 54*3=162, Resulting Numbers: [93, 162] Generated Node #3: [93, 162] from Operation: 54*3=162 Current State: 69:[93, 162], Operations: ['6/2=3', '54*3=162'] Exploring Operation: 162-93=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[2, 6, 93, 54], Operations: [] Exploring Operation: 93-54=39, Resulting Numbers: [2, 6, 39] Generated Node #0,0: 69:[2, 6, 39] Operation: 93-54=39 Exploring Operation: 6+54=60, Resulting Numbers: [2, 93, 60] Generated Node #0,1: 69:[2, 93, 60] Operation: 6+54=60 Exploring Operation: 54/2=27, Resulting Numbers: [6, 93, 27] Generated Node #0,2: 69:[6, 93, 27] Operation: 54/2=27 Exploring Operation: 54/6=9, Resulting Numbers: [2, 93, 9] Generated Node #0,3: 69:[2, 93, 9] Operation: 54/6=9 Exploring Operation: 93-6=87, Resulting Numbers: [2, 54, 87] Generated Node #0,4: 69:[2, 54, 87] Operation: 93-6=87 Moving to Node #0,0 Current State: 69:[2, 6, 39], Operations: ['93-54=39'] Exploring Operation: 39-2=37, Resulting Numbers: [6, 37] Generated Node #0,0,0: 69:[6, 37] Operation: 39-2=37 Exploring Operation: 6/2=3, Resulting Numbers: [39, 3] Generated Node #0,0,1: 69:[39, 3] Operation: 6/2=3 Exploring Operation: 39-6=33, Resulting Numbers: [2, 33] Generated Node #0,0,2: 69:[2, 33] Operation: 39-6=33 Exploring Operation: 2*39=78, Resulting Numbers: [6, 78] Generated Node #0,0,3: 69:[6, 78] Operation: 2*39=78 Exploring Operation: 6-2=4, Resulting Numbers: [39, 4] Generated Node #0,0,4: 69:[39, 4] Operation: 6-2=4 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 69:[2, 33], Operations: ['93-54=39', '39-6=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 69:[6, 78], Operations: ['93-54=39', '2*39=78'] Exploring Operation: 6*78=468, Resulting Numbers: [468] 468,69 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[39, 3], Operations: ['93-54=39', '6/2=3'] Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,69 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[6, 37], Operations: ['93-54=39', '39-2=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,69 unequal: No Solution Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 69:[39, 4], Operations: ['93-54=39', '6-2=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,69 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,69 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: 69:[2, 93, 9], Operations: ['54/6=9'] Exploring Operation: 93-2=91, Resulting Numbers: [9, 91] Generated Node #0,3,0: 69:[9, 91] Operation: 93-2=91 Exploring Operation: 93-9=84, Resulting Numbers: [2, 84] Generated Node #0,3,1: 69:[2, 84] Operation: 93-9=84 Exploring Operation: 9-2=7, Resulting Numbers: [93, 7] Generated Node #0,3,2: 69:[93, 7] Operation: 9-2=7 Exploring Operation: 2+93=95, Resulting Numbers: [9, 95] Generated Node #0,3,3: 69:[9, 95] Operation: 2+93=95 Exploring Operation: 2*9=18, Resulting Numbers: [93, 18] Generated Node #0,3,4: 69:[93, 18] Operation: 2*9=18 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[2, 84], Operations: ['54/6=9', '93-9=84'] Exploring Operation: 2*84=168, Resulting Numbers: [168] 168,69 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,69 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,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,0 Current State: 69:[9, 91], Operations: ['54/6=9', '93-2=91'] Exploring Operation: 9*91=819, Resulting Numbers: [819] 819,69 unequal: No Solution Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 9+91=100, Resulting Numbers: [100] 100,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:[93, 7], Operations: ['54/6=9', '9-2=7'] Exploring Operation: 93-7=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 93+7=100, Resulting Numbers: [100] 100,69 unequal: No Solution Exploring Operation: 93*7=651, Resulting Numbers: [651] 651,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,4 Current State: 69:[93, 18], Operations: ['54/6=9', '2*9=18'] Exploring Operation: 93+18=111, Resulting Numbers: [111] 111,69 unequal: No Solution Exploring Operation: 93*18=1674, Resulting Numbers: [1674] 1674,69 unequal: No Solution Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,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:[9, 95], Operations: ['54/6=9', '2+93=95'] Exploring Operation: 9*95=855, Resulting Numbers: [855] 855,69 unequal: No Solution Exploring Operation: 9+95=104, Resulting Numbers: [104] 104,69 unequal: No Solution Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,69 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: 69:[6, 93, 27], Operations: ['54/2=27'] Exploring Operation: 93-27=66, Resulting Numbers: [6, 66] Generated Node #0,2,0: 69:[6, 66] Operation: 93-27=66 Exploring Operation: 27-6=21, Resulting Numbers: [93, 21] Generated Node #0,2,1: 69:[93, 21] Operation: 27-6=21 Exploring Operation: 6+93=99, Resulting Numbers: [27, 99] Generated Node #0,2,2: 69:[27, 99] Operation: 6+93=99 Exploring Operation: 6+27=33, Resulting Numbers: [93, 33] Generated Node #0,2,3: 69:[93, 33] Operation: 6+27=33 Exploring Operation: 93-6=87, Resulting Numbers: [27, 87] Generated Node #0,2,4: 69:[27, 87] Operation: 93-6=87 Moving to Node #0,1 Current State: 69:[2, 93, 60], Operations: ['6+54=60'] Exploring Operation: 93-60=33, Resulting Numbers: [2, 33] Generated Node #0,1,0: 69:[2, 33] Operation: 93-60=33 Exploring Operation: 2+93=95, Resulting Numbers: [60, 95] Generated Node #0,1,1: 69:[60, 95] Operation: 2+93=95 Exploring Operation: 2+60=62, Resulting Numbers: [93, 62] Generated Node #0,1,2: 69:[93, 62] Operation: 2+60=62 Exploring Operation: 60/2=30, Resulting Numbers: [93, 30] Generated Node #0,1,3: 69:[93, 30] Operation: 60/2=30 Exploring Operation: 93-2=91, Resulting Numbers: [60, 91] Generated Node #0,1,4: 69:[60, 91] Operation: 93-2=91 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[2, 33], Operations: ['6+54=60', '93-60=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 69:[93, 62], Operations: ['6+54=60', '2+60=62'] Exploring Operation: 93+62=155, Resulting Numbers: [155] 155,69 unequal: No Solution Exploring Operation: 93-62=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 93*62=5766, Resulting Numbers: [5766] 5766,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 69:[93, 30], Operations: ['6+54=60', '60/2=30'] Exploring Operation: 93*30=2790, Resulting Numbers: [2790] 2790,69 unequal: No Solution Exploring Operation: 93-30=63, Resulting Numbers: [63] 63,69 unequal: No Solution Exploring Operation: 93+30=123, Resulting Numbers: [123] 123,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 69:[60, 91], Operations: ['6+54=60', '93-2=91'] Exploring Operation: 60+91=151, Resulting Numbers: [151] 151,69 unequal: No Solution Exploring Operation: 60*91=5460, Resulting Numbers: [5460] 5460,69 unequal: No Solution Exploring Operation: 91-60=31, Resulting Numbers: [31] 31,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 69:[60, 95], Operations: ['6+54=60', '2+93=95'] Exploring Operation: 60+95=155, Resulting Numbers: [155] 155,69 unequal: No Solution Exploring Operation: 60*95=5700, Resulting Numbers: [5700] 5700,69 unequal: No Solution Exploring Operation: 95-60=35, Resulting Numbers: [35] 35,69 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: 69:[2, 54, 87], Operations: ['93-6=87'] Exploring Operation: 54/2=27, Resulting Numbers: [87, 27] Generated Node #0,4,0: 69:[87, 27] Operation: 54/2=27 Exploring Operation: 54-2=52, Resulting Numbers: [87, 52] Generated Node #0,4,1: 69:[87, 52] Operation: 54-2=52 Exploring Operation: 87-54=33, Resulting Numbers: [2, 33] Generated Node #0,4,2: 69:[2, 33] Operation: 87-54=33 Exploring Operation: 87-2=85, Resulting Numbers: [54, 85] Generated Node #0,4,3: 69:[54, 85] Operation: 87-2=85 Exploring Operation: 2+54=56, Resulting Numbers: [87, 56] Generated Node #0,4,4: 69:[87, 56] Operation: 2+54=56 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 69:[2, 33], Operations: ['93-6=87', '87-54=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,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,4,0 Current State: 69:[87, 27], Operations: ['93-6=87', '54/2=27'] Exploring Operation: 87-27=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 87+27=114, Resulting Numbers: [114] 114,69 unequal: No Solution Exploring Operation: 87*27=2349, Resulting Numbers: [2349] 2349,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,4,3 Current State: 69:[54, 85], Operations: ['93-6=87', '87-2=85'] Exploring Operation: 54*85=4590, Resulting Numbers: [4590] 4590,69 unequal: No Solution Exploring Operation: 54+85=139, Resulting Numbers: [139] 139,69 unequal: No Solution Exploring Operation: 85-54=31, Resulting Numbers: [31] 31,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,4,4 Current State: 69:[87, 56], Operations: ['93-6=87', '2+54=56'] Exploring Operation: 87-56=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 87*56=4872, Resulting Numbers: [4872] 4872,69 unequal: No Solution Exploring Operation: 87+56=143, Resulting Numbers: [143] 143,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,4,1 Current State: 69:[87, 52], Operations: ['93-6=87', '54-2=52'] Exploring Operation: 87*52=4524, Resulting Numbers: [4524] 4524,69 unequal: No Solution Exploring Operation: 87+52=139, Resulting Numbers: [139] 139,69 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,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:[6, 66], Operations: ['54/2=27', '93-27=66'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,69 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 6*66=396, Resulting Numbers: [396] 396,69 unequal: No Solution Exploring Operation: 6+66=72, Resulting Numbers: [72] 72,69 unequal: No Solution Moving to Node #0,2,4 Current State: 69:[27, 87], Operations: ['54/2=27', '93-6=87'] Exploring Operation: 27+87=114, Resulting Numbers: [114] 114,69 unequal: No Solution Exploring Operation: 27*87=2349, Resulting Numbers: [2349] 2349,69 unequal: No Solution Exploring Operation: 87-27=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[93, 21], Operations: ['54/2=27', '27-6=21'] Exploring Operation: 93+21=114, Resulting Numbers: [114] 114,69 unequal: No Solution Exploring Operation: 93*21=1953, Resulting Numbers: [1953] 1953,69 unequal: No Solution Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[27, 99], Operations: ['54/2=27', '6+93=99'] Exploring Operation: 99-27=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 27+99=126, Resulting Numbers: [126] 126,69 unequal: No Solution Exploring Operation: 27*99=2673, Resulting Numbers: [2673] 2673,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[93, 33], Operations: ['54/2=27', '6+27=33'] Exploring Operation: 93-33=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 93*33=3069, Resulting Numbers: [3069] 3069,69 unequal: No Solution Exploring Operation: 93+33=126, Resulting Numbers: [126] 126,69 unequal: No Solution No solution found.
0
hs_5
mult_heuristic