Datasets:

nums
listlengths
4
4
target
int64
10
100
solution
listlengths
3
3
optimal_path
stringlengths
282
529
start_size
int64
4
4
search_path
stringlengths
505
16.8k
rating
float64
0
0.99
search_type
stringclasses
5 values
heuristic
stringclasses
2 values
[ 9, 68, 36, 15 ]
80
[ "68-9=59", "36-15=21", "59+21=80" ]
Current State: 80:[9, 68, 36, 15], Operations: [] Exploring Operation: 68-9=59, Resulting Numbers: [36, 15, 59] Generated Node #2: [36, 15, 59] from Operation: 68-9=59 Current State: 80:[36, 15, 59], Operations: ['68-9=59'] Exploring Operation: 36-15=21, Resulting Numbers: [59, 21] Generated Node #3: [59, 21] from Operation: 36-15=21 Current State: 80:[59, 21], Operations: ['68-9=59', '36-15=21'] Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[9, 68, 36, 15], Operations: [] Exploring Operation: 9+68=77, Resulting Numbers: [36, 15, 77] Generated Node #0,0: 80:[36, 15, 77] Operation: 9+68=77 Exploring Operation: 68+15=83, Resulting Numbers: [9, 36, 83] Generated Node #0,1: 80:[9, 36, 83] Operation: 68+15=83 Exploring Operation: 68-36=32, Resulting Numbers: [9, 15, 32] Generated Node #0,2: 80:[9, 15, 32] Operation: 68-36=32 Moving to Node #0,0 Current State: 80:[36, 15, 77], Operations: ['9+68=77'] Exploring Operation: 36+15=51, Resulting Numbers: [77, 51] Generated Node #0,0,0: 80:[77, 51] Operation: 36+15=51 Exploring Operation: 36-15=21, Resulting Numbers: [77, 21] Generated Node #0,0,1: 80:[77, 21] Operation: 36-15=21 Exploring Operation: 77-36=41, Resulting Numbers: [15, 41] Generated Node #0,0,2: 80:[15, 41] Operation: 77-36=41 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[15, 41], Operations: ['9+68=77', '77-36=41'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,80 unequal: No Solution Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,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,0,1 Current State: 80:[77, 21], Operations: ['9+68=77', '36-15=21'] Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,80 unequal: No Solution Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,80 unequal: No Solution Exploring Operation: 77*21=1617, Resulting Numbers: [1617] 1617,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,0,0 Current State: 80:[77, 51], Operations: ['9+68=77', '36+15=51'] Exploring Operation: 77*51=3927, Resulting Numbers: [3927] 3927,80 unequal: No Solution Exploring Operation: 77+51=128, Resulting Numbers: [128] 128,80 unequal: No Solution Exploring Operation: 77-51=26, Resulting Numbers: [26] 26,80 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: 80:[9, 36, 83], Operations: ['68+15=83'] Exploring Operation: 83-36=47, Resulting Numbers: [9, 47] Generated Node #0,1,0: 80:[9, 47] Operation: 83-36=47 Exploring Operation: 9+36=45, Resulting Numbers: [83, 45] Generated Node #0,1,1: 80:[83, 45] Operation: 9+36=45 Exploring Operation: 36/9=4, Resulting Numbers: [83, 4] Generated Node #0,1,2: 80:[83, 4] Operation: 36/9=4 Moving to Node #0,2 Current State: 80:[9, 15, 32], Operations: ['68-36=32'] Exploring Operation: 9+32=41, Resulting Numbers: [15, 41] Generated Node #0,2,0: 80:[15, 41] Operation: 9+32=41 Exploring Operation: 32-9=23, Resulting Numbers: [15, 23] Generated Node #0,2,1: 80:[15, 23] Operation: 32-9=23 Exploring Operation: 32-15=17, Resulting Numbers: [9, 17] Generated Node #0,2,2: 80:[9, 17] Operation: 32-15=17 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[15, 41], Operations: ['68-36=32', '9+32=41'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,80 unequal: No Solution Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,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,2,2 Current State: 80:[9, 17], Operations: ['68-36=32', '32-15=17'] Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,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,2,1 Current State: 80:[15, 23], Operations: ['68-36=32', '32-9=23'] Exploring Operation: 15+23=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 15*23=345, Resulting Numbers: [345] 345,80 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,80 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: 80:[83, 4], Operations: ['68+15=83', '36/9=4'] Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,80 unequal: No Solution Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,80 unequal: No Solution Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[9, 47], Operations: ['68+15=83', '83-36=47'] Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,80 unequal: No Solution Exploring Operation: 9*47=423, Resulting Numbers: [423] 423,80 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[83, 45], Operations: ['68+15=83', '9+36=45'] Exploring Operation: 83*45=3735, Resulting Numbers: [3735] 3735,80 unequal: No Solution Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 83+45=128, Resulting Numbers: [128] 128,80 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 75, 84, 41, 67 ]
17
[ "84-75=9", "67-41=26", "26-9=17" ]
Current State: 17:[75, 84, 41, 67], Operations: [] Exploring Operation: 84-75=9, Resulting Numbers: [41, 67, 9] Generated Node #2: [41, 67, 9] from Operation: 84-75=9 Current State: 17:[41, 67, 9], Operations: ['84-75=9'] Exploring Operation: 67-41=26, Resulting Numbers: [9, 26] Generated Node #3: [9, 26] from Operation: 67-41=26 Current State: 17:[9, 26], Operations: ['84-75=9', '67-41=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[75, 84, 41, 67], Operations: [] Exploring Operation: 75-67=8, Resulting Numbers: [84, 41, 8] Generated Node #0,0: 17:[84, 41, 8] Operation: 75-67=8 Exploring Operation: 84-75=9, Resulting Numbers: [41, 67, 9] Generated Node #0,1: 17:[41, 67, 9] Operation: 84-75=9 Exploring Operation: 84-67=17, Resulting Numbers: [75, 41, 17] Generated Node #0,2: 17:[75, 41, 17] Operation: 84-67=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[41, 67, 9], Operations: ['84-75=9'] Exploring Operation: 41-9=32, Resulting Numbers: [67, 32] Generated Node #0,1,0: 17:[67, 32] Operation: 41-9=32 Exploring Operation: 67-9=58, Resulting Numbers: [41, 58] Generated Node #0,1,1: 17:[41, 58] Operation: 67-9=58 Exploring Operation: 67-41=26, Resulting Numbers: [9, 26] Generated Node #0,1,2: 17:[9, 26] Operation: 67-41=26 Moving to Node #0,1,2 Current State: 17:[9, 26], Operations: ['84-75=9', '67-41=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,17 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[75, 84, 41, 67], Operations: [] Exploring Operation: 84-75=9, Resulting Numbers: [41, 67, 9] Generated Node #0,1: 17:[41, 67, 9] Operation: 84-75=9 Moving to Node #0,1 Current State: 17:[41, 67, 9], Operations: ['84-75=9'] Exploring Operation: 67-41=26, Resulting Numbers: [9, 26] Generated Node #0,1,2: 17:[9, 26] Operation: 67-41=26 Moving to Node #0,1,2 Current State: 17:[9, 26], Operations: ['84-75=9', '67-41=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 20, 20, 90, 39 ]
91
[ "20+20=40", "90-39=51", "40+51=91" ]
Current State: 91:[20, 20, 90, 39], Operations: [] Exploring Operation: 20+20=40, Resulting Numbers: [90, 39, 40] Generated Node #2: [90, 39, 40] from Operation: 20+20=40 Current State: 91:[90, 39, 40], Operations: ['20+20=40'] Exploring Operation: 90-39=51, Resulting Numbers: [40, 51] Generated Node #3: [40, 51] from Operation: 90-39=51 Current State: 91:[40, 51], Operations: ['20+20=40', '90-39=51'] Exploring Operation: 40+51=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[20, 20, 90, 39], Operations: [] Exploring Operation: 39-20=19, Resulting Numbers: [20, 90, 19] Generated Node #0,0: 91:[20, 90, 19] Operation: 39-20=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[20, 90, 19], Operations: ['39-20=19'] Exploring Operation: 20-19=1, Resulting Numbers: [90, 1] Generated Node #0,0,0: 91:[90, 1] Operation: 20-19=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[90, 1], Operations: ['39-20=19', '20-19=1'] Exploring Operation: 90+1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[20, 20, 90, 39], Operations: [] Exploring Operation: 39-20=19, Resulting Numbers: [20, 90, 19] Generated Node #0,0: 91:[20, 90, 19] Operation: 39-20=19 Moving to Node #0,0 Current State: 91:[20, 90, 19], Operations: ['39-20=19'] Exploring Operation: 20-19=1, Resulting Numbers: [90, 1] Generated Node #0,0,0: 91:[90, 1] Operation: 20-19=1 Moving to Node #0,0,0 Current State: 91:[90, 1], Operations: ['39-20=19', '20-19=1'] Exploring Operation: 90+1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 53, 14, 18, 7 ]
64
[ "53-14=39", "18+7=25", "39+25=64" ]
Current State: 64:[53, 14, 18, 7], Operations: [] Exploring Operation: 53-14=39, Resulting Numbers: [18, 7, 39] Generated Node #2: [18, 7, 39] from Operation: 53-14=39 Current State: 64:[18, 7, 39], Operations: ['53-14=39'] Exploring Operation: 18+7=25, Resulting Numbers: [39, 25] Generated Node #3: [39, 25] from Operation: 18+7=25 Current State: 64:[39, 25], Operations: ['53-14=39', '18+7=25'] Exploring Operation: 39+25=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[53, 14, 18, 7], Operations: [] Exploring Operation: 53+14=67, Resulting Numbers: [18, 7, 67] Generated Node #0,0: 64:[18, 7, 67] Operation: 53+14=67 Moving to Node #0,0 Current State: 64:[18, 7, 67], Operations: ['53+14=67'] Exploring Operation: 18-7=11, Resulting Numbers: [67, 11] Generated Node #0,0,0: 64:[67, 11] Operation: 18-7=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[67, 11], Operations: ['53+14=67', '18-7=11'] Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,64 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
[ 72, 30, 16, 60 ]
80
[ "30*16=480", "480/60=8", "72+8=80" ]
Current State: 80:[72, 30, 16, 60], Operations: [] Exploring Operation: 30*16=480, Resulting Numbers: [72, 60, 480] Generated Node #2: [72, 60, 480] from Operation: 30*16=480 Current State: 80:[72, 60, 480], Operations: ['30*16=480'] Exploring Operation: 480/60=8, Resulting Numbers: [72, 8] Generated Node #3: [72, 8] from Operation: 480/60=8 Current State: 80:[72, 8], Operations: ['30*16=480', '480/60=8'] Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[72, 30, 16, 60], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [72, 16, 2] Generated Node #0,0: 80:[72, 16, 2] Operation: 60/30=2 Exploring Operation: 60-30=30, Resulting Numbers: [72, 16, 30] Generated Node #0,1: 80:[72, 16, 30] Operation: 60-30=30 Exploring Operation: 72-60=12, Resulting Numbers: [30, 16, 12] Generated Node #0,2: 80:[30, 16, 12] Operation: 72-60=12 Exploring Operation: 30+60=90, Resulting Numbers: [72, 16, 90] Generated Node #0,3: 80:[72, 16, 90] Operation: 30+60=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[72, 16, 2], Operations: ['60/30=2'] Exploring Operation: 72/2=36, Resulting Numbers: [16, 36] Generated Node #0,0,0: 80:[16, 36] Operation: 72/2=36 Exploring Operation: 16/2=8, Resulting Numbers: [72, 8] Generated Node #0,0,1: 80:[72, 8] Operation: 16/2=8 Exploring Operation: 72+16=88, Resulting Numbers: [2, 88] Generated Node #0,0,2: 80:[2, 88] Operation: 72+16=88 Exploring Operation: 72+2=74, Resulting Numbers: [16, 74] Generated Node #0,0,3: 80:[16, 74] Operation: 72+2=74 Moving to Node #0,0,0 Current State: 80:[16, 36], Operations: ['60/30=2', '72/2=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[16, 74], Operations: ['60/30=2', '72+2=74'] Exploring Operation: 16+74=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 16*74=1184, Resulting Numbers: [1184] 1184,80 unequal: No Solution Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[2, 88], Operations: ['60/30=2', '72+16=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,80 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 2*88=176, Resulting Numbers: [176] 176,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[72, 8], Operations: ['60/30=2', '16/2=8'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,80 unequal: No Solution Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[72, 30, 16, 60], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [72, 16, 2] Generated Node #0,0: 80:[72, 16, 2] Operation: 60/30=2 Moving to Node #0,0 Current State: 80:[72, 16, 2], Operations: ['60/30=2'] Exploring Operation: 16/2=8, Resulting Numbers: [72, 8] Generated Node #0,0,1: 80:[72, 8] Operation: 16/2=8 Moving to Node #0,0,1 Current State: 80:[72, 8], Operations: ['60/30=2', '16/2=8'] Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
mult_heuristic
[ 53, 83, 10, 82 ]
62
[ "83-53=30", "10+82=92", "92-30=62" ]
Current State: 62:[53, 83, 10, 82], Operations: [] Exploring Operation: 83-53=30, Resulting Numbers: [10, 82, 30] Generated Node #2: [10, 82, 30] from Operation: 83-53=30 Current State: 62:[10, 82, 30], Operations: ['83-53=30'] Exploring Operation: 10+82=92, Resulting Numbers: [30, 92] Generated Node #3: [30, 92] from Operation: 10+82=92 Current State: 62:[30, 92], Operations: ['83-53=30', '10+82=92'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[53, 83, 10, 82], Operations: [] Exploring Operation: 83-10=73, Resulting Numbers: [53, 82, 73] Generated Node #0,0: 62:[53, 82, 73] Operation: 83-10=73 Exploring Operation: 83-53=30, Resulting Numbers: [10, 82, 30] Generated Node #0,1: 62:[10, 82, 30] Operation: 83-53=30 Exploring Operation: 83-82=1, Resulting Numbers: [53, 10, 1] Generated Node #0,2: 62:[53, 10, 1] Operation: 83-82=1 Exploring Operation: 82-53=29, Resulting Numbers: [83, 10, 29] Generated Node #0,3: 62:[83, 10, 29] Operation: 82-53=29 Moving to Node #0,2 Current State: 62:[53, 10, 1], Operations: ['83-82=1'] Exploring Operation: 53-10=43, Resulting Numbers: [1, 43] Generated Node #0,2,0: 62:[1, 43] Operation: 53-10=43 Exploring Operation: 53+1=54, Resulting Numbers: [10, 54] Generated Node #0,2,1: 62:[10, 54] Operation: 53+1=54 Exploring Operation: 53+10=63, Resulting Numbers: [1, 63] Generated Node #0,2,2: 62:[1, 63] Operation: 53+10=63 Exploring Operation: 10-1=9, Resulting Numbers: [53, 9] Generated Node #0,2,3: 62:[53, 9] Operation: 10-1=9 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 62:[1, 63], Operations: ['83-82=1', '53+10=63'] Exploring Operation: 1*63=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[53, 83, 10, 82], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [53, 10, 1] Generated Node #0,2: 62:[53, 10, 1] Operation: 83-82=1 Moving to Node #0,2 Current State: 62:[53, 10, 1], Operations: ['83-82=1'] Exploring Operation: 53+10=63, Resulting Numbers: [1, 63] Generated Node #0,2,2: 62:[1, 63] Operation: 53+10=63 Moving to Node #0,2,2 Current State: 62:[1, 63], Operations: ['83-82=1', '53+10=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 31, 41, 54, 91 ]
53
[ "31*91=2821", "41+2821=2862", "2862/54=53" ]
Current State: 53:[31, 41, 54, 91], Operations: [] Exploring Operation: 31*91=2821, Resulting Numbers: [41, 54, 2821] Generated Node #2: [41, 54, 2821] from Operation: 31*91=2821 Current State: 53:[41, 54, 2821], Operations: ['31*91=2821'] Exploring Operation: 41+2821=2862, Resulting Numbers: [54, 2862] Generated Node #3: [54, 2862] from Operation: 41+2821=2862 Current State: 53:[54, 2862], Operations: ['31*91=2821', '41+2821=2862'] Exploring Operation: 2862/54=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[31, 41, 54, 91], Operations: [] Exploring Operation: 91-31=60, Resulting Numbers: [41, 54, 60] Generated Node #0,0: 53:[41, 54, 60] Operation: 91-31=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[41, 54, 60], Operations: ['91-31=60'] Exploring Operation: 60-41=19, Resulting Numbers: [54, 19] Generated Node #0,0,0: 53:[54, 19] Operation: 60-41=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[54, 19], Operations: ['91-31=60', '60-41=19'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 94, 57, 2, 52 ]
30
[ "94-57=37", "52-37=15", "2*15=30" ]
Current State: 30:[94, 57, 2, 52], Operations: [] Exploring Operation: 94-57=37, Resulting Numbers: [2, 52, 37] Generated Node #2: [2, 52, 37] from Operation: 94-57=37 Current State: 30:[2, 52, 37], Operations: ['94-57=37'] Exploring Operation: 52-37=15, Resulting Numbers: [2, 15] Generated Node #3: [2, 15] from Operation: 52-37=15 Current State: 30:[2, 15], Operations: ['94-57=37', '52-37=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[94, 57, 2, 52], Operations: [] Exploring Operation: 94-57=37, Resulting Numbers: [2, 52, 37] Generated Node #0,0: 30:[2, 52, 37] Operation: 94-57=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[2, 52, 37], Operations: ['94-57=37'] Exploring Operation: 52-37=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 30:[2, 15] Operation: 52-37=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[2, 15], Operations: ['94-57=37', '52-37=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[94, 57, 2, 52], Operations: [] Exploring Operation: 94-57=37, Resulting Numbers: [2, 52, 37] Generated Node #0,0: 30:[2, 52, 37] Operation: 94-57=37 Moving to Node #0,0 Current State: 30:[2, 52, 37], Operations: ['94-57=37'] Exploring Operation: 52-37=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 30:[2, 15] Operation: 52-37=15 Moving to Node #0,0,0 Current State: 30:[2, 15], Operations: ['94-57=37', '52-37=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 94, 78, 37, 66 ]
45
[ "94-78=16", "66-37=29", "16+29=45" ]
Current State: 45:[94, 78, 37, 66], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [37, 66, 16] Generated Node #2: [37, 66, 16] from Operation: 94-78=16 Current State: 45:[37, 66, 16], Operations: ['94-78=16'] Exploring Operation: 66-37=29, Resulting Numbers: [16, 29] Generated Node #3: [16, 29] from Operation: 66-37=29 Current State: 45:[16, 29], Operations: ['94-78=16', '66-37=29'] Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[94, 78, 37, 66], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [37, 66, 16] Generated Node #0,0: 45:[37, 66, 16] Operation: 94-78=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[37, 66, 16], Operations: ['94-78=16'] Exploring Operation: 66-16=50, Resulting Numbers: [37, 50] Generated Node #0,0,0: 45:[37, 50] Operation: 66-16=50 Moving to Node #0,0,0 Current State: 45:[37, 50], Operations: ['94-78=16', '66-16=50'] Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 55, 12, 46, 71 ]
74
[ "55-12=43", "46+71=117", "117-43=74" ]
Current State: 74:[55, 12, 46, 71], Operations: [] Exploring Operation: 55-12=43, Resulting Numbers: [46, 71, 43] Generated Node #2: [46, 71, 43] from Operation: 55-12=43 Current State: 74:[46, 71, 43], Operations: ['55-12=43'] Exploring Operation: 46+71=117, Resulting Numbers: [43, 117] Generated Node #3: [43, 117] from Operation: 46+71=117 Current State: 74:[43, 117], Operations: ['55-12=43', '46+71=117'] Exploring Operation: 117-43=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[55, 12, 46, 71], Operations: [] Exploring Operation: 55-12=43, Resulting Numbers: [46, 71, 43] Generated Node #0,0: 74:[46, 71, 43] Operation: 55-12=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[46, 71, 43], Operations: ['55-12=43'] Exploring Operation: 46-43=3, Resulting Numbers: [71, 3] Generated Node #0,0,0: 74:[71, 3] Operation: 46-43=3 Moving to Node #0,0,0 Current State: 74:[71, 3], Operations: ['55-12=43', '46-43=3'] Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[55, 12, 46, 71], Operations: [] Exploring Operation: 55-12=43, Resulting Numbers: [46, 71, 43] Generated Node #0,0: 74:[46, 71, 43] Operation: 55-12=43 Moving to Node #0,0 Current State: 74:[46, 71, 43], Operations: ['55-12=43'] Exploring Operation: 46-43=3, Resulting Numbers: [71, 3] Generated Node #0,0,0: 74:[71, 3] Operation: 46-43=3 Moving to Node #0,0,0 Current State: 74:[71, 3], Operations: ['55-12=43', '46-43=3'] Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 22, 57, 20, 97 ]
38
[ "22+57=79", "20+97=117", "117-79=38" ]
Current State: 38:[22, 57, 20, 97], Operations: [] Exploring Operation: 22+57=79, Resulting Numbers: [20, 97, 79] Generated Node #2: [20, 97, 79] from Operation: 22+57=79 Current State: 38:[20, 97, 79], Operations: ['22+57=79'] Exploring Operation: 20+97=117, Resulting Numbers: [79, 117] Generated Node #3: [79, 117] from Operation: 20+97=117 Current State: 38:[79, 117], Operations: ['22+57=79', '20+97=117'] Exploring Operation: 117-79=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[22, 57, 20, 97], Operations: [] Exploring Operation: 97-57=40, Resulting Numbers: [22, 20, 40] Generated Node #0,0: 38:[22, 20, 40] Operation: 97-57=40 Moving to Node #0,0 Current State: 38:[22, 20, 40], Operations: ['97-57=40'] Exploring Operation: 22-20=2, Resulting Numbers: [40, 2] Generated Node #0,0,0: 38:[40, 2] Operation: 22-20=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[40, 2], Operations: ['97-57=40', '22-20=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[22, 57, 20, 97], Operations: [] Exploring Operation: 97-57=40, Resulting Numbers: [22, 20, 40] Generated Node #0,0: 38:[22, 20, 40] Operation: 97-57=40 Moving to Node #0,0 Current State: 38:[22, 20, 40], Operations: ['97-57=40'] Exploring Operation: 22-20=2, Resulting Numbers: [40, 2] Generated Node #0,0,0: 38:[40, 2] Operation: 22-20=2 Moving to Node #0,0,0 Current State: 38:[40, 2], Operations: ['97-57=40', '22-20=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 65, 41, 5, 35 ]
82
[ "65+5=70", "41*70=2870", "2870/35=82" ]
Current State: 82:[65, 41, 5, 35], Operations: [] Exploring Operation: 65+5=70, Resulting Numbers: [41, 35, 70] Generated Node #2: [41, 35, 70] from Operation: 65+5=70 Current State: 82:[41, 35, 70], Operations: ['65+5=70'] Exploring Operation: 41*70=2870, Resulting Numbers: [35, 2870] Generated Node #3: [35, 2870] from Operation: 41*70=2870 Current State: 82:[35, 2870], Operations: ['65+5=70', '41*70=2870'] Exploring Operation: 2870/35=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[65, 41, 5, 35], Operations: [] Exploring Operation: 5+35=40, Resulting Numbers: [65, 41, 40] Generated Node #0,0: 82:[65, 41, 40] Operation: 5+35=40 Exploring Operation: 65+5=70, Resulting Numbers: [41, 35, 70] Generated Node #0,1: 82:[41, 35, 70] Operation: 65+5=70 Exploring Operation: 65/5=13, Resulting Numbers: [41, 35, 13] Generated Node #0,2: 82:[41, 35, 13] Operation: 65/5=13 Exploring Operation: 65-35=30, Resulting Numbers: [41, 5, 30] Generated Node #0,3: 82:[41, 5, 30] Operation: 65-35=30 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[41, 5, 30], Operations: ['65-35=30'] Exploring Operation: 41-30=11, Resulting Numbers: [5, 11] Generated Node #0,3,0: 82:[5, 11] Operation: 41-30=11 Exploring Operation: 30/5=6, Resulting Numbers: [41, 6] Generated Node #0,3,1: 82:[41, 6] Operation: 30/5=6 Exploring Operation: 41+30=71, Resulting Numbers: [5, 71] Generated Node #0,3,2: 82:[5, 71] Operation: 41+30=71 Exploring Operation: 5+30=35, Resulting Numbers: [41, 35] Generated Node #0,3,3: 82:[41, 35] Operation: 5+30=35 Moving to Node #0,3,1 Current State: 82:[41, 6], Operations: ['65-35=30', '30/5=6'] Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,82 unequal: No Solution Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,82 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[41, 35], Operations: ['65-35=30', '5+30=35'] Exploring Operation: 41*35=1435, Resulting Numbers: [1435] 1435,82 unequal: No Solution Exploring Operation: 41+35=76, Resulting Numbers: [76] 76,82 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[5, 11], Operations: ['65-35=30', '41-30=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[5, 71], Operations: ['65-35=30', '41+30=71'] Exploring Operation: 5*71=355, Resulting Numbers: [355] 355,82 unequal: No Solution Exploring Operation: 5+71=76, Resulting Numbers: [76] 76,82 unequal: No Solution Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,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 Current State: 82:[41, 35, 13], Operations: ['65/5=13'] Exploring Operation: 41-35=6, Resulting Numbers: [13, 6] Generated Node #0,2,0: 82:[13, 6] Operation: 41-35=6 Exploring Operation: 41+35=76, Resulting Numbers: [13, 76] Generated Node #0,2,1: 82:[13, 76] Operation: 41+35=76 Exploring Operation: 35+13=48, Resulting Numbers: [41, 48] Generated Node #0,2,2: 82:[41, 48] Operation: 35+13=48 Exploring Operation: 41+13=54, Resulting Numbers: [35, 54] Generated Node #0,2,3: 82:[35, 54] Operation: 41+13=54 Moving to Node #0,2,2 Current State: 82:[41, 48], Operations: ['65/5=13', '35+13=48'] Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,82 unequal: No Solution Exploring Operation: 41*48=1968, Resulting Numbers: [1968] 1968,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[13, 6], Operations: ['65/5=13', '41-35=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[13, 76], Operations: ['65/5=13', '41+35=76'] Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,82 unequal: No Solution Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,82 unequal: No Solution Exploring Operation: 13*76=988, Resulting Numbers: [988] 988,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[35, 54], Operations: ['65/5=13', '41+13=54'] Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 35*54=1890, Resulting Numbers: [1890] 1890,82 unequal: No Solution Exploring Operation: 35+54=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 Current State: 82:[65, 41, 40], Operations: ['5+35=40'] Exploring Operation: 41-40=1, Resulting Numbers: [65, 1] Generated Node #0,0,0: 82:[65, 1] Operation: 41-40=1 Exploring Operation: 41+40=81, Resulting Numbers: [65, 81] Generated Node #0,0,1: 82:[65, 81] Operation: 41+40=81 Exploring Operation: 65-41=24, Resulting Numbers: [40, 24] Generated Node #0,0,2: 82:[40, 24] Operation: 65-41=24 Exploring Operation: 65-40=25, Resulting Numbers: [41, 25] Generated Node #0,0,3: 82:[41, 25] Operation: 65-40=25 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 82:[41, 25], Operations: ['5+35=40', '65-40=25'] Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 41+25=66, Resulting Numbers: [66] 66,82 unequal: No Solution Exploring Operation: 41*25=1025, Resulting Numbers: [1025] 1025,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,0,0 Current State: 82:[65, 1], Operations: ['5+35=40', '41-40=1'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,82 unequal: No Solution Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,82 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,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,0,1 Current State: 82:[65, 81], Operations: ['5+35=40', '41+40=81'] Exploring Operation: 65+81=146, Resulting Numbers: [146] 146,82 unequal: No Solution Exploring Operation: 65*81=5265, Resulting Numbers: [5265] 5265,82 unequal: No Solution Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,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,0,2 Current State: 82:[40, 24], Operations: ['5+35=40', '65-41=24'] Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,82 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,82 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,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,1 Current State: 82:[41, 35, 70], Operations: ['65+5=70'] Exploring Operation: 70-35=35, Resulting Numbers: [41, 35] Generated Node #0,1,0: 82:[41, 35] Operation: 70-35=35 Exploring Operation: 41-35=6, Resulting Numbers: [70, 6] Generated Node #0,1,1: 82:[70, 6] Operation: 41-35=6 Exploring Operation: 41+35=76, Resulting Numbers: [70, 76] Generated Node #0,1,2: 82:[70, 76] Operation: 41+35=76 Exploring Operation: 70/35=2, Resulting Numbers: [41, 2] Generated Node #0,1,3: 82:[41, 2] Operation: 70/35=2 Moving to Node #0,1,3 Current State: 82:[41, 2], Operations: ['65+5=70', '70/35=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[65, 41, 5, 35], Operations: [] Exploring Operation: 65+5=70, Resulting Numbers: [41, 35, 70] Generated Node #0,1: 82:[41, 35, 70] Operation: 65+5=70 Moving to Node #0,1 Current State: 82:[41, 35, 70], Operations: ['65+5=70'] Exploring Operation: 70/35=2, Resulting Numbers: [41, 2] Generated Node #0,1,3: 82:[41, 2] Operation: 70/35=2 Moving to Node #0,1,3 Current State: 82:[41, 2], Operations: ['65+5=70', '70/35=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_4
mult_heuristic
[ 36, 24, 7, 24 ]
19
[ "36-24=12", "7+24=31", "31-12=19" ]
Current State: 19:[36, 24, 7, 24], Operations: [] Exploring Operation: 36-24=12, Resulting Numbers: [7, 12] Generated Node #2: [7, 12] from Operation: 36-24=12 Current State: 19:[7, 12], Operations: ['36-24=12'] Exploring Operation: 7+24=31, Resulting Numbers: [12, 31] Generated Node #3: [12, 31] from Operation: 7+24=31 Current State: 19:[12, 31], Operations: ['36-24=12', '7+24=31'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[36, 24, 7, 24], Operations: [] Exploring Operation: 36-7=29, Resulting Numbers: [24, 24, 29] Generated Node #0,0: 19:[24, 24, 29] Operation: 36-7=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[24, 24, 29], Operations: ['36-7=29'] Exploring Operation: 29-24=5, Resulting Numbers: [24, 5] Generated Node #0,0,0: 19:[24, 5] Operation: 29-24=5 Moving to Node #0,0,0 Current State: 19:[24, 5], Operations: ['36-7=29', '29-24=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[36, 24, 7, 24], Operations: [] Exploring Operation: 36-7=29, Resulting Numbers: [24, 24, 29] Generated Node #0,0: 19:[24, 24, 29] Operation: 36-7=29 Moving to Node #0,0 Current State: 19:[24, 24, 29], Operations: ['36-7=29'] Exploring Operation: 29-24=5, Resulting Numbers: [24, 5] Generated Node #0,0,0: 19:[24, 5] Operation: 29-24=5 Moving to Node #0,0,0 Current State: 19:[24, 5], Operations: ['36-7=29', '29-24=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 32, 42, 65, 63 ]
11
[ "65-63=2", "42/2=21", "32-21=11" ]
Current State: 11:[32, 42, 65, 63], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [32, 42, 2] Generated Node #2: [32, 42, 2] from Operation: 65-63=2 Current State: 11:[32, 42, 2], Operations: ['65-63=2'] Exploring Operation: 42/2=21, Resulting Numbers: [32, 21] Generated Node #3: [32, 21] from Operation: 42/2=21 Current State: 11:[32, 21], Operations: ['65-63=2', '42/2=21'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[32, 42, 65, 63], Operations: [] Exploring Operation: 65-42=23, Resulting Numbers: [32, 63, 23] Generated Node #0,0: 11:[32, 63, 23] Operation: 65-42=23 Exploring Operation: 65-63=2, Resulting Numbers: [32, 42, 2] Generated Node #0,1: 11:[32, 42, 2] Operation: 65-63=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[32, 42, 2], Operations: ['65-63=2'] Exploring Operation: 42/2=21, Resulting Numbers: [32, 21] Generated Node #0,1,0: 11:[32, 21] Operation: 42/2=21 Exploring Operation: 42-32=10, Resulting Numbers: [2, 10] Generated Node #0,1,1: 11:[2, 10] Operation: 42-32=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[2, 10], Operations: ['65-63=2', '42-32=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,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:[32, 21], Operations: ['65-63=2', '42/2=21'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[32, 42, 65, 63], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [32, 42, 2] Generated Node #0,1: 11:[32, 42, 2] Operation: 65-63=2 Moving to Node #0,1 Current State: 11:[32, 42, 2], Operations: ['65-63=2'] Exploring Operation: 42/2=21, Resulting Numbers: [32, 21] Generated Node #0,1,0: 11:[32, 21] Operation: 42/2=21 Moving to Node #0,1,0 Current State: 11:[32, 21], Operations: ['65-63=2', '42/2=21'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 19, 40, 37, 79 ]
95
[ "40-19=21", "37+79=116", "116-21=95" ]
Current State: 95:[19, 40, 37, 79], Operations: [] Exploring Operation: 40-19=21, Resulting Numbers: [37, 79, 21] Generated Node #2: [37, 79, 21] from Operation: 40-19=21 Current State: 95:[37, 79, 21], Operations: ['40-19=21'] Exploring Operation: 37+79=116, Resulting Numbers: [21, 116] Generated Node #3: [21, 116] from Operation: 37+79=116 Current State: 95:[21, 116], Operations: ['40-19=21', '37+79=116'] Exploring Operation: 116-21=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[19, 40, 37, 79], Operations: [] Exploring Operation: 40+37=77, Resulting Numbers: [19, 79, 77] Generated Node #0,0: 95:[19, 79, 77] Operation: 40+37=77 Exploring Operation: 40-37=3, Resulting Numbers: [19, 79, 3] Generated Node #0,1: 95:[19, 79, 3] Operation: 40-37=3 Moving to Node #0,1 Current State: 95:[19, 79, 3], Operations: ['40-37=3'] Exploring Operation: 19+79=98, Resulting Numbers: [3, 98] Generated Node #0,1,0: 95:[3, 98] Operation: 19+79=98 Exploring Operation: 79+3=82, Resulting Numbers: [19, 82] Generated Node #0,1,1: 95:[19, 82] Operation: 79+3=82 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[3, 98], Operations: ['40-37=3', '19+79=98'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[19, 40, 37, 79], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [19, 79, 3] Generated Node #0,1: 95:[19, 79, 3] Operation: 40-37=3 Moving to Node #0,1 Current State: 95:[19, 79, 3], Operations: ['40-37=3'] Exploring Operation: 19+79=98, Resulting Numbers: [3, 98] Generated Node #0,1,0: 95:[3, 98] Operation: 19+79=98 Moving to Node #0,1,0 Current State: 95:[3, 98], Operations: ['40-37=3', '19+79=98'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 36, 56, 74, 23 ]
41
[ "36+56=92", "74-23=51", "92-51=41" ]
Current State: 41:[36, 56, 74, 23], Operations: [] Exploring Operation: 36+56=92, Resulting Numbers: [74, 23, 92] Generated Node #2: [74, 23, 92] from Operation: 36+56=92 Current State: 41:[74, 23, 92], Operations: ['36+56=92'] Exploring Operation: 74-23=51, Resulting Numbers: [92, 51] Generated Node #3: [92, 51] from Operation: 74-23=51 Current State: 41:[92, 51], Operations: ['36+56=92', '74-23=51'] Exploring Operation: 92-51=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[36, 56, 74, 23], Operations: [] Exploring Operation: 74-23=51, Resulting Numbers: [36, 56, 51] Generated Node #0,0: 41:[36, 56, 51] Operation: 74-23=51 Moving to Node #0,0 Current State: 41:[36, 56, 51], Operations: ['74-23=51'] Exploring Operation: 56-36=20, Resulting Numbers: [51, 20] Generated Node #0,0,0: 41:[51, 20] Operation: 56-36=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[51, 20], Operations: ['74-23=51', '56-36=20'] Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,41 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
[ 23, 56, 60, 30 ]
68
[ "30-23=7", "56/7=8", "60+8=68" ]
Current State: 68:[23, 56, 60, 30], Operations: [] Exploring Operation: 30-23=7, Resulting Numbers: [56, 60, 7] Generated Node #2: [56, 60, 7] from Operation: 30-23=7 Current State: 68:[56, 60, 7], Operations: ['30-23=7'] Exploring Operation: 56/7=8, Resulting Numbers: [60, 8] Generated Node #3: [60, 8] from Operation: 56/7=8 Current State: 68:[60, 8], Operations: ['30-23=7', '56/7=8'] Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[23, 56, 60, 30], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [23, 30, 4] Generated Node #0,0: 68:[23, 30, 4] Operation: 60-56=4 Moving to Node #0,0 Current State: 68:[23, 30, 4], Operations: ['60-56=4'] Exploring Operation: 30-23=7, Resulting Numbers: [4, 7] Generated Node #0,0,0: 68:[4, 7] Operation: 30-23=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[4, 7], Operations: ['60-56=4', '30-23=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,68 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
[ 96, 55, 20, 71 ]
11
[ "96-20=76", "76-71=5", "55/5=11" ]
Current State: 11:[96, 55, 20, 71], Operations: [] Exploring Operation: 96-20=76, Resulting Numbers: [55, 71, 76] Generated Node #2: [55, 71, 76] from Operation: 96-20=76 Current State: 11:[55, 71, 76], Operations: ['96-20=76'] Exploring Operation: 76-71=5, Resulting Numbers: [55, 5] Generated Node #3: [55, 5] from Operation: 76-71=5 Current State: 11:[55, 5], Operations: ['96-20=76', '76-71=5'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[96, 55, 20, 71], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [20, 71, 41] Generated Node #0,0: 11:[20, 71, 41] Operation: 96-55=41 Exploring Operation: 71-55=16, Resulting Numbers: [96, 20, 16] Generated Node #0,1: 11:[96, 20, 16] Operation: 71-55=16 Exploring Operation: 96-20=76, Resulting Numbers: [55, 71, 76] Generated Node #0,2: 11:[55, 71, 76] Operation: 96-20=76 Exploring Operation: 55-20=35, Resulting Numbers: [96, 71, 35] Generated Node #0,3: 11:[96, 71, 35] Operation: 55-20=35 Exploring Operation: 96-71=25, Resulting Numbers: [55, 20, 25] Generated Node #0,4: 11:[55, 20, 25] Operation: 96-71=25 Start Sub Search at level 1: Moving to Node #0,4 Current State: 11:[55, 20, 25], Operations: ['96-71=25'] Exploring Operation: 25-20=5, Resulting Numbers: [55, 5] Generated Node #0,4,0: 11:[55, 5] Operation: 25-20=5 Exploring Operation: 55+20=75, Resulting Numbers: [25, 75] Generated Node #0,4,1: 11:[25, 75] Operation: 55+20=75 Exploring Operation: 55+25=80, Resulting Numbers: [20, 80] Generated Node #0,4,2: 11:[20, 80] Operation: 55+25=80 Exploring Operation: 55-20=35, Resulting Numbers: [25, 35] Generated Node #0,4,3: 11:[25, 35] Operation: 55-20=35 Exploring Operation: 55-25=30, Resulting Numbers: [20, 30] Generated Node #0,4,4: 11:[20, 30] Operation: 55-25=30 Moving to Node #0,4,4 Current State: 11:[20, 30], Operations: ['96-71=25', '55-25=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,11 unequal: No Solution Moving to Node #0,4,3 Current State: 11:[25, 35], Operations: ['96-71=25', '55-20=35'] Exploring Operation: 25*35=875, Resulting Numbers: [875] 875,11 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,11 unequal: No Solution Moving to Node #0,4,0 Current State: 11:[55, 5], Operations: ['96-71=25', '25-20=5'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[96, 55, 20, 71], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [55, 20, 25] Generated Node #0,4: 11:[55, 20, 25] Operation: 96-71=25 Moving to Node #0,4 Current State: 11:[55, 20, 25], Operations: ['96-71=25'] Exploring Operation: 25-20=5, Resulting Numbers: [55, 5] Generated Node #0,4,0: 11:[55, 5] Operation: 25-20=5 Moving to Node #0,4,0 Current State: 11:[55, 5], Operations: ['96-71=25', '25-20=5'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 44, 47, 67, 88 ]
57
[ "88/44=2", "47+67=114", "114/2=57" ]
Current State: 57:[44, 47, 67, 88], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [47, 67, 2] Generated Node #2: [47, 67, 2] from Operation: 88/44=2 Current State: 57:[47, 67, 2], Operations: ['88/44=2'] Exploring Operation: 47+67=114, Resulting Numbers: [2, 114] Generated Node #3: [2, 114] from Operation: 47+67=114 Current State: 57:[2, 114], Operations: ['88/44=2', '47+67=114'] Exploring Operation: 114/2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[44, 47, 67, 88], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [47, 67, 2] Generated Node #0,0: 57:[47, 67, 2] Operation: 88/44=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[47, 67, 2], Operations: ['88/44=2'] Exploring Operation: 67-47=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 57:[2, 20] Operation: 67-47=20 Moving to Node #0,0,0 Current State: 57:[2, 20], Operations: ['88/44=2', '67-47=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 32, 68, 93, 16 ]
50
[ "32/16=2", "93-68=25", "2*25=50" ]
Current State: 50:[32, 68, 93, 16], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [68, 93, 2] Generated Node #2: [68, 93, 2] from Operation: 32/16=2 Current State: 50:[68, 93, 2], Operations: ['32/16=2'] Exploring Operation: 93-68=25, Resulting Numbers: [2, 25] Generated Node #3: [2, 25] from Operation: 93-68=25 Current State: 50:[2, 25], Operations: ['32/16=2', '93-68=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[32, 68, 93, 16], Operations: [] Exploring Operation: 93-16=77, Resulting Numbers: [32, 68, 77] Generated Node #0,0: 50:[32, 68, 77] Operation: 93-16=77 Exploring Operation: 68-16=52, Resulting Numbers: [32, 93, 52] Generated Node #0,1: 50:[32, 93, 52] Operation: 68-16=52 Exploring Operation: 93-32=61, Resulting Numbers: [68, 16, 61] Generated Node #0,2: 50:[68, 16, 61] Operation: 93-32=61 Exploring Operation: 93-68=25, Resulting Numbers: [32, 16, 25] Generated Node #0,3: 50:[32, 16, 25] Operation: 93-68=25 Start Sub Search at level 1: Moving to Node #0,3 Current State: 50:[32, 16, 25], Operations: ['93-68=25'] Exploring Operation: 32/16=2, Resulting Numbers: [25, 2] Generated Node #0,3,0: 50:[25, 2] Operation: 32/16=2 Exploring Operation: 32-25=7, Resulting Numbers: [16, 7] Generated Node #0,3,1: 50:[16, 7] Operation: 32-25=7 Exploring Operation: 32+16=48, Resulting Numbers: [25, 48] Generated Node #0,3,2: 50:[25, 48] Operation: 32+16=48 Exploring Operation: 32-16=16, Resulting Numbers: [25, 16] Generated Node #0,3,3: 50:[25, 16] Operation: 32-16=16 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 50:[25, 2], Operations: ['93-68=25', '32/16=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[32, 68, 93, 16], Operations: [] Exploring Operation: 93-68=25, Resulting Numbers: [32, 16, 25] Generated Node #0,3: 50:[32, 16, 25] Operation: 93-68=25 Moving to Node #0,3 Current State: 50:[32, 16, 25], Operations: ['93-68=25'] Exploring Operation: 32/16=2, Resulting Numbers: [25, 2] Generated Node #0,3,0: 50:[25, 2] Operation: 32/16=2 Moving to Node #0,3,0 Current State: 50:[25, 2], Operations: ['93-68=25', '32/16=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 52, 72, 8, 81 ]
35
[ "52+72=124", "8+81=89", "124-89=35" ]
Current State: 35:[52, 72, 8, 81], Operations: [] Exploring Operation: 52+72=124, Resulting Numbers: [8, 81, 124] Generated Node #2: [8, 81, 124] from Operation: 52+72=124 Current State: 35:[8, 81, 124], Operations: ['52+72=124'] Exploring Operation: 8+81=89, Resulting Numbers: [124, 89] Generated Node #3: [124, 89] from Operation: 8+81=89 Current State: 35:[124, 89], Operations: ['52+72=124', '8+81=89'] Exploring Operation: 124-89=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[52, 72, 8, 81], Operations: [] Exploring Operation: 72-52=20, Resulting Numbers: [8, 81, 20] Generated Node #0,0: 35:[8, 81, 20] Operation: 72-52=20 Exploring Operation: 81-52=29, Resulting Numbers: [72, 8, 29] Generated Node #0,1: 35:[72, 8, 29] Operation: 81-52=29 Exploring Operation: 81-72=9, Resulting Numbers: [52, 8, 9] Generated Node #0,2: 35:[52, 8, 9] Operation: 81-72=9 Exploring Operation: 72/8=9, Resulting Numbers: [52, 81, 9] Generated Node #0,3: 35:[52, 81, 9] Operation: 72/8=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[52, 8, 9], Operations: ['81-72=9'] Exploring Operation: 52-8=44, Resulting Numbers: [9, 44] Generated Node #0,2,0: 35:[9, 44] Operation: 52-8=44 Exploring Operation: 52-9=43, Resulting Numbers: [8, 43] Generated Node #0,2,1: 35:[8, 43] Operation: 52-9=43 Exploring Operation: 52+8=60, Resulting Numbers: [9, 60] Generated Node #0,2,2: 35:[9, 60] Operation: 52+8=60 Exploring Operation: 9-8=1, Resulting Numbers: [52, 1] Generated Node #0,2,3: 35:[52, 1] Operation: 9-8=1 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[8, 43], Operations: ['81-72=9', '52-9=43'] Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,35 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,35 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[52, 72, 8, 81], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [52, 8, 9] Generated Node #0,2: 35:[52, 8, 9] Operation: 81-72=9 Moving to Node #0,2 Current State: 35:[52, 8, 9], Operations: ['81-72=9'] Exploring Operation: 52-9=43, Resulting Numbers: [8, 43] Generated Node #0,2,1: 35:[8, 43] Operation: 52-9=43 Moving to Node #0,2,1 Current State: 35:[8, 43], Operations: ['81-72=9', '52-9=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 14, 96, 13, 48 ]
25
[ "14+13=27", "96/48=2", "27-2=25" ]
Current State: 25:[14, 96, 13, 48], Operations: [] Exploring Operation: 14+13=27, Resulting Numbers: [96, 48, 27] Generated Node #2: [96, 48, 27] from Operation: 14+13=27 Current State: 25:[96, 48, 27], Operations: ['14+13=27'] Exploring Operation: 96/48=2, Resulting Numbers: [27, 2] Generated Node #3: [27, 2] from Operation: 96/48=2 Current State: 25:[27, 2], Operations: ['14+13=27', '96/48=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[14, 96, 13, 48], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [14, 13, 2] Generated Node #0,0: 25:[14, 13, 2] Operation: 96/48=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[14, 13, 2], Operations: ['96/48=2'] Exploring Operation: 14+13=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 25:[2, 27] Operation: 14+13=27 Moving to Node #0,0,0 Current State: 25:[2, 27], Operations: ['96/48=2', '14+13=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[14, 96, 13, 48], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [14, 13, 2] Generated Node #0,0: 25:[14, 13, 2] Operation: 96/48=2 Moving to Node #0,0 Current State: 25:[14, 13, 2], Operations: ['96/48=2'] Exploring Operation: 14+13=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 25:[2, 27] Operation: 14+13=27 Moving to Node #0,0,0 Current State: 25:[2, 27], Operations: ['96/48=2', '14+13=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 87, 78, 3, 34 ]
83
[ "87/3=29", "78+34=112", "112-29=83" ]
Current State: 83:[87, 78, 3, 34], Operations: [] Exploring Operation: 87/3=29, Resulting Numbers: [78, 34, 29] Generated Node #2: [78, 34, 29] from Operation: 87/3=29 Current State: 83:[78, 34, 29], Operations: ['87/3=29'] Exploring Operation: 78+34=112, Resulting Numbers: [29, 112] Generated Node #3: [29, 112] from Operation: 78+34=112 Current State: 83:[29, 112], Operations: ['87/3=29', '78+34=112'] Exploring Operation: 112-29=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[87, 78, 3, 34], Operations: [] Exploring Operation: 3*34=102, Resulting Numbers: [87, 78, 102] Generated Node #0,0: 83:[87, 78, 102] Operation: 3*34=102 Exploring Operation: 87-3=84, Resulting Numbers: [78, 34, 84] Generated Node #0,1: 83:[78, 34, 84] Operation: 87-3=84 Moving to Node #0,0 Current State: 83:[87, 78, 102], Operations: ['3*34=102'] Exploring Operation: 102-87=15, Resulting Numbers: [78, 15] Generated Node #0,0,0: 83:[78, 15] Operation: 102-87=15 Exploring Operation: 102-78=24, Resulting Numbers: [87, 24] Generated Node #0,0,1: 83:[87, 24] Operation: 102-78=24 Moving to Node #0,1 Current State: 83:[78, 34, 84], Operations: ['87-3=84'] Exploring Operation: 84-34=50, Resulting Numbers: [78, 50] Generated Node #0,1,0: 83:[78, 50] Operation: 84-34=50 Exploring Operation: 78+34=112, Resulting Numbers: [84, 112] Generated Node #0,1,1: 83:[84, 112] Operation: 78+34=112 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[84, 112], Operations: ['87-3=84', '78+34=112'] Exploring Operation: 84+112=196, Resulting Numbers: [196] 196,83 unequal: No Solution Exploring Operation: 112-84=28, Resulting Numbers: [28] 28,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[78, 50], Operations: ['87-3=84', '84-34=50'] Exploring Operation: 78-50=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 78+50=128, Resulting Numbers: [128] 128,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 83:[87, 24], Operations: ['3*34=102', '102-78=24'] Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[78, 15], Operations: ['3*34=102', '102-87=15'] Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,83 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 21, 18, 26, 13 ]
12
[ "18*13=234", "234/26=9", "21-9=12" ]
Current State: 12:[21, 18, 26, 13], Operations: [] Exploring Operation: 18*13=234, Resulting Numbers: [21, 26, 234] Generated Node #2: [21, 26, 234] from Operation: 18*13=234 Current State: 12:[21, 26, 234], Operations: ['18*13=234'] Exploring Operation: 234/26=9, Resulting Numbers: [21, 9] Generated Node #3: [21, 9] from Operation: 234/26=9 Current State: 12:[21, 9], Operations: ['18*13=234', '234/26=9'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[21, 18, 26, 13], Operations: [] Exploring Operation: 21-18=3, Resulting Numbers: [26, 13, 3] Generated Node #0,0: 12:[26, 13, 3] Operation: 21-18=3 Exploring Operation: 26-18=8, Resulting Numbers: [21, 13, 8] Generated Node #0,1: 12:[21, 13, 8] Operation: 26-18=8 Exploring Operation: 26-21=5, Resulting Numbers: [18, 13, 5] Generated Node #0,2: 12:[18, 13, 5] Operation: 26-21=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[18, 13, 5], Operations: ['26-21=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13, 13] Generated Node #0,2,0: 12:[13, 13] Operation: 18-5=13 Exploring Operation: 13-5=8, Resulting Numbers: [18, 8] Generated Node #0,2,1: 12:[18, 8] Operation: 13-5=8 Exploring Operation: 18-13=5, Resulting Numbers: [5, 5] Generated Node #0,2,2: 12:[5, 5] Operation: 18-13=5 Moving to Node #0,2,0 Current State: 12:[13, 13], Operations: ['26-21=5', '18-5=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[5, 5], Operations: ['26-21=5', '18-13=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,12 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[18, 8], Operations: ['26-21=5', '13-5=8'] Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,12 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,12 unequal: No Solution No 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: 12:[21, 13, 8], Operations: ['26-18=8'] Exploring Operation: 13-8=5, Resulting Numbers: [21, 5] Generated Node #0,1,0: 12:[21, 5] Operation: 13-8=5 Exploring Operation: 21-13=8, Resulting Numbers: [8, 8] Generated Node #0,1,1: 12:[8, 8] Operation: 21-13=8 Exploring Operation: 21-8=13, Resulting Numbers: [13, 13] Generated Node #0,1,2: 12:[13, 13] Operation: 21-8=13 Moving to Node #0,1,2 Current State: 12:[13, 13], Operations: ['26-18=8', '21-8=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[8, 8], Operations: ['26-18=8', '21-13=8'] Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[21, 5], Operations: ['26-18=8', '13-8=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,12 unequal: No Solution No 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: 12:[26, 13, 3], Operations: ['21-18=3'] Exploring Operation: 26/13=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 12:[3, 2] Operation: 26/13=2 Exploring Operation: 26-3=23, Resulting Numbers: [13, 23] Generated Node #0,0,1: 12:[13, 23] Operation: 26-3=23 Exploring Operation: 26-13=13, Resulting Numbers: [3, 13] Generated Node #0,0,2: 12:[3, 13] Operation: 26-13=13 Moving to Node #0,0,0 Current State: 12:[3, 2], Operations: ['21-18=3', '26/13=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[3, 13], Operations: ['21-18=3', '26-13=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[13, 23], Operations: ['21-18=3', '26-3=23'] Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,12 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 98, 13, 66, 14 ]
25
[ "98*13=1274", "1274/14=91", "91-66=25" ]
Current State: 25:[98, 13, 66, 14], Operations: [] Exploring Operation: 98*13=1274, Resulting Numbers: [66, 14, 1274] Generated Node #2: [66, 14, 1274] from Operation: 98*13=1274 Current State: 25:[66, 14, 1274], Operations: ['98*13=1274'] Exploring Operation: 1274/14=91, Resulting Numbers: [66, 91] Generated Node #3: [66, 91] from Operation: 1274/14=91 Current State: 25:[66, 91], Operations: ['98*13=1274', '1274/14=91'] Exploring Operation: 91-66=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[98, 13, 66, 14], Operations: [] Exploring Operation: 98-66=32, Resulting Numbers: [13, 14, 32] Generated Node #0,0: 25:[13, 14, 32] Operation: 98-66=32 Exploring Operation: 98-13=85, Resulting Numbers: [66, 14, 85] Generated Node #0,1: 25:[66, 14, 85] Operation: 98-13=85 Exploring Operation: 66-14=52, Resulting Numbers: [98, 13, 52] Generated Node #0,2: 25:[98, 13, 52] Operation: 66-14=52 Exploring Operation: 98/14=7, Resulting Numbers: [13, 66, 7] Generated Node #0,3: 25:[13, 66, 7] Operation: 98/14=7 Exploring Operation: 98-14=84, Resulting Numbers: [13, 66, 84] Generated Node #0,4: 25:[13, 66, 84] Operation: 98-14=84 Moving to Node #0,0 Current State: 25:[13, 14, 32], Operations: ['98-66=32'] Exploring Operation: 32-14=18, Resulting Numbers: [13, 18] Generated Node #0,0,0: 25:[13, 18] Operation: 32-14=18 Exploring Operation: 32-13=19, Resulting Numbers: [14, 19] Generated Node #0,0,1: 25:[14, 19] Operation: 32-13=19 Exploring Operation: 14-13=1, Resulting Numbers: [32, 1] Generated Node #0,0,2: 25:[32, 1] Operation: 14-13=1 Exploring Operation: 13+32=45, Resulting Numbers: [14, 45] Generated Node #0,0,3: 25:[14, 45] Operation: 13+32=45 Exploring Operation: 13+14=27, Resulting Numbers: [32, 27] Generated Node #0,0,4: 25:[32, 27] Operation: 13+14=27 Moving to Node #0,3 Current State: 25:[13, 66, 7], Operations: ['98/14=7'] Exploring Operation: 13+66=79, Resulting Numbers: [7, 79] Generated Node #0,3,0: 25:[7, 79] Operation: 13+66=79 Exploring Operation: 66-7=59, Resulting Numbers: [13, 59] Generated Node #0,3,1: 25:[13, 59] Operation: 66-7=59 Exploring Operation: 66-13=53, Resulting Numbers: [7, 53] Generated Node #0,3,2: 25:[7, 53] Operation: 66-13=53 Exploring Operation: 13+7=20, Resulting Numbers: [66, 20] Generated Node #0,3,3: 25:[66, 20] Operation: 13+7=20 Exploring Operation: 13-7=6, Resulting Numbers: [66, 6] Generated Node #0,3,4: 25:[66, 6] Operation: 13-7=6 Moving to Node #0,2 Current State: 25:[98, 13, 52], Operations: ['66-14=52'] Exploring Operation: 98-52=46, Resulting Numbers: [13, 46] Generated Node #0,2,0: 25:[13, 46] Operation: 98-52=46 Exploring Operation: 52/13=4, Resulting Numbers: [98, 4] Generated Node #0,2,1: 25:[98, 4] Operation: 52/13=4 Exploring Operation: 98-13=85, Resulting Numbers: [52, 85] Generated Node #0,2,2: 25:[52, 85] Operation: 98-13=85 Exploring Operation: 98+13=111, Resulting Numbers: [52, 111] Generated Node #0,2,3: 25:[52, 111] Operation: 98+13=111 Exploring Operation: 52-13=39, Resulting Numbers: [98, 39] Generated Node #0,2,4: 25:[98, 39] Operation: 52-13=39 Moving to Node #0,4 Current State: 25:[13, 66, 84], Operations: ['98-14=84'] Exploring Operation: 84-13=71, Resulting Numbers: [66, 71] Generated Node #0,4,0: 25:[66, 71] Operation: 84-13=71 Exploring Operation: 66-13=53, Resulting Numbers: [84, 53] Generated Node #0,4,1: 25:[84, 53] Operation: 66-13=53 Exploring Operation: 13+84=97, Resulting Numbers: [66, 97] Generated Node #0,4,2: 25:[66, 97] Operation: 13+84=97 Exploring Operation: 13+66=79, Resulting Numbers: [84, 79] Generated Node #0,4,3: 25:[84, 79] Operation: 13+66=79 Exploring Operation: 84-66=18, Resulting Numbers: [13, 18] Generated Node #0,4,4: 25:[13, 18] Operation: 84-66=18 Moving to Node #0,1 Current State: 25:[66, 14, 85], Operations: ['98-13=85'] Exploring Operation: 85-14=71, Resulting Numbers: [66, 71] Generated Node #0,1,0: 25:[66, 71] Operation: 85-14=71 Exploring Operation: 66-14=52, Resulting Numbers: [85, 52] Generated Node #0,1,1: 25:[85, 52] Operation: 66-14=52 Exploring Operation: 14+85=99, Resulting Numbers: [66, 99] Generated Node #0,1,2: 25:[66, 99] Operation: 14+85=99 Exploring Operation: 85-66=19, Resulting Numbers: [14, 19] Generated Node #0,1,3: 25:[14, 19] Operation: 85-66=19 Exploring Operation: 66+14=80, Resulting Numbers: [85, 80] Generated Node #0,1,4: 25:[85, 80] Operation: 66+14=80 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[14, 19], Operations: ['98-13=85', '85-66=19'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[66, 71], Operations: ['98-13=85', '85-14=71'] Exploring Operation: 66*71=4686, Resulting Numbers: [4686] 4686,25 unequal: No Solution Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 66+71=137, Resulting Numbers: [137] 137,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[85, 52], Operations: ['98-13=85', '66-14=52'] Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 85+52=137, Resulting Numbers: [137] 137,25 unequal: No Solution Exploring Operation: 85*52=4420, Resulting Numbers: [4420] 4420,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[66, 99], Operations: ['98-13=85', '14+85=99'] Exploring Operation: 66+99=165, Resulting Numbers: [165] 165,25 unequal: No Solution Exploring Operation: 99-66=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 66*99=6534, Resulting Numbers: [6534] 6534,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 25:[85, 80], Operations: ['98-13=85', '66+14=80'] Exploring Operation: 85-80=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 85*80=6800, Resulting Numbers: [6800] 6800,25 unequal: No Solution Exploring Operation: 85+80=165, Resulting Numbers: [165] 165,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 25:[32, 27], Operations: ['98-66=32', '13+14=27'] Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[32, 1], Operations: ['98-66=32', '14-13=1'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,25 unequal: No Solution Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,25 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[13, 18], Operations: ['98-66=32', '32-14=18'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 13*18=234, Resulting Numbers: [234] 234,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[14, 19], Operations: ['98-66=32', '32-13=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,25 unequal: No Solution Moving to Node #0,4,4 Current State: 25:[13, 18], Operations: ['98-14=84', '84-66=18'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 13*18=234, Resulting Numbers: [234] 234,25 unequal: No Solution Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[14, 45], Operations: ['98-66=32', '13+32=45'] Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[13, 46], Operations: ['66-14=52', '98-52=46'] Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 13*46=598, Resulting Numbers: [598] 598,25 unequal: No Solution Exploring Operation: 13+46=59, Resulting Numbers: [59] 59,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[7, 53], Operations: ['98/14=7', '66-13=53'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 7*53=371, Resulting Numbers: [371] 371,25 unequal: No Solution Exploring Operation: 7+53=60, Resulting Numbers: [60] 60,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[13, 59], Operations: ['98/14=7', '66-7=59'] Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,25 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,25 unequal: No Solution Moving to Node #0,3,4 Current State: 25:[66, 6], Operations: ['98/14=7', '13-7=6'] Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[66, 20], Operations: ['98/14=7', '13+7=20'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 66+20=86, Resulting Numbers: [86] 86,25 unequal: No Solution Exploring Operation: 66*20=1320, Resulting Numbers: [1320] 1320,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[7, 79], Operations: ['98/14=7', '13+66=79'] Exploring Operation: 7*79=553, Resulting Numbers: [553] 553,25 unequal: No Solution Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 7+79=86, Resulting Numbers: [86] 86,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[98, 4], Operations: ['66-14=52', '52/13=4'] Exploring Operation: 98*4=392, Resulting Numbers: [392] 392,25 unequal: No Solution Exploring Operation: 98+4=102, Resulting Numbers: [102] 102,25 unequal: No Solution Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,25 unequal: No Solution Moving to Node #0,2,4 Current State: 25:[98, 39], Operations: ['66-14=52', '52-13=39'] Exploring Operation: 98-39=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 98+39=137, Resulting Numbers: [137] 137,25 unequal: No Solution Exploring Operation: 98*39=3822, Resulting Numbers: [3822] 3822,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[52, 85], Operations: ['66-14=52', '98-13=85'] Exploring Operation: 52*85=4420, Resulting Numbers: [4420] 4420,25 unequal: No Solution Exploring Operation: 52+85=137, Resulting Numbers: [137] 137,25 unequal: No Solution Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,25 unequal: No Solution Moving to Node #0,4,1 Current State: 25:[84, 53], Operations: ['98-14=84', '66-13=53'] Exploring Operation: 84+53=137, Resulting Numbers: [137] 137,25 unequal: No Solution Exploring Operation: 84*53=4452, Resulting Numbers: [4452] 4452,25 unequal: No Solution Exploring Operation: 84-53=31, Resulting Numbers: [31] 31,25 unequal: No Solution Moving to Node #0,4,0 Current State: 25:[66, 71], Operations: ['98-14=84', '84-13=71'] Exploring Operation: 66*71=4686, Resulting Numbers: [4686] 4686,25 unequal: No Solution Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 66+71=137, Resulting Numbers: [137] 137,25 unequal: No Solution Moving to Node #0,4,2 Current State: 25:[66, 97], Operations: ['98-14=84', '13+84=97'] Exploring Operation: 66+97=163, Resulting Numbers: [163] 163,25 unequal: No Solution Exploring Operation: 66*97=6402, Resulting Numbers: [6402] 6402,25 unequal: No Solution Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[52, 111], Operations: ['66-14=52', '98+13=111'] Exploring Operation: 52*111=5772, Resulting Numbers: [5772] 5772,25 unequal: No Solution Exploring Operation: 52+111=163, Resulting Numbers: [163] 163,25 unequal: No Solution Exploring Operation: 111-52=59, Resulting Numbers: [59] 59,25 unequal: No Solution Moving to Node #0,4,3 Current State: 25:[84, 79], Operations: ['98-14=84', '13+66=79'] Exploring Operation: 84-79=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 84+79=163, Resulting Numbers: [163] 163,25 unequal: No Solution Exploring Operation: 84*79=6636, Resulting Numbers: [6636] 6636,25 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 26, 2, 38, 87 ]
72
[ "87-38=49", "2*49=98", "98-26=72" ]
Current State: 72:[26, 2, 38, 87], Operations: [] Exploring Operation: 87-38=49, Resulting Numbers: [26, 2, 49] Generated Node #2: [26, 2, 49] from Operation: 87-38=49 Current State: 72:[26, 2, 49], Operations: ['87-38=49'] Exploring Operation: 2*49=98, Resulting Numbers: [26, 98] Generated Node #3: [26, 98] from Operation: 2*49=98 Current State: 72:[26, 98], Operations: ['87-38=49', '2*49=98'] Exploring Operation: 98-26=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[26, 2, 38, 87], Operations: [] Exploring Operation: 38-26=12, Resulting Numbers: [2, 87, 12] Generated Node #0,0: 72:[2, 87, 12] Operation: 38-26=12 Exploring Operation: 87-38=49, Resulting Numbers: [26, 2, 49] Generated Node #0,1: 72:[26, 2, 49] Operation: 87-38=49 Exploring Operation: 38-2=36, Resulting Numbers: [26, 87, 36] Generated Node #0,2: 72:[26, 87, 36] Operation: 38-2=36 Exploring Operation: 87-26=61, Resulting Numbers: [2, 38, 61] Generated Node #0,3: 72:[2, 38, 61] Operation: 87-26=61 Exploring Operation: 26-2=24, Resulting Numbers: [38, 87, 24] Generated Node #0,4: 72:[38, 87, 24] Operation: 26-2=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 72:[2, 38, 61], Operations: ['87-26=61'] Exploring Operation: 2+61=63, Resulting Numbers: [38, 63] Generated Node #0,3,0: 72:[38, 63] Operation: 2+61=63 Exploring Operation: 38-2=36, Resulting Numbers: [61, 36] Generated Node #0,3,1: 72:[61, 36] Operation: 38-2=36 Exploring Operation: 61-38=23, Resulting Numbers: [2, 23] Generated Node #0,3,2: 72:[2, 23] Operation: 61-38=23 Exploring Operation: 38/2=19, Resulting Numbers: [61, 19] Generated Node #0,3,3: 72:[61, 19] Operation: 38/2=19 Exploring Operation: 2+38=40, Resulting Numbers: [61, 40] Generated Node #0,3,4: 72:[61, 40] Operation: 2+38=40 Moving to Node #0,3,2 Current State: 72:[2, 23], Operations: ['87-26=61', '61-38=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,72 unequal: No Solution Moving to Node #0,3,1 Current State: 72:[61, 36], Operations: ['87-26=61', '38-2=36'] Exploring Operation: 61+36=97, Resulting Numbers: [97] 97,72 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 61*36=2196, Resulting Numbers: [2196] 2196,72 unequal: No Solution Moving to Node #0,3,0 Current State: 72:[38, 63], Operations: ['87-26=61', '2+61=63'] Exploring Operation: 38*63=2394, Resulting Numbers: [2394] 2394,72 unequal: No Solution Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 38+63=101, Resulting Numbers: [101] 101,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[61, 19], Operations: ['87-26=61', '38/2=19'] Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 61+19=80, Resulting Numbers: [80] 80,72 unequal: No Solution Exploring Operation: 61*19=1159, Resulting Numbers: [1159] 1159,72 unequal: No Solution Moving to Node #0,3,4 Current State: 72:[61, 40], Operations: ['87-26=61', '2+38=40'] Exploring Operation: 61+40=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 61*40=2440, Resulting Numbers: [2440] 2440,72 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[2, 87, 12], Operations: ['38-26=12'] Exploring Operation: 12-2=10, Resulting Numbers: [87, 10] Generated Node #0,0,0: 72:[87, 10] Operation: 12-2=10 Exploring Operation: 12/2=6, Resulting Numbers: [87, 6] Generated Node #0,0,1: 72:[87, 6] Operation: 12/2=6 Exploring Operation: 2*12=24, Resulting Numbers: [87, 24] Generated Node #0,0,2: 72:[87, 24] Operation: 2*12=24 Exploring Operation: 87-2=85, Resulting Numbers: [12, 85] Generated Node #0,0,3: 72:[12, 85] Operation: 87-2=85 Exploring Operation: 87-12=75, Resulting Numbers: [2, 75] Generated Node #0,0,4: 72:[2, 75] Operation: 87-12=75 Moving to Node #0,0,4 Current State: 72:[2, 75], Operations: ['38-26=12', '87-12=75'] Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,72 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[12, 85], Operations: ['38-26=12', '87-2=85'] Exploring Operation: 12*85=1020, Resulting Numbers: [1020] 1020,72 unequal: No Solution Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 12+85=97, Resulting Numbers: [97] 97,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[87, 6], Operations: ['38-26=12', '12/2=6'] Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,72 unequal: No Solution Exploring Operation: 87*6=522, Resulting Numbers: [522] 522,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[87, 24], Operations: ['38-26=12', '2*12=24'] Exploring Operation: 87*24=2088, Resulting Numbers: [2088] 2088,72 unequal: No Solution Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,72 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[87, 10], Operations: ['38-26=12', '12-2=10'] Exploring Operation: 87*10=870, Resulting Numbers: [870] 870,72 unequal: No Solution Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,72 unequal: No Solution Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[26, 2, 49], Operations: ['87-38=49'] Exploring Operation: 26/2=13, Resulting Numbers: [49, 13] Generated Node #0,1,0: 72:[49, 13] Operation: 26/2=13 Exploring Operation: 49-2=47, Resulting Numbers: [26, 47] Generated Node #0,1,1: 72:[26, 47] Operation: 49-2=47 Exploring Operation: 26-2=24, Resulting Numbers: [49, 24] Generated Node #0,1,2: 72:[49, 24] Operation: 26-2=24 Exploring Operation: 49-26=23, Resulting Numbers: [2, 23] Generated Node #0,1,3: 72:[2, 23] Operation: 49-26=23 Exploring Operation: 26+49=75, Resulting Numbers: [2, 75] Generated Node #0,1,4: 72:[2, 75] Operation: 26+49=75 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 72:[2, 23], Operations: ['87-38=49', '49-26=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 72:[2, 75], Operations: ['87-38=49', '26+49=75'] Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,72 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[26, 47], Operations: ['87-38=49', '49-2=47'] Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,72 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 72:[49, 24], Operations: ['87-38=49', '26-2=24'] Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,72 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[49, 13], Operations: ['87-38=49', '26/2=13'] Exploring Operation: 49+13=62, Resulting Numbers: [62] 62,72 unequal: No Solution Exploring Operation: 49*13=637, Resulting Numbers: [637] 637,72 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[26, 87, 36], Operations: ['38-2=36'] Exploring Operation: 36-26=10, Resulting Numbers: [87, 10] Generated Node #0,2,0: 72:[87, 10] Operation: 36-26=10 Exploring Operation: 26+36=62, Resulting Numbers: [87, 62] Generated Node #0,2,1: 72:[87, 62] Operation: 26+36=62 Exploring Operation: 87-26=61, Resulting Numbers: [36, 61] Generated Node #0,2,2: 72:[36, 61] Operation: 87-26=61 Exploring Operation: 87-36=51, Resulting Numbers: [26, 51] Generated Node #0,2,3: 72:[26, 51] Operation: 87-36=51 Exploring Operation: 26+87=113, Resulting Numbers: [36, 113] Generated Node #0,2,4: 72:[36, 113] Operation: 26+87=113 Moving to Node #0,2,2 Current State: 72:[36, 61], Operations: ['38-2=36', '87-26=61'] Exploring Operation: 36*61=2196, Resulting Numbers: [2196] 2196,72 unequal: No Solution Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,72 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[87, 10], Operations: ['38-2=36', '36-26=10'] Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,72 unequal: No Solution Exploring Operation: 87*10=870, Resulting Numbers: [870] 870,72 unequal: No Solution Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,72 unequal: No Solution Moving to Node #0,2,3 Current State: 72:[26, 51], Operations: ['38-2=36', '87-36=51'] Exploring Operation: 26+51=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 26*51=1326, Resulting Numbers: [1326] 1326,72 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[87, 62], Operations: ['38-2=36', '26+36=62'] Exploring Operation: 87+62=149, Resulting Numbers: [149] 149,72 unequal: No Solution Exploring Operation: 87-62=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 87*62=5394, Resulting Numbers: [5394] 5394,72 unequal: No Solution Moving to Node #0,2,4 Current State: 72:[36, 113], Operations: ['38-2=36', '26+87=113'] Exploring Operation: 36+113=149, Resulting Numbers: [149] 149,72 unequal: No Solution Exploring Operation: 113-36=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 36*113=4068, Resulting Numbers: [4068] 4068,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 72:[38, 87, 24], Operations: ['26-2=24'] Exploring Operation: 38+24=62, Resulting Numbers: [87, 62] Generated Node #0,4,0: 72:[87, 62] Operation: 38+24=62 Exploring Operation: 38-24=14, Resulting Numbers: [87, 14] Generated Node #0,4,1: 72:[87, 14] Operation: 38-24=14 Exploring Operation: 87-24=63, Resulting Numbers: [38, 63] Generated Node #0,4,2: 72:[38, 63] Operation: 87-24=63 Exploring Operation: 87+24=111, Resulting Numbers: [38, 111] Generated Node #0,4,3: 72:[38, 111] Operation: 87+24=111 Exploring Operation: 87-38=49, Resulting Numbers: [24, 49] Generated Node #0,4,4: 72:[24, 49] Operation: 87-38=49 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 72:[38, 63], Operations: ['26-2=24', '87-24=63'] Exploring Operation: 38+63=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 38*63=2394, Resulting Numbers: [2394] 2394,72 unequal: No Solution Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 72:[24, 49], Operations: ['26-2=24', '87-38=49'] Exploring Operation: 24+49=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 24*49=1176, Resulting Numbers: [1176] 1176,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 72:[87, 14], Operations: ['26-2=24', '38-24=14'] Exploring Operation: 87*14=1218, Resulting Numbers: [1218] 1218,72 unequal: No Solution Exploring Operation: 87+14=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 87-14=73, Resulting Numbers: [73] 73,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 72:[87, 62], Operations: ['26-2=24', '38+24=62'] Exploring Operation: 87*62=5394, Resulting Numbers: [5394] 5394,72 unequal: No Solution Exploring Operation: 87+62=149, Resulting Numbers: [149] 149,72 unequal: No Solution Exploring Operation: 87-62=25, Resulting Numbers: [25] 25,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 72:[38, 111], Operations: ['26-2=24', '87+24=111'] Exploring Operation: 111-38=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 38*111=4218, Resulting Numbers: [4218] 4218,72 unequal: No Solution Exploring Operation: 38+111=149, Resulting Numbers: [149] 149,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 79, 98, 22, 90 ]
96
[ "90-79=11", "22/11=2", "98-2=96" ]
Current State: 96:[79, 98, 22, 90], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [98, 22, 11] Generated Node #2: [98, 22, 11] from Operation: 90-79=11 Current State: 96:[98, 22, 11], Operations: ['90-79=11'] Exploring Operation: 22/11=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 22/11=2 Current State: 96:[98, 2], Operations: ['90-79=11', '22/11=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[79, 98, 22, 90], Operations: [] Exploring Operation: 79+22=101, Resulting Numbers: [98, 90, 101] Generated Node #0,0: 96:[98, 90, 101] Operation: 79+22=101 Exploring Operation: 98-79=19, Resulting Numbers: [22, 90, 19] Generated Node #0,1: 96:[22, 90, 19] Operation: 98-79=19 Exploring Operation: 90-79=11, Resulting Numbers: [98, 22, 11] Generated Node #0,2: 96:[98, 22, 11] Operation: 90-79=11 Moving to Node #0,2 Current State: 96:[98, 22, 11], Operations: ['90-79=11'] Exploring Operation: 22/11=2, Resulting Numbers: [98, 2] Generated Node #0,2,0: 96:[98, 2] Operation: 22/11=2 Exploring Operation: 22-11=11, Resulting Numbers: [98, 11] Generated Node #0,2,1: 96:[98, 11] Operation: 22-11=11 Exploring Operation: 22+11=33, Resulting Numbers: [98, 33] Generated Node #0,2,2: 96:[98, 33] Operation: 22+11=33 Moving to Node #0,1 Current State: 96:[22, 90, 19], Operations: ['98-79=19'] Exploring Operation: 90+19=109, Resulting Numbers: [22, 109] Generated Node #0,1,0: 96:[22, 109] Operation: 90+19=109 Exploring Operation: 22-19=3, Resulting Numbers: [90, 3] Generated Node #0,1,1: 96:[90, 3] Operation: 22-19=3 Exploring Operation: 22+19=41, Resulting Numbers: [90, 41] Generated Node #0,1,2: 96:[90, 41] Operation: 22+19=41 Moving to Node #0,0 Current State: 96:[98, 90, 101], Operations: ['79+22=101'] Exploring Operation: 98-90=8, Resulting Numbers: [101, 8] Generated Node #0,0,0: 96:[101, 8] Operation: 98-90=8 Exploring Operation: 101-98=3, Resulting Numbers: [90, 3] Generated Node #0,0,1: 96:[90, 3] Operation: 101-98=3 Exploring Operation: 101-90=11, Resulting Numbers: [98, 11] Generated Node #0,0,2: 96:[98, 11] Operation: 101-90=11 Moving to Node #0,2,0 Current State: 96:[98, 2], Operations: ['90-79=11', '22/11=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[79, 98, 22, 90], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [98, 22, 11] Generated Node #0,2: 96:[98, 22, 11] Operation: 90-79=11 Moving to Node #0,2 Current State: 96:[98, 22, 11], Operations: ['90-79=11'] Exploring Operation: 22/11=2, Resulting Numbers: [98, 2] Generated Node #0,2,0: 96:[98, 2] Operation: 22/11=2 Moving to Node #0,2,0 Current State: 96:[98, 2], Operations: ['90-79=11', '22/11=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.985243
hs_3
mult_heuristic
[ 33, 4, 18, 90 ]
53
[ "4*90=360", "360/18=20", "33+20=53" ]
Current State: 53:[33, 4, 18, 90], Operations: [] Exploring Operation: 4*90=360, Resulting Numbers: [33, 18, 360] Generated Node #2: [33, 18, 360] from Operation: 4*90=360 Current State: 53:[33, 18, 360], Operations: ['4*90=360'] Exploring Operation: 360/18=20, Resulting Numbers: [33, 20] Generated Node #3: [33, 20] from Operation: 360/18=20 Current State: 53:[33, 20], Operations: ['4*90=360', '360/18=20'] Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[33, 4, 18, 90], Operations: [] Exploring Operation: 90-33=57, Resulting Numbers: [4, 18, 57] Generated Node #0,0: 53:[4, 18, 57] Operation: 90-33=57 Exploring Operation: 33+4=37, Resulting Numbers: [18, 90, 37] Generated Node #0,1: 53:[18, 90, 37] Operation: 33+4=37 Exploring Operation: 4*18=72, Resulting Numbers: [33, 90, 72] Generated Node #0,2: 53:[33, 90, 72] Operation: 4*18=72 Exploring Operation: 33+18=51, Resulting Numbers: [4, 90, 51] Generated Node #0,3: 53:[4, 90, 51] Operation: 33+18=51 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[33, 90, 72], Operations: ['4*18=72'] Exploring Operation: 33+90=123, Resulting Numbers: [72, 123] Generated Node #0,2,0: 53:[72, 123] Operation: 33+90=123 Exploring Operation: 90-72=18, Resulting Numbers: [33, 18] Generated Node #0,2,1: 53:[33, 18] Operation: 90-72=18 Exploring Operation: 90-33=57, Resulting Numbers: [72, 57] Generated Node #0,2,2: 53:[72, 57] Operation: 90-33=57 Exploring Operation: 72-33=39, Resulting Numbers: [90, 39] Generated Node #0,2,3: 53:[90, 39] Operation: 72-33=39 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 53:[72, 57], Operations: ['4*18=72', '90-33=57'] Exploring Operation: 72*57=4104, Resulting Numbers: [4104] 4104,53 unequal: No Solution Exploring Operation: 72+57=129, Resulting Numbers: [129] 129,53 unequal: No Solution Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 53:[90, 39], Operations: ['4*18=72', '72-33=39'] Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 90+39=129, Resulting Numbers: [129] 129,53 unequal: No Solution Exploring Operation: 90*39=3510, Resulting Numbers: [3510] 3510,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[33, 18], Operations: ['4*18=72', '90-72=18'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,53 unequal: No Solution Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[72, 123], Operations: ['4*18=72', '33+90=123'] Exploring Operation: 72+123=195, Resulting Numbers: [195] 195,53 unequal: No Solution Exploring Operation: 123-72=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 72*123=8856, Resulting Numbers: [8856] 8856,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[4, 18, 57], Operations: ['90-33=57'] Exploring Operation: 4+18=22, Resulting Numbers: [57, 22] Generated Node #0,0,0: 53:[57, 22] Operation: 4+18=22 Exploring Operation: 57-4=53, Resulting Numbers: [18, 53] Generated Node #0,0,1: 53:[18, 53] Operation: 57-4=53 Exploring Operation: 18-4=14, Resulting Numbers: [57, 14] Generated Node #0,0,2: 53:[57, 14] Operation: 18-4=14 Exploring Operation: 4*18=72, Resulting Numbers: [57, 72] Generated Node #0,0,3: 53:[57, 72] Operation: 4*18=72 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 53:[57, 72], Operations: ['90-33=57', '4*18=72'] Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 57+72=129, Resulting Numbers: [129] 129,53 unequal: No Solution Exploring Operation: 57*72=4104, Resulting Numbers: [4104] 4104,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[57, 22], Operations: ['90-33=57', '4+18=22'] Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,53 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[18, 53], Operations: ['90-33=57', '57-4=53'] Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,53 unequal: No Solution Exploring Operation: 18*53=954, Resulting Numbers: [954] 954,53 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[57, 14], Operations: ['90-33=57', '18-4=14'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 57*14=798, Resulting Numbers: [798] 798,53 unequal: No Solution Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[18, 90, 37], Operations: ['33+4=37'] Exploring Operation: 90-37=53, Resulting Numbers: [18, 53] Generated Node #0,1,0: 53:[18, 53] Operation: 90-37=53 Exploring Operation: 18+37=55, Resulting Numbers: [90, 55] Generated Node #0,1,1: 53:[90, 55] Operation: 18+37=55 Exploring Operation: 90/18=5, Resulting Numbers: [37, 5] Generated Node #0,1,2: 53:[37, 5] Operation: 90/18=5 Exploring Operation: 90-18=72, Resulting Numbers: [37, 72] Generated Node #0,1,3: 53:[37, 72] Operation: 90-18=72 Moving to Node #0,1,0 Current State: 53:[18, 53], Operations: ['33+4=37', '90-37=53'] Exploring Operation: 18*53=954, Resulting Numbers: [954] 954,53 unequal: No Solution Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,53 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[37, 72], Operations: ['33+4=37', '90-18=72'] Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 37*72=2664, Resulting Numbers: [2664] 2664,53 unequal: No Solution Exploring Operation: 37+72=109, Resulting Numbers: [109] 109,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[90, 55], Operations: ['33+4=37', '18+37=55'] Exploring Operation: 90*55=4950, Resulting Numbers: [4950] 4950,53 unequal: No Solution Exploring Operation: 90+55=145, Resulting Numbers: [145] 145,53 unequal: No Solution Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[37, 5], Operations: ['33+4=37', '90/18=5'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,53 unequal: No Solution Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[4, 90, 51], Operations: ['33+18=51'] Exploring Operation: 90-4=86, Resulting Numbers: [51, 86] Generated Node #0,3,0: 53:[51, 86] Operation: 90-4=86 Exploring Operation: 4+90=94, Resulting Numbers: [51, 94] Generated Node #0,3,1: 53:[51, 94] Operation: 4+90=94 Exploring Operation: 4+51=55, Resulting Numbers: [90, 55] Generated Node #0,3,2: 53:[90, 55] Operation: 4+51=55 Exploring Operation: 51-4=47, Resulting Numbers: [90, 47] Generated Node #0,3,3: 53:[90, 47] Operation: 51-4=47 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 53:[51, 86], Operations: ['33+18=51', '90-4=86'] Exploring Operation: 51*86=4386, Resulting Numbers: [4386] 4386,53 unequal: No Solution Exploring Operation: 86-51=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 51+86=137, Resulting Numbers: [137] 137,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 53:[90, 55], Operations: ['33+18=51', '4+51=55'] Exploring Operation: 90*55=4950, Resulting Numbers: [4950] 4950,53 unequal: No Solution Exploring Operation: 90+55=145, Resulting Numbers: [145] 145,53 unequal: No Solution Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 53:[51, 94], Operations: ['33+18=51', '4+90=94'] Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 51*94=4794, Resulting Numbers: [4794] 4794,53 unequal: No Solution Exploring Operation: 51+94=145, Resulting Numbers: [145] 145,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 53:[90, 47], Operations: ['33+18=51', '51-4=47'] Exploring Operation: 90-47=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 90*47=4230, Resulting Numbers: [4230] 4230,53 unequal: No Solution Exploring Operation: 90+47=137, Resulting Numbers: [137] 137,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 4, 31, 74, 70 ]
76
[ "4+31=35", "70/35=2", "74+2=76" ]
Current State: 76:[4, 31, 74, 70], Operations: [] Exploring Operation: 4+31=35, Resulting Numbers: [74, 70, 35] Generated Node #2: [74, 70, 35] from Operation: 4+31=35 Current State: 76:[74, 70, 35], Operations: ['4+31=35'] Exploring Operation: 70/35=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 70/35=2 Current State: 76:[74, 2], Operations: ['4+31=35', '70/35=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[4, 31, 74, 70], Operations: [] Exploring Operation: 4+70=74, Resulting Numbers: [31, 74, 74] Generated Node #0,0: 76:[31, 74, 74] Operation: 4+70=74 Exploring Operation: 70-31=39, Resulting Numbers: [4, 74, 39] Generated Node #0,1: 76:[4, 74, 39] Operation: 70-31=39 Exploring Operation: 74-70=4, Resulting Numbers: [4, 31, 4] Generated Node #0,2: 76:[4, 31, 4] Operation: 74-70=4 Exploring Operation: 4+31=35, Resulting Numbers: [74, 70, 35] Generated Node #0,3: 76:[74, 70, 35] Operation: 4+31=35 Exploring Operation: 74-31=43, Resulting Numbers: [4, 70, 43] Generated Node #0,4: 76:[4, 70, 43] Operation: 74-31=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[4, 74, 39], Operations: ['70-31=39'] Exploring Operation: 74-39=35, Resulting Numbers: [4, 35] Generated Node #0,1,0: 76:[4, 35] Operation: 74-39=35 Exploring Operation: 4+39=43, Resulting Numbers: [74, 43] Generated Node #0,1,1: 76:[74, 43] Operation: 4+39=43 Exploring Operation: 39-4=35, Resulting Numbers: [74, 35] Generated Node #0,1,2: 76:[74, 35] Operation: 39-4=35 Exploring Operation: 74-4=70, Resulting Numbers: [39, 70] Generated Node #0,1,3: 76:[39, 70] Operation: 74-4=70 Exploring Operation: 4+74=78, Resulting Numbers: [39, 78] Generated Node #0,1,4: 76:[39, 78] Operation: 4+74=78 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[4, 35], Operations: ['70-31=39', '74-39=35'] Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,76 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 76:[39, 78], Operations: ['70-31=39', '4+74=78'] Exploring Operation: 39+78=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 39*78=3042, Resulting Numbers: [3042] 3042,76 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,76 unequal: No Solution No 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: 76:[74, 35], Operations: ['70-31=39', '39-4=35'] Exploring Operation: 74+35=109, Resulting Numbers: [109] 109,76 unequal: No Solution Exploring Operation: 74*35=2590, Resulting Numbers: [2590] 2590,76 unequal: No Solution Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,76 unequal: No Solution No 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: 76:[74, 43], Operations: ['70-31=39', '4+39=43'] Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 74+43=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 74*43=3182, Resulting Numbers: [3182] 3182,76 unequal: No Solution No 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: 76:[39, 70], Operations: ['70-31=39', '74-4=70'] Exploring Operation: 39+70=109, Resulting Numbers: [109] 109,76 unequal: No Solution Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 39*70=2730, Resulting Numbers: [2730] 2730,76 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: 76:[4, 31, 4], Operations: ['74-70=4'] Exploring Operation: 31-4=27, Resulting Numbers: [4, 27] Generated Node #0,2,0: 76:[4, 27] Operation: 31-4=27 Exploring Operation: 4/4=1, Resulting Numbers: [31, 1] Generated Node #0,2,1: 76:[31, 1] Operation: 4/4=1 Exploring Operation: 31+4=35, Resulting Numbers: [4, 35] Generated Node #0,2,2: 76:[4, 35] Operation: 31+4=35 Exploring Operation: 4+31=35, Resulting Numbers: [4, 35] Generated Node #0,2,3: 76:[4, 35] Operation: 4+31=35 Exploring Operation: 31-4=27, Resulting Numbers: [4, 27] Generated Node #0,2,4: 76:[4, 27] Operation: 31-4=27 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[4, 35], Operations: ['74-70=4', '31+4=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,76 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,76 unequal: No Solution No 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: 76:[4, 35], Operations: ['74-70=4', '4+31=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,76 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,76 unequal: No Solution No 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: 76:[4, 27], Operations: ['74-70=4', '31-4=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,76 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,76 unequal: No Solution No 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: 76:[31, 1], Operations: ['74-70=4', '4/4=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,76 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,76 unequal: No Solution No 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: 76:[4, 27], Operations: ['74-70=4', '31-4=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,76 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: 76:[31, 74, 74], Operations: ['4+70=74'] Exploring Operation: 74-31=43, Resulting Numbers: [74, 43] Generated Node #0,0,0: 76:[74, 43] Operation: 74-31=43 Exploring Operation: 31+74=105, Resulting Numbers: [74, 105] Generated Node #0,0,1: 76:[74, 105] Operation: 31+74=105 Exploring Operation: 74-31=43, Resulting Numbers: [74, 43] Generated Node #0,0,2: 76:[74, 43] Operation: 74-31=43 Exploring Operation: 74/74=1, Resulting Numbers: [31, 1] Generated Node #0,0,3: 76:[31, 1] Operation: 74/74=1 Exploring Operation: 74-74=0, Resulting Numbers: [31, 0] Generated Node #0,0,4: 76:[31, 0] Operation: 74-74=0 Moving to Node #0,0,0 Current State: 76:[74, 43], Operations: ['4+70=74', '74-31=43'] Exploring Operation: 74+43=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 74*43=3182, Resulting Numbers: [3182] 3182,76 unequal: No Solution Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[74, 43], Operations: ['4+70=74', '74-31=43'] Exploring Operation: 74+43=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 74*43=3182, Resulting Numbers: [3182] 3182,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[31, 1], Operations: ['4+70=74', '74/74=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,76 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,76 unequal: No Solution Moving to Node #0,0,4 Current State: 76:[31, 0], Operations: ['4+70=74', '74-74=0'] Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 31*0=0, Resulting Numbers: [0] 0,76 unequal: No Solution Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[74, 105], Operations: ['4+70=74', '31+74=105'] Exploring Operation: 105-74=31, Resulting Numbers: [31] 31,76 unequal: No Solution Exploring Operation: 74*105=7770, Resulting Numbers: [7770] 7770,76 unequal: No Solution Exploring Operation: 74+105=179, Resulting Numbers: [179] 179,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,3 Current State: 76:[74, 70, 35], Operations: ['4+31=35'] Exploring Operation: 70+35=105, Resulting Numbers: [74, 105] Generated Node #0,3,0: 76:[74, 105] Operation: 70+35=105 Exploring Operation: 74-35=39, Resulting Numbers: [70, 39] Generated Node #0,3,1: 76:[70, 39] Operation: 74-35=39 Exploring Operation: 70/35=2, Resulting Numbers: [74, 2] Generated Node #0,3,2: 76:[74, 2] Operation: 70/35=2 Exploring Operation: 74-70=4, Resulting Numbers: [35, 4] Generated Node #0,3,3: 76:[35, 4] Operation: 74-70=4 Exploring Operation: 70-35=35, Resulting Numbers: [74, 35] Generated Node #0,3,4: 76:[74, 35] Operation: 70-35=35 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 76:[74, 2], Operations: ['4+31=35', '70/35=2'] Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,76 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[4, 31, 74, 70], Operations: [] Exploring Operation: 4+31=35, Resulting Numbers: [74, 70, 35] Generated Node #0,3: 76:[74, 70, 35] Operation: 4+31=35 Moving to Node #0,3 Current State: 76:[74, 70, 35], Operations: ['4+31=35'] Exploring Operation: 70/35=2, Resulting Numbers: [74, 2] Generated Node #0,3,2: 76:[74, 2] Operation: 70/35=2 Moving to Node #0,3,2 Current State: 76:[74, 2], Operations: ['4+31=35', '70/35=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.930556
hs_5
mult_heuristic
[ 30, 19, 4, 20 ]
13
[ "30-19=11", "4+20=24", "24-11=13" ]
Current State: 13:[30, 19, 4, 20], Operations: [] Exploring Operation: 30-19=11, Resulting Numbers: [4, 20, 11] Generated Node #2: [4, 20, 11] from Operation: 30-19=11 Current State: 13:[4, 20, 11], Operations: ['30-19=11'] Exploring Operation: 4+20=24, Resulting Numbers: [11, 24] Generated Node #3: [11, 24] from Operation: 4+20=24 Current State: 13:[11, 24], Operations: ['30-19=11', '4+20=24'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[30, 19, 4, 20], Operations: [] Exploring Operation: 30-20=10, Resulting Numbers: [19, 4, 10] Generated Node #0,0: 13:[19, 4, 10] Operation: 30-20=10 Exploring Operation: 19-4=15, Resulting Numbers: [30, 20, 15] Generated Node #0,1: 13:[30, 20, 15] Operation: 19-4=15 Exploring Operation: 30-19=11, Resulting Numbers: [4, 20, 11] Generated Node #0,2: 13:[4, 20, 11] Operation: 30-19=11 Exploring Operation: 20-4=16, Resulting Numbers: [30, 19, 16] Generated Node #0,3: 13:[30, 19, 16] Operation: 20-4=16 Exploring Operation: 30-4=26, Resulting Numbers: [19, 20, 26] Generated Node #0,4: 13:[19, 20, 26] Operation: 30-4=26 Moving to Node #0,0 Current State: 13:[19, 4, 10], Operations: ['30-20=10'] Exploring Operation: 19-4=15, Resulting Numbers: [10, 15] Generated Node #0,0,0: 13:[10, 15] Operation: 19-4=15 Exploring Operation: 19-10=9, Resulting Numbers: [4, 9] Generated Node #0,0,1: 13:[4, 9] Operation: 19-10=9 Exploring Operation: 19+4=23, Resulting Numbers: [10, 23] Generated Node #0,0,2: 13:[10, 23] Operation: 19+4=23 Exploring Operation: 4+10=14, Resulting Numbers: [19, 14] Generated Node #0,0,3: 13:[19, 14] Operation: 4+10=14 Exploring Operation: 10-4=6, Resulting Numbers: [19, 6] Generated Node #0,0,4: 13:[19, 6] Operation: 10-4=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[10, 15], Operations: ['30-20=10', '19-4=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 13:[19, 14], Operations: ['30-20=10', '4+10=14'] Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[4, 9], Operations: ['30-20=10', '19-10=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[30, 19, 4, 20], Operations: [] Exploring Operation: 30-20=10, Resulting Numbers: [19, 4, 10] Generated Node #0,0: 13:[19, 4, 10] Operation: 30-20=10 Moving to Node #0,0 Current State: 13:[19, 4, 10], Operations: ['30-20=10'] Exploring Operation: 19-10=9, Resulting Numbers: [4, 9] Generated Node #0,0,1: 13:[4, 9] Operation: 19-10=9 Moving to Node #0,0,1 Current State: 13:[4, 9], Operations: ['30-20=10', '19-10=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 27, 70, 41, 25 ]
23
[ "70-27=43", "41+25=66", "66-43=23" ]
Current State: 23:[27, 70, 41, 25], Operations: [] Exploring Operation: 70-27=43, Resulting Numbers: [41, 25, 43] Generated Node #2: [41, 25, 43] from Operation: 70-27=43 Current State: 23:[41, 25, 43], Operations: ['70-27=43'] Exploring Operation: 41+25=66, Resulting Numbers: [43, 66] Generated Node #3: [43, 66] from Operation: 41+25=66 Current State: 23:[43, 66], Operations: ['70-27=43', '41+25=66'] Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[27, 70, 41, 25], Operations: [] Exploring Operation: 70-41=29, Resulting Numbers: [27, 25, 29] Generated Node #0,0: 23:[27, 25, 29] Operation: 70-41=29 Moving to Node #0,0 Current State: 23:[27, 25, 29], Operations: ['70-41=29'] Exploring Operation: 29-27=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 23:[25, 2] Operation: 29-27=2 Moving to Node #0,0,0 Current State: 23:[25, 2], Operations: ['70-41=29', '29-27=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[27, 70, 41, 25], Operations: [] Exploring Operation: 70-41=29, Resulting Numbers: [27, 25, 29] Generated Node #0,0: 23:[27, 25, 29] Operation: 70-41=29 Moving to Node #0,0 Current State: 23:[27, 25, 29], Operations: ['70-41=29'] Exploring Operation: 29-27=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 23:[25, 2] Operation: 29-27=2 Moving to Node #0,0,0 Current State: 23:[25, 2], Operations: ['70-41=29', '29-27=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 3, 16, 48, 59 ]
24
[ "16-3=13", "59-48=11", "13+11=24" ]
Current State: 24:[3, 16, 48, 59], Operations: [] Exploring Operation: 16-3=13, Resulting Numbers: [48, 59, 13] Generated Node #2: [48, 59, 13] from Operation: 16-3=13 Current State: 24:[48, 59, 13], Operations: ['16-3=13'] Exploring Operation: 59-48=11, Resulting Numbers: [13, 11] Generated Node #3: [13, 11] from Operation: 59-48=11 Current State: 24:[13, 11], Operations: ['16-3=13', '59-48=11'] Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[3, 16, 48, 59], Operations: [] Exploring Operation: 59-48=11, Resulting Numbers: [3, 16, 11] Generated Node #0,0: 24:[3, 16, 11] Operation: 59-48=11 Exploring Operation: 48/3=16, Resulting Numbers: [16, 59, 16] Generated Node #0,1: 24:[16, 59, 16] Operation: 48/3=16 Exploring Operation: 48-16=32, Resulting Numbers: [3, 59, 32] Generated Node #0,2: 24:[3, 59, 32] Operation: 48-16=32 Exploring Operation: 48/16=3, Resulting Numbers: [3, 59, 3] Generated Node #0,3: 24:[3, 59, 3] Operation: 48/16=3 Moving to Node #0,0 Current State: 24:[3, 16, 11], Operations: ['59-48=11'] Exploring Operation: 16+11=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 24:[3, 27] Operation: 16+11=27 Exploring Operation: 16-11=5, Resulting Numbers: [3, 5] Generated Node #0,0,1: 24:[3, 5] Operation: 16-11=5 Exploring Operation: 11-3=8, Resulting Numbers: [16, 8] Generated Node #0,0,2: 24:[16, 8] Operation: 11-3=8 Exploring Operation: 16-3=13, Resulting Numbers: [11, 13] Generated Node #0,0,3: 24:[11, 13] Operation: 16-3=13 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[3, 5], Operations: ['59-48=11', '16-11=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 24:[11, 13], Operations: ['59-48=11', '16-3=13'] Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,24 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[3, 16, 48, 59], Operations: [] Exploring Operation: 59-48=11, Resulting Numbers: [3, 16, 11] Generated Node #0,0: 24:[3, 16, 11] Operation: 59-48=11 Moving to Node #0,0 Current State: 24:[3, 16, 11], Operations: ['59-48=11'] Exploring Operation: 16-3=13, Resulting Numbers: [11, 13] Generated Node #0,0,3: 24:[11, 13] Operation: 16-3=13 Moving to Node #0,0,3 Current State: 24:[11, 13], Operations: ['59-48=11', '16-3=13'] Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 3, 11, 5, 15 ]
29
[ "3*15=45", "11+5=16", "45-16=29" ]
Current State: 29:[3, 11, 5, 15], Operations: [] Exploring Operation: 3*15=45, Resulting Numbers: [11, 5, 45] Generated Node #2: [11, 5, 45] from Operation: 3*15=45 Current State: 29:[11, 5, 45], Operations: ['3*15=45'] Exploring Operation: 11+5=16, Resulting Numbers: [45, 16] Generated Node #3: [45, 16] from Operation: 11+5=16 Current State: 29:[45, 16], Operations: ['3*15=45', '11+5=16'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[3, 11, 5, 15], Operations: [] Exploring Operation: 3*11=33, Resulting Numbers: [5, 15, 33] Generated Node #0,0: 29:[5, 15, 33] Operation: 3*11=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[5, 15, 33], Operations: ['3*11=33'] Exploring Operation: 5+15=20, Resulting Numbers: [33, 20] Generated Node #0,0,0: 29:[33, 20] Operation: 5+15=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[33, 20], Operations: ['3*11=33', '5+15=20'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 46, 15, 79, 45 ]
65
[ "46-15=31", "79-45=34", "31+34=65" ]
Current State: 65:[46, 15, 79, 45], Operations: [] Exploring Operation: 46-15=31, Resulting Numbers: [79, 45, 31] Generated Node #2: [79, 45, 31] from Operation: 46-15=31 Current State: 65:[79, 45, 31], Operations: ['46-15=31'] Exploring Operation: 79-45=34, Resulting Numbers: [31, 34] Generated Node #3: [31, 34] from Operation: 79-45=34 Current State: 65:[31, 34], Operations: ['46-15=31', '79-45=34'] Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[46, 15, 79, 45], Operations: [] Exploring Operation: 46+15=61, Resulting Numbers: [79, 45, 61] Generated Node #0,0: 65:[79, 45, 61] Operation: 46+15=61 Exploring Operation: 45/15=3, Resulting Numbers: [46, 79, 3] Generated Node #0,1: 65:[46, 79, 3] Operation: 45/15=3 Exploring Operation: 46-45=1, Resulting Numbers: [15, 79, 1] Generated Node #0,2: 65:[15, 79, 1] Operation: 46-45=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[15, 79, 1], Operations: ['46-45=1'] Exploring Operation: 79-1=78, Resulting Numbers: [15, 78] Generated Node #0,2,0: 65:[15, 78] Operation: 79-1=78 Exploring Operation: 15-1=14, Resulting Numbers: [79, 14] Generated Node #0,2,1: 65:[79, 14] Operation: 15-1=14 Exploring Operation: 79-15=64, Resulting Numbers: [1, 64] Generated Node #0,2,2: 65:[1, 64] Operation: 79-15=64 Moving to Node #0,2,2 Current State: 65:[1, 64], Operations: ['46-45=1', '79-15=64'] Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[46, 15, 79, 45], Operations: [] Exploring Operation: 46-45=1, Resulting Numbers: [15, 79, 1] Generated Node #0,2: 65:[15, 79, 1] Operation: 46-45=1 Moving to Node #0,2 Current State: 65:[15, 79, 1], Operations: ['46-45=1'] Exploring Operation: 79-15=64, Resulting Numbers: [1, 64] Generated Node #0,2,2: 65:[1, 64] Operation: 79-15=64 Moving to Node #0,2,2 Current State: 65:[1, 64], Operations: ['46-45=1', '79-15=64'] Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 43, 5, 99, 34 ]
27
[ "43-5=38", "99-34=65", "65-38=27" ]
Current State: 27:[43, 5, 99, 34], Operations: [] Exploring Operation: 43-5=38, Resulting Numbers: [99, 34, 38] Generated Node #2: [99, 34, 38] from Operation: 43-5=38 Current State: 27:[99, 34, 38], Operations: ['43-5=38'] Exploring Operation: 99-34=65, Resulting Numbers: [38, 65] Generated Node #3: [38, 65] from Operation: 99-34=65 Current State: 27:[38, 65], Operations: ['43-5=38', '99-34=65'] Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[43, 5, 99, 34], Operations: [] Exploring Operation: 99-34=65, Resulting Numbers: [43, 5, 65] Generated Node #0,0: 27:[43, 5, 65] Operation: 99-34=65 Exploring Operation: 43-34=9, Resulting Numbers: [5, 99, 9] Generated Node #0,1: 27:[5, 99, 9] Operation: 43-34=9 Exploring Operation: 99-43=56, Resulting Numbers: [5, 34, 56] Generated Node #0,2: 27:[5, 34, 56] Operation: 99-43=56 Exploring Operation: 43-5=38, Resulting Numbers: [99, 34, 38] Generated Node #0,3: 27:[99, 34, 38] Operation: 43-5=38 Moving to Node #0,2 Current State: 27:[5, 34, 56], Operations: ['99-43=56'] Exploring Operation: 56-34=22, Resulting Numbers: [5, 22] Generated Node #0,2,0: 27:[5, 22] Operation: 56-34=22 Exploring Operation: 56-5=51, Resulting Numbers: [34, 51] Generated Node #0,2,1: 27:[34, 51] Operation: 56-5=51 Exploring Operation: 5+34=39, Resulting Numbers: [56, 39] Generated Node #0,2,2: 27:[56, 39] Operation: 5+34=39 Exploring Operation: 34-5=29, Resulting Numbers: [56, 29] Generated Node #0,2,3: 27:[56, 29] Operation: 34-5=29 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[5, 22], Operations: ['99-43=56', '56-34=22'] Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,27 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[43, 5, 99, 34], Operations: [] Exploring Operation: 99-43=56, Resulting Numbers: [5, 34, 56] Generated Node #0,2: 27:[5, 34, 56] Operation: 99-43=56 Moving to Node #0,2 Current State: 27:[5, 34, 56], Operations: ['99-43=56'] Exploring Operation: 56-34=22, Resulting Numbers: [5, 22] Generated Node #0,2,0: 27:[5, 22] Operation: 56-34=22 Moving to Node #0,2,0 Current State: 27:[5, 22], Operations: ['99-43=56', '56-34=22'] Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 38, 10, 22, 32 ]
82
[ "38-10=28", "22+32=54", "28+54=82" ]
Current State: 82:[38, 10, 22, 32], Operations: [] Exploring Operation: 38-10=28, Resulting Numbers: [22, 32, 28] Generated Node #2: [22, 32, 28] from Operation: 38-10=28 Current State: 82:[22, 32, 28], Operations: ['38-10=28'] Exploring Operation: 22+32=54, Resulting Numbers: [28, 54] Generated Node #3: [28, 54] from Operation: 22+32=54 Current State: 82:[28, 54], Operations: ['38-10=28', '22+32=54'] Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[38, 10, 22, 32], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [38, 10, 10] Generated Node #0,0: 82:[38, 10, 10] Operation: 32-22=10 Moving to Node #0,0 Current State: 82:[38, 10, 10], Operations: ['32-22=10'] Exploring Operation: 10/10=1, Resulting Numbers: [38, 1] Generated Node #0,0,0: 82:[38, 1] Operation: 10/10=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[38, 1], Operations: ['32-22=10', '10/10=1'] Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 57, 5, 54 ]
44
[ "57-42=15", "5+54=59", "59-15=44" ]
Current State: 44:[42, 57, 5, 54], Operations: [] Exploring Operation: 57-42=15, Resulting Numbers: [5, 54, 15] Generated Node #2: [5, 54, 15] from Operation: 57-42=15 Current State: 44:[5, 54, 15], Operations: ['57-42=15'] Exploring Operation: 5+54=59, Resulting Numbers: [15, 59] Generated Node #3: [15, 59] from Operation: 5+54=59 Current State: 44:[15, 59], Operations: ['57-42=15', '5+54=59'] Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[42, 57, 5, 54], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [42, 5, 3] Generated Node #0,0: 44:[42, 5, 3] Operation: 57-54=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[42, 5, 3], Operations: ['57-54=3'] Exploring Operation: 42+3=45, Resulting Numbers: [5, 45] Generated Node #0,0,0: 44:[5, 45] Operation: 42+3=45 Moving to Node #0,0,0 Current State: 44:[5, 45], Operations: ['57-54=3', '42+3=45'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,44 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
[ 1, 20, 79, 55 ]
45
[ "1+20=21", "79-55=24", "21+24=45" ]
Current State: 45:[1, 20, 79, 55], Operations: [] Exploring Operation: 1+20=21, Resulting Numbers: [79, 55, 21] Generated Node #2: [79, 55, 21] from Operation: 1+20=21 Current State: 45:[79, 55, 21], Operations: ['1+20=21'] Exploring Operation: 79-55=24, Resulting Numbers: [21, 24] Generated Node #3: [21, 24] from Operation: 79-55=24 Current State: 45:[21, 24], Operations: ['1+20=21', '79-55=24'] Exploring Operation: 21+24=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[1, 20, 79, 55], Operations: [] Exploring Operation: 79-1=78, Resulting Numbers: [20, 55, 78] Generated Node #0,0: 45:[20, 55, 78] Operation: 79-1=78 Exploring Operation: 55-20=35, Resulting Numbers: [1, 79, 35] Generated Node #0,1: 45:[1, 79, 35] Operation: 55-20=35 Exploring Operation: 79-55=24, Resulting Numbers: [1, 20, 24] Generated Node #0,2: 45:[1, 20, 24] Operation: 79-55=24 Exploring Operation: 20-1=19, Resulting Numbers: [79, 55, 19] Generated Node #0,3: 45:[79, 55, 19] Operation: 20-1=19 Exploring Operation: 79-20=59, Resulting Numbers: [1, 55, 59] Generated Node #0,4: 45:[1, 55, 59] Operation: 79-20=59 Moving to Node #0,2 Current State: 45:[1, 20, 24], Operations: ['79-55=24'] Exploring Operation: 24-20=4, Resulting Numbers: [1, 4] Generated Node #0,2,0: 45:[1, 4] Operation: 24-20=4 Exploring Operation: 20+24=44, Resulting Numbers: [1, 44] Generated Node #0,2,1: 45:[1, 44] Operation: 20+24=44 Exploring Operation: 20-1=19, Resulting Numbers: [24, 19] Generated Node #0,2,2: 45:[24, 19] Operation: 20-1=19 Exploring Operation: 24-1=23, Resulting Numbers: [20, 23] Generated Node #0,2,3: 45:[20, 23] Operation: 24-1=23 Exploring Operation: 1*20=20, Resulting Numbers: [24, 20] Generated Node #0,2,4: 45:[24, 20] Operation: 1*20=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[1, 4], Operations: ['79-55=24', '24-20=4'] Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[1, 44], Operations: ['79-55=24', '20+24=44'] Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,45 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 1+44=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[1, 20, 79, 55], Operations: [] Exploring Operation: 79-55=24, Resulting Numbers: [1, 20, 24] Generated Node #0,2: 45:[1, 20, 24] Operation: 79-55=24 Moving to Node #0,2 Current State: 45:[1, 20, 24], Operations: ['79-55=24'] Exploring Operation: 20+24=44, Resulting Numbers: [1, 44] Generated Node #0,2,1: 45:[1, 44] Operation: 20+24=44 Moving to Node #0,2,1 Current State: 45:[1, 44], Operations: ['79-55=24', '20+24=44'] Exploring Operation: 1+44=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 63, 99, 98, 79 ]
17
[ "99-63=36", "98-79=19", "36-19=17" ]
Current State: 17:[63, 99, 98, 79], Operations: [] Exploring Operation: 99-63=36, Resulting Numbers: [98, 79, 36] Generated Node #2: [98, 79, 36] from Operation: 99-63=36 Current State: 17:[98, 79, 36], Operations: ['99-63=36'] Exploring Operation: 98-79=19, Resulting Numbers: [36, 19] Generated Node #3: [36, 19] from Operation: 98-79=19 Current State: 17:[36, 19], Operations: ['99-63=36', '98-79=19'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[63, 99, 98, 79], Operations: [] Exploring Operation: 99-79=20, Resulting Numbers: [63, 98, 20] Generated Node #0,0: 17:[63, 98, 20] Operation: 99-79=20 Exploring Operation: 99-63=36, Resulting Numbers: [98, 79, 36] Generated Node #0,1: 17:[98, 79, 36] Operation: 99-63=36 Exploring Operation: 99-98=1, Resulting Numbers: [63, 79, 1] Generated Node #0,2: 17:[63, 79, 1] Operation: 99-98=1 Exploring Operation: 98-79=19, Resulting Numbers: [63, 99, 19] Generated Node #0,3: 17:[63, 99, 19] Operation: 98-79=19 Exploring Operation: 98-63=35, Resulting Numbers: [99, 79, 35] Generated Node #0,4: 17:[99, 79, 35] Operation: 98-63=35 Moving to Node #0,2 Current State: 17:[63, 79, 1], Operations: ['99-98=1'] Exploring Operation: 79-1=78, Resulting Numbers: [63, 78] Generated Node #0,2,0: 17:[63, 78] Operation: 79-1=78 Exploring Operation: 63-1=62, Resulting Numbers: [79, 62] Generated Node #0,2,1: 17:[79, 62] Operation: 63-1=62 Exploring Operation: 79-63=16, Resulting Numbers: [1, 16] Generated Node #0,2,2: 17:[1, 16] Operation: 79-63=16 Exploring Operation: 63*1=63, Resulting Numbers: [79, 63] Generated Node #0,2,3: 17:[79, 63] Operation: 63*1=63 Exploring Operation: 63/1=63, Resulting Numbers: [79, 63] Generated Node #0,2,4: 17:[79, 63] Operation: 63/1=63 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[1, 16], Operations: ['99-98=1', '79-63=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[63, 99, 98, 79], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [63, 79, 1] Generated Node #0,2: 17:[63, 79, 1] Operation: 99-98=1 Moving to Node #0,2 Current State: 17:[63, 79, 1], Operations: ['99-98=1'] Exploring Operation: 79-63=16, Resulting Numbers: [1, 16] Generated Node #0,2,2: 17:[1, 16] Operation: 79-63=16 Moving to Node #0,2,2 Current State: 17:[1, 16], Operations: ['99-98=1', '79-63=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 73, 6, 4, 18 ]
100
[ "6*18=108", "108/4=27", "73+27=100" ]
Current State: 100:[73, 6, 4, 18], Operations: [] Exploring Operation: 6*18=108, Resulting Numbers: [73, 4, 108] Generated Node #2: [73, 4, 108] from Operation: 6*18=108 Current State: 100:[73, 4, 108], Operations: ['6*18=108'] Exploring Operation: 108/4=27, Resulting Numbers: [73, 27] Generated Node #3: [73, 27] from Operation: 108/4=27 Current State: 100:[73, 27], Operations: ['6*18=108', '108/4=27'] Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[73, 6, 4, 18], Operations: [] Exploring Operation: 73-18=55, Resulting Numbers: [6, 4, 55] Generated Node #0,0: 100:[6, 4, 55] Operation: 73-18=55 Exploring Operation: 73+18=91, Resulting Numbers: [6, 4, 91] Generated Node #0,1: 100:[6, 4, 91] Operation: 73+18=91 Exploring Operation: 73-6=67, Resulting Numbers: [4, 18, 67] Generated Node #0,2: 100:[4, 18, 67] Operation: 73-6=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[6, 4, 55], Operations: ['73-18=55'] Exploring Operation: 55-4=51, Resulting Numbers: [6, 51] Generated Node #0,0,0: 100:[6, 51] Operation: 55-4=51 Exploring Operation: 6+4=10, Resulting Numbers: [55, 10] Generated Node #0,0,1: 100:[55, 10] Operation: 6+4=10 Exploring Operation: 55-6=49, Resulting Numbers: [4, 49] Generated Node #0,0,2: 100:[4, 49] Operation: 55-6=49 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 100:[4, 49], Operations: ['73-18=55', '55-6=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[6, 51], Operations: ['73-18=55', '55-4=51'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[55, 10], Operations: ['73-18=55', '6+4=10'] Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 55+10=65, Resulting Numbers: [65] 65,100 unequal: No Solution Exploring Operation: 55*10=550, Resulting Numbers: [550] 550,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[6, 4, 91], Operations: ['73+18=91'] Exploring Operation: 6+4=10, Resulting Numbers: [91, 10] Generated Node #0,1,0: 100:[91, 10] Operation: 6+4=10 Exploring Operation: 6+91=97, Resulting Numbers: [4, 97] Generated Node #0,1,1: 100:[4, 97] Operation: 6+91=97 Exploring Operation: 4+91=95, Resulting Numbers: [6, 95] Generated Node #0,1,2: 100:[6, 95] Operation: 4+91=95 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[4, 97], Operations: ['73+18=91', '6+91=97'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,100 unequal: No Solution Exploring Operation: 4*97=388, Resulting Numbers: [388] 388,100 unequal: No Solution Exploring Operation: 4+97=101, Resulting Numbers: [101] 101,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[6, 95], Operations: ['73+18=91', '4+91=95'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,100 unequal: No Solution Exploring Operation: 6+95=101, Resulting Numbers: [101] 101,100 unequal: No Solution Exploring Operation: 6*95=570, Resulting Numbers: [570] 570,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[91, 10], Operations: ['73+18=91', '6+4=10'] Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 91*10=910, Resulting Numbers: [910] 910,100 unequal: No Solution Exploring Operation: 91+10=101, Resulting Numbers: [101] 101,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[4, 18, 67], Operations: ['73-6=67'] Exploring Operation: 67-18=49, Resulting Numbers: [4, 49] Generated Node #0,2,0: 100:[4, 49] Operation: 67-18=49 Exploring Operation: 18+67=85, Resulting Numbers: [4, 85] Generated Node #0,2,1: 100:[4, 85] Operation: 18+67=85 Exploring Operation: 67-4=63, Resulting Numbers: [18, 63] Generated Node #0,2,2: 100:[18, 63] Operation: 67-4=63 Moving to Node #0,2,0 Current State: 100:[4, 49], Operations: ['73-6=67', '67-18=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,100 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[4, 85], Operations: ['73-6=67', '18+67=85'] Exploring Operation: 4*85=340, Resulting Numbers: [340] 340,100 unequal: No Solution Exploring Operation: 4+85=89, Resulting Numbers: [89] 89,100 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[18, 63], Operations: ['73-6=67', '67-4=63'] Exploring Operation: 18+63=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 18*63=1134, Resulting Numbers: [1134] 1134,100 unequal: No Solution Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 49, 53, 20, 24 ]
19
[ "53-49=4", "20/4=5", "24-5=19" ]
Current State: 19:[49, 53, 20, 24], Operations: [] Exploring Operation: 53-49=4, Resulting Numbers: [20, 24, 4] Generated Node #2: [20, 24, 4] from Operation: 53-49=4 Current State: 19:[20, 24, 4], Operations: ['53-49=4'] Exploring Operation: 20/4=5, Resulting Numbers: [24, 5] Generated Node #3: [24, 5] from Operation: 20/4=5 Current State: 19:[24, 5], Operations: ['53-49=4', '20/4=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[49, 53, 20, 24], Operations: [] Exploring Operation: 53-24=29, Resulting Numbers: [49, 20, 29] Generated Node #0,0: 19:[49, 20, 29] Operation: 53-24=29 Exploring Operation: 49-20=29, Resulting Numbers: [53, 24, 29] Generated Node #0,1: 19:[53, 24, 29] Operation: 49-20=29 Exploring Operation: 49-24=25, Resulting Numbers: [53, 20, 25] Generated Node #0,2: 19:[53, 20, 25] Operation: 49-24=25 Exploring Operation: 53-49=4, Resulting Numbers: [20, 24, 4] Generated Node #0,3: 19:[20, 24, 4] Operation: 53-49=4 Moving to Node #0,3 Current State: 19:[20, 24, 4], Operations: ['53-49=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20, 20] Generated Node #0,3,0: 19:[20, 20] Operation: 24-4=20 Exploring Operation: 20+4=24, Resulting Numbers: [24, 24] Generated Node #0,3,1: 19:[24, 24] Operation: 20+4=24 Exploring Operation: 20-4=16, Resulting Numbers: [24, 16] Generated Node #0,3,2: 19:[24, 16] Operation: 20-4=16 Exploring Operation: 24+4=28, Resulting Numbers: [20, 28] Generated Node #0,3,3: 19:[20, 28] Operation: 24+4=28 Moving to Node #0,2 Current State: 19:[53, 20, 25], Operations: ['49-24=25'] Exploring Operation: 25-20=5, Resulting Numbers: [53, 5] Generated Node #0,2,0: 19:[53, 5] Operation: 25-20=5 Exploring Operation: 53-20=33, Resulting Numbers: [25, 33] Generated Node #0,2,1: 19:[25, 33] Operation: 53-20=33 Exploring Operation: 53-25=28, Resulting Numbers: [20, 28] Generated Node #0,2,2: 19:[20, 28] Operation: 53-25=28 Exploring Operation: 53+20=73, Resulting Numbers: [25, 73] Generated Node #0,2,3: 19:[25, 73] Operation: 53+20=73 Moving to Node #0,0 Current State: 19:[49, 20, 29], Operations: ['53-24=29'] Exploring Operation: 49-29=20, Resulting Numbers: [20, 20] Generated Node #0,0,0: 19:[20, 20] Operation: 49-29=20 Exploring Operation: 49+20=69, Resulting Numbers: [29, 69] Generated Node #0,0,1: 19:[29, 69] Operation: 49+20=69 Exploring Operation: 49-20=29, Resulting Numbers: [29, 29] Generated Node #0,0,2: 19:[29, 29] Operation: 49-20=29 Exploring Operation: 29-20=9, Resulting Numbers: [49, 9] Generated Node #0,0,3: 19:[49, 9] Operation: 29-20=9 Moving to Node #0,1 Current State: 19:[53, 24, 29], Operations: ['49-20=29'] Exploring Operation: 53+24=77, Resulting Numbers: [29, 77] Generated Node #0,1,0: 19:[29, 77] Operation: 53+24=77 Exploring Operation: 53-24=29, Resulting Numbers: [29, 29] Generated Node #0,1,1: 19:[29, 29] Operation: 53-24=29 Exploring Operation: 53-29=24, Resulting Numbers: [24, 24] Generated Node #0,1,2: 19:[24, 24] Operation: 53-29=24 Exploring Operation: 29-24=5, Resulting Numbers: [53, 5] Generated Node #0,1,3: 19:[53, 5] Operation: 29-24=5 Moving to Node #0,3,0 Current State: 19:[20, 20], Operations: ['53-49=4', '24-4=20'] Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,19 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[20, 20], Operations: ['53-24=29', '49-29=20'] Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[24, 16], Operations: ['53-49=4', '20-4=16'] Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,19 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[24, 24], Operations: ['53-49=4', '20+4=24'] Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,19 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[24, 24], Operations: ['49-20=29', '53-29=24'] Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,19 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[20, 28], Operations: ['49-24=25', '53-25=28'] Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,19 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[20, 28], Operations: ['53-49=4', '24+4=28'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[29, 29], Operations: ['49-20=29', '53-24=29'] Exploring Operation: 29-29=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 29*29=841, Resulting Numbers: [841] 841,19 unequal: No Solution Exploring Operation: 29+29=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 29/29=1, Resulting Numbers: [1] 1,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[25, 33], Operations: ['49-24=25', '53-20=33'] Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,19 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[29, 29], Operations: ['53-24=29', '49-20=29'] Exploring Operation: 29+29=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 29*29=841, Resulting Numbers: [841] 841,19 unequal: No Solution Exploring Operation: 29/29=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 29-29=0, Resulting Numbers: [0] 0,19 unequal: No Solution Moving to Node #0,0,3 Current State: 19:[49, 9], Operations: ['53-24=29', '29-20=9'] Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 49*9=441, Resulting Numbers: [441] 441,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[53, 5], Operations: ['49-24=25', '25-20=5'] Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,19 unequal: No Solution Moving to Node #0,1,3 Current State: 19:[53, 5], Operations: ['49-20=29', '29-24=5'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[29, 69], Operations: ['53-24=29', '49+20=69'] Exploring Operation: 29+69=98, Resulting Numbers: [98] 98,19 unequal: No Solution Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 29*69=2001, Resulting Numbers: [2001] 2001,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[25, 73], Operations: ['49-24=25', '53+20=73'] Exploring Operation: 25*73=1825, Resulting Numbers: [1825] 1825,19 unequal: No Solution Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 25+73=98, Resulting Numbers: [98] 98,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[29, 77], Operations: ['49-20=29', '53+24=77'] Exploring Operation: 77-29=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 29*77=2233, Resulting Numbers: [2233] 2233,19 unequal: No Solution Exploring Operation: 29+77=106, Resulting Numbers: [106] 106,19 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 5, 89, 28, 50 ]
16
[ "5+89=94", "28+50=78", "94-78=16" ]
Current State: 16:[5, 89, 28, 50], Operations: [] Exploring Operation: 5+89=94, Resulting Numbers: [28, 50, 94] Generated Node #2: [28, 50, 94] from Operation: 5+89=94 Current State: 16:[28, 50, 94], Operations: ['5+89=94'] Exploring Operation: 28+50=78, Resulting Numbers: [94, 78] Generated Node #3: [94, 78] from Operation: 28+50=78 Current State: 16:[94, 78], Operations: ['5+89=94', '28+50=78'] Exploring Operation: 94-78=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[5, 89, 28, 50], Operations: [] Exploring Operation: 89-50=39, Resulting Numbers: [5, 28, 39] Generated Node #0,0: 16:[5, 28, 39] Operation: 89-50=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[5, 28, 39], Operations: ['89-50=39'] Exploring Operation: 39-28=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 16:[5, 11] Operation: 39-28=11 Moving to Node #0,0,0 Current State: 16:[5, 11], Operations: ['89-50=39', '39-28=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[5, 89, 28, 50], Operations: [] Exploring Operation: 89-50=39, Resulting Numbers: [5, 28, 39] Generated Node #0,0: 16:[5, 28, 39] Operation: 89-50=39 Moving to Node #0,0 Current State: 16:[5, 28, 39], Operations: ['89-50=39'] Exploring Operation: 39-28=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 16:[5, 11] Operation: 39-28=11 Moving to Node #0,0,0 Current State: 16:[5, 11], Operations: ['89-50=39', '39-28=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 97, 73, 38, 39 ]
24
[ "97-73=24", "39-38=1", "24*1=24" ]
Current State: 24:[97, 73, 38, 39], Operations: [] Exploring Operation: 97-73=24, Resulting Numbers: [38, 39, 24] Generated Node #2: [38, 39, 24] from Operation: 97-73=24 Current State: 24:[38, 39, 24], Operations: ['97-73=24'] Exploring Operation: 39-38=1, Resulting Numbers: [24, 1] Generated Node #3: [24, 1] from Operation: 39-38=1 Current State: 24:[24, 1], Operations: ['97-73=24', '39-38=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[97, 73, 38, 39], Operations: [] Exploring Operation: 97-39=58, Resulting Numbers: [73, 38, 58] Generated Node #0,0: 24:[73, 38, 58] Operation: 97-39=58 Exploring Operation: 97-38=59, Resulting Numbers: [73, 39, 59] Generated Node #0,1: 24:[73, 39, 59] Operation: 97-38=59 Exploring Operation: 73-39=34, Resulting Numbers: [97, 38, 34] Generated Node #0,2: 24:[97, 38, 34] Operation: 73-39=34 Exploring Operation: 97-73=24, Resulting Numbers: [38, 39, 24] Generated Node #0,3: 24:[38, 39, 24] Operation: 97-73=24 Moving to Node #0,3 Current State: 24:[38, 39, 24], Operations: ['97-73=24'] Exploring Operation: 38+39=77, Resulting Numbers: [24, 77] Generated Node #0,3,0: 24:[24, 77] Operation: 38+39=77 Exploring Operation: 38-24=14, Resulting Numbers: [39, 14] Generated Node #0,3,1: 24:[39, 14] Operation: 38-24=14 Exploring Operation: 39-38=1, Resulting Numbers: [24, 1] Generated Node #0,3,2: 24:[24, 1] Operation: 39-38=1 Exploring Operation: 39-24=15, Resulting Numbers: [38, 15] Generated Node #0,3,3: 24:[38, 15] Operation: 39-24=15 Moving to Node #0,2 Current State: 24:[97, 38, 34], Operations: ['73-39=34'] Exploring Operation: 97-38=59, Resulting Numbers: [34, 59] Generated Node #0,2,0: 24:[34, 59] Operation: 97-38=59 Exploring Operation: 38-34=4, Resulting Numbers: [97, 4] Generated Node #0,2,1: 24:[97, 4] Operation: 38-34=4 Exploring Operation: 97-34=63, Resulting Numbers: [38, 63] Generated Node #0,2,2: 24:[38, 63] Operation: 97-34=63 Exploring Operation: 97+38=135, Resulting Numbers: [34, 135] Generated Node #0,2,3: 24:[34, 135] Operation: 97+38=135 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[34, 59], Operations: ['73-39=34', '97-38=59'] Exploring Operation: 34*59=2006, Resulting Numbers: [2006] 2006,24 unequal: No Solution Exploring Operation: 34+59=93, Resulting Numbers: [93] 93,24 unequal: No Solution Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[38, 63], Operations: ['73-39=34', '97-34=63'] Exploring Operation: 38+63=101, Resulting Numbers: [101] 101,24 unequal: No Solution Exploring Operation: 38*63=2394, Resulting Numbers: [2394] 2394,24 unequal: No Solution Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[97, 4], Operations: ['73-39=34', '38-34=4'] Exploring Operation: 97*4=388, Resulting Numbers: [388] 388,24 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,24 unequal: No Solution Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[34, 135], Operations: ['73-39=34', '97+38=135'] Exploring Operation: 34*135=4590, Resulting Numbers: [4590] 4590,24 unequal: No Solution Exploring Operation: 34+135=169, Resulting Numbers: [169] 169,24 unequal: No Solution Exploring Operation: 135-34=101, Resulting Numbers: [101] 101,24 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: 24:[73, 38, 58], Operations: ['97-39=58'] Exploring Operation: 73-38=35, Resulting Numbers: [58, 35] Generated Node #0,0,0: 24:[58, 35] Operation: 73-38=35 Exploring Operation: 73-58=15, Resulting Numbers: [38, 15] Generated Node #0,0,1: 24:[38, 15] Operation: 73-58=15 Exploring Operation: 58-38=20, Resulting Numbers: [73, 20] Generated Node #0,0,2: 24:[73, 20] Operation: 58-38=20 Exploring Operation: 73+38=111, Resulting Numbers: [58, 111] Generated Node #0,0,3: 24:[58, 111] Operation: 73+38=111 Moving to Node #0,1 Current State: 24:[73, 39, 59], Operations: ['97-38=59'] Exploring Operation: 73-39=34, Resulting Numbers: [59, 34] Generated Node #0,1,0: 24:[59, 34] Operation: 73-39=34 Exploring Operation: 73+39=112, Resulting Numbers: [59, 112] Generated Node #0,1,1: 24:[59, 112] Operation: 73+39=112 Exploring Operation: 59-39=20, Resulting Numbers: [73, 20] Generated Node #0,1,2: 24:[73, 20] Operation: 59-39=20 Exploring Operation: 73-59=14, Resulting Numbers: [39, 14] Generated Node #0,1,3: 24:[39, 14] Operation: 73-59=14 Moving to Node #0,3,2 Current State: 24:[24, 1], Operations: ['97-73=24', '39-38=1'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[97, 73, 38, 39], Operations: [] Exploring Operation: 97-73=24, Resulting Numbers: [38, 39, 24] Generated Node #0,3: 24:[38, 39, 24] Operation: 97-73=24 Moving to Node #0,3 Current State: 24:[38, 39, 24], Operations: ['97-73=24'] Exploring Operation: 39-38=1, Resulting Numbers: [24, 1] Generated Node #0,3,2: 24:[24, 1] Operation: 39-38=1 Moving to Node #0,3,2 Current State: 24:[24, 1], Operations: ['97-73=24', '39-38=1'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.967882
hs_4
mult_heuristic
[ 18, 23, 97, 78 ]
23
[ "97-18=79", "79-78=1", "23*1=23" ]
Current State: 23:[18, 23, 97, 78], Operations: [] Exploring Operation: 97-18=79, Resulting Numbers: [23, 78, 79] Generated Node #2: [23, 78, 79] from Operation: 97-18=79 Current State: 23:[23, 78, 79], Operations: ['97-18=79'] Exploring Operation: 79-78=1, Resulting Numbers: [23, 1] Generated Node #3: [23, 1] from Operation: 79-78=1 Current State: 23:[23, 1], Operations: ['97-18=79', '79-78=1'] Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[18, 23, 97, 78], Operations: [] Exploring Operation: 97-78=19, Resulting Numbers: [18, 23, 19] Generated Node #0,0: 23:[18, 23, 19] Operation: 97-78=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[18, 23, 19], Operations: ['97-78=19'] Exploring Operation: 18+19=37, Resulting Numbers: [23, 37] Generated Node #0,0,0: 23:[23, 37] Operation: 18+19=37 Moving to Node #0,0,0 Current State: 23:[23, 37], Operations: ['97-78=19', '18+19=37'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 70, 63, 10, 35 ]
50
[ "70-63=7", "10*35=350", "350/7=50" ]
Current State: 50:[70, 63, 10, 35], Operations: [] Exploring Operation: 70-63=7, Resulting Numbers: [10, 35, 7] Generated Node #2: [10, 35, 7] from Operation: 70-63=7 Current State: 50:[10, 35, 7], Operations: ['70-63=7'] Exploring Operation: 10*35=350, Resulting Numbers: [7, 350] Generated Node #3: [7, 350] from Operation: 10*35=350 Current State: 50:[7, 350], Operations: ['70-63=7', '10*35=350'] Exploring Operation: 350/7=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[70, 63, 10, 35], Operations: [] Exploring Operation: 70/35=2, Resulting Numbers: [63, 10, 2] Generated Node #0,0: 50:[63, 10, 2] Operation: 70/35=2 Exploring Operation: 70-63=7, Resulting Numbers: [10, 35, 7] Generated Node #0,1: 50:[10, 35, 7] Operation: 70-63=7 Moving to Node #0,1 Current State: 50:[10, 35, 7], Operations: ['70-63=7'] Exploring Operation: 35-10=25, Resulting Numbers: [7, 25] Generated Node #0,1,0: 50:[7, 25] Operation: 35-10=25 Exploring Operation: 35/7=5, Resulting Numbers: [10, 5] Generated Node #0,1,1: 50:[10, 5] Operation: 35/7=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[10, 5], Operations: ['70-63=7', '35/7=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[70, 63, 10, 35], Operations: [] Exploring Operation: 70-63=7, Resulting Numbers: [10, 35, 7] Generated Node #0,1: 50:[10, 35, 7] Operation: 70-63=7 Moving to Node #0,1 Current State: 50:[10, 35, 7], Operations: ['70-63=7'] Exploring Operation: 35/7=5, Resulting Numbers: [10, 5] Generated Node #0,1,1: 50:[10, 5] Operation: 35/7=5 Moving to Node #0,1,1 Current State: 50:[10, 5], Operations: ['70-63=7', '35/7=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 78, 4, 67, 30 ]
14
[ "78-67=11", "4*11=44", "44-30=14" ]
Current State: 14:[78, 4, 67, 30], Operations: [] Exploring Operation: 78-67=11, Resulting Numbers: [4, 30, 11] Generated Node #2: [4, 30, 11] from Operation: 78-67=11 Current State: 14:[4, 30, 11], Operations: ['78-67=11'] Exploring Operation: 4*11=44, Resulting Numbers: [30, 44] Generated Node #3: [30, 44] from Operation: 4*11=44 Current State: 14:[30, 44], Operations: ['78-67=11', '4*11=44'] Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[78, 4, 67, 30], Operations: [] Exploring Operation: 78-30=48, Resulting Numbers: [4, 67, 48] Generated Node #0,0: 14:[4, 67, 48] Operation: 78-30=48 Exploring Operation: 67-30=37, Resulting Numbers: [78, 4, 37] Generated Node #0,1: 14:[78, 4, 37] Operation: 67-30=37 Exploring Operation: 78-67=11, Resulting Numbers: [4, 30, 11] Generated Node #0,2: 14:[4, 30, 11] Operation: 78-67=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[4, 30, 11], Operations: ['78-67=11'] Exploring Operation: 30-11=19, Resulting Numbers: [4, 19] Generated Node #0,2,0: 14:[4, 19] Operation: 30-11=19 Exploring Operation: 30-4=26, Resulting Numbers: [11, 26] Generated Node #0,2,1: 14:[11, 26] Operation: 30-4=26 Exploring Operation: 11-4=7, Resulting Numbers: [30, 7] Generated Node #0,2,2: 14:[30, 7] Operation: 11-4=7 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 14:[4, 19], Operations: ['78-67=11', '30-11=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,14 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,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,2,1 Current State: 14:[11, 26], Operations: ['78-67=11', '30-4=26'] Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,14 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,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,2,2 Current State: 14:[30, 7], Operations: ['78-67=11', '11-4=7'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,14 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,14 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: 14:[4, 67, 48], Operations: ['78-30=48'] Exploring Operation: 67-48=19, Resulting Numbers: [4, 19] Generated Node #0,0,0: 14:[4, 19] Operation: 67-48=19 Exploring Operation: 48/4=12, Resulting Numbers: [67, 12] Generated Node #0,0,1: 14:[67, 12] Operation: 48/4=12 Exploring Operation: 67-4=63, Resulting Numbers: [48, 63] Generated Node #0,0,2: 14:[48, 63] Operation: 67-4=63 Moving to Node #0,0,0 Current State: 14:[4, 19], Operations: ['78-30=48', '67-48=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,14 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[67, 12], Operations: ['78-30=48', '48/4=12'] Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,14 unequal: No Solution Exploring Operation: 67*12=804, Resulting Numbers: [804] 804,14 unequal: No Solution Exploring Operation: 67+12=79, Resulting Numbers: [79] 79,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[48, 63], Operations: ['78-30=48', '67-4=63'] Exploring Operation: 48*63=3024, Resulting Numbers: [3024] 3024,14 unequal: No Solution Exploring Operation: 48+63=111, Resulting Numbers: [111] 111,14 unequal: No Solution Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[78, 4, 37], Operations: ['67-30=37'] Exploring Operation: 78-4=74, Resulting Numbers: [37, 74] Generated Node #0,1,0: 14:[37, 74] Operation: 78-4=74 Exploring Operation: 78-37=41, Resulting Numbers: [4, 41] Generated Node #0,1,1: 14:[4, 41] Operation: 78-37=41 Exploring Operation: 37-4=33, Resulting Numbers: [78, 33] Generated Node #0,1,2: 14:[78, 33] Operation: 37-4=33 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[4, 41], Operations: ['67-30=37', '78-37=41'] Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,14 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,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,1,0 Current State: 14:[37, 74], Operations: ['67-30=37', '78-4=74'] Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 37+74=111, Resulting Numbers: [111] 111,14 unequal: No Solution Exploring Operation: 74/37=2, Resulting Numbers: [2] 2,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,1,2 Current State: 14:[78, 33], Operations: ['67-30=37', '37-4=33'] Exploring Operation: 78-33=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 78+33=111, Resulting Numbers: [111] 111,14 unequal: No Solution Exploring Operation: 78*33=2574, Resulting Numbers: [2574] 2574,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 31, 50, 20, 75 ]
26
[ "31+50=81", "75-20=55", "81-55=26" ]
Current State: 26:[31, 50, 20, 75], Operations: [] Exploring Operation: 31+50=81, Resulting Numbers: [20, 75, 81] Generated Node #2: [20, 75, 81] from Operation: 31+50=81 Current State: 26:[20, 75, 81], Operations: ['31+50=81'] Exploring Operation: 75-20=55, Resulting Numbers: [81, 55] Generated Node #3: [81, 55] from Operation: 75-20=55 Current State: 26:[81, 55], Operations: ['31+50=81', '75-20=55'] Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[31, 50, 20, 75], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [31, 20, 25] Generated Node #0,0: 26:[31, 20, 25] Operation: 75-50=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[31, 20, 25], Operations: ['75-50=25'] Exploring Operation: 31-20=11, Resulting Numbers: [25, 11] Generated Node #0,0,0: 26:[25, 11] Operation: 31-20=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[25, 11], Operations: ['75-50=25', '31-20=11'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,26 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
[ 97, 69, 95, 3 ]
74
[ "97+69=166", "95-3=92", "166-92=74" ]
Current State: 74:[97, 69, 95, 3], Operations: [] Exploring Operation: 97+69=166, Resulting Numbers: [95, 3, 166] Generated Node #2: [95, 3, 166] from Operation: 97+69=166 Current State: 74:[95, 3, 166], Operations: ['97+69=166'] Exploring Operation: 95-3=92, Resulting Numbers: [166, 92] Generated Node #3: [166, 92] from Operation: 95-3=92 Current State: 74:[166, 92], Operations: ['97+69=166', '95-3=92'] Exploring Operation: 166-92=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[97, 69, 95, 3], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [69, 3, 2] Generated Node #0,0: 74:[69, 3, 2] Operation: 97-95=2 Exploring Operation: 97-69=28, Resulting Numbers: [95, 3, 28] Generated Node #0,1: 74:[95, 3, 28] Operation: 97-69=28 Moving to Node #0,0 Current State: 74:[69, 3, 2], Operations: ['97-95=2'] Exploring Operation: 69+2=71, Resulting Numbers: [3, 71] Generated Node #0,0,0: 74:[3, 71] Operation: 69+2=71 Exploring Operation: 69+3=72, Resulting Numbers: [2, 72] Generated Node #0,0,1: 74:[2, 72] Operation: 69+3=72 Moving to Node #0,1 Current State: 74:[95, 3, 28], Operations: ['97-69=28'] Exploring Operation: 95-28=67, Resulting Numbers: [3, 67] Generated Node #0,1,0: 74:[3, 67] Operation: 95-28=67 Exploring Operation: 95-3=92, Resulting Numbers: [28, 92] Generated Node #0,1,1: 74:[28, 92] Operation: 95-3=92 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[3, 67], Operations: ['97-69=28', '95-28=67'] Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[28, 92], Operations: ['97-69=28', '95-3=92'] Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,74 unequal: No Solution Exploring Operation: 28+92=120, Resulting Numbers: [120] 120,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 74:[2, 72], Operations: ['97-95=2', '69+3=72'] Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[97, 69, 95, 3], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [69, 3, 2] Generated Node #0,0: 74:[69, 3, 2] Operation: 97-95=2 Moving to Node #0,0 Current State: 74:[69, 3, 2], Operations: ['97-95=2'] Exploring Operation: 69+3=72, Resulting Numbers: [2, 72] Generated Node #0,0,1: 74:[2, 72] Operation: 69+3=72 Moving to Node #0,0,1 Current State: 74:[2, 72], Operations: ['97-95=2', '69+3=72'] Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 40, 2, 92, 87 ]
10
[ "92-87=5", "40/5=8", "2+8=10" ]
Current State: 10:[40, 2, 92, 87], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [40, 2, 5] Generated Node #2: [40, 2, 5] from Operation: 92-87=5 Current State: 10:[40, 2, 5], Operations: ['92-87=5'] Exploring Operation: 40/5=8, Resulting Numbers: [2, 8] Generated Node #3: [2, 8] from Operation: 40/5=8 Current State: 10:[2, 8], Operations: ['92-87=5', '40/5=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[40, 2, 92, 87], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [40, 2, 5] Generated Node #0,0: 10:[40, 2, 5] Operation: 92-87=5 Exploring Operation: 92-40=52, Resulting Numbers: [2, 87, 52] Generated Node #0,1: 10:[2, 87, 52] Operation: 92-40=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[40, 2, 5], Operations: ['92-87=5'] Exploring Operation: 40/2=20, Resulting Numbers: [5, 20] Generated Node #0,0,0: 10:[5, 20] Operation: 40/2=20 Exploring Operation: 40/5=8, Resulting Numbers: [2, 8] Generated Node #0,0,1: 10:[2, 8] Operation: 40/5=8 Moving to Node #0,0,1 Current State: 10:[2, 8], Operations: ['92-87=5', '40/5=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[40, 2, 92, 87], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [40, 2, 5] Generated Node #0,0: 10:[40, 2, 5] Operation: 92-87=5 Moving to Node #0,0 Current State: 10:[40, 2, 5], Operations: ['92-87=5'] Exploring Operation: 40/5=8, Resulting Numbers: [2, 8] Generated Node #0,0,1: 10:[2, 8] Operation: 40/5=8 Moving to Node #0,0,1 Current State: 10:[2, 8], Operations: ['92-87=5', '40/5=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 38, 35, 24, 97 ]
89
[ "38-35=3", "24/3=8", "97-8=89" ]
Current State: 89:[38, 35, 24, 97], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [24, 97, 3] Generated Node #2: [24, 97, 3] from Operation: 38-35=3 Current State: 89:[24, 97, 3], Operations: ['38-35=3'] Exploring Operation: 24/3=8, Resulting Numbers: [97, 8] Generated Node #3: [97, 8] from Operation: 24/3=8 Current State: 89:[97, 8], Operations: ['38-35=3', '24/3=8'] Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[38, 35, 24, 97], Operations: [] Exploring Operation: 38+35=73, Resulting Numbers: [24, 97, 73] Generated Node #0,0: 89:[24, 97, 73] Operation: 38+35=73 Exploring Operation: 38+24=62, Resulting Numbers: [35, 97, 62] Generated Node #0,1: 89:[35, 97, 62] Operation: 38+24=62 Moving to Node #0,0 Current State: 89:[24, 97, 73], Operations: ['38+35=73'] Exploring Operation: 97-24=73, Resulting Numbers: [73, 73] Generated Node #0,0,0: 89:[73, 73] Operation: 97-24=73 Exploring Operation: 24+73=97, Resulting Numbers: [97, 97] Generated Node #0,0,1: 89:[97, 97] Operation: 24+73=97 Moving to Node #0,1 Current State: 89:[35, 97, 62], Operations: ['38+24=62'] Exploring Operation: 35+62=97, Resulting Numbers: [97, 97] Generated Node #0,1,0: 89:[97, 97] Operation: 35+62=97 Exploring Operation: 97-35=62, Resulting Numbers: [62, 62] Generated Node #0,1,1: 89:[62, 62] Operation: 97-35=62 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[97, 97], Operations: ['38+24=62', '35+62=97'] Exploring Operation: 97-97=0, Resulting Numbers: [0] 0,89 unequal: No Solution Exploring Operation: 97/97=1, Resulting Numbers: [1] 1,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[62, 62], Operations: ['38+24=62', '97-35=62'] Exploring Operation: 62/62=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 62+62=124, Resulting Numbers: [124] 124,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 89:[97, 97], Operations: ['38+35=73', '24+73=97'] Exploring Operation: 97-97=0, Resulting Numbers: [0] 0,89 unequal: No Solution Exploring Operation: 97/97=1, Resulting Numbers: [1] 1,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[73, 73], Operations: ['38+35=73', '97-24=73'] Exploring Operation: 73+73=146, Resulting Numbers: [146] 146,89 unequal: No Solution Exploring Operation: 73/73=1, Resulting Numbers: [1] 1,89 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 39, 87, 68, 41 ]
44
[ "68-39=29", "87/29=3", "41+3=44" ]
Current State: 44:[39, 87, 68, 41], Operations: [] Exploring Operation: 68-39=29, Resulting Numbers: [87, 41, 29] Generated Node #2: [87, 41, 29] from Operation: 68-39=29 Current State: 44:[87, 41, 29], Operations: ['68-39=29'] Exploring Operation: 87/29=3, Resulting Numbers: [41, 3] Generated Node #3: [41, 3] from Operation: 87/29=3 Current State: 44:[41, 3], Operations: ['68-39=29', '87/29=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[39, 87, 68, 41], Operations: [] Exploring Operation: 87-68=19, Resulting Numbers: [39, 41, 19] Generated Node #0,0: 44:[39, 41, 19] Operation: 87-68=19 Exploring Operation: 87-39=48, Resulting Numbers: [68, 41, 48] Generated Node #0,1: 44:[68, 41, 48] Operation: 87-39=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[39, 41, 19], Operations: ['87-68=19'] Exploring Operation: 41-39=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 44:[19, 2] Operation: 41-39=2 Exploring Operation: 39-19=20, Resulting Numbers: [41, 20] Generated Node #0,0,1: 44:[41, 20] Operation: 39-19=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[19, 2], Operations: ['87-68=19', '41-39=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[41, 20], Operations: ['87-68=19', '39-19=20'] Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[68, 41, 48], Operations: ['87-39=48'] Exploring Operation: 68-41=27, Resulting Numbers: [48, 27] Generated Node #0,1,0: 44:[48, 27] Operation: 68-41=27 Exploring Operation: 68-48=20, Resulting Numbers: [41, 20] Generated Node #0,1,1: 44:[41, 20] Operation: 68-48=20 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[41, 20], Operations: ['87-39=48', '68-48=20'] Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[48, 27], Operations: ['87-39=48', '68-41=27'] Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 48, 21, 68, 94 ]
53
[ "48-21=27", "94-68=26", "27+26=53" ]
Current State: 53:[48, 21, 68, 94], Operations: [] Exploring Operation: 48-21=27, Resulting Numbers: [68, 94, 27] Generated Node #2: [68, 94, 27] from Operation: 48-21=27 Current State: 53:[68, 94, 27], Operations: ['48-21=27'] Exploring Operation: 94-68=26, Resulting Numbers: [27, 26] Generated Node #3: [27, 26] from Operation: 94-68=26 Current State: 53:[27, 26], Operations: ['48-21=27', '94-68=26'] Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[48, 21, 68, 94], Operations: [] Exploring Operation: 94-21=73, Resulting Numbers: [48, 68, 73] Generated Node #0,0: 53:[48, 68, 73] Operation: 94-21=73 Moving to Node #0,0 Current State: 53:[48, 68, 73], Operations: ['94-21=73'] Exploring Operation: 73-48=25, Resulting Numbers: [68, 25] Generated Node #0,0,0: 53:[68, 25] Operation: 73-48=25 Moving to Node #0,0,0 Current State: 53:[68, 25], Operations: ['94-21=73', '73-48=25'] Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,53 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 99, 43, 60, 40 ]
44
[ "99-43=56", "60+40=100", "100-56=44" ]
Current State: 44:[99, 43, 60, 40], Operations: [] Exploring Operation: 99-43=56, Resulting Numbers: [60, 40, 56] Generated Node #2: [60, 40, 56] from Operation: 99-43=56 Current State: 44:[60, 40, 56], Operations: ['99-43=56'] Exploring Operation: 60+40=100, Resulting Numbers: [56, 100] Generated Node #3: [56, 100] from Operation: 60+40=100 Current State: 44:[56, 100], Operations: ['99-43=56', '60+40=100'] Exploring Operation: 100-56=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[99, 43, 60, 40], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [43, 40, 39] Generated Node #0,0: 44:[43, 40, 39] Operation: 99-60=39 Exploring Operation: 99-40=59, Resulting Numbers: [43, 60, 59] Generated Node #0,1: 44:[43, 60, 59] Operation: 99-40=59 Exploring Operation: 60-40=20, Resulting Numbers: [99, 43, 20] Generated Node #0,2: 44:[99, 43, 20] Operation: 60-40=20 Exploring Operation: 99-43=56, Resulting Numbers: [60, 40, 56] Generated Node #0,3: 44:[60, 40, 56] Operation: 99-43=56 Moving to Node #0,0 Current State: 44:[43, 40, 39], Operations: ['99-60=39'] Exploring Operation: 43-39=4, Resulting Numbers: [40, 4] Generated Node #0,0,0: 44:[40, 4] Operation: 43-39=4 Exploring Operation: 40-39=1, Resulting Numbers: [43, 1] Generated Node #0,0,1: 44:[43, 1] Operation: 40-39=1 Exploring Operation: 43-40=3, Resulting Numbers: [39, 3] Generated Node #0,0,2: 44:[39, 3] Operation: 43-40=3 Exploring Operation: 40+39=79, Resulting Numbers: [43, 79] Generated Node #0,0,3: 44:[43, 79] Operation: 40+39=79 Moving to Node #0,3 Current State: 44:[60, 40, 56], Operations: ['99-43=56'] Exploring Operation: 56-40=16, Resulting Numbers: [60, 16] Generated Node #0,3,0: 44:[60, 16] Operation: 56-40=16 Exploring Operation: 60-40=20, Resulting Numbers: [56, 20] Generated Node #0,3,1: 44:[56, 20] Operation: 60-40=20 Exploring Operation: 60-56=4, Resulting Numbers: [40, 4] Generated Node #0,3,2: 44:[40, 4] Operation: 60-56=4 Exploring Operation: 60+40=100, Resulting Numbers: [56, 100] Generated Node #0,3,3: 44:[56, 100] Operation: 60+40=100 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 44:[40, 4], Operations: ['99-43=56', '60-56=4'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,44 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[99, 43, 60, 40], Operations: [] Exploring Operation: 99-43=56, Resulting Numbers: [60, 40, 56] Generated Node #0,3: 44:[60, 40, 56] Operation: 99-43=56 Moving to Node #0,3 Current State: 44:[60, 40, 56], Operations: ['99-43=56'] Exploring Operation: 60-56=4, Resulting Numbers: [40, 4] Generated Node #0,3,2: 44:[40, 4] Operation: 60-56=4 Moving to Node #0,3,2 Current State: 44:[40, 4], Operations: ['99-43=56', '60-56=4'] Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 66, 31, 4, 49 ]
56
[ "66-31=35", "49-35=14", "4*14=56" ]
Current State: 56:[66, 31, 4, 49], Operations: [] Exploring Operation: 66-31=35, Resulting Numbers: [4, 49, 35] Generated Node #2: [4, 49, 35] from Operation: 66-31=35 Current State: 56:[4, 49, 35], Operations: ['66-31=35'] Exploring Operation: 49-35=14, Resulting Numbers: [4, 14] Generated Node #3: [4, 14] from Operation: 49-35=14 Current State: 56:[4, 14], Operations: ['66-31=35', '49-35=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[66, 31, 4, 49], Operations: [] Exploring Operation: 66-4=62, Resulting Numbers: [31, 49, 62] Generated Node #0,0: 56:[31, 49, 62] Operation: 66-4=62 Exploring Operation: 66-49=17, Resulting Numbers: [31, 4, 17] Generated Node #0,1: 56:[31, 4, 17] Operation: 66-49=17 Exploring Operation: 49-31=18, Resulting Numbers: [66, 4, 18] Generated Node #0,2: 56:[66, 4, 18] Operation: 49-31=18 Exploring Operation: 66-31=35, Resulting Numbers: [4, 49, 35] Generated Node #0,3: 56:[4, 49, 35] Operation: 66-31=35 Moving to Node #0,1 Current State: 56:[31, 4, 17], Operations: ['66-49=17'] Exploring Operation: 17-4=13, Resulting Numbers: [31, 13] Generated Node #0,1,0: 56:[31, 13] Operation: 17-4=13 Exploring Operation: 31-4=27, Resulting Numbers: [17, 27] Generated Node #0,1,1: 56:[17, 27] Operation: 31-4=27 Exploring Operation: 31+17=48, Resulting Numbers: [4, 48] Generated Node #0,1,2: 56:[4, 48] Operation: 31+17=48 Exploring Operation: 31-17=14, Resulting Numbers: [4, 14] Generated Node #0,1,3: 56:[4, 14] Operation: 31-17=14 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 56:[4, 14], Operations: ['66-49=17', '31-17=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[66, 31, 4, 49], Operations: [] Exploring Operation: 66-49=17, Resulting Numbers: [31, 4, 17] Generated Node #0,1: 56:[31, 4, 17] Operation: 66-49=17 Moving to Node #0,1 Current State: 56:[31, 4, 17], Operations: ['66-49=17'] Exploring Operation: 31-17=14, Resulting Numbers: [4, 14] Generated Node #0,1,3: 56:[4, 14] Operation: 31-17=14 Moving to Node #0,1,3 Current State: 56:[4, 14], Operations: ['66-49=17', '31-17=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 32, 82, 35, 47 ]
59
[ "35-32=3", "47*3=141", "141-82=59" ]
Current State: 59:[32, 82, 35, 47], Operations: [] Exploring Operation: 35-32=3, Resulting Numbers: [82, 47, 3] Generated Node #2: [82, 47, 3] from Operation: 35-32=3 Current State: 59:[82, 47, 3], Operations: ['35-32=3'] Exploring Operation: 47*3=141, Resulting Numbers: [82, 141] Generated Node #3: [82, 141] from Operation: 47*3=141 Current State: 59:[82, 141], Operations: ['35-32=3', '47*3=141'] Exploring Operation: 141-82=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[32, 82, 35, 47], Operations: [] Exploring Operation: 32+47=79, Resulting Numbers: [82, 35, 79] Generated Node #0,0: 59:[82, 35, 79] Operation: 32+47=79 Exploring Operation: 82-32=50, Resulting Numbers: [35, 47, 50] Generated Node #0,1: 59:[35, 47, 50] Operation: 82-32=50 Exploring Operation: 35+47=82, Resulting Numbers: [32, 82, 82] Generated Node #0,2: 59:[32, 82, 82] Operation: 35+47=82 Exploring Operation: 82-35=47, Resulting Numbers: [32, 47, 47] Generated Node #0,3: 59:[32, 47, 47] Operation: 82-35=47 Exploring Operation: 32+35=67, Resulting Numbers: [82, 47, 67] Generated Node #0,4: 59:[82, 47, 67] Operation: 32+35=67 Moving to Node #0,4 Current State: 59:[82, 47, 67], Operations: ['32+35=67'] Exploring Operation: 82-67=15, Resulting Numbers: [47, 15] Generated Node #0,4,0: 59:[47, 15] Operation: 82-67=15 Exploring Operation: 67-47=20, Resulting Numbers: [82, 20] Generated Node #0,4,1: 59:[82, 20] Operation: 67-47=20 Exploring Operation: 47+67=114, Resulting Numbers: [82, 114] Generated Node #0,4,2: 59:[82, 114] Operation: 47+67=114 Exploring Operation: 82+47=129, Resulting Numbers: [67, 129] Generated Node #0,4,3: 59:[67, 129] Operation: 82+47=129 Exploring Operation: 82-47=35, Resulting Numbers: [67, 35] Generated Node #0,4,4: 59:[67, 35] Operation: 82-47=35 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 59:[67, 35], Operations: ['32+35=67', '82-47=35'] Exploring Operation: 67+35=102, Resulting Numbers: [102] 102,59 unequal: No Solution Exploring Operation: 67*35=2345, Resulting Numbers: [2345] 2345,59 unequal: No Solution Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,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,4,0 Current State: 59:[47, 15], Operations: ['32+35=67', '82-67=15'] Exploring Operation: 47*15=705, Resulting Numbers: [705] 705,59 unequal: No Solution Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,59 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,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,4,1 Current State: 59:[82, 20], Operations: ['32+35=67', '67-47=20'] Exploring Operation: 82+20=102, Resulting Numbers: [102] 102,59 unequal: No Solution Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,59 unequal: No Solution Exploring Operation: 82*20=1640, Resulting Numbers: [1640] 1640,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,4,2 Current State: 59:[82, 114], Operations: ['32+35=67', '47+67=114'] Exploring Operation: 114-82=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 82+114=196, Resulting Numbers: [196] 196,59 unequal: No Solution Exploring Operation: 82*114=9348, Resulting Numbers: [9348] 9348,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,4,3 Current State: 59:[67, 129], Operations: ['32+35=67', '82+47=129'] Exploring Operation: 129-67=62, Resulting Numbers: [62] 62,59 unequal: No Solution Exploring Operation: 67*129=8643, Resulting Numbers: [8643] 8643,59 unequal: No Solution Exploring Operation: 67+129=196, Resulting Numbers: [196] 196,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:[35, 47, 50], Operations: ['82-32=50'] Exploring Operation: 35+50=85, Resulting Numbers: [47, 85] Generated Node #0,1,0: 59:[47, 85] Operation: 35+50=85 Exploring Operation: 47+50=97, Resulting Numbers: [35, 97] Generated Node #0,1,1: 59:[35, 97] Operation: 47+50=97 Exploring Operation: 35+47=82, Resulting Numbers: [50, 82] Generated Node #0,1,2: 59:[50, 82] Operation: 35+47=82 Exploring Operation: 50-35=15, Resulting Numbers: [47, 15] Generated Node #0,1,3: 59:[47, 15] Operation: 50-35=15 Exploring Operation: 47-35=12, Resulting Numbers: [50, 12] Generated Node #0,1,4: 59:[50, 12] Operation: 47-35=12 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[50, 82], Operations: ['82-32=50', '35+47=82'] Exploring Operation: 50*82=4100, Resulting Numbers: [4100] 4100,59 unequal: No Solution Exploring Operation: 50+82=132, Resulting Numbers: [132] 132,59 unequal: No Solution Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,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,0 Current State: 59:[47, 85], Operations: ['82-32=50', '35+50=85'] Exploring Operation: 47+85=132, Resulting Numbers: [132] 132,59 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 47*85=3995, Resulting Numbers: [3995] 3995,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,3 Current State: 59:[47, 15], Operations: ['82-32=50', '50-35=15'] Exploring Operation: 47*15=705, Resulting Numbers: [705] 705,59 unequal: No Solution Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,59 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,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,4 Current State: 59:[50, 12], Operations: ['82-32=50', '47-35=12'] Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,59 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,59 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,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:[35, 97], Operations: ['82-32=50', '47+50=97'] Exploring Operation: 35*97=3395, Resulting Numbers: [3395] 3395,59 unequal: No Solution Exploring Operation: 35+97=132, Resulting Numbers: [132] 132,59 unequal: No Solution Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,59 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: 59:[32, 47, 47], Operations: ['82-35=47'] Exploring Operation: 32+47=79, Resulting Numbers: [47, 79] Generated Node #0,3,0: 59:[47, 79] Operation: 32+47=79 Exploring Operation: 47+47=94, Resulting Numbers: [32, 94] Generated Node #0,3,1: 59:[32, 94] Operation: 47+47=94 Exploring Operation: 47-32=15, Resulting Numbers: [47, 15] Generated Node #0,3,2: 59:[47, 15] Operation: 47-32=15 Exploring Operation: 32+47=79, Resulting Numbers: [47, 79] Generated Node #0,3,3: 59:[47, 79] Operation: 32+47=79 Exploring Operation: 47-32=15, Resulting Numbers: [47, 15] Generated Node #0,3,4: 59:[47, 15] Operation: 47-32=15 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[47, 79], Operations: ['82-35=47', '32+47=79'] Exploring Operation: 47+79=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 47*79=3713, Resulting Numbers: [3713] 3713,59 unequal: No Solution Exploring Operation: 79-47=32, Resulting Numbers: [32] 32,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,3,3 Current State: 59:[47, 79], Operations: ['82-35=47', '32+47=79'] Exploring Operation: 47*79=3713, Resulting Numbers: [3713] 3713,59 unequal: No Solution Exploring Operation: 47+79=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 79-47=32, Resulting Numbers: [32] 32,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,3,2 Current State: 59:[47, 15], Operations: ['82-35=47', '47-32=15'] Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,59 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 47*15=705, Resulting Numbers: [705] 705,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,3,4 Current State: 59:[47, 15], Operations: ['82-35=47', '47-32=15'] Exploring Operation: 47*15=705, Resulting Numbers: [705] 705,59 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,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,3,1 Current State: 59:[32, 94], Operations: ['82-35=47', '47+47=94'] Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,59 unequal: No Solution Exploring Operation: 32+94=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 32*94=3008, Resulting Numbers: [3008] 3008,59 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: 59:[82, 35, 79], Operations: ['32+47=79'] Exploring Operation: 82-79=3, Resulting Numbers: [35, 3] Generated Node #0,0,0: 59:[35, 3] Operation: 82-79=3 Exploring Operation: 82-35=47, Resulting Numbers: [79, 47] Generated Node #0,0,1: 59:[79, 47] Operation: 82-35=47 Exploring Operation: 82+35=117, Resulting Numbers: [79, 117] Generated Node #0,0,2: 59:[79, 117] Operation: 82+35=117 Exploring Operation: 79-35=44, Resulting Numbers: [82, 44] Generated Node #0,0,3: 59:[82, 44] Operation: 79-35=44 Exploring Operation: 35+79=114, Resulting Numbers: [82, 114] Generated Node #0,0,4: 59:[82, 114] Operation: 35+79=114 Moving to Node #0,2 Current State: 59:[32, 82, 82], Operations: ['35+47=82'] Exploring Operation: 82/82=1, Resulting Numbers: [32, 1] Generated Node #0,2,0: 59:[32, 1] Operation: 82/82=1 Exploring Operation: 32+82=114, Resulting Numbers: [82, 114] Generated Node #0,2,1: 59:[82, 114] Operation: 32+82=114 Exploring Operation: 32+82=114, Resulting Numbers: [82, 114] Generated Node #0,2,2: 59:[82, 114] Operation: 32+82=114 Exploring Operation: 82-32=50, Resulting Numbers: [82, 50] Generated Node #0,2,3: 59:[82, 50] Operation: 82-32=50 Exploring Operation: 82-32=50, Resulting Numbers: [82, 50] Generated Node #0,2,4: 59:[82, 50] Operation: 82-32=50 Moving to Node #0,0,1 Current State: 59:[79, 47], Operations: ['32+47=79', '82-35=47'] Exploring Operation: 79-47=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 79+47=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 79*47=3713, Resulting Numbers: [3713] 3713,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[82, 50], Operations: ['35+47=82', '82-32=50'] Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 82*50=4100, Resulting Numbers: [4100] 4100,59 unequal: No Solution Exploring Operation: 82+50=132, Resulting Numbers: [132] 132,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[82, 50], Operations: ['35+47=82', '82-32=50'] Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 82+50=132, Resulting Numbers: [132] 132,59 unequal: No Solution Exploring Operation: 82*50=4100, Resulting Numbers: [4100] 4100,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[82, 44], Operations: ['32+47=79', '79-35=44'] Exploring Operation: 82*44=3608, Resulting Numbers: [3608] 3608,59 unequal: No Solution Exploring Operation: 82-44=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 82+44=126, Resulting Numbers: [126] 126,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[79, 117], Operations: ['32+47=79', '82+35=117'] Exploring Operation: 79*117=9243, Resulting Numbers: [9243] 9243,59 unequal: No Solution Exploring Operation: 117-79=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 79+117=196, Resulting Numbers: [196] 196,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[82, 114], Operations: ['35+47=82', '32+82=114'] Exploring Operation: 114-82=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 82+114=196, Resulting Numbers: [196] 196,59 unequal: No Solution Exploring Operation: 82*114=9348, Resulting Numbers: [9348] 9348,59 unequal: No Solution Moving to Node #0,0,4 Current State: 59:[82, 114], Operations: ['32+47=79', '35+79=114'] Exploring Operation: 82*114=9348, Resulting Numbers: [9348] 9348,59 unequal: No Solution Exploring Operation: 82+114=196, Resulting Numbers: [196] 196,59 unequal: No Solution Exploring Operation: 114-82=32, Resulting Numbers: [32] 32,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[82, 114], Operations: ['35+47=82', '32+82=114'] Exploring Operation: 82*114=9348, Resulting Numbers: [9348] 9348,59 unequal: No Solution Exploring Operation: 114-82=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 82+114=196, Resulting Numbers: [196] 196,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[35, 3], Operations: ['32+47=79', '82-79=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[32, 1], Operations: ['35+47=82', '82/82=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,59 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,59 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 55, 42, 84, 41 ]
81
[ "55-41=14", "42/14=3", "84-3=81" ]
Current State: 81:[55, 42, 84, 41], Operations: [] Exploring Operation: 55-41=14, Resulting Numbers: [42, 84, 14] Generated Node #2: [42, 84, 14] from Operation: 55-41=14 Current State: 81:[42, 84, 14], Operations: ['55-41=14'] Exploring Operation: 42/14=3, Resulting Numbers: [84, 3] Generated Node #3: [84, 3] from Operation: 42/14=3 Current State: 81:[84, 3], Operations: ['55-41=14', '42/14=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[55, 42, 84, 41], Operations: [] Exploring Operation: 55-42=13, Resulting Numbers: [84, 41, 13] Generated Node #0,0: 81:[84, 41, 13] Operation: 55-42=13 Exploring Operation: 55-41=14, Resulting Numbers: [42, 84, 14] Generated Node #0,1: 81:[42, 84, 14] Operation: 55-41=14 Exploring Operation: 42-41=1, Resulting Numbers: [55, 84, 1] Generated Node #0,2: 81:[55, 84, 1] Operation: 42-41=1 Exploring Operation: 42+41=83, Resulting Numbers: [55, 84, 83] Generated Node #0,3: 81:[55, 84, 83] Operation: 42+41=83 Exploring Operation: 84-55=29, Resulting Numbers: [42, 41, 29] Generated Node #0,4: 81:[42, 41, 29] Operation: 84-55=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[84, 41, 13], Operations: ['55-42=13'] Exploring Operation: 41+13=54, Resulting Numbers: [84, 54] Generated Node #0,0,0: 81:[84, 54] Operation: 41+13=54 Exploring Operation: 84+13=97, Resulting Numbers: [41, 97] Generated Node #0,0,1: 81:[41, 97] Operation: 84+13=97 Exploring Operation: 84-41=43, Resulting Numbers: [13, 43] Generated Node #0,0,2: 81:[13, 43] Operation: 84-41=43 Exploring Operation: 41-13=28, Resulting Numbers: [84, 28] Generated Node #0,0,3: 81:[84, 28] Operation: 41-13=28 Exploring Operation: 84-13=71, Resulting Numbers: [41, 71] Generated Node #0,0,4: 81:[41, 71] Operation: 84-13=71 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 81:[84, 28], Operations: ['55-42=13', '41-13=28'] Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 84*28=2352, Resulting Numbers: [2352] 2352,81 unequal: No Solution Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,81 unequal: No Solution Exploring Operation: 84+28=112, Resulting Numbers: [112] 112,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,0,2 Current State: 81:[13, 43], Operations: ['55-42=13', '84-41=43'] Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,81 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 13*43=559, Resulting Numbers: [559] 559,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,0,4 Current State: 81:[41, 71], Operations: ['55-42=13', '84-13=71'] Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,81 unequal: No Solution Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,81 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,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,0,0 Current State: 81:[84, 54], Operations: ['55-42=13', '41+13=54'] Exploring Operation: 84+54=138, Resulting Numbers: [138] 138,81 unequal: No Solution Exploring Operation: 84*54=4536, Resulting Numbers: [4536] 4536,81 unequal: No Solution Exploring Operation: 84-54=30, Resulting Numbers: [30] 30,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,0,1 Current State: 81:[41, 97], Operations: ['55-42=13', '84+13=97'] Exploring Operation: 41*97=3977, Resulting Numbers: [3977] 3977,81 unequal: No Solution Exploring Operation: 41+97=138, Resulting Numbers: [138] 138,81 unequal: No Solution Exploring Operation: 97-41=56, Resulting Numbers: [56] 56,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[42, 84, 14], Operations: ['55-41=14'] Exploring Operation: 42-14=28, Resulting Numbers: [84, 28] Generated Node #0,1,0: 81:[84, 28] Operation: 42-14=28 Exploring Operation: 84/14=6, Resulting Numbers: [42, 6] Generated Node #0,1,1: 81:[42, 6] Operation: 84/14=6 Exploring Operation: 42/14=3, Resulting Numbers: [84, 3] Generated Node #0,1,2: 81:[84, 3] Operation: 42/14=3 Exploring Operation: 84/42=2, Resulting Numbers: [14, 2] Generated Node #0,1,3: 81:[14, 2] Operation: 84/42=2 Exploring Operation: 84-42=42, Resulting Numbers: [14, 42] Generated Node #0,1,4: 81:[14, 42] Operation: 84-42=42 Moving to Node #0,1,2 Current State: 81:[84, 3], Operations: ['55-41=14', '42/14=3'] Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,81 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[55, 42, 84, 41], Operations: [] Exploring Operation: 55-41=14, Resulting Numbers: [42, 84, 14] Generated Node #0,1: 81:[42, 84, 14] Operation: 55-41=14 Moving to Node #0,1 Current State: 81:[42, 84, 14], Operations: ['55-41=14'] Exploring Operation: 42/14=3, Resulting Numbers: [84, 3] Generated Node #0,1,2: 81:[84, 3] Operation: 42/14=3 Moving to Node #0,1,2 Current State: 81:[84, 3], Operations: ['55-41=14', '42/14=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 59, 14, 2, 12 ]
55
[ "59-14=45", "12-2=10", "45+10=55" ]
Current State: 55:[59, 14, 2, 12], Operations: [] Exploring Operation: 59-14=45, Resulting Numbers: [2, 12, 45] Generated Node #2: [2, 12, 45] from Operation: 59-14=45 Current State: 55:[2, 12, 45], Operations: ['59-14=45'] Exploring Operation: 12-2=10, Resulting Numbers: [45, 10] Generated Node #3: [45, 10] from Operation: 12-2=10 Current State: 55:[45, 10], Operations: ['59-14=45', '12-2=10'] Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[59, 14, 2, 12], Operations: [] Exploring Operation: 12/2=6, Resulting Numbers: [59, 14, 6] Generated Node #0,0: 55:[59, 14, 6] Operation: 12/2=6 Exploring Operation: 59-2=57, Resulting Numbers: [14, 12, 57] Generated Node #0,1: 55:[14, 12, 57] Operation: 59-2=57 Exploring Operation: 14-2=12, Resulting Numbers: [59, 12, 12] Generated Node #0,2: 55:[59, 12, 12] Operation: 14-2=12 Exploring Operation: 14/2=7, Resulting Numbers: [59, 12, 7] Generated Node #0,3: 55:[59, 12, 7] Operation: 14/2=7 Exploring Operation: 12-2=10, Resulting Numbers: [59, 14, 10] Generated Node #0,4: 55:[59, 14, 10] Operation: 12-2=10 Moving to Node #0,1 Current State: 55:[14, 12, 57], Operations: ['59-2=57'] Exploring Operation: 14+57=71, Resulting Numbers: [12, 71] Generated Node #0,1,0: 55:[12, 71] Operation: 14+57=71 Exploring Operation: 57-12=45, Resulting Numbers: [14, 45] Generated Node #0,1,1: 55:[14, 45] Operation: 57-12=45 Exploring Operation: 14+12=26, Resulting Numbers: [57, 26] Generated Node #0,1,2: 55:[57, 26] Operation: 14+12=26 Exploring Operation: 14-12=2, Resulting Numbers: [57, 2] Generated Node #0,1,3: 55:[57, 2] Operation: 14-12=2 Exploring Operation: 57-14=43, Resulting Numbers: [12, 43] Generated Node #0,1,4: 55:[12, 43] Operation: 57-14=43 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 55:[57, 2], Operations: ['59-2=57', '14-12=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,55 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[59, 14, 2, 12], Operations: [] Exploring Operation: 59-2=57, Resulting Numbers: [14, 12, 57] Generated Node #0,1: 55:[14, 12, 57] Operation: 59-2=57 Moving to Node #0,1 Current State: 55:[14, 12, 57], Operations: ['59-2=57'] Exploring Operation: 14-12=2, Resulting Numbers: [57, 2] Generated Node #0,1,3: 55:[57, 2] Operation: 14-12=2 Moving to Node #0,1,3 Current State: 55:[57, 2], Operations: ['59-2=57', '14-12=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 50, 70, 65, 75 ]
35
[ "70-65=5", "75/5=15", "50-15=35" ]
Current State: 35:[50, 70, 65, 75], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [50, 75, 5] Generated Node #2: [50, 75, 5] from Operation: 70-65=5 Current State: 35:[50, 75, 5], Operations: ['70-65=5'] Exploring Operation: 75/5=15, Resulting Numbers: [50, 15] Generated Node #3: [50, 15] from Operation: 75/5=15 Current State: 35:[50, 15], Operations: ['70-65=5', '75/5=15'] Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[50, 70, 65, 75], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [50, 75, 5] Generated Node #0,0: 35:[50, 75, 5] Operation: 70-65=5 Exploring Operation: 75-70=5, Resulting Numbers: [50, 65, 5] Generated Node #0,1: 35:[50, 65, 5] Operation: 75-70=5 Exploring Operation: 75-65=10, Resulting Numbers: [50, 70, 10] Generated Node #0,2: 35:[50, 70, 10] Operation: 75-65=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[50, 65, 5], Operations: ['75-70=5'] Exploring Operation: 50/5=10, Resulting Numbers: [65, 10] Generated Node #0,1,0: 35:[65, 10] Operation: 50/5=10 Exploring Operation: 65/5=13, Resulting Numbers: [50, 13] Generated Node #0,1,1: 35:[50, 13] Operation: 65/5=13 Exploring Operation: 65-50=15, Resulting Numbers: [5, 15] Generated Node #0,1,2: 35:[5, 15] Operation: 65-50=15 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 35:[5, 15], Operations: ['75-70=5', '65-50=15'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,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,1,1 Current State: 35:[50, 13], Operations: ['75-70=5', '65/5=13'] Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,35 unequal: No Solution Exploring Operation: 50*13=650, Resulting Numbers: [650] 650,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,1,0 Current State: 35:[65, 10], Operations: ['75-70=5', '50/5=10'] Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,35 unequal: No Solution Exploring Operation: 65*10=650, Resulting Numbers: [650] 650,35 unequal: No Solution Exploring Operation: 65+10=75, Resulting Numbers: [75] 75,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:[50, 70, 10], Operations: ['75-65=10'] Exploring Operation: 70/10=7, Resulting Numbers: [50, 7] Generated Node #0,2,0: 35:[50, 7] Operation: 70/10=7 Exploring Operation: 50/10=5, Resulting Numbers: [70, 5] Generated Node #0,2,1: 35:[70, 5] Operation: 50/10=5 Exploring Operation: 70-50=20, Resulting Numbers: [10, 20] Generated Node #0,2,2: 35:[10, 20] Operation: 70-50=20 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 35:[50, 7], Operations: ['75-65=10', '70/10=7'] Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,35 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,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:[10, 20], Operations: ['75-65=10', '70-50=20'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,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,1 Current State: 35:[70, 5], Operations: ['75-65=10', '50/10=5'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,35 unequal: No Solution Exploring Operation: 70+5=75, Resulting Numbers: [75] 75,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,0 Current State: 35:[50, 75, 5], Operations: ['70-65=5'] Exploring Operation: 75/5=15, Resulting Numbers: [50, 15] Generated Node #0,0,0: 35:[50, 15] Operation: 75/5=15 Exploring Operation: 50/5=10, Resulting Numbers: [75, 10] Generated Node #0,0,1: 35:[75, 10] Operation: 50/5=10 Exploring Operation: 75-50=25, Resulting Numbers: [5, 25] Generated Node #0,0,2: 35:[5, 25] Operation: 75-50=25 Moving to Node #0,0,2 Current State: 35:[5, 25], Operations: ['70-65=5', '75-50=25'] Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[50, 15], Operations: ['70-65=5', '75/5=15'] Exploring Operation: 50*15=750, Resulting Numbers: [750] 750,35 unequal: No Solution Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[50, 70, 65, 75], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [50, 75, 5] Generated Node #0,0: 35:[50, 75, 5] Operation: 70-65=5 Moving to Node #0,0 Current State: 35:[50, 75, 5], Operations: ['70-65=5'] Exploring Operation: 75/5=15, Resulting Numbers: [50, 15] Generated Node #0,0,0: 35:[50, 15] Operation: 75/5=15 Moving to Node #0,0,0 Current State: 35:[50, 15], Operations: ['70-65=5', '75/5=15'] Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_3
mult_heuristic
[ 66, 85, 76, 21 ]
74
[ "85-66=19", "76-21=55", "19+55=74" ]
Current State: 74:[66, 85, 76, 21], Operations: [] Exploring Operation: 85-66=19, Resulting Numbers: [76, 21, 19] Generated Node #2: [76, 21, 19] from Operation: 85-66=19 Current State: 74:[76, 21, 19], Operations: ['85-66=19'] Exploring Operation: 76-21=55, Resulting Numbers: [19, 55] Generated Node #3: [19, 55] from Operation: 76-21=55 Current State: 74:[19, 55], Operations: ['85-66=19', '76-21=55'] Exploring Operation: 19+55=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[66, 85, 76, 21], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [66, 76, 64] Generated Node #0,0: 74:[66, 76, 64] Operation: 85-21=64 Exploring Operation: 66+21=87, Resulting Numbers: [85, 76, 87] Generated Node #0,1: 74:[85, 76, 87] Operation: 66+21=87 Exploring Operation: 66-21=45, Resulting Numbers: [85, 76, 45] Generated Node #0,2: 74:[85, 76, 45] Operation: 66-21=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[66, 76, 64], Operations: ['85-21=64'] Exploring Operation: 76-64=12, Resulting Numbers: [66, 12] Generated Node #0,0,0: 74:[66, 12] Operation: 76-64=12 Exploring Operation: 66-64=2, Resulting Numbers: [76, 2] Generated Node #0,0,1: 74:[76, 2] Operation: 66-64=2 Exploring Operation: 76-66=10, Resulting Numbers: [64, 10] Generated Node #0,0,2: 74:[64, 10] Operation: 76-66=10 Moving to Node #0,0,1 Current State: 74:[76, 2], Operations: ['85-21=64', '66-64=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,74 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[66, 85, 76, 21], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [66, 76, 64] Generated Node #0,0: 74:[66, 76, 64] Operation: 85-21=64 Moving to Node #0,0 Current State: 74:[66, 76, 64], Operations: ['85-21=64'] Exploring Operation: 66-64=2, Resulting Numbers: [76, 2] Generated Node #0,0,1: 74:[76, 2] Operation: 66-64=2 Moving to Node #0,0,1 Current State: 74:[76, 2], Operations: ['85-21=64', '66-64=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 19, 90, 27, 40 ]
95
[ "27-19=8", "40/8=5", "90+5=95" ]
Current State: 95:[19, 90, 27, 40], Operations: [] Exploring Operation: 27-19=8, Resulting Numbers: [90, 40, 8] Generated Node #2: [90, 40, 8] from Operation: 27-19=8 Current State: 95:[90, 40, 8], Operations: ['27-19=8'] Exploring Operation: 40/8=5, Resulting Numbers: [90, 5] Generated Node #3: [90, 5] from Operation: 40/8=5 Current State: 95:[90, 5], Operations: ['27-19=8', '40/8=5'] Exploring Operation: 90+5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[19, 90, 27, 40], Operations: [] Exploring Operation: 40-19=21, Resulting Numbers: [90, 27, 21] Generated Node #0,0: 95:[90, 27, 21] Operation: 40-19=21 Exploring Operation: 40-27=13, Resulting Numbers: [19, 90, 13] Generated Node #0,1: 95:[19, 90, 13] Operation: 40-27=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[19, 90, 13], Operations: ['40-27=13'] Exploring Operation: 19-13=6, Resulting Numbers: [90, 6] Generated Node #0,1,0: 95:[90, 6] Operation: 19-13=6 Exploring Operation: 90+13=103, Resulting Numbers: [19, 103] Generated Node #0,1,1: 95:[19, 103] Operation: 90+13=103 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[90, 6], Operations: ['40-27=13', '19-13=6'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[19, 103], Operations: ['40-27=13', '90+13=103'] Exploring Operation: 103-19=84, Resulting Numbers: [84] 84,95 unequal: No Solution Exploring Operation: 19+103=122, Resulting Numbers: [122] 122,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[90, 27, 21], Operations: ['40-19=21'] Exploring Operation: 90+27=117, Resulting Numbers: [21, 117] Generated Node #0,0,0: 95:[21, 117] Operation: 90+27=117 Exploring Operation: 27-21=6, Resulting Numbers: [90, 6] Generated Node #0,0,1: 95:[90, 6] Operation: 27-21=6 Moving to Node #0,0,1 Current State: 95:[90, 6], Operations: ['40-19=21', '27-21=6'] Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,95 unequal: No Solution Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[21, 117], Operations: ['40-19=21', '90+27=117'] Exploring Operation: 117-21=96, Resulting Numbers: [96] 96,95 unequal: No Solution Exploring Operation: 21+117=138, Resulting Numbers: [138] 138,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 88, 87, 3, 69 ]
22
[ "88-87=1", "69/3=23", "23-1=22" ]
Current State: 22:[88, 87, 3, 69], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [3, 69, 1] Generated Node #2: [3, 69, 1] from Operation: 88-87=1 Current State: 22:[3, 69, 1], Operations: ['88-87=1'] Exploring Operation: 69/3=23, Resulting Numbers: [1, 23] Generated Node #3: [1, 23] from Operation: 69/3=23 Current State: 22:[1, 23], Operations: ['88-87=1', '69/3=23'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[88, 87, 3, 69], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [3, 69, 1] Generated Node #0,0: 22:[3, 69, 1] Operation: 88-87=1 Exploring Operation: 88-69=19, Resulting Numbers: [87, 3, 19] Generated Node #0,1: 22:[87, 3, 19] Operation: 88-69=19 Exploring Operation: 87-69=18, Resulting Numbers: [88, 3, 18] Generated Node #0,2: 22:[88, 3, 18] Operation: 87-69=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[3, 69, 1], Operations: ['88-87=1'] Exploring Operation: 3-1=2, Resulting Numbers: [69, 2] Generated Node #0,0,0: 22:[69, 2] Operation: 3-1=2 Exploring Operation: 69-3=66, Resulting Numbers: [1, 66] Generated Node #0,0,1: 22:[1, 66] Operation: 69-3=66 Exploring Operation: 69/3=23, Resulting Numbers: [1, 23] Generated Node #0,0,2: 22:[1, 23] Operation: 69/3=23 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 22:[1, 23], Operations: ['88-87=1', '69/3=23'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,22 unequal: No Solution Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,22 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[88, 87, 3, 69], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [3, 69, 1] Generated Node #0,0: 22:[3, 69, 1] Operation: 88-87=1 Moving to Node #0,0 Current State: 22:[3, 69, 1], Operations: ['88-87=1'] Exploring Operation: 69/3=23, Resulting Numbers: [1, 23] Generated Node #0,0,2: 22:[1, 23] Operation: 69/3=23 Moving to Node #0,0,2 Current State: 22:[1, 23], Operations: ['88-87=1', '69/3=23'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 64, 33, 22, 14 ]
23
[ "64-33=31", "22-14=8", "31-8=23" ]
Current State: 23:[64, 33, 22, 14], Operations: [] Exploring Operation: 64-33=31, Resulting Numbers: [22, 14, 31] Generated Node #2: [22, 14, 31] from Operation: 64-33=31 Current State: 23:[22, 14, 31], Operations: ['64-33=31'] Exploring Operation: 22-14=8, Resulting Numbers: [31, 8] Generated Node #3: [31, 8] from Operation: 22-14=8 Current State: 23:[31, 8], Operations: ['64-33=31', '22-14=8'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[64, 33, 22, 14], Operations: [] Exploring Operation: 64-22=42, Resulting Numbers: [33, 14, 42] Generated Node #0,0: 23:[33, 14, 42] Operation: 64-22=42 Exploring Operation: 64-14=50, Resulting Numbers: [33, 22, 50] Generated Node #0,1: 23:[33, 22, 50] Operation: 64-14=50 Exploring Operation: 33-14=19, Resulting Numbers: [64, 22, 19] Generated Node #0,2: 23:[64, 22, 19] Operation: 33-14=19 Exploring Operation: 64-33=31, Resulting Numbers: [22, 14, 31] Generated Node #0,3: 23:[22, 14, 31] Operation: 64-33=31 Moving to Node #0,3 Current State: 23:[22, 14, 31], Operations: ['64-33=31'] Exploring Operation: 22+14=36, Resulting Numbers: [31, 36] Generated Node #0,3,0: 23:[31, 36] Operation: 22+14=36 Exploring Operation: 31-14=17, Resulting Numbers: [22, 17] Generated Node #0,3,1: 23:[22, 17] Operation: 31-14=17 Exploring Operation: 22-14=8, Resulting Numbers: [31, 8] Generated Node #0,3,2: 23:[31, 8] Operation: 22-14=8 Exploring Operation: 31-22=9, Resulting Numbers: [14, 9] Generated Node #0,3,3: 23:[14, 9] Operation: 31-22=9 Moving to Node #0,1 Current State: 23:[33, 22, 50], Operations: ['64-14=50'] Exploring Operation: 50-22=28, Resulting Numbers: [33, 28] Generated Node #0,1,0: 23:[33, 28] Operation: 50-22=28 Exploring Operation: 33+22=55, Resulting Numbers: [50, 55] Generated Node #0,1,1: 23:[50, 55] Operation: 33+22=55 Exploring Operation: 50-33=17, Resulting Numbers: [22, 17] Generated Node #0,1,2: 23:[22, 17] Operation: 50-33=17 Exploring Operation: 33-22=11, Resulting Numbers: [50, 11] Generated Node #0,1,3: 23:[50, 11] Operation: 33-22=11 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[22, 17], Operations: ['64-14=50', '50-33=17'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,23 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[33, 28], Operations: ['64-14=50', '50-22=28'] Exploring Operation: 33*28=924, Resulting Numbers: [924] 924,23 unequal: No Solution Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,23 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 23:[50, 11], Operations: ['64-14=50', '33-22=11'] Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,23 unequal: No Solution Exploring Operation: 50*11=550, Resulting Numbers: [550] 550,23 unequal: No Solution Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[50, 55], Operations: ['64-14=50', '33+22=55'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 50+55=105, Resulting Numbers: [105] 105,23 unequal: No Solution Exploring Operation: 50*55=2750, Resulting Numbers: [2750] 2750,23 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: 23:[33, 14, 42], Operations: ['64-22=42'] Exploring Operation: 42-14=28, Resulting Numbers: [33, 28] Generated Node #0,0,0: 23:[33, 28] Operation: 42-14=28 Exploring Operation: 42-33=9, Resulting Numbers: [14, 9] Generated Node #0,0,1: 23:[14, 9] Operation: 42-33=9 Exploring Operation: 42/14=3, Resulting Numbers: [33, 3] Generated Node #0,0,2: 23:[33, 3] Operation: 42/14=3 Exploring Operation: 33-14=19, Resulting Numbers: [42, 19] Generated Node #0,0,3: 23:[42, 19] Operation: 33-14=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[33, 28], Operations: ['64-22=42', '42-14=28'] Exploring Operation: 33*28=924, Resulting Numbers: [924] 924,23 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[14, 9], Operations: ['64-22=42', '42-33=9'] Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,23 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[64, 33, 22, 14], Operations: [] Exploring Operation: 64-22=42, Resulting Numbers: [33, 14, 42] Generated Node #0,0: 23:[33, 14, 42] Operation: 64-22=42 Moving to Node #0,0 Current State: 23:[33, 14, 42], Operations: ['64-22=42'] Exploring Operation: 42-33=9, Resulting Numbers: [14, 9] Generated Node #0,0,1: 23:[14, 9] Operation: 42-33=9 Moving to Node #0,0,1 Current State: 23:[14, 9], Operations: ['64-22=42', '42-33=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 2, 77, 98, 18 ]
83
[ "98-18=80", "2*80=160", "160-77=83" ]
Current State: 83:[2, 77, 98, 18], Operations: [] Exploring Operation: 98-18=80, Resulting Numbers: [2, 77, 80] Generated Node #2: [2, 77, 80] from Operation: 98-18=80 Current State: 83:[2, 77, 80], Operations: ['98-18=80'] Exploring Operation: 2*80=160, Resulting Numbers: [77, 160] Generated Node #3: [77, 160] from Operation: 2*80=160 Current State: 83:[77, 160], Operations: ['98-18=80', '2*80=160'] Exploring Operation: 160-77=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[2, 77, 98, 18], Operations: [] Exploring Operation: 2*18=36, Resulting Numbers: [77, 98, 36] Generated Node #0,0: 83:[77, 98, 36] Operation: 2*18=36 Moving to Node #0,0 Current State: 83:[77, 98, 36], Operations: ['2*18=36'] Exploring Operation: 98-36=62, Resulting Numbers: [77, 62] Generated Node #0,0,0: 83:[77, 62] Operation: 98-36=62 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[77, 62], Operations: ['2*18=36', '98-36=62'] Exploring Operation: 77+62=139, Resulting Numbers: [139] 139,83 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
[ 2, 3, 9, 17 ]
13
[ "2+3=5", "17-9=8", "5+8=13" ]
Current State: 13:[2, 3, 9, 17], Operations: [] Exploring Operation: 2+3=5, Resulting Numbers: [9, 17, 5] Generated Node #2: [9, 17, 5] from Operation: 2+3=5 Current State: 13:[9, 17, 5], Operations: ['2+3=5'] Exploring Operation: 17-9=8, Resulting Numbers: [5, 8] Generated Node #3: [5, 8] from Operation: 17-9=8 Current State: 13:[5, 8], Operations: ['2+3=5', '17-9=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[2, 3, 9, 17], Operations: [] Exploring Operation: 2+9=11, Resulting Numbers: [3, 17, 11] Generated Node #0,0: 13:[3, 17, 11] Operation: 2+9=11 Exploring Operation: 2+3=5, Resulting Numbers: [9, 17, 5] Generated Node #0,1: 13:[9, 17, 5] Operation: 2+3=5 Exploring Operation: 17-2=15, Resulting Numbers: [3, 9, 15] Generated Node #0,2: 13:[3, 9, 15] Operation: 17-2=15 Exploring Operation: 2*3=6, Resulting Numbers: [9, 17, 6] Generated Node #0,3: 13:[9, 17, 6] Operation: 2*3=6 Exploring Operation: 3+9=12, Resulting Numbers: [2, 17, 12] Generated Node #0,4: 13:[2, 17, 12] Operation: 3+9=12 Moving to Node #0,3 Current State: 13:[9, 17, 6], Operations: ['2*3=6'] Exploring Operation: 9+6=15, Resulting Numbers: [17, 15] Generated Node #0,3,0: 13:[17, 15] Operation: 9+6=15 Exploring Operation: 17-6=11, Resulting Numbers: [9, 11] Generated Node #0,3,1: 13:[9, 11] Operation: 17-6=11 Exploring Operation: 17+6=23, Resulting Numbers: [9, 23] Generated Node #0,3,2: 13:[9, 23] Operation: 17+6=23 Exploring Operation: 17-9=8, Resulting Numbers: [6, 8] Generated Node #0,3,3: 13:[6, 8] Operation: 17-9=8 Exploring Operation: 9-6=3, Resulting Numbers: [17, 3] Generated Node #0,3,4: 13:[17, 3] Operation: 9-6=3 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 13:[17, 15], Operations: ['2*3=6', '9+6=15'] Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,13 unequal: No Solution Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,13 unequal: No Solution Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 13:[9, 11], Operations: ['2*3=6', '17-6=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,13 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 13:[6, 8], Operations: ['2*3=6', '17-9=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 13:[9, 23], Operations: ['2*3=6', '17+6=23'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,13 unequal: No Solution Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 13:[17, 3], Operations: ['2*3=6', '9-6=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 13:[9, 17, 5], Operations: ['2+3=5'] Exploring Operation: 9-5=4, Resulting Numbers: [17, 4] Generated Node #0,1,0: 13:[17, 4] Operation: 9-5=4 Exploring Operation: 17-9=8, Resulting Numbers: [5, 8] Generated Node #0,1,1: 13:[5, 8] Operation: 17-9=8 Exploring Operation: 17-5=12, Resulting Numbers: [9, 12] Generated Node #0,1,2: 13:[9, 12] Operation: 17-5=12 Exploring Operation: 17+5=22, Resulting Numbers: [9, 22] Generated Node #0,1,3: 13:[9, 22] Operation: 17+5=22 Exploring Operation: 9+5=14, Resulting Numbers: [17, 14] Generated Node #0,1,4: 13:[17, 14] Operation: 9+5=14 Moving to Node #0,4 Current State: 13:[2, 17, 12], Operations: ['3+9=12'] Exploring Operation: 12/2=6, Resulting Numbers: [17, 6] Generated Node #0,4,0: 13:[17, 6] Operation: 12/2=6 Exploring Operation: 17-2=15, Resulting Numbers: [12, 15] Generated Node #0,4,1: 13:[12, 15] Operation: 17-2=15 Exploring Operation: 2+17=19, Resulting Numbers: [12, 19] Generated Node #0,4,2: 13:[12, 19] Operation: 2+17=19 Exploring Operation: 12-2=10, Resulting Numbers: [17, 10] Generated Node #0,4,3: 13:[17, 10] Operation: 12-2=10 Exploring Operation: 2+12=14, Resulting Numbers: [17, 14] Generated Node #0,4,4: 13:[17, 14] Operation: 2+12=14 Moving to Node #0,0 Current State: 13:[3, 17, 11], Operations: ['2+9=11'] Exploring Operation: 3+11=14, Resulting Numbers: [17, 14] Generated Node #0,0,0: 13:[17, 14] Operation: 3+11=14 Exploring Operation: 11-3=8, Resulting Numbers: [17, 8] Generated Node #0,0,1: 13:[17, 8] Operation: 11-3=8 Exploring Operation: 17-3=14, Resulting Numbers: [11, 14] Generated Node #0,0,2: 13:[11, 14] Operation: 17-3=14 Exploring Operation: 3+17=20, Resulting Numbers: [11, 20] Generated Node #0,0,3: 13:[11, 20] Operation: 3+17=20 Exploring Operation: 17-11=6, Resulting Numbers: [3, 6] Generated Node #0,0,4: 13:[3, 6] Operation: 17-11=6 Moving to Node #0,2 Current State: 13:[3, 9, 15], Operations: ['17-2=15'] Exploring Operation: 3+9=12, Resulting Numbers: [15, 12] Generated Node #0,2,0: 13:[15, 12] Operation: 3+9=12 Exploring Operation: 9/3=3, Resulting Numbers: [15, 3] Generated Node #0,2,1: 13:[15, 3] Operation: 9/3=3 Exploring Operation: 15-3=12, Resulting Numbers: [9, 12] Generated Node #0,2,2: 13:[9, 12] Operation: 15-3=12 Exploring Operation: 3+15=18, Resulting Numbers: [9, 18] Generated Node #0,2,3: 13:[9, 18] Operation: 3+15=18 Exploring Operation: 9-3=6, Resulting Numbers: [15, 6] Generated Node #0,2,4: 13:[15, 6] Operation: 9-3=6 Moving to Node #0,4,1 Current State: 13:[12, 15], Operations: ['3+9=12', '17-2=15'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,13 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[11, 14], Operations: ['2+9=11', '17-3=14'] Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,13 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[15, 12], Operations: ['17-2=15', '3+9=12'] Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[9, 12], Operations: ['2+3=5', '17-5=12'] Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,13 unequal: No Solution Moving to Node #0,4,4 Current State: 13:[17, 14], Operations: ['3+9=12', '2+12=14'] Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[17, 14], Operations: ['2+9=11', '3+11=14'] Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,13 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,13 unequal: No Solution Moving to Node #0,1,4 Current State: 13:[17, 14], Operations: ['2+3=5', '9+5=14'] Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,13 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[9, 12], Operations: ['17-2=15', '15-3=12'] Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,13 unequal: No Solution Moving to Node #0,4,3 Current State: 13:[17, 10], Operations: ['3+9=12', '12-2=10'] Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,13 unequal: No Solution Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,13 unequal: No Solution Moving to Node #0,4,2 Current State: 13:[12, 19], Operations: ['3+9=12', '2+17=19'] Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[11, 20], Operations: ['2+9=11', '3+17=20'] Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,13 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[9, 18], Operations: ['17-2=15', '3+15=18'] Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,13 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[17, 8], Operations: ['2+9=11', '11-3=8'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,13 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,13 unequal: No Solution Moving to Node #0,2,4 Current State: 13:[15, 6], Operations: ['17-2=15', '9-3=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,13 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,13 unequal: No Solution Moving to Node #0,4,0 Current State: 13:[17, 6], Operations: ['3+9=12', '12/2=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,13 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,13 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[15, 3], Operations: ['17-2=15', '9/3=3'] Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,13 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[9, 22], Operations: ['2+3=5', '17+5=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,13 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[2, 3, 9, 17], Operations: [] Exploring Operation: 2+3=5, Resulting Numbers: [9, 17, 5] Generated Node #0,1: 13:[9, 17, 5] Operation: 2+3=5 Moving to Node #0,1 Current State: 13:[9, 17, 5], Operations: ['2+3=5'] Exploring Operation: 17+5=22, Resulting Numbers: [9, 22] Generated Node #0,1,3: 13:[9, 22] Operation: 17+5=22 Moving to Node #0,1,3 Current State: 13:[9, 22], Operations: ['2+3=5', '17+5=22'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.911458
hs_5
sum_heuristic
[ 30, 71, 24, 50 ]
27
[ "30+71=101", "24+50=74", "101-74=27" ]
Current State: 27:[30, 71, 24, 50], Operations: [] Exploring Operation: 30+71=101, Resulting Numbers: [24, 50, 101] Generated Node #2: [24, 50, 101] from Operation: 30+71=101 Current State: 27:[24, 50, 101], Operations: ['30+71=101'] Exploring Operation: 24+50=74, Resulting Numbers: [101, 74] Generated Node #3: [101, 74] from Operation: 24+50=74 Current State: 27:[101, 74], Operations: ['30+71=101', '24+50=74'] Exploring Operation: 101-74=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[30, 71, 24, 50], Operations: [] Exploring Operation: 71-50=21, Resulting Numbers: [30, 24, 21] Generated Node #0,0: 27:[30, 24, 21] Operation: 71-50=21 Exploring Operation: 71-30=41, Resulting Numbers: [24, 50, 41] Generated Node #0,1: 27:[24, 50, 41] Operation: 71-30=41 Exploring Operation: 71-24=47, Resulting Numbers: [30, 50, 47] Generated Node #0,2: 27:[30, 50, 47] Operation: 71-24=47 Moving to Node #0,0 Current State: 27:[30, 24, 21], Operations: ['71-50=21'] Exploring Operation: 24-21=3, Resulting Numbers: [30, 3] Generated Node #0,0,0: 27:[30, 3] Operation: 24-21=3 Exploring Operation: 30-24=6, Resulting Numbers: [21, 6] Generated Node #0,0,1: 27:[21, 6] Operation: 30-24=6 Exploring Operation: 30-21=9, Resulting Numbers: [24, 9] Generated Node #0,0,2: 27:[24, 9] Operation: 30-21=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[30, 3], Operations: ['71-50=21', '24-21=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[30, 71, 24, 50], Operations: [] Exploring Operation: 71-50=21, Resulting Numbers: [30, 24, 21] Generated Node #0,0: 27:[30, 24, 21] Operation: 71-50=21 Moving to Node #0,0 Current State: 27:[30, 24, 21], Operations: ['71-50=21'] Exploring Operation: 24-21=3, Resulting Numbers: [30, 3] Generated Node #0,0,0: 27:[30, 3] Operation: 24-21=3 Moving to Node #0,0,0 Current State: 27:[30, 3], Operations: ['71-50=21', '24-21=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 4, 8, 13, 37 ]
65
[ "4*8=32", "37-32=5", "13*5=65" ]
Current State: 65:[4, 8, 13, 37], Operations: [] Exploring Operation: 4*8=32, Resulting Numbers: [13, 37, 32] Generated Node #2: [13, 37, 32] from Operation: 4*8=32 Current State: 65:[13, 37, 32], Operations: ['4*8=32'] Exploring Operation: 37-32=5, Resulting Numbers: [13, 5] Generated Node #3: [13, 5] from Operation: 37-32=5 Current State: 65:[13, 5], Operations: ['4*8=32', '37-32=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[4, 8, 13, 37], Operations: [] Exploring Operation: 37-13=24, Resulting Numbers: [4, 8, 24] Generated Node #0,0: 65:[4, 8, 24] Operation: 37-13=24 Exploring Operation: 37-8=29, Resulting Numbers: [4, 13, 29] Generated Node #0,1: 65:[4, 13, 29] Operation: 37-8=29 Moving to Node #0,0 Current State: 65:[4, 8, 24], Operations: ['37-13=24'] Exploring Operation: 24/4=6, Resulting Numbers: [8, 6] Generated Node #0,0,0: 65:[8, 6] Operation: 24/4=6 Exploring Operation: 24/8=3, Resulting Numbers: [4, 3] Generated Node #0,0,1: 65:[4, 3] Operation: 24/8=3 Moving to Node #0,1 Current State: 65:[4, 13, 29], Operations: ['37-8=29'] Exploring Operation: 29-13=16, Resulting Numbers: [4, 16] Generated Node #0,1,0: 65:[4, 16] Operation: 29-13=16 Exploring Operation: 29-4=25, Resulting Numbers: [13, 25] Generated Node #0,1,1: 65:[13, 25] Operation: 29-4=25 Moving to Node #0,0,1 Current State: 65:[4, 3], Operations: ['37-13=24', '24/8=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[4, 16], Operations: ['37-8=29', '29-13=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[8, 6], Operations: ['37-13=24', '24/4=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[13, 25], Operations: ['37-8=29', '29-4=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,65 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 36, 96, 41, 65 ]
83
[ "41-36=5", "65/5=13", "96-13=83" ]
Current State: 83:[36, 96, 41, 65], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [96, 65, 5] Generated Node #2: [96, 65, 5] from Operation: 41-36=5 Current State: 83:[96, 65, 5], Operations: ['41-36=5'] Exploring Operation: 65/5=13, Resulting Numbers: [96, 13] Generated Node #3: [96, 13] from Operation: 65/5=13 Current State: 83:[96, 13], Operations: ['41-36=5', '65/5=13'] Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[36, 96, 41, 65], Operations: [] Exploring Operation: 36+41=77, Resulting Numbers: [96, 65, 77] Generated Node #0,0: 83:[96, 65, 77] Operation: 36+41=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[96, 65, 77], Operations: ['36+41=77'] Exploring Operation: 96-65=31, Resulting Numbers: [77, 31] Generated Node #0,0,0: 83:[77, 31] Operation: 96-65=31 Moving to Node #0,0,0 Current State: 83:[77, 31], Operations: ['36+41=77', '96-65=31'] Exploring Operation: 77+31=108, Resulting Numbers: [108] 108,83 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
[ 54, 56, 14, 99 ]
83
[ "56-54=2", "99-14=85", "85-2=83" ]
Current State: 83:[54, 56, 14, 99], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [14, 99, 2] Generated Node #2: [14, 99, 2] from Operation: 56-54=2 Current State: 83:[14, 99, 2], Operations: ['56-54=2'] Exploring Operation: 99-14=85, Resulting Numbers: [2, 85] Generated Node #3: [2, 85] from Operation: 99-14=85 Current State: 83:[2, 85], Operations: ['56-54=2', '99-14=85'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[54, 56, 14, 99], Operations: [] Exploring Operation: 54+14=68, Resulting Numbers: [56, 99, 68] Generated Node #0,0: 83:[56, 99, 68] Operation: 54+14=68 Moving to Node #0,0 Current State: 83:[56, 99, 68], Operations: ['54+14=68'] Exploring Operation: 99-56=43, Resulting Numbers: [68, 43] Generated Node #0,0,0: 83:[68, 43] Operation: 99-56=43 Moving to Node #0,0,0 Current State: 83:[68, 43], Operations: ['54+14=68', '99-56=43'] Exploring Operation: 68+43=111, Resulting Numbers: [111] 111,83 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 22, 96, 87, 2 ]
91
[ "22+2=24", "96/24=4", "87+4=91" ]
Current State: 91:[22, 96, 87, 2], Operations: [] Exploring Operation: 22+2=24, Resulting Numbers: [96, 87, 24] Generated Node #2: [96, 87, 24] from Operation: 22+2=24 Current State: 91:[96, 87, 24], Operations: ['22+2=24'] Exploring Operation: 96/24=4, Resulting Numbers: [87, 4] Generated Node #3: [87, 4] from Operation: 96/24=4 Current State: 91:[87, 4], Operations: ['22+2=24', '96/24=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[22, 96, 87, 2], Operations: [] Exploring Operation: 22/2=11, Resulting Numbers: [96, 87, 11] Generated Node #0,0: 91:[96, 87, 11] Operation: 22/2=11 Exploring Operation: 87+2=89, Resulting Numbers: [22, 96, 89] Generated Node #0,1: 91:[22, 96, 89] Operation: 87+2=89 Exploring Operation: 96-2=94, Resulting Numbers: [22, 87, 94] Generated Node #0,2: 91:[22, 87, 94] Operation: 96-2=94 Exploring Operation: 22-2=20, Resulting Numbers: [96, 87, 20] Generated Node #0,3: 91:[96, 87, 20] Operation: 22-2=20 Exploring Operation: 96-87=9, Resulting Numbers: [22, 2, 9] Generated Node #0,4: 91:[22, 2, 9] Operation: 96-87=9 Moving to Node #0,0 Current State: 91:[96, 87, 11], Operations: ['22/2=11'] Exploring Operation: 96-11=85, Resulting Numbers: [87, 85] Generated Node #0,0,0: 91:[87, 85] Operation: 96-11=85 Exploring Operation: 87-11=76, Resulting Numbers: [96, 76] Generated Node #0,0,1: 91:[96, 76] Operation: 87-11=76 Exploring Operation: 96-87=9, Resulting Numbers: [11, 9] Generated Node #0,0,2: 91:[11, 9] Operation: 96-87=9 Exploring Operation: 87+11=98, Resulting Numbers: [96, 98] Generated Node #0,0,3: 91:[96, 98] Operation: 87+11=98 Exploring Operation: 96+11=107, Resulting Numbers: [87, 107] Generated Node #0,0,4: 91:[87, 107] Operation: 96+11=107 Moving to Node #0,2 Current State: 91:[22, 87, 94], Operations: ['96-2=94'] Exploring Operation: 94-22=72, Resulting Numbers: [87, 72] Generated Node #0,2,0: 91:[87, 72] Operation: 94-22=72 Exploring Operation: 22+87=109, Resulting Numbers: [94, 109] Generated Node #0,2,1: 91:[94, 109] Operation: 22+87=109 Exploring Operation: 94-87=7, Resulting Numbers: [22, 7] Generated Node #0,2,2: 91:[22, 7] Operation: 94-87=7 Exploring Operation: 87-22=65, Resulting Numbers: [94, 65] Generated Node #0,2,3: 91:[94, 65] Operation: 87-22=65 Exploring Operation: 22+94=116, Resulting Numbers: [87, 116] Generated Node #0,2,4: 91:[87, 116] Operation: 22+94=116 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[22, 7], Operations: ['96-2=94', '94-87=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,91 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,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:[94, 109], Operations: ['96-2=94', '22+87=109'] Exploring Operation: 94*109=10246, Resulting Numbers: [10246] 10246,91 unequal: No Solution Exploring Operation: 94+109=203, Resulting Numbers: [203] 203,91 unequal: No Solution Exploring Operation: 109-94=15, Resulting Numbers: [15] 15,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:[87, 72], Operations: ['96-2=94', '94-22=72'] Exploring Operation: 87-72=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 87+72=159, Resulting Numbers: [159] 159,91 unequal: No Solution Exploring Operation: 87*72=6264, Resulting Numbers: [6264] 6264,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:[94, 65], Operations: ['96-2=94', '87-22=65'] Exploring Operation: 94+65=159, Resulting Numbers: [159] 159,91 unequal: No Solution Exploring Operation: 94-65=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 94*65=6110, Resulting Numbers: [6110] 6110,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:[87, 116], Operations: ['96-2=94', '22+94=116'] Exploring Operation: 87*116=10092, Resulting Numbers: [10092] 10092,91 unequal: No Solution Exploring Operation: 116-87=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 87+116=203, Resulting Numbers: [203] 203,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:[22, 2, 9], Operations: ['96-87=9'] Exploring Operation: 22/2=11, Resulting Numbers: [9, 11] Generated Node #0,4,0: 91:[9, 11] Operation: 22/2=11 Exploring Operation: 22-9=13, Resulting Numbers: [2, 13] Generated Node #0,4,1: 91:[2, 13] Operation: 22-9=13 Exploring Operation: 9-2=7, Resulting Numbers: [22, 7] Generated Node #0,4,2: 91:[22, 7] Operation: 9-2=7 Exploring Operation: 2+9=11, Resulting Numbers: [22, 11] Generated Node #0,4,3: 91:[22, 11] Operation: 2+9=11 Exploring Operation: 22-2=20, Resulting Numbers: [9, 20] Generated Node #0,4,4: 91:[9, 20] Operation: 22-2=20 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 91:[9, 11], Operations: ['96-87=9', '22/2=11'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,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,1 Current State: 91:[2, 13], Operations: ['96-87=9', '22-9=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,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:[22, 7], Operations: ['96-87=9', '9-2=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,91 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,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:[9, 20], Operations: ['96-87=9', '22-2=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,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:[22, 11], Operations: ['96-87=9', '2+9=11'] Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,91 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,91 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: 91:[22, 96, 89], Operations: ['87+2=89'] Exploring Operation: 22+89=111, Resulting Numbers: [96, 111] Generated Node #0,1,0: 91:[96, 111] Operation: 22+89=111 Exploring Operation: 96-89=7, Resulting Numbers: [22, 7] Generated Node #0,1,1: 91:[22, 7] Operation: 96-89=7 Exploring Operation: 96-22=74, Resulting Numbers: [89, 74] Generated Node #0,1,2: 91:[89, 74] Operation: 96-22=74 Exploring Operation: 22+96=118, Resulting Numbers: [89, 118] Generated Node #0,1,3: 91:[89, 118] Operation: 22+96=118 Exploring Operation: 89-22=67, Resulting Numbers: [96, 67] Generated Node #0,1,4: 91:[96, 67] Operation: 89-22=67 Moving to Node #0,3 Current State: 91:[96, 87, 20], Operations: ['22-2=20'] Exploring Operation: 87-20=67, Resulting Numbers: [96, 67] Generated Node #0,3,0: 91:[96, 67] Operation: 87-20=67 Exploring Operation: 96+20=116, Resulting Numbers: [87, 116] Generated Node #0,3,1: 91:[87, 116] Operation: 96+20=116 Exploring Operation: 96-87=9, Resulting Numbers: [20, 9] Generated Node #0,3,2: 91:[20, 9] Operation: 96-87=9 Exploring Operation: 96-20=76, Resulting Numbers: [87, 76] Generated Node #0,3,3: 91:[87, 76] Operation: 96-20=76 Exploring Operation: 87+20=107, Resulting Numbers: [96, 107] Generated Node #0,3,4: 91:[96, 107] Operation: 87+20=107 Moving to Node #0,0,2 Current State: 91:[11, 9], Operations: ['22/2=11', '96-87=9'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[22, 7], Operations: ['87+2=89', '96-89=7'] Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,91 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[20, 9], Operations: ['22-2=20', '96-87=9'] Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,91 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[87, 85], Operations: ['22/2=11', '96-11=85'] Exploring Operation: 87+85=172, Resulting Numbers: [172] 172,91 unequal: No Solution Exploring Operation: 87-85=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 87*85=7395, Resulting Numbers: [7395] 7395,91 unequal: No Solution Moving to Node #0,0,3 Current State: 91:[96, 98], Operations: ['22/2=11', '87+11=98'] Exploring Operation: 98-96=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 96*98=9408, Resulting Numbers: [9408] 9408,91 unequal: No Solution Exploring Operation: 96+98=194, Resulting Numbers: [194] 194,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[89, 74], Operations: ['87+2=89', '96-22=74'] Exploring Operation: 89+74=163, Resulting Numbers: [163] 163,91 unequal: No Solution Exploring Operation: 89*74=6586, Resulting Numbers: [6586] 6586,91 unequal: No Solution Exploring Operation: 89-74=15, Resulting Numbers: [15] 15,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[87, 76], Operations: ['22-2=20', '96-20=76'] Exploring Operation: 87+76=163, Resulting Numbers: [163] 163,91 unequal: No Solution Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 87*76=6612, Resulting Numbers: [6612] 6612,91 unequal: No Solution Moving to Node #0,0,4 Current State: 91:[87, 107], Operations: ['22/2=11', '96+11=107'] Exploring Operation: 87*107=9309, Resulting Numbers: [9309] 9309,91 unequal: No Solution Exploring Operation: 87+107=194, Resulting Numbers: [194] 194,91 unequal: No Solution Exploring Operation: 107-87=20, Resulting Numbers: [20] 20,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[96, 76], Operations: ['22/2=11', '87-11=76'] Exploring Operation: 96*76=7296, Resulting Numbers: [7296] 7296,91 unequal: No Solution Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 96+76=172, Resulting Numbers: [172] 172,91 unequal: No Solution Moving to Node #0,3,4 Current State: 91:[96, 107], Operations: ['22-2=20', '87+20=107'] Exploring Operation: 96*107=10272, Resulting Numbers: [10272] 10272,91 unequal: No Solution Exploring Operation: 107-96=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 96+107=203, Resulting Numbers: [203] 203,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[96, 111], Operations: ['87+2=89', '22+89=111'] Exploring Operation: 96+111=207, Resulting Numbers: [207] 207,91 unequal: No Solution Exploring Operation: 111-96=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 96*111=10656, Resulting Numbers: [10656] 10656,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[87, 116], Operations: ['22-2=20', '96+20=116'] Exploring Operation: 116-87=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 87+116=203, Resulting Numbers: [203] 203,91 unequal: No Solution Exploring Operation: 87*116=10092, Resulting Numbers: [10092] 10092,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[96, 67], Operations: ['22-2=20', '87-20=67'] Exploring Operation: 96-67=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 96+67=163, Resulting Numbers: [163] 163,91 unequal: No Solution Exploring Operation: 96*67=6432, Resulting Numbers: [6432] 6432,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[89, 118], Operations: ['87+2=89', '22+96=118'] Exploring Operation: 118-89=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 89*118=10502, Resulting Numbers: [10502] 10502,91 unequal: No Solution Exploring Operation: 89+118=207, Resulting Numbers: [207] 207,91 unequal: No Solution Moving to Node #0,1,4 Current State: 91:[96, 67], Operations: ['87+2=89', '89-22=67'] Exploring Operation: 96+67=163, Resulting Numbers: [163] 163,91 unequal: No Solution Exploring Operation: 96*67=6432, Resulting Numbers: [6432] 6432,91 unequal: No Solution Exploring Operation: 96-67=29, Resulting Numbers: [29] 29,91 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 36, 14, 40, 36 ]
92
[ "40-36=4", "14*4=56", "36+56=92" ]
Current State: 92:[36, 14, 40, 36], Operations: [] Exploring Operation: 40-36=4, Resulting Numbers: [14, 4] Generated Node #2: [14, 4] from Operation: 40-36=4 Current State: 92:[14, 4], Operations: ['40-36=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,92 equal: Goal Reached Exploring Operation: 36+56=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[36, 14, 40, 36], Operations: [] Exploring Operation: 36/36=1, Resulting Numbers: [14, 40, 1] Generated Node #0,0: 92:[14, 40, 1] Operation: 36/36=1 Moving to Node #0,0 Current State: 92:[14, 40, 1], Operations: ['36/36=1'] Exploring Operation: 40-14=26, Resulting Numbers: [1, 26] Generated Node #0,0,0: 92:[1, 26] Operation: 40-14=26 Moving to Node #0,0,0 Current State: 92:[1, 26], Operations: ['36/36=1', '40-14=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,92 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 48, 63, 98, 52 ]
39
[ "48+63=111", "98+52=150", "150-111=39" ]
Current State: 39:[48, 63, 98, 52], Operations: [] Exploring Operation: 48+63=111, Resulting Numbers: [98, 52, 111] Generated Node #2: [98, 52, 111] from Operation: 48+63=111 Current State: 39:[98, 52, 111], Operations: ['48+63=111'] Exploring Operation: 98+52=150, Resulting Numbers: [111, 150] Generated Node #3: [111, 150] from Operation: 98+52=150 Current State: 39:[111, 150], Operations: ['48+63=111', '98+52=150'] Exploring Operation: 150-111=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[48, 63, 98, 52], Operations: [] Exploring Operation: 98-52=46, Resulting Numbers: [48, 63, 46] Generated Node #0,0: 39:[48, 63, 46] Operation: 98-52=46 Exploring Operation: 98-63=35, Resulting Numbers: [48, 52, 35] Generated Node #0,1: 39:[48, 52, 35] Operation: 98-63=35 Moving to Node #0,1 Current State: 39:[48, 52, 35], Operations: ['98-63=35'] Exploring Operation: 52-48=4, Resulting Numbers: [35, 4] Generated Node #0,1,0: 39:[35, 4] Operation: 52-48=4 Exploring Operation: 48-35=13, Resulting Numbers: [52, 13] Generated Node #0,1,1: 39:[52, 13] Operation: 48-35=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[35, 4], Operations: ['98-63=35', '52-48=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,39 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[48, 63, 98, 52], Operations: [] Exploring Operation: 98-63=35, Resulting Numbers: [48, 52, 35] Generated Node #0,1: 39:[48, 52, 35] Operation: 98-63=35 Moving to Node #0,1 Current State: 39:[48, 52, 35], Operations: ['98-63=35'] Exploring Operation: 52-48=4, Resulting Numbers: [35, 4] Generated Node #0,1,0: 39:[35, 4] Operation: 52-48=4 Moving to Node #0,1,0 Current State: 39:[35, 4], Operations: ['98-63=35', '52-48=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 40, 96, 68, 73 ]
12
[ "73-68=5", "40/5=8", "96/8=12" ]
Current State: 12:[40, 96, 68, 73], Operations: [] Exploring Operation: 73-68=5, Resulting Numbers: [40, 96, 5] Generated Node #2: [40, 96, 5] from Operation: 73-68=5 Current State: 12:[40, 96, 5], Operations: ['73-68=5'] Exploring Operation: 40/5=8, Resulting Numbers: [96, 8] Generated Node #3: [96, 8] from Operation: 40/5=8 Current State: 12:[96, 8], Operations: ['73-68=5', '40/5=8'] Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[40, 96, 68, 73], Operations: [] Exploring Operation: 96-73=23, Resulting Numbers: [40, 68, 23] Generated Node #0,0: 12:[40, 68, 23] Operation: 96-73=23 Exploring Operation: 96-68=28, Resulting Numbers: [40, 73, 28] Generated Node #0,1: 12:[40, 73, 28] Operation: 96-68=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[40, 68, 23], Operations: ['96-73=23'] Exploring Operation: 68-40=28, Resulting Numbers: [23, 28] Generated Node #0,0,0: 12:[23, 28] Operation: 68-40=28 Exploring Operation: 40-23=17, Resulting Numbers: [68, 17] Generated Node #0,0,1: 12:[68, 17] Operation: 40-23=17 Moving to Node #0,0,0 Current State: 12:[23, 28], Operations: ['96-73=23', '68-40=28'] Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[68, 17], Operations: ['96-73=23', '40-23=17'] Exploring Operation: 68-17=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,12 unequal: No Solution No 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: 12:[40, 73, 28], Operations: ['96-68=28'] Exploring Operation: 40-28=12, Resulting Numbers: [73, 12] Generated Node #0,1,0: 12:[73, 12] Operation: 40-28=12 Exploring Operation: 73-40=33, Resulting Numbers: [28, 33] Generated Node #0,1,1: 12:[28, 33] Operation: 73-40=33 Moving to Node #0,1,1 Current State: 12:[28, 33], Operations: ['96-68=28', '73-40=33'] Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 28+33=61, Resulting Numbers: [61] 61,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[73, 12], Operations: ['96-68=28', '40-28=12'] Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,12 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,12 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
[ 78, 36, 48, 49 ]
43
[ "78-36=42", "49-48=1", "42+1=43" ]
Current State: 43:[78, 36, 48, 49], Operations: [] Exploring Operation: 78-36=42, Resulting Numbers: [48, 49, 42] Generated Node #2: [48, 49, 42] from Operation: 78-36=42 Current State: 43:[48, 49, 42], Operations: ['78-36=42'] Exploring Operation: 49-48=1, Resulting Numbers: [42, 1] Generated Node #3: [42, 1] from Operation: 49-48=1 Current State: 43:[42, 1], Operations: ['78-36=42', '49-48=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[78, 36, 48, 49], Operations: [] Exploring Operation: 49-36=13, Resulting Numbers: [78, 48, 13] Generated Node #0,0: 43:[78, 48, 13] Operation: 49-36=13 Exploring Operation: 78-36=42, Resulting Numbers: [48, 49, 42] Generated Node #0,1: 43:[48, 49, 42] Operation: 78-36=42 Exploring Operation: 78-49=29, Resulting Numbers: [36, 48, 29] Generated Node #0,2: 43:[36, 48, 29] Operation: 78-49=29 Exploring Operation: 78-48=30, Resulting Numbers: [36, 49, 30] Generated Node #0,3: 43:[36, 49, 30] Operation: 78-48=30 Moving to Node #0,1 Current State: 43:[48, 49, 42], Operations: ['78-36=42'] Exploring Operation: 48-42=6, Resulting Numbers: [49, 6] Generated Node #0,1,0: 43:[49, 6] Operation: 48-42=6 Exploring Operation: 48+42=90, Resulting Numbers: [49, 90] Generated Node #0,1,1: 43:[49, 90] Operation: 48+42=90 Exploring Operation: 49-42=7, Resulting Numbers: [48, 7] Generated Node #0,1,2: 43:[48, 7] Operation: 49-42=7 Exploring Operation: 49-48=1, Resulting Numbers: [42, 1] Generated Node #0,1,3: 43:[42, 1] Operation: 49-48=1 Moving to Node #0,3 Current State: 43:[36, 49, 30], Operations: ['78-48=30'] Exploring Operation: 36-30=6, Resulting Numbers: [49, 6] Generated Node #0,3,0: 43:[49, 6] Operation: 36-30=6 Exploring Operation: 49-36=13, Resulting Numbers: [30, 13] Generated Node #0,3,1: 43:[30, 13] Operation: 49-36=13 Exploring Operation: 36+30=66, Resulting Numbers: [49, 66] Generated Node #0,3,2: 43:[49, 66] Operation: 36+30=66 Exploring Operation: 49-30=19, Resulting Numbers: [36, 19] Generated Node #0,3,3: 43:[36, 19] Operation: 49-30=19 Moving to Node #0,2 Current State: 43:[36, 48, 29], Operations: ['78-49=29'] Exploring Operation: 48+29=77, Resulting Numbers: [36, 77] Generated Node #0,2,0: 43:[36, 77] Operation: 48+29=77 Exploring Operation: 36+29=65, Resulting Numbers: [48, 65] Generated Node #0,2,1: 43:[48, 65] Operation: 36+29=65 Exploring Operation: 48-29=19, Resulting Numbers: [36, 19] Generated Node #0,2,2: 43:[36, 19] Operation: 48-29=19 Exploring Operation: 36-29=7, Resulting Numbers: [48, 7] Generated Node #0,2,3: 43:[48, 7] Operation: 36-29=7 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[48, 65], Operations: ['78-49=29', '36+29=65'] Exploring Operation: 48*65=3120, Resulting Numbers: [3120] 3120,43 unequal: No Solution Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,43 unequal: No Solution Exploring Operation: 48+65=113, Resulting Numbers: [113] 113,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,2 Current State: 43:[36, 19], Operations: ['78-49=29', '48-29=19'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,43 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,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, 77], Operations: ['78-49=29', '48+29=77'] Exploring Operation: 36+77=113, Resulting Numbers: [113] 113,43 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 36*77=2772, Resulting Numbers: [2772] 2772,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,3 Current State: 43:[48, 7], Operations: ['78-49=29', '36-29=7'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,43 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,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:[78, 48, 13], Operations: ['49-36=13'] Exploring Operation: 78-48=30, Resulting Numbers: [13, 30] Generated Node #0,0,0: 43:[13, 30] Operation: 78-48=30 Exploring Operation: 78/13=6, Resulting Numbers: [48, 6] Generated Node #0,0,1: 43:[48, 6] Operation: 78/13=6 Exploring Operation: 78-13=65, Resulting Numbers: [48, 65] Generated Node #0,0,2: 43:[48, 65] Operation: 78-13=65 Exploring Operation: 48-13=35, Resulting Numbers: [78, 35] Generated Node #0,0,3: 43:[78, 35] Operation: 48-13=35 Moving to Node #0,0,2 Current State: 43:[48, 65], Operations: ['49-36=13', '78-13=65'] Exploring Operation: 48+65=113, Resulting Numbers: [113] 113,43 unequal: No Solution Exploring Operation: 48*65=3120, Resulting Numbers: [3120] 3120,43 unequal: No Solution Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[49, 66], Operations: ['78-48=30', '36+30=66'] Exploring Operation: 49*66=3234, Resulting Numbers: [3234] 3234,43 unequal: No Solution Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,43 unequal: No Solution Exploring Operation: 49+66=115, Resulting Numbers: [115] 115,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[36, 19], Operations: ['78-48=30', '49-30=19'] Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,43 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[48, 7], Operations: ['78-36=42', '49-42=7'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,43 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[48, 6], Operations: ['49-36=13', '78/13=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,43 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[49, 6], Operations: ['78-48=30', '36-30=6'] Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,43 unequal: No Solution Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[78, 36, 48, 49], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [36, 49, 30] Generated Node #0,3: 43:[36, 49, 30] Operation: 78-48=30 Moving to Node #0,3 Current State: 43:[36, 49, 30], Operations: ['78-48=30'] Exploring Operation: 36-30=6, Resulting Numbers: [49, 6] Generated Node #0,3,0: 43:[49, 6] Operation: 36-30=6 Moving to Node #0,3,0 Current State: 43:[49, 6], Operations: ['78-48=30', '36-30=6'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.952257
hs_4
sum_heuristic
[ 35, 6, 47, 45 ]
13
[ "45-35=10", "6*10=60", "60-47=13" ]
Current State: 13:[35, 6, 47, 45], Operations: [] Exploring Operation: 45-35=10, Resulting Numbers: [6, 47, 10] Generated Node #2: [6, 47, 10] from Operation: 45-35=10 Current State: 13:[6, 47, 10], Operations: ['45-35=10'] Exploring Operation: 6*10=60, Resulting Numbers: [47, 60] Generated Node #3: [47, 60] from Operation: 6*10=60 Current State: 13:[47, 60], Operations: ['45-35=10', '6*10=60'] Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[35, 6, 47, 45], Operations: [] Exploring Operation: 35-6=29, Resulting Numbers: [47, 45, 29] Generated Node #0,0: 13:[47, 45, 29] Operation: 35-6=29 Exploring Operation: 45-35=10, Resulting Numbers: [6, 47, 10] Generated Node #0,1: 13:[6, 47, 10] Operation: 45-35=10 Exploring Operation: 47-45=2, Resulting Numbers: [35, 6, 2] Generated Node #0,2: 13:[35, 6, 2] Operation: 47-45=2 Exploring Operation: 47-6=41, Resulting Numbers: [35, 45, 41] Generated Node #0,3: 13:[35, 45, 41] Operation: 47-6=41 Exploring Operation: 47-35=12, Resulting Numbers: [6, 45, 12] Generated Node #0,4: 13:[6, 45, 12] Operation: 47-35=12 Moving to Node #0,2 Current State: 13:[35, 6, 2], Operations: ['47-45=2'] Exploring Operation: 35-2=33, Resulting Numbers: [6, 33] Generated Node #0,2,0: 13:[6, 33] Operation: 35-2=33 Exploring Operation: 35+2=37, Resulting Numbers: [6, 37] Generated Node #0,2,1: 13:[6, 37] Operation: 35+2=37 Exploring Operation: 6+2=8, Resulting Numbers: [35, 8] Generated Node #0,2,2: 13:[35, 8] Operation: 6+2=8 Exploring Operation: 6*2=12, Resulting Numbers: [35, 12] Generated Node #0,2,3: 13:[35, 12] Operation: 6*2=12 Exploring Operation: 35-6=29, Resulting Numbers: [2, 29] Generated Node #0,2,4: 13:[2, 29] Operation: 35-6=29 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 13:[35, 12], Operations: ['47-45=2', '6*2=12'] Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,13 unequal: No Solution Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,13 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 13:[6, 33], Operations: ['47-45=2', '35-2=33'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,13 unequal: No Solution Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 13:[35, 8], Operations: ['47-45=2', '6+2=8'] Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,13 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 13:[2, 29], Operations: ['47-45=2', '35-6=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[6, 37], Operations: ['47-45=2', '35+2=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,13 unequal: No Solution Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,13 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: 13:[6, 45, 12], Operations: ['47-35=12'] Exploring Operation: 45-12=33, Resulting Numbers: [6, 33] Generated Node #0,4,0: 13:[6, 33] Operation: 45-12=33 Exploring Operation: 12-6=6, Resulting Numbers: [45, 6] Generated Node #0,4,1: 13:[45, 6] Operation: 12-6=6 Exploring Operation: 6+45=51, Resulting Numbers: [12, 51] Generated Node #0,4,2: 13:[12, 51] Operation: 6+45=51 Exploring Operation: 45-6=39, Resulting Numbers: [12, 39] Generated Node #0,4,3: 13:[12, 39] Operation: 45-6=39 Exploring Operation: 6+12=18, Resulting Numbers: [45, 18] Generated Node #0,4,4: 13:[45, 18] Operation: 6+12=18 Moving to Node #0,1 Current State: 13:[6, 47, 10], Operations: ['45-35=10'] Exploring Operation: 47-6=41, Resulting Numbers: [10, 41] Generated Node #0,1,0: 13:[10, 41] Operation: 47-6=41 Exploring Operation: 10-6=4, Resulting Numbers: [47, 4] Generated Node #0,1,1: 13:[47, 4] Operation: 10-6=4 Exploring Operation: 6+47=53, Resulting Numbers: [10, 53] Generated Node #0,1,2: 13:[10, 53] Operation: 6+47=53 Exploring Operation: 47-10=37, Resulting Numbers: [6, 37] Generated Node #0,1,3: 13:[6, 37] Operation: 47-10=37 Exploring Operation: 6+10=16, Resulting Numbers: [47, 16] Generated Node #0,1,4: 13:[47, 16] Operation: 6+10=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[10, 41], Operations: ['45-35=10', '47-6=41'] Exploring Operation: 10*41=410, Resulting Numbers: [410] 410,13 unequal: No Solution Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 13:[6, 37], Operations: ['45-35=10', '47-10=37'] Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,13 unequal: No Solution Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,13 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 13:[47, 16], Operations: ['45-35=10', '6+10=16'] Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,13 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[47, 4], Operations: ['45-35=10', '10-6=4'] Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,13 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,13 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[10, 53], Operations: ['45-35=10', '6+47=53'] Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,13 unequal: No Solution Exploring Operation: 10*53=530, Resulting Numbers: [530] 530,13 unequal: No Solution Exploring Operation: 10+53=63, Resulting Numbers: [63] 63,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 13:[47, 45, 29], Operations: ['35-6=29'] Exploring Operation: 47+45=92, Resulting Numbers: [29, 92] Generated Node #0,0,0: 13:[29, 92] Operation: 47+45=92 Exploring Operation: 47+29=76, Resulting Numbers: [45, 76] Generated Node #0,0,1: 13:[45, 76] Operation: 47+29=76 Exploring Operation: 47-29=18, Resulting Numbers: [45, 18] Generated Node #0,0,2: 13:[45, 18] Operation: 47-29=18 Exploring Operation: 47-45=2, Resulting Numbers: [29, 2] Generated Node #0,0,3: 13:[29, 2] Operation: 47-45=2 Exploring Operation: 45-29=16, Resulting Numbers: [47, 16] Generated Node #0,0,4: 13:[47, 16] Operation: 45-29=16 Moving to Node #0,3 Current State: 13:[35, 45, 41], Operations: ['47-6=41'] Exploring Operation: 41-35=6, Resulting Numbers: [45, 6] Generated Node #0,3,0: 13:[45, 6] Operation: 41-35=6 Exploring Operation: 45-35=10, Resulting Numbers: [41, 10] Generated Node #0,3,1: 13:[41, 10] Operation: 45-35=10 Exploring Operation: 35+41=76, Resulting Numbers: [45, 76] Generated Node #0,3,2: 13:[45, 76] Operation: 35+41=76 Exploring Operation: 35+45=80, Resulting Numbers: [41, 80] Generated Node #0,3,3: 13:[41, 80] Operation: 35+45=80 Exploring Operation: 45-41=4, Resulting Numbers: [35, 4] Generated Node #0,3,4: 13:[35, 4] Operation: 45-41=4 Moving to Node #0,4,0 Current State: 13:[6, 33], Operations: ['47-35=12', '45-12=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[29, 2], Operations: ['35-6=29', '47-45=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,13 unequal: No Solution Moving to Node #0,4,3 Current State: 13:[12, 39], Operations: ['47-35=12', '45-6=39'] Exploring Operation: 12*39=468, Resulting Numbers: [468] 468,13 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 12+39=51, Resulting Numbers: [51] 51,13 unequal: No Solution Moving to Node #0,3,4 Current State: 13:[35, 4], Operations: ['47-6=41', '45-41=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,13 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,13 unequal: No Solution Moving to Node #0,3,1 Current State: 13:[41, 10], Operations: ['47-6=41', '45-35=10'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[45, 18], Operations: ['35-6=29', '47-29=18'] Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,13 unequal: No Solution Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,13 unequal: No Solution Moving to Node #0,4,4 Current State: 13:[45, 18], Operations: ['47-35=12', '6+12=18'] Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,13 unequal: No Solution Moving to Node #0,0,4 Current State: 13:[47, 16], Operations: ['35-6=29', '45-29=16'] Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[45, 6], Operations: ['47-6=41', '41-35=6'] Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,13 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,13 unequal: No Solution Moving to Node #0,4,2 Current State: 13:[12, 51], Operations: ['47-35=12', '6+45=51'] Exploring Operation: 12*51=612, Resulting Numbers: [612] 612,13 unequal: No Solution Exploring Operation: 12+51=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,13 unequal: No Solution Moving to Node #0,4,1 Current State: 13:[45, 6], Operations: ['47-35=12', '12-6=6'] Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,13 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[45, 76], Operations: ['35-6=29', '47+29=76'] Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 45*76=3420, Resulting Numbers: [3420] 3420,13 unequal: No Solution Exploring Operation: 45+76=121, Resulting Numbers: [121] 121,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[45, 76], Operations: ['47-6=41', '35+41=76'] Exploring Operation: 45+76=121, Resulting Numbers: [121] 121,13 unequal: No Solution Exploring Operation: 45*76=3420, Resulting Numbers: [3420] 3420,13 unequal: No Solution Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[29, 92], Operations: ['35-6=29', '47+45=92'] Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 29*92=2668, Resulting Numbers: [2668] 2668,13 unequal: No Solution Exploring Operation: 29+92=121, Resulting Numbers: [121] 121,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[41, 80], Operations: ['47-6=41', '35+45=80'] Exploring Operation: 41+80=121, Resulting Numbers: [121] 121,13 unequal: No Solution Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 41*80=3280, Resulting Numbers: [3280] 3280,13 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 3, 3, 2, 93 ]
95
[ "3-3=0", "2+93=95", "0+95=95" ]
Current State: 95:[3, 3, 2, 93], Operations: [] Exploring Operation: 3-3=0, Resulting Numbers: [2, 93, 0] Generated Node #2: [2, 93, 0] from Operation: 3-3=0 Current State: 95:[2, 93, 0], Operations: ['3-3=0'] Exploring Operation: 2+93=95, Resulting Numbers: [0, 95] Generated Node #3: [0, 95] from Operation: 2+93=95 Current State: 95:[0, 95], Operations: ['3-3=0', '2+93=95'] Exploring Operation: 0+95=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[3, 3, 2, 93], Operations: [] Exploring Operation: 3+2=5, Resulting Numbers: [3, 93, 5] Generated Node #0,0: 95:[3, 93, 5] Operation: 3+2=5 Exploring Operation: 3+2=5, Resulting Numbers: [3, 93, 5] Generated Node #0,1: 95:[3, 93, 5] Operation: 3+2=5 Exploring Operation: 2+93=95, Resulting Numbers: [3, 3, 95] Generated Node #0,2: 95:[3, 3, 95] Operation: 2+93=95 Moving to Node #0,0 Current State: 95:[3, 93, 5], Operations: ['3+2=5'] Exploring Operation: 93-3=90, Resulting Numbers: [5, 90] Generated Node #0,0,0: 95:[5, 90] Operation: 93-3=90 Exploring Operation: 3+5=8, Resulting Numbers: [93, 8] Generated Node #0,0,1: 95:[93, 8] Operation: 3+5=8 Exploring Operation: 3+93=96, Resulting Numbers: [5, 96] Generated Node #0,0,2: 95:[5, 96] Operation: 3+93=96 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[5, 96], Operations: ['3+2=5', '3+93=96'] Exploring Operation: 5+96=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 5*96=480, Resulting Numbers: [480] 480,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:[5, 90], Operations: ['3+2=5', '93-3=90'] Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[3, 3, 2, 93], Operations: [] Exploring Operation: 3+2=5, Resulting Numbers: [3, 93, 5] Generated Node #0,0: 95:[3, 93, 5] Operation: 3+2=5 Moving to Node #0,0 Current State: 95:[3, 93, 5], Operations: ['3+2=5'] Exploring Operation: 93-3=90, Resulting Numbers: [5, 90] Generated Node #0,0,0: 95:[5, 90] Operation: 93-3=90 Moving to Node #0,0,0 Current State: 95:[5, 90], Operations: ['3+2=5', '93-3=90'] Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 4, 27, 51, 49 ]
25
[ "27-4=23", "51-49=2", "23+2=25" ]
Current State: 25:[4, 27, 51, 49], Operations: [] Exploring Operation: 27-4=23, Resulting Numbers: [51, 49, 23] Generated Node #2: [51, 49, 23] from Operation: 27-4=23 Current State: 25:[51, 49, 23], Operations: ['27-4=23'] Exploring Operation: 51-49=2, Resulting Numbers: [23, 2] Generated Node #3: [23, 2] from Operation: 51-49=2 Current State: 25:[23, 2], Operations: ['27-4=23', '51-49=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[4, 27, 51, 49], Operations: [] Exploring Operation: 49-4=45, Resulting Numbers: [27, 51, 45] Generated Node #0,0: 25:[27, 51, 45] Operation: 49-4=45 Exploring Operation: 51-49=2, Resulting Numbers: [4, 27, 2] Generated Node #0,1: 25:[4, 27, 2] Operation: 51-49=2 Exploring Operation: 51-4=47, Resulting Numbers: [27, 49, 47] Generated Node #0,2: 25:[27, 49, 47] Operation: 51-4=47 Exploring Operation: 49-27=22, Resulting Numbers: [4, 51, 22] Generated Node #0,3: 25:[4, 51, 22] Operation: 49-27=22 Exploring Operation: 51-27=24, Resulting Numbers: [4, 49, 24] Generated Node #0,4: 25:[4, 49, 24] Operation: 51-27=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[4, 27, 2], Operations: ['51-49=2'] Exploring Operation: 4-2=2, Resulting Numbers: [27, 2] Generated Node #0,1,0: 25:[27, 2] Operation: 4-2=2 Exploring Operation: 4*2=8, Resulting Numbers: [27, 8] Generated Node #0,1,1: 25:[27, 8] Operation: 4*2=8 Exploring Operation: 27-2=25, Resulting Numbers: [4, 25] Generated Node #0,1,2: 25:[4, 25] Operation: 27-2=25 Exploring Operation: 27-4=23, Resulting Numbers: [2, 23] Generated Node #0,1,3: 25:[2, 23] Operation: 27-4=23 Exploring Operation: 4+2=6, Resulting Numbers: [27, 6] Generated Node #0,1,4: 25:[27, 6] Operation: 4+2=6 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[4, 25], Operations: ['51-49=2', '27-2=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,25 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 25:[27, 6], Operations: ['51-49=2', '4+2=6'] Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,25 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,25 unequal: No Solution No 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: 25:[27, 2], Operations: ['51-49=2', '4-2=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[4, 27, 51, 49], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [4, 27, 2] Generated Node #0,1: 25:[4, 27, 2] Operation: 51-49=2 Moving to Node #0,1 Current State: 25:[4, 27, 2], Operations: ['51-49=2'] Exploring Operation: 4-2=2, Resulting Numbers: [27, 2] Generated Node #0,1,0: 25:[27, 2] Operation: 4-2=2 Moving to Node #0,1,0 Current State: 25:[27, 2], Operations: ['51-49=2', '4-2=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 62, 22, 86, 3 ]
26
[ "22+86=108", "108/3=36", "62-36=26" ]
Current State: 26:[62, 22, 86, 3], Operations: [] Exploring Operation: 22+86=108, Resulting Numbers: [62, 3, 108] Generated Node #2: [62, 3, 108] from Operation: 22+86=108 Current State: 26:[62, 3, 108], Operations: ['22+86=108'] Exploring Operation: 108/3=36, Resulting Numbers: [62, 36] Generated Node #3: [62, 36] from Operation: 108/3=36 Current State: 26:[62, 36], Operations: ['22+86=108', '108/3=36'] Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[62, 22, 86, 3], Operations: [] Exploring Operation: 86-22=64, Resulting Numbers: [62, 3, 64] Generated Node #0,0: 26:[62, 3, 64] Operation: 86-22=64 Exploring Operation: 62-3=59, Resulting Numbers: [22, 86, 59] Generated Node #0,1: 26:[22, 86, 59] Operation: 62-3=59 Exploring Operation: 62-22=40, Resulting Numbers: [86, 3, 40] Generated Node #0,2: 26:[86, 3, 40] Operation: 62-22=40 Exploring Operation: 86-62=24, Resulting Numbers: [22, 3, 24] Generated Node #0,3: 26:[22, 3, 24] Operation: 86-62=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[22, 3, 24], Operations: ['86-62=24'] Exploring Operation: 24-22=2, Resulting Numbers: [3, 2] Generated Node #0,3,0: 26:[3, 2] Operation: 24-22=2 Exploring Operation: 3+24=27, Resulting Numbers: [22, 27] Generated Node #0,3,1: 26:[22, 27] Operation: 3+24=27 Exploring Operation: 22+3=25, Resulting Numbers: [24, 25] Generated Node #0,3,2: 26:[24, 25] Operation: 22+3=25 Exploring Operation: 22-3=19, Resulting Numbers: [24, 19] Generated Node #0,3,3: 26:[24, 19] Operation: 22-3=19 Moving to Node #0,3,0 Current State: 26:[3, 2], Operations: ['86-62=24', '24-22=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,26 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[24, 25], Operations: ['86-62=24', '22+3=25'] Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,26 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[22, 27], Operations: ['86-62=24', '3+24=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,26 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,26 unequal: No Solution Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,26 unequal: No Solution Moving to Node #0,3,3 Current State: 26:[24, 19], Operations: ['86-62=24', '22-3=19'] Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,26 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,26 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[62, 3, 64], Operations: ['86-22=64'] Exploring Operation: 64-3=61, Resulting Numbers: [62, 61] Generated Node #0,0,0: 26:[62, 61] Operation: 64-3=61 Exploring Operation: 62-3=59, Resulting Numbers: [64, 59] Generated Node #0,0,1: 26:[64, 59] Operation: 62-3=59 Exploring Operation: 62+3=65, Resulting Numbers: [64, 65] Generated Node #0,0,2: 26:[64, 65] Operation: 62+3=65 Exploring Operation: 64-62=2, Resulting Numbers: [3, 2] Generated Node #0,0,3: 26:[3, 2] Operation: 64-62=2 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 26:[3, 2], Operations: ['86-22=64', '64-62=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,26 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,26 unequal: No Solution No 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: 26:[62, 61], Operations: ['86-22=64', '64-3=61'] Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 62*61=3782, Resulting Numbers: [3782] 3782,26 unequal: No Solution Exploring Operation: 62+61=123, Resulting Numbers: [123] 123,26 unequal: No Solution No 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: 26:[64, 59], Operations: ['86-22=64', '62-3=59'] Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,26 unequal: No Solution Exploring Operation: 64*59=3776, Resulting Numbers: [3776] 3776,26 unequal: No Solution Exploring Operation: 64+59=123, Resulting Numbers: [123] 123,26 unequal: No Solution No 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: 26:[64, 65], Operations: ['86-22=64', '62+3=65'] Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,26 unequal: No Solution Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,26 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: 26:[86, 3, 40], Operations: ['62-22=40'] Exploring Operation: 86-40=46, Resulting Numbers: [3, 46] Generated Node #0,2,0: 26:[3, 46] Operation: 86-40=46 Exploring Operation: 86+3=89, Resulting Numbers: [40, 89] Generated Node #0,2,1: 26:[40, 89] Operation: 86+3=89 Exploring Operation: 86-3=83, Resulting Numbers: [40, 83] Generated Node #0,2,2: 26:[40, 83] Operation: 86-3=83 Exploring Operation: 40-3=37, Resulting Numbers: [86, 37] Generated Node #0,2,3: 26:[86, 37] Operation: 40-3=37 Moving to Node #0,2,0 Current State: 26:[3, 46], Operations: ['62-22=40', '86-40=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,26 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,26 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,26 unequal: No Solution Moving to Node #0,2,3 Current State: 26:[86, 37], Operations: ['62-22=40', '40-3=37'] Exploring Operation: 86+37=123, Resulting Numbers: [123] 123,26 unequal: No Solution Exploring Operation: 86*37=3182, Resulting Numbers: [3182] 3182,26 unequal: No Solution Exploring Operation: 86-37=49, Resulting Numbers: [49] 49,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[40, 83], Operations: ['62-22=40', '86-3=83'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,26 unequal: No Solution Exploring Operation: 40+83=123, Resulting Numbers: [123] 123,26 unequal: No Solution Exploring Operation: 40*83=3320, Resulting Numbers: [3320] 3320,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[40, 89], Operations: ['62-22=40', '86+3=89'] Exploring Operation: 40*89=3560, Resulting Numbers: [3560] 3560,26 unequal: No Solution Exploring Operation: 40+89=129, Resulting Numbers: [129] 129,26 unequal: No Solution Exploring Operation: 89-40=49, Resulting Numbers: [49] 49,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[22, 86, 59], Operations: ['62-3=59'] Exploring Operation: 59-22=37, Resulting Numbers: [86, 37] Generated Node #0,1,0: 26:[86, 37] Operation: 59-22=37 Exploring Operation: 22+86=108, Resulting Numbers: [59, 108] Generated Node #0,1,1: 26:[59, 108] Operation: 22+86=108 Exploring Operation: 86-22=64, Resulting Numbers: [59, 64] Generated Node #0,1,2: 26:[59, 64] Operation: 86-22=64 Exploring Operation: 86-59=27, Resulting Numbers: [22, 27] Generated Node #0,1,3: 26:[22, 27] Operation: 86-59=27 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 26:[22, 27], Operations: ['62-3=59', '86-59=27'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,26 unequal: No Solution Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,26 unequal: No Solution Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,26 unequal: No Solution No 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: 26:[86, 37], Operations: ['62-3=59', '59-22=37'] Exploring Operation: 86-37=49, Resulting Numbers: [49] 49,26 unequal: No Solution Exploring Operation: 86+37=123, Resulting Numbers: [123] 123,26 unequal: No Solution Exploring Operation: 86*37=3182, Resulting Numbers: [3182] 3182,26 unequal: No Solution No 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: 26:[59, 64], Operations: ['62-3=59', '86-22=64'] Exploring Operation: 59*64=3776, Resulting Numbers: [3776] 3776,26 unequal: No Solution Exploring Operation: 59+64=123, Resulting Numbers: [123] 123,26 unequal: No Solution Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,26 unequal: No Solution No 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: 26:[59, 108], Operations: ['62-3=59', '22+86=108'] Exploring Operation: 59+108=167, Resulting Numbers: [167] 167,26 unequal: No Solution Exploring Operation: 108-59=49, Resulting Numbers: [49] 49,26 unequal: No Solution Exploring Operation: 59*108=6372, Resulting Numbers: [6372] 6372,26 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
[ 62, 45, 45, 2 ]
11
[ "62-45=17", "2*17=34", "45-34=11" ]
Current State: 11:[62, 45, 45, 2], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [2, 17] Generated Node #2: [2, 17] from Operation: 62-45=17 Current State: 11:[2, 17], Operations: ['62-45=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,11 equal: Goal Reached Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[62, 45, 45, 2], Operations: [] Exploring Operation: 45-45=0, Resulting Numbers: [62, 2, 0] Generated Node #0,0: 11:[62, 2, 0] Operation: 45-45=0 Exploring Operation: 45/45=1, Resulting Numbers: [62, 2, 1] Generated Node #0,1: 11:[62, 2, 1] Operation: 45/45=1 Exploring Operation: 62-45=17, Resulting Numbers: [45, 2, 17] Generated Node #0,2: 11:[45, 2, 17] Operation: 62-45=17 Exploring Operation: 62-45=17, Resulting Numbers: [45, 2, 17] Generated Node #0,3: 11:[45, 2, 17] Operation: 62-45=17 Exploring Operation: 62/2=31, Resulting Numbers: [45, 45, 31] Generated Node #0,4: 11:[45, 45, 31] Operation: 62/2=31 Moving to Node #0,2 Current State: 11:[45, 2, 17], Operations: ['62-45=17'] Exploring Operation: 45-2=43, Resulting Numbers: [17, 43] Generated Node #0,2,0: 11:[17, 43] Operation: 45-2=43 Exploring Operation: 45+2=47, Resulting Numbers: [17, 47] Generated Node #0,2,1: 11:[17, 47] Operation: 45+2=47 Exploring Operation: 45-17=28, Resulting Numbers: [2, 28] Generated Node #0,2,2: 11:[2, 28] Operation: 45-17=28 Exploring Operation: 17-2=15, Resulting Numbers: [45, 15] Generated Node #0,2,3: 11:[45, 15] Operation: 17-2=15 Exploring Operation: 2+17=19, Resulting Numbers: [45, 19] Generated Node #0,2,4: 11:[45, 19] Operation: 2+17=19 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 11:[2, 28], Operations: ['62-45=17', '45-17=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[17, 43], Operations: ['62-45=17', '45-2=43'] Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 17*43=731, Resulting Numbers: [731] 731,11 unequal: No Solution Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 11:[45, 15], Operations: ['62-45=17', '17-2=15'] Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 45+15=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 45*15=675, Resulting Numbers: [675] 675,11 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[17, 47], Operations: ['62-45=17', '45+2=47'] Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,11 unequal: No Solution Exploring Operation: 17*47=799, Resulting Numbers: [799] 799,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 11:[45, 19], Operations: ['62-45=17', '2+17=19'] Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,11 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 11:[45, 2, 17], Operations: ['62-45=17'] Exploring Operation: 45+2=47, Resulting Numbers: [17, 47] Generated Node #0,3,0: 11:[17, 47] Operation: 45+2=47 Exploring Operation: 2+17=19, Resulting Numbers: [45, 19] Generated Node #0,3,1: 11:[45, 19] Operation: 2+17=19 Exploring Operation: 45-17=28, Resulting Numbers: [2, 28] Generated Node #0,3,2: 11:[2, 28] Operation: 45-17=28 Exploring Operation: 17-2=15, Resulting Numbers: [45, 15] Generated Node #0,3,3: 11:[45, 15] Operation: 17-2=15 Exploring Operation: 45-2=43, Resulting Numbers: [17, 43] Generated Node #0,3,4: 11:[17, 43] Operation: 45-2=43 Moving to Node #0,1 Current State: 11:[62, 2, 1], Operations: ['45/45=1'] Exploring Operation: 62-1=61, Resulting Numbers: [2, 61] Generated Node #0,1,0: 11:[2, 61] Operation: 62-1=61 Exploring Operation: 62*1=62, Resulting Numbers: [2, 62] Generated Node #0,1,1: 11:[2, 62] Operation: 62*1=62 Exploring Operation: 62/2=31, Resulting Numbers: [1, 31] Generated Node #0,1,2: 11:[1, 31] Operation: 62/2=31 Exploring Operation: 62-2=60, Resulting Numbers: [1, 60] Generated Node #0,1,3: 11:[1, 60] Operation: 62-2=60 Exploring Operation: 2+1=3, Resulting Numbers: [62, 3] Generated Node #0,1,4: 11:[62, 3] Operation: 2+1=3 Moving to Node #0,0 Current State: 11:[62, 2, 0], Operations: ['45-45=0'] Exploring Operation: 62-2=60, Resulting Numbers: [0, 60] Generated Node #0,0,0: 11:[0, 60] Operation: 62-2=60 Exploring Operation: 62*0=0, Resulting Numbers: [2, 0] Generated Node #0,0,1: 11:[2, 0] Operation: 62*0=0 Exploring Operation: 62+0=62, Resulting Numbers: [2, 62] Generated Node #0,0,2: 11:[2, 62] Operation: 62+0=62 Exploring Operation: 62/2=31, Resulting Numbers: [0, 31] Generated Node #0,0,3: 11:[0, 31] Operation: 62/2=31 Exploring Operation: 62-0=62, Resulting Numbers: [2, 62] Generated Node #0,0,4: 11:[2, 62] Operation: 62-0=62 Moving to Node #0,4 Current State: 11:[45, 45, 31], Operations: ['62/2=31'] Exploring Operation: 45-31=14, Resulting Numbers: [45, 14] Generated Node #0,4,0: 11:[45, 14] Operation: 45-31=14 Exploring Operation: 45-31=14, Resulting Numbers: [45, 14] Generated Node #0,4,1: 11:[45, 14] Operation: 45-31=14 Exploring Operation: 45/45=1, Resulting Numbers: [31, 1] Generated Node #0,4,2: 11:[31, 1] Operation: 45/45=1 Exploring Operation: 45+45=90, Resulting Numbers: [31, 90] Generated Node #0,4,3: 11:[31, 90] Operation: 45+45=90 Exploring Operation: 45-45=0, Resulting Numbers: [31, 0] Generated Node #0,4,4: 11:[31, 0] Operation: 45-45=0 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 11:[31, 1], Operations: ['62/2=31', '45/45=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 11:[31, 0], Operations: ['62/2=31', '45-45=0'] Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 31*0=0, Resulting Numbers: [0] 0,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 11:[45, 14], Operations: ['62/2=31', '45-31=14'] Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 45*14=630, Resulting Numbers: [630] 630,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 11:[45, 14], Operations: ['62/2=31', '45-31=14'] Exploring Operation: 45*14=630, Resulting Numbers: [630] 630,11 unequal: No Solution Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 11:[31, 90], Operations: ['62/2=31', '45+45=90'] Exploring Operation: 31*90=2790, Resulting Numbers: [2790] 2790,11 unequal: No Solution Exploring Operation: 90-31=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 31+90=121, Resulting Numbers: [121] 121,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 11:[2, 0], Operations: ['45-45=0', '62*0=0'] Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 2+0=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[2, 28], Operations: ['62-45=17', '45-17=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[1, 31], Operations: ['45/45=1', '62/2=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[0, 31], Operations: ['45-45=0', '62/2=31'] Exploring Operation: 0*31=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 0+31=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,11 unequal: No Solution Moving to Node #0,3,4 Current State: 11:[17, 43], Operations: ['62-45=17', '45-2=43'] Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 17*43=731, Resulting Numbers: [731] 731,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[45, 15], Operations: ['62-45=17', '17-2=15'] Exploring Operation: 45+15=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 45*15=675, Resulting Numbers: [675] 675,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[45, 19], Operations: ['62-45=17', '2+17=19'] Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,11 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,11 unequal: No Solution Moving to Node #0,3,0 Current State: 11:[17, 47], Operations: ['62-45=17', '45+2=47'] Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 17*47=799, Resulting Numbers: [799] 799,11 unequal: No Solution Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[2, 61], Operations: ['45/45=1', '62-1=61'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,11 unequal: No Solution Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,11 unequal: No Solution Moving to Node #0,1,4 Current State: 11:[62, 3], Operations: ['45/45=1', '2+1=3'] Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,11 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,11 unequal: No Solution Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[1, 60], Operations: ['45/45=1', '62-2=60'] Exploring Operation: 1+60=61, Resulting Numbers: [61] 61,11 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 1*60=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[0, 60], Operations: ['45-45=0', '62-2=60'] Exploring Operation: 60-0=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 0*60=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 0+60=60, Resulting Numbers: [60] 60,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[2, 62], Operations: ['45-45=0', '62+0=62'] Exploring Operation: 2*62=124, Resulting Numbers: [124] 124,11 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,11 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[2, 62], Operations: ['45/45=1', '62*1=62'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,11 unequal: No Solution Exploring Operation: 2*62=124, Resulting Numbers: [124] 124,11 unequal: No Solution Moving to Node #0,0,4 Current State: 11:[2, 62], Operations: ['45-45=0', '62-0=62'] Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,11 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 2*62=124, Resulting Numbers: [124] 124,11 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,11 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 57, 17, 6, 48 ]
37
[ "57-48=9", "6*9=54", "54-17=37" ]
Current State: 37:[57, 17, 6, 48], Operations: [] Exploring Operation: 57-48=9, Resulting Numbers: [17, 6, 9] Generated Node #2: [17, 6, 9] from Operation: 57-48=9 Current State: 37:[17, 6, 9], Operations: ['57-48=9'] Exploring Operation: 6*9=54, Resulting Numbers: [17, 54] Generated Node #3: [17, 54] from Operation: 6*9=54 Current State: 37:[17, 54], Operations: ['57-48=9', '6*9=54'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[57, 17, 6, 48], Operations: [] Exploring Operation: 48-6=42, Resulting Numbers: [57, 17, 42] Generated Node #0,0: 37:[57, 17, 42] Operation: 48-6=42 Exploring Operation: 57-17=40, Resulting Numbers: [6, 48, 40] Generated Node #0,1: 37:[6, 48, 40] Operation: 57-17=40 Exploring Operation: 17+6=23, Resulting Numbers: [57, 48, 23] Generated Node #0,2: 37:[57, 48, 23] Operation: 17+6=23 Exploring Operation: 57+6=63, Resulting Numbers: [17, 48, 63] Generated Node #0,3: 37:[17, 48, 63] Operation: 57+6=63 Exploring Operation: 57-6=51, Resulting Numbers: [17, 48, 51] Generated Node #0,4: 37:[17, 48, 51] Operation: 57-6=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[57, 17, 42], Operations: ['48-6=42'] Exploring Operation: 42-17=25, Resulting Numbers: [57, 25] Generated Node #0,0,0: 37:[57, 25] Operation: 42-17=25 Exploring Operation: 57+17=74, Resulting Numbers: [42, 74] Generated Node #0,0,1: 37:[42, 74] Operation: 57+17=74 Exploring Operation: 57-42=15, Resulting Numbers: [17, 15] Generated Node #0,0,2: 37:[17, 15] Operation: 57-42=15 Exploring Operation: 57-17=40, Resulting Numbers: [42, 40] Generated Node #0,0,3: 37:[42, 40] Operation: 57-17=40 Exploring Operation: 17+42=59, Resulting Numbers: [57, 59] Generated Node #0,0,4: 37:[57, 59] Operation: 17+42=59 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 37:[42, 40], Operations: ['48-6=42', '57-17=40'] Exploring Operation: 42*40=1680, Resulting Numbers: [1680] 1680,37 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[57, 25], Operations: ['48-6=42', '42-17=25'] Exploring Operation: 57*25=1425, Resulting Numbers: [1425] 1425,37 unequal: No Solution Exploring Operation: 57+25=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[42, 74], Operations: ['48-6=42', '57+17=74'] Exploring Operation: 42*74=3108, Resulting Numbers: [3108] 3108,37 unequal: No Solution Exploring Operation: 42+74=116, Resulting Numbers: [116] 116,37 unequal: No Solution Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[17, 15], Operations: ['48-6=42', '57-42=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,37 unequal: No Solution Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 37:[57, 59], Operations: ['48-6=42', '17+42=59'] Exploring Operation: 57*59=3363, Resulting Numbers: [3363] 3363,37 unequal: No Solution Exploring Operation: 57+59=116, Resulting Numbers: [116] 116,37 unequal: No Solution Exploring Operation: 59-57=2, Resulting Numbers: [2] 2,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[6, 48, 40], Operations: ['57-17=40'] Exploring Operation: 48/6=8, Resulting Numbers: [40, 8] Generated Node #0,1,0: 37:[40, 8] Operation: 48/6=8 Exploring Operation: 48-6=42, Resulting Numbers: [40, 42] Generated Node #0,1,1: 37:[40, 42] Operation: 48-6=42 Exploring Operation: 6+40=46, Resulting Numbers: [48, 46] Generated Node #0,1,2: 37:[48, 46] Operation: 6+40=46 Exploring Operation: 6+48=54, Resulting Numbers: [40, 54] Generated Node #0,1,3: 37:[40, 54] Operation: 6+48=54 Exploring Operation: 40-6=34, Resulting Numbers: [48, 34] Generated Node #0,1,4: 37:[48, 34] Operation: 40-6=34 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[40, 42], Operations: ['57-17=40', '48-6=42'] Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 40*42=1680, Resulting Numbers: [1680] 1680,37 unequal: No Solution Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 37:[48, 34], Operations: ['57-17=40', '40-6=34'] Exploring Operation: 48*34=1632, Resulting Numbers: [1632] 1632,37 unequal: No Solution Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[48, 46], Operations: ['57-17=40', '6+40=46'] Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,37 unequal: No Solution Exploring Operation: 48*46=2208, Resulting Numbers: [2208] 2208,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 37:[40, 54], Operations: ['57-17=40', '6+48=54'] Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,37 unequal: No Solution Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,37 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[40, 8], Operations: ['57-17=40', '48/6=8'] Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 40*8=320, Resulting Numbers: [320] 320,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[57, 48, 23], Operations: ['17+6=23'] Exploring Operation: 48+23=71, Resulting Numbers: [57, 71] Generated Node #0,2,0: 37:[57, 71] Operation: 48+23=71 Exploring Operation: 57-23=34, Resulting Numbers: [48, 34] Generated Node #0,2,1: 37:[48, 34] Operation: 57-23=34 Exploring Operation: 57+23=80, Resulting Numbers: [48, 80] Generated Node #0,2,2: 37:[48, 80] Operation: 57+23=80 Exploring Operation: 57-48=9, Resulting Numbers: [23, 9] Generated Node #0,2,3: 37:[23, 9] Operation: 57-48=9 Exploring Operation: 48-23=25, Resulting Numbers: [57, 25] Generated Node #0,2,4: 37:[57, 25] Operation: 48-23=25 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[48, 34], Operations: ['17+6=23', '57-23=34'] Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 48*34=1632, Resulting Numbers: [1632] 1632,37 unequal: No Solution Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 37:[57, 25], Operations: ['17+6=23', '48-23=25'] Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 57*25=1425, Resulting Numbers: [1425] 1425,37 unequal: No Solution Exploring Operation: 57+25=82, Resulting Numbers: [82] 82,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 37:[23, 9], Operations: ['17+6=23', '57-48=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 23*9=207, Resulting Numbers: [207] 207,37 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[57, 71], Operations: ['17+6=23', '48+23=71'] Exploring Operation: 57*71=4047, Resulting Numbers: [4047] 4047,37 unequal: No Solution Exploring Operation: 57+71=128, Resulting Numbers: [128] 128,37 unequal: No Solution Exploring Operation: 71-57=14, Resulting Numbers: [14] 14,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[48, 80], Operations: ['17+6=23', '57+23=80'] Exploring Operation: 48*80=3840, Resulting Numbers: [3840] 3840,37 unequal: No Solution Exploring Operation: 48+80=128, Resulting Numbers: [128] 128,37 unequal: No Solution Exploring Operation: 80-48=32, Resulting Numbers: [32] 32,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 37:[17, 48, 51], Operations: ['57-6=51'] Exploring Operation: 17+48=65, Resulting Numbers: [51, 65] Generated Node #0,4,0: 37:[51, 65] Operation: 17+48=65 Exploring Operation: 51-17=34, Resulting Numbers: [48, 34] Generated Node #0,4,1: 37:[48, 34] Operation: 51-17=34 Exploring Operation: 17+51=68, Resulting Numbers: [48, 68] Generated Node #0,4,2: 37:[48, 68] Operation: 17+51=68 Exploring Operation: 51/17=3, Resulting Numbers: [48, 3] Generated Node #0,4,3: 37:[48, 3] Operation: 51/17=3 Exploring Operation: 48-17=31, Resulting Numbers: [51, 31] Generated Node #0,4,4: 37:[51, 31] Operation: 48-17=31 Moving to Node #0,4,1 Current State: 37:[48, 34], Operations: ['57-6=51', '51-17=34'] Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 48*34=1632, Resulting Numbers: [1632] 1632,37 unequal: No Solution Moving to Node #0,4,4 Current State: 37:[51, 31], Operations: ['57-6=51', '48-17=31'] Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,37 unequal: No Solution Exploring Operation: 51+31=82, Resulting Numbers: [82] 82,37 unequal: No Solution Exploring Operation: 51*31=1581, Resulting Numbers: [1581] 1581,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[51, 65], Operations: ['57-6=51', '17+48=65'] Exploring Operation: 51+65=116, Resulting Numbers: [116] 116,37 unequal: No Solution Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 51*65=3315, Resulting Numbers: [3315] 3315,37 unequal: No Solution Moving to Node #0,4,2 Current State: 37:[48, 68], Operations: ['57-6=51', '17+51=68'] Exploring Operation: 48+68=116, Resulting Numbers: [116] 116,37 unequal: No Solution Exploring Operation: 48*68=3264, Resulting Numbers: [3264] 3264,37 unequal: No Solution Exploring Operation: 68-48=20, Resulting Numbers: [20] 20,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[48, 3], Operations: ['57-6=51', '51/17=3'] Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,37 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,37 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 37:[17, 48, 63], Operations: ['57+6=63'] Exploring Operation: 17+48=65, Resulting Numbers: [63, 65] Generated Node #0,3,0: 37:[63, 65] Operation: 17+48=65 Exploring Operation: 63-17=46, Resulting Numbers: [48, 46] Generated Node #0,3,1: 37:[48, 46] Operation: 63-17=46 Exploring Operation: 17+63=80, Resulting Numbers: [48, 80] Generated Node #0,3,2: 37:[48, 80] Operation: 17+63=80 Exploring Operation: 63-48=15, Resulting Numbers: [17, 15] Generated Node #0,3,3: 37:[17, 15] Operation: 63-48=15 Exploring Operation: 48-17=31, Resulting Numbers: [63, 31] Generated Node #0,3,4: 37:[63, 31] Operation: 48-17=31 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 37:[48, 46], Operations: ['57+6=63', '63-17=46'] Exploring Operation: 48*46=2208, Resulting Numbers: [2208] 2208,37 unequal: No Solution Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 37:[63, 31], Operations: ['57+6=63', '48-17=31'] Exploring Operation: 63+31=94, Resulting Numbers: [94] 94,37 unequal: No Solution Exploring Operation: 63*31=1953, Resulting Numbers: [1953] 1953,37 unequal: No Solution Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 37:[17, 15], Operations: ['57+6=63', '63-48=15'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 37:[63, 65], Operations: ['57+6=63', '17+48=65'] Exploring Operation: 63+65=128, Resulting Numbers: [128] 128,37 unequal: No Solution Exploring Operation: 63*65=4095, Resulting Numbers: [4095] 4095,37 unequal: No Solution Exploring Operation: 65-63=2, Resulting Numbers: [2] 2,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 37:[48, 80], Operations: ['57+6=63', '17+63=80'] Exploring Operation: 48*80=3840, Resulting Numbers: [3840] 3840,37 unequal: No Solution Exploring Operation: 48+80=128, Resulting Numbers: [128] 128,37 unequal: No Solution Exploring Operation: 80-48=32, Resulting Numbers: [32] 32,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 47, 19, 53, 29 ]
60
[ "53-47=6", "29-19=10", "6*10=60" ]
Current State: 60:[47, 19, 53, 29], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [19, 29, 6] Generated Node #2: [19, 29, 6] from Operation: 53-47=6 Current State: 60:[19, 29, 6], Operations: ['53-47=6'] Exploring Operation: 29-19=10, Resulting Numbers: [6, 10] Generated Node #3: [6, 10] from Operation: 29-19=10 Current State: 60:[6, 10], Operations: ['53-47=6', '29-19=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[47, 19, 53, 29], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [19, 29, 6] Generated Node #0,0: 60:[19, 29, 6] Operation: 53-47=6 Moving to Node #0,0 Current State: 60:[19, 29, 6], Operations: ['53-47=6'] Exploring Operation: 29-19=10, Resulting Numbers: [6, 10] Generated Node #0,0,0: 60:[6, 10] Operation: 29-19=10 Moving to Node #0,0,0 Current State: 60:[6, 10], Operations: ['53-47=6', '29-19=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[47, 19, 53, 29], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [19, 29, 6] Generated Node #0,0: 60:[19, 29, 6] Operation: 53-47=6 Moving to Node #0,0 Current State: 60:[19, 29, 6], Operations: ['53-47=6'] Exploring Operation: 29-19=10, Resulting Numbers: [6, 10] Generated Node #0,0,0: 60:[6, 10] Operation: 29-19=10 Moving to Node #0,0,0 Current State: 60:[6, 10], Operations: ['53-47=6', '29-19=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 5, 9, 17, 15 ]
16
[ "5+9=14", "17-15=2", "14+2=16" ]
Current State: 16:[5, 9, 17, 15], Operations: [] Exploring Operation: 5+9=14, Resulting Numbers: [17, 15, 14] Generated Node #2: [17, 15, 14] from Operation: 5+9=14 Current State: 16:[17, 15, 14], Operations: ['5+9=14'] Exploring Operation: 17-15=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 17-15=2 Current State: 16:[14, 2], Operations: ['5+9=14', '17-15=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[5, 9, 17, 15], Operations: [] Exploring Operation: 9-5=4, Resulting Numbers: [17, 15, 4] Generated Node #0,0: 16:[17, 15, 4] Operation: 9-5=4 Exploring Operation: 17-9=8, Resulting Numbers: [5, 15, 8] Generated Node #0,1: 16:[5, 15, 8] Operation: 17-9=8 Moving to Node #0,0 Current State: 16:[17, 15, 4], Operations: ['9-5=4'] Exploring Operation: 17-15=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 16:[4, 2] Operation: 17-15=2 Exploring Operation: 17-4=13, Resulting Numbers: [15, 13] Generated Node #0,0,1: 16:[15, 13] Operation: 17-4=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[4, 2], Operations: ['9-5=4', '17-15=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,16 unequal: No Solution No 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: 16:[15, 13], Operations: ['9-5=4', '17-4=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,16 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: 16:[5, 15, 8], Operations: ['17-9=8'] Exploring Operation: 15/5=3, Resulting Numbers: [8, 3] Generated Node #0,1,0: 16:[8, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [8, 10] Generated Node #0,1,1: 16:[8, 10] Operation: 15-5=10 Moving to Node #0,1,0 Current State: 16:[8, 3], Operations: ['17-9=8', '15/5=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[8, 10], Operations: ['17-9=8', '15-5=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,16 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 19, 12, 42, 19 ]
12
[ "19-19=0", "42*0=0", "12+0=12" ]
Current State: 12:[19, 12, 42, 19], Operations: [] Exploring Operation: 19-19=0, Resulting Numbers: [12, 42, 0] Generated Node #2: [12, 42, 0] from Operation: 19-19=0 Current State: 12:[12, 42, 0], Operations: ['19-19=0'] Exploring Operation: 42*0=0, Resulting Numbers: [12, 0] Generated Node #3: [12, 0] from Operation: 42*0=0 Current State: 12:[12, 0], Operations: ['19-19=0', '42*0=0'] Exploring Operation: 12+0=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[19, 12, 42, 19], Operations: [] Exploring Operation: 19/19=1, Resulting Numbers: [12, 42, 1] Generated Node #0,0: 12:[12, 42, 1] Operation: 19/19=1 Exploring Operation: 42-19=23, Resulting Numbers: [12, 19, 23] Generated Node #0,1: 12:[12, 19, 23] Operation: 42-19=23 Exploring Operation: 42-19=23, Resulting Numbers: [19, 12, 23] Generated Node #0,2: 12:[19, 12, 23] Operation: 42-19=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[12, 19, 23], Operations: ['42-19=23'] Exploring Operation: 23-12=11, Resulting Numbers: [19, 11] Generated Node #0,1,0: 12:[19, 11] Operation: 23-12=11 Exploring Operation: 19-12=7, Resulting Numbers: [23, 7] Generated Node #0,1,1: 12:[23, 7] Operation: 19-12=7 Exploring Operation: 23-19=4, Resulting Numbers: [12, 4] Generated Node #0,1,2: 12:[12, 4] Operation: 23-19=4 Moving to Node #0,1,2 Current State: 12:[12, 4], Operations: ['42-19=23', '23-19=4'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[19, 11], Operations: ['42-19=23', '23-12=11'] Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,12 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[23, 7], Operations: ['42-19=23', '19-12=7'] Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,12 unequal: No Solution Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,12 unequal: No Solution No 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: 12:[19, 12, 23], Operations: ['42-19=23'] Exploring Operation: 19-12=7, Resulting Numbers: [23, 7] Generated Node #0,2,0: 12:[23, 7] Operation: 19-12=7 Exploring Operation: 23-12=11, Resulting Numbers: [19, 11] Generated Node #0,2,1: 12:[19, 11] Operation: 23-12=11 Exploring Operation: 23-19=4, Resulting Numbers: [12, 4] Generated Node #0,2,2: 12:[12, 4] Operation: 23-19=4 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[12, 4], Operations: ['42-19=23', '23-19=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,12 unequal: No Solution No 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: 12:[19, 11], Operations: ['42-19=23', '23-12=11'] Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,12 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,12 unequal: No Solution No 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: 12:[23, 7], Operations: ['42-19=23', '19-12=7'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,12 unequal: No Solution Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,12 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: 12:[12, 42, 1], Operations: ['19/19=1'] Exploring Operation: 12*1=12, Resulting Numbers: [42, 12] Generated Node #0,0,0: 12:[42, 12] Operation: 12*1=12 Exploring Operation: 42-1=41, Resulting Numbers: [12, 41] Generated Node #0,0,1: 12:[12, 41] Operation: 42-1=41 Exploring Operation: 42-12=30, Resulting Numbers: [1, 30] Generated Node #0,0,2: 12:[1, 30] Operation: 42-12=30 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 12:[1, 30], Operations: ['19/19=1', '42-12=30'] Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,12 unequal: No Solution No 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: 12:[12, 41], Operations: ['19/19=1', '42-1=41'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,12 unequal: No Solution Exploring Operation: 12+41=53, Resulting Numbers: [53] 53,12 unequal: No Solution Exploring Operation: 12*41=492, Resulting Numbers: [492] 492,12 unequal: No Solution No 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: 12:[42, 12], Operations: ['19/19=1', '12*1=12'] Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,12 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 60, 15, 27, 36 ]
67
[ "60/15=4", "27+36=63", "4+63=67" ]
Current State: 67:[60, 15, 27, 36], Operations: [] Exploring Operation: 60/15=4, Resulting Numbers: [27, 36, 4] Generated Node #2: [27, 36, 4] from Operation: 60/15=4 Current State: 67:[27, 36, 4], Operations: ['60/15=4'] Exploring Operation: 27+36=63, Resulting Numbers: [4, 63] Generated Node #3: [4, 63] from Operation: 27+36=63 Current State: 67:[4, 63], Operations: ['60/15=4', '27+36=63'] Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[60, 15, 27, 36], Operations: [] Exploring Operation: 15+27=42, Resulting Numbers: [60, 36, 42] Generated Node #0,0: 67:[60, 36, 42] Operation: 15+27=42 Exploring Operation: 27+36=63, Resulting Numbers: [60, 15, 63] Generated Node #0,1: 67:[60, 15, 63] Operation: 27+36=63 Exploring Operation: 15+36=51, Resulting Numbers: [60, 27, 51] Generated Node #0,2: 67:[60, 27, 51] Operation: 15+36=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[60, 36, 42], Operations: ['15+27=42'] Exploring Operation: 60+36=96, Resulting Numbers: [42, 96] Generated Node #0,0,0: 67:[42, 96] Operation: 60+36=96 Exploring Operation: 36+42=78, Resulting Numbers: [60, 78] Generated Node #0,0,1: 67:[60, 78] Operation: 36+42=78 Exploring Operation: 60+42=102, Resulting Numbers: [36, 102] Generated Node #0,0,2: 67:[36, 102] Operation: 60+42=102 Moving to Node #0,0,1 Current State: 67:[60, 78], Operations: ['15+27=42', '36+42=78'] Exploring Operation: 60*78=4680, Resulting Numbers: [4680] 4680,67 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 60+78=138, Resulting Numbers: [138] 138,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[42, 96], Operations: ['15+27=42', '60+36=96'] Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,67 unequal: No Solution Exploring Operation: 42+96=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 42*96=4032, Resulting Numbers: [4032] 4032,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[36, 102], Operations: ['15+27=42', '60+42=102'] Exploring Operation: 36+102=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 36*102=3672, Resulting Numbers: [3672] 3672,67 unequal: No Solution Exploring Operation: 102-36=66, Resulting Numbers: [66] 66,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[60, 15, 63], Operations: ['27+36=63'] Exploring Operation: 60+15=75, Resulting Numbers: [63, 75] Generated Node #0,1,0: 67:[63, 75] Operation: 60+15=75 Exploring Operation: 15+63=78, Resulting Numbers: [60, 78] Generated Node #0,1,1: 67:[60, 78] Operation: 15+63=78 Exploring Operation: 60-15=45, Resulting Numbers: [63, 45] Generated Node #0,1,2: 67:[63, 45] Operation: 60-15=45 Moving to Node #0,1,0 Current State: 67:[63, 75], Operations: ['27+36=63', '60+15=75'] Exploring Operation: 63+75=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 63*75=4725, Resulting Numbers: [4725] 4725,67 unequal: No Solution Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[60, 78], Operations: ['27+36=63', '15+63=78'] Exploring Operation: 60+78=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 60*78=4680, Resulting Numbers: [4680] 4680,67 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[63, 45], Operations: ['27+36=63', '60-15=45'] Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 63*45=2835, Resulting Numbers: [2835] 2835,67 unequal: No Solution Exploring Operation: 63+45=108, Resulting Numbers: [108] 108,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[60, 27, 51], Operations: ['15+36=51'] Exploring Operation: 60-27=33, Resulting Numbers: [51, 33] Generated Node #0,2,0: 67:[51, 33] Operation: 60-27=33 Exploring Operation: 27+51=78, Resulting Numbers: [60, 78] Generated Node #0,2,1: 67:[60, 78] Operation: 27+51=78 Exploring Operation: 60+27=87, Resulting Numbers: [51, 87] Generated Node #0,2,2: 67:[51, 87] Operation: 60+27=87 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[60, 78], Operations: ['15+36=51', '27+51=78'] Exploring Operation: 60*78=4680, Resulting Numbers: [4680] 4680,67 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 60+78=138, Resulting Numbers: [138] 138,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[51, 87], Operations: ['15+36=51', '60+27=87'] Exploring Operation: 51*87=4437, Resulting Numbers: [4437] 4437,67 unequal: No Solution Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 51+87=138, Resulting Numbers: [138] 138,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[51, 33], Operations: ['15+36=51', '60-27=33'] Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 51*33=1683, Resulting Numbers: [1683] 1683,67 unequal: No Solution Exploring Operation: 51+33=84, Resulting Numbers: [84] 84,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 96, 23, 99, 92 ]
17
[ "96+23=119", "99-92=7", "119/7=17" ]
Current State: 17:[96, 23, 99, 92], Operations: [] Exploring Operation: 96+23=119, Resulting Numbers: [99, 92, 119] Generated Node #2: [99, 92, 119] from Operation: 96+23=119 Current State: 17:[99, 92, 119], Operations: ['96+23=119'] Exploring Operation: 99-92=7, Resulting Numbers: [119, 7] Generated Node #3: [119, 7] from Operation: 99-92=7 Current State: 17:[119, 7], Operations: ['96+23=119', '99-92=7'] Exploring Operation: 119/7=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[96, 23, 99, 92], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [23, 92, 3] Generated Node #0,0: 17:[23, 92, 3] Operation: 99-96=3 Exploring Operation: 96-92=4, Resulting Numbers: [23, 99, 4] Generated Node #0,1: 17:[23, 99, 4] Operation: 96-92=4 Exploring Operation: 92/23=4, Resulting Numbers: [96, 99, 4] Generated Node #0,2: 17:[96, 99, 4] Operation: 92/23=4 Exploring Operation: 99-92=7, Resulting Numbers: [96, 23, 7] Generated Node #0,3: 17:[96, 23, 7] Operation: 99-92=7 Exploring Operation: 96-23=73, Resulting Numbers: [99, 92, 73] Generated Node #0,4: 17:[99, 92, 73] Operation: 96-23=73 Moving to Node #0,0 Current State: 17:[23, 92, 3], Operations: ['99-96=3'] Exploring Operation: 92-3=89, Resulting Numbers: [23, 89] Generated Node #0,0,0: 17:[23, 89] Operation: 92-3=89 Exploring Operation: 92-23=69, Resulting Numbers: [3, 69] Generated Node #0,0,1: 17:[3, 69] Operation: 92-23=69 Exploring Operation: 23-3=20, Resulting Numbers: [92, 20] Generated Node #0,0,2: 17:[92, 20] Operation: 23-3=20 Exploring Operation: 92/23=4, Resulting Numbers: [3, 4] Generated Node #0,0,3: 17:[3, 4] Operation: 92/23=4 Exploring Operation: 23+3=26, Resulting Numbers: [92, 26] Generated Node #0,0,4: 17:[92, 26] Operation: 23+3=26 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[3, 4], Operations: ['99-96=3', '92/23=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[3, 69], Operations: ['99-96=3', '92-23=69'] Exploring Operation: 3*69=207, Resulting Numbers: [207] 207,17 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 3+69=72, Resulting Numbers: [72] 72,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[23, 89], Operations: ['99-96=3', '92-3=89'] Exploring Operation: 23*89=2047, Resulting Numbers: [2047] 2047,17 unequal: No Solution Exploring Operation: 23+89=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[92, 20], Operations: ['99-96=3', '23-3=20'] Exploring Operation: 92-20=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 92+20=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 92*20=1840, Resulting Numbers: [1840] 1840,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 17:[92, 26], Operations: ['99-96=3', '23+3=26'] Exploring Operation: 92*26=2392, Resulting Numbers: [2392] 2392,17 unequal: No Solution Exploring Operation: 92+26=118, Resulting Numbers: [118] 118,17 unequal: No Solution Exploring Operation: 92-26=66, Resulting Numbers: [66] 66,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 17:[96, 23, 7], Operations: ['99-92=7'] Exploring Operation: 23+7=30, Resulting Numbers: [96, 30] Generated Node #0,3,0: 17:[96, 30] Operation: 23+7=30 Exploring Operation: 23-7=16, Resulting Numbers: [96, 16] Generated Node #0,3,1: 17:[96, 16] Operation: 23-7=16 Exploring Operation: 96-23=73, Resulting Numbers: [7, 73] Generated Node #0,3,2: 17:[7, 73] Operation: 96-23=73 Exploring Operation: 96+7=103, Resulting Numbers: [23, 103] Generated Node #0,3,3: 17:[23, 103] Operation: 96+7=103 Exploring Operation: 96-7=89, Resulting Numbers: [23, 89] Generated Node #0,3,4: 17:[23, 89] Operation: 96-7=89 Moving to Node #0,1 Current State: 17:[23, 99, 4], Operations: ['96-92=4'] Exploring Operation: 99+4=103, Resulting Numbers: [23, 103] Generated Node #0,1,0: 17:[23, 103] Operation: 99+4=103 Exploring Operation: 99-23=76, Resulting Numbers: [4, 76] Generated Node #0,1,1: 17:[4, 76] Operation: 99-23=76 Exploring Operation: 23-4=19, Resulting Numbers: [99, 19] Generated Node #0,1,2: 17:[99, 19] Operation: 23-4=19 Exploring Operation: 99-4=95, Resulting Numbers: [23, 95] Generated Node #0,1,3: 17:[23, 95] Operation: 99-4=95 Exploring Operation: 23+4=27, Resulting Numbers: [99, 27] Generated Node #0,1,4: 17:[99, 27] Operation: 23+4=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[4, 76], Operations: ['96-92=4', '99-23=76'] Exploring Operation: 4*76=304, Resulting Numbers: [304] 304,17 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 4+76=80, Resulting Numbers: [80] 80,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[99, 19], Operations: ['96-92=4', '23-4=19'] Exploring Operation: 99+19=118, Resulting Numbers: [118] 118,17 unequal: No Solution Exploring Operation: 99*19=1881, Resulting Numbers: [1881] 1881,17 unequal: No Solution Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[23, 95], Operations: ['96-92=4', '99-4=95'] Exploring Operation: 95-23=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 23+95=118, Resulting Numbers: [118] 118,17 unequal: No Solution Exploring Operation: 23*95=2185, Resulting Numbers: [2185] 2185,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[23, 103], Operations: ['96-92=4', '99+4=103'] Exploring Operation: 23+103=126, Resulting Numbers: [126] 126,17 unequal: No Solution Exploring Operation: 103-23=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 23*103=2369, Resulting Numbers: [2369] 2369,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 17:[99, 27], Operations: ['96-92=4', '23+4=27'] Exploring Operation: 99*27=2673, Resulting Numbers: [2673] 2673,17 unequal: No Solution Exploring Operation: 99+27=126, Resulting Numbers: [126] 126,17 unequal: No Solution Exploring Operation: 99-27=72, Resulting Numbers: [72] 72,17 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: 17:[96, 99, 4], Operations: ['92/23=4'] Exploring Operation: 96/4=24, Resulting Numbers: [99, 24] Generated Node #0,2,0: 17:[99, 24] Operation: 96/4=24 Exploring Operation: 96+4=100, Resulting Numbers: [99, 100] Generated Node #0,2,1: 17:[99, 100] Operation: 96+4=100 Exploring Operation: 99-96=3, Resulting Numbers: [4, 3] Generated Node #0,2,2: 17:[4, 3] Operation: 99-96=3 Exploring Operation: 99-4=95, Resulting Numbers: [96, 95] Generated Node #0,2,3: 17:[96, 95] Operation: 99-4=95 Exploring Operation: 96-4=92, Resulting Numbers: [99, 92] Generated Node #0,2,4: 17:[99, 92] Operation: 96-4=92 Moving to Node #0,4 Current State: 17:[99, 92, 73], Operations: ['96-23=73'] Exploring Operation: 99+92=191, Resulting Numbers: [73, 191] Generated Node #0,4,0: 17:[73, 191] Operation: 99+92=191 Exploring Operation: 99+73=172, Resulting Numbers: [92, 172] Generated Node #0,4,1: 17:[92, 172] Operation: 99+73=172 Exploring Operation: 99-73=26, Resulting Numbers: [92, 26] Generated Node #0,4,2: 17:[92, 26] Operation: 99-73=26 Exploring Operation: 92-73=19, Resulting Numbers: [99, 19] Generated Node #0,4,3: 17:[99, 19] Operation: 92-73=19 Exploring Operation: 99-92=7, Resulting Numbers: [73, 7] Generated Node #0,4,4: 17:[73, 7] Operation: 99-92=7 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 17:[73, 7], Operations: ['96-23=73', '99-92=7'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 73*7=511, Resulting Numbers: [511] 511,17 unequal: No Solution Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 17:[92, 26], Operations: ['96-23=73', '99-73=26'] Exploring Operation: 92*26=2392, Resulting Numbers: [2392] 2392,17 unequal: No Solution Exploring Operation: 92-26=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 92+26=118, Resulting Numbers: [118] 118,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 17:[99, 19], Operations: ['96-23=73', '92-73=19'] Exploring Operation: 99*19=1881, Resulting Numbers: [1881] 1881,17 unequal: No Solution Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 99+19=118, Resulting Numbers: [118] 118,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 17:[73, 191], Operations: ['96-23=73', '99+92=191'] Exploring Operation: 73*191=13943, Resulting Numbers: [13943] 13943,17 unequal: No Solution Exploring Operation: 73+191=264, Resulting Numbers: [264] 264,17 unequal: No Solution Exploring Operation: 191-73=118, Resulting Numbers: [118] 118,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 17:[92, 172], Operations: ['96-23=73', '99+73=172'] Exploring Operation: 92*172=15824, Resulting Numbers: [15824] 15824,17 unequal: No Solution Exploring Operation: 172-92=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 92+172=264, Resulting Numbers: [264] 264,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 17:[4, 3], Operations: ['92/23=4', '99-96=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[7, 73], Operations: ['99-92=7', '96-23=73'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 7+73=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 7*73=511, Resulting Numbers: [511] 511,17 unequal: No Solution Moving to Node #0,3,4 Current State: 17:[23, 89], Operations: ['99-92=7', '96-7=89'] Exploring Operation: 23+89=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,17 unequal: No Solution Exploring Operation: 23*89=2047, Resulting Numbers: [2047] 2047,17 unequal: No Solution Moving to Node #0,3,1 Current State: 17:[96, 16], Operations: ['99-92=7', '23-7=16'] Exploring Operation: 96+16=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 96*16=1536, Resulting Numbers: [1536] 1536,17 unequal: No Solution Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 96/16=6, Resulting Numbers: [6] 6,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[99, 24], Operations: ['92/23=4', '96/4=24'] Exploring Operation: 99*24=2376, Resulting Numbers: [2376] 2376,17 unequal: No Solution Exploring Operation: 99+24=123, Resulting Numbers: [123] 123,17 unequal: No Solution Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[23, 103], Operations: ['99-92=7', '96+7=103'] Exploring Operation: 103-23=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 23*103=2369, Resulting Numbers: [2369] 2369,17 unequal: No Solution Exploring Operation: 23+103=126, Resulting Numbers: [126] 126,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[96, 30], Operations: ['99-92=7', '23+7=30'] Exploring Operation: 96*30=2880, Resulting Numbers: [2880] 2880,17 unequal: No Solution Exploring Operation: 96+30=126, Resulting Numbers: [126] 126,17 unequal: No Solution Exploring Operation: 96-30=66, Resulting Numbers: [66] 66,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[96, 95], Operations: ['92/23=4', '99-4=95'] Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 96+95=191, Resulting Numbers: [191] 191,17 unequal: No Solution Exploring Operation: 96*95=9120, Resulting Numbers: [9120] 9120,17 unequal: No Solution Moving to Node #0,2,4 Current State: 17:[99, 92], Operations: ['92/23=4', '96-4=92'] Exploring Operation: 99-92=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 99*92=9108, Resulting Numbers: [9108] 9108,17 unequal: No Solution Exploring Operation: 99+92=191, Resulting Numbers: [191] 191,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[99, 100], Operations: ['92/23=4', '96+4=100'] Exploring Operation: 99+100=199, Resulting Numbers: [199] 199,17 unequal: No Solution Exploring Operation: 100-99=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 99*100=9900, Resulting Numbers: [9900] 9900,17 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 97, 5, 67, 41 ]
55
[ "97-67=30", "41-30=11", "5*11=55" ]
Current State: 55:[97, 5, 67, 41], Operations: [] Exploring Operation: 97-67=30, Resulting Numbers: [5, 41, 30] Generated Node #2: [5, 41, 30] from Operation: 97-67=30 Current State: 55:[5, 41, 30], Operations: ['97-67=30'] Exploring Operation: 41-30=11, Resulting Numbers: [5, 11] Generated Node #3: [5, 11] from Operation: 41-30=11 Current State: 55:[5, 11], Operations: ['97-67=30', '41-30=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[97, 5, 67, 41], Operations: [] Exploring Operation: 97-41=56, Resulting Numbers: [5, 67, 56] Generated Node #0,0: 55:[5, 67, 56] Operation: 97-41=56 Moving to Node #0,0 Current State: 55:[5, 67, 56], Operations: ['97-41=56'] Exploring Operation: 67-56=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 55:[5, 11] Operation: 67-56=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[5, 11], Operations: ['97-41=56', '67-56=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[97, 5, 67, 41], Operations: [] Exploring Operation: 97-41=56, Resulting Numbers: [5, 67, 56] Generated Node #0,0: 55:[5, 67, 56] Operation: 97-41=56 Moving to Node #0,0 Current State: 55:[5, 67, 56], Operations: ['97-41=56'] Exploring Operation: 67-56=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 55:[5, 11] Operation: 67-56=11 Moving to Node #0,0,0 Current State: 55:[5, 11], Operations: ['97-41=56', '67-56=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 56, 36, 22, 48 ]
15
[ "36*22=792", "48+792=840", "840/56=15" ]
Current State: 15:[56, 36, 22, 48], Operations: [] Exploring Operation: 36*22=792, Resulting Numbers: [56, 48, 792] Generated Node #2: [56, 48, 792] from Operation: 36*22=792 Current State: 15:[56, 48, 792], Operations: ['36*22=792'] Exploring Operation: 48+792=840, Resulting Numbers: [56, 840] Generated Node #3: [56, 840] from Operation: 48+792=840 Current State: 15:[56, 840], Operations: ['36*22=792', '48+792=840'] Exploring Operation: 840/56=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[56, 36, 22, 48], Operations: [] Exploring Operation: 56-48=8, Resulting Numbers: [36, 22, 8] Generated Node #0,0: 15:[36, 22, 8] Operation: 56-48=8 Moving to Node #0,0 Current State: 15:[36, 22, 8], Operations: ['56-48=8'] Exploring Operation: 36-22=14, Resulting Numbers: [8, 14] Generated Node #0,0,0: 15:[8, 14] Operation: 36-22=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[8, 14], Operations: ['56-48=8', '36-22=14'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 8, 30, 98, 3 ]
19
[ "30+98=128", "128/8=16", "3+16=19" ]
Current State: 19:[8, 30, 98, 3], Operations: [] Exploring Operation: 30+98=128, Resulting Numbers: [8, 3, 128] Generated Node #2: [8, 3, 128] from Operation: 30+98=128 Current State: 19:[8, 3, 128], Operations: ['30+98=128'] Exploring Operation: 128/8=16, Resulting Numbers: [3, 16] Generated Node #3: [3, 16] from Operation: 128/8=16 Current State: 19:[3, 16], Operations: ['30+98=128', '128/8=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[8, 30, 98, 3], Operations: [] Exploring Operation: 8*3=24, Resulting Numbers: [30, 98, 24] Generated Node #0,0: 19:[30, 98, 24] Operation: 8*3=24 Exploring Operation: 98-30=68, Resulting Numbers: [8, 3, 68] Generated Node #0,1: 19:[8, 3, 68] Operation: 98-30=68 Exploring Operation: 30-8=22, Resulting Numbers: [98, 3, 22] Generated Node #0,2: 19:[98, 3, 22] Operation: 30-8=22 Exploring Operation: 98-8=90, Resulting Numbers: [30, 3, 90] Generated Node #0,3: 19:[30, 3, 90] Operation: 98-8=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[8, 3, 68], Operations: ['98-30=68'] Exploring Operation: 8*3=24, Resulting Numbers: [68, 24] Generated Node #0,1,0: 19:[68, 24] Operation: 8*3=24 Exploring Operation: 68-3=65, Resulting Numbers: [8, 65] Generated Node #0,1,1: 19:[8, 65] Operation: 68-3=65 Exploring Operation: 8+3=11, Resulting Numbers: [68, 11] Generated Node #0,1,2: 19:[68, 11] Operation: 8+3=11 Exploring Operation: 68-8=60, Resulting Numbers: [3, 60] Generated Node #0,1,3: 19:[3, 60] Operation: 68-8=60 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[68, 24], Operations: ['98-30=68', '8*3=24'] Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 68*24=1632, Resulting Numbers: [1632] 1632,19 unequal: No Solution Exploring Operation: 68+24=92, Resulting Numbers: [92] 92,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[8, 65], Operations: ['98-30=68', '68-3=65'] Exploring Operation: 8*65=520, Resulting Numbers: [520] 520,19 unequal: No Solution Exploring Operation: 8+65=73, Resulting Numbers: [73] 73,19 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[68, 11], Operations: ['98-30=68', '8+3=11'] Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,19 unequal: No Solution Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,19 unequal: No Solution Exploring Operation: 68*11=748, Resulting Numbers: [748] 748,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 19:[3, 60], Operations: ['98-30=68', '68-8=60'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,19 unequal: No Solution Exploring Operation: 3*60=180, Resulting Numbers: [180] 180,19 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[30, 98, 24], Operations: ['8*3=24'] Exploring Operation: 30+98=128, Resulting Numbers: [24, 128] Generated Node #0,0,0: 19:[24, 128] Operation: 30+98=128 Exploring Operation: 98-24=74, Resulting Numbers: [30, 74] Generated Node #0,0,1: 19:[30, 74] Operation: 98-24=74 Exploring Operation: 30-24=6, Resulting Numbers: [98, 6] Generated Node #0,0,2: 19:[98, 6] Operation: 30-24=6 Exploring Operation: 98-30=68, Resulting Numbers: [24, 68] Generated Node #0,0,3: 19:[24, 68] Operation: 98-30=68 Moving to Node #0,0,3 Current State: 19:[24, 68], Operations: ['8*3=24', '98-30=68'] Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 24*68=1632, Resulting Numbers: [1632] 1632,19 unequal: No Solution Exploring Operation: 24+68=92, Resulting Numbers: [92] 92,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[30, 74], Operations: ['8*3=24', '98-24=74'] Exploring Operation: 30*74=2220, Resulting Numbers: [2220] 2220,19 unequal: No Solution Exploring Operation: 30+74=104, Resulting Numbers: [104] 104,19 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[98, 6], Operations: ['8*3=24', '30-24=6'] Exploring Operation: 98*6=588, Resulting Numbers: [588] 588,19 unequal: No Solution Exploring Operation: 98-6=92, Resulting Numbers: [92] 92,19 unequal: No Solution Exploring Operation: 98+6=104, Resulting Numbers: [104] 104,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[24, 128], Operations: ['8*3=24', '30+98=128'] Exploring Operation: 24+128=152, Resulting Numbers: [152] 152,19 unequal: No Solution Exploring Operation: 24*128=3072, Resulting Numbers: [3072] 3072,19 unequal: No Solution Exploring Operation: 128-24=104, Resulting Numbers: [104] 104,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[98, 3, 22], Operations: ['30-8=22'] Exploring Operation: 98-3=95, Resulting Numbers: [22, 95] Generated Node #0,2,0: 19:[22, 95] Operation: 98-3=95 Exploring Operation: 98+3=101, Resulting Numbers: [22, 101] Generated Node #0,2,1: 19:[22, 101] Operation: 98+3=101 Exploring Operation: 22-3=19, Resulting Numbers: [98, 19] Generated Node #0,2,2: 19:[98, 19] Operation: 22-3=19 Exploring Operation: 98-22=76, Resulting Numbers: [3, 76] Generated Node #0,2,3: 19:[3, 76] Operation: 98-22=76 Moving to Node #0,2,3 Current State: 19:[3, 76], Operations: ['30-8=22', '98-22=76'] Exploring Operation: 3+76=79, Resulting Numbers: [79] 79,19 unequal: No Solution Exploring Operation: 3*76=228, Resulting Numbers: [228] 228,19 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[98, 19], Operations: ['30-8=22', '22-3=19'] Exploring Operation: 98+19=117, Resulting Numbers: [117] 117,19 unequal: No Solution Exploring Operation: 98*19=1862, Resulting Numbers: [1862] 1862,19 unequal: No Solution Exploring Operation: 98-19=79, Resulting Numbers: [79] 79,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[22, 95], Operations: ['30-8=22', '98-3=95'] Exploring Operation: 95-22=73, Resulting Numbers: [73] 73,19 unequal: No Solution Exploring Operation: 22+95=117, Resulting Numbers: [117] 117,19 unequal: No Solution Exploring Operation: 22*95=2090, Resulting Numbers: [2090] 2090,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[22, 101], Operations: ['30-8=22', '98+3=101'] Exploring Operation: 101-22=79, Resulting Numbers: [79] 79,19 unequal: No Solution Exploring Operation: 22+101=123, Resulting Numbers: [123] 123,19 unequal: No Solution Exploring Operation: 22*101=2222, Resulting Numbers: [2222] 2222,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[30, 3, 90], Operations: ['98-8=90'] Exploring Operation: 90/3=30, Resulting Numbers: [30, 30] Generated Node #0,3,0: 19:[30, 30] Operation: 90/3=30 Exploring Operation: 90-30=60, Resulting Numbers: [3, 60] Generated Node #0,3,1: 19:[3, 60] Operation: 90-30=60 Exploring Operation: 90/30=3, Resulting Numbers: [3, 3] Generated Node #0,3,2: 19:[3, 3] Operation: 90/30=3 Exploring Operation: 30-3=27, Resulting Numbers: [90, 27] Generated Node #0,3,3: 19:[90, 27] Operation: 30-3=27 Moving to Node #0,3,0 Current State: 19:[30, 30], Operations: ['98-8=90', '90/3=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,19 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[3, 3], Operations: ['98-8=90', '90/30=3'] Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[3, 60], Operations: ['98-8=90', '90-30=60'] Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,19 unequal: No Solution Exploring Operation: 3*60=180, Resulting Numbers: [180] 180,19 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[90, 27], Operations: ['98-8=90', '30-3=27'] Exploring Operation: 90+27=117, Resulting Numbers: [117] 117,19 unequal: No Solution Exploring Operation: 90*27=2430, Resulting Numbers: [2430] 2430,19 unequal: No Solution Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 78, 82, 57, 54 ]
49
[ "78+82=160", "57+54=111", "160-111=49" ]
Current State: 49:[78, 82, 57, 54], Operations: [] Exploring Operation: 78+82=160, Resulting Numbers: [57, 54, 160] Generated Node #2: [57, 54, 160] from Operation: 78+82=160 Current State: 49:[57, 54, 160], Operations: ['78+82=160'] Exploring Operation: 57+54=111, Resulting Numbers: [160, 111] Generated Node #3: [160, 111] from Operation: 57+54=111 Current State: 49:[160, 111], Operations: ['78+82=160', '57+54=111'] Exploring Operation: 160-111=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[78, 82, 57, 54], Operations: [] Exploring Operation: 78-54=24, Resulting Numbers: [82, 57, 24] Generated Node #0,0: 49:[82, 57, 24] Operation: 78-54=24 Exploring Operation: 78-57=21, Resulting Numbers: [82, 54, 21] Generated Node #0,1: 49:[82, 54, 21] Operation: 78-57=21 Exploring Operation: 82-78=4, Resulting Numbers: [57, 54, 4] Generated Node #0,2: 49:[57, 54, 4] Operation: 82-78=4 Exploring Operation: 82-57=25, Resulting Numbers: [78, 54, 25] Generated Node #0,3: 49:[78, 54, 25] Operation: 82-57=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[57, 54, 4], Operations: ['82-78=4'] Exploring Operation: 54-4=50, Resulting Numbers: [57, 50] Generated Node #0,2,0: 49:[57, 50] Operation: 54-4=50 Exploring Operation: 57+4=61, Resulting Numbers: [54, 61] Generated Node #0,2,1: 49:[54, 61] Operation: 57+4=61 Exploring Operation: 57-54=3, Resulting Numbers: [4, 3] Generated Node #0,2,2: 49:[4, 3] Operation: 57-54=3 Exploring Operation: 57-4=53, Resulting Numbers: [54, 53] Generated Node #0,2,3: 49:[54, 53] Operation: 57-4=53 Moving to Node #0,2,2 Current State: 49:[4, 3], Operations: ['82-78=4', '57-54=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,49 unequal: No Solution Moving to Node #0,2,3 Current State: 49:[54, 53], Operations: ['82-78=4', '57-4=53'] Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,49 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[57, 50], Operations: ['82-78=4', '54-4=50'] Exploring Operation: 57*50=2850, Resulting Numbers: [2850] 2850,49 unequal: No Solution Exploring Operation: 57+50=107, Resulting Numbers: [107] 107,49 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[54, 61], Operations: ['82-78=4', '57+4=61'] Exploring Operation: 54*61=3294, Resulting Numbers: [3294] 3294,49 unequal: No Solution Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 54+61=115, Resulting Numbers: [115] 115,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,1 Current State: 49:[82, 54, 21], Operations: ['78-57=21'] Exploring Operation: 82-54=28, Resulting Numbers: [21, 28] Generated Node #0,1,0: 49:[21, 28] Operation: 82-54=28 Exploring Operation: 82-21=61, Resulting Numbers: [54, 61] Generated Node #0,1,1: 49:[54, 61] Operation: 82-21=61 Exploring Operation: 54-21=33, Resulting Numbers: [82, 33] Generated Node #0,1,2: 49:[82, 33] Operation: 54-21=33 Exploring Operation: 82+21=103, Resulting Numbers: [54, 103] Generated Node #0,1,3: 49:[54, 103] Operation: 82+21=103 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[54, 61], Operations: ['78-57=21', '82-21=61'] Exploring Operation: 54+61=115, Resulting Numbers: [115] 115,49 unequal: No Solution Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 54*61=3294, Resulting Numbers: [3294] 3294,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:[21, 28], Operations: ['78-57=21', '82-54=28'] Exploring Operation: 21+28=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[78, 82, 57, 54], Operations: [] Exploring Operation: 78-57=21, Resulting Numbers: [82, 54, 21] Generated Node #0,1: 49:[82, 54, 21] Operation: 78-57=21 Moving to Node #0,1 Current State: 49:[82, 54, 21], Operations: ['78-57=21'] Exploring Operation: 82-54=28, Resulting Numbers: [21, 28] Generated Node #0,1,0: 49:[21, 28] Operation: 82-54=28 Moving to Node #0,1,0 Current State: 49:[21, 28], Operations: ['78-57=21', '82-54=28'] Exploring Operation: 21+28=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 70, 23, 18, 3 ]
32
[ "70-23=47", "18-3=15", "47-15=32" ]
Current State: 32:[70, 23, 18, 3], Operations: [] Exploring Operation: 70-23=47, Resulting Numbers: [18, 3, 47] Generated Node #2: [18, 3, 47] from Operation: 70-23=47 Current State: 32:[18, 3, 47], Operations: ['70-23=47'] Exploring Operation: 18-3=15, Resulting Numbers: [47, 15] Generated Node #3: [47, 15] from Operation: 18-3=15 Current State: 32:[47, 15], Operations: ['70-23=47', '18-3=15'] Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[70, 23, 18, 3], Operations: [] Exploring Operation: 70-23=47, Resulting Numbers: [18, 3, 47] Generated Node #0,0: 32:[18, 3, 47] Operation: 70-23=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[18, 3, 47], Operations: ['70-23=47'] Exploring Operation: 47-18=29, Resulting Numbers: [3, 29] Generated Node #0,0,0: 32:[3, 29] Operation: 47-18=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[3, 29], Operations: ['70-23=47', '47-18=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[70, 23, 18, 3], Operations: [] Exploring Operation: 70-23=47, Resulting Numbers: [18, 3, 47] Generated Node #0,0: 32:[18, 3, 47] Operation: 70-23=47 Moving to Node #0,0 Current State: 32:[18, 3, 47], Operations: ['70-23=47'] Exploring Operation: 47-18=29, Resulting Numbers: [3, 29] Generated Node #0,0,0: 32:[3, 29] Operation: 47-18=29 Moving to Node #0,0,0 Current State: 32:[3, 29], Operations: ['70-23=47', '47-18=29'] Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 53, 62, 62, 37 ]
89
[ "53+37=90", "62/62=1", "90-1=89" ]
Current State: 89:[53, 62, 62, 37], Operations: [] Exploring Operation: 53+37=90, Resulting Numbers: [62, 62, 90] Generated Node #2: [62, 62, 90] from Operation: 53+37=90 Current State: 89:[62, 62, 90], Operations: ['53+37=90'] Exploring Operation: 62/62=1, Resulting Numbers: [90, 1] Generated Node #3: [90, 1] from Operation: 62/62=1 Current State: 89:[90, 1], Operations: ['53+37=90', '62/62=1'] Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[53, 62, 62, 37], Operations: [] Exploring Operation: 53+37=90, Resulting Numbers: [62, 62, 90] Generated Node #0,0: 89:[62, 62, 90] Operation: 53+37=90 Exploring Operation: 62+37=99, Resulting Numbers: [53, 62, 99] Generated Node #0,1: 89:[53, 62, 99] Operation: 62+37=99 Exploring Operation: 62+37=99, Resulting Numbers: [53, 62, 99] Generated Node #0,2: 89:[53, 62, 99] Operation: 62+37=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[62, 62, 90], Operations: ['53+37=90'] Exploring Operation: 90-62=28, Resulting Numbers: [62, 28] Generated Node #0,0,0: 89:[62, 28] Operation: 90-62=28 Exploring Operation: 62+62=124, Resulting Numbers: [90, 124] Generated Node #0,0,1: 89:[90, 124] Operation: 62+62=124 Exploring Operation: 90-62=28, Resulting Numbers: [62, 28] Generated Node #0,0,2: 89:[62, 28] Operation: 90-62=28 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[90, 124], Operations: ['53+37=90', '62+62=124'] Exploring Operation: 124-90=34, Resulting Numbers: [34] 34,89 unequal: No Solution Exploring Operation: 90+124=214, Resulting Numbers: [214] 214,89 unequal: No Solution Exploring Operation: 90*124=11160, Resulting Numbers: [11160] 11160,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:[62, 28], Operations: ['53+37=90', '90-62=28'] Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,89 unequal: No Solution Exploring Operation: 62*28=1736, Resulting Numbers: [1736] 1736,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,2 Current State: 89:[62, 28], Operations: ['53+37=90', '90-62=28'] Exploring Operation: 62*28=1736, Resulting Numbers: [1736] 1736,89 unequal: No Solution Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[53, 62, 99], Operations: ['62+37=99'] Exploring Operation: 99-53=46, Resulting Numbers: [62, 46] Generated Node #0,1,0: 89:[62, 46] Operation: 99-53=46 Exploring Operation: 53+62=115, Resulting Numbers: [99, 115] Generated Node #0,1,1: 89:[99, 115] Operation: 53+62=115 Exploring Operation: 99-62=37, Resulting Numbers: [53, 37] Generated Node #0,1,2: 89:[53, 37] Operation: 99-62=37 Moving to Node #0,1,1 Current State: 89:[99, 115], Operations: ['62+37=99', '53+62=115'] Exploring Operation: 115-99=16, Resulting Numbers: [16] 16,89 unequal: No Solution Exploring Operation: 99+115=214, Resulting Numbers: [214] 214,89 unequal: No Solution Exploring Operation: 99*115=11385, Resulting Numbers: [11385] 11385,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[62, 46], Operations: ['62+37=99', '99-53=46'] Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,89 unequal: No Solution Exploring Operation: 62+46=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 62*46=2852, Resulting Numbers: [2852] 2852,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[53, 37], Operations: ['62+37=99', '99-62=37'] Exploring Operation: 53*37=1961, Resulting Numbers: [1961] 1961,89 unequal: No Solution Exploring Operation: 53+37=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[53, 62, 99], Operations: ['62+37=99'] Exploring Operation: 99-53=46, Resulting Numbers: [62, 46] Generated Node #0,2,0: 89:[62, 46] Operation: 99-53=46 Exploring Operation: 99-62=37, Resulting Numbers: [53, 37] Generated Node #0,2,1: 89:[53, 37] Operation: 99-62=37 Exploring Operation: 53+62=115, Resulting Numbers: [99, 115] Generated Node #0,2,2: 89:[99, 115] Operation: 53+62=115 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[99, 115], Operations: ['62+37=99', '53+62=115'] Exploring Operation: 99+115=214, Resulting Numbers: [214] 214,89 unequal: No Solution Exploring Operation: 99*115=11385, Resulting Numbers: [11385] 11385,89 unequal: No Solution Exploring Operation: 115-99=16, Resulting Numbers: [16] 16,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,2,0 Current State: 89:[62, 46], Operations: ['62+37=99', '99-53=46'] Exploring Operation: 62*46=2852, Resulting Numbers: [2852] 2852,89 unequal: No Solution Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,89 unequal: No Solution Exploring Operation: 62+46=108, Resulting Numbers: [108] 108,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,2,1 Current State: 89:[53, 37], Operations: ['62+37=99', '99-62=37'] Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,89 unequal: No Solution Exploring Operation: 53*37=1961, Resulting Numbers: [1961] 1961,89 unequal: No Solution Exploring Operation: 53+37=90, Resulting Numbers: [90] 90,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 43, 1, 86, 65 ]
66
[ "86/43=2", "65-1=64", "2+64=66" ]
Current State: 66:[43, 1, 86, 65], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [1, 65, 2] Generated Node #2: [1, 65, 2] from Operation: 86/43=2 Current State: 66:[1, 65, 2], Operations: ['86/43=2'] Exploring Operation: 65-1=64, Resulting Numbers: [2, 64] Generated Node #3: [2, 64] from Operation: 65-1=64 Current State: 66:[2, 64], Operations: ['86/43=2', '65-1=64'] Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[43, 1, 86, 65], Operations: [] Exploring Operation: 86-65=21, Resulting Numbers: [43, 1, 21] Generated Node #0,0: 66:[43, 1, 21] Operation: 86-65=21 Exploring Operation: 86/43=2, Resulting Numbers: [1, 65, 2] Generated Node #0,1: 66:[1, 65, 2] Operation: 86/43=2 Exploring Operation: 86-43=43, Resulting Numbers: [1, 65, 43] Generated Node #0,2: 66:[1, 65, 43] Operation: 86-43=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[1, 65, 2], Operations: ['86/43=2'] Exploring Operation: 65/1=65, Resulting Numbers: [2, 65] Generated Node #0,1,0: 66:[2, 65] Operation: 65/1=65 Exploring Operation: 1*65=65, Resulting Numbers: [2, 65] Generated Node #0,1,1: 66:[2, 65] Operation: 1*65=65 Exploring Operation: 1+65=66, Resulting Numbers: [2, 66] Generated Node #0,1,2: 66:[2, 66] Operation: 1+65=66 Moving to Node #0,1,2 Current State: 66:[2, 66], Operations: ['86/43=2', '1+65=66'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,66 unequal: No Solution Exploring Operation: 2+66=68, Resulting Numbers: [68] 68,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[2, 65], Operations: ['86/43=2', '65/1=65'] Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,66 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[2, 65], Operations: ['86/43=2', '1*65=65'] Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,66 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,66 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,66 unequal: No Solution No 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: 66:[43, 1, 21], Operations: ['86-65=21'] Exploring Operation: 43-21=22, Resulting Numbers: [1, 22] Generated Node #0,0,0: 66:[1, 22] Operation: 43-21=22 Exploring Operation: 43+21=64, Resulting Numbers: [1, 64] Generated Node #0,0,1: 66:[1, 64] Operation: 43+21=64 Exploring Operation: 43-1=42, Resulting Numbers: [21, 42] Generated Node #0,0,2: 66:[21, 42] Operation: 43-1=42 Moving to Node #0,0,0 Current State: 66:[1, 22], Operations: ['86-65=21', '43-21=22'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[1, 64], Operations: ['86-65=21', '43+21=64'] Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,66 unequal: No Solution Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 1*64=64, Resulting Numbers: [64] 64,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[21, 42], Operations: ['86-65=21', '43-1=42'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,66 unequal: No Solution Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,66 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,66 unequal: No Solution No 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: 66:[1, 65, 43], Operations: ['86-43=43'] Exploring Operation: 1+65=66, Resulting Numbers: [43, 66] Generated Node #0,2,0: 66:[43, 66] Operation: 1+65=66 Exploring Operation: 65-43=22, Resulting Numbers: [1, 22] Generated Node #0,2,1: 66:[1, 22] Operation: 65-43=22 Exploring Operation: 43-1=42, Resulting Numbers: [65, 42] Generated Node #0,2,2: 66:[65, 42] Operation: 43-1=42 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 66:[1, 22], Operations: ['86-43=43', '65-43=22'] Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,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,2,0 Current State: 66:[43, 66], Operations: ['86-43=43', '1+65=66'] Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,66 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,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,2,2 Current State: 66:[65, 42], Operations: ['86-43=43', '43-1=42'] Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,66 unequal: No Solution Exploring Operation: 65*42=2730, Resulting Numbers: [2730] 2730,66 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,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 No solution found.
0
hs_3
sum_heuristic
[ 7, 5, 13, 5 ]
73
[ "7+5=12", "5*12=60", "13+60=73" ]
Current State: 73:[7, 5, 13, 5], Operations: [] Exploring Operation: 7+5=12, Resulting Numbers: [13, 12] Generated Node #2: [13, 12] from Operation: 7+5=12 Current State: 73:[13, 12], Operations: ['7+5=12'] Exploring Operation: 5*12=60, Resulting Numbers: [13, 60] Generated Node #3: [13, 60] from Operation: 5*12=60 Current State: 73:[13, 60], Operations: ['7+5=12', '5*12=60'] Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[7, 5, 13, 5], Operations: [] Exploring Operation: 5*13=65, Resulting Numbers: [7, 5, 65] Generated Node #0,0: 73:[7, 5, 65] Operation: 5*13=65 Exploring Operation: 7*13=91, Resulting Numbers: [5, 5, 91] Generated Node #0,1: 73:[5, 5, 91] Operation: 7*13=91 Exploring Operation: 7*5=35, Resulting Numbers: [13, 5, 35] Generated Node #0,2: 73:[13, 5, 35] Operation: 7*5=35 Exploring Operation: 13*5=65, Resulting Numbers: [7, 5, 65] Generated Node #0,3: 73:[7, 5, 65] Operation: 13*5=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[7, 5, 65], Operations: ['5*13=65'] Exploring Operation: 7+5=12, Resulting Numbers: [65, 12] Generated Node #0,0,0: 73:[65, 12] Operation: 7+5=12 Exploring Operation: 7*5=35, Resulting Numbers: [65, 35] Generated Node #0,0,1: 73:[65, 35] Operation: 7*5=35 Exploring Operation: 5+65=70, Resulting Numbers: [7, 70] Generated Node #0,0,2: 73:[7, 70] Operation: 5+65=70 Exploring Operation: 7+65=72, Resulting Numbers: [5, 72] Generated Node #0,0,3: 73:[5, 72] Operation: 7+65=72 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[65, 35], Operations: ['5*13=65', '7*5=35'] Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,73 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,73 unequal: No Solution Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[65, 12], Operations: ['5*13=65', '7+5=12'] Exploring Operation: 65*12=780, Resulting Numbers: [780] 780,73 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[7, 70], Operations: ['5*13=65', '5+65=70'] Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 7*70=490, Resulting Numbers: [490] 490,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 73:[5, 72], Operations: ['5*13=65', '7+65=72'] Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 5*72=360, Resulting Numbers: [360] 360,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[7, 5, 65], Operations: ['13*5=65'] Exploring Operation: 7+65=72, Resulting Numbers: [5, 72] Generated Node #0,3,0: 73:[5, 72] Operation: 7+65=72 Exploring Operation: 7+5=12, Resulting Numbers: [65, 12] Generated Node #0,3,1: 73:[65, 12] Operation: 7+5=12 Exploring Operation: 7*5=35, Resulting Numbers: [65, 35] Generated Node #0,3,2: 73:[65, 35] Operation: 7*5=35 Exploring Operation: 5+65=70, Resulting Numbers: [7, 70] Generated Node #0,3,3: 73:[7, 70] Operation: 5+65=70 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 73:[65, 35], Operations: ['13*5=65', '7*5=35'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,73 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,73 unequal: No Solution Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 73:[5, 72], Operations: ['13*5=65', '7+65=72'] Exploring Operation: 5*72=360, Resulting Numbers: [360] 360,73 unequal: No Solution Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 73:[65, 12], Operations: ['13*5=65', '7+5=12'] Exploring Operation: 65*12=780, Resulting Numbers: [780] 780,73 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 73:[7, 70], Operations: ['13*5=65', '5+65=70'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 7*70=490, Resulting Numbers: [490] 490,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[5, 5, 91], Operations: ['7*13=91'] Exploring Operation: 91-5=86, Resulting Numbers: [5, 86] Generated Node #0,1,0: 73:[5, 86] Operation: 91-5=86 Exploring Operation: 5+5=10, Resulting Numbers: [91, 10] Generated Node #0,1,1: 73:[91, 10] Operation: 5+5=10 Exploring Operation: 91-5=86, Resulting Numbers: [5, 86] Generated Node #0,1,2: 73:[5, 86] Operation: 91-5=86 Exploring Operation: 5*5=25, Resulting Numbers: [91, 25] Generated Node #0,1,3: 73:[91, 25] Operation: 5*5=25 Moving to Node #0,1,3 Current State: 73:[91, 25], Operations: ['7*13=91', '5*5=25'] Exploring Operation: 91+25=116, Resulting Numbers: [116] 116,73 unequal: No Solution Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,73 unequal: No Solution Exploring Operation: 91*25=2275, Resulting Numbers: [2275] 2275,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[91, 10], Operations: ['7*13=91', '5+5=10'] Exploring Operation: 91+10=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 91*10=910, Resulting Numbers: [910] 910,73 unequal: No Solution Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[5, 86], Operations: ['7*13=91', '91-5=86'] Exploring Operation: 5*86=430, Resulting Numbers: [430] 430,73 unequal: No Solution Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,73 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[5, 86], Operations: ['7*13=91', '91-5=86'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,73 unequal: No Solution Exploring Operation: 5*86=430, Resulting Numbers: [430] 430,73 unequal: No Solution Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[13, 5, 35], Operations: ['7*5=35'] Exploring Operation: 13+35=48, Resulting Numbers: [5, 48] Generated Node #0,2,0: 73:[5, 48] Operation: 13+35=48 Exploring Operation: 13+5=18, Resulting Numbers: [35, 18] Generated Node #0,2,1: 73:[35, 18] Operation: 13+5=18 Exploring Operation: 13*5=65, Resulting Numbers: [35, 65] Generated Node #0,2,2: 73:[35, 65] Operation: 13*5=65 Exploring Operation: 5+35=40, Resulting Numbers: [13, 40] Generated Node #0,2,3: 73:[13, 40] Operation: 5+35=40 Moving to Node #0,2,2 Current State: 73:[35, 65], Operations: ['7*5=35', '13*5=65'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,73 unequal: No Solution Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 35*65=2275, Resulting Numbers: [2275] 2275,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[35, 18], Operations: ['7*5=35', '13+5=18'] Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,73 unequal: No Solution Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[5, 48], Operations: ['7*5=35', '13+35=48'] Exploring Operation: 5*48=240, Resulting Numbers: [240] 240,73 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 5+48=53, Resulting Numbers: [53] 53,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[13, 40], Operations: ['7*5=35', '5+35=40'] Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 13+40=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 13*40=520, Resulting Numbers: [520] 520,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 87, 58, 18, 81 ]
82
[ "87+58=145", "81-18=63", "145-63=82" ]
Current State: 82:[87, 58, 18, 81], Operations: [] Exploring Operation: 87+58=145, Resulting Numbers: [18, 81, 145] Generated Node #2: [18, 81, 145] from Operation: 87+58=145 Current State: 82:[18, 81, 145], Operations: ['87+58=145'] Exploring Operation: 81-18=63, Resulting Numbers: [145, 63] Generated Node #3: [145, 63] from Operation: 81-18=63 Current State: 82:[145, 63], Operations: ['87+58=145', '81-18=63'] Exploring Operation: 145-63=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[87, 58, 18, 81], Operations: [] Exploring Operation: 58-18=40, Resulting Numbers: [87, 81, 40] Generated Node #0,0: 82:[87, 81, 40] Operation: 58-18=40 Moving to Node #0,0 Current State: 82:[87, 81, 40], Operations: ['58-18=40'] Exploring Operation: 87-81=6, Resulting Numbers: [40, 6] Generated Node #0,0,0: 82:[40, 6] Operation: 87-81=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[40, 6], Operations: ['58-18=40', '87-81=6'] Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 66, 76, 98, 19 ]
16
[ "98-76=22", "66/22=3", "19-3=16" ]
Current State: 16:[66, 76, 98, 19], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [66, 19, 22] Generated Node #2: [66, 19, 22] from Operation: 98-76=22 Current State: 16:[66, 19, 22], Operations: ['98-76=22'] Exploring Operation: 66/22=3, Resulting Numbers: [19, 3] Generated Node #3: [19, 3] from Operation: 66/22=3 Current State: 16:[19, 3], Operations: ['98-76=22', '66/22=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[66, 76, 98, 19], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [66, 19, 22] Generated Node #0,0: 16:[66, 19, 22] Operation: 98-76=22 Exploring Operation: 76-66=10, Resulting Numbers: [98, 19, 10] Generated Node #0,1: 16:[98, 19, 10] Operation: 76-66=10 Exploring Operation: 98-66=32, Resulting Numbers: [76, 19, 32] Generated Node #0,2: 16:[76, 19, 32] Operation: 98-66=32 Moving to Node #0,0 Current State: 16:[66, 19, 22], Operations: ['98-76=22'] Exploring Operation: 66/22=3, Resulting Numbers: [19, 3] Generated Node #0,0,0: 16:[19, 3] Operation: 66/22=3 Exploring Operation: 66-22=44, Resulting Numbers: [19, 44] Generated Node #0,0,1: 16:[19, 44] Operation: 66-22=44 Exploring Operation: 66-19=47, Resulting Numbers: [22, 47] Generated Node #0,0,2: 16:[22, 47] Operation: 66-19=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[19, 3], Operations: ['98-76=22', '66/22=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[66, 76, 98, 19], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [66, 19, 22] Generated Node #0,0: 16:[66, 19, 22] Operation: 98-76=22 Moving to Node #0,0 Current State: 16:[66, 19, 22], Operations: ['98-76=22'] Exploring Operation: 66/22=3, Resulting Numbers: [19, 3] Generated Node #0,0,0: 16:[19, 3] Operation: 66/22=3 Moving to Node #0,0,0 Current State: 16:[19, 3], Operations: ['98-76=22', '66/22=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 74, 58, 2, 78 ]
84
[ "78-58=20", "20/2=10", "74+10=84" ]
Current State: 84:[74, 58, 2, 78], Operations: [] Exploring Operation: 78-58=20, Resulting Numbers: [74, 2, 20] Generated Node #2: [74, 2, 20] from Operation: 78-58=20 Current State: 84:[74, 2, 20], Operations: ['78-58=20'] Exploring Operation: 20/2=10, Resulting Numbers: [74, 10] Generated Node #3: [74, 10] from Operation: 20/2=10 Current State: 84:[74, 10], Operations: ['78-58=20', '20/2=10'] Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[74, 58, 2, 78], Operations: [] Exploring Operation: 74-58=16, Resulting Numbers: [2, 78, 16] Generated Node #0,0: 84:[2, 78, 16] Operation: 74-58=16 Exploring Operation: 78-58=20, Resulting Numbers: [74, 2, 20] Generated Node #0,1: 84:[74, 2, 20] Operation: 78-58=20 Exploring Operation: 78-74=4, Resulting Numbers: [58, 2, 4] Generated Node #0,2: 84:[58, 2, 4] Operation: 78-74=4 Moving to Node #0,0 Current State: 84:[2, 78, 16], Operations: ['74-58=16'] Exploring Operation: 16-2=14, Resulting Numbers: [78, 14] Generated Node #0,0,0: 84:[78, 14] Operation: 16-2=14 Exploring Operation: 78/2=39, Resulting Numbers: [16, 39] Generated Node #0,0,1: 84:[16, 39] Operation: 78/2=39 Exploring Operation: 2+78=80, Resulting Numbers: [16, 80] Generated Node #0,0,2: 84:[16, 80] Operation: 2+78=80 Moving to Node #0,1 Current State: 84:[74, 2, 20], Operations: ['78-58=20'] Exploring Operation: 74+20=94, Resulting Numbers: [2, 94] Generated Node #0,1,0: 84:[2, 94] Operation: 74+20=94 Exploring Operation: 74/2=37, Resulting Numbers: [20, 37] Generated Node #0,1,1: 84:[20, 37] Operation: 74/2=37 Exploring Operation: 74+2=76, Resulting Numbers: [20, 76] Generated Node #0,1,2: 84:[20, 76] Operation: 74+2=76 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[20, 37], Operations: ['78-58=20', '74/2=37'] Exploring Operation: 20*37=740, Resulting Numbers: [740] 740,84 unequal: No Solution Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[20, 76], Operations: ['78-58=20', '74+2=76'] Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 20+76=96, Resulting Numbers: [96] 96,84 unequal: No Solution Exploring Operation: 20*76=1520, Resulting Numbers: [1520] 1520,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[2, 94], Operations: ['78-58=20', '74+20=94'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,84 unequal: No Solution Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 2+94=96, Resulting Numbers: [96] 96,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 84:[58, 2, 4], Operations: ['78-74=4'] Exploring Operation: 58/2=29, Resulting Numbers: [4, 29] Generated Node #0,2,0: 84:[4, 29] Operation: 58/2=29 Exploring Operation: 58-4=54, Resulting Numbers: [2, 54] Generated Node #0,2,1: 84:[2, 54] Operation: 58-4=54 Exploring Operation: 58-2=56, Resulting Numbers: [4, 56] Generated Node #0,2,2: 84:[4, 56] Operation: 58-2=56 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[4, 29], Operations: ['78-74=4', '58/2=29'] Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,84 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,84 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[2, 54], Operations: ['78-74=4', '58-4=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,84 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[4, 56], Operations: ['78-74=4', '58-2=56'] Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,84 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,84 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 84:[16, 39], Operations: ['74-58=16', '78/2=39'] Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,84 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,84 unequal: No Solution Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[78, 14], Operations: ['74-58=16', '16-2=14'] Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,84 unequal: No Solution Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[16, 80], Operations: ['74-58=16', '2+78=80'] Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 16+80=96, Resulting Numbers: [96] 96,84 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 41, 5, 97, 63 ]
45
[ "41*5=205", "97+63=160", "205-160=45" ]
Current State: 45:[41, 5, 97, 63], Operations: [] Exploring Operation: 41*5=205, Resulting Numbers: [97, 63, 205] Generated Node #2: [97, 63, 205] from Operation: 41*5=205 Current State: 45:[97, 63, 205], Operations: ['41*5=205'] Exploring Operation: 97+63=160, Resulting Numbers: [205, 160] Generated Node #3: [205, 160] from Operation: 97+63=160 Current State: 45:[205, 160], Operations: ['41*5=205', '97+63=160'] Exploring Operation: 205-160=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[41, 5, 97, 63], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [5, 97, 22] Generated Node #0,0: 45:[5, 97, 22] Operation: 63-41=22 Exploring Operation: 97-5=92, Resulting Numbers: [41, 63, 92] Generated Node #0,1: 45:[41, 63, 92] Operation: 97-5=92 Exploring Operation: 97-63=34, Resulting Numbers: [41, 5, 34] Generated Node #0,2: 45:[41, 5, 34] Operation: 97-63=34 Exploring Operation: 63-5=58, Resulting Numbers: [41, 97, 58] Generated Node #0,3: 45:[41, 97, 58] Operation: 63-5=58 Exploring Operation: 97-41=56, Resulting Numbers: [5, 63, 56] Generated Node #0,4: 45:[5, 63, 56] Operation: 97-41=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[41, 5, 34], Operations: ['97-63=34'] Exploring Operation: 5+34=39, Resulting Numbers: [41, 39] Generated Node #0,2,0: 45:[41, 39] Operation: 5+34=39 Exploring Operation: 41-5=36, Resulting Numbers: [34, 36] Generated Node #0,2,1: 45:[34, 36] Operation: 41-5=36 Exploring Operation: 41-34=7, Resulting Numbers: [5, 7] Generated Node #0,2,2: 45:[5, 7] Operation: 41-34=7 Exploring Operation: 41+5=46, Resulting Numbers: [34, 46] Generated Node #0,2,3: 45:[34, 46] Operation: 41+5=46 Exploring Operation: 34-5=29, Resulting Numbers: [41, 29] Generated Node #0,2,4: 45:[41, 29] Operation: 34-5=29 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 45:[5, 7], Operations: ['97-63=34', '41-34=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[41, 39], Operations: ['97-63=34', '5+34=39'] Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,45 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 45:[34, 46], Operations: ['97-63=34', '41+5=46'] Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,45 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 34*46=1564, Resulting Numbers: [1564] 1564,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 45:[41, 29], Operations: ['97-63=34', '34-5=29'] Exploring Operation: 41*29=1189, Resulting Numbers: [1189] 1189,45 unequal: No Solution Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 41+29=70, Resulting Numbers: [70] 70,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 45:[34, 36], Operations: ['97-63=34', '41-5=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,45 unequal: No Solution Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,45 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 45:[5, 63, 56], Operations: ['97-41=56'] Exploring Operation: 63-56=7, Resulting Numbers: [5, 7] Generated Node #0,4,0: 45:[5, 7] Operation: 63-56=7 Exploring Operation: 56-5=51, Resulting Numbers: [63, 51] Generated Node #0,4,1: 45:[63, 51] Operation: 56-5=51 Exploring Operation: 63-5=58, Resulting Numbers: [56, 58] Generated Node #0,4,2: 45:[56, 58] Operation: 63-5=58 Exploring Operation: 5+63=68, Resulting Numbers: [56, 68] Generated Node #0,4,3: 45:[56, 68] Operation: 5+63=68 Exploring Operation: 5+56=61, Resulting Numbers: [63, 61] Generated Node #0,4,4: 45:[63, 61] Operation: 5+56=61 Moving to Node #0,4,0 Current State: 45:[5, 7], Operations: ['97-41=56', '63-56=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,45 unequal: No Solution Moving to Node #0,4,2 Current State: 45:[56, 58], Operations: ['97-41=56', '63-5=58'] Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 56*58=3248, Resulting Numbers: [3248] 3248,45 unequal: No Solution Exploring Operation: 56+58=114, Resulting Numbers: [114] 114,45 unequal: No Solution Moving to Node #0,4,1 Current State: 45:[63, 51], Operations: ['97-41=56', '56-5=51'] Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 63+51=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 63*51=3213, Resulting Numbers: [3213] 3213,45 unequal: No Solution Moving to Node #0,4,3 Current State: 45:[56, 68], Operations: ['97-41=56', '5+63=68'] Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 56+68=124, Resulting Numbers: [124] 124,45 unequal: No Solution Exploring Operation: 56*68=3808, Resulting Numbers: [3808] 3808,45 unequal: No Solution Moving to Node #0,4,4 Current State: 45:[63, 61], Operations: ['97-41=56', '5+56=61'] Exploring Operation: 63*61=3843, Resulting Numbers: [3843] 3843,45 unequal: No Solution Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 63+61=124, Resulting Numbers: [124] 124,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[5, 97, 22], Operations: ['63-41=22'] Exploring Operation: 97-22=75, Resulting Numbers: [5, 75] Generated Node #0,0,0: 45:[5, 75] Operation: 97-22=75 Exploring Operation: 97-5=92, Resulting Numbers: [22, 92] Generated Node #0,0,1: 45:[22, 92] Operation: 97-5=92 Exploring Operation: 5+22=27, Resulting Numbers: [97, 27] Generated Node #0,0,2: 45:[97, 27] Operation: 5+22=27 Exploring Operation: 5+97=102, Resulting Numbers: [22, 102] Generated Node #0,0,3: 45:[22, 102] Operation: 5+97=102 Exploring Operation: 22-5=17, Resulting Numbers: [97, 17] Generated Node #0,0,4: 45:[97, 17] Operation: 22-5=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[5, 75], Operations: ['63-41=22', '97-22=75'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 5*75=375, Resulting Numbers: [375] 375,45 unequal: No Solution Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,45 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 45:[22, 92], Operations: ['63-41=22', '97-5=92'] Exploring Operation: 22+92=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 92-22=70, Resulting Numbers: [70] 70,45 unequal: No Solution Exploring Operation: 22*92=2024, Resulting Numbers: [2024] 2024,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 45:[97, 17], Operations: ['63-41=22', '22-5=17'] Exploring Operation: 97*17=1649, Resulting Numbers: [1649] 1649,45 unequal: No Solution Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,45 unequal: No Solution Exploring Operation: 97+17=114, Resulting Numbers: [114] 114,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 45:[97, 27], Operations: ['63-41=22', '5+22=27'] Exploring Operation: 97-27=70, Resulting Numbers: [70] 70,45 unequal: No Solution Exploring Operation: 97+27=124, Resulting Numbers: [124] 124,45 unequal: No Solution Exploring Operation: 97*27=2619, Resulting Numbers: [2619] 2619,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 45:[22, 102], Operations: ['63-41=22', '5+97=102'] Exploring Operation: 22+102=124, Resulting Numbers: [124] 124,45 unequal: No Solution Exploring Operation: 22*102=2244, Resulting Numbers: [2244] 2244,45 unequal: No Solution Exploring Operation: 102-22=80, Resulting Numbers: [80] 80,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[41, 63, 92], Operations: ['97-5=92'] Exploring Operation: 41+63=104, Resulting Numbers: [92, 104] Generated Node #0,1,0: 45:[92, 104] Operation: 41+63=104 Exploring Operation: 63-41=22, Resulting Numbers: [92, 22] Generated Node #0,1,1: 45:[92, 22] Operation: 63-41=22 Exploring Operation: 92-63=29, Resulting Numbers: [41, 29] Generated Node #0,1,2: 45:[41, 29] Operation: 92-63=29 Exploring Operation: 41+92=133, Resulting Numbers: [63, 133] Generated Node #0,1,3: 45:[63, 133] Operation: 41+92=133 Exploring Operation: 92-41=51, Resulting Numbers: [63, 51] Generated Node #0,1,4: 45:[63, 51] Operation: 92-41=51 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 45:[41, 29], Operations: ['97-5=92', '92-63=29'] Exploring Operation: 41+29=70, Resulting Numbers: [70] 70,45 unequal: No Solution Exploring Operation: 41*29=1189, Resulting Numbers: [1189] 1189,45 unequal: No Solution Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 45:[63, 51], Operations: ['97-5=92', '92-41=51'] Exploring Operation: 63*51=3213, Resulting Numbers: [3213] 3213,45 unequal: No Solution Exploring Operation: 63+51=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[92, 22], Operations: ['97-5=92', '63-41=22'] Exploring Operation: 92*22=2024, Resulting Numbers: [2024] 2024,45 unequal: No Solution Exploring Operation: 92-22=70, Resulting Numbers: [70] 70,45 unequal: No Solution Exploring Operation: 92+22=114, Resulting Numbers: [114] 114,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[92, 104], Operations: ['97-5=92', '41+63=104'] Exploring Operation: 104-92=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 92*104=9568, Resulting Numbers: [9568] 9568,45 unequal: No Solution Exploring Operation: 92+104=196, Resulting Numbers: [196] 196,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 45:[63, 133], Operations: ['97-5=92', '41+92=133'] Exploring Operation: 133-63=70, Resulting Numbers: [70] 70,45 unequal: No Solution Exploring Operation: 63+133=196, Resulting Numbers: [196] 196,45 unequal: No Solution Exploring Operation: 63*133=8379, Resulting Numbers: [8379] 8379,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[41, 97, 58], Operations: ['63-5=58'] Exploring Operation: 97-58=39, Resulting Numbers: [41, 39] Generated Node #0,3,0: 45:[41, 39] Operation: 97-58=39 Exploring Operation: 58-41=17, Resulting Numbers: [97, 17] Generated Node #0,3,1: 45:[97, 17] Operation: 58-41=17 Exploring Operation: 41+97=138, Resulting Numbers: [58, 138] Generated Node #0,3,2: 45:[58, 138] Operation: 41+97=138 Exploring Operation: 97-41=56, Resulting Numbers: [58, 56] Generated Node #0,3,3: 45:[58, 56] Operation: 97-41=56 Exploring Operation: 41+58=99, Resulting Numbers: [97, 99] Generated Node #0,3,4: 45:[97, 99] Operation: 41+58=99 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 45:[41, 39], Operations: ['63-5=58', '97-58=39'] Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,45 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 45:[58, 56], Operations: ['63-5=58', '97-41=56'] Exploring Operation: 58+56=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 58*56=3248, Resulting Numbers: [3248] 3248,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 45:[97, 17], Operations: ['63-5=58', '58-41=17'] Exploring Operation: 97+17=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 97*17=1649, Resulting Numbers: [1649] 1649,45 unequal: No Solution Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 45:[58, 138], Operations: ['63-5=58', '41+97=138'] Exploring Operation: 58*138=8004, Resulting Numbers: [8004] 8004,45 unequal: No Solution Exploring Operation: 138-58=80, Resulting Numbers: [80] 80,45 unequal: No Solution Exploring Operation: 58+138=196, Resulting Numbers: [196] 196,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 45:[97, 99], Operations: ['63-5=58', '41+58=99'] Exploring Operation: 97*99=9603, Resulting Numbers: [9603] 9603,45 unequal: No Solution Exploring Operation: 99-97=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 97+99=196, Resulting Numbers: [196] 196,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 66, 81, 21, 20 ]
27
[ "66+81=147", "147/21=7", "20+7=27" ]
Current State: 27:[66, 81, 21, 20], Operations: [] Exploring Operation: 66+81=147, Resulting Numbers: [21, 20, 147] Generated Node #2: [21, 20, 147] from Operation: 66+81=147 Current State: 27:[21, 20, 147], Operations: ['66+81=147'] Exploring Operation: 147/21=7, Resulting Numbers: [20, 7] Generated Node #3: [20, 7] from Operation: 147/21=7 Current State: 27:[20, 7], Operations: ['66+81=147', '147/21=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[66, 81, 21, 20], Operations: [] Exploring Operation: 66-20=46, Resulting Numbers: [81, 21, 46] Generated Node #0,0: 27:[81, 21, 46] Operation: 66-20=46 Exploring Operation: 81-21=60, Resulting Numbers: [66, 20, 60] Generated Node #0,1: 27:[66, 20, 60] Operation: 81-21=60 Exploring Operation: 66-21=45, Resulting Numbers: [81, 20, 45] Generated Node #0,2: 27:[81, 20, 45] Operation: 66-21=45 Exploring Operation: 81-66=15, Resulting Numbers: [21, 20, 15] Generated Node #0,3: 27:[21, 20, 15] Operation: 81-66=15 Moving to Node #0,3 Current State: 27:[21, 20, 15], Operations: ['81-66=15'] Exploring Operation: 20-15=5, Resulting Numbers: [21, 5] Generated Node #0,3,0: 27:[21, 5] Operation: 20-15=5 Exploring Operation: 20+15=35, Resulting Numbers: [21, 35] Generated Node #0,3,1: 27:[21, 35] Operation: 20+15=35 Exploring Operation: 21-20=1, Resulting Numbers: [15, 1] Generated Node #0,3,2: 27:[15, 1] Operation: 21-20=1 Exploring Operation: 21-15=6, Resulting Numbers: [20, 6] Generated Node #0,3,3: 27:[20, 6] Operation: 21-15=6 Moving to Node #0,1 Current State: 27:[66, 20, 60], Operations: ['81-21=60'] Exploring Operation: 66-60=6, Resulting Numbers: [20, 6] Generated Node #0,1,0: 27:[20, 6] Operation: 66-60=6 Exploring Operation: 66-20=46, Resulting Numbers: [60, 46] Generated Node #0,1,1: 27:[60, 46] Operation: 66-20=46 Exploring Operation: 60/20=3, Resulting Numbers: [66, 3] Generated Node #0,1,2: 27:[66, 3] Operation: 60/20=3 Exploring Operation: 60-20=40, Resulting Numbers: [66, 40] Generated Node #0,1,3: 27:[66, 40] Operation: 60-20=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[20, 6], Operations: ['81-21=60', '66-60=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,27 unequal: No Solution Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[66, 3], Operations: ['81-21=60', '60/20=3'] Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,27 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,27 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[60, 46], Operations: ['81-21=60', '66-20=46'] Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 60*46=2760, Resulting Numbers: [2760] 2760,27 unequal: No Solution Exploring Operation: 60+46=106, Resulting Numbers: [106] 106,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 27:[66, 40], Operations: ['81-21=60', '60-20=40'] Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,27 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,27 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: 27:[81, 21, 46], Operations: ['66-20=46'] Exploring Operation: 81-21=60, Resulting Numbers: [46, 60] Generated Node #0,0,0: 27:[46, 60] Operation: 81-21=60 Exploring Operation: 46-21=25, Resulting Numbers: [81, 25] Generated Node #0,0,1: 27:[81, 25] Operation: 46-21=25 Exploring Operation: 81-46=35, Resulting Numbers: [21, 35] Generated Node #0,0,2: 27:[21, 35] Operation: 81-46=35 Exploring Operation: 81+21=102, Resulting Numbers: [46, 102] Generated Node #0,0,3: 27:[46, 102] Operation: 81+21=102 Moving to Node #0,2 Current State: 27:[81, 20, 45], Operations: ['66-21=45'] Exploring Operation: 81-45=36, Resulting Numbers: [20, 36] Generated Node #0,2,0: 27:[20, 36] Operation: 81-45=36 Exploring Operation: 45-20=25, Resulting Numbers: [81, 25] Generated Node #0,2,1: 27:[81, 25] Operation: 45-20=25 Exploring Operation: 81+20=101, Resulting Numbers: [45, 101] Generated Node #0,2,2: 27:[45, 101] Operation: 81+20=101 Exploring Operation: 81-20=61, Resulting Numbers: [45, 61] Generated Node #0,2,3: 27:[45, 61] Operation: 81-20=61 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[20, 36], Operations: ['66-21=45', '81-45=36'] Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,27 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,27 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 27:[45, 61], Operations: ['66-21=45', '81-20=61'] Exploring Operation: 45+61=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,27 unequal: No Solution Exploring Operation: 45*61=2745, Resulting Numbers: [2745] 2745,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[81, 25], Operations: ['66-21=45', '45-20=25'] Exploring Operation: 81*25=2025, Resulting Numbers: [2025] 2025,27 unequal: No Solution Exploring Operation: 81+25=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[45, 101], Operations: ['66-21=45', '81+20=101'] Exploring Operation: 45*101=4545, Resulting Numbers: [4545] 4545,27 unequal: No Solution Exploring Operation: 45+101=146, Resulting Numbers: [146] 146,27 unequal: No Solution Exploring Operation: 101-45=56, Resulting Numbers: [56] 56,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 27:[21, 5], Operations: ['81-66=15', '20-15=5'] Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,27 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[15, 1], Operations: ['81-66=15', '21-20=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,27 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[20, 6], Operations: ['81-66=15', '21-15=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,27 unequal: No Solution Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[21, 35], Operations: ['66-20=46', '81-46=35'] Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,27 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,27 unequal: No Solution Moving to Node #0,3,1 Current State: 27:[21, 35], Operations: ['81-66=15', '20+15=35'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[46, 60], Operations: ['66-20=46', '81-21=60'] Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 46+60=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 46*60=2760, Resulting Numbers: [2760] 2760,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[81, 25], Operations: ['66-20=46', '46-21=25'] Exploring Operation: 81*25=2025, Resulting Numbers: [2025] 2025,27 unequal: No Solution Exploring Operation: 81+25=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[46, 102], Operations: ['66-20=46', '81+21=102'] Exploring Operation: 46*102=4692, Resulting Numbers: [4692] 4692,27 unequal: No Solution Exploring Operation: 102-46=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 46+102=148, Resulting Numbers: [148] 148,27 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 4, 14, 18, 11 ]
76
[ "4*11=44", "14+18=32", "44+32=76" ]
Current State: 76:[4, 14, 18, 11], Operations: [] Exploring Operation: 4*11=44, Resulting Numbers: [14, 18, 44] Generated Node #2: [14, 18, 44] from Operation: 4*11=44 Current State: 76:[14, 18, 44], Operations: ['4*11=44'] Exploring Operation: 14+18=32, Resulting Numbers: [44, 32] Generated Node #3: [44, 32] from Operation: 14+18=32 Current State: 76:[44, 32], Operations: ['4*11=44', '14+18=32'] Exploring Operation: 44+32=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[4, 14, 18, 11], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [4, 18, 3] Generated Node #0,0: 76:[4, 18, 3] Operation: 14-11=3 Exploring Operation: 14+11=25, Resulting Numbers: [4, 18, 25] Generated Node #0,1: 76:[4, 18, 25] Operation: 14+11=25 Exploring Operation: 18-14=4, Resulting Numbers: [4, 11, 4] Generated Node #0,2: 76:[4, 11, 4] Operation: 18-14=4 Exploring Operation: 18-11=7, Resulting Numbers: [4, 14, 7] Generated Node #0,3: 76:[4, 14, 7] Operation: 18-11=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[4, 18, 3], Operations: ['14-11=3'] Exploring Operation: 18+3=21, Resulting Numbers: [4, 21] Generated Node #0,0,0: 76:[4, 21] Operation: 18+3=21 Exploring Operation: 4+18=22, Resulting Numbers: [3, 22] Generated Node #0,0,1: 76:[3, 22] Operation: 4+18=22 Exploring Operation: 18/3=6, Resulting Numbers: [4, 6] Generated Node #0,0,2: 76:[4, 6] Operation: 18/3=6 Exploring Operation: 4-3=1, Resulting Numbers: [18, 1] Generated Node #0,0,3: 76:[18, 1] Operation: 4-3=1 Moving to Node #0,0,0 Current State: 76:[4, 21], Operations: ['14-11=3', '18+3=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[18, 1], Operations: ['14-11=3', '4-3=1'] Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[4, 6], Operations: ['14-11=3', '18/3=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[3, 22], Operations: ['14-11=3', '4+18=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,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,1 Current State: 76:[4, 18, 25], Operations: ['14+11=25'] Exploring Operation: 4+18=22, Resulting Numbers: [25, 22] Generated Node #0,1,0: 76:[25, 22] Operation: 4+18=22 Exploring Operation: 25-4=21, Resulting Numbers: [18, 21] Generated Node #0,1,1: 76:[18, 21] Operation: 25-4=21 Exploring Operation: 18+25=43, Resulting Numbers: [4, 43] Generated Node #0,1,2: 76:[4, 43] Operation: 18+25=43 Exploring Operation: 25-18=7, Resulting Numbers: [4, 7] Generated Node #0,1,3: 76:[4, 7] Operation: 25-18=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[18, 21], Operations: ['14+11=25', '25-4=21'] Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,76 unequal: No Solution No 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: 76:[4, 7], Operations: ['14+11=25', '25-18=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,76 unequal: No Solution No 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: 76:[4, 43], Operations: ['14+11=25', '18+25=43'] Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,76 unequal: No Solution No 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: 76:[25, 22], Operations: ['14+11=25', '4+18=22'] Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 25*22=550, Resulting Numbers: [550] 550,76 unequal: No Solution Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,76 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: 76:[4, 11, 4], Operations: ['18-14=4'] Exploring Operation: 11-4=7, Resulting Numbers: [4, 7] Generated Node #0,2,0: 76:[4, 7] Operation: 11-4=7 Exploring Operation: 11+4=15, Resulting Numbers: [4, 15] Generated Node #0,2,1: 76:[4, 15] Operation: 11+4=15 Exploring Operation: 11-4=7, Resulting Numbers: [4, 7] Generated Node #0,2,2: 76:[4, 7] Operation: 11-4=7 Exploring Operation: 4+11=15, Resulting Numbers: [4, 15] Generated Node #0,2,3: 76:[4, 15] Operation: 4+11=15 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[4, 7], Operations: ['18-14=4', '11-4=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,76 unequal: No Solution No 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: 76:[4, 7], Operations: ['18-14=4', '11-4=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,76 unequal: No Solution No 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: 76:[4, 15], Operations: ['18-14=4', '11+4=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,76 unequal: No Solution No 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: 76:[4, 15], Operations: ['18-14=4', '4+11=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,76 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: 76:[4, 14, 7], Operations: ['18-11=7'] Exploring Operation: 4+14=18, Resulting Numbers: [7, 18] Generated Node #0,3,0: 76:[7, 18] Operation: 4+14=18 Exploring Operation: 14+7=21, Resulting Numbers: [4, 21] Generated Node #0,3,1: 76:[4, 21] Operation: 14+7=21 Exploring Operation: 14/7=2, Resulting Numbers: [4, 2] Generated Node #0,3,2: 76:[4, 2] Operation: 14/7=2 Exploring Operation: 14-7=7, Resulting Numbers: [4, 7] Generated Node #0,3,3: 76:[4, 7] Operation: 14-7=7 Moving to Node #0,3,2 Current State: 76:[4, 2], Operations: ['18-11=7', '14/7=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[4, 21], Operations: ['18-11=7', '14+7=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,76 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[4, 7], Operations: ['18-11=7', '14-7=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,76 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[7, 18], Operations: ['18-11=7', '4+14=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,76 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
[ 92, 23, 34, 16 ]
65
[ "92+23=115", "34+16=50", "115-50=65" ]
Current State: 65:[92, 23, 34, 16], Operations: [] Exploring Operation: 92+23=115, Resulting Numbers: [34, 16, 115] Generated Node #2: [34, 16, 115] from Operation: 92+23=115 Current State: 65:[34, 16, 115], Operations: ['92+23=115'] Exploring Operation: 34+16=50, Resulting Numbers: [115, 50] Generated Node #3: [115, 50] from Operation: 34+16=50 Current State: 65:[115, 50], Operations: ['92+23=115', '34+16=50'] Exploring Operation: 115-50=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[92, 23, 34, 16], Operations: [] Exploring Operation: 92-34=58, Resulting Numbers: [23, 16, 58] Generated Node #0,0: 65:[23, 16, 58] Operation: 92-34=58 Exploring Operation: 92/23=4, Resulting Numbers: [34, 16, 4] Generated Node #0,1: 65:[34, 16, 4] Operation: 92/23=4 Exploring Operation: 34-23=11, Resulting Numbers: [92, 16, 11] Generated Node #0,2: 65:[92, 16, 11] Operation: 34-23=11 Exploring Operation: 92-23=69, Resulting Numbers: [34, 16, 69] Generated Node #0,3: 65:[34, 16, 69] Operation: 92-23=69 Moving to Node #0,0 Current State: 65:[23, 16, 58], Operations: ['92-34=58'] Exploring Operation: 23+58=81, Resulting Numbers: [16, 81] Generated Node #0,0,0: 65:[16, 81] Operation: 23+58=81 Exploring Operation: 58-23=35, Resulting Numbers: [16, 35] Generated Node #0,0,1: 65:[16, 35] Operation: 58-23=35 Exploring Operation: 23-16=7, Resulting Numbers: [58, 7] Generated Node #0,0,2: 65:[58, 7] Operation: 23-16=7 Exploring Operation: 16+58=74, Resulting Numbers: [23, 74] Generated Node #0,0,3: 65:[23, 74] Operation: 16+58=74 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[58, 7], Operations: ['92-34=58', '23-16=7'] Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[92, 23, 34, 16], Operations: [] Exploring Operation: 92-34=58, Resulting Numbers: [23, 16, 58] Generated Node #0,0: 65:[23, 16, 58] Operation: 92-34=58 Moving to Node #0,0 Current State: 65:[23, 16, 58], Operations: ['92-34=58'] Exploring Operation: 23-16=7, Resulting Numbers: [58, 7] Generated Node #0,0,2: 65:[58, 7] Operation: 23-16=7 Moving to Node #0,0,2 Current State: 65:[58, 7], Operations: ['92-34=58', '23-16=7'] Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 56, 12, 58, 9 ]
93
[ "56-12=44", "58-9=49", "44+49=93" ]
Current State: 93:[56, 12, 58, 9], Operations: [] Exploring Operation: 56-12=44, Resulting Numbers: [58, 9, 44] Generated Node #2: [58, 9, 44] from Operation: 56-12=44 Current State: 93:[58, 9, 44], Operations: ['56-12=44'] Exploring Operation: 58-9=49, Resulting Numbers: [44, 49] Generated Node #3: [44, 49] from Operation: 58-9=49 Current State: 93:[44, 49], Operations: ['56-12=44', '58-9=49'] Exploring Operation: 44+49=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[56, 12, 58, 9], Operations: [] Exploring Operation: 56-12=44, Resulting Numbers: [58, 9, 44] Generated Node #0,0: 93:[58, 9, 44] Operation: 56-12=44 Exploring Operation: 56-9=47, Resulting Numbers: [12, 58, 47] Generated Node #0,1: 93:[12, 58, 47] Operation: 56-9=47 Exploring Operation: 58-56=2, Resulting Numbers: [12, 9, 2] Generated Node #0,2: 93:[12, 9, 2] Operation: 58-56=2 Exploring Operation: 58-12=46, Resulting Numbers: [56, 9, 46] Generated Node #0,3: 93:[56, 9, 46] Operation: 58-12=46 Exploring Operation: 56+58=114, Resulting Numbers: [12, 9, 114] Generated Node #0,4: 93:[12, 9, 114] Operation: 56+58=114 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[12, 9, 2], Operations: ['58-56=2'] Exploring Operation: 12-2=10, Resulting Numbers: [9, 10] Generated Node #0,2,0: 93:[9, 10] Operation: 12-2=10 Exploring Operation: 12*2=24, Resulting Numbers: [9, 24] Generated Node #0,2,1: 93:[9, 24] Operation: 12*2=24 Exploring Operation: 12-9=3, Resulting Numbers: [2, 3] Generated Node #0,2,2: 93:[2, 3] Operation: 12-9=3 Exploring Operation: 12/2=6, Resulting Numbers: [9, 6] Generated Node #0,2,3: 93:[9, 6] Operation: 12/2=6 Exploring Operation: 12+9=21, Resulting Numbers: [2, 21] Generated Node #0,2,4: 93:[2, 21] Operation: 12+9=21 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[2, 3], Operations: ['58-56=2', '12-9=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,93 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 93:[9, 6], Operations: ['58-56=2', '12/2=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 93:[2, 21], Operations: ['58-56=2', '12+9=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[9, 10], Operations: ['58-56=2', '12-2=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,93 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,93 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[9, 24], Operations: ['58-56=2', '12*2=24'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 93:[12, 9, 114], Operations: ['56+58=114'] Exploring Operation: 12*9=108, Resulting Numbers: [114, 108] Generated Node #0,4,0: 93:[114, 108] Operation: 12*9=108 Exploring Operation: 114-9=105, Resulting Numbers: [12, 105] Generated Node #0,4,1: 93:[12, 105] Operation: 114-9=105 Exploring Operation: 114-12=102, Resulting Numbers: [9, 102] Generated Node #0,4,2: 93:[9, 102] Operation: 114-12=102 Exploring Operation: 12-9=3, Resulting Numbers: [114, 3] Generated Node #0,4,3: 93:[114, 3] Operation: 12-9=3 Exploring Operation: 12+9=21, Resulting Numbers: [114, 21] Generated Node #0,4,4: 93:[114, 21] Operation: 12+9=21 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 93:[9, 102], Operations: ['56+58=114', '114-12=102'] Exploring Operation: 9+102=111, Resulting Numbers: [111] 111,93 unequal: No Solution Exploring Operation: 102-9=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[56, 12, 58, 9], Operations: [] Exploring Operation: 56+58=114, Resulting Numbers: [12, 9, 114] Generated Node #0,4: 93:[12, 9, 114] Operation: 56+58=114 Moving to Node #0,4 Current State: 93:[12, 9, 114], Operations: ['56+58=114'] Exploring Operation: 114-12=102, Resulting Numbers: [9, 102] Generated Node #0,4,2: 93:[9, 102] Operation: 114-12=102 Moving to Node #0,4,2 Current State: 93:[9, 102], Operations: ['56+58=114', '114-12=102'] Exploring Operation: 102-9=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic