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
[ 55, 8, 15, 15 ]
17
[ "55-8=47", "15+15=30", "47-30=17" ]
Current State: 17:[55, 8, 15, 15], Operations: [] Exploring Operation: 55-8=47, Resulting Numbers: [15, 15, 47] Generated Node #2: [15, 15, 47] from Operation: 55-8=47 Current State: 17:[15, 15, 47], Operations: ['55-8=47'] Exploring Operation: 15+15=30, Resulting Numbers: [47, 30] Generated Node #3: [47, 30] from Operation: 15+15=30 Current State: 17:[47, 30], Operations: ['55-8=47', '15+15=30'] Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[55, 8, 15, 15], Operations: [] Exploring Operation: 55-15=40, Resulting Numbers: [8, 15, 40] Generated Node #0,0: 17:[8, 15, 40] Operation: 55-15=40 Exploring Operation: 55-15=40, Resulting Numbers: [8, 15, 40] Generated Node #0,1: 17:[8, 15, 40] Operation: 55-15=40 Exploring Operation: 8+15=23, Resulting Numbers: [55, 15, 23] Generated Node #0,2: 17:[55, 15, 23] Operation: 8+15=23 Exploring Operation: 55-8=47, Resulting Numbers: [15, 15, 47] Generated Node #0,3: 17:[15, 15, 47] Operation: 55-8=47 Moving to Node #0,0 Current State: 17:[8, 15, 40], Operations: ['55-15=40'] Exploring Operation: 40-15=25, Resulting Numbers: [8, 25] Generated Node #0,0,0: 17:[8, 25] Operation: 40-15=25 Exploring Operation: 8+15=23, Resulting Numbers: [40, 23] Generated Node #0,0,1: 17:[40, 23] Operation: 8+15=23 Exploring Operation: 40-8=32, Resulting Numbers: [15, 32] Generated Node #0,0,2: 17:[15, 32] Operation: 40-8=32 Exploring Operation: 40/8=5, Resulting Numbers: [15, 5] Generated Node #0,0,3: 17:[15, 5] Operation: 40/8=5 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[15, 5], Operations: ['55-15=40', '40/8=5'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,17 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[8, 25], Operations: ['55-15=40', '40-15=25'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[55, 8, 15, 15], Operations: [] Exploring Operation: 55-15=40, Resulting Numbers: [8, 15, 40] Generated Node #0,0: 17:[8, 15, 40] Operation: 55-15=40 Moving to Node #0,0 Current State: 17:[8, 15, 40], Operations: ['55-15=40'] Exploring Operation: 40-15=25, Resulting Numbers: [8, 25] Generated Node #0,0,0: 17:[8, 25] Operation: 40-15=25 Moving to Node #0,0,0 Current State: 17:[8, 25], Operations: ['55-15=40', '40-15=25'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 81, 1, 86, 17 ]
21
[ "81+1=82", "86+17=103", "103-82=21" ]
Current State: 21:[81, 1, 86, 17], Operations: [] Exploring Operation: 81+1=82, Resulting Numbers: [86, 17, 82] Generated Node #2: [86, 17, 82] from Operation: 81+1=82 Current State: 21:[86, 17, 82], Operations: ['81+1=82'] Exploring Operation: 86+17=103, Resulting Numbers: [82, 103] Generated Node #3: [82, 103] from Operation: 86+17=103 Current State: 21:[82, 103], Operations: ['81+1=82', '86+17=103'] Exploring Operation: 103-82=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[81, 1, 86, 17], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [1, 17, 5] Generated Node #0,0: 21:[1, 17, 5] Operation: 86-81=5 Exploring Operation: 81-17=64, Resulting Numbers: [1, 86, 64] Generated Node #0,1: 21:[1, 86, 64] Operation: 81-17=64 Moving to Node #0,0 Current State: 21:[1, 17, 5], Operations: ['86-81=5'] Exploring Operation: 1+17=18, Resulting Numbers: [5, 18] Generated Node #0,0,0: 21:[5, 18] Operation: 1+17=18 Exploring Operation: 17+5=22, Resulting Numbers: [1, 22] Generated Node #0,0,1: 21:[1, 22] Operation: 17+5=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[1, 22], Operations: ['86-81=5', '17+5=22'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[81, 1, 86, 17], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [1, 17, 5] Generated Node #0,0: 21:[1, 17, 5] Operation: 86-81=5 Moving to Node #0,0 Current State: 21:[1, 17, 5], Operations: ['86-81=5'] Exploring Operation: 17+5=22, Resulting Numbers: [1, 22] Generated Node #0,0,1: 21:[1, 22] Operation: 17+5=22 Moving to Node #0,0,1 Current State: 21:[1, 22], Operations: ['86-81=5', '17+5=22'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 7, 89, 93, 50 ]
39
[ "89-7=82", "93-50=43", "82-43=39" ]
Current State: 39:[7, 89, 93, 50], Operations: [] Exploring Operation: 89-7=82, Resulting Numbers: [93, 50, 82] Generated Node #2: [93, 50, 82] from Operation: 89-7=82 Current State: 39:[93, 50, 82], Operations: ['89-7=82'] Exploring Operation: 93-50=43, Resulting Numbers: [82, 43] Generated Node #3: [82, 43] from Operation: 93-50=43 Current State: 39:[82, 43], Operations: ['89-7=82', '93-50=43'] Exploring Operation: 82-43=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[7, 89, 93, 50], Operations: [] Exploring Operation: 89-50=39, Resulting Numbers: [7, 93, 39] Generated Node #0,0: 39:[7, 93, 39] Operation: 89-50=39 Exploring Operation: 93-89=4, Resulting Numbers: [7, 50, 4] Generated Node #0,1: 39:[7, 50, 4] Operation: 93-89=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[7, 50, 4], Operations: ['93-89=4'] Exploring Operation: 50-7=43, Resulting Numbers: [4, 43] Generated Node #0,1,0: 39:[4, 43] Operation: 50-7=43 Exploring Operation: 7-4=3, Resulting Numbers: [50, 3] Generated Node #0,1,1: 39:[50, 3] Operation: 7-4=3 Moving to Node #0,1,0 Current State: 39:[4, 43], Operations: ['93-89=4', '50-7=43'] Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[7, 89, 93, 50], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [7, 50, 4] Generated Node #0,1: 39:[7, 50, 4] Operation: 93-89=4 Moving to Node #0,1 Current State: 39:[7, 50, 4], Operations: ['93-89=4'] Exploring Operation: 50-7=43, Resulting Numbers: [4, 43] Generated Node #0,1,0: 39:[4, 43] Operation: 50-7=43 Moving to Node #0,1,0 Current State: 39:[4, 43], Operations: ['93-89=4', '50-7=43'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 53, 97, 17, 89 ]
28
[ "97-53=44", "89-17=72", "72-44=28" ]
Current State: 28:[53, 97, 17, 89], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [17, 89, 44] Generated Node #2: [17, 89, 44] from Operation: 97-53=44 Current State: 28:[17, 89, 44], Operations: ['97-53=44'] Exploring Operation: 89-17=72, Resulting Numbers: [44, 72] Generated Node #3: [44, 72] from Operation: 89-17=72 Current State: 28:[44, 72], Operations: ['97-53=44', '89-17=72'] Exploring Operation: 72-44=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[53, 97, 17, 89], Operations: [] Exploring Operation: 53-17=36, Resulting Numbers: [97, 89, 36] Generated Node #0,0: 28:[97, 89, 36] Operation: 53-17=36 Exploring Operation: 89-53=36, Resulting Numbers: [97, 17, 36] Generated Node #0,1: 28:[97, 17, 36] Operation: 89-53=36 Exploring Operation: 97-53=44, Resulting Numbers: [17, 89, 44] Generated Node #0,2: 28:[17, 89, 44] Operation: 97-53=44 Exploring Operation: 97-89=8, Resulting Numbers: [53, 17, 8] Generated Node #0,3: 28:[53, 17, 8] Operation: 97-89=8 Moving to Node #0,3 Current State: 28:[53, 17, 8], Operations: ['97-89=8'] Exploring Operation: 53-8=45, Resulting Numbers: [17, 45] Generated Node #0,3,0: 28:[17, 45] Operation: 53-8=45 Exploring Operation: 53-17=36, Resulting Numbers: [8, 36] Generated Node #0,3,1: 28:[8, 36] Operation: 53-17=36 Exploring Operation: 17-8=9, Resulting Numbers: [53, 9] Generated Node #0,3,2: 28:[53, 9] Operation: 17-8=9 Exploring Operation: 17+8=25, Resulting Numbers: [53, 25] Generated Node #0,3,3: 28:[53, 25] Operation: 17+8=25 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 28:[8, 36], Operations: ['97-89=8', '53-17=36'] Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,28 unequal: No Solution Exploring Operation: 8*36=288, Resulting Numbers: [288] 288,28 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[53, 97, 17, 89], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [53, 17, 8] Generated Node #0,3: 28:[53, 17, 8] Operation: 97-89=8 Moving to Node #0,3 Current State: 28:[53, 17, 8], Operations: ['97-89=8'] Exploring Operation: 53-17=36, Resulting Numbers: [8, 36] Generated Node #0,3,1: 28:[8, 36] Operation: 53-17=36 Moving to Node #0,3,1 Current State: 28:[8, 36], Operations: ['97-89=8', '53-17=36'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 33, 31, 39, 22 ]
54
[ "39-33=6", "31-22=9", "6*9=54" ]
Current State: 54:[33, 31, 39, 22], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [31, 22, 6] Generated Node #2: [31, 22, 6] from Operation: 39-33=6 Current State: 54:[31, 22, 6], Operations: ['39-33=6'] Exploring Operation: 31-22=9, Resulting Numbers: [6, 9] Generated Node #3: [6, 9] from Operation: 31-22=9 Current State: 54:[6, 9], Operations: ['39-33=6', '31-22=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[33, 31, 39, 22], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [33, 22, 8] Generated Node #0,0: 54:[33, 22, 8] Operation: 39-31=8 Exploring Operation: 39-22=17, Resulting Numbers: [33, 31, 17] Generated Node #0,1: 54:[33, 31, 17] Operation: 39-22=17 Exploring Operation: 33-31=2, Resulting Numbers: [39, 22, 2] Generated Node #0,2: 54:[39, 22, 2] Operation: 33-31=2 Exploring Operation: 39-33=6, Resulting Numbers: [31, 22, 6] Generated Node #0,3: 54:[31, 22, 6] Operation: 39-33=6 Moving to Node #0,3 Current State: 54:[31, 22, 6], Operations: ['39-33=6'] Exploring Operation: 22+6=28, Resulting Numbers: [31, 28] Generated Node #0,3,0: 54:[31, 28] Operation: 22+6=28 Exploring Operation: 31+22=53, Resulting Numbers: [6, 53] Generated Node #0,3,1: 54:[6, 53] Operation: 31+22=53 Exploring Operation: 31-6=25, Resulting Numbers: [22, 25] Generated Node #0,3,2: 54:[22, 25] Operation: 31-6=25 Exploring Operation: 31-22=9, Resulting Numbers: [6, 9] Generated Node #0,3,3: 54:[6, 9] Operation: 31-22=9 Moving to Node #0,1 Current State: 54:[33, 31, 17], Operations: ['39-22=17'] Exploring Operation: 33+17=50, Resulting Numbers: [31, 50] Generated Node #0,1,0: 54:[31, 50] Operation: 33+17=50 Exploring Operation: 33-17=16, Resulting Numbers: [31, 16] Generated Node #0,1,1: 54:[31, 16] Operation: 33-17=16 Exploring Operation: 31-17=14, Resulting Numbers: [33, 14] Generated Node #0,1,2: 54:[33, 14] Operation: 31-17=14 Exploring Operation: 33-31=2, Resulting Numbers: [17, 2] Generated Node #0,1,3: 54:[17, 2] Operation: 33-31=2 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 54:[17, 2], Operations: ['39-22=17', '33-31=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[31, 16], Operations: ['39-22=17', '33-17=16'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,54 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[31, 50], Operations: ['39-22=17', '33+17=50'] Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 31*50=1550, Resulting Numbers: [1550] 1550,54 unequal: No Solution Exploring Operation: 31+50=81, Resulting Numbers: [81] 81,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 54:[33, 14], Operations: ['39-22=17', '31-17=14'] Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,54 unequal: No Solution Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,54 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,54 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: 54:[33, 22, 8], Operations: ['39-31=8'] Exploring Operation: 33-8=25, Resulting Numbers: [22, 25] Generated Node #0,0,0: 54:[22, 25] Operation: 33-8=25 Exploring Operation: 22+8=30, Resulting Numbers: [33, 30] Generated Node #0,0,1: 54:[33, 30] Operation: 22+8=30 Exploring Operation: 33-22=11, Resulting Numbers: [8, 11] Generated Node #0,0,2: 54:[8, 11] Operation: 33-22=11 Exploring Operation: 33+22=55, Resulting Numbers: [8, 55] Generated Node #0,0,3: 54:[8, 55] Operation: 33+22=55 Moving to Node #0,2 Current State: 54:[39, 22, 2], Operations: ['33-31=2'] Exploring Operation: 39-2=37, Resulting Numbers: [22, 37] Generated Node #0,2,0: 54:[22, 37] Operation: 39-2=37 Exploring Operation: 39-22=17, Resulting Numbers: [2, 17] Generated Node #0,2,1: 54:[2, 17] Operation: 39-22=17 Exploring Operation: 39+22=61, Resulting Numbers: [2, 61] Generated Node #0,2,2: 54:[2, 61] Operation: 39+22=61 Exploring Operation: 22-2=20, Resulting Numbers: [39, 20] Generated Node #0,2,3: 54:[39, 20] Operation: 22-2=20 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[2, 17], Operations: ['33-31=2', '39-22=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[2, 61], Operations: ['33-31=2', '39+22=61'] Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,54 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,54 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[22, 37], Operations: ['33-31=2', '39-2=37'] Exploring Operation: 22*37=814, Resulting Numbers: [814] 814,54 unequal: No Solution Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 22+37=59, Resulting Numbers: [59] 59,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 54:[39, 20], Operations: ['33-31=2', '22-2=20'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 39*20=780, Resulting Numbers: [780] 780,54 unequal: No Solution Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 54:[6, 9], Operations: ['39-33=6', '31-22=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[33, 31, 39, 22], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [31, 22, 6] Generated Node #0,3: 54:[31, 22, 6] Operation: 39-33=6 Moving to Node #0,3 Current State: 54:[31, 22, 6], Operations: ['39-33=6'] Exploring Operation: 31-22=9, Resulting Numbers: [6, 9] Generated Node #0,3,3: 54:[6, 9] Operation: 31-22=9 Moving to Node #0,3,3 Current State: 54:[6, 9], Operations: ['39-33=6', '31-22=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.956597
hs_4
mult_heuristic
[ 60, 28, 50, 68 ]
86
[ "60-28=32", "50+68=118", "118-32=86" ]
Current State: 86:[60, 28, 50, 68], Operations: [] Exploring Operation: 60-28=32, Resulting Numbers: [50, 68, 32] Generated Node #2: [50, 68, 32] from Operation: 60-28=32 Current State: 86:[50, 68, 32], Operations: ['60-28=32'] Exploring Operation: 50+68=118, Resulting Numbers: [32, 118] Generated Node #3: [32, 118] from Operation: 50+68=118 Current State: 86:[32, 118], Operations: ['60-28=32', '50+68=118'] Exploring Operation: 118-32=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[60, 28, 50, 68], Operations: [] Exploring Operation: 68-28=40, Resulting Numbers: [60, 50, 40] Generated Node #0,0: 86:[60, 50, 40] Operation: 68-28=40 Exploring Operation: 60+28=88, Resulting Numbers: [50, 68, 88] Generated Node #0,1: 86:[50, 68, 88] Operation: 60+28=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[60, 50, 40], Operations: ['68-28=40'] Exploring Operation: 60-50=10, Resulting Numbers: [40, 10] Generated Node #0,0,0: 86:[40, 10] Operation: 60-50=10 Exploring Operation: 60+40=100, Resulting Numbers: [50, 100] Generated Node #0,0,1: 86:[50, 100] Operation: 60+40=100 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[40, 10], Operations: ['68-28=40', '60-50=10'] Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[50, 100], Operations: ['68-28=40', '60+40=100'] Exploring Operation: 100/50=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 100-50=50, Resulting Numbers: [50] 50,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[50, 68, 88], Operations: ['60+28=88'] Exploring Operation: 68-50=18, Resulting Numbers: [88, 18] Generated Node #0,1,0: 86:[88, 18] Operation: 68-50=18 Exploring Operation: 88-50=38, Resulting Numbers: [68, 38] Generated Node #0,1,1: 86:[68, 38] Operation: 88-50=38 Moving to Node #0,1,0 Current State: 86:[88, 18], Operations: ['60+28=88', '68-50=18'] Exploring Operation: 88+18=106, Resulting Numbers: [106] 106,86 unequal: No Solution Exploring Operation: 88-18=70, Resulting Numbers: [70] 70,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[68, 38], Operations: ['60+28=88', '88-50=38'] Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,86 unequal: No Solution Exploring Operation: 68+38=106, Resulting Numbers: [106] 106,86 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
[ 64, 52, 33, 98 ]
94
[ "64*52=3328", "33*98=3234", "3328-3234=94" ]
Current State: 94:[64, 52, 33, 98], Operations: [] Exploring Operation: 64*52=3328, Resulting Numbers: [33, 98, 3328] Generated Node #2: [33, 98, 3328] from Operation: 64*52=3328 Current State: 94:[33, 98, 3328], Operations: ['64*52=3328'] Exploring Operation: 33*98=3234, Resulting Numbers: [3328, 3234] Generated Node #3: [3328, 3234] from Operation: 33*98=3234 Current State: 94:[3328, 3234], Operations: ['64*52=3328', '33*98=3234'] Exploring Operation: 3328-3234=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[64, 52, 33, 98], Operations: [] Exploring Operation: 64+33=97, Resulting Numbers: [52, 98, 97] Generated Node #0,0: 94:[52, 98, 97] Operation: 64+33=97 Exploring Operation: 64-52=12, Resulting Numbers: [33, 98, 12] Generated Node #0,1: 94:[33, 98, 12] Operation: 64-52=12 Exploring Operation: 64-33=31, Resulting Numbers: [52, 98, 31] Generated Node #0,2: 94:[52, 98, 31] Operation: 64-33=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[52, 98, 97], Operations: ['64+33=97'] Exploring Operation: 98-52=46, Resulting Numbers: [97, 46] Generated Node #0,0,0: 94:[97, 46] Operation: 98-52=46 Exploring Operation: 97-52=45, Resulting Numbers: [98, 45] Generated Node #0,0,1: 94:[98, 45] Operation: 97-52=45 Exploring Operation: 98-97=1, Resulting Numbers: [52, 1] Generated Node #0,0,2: 94:[52, 1] Operation: 98-97=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[97, 46], Operations: ['64+33=97', '98-52=46'] Exploring Operation: 97-46=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 97*46=4462, Resulting Numbers: [4462] 4462,94 unequal: No Solution Exploring Operation: 97+46=143, Resulting Numbers: [143] 143,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[98, 45], Operations: ['64+33=97', '97-52=45'] Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 98+45=143, Resulting Numbers: [143] 143,94 unequal: No Solution Exploring Operation: 98*45=4410, Resulting Numbers: [4410] 4410,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 94:[52, 1], Operations: ['64+33=97', '98-97=1'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,94 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,94 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[52, 98, 31], Operations: ['64-33=31'] Exploring Operation: 52-31=21, Resulting Numbers: [98, 21] Generated Node #0,2,0: 94:[98, 21] Operation: 52-31=21 Exploring Operation: 98-52=46, Resulting Numbers: [31, 46] Generated Node #0,2,1: 94:[31, 46] Operation: 98-52=46 Exploring Operation: 52+31=83, Resulting Numbers: [98, 83] Generated Node #0,2,2: 94:[98, 83] Operation: 52+31=83 Moving to Node #0,2,2 Current State: 94:[98, 83], Operations: ['64-33=31', '52+31=83'] Exploring Operation: 98*83=8134, Resulting Numbers: [8134] 8134,94 unequal: No Solution Exploring Operation: 98-83=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 98+83=181, Resulting Numbers: [181] 181,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[31, 46], Operations: ['64-33=31', '98-52=46'] Exploring Operation: 31+46=77, Resulting Numbers: [77] 77,94 unequal: No Solution Exploring Operation: 31*46=1426, Resulting Numbers: [1426] 1426,94 unequal: No Solution Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[98, 21], Operations: ['64-33=31', '52-31=21'] Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,94 unequal: No Solution Exploring Operation: 98+21=119, Resulting Numbers: [119] 119,94 unequal: No Solution Exploring Operation: 98*21=2058, Resulting Numbers: [2058] 2058,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[33, 98, 12], Operations: ['64-52=12'] Exploring Operation: 33+12=45, Resulting Numbers: [98, 45] Generated Node #0,1,0: 94:[98, 45] Operation: 33+12=45 Exploring Operation: 98-12=86, Resulting Numbers: [33, 86] Generated Node #0,1,1: 94:[33, 86] Operation: 98-12=86 Exploring Operation: 33-12=21, Resulting Numbers: [98, 21] Generated Node #0,1,2: 94:[98, 21] Operation: 33-12=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[98, 45], Operations: ['64-52=12', '33+12=45'] Exploring Operation: 98+45=143, Resulting Numbers: [143] 143,94 unequal: No Solution Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 98*45=4410, Resulting Numbers: [4410] 4410,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[33, 86], Operations: ['64-52=12', '98-12=86'] Exploring Operation: 86-33=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 33+86=119, Resulting Numbers: [119] 119,94 unequal: No Solution Exploring Operation: 33*86=2838, Resulting Numbers: [2838] 2838,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[98, 21], Operations: ['64-52=12', '33-12=21'] Exploring Operation: 98+21=119, Resulting Numbers: [119] 119,94 unequal: No Solution Exploring Operation: 98*21=2058, Resulting Numbers: [2058] 2058,94 unequal: No Solution Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 60, 97, 78, 93 ]
93
[ "97-93=4", "60/4=15", "78+15=93" ]
Current State: 93:[60, 97, 78, 93], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [60, 78, 4] Generated Node #2: [60, 78, 4] from Operation: 97-93=4 Current State: 93:[60, 78, 4], Operations: ['97-93=4'] Exploring Operation: 60/4=15, Resulting Numbers: [78, 15] Generated Node #3: [78, 15] from Operation: 60/4=15 Current State: 93:[78, 15], Operations: ['97-93=4', '60/4=15'] Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[60, 97, 78, 93], Operations: [] Exploring Operation: 93-60=33, Resulting Numbers: [97, 78, 33] Generated Node #0,0: 93:[97, 78, 33] Operation: 93-60=33 Exploring Operation: 97-60=37, Resulting Numbers: [78, 93, 37] Generated Node #0,1: 93:[78, 93, 37] Operation: 97-60=37 Exploring Operation: 97-78=19, Resulting Numbers: [60, 93, 19] Generated Node #0,2: 93:[60, 93, 19] Operation: 97-78=19 Exploring Operation: 78-60=18, Resulting Numbers: [97, 93, 18] Generated Node #0,3: 93:[97, 93, 18] Operation: 78-60=18 Moving to Node #0,3 Current State: 93:[97, 93, 18], Operations: ['78-60=18'] Exploring Operation: 97-93=4, Resulting Numbers: [18, 4] Generated Node #0,3,0: 93:[18, 4] Operation: 97-93=4 Exploring Operation: 97+18=115, Resulting Numbers: [93, 115] Generated Node #0,3,1: 93:[93, 115] Operation: 97+18=115 Exploring Operation: 97-18=79, Resulting Numbers: [93, 79] Generated Node #0,3,2: 93:[93, 79] Operation: 97-18=79 Exploring Operation: 93+18=111, Resulting Numbers: [97, 111] Generated Node #0,3,3: 93:[97, 111] Operation: 93+18=111 Moving to Node #0,1 Current State: 93:[78, 93, 37], Operations: ['97-60=37'] Exploring Operation: 78+37=115, Resulting Numbers: [93, 115] Generated Node #0,1,0: 93:[93, 115] Operation: 78+37=115 Exploring Operation: 93-37=56, Resulting Numbers: [78, 56] Generated Node #0,1,1: 93:[78, 56] Operation: 93-37=56 Exploring Operation: 78-37=41, Resulting Numbers: [93, 41] Generated Node #0,1,2: 93:[93, 41] Operation: 78-37=41 Exploring Operation: 93-78=15, Resulting Numbers: [37, 15] Generated Node #0,1,3: 93:[37, 15] Operation: 93-78=15 Moving to Node #0,0 Current State: 93:[97, 78, 33], Operations: ['93-60=33'] Exploring Operation: 97-33=64, Resulting Numbers: [78, 64] Generated Node #0,0,0: 93:[78, 64] Operation: 97-33=64 Exploring Operation: 78+33=111, Resulting Numbers: [97, 111] Generated Node #0,0,1: 93:[97, 111] Operation: 78+33=111 Exploring Operation: 78-33=45, Resulting Numbers: [97, 45] Generated Node #0,0,2: 93:[97, 45] Operation: 78-33=45 Exploring Operation: 97-78=19, Resulting Numbers: [33, 19] Generated Node #0,0,3: 93:[33, 19] Operation: 97-78=19 Moving to Node #0,2 Current State: 93:[60, 93, 19], Operations: ['97-78=19'] Exploring Operation: 93+19=112, Resulting Numbers: [60, 112] Generated Node #0,2,0: 93:[60, 112] Operation: 93+19=112 Exploring Operation: 60-19=41, Resulting Numbers: [93, 41] Generated Node #0,2,1: 93:[93, 41] Operation: 60-19=41 Exploring Operation: 93-60=33, Resulting Numbers: [19, 33] Generated Node #0,2,2: 93:[19, 33] Operation: 93-60=33 Exploring Operation: 60+19=79, Resulting Numbers: [93, 79] Generated Node #0,2,3: 93:[93, 79] Operation: 60+19=79 Moving to Node #0,1,2 Current State: 93:[93, 41], Operations: ['97-60=37', '78-37=41'] Exploring Operation: 93*41=3813, Resulting Numbers: [3813] 3813,93 unequal: No Solution Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 93+41=134, Resulting Numbers: [134] 134,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[93, 41], Operations: ['97-78=19', '60-19=41'] Exploring Operation: 93+41=134, Resulting Numbers: [134] 134,93 unequal: No Solution Exploring Operation: 93*41=3813, Resulting Numbers: [3813] 3813,93 unequal: No Solution Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[19, 33], Operations: ['97-78=19', '93-60=33'] Exploring Operation: 19+33=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 19*33=627, Resulting Numbers: [627] 627,93 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[93, 79], Operations: ['97-78=19', '60+19=79'] Exploring Operation: 93-79=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 93*79=7347, Resulting Numbers: [7347] 7347,93 unequal: No Solution Exploring Operation: 93+79=172, Resulting Numbers: [172] 172,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[18, 4], Operations: ['78-60=18', '97-93=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[93, 79], Operations: ['78-60=18', '97-18=79'] Exploring Operation: 93-79=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 93*79=7347, Resulting Numbers: [7347] 7347,93 unequal: No Solution Exploring Operation: 93+79=172, Resulting Numbers: [172] 172,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[33, 19], Operations: ['93-60=33', '97-78=19'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 33*19=627, Resulting Numbers: [627] 627,93 unequal: No Solution Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[37, 15], Operations: ['97-60=37', '93-78=15'] Exploring Operation: 37*15=555, Resulting Numbers: [555] 555,93 unequal: No Solution Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 37+15=52, Resulting Numbers: [52] 52,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[97, 45], Operations: ['93-60=33', '78-33=45'] Exploring Operation: 97+45=142, Resulting Numbers: [142] 142,93 unequal: No Solution Exploring Operation: 97*45=4365, Resulting Numbers: [4365] 4365,93 unequal: No Solution Exploring Operation: 97-45=52, Resulting Numbers: [52] 52,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[93, 115], Operations: ['97-60=37', '78+37=115'] Exploring Operation: 93*115=10695, Resulting Numbers: [10695] 10695,93 unequal: No Solution Exploring Operation: 115-93=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 93+115=208, Resulting Numbers: [208] 208,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[93, 115], Operations: ['78-60=18', '97+18=115'] Exploring Operation: 115-93=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 93+115=208, Resulting Numbers: [208] 208,93 unequal: No Solution Exploring Operation: 93*115=10695, Resulting Numbers: [10695] 10695,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[97, 111], Operations: ['93-60=33', '78+33=111'] Exploring Operation: 97+111=208, Resulting Numbers: [208] 208,93 unequal: No Solution Exploring Operation: 97*111=10767, Resulting Numbers: [10767] 10767,93 unequal: No Solution Exploring Operation: 111-97=14, Resulting Numbers: [14] 14,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[97, 111], Operations: ['78-60=18', '93+18=111'] Exploring Operation: 97+111=208, Resulting Numbers: [208] 208,93 unequal: No Solution Exploring Operation: 111-97=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 97*111=10767, Resulting Numbers: [10767] 10767,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[78, 56], Operations: ['97-60=37', '93-37=56'] Exploring Operation: 78*56=4368, Resulting Numbers: [4368] 4368,93 unequal: No Solution Exploring Operation: 78+56=134, Resulting Numbers: [134] 134,93 unequal: No Solution Exploring Operation: 78-56=22, Resulting Numbers: [22] 22,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[78, 64], Operations: ['93-60=33', '97-33=64'] Exploring Operation: 78*64=4992, Resulting Numbers: [4992] 4992,93 unequal: No Solution Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 78+64=142, Resulting Numbers: [142] 142,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[60, 112], Operations: ['97-78=19', '93+19=112'] Exploring Operation: 60*112=6720, Resulting Numbers: [6720] 6720,93 unequal: No Solution Exploring Operation: 112-60=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 60+112=172, Resulting Numbers: [172] 172,93 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 94, 5, 27, 7 ]
98
[ "27-7=20", "20/5=4", "94+4=98" ]
Current State: 98:[94, 5, 27, 7], Operations: [] Exploring Operation: 27-7=20, Resulting Numbers: [94, 5, 20] Generated Node #2: [94, 5, 20] from Operation: 27-7=20 Current State: 98:[94, 5, 20], Operations: ['27-7=20'] Exploring Operation: 20/5=4, Resulting Numbers: [94, 4] Generated Node #3: [94, 4] from Operation: 20/5=4 Current State: 98:[94, 4], Operations: ['27-7=20', '20/5=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[94, 5, 27, 7], Operations: [] Exploring Operation: 7-5=2, Resulting Numbers: [94, 27, 2] Generated Node #0,0: 98:[94, 27, 2] Operation: 7-5=2 Exploring Operation: 27-7=20, Resulting Numbers: [94, 5, 20] Generated Node #0,1: 98:[94, 5, 20] Operation: 27-7=20 Exploring Operation: 27-5=22, Resulting Numbers: [94, 7, 22] Generated Node #0,2: 98:[94, 7, 22] Operation: 27-5=22 Exploring Operation: 94+5=99, Resulting Numbers: [27, 7, 99] Generated Node #0,3: 98:[27, 7, 99] Operation: 94+5=99 Moving to Node #0,1 Current State: 98:[94, 5, 20], Operations: ['27-7=20'] Exploring Operation: 5*20=100, Resulting Numbers: [94, 100] Generated Node #0,1,0: 98:[94, 100] Operation: 5*20=100 Exploring Operation: 20-5=15, Resulting Numbers: [94, 15] Generated Node #0,1,1: 98:[94, 15] Operation: 20-5=15 Exploring Operation: 20/5=4, Resulting Numbers: [94, 4] Generated Node #0,1,2: 98:[94, 4] Operation: 20/5=4 Exploring Operation: 94+5=99, Resulting Numbers: [20, 99] Generated Node #0,1,3: 98:[20, 99] Operation: 94+5=99 Moving to Node #0,2 Current State: 98:[94, 7, 22], Operations: ['27-5=22'] Exploring Operation: 94+7=101, Resulting Numbers: [22, 101] Generated Node #0,2,0: 98:[22, 101] Operation: 94+7=101 Exploring Operation: 22-7=15, Resulting Numbers: [94, 15] Generated Node #0,2,1: 98:[94, 15] Operation: 22-7=15 Exploring Operation: 94-7=87, Resulting Numbers: [22, 87] Generated Node #0,2,2: 98:[22, 87] Operation: 94-7=87 Exploring Operation: 94+22=116, Resulting Numbers: [7, 116] Generated Node #0,2,3: 98:[7, 116] Operation: 94+22=116 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 98:[94, 15], Operations: ['27-5=22', '22-7=15'] Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,98 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,98 unequal: No Solution Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[22, 101], Operations: ['27-5=22', '94+7=101'] Exploring Operation: 22+101=123, Resulting Numbers: [123] 123,98 unequal: No Solution Exploring Operation: 22*101=2222, Resulting Numbers: [2222] 2222,98 unequal: No Solution Exploring Operation: 101-22=79, Resulting Numbers: [79] 79,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 98:[7, 116], Operations: ['27-5=22', '94+22=116'] Exploring Operation: 7+116=123, Resulting Numbers: [123] 123,98 unequal: No Solution Exploring Operation: 116-7=109, Resulting Numbers: [109] 109,98 unequal: No Solution Exploring Operation: 7*116=812, Resulting Numbers: [812] 812,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 98:[22, 87], Operations: ['27-5=22', '94-7=87'] Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,98 unequal: No Solution Exploring Operation: 22+87=109, Resulting Numbers: [109] 109,98 unequal: No Solution Exploring Operation: 22*87=1914, Resulting Numbers: [1914] 1914,98 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: 98:[27, 7, 99], Operations: ['94+5=99'] Exploring Operation: 99-7=92, Resulting Numbers: [27, 92] Generated Node #0,3,0: 98:[27, 92] Operation: 99-7=92 Exploring Operation: 27+7=34, Resulting Numbers: [99, 34] Generated Node #0,3,1: 98:[99, 34] Operation: 27+7=34 Exploring Operation: 27-7=20, Resulting Numbers: [99, 20] Generated Node #0,3,2: 98:[99, 20] Operation: 27-7=20 Exploring Operation: 7+99=106, Resulting Numbers: [27, 106] Generated Node #0,3,3: 98:[27, 106] Operation: 7+99=106 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 98:[99, 20], Operations: ['94+5=99', '27-7=20'] Exploring Operation: 99+20=119, Resulting Numbers: [119] 119,98 unequal: No Solution Exploring Operation: 99*20=1980, Resulting Numbers: [1980] 1980,98 unequal: No Solution Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 98:[99, 34], Operations: ['94+5=99', '27+7=34'] Exploring Operation: 99-34=65, Resulting Numbers: [65] 65,98 unequal: No Solution Exploring Operation: 99+34=133, Resulting Numbers: [133] 133,98 unequal: No Solution Exploring Operation: 99*34=3366, Resulting Numbers: [3366] 3366,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 98:[27, 92], Operations: ['94+5=99', '99-7=92'] Exploring Operation: 27*92=2484, Resulting Numbers: [2484] 2484,98 unequal: No Solution Exploring Operation: 27+92=119, Resulting Numbers: [119] 119,98 unequal: No Solution Exploring Operation: 92-27=65, Resulting Numbers: [65] 65,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 98:[27, 106], Operations: ['94+5=99', '7+99=106'] Exploring Operation: 106-27=79, Resulting Numbers: [79] 79,98 unequal: No Solution Exploring Operation: 27+106=133, Resulting Numbers: [133] 133,98 unequal: No Solution Exploring Operation: 27*106=2862, Resulting Numbers: [2862] 2862,98 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: 98:[94, 27, 2], Operations: ['7-5=2'] Exploring Operation: 94+2=96, Resulting Numbers: [27, 96] Generated Node #0,0,0: 98:[27, 96] Operation: 94+2=96 Exploring Operation: 94/2=47, Resulting Numbers: [27, 47] Generated Node #0,0,1: 98:[27, 47] Operation: 94/2=47 Exploring Operation: 27-2=25, Resulting Numbers: [94, 25] Generated Node #0,0,2: 98:[94, 25] Operation: 27-2=25 Exploring Operation: 27*2=54, Resulting Numbers: [94, 54] Generated Node #0,0,3: 98:[94, 54] Operation: 27*2=54 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 98:[94, 54], Operations: ['7-5=2', '27*2=54'] Exploring Operation: 94*54=5076, Resulting Numbers: [5076] 5076,98 unequal: No Solution Exploring Operation: 94-54=40, Resulting Numbers: [40] 40,98 unequal: No Solution Exploring Operation: 94+54=148, Resulting Numbers: [148] 148,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[27, 96], Operations: ['7-5=2', '94+2=96'] Exploring Operation: 96-27=69, Resulting Numbers: [69] 69,98 unequal: No Solution Exploring Operation: 27+96=123, Resulting Numbers: [123] 123,98 unequal: No Solution Exploring Operation: 27*96=2592, Resulting Numbers: [2592] 2592,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[27, 47], Operations: ['7-5=2', '94/2=47'] Exploring Operation: 27*47=1269, Resulting Numbers: [1269] 1269,98 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 27+47=74, Resulting Numbers: [74] 74,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 98:[94, 25], Operations: ['7-5=2', '27-2=25'] Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,98 unequal: No Solution Exploring Operation: 94*25=2350, Resulting Numbers: [2350] 2350,98 unequal: No Solution Exploring Operation: 94+25=119, Resulting Numbers: [119] 119,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 98:[94, 15], Operations: ['27-7=20', '20-5=15'] Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,98 unequal: No Solution Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,98 unequal: No Solution Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[94, 4], Operations: ['27-7=20', '20/5=4'] Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,98 unequal: No Solution Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[94, 5, 27, 7], Operations: [] Exploring Operation: 27-7=20, Resulting Numbers: [94, 5, 20] Generated Node #0,1: 98:[94, 5, 20] Operation: 27-7=20 Moving to Node #0,1 Current State: 98:[94, 5, 20], Operations: ['27-7=20'] Exploring Operation: 20/5=4, Resulting Numbers: [94, 4] Generated Node #0,1,2: 98:[94, 4] Operation: 20/5=4 Moving to Node #0,1,2 Current State: 98:[94, 4], Operations: ['27-7=20', '20/5=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.943576
hs_4
sum_heuristic
[ 16, 45, 30, 64 ]
27
[ "16+45=61", "64-30=34", "61-34=27" ]
Current State: 27:[16, 45, 30, 64], Operations: [] Exploring Operation: 16+45=61, Resulting Numbers: [30, 64, 61] Generated Node #2: [30, 64, 61] from Operation: 16+45=61 Current State: 27:[30, 64, 61], Operations: ['16+45=61'] Exploring Operation: 64-30=34, Resulting Numbers: [61, 34] Generated Node #3: [61, 34] from Operation: 64-30=34 Current State: 27:[61, 34], Operations: ['16+45=61', '64-30=34'] Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[16, 45, 30, 64], Operations: [] Exploring Operation: 64-30=34, Resulting Numbers: [16, 45, 34] Generated Node #0,0: 27:[16, 45, 34] Operation: 64-30=34 Exploring Operation: 64/16=4, Resulting Numbers: [45, 30, 4] Generated Node #0,1: 27:[45, 30, 4] Operation: 64/16=4 Exploring Operation: 64-45=19, Resulting Numbers: [16, 30, 19] Generated Node #0,2: 27:[16, 30, 19] Operation: 64-45=19 Moving to Node #0,2 Current State: 27:[16, 30, 19], Operations: ['64-45=19'] Exploring Operation: 30-19=11, Resulting Numbers: [16, 11] Generated Node #0,2,0: 27:[16, 11] Operation: 30-19=11 Exploring Operation: 16+19=35, Resulting Numbers: [30, 35] Generated Node #0,2,1: 27:[30, 35] Operation: 16+19=35 Exploring Operation: 19-16=3, Resulting Numbers: [30, 3] Generated Node #0,2,2: 27:[30, 3] Operation: 19-16=3 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[30, 3], Operations: ['64-45=19', '19-16=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[16, 45, 30, 64], Operations: [] Exploring Operation: 64-45=19, Resulting Numbers: [16, 30, 19] Generated Node #0,2: 27:[16, 30, 19] Operation: 64-45=19 Moving to Node #0,2 Current State: 27:[16, 30, 19], Operations: ['64-45=19'] Exploring Operation: 19-16=3, Resulting Numbers: [30, 3] Generated Node #0,2,2: 27:[30, 3] Operation: 19-16=3 Moving to Node #0,2,2 Current State: 27:[30, 3], Operations: ['64-45=19', '19-16=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 2, 45, 5, 80 ]
17
[ "80/2=40", "45+40=85", "85/5=17" ]
Current State: 17:[2, 45, 5, 80], Operations: [] Exploring Operation: 80/2=40, Resulting Numbers: [45, 5, 40] Generated Node #2: [45, 5, 40] from Operation: 80/2=40 Current State: 17:[45, 5, 40], Operations: ['80/2=40'] Exploring Operation: 45+40=85, Resulting Numbers: [5, 85] Generated Node #3: [5, 85] from Operation: 45+40=85 Current State: 17:[5, 85], Operations: ['80/2=40', '45+40=85'] Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[2, 45, 5, 80], Operations: [] Exploring Operation: 45/5=9, Resulting Numbers: [2, 80, 9] Generated Node #0,0: 17:[2, 80, 9] Operation: 45/5=9 Exploring Operation: 80-45=35, Resulting Numbers: [2, 5, 35] Generated Node #0,1: 17:[2, 5, 35] Operation: 80-45=35 Exploring Operation: 80/5=16, Resulting Numbers: [2, 45, 16] Generated Node #0,2: 17:[2, 45, 16] Operation: 80/5=16 Exploring Operation: 2*5=10, Resulting Numbers: [45, 80, 10] Generated Node #0,3: 17:[45, 80, 10] Operation: 2*5=10 Exploring Operation: 80/2=40, Resulting Numbers: [45, 5, 40] Generated Node #0,4: 17:[45, 5, 40] Operation: 80/2=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[2, 45, 16], Operations: ['80/5=16'] Exploring Operation: 2+45=47, Resulting Numbers: [16, 47] Generated Node #0,2,0: 17:[16, 47] Operation: 2+45=47 Exploring Operation: 45-16=29, Resulting Numbers: [2, 29] Generated Node #0,2,1: 17:[2, 29] Operation: 45-16=29 Exploring Operation: 45-2=43, Resulting Numbers: [16, 43] Generated Node #0,2,2: 17:[16, 43] Operation: 45-2=43 Exploring Operation: 2+16=18, Resulting Numbers: [45, 18] Generated Node #0,2,3: 17:[45, 18] Operation: 2+16=18 Exploring Operation: 16-2=14, Resulting Numbers: [45, 14] Generated Node #0,2,4: 17:[45, 14] Operation: 16-2=14 Moving to Node #0,2,1 Current State: 17:[2, 29], Operations: ['80/5=16', '45-16=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[16, 43], Operations: ['80/5=16', '45-2=43'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 16*43=688, Resulting Numbers: [688] 688,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[45, 18], Operations: ['80/5=16', '2+16=18'] Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,17 unequal: No Solution Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,17 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[16, 47], Operations: ['80/5=16', '2+45=47'] Exploring Operation: 16*47=752, Resulting Numbers: [752] 752,17 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 16+47=63, Resulting Numbers: [63] 63,17 unequal: No Solution Moving to Node #0,2,4 Current State: 17:[45, 14], Operations: ['80/5=16', '16-2=14'] Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 45*14=630, Resulting Numbers: [630] 630,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 Current State: 17:[2, 5, 35], Operations: ['80-45=35'] Exploring Operation: 2+5=7, Resulting Numbers: [35, 7] Generated Node #0,1,0: 17:[35, 7] Operation: 2+5=7 Exploring Operation: 35-2=33, Resulting Numbers: [5, 33] Generated Node #0,1,1: 17:[5, 33] Operation: 35-2=33 Exploring Operation: 2*5=10, Resulting Numbers: [35, 10] Generated Node #0,1,2: 17:[35, 10] Operation: 2*5=10 Exploring Operation: 35-5=30, Resulting Numbers: [2, 30] Generated Node #0,1,3: 17:[2, 30] Operation: 35-5=30 Exploring Operation: 35/5=7, Resulting Numbers: [2, 7] Generated Node #0,1,4: 17:[2, 7] Operation: 35/5=7 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 17:[35, 10], Operations: ['80-45=35', '2*5=10'] Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,17 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 17:[2, 7], Operations: ['80-45=35', '35/5=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 17:[35, 7], Operations: ['80-45=35', '2+5=7'] Exploring Operation: 35*7=245, Resulting Numbers: [245] 245,17 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[5, 33], Operations: ['80-45=35', '35-2=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,17 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 17:[2, 30], Operations: ['80-45=35', '35-5=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,17 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: 17:[45, 5, 40], Operations: ['80/2=40'] Exploring Operation: 40/5=8, Resulting Numbers: [45, 8] Generated Node #0,4,0: 17:[45, 8] Operation: 40/5=8 Exploring Operation: 45-40=5, Resulting Numbers: [5, 5] Generated Node #0,4,1: 17:[5, 5] Operation: 45-40=5 Exploring Operation: 45-5=40, Resulting Numbers: [40, 40] Generated Node #0,4,2: 17:[40, 40] Operation: 45-5=40 Exploring Operation: 40-5=35, Resulting Numbers: [45, 35] Generated Node #0,4,3: 17:[45, 35] Operation: 40-5=35 Exploring Operation: 45/5=9, Resulting Numbers: [40, 9] Generated Node #0,4,4: 17:[40, 9] Operation: 45/5=9 Moving to Node #0,4,1 Current State: 17:[5, 5], Operations: ['80/2=40', '45-40=5'] Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,17 unequal: No Solution Moving to Node #0,4,4 Current State: 17:[40, 9], Operations: ['80/2=40', '45/5=9'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 40+9=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 40*9=360, Resulting Numbers: [360] 360,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[45, 8], Operations: ['80/2=40', '40/5=8'] Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,17 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[40, 40], Operations: ['80/2=40', '45-5=40'] Exploring Operation: 40*40=1600, Resulting Numbers: [1600] 1600,17 unequal: No Solution Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 40-40=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 40/40=1, Resulting Numbers: [1] 1,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[45, 35], Operations: ['80/2=40', '40-5=35'] Exploring Operation: 45+35=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 45*35=1575, Resulting Numbers: [1575] 1575,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 Current State: 17:[2, 80, 9], Operations: ['45/5=9'] Exploring Operation: 2+9=11, Resulting Numbers: [80, 11] Generated Node #0,0,0: 17:[80, 11] Operation: 2+9=11 Exploring Operation: 2*9=18, Resulting Numbers: [80, 18] Generated Node #0,0,1: 17:[80, 18] Operation: 2*9=18 Exploring Operation: 80/2=40, Resulting Numbers: [9, 40] Generated Node #0,0,2: 17:[9, 40] Operation: 80/2=40 Exploring Operation: 80-9=71, Resulting Numbers: [2, 71] Generated Node #0,0,3: 17:[2, 71] Operation: 80-9=71 Exploring Operation: 80-2=78, Resulting Numbers: [9, 78] Generated Node #0,0,4: 17:[9, 78] Operation: 80-2=78 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 17:[9, 40], Operations: ['45/5=9', '80/2=40'] Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,17 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[80, 18], Operations: ['45/5=9', '2*9=18'] Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,17 unequal: No Solution Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,17 unequal: No Solution Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[80, 11], Operations: ['45/5=9', '2+9=11'] Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,17 unequal: No Solution Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,17 unequal: No Solution Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 17:[2, 71], Operations: ['45/5=9', '80-9=71'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,17 unequal: No Solution Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,17 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 17:[9, 78], Operations: ['45/5=9', '80-2=78'] Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,17 unequal: No Solution Exploring Operation: 9+78=87, Resulting Numbers: [87] 87,17 unequal: No Solution Exploring Operation: 9*78=702, Resulting Numbers: [702] 702,17 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: 17:[45, 80, 10], Operations: ['2*5=10'] Exploring Operation: 45-10=35, Resulting Numbers: [80, 35] Generated Node #0,3,0: 17:[80, 35] Operation: 45-10=35 Exploring Operation: 80-45=35, Resulting Numbers: [10, 35] Generated Node #0,3,1: 17:[10, 35] Operation: 80-45=35 Exploring Operation: 80/10=8, Resulting Numbers: [45, 8] Generated Node #0,3,2: 17:[45, 8] Operation: 80/10=8 Exploring Operation: 80-10=70, Resulting Numbers: [45, 70] Generated Node #0,3,3: 17:[45, 70] Operation: 80-10=70 Exploring Operation: 45+10=55, Resulting Numbers: [80, 55] Generated Node #0,3,4: 17:[80, 55] Operation: 45+10=55 Moving to Node #0,3,1 Current State: 17:[10, 35], Operations: ['2*5=10', '80-45=35'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[45, 8], Operations: ['2*5=10', '80/10=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,17 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[80, 35], Operations: ['2*5=10', '45-10=35'] Exploring Operation: 80*35=2800, Resulting Numbers: [2800] 2800,17 unequal: No Solution Exploring Operation: 80+35=115, Resulting Numbers: [115] 115,17 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[45, 70], Operations: ['2*5=10', '80-10=70'] Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,17 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,17 unequal: No Solution Moving to Node #0,3,4 Current State: 17:[80, 55], Operations: ['2*5=10', '45+10=55'] Exploring Operation: 80*55=4400, Resulting Numbers: [4400] 4400,17 unequal: No Solution Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 80+55=135, Resulting Numbers: [135] 135,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 89, 41, 23, 28 ]
79
[ "89+41=130", "23+28=51", "130-51=79" ]
Current State: 79:[89, 41, 23, 28], Operations: [] Exploring Operation: 89+41=130, Resulting Numbers: [23, 28, 130] Generated Node #2: [23, 28, 130] from Operation: 89+41=130 Current State: 79:[23, 28, 130], Operations: ['89+41=130'] Exploring Operation: 23+28=51, Resulting Numbers: [130, 51] Generated Node #3: [130, 51] from Operation: 23+28=51 Current State: 79:[130, 51], Operations: ['89+41=130', '23+28=51'] Exploring Operation: 130-51=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[89, 41, 23, 28], Operations: [] Exploring Operation: 41+23=64, Resulting Numbers: [89, 28, 64] Generated Node #0,0: 79:[89, 28, 64] Operation: 41+23=64 Exploring Operation: 41+28=69, Resulting Numbers: [89, 23, 69] Generated Node #0,1: 79:[89, 23, 69] Operation: 41+28=69 Exploring Operation: 89-23=66, Resulting Numbers: [41, 28, 66] Generated Node #0,2: 79:[41, 28, 66] Operation: 89-23=66 Exploring Operation: 23+28=51, Resulting Numbers: [89, 41, 51] Generated Node #0,3: 79:[89, 41, 51] Operation: 23+28=51 Moving to Node #0,0 Current State: 79:[89, 28, 64], Operations: ['41+23=64'] Exploring Operation: 89+28=117, Resulting Numbers: [64, 117] Generated Node #0,0,0: 79:[64, 117] Operation: 89+28=117 Exploring Operation: 89-28=61, Resulting Numbers: [64, 61] Generated Node #0,0,1: 79:[64, 61] Operation: 89-28=61 Exploring Operation: 64-28=36, Resulting Numbers: [89, 36] Generated Node #0,0,2: 79:[89, 36] Operation: 64-28=36 Exploring Operation: 28+64=92, Resulting Numbers: [89, 92] Generated Node #0,0,3: 79:[89, 92] Operation: 28+64=92 Moving to Node #0,3 Current State: 79:[89, 41, 51], Operations: ['23+28=51'] Exploring Operation: 89-51=38, Resulting Numbers: [41, 38] Generated Node #0,3,0: 79:[41, 38] Operation: 89-51=38 Exploring Operation: 41+51=92, Resulting Numbers: [89, 92] Generated Node #0,3,1: 79:[89, 92] Operation: 41+51=92 Exploring Operation: 89-41=48, Resulting Numbers: [51, 48] Generated Node #0,3,2: 79:[51, 48] Operation: 89-41=48 Exploring Operation: 89+41=130, Resulting Numbers: [51, 130] Generated Node #0,3,3: 79:[51, 130] Operation: 89+41=130 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 79:[89, 92], Operations: ['23+28=51', '41+51=92'] Exploring Operation: 89+92=181, Resulting Numbers: [181] 181,79 unequal: No Solution Exploring Operation: 92-89=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 89*92=8188, Resulting Numbers: [8188] 8188,79 unequal: No Solution No 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: 79:[51, 48], Operations: ['23+28=51', '89-41=48'] Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,79 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[41, 38], Operations: ['23+28=51', '89-51=38'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[89, 41, 23, 28], Operations: [] Exploring Operation: 23+28=51, Resulting Numbers: [89, 41, 51] Generated Node #0,3: 79:[89, 41, 51] Operation: 23+28=51 Moving to Node #0,3 Current State: 79:[89, 41, 51], Operations: ['23+28=51'] Exploring Operation: 89-51=38, Resulting Numbers: [41, 38] Generated Node #0,3,0: 79:[41, 38] Operation: 89-51=38 Moving to Node #0,3,0 Current State: 79:[41, 38], Operations: ['23+28=51', '89-51=38'] Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 77, 10, 35, 77 ]
46
[ "77/77=1", "10+35=45", "1+45=46" ]
Current State: 46:[77, 10, 35, 77], Operations: [] Exploring Operation: 77/77=1, Resulting Numbers: [10, 35, 1] Generated Node #2: [10, 35, 1] from Operation: 77/77=1 Current State: 46:[10, 35, 1], Operations: ['77/77=1'] Exploring Operation: 10+35=45, Resulting Numbers: [1, 45] Generated Node #3: [1, 45] from Operation: 10+35=45 Current State: 46:[1, 45], Operations: ['77/77=1', '10+35=45'] Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[77, 10, 35, 77], Operations: [] Exploring Operation: 77/77=1, Resulting Numbers: [10, 35, 1] Generated Node #0,0: 46:[10, 35, 1] Operation: 77/77=1 Exploring Operation: 77-77=0, Resulting Numbers: [10, 35, 0] Generated Node #0,1: 46:[10, 35, 0] Operation: 77-77=0 Exploring Operation: 77-35=42, Resulting Numbers: [10, 77, 42] Generated Node #0,2: 46:[10, 77, 42] Operation: 77-35=42 Moving to Node #0,0 Current State: 46:[10, 35, 1], Operations: ['77/77=1'] Exploring Operation: 10-1=9, Resulting Numbers: [35, 9] Generated Node #0,0,0: 46:[35, 9] Operation: 10-1=9 Exploring Operation: 10+35=45, Resulting Numbers: [1, 45] Generated Node #0,0,1: 46:[1, 45] Operation: 10+35=45 Exploring Operation: 35-10=25, Resulting Numbers: [1, 25] Generated Node #0,0,2: 46:[1, 25] Operation: 35-10=25 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[1, 45], Operations: ['77/77=1', '10+35=45'] Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[77, 10, 35, 77], Operations: [] Exploring Operation: 77/77=1, Resulting Numbers: [10, 35, 1] Generated Node #0,0: 46:[10, 35, 1] Operation: 77/77=1 Moving to Node #0,0 Current State: 46:[10, 35, 1], Operations: ['77/77=1'] Exploring Operation: 10+35=45, Resulting Numbers: [1, 45] Generated Node #0,0,1: 46:[1, 45] Operation: 10+35=45 Moving to Node #0,0,1 Current State: 46:[1, 45], Operations: ['77/77=1', '10+35=45'] Exploring Operation: 1+45=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 5, 8, 53, 59 ]
50
[ "53-8=45", "45/5=9", "59-9=50" ]
Current State: 50:[5, 8, 53, 59], Operations: [] Exploring Operation: 53-8=45, Resulting Numbers: [5, 59, 45] Generated Node #2: [5, 59, 45] from Operation: 53-8=45 Current State: 50:[5, 59, 45], Operations: ['53-8=45'] Exploring Operation: 45/5=9, Resulting Numbers: [59, 9] Generated Node #3: [59, 9] from Operation: 45/5=9 Current State: 50:[59, 9], Operations: ['53-8=45', '45/5=9'] Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[5, 8, 53, 59], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [5, 8, 6] Generated Node #0,0: 50:[5, 8, 6] Operation: 59-53=6 Exploring Operation: 59-5=54, Resulting Numbers: [8, 53, 54] Generated Node #0,1: 50:[8, 53, 54] Operation: 59-5=54 Exploring Operation: 59-8=51, Resulting Numbers: [5, 53, 51] Generated Node #0,2: 50:[5, 53, 51] Operation: 59-8=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[5, 8, 6], Operations: ['59-53=6'] Exploring Operation: 8-5=3, Resulting Numbers: [6, 3] Generated Node #0,0,0: 50:[6, 3] Operation: 8-5=3 Exploring Operation: 8-6=2, Resulting Numbers: [5, 2] Generated Node #0,0,1: 50:[5, 2] Operation: 8-6=2 Exploring Operation: 8*6=48, Resulting Numbers: [5, 48] Generated Node #0,0,2: 50:[5, 48] Operation: 8*6=48 Moving to Node #0,0,1 Current State: 50:[5, 2], Operations: ['59-53=6', '8-6=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,50 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,50 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[6, 3], Operations: ['59-53=6', '8-5=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[5, 48], Operations: ['59-53=6', '8*6=48'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,50 unequal: No Solution Exploring Operation: 5+48=53, Resulting Numbers: [53] 53,50 unequal: No Solution Exploring Operation: 5*48=240, Resulting Numbers: [240] 240,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[5, 53, 51], Operations: ['59-8=51'] Exploring Operation: 53-51=2, Resulting Numbers: [5, 2] Generated Node #0,2,0: 50:[5, 2] Operation: 53-51=2 Exploring Operation: 51-5=46, Resulting Numbers: [53, 46] Generated Node #0,2,1: 50:[53, 46] Operation: 51-5=46 Exploring Operation: 53-5=48, Resulting Numbers: [51, 48] Generated Node #0,2,2: 50:[51, 48] Operation: 53-5=48 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 50:[5, 2], Operations: ['59-8=51', '53-51=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,50 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,50 unequal: No Solution No 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: 50:[51, 48], Operations: ['59-8=51', '53-5=48'] Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,50 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,50 unequal: No Solution No 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: 50:[53, 46], Operations: ['59-8=51', '51-5=46'] Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,50 unequal: No Solution Exploring Operation: 53*46=2438, Resulting Numbers: [2438] 2438,50 unequal: No Solution Exploring Operation: 53+46=99, Resulting Numbers: [99] 99,50 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: 50:[8, 53, 54], Operations: ['59-5=54'] Exploring Operation: 54-53=1, Resulting Numbers: [8, 1] Generated Node #0,1,0: 50:[8, 1] Operation: 54-53=1 Exploring Operation: 54-8=46, Resulting Numbers: [53, 46] Generated Node #0,1,1: 50:[53, 46] Operation: 54-8=46 Exploring Operation: 53-8=45, Resulting Numbers: [54, 45] Generated Node #0,1,2: 50:[54, 45] Operation: 53-8=45 Moving to Node #0,1,0 Current State: 50:[8, 1], Operations: ['59-5=54', '54-53=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,50 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[53, 46], Operations: ['59-5=54', '54-8=46'] Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,50 unequal: No Solution Exploring Operation: 53*46=2438, Resulting Numbers: [2438] 2438,50 unequal: No Solution Exploring Operation: 53+46=99, Resulting Numbers: [99] 99,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[54, 45], Operations: ['59-5=54', '53-8=45'] Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 54*45=2430, Resulting Numbers: [2430] 2430,50 unequal: No Solution Exploring Operation: 54+45=99, Resulting Numbers: [99] 99,50 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
[ 68, 60, 38, 85 ]
83
[ "68-38=30", "60/30=2", "85-2=83" ]
Current State: 83:[68, 60, 38, 85], Operations: [] Exploring Operation: 68-38=30, Resulting Numbers: [60, 85, 30] Generated Node #2: [60, 85, 30] from Operation: 68-38=30 Current State: 83:[60, 85, 30], Operations: ['68-38=30'] Exploring Operation: 60/30=2, Resulting Numbers: [85, 2] Generated Node #3: [85, 2] from Operation: 60/30=2 Current State: 83:[85, 2], Operations: ['68-38=30', '60/30=2'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[68, 60, 38, 85], Operations: [] Exploring Operation: 60+38=98, Resulting Numbers: [68, 85, 98] Generated Node #0,0: 83:[68, 85, 98] Operation: 60+38=98 Exploring Operation: 85-38=47, Resulting Numbers: [68, 60, 47] Generated Node #0,1: 83:[68, 60, 47] Operation: 85-38=47 Exploring Operation: 68-38=30, Resulting Numbers: [60, 85, 30] Generated Node #0,2: 83:[60, 85, 30] Operation: 68-38=30 Exploring Operation: 68+38=106, Resulting Numbers: [60, 85, 106] Generated Node #0,3: 83:[60, 85, 106] Operation: 68+38=106 Moving to Node #0,0 Current State: 83:[68, 85, 98], Operations: ['60+38=98'] Exploring Operation: 85-68=17, Resulting Numbers: [98, 17] Generated Node #0,0,0: 83:[98, 17] Operation: 85-68=17 Exploring Operation: 68+85=153, Resulting Numbers: [98, 153] Generated Node #0,0,1: 83:[98, 153] Operation: 68+85=153 Exploring Operation: 68+98=166, Resulting Numbers: [85, 166] Generated Node #0,0,2: 83:[85, 166] Operation: 68+98=166 Exploring Operation: 98-68=30, Resulting Numbers: [85, 30] Generated Node #0,0,3: 83:[85, 30] Operation: 98-68=30 Moving to Node #0,3 Current State: 83:[60, 85, 106], Operations: ['68+38=106'] Exploring Operation: 85-60=25, Resulting Numbers: [106, 25] Generated Node #0,3,0: 83:[106, 25] Operation: 85-60=25 Exploring Operation: 60+106=166, Resulting Numbers: [85, 166] Generated Node #0,3,1: 83:[85, 166] Operation: 60+106=166 Exploring Operation: 60+85=145, Resulting Numbers: [106, 145] Generated Node #0,3,2: 83:[106, 145] Operation: 60+85=145 Exploring Operation: 106-60=46, Resulting Numbers: [85, 46] Generated Node #0,3,3: 83:[85, 46] Operation: 106-60=46 Moving to Node #0,1 Current State: 83:[68, 60, 47], Operations: ['85-38=47'] Exploring Operation: 68+60=128, Resulting Numbers: [47, 128] Generated Node #0,1,0: 83:[47, 128] Operation: 68+60=128 Exploring Operation: 68+47=115, Resulting Numbers: [60, 115] Generated Node #0,1,1: 83:[60, 115] Operation: 68+47=115 Exploring Operation: 68-47=21, Resulting Numbers: [60, 21] Generated Node #0,1,2: 83:[60, 21] Operation: 68-47=21 Exploring Operation: 60+47=107, Resulting Numbers: [68, 107] Generated Node #0,1,3: 83:[68, 107] Operation: 60+47=107 Moving to Node #0,2 Current State: 83:[60, 85, 30], Operations: ['68-38=30'] Exploring Operation: 85+30=115, Resulting Numbers: [60, 115] Generated Node #0,2,0: 83:[60, 115] Operation: 85+30=115 Exploring Operation: 60-30=30, Resulting Numbers: [85, 30] Generated Node #0,2,1: 83:[85, 30] Operation: 60-30=30 Exploring Operation: 85-30=55, Resulting Numbers: [60, 55] Generated Node #0,2,2: 83:[60, 55] Operation: 85-30=55 Exploring Operation: 60+30=90, Resulting Numbers: [85, 90] Generated Node #0,2,3: 83:[85, 90] Operation: 60+30=90 Moving to Node #0,2,3 Current State: 83:[85, 90], Operations: ['68-38=30', '60+30=90'] Exploring Operation: 90-85=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 85*90=7650, Resulting Numbers: [7650] 7650,83 unequal: No Solution Exploring Operation: 85+90=175, Resulting Numbers: [175] 175,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[85, 46], Operations: ['68+38=106', '106-60=46'] Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 85+46=131, Resulting Numbers: [131] 131,83 unequal: No Solution Exploring Operation: 85*46=3910, Resulting Numbers: [3910] 3910,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[68, 107], Operations: ['85-38=47', '60+47=107'] Exploring Operation: 68*107=7276, Resulting Numbers: [7276] 7276,83 unequal: No Solution Exploring Operation: 68+107=175, Resulting Numbers: [175] 175,83 unequal: No Solution Exploring Operation: 107-68=39, Resulting Numbers: [39] 39,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[60, 55], Operations: ['68-38=30', '85-30=55'] Exploring Operation: 60+55=115, Resulting Numbers: [115] 115,83 unequal: No Solution Exploring Operation: 60*55=3300, Resulting Numbers: [3300] 3300,83 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[60, 115], Operations: ['68-38=30', '85+30=115'] Exploring Operation: 115-60=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 60+115=175, Resulting Numbers: [175] 175,83 unequal: No Solution Exploring Operation: 60*115=6900, Resulting Numbers: [6900] 6900,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[60, 115], Operations: ['85-38=47', '68+47=115'] Exploring Operation: 60+115=175, Resulting Numbers: [175] 175,83 unequal: No Solution Exploring Operation: 115-60=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 60*115=6900, Resulting Numbers: [6900] 6900,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[85, 30], Operations: ['60+38=98', '98-68=30'] Exploring Operation: 85*30=2550, Resulting Numbers: [2550] 2550,83 unequal: No Solution Exploring Operation: 85+30=115, Resulting Numbers: [115] 115,83 unequal: No Solution Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[85, 30], Operations: ['68-38=30', '60-30=30'] Exploring Operation: 85*30=2550, Resulting Numbers: [2550] 2550,83 unequal: No Solution Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 85+30=115, Resulting Numbers: [115] 115,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[106, 25], Operations: ['68+38=106', '85-60=25'] Exploring Operation: 106+25=131, Resulting Numbers: [131] 131,83 unequal: No Solution Exploring Operation: 106-25=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 106*25=2650, Resulting Numbers: [2650] 2650,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[47, 128], Operations: ['85-38=47', '68+60=128'] Exploring Operation: 47+128=175, Resulting Numbers: [175] 175,83 unequal: No Solution Exploring Operation: 128-47=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 47*128=6016, Resulting Numbers: [6016] 6016,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[98, 17], Operations: ['60+38=98', '85-68=17'] Exploring Operation: 98+17=115, Resulting Numbers: [115] 115,83 unequal: No Solution Exploring Operation: 98*17=1666, Resulting Numbers: [1666] 1666,83 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[85, 166], Operations: ['68+38=106', '60+106=166'] Exploring Operation: 166-85=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 85*166=14110, Resulting Numbers: [14110] 14110,83 unequal: No Solution Exploring Operation: 85+166=251, Resulting Numbers: [251] 251,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[60, 21], Operations: ['85-38=47', '68-47=21'] Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,83 unequal: No Solution Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[106, 145], Operations: ['68+38=106', '60+85=145'] Exploring Operation: 106*145=15370, Resulting Numbers: [15370] 15370,83 unequal: No Solution Exploring Operation: 106+145=251, Resulting Numbers: [251] 251,83 unequal: No Solution Exploring Operation: 145-106=39, Resulting Numbers: [39] 39,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[98, 153], Operations: ['60+38=98', '68+85=153'] Exploring Operation: 98+153=251, Resulting Numbers: [251] 251,83 unequal: No Solution Exploring Operation: 153-98=55, Resulting Numbers: [55] 55,83 unequal: No Solution Exploring Operation: 98*153=14994, Resulting Numbers: [14994] 14994,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[85, 166], Operations: ['60+38=98', '68+98=166'] Exploring Operation: 166-85=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 85*166=14110, Resulting Numbers: [14110] 14110,83 unequal: No Solution Exploring Operation: 85+166=251, Resulting Numbers: [251] 251,83 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 41, 5, 10, 39 ]
37
[ "10/5=2", "39*2=78", "78-41=37" ]
Current State: 37:[41, 5, 10, 39], Operations: [] Exploring Operation: 10/5=2, Resulting Numbers: [41, 39, 2] Generated Node #2: [41, 39, 2] from Operation: 10/5=2 Current State: 37:[41, 39, 2], Operations: ['10/5=2'] Exploring Operation: 39*2=78, Resulting Numbers: [41, 78] Generated Node #3: [41, 78] from Operation: 39*2=78 Current State: 37:[41, 78], Operations: ['10/5=2', '39*2=78'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[41, 5, 10, 39], Operations: [] Exploring Operation: 5+10=15, Resulting Numbers: [41, 39, 15] Generated Node #0,0: 37:[41, 39, 15] Operation: 5+10=15 Exploring Operation: 41-5=36, Resulting Numbers: [10, 39, 36] Generated Node #0,1: 37:[10, 39, 36] Operation: 41-5=36 Exploring Operation: 5*10=50, Resulting Numbers: [41, 39, 50] Generated Node #0,2: 37:[41, 39, 50] Operation: 5*10=50 Moving to Node #0,2 Current State: 37:[41, 39, 50], Operations: ['5*10=50'] Exploring Operation: 41-39=2, Resulting Numbers: [50, 2] Generated Node #0,2,0: 37:[50, 2] Operation: 41-39=2 Exploring Operation: 50-39=11, Resulting Numbers: [41, 11] Generated Node #0,2,1: 37:[41, 11] Operation: 50-39=11 Exploring Operation: 50-41=9, Resulting Numbers: [39, 9] Generated Node #0,2,2: 37:[39, 9] Operation: 50-41=9 Moving to Node #0,0 Current State: 37:[41, 39, 15], Operations: ['5+10=15'] Exploring Operation: 41+15=56, Resulting Numbers: [39, 56] Generated Node #0,0,0: 37:[39, 56] Operation: 41+15=56 Exploring Operation: 39-15=24, Resulting Numbers: [41, 24] Generated Node #0,0,1: 37:[41, 24] Operation: 39-15=24 Exploring Operation: 41-15=26, Resulting Numbers: [39, 26] Generated Node #0,0,2: 37:[39, 26] Operation: 41-15=26 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[39, 26], Operations: ['5+10=15', '41-15=26'] Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,37 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,37 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[41, 24], Operations: ['5+10=15', '39-15=24'] Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,37 unequal: No Solution Exploring Operation: 41*24=984, Resulting Numbers: [984] 984,37 unequal: No Solution Exploring Operation: 41+24=65, Resulting Numbers: [65] 65,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[39, 56], Operations: ['5+10=15', '41+15=56'] Exploring Operation: 39+56=95, Resulting Numbers: [95] 95,37 unequal: No Solution Exploring Operation: 39*56=2184, Resulting Numbers: [2184] 2184,37 unequal: No Solution Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,37 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: 37:[10, 39, 36], Operations: ['41-5=36'] Exploring Operation: 10+39=49, Resulting Numbers: [36, 49] Generated Node #0,1,0: 37:[36, 49] Operation: 10+39=49 Exploring Operation: 10+36=46, Resulting Numbers: [39, 46] Generated Node #0,1,1: 37:[39, 46] Operation: 10+36=46 Exploring Operation: 39-10=29, Resulting Numbers: [36, 29] Generated Node #0,1,2: 37:[36, 29] Operation: 39-10=29 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 37:[36, 29], Operations: ['41-5=36', '39-10=29'] Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 36*29=1044, Resulting Numbers: [1044] 1044,37 unequal: No Solution Exploring Operation: 36+29=65, Resulting Numbers: [65] 65,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,1,1 Current State: 37:[39, 46], Operations: ['41-5=36', '10+36=46'] Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 39*46=1794, Resulting Numbers: [1794] 1794,37 unequal: No Solution Exploring Operation: 39+46=85, Resulting Numbers: [85] 85,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,1,0 Current State: 37:[36, 49], Operations: ['41-5=36', '10+39=49'] Exploring Operation: 36+49=85, Resulting Numbers: [85] 85,37 unequal: No Solution Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 36*49=1764, Resulting Numbers: [1764] 1764,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 37:[41, 11], Operations: ['5*10=50', '50-39=11'] Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,37 unequal: No Solution Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[39, 9], Operations: ['5*10=50', '50-41=9'] Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 39*9=351, Resulting Numbers: [351] 351,37 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[50, 2], Operations: ['5*10=50', '41-39=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,37 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 5, 1, 20, 70 ]
31
[ "5*20=100", "70-1=69", "100-69=31" ]
Current State: 31:[5, 1, 20, 70], Operations: [] Exploring Operation: 5*20=100, Resulting Numbers: [1, 70, 100] Generated Node #2: [1, 70, 100] from Operation: 5*20=100 Current State: 31:[1, 70, 100], Operations: ['5*20=100'] Exploring Operation: 70-1=69, Resulting Numbers: [100, 69] Generated Node #3: [100, 69] from Operation: 70-1=69 Current State: 31:[100, 69], Operations: ['5*20=100', '70-1=69'] Exploring Operation: 100-69=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[5, 1, 20, 70], Operations: [] Exploring Operation: 5+20=25, Resulting Numbers: [1, 70, 25] Generated Node #0,0: 31:[1, 70, 25] Operation: 5+20=25 Exploring Operation: 70/5=14, Resulting Numbers: [1, 20, 14] Generated Node #0,1: 31:[1, 20, 14] Operation: 70/5=14 Exploring Operation: 5+1=6, Resulting Numbers: [20, 70, 6] Generated Node #0,2: 31:[20, 70, 6] Operation: 5+1=6 Moving to Node #0,1 Current State: 31:[1, 20, 14], Operations: ['70/5=14'] Exploring Operation: 1*20=20, Resulting Numbers: [14, 20] Generated Node #0,1,0: 31:[14, 20] Operation: 1*20=20 Exploring Operation: 1+14=15, Resulting Numbers: [20, 15] Generated Node #0,1,1: 31:[20, 15] Operation: 1+14=15 Exploring Operation: 1+20=21, Resulting Numbers: [14, 21] Generated Node #0,1,2: 31:[14, 21] Operation: 1+20=21 Moving to Node #0,0 Current State: 31:[1, 70, 25], Operations: ['5+20=25'] Exploring Operation: 1+25=26, Resulting Numbers: [70, 26] Generated Node #0,0,0: 31:[70, 26] Operation: 1+25=26 Exploring Operation: 70-25=45, Resulting Numbers: [1, 45] Generated Node #0,0,1: 31:[1, 45] Operation: 70-25=45 Exploring Operation: 70-1=69, Resulting Numbers: [25, 69] Generated Node #0,0,2: 31:[25, 69] Operation: 70-1=69 Moving to Node #0,2 Current State: 31:[20, 70, 6], Operations: ['5+1=6'] Exploring Operation: 20+6=26, Resulting Numbers: [70, 26] Generated Node #0,2,0: 31:[70, 26] Operation: 20+6=26 Exploring Operation: 70-20=50, Resulting Numbers: [6, 50] Generated Node #0,2,1: 31:[6, 50] Operation: 70-20=50 Exploring Operation: 70-6=64, Resulting Numbers: [20, 64] Generated Node #0,2,2: 31:[20, 64] Operation: 70-6=64 Moving to Node #0,1,1 Current State: 31:[20, 15], Operations: ['70/5=14', '1+14=15'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 20*15=300, Resulting Numbers: [300] 300,31 unequal: No Solution Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[14, 21], Operations: ['70/5=14', '1+20=21'] Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,31 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[14, 20], Operations: ['70/5=14', '1*20=20'] Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 14*20=280, Resulting Numbers: [280] 280,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[70, 26], Operations: ['5+1=6', '20+6=26'] Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,31 unequal: No Solution Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,31 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[25, 69], Operations: ['5+20=25', '70-1=69'] Exploring Operation: 25*69=1725, Resulting Numbers: [1725] 1725,31 unequal: No Solution Exploring Operation: 25+69=94, Resulting Numbers: [94] 94,31 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[6, 50], Operations: ['5+1=6', '70-20=50'] Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,31 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[20, 64], Operations: ['5+1=6', '70-6=64'] Exploring Operation: 20*64=1280, Resulting Numbers: [1280] 1280,31 unequal: No Solution Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,31 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[1, 45], Operations: ['5+20=25', '70-25=45'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,31 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 1*45=45, Resulting Numbers: [45] 45,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[70, 26], Operations: ['5+20=25', '1+25=26'] Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,31 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,31 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 70, 26, 12, 22 ]
37
[ "70*12=840", "840-26=814", "814/22=37" ]
Current State: 37:[70, 26, 12, 22], Operations: [] Exploring Operation: 70*12=840, Resulting Numbers: [26, 22, 840] Generated Node #2: [26, 22, 840] from Operation: 70*12=840 Current State: 37:[26, 22, 840], Operations: ['70*12=840'] Exploring Operation: 840-26=814, Resulting Numbers: [22, 814] Generated Node #3: [22, 814] from Operation: 840-26=814 Current State: 37:[22, 814], Operations: ['70*12=840', '840-26=814'] Exploring Operation: 814/22=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[70, 26, 12, 22], Operations: [] Exploring Operation: 70-26=44, Resulting Numbers: [12, 22, 44] Generated Node #0,0: 37:[12, 22, 44] Operation: 70-26=44 Exploring Operation: 70-12=58, Resulting Numbers: [26, 22, 58] Generated Node #0,1: 37:[26, 22, 58] Operation: 70-12=58 Exploring Operation: 70-22=48, Resulting Numbers: [26, 12, 48] Generated Node #0,2: 37:[26, 12, 48] Operation: 70-22=48 Exploring Operation: 12+22=34, Resulting Numbers: [70, 26, 34] Generated Node #0,3: 37:[70, 26, 34] Operation: 12+22=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[12, 22, 44], Operations: ['70-26=44'] Exploring Operation: 22-12=10, Resulting Numbers: [44, 10] Generated Node #0,0,0: 37:[44, 10] Operation: 22-12=10 Exploring Operation: 12+22=34, Resulting Numbers: [44, 34] Generated Node #0,0,1: 37:[44, 34] Operation: 12+22=34 Exploring Operation: 44-12=32, Resulting Numbers: [22, 32] Generated Node #0,0,2: 37:[22, 32] Operation: 44-12=32 Exploring Operation: 12+44=56, Resulting Numbers: [22, 56] Generated Node #0,0,3: 37:[22, 56] Operation: 12+44=56 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[44, 34], Operations: ['70-26=44', '12+22=34'] Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,37 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,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:[22, 32], Operations: ['70-26=44', '44-12=32'] Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 22+32=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 22*32=704, Resulting Numbers: [704] 704,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:[44, 10], Operations: ['70-26=44', '22-12=10'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,37 unequal: No Solution Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,37 unequal: No Solution Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,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,3 Current State: 37:[22, 56], Operations: ['70-26=44', '12+44=56'] Exploring Operation: 22*56=1232, Resulting Numbers: [1232] 1232,37 unequal: No Solution Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,37 unequal: No Solution Exploring Operation: 22+56=78, Resulting Numbers: [78] 78,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:[26, 22, 58], Operations: ['70-12=58'] Exploring Operation: 58-22=36, Resulting Numbers: [26, 36] Generated Node #0,1,0: 37:[26, 36] Operation: 58-22=36 Exploring Operation: 26+22=48, Resulting Numbers: [58, 48] Generated Node #0,1,1: 37:[58, 48] Operation: 26+22=48 Exploring Operation: 58-26=32, Resulting Numbers: [22, 32] Generated Node #0,1,2: 37:[22, 32] Operation: 58-26=32 Exploring Operation: 26-22=4, Resulting Numbers: [58, 4] Generated Node #0,1,3: 37:[58, 4] Operation: 26-22=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[26, 36], Operations: ['70-12=58', '58-22=36'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,37 unequal: No Solution Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,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:[22, 32], Operations: ['70-12=58', '58-26=32'] Exploring Operation: 22+32=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 22*32=704, Resulting Numbers: [704] 704,37 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,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,1 Current State: 37:[58, 48], Operations: ['70-12=58', '26+22=48'] Exploring Operation: 58*48=2784, Resulting Numbers: [2784] 2784,37 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 58+48=106, Resulting Numbers: [106] 106,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:[58, 4], Operations: ['70-12=58', '26-22=4'] Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,37 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,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:[26, 12, 48], Operations: ['70-22=48'] Exploring Operation: 26-12=14, Resulting Numbers: [48, 14] Generated Node #0,2,0: 37:[48, 14] Operation: 26-12=14 Exploring Operation: 48-12=36, Resulting Numbers: [26, 36] Generated Node #0,2,1: 37:[26, 36] Operation: 48-12=36 Exploring Operation: 26+12=38, Resulting Numbers: [48, 38] Generated Node #0,2,2: 37:[48, 38] Operation: 26+12=38 Exploring Operation: 12+48=60, Resulting Numbers: [26, 60] Generated Node #0,2,3: 37:[26, 60] Operation: 12+48=60 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[26, 36], Operations: ['70-22=48', '48-12=36'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,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, 38], Operations: ['70-22=48', '26+12=38'] Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 48+38=86, Resulting Numbers: [86] 86,37 unequal: No Solution Exploring Operation: 48*38=1824, Resulting Numbers: [1824] 1824,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:[48, 14], Operations: ['70-22=48', '26-12=14'] Exploring Operation: 48+14=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 48*14=672, Resulting Numbers: [672] 672,37 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,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:[26, 60], Operations: ['70-22=48', '12+48=60'] Exploring Operation: 26*60=1560, Resulting Numbers: [1560] 1560,37 unequal: No Solution Exploring Operation: 26+60=86, Resulting Numbers: [86] 86,37 unequal: No Solution Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,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,3 Current State: 37:[70, 26, 34], Operations: ['12+22=34'] Exploring Operation: 70-26=44, Resulting Numbers: [34, 44] Generated Node #0,3,0: 37:[34, 44] Operation: 70-26=44 Exploring Operation: 70+26=96, Resulting Numbers: [34, 96] Generated Node #0,3,1: 37:[34, 96] Operation: 70+26=96 Exploring Operation: 26+34=60, Resulting Numbers: [70, 60] Generated Node #0,3,2: 37:[70, 60] Operation: 26+34=60 Exploring Operation: 70-34=36, Resulting Numbers: [26, 36] Generated Node #0,3,3: 37:[26, 36] Operation: 70-34=36 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 37:[34, 44], Operations: ['12+22=34', '70-26=44'] Exploring Operation: 34+44=78, Resulting Numbers: [78] 78,37 unequal: No Solution Exploring Operation: 34*44=1496, Resulting Numbers: [1496] 1496,37 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,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:[26, 36], Operations: ['12+22=34', '70-34=36'] Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,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:[70, 60], Operations: ['12+22=34', '26+34=60'] Exploring Operation: 70-60=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 70*60=4200, Resulting Numbers: [4200] 4200,37 unequal: No Solution Exploring Operation: 70+60=130, Resulting Numbers: [130] 130,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,1 Current State: 37:[34, 96], Operations: ['12+22=34', '70+26=96'] Exploring Operation: 34+96=130, Resulting Numbers: [130] 130,37 unequal: No Solution Exploring Operation: 96-34=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 34*96=3264, Resulting Numbers: [3264] 3264,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_4
sum_heuristic
[ 95, 86, 2, 94 ]
76
[ "95-86=9", "2*9=18", "94-18=76" ]
Current State: 76:[95, 86, 2, 94], Operations: [] Exploring Operation: 95-86=9, Resulting Numbers: [2, 94, 9] Generated Node #2: [2, 94, 9] from Operation: 95-86=9 Current State: 76:[2, 94, 9], Operations: ['95-86=9'] Exploring Operation: 2*9=18, Resulting Numbers: [94, 18] Generated Node #3: [94, 18] from Operation: 2*9=18 Current State: 76:[94, 18], Operations: ['95-86=9', '2*9=18'] Exploring Operation: 94-18=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[95, 86, 2, 94], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [95, 94, 43] Generated Node #0,0: 76:[95, 94, 43] Operation: 86/2=43 Exploring Operation: 95-94=1, Resulting Numbers: [86, 2, 1] Generated Node #0,1: 76:[86, 2, 1] Operation: 95-94=1 Exploring Operation: 95-86=9, Resulting Numbers: [2, 94, 9] Generated Node #0,2: 76:[2, 94, 9] Operation: 95-86=9 Exploring Operation: 94/2=47, Resulting Numbers: [95, 86, 47] Generated Node #0,3: 76:[95, 86, 47] Operation: 94/2=47 Exploring Operation: 94-86=8, Resulting Numbers: [95, 2, 8] Generated Node #0,4: 76:[95, 2, 8] Operation: 94-86=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[86, 2, 1], Operations: ['95-94=1'] Exploring Operation: 86-2=84, Resulting Numbers: [1, 84] Generated Node #0,1,0: 76:[1, 84] Operation: 86-2=84 Exploring Operation: 86/2=43, Resulting Numbers: [1, 43] Generated Node #0,1,1: 76:[1, 43] Operation: 86/2=43 Exploring Operation: 86/1=86, Resulting Numbers: [2, 86] Generated Node #0,1,2: 76:[2, 86] Operation: 86/1=86 Exploring Operation: 86*1=86, Resulting Numbers: [2, 86] Generated Node #0,1,3: 76:[2, 86] Operation: 86*1=86 Exploring Operation: 86-1=85, Resulting Numbers: [2, 85] Generated Node #0,1,4: 76:[2, 85] Operation: 86-1=85 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[1, 43], Operations: ['95-94=1', '86/2=43'] Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 1*43=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 1+43=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,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:[1, 84], Operations: ['95-94=1', '86-2=84'] Exploring Operation: 1*84=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 1+84=85, Resulting Numbers: [85] 85,76 unequal: No Solution Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,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:[2, 85], Operations: ['95-94=1', '86-1=85'] Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,76 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,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:[2, 86], Operations: ['95-94=1', '86/1=86'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,76 unequal: No Solution Exploring Operation: 2*86=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,3 Current State: 76:[2, 86], Operations: ['95-94=1', '86*1=86'] Exploring Operation: 2*86=172, Resulting Numbers: [172] 172,76 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,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:[2, 94, 9], Operations: ['95-86=9'] Exploring Operation: 94-9=85, Resulting Numbers: [2, 85] Generated Node #0,2,0: 76:[2, 85] Operation: 94-9=85 Exploring Operation: 2*9=18, Resulting Numbers: [94, 18] Generated Node #0,2,1: 76:[94, 18] Operation: 2*9=18 Exploring Operation: 94/2=47, Resulting Numbers: [9, 47] Generated Node #0,2,2: 76:[9, 47] Operation: 94/2=47 Exploring Operation: 9-2=7, Resulting Numbers: [94, 7] Generated Node #0,2,3: 76:[94, 7] Operation: 9-2=7 Exploring Operation: 94-2=92, Resulting Numbers: [9, 92] Generated Node #0,2,4: 76:[9, 92] Operation: 94-2=92 Moving to Node #0,2,0 Current State: 76:[2, 85], Operations: ['95-86=9', '94-9=85'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,76 unequal: No Solution Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[9, 47], Operations: ['95-86=9', '94/2=47'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 9*47=423, Resulting Numbers: [423] 423,76 unequal: No Solution Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[94, 18], Operations: ['95-86=9', '2*9=18'] Exploring Operation: 94-18=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[95, 86, 2, 94], Operations: [] Exploring Operation: 95-86=9, Resulting Numbers: [2, 94, 9] Generated Node #0,2: 76:[2, 94, 9] Operation: 95-86=9 Moving to Node #0,2 Current State: 76:[2, 94, 9], Operations: ['95-86=9'] Exploring Operation: 2*9=18, Resulting Numbers: [94, 18] Generated Node #0,2,1: 76:[94, 18] Operation: 2*9=18 Moving to Node #0,2,1 Current State: 76:[94, 18], Operations: ['95-86=9', '2*9=18'] Exploring Operation: 94-18=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
sum_heuristic
[ 65, 60, 53, 78 ]
91
[ "78-65=13", "60-53=7", "13*7=91" ]
Current State: 91:[65, 60, 53, 78], Operations: [] Exploring Operation: 78-65=13, Resulting Numbers: [60, 53, 13] Generated Node #2: [60, 53, 13] from Operation: 78-65=13 Current State: 91:[60, 53, 13], Operations: ['78-65=13'] Exploring Operation: 60-53=7, Resulting Numbers: [13, 7] Generated Node #3: [13, 7] from Operation: 60-53=7 Current State: 91:[13, 7], Operations: ['78-65=13', '60-53=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[65, 60, 53, 78], Operations: [] Exploring Operation: 65-53=12, Resulting Numbers: [60, 78, 12] Generated Node #0,0: 91:[60, 78, 12] Operation: 65-53=12 Exploring Operation: 60-53=7, Resulting Numbers: [65, 78, 7] Generated Node #0,1: 91:[65, 78, 7] Operation: 60-53=7 Moving to Node #0,1 Current State: 91:[65, 78, 7], Operations: ['60-53=7'] Exploring Operation: 65+7=72, Resulting Numbers: [78, 72] Generated Node #0,1,0: 91:[78, 72] Operation: 65+7=72 Exploring Operation: 78-65=13, Resulting Numbers: [7, 13] Generated Node #0,1,1: 91:[7, 13] Operation: 78-65=13 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[7, 13], Operations: ['60-53=7', '78-65=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[65, 60, 53, 78], Operations: [] Exploring Operation: 60-53=7, Resulting Numbers: [65, 78, 7] Generated Node #0,1: 91:[65, 78, 7] Operation: 60-53=7 Moving to Node #0,1 Current State: 91:[65, 78, 7], Operations: ['60-53=7'] Exploring Operation: 78-65=13, Resulting Numbers: [7, 13] Generated Node #0,1,1: 91:[7, 13] Operation: 78-65=13 Moving to Node #0,1,1 Current State: 91:[7, 13], Operations: ['60-53=7', '78-65=13'] Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 46, 59, 33, 48 ]
52
[ "48-46=2", "59-33=26", "2*26=52" ]
Current State: 52:[46, 59, 33, 48], Operations: [] Exploring Operation: 48-46=2, Resulting Numbers: [59, 33, 2] Generated Node #2: [59, 33, 2] from Operation: 48-46=2 Current State: 52:[59, 33, 2], Operations: ['48-46=2'] Exploring Operation: 59-33=26, Resulting Numbers: [2, 26] Generated Node #3: [2, 26] from Operation: 59-33=26 Current State: 52:[2, 26], Operations: ['48-46=2', '59-33=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[46, 59, 33, 48], Operations: [] Exploring Operation: 59-33=26, Resulting Numbers: [46, 48, 26] Generated Node #0,0: 52:[46, 48, 26] Operation: 59-33=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[46, 48, 26], Operations: ['59-33=26'] Exploring Operation: 48-46=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 52:[26, 2] Operation: 48-46=2 Moving to Node #0,0,0 Current State: 52:[26, 2], Operations: ['59-33=26', '48-46=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[46, 59, 33, 48], Operations: [] Exploring Operation: 59-33=26, Resulting Numbers: [46, 48, 26] Generated Node #0,0: 52:[46, 48, 26] Operation: 59-33=26 Moving to Node #0,0 Current State: 52:[46, 48, 26], Operations: ['59-33=26'] Exploring Operation: 48-46=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 52:[26, 2] Operation: 48-46=2 Moving to Node #0,0,0 Current State: 52:[26, 2], Operations: ['59-33=26', '48-46=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 61, 49, 8, 51 ]
11
[ "61*8=488", "51+488=539", "539/49=11" ]
Current State: 11:[61, 49, 8, 51], Operations: [] Exploring Operation: 61*8=488, Resulting Numbers: [49, 51, 488] Generated Node #2: [49, 51, 488] from Operation: 61*8=488 Current State: 11:[49, 51, 488], Operations: ['61*8=488'] Exploring Operation: 51+488=539, Resulting Numbers: [49, 539] Generated Node #3: [49, 539] from Operation: 51+488=539 Current State: 11:[49, 539], Operations: ['61*8=488', '51+488=539'] Exploring Operation: 539/49=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[61, 49, 8, 51], Operations: [] Exploring Operation: 61-8=53, Resulting Numbers: [49, 51, 53] Generated Node #0,0: 11:[49, 51, 53] Operation: 61-8=53 Exploring Operation: 51-49=2, Resulting Numbers: [61, 8, 2] Generated Node #0,1: 11:[61, 8, 2] Operation: 51-49=2 Exploring Operation: 61-51=10, Resulting Numbers: [49, 8, 10] Generated Node #0,2: 11:[49, 8, 10] Operation: 61-51=10 Exploring Operation: 61-49=12, Resulting Numbers: [8, 51, 12] Generated Node #0,3: 11:[8, 51, 12] Operation: 61-49=12 Moving to Node #0,2 Current State: 11:[49, 8, 10], Operations: ['61-51=10'] Exploring Operation: 8+10=18, Resulting Numbers: [49, 18] Generated Node #0,2,0: 11:[49, 18] Operation: 8+10=18 Exploring Operation: 49-8=41, Resulting Numbers: [10, 41] Generated Node #0,2,1: 11:[10, 41] Operation: 49-8=41 Exploring Operation: 49-10=39, Resulting Numbers: [8, 39] Generated Node #0,2,2: 11:[8, 39] Operation: 49-10=39 Exploring Operation: 49+8=57, Resulting Numbers: [10, 57] Generated Node #0,2,3: 11:[10, 57] Operation: 49+8=57 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[10, 41], Operations: ['61-51=10', '49-8=41'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 10*41=410, Resulting Numbers: [410] 410,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 11:[8, 39], Operations: ['61-51=10', '49-10=39'] Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,11 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 39-8=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,2,0 Current State: 11:[49, 18], Operations: ['61-51=10', '8+10=18'] Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,11 unequal: No Solution Exploring Operation: 49-18=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,2,3 Current State: 11:[10, 57], Operations: ['61-51=10', '49+8=57'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 10*57=570, Resulting Numbers: [570] 570,11 unequal: No Solution Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,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:[8, 51, 12], Operations: ['61-49=12'] Exploring Operation: 51-12=39, Resulting Numbers: [8, 39] Generated Node #0,3,0: 11:[8, 39] Operation: 51-12=39 Exploring Operation: 12-8=4, Resulting Numbers: [51, 4] Generated Node #0,3,1: 11:[51, 4] Operation: 12-8=4 Exploring Operation: 8+51=59, Resulting Numbers: [12, 59] Generated Node #0,3,2: 11:[12, 59] Operation: 8+51=59 Exploring Operation: 51-8=43, Resulting Numbers: [12, 43] Generated Node #0,3,3: 11:[12, 43] Operation: 51-8=43 Moving to Node #0,1 Current State: 11:[61, 8, 2], Operations: ['51-49=2'] Exploring Operation: 61-2=59, Resulting Numbers: [8, 59] Generated Node #0,1,0: 11:[8, 59] Operation: 61-2=59 Exploring Operation: 61-8=53, Resulting Numbers: [2, 53] Generated Node #0,1,1: 11:[2, 53] Operation: 61-8=53 Exploring Operation: 8+2=10, Resulting Numbers: [61, 10] Generated Node #0,1,2: 11:[61, 10] Operation: 8+2=10 Exploring Operation: 61+2=63, Resulting Numbers: [8, 63] Generated Node #0,1,3: 11:[8, 63] Operation: 61+2=63 Moving to Node #0,0 Current State: 11:[49, 51, 53], Operations: ['61-8=53'] Exploring Operation: 53-51=2, Resulting Numbers: [49, 2] Generated Node #0,0,0: 11:[49, 2] Operation: 53-51=2 Exploring Operation: 51-49=2, Resulting Numbers: [53, 2] Generated Node #0,0,1: 11:[53, 2] Operation: 51-49=2 Exploring Operation: 49+51=100, Resulting Numbers: [53, 100] Generated Node #0,0,2: 11:[53, 100] Operation: 49+51=100 Exploring Operation: 53-49=4, Resulting Numbers: [51, 4] Generated Node #0,0,3: 11:[51, 4] Operation: 53-49=4 Moving to Node #0,3,0 Current State: 11:[8, 39], Operations: ['61-49=12', '51-12=39'] Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,11 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[12, 43], Operations: ['61-49=12', '51-8=43'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 12+43=55, Resulting Numbers: [55] 55,11 unequal: No Solution Exploring Operation: 12*43=516, Resulting Numbers: [516] 516,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[51, 4], Operations: ['61-49=12', '12-8=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,11 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,11 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[51, 4], Operations: ['61-8=53', '53-49=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,11 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,11 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[49, 2], Operations: ['61-8=53', '53-51=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[12, 59], Operations: ['61-49=12', '8+51=59'] Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 12*59=708, Resulting Numbers: [708] 708,11 unequal: No Solution Exploring Operation: 12+59=71, Resulting Numbers: [71] 71,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[61, 10], Operations: ['51-49=2', '8+2=10'] Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,11 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 61*10=610, Resulting Numbers: [610] 610,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[2, 53], Operations: ['51-49=2', '61-8=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,11 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[53, 2], Operations: ['61-8=53', '51-49=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,11 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[8, 59], Operations: ['51-49=2', '61-2=59'] Exploring Operation: 8+59=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 8*59=472, Resulting Numbers: [472] 472,11 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[8, 63], Operations: ['51-49=2', '61+2=63'] Exploring Operation: 8*63=504, Resulting Numbers: [504] 504,11 unequal: No Solution Exploring Operation: 8+63=71, Resulting Numbers: [71] 71,11 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[53, 100], Operations: ['61-8=53', '49+51=100'] Exploring Operation: 100-53=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 53+100=153, Resulting Numbers: [153] 153,11 unequal: No Solution Exploring Operation: 53*100=5300, Resulting Numbers: [5300] 5300,11 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 64, 71, 22, 17 ]
87
[ "64*22=1408", "71+1408=1479", "1479/17=87" ]
Current State: 87:[64, 71, 22, 17], Operations: [] Exploring Operation: 64*22=1408, Resulting Numbers: [71, 17, 1408] Generated Node #2: [71, 17, 1408] from Operation: 64*22=1408 Current State: 87:[71, 17, 1408], Operations: ['64*22=1408'] Exploring Operation: 71+1408=1479, Resulting Numbers: [17, 1479] Generated Node #3: [17, 1479] from Operation: 71+1408=1479 Current State: 87:[17, 1479], Operations: ['64*22=1408', '71+1408=1479'] Exploring Operation: 1479/17=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[64, 71, 22, 17], Operations: [] Exploring Operation: 71-64=7, Resulting Numbers: [22, 17, 7] Generated Node #0,0: 87:[22, 17, 7] Operation: 71-64=7 Exploring Operation: 64+22=86, Resulting Numbers: [71, 17, 86] Generated Node #0,1: 87:[71, 17, 86] Operation: 64+22=86 Moving to Node #0,0 Current State: 87:[22, 17, 7], Operations: ['71-64=7'] Exploring Operation: 22+7=29, Resulting Numbers: [17, 29] Generated Node #0,0,0: 87:[17, 29] Operation: 22+7=29 Exploring Operation: 22-17=5, Resulting Numbers: [7, 5] Generated Node #0,0,1: 87:[7, 5] Operation: 22-17=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[7, 5], Operations: ['71-64=7', '22-17=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,87 unequal: No Solution No 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: 87:[17, 29], Operations: ['71-64=7', '22+7=29'] Exploring Operation: 17+29=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,87 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: 87:[71, 17, 86], Operations: ['64+22=86'] Exploring Operation: 71+17=88, Resulting Numbers: [86, 88] Generated Node #0,1,0: 87:[86, 88] Operation: 71+17=88 Exploring Operation: 86-71=15, Resulting Numbers: [17, 15] Generated Node #0,1,1: 87:[17, 15] Operation: 86-71=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[86, 88], Operations: ['64+22=86', '71+17=88'] Exploring Operation: 86+88=174, Resulting Numbers: [174] 174,87 unequal: No Solution Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,87 unequal: No Solution No 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: 87:[17, 15], Operations: ['64+22=86', '86-71=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,87 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
[ 90, 16, 27, 32 ]
36
[ "32/16=2", "27*2=54", "90-54=36" ]
Current State: 36:[90, 16, 27, 32], Operations: [] Exploring Operation: 32/16=2, Resulting Numbers: [90, 27, 2] Generated Node #2: [90, 27, 2] from Operation: 32/16=2 Current State: 36:[90, 27, 2], Operations: ['32/16=2'] Exploring Operation: 27*2=54, Resulting Numbers: [90, 54] Generated Node #3: [90, 54] from Operation: 27*2=54 Current State: 36:[90, 54], Operations: ['32/16=2', '27*2=54'] Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[90, 16, 27, 32], Operations: [] Exploring Operation: 90-27=63, Resulting Numbers: [16, 32, 63] Generated Node #0,0: 36:[16, 32, 63] Operation: 90-27=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[16, 32, 63], Operations: ['90-27=63'] Exploring Operation: 63-32=31, Resulting Numbers: [16, 31] Generated Node #0,0,0: 36:[16, 31] Operation: 63-32=31 Moving to Node #0,0,0 Current State: 36:[16, 31], Operations: ['90-27=63', '63-32=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,36 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
[ 28, 33, 85, 54 ]
92
[ "28+33=61", "85-54=31", "61+31=92" ]
Current State: 92:[28, 33, 85, 54], Operations: [] Exploring Operation: 28+33=61, Resulting Numbers: [85, 54, 61] Generated Node #2: [85, 54, 61] from Operation: 28+33=61 Current State: 92:[85, 54, 61], Operations: ['28+33=61'] Exploring Operation: 85-54=31, Resulting Numbers: [61, 31] Generated Node #3: [61, 31] from Operation: 85-54=31 Current State: 92:[61, 31], Operations: ['28+33=61', '85-54=31'] Exploring Operation: 61+31=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[28, 33, 85, 54], Operations: [] Exploring Operation: 54-33=21, Resulting Numbers: [28, 85, 21] Generated Node #0,0: 92:[28, 85, 21] Operation: 54-33=21 Exploring Operation: 33-28=5, Resulting Numbers: [85, 54, 5] Generated Node #0,1: 92:[85, 54, 5] Operation: 33-28=5 Exploring Operation: 33+54=87, Resulting Numbers: [28, 85, 87] Generated Node #0,2: 92:[28, 85, 87] Operation: 33+54=87 Moving to Node #0,0 Current State: 92:[28, 85, 21], Operations: ['54-33=21'] Exploring Operation: 85-28=57, Resulting Numbers: [21, 57] Generated Node #0,0,0: 92:[21, 57] Operation: 85-28=57 Exploring Operation: 28+21=49, Resulting Numbers: [85, 49] Generated Node #0,0,1: 92:[85, 49] Operation: 28+21=49 Exploring Operation: 28-21=7, Resulting Numbers: [85, 7] Generated Node #0,0,2: 92:[85, 7] Operation: 28-21=7 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[85, 49], Operations: ['54-33=21', '28+21=49'] Exploring Operation: 85+49=134, Resulting Numbers: [134] 134,92 unequal: No Solution Exploring Operation: 85-49=36, Resulting Numbers: [36] 36,92 unequal: No Solution Exploring Operation: 85*49=4165, Resulting Numbers: [4165] 4165,92 unequal: No Solution No 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: 92:[85, 7], Operations: ['54-33=21', '28-21=7'] Exploring Operation: 85*7=595, Resulting Numbers: [595] 595,92 unequal: No Solution Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,92 unequal: No Solution Exploring Operation: 85+7=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[28, 33, 85, 54], Operations: [] Exploring Operation: 54-33=21, Resulting Numbers: [28, 85, 21] Generated Node #0,0: 92:[28, 85, 21] Operation: 54-33=21 Moving to Node #0,0 Current State: 92:[28, 85, 21], Operations: ['54-33=21'] Exploring Operation: 28-21=7, Resulting Numbers: [85, 7] Generated Node #0,0,2: 92:[85, 7] Operation: 28-21=7 Moving to Node #0,0,2 Current State: 92:[85, 7], Operations: ['54-33=21', '28-21=7'] Exploring Operation: 85+7=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 80, 6, 1, 9 ]
35
[ "6-1=5", "9*5=45", "80-45=35" ]
Current State: 35:[80, 6, 1, 9], Operations: [] Exploring Operation: 6-1=5, Resulting Numbers: [80, 9, 5] Generated Node #2: [80, 9, 5] from Operation: 6-1=5 Current State: 35:[80, 9, 5], Operations: ['6-1=5'] Exploring Operation: 9*5=45, Resulting Numbers: [80, 45] Generated Node #3: [80, 45] from Operation: 9*5=45 Current State: 35:[80, 45], Operations: ['6-1=5', '9*5=45'] Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[80, 6, 1, 9], Operations: [] Exploring Operation: 80-6=74, Resulting Numbers: [1, 9, 74] Generated Node #0,0: 35:[1, 9, 74] Operation: 80-6=74 Exploring Operation: 80-9=71, Resulting Numbers: [6, 1, 71] Generated Node #0,1: 35:[6, 1, 71] Operation: 80-9=71 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[6, 1, 71], Operations: ['80-9=71'] Exploring Operation: 6+1=7, Resulting Numbers: [71, 7] Generated Node #0,1,0: 35:[71, 7] Operation: 6+1=7 Exploring Operation: 71-6=65, Resulting Numbers: [1, 65] Generated Node #0,1,1: 35:[1, 65] Operation: 71-6=65 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[1, 65], Operations: ['80-9=71', '71-6=65'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 1*65=65, Resulting Numbers: [65] 65,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:[71, 7], Operations: ['80-9=71', '6+1=7'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 71+7=78, Resulting Numbers: [78] 78,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:[1, 9, 74], Operations: ['80-6=74'] Exploring Operation: 9-1=8, Resulting Numbers: [74, 8] Generated Node #0,0,0: 35:[74, 8] Operation: 9-1=8 Exploring Operation: 74-9=65, Resulting Numbers: [1, 65] Generated Node #0,0,1: 35:[1, 65] Operation: 74-9=65 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[1, 65], Operations: ['80-6=74', '74-9=65'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 1*65=65, Resulting Numbers: [65] 65,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[74, 8], Operations: ['80-6=74', '9-1=8'] Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,35 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 69, 71, 89, 66 ]
56
[ "71-69=2", "66/2=33", "89-33=56" ]
Current State: 56:[69, 71, 89, 66], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [89, 66, 2] Generated Node #2: [89, 66, 2] from Operation: 71-69=2 Current State: 56:[89, 66, 2], Operations: ['71-69=2'] Exploring Operation: 66/2=33, Resulting Numbers: [89, 33] Generated Node #3: [89, 33] from Operation: 66/2=33 Current State: 56:[89, 33], Operations: ['71-69=2', '66/2=33'] Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[69, 71, 89, 66], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [69, 66, 18] Generated Node #0,0: 56:[69, 66, 18] Operation: 89-71=18 Exploring Operation: 71-69=2, Resulting Numbers: [89, 66, 2] Generated Node #0,1: 56:[89, 66, 2] Operation: 71-69=2 Exploring Operation: 89-66=23, Resulting Numbers: [69, 71, 23] Generated Node #0,2: 56:[69, 71, 23] Operation: 89-66=23 Exploring Operation: 71-66=5, Resulting Numbers: [69, 89, 5] Generated Node #0,3: 56:[69, 89, 5] Operation: 71-66=5 Exploring Operation: 89-69=20, Resulting Numbers: [71, 66, 20] Generated Node #0,4: 56:[71, 66, 20] Operation: 89-69=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[69, 66, 18], Operations: ['89-71=18'] Exploring Operation: 69+18=87, Resulting Numbers: [66, 87] Generated Node #0,0,0: 56:[66, 87] Operation: 69+18=87 Exploring Operation: 69-66=3, Resulting Numbers: [18, 3] Generated Node #0,0,1: 56:[18, 3] Operation: 69-66=3 Exploring Operation: 66+18=84, Resulting Numbers: [69, 84] Generated Node #0,0,2: 56:[69, 84] Operation: 66+18=84 Exploring Operation: 66-18=48, Resulting Numbers: [69, 48] Generated Node #0,0,3: 56:[69, 48] Operation: 66-18=48 Exploring Operation: 69-18=51, Resulting Numbers: [66, 51] Generated Node #0,0,4: 56:[66, 51] Operation: 69-18=51 Moving to Node #0,0,1 Current State: 56:[18, 3], Operations: ['89-71=18', '69-66=3'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,56 unequal: No Solution Moving to Node #0,0,4 Current State: 56:[66, 51], Operations: ['89-71=18', '69-18=51'] Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 66+51=117, Resulting Numbers: [117] 117,56 unequal: No Solution Exploring Operation: 66*51=3366, Resulting Numbers: [3366] 3366,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[69, 48], Operations: ['89-71=18', '66-18=48'] Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,56 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[66, 87], Operations: ['89-71=18', '69+18=87'] Exploring Operation: 87-66=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 66+87=153, Resulting Numbers: [153] 153,56 unequal: No Solution Exploring Operation: 66*87=5742, Resulting Numbers: [5742] 5742,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[69, 84], Operations: ['89-71=18', '66+18=84'] Exploring Operation: 69+84=153, Resulting Numbers: [153] 153,56 unequal: No Solution Exploring Operation: 69*84=5796, Resulting Numbers: [5796] 5796,56 unequal: No Solution Exploring Operation: 84-69=15, Resulting Numbers: [15] 15,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 56:[71, 66, 20], Operations: ['89-69=20'] Exploring Operation: 71-20=51, Resulting Numbers: [66, 51] Generated Node #0,4,0: 56:[66, 51] Operation: 71-20=51 Exploring Operation: 66-20=46, Resulting Numbers: [71, 46] Generated Node #0,4,1: 56:[71, 46] Operation: 66-20=46 Exploring Operation: 66+20=86, Resulting Numbers: [71, 86] Generated Node #0,4,2: 56:[71, 86] Operation: 66+20=86 Exploring Operation: 71-66=5, Resulting Numbers: [20, 5] Generated Node #0,4,3: 56:[20, 5] Operation: 71-66=5 Exploring Operation: 71+20=91, Resulting Numbers: [66, 91] Generated Node #0,4,4: 56:[66, 91] Operation: 71+20=91 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 56:[20, 5], Operations: ['89-69=20', '71-66=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,56 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,56 unequal: No Solution No 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: 56:[66, 51], Operations: ['89-69=20', '71-20=51'] Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 66*51=3366, Resulting Numbers: [3366] 3366,56 unequal: No Solution Exploring Operation: 66+51=117, Resulting Numbers: [117] 117,56 unequal: No Solution No 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: 56:[71, 46], Operations: ['89-69=20', '66-20=46'] Exploring Operation: 71*46=3266, Resulting Numbers: [3266] 3266,56 unequal: No Solution Exploring Operation: 71+46=117, Resulting Numbers: [117] 117,56 unequal: No Solution Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 56:[71, 86], Operations: ['89-69=20', '66+20=86'] Exploring Operation: 71*86=6106, Resulting Numbers: [6106] 6106,56 unequal: No Solution Exploring Operation: 71+86=157, Resulting Numbers: [157] 157,56 unequal: No Solution Exploring Operation: 86-71=15, Resulting Numbers: [15] 15,56 unequal: No Solution No 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: 56:[66, 91], Operations: ['89-69=20', '71+20=91'] Exploring Operation: 66*91=6006, Resulting Numbers: [6006] 6006,56 unequal: No Solution Exploring Operation: 66+91=157, Resulting Numbers: [157] 157,56 unequal: No Solution Exploring Operation: 91-66=25, Resulting Numbers: [25] 25,56 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: 56:[69, 71, 23], Operations: ['89-66=23'] Exploring Operation: 71-69=2, Resulting Numbers: [23, 2] Generated Node #0,2,0: 56:[23, 2] Operation: 71-69=2 Exploring Operation: 69-23=46, Resulting Numbers: [71, 46] Generated Node #0,2,1: 56:[71, 46] Operation: 69-23=46 Exploring Operation: 69/23=3, Resulting Numbers: [71, 3] Generated Node #0,2,2: 56:[71, 3] Operation: 69/23=3 Exploring Operation: 69+23=92, Resulting Numbers: [71, 92] Generated Node #0,2,3: 56:[71, 92] Operation: 69+23=92 Exploring Operation: 71-23=48, Resulting Numbers: [69, 48] Generated Node #0,2,4: 56:[69, 48] Operation: 71-23=48 Moving to Node #0,2,0 Current State: 56:[23, 2], Operations: ['89-66=23', '71-69=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[71, 3], Operations: ['89-66=23', '69/23=3'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,56 unequal: No Solution Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,56 unequal: No Solution Exploring Operation: 71*3=213, Resulting Numbers: [213] 213,56 unequal: No Solution Moving to Node #0,2,4 Current State: 56:[69, 48], Operations: ['89-66=23', '71-23=48'] Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,56 unequal: No Solution Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,56 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[71, 46], Operations: ['89-66=23', '69-23=46'] Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 71*46=3266, Resulting Numbers: [3266] 3266,56 unequal: No Solution Exploring Operation: 71+46=117, Resulting Numbers: [117] 117,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[71, 92], Operations: ['89-66=23', '69+23=92'] Exploring Operation: 71*92=6532, Resulting Numbers: [6532] 6532,56 unequal: No Solution Exploring Operation: 71+92=163, Resulting Numbers: [163] 163,56 unequal: No Solution Exploring Operation: 92-71=21, Resulting Numbers: [21] 21,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[89, 66, 2], Operations: ['71-69=2'] Exploring Operation: 89-66=23, Resulting Numbers: [2, 23] Generated Node #0,1,0: 56:[2, 23] Operation: 89-66=23 Exploring Operation: 66-2=64, Resulting Numbers: [89, 64] Generated Node #0,1,1: 56:[89, 64] Operation: 66-2=64 Exploring Operation: 89+2=91, Resulting Numbers: [66, 91] Generated Node #0,1,2: 56:[66, 91] Operation: 89+2=91 Exploring Operation: 89-2=87, Resulting Numbers: [66, 87] Generated Node #0,1,3: 56:[66, 87] Operation: 89-2=87 Exploring Operation: 66/2=33, Resulting Numbers: [89, 33] Generated Node #0,1,4: 56:[89, 33] Operation: 66/2=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[2, 23], Operations: ['71-69=2', '89-66=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,56 unequal: No Solution No 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: 56:[89, 33], Operations: ['71-69=2', '66/2=33'] Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[69, 71, 89, 66], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [89, 66, 2] Generated Node #0,1: 56:[89, 66, 2] Operation: 71-69=2 Moving to Node #0,1 Current State: 56:[89, 66, 2], Operations: ['71-69=2'] Exploring Operation: 66/2=33, Resulting Numbers: [89, 33] Generated Node #0,1,4: 56:[89, 33] Operation: 66/2=33 Moving to Node #0,1,4 Current State: 56:[89, 33], Operations: ['71-69=2', '66/2=33'] Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.930556
hs_5
sum_heuristic
[ 56, 7, 46, 91 ]
88
[ "56-7=49", "46+91=137", "137-49=88" ]
Current State: 88:[56, 7, 46, 91], Operations: [] Exploring Operation: 56-7=49, Resulting Numbers: [46, 91, 49] Generated Node #2: [46, 91, 49] from Operation: 56-7=49 Current State: 88:[46, 91, 49], Operations: ['56-7=49'] Exploring Operation: 46+91=137, Resulting Numbers: [49, 137] Generated Node #3: [49, 137] from Operation: 46+91=137 Current State: 88:[49, 137], Operations: ['56-7=49', '46+91=137'] Exploring Operation: 137-49=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[56, 7, 46, 91], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [7, 91, 10] Generated Node #0,0: 88:[7, 91, 10] Operation: 56-46=10 Exploring Operation: 91-56=35, Resulting Numbers: [7, 46, 35] Generated Node #0,1: 88:[7, 46, 35] Operation: 91-56=35 Exploring Operation: 56-7=49, Resulting Numbers: [46, 91, 49] Generated Node #0,2: 88:[46, 91, 49] Operation: 56-7=49 Exploring Operation: 91-46=45, Resulting Numbers: [56, 7, 45] Generated Node #0,3: 88:[56, 7, 45] Operation: 91-46=45 Exploring Operation: 56/7=8, Resulting Numbers: [46, 91, 8] Generated Node #0,4: 88:[46, 91, 8] Operation: 56/7=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[7, 91, 10], Operations: ['56-46=10'] Exploring Operation: 91/7=13, Resulting Numbers: [10, 13] Generated Node #0,0,0: 88:[10, 13] Operation: 91/7=13 Exploring Operation: 91-10=81, Resulting Numbers: [7, 81] Generated Node #0,0,1: 88:[7, 81] Operation: 91-10=81 Exploring Operation: 10-7=3, Resulting Numbers: [91, 3] Generated Node #0,0,2: 88:[91, 3] Operation: 10-7=3 Exploring Operation: 91-7=84, Resulting Numbers: [10, 84] Generated Node #0,0,3: 88:[10, 84] Operation: 91-7=84 Exploring Operation: 7+10=17, Resulting Numbers: [91, 17] Generated Node #0,0,4: 88:[91, 17] Operation: 7+10=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[10, 13], Operations: ['56-46=10', '91/7=13'] Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,88 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[91, 3], Operations: ['56-46=10', '10-7=3'] Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,88 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[56, 7, 46, 91], Operations: [] Exploring Operation: 56-46=10, Resulting Numbers: [7, 91, 10] Generated Node #0,0: 88:[7, 91, 10] Operation: 56-46=10 Moving to Node #0,0 Current State: 88:[7, 91, 10], Operations: ['56-46=10'] Exploring Operation: 10-7=3, Resulting Numbers: [91, 3] Generated Node #0,0,2: 88:[91, 3] Operation: 10-7=3 Moving to Node #0,0,2 Current State: 88:[91, 3], Operations: ['56-46=10', '10-7=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 99, 8, 63, 23 ]
94
[ "63-23=40", "40/8=5", "99-5=94" ]
Current State: 94:[99, 8, 63, 23], Operations: [] Exploring Operation: 63-23=40, Resulting Numbers: [99, 8, 40] Generated Node #2: [99, 8, 40] from Operation: 63-23=40 Current State: 94:[99, 8, 40], Operations: ['63-23=40'] Exploring Operation: 40/8=5, Resulting Numbers: [99, 5] Generated Node #3: [99, 5] from Operation: 40/8=5 Current State: 94:[99, 5], Operations: ['63-23=40', '40/8=5'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[99, 8, 63, 23], Operations: [] Exploring Operation: 63-8=55, Resulting Numbers: [99, 23, 55] Generated Node #0,0: 94:[99, 23, 55] Operation: 63-8=55 Exploring Operation: 23-8=15, Resulting Numbers: [99, 63, 15] Generated Node #0,1: 94:[99, 63, 15] Operation: 23-8=15 Exploring Operation: 63-23=40, Resulting Numbers: [99, 8, 40] Generated Node #0,2: 94:[99, 8, 40] Operation: 63-23=40 Exploring Operation: 63+23=86, Resulting Numbers: [99, 8, 86] Generated Node #0,3: 94:[99, 8, 86] Operation: 63+23=86 Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[99, 8, 40], Operations: ['63-23=40'] Exploring Operation: 8+40=48, Resulting Numbers: [99, 48] Generated Node #0,2,0: 94:[99, 48] Operation: 8+40=48 Exploring Operation: 99-40=59, Resulting Numbers: [8, 59] Generated Node #0,2,1: 94:[8, 59] Operation: 99-40=59 Exploring Operation: 40/8=5, Resulting Numbers: [99, 5] Generated Node #0,2,2: 94:[99, 5] Operation: 40/8=5 Exploring Operation: 99-8=91, Resulting Numbers: [40, 91] Generated Node #0,2,3: 94:[40, 91] Operation: 99-8=91 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 94:[99, 48], Operations: ['63-23=40', '8+40=48'] Exploring Operation: 99+48=147, Resulting Numbers: [147] 147,94 unequal: No Solution Exploring Operation: 99*48=4752, Resulting Numbers: [4752] 4752,94 unequal: No Solution Exploring Operation: 99-48=51, Resulting Numbers: [51] 51,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 94:[99, 5], Operations: ['63-23=40', '40/8=5'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[99, 8, 63, 23], Operations: [] Exploring Operation: 63-23=40, Resulting Numbers: [99, 8, 40] Generated Node #0,2: 94:[99, 8, 40] Operation: 63-23=40 Moving to Node #0,2 Current State: 94:[99, 8, 40], Operations: ['63-23=40'] Exploring Operation: 40/8=5, Resulting Numbers: [99, 5] Generated Node #0,2,2: 94:[99, 5] Operation: 40/8=5 Moving to Node #0,2,2 Current State: 94:[99, 5], Operations: ['63-23=40', '40/8=5'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 90, 42, 28, 61 ]
81
[ "90-42=48", "61-28=33", "48+33=81" ]
Current State: 81:[90, 42, 28, 61], Operations: [] Exploring Operation: 90-42=48, Resulting Numbers: [28, 61, 48] Generated Node #2: [28, 61, 48] from Operation: 90-42=48 Current State: 81:[28, 61, 48], Operations: ['90-42=48'] Exploring Operation: 61-28=33, Resulting Numbers: [48, 33] Generated Node #3: [48, 33] from Operation: 61-28=33 Current State: 81:[48, 33], Operations: ['90-42=48', '61-28=33'] Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[90, 42, 28, 61], Operations: [] Exploring Operation: 61-28=33, Resulting Numbers: [90, 42, 33] Generated Node #0,0: 81:[90, 42, 33] Operation: 61-28=33 Exploring Operation: 61-42=19, Resulting Numbers: [90, 28, 19] Generated Node #0,1: 81:[90, 28, 19] Operation: 61-42=19 Exploring Operation: 90-61=29, Resulting Numbers: [42, 28, 29] Generated Node #0,2: 81:[42, 28, 29] Operation: 90-61=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[90, 28, 19], Operations: ['61-42=19'] Exploring Operation: 28-19=9, Resulting Numbers: [90, 9] Generated Node #0,1,0: 81:[90, 9] Operation: 28-19=9 Exploring Operation: 90-19=71, Resulting Numbers: [28, 71] Generated Node #0,1,1: 81:[28, 71] Operation: 90-19=71 Exploring Operation: 90-28=62, Resulting Numbers: [19, 62] Generated Node #0,1,2: 81:[19, 62] Operation: 90-28=62 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[90, 9], Operations: ['61-42=19', '28-19=9'] Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,81 unequal: No Solution Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[90, 42, 28, 61], Operations: [] Exploring Operation: 61-42=19, Resulting Numbers: [90, 28, 19] Generated Node #0,1: 81:[90, 28, 19] Operation: 61-42=19 Moving to Node #0,1 Current State: 81:[90, 28, 19], Operations: ['61-42=19'] Exploring Operation: 28-19=9, Resulting Numbers: [90, 9] Generated Node #0,1,0: 81:[90, 9] Operation: 28-19=9 Moving to Node #0,1,0 Current State: 81:[90, 9], Operations: ['61-42=19', '28-19=9'] Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 57, 9, 21, 59 ]
24
[ "59-57=2", "21-9=12", "2*12=24" ]
Current State: 24:[57, 9, 21, 59], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [9, 21, 2] Generated Node #2: [9, 21, 2] from Operation: 59-57=2 Current State: 24:[9, 21, 2], Operations: ['59-57=2'] Exploring Operation: 21-9=12, Resulting Numbers: [2, 12] Generated Node #3: [2, 12] from Operation: 21-9=12 Current State: 24:[2, 12], Operations: ['59-57=2', '21-9=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[57, 9, 21, 59], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [9, 21, 2] Generated Node #0,0: 24:[9, 21, 2] Operation: 59-57=2 Exploring Operation: 59-21=38, Resulting Numbers: [57, 9, 38] Generated Node #0,1: 24:[57, 9, 38] Operation: 59-21=38 Exploring Operation: 57-21=36, Resulting Numbers: [9, 59, 36] Generated Node #0,2: 24:[9, 59, 36] Operation: 57-21=36 Moving to Node #0,0 Current State: 24:[9, 21, 2], Operations: ['59-57=2'] Exploring Operation: 21+2=23, Resulting Numbers: [9, 23] Generated Node #0,0,0: 24:[9, 23] Operation: 21+2=23 Exploring Operation: 21-9=12, Resulting Numbers: [2, 12] Generated Node #0,0,1: 24:[2, 12] Operation: 21-9=12 Exploring Operation: 9+2=11, Resulting Numbers: [21, 11] Generated Node #0,0,2: 24:[21, 11] Operation: 9+2=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[2, 12], Operations: ['59-57=2', '21-9=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[57, 9, 21, 59], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [9, 21, 2] Generated Node #0,0: 24:[9, 21, 2] Operation: 59-57=2 Moving to Node #0,0 Current State: 24:[9, 21, 2], Operations: ['59-57=2'] Exploring Operation: 21-9=12, Resulting Numbers: [2, 12] Generated Node #0,0,1: 24:[2, 12] Operation: 21-9=12 Moving to Node #0,0,1 Current State: 24:[2, 12], Operations: ['59-57=2', '21-9=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 27, 61, 82, 34 ]
14
[ "61-27=34", "82-34=48", "48-34=14" ]
Current State: 14:[27, 61, 82, 34], Operations: [] Exploring Operation: 61-27=34, Resulting Numbers: [82, 34, 34] Generated Node #2: [82, 34, 34] from Operation: 61-27=34 Current State: 14:[82, 34, 34], Operations: ['61-27=34'] Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,14 equal: Goal Reached Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[27, 61, 82, 34], Operations: [] Exploring Operation: 82-61=21, Resulting Numbers: [27, 34, 21] Generated Node #0,0: 14:[27, 34, 21] Operation: 82-61=21 Moving to Node #0,0 Current State: 14:[27, 34, 21], Operations: ['82-61=21'] Exploring Operation: 34-27=7, Resulting Numbers: [21, 7] Generated Node #0,0,0: 14:[21, 7] Operation: 34-27=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[21, 7], Operations: ['82-61=21', '34-27=7'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[27, 61, 82, 34], Operations: [] Exploring Operation: 82-61=21, Resulting Numbers: [27, 34, 21] Generated Node #0,0: 14:[27, 34, 21] Operation: 82-61=21 Moving to Node #0,0 Current State: 14:[27, 34, 21], Operations: ['82-61=21'] Exploring Operation: 34-27=7, Resulting Numbers: [21, 7] Generated Node #0,0,0: 14:[21, 7] Operation: 34-27=7 Moving to Node #0,0,0 Current State: 14:[21, 7], Operations: ['82-61=21', '34-27=7'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 19, 64, 81, 28 ]
98
[ "64-19=45", "81-28=53", "45+53=98" ]
Current State: 98:[19, 64, 81, 28], Operations: [] Exploring Operation: 64-19=45, Resulting Numbers: [81, 28, 45] Generated Node #2: [81, 28, 45] from Operation: 64-19=45 Current State: 98:[81, 28, 45], Operations: ['64-19=45'] Exploring Operation: 81-28=53, Resulting Numbers: [45, 53] Generated Node #3: [45, 53] from Operation: 81-28=53 Current State: 98:[45, 53], Operations: ['64-19=45', '81-28=53'] Exploring Operation: 45+53=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[19, 64, 81, 28], Operations: [] Exploring Operation: 81-28=53, Resulting Numbers: [19, 64, 53] Generated Node #0,0: 98:[19, 64, 53] Operation: 81-28=53 Exploring Operation: 81-64=17, Resulting Numbers: [19, 28, 17] Generated Node #0,1: 98:[19, 28, 17] Operation: 81-64=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[19, 28, 17], Operations: ['81-64=17'] Exploring Operation: 28-19=9, Resulting Numbers: [17, 9] Generated Node #0,1,0: 98:[17, 9] Operation: 28-19=9 Exploring Operation: 19+28=47, Resulting Numbers: [17, 47] Generated Node #0,1,1: 98:[17, 47] Operation: 19+28=47 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[17, 9], Operations: ['81-64=17', '28-19=9'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[17, 47], Operations: ['81-64=17', '19+28=47'] Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,98 unequal: No Solution Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[19, 64, 53], Operations: ['81-28=53'] Exploring Operation: 64-53=11, Resulting Numbers: [19, 11] Generated Node #0,0,0: 98:[19, 11] Operation: 64-53=11 Exploring Operation: 64-19=45, Resulting Numbers: [53, 45] Generated Node #0,0,1: 98:[53, 45] Operation: 64-19=45 Moving to Node #0,0,0 Current State: 98:[19, 11], Operations: ['81-28=53', '64-53=11'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[53, 45], Operations: ['81-28=53', '64-19=45'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[19, 64, 81, 28], Operations: [] Exploring Operation: 81-28=53, Resulting Numbers: [19, 64, 53] Generated Node #0,0: 98:[19, 64, 53] Operation: 81-28=53 Moving to Node #0,0 Current State: 98:[19, 64, 53], Operations: ['81-28=53'] Exploring Operation: 64-19=45, Resulting Numbers: [53, 45] Generated Node #0,0,1: 98:[53, 45] Operation: 64-19=45 Moving to Node #0,0,1 Current State: 98:[53, 45], Operations: ['81-28=53', '64-19=45'] Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 14, 6, 3, 25 ]
69
[ "25-14=11", "6*11=66", "3+66=69" ]
Current State: 69:[14, 6, 3, 25], Operations: [] Exploring Operation: 25-14=11, Resulting Numbers: [6, 3, 11] Generated Node #2: [6, 3, 11] from Operation: 25-14=11 Current State: 69:[6, 3, 11], Operations: ['25-14=11'] Exploring Operation: 6*11=66, Resulting Numbers: [3, 66] Generated Node #3: [3, 66] from Operation: 6*11=66 Current State: 69:[3, 66], Operations: ['25-14=11', '6*11=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[14, 6, 3, 25], Operations: [] Exploring Operation: 14-6=8, Resulting Numbers: [3, 25, 8] Generated Node #0,0: 69:[3, 25, 8] Operation: 14-6=8 Exploring Operation: 14+6=20, Resulting Numbers: [3, 25, 20] Generated Node #0,1: 69:[3, 25, 20] Operation: 14+6=20 Moving to Node #0,1 Current State: 69:[3, 25, 20], Operations: ['14+6=20'] Exploring Operation: 3+20=23, Resulting Numbers: [25, 23] Generated Node #0,1,0: 69:[25, 23] Operation: 3+20=23 Exploring Operation: 25-20=5, Resulting Numbers: [3, 5] Generated Node #0,1,1: 69:[3, 5] Operation: 25-20=5 Moving to Node #0,0 Current State: 69:[3, 25, 8], Operations: ['14-6=8'] Exploring Operation: 8-3=5, Resulting Numbers: [25, 5] Generated Node #0,0,0: 69:[25, 5] Operation: 8-3=5 Exploring Operation: 3*8=24, Resulting Numbers: [25, 24] Generated Node #0,0,1: 69:[25, 24] Operation: 3*8=24 Moving to Node #0,1,0 Current State: 69:[25, 23], Operations: ['14+6=20', '3+20=23'] Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[3, 5], Operations: ['14+6=20', '25-20=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[25, 24], Operations: ['14-6=8', '3*8=24'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[25, 5], Operations: ['14-6=8', '8-3=5'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,69 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 78, 33, 78, 84 ]
39
[ "78-33=45", "84-78=6", "45-6=39" ]
Current State: 39:[78, 33, 78, 84], Operations: [] Exploring Operation: 78-33=45, Resulting Numbers: [84, 45] Generated Node #2: [84, 45] from Operation: 78-33=45 Current State: 39:[84, 45], Operations: ['78-33=45'] Exploring Operation: 84-78=6, Resulting Numbers: [45, 6] Generated Node #3: [45, 6] from Operation: 84-78=6 Current State: 39:[45, 6], Operations: ['78-33=45', '84-78=6'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[78, 33, 78, 84], Operations: [] Exploring Operation: 78-33=45, Resulting Numbers: [78, 84, 45] Generated Node #0,0: 39:[78, 84, 45] Operation: 78-33=45 Exploring Operation: 84-78=6, Resulting Numbers: [78, 33, 6] Generated Node #0,1: 39:[78, 33, 6] Operation: 84-78=6 Exploring Operation: 78/78=1, Resulting Numbers: [33, 84, 1] Generated Node #0,2: 39:[33, 84, 1] Operation: 78/78=1 Exploring Operation: 84-78=6, Resulting Numbers: [33, 78, 6] Generated Node #0,3: 39:[33, 78, 6] Operation: 84-78=6 Exploring Operation: 78-78=0, Resulting Numbers: [33, 84, 0] Generated Node #0,4: 39:[33, 84, 0] Operation: 78-78=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[78, 33, 6], Operations: ['84-78=6'] Exploring Operation: 78/6=13, Resulting Numbers: [33, 13] Generated Node #0,1,0: 39:[33, 13] Operation: 78/6=13 Exploring Operation: 78-6=72, Resulting Numbers: [33, 72] Generated Node #0,1,1: 39:[33, 72] Operation: 78-6=72 Exploring Operation: 78-33=45, Resulting Numbers: [6, 45] Generated Node #0,1,2: 39:[6, 45] Operation: 78-33=45 Exploring Operation: 78+6=84, Resulting Numbers: [33, 84] Generated Node #0,1,3: 39:[33, 84] Operation: 78+6=84 Exploring Operation: 33+6=39, Resulting Numbers: [78, 39] Generated Node #0,1,4: 39:[78, 39] Operation: 33+6=39 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[33, 13], Operations: ['84-78=6', '78/6=13'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 33*13=429, Resulting Numbers: [429] 429,39 unequal: No Solution Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 39:[6, 45], Operations: ['84-78=6', '78-33=45'] Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,39 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[78, 33, 78, 84], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [78, 33, 6] Generated Node #0,1: 39:[78, 33, 6] Operation: 84-78=6 Moving to Node #0,1 Current State: 39:[78, 33, 6], Operations: ['84-78=6'] Exploring Operation: 78-33=45, Resulting Numbers: [6, 45] Generated Node #0,1,2: 39:[6, 45] Operation: 78-33=45 Moving to Node #0,1,2 Current State: 39:[6, 45], Operations: ['84-78=6', '78-33=45'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 14, 3, 37, 24 ]
41
[ "14+37=51", "51/3=17", "24+17=41" ]
Current State: 41:[14, 3, 37, 24], Operations: [] Exploring Operation: 14+37=51, Resulting Numbers: [3, 24, 51] Generated Node #2: [3, 24, 51] from Operation: 14+37=51 Current State: 41:[3, 24, 51], Operations: ['14+37=51'] Exploring Operation: 51/3=17, Resulting Numbers: [24, 17] Generated Node #3: [24, 17] from Operation: 51/3=17 Current State: 41:[24, 17], Operations: ['14+37=51', '51/3=17'] Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[14, 3, 37, 24], Operations: [] Exploring Operation: 3+37=40, Resulting Numbers: [14, 24, 40] Generated Node #0,0: 41:[14, 24, 40] Operation: 3+37=40 Exploring Operation: 14+24=38, Resulting Numbers: [3, 37, 38] Generated Node #0,1: 41:[3, 37, 38] Operation: 14+24=38 Exploring Operation: 14*3=42, Resulting Numbers: [37, 24, 42] Generated Node #0,2: 41:[37, 24, 42] Operation: 14*3=42 Exploring Operation: 14+3=17, Resulting Numbers: [37, 24, 17] Generated Node #0,3: 41:[37, 24, 17] Operation: 14+3=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[37, 24, 42], Operations: ['14*3=42'] Exploring Operation: 24+42=66, Resulting Numbers: [37, 66] Generated Node #0,2,0: 41:[37, 66] Operation: 24+42=66 Exploring Operation: 42-24=18, Resulting Numbers: [37, 18] Generated Node #0,2,1: 41:[37, 18] Operation: 42-24=18 Exploring Operation: 37+24=61, Resulting Numbers: [42, 61] Generated Node #0,2,2: 41:[42, 61] Operation: 37+24=61 Exploring Operation: 37-24=13, Resulting Numbers: [42, 13] Generated Node #0,2,3: 41:[42, 13] Operation: 37-24=13 Moving to Node #0,2,2 Current State: 41:[42, 61], Operations: ['14*3=42', '37+24=61'] Exploring Operation: 42*61=2562, Resulting Numbers: [2562] 2562,41 unequal: No Solution Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 42+61=103, Resulting Numbers: [103] 103,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[37, 18], Operations: ['14*3=42', '42-24=18'] Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 37*18=666, Resulting Numbers: [666] 666,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[42, 13], Operations: ['14*3=42', '37-24=13'] Exploring Operation: 42*13=546, Resulting Numbers: [546] 546,41 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 42+13=55, Resulting Numbers: [55] 55,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[37, 66], Operations: ['14*3=42', '24+42=66'] Exploring Operation: 37*66=2442, Resulting Numbers: [2442] 2442,41 unequal: No Solution Exploring Operation: 66-37=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 37+66=103, Resulting Numbers: [103] 103,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[14, 24, 40], Operations: ['3+37=40'] Exploring Operation: 24-14=10, Resulting Numbers: [40, 10] Generated Node #0,0,0: 41:[40, 10] Operation: 24-14=10 Exploring Operation: 14+40=54, Resulting Numbers: [24, 54] Generated Node #0,0,1: 41:[24, 54] Operation: 14+40=54 Exploring Operation: 14+24=38, Resulting Numbers: [40, 38] Generated Node #0,0,2: 41:[40, 38] Operation: 14+24=38 Exploring Operation: 40-14=26, Resulting Numbers: [24, 26] Generated Node #0,0,3: 41:[24, 26] Operation: 40-14=26 Moving to Node #0,0,2 Current State: 41:[40, 38], Operations: ['3+37=40', '14+24=38'] Exploring Operation: 40+38=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 40*38=1520, Resulting Numbers: [1520] 1520,41 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[24, 54], Operations: ['3+37=40', '14+40=54'] Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 24*54=1296, Resulting Numbers: [1296] 1296,41 unequal: No Solution Exploring Operation: 24+54=78, Resulting Numbers: [78] 78,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[24, 26], Operations: ['3+37=40', '40-14=26'] Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 24*26=624, Resulting Numbers: [624] 624,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[40, 10], Operations: ['3+37=40', '24-14=10'] Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 40*10=400, Resulting Numbers: [400] 400,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[3, 37, 38], Operations: ['14+24=38'] Exploring Operation: 3+38=41, Resulting Numbers: [37, 41] Generated Node #0,1,0: 41:[37, 41] Operation: 3+38=41 Exploring Operation: 38-3=35, Resulting Numbers: [37, 35] Generated Node #0,1,1: 41:[37, 35] Operation: 38-3=35 Exploring Operation: 3+37=40, Resulting Numbers: [38, 40] Generated Node #0,1,2: 41:[38, 40] Operation: 3+37=40 Exploring Operation: 37-3=34, Resulting Numbers: [38, 34] Generated Node #0,1,3: 41:[38, 34] Operation: 37-3=34 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[37, 41], Operations: ['14+24=38', '3+38=41'] Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,41 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[38, 40], Operations: ['14+24=38', '3+37=40'] Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,41 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[37, 35], Operations: ['14+24=38', '38-3=35'] Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 41:[38, 34], Operations: ['14+24=38', '37-3=34'] Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 38+34=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 38*34=1292, Resulting Numbers: [1292] 1292,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[37, 24, 17], Operations: ['14+3=17'] Exploring Operation: 24-17=7, Resulting Numbers: [37, 7] Generated Node #0,3,0: 41:[37, 7] Operation: 24-17=7 Exploring Operation: 24+17=41, Resulting Numbers: [37, 41] Generated Node #0,3,1: 41:[37, 41] Operation: 24+17=41 Exploring Operation: 37-17=20, Resulting Numbers: [24, 20] Generated Node #0,3,2: 41:[24, 20] Operation: 37-17=20 Exploring Operation: 37+17=54, Resulting Numbers: [24, 54] Generated Node #0,3,3: 41:[24, 54] Operation: 37+17=54 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 41:[37, 41], Operations: ['14+3=17', '24+17=41'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 41:[24, 54], Operations: ['14+3=17', '37+17=54'] Exploring Operation: 24+54=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 24*54=1296, Resulting Numbers: [1296] 1296,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 41:[37, 7], Operations: ['14+3=17', '24-17=7'] Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,41 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[24, 20], Operations: ['14+3=17', '37-17=20'] Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,41 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 3, 69, 3, 60 ]
49
[ "3*69=207", "207-60=147", "147/3=49" ]
Current State: 49:[3, 69, 3, 60], Operations: [] Exploring Operation: 3*69=207, Resulting Numbers: [60, 207] Generated Node #2: [60, 207] from Operation: 3*69=207 Current State: 49:[60, 207], Operations: ['3*69=207'] Exploring Operation: 207-60=147, Resulting Numbers: [147] 147,49 equal: Goal Reached Exploring Operation: 147/3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[3, 69, 3, 60], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [3, 3, 9] Generated Node #0,0: 49:[3, 3, 9] Operation: 69-60=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[3, 3, 9], Operations: ['69-60=9'] Exploring Operation: 3+3=6, Resulting Numbers: [9, 6] Generated Node #0,0,0: 49:[9, 6] Operation: 3+3=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[9, 6], Operations: ['69-60=9', '3+3=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 6, 93, 2, 89 ]
97
[ "6+89=95", "2*95=190", "190-93=97" ]
Current State: 97:[6, 93, 2, 89], Operations: [] Exploring Operation: 6+89=95, Resulting Numbers: [93, 2, 95] Generated Node #2: [93, 2, 95] from Operation: 6+89=95 Current State: 97:[93, 2, 95], Operations: ['6+89=95'] Exploring Operation: 2*95=190, Resulting Numbers: [93, 190] Generated Node #3: [93, 190] from Operation: 2*95=190 Current State: 97:[93, 190], Operations: ['6+89=95', '2*95=190'] Exploring Operation: 190-93=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[6, 93, 2, 89], Operations: [] Exploring Operation: 6+2=8, Resulting Numbers: [93, 89, 8] Generated Node #0,0: 97:[93, 89, 8] Operation: 6+2=8 Exploring Operation: 6*2=12, Resulting Numbers: [93, 89, 12] Generated Node #0,1: 97:[93, 89, 12] Operation: 6*2=12 Exploring Operation: 6+89=95, Resulting Numbers: [93, 2, 95] Generated Node #0,2: 97:[93, 2, 95] Operation: 6+89=95 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[93, 89, 12], Operations: ['6*2=12'] Exploring Operation: 93-12=81, Resulting Numbers: [89, 81] Generated Node #0,1,0: 97:[89, 81] Operation: 93-12=81 Exploring Operation: 89+12=101, Resulting Numbers: [93, 101] Generated Node #0,1,1: 97:[93, 101] Operation: 89+12=101 Exploring Operation: 93+12=105, Resulting Numbers: [89, 105] Generated Node #0,1,2: 97:[89, 105] Operation: 93+12=105 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[93, 101], Operations: ['6*2=12', '89+12=101'] Exploring Operation: 101-93=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 93+101=194, Resulting Numbers: [194] 194,97 unequal: No Solution Exploring Operation: 93*101=9393, Resulting Numbers: [9393] 9393,97 unequal: No Solution No 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: 97:[89, 105], Operations: ['6*2=12', '93+12=105'] Exploring Operation: 89*105=9345, Resulting Numbers: [9345] 9345,97 unequal: No Solution Exploring Operation: 105-89=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 89+105=194, Resulting Numbers: [194] 194,97 unequal: No Solution No 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: 97:[89, 81], Operations: ['6*2=12', '93-12=81'] Exploring Operation: 89+81=170, Resulting Numbers: [170] 170,97 unequal: No Solution Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 89*81=7209, Resulting Numbers: [7209] 7209,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[93, 89, 8], Operations: ['6+2=8'] Exploring Operation: 93+8=101, Resulting Numbers: [89, 101] Generated Node #0,0,0: 97:[89, 101] Operation: 93+8=101 Exploring Operation: 89+8=97, Resulting Numbers: [93, 97] Generated Node #0,0,1: 97:[93, 97] Operation: 89+8=97 Exploring Operation: 93-8=85, Resulting Numbers: [89, 85] Generated Node #0,0,2: 97:[89, 85] Operation: 93-8=85 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[93, 97], Operations: ['6+2=8', '89+8=97'] Exploring Operation: 93+97=190, Resulting Numbers: [190] 190,97 unequal: No Solution Exploring Operation: 93*97=9021, Resulting Numbers: [9021] 9021,97 unequal: No Solution Exploring Operation: 97-93=4, Resulting Numbers: [4] 4,97 unequal: No Solution No 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: 97:[89, 101], Operations: ['6+2=8', '93+8=101'] Exploring Operation: 101-89=12, Resulting Numbers: [12] 12,97 unequal: No Solution Exploring Operation: 89+101=190, Resulting Numbers: [190] 190,97 unequal: No Solution Exploring Operation: 89*101=8989, Resulting Numbers: [8989] 8989,97 unequal: No Solution No 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: 97:[89, 85], Operations: ['6+2=8', '93-8=85'] Exploring Operation: 89+85=174, Resulting Numbers: [174] 174,97 unequal: No Solution Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 89*85=7565, Resulting Numbers: [7565] 7565,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[93, 2, 95], Operations: ['6+89=95'] Exploring Operation: 93-2=91, Resulting Numbers: [95, 91] Generated Node #0,2,0: 97:[95, 91] Operation: 93-2=91 Exploring Operation: 2+95=97, Resulting Numbers: [93, 97] Generated Node #0,2,1: 97:[93, 97] Operation: 2+95=97 Exploring Operation: 93+2=95, Resulting Numbers: [95, 95] Generated Node #0,2,2: 97:[95, 95] Operation: 93+2=95 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[93, 97], Operations: ['6+89=95', '2+95=97'] Exploring Operation: 93*97=9021, Resulting Numbers: [9021] 9021,97 unequal: No Solution Exploring Operation: 97-93=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 93+97=190, Resulting Numbers: [190] 190,97 unequal: No Solution No 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: 97:[95, 95], Operations: ['6+89=95', '93+2=95'] Exploring Operation: 95/95=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 95-95=0, Resulting Numbers: [0] 0,97 unequal: No Solution Exploring Operation: 95+95=190, Resulting Numbers: [190] 190,97 unequal: No Solution No 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: 97:[95, 91], Operations: ['6+89=95', '93-2=91'] Exploring Operation: 95+91=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 95*91=8645, Resulting Numbers: [8645] 8645,97 unequal: No Solution Exploring Operation: 95-91=4, Resulting Numbers: [4] 4,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 32, 15, 35, 81 ]
93
[ "32+15=47", "81-35=46", "47+46=93" ]
Current State: 93:[32, 15, 35, 81], Operations: [] Exploring Operation: 32+15=47, Resulting Numbers: [35, 81, 47] Generated Node #2: [35, 81, 47] from Operation: 32+15=47 Current State: 93:[35, 81, 47], Operations: ['32+15=47'] Exploring Operation: 81-35=46, Resulting Numbers: [47, 46] Generated Node #3: [47, 46] from Operation: 81-35=46 Current State: 93:[47, 46], Operations: ['32+15=47', '81-35=46'] Exploring Operation: 47+46=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[32, 15, 35, 81], Operations: [] Exploring Operation: 35-15=20, Resulting Numbers: [32, 81, 20] Generated Node #0,0: 93:[32, 81, 20] Operation: 35-15=20 Exploring Operation: 35-32=3, Resulting Numbers: [15, 81, 3] Generated Node #0,1: 93:[15, 81, 3] Operation: 35-32=3 Exploring Operation: 15+81=96, Resulting Numbers: [32, 35, 96] Generated Node #0,2: 93:[32, 35, 96] Operation: 15+81=96 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[32, 35, 96], Operations: ['15+81=96'] Exploring Operation: 96/32=3, Resulting Numbers: [35, 3] Generated Node #0,2,0: 93:[35, 3] Operation: 96/32=3 Exploring Operation: 32+35=67, Resulting Numbers: [96, 67] Generated Node #0,2,1: 93:[96, 67] Operation: 32+35=67 Exploring Operation: 35-32=3, Resulting Numbers: [96, 3] Generated Node #0,2,2: 93:[96, 3] Operation: 35-32=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[96, 3], Operations: ['15+81=96', '35-32=3'] Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[32, 15, 35, 81], Operations: [] Exploring Operation: 15+81=96, Resulting Numbers: [32, 35, 96] Generated Node #0,2: 93:[32, 35, 96] Operation: 15+81=96 Moving to Node #0,2 Current State: 93:[32, 35, 96], Operations: ['15+81=96'] Exploring Operation: 35-32=3, Resulting Numbers: [96, 3] Generated Node #0,2,2: 93:[96, 3] Operation: 35-32=3 Moving to Node #0,2,2 Current State: 93:[96, 3], Operations: ['15+81=96', '35-32=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 49, 5, 68, 39 ]
51
[ "39-5=34", "68/34=2", "49+2=51" ]
Current State: 51:[49, 5, 68, 39], Operations: [] Exploring Operation: 39-5=34, Resulting Numbers: [49, 68, 34] Generated Node #2: [49, 68, 34] from Operation: 39-5=34 Current State: 51:[49, 68, 34], Operations: ['39-5=34'] Exploring Operation: 68/34=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 68/34=2 Current State: 51:[49, 2], Operations: ['39-5=34', '68/34=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[49, 5, 68, 39], Operations: [] Exploring Operation: 68-39=29, Resulting Numbers: [49, 5, 29] Generated Node #0,0: 51:[49, 5, 29] Operation: 68-39=29 Exploring Operation: 68-49=19, Resulting Numbers: [5, 39, 19] Generated Node #0,1: 51:[5, 39, 19] Operation: 68-49=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[49, 5, 29], Operations: ['68-39=29'] Exploring Operation: 29-5=24, Resulting Numbers: [49, 24] Generated Node #0,0,0: 51:[49, 24] Operation: 29-5=24 Exploring Operation: 49-29=20, Resulting Numbers: [5, 20] Generated Node #0,0,1: 51:[5, 20] Operation: 49-29=20 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[5, 20], Operations: ['68-39=29', '49-29=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[49, 24], Operations: ['68-39=29', '29-5=24'] Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[5, 39, 19], Operations: ['68-49=19'] Exploring Operation: 5+39=44, Resulting Numbers: [19, 44] Generated Node #0,1,0: 51:[19, 44] Operation: 5+39=44 Exploring Operation: 39-19=20, Resulting Numbers: [5, 20] Generated Node #0,1,1: 51:[5, 20] Operation: 39-19=20 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[5, 20], Operations: ['68-49=19', '39-19=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[19, 44], Operations: ['68-49=19', '5+39=44'] Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,51 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 37, 42, 71, 19 ]
18
[ "42-37=5", "71+19=90", "90/5=18" ]
Current State: 18:[37, 42, 71, 19], Operations: [] Exploring Operation: 42-37=5, Resulting Numbers: [71, 19, 5] Generated Node #2: [71, 19, 5] from Operation: 42-37=5 Current State: 18:[71, 19, 5], Operations: ['42-37=5'] Exploring Operation: 71+19=90, Resulting Numbers: [5, 90] Generated Node #3: [5, 90] from Operation: 71+19=90 Current State: 18:[5, 90], Operations: ['42-37=5', '71+19=90'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[37, 42, 71, 19], Operations: [] Exploring Operation: 71-42=29, Resulting Numbers: [37, 19, 29] Generated Node #0,0: 18:[37, 19, 29] Operation: 71-42=29 Exploring Operation: 71-37=34, Resulting Numbers: [42, 19, 34] Generated Node #0,1: 18:[42, 19, 34] Operation: 71-37=34 Moving to Node #0,0 Current State: 18:[37, 19, 29], Operations: ['71-42=29'] Exploring Operation: 37-19=18, Resulting Numbers: [29, 18] Generated Node #0,0,0: 18:[29, 18] Operation: 37-19=18 Exploring Operation: 37-29=8, Resulting Numbers: [19, 8] Generated Node #0,0,1: 18:[19, 8] Operation: 37-29=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[19, 8], Operations: ['71-42=29', '37-29=8'] Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[29, 18], Operations: ['71-42=29', '37-19=18'] Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,18 unequal: No Solution Exploring Operation: 29+18=47, Resulting Numbers: [47] 47,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 18:[42, 19, 34], Operations: ['71-37=34'] Exploring Operation: 42-19=23, Resulting Numbers: [34, 23] Generated Node #0,1,0: 18:[34, 23] Operation: 42-19=23 Exploring Operation: 42-34=8, Resulting Numbers: [19, 8] Generated Node #0,1,1: 18:[19, 8] Operation: 42-34=8 Moving to Node #0,1,1 Current State: 18:[19, 8], Operations: ['71-37=34', '42-34=8'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,18 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[34, 23], Operations: ['71-37=34', '42-19=23'] Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,18 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 98, 48, 42, 78 ]
95
[ "48+78=126", "126/42=3", "98-3=95" ]
Current State: 95:[98, 48, 42, 78], Operations: [] Exploring Operation: 48+78=126, Resulting Numbers: [98, 42, 126] Generated Node #2: [98, 42, 126] from Operation: 48+78=126 Current State: 95:[98, 42, 126], Operations: ['48+78=126'] Exploring Operation: 126/42=3, Resulting Numbers: [98, 3] Generated Node #3: [98, 3] from Operation: 126/42=3 Current State: 95:[98, 3], Operations: ['48+78=126', '126/42=3'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[98, 48, 42, 78], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [98, 42, 30] Generated Node #0,0: 95:[98, 42, 30] Operation: 78-48=30 Exploring Operation: 98-78=20, Resulting Numbers: [48, 42, 20] Generated Node #0,1: 95:[48, 42, 20] Operation: 98-78=20 Exploring Operation: 48-42=6, Resulting Numbers: [98, 78, 6] Generated Node #0,2: 95:[98, 78, 6] Operation: 48-42=6 Exploring Operation: 78-42=36, Resulting Numbers: [98, 48, 36] Generated Node #0,3: 95:[98, 48, 36] Operation: 78-42=36 Exploring Operation: 48+42=90, Resulting Numbers: [98, 78, 90] Generated Node #0,4: 95:[98, 78, 90] Operation: 48+42=90 Moving to Node #0,2 Current State: 95:[98, 78, 6], Operations: ['48-42=6'] Exploring Operation: 98+6=104, Resulting Numbers: [78, 104] Generated Node #0,2,0: 95:[78, 104] Operation: 98+6=104 Exploring Operation: 98-6=92, Resulting Numbers: [78, 92] Generated Node #0,2,1: 95:[78, 92] Operation: 98-6=92 Exploring Operation: 98-78=20, Resulting Numbers: [6, 20] Generated Node #0,2,2: 95:[6, 20] Operation: 98-78=20 Exploring Operation: 78+6=84, Resulting Numbers: [98, 84] Generated Node #0,2,3: 95:[98, 84] Operation: 78+6=84 Exploring Operation: 78/6=13, Resulting Numbers: [98, 13] Generated Node #0,2,4: 95:[98, 13] Operation: 78/6=13 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[6, 20], Operations: ['48-42=6', '98-78=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 95:[98, 13], Operations: ['48-42=6', '78/6=13'] Exploring Operation: 98-13=85, Resulting Numbers: [85] 85,95 unequal: No Solution Exploring Operation: 98+13=111, Resulting Numbers: [111] 111,95 unequal: No Solution Exploring Operation: 98*13=1274, Resulting Numbers: [1274] 1274,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 95:[98, 84], Operations: ['48-42=6', '78+6=84'] Exploring Operation: 98*84=8232, Resulting Numbers: [8232] 8232,95 unequal: No Solution Exploring Operation: 98+84=182, Resulting Numbers: [182] 182,95 unequal: No Solution Exploring Operation: 98-84=14, Resulting Numbers: [14] 14,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[78, 92], Operations: ['48-42=6', '98-6=92'] Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 78+92=170, Resulting Numbers: [170] 170,95 unequal: No Solution Exploring Operation: 78*92=7176, Resulting Numbers: [7176] 7176,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[78, 104], Operations: ['48-42=6', '98+6=104'] Exploring Operation: 104-78=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 78+104=182, Resulting Numbers: [182] 182,95 unequal: No Solution Exploring Operation: 78*104=8112, Resulting Numbers: [8112] 8112,95 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: 95:[98, 78, 90], Operations: ['48+42=90'] Exploring Operation: 98+78=176, Resulting Numbers: [90, 176] Generated Node #0,4,0: 95:[90, 176] Operation: 98+78=176 Exploring Operation: 90-78=12, Resulting Numbers: [98, 12] Generated Node #0,4,1: 95:[98, 12] Operation: 90-78=12 Exploring Operation: 98-90=8, Resulting Numbers: [78, 8] Generated Node #0,4,2: 95:[78, 8] Operation: 98-90=8 Exploring Operation: 98-78=20, Resulting Numbers: [90, 20] Generated Node #0,4,3: 95:[90, 20] Operation: 98-78=20 Exploring Operation: 78+90=168, Resulting Numbers: [98, 168] Generated Node #0,4,4: 95:[98, 168] Operation: 78+90=168 Moving to Node #0,0 Current State: 95:[98, 42, 30], Operations: ['78-48=30'] Exploring Operation: 98+42=140, Resulting Numbers: [30, 140] Generated Node #0,0,0: 95:[30, 140] Operation: 98+42=140 Exploring Operation: 98-30=68, Resulting Numbers: [42, 68] Generated Node #0,0,1: 95:[42, 68] Operation: 98-30=68 Exploring Operation: 98-42=56, Resulting Numbers: [30, 56] Generated Node #0,0,2: 95:[30, 56] Operation: 98-42=56 Exploring Operation: 42-30=12, Resulting Numbers: [98, 12] Generated Node #0,0,3: 95:[98, 12] Operation: 42-30=12 Exploring Operation: 42+30=72, Resulting Numbers: [98, 72] Generated Node #0,0,4: 95:[98, 72] Operation: 42+30=72 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 95:[98, 12], Operations: ['78-48=30', '42-30=12'] Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 98*12=1176, Resulting Numbers: [1176] 1176,95 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,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,4 Current State: 95:[98, 72], Operations: ['78-48=30', '42+30=72'] Exploring Operation: 98*72=7056, Resulting Numbers: [7056] 7056,95 unequal: No Solution Exploring Operation: 98+72=170, Resulting Numbers: [170] 170,95 unequal: No Solution Exploring Operation: 98-72=26, Resulting Numbers: [26] 26,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[30, 56], Operations: ['78-48=30', '98-42=56'] Exploring Operation: 30+56=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 30*56=1680, Resulting Numbers: [1680] 1680,95 unequal: No Solution Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[42, 68], Operations: ['78-48=30', '98-30=68'] Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,95 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,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:[30, 140], Operations: ['78-48=30', '98+42=140'] Exploring Operation: 30*140=4200, Resulting Numbers: [4200] 4200,95 unequal: No Solution Exploring Operation: 30+140=170, Resulting Numbers: [170] 170,95 unequal: No Solution Exploring Operation: 140-30=110, Resulting Numbers: [110] 110,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 95:[98, 48, 36], Operations: ['78-42=36'] Exploring Operation: 98+48=146, Resulting Numbers: [36, 146] Generated Node #0,3,0: 95:[36, 146] Operation: 98+48=146 Exploring Operation: 98-48=50, Resulting Numbers: [36, 50] Generated Node #0,3,1: 95:[36, 50] Operation: 98-48=50 Exploring Operation: 98-36=62, Resulting Numbers: [48, 62] Generated Node #0,3,2: 95:[48, 62] Operation: 98-36=62 Exploring Operation: 48+36=84, Resulting Numbers: [98, 84] Generated Node #0,3,3: 95:[98, 84] Operation: 48+36=84 Exploring Operation: 48-36=12, Resulting Numbers: [98, 12] Generated Node #0,3,4: 95:[98, 12] Operation: 48-36=12 Moving to Node #0,1 Current State: 95:[48, 42, 20], Operations: ['98-78=20'] Exploring Operation: 42-20=22, Resulting Numbers: [48, 22] Generated Node #0,1,0: 95:[48, 22] Operation: 42-20=22 Exploring Operation: 48-20=28, Resulting Numbers: [42, 28] Generated Node #0,1,1: 95:[42, 28] Operation: 48-20=28 Exploring Operation: 48-42=6, Resulting Numbers: [20, 6] Generated Node #0,1,2: 95:[20, 6] Operation: 48-42=6 Exploring Operation: 48+42=90, Resulting Numbers: [20, 90] Generated Node #0,1,3: 95:[20, 90] Operation: 48+42=90 Exploring Operation: 48+20=68, Resulting Numbers: [42, 68] Generated Node #0,1,4: 95:[42, 68] Operation: 48+20=68 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[20, 6], Operations: ['98-78=20', '48-42=6'] Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,95 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 95:[20, 90], Operations: ['98-78=20', '48+42=90'] Exploring Operation: 20*90=1800, Resulting Numbers: [1800] 1800,95 unequal: No Solution Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 20+90=110, Resulting Numbers: [110] 110,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[48, 22], Operations: ['98-78=20', '42-20=22'] Exploring Operation: 48+22=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 48*22=1056, Resulting Numbers: [1056] 1056,95 unequal: No Solution Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[42, 28], Operations: ['98-78=20', '48-20=28'] Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 95:[42, 68], Operations: ['98-78=20', '48+20=68'] Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,95 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 95:[90, 20], Operations: ['48+42=90', '98-78=20'] Exploring Operation: 90+20=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 90*20=1800, Resulting Numbers: [1800] 1800,95 unequal: No Solution Moving to Node #0,3,4 Current State: 95:[98, 12], Operations: ['78-42=36', '48-36=12'] Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 98*12=1176, Resulting Numbers: [1176] 1176,95 unequal: No Solution Moving to Node #0,4,1 Current State: 95:[98, 12], Operations: ['48+42=90', '90-78=12'] Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 98*12=1176, Resulting Numbers: [1176] 1176,95 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[98, 84], Operations: ['78-42=36', '48+36=84'] Exploring Operation: 98+84=182, Resulting Numbers: [182] 182,95 unequal: No Solution Exploring Operation: 98-84=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 98*84=8232, Resulting Numbers: [8232] 8232,95 unequal: No Solution Moving to Node #0,4,2 Current State: 95:[78, 8], Operations: ['48+42=90', '98-90=8'] Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 78+8=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 78*8=624, Resulting Numbers: [624] 624,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[36, 50], Operations: ['78-42=36', '98-48=50'] Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 36*50=1800, Resulting Numbers: [1800] 1800,95 unequal: No Solution Exploring Operation: 36+50=86, Resulting Numbers: [86] 86,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[48, 62], Operations: ['78-42=36', '98-36=62'] Exploring Operation: 48+62=110, Resulting Numbers: [110] 110,95 unequal: No Solution Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 48*62=2976, Resulting Numbers: [2976] 2976,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[36, 146], Operations: ['78-42=36', '98+48=146'] Exploring Operation: 36*146=5256, Resulting Numbers: [5256] 5256,95 unequal: No Solution Exploring Operation: 36+146=182, Resulting Numbers: [182] 182,95 unequal: No Solution Exploring Operation: 146-36=110, Resulting Numbers: [110] 110,95 unequal: No Solution Moving to Node #0,4,4 Current State: 95:[98, 168], Operations: ['48+42=90', '78+90=168'] Exploring Operation: 98*168=16464, Resulting Numbers: [16464] 16464,95 unequal: No Solution Exploring Operation: 98+168=266, Resulting Numbers: [266] 266,95 unequal: No Solution Exploring Operation: 168-98=70, Resulting Numbers: [70] 70,95 unequal: No Solution Moving to Node #0,4,0 Current State: 95:[90, 176], Operations: ['48+42=90', '98+78=176'] Exploring Operation: 90*176=15840, Resulting Numbers: [15840] 15840,95 unequal: No Solution Exploring Operation: 176-90=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 90+176=266, Resulting Numbers: [266] 266,95 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 38, 72, 8, 45 ]
88
[ "72-38=34", "45-34=11", "8*11=88" ]
Current State: 88:[38, 72, 8, 45], Operations: [] Exploring Operation: 72-38=34, Resulting Numbers: [8, 45, 34] Generated Node #2: [8, 45, 34] from Operation: 72-38=34 Current State: 88:[8, 45, 34], Operations: ['72-38=34'] Exploring Operation: 45-34=11, Resulting Numbers: [8, 11] Generated Node #3: [8, 11] from Operation: 45-34=11 Current State: 88:[8, 11], Operations: ['72-38=34', '45-34=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[38, 72, 8, 45], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [38, 45, 9] Generated Node #0,0: 88:[38, 45, 9] Operation: 72/8=9 Moving to Node #0,0 Current State: 88:[38, 45, 9], Operations: ['72/8=9'] Exploring Operation: 45-38=7, Resulting Numbers: [9, 7] Generated Node #0,0,0: 88:[9, 7] Operation: 45-38=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[9, 7], Operations: ['72/8=9', '45-38=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,88 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
[ 23, 61, 74, 14 ]
80
[ "23+61=84", "84/14=6", "74+6=80" ]
Current State: 80:[23, 61, 74, 14], Operations: [] Exploring Operation: 23+61=84, Resulting Numbers: [74, 14, 84] Generated Node #2: [74, 14, 84] from Operation: 23+61=84 Current State: 80:[74, 14, 84], Operations: ['23+61=84'] Exploring Operation: 84/14=6, Resulting Numbers: [74, 6] Generated Node #3: [74, 6] from Operation: 84/14=6 Current State: 80:[74, 6], Operations: ['23+61=84', '84/14=6'] Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[23, 61, 74, 14], Operations: [] Exploring Operation: 74-61=13, Resulting Numbers: [23, 14, 13] Generated Node #0,0: 80:[23, 14, 13] Operation: 74-61=13 Exploring Operation: 61-23=38, Resulting Numbers: [74, 14, 38] Generated Node #0,1: 80:[74, 14, 38] Operation: 61-23=38 Exploring Operation: 61-14=47, Resulting Numbers: [23, 74, 47] Generated Node #0,2: 80:[23, 74, 47] Operation: 61-14=47 Exploring Operation: 61+14=75, Resulting Numbers: [23, 74, 75] Generated Node #0,3: 80:[23, 74, 75] Operation: 61+14=75 Exploring Operation: 23+61=84, Resulting Numbers: [74, 14, 84] Generated Node #0,4: 80:[74, 14, 84] Operation: 23+61=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[23, 14, 13], Operations: ['74-61=13'] Exploring Operation: 23-14=9, Resulting Numbers: [13, 9] Generated Node #0,0,0: 80:[13, 9] Operation: 23-14=9 Exploring Operation: 14-13=1, Resulting Numbers: [23, 1] Generated Node #0,0,1: 80:[23, 1] Operation: 14-13=1 Exploring Operation: 23+14=37, Resulting Numbers: [13, 37] Generated Node #0,0,2: 80:[13, 37] Operation: 23+14=37 Exploring Operation: 23+13=36, Resulting Numbers: [14, 36] Generated Node #0,0,3: 80:[14, 36] Operation: 23+13=36 Exploring Operation: 23-13=10, Resulting Numbers: [14, 10] Generated Node #0,0,4: 80:[14, 10] Operation: 23-13=10 Moving to Node #0,0,4 Current State: 80:[14, 10], Operations: ['74-61=13', '23-13=10'] Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,80 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[23, 1], Operations: ['74-61=13', '14-13=1'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,80 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[13, 9], Operations: ['74-61=13', '23-14=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,80 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[13, 37], Operations: ['74-61=13', '23+14=37'] Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[14, 36], Operations: ['74-61=13', '23+13=36'] Exploring Operation: 14*36=504, Resulting Numbers: [504] 504,80 unequal: No Solution Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[74, 14, 38], Operations: ['61-23=38'] Exploring Operation: 14+38=52, Resulting Numbers: [74, 52] Generated Node #0,1,0: 80:[74, 52] Operation: 14+38=52 Exploring Operation: 74-14=60, Resulting Numbers: [38, 60] Generated Node #0,1,1: 80:[38, 60] Operation: 74-14=60 Exploring Operation: 38-14=24, Resulting Numbers: [74, 24] Generated Node #0,1,2: 80:[74, 24] Operation: 38-14=24 Exploring Operation: 74+14=88, Resulting Numbers: [38, 88] Generated Node #0,1,3: 80:[38, 88] Operation: 74+14=88 Exploring Operation: 74-38=36, Resulting Numbers: [14, 36] Generated Node #0,1,4: 80:[14, 36] Operation: 74-38=36 Moving to Node #0,1,4 Current State: 80:[14, 36], Operations: ['61-23=38', '74-38=36'] Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 14*36=504, Resulting Numbers: [504] 504,80 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[38, 88], Operations: ['61-23=38', '74+14=88'] Exploring Operation: 38+88=126, Resulting Numbers: [126] 126,80 unequal: No Solution Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 38*88=3344, Resulting Numbers: [3344] 3344,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[74, 24], Operations: ['61-23=38', '38-14=24'] Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,80 unequal: No Solution Exploring Operation: 74+24=98, Resulting Numbers: [98] 98,80 unequal: No Solution Exploring Operation: 74*24=1776, Resulting Numbers: [1776] 1776,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[74, 52], Operations: ['61-23=38', '14+38=52'] Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,80 unequal: No Solution Exploring Operation: 74+52=126, Resulting Numbers: [126] 126,80 unequal: No Solution Exploring Operation: 74*52=3848, Resulting Numbers: [3848] 3848,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[38, 60], Operations: ['61-23=38', '74-14=60'] Exploring Operation: 38+60=98, Resulting Numbers: [98] 98,80 unequal: No Solution Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,80 unequal: No Solution Exploring Operation: 38*60=2280, Resulting Numbers: [2280] 2280,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,4 Current State: 80:[74, 14, 84], Operations: ['23+61=84'] Exploring Operation: 84-14=70, Resulting Numbers: [74, 70] Generated Node #0,4,0: 80:[74, 70] Operation: 84-14=70 Exploring Operation: 74-14=60, Resulting Numbers: [84, 60] Generated Node #0,4,1: 80:[84, 60] Operation: 74-14=60 Exploring Operation: 74+14=88, Resulting Numbers: [84, 88] Generated Node #0,4,2: 80:[84, 88] Operation: 74+14=88 Exploring Operation: 84-74=10, Resulting Numbers: [14, 10] Generated Node #0,4,3: 80:[14, 10] Operation: 84-74=10 Exploring Operation: 84/14=6, Resulting Numbers: [74, 6] Generated Node #0,4,4: 80:[74, 6] Operation: 84/14=6 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 80:[14, 10], Operations: ['23+61=84', '84-74=10'] Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 80:[74, 6], Operations: ['23+61=84', '84/14=6'] Exploring Operation: 74*6=444, Resulting Numbers: [444] 444,80 unequal: No Solution Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[23, 61, 74, 14], Operations: [] Exploring Operation: 23+61=84, Resulting Numbers: [74, 14, 84] Generated Node #0,4: 80:[74, 14, 84] Operation: 23+61=84 Moving to Node #0,4 Current State: 80:[74, 14, 84], Operations: ['23+61=84'] Exploring Operation: 84/14=6, Resulting Numbers: [74, 6] Generated Node #0,4,4: 80:[74, 6] Operation: 84/14=6 Moving to Node #0,4,4 Current State: 80:[74, 6], Operations: ['23+61=84', '84/14=6'] Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.947917
hs_5
sum_heuristic
[ 36, 94, 35, 49 ]
72
[ "94-36=58", "49-35=14", "58+14=72" ]
Current State: 72:[36, 94, 35, 49], Operations: [] Exploring Operation: 94-36=58, Resulting Numbers: [35, 49, 58] Generated Node #2: [35, 49, 58] from Operation: 94-36=58 Current State: 72:[35, 49, 58], Operations: ['94-36=58'] Exploring Operation: 49-35=14, Resulting Numbers: [58, 14] Generated Node #3: [58, 14] from Operation: 49-35=14 Current State: 72:[58, 14], Operations: ['94-36=58', '49-35=14'] Exploring Operation: 58+14=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[36, 94, 35, 49], Operations: [] Exploring Operation: 94-49=45, Resulting Numbers: [36, 35, 45] Generated Node #0,0: 72:[36, 35, 45] Operation: 94-49=45 Exploring Operation: 49-36=13, Resulting Numbers: [94, 35, 13] Generated Node #0,1: 72:[94, 35, 13] Operation: 49-36=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[36, 35, 45], Operations: ['94-49=45'] Exploring Operation: 45-35=10, Resulting Numbers: [36, 10] Generated Node #0,0,0: 72:[36, 10] Operation: 45-35=10 Exploring Operation: 45-36=9, Resulting Numbers: [35, 9] Generated Node #0,0,1: 72:[35, 9] Operation: 45-36=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[36, 10], Operations: ['94-49=45', '45-35=10'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[35, 9], Operations: ['94-49=45', '45-36=9'] Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,72 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,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,1 Current State: 72:[94, 35, 13], Operations: ['49-36=13'] Exploring Operation: 94-35=59, Resulting Numbers: [13, 59] Generated Node #0,1,0: 72:[13, 59] Operation: 94-35=59 Exploring Operation: 94-13=81, Resulting Numbers: [35, 81] Generated Node #0,1,1: 72:[35, 81] Operation: 94-13=81 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[35, 81], Operations: ['49-36=13', '94-13=81'] Exploring Operation: 35+81=116, Resulting Numbers: [116] 116,72 unequal: No Solution Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,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:[13, 59], Operations: ['49-36=13', '94-35=59'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[36, 94, 35, 49], Operations: [] Exploring Operation: 49-36=13, Resulting Numbers: [94, 35, 13] Generated Node #0,1: 72:[94, 35, 13] Operation: 49-36=13 Moving to Node #0,1 Current State: 72:[94, 35, 13], Operations: ['49-36=13'] Exploring Operation: 94-35=59, Resulting Numbers: [13, 59] Generated Node #0,1,0: 72:[13, 59] Operation: 94-35=59 Moving to Node #0,1,0 Current State: 72:[13, 59], Operations: ['49-36=13', '94-35=59'] Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 72, 66, 6, 12 ]
77
[ "66-6=60", "60/12=5", "72+5=77" ]
Current State: 77:[72, 66, 6, 12], Operations: [] Exploring Operation: 66-6=60, Resulting Numbers: [72, 12, 60] Generated Node #2: [72, 12, 60] from Operation: 66-6=60 Current State: 77:[72, 12, 60], Operations: ['66-6=60'] Exploring Operation: 60/12=5, Resulting Numbers: [72, 5] Generated Node #3: [72, 5] from Operation: 60/12=5 Current State: 77:[72, 5], Operations: ['66-6=60', '60/12=5'] Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[72, 66, 6, 12], Operations: [] Exploring Operation: 66/6=11, Resulting Numbers: [72, 12, 11] Generated Node #0,0: 77:[72, 12, 11] Operation: 66/6=11 Exploring Operation: 72-66=6, Resulting Numbers: [6, 12, 6] Generated Node #0,1: 77:[6, 12, 6] Operation: 72-66=6 Moving to Node #0,1 Current State: 77:[6, 12, 6], Operations: ['72-66=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12, 12] Generated Node #0,1,0: 77:[12, 12] Operation: 6+6=12 Exploring Operation: 12-6=6, Resulting Numbers: [6, 6] Generated Node #0,1,1: 77:[6, 6] Operation: 12-6=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[12, 12], Operations: ['72-66=6', '6+6=12'] Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,77 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[6, 6], Operations: ['72-66=6', '12-6=6'] Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,77 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: 77:[72, 12, 11], Operations: ['66/6=11'] Exploring Operation: 72+12=84, Resulting Numbers: [11, 84] Generated Node #0,0,0: 77:[11, 84] Operation: 72+12=84 Exploring Operation: 72/12=6, Resulting Numbers: [11, 6] Generated Node #0,0,1: 77:[11, 6] Operation: 72/12=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[11, 6], Operations: ['66/6=11', '72/12=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,77 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[11, 84], Operations: ['66/6=11', '72+12=84'] Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,77 unequal: No Solution Exploring Operation: 11+84=95, Resulting Numbers: [95] 95,77 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
[ 7, 11, 5, 10 ]
38
[ "7+10=17", "11*5=55", "55-17=38" ]
Current State: 38:[7, 11, 5, 10], Operations: [] Exploring Operation: 7+10=17, Resulting Numbers: [11, 5, 17] Generated Node #2: [11, 5, 17] from Operation: 7+10=17 Current State: 38:[11, 5, 17], Operations: ['7+10=17'] Exploring Operation: 11*5=55, Resulting Numbers: [17, 55] Generated Node #3: [17, 55] from Operation: 11*5=55 Current State: 38:[17, 55], Operations: ['7+10=17', '11*5=55'] Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[7, 11, 5, 10], Operations: [] Exploring Operation: 7+11=18, Resulting Numbers: [5, 10, 18] Generated Node #0,0: 38:[5, 10, 18] Operation: 7+11=18 Exploring Operation: 11-10=1, Resulting Numbers: [7, 5, 1] Generated Node #0,1: 38:[7, 5, 1] Operation: 11-10=1 Exploring Operation: 10-7=3, Resulting Numbers: [11, 5, 3] Generated Node #0,2: 38:[11, 5, 3] Operation: 10-7=3 Exploring Operation: 11+10=21, Resulting Numbers: [7, 5, 21] Generated Node #0,3: 38:[7, 5, 21] Operation: 11+10=21 Moving to Node #0,1 Current State: 38:[7, 5, 1], Operations: ['11-10=1'] Exploring Operation: 7*5=35, Resulting Numbers: [1, 35] Generated Node #0,1,0: 38:[1, 35] Operation: 7*5=35 Exploring Operation: 5-1=4, Resulting Numbers: [7, 4] Generated Node #0,1,1: 38:[7, 4] Operation: 5-1=4 Exploring Operation: 7-5=2, Resulting Numbers: [1, 2] Generated Node #0,1,2: 38:[1, 2] Operation: 7-5=2 Exploring Operation: 7-1=6, Resulting Numbers: [5, 6] Generated Node #0,1,3: 38:[5, 6] Operation: 7-1=6 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 38:[1, 2], Operations: ['11-10=1', '7-5=2'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[1, 35], Operations: ['11-10=1', '7*5=35'] Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,38 unequal: No Solution Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[7, 4], Operations: ['11-10=1', '5-1=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,38 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 38:[5, 6], Operations: ['11-10=1', '7-1=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,38 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: 38:[7, 5, 21], Operations: ['11+10=21'] Exploring Operation: 7-5=2, Resulting Numbers: [21, 2] Generated Node #0,3,0: 38:[21, 2] Operation: 7-5=2 Exploring Operation: 21-7=14, Resulting Numbers: [5, 14] Generated Node #0,3,1: 38:[5, 14] Operation: 21-7=14 Exploring Operation: 7*5=35, Resulting Numbers: [21, 35] Generated Node #0,3,2: 38:[21, 35] Operation: 7*5=35 Exploring Operation: 21/7=3, Resulting Numbers: [5, 3] Generated Node #0,3,3: 38:[5, 3] Operation: 21/7=3 Moving to Node #0,2 Current State: 38:[11, 5, 3], Operations: ['10-7=3'] Exploring Operation: 11+5=16, Resulting Numbers: [3, 16] Generated Node #0,2,0: 38:[3, 16] Operation: 11+5=16 Exploring Operation: 11+3=14, Resulting Numbers: [5, 14] Generated Node #0,2,1: 38:[5, 14] Operation: 11+3=14 Exploring Operation: 11-5=6, Resulting Numbers: [3, 6] Generated Node #0,2,2: 38:[3, 6] Operation: 11-5=6 Exploring Operation: 11*3=33, Resulting Numbers: [5, 33] Generated Node #0,2,3: 38:[5, 33] Operation: 11*3=33 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[3, 16], Operations: ['10-7=3', '11+5=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,38 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[3, 6], Operations: ['10-7=3', '11-5=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 38:[5, 14], Operations: ['10-7=3', '11+3=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,38 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 38:[5, 33], Operations: ['10-7=3', '11*3=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[7, 11, 5, 10], Operations: [] Exploring Operation: 10-7=3, Resulting Numbers: [11, 5, 3] Generated Node #0,2: 38:[11, 5, 3] Operation: 10-7=3 Moving to Node #0,2 Current State: 38:[11, 5, 3], Operations: ['10-7=3'] Exploring Operation: 11*3=33, Resulting Numbers: [5, 33] Generated Node #0,2,3: 38:[5, 33] Operation: 11*3=33 Moving to Node #0,2,3 Current State: 38:[5, 33], Operations: ['10-7=3', '11*3=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_4
mult_heuristic
[ 3, 2, 43, 20 ]
69
[ "3*2=6", "43+20=63", "6+63=69" ]
Current State: 69:[3, 2, 43, 20], Operations: [] Exploring Operation: 3*2=6, Resulting Numbers: [43, 20, 6] Generated Node #2: [43, 20, 6] from Operation: 3*2=6 Current State: 69:[43, 20, 6], Operations: ['3*2=6'] Exploring Operation: 43+20=63, Resulting Numbers: [6, 63] Generated Node #3: [6, 63] from Operation: 43+20=63 Current State: 69:[6, 63], Operations: ['3*2=6', '43+20=63'] Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[3, 2, 43, 20], Operations: [] Exploring Operation: 2*43=86, Resulting Numbers: [3, 20, 86] Generated Node #0,0: 69:[3, 20, 86] Operation: 2*43=86 Exploring Operation: 43+20=63, Resulting Numbers: [3, 2, 63] Generated Node #0,1: 69:[3, 2, 63] Operation: 43+20=63 Exploring Operation: 43-20=23, Resulting Numbers: [3, 2, 23] Generated Node #0,2: 69:[3, 2, 23] Operation: 43-20=23 Exploring Operation: 43-3=40, Resulting Numbers: [2, 20, 40] Generated Node #0,3: 69:[2, 20, 40] Operation: 43-3=40 Moving to Node #0,2 Current State: 69:[3, 2, 23], Operations: ['43-20=23'] Exploring Operation: 3*23=69, Resulting Numbers: [2, 69] Generated Node #0,2,0: 69:[2, 69] Operation: 3*23=69 Exploring Operation: 2+23=25, Resulting Numbers: [3, 25] Generated Node #0,2,1: 69:[3, 25] Operation: 2+23=25 Exploring Operation: 3-2=1, Resulting Numbers: [23, 1] Generated Node #0,2,2: 69:[23, 1] Operation: 3-2=1 Exploring Operation: 3+2=5, Resulting Numbers: [23, 5] Generated Node #0,2,3: 69:[23, 5] Operation: 3+2=5 Moving to Node #0,1 Current State: 69:[3, 2, 63], Operations: ['43+20=63'] Exploring Operation: 2+63=65, Resulting Numbers: [3, 65] Generated Node #0,1,0: 69:[3, 65] Operation: 2+63=65 Exploring Operation: 3+2=5, Resulting Numbers: [63, 5] Generated Node #0,1,1: 69:[63, 5] Operation: 3+2=5 Exploring Operation: 63/3=21, Resulting Numbers: [2, 21] Generated Node #0,1,2: 69:[2, 21] Operation: 63/3=21 Exploring Operation: 3+63=66, Resulting Numbers: [2, 66] Generated Node #0,1,3: 69:[2, 66] Operation: 3+63=66 Moving to Node #0,0 Current State: 69:[3, 20, 86], Operations: ['2*43=86'] Exploring Operation: 86-20=66, Resulting Numbers: [3, 66] Generated Node #0,0,0: 69:[3, 66] Operation: 86-20=66 Exploring Operation: 3+20=23, Resulting Numbers: [86, 23] Generated Node #0,0,1: 69:[86, 23] Operation: 3+20=23 Exploring Operation: 20-3=17, Resulting Numbers: [86, 17] Generated Node #0,0,2: 69:[86, 17] Operation: 20-3=17 Exploring Operation: 86-3=83, Resulting Numbers: [20, 83] Generated Node #0,0,3: 69:[20, 83] Operation: 86-3=83 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[3, 66], Operations: ['2*43=86', '86-20=66'] Exploring Operation: 3*66=198, Resulting Numbers: [198] 198,69 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[3, 2, 43, 20], Operations: [] Exploring Operation: 2*43=86, Resulting Numbers: [3, 20, 86] Generated Node #0,0: 69:[3, 20, 86] Operation: 2*43=86 Moving to Node #0,0 Current State: 69:[3, 20, 86], Operations: ['2*43=86'] Exploring Operation: 86-20=66, Resulting Numbers: [3, 66] Generated Node #0,0,0: 69:[3, 66] Operation: 86-20=66 Moving to Node #0,0,0 Current State: 69:[3, 66], Operations: ['2*43=86', '86-20=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 30, 50, 10, 60 ]
46
[ "30*60=1800", "1800/50=36", "10+36=46" ]
Current State: 46:[30, 50, 10, 60], Operations: [] Exploring Operation: 30*60=1800, Resulting Numbers: [50, 10, 1800] Generated Node #2: [50, 10, 1800] from Operation: 30*60=1800 Current State: 46:[50, 10, 1800], Operations: ['30*60=1800'] Exploring Operation: 1800/50=36, Resulting Numbers: [10, 36] Generated Node #3: [10, 36] from Operation: 1800/50=36 Current State: 46:[10, 36], Operations: ['30*60=1800', '1800/50=36'] Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[30, 50, 10, 60], Operations: [] Exploring Operation: 60-10=50, Resulting Numbers: [30, 50, 50] Generated Node #0,0: 46:[30, 50, 50] Operation: 60-10=50 Exploring Operation: 30/10=3, Resulting Numbers: [50, 60, 3] Generated Node #0,1: 46:[50, 60, 3] Operation: 30/10=3 Exploring Operation: 60/10=6, Resulting Numbers: [30, 50, 6] Generated Node #0,2: 46:[30, 50, 6] Operation: 60/10=6 Exploring Operation: 60-30=30, Resulting Numbers: [50, 10, 30] Generated Node #0,3: 46:[50, 10, 30] Operation: 60-30=30 Exploring Operation: 60/30=2, Resulting Numbers: [50, 10, 2] Generated Node #0,4: 46:[50, 10, 2] Operation: 60/30=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[50, 10, 2], Operations: ['60/30=2'] Exploring Operation: 10*2=20, Resulting Numbers: [50, 20] Generated Node #0,4,0: 46:[50, 20] Operation: 10*2=20 Exploring Operation: 50-10=40, Resulting Numbers: [2, 40] Generated Node #0,4,1: 46:[2, 40] Operation: 50-10=40 Exploring Operation: 10/2=5, Resulting Numbers: [50, 5] Generated Node #0,4,2: 46:[50, 5] Operation: 10/2=5 Exploring Operation: 50-2=48, Resulting Numbers: [10, 48] Generated Node #0,4,3: 46:[10, 48] Operation: 50-2=48 Exploring Operation: 50/10=5, Resulting Numbers: [2, 5] Generated Node #0,4,4: 46:[2, 5] Operation: 50/10=5 Moving to Node #0,4,4 Current State: 46:[2, 5], Operations: ['60/30=2', '50/10=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,46 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,46 unequal: No Solution Moving to Node #0,4,1 Current State: 46:[2, 40], Operations: ['60/30=2', '50-10=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,46 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,46 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,46 unequal: No Solution Moving to Node #0,4,0 Current State: 46:[50, 20], Operations: ['60/30=2', '10*2=20'] Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,46 unequal: No Solution Moving to Node #0,4,2 Current State: 46:[50, 5], Operations: ['60/30=2', '10/2=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,46 unequal: No Solution Exploring Operation: 50*5=250, Resulting Numbers: [250] 250,46 unequal: No Solution Moving to Node #0,4,3 Current State: 46:[10, 48], Operations: ['60/30=2', '50-2=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,46 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,46 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[30, 50, 50], Operations: ['60-10=50'] Exploring Operation: 50-50=0, Resulting Numbers: [30, 0] Generated Node #0,0,0: 46:[30, 0] Operation: 50-50=0 Exploring Operation: 50/50=1, Resulting Numbers: [30, 1] Generated Node #0,0,1: 46:[30, 1] Operation: 50/50=1 Exploring Operation: 30+50=80, Resulting Numbers: [50, 80] Generated Node #0,0,2: 46:[50, 80] Operation: 30+50=80 Exploring Operation: 50-30=20, Resulting Numbers: [50, 20] Generated Node #0,0,3: 46:[50, 20] Operation: 50-30=20 Exploring Operation: 50-30=20, Resulting Numbers: [50, 20] Generated Node #0,0,4: 46:[50, 20] Operation: 50-30=20 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 46:[50, 20], Operations: ['60-10=50', '50-30=20'] Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 46:[50, 20], Operations: ['60-10=50', '50-30=20'] Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,46 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[30, 1], Operations: ['60-10=50', '50/50=1'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[30, 0], Operations: ['60-10=50', '50-50=0'] Exploring Operation: 30*0=0, Resulting Numbers: [0] 0,46 unequal: No Solution Exploring Operation: 30+0=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 30-0=30, Resulting Numbers: [30] 30,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 46:[50, 80], Operations: ['60-10=50', '30+50=80'] Exploring Operation: 50+80=130, Resulting Numbers: [130] 130,46 unequal: No Solution Exploring Operation: 50*80=4000, Resulting Numbers: [4000] 4000,46 unequal: No Solution Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[30, 50, 6], Operations: ['60/10=6'] Exploring Operation: 50-6=44, Resulting Numbers: [30, 44] Generated Node #0,2,0: 46:[30, 44] Operation: 50-6=44 Exploring Operation: 30+6=36, Resulting Numbers: [50, 36] Generated Node #0,2,1: 46:[50, 36] Operation: 30+6=36 Exploring Operation: 30/6=5, Resulting Numbers: [50, 5] Generated Node #0,2,2: 46:[50, 5] Operation: 30/6=5 Exploring Operation: 30-6=24, Resulting Numbers: [50, 24] Generated Node #0,2,3: 46:[50, 24] Operation: 30-6=24 Exploring Operation: 50-30=20, Resulting Numbers: [6, 20] Generated Node #0,2,4: 46:[6, 20] Operation: 50-30=20 Moving to Node #0,2,3 Current State: 46:[50, 24], Operations: ['60/10=6', '30-6=24'] Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 50*24=1200, Resulting Numbers: [1200] 1200,46 unequal: No Solution Moving to Node #0,2,4 Current State: 46:[6, 20], Operations: ['60/10=6', '50-30=20'] Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,46 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[50, 5], Operations: ['60/10=6', '30/6=5'] Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,46 unequal: No Solution Exploring Operation: 50*5=250, Resulting Numbers: [250] 250,46 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[30, 44], Operations: ['60/10=6', '50-6=44'] Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 30*44=1320, Resulting Numbers: [1320] 1320,46 unequal: No Solution Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[50, 36], Operations: ['60/10=6', '30+6=36'] Exploring Operation: 50*36=1800, Resulting Numbers: [1800] 1800,46 unequal: No Solution Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 50+36=86, Resulting Numbers: [86] 86,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[50, 60, 3], Operations: ['30/10=3'] Exploring Operation: 50-3=47, Resulting Numbers: [60, 47] Generated Node #0,1,0: 46:[60, 47] Operation: 50-3=47 Exploring Operation: 50+3=53, Resulting Numbers: [60, 53] Generated Node #0,1,1: 46:[60, 53] Operation: 50+3=53 Exploring Operation: 60/3=20, Resulting Numbers: [50, 20] Generated Node #0,1,2: 46:[50, 20] Operation: 60/3=20 Exploring Operation: 60-3=57, Resulting Numbers: [50, 57] Generated Node #0,1,3: 46:[50, 57] Operation: 60-3=57 Exploring Operation: 60-50=10, Resulting Numbers: [3, 10] Generated Node #0,1,4: 46:[3, 10] Operation: 60-50=10 Moving to Node #0,1,2 Current State: 46:[50, 20], Operations: ['30/10=3', '60/3=20'] Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,46 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,46 unequal: No Solution Moving to Node #0,1,4 Current State: 46:[3, 10], Operations: ['30/10=3', '60-50=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,46 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[60, 47], Operations: ['30/10=3', '50-3=47'] Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,46 unequal: No Solution Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[50, 57], Operations: ['30/10=3', '60-3=57'] Exploring Operation: 50*57=2850, Resulting Numbers: [2850] 2850,46 unequal: No Solution Exploring Operation: 50+57=107, Resulting Numbers: [107] 107,46 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[60, 53], Operations: ['30/10=3', '50+3=53'] Exploring Operation: 60+53=113, Resulting Numbers: [113] 113,46 unequal: No Solution Exploring Operation: 60*53=3180, Resulting Numbers: [3180] 3180,46 unequal: No Solution Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[50, 10, 30], Operations: ['60-30=30'] Exploring Operation: 30-10=20, Resulting Numbers: [50, 20] Generated Node #0,3,0: 46:[50, 20] Operation: 30-10=20 Exploring Operation: 30/10=3, Resulting Numbers: [50, 3] Generated Node #0,3,1: 46:[50, 3] Operation: 30/10=3 Exploring Operation: 50/10=5, Resulting Numbers: [30, 5] Generated Node #0,3,2: 46:[30, 5] Operation: 50/10=5 Exploring Operation: 50-30=20, Resulting Numbers: [10, 20] Generated Node #0,3,3: 46:[10, 20] Operation: 50-30=20 Exploring Operation: 10+30=40, Resulting Numbers: [50, 40] Generated Node #0,3,4: 46:[50, 40] Operation: 10+30=40 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 46:[50, 3], Operations: ['60-30=30', '30/10=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 46:[50, 20], Operations: ['60-30=30', '30-10=20'] Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 46:[30, 5], Operations: ['60-30=30', '50/10=5'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,46 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,46 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 46:[50, 40], Operations: ['60-30=30', '10+30=40'] Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 46:[10, 20], Operations: ['60-30=30', '50-30=20'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,46 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 57, 38, 34, 2 ]
27
[ "57+38=95", "34*2=68", "95-68=27" ]
Current State: 27:[57, 38, 34, 2], Operations: [] Exploring Operation: 57+38=95, Resulting Numbers: [34, 2, 95] Generated Node #2: [34, 2, 95] from Operation: 57+38=95 Current State: 27:[34, 2, 95], Operations: ['57+38=95'] Exploring Operation: 34*2=68, Resulting Numbers: [95, 68] Generated Node #3: [95, 68] from Operation: 34*2=68 Current State: 27:[95, 68], Operations: ['57+38=95', '34*2=68'] Exploring Operation: 95-68=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[57, 38, 34, 2], Operations: [] Exploring Operation: 38/2=19, Resulting Numbers: [57, 34, 19] Generated Node #0,0: 27:[57, 34, 19] Operation: 38/2=19 Exploring Operation: 57-34=23, Resulting Numbers: [38, 2, 23] Generated Node #0,1: 27:[38, 2, 23] Operation: 57-34=23 Exploring Operation: 57-38=19, Resulting Numbers: [34, 2, 19] Generated Node #0,2: 27:[34, 2, 19] Operation: 57-38=19 Exploring Operation: 38-34=4, Resulting Numbers: [57, 2, 4] Generated Node #0,3: 27:[57, 2, 4] Operation: 38-34=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[38, 2, 23], Operations: ['57-34=23'] Exploring Operation: 38-2=36, Resulting Numbers: [23, 36] Generated Node #0,1,0: 27:[23, 36] Operation: 38-2=36 Exploring Operation: 38-23=15, Resulting Numbers: [2, 15] Generated Node #0,1,1: 27:[2, 15] Operation: 38-23=15 Exploring Operation: 2+23=25, Resulting Numbers: [38, 25] Generated Node #0,1,2: 27:[38, 25] Operation: 2+23=25 Exploring Operation: 38/2=19, Resulting Numbers: [23, 19] Generated Node #0,1,3: 27:[23, 19] Operation: 38/2=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 27:[2, 15], Operations: ['57-34=23', '38-23=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,27 unequal: No Solution No 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: 27:[23, 19], Operations: ['57-34=23', '38/2=19'] Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,27 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,27 unequal: No Solution No 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: 27:[23, 36], Operations: ['57-34=23', '38-2=36'] Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,27 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,27 unequal: No Solution No 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: 27:[38, 25], Operations: ['57-34=23', '2+23=25'] Exploring Operation: 38+25=63, Resulting Numbers: [63] 63,27 unequal: No Solution Exploring Operation: 38*25=950, Resulting Numbers: [950] 950,27 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,27 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: 27:[34, 2, 19], Operations: ['57-38=19'] Exploring Operation: 19-2=17, Resulting Numbers: [34, 17] Generated Node #0,2,0: 27:[34, 17] Operation: 19-2=17 Exploring Operation: 2+19=21, Resulting Numbers: [34, 21] Generated Node #0,2,1: 27:[34, 21] Operation: 2+19=21 Exploring Operation: 34-19=15, Resulting Numbers: [2, 15] Generated Node #0,2,2: 27:[2, 15] Operation: 34-19=15 Exploring Operation: 34-2=32, Resulting Numbers: [19, 32] Generated Node #0,2,3: 27:[19, 32] Operation: 34-2=32 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 27:[2, 15], Operations: ['57-38=19', '34-19=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,27 unequal: No Solution No 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: 27:[34, 21], Operations: ['57-38=19', '2+19=21'] Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,27 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,27 unequal: No Solution No 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: 27:[19, 32], Operations: ['57-38=19', '34-2=32'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,27 unequal: No Solution Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,27 unequal: No Solution No 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: 27:[34, 17], Operations: ['57-38=19', '19-2=17'] Exploring Operation: 34*17=578, Resulting Numbers: [578] 578,27 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,27 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: 27:[57, 2, 4], Operations: ['38-34=4'] Exploring Operation: 57-2=55, Resulting Numbers: [4, 55] Generated Node #0,3,0: 27:[4, 55] Operation: 57-2=55 Exploring Operation: 2*4=8, Resulting Numbers: [57, 8] Generated Node #0,3,1: 27:[57, 8] Operation: 2*4=8 Exploring Operation: 4-2=2, Resulting Numbers: [57, 2] Generated Node #0,3,2: 27:[57, 2] Operation: 4-2=2 Exploring Operation: 57-4=53, Resulting Numbers: [2, 53] Generated Node #0,3,3: 27:[2, 53] Operation: 57-4=53 Moving to Node #0,3,3 Current State: 27:[2, 53], Operations: ['38-34=4', '57-4=53'] Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,27 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,27 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,27 unequal: No Solution Moving to Node #0,3,0 Current State: 27:[4, 55], Operations: ['38-34=4', '57-2=55'] Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,27 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[57, 2], Operations: ['38-34=4', '4-2=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,27 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,27 unequal: No Solution Moving to Node #0,3,1 Current State: 27:[57, 8], Operations: ['38-34=4', '2*4=8'] Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[57, 34, 19], Operations: ['38/2=19'] Exploring Operation: 57-19=38, Resulting Numbers: [34, 38] Generated Node #0,0,0: 27:[34, 38] Operation: 57-19=38 Exploring Operation: 34-19=15, Resulting Numbers: [57, 15] Generated Node #0,0,1: 27:[57, 15] Operation: 34-19=15 Exploring Operation: 57/19=3, Resulting Numbers: [34, 3] Generated Node #0,0,2: 27:[34, 3] Operation: 57/19=3 Exploring Operation: 57-34=23, Resulting Numbers: [19, 23] Generated Node #0,0,3: 27:[19, 23] Operation: 57-34=23 Moving to Node #0,0,2 Current State: 27:[34, 3], Operations: ['38/2=19', '57/19=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,27 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,27 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[19, 23], Operations: ['38/2=19', '57-34=23'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,27 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[34, 38], Operations: ['38/2=19', '57-19=38'] Exploring Operation: 34*38=1292, Resulting Numbers: [1292] 1292,27 unequal: No Solution Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[57, 15], Operations: ['38/2=19', '34-19=15'] Exploring Operation: 57*15=855, Resulting Numbers: [855] 855,27 unequal: No Solution Exploring Operation: 57+15=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,27 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
[ 34, 72, 40, 52 ]
46
[ "34*52=1768", "72+1768=1840", "1840/40=46" ]
Current State: 46:[34, 72, 40, 52], Operations: [] Exploring Operation: 34*52=1768, Resulting Numbers: [72, 40, 1768] Generated Node #2: [72, 40, 1768] from Operation: 34*52=1768 Current State: 46:[72, 40, 1768], Operations: ['34*52=1768'] Exploring Operation: 72+1768=1840, Resulting Numbers: [40, 1840] Generated Node #3: [40, 1840] from Operation: 72+1768=1840 Current State: 46:[40, 1840], Operations: ['34*52=1768', '72+1768=1840'] Exploring Operation: 1840/40=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[34, 72, 40, 52], Operations: [] Exploring Operation: 72-34=38, Resulting Numbers: [40, 52, 38] Generated Node #0,0: 46:[40, 52, 38] Operation: 72-34=38 Moving to Node #0,0 Current State: 46:[40, 52, 38], Operations: ['72-34=38'] Exploring Operation: 40-38=2, Resulting Numbers: [52, 2] Generated Node #0,0,0: 46:[52, 2] Operation: 40-38=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[52, 2], Operations: ['72-34=38', '40-38=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,46 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
[ 92, 93, 82, 29 ]
11
[ "92+29=121", "93-82=11", "121/11=11" ]
Current State: 11:[92, 93, 82, 29], Operations: [] Exploring Operation: 92+29=121, Resulting Numbers: [93, 82, 121] Generated Node #2: [93, 82, 121] from Operation: 92+29=121 Current State: 11:[93, 82, 121], Operations: ['92+29=121'] Exploring Operation: 93-82=11, Resulting Numbers: [121, 11] Generated Node #3: [121, 11] from Operation: 93-82=11 Current State: 11:[121, 11], Operations: ['92+29=121', '93-82=11'] Exploring Operation: 121/11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[92, 93, 82, 29], Operations: [] Exploring Operation: 93-82=11, Resulting Numbers: [92, 29, 11] Generated Node #0,0: 11:[92, 29, 11] Operation: 93-82=11 Exploring Operation: 92-82=10, Resulting Numbers: [93, 29, 10] Generated Node #0,1: 11:[93, 29, 10] Operation: 92-82=10 Exploring Operation: 93-92=1, Resulting Numbers: [82, 29, 1] Generated Node #0,2: 11:[82, 29, 1] Operation: 93-92=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[92, 29, 11], Operations: ['93-82=11'] Exploring Operation: 92-11=81, Resulting Numbers: [29, 81] Generated Node #0,0,0: 11:[29, 81] Operation: 92-11=81 Exploring Operation: 29-11=18, Resulting Numbers: [92, 18] Generated Node #0,0,1: 11:[92, 18] Operation: 29-11=18 Exploring Operation: 92-29=63, Resulting Numbers: [11, 63] Generated Node #0,0,2: 11:[11, 63] Operation: 92-29=63 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 11:[11, 63], Operations: ['93-82=11', '92-29=63'] Exploring Operation: 11*63=693, Resulting Numbers: [693] 693,11 unequal: No Solution Exploring Operation: 11+63=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,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,0,0 Current State: 11:[29, 81], Operations: ['93-82=11', '92-11=81'] Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,11 unequal: No Solution Exploring Operation: 29+81=110, Resulting Numbers: [110] 110,11 unequal: No Solution Exploring Operation: 29*81=2349, Resulting Numbers: [2349] 2349,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,0,1 Current State: 11:[92, 18], Operations: ['93-82=11', '29-11=18'] Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 92*18=1656, Resulting Numbers: [1656] 1656,11 unequal: No Solution Exploring Operation: 92+18=110, Resulting Numbers: [110] 110,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[82, 29, 1], Operations: ['93-92=1'] Exploring Operation: 82-29=53, Resulting Numbers: [1, 53] Generated Node #0,2,0: 11:[1, 53] Operation: 82-29=53 Exploring Operation: 29-1=28, Resulting Numbers: [82, 28] Generated Node #0,2,1: 11:[82, 28] Operation: 29-1=28 Exploring Operation: 82-1=81, Resulting Numbers: [29, 81] Generated Node #0,2,2: 11:[29, 81] Operation: 82-1=81 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 11:[1, 53], Operations: ['93-92=1', '82-29=53'] Exploring Operation: 1*53=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,11 unequal: No Solution Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,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,2,1 Current State: 11:[82, 28], Operations: ['93-92=1', '29-1=28'] Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,11 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,11 unequal: No Solution Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,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,2,2 Current State: 11:[29, 81], Operations: ['93-92=1', '82-1=81'] Exploring Operation: 29+81=110, Resulting Numbers: [110] 110,11 unequal: No Solution Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,11 unequal: No Solution Exploring Operation: 29*81=2349, Resulting Numbers: [2349] 2349,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[93, 29, 10], Operations: ['92-82=10'] Exploring Operation: 93-29=64, Resulting Numbers: [10, 64] Generated Node #0,1,0: 11:[10, 64] Operation: 93-29=64 Exploring Operation: 29-10=19, Resulting Numbers: [93, 19] Generated Node #0,1,1: 11:[93, 19] Operation: 29-10=19 Exploring Operation: 93-10=83, Resulting Numbers: [29, 83] Generated Node #0,1,2: 11:[29, 83] Operation: 93-10=83 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[10, 64], Operations: ['92-82=10', '93-29=64'] Exploring Operation: 10*64=640, Resulting Numbers: [640] 640,11 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,11 unequal: No Solution Exploring Operation: 10+64=74, Resulting Numbers: [74] 74,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,1 Current State: 11:[93, 19], Operations: ['92-82=10', '29-10=19'] Exploring Operation: 93-19=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 93*19=1767, Resulting Numbers: [1767] 1767,11 unequal: No Solution Exploring Operation: 93+19=112, Resulting Numbers: [112] 112,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[29, 83], Operations: ['92-82=10', '93-10=83'] Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,11 unequal: No Solution Exploring Operation: 29*83=2407, Resulting Numbers: [2407] 2407,11 unequal: No Solution Exploring Operation: 29+83=112, Resulting Numbers: [112] 112,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 55, 66, 47, 33 ]
39
[ "66*47=3102", "3102/33=94", "94-55=39" ]
Current State: 39:[55, 66, 47, 33], Operations: [] Exploring Operation: 66*47=3102, Resulting Numbers: [55, 33, 3102] Generated Node #2: [55, 33, 3102] from Operation: 66*47=3102 Current State: 39:[55, 33, 3102], Operations: ['66*47=3102'] Exploring Operation: 3102/33=94, Resulting Numbers: [55, 94] Generated Node #3: [55, 94] from Operation: 3102/33=94 Current State: 39:[55, 94], Operations: ['66*47=3102', '3102/33=94'] Exploring Operation: 94-55=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[55, 66, 47, 33], Operations: [] Exploring Operation: 66-55=11, Resulting Numbers: [47, 33, 11] Generated Node #0,0: 39:[47, 33, 11] Operation: 66-55=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[47, 33, 11], Operations: ['66-55=11'] Exploring Operation: 47-33=14, Resulting Numbers: [11, 14] Generated Node #0,0,0: 39:[11, 14] Operation: 47-33=14 Moving to Node #0,0,0 Current State: 39:[11, 14], Operations: ['66-55=11', '47-33=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,39 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, 68, 29, 6 ]
40
[ "68-2=66", "66/6=11", "29+11=40" ]
Current State: 40:[2, 68, 29, 6], Operations: [] Exploring Operation: 68-2=66, Resulting Numbers: [29, 6, 66] Generated Node #2: [29, 6, 66] from Operation: 68-2=66 Current State: 40:[29, 6, 66], Operations: ['68-2=66'] Exploring Operation: 66/6=11, Resulting Numbers: [29, 11] Generated Node #3: [29, 11] from Operation: 66/6=11 Current State: 40:[29, 11], Operations: ['68-2=66', '66/6=11'] Exploring Operation: 29+11=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[2, 68, 29, 6], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [29, 6, 34] Generated Node #0,0: 40:[29, 6, 34] Operation: 68/2=34 Exploring Operation: 68-6=62, Resulting Numbers: [2, 29, 62] Generated Node #0,1: 40:[2, 29, 62] Operation: 68-6=62 Exploring Operation: 68-29=39, Resulting Numbers: [2, 6, 39] Generated Node #0,2: 40:[2, 6, 39] Operation: 68-29=39 Moving to Node #0,2 Current State: 40:[2, 6, 39], Operations: ['68-29=39'] Exploring Operation: 2+6=8, Resulting Numbers: [39, 8] Generated Node #0,2,0: 40:[39, 8] Operation: 2+6=8 Exploring Operation: 6-2=4, Resulting Numbers: [39, 4] Generated Node #0,2,1: 40:[39, 4] Operation: 6-2=4 Exploring Operation: 6/2=3, Resulting Numbers: [39, 3] Generated Node #0,2,2: 40:[39, 3] Operation: 6/2=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 40:[39, 8], Operations: ['68-29=39', '2+6=8'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,40 unequal: No Solution No 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: 40:[39, 4], Operations: ['68-29=39', '6-2=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,40 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,40 unequal: No Solution No 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: 40:[39, 3], Operations: ['68-29=39', '6/2=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,40 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: 40:[29, 6, 34], Operations: ['68/2=34'] Exploring Operation: 34-29=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 40:[6, 5] Operation: 34-29=5 Exploring Operation: 29-6=23, Resulting Numbers: [34, 23] Generated Node #0,0,1: 40:[34, 23] Operation: 29-6=23 Exploring Operation: 6+34=40, Resulting Numbers: [29, 40] Generated Node #0,0,2: 40:[29, 40] Operation: 6+34=40 Moving to Node #0,1 Current State: 40:[2, 29, 62], Operations: ['68-6=62'] Exploring Operation: 29-2=27, Resulting Numbers: [62, 27] Generated Node #0,1,0: 40:[62, 27] Operation: 29-2=27 Exploring Operation: 62-29=33, Resulting Numbers: [2, 33] Generated Node #0,1,1: 40:[2, 33] Operation: 62-29=33 Exploring Operation: 62/2=31, Resulting Numbers: [29, 31] Generated Node #0,1,2: 40:[29, 31] Operation: 62/2=31 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[2, 33], Operations: ['68-6=62', '62-29=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,40 unequal: No Solution No 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: 40:[29, 31], Operations: ['68-6=62', '62/2=31'] Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 29+31=60, Resulting Numbers: [60] 60,40 unequal: No Solution Exploring Operation: 29*31=899, Resulting Numbers: [899] 899,40 unequal: No Solution No 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: 40:[62, 27], Operations: ['68-6=62', '29-2=27'] Exploring Operation: 62*27=1674, Resulting Numbers: [1674] 1674,40 unequal: No Solution Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,40 unequal: No Solution Exploring Operation: 62+27=89, Resulting Numbers: [89] 89,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 40:[6, 5], Operations: ['68/2=34', '34-29=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[34, 23], Operations: ['68/2=34', '29-6=23'] Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 34*23=782, Resulting Numbers: [782] 782,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[29, 40], Operations: ['68/2=34', '6+34=40'] Exploring Operation: 29+40=69, Resulting Numbers: [69] 69,40 unequal: No Solution Exploring Operation: 29*40=1160, Resulting Numbers: [1160] 1160,40 unequal: No Solution Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,40 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 85, 14, 92, 84 ]
27
[ "92-84=8", "14*8=112", "112-85=27" ]
Current State: 27:[85, 14, 92, 84], Operations: [] Exploring Operation: 92-84=8, Resulting Numbers: [85, 14, 8] Generated Node #2: [85, 14, 8] from Operation: 92-84=8 Current State: 27:[85, 14, 8], Operations: ['92-84=8'] Exploring Operation: 14*8=112, Resulting Numbers: [85, 112] Generated Node #3: [85, 112] from Operation: 14*8=112 Current State: 27:[85, 112], Operations: ['92-84=8', '14*8=112'] Exploring Operation: 112-85=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[85, 14, 92, 84], Operations: [] Exploring Operation: 92-84=8, Resulting Numbers: [85, 14, 8] Generated Node #0,0: 27:[85, 14, 8] Operation: 92-84=8 Exploring Operation: 85-84=1, Resulting Numbers: [14, 92, 1] Generated Node #0,1: 27:[14, 92, 1] Operation: 85-84=1 Exploring Operation: 92-85=7, Resulting Numbers: [14, 84, 7] Generated Node #0,2: 27:[14, 84, 7] Operation: 92-85=7 Moving to Node #0,0 Current State: 27:[85, 14, 8], Operations: ['92-84=8'] Exploring Operation: 85-8=77, Resulting Numbers: [14, 77] Generated Node #0,0,0: 27:[14, 77] Operation: 85-8=77 Exploring Operation: 85-14=71, Resulting Numbers: [8, 71] Generated Node #0,0,1: 27:[8, 71] Operation: 85-14=71 Exploring Operation: 14-8=6, Resulting Numbers: [85, 6] Generated Node #0,0,2: 27:[85, 6] Operation: 14-8=6 Moving to Node #0,2 Current State: 27:[14, 84, 7], Operations: ['92-85=7'] Exploring Operation: 84/14=6, Resulting Numbers: [7, 6] Generated Node #0,2,0: 27:[7, 6] Operation: 84/14=6 Exploring Operation: 84/7=12, Resulting Numbers: [14, 12] Generated Node #0,2,1: 27:[14, 12] Operation: 84/7=12 Exploring Operation: 84-14=70, Resulting Numbers: [7, 70] Generated Node #0,2,2: 27:[7, 70] Operation: 84-14=70 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[7, 6], Operations: ['92-85=7', '84/14=6'] Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,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:[14, 12], Operations: ['92-85=7', '84/7=12'] Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,27 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 14+12=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,2,2 Current State: 27:[7, 70], Operations: ['92-85=7', '84-14=70'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,27 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 27:[14, 92, 1], Operations: ['85-84=1'] Exploring Operation: 92-1=91, Resulting Numbers: [14, 91] Generated Node #0,1,0: 27:[14, 91] Operation: 92-1=91 Exploring Operation: 14-1=13, Resulting Numbers: [92, 13] Generated Node #0,1,1: 27:[92, 13] Operation: 14-1=13 Exploring Operation: 92-14=78, Resulting Numbers: [1, 78] Generated Node #0,1,2: 27:[1, 78] Operation: 92-14=78 Moving to Node #0,0,1 Current State: 27:[8, 71], Operations: ['92-84=8', '85-14=71'] Exploring Operation: 8*71=568, Resulting Numbers: [568] 568,27 unequal: No Solution Exploring Operation: 8+71=79, Resulting Numbers: [79] 79,27 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[1, 78], Operations: ['85-84=1', '92-14=78'] Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,27 unequal: No Solution Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,27 unequal: No Solution Exploring Operation: 1*78=78, Resulting Numbers: [78] 78,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[14, 77], Operations: ['92-84=8', '85-8=77'] Exploring Operation: 14+77=91, Resulting Numbers: [91] 91,27 unequal: No Solution Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,27 unequal: No Solution Exploring Operation: 14*77=1078, Resulting Numbers: [1078] 1078,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[85, 6], Operations: ['92-84=8', '14-8=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,27 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,27 unequal: No Solution Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[92, 13], Operations: ['85-84=1', '14-1=13'] Exploring Operation: 92*13=1196, Resulting Numbers: [1196] 1196,27 unequal: No Solution Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,27 unequal: No Solution Exploring Operation: 92+13=105, Resulting Numbers: [105] 105,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[14, 91], Operations: ['85-84=1', '92-1=91'] Exploring Operation: 14+91=105, Resulting Numbers: [105] 105,27 unequal: No Solution Exploring Operation: 14*91=1274, Resulting Numbers: [1274] 1274,27 unequal: No Solution Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,27 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 2, 21, 27, 92 ]
59
[ "2*27=54", "21+92=113", "113-54=59" ]
Current State: 59:[2, 21, 27, 92], Operations: [] Exploring Operation: 2*27=54, Resulting Numbers: [21, 92, 54] Generated Node #2: [21, 92, 54] from Operation: 2*27=54 Current State: 59:[21, 92, 54], Operations: ['2*27=54'] Exploring Operation: 21+92=113, Resulting Numbers: [54, 113] Generated Node #3: [54, 113] from Operation: 21+92=113 Current State: 59:[54, 113], Operations: ['2*27=54', '21+92=113'] Exploring Operation: 113-54=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[2, 21, 27, 92], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [21, 27, 46] Generated Node #0,0: 59:[21, 27, 46] Operation: 92/2=46 Exploring Operation: 2+21=23, Resulting Numbers: [27, 92, 23] Generated Node #0,1: 59:[27, 92, 23] Operation: 2+21=23 Exploring Operation: 2*21=42, Resulting Numbers: [27, 92, 42] Generated Node #0,2: 59:[27, 92, 42] Operation: 2*21=42 Exploring Operation: 2*27=54, Resulting Numbers: [21, 92, 54] Generated Node #0,3: 59:[21, 92, 54] Operation: 2*27=54 Moving to Node #0,3 Current State: 59:[21, 92, 54], Operations: ['2*27=54'] Exploring Operation: 21+92=113, Resulting Numbers: [54, 113] Generated Node #0,3,0: 59:[54, 113] Operation: 21+92=113 Exploring Operation: 54-21=33, Resulting Numbers: [92, 33] Generated Node #0,3,1: 59:[92, 33] Operation: 54-21=33 Exploring Operation: 21+54=75, Resulting Numbers: [92, 75] Generated Node #0,3,2: 59:[92, 75] Operation: 21+54=75 Exploring Operation: 92-21=71, Resulting Numbers: [54, 71] Generated Node #0,3,3: 59:[54, 71] Operation: 92-21=71 Moving to Node #0,2 Current State: 59:[27, 92, 42], Operations: ['2*21=42'] Exploring Operation: 92-42=50, Resulting Numbers: [27, 50] Generated Node #0,2,0: 59:[27, 50] Operation: 92-42=50 Exploring Operation: 27+42=69, Resulting Numbers: [92, 69] Generated Node #0,2,1: 59:[92, 69] Operation: 27+42=69 Exploring Operation: 27+92=119, Resulting Numbers: [42, 119] Generated Node #0,2,2: 59:[42, 119] Operation: 27+92=119 Exploring Operation: 92-27=65, Resulting Numbers: [42, 65] Generated Node #0,2,3: 59:[42, 65] Operation: 92-27=65 Moving to Node #0,0 Current State: 59:[21, 27, 46], Operations: ['92/2=46'] Exploring Operation: 27-21=6, Resulting Numbers: [46, 6] Generated Node #0,0,0: 59:[46, 6] Operation: 27-21=6 Exploring Operation: 21+27=48, Resulting Numbers: [46, 48] Generated Node #0,0,1: 59:[46, 48] Operation: 21+27=48 Exploring Operation: 21+46=67, Resulting Numbers: [27, 67] Generated Node #0,0,2: 59:[27, 67] Operation: 21+46=67 Exploring Operation: 27+46=73, Resulting Numbers: [21, 73] Generated Node #0,0,3: 59:[21, 73] Operation: 27+46=73 Moving to Node #0,1 Current State: 59:[27, 92, 23], Operations: ['2+21=23'] Exploring Operation: 92/23=4, Resulting Numbers: [27, 4] Generated Node #0,1,0: 59:[27, 4] Operation: 92/23=4 Exploring Operation: 92-27=65, Resulting Numbers: [23, 65] Generated Node #0,1,1: 59:[23, 65] Operation: 92-27=65 Exploring Operation: 92-23=69, Resulting Numbers: [27, 69] Generated Node #0,1,2: 59:[27, 69] Operation: 92-23=69 Exploring Operation: 27+23=50, Resulting Numbers: [92, 50] Generated Node #0,1,3: 59:[92, 50] Operation: 27+23=50 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[23, 65], Operations: ['2+21=23', '92-27=65'] Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 23*65=1495, Resulting Numbers: [1495] 1495,59 unequal: No Solution Exploring Operation: 23+65=88, Resulting Numbers: [88] 88,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[27, 69], Operations: ['2+21=23', '92-23=69'] Exploring Operation: 27+69=96, Resulting Numbers: [96] 96,59 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 27*69=1863, Resulting Numbers: [1863] 1863,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:[92, 50], Operations: ['2+21=23', '27+23=50'] Exploring Operation: 92-50=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 92+50=142, Resulting Numbers: [142] 142,59 unequal: No Solution Exploring Operation: 92*50=4600, Resulting Numbers: [4600] 4600,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:[27, 4], Operations: ['2+21=23', '92/23=4'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 59:[54, 71], Operations: ['2*27=54', '92-21=71'] Exploring Operation: 54+71=125, Resulting Numbers: [125] 125,59 unequal: No Solution Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 54*71=3834, Resulting Numbers: [3834] 3834,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[42, 65], Operations: ['2*21=42', '92-27=65'] Exploring Operation: 42+65=107, Resulting Numbers: [107] 107,59 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 42*65=2730, Resulting Numbers: [2730] 2730,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[46, 48], Operations: ['92/2=46', '21+27=48'] Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 46*48=2208, Resulting Numbers: [2208] 2208,59 unequal: No Solution Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[27, 67], Operations: ['92/2=46', '21+46=67'] Exploring Operation: 27+67=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 27*67=1809, Resulting Numbers: [1809] 1809,59 unequal: No Solution Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[27, 50], Operations: ['2*21=42', '92-42=50'] Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 27+50=77, Resulting Numbers: [77] 77,59 unequal: No Solution Exploring Operation: 27*50=1350, Resulting Numbers: [1350] 1350,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[92, 69], Operations: ['2*21=42', '27+42=69'] Exploring Operation: 92*69=6348, Resulting Numbers: [6348] 6348,59 unequal: No Solution Exploring Operation: 92-69=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 92+69=161, Resulting Numbers: [161] 161,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[92, 75], Operations: ['2*27=54', '21+54=75'] Exploring Operation: 92*75=6900, Resulting Numbers: [6900] 6900,59 unequal: No Solution Exploring Operation: 92+75=167, Resulting Numbers: [167] 167,59 unequal: No Solution Exploring Operation: 92-75=17, Resulting Numbers: [17] 17,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[21, 73], Operations: ['92/2=46', '27+46=73'] Exploring Operation: 21*73=1533, Resulting Numbers: [1533] 1533,59 unequal: No Solution Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 21+73=94, Resulting Numbers: [94] 94,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[54, 113], Operations: ['2*27=54', '21+92=113'] Exploring Operation: 113-54=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[2, 21, 27, 92], Operations: [] Exploring Operation: 2*27=54, Resulting Numbers: [21, 92, 54] Generated Node #0,3: 59:[21, 92, 54] Operation: 2*27=54 Moving to Node #0,3 Current State: 59:[21, 92, 54], Operations: ['2*27=54'] Exploring Operation: 21+92=113, Resulting Numbers: [54, 113] Generated Node #0,3,0: 59:[54, 113] Operation: 21+92=113 Moving to Node #0,3,0 Current State: 59:[54, 113], Operations: ['2*27=54', '21+92=113'] Exploring Operation: 113-54=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.947049
hs_4
sum_heuristic
[ 2, 83, 73, 92 ]
56
[ "92/2=46", "83-73=10", "46+10=56" ]
Current State: 56:[2, 83, 73, 92], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [83, 73, 46] Generated Node #2: [83, 73, 46] from Operation: 92/2=46 Current State: 56:[83, 73, 46], Operations: ['92/2=46'] Exploring Operation: 83-73=10, Resulting Numbers: [46, 10] Generated Node #3: [46, 10] from Operation: 83-73=10 Current State: 56:[46, 10], Operations: ['92/2=46', '83-73=10'] Exploring Operation: 46+10=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[2, 83, 73, 92], Operations: [] Exploring Operation: 92-73=19, Resulting Numbers: [2, 83, 19] Generated Node #0,0: 56:[2, 83, 19] Operation: 92-73=19 Exploring Operation: 92-83=9, Resulting Numbers: [2, 73, 9] Generated Node #0,1: 56:[2, 73, 9] Operation: 92-83=9 Exploring Operation: 92/2=46, Resulting Numbers: [83, 73, 46] Generated Node #0,2: 56:[83, 73, 46] Operation: 92/2=46 Exploring Operation: 83-73=10, Resulting Numbers: [2, 92, 10] Generated Node #0,3: 56:[2, 92, 10] Operation: 83-73=10 Moving to Node #0,1 Current State: 56:[2, 73, 9], Operations: ['92-83=9'] Exploring Operation: 2+73=75, Resulting Numbers: [9, 75] Generated Node #0,1,0: 56:[9, 75] Operation: 2+73=75 Exploring Operation: 73-2=71, Resulting Numbers: [9, 71] Generated Node #0,1,1: 56:[9, 71] Operation: 73-2=71 Exploring Operation: 73-9=64, Resulting Numbers: [2, 64] Generated Node #0,1,2: 56:[2, 64] Operation: 73-9=64 Exploring Operation: 9-2=7, Resulting Numbers: [73, 7] Generated Node #0,1,3: 56:[73, 7] Operation: 9-2=7 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[2, 64], Operations: ['92-83=9', '73-9=64'] Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,56 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,56 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,56 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[9, 71], Operations: ['92-83=9', '73-2=71'] Exploring Operation: 9*71=639, Resulting Numbers: [639] 639,56 unequal: No Solution Exploring Operation: 9+71=80, Resulting Numbers: [80] 80,56 unequal: No Solution Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 56:[73, 7], Operations: ['92-83=9', '9-2=7'] Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,56 unequal: No Solution Exploring Operation: 73*7=511, Resulting Numbers: [511] 511,56 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[9, 75], Operations: ['92-83=9', '2+73=75'] Exploring Operation: 9*75=675, Resulting Numbers: [675] 675,56 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,56 unequal: No Solution Exploring Operation: 9+75=84, Resulting Numbers: [84] 84,56 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: 56:[2, 83, 19], Operations: ['92-73=19'] Exploring Operation: 83-19=64, Resulting Numbers: [2, 64] Generated Node #0,0,0: 56:[2, 64] Operation: 83-19=64 Exploring Operation: 19-2=17, Resulting Numbers: [83, 17] Generated Node #0,0,1: 56:[83, 17] Operation: 19-2=17 Exploring Operation: 83-2=81, Resulting Numbers: [19, 81] Generated Node #0,0,2: 56:[19, 81] Operation: 83-2=81 Exploring Operation: 2+83=85, Resulting Numbers: [19, 85] Generated Node #0,0,3: 56:[19, 85] Operation: 2+83=85 Moving to Node #0,3 Current State: 56:[2, 92, 10], Operations: ['83-73=10'] Exploring Operation: 92/2=46, Resulting Numbers: [10, 46] Generated Node #0,3,0: 56:[10, 46] Operation: 92/2=46 Exploring Operation: 92-10=82, Resulting Numbers: [2, 82] Generated Node #0,3,1: 56:[2, 82] Operation: 92-10=82 Exploring Operation: 10-2=8, Resulting Numbers: [92, 8] Generated Node #0,3,2: 56:[92, 8] Operation: 10-2=8 Exploring Operation: 92-2=90, Resulting Numbers: [10, 90] Generated Node #0,3,3: 56:[10, 90] Operation: 92-2=90 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[10, 46], Operations: ['83-73=10', '92/2=46'] Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[2, 83, 73, 92], Operations: [] Exploring Operation: 83-73=10, Resulting Numbers: [2, 92, 10] Generated Node #0,3: 56:[2, 92, 10] Operation: 83-73=10 Moving to Node #0,3 Current State: 56:[2, 92, 10], Operations: ['83-73=10'] Exploring Operation: 92/2=46, Resulting Numbers: [10, 46] Generated Node #0,3,0: 56:[10, 46] Operation: 92/2=46 Moving to Node #0,3,0 Current State: 56:[10, 46], Operations: ['83-73=10', '92/2=46'] Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 23, 59, 43, 57 ]
89
[ "59-57=2", "23*2=46", "43+46=89" ]
Current State: 89:[23, 59, 43, 57], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [23, 43, 2] Generated Node #2: [23, 43, 2] from Operation: 59-57=2 Current State: 89:[23, 43, 2], Operations: ['59-57=2'] Exploring Operation: 23*2=46, Resulting Numbers: [43, 46] Generated Node #3: [43, 46] from Operation: 23*2=46 Current State: 89:[43, 46], Operations: ['59-57=2', '23*2=46'] Exploring Operation: 43+46=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[23, 59, 43, 57], Operations: [] Exploring Operation: 23+59=82, Resulting Numbers: [43, 57, 82] Generated Node #0,0: 89:[43, 57, 82] Operation: 23+59=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[43, 57, 82], Operations: ['23+59=82'] Exploring Operation: 43+57=100, Resulting Numbers: [82, 100] Generated Node #0,0,0: 89:[82, 100] Operation: 43+57=100 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[82, 100], Operations: ['23+59=82', '43+57=100'] Exploring Operation: 100-82=18, Resulting Numbers: [18] 18,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 50, 28, 30, 61 ]
36
[ "30-28=2", "50/2=25", "61-25=36" ]
Current State: 36:[50, 28, 30, 61], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [50, 61, 2] Generated Node #2: [50, 61, 2] from Operation: 30-28=2 Current State: 36:[50, 61, 2], Operations: ['30-28=2'] Exploring Operation: 50/2=25, Resulting Numbers: [61, 25] Generated Node #3: [61, 25] from Operation: 50/2=25 Current State: 36:[61, 25], Operations: ['30-28=2', '50/2=25'] Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[50, 28, 30, 61], Operations: [] Exploring Operation: 61-50=11, Resulting Numbers: [28, 30, 11] Generated Node #0,0: 36:[28, 30, 11] Operation: 61-50=11 Exploring Operation: 61-28=33, Resulting Numbers: [50, 30, 33] Generated Node #0,1: 36:[50, 30, 33] Operation: 61-28=33 Exploring Operation: 61-30=31, Resulting Numbers: [50, 28, 31] Generated Node #0,2: 36:[50, 28, 31] Operation: 61-30=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[28, 30, 11], Operations: ['61-50=11'] Exploring Operation: 28-11=17, Resulting Numbers: [30, 17] Generated Node #0,0,0: 36:[30, 17] Operation: 28-11=17 Exploring Operation: 28+11=39, Resulting Numbers: [30, 39] Generated Node #0,0,1: 36:[30, 39] Operation: 28+11=39 Exploring Operation: 30-28=2, Resulting Numbers: [11, 2] Generated Node #0,0,2: 36:[11, 2] Operation: 30-28=2 Moving to Node #0,0,2 Current State: 36:[11, 2], Operations: ['61-50=11', '30-28=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[30, 17], Operations: ['61-50=11', '28-11=17'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,36 unequal: No Solution Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[30, 39], Operations: ['61-50=11', '28+11=39'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,36 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,36 unequal: No Solution No 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: 36:[50, 30, 33], Operations: ['61-28=33'] Exploring Operation: 33-30=3, Resulting Numbers: [50, 3] Generated Node #0,1,0: 36:[50, 3] Operation: 33-30=3 Exploring Operation: 50-33=17, Resulting Numbers: [30, 17] Generated Node #0,1,1: 36:[30, 17] Operation: 50-33=17 Exploring Operation: 50-30=20, Resulting Numbers: [33, 20] Generated Node #0,1,2: 36:[33, 20] Operation: 50-30=20 Moving to Node #0,1,2 Current State: 36:[33, 20], Operations: ['61-28=33', '50-30=20'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,36 unequal: No Solution Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[30, 17], Operations: ['61-28=33', '50-33=17'] Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,36 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[50, 3], Operations: ['61-28=33', '33-30=3'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,36 unequal: No Solution No 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: 36:[50, 28, 31], Operations: ['61-30=31'] Exploring Operation: 50-31=19, Resulting Numbers: [28, 19] Generated Node #0,2,0: 36:[28, 19] Operation: 50-31=19 Exploring Operation: 50-28=22, Resulting Numbers: [31, 22] Generated Node #0,2,1: 36:[31, 22] Operation: 50-28=22 Exploring Operation: 31-28=3, Resulting Numbers: [50, 3] Generated Node #0,2,2: 36:[50, 3] Operation: 31-28=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[28, 19], Operations: ['61-30=31', '50-31=19'] Exploring Operation: 28*19=532, Resulting Numbers: [532] 532,36 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 36:[31, 22], Operations: ['61-30=31', '50-28=22'] Exploring Operation: 31+22=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 31*22=682, Resulting Numbers: [682] 682,36 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 36:[50, 3], Operations: ['61-30=31', '31-28=3'] Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,36 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,36 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
[ 66, 90, 68, 50 ]
70
[ "68-66=2", "90+50=140", "140/2=70" ]
Current State: 70:[66, 90, 68, 50], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [90, 50, 2] Generated Node #2: [90, 50, 2] from Operation: 68-66=2 Current State: 70:[90, 50, 2], Operations: ['68-66=2'] Exploring Operation: 90+50=140, Resulting Numbers: [2, 140] Generated Node #3: [2, 140] from Operation: 90+50=140 Current State: 70:[2, 140], Operations: ['68-66=2', '90+50=140'] Exploring Operation: 140/2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[66, 90, 68, 50], Operations: [] Exploring Operation: 90-50=40, Resulting Numbers: [66, 68, 40] Generated Node #0,0: 70:[66, 68, 40] Operation: 90-50=40 Exploring Operation: 90-66=24, Resulting Numbers: [68, 50, 24] Generated Node #0,1: 70:[68, 50, 24] Operation: 90-66=24 Exploring Operation: 66-50=16, Resulting Numbers: [90, 68, 16] Generated Node #0,2: 70:[90, 68, 16] Operation: 66-50=16 Exploring Operation: 90-68=22, Resulting Numbers: [66, 50, 22] Generated Node #0,3: 70:[66, 50, 22] Operation: 90-68=22 Moving to Node #0,0 Current State: 70:[66, 68, 40], Operations: ['90-50=40'] Exploring Operation: 68-40=28, Resulting Numbers: [66, 28] Generated Node #0,0,0: 70:[66, 28] Operation: 68-40=28 Exploring Operation: 66+40=106, Resulting Numbers: [68, 106] Generated Node #0,0,1: 70:[68, 106] Operation: 66+40=106 Exploring Operation: 66-40=26, Resulting Numbers: [68, 26] Generated Node #0,0,2: 70:[68, 26] Operation: 66-40=26 Exploring Operation: 68-66=2, Resulting Numbers: [40, 2] Generated Node #0,0,3: 70:[40, 2] Operation: 68-66=2 Moving to Node #0,2 Current State: 70:[90, 68, 16], Operations: ['66-50=16'] Exploring Operation: 90-68=22, Resulting Numbers: [16, 22] Generated Node #0,2,0: 70:[16, 22] Operation: 90-68=22 Exploring Operation: 68-16=52, Resulting Numbers: [90, 52] Generated Node #0,2,1: 70:[90, 52] Operation: 68-16=52 Exploring Operation: 68+16=84, Resulting Numbers: [90, 84] Generated Node #0,2,2: 70:[90, 84] Operation: 68+16=84 Exploring Operation: 90-16=74, Resulting Numbers: [68, 74] Generated Node #0,2,3: 70:[68, 74] Operation: 90-16=74 Moving to Node #0,3 Current State: 70:[66, 50, 22], Operations: ['90-68=22'] Exploring Operation: 50+22=72, Resulting Numbers: [66, 72] Generated Node #0,3,0: 70:[66, 72] Operation: 50+22=72 Exploring Operation: 66-50=16, Resulting Numbers: [22, 16] Generated Node #0,3,1: 70:[22, 16] Operation: 66-50=16 Exploring Operation: 66/22=3, Resulting Numbers: [50, 3] Generated Node #0,3,2: 70:[50, 3] Operation: 66/22=3 Exploring Operation: 50-22=28, Resulting Numbers: [66, 28] Generated Node #0,3,3: 70:[66, 28] Operation: 50-22=28 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[66, 72], Operations: ['90-68=22', '50+22=72'] Exploring Operation: 66+72=138, Resulting Numbers: [138] 138,70 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 66*72=4752, Resulting Numbers: [4752] 4752,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[22, 16], Operations: ['90-68=22', '66-50=16'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[66, 28], Operations: ['90-68=22', '50-22=28'] Exploring Operation: 66+28=94, Resulting Numbers: [94] 94,70 unequal: No Solution Exploring Operation: 66*28=1848, Resulting Numbers: [1848] 1848,70 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[50, 3], Operations: ['90-68=22', '66/22=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,70 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,70 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 70:[68, 50, 24], Operations: ['90-66=24'] Exploring Operation: 68-50=18, Resulting Numbers: [24, 18] Generated Node #0,1,0: 70:[24, 18] Operation: 68-50=18 Exploring Operation: 68-24=44, Resulting Numbers: [50, 44] Generated Node #0,1,1: 70:[50, 44] Operation: 68-24=44 Exploring Operation: 50+24=74, Resulting Numbers: [68, 74] Generated Node #0,1,2: 70:[68, 74] Operation: 50+24=74 Exploring Operation: 50-24=26, Resulting Numbers: [68, 26] Generated Node #0,1,3: 70:[68, 26] Operation: 50-24=26 Moving to Node #0,0,3 Current State: 70:[40, 2], Operations: ['90-50=40', '68-66=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[68, 74], Operations: ['66-50=16', '90-16=74'] Exploring Operation: 74-68=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 68+74=142, Resulting Numbers: [142] 142,70 unequal: No Solution Exploring Operation: 68*74=5032, Resulting Numbers: [5032] 5032,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[68, 74], Operations: ['90-66=24', '50+24=74'] Exploring Operation: 74-68=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 68+74=142, Resulting Numbers: [142] 142,70 unequal: No Solution Exploring Operation: 68*74=5032, Resulting Numbers: [5032] 5032,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[16, 22], Operations: ['66-50=16', '90-68=22'] Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 16*22=352, Resulting Numbers: [352] 352,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[68, 26], Operations: ['90-50=40', '66-40=26'] Exploring Operation: 68*26=1768, Resulting Numbers: [1768] 1768,70 unequal: No Solution Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,70 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[66, 28], Operations: ['90-50=40', '68-40=28'] Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 66+28=94, Resulting Numbers: [94] 94,70 unequal: No Solution Exploring Operation: 66*28=1848, Resulting Numbers: [1848] 1848,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[68, 26], Operations: ['90-66=24', '50-24=26'] Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,70 unequal: No Solution Exploring Operation: 68*26=1768, Resulting Numbers: [1768] 1768,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[24, 18], Operations: ['90-66=24', '68-50=18'] Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,70 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[50, 44], Operations: ['90-66=24', '68-24=44'] Exploring Operation: 50+44=94, Resulting Numbers: [94] 94,70 unequal: No Solution Exploring Operation: 50*44=2200, Resulting Numbers: [2200] 2200,70 unequal: No Solution Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[90, 84], Operations: ['66-50=16', '68+16=84'] Exploring Operation: 90*84=7560, Resulting Numbers: [7560] 7560,70 unequal: No Solution Exploring Operation: 90-84=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 90+84=174, Resulting Numbers: [174] 174,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[90, 52], Operations: ['66-50=16', '68-16=52'] Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 90*52=4680, Resulting Numbers: [4680] 4680,70 unequal: No Solution Exploring Operation: 90+52=142, Resulting Numbers: [142] 142,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[68, 106], Operations: ['90-50=40', '66+40=106'] Exploring Operation: 68*106=7208, Resulting Numbers: [7208] 7208,70 unequal: No Solution Exploring Operation: 68+106=174, Resulting Numbers: [174] 174,70 unequal: No Solution Exploring Operation: 106-68=38, Resulting Numbers: [38] 38,70 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 10, 70, 20, 1 ]
73
[ "20/10=2", "70+1=71", "2+71=73" ]
Current State: 73:[10, 70, 20, 1], Operations: [] Exploring Operation: 20/10=2, Resulting Numbers: [70, 1, 2] Generated Node #2: [70, 1, 2] from Operation: 20/10=2 Current State: 73:[70, 1, 2], Operations: ['20/10=2'] Exploring Operation: 70+1=71, Resulting Numbers: [2, 71] Generated Node #3: [2, 71] from Operation: 70+1=71 Current State: 73:[2, 71], Operations: ['20/10=2', '70+1=71'] Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[10, 70, 20, 1], Operations: [] Exploring Operation: 10+20=30, Resulting Numbers: [70, 1, 30] Generated Node #0,0: 73:[70, 1, 30] Operation: 10+20=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[70, 1, 30], Operations: ['10+20=30'] Exploring Operation: 70+1=71, Resulting Numbers: [30, 71] Generated Node #0,0,0: 73:[30, 71] Operation: 70+1=71 Moving to Node #0,0,0 Current State: 73:[30, 71], Operations: ['10+20=30', '70+1=71'] Exploring Operation: 30+71=101, Resulting Numbers: [101] 101,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 47, 2, 1, 63 ]
13
[ "47+2=49", "63-1=62", "62-49=13" ]
Current State: 13:[47, 2, 1, 63], Operations: [] Exploring Operation: 47+2=49, Resulting Numbers: [1, 63, 49] Generated Node #2: [1, 63, 49] from Operation: 47+2=49 Current State: 13:[1, 63, 49], Operations: ['47+2=49'] Exploring Operation: 63-1=62, Resulting Numbers: [49, 62] Generated Node #3: [49, 62] from Operation: 63-1=62 Current State: 13:[49, 62], Operations: ['47+2=49', '63-1=62'] Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[47, 2, 1, 63], Operations: [] Exploring Operation: 47-2=45, Resulting Numbers: [1, 63, 45] Generated Node #0,0: 13:[1, 63, 45] Operation: 47-2=45 Exploring Operation: 63-47=16, Resulting Numbers: [2, 1, 16] Generated Node #0,1: 13:[2, 1, 16] Operation: 63-47=16 Moving to Node #0,1 Current State: 13:[2, 1, 16], Operations: ['63-47=16'] Exploring Operation: 16-2=14, Resulting Numbers: [1, 14] Generated Node #0,1,0: 13:[1, 14] Operation: 16-2=14 Exploring Operation: 2+1=3, Resulting Numbers: [16, 3] Generated Node #0,1,1: 13:[16, 3] Operation: 2+1=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[1, 14], Operations: ['63-47=16', '16-2=14'] Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[47, 2, 1, 63], Operations: [] Exploring Operation: 63-47=16, Resulting Numbers: [2, 1, 16] Generated Node #0,1: 13:[2, 1, 16] Operation: 63-47=16 Moving to Node #0,1 Current State: 13:[2, 1, 16], Operations: ['63-47=16'] Exploring Operation: 16-2=14, Resulting Numbers: [1, 14] Generated Node #0,1,0: 13:[1, 14] Operation: 16-2=14 Moving to Node #0,1,0 Current State: 13:[1, 14], Operations: ['63-47=16', '16-2=14'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 5, 58, 35, 13 ]
26
[ "58-13=45", "45/5=9", "35-9=26" ]
Current State: 26:[5, 58, 35, 13], Operations: [] Exploring Operation: 58-13=45, Resulting Numbers: [5, 35, 45] Generated Node #2: [5, 35, 45] from Operation: 58-13=45 Current State: 26:[5, 35, 45], Operations: ['58-13=45'] Exploring Operation: 45/5=9, Resulting Numbers: [35, 9] Generated Node #3: [35, 9] from Operation: 45/5=9 Current State: 26:[35, 9], Operations: ['58-13=45', '45/5=9'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[5, 58, 35, 13], Operations: [] Exploring Operation: 58-35=23, Resulting Numbers: [5, 13, 23] Generated Node #0,0: 26:[5, 13, 23] Operation: 58-35=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[5, 13, 23], Operations: ['58-35=23'] Exploring Operation: 5+23=28, Resulting Numbers: [13, 28] Generated Node #0,0,0: 26:[13, 28] Operation: 5+23=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[13, 28], Operations: ['58-35=23', '5+23=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,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
sum_heuristic
[ 75, 37, 39, 52 ]
53
[ "75-37=38", "39+52=91", "91-38=53" ]
Current State: 53:[75, 37, 39, 52], Operations: [] Exploring Operation: 75-37=38, Resulting Numbers: [39, 52, 38] Generated Node #2: [39, 52, 38] from Operation: 75-37=38 Current State: 53:[39, 52, 38], Operations: ['75-37=38'] Exploring Operation: 39+52=91, Resulting Numbers: [38, 91] Generated Node #3: [38, 91] from Operation: 39+52=91 Current State: 53:[38, 91], Operations: ['75-37=38', '39+52=91'] Exploring Operation: 91-38=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[75, 37, 39, 52], Operations: [] Exploring Operation: 75-37=38, Resulting Numbers: [39, 52, 38] Generated Node #0,0: 53:[39, 52, 38] Operation: 75-37=38 Exploring Operation: 75-39=36, Resulting Numbers: [37, 52, 36] Generated Node #0,1: 53:[37, 52, 36] Operation: 75-39=36 Exploring Operation: 37+52=89, Resulting Numbers: [75, 39, 89] Generated Node #0,2: 53:[75, 39, 89] Operation: 37+52=89 Exploring Operation: 37+39=76, Resulting Numbers: [75, 52, 76] Generated Node #0,3: 53:[75, 52, 76] Operation: 37+39=76 Exploring Operation: 75-52=23, Resulting Numbers: [37, 39, 23] Generated Node #0,4: 53:[37, 39, 23] Operation: 75-52=23 Moving to Node #0,0 Current State: 53:[39, 52, 38], Operations: ['75-37=38'] Exploring Operation: 52+38=90, Resulting Numbers: [39, 90] Generated Node #0,0,0: 53:[39, 90] Operation: 52+38=90 Exploring Operation: 39-38=1, Resulting Numbers: [52, 1] Generated Node #0,0,1: 53:[52, 1] Operation: 39-38=1 Exploring Operation: 39+38=77, Resulting Numbers: [52, 77] Generated Node #0,0,2: 53:[52, 77] Operation: 39+38=77 Exploring Operation: 52-38=14, Resulting Numbers: [39, 14] Generated Node #0,0,3: 53:[39, 14] Operation: 52-38=14 Exploring Operation: 39+52=91, Resulting Numbers: [38, 91] Generated Node #0,0,4: 53:[38, 91] Operation: 39+52=91 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[52, 77], Operations: ['75-37=38', '39+38=77'] Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 52+77=129, Resulting Numbers: [129] 129,53 unequal: No Solution Exploring Operation: 52*77=4004, Resulting Numbers: [4004] 4004,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[39, 90], Operations: ['75-37=38', '52+38=90'] Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 39*90=3510, Resulting Numbers: [3510] 3510,53 unequal: No Solution Exploring Operation: 39+90=129, Resulting Numbers: [129] 129,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[52, 1], Operations: ['75-37=38', '39-38=1'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[75, 37, 39, 52], Operations: [] Exploring Operation: 75-37=38, Resulting Numbers: [39, 52, 38] Generated Node #0,0: 53:[39, 52, 38] Operation: 75-37=38 Moving to Node #0,0 Current State: 53:[39, 52, 38], Operations: ['75-37=38'] Exploring Operation: 39-38=1, Resulting Numbers: [52, 1] Generated Node #0,0,1: 53:[52, 1] Operation: 39-38=1 Moving to Node #0,0,1 Current State: 53:[52, 1], Operations: ['75-37=38', '39-38=1'] Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 93, 96, 33, 23 ]
76
[ "96-93=3", "33*3=99", "99-23=76" ]
Current State: 76:[93, 96, 33, 23], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [33, 23, 3] Generated Node #2: [33, 23, 3] from Operation: 96-93=3 Current State: 76:[33, 23, 3], Operations: ['96-93=3'] Exploring Operation: 33*3=99, Resulting Numbers: [23, 99] Generated Node #3: [23, 99] from Operation: 33*3=99 Current State: 76:[23, 99], Operations: ['96-93=3', '33*3=99'] Exploring Operation: 99-23=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[93, 96, 33, 23], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [33, 23, 3] Generated Node #0,0: 76:[33, 23, 3] Operation: 96-93=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[33, 23, 3], Operations: ['96-93=3'] Exploring Operation: 33+3=36, Resulting Numbers: [23, 36] Generated Node #0,0,0: 76:[23, 36] Operation: 33+3=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[23, 36], Operations: ['96-93=3', '33+3=36'] Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,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 No solution found.
0
hs_1
mult_heuristic
[ 65, 33, 25, 65 ]
59
[ "65/65=1", "33+25=58", "1+58=59" ]
Current State: 59:[65, 33, 25, 65], Operations: [] Exploring Operation: 65/65=1, Resulting Numbers: [33, 25, 1] Generated Node #2: [33, 25, 1] from Operation: 65/65=1 Current State: 59:[33, 25, 1], Operations: ['65/65=1'] Exploring Operation: 33+25=58, Resulting Numbers: [1, 58] Generated Node #3: [1, 58] from Operation: 33+25=58 Current State: 59:[1, 58], Operations: ['65/65=1', '33+25=58'] Exploring Operation: 1+58=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[65, 33, 25, 65], Operations: [] Exploring Operation: 65-25=40, Resulting Numbers: [33, 65, 40] Generated Node #0,0: 59:[33, 65, 40] Operation: 65-25=40 Exploring Operation: 33+25=58, Resulting Numbers: [65, 65, 58] Generated Node #0,1: 59:[65, 65, 58] Operation: 33+25=58 Exploring Operation: 65-25=40, Resulting Numbers: [65, 33, 40] Generated Node #0,2: 59:[65, 33, 40] Operation: 65-25=40 Moving to Node #0,1 Current State: 59:[65, 65, 58], Operations: ['33+25=58'] Exploring Operation: 65-58=7, Resulting Numbers: [65, 7] Generated Node #0,1,0: 59:[65, 7] Operation: 65-58=7 Exploring Operation: 65-58=7, Resulting Numbers: [65, 7] Generated Node #0,1,1: 59:[65, 7] Operation: 65-58=7 Exploring Operation: 65/65=1, Resulting Numbers: [58, 1] Generated Node #0,1,2: 59:[58, 1] Operation: 65/65=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[65, 7], Operations: ['33+25=58', '65-58=7'] Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 65*7=455, Resulting Numbers: [455] 455,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:[65, 7], Operations: ['33+25=58', '65-58=7'] Exploring Operation: 65*7=455, Resulting Numbers: [455] 455,59 unequal: No Solution Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[58, 1], Operations: ['33+25=58', '65/65=1'] Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[65, 33, 25, 65], Operations: [] Exploring Operation: 33+25=58, Resulting Numbers: [65, 65, 58] Generated Node #0,1: 59:[65, 65, 58] Operation: 33+25=58 Moving to Node #0,1 Current State: 59:[65, 65, 58], Operations: ['33+25=58'] Exploring Operation: 65/65=1, Resulting Numbers: [58, 1] Generated Node #0,1,2: 59:[58, 1] Operation: 65/65=1 Moving to Node #0,1,2 Current State: 59:[58, 1], Operations: ['33+25=58', '65/65=1'] Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 6, 42, 4, 54 ]
10
[ "6+42=48", "4+54=58", "58-48=10" ]
Current State: 10:[6, 42, 4, 54], Operations: [] Exploring Operation: 6+42=48, Resulting Numbers: [4, 54, 48] Generated Node #2: [4, 54, 48] from Operation: 6+42=48 Current State: 10:[4, 54, 48], Operations: ['6+42=48'] Exploring Operation: 4+54=58, Resulting Numbers: [48, 58] Generated Node #3: [48, 58] from Operation: 4+54=58 Current State: 10:[48, 58], Operations: ['6+42=48', '4+54=58'] Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[6, 42, 4, 54], Operations: [] Exploring Operation: 54/6=9, Resulting Numbers: [42, 4, 9] Generated Node #0,0: 10:[42, 4, 9] Operation: 54/6=9 Exploring Operation: 54-6=48, Resulting Numbers: [42, 4, 48] Generated Node #0,1: 10:[42, 4, 48] Operation: 54-6=48 Exploring Operation: 42-6=36, Resulting Numbers: [4, 54, 36] Generated Node #0,2: 10:[4, 54, 36] Operation: 42-6=36 Exploring Operation: 42/6=7, Resulting Numbers: [4, 54, 7] Generated Node #0,3: 10:[4, 54, 7] Operation: 42/6=7 Exploring Operation: 54-42=12, Resulting Numbers: [6, 4, 12] Generated Node #0,4: 10:[6, 4, 12] Operation: 54-42=12 Start Sub Search at level 1: Moving to Node #0,4 Current State: 10:[6, 4, 12], Operations: ['54-42=12'] Exploring Operation: 12/4=3, Resulting Numbers: [6, 3] Generated Node #0,4,0: 10:[6, 3] Operation: 12/4=3 Exploring Operation: 6+4=10, Resulting Numbers: [12, 10] Generated Node #0,4,1: 10:[12, 10] Operation: 6+4=10 Exploring Operation: 6-4=2, Resulting Numbers: [12, 2] Generated Node #0,4,2: 10:[12, 2] Operation: 6-4=2 Exploring Operation: 12/6=2, Resulting Numbers: [4, 2] Generated Node #0,4,3: 10:[4, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [4, 6] Generated Node #0,4,4: 10:[4, 6] Operation: 12-6=6 Moving to Node #0,4,3 Current State: 10:[4, 2], Operations: ['54-42=12', '12/6=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,10 unequal: No Solution Moving to Node #0,4,1 Current State: 10:[12, 10], Operations: ['54-42=12', '6+4=10'] Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,10 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,10 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,10 unequal: No Solution Moving to Node #0,4,4 Current State: 10:[4, 6], Operations: ['54-42=12', '12-6=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[6, 42, 4, 54], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [6, 4, 12] Generated Node #0,4: 10:[6, 4, 12] Operation: 54-42=12 Moving to Node #0,4 Current State: 10:[6, 4, 12], Operations: ['54-42=12'] Exploring Operation: 12-6=6, Resulting Numbers: [4, 6] Generated Node #0,4,4: 10:[4, 6] Operation: 12-6=6 Moving to Node #0,4,4 Current State: 10:[4, 6], Operations: ['54-42=12', '12-6=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 72, 32, 11, 66 ]
46
[ "72-32=40", "66/11=6", "40+6=46" ]
Current State: 46:[72, 32, 11, 66], Operations: [] Exploring Operation: 72-32=40, Resulting Numbers: [11, 66, 40] Generated Node #2: [11, 66, 40] from Operation: 72-32=40 Current State: 46:[11, 66, 40], Operations: ['72-32=40'] Exploring Operation: 66/11=6, Resulting Numbers: [40, 6] Generated Node #3: [40, 6] from Operation: 66/11=6 Current State: 46:[40, 6], Operations: ['72-32=40', '66/11=6'] Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[72, 32, 11, 66], Operations: [] Exploring Operation: 72-66=6, Resulting Numbers: [32, 11, 6] Generated Node #0,0: 46:[32, 11, 6] Operation: 72-66=6 Exploring Operation: 72-11=61, Resulting Numbers: [32, 66, 61] Generated Node #0,1: 46:[32, 66, 61] Operation: 72-11=61 Exploring Operation: 66-11=55, Resulting Numbers: [72, 32, 55] Generated Node #0,2: 46:[72, 32, 55] Operation: 66-11=55 Exploring Operation: 72-32=40, Resulting Numbers: [11, 66, 40] Generated Node #0,3: 46:[11, 66, 40] Operation: 72-32=40 Exploring Operation: 66/11=6, Resulting Numbers: [72, 32, 6] Generated Node #0,4: 46:[72, 32, 6] Operation: 66/11=6 Moving to Node #0,0 Current State: 46:[32, 11, 6], Operations: ['72-66=6'] Exploring Operation: 32+11=43, Resulting Numbers: [6, 43] Generated Node #0,0,0: 46:[6, 43] Operation: 32+11=43 Exploring Operation: 32-6=26, Resulting Numbers: [11, 26] Generated Node #0,0,1: 46:[11, 26] Operation: 32-6=26 Exploring Operation: 11+6=17, Resulting Numbers: [32, 17] Generated Node #0,0,2: 46:[32, 17] Operation: 11+6=17 Exploring Operation: 32-11=21, Resulting Numbers: [6, 21] Generated Node #0,0,3: 46:[6, 21] Operation: 32-11=21 Exploring Operation: 11-6=5, Resulting Numbers: [32, 5] Generated Node #0,0,4: 46:[32, 5] Operation: 11-6=5 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 46:[6, 21], Operations: ['72-66=6', '32-11=21'] Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,46 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[6, 43], Operations: ['72-66=6', '32+11=43'] Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[11, 26], Operations: ['72-66=6', '32-6=26'] Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,46 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 46:[32, 5], Operations: ['72-66=6', '11-6=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[32, 17], Operations: ['72-66=6', '11+6=17'] Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,46 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 46:[11, 66, 40], Operations: ['72-32=40'] Exploring Operation: 66/11=6, Resulting Numbers: [40, 6] Generated Node #0,3,0: 46:[40, 6] Operation: 66/11=6 Exploring Operation: 66-40=26, Resulting Numbers: [11, 26] Generated Node #0,3,1: 46:[11, 26] Operation: 66-40=26 Exploring Operation: 40-11=29, Resulting Numbers: [66, 29] Generated Node #0,3,2: 46:[66, 29] Operation: 40-11=29 Exploring Operation: 66-11=55, Resulting Numbers: [40, 55] Generated Node #0,3,3: 46:[40, 55] Operation: 66-11=55 Exploring Operation: 11+40=51, Resulting Numbers: [66, 51] Generated Node #0,3,4: 46:[66, 51] Operation: 11+40=51 Moving to Node #0,4 Current State: 46:[72, 32, 6], Operations: ['66/11=6'] Exploring Operation: 32-6=26, Resulting Numbers: [72, 26] Generated Node #0,4,0: 46:[72, 26] Operation: 32-6=26 Exploring Operation: 72/6=12, Resulting Numbers: [32, 12] Generated Node #0,4,1: 46:[32, 12] Operation: 72/6=12 Exploring Operation: 32+6=38, Resulting Numbers: [72, 38] Generated Node #0,4,2: 46:[72, 38] Operation: 32+6=38 Exploring Operation: 72-32=40, Resulting Numbers: [6, 40] Generated Node #0,4,3: 46:[6, 40] Operation: 72-32=40 Exploring Operation: 72-6=66, Resulting Numbers: [32, 66] Generated Node #0,4,4: 46:[32, 66] Operation: 72-6=66 Moving to Node #0,1 Current State: 46:[32, 66, 61], Operations: ['72-11=61'] Exploring Operation: 32+66=98, Resulting Numbers: [61, 98] Generated Node #0,1,0: 46:[61, 98] Operation: 32+66=98 Exploring Operation: 66-61=5, Resulting Numbers: [32, 5] Generated Node #0,1,1: 46:[32, 5] Operation: 66-61=5 Exploring Operation: 32+61=93, Resulting Numbers: [66, 93] Generated Node #0,1,2: 46:[66, 93] Operation: 32+61=93 Exploring Operation: 66-32=34, Resulting Numbers: [61, 34] Generated Node #0,1,3: 46:[61, 34] Operation: 66-32=34 Exploring Operation: 61-32=29, Resulting Numbers: [66, 29] Generated Node #0,1,4: 46:[66, 29] Operation: 61-32=29 Moving to Node #0,2 Current State: 46:[72, 32, 55], Operations: ['66-11=55'] Exploring Operation: 32+55=87, Resulting Numbers: [72, 87] Generated Node #0,2,0: 46:[72, 87] Operation: 32+55=87 Exploring Operation: 72-32=40, Resulting Numbers: [55, 40] Generated Node #0,2,1: 46:[55, 40] Operation: 72-32=40 Exploring Operation: 72+32=104, Resulting Numbers: [55, 104] Generated Node #0,2,2: 46:[55, 104] Operation: 72+32=104 Exploring Operation: 72-55=17, Resulting Numbers: [32, 17] Generated Node #0,2,3: 46:[32, 17] Operation: 72-55=17 Exploring Operation: 55-32=23, Resulting Numbers: [72, 23] Generated Node #0,2,4: 46:[72, 23] Operation: 55-32=23 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[55, 40], Operations: ['66-11=55', '72-32=40'] Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 55*40=2200, Resulting Numbers: [2200] 2200,46 unequal: No Solution Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 46:[32, 17], Operations: ['66-11=55', '72-55=17'] Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,46 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 46:[72, 23], Operations: ['66-11=55', '55-32=23'] Exploring Operation: 72*23=1656, Resulting Numbers: [1656] 1656,46 unequal: No Solution Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 72+23=95, Resulting Numbers: [95] 95,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[72, 87], Operations: ['66-11=55', '32+55=87'] Exploring Operation: 87-72=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 72*87=6264, Resulting Numbers: [6264] 6264,46 unequal: No Solution Exploring Operation: 72+87=159, Resulting Numbers: [159] 159,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[55, 104], Operations: ['66-11=55', '72+32=104'] Exploring Operation: 104-55=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 55+104=159, Resulting Numbers: [159] 159,46 unequal: No Solution Exploring Operation: 55*104=5720, Resulting Numbers: [5720] 5720,46 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: 46:[40, 6], Operations: ['72-32=40', '66/11=6'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,46 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,46 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[72, 32, 11, 66], Operations: [] Exploring Operation: 72-32=40, Resulting Numbers: [11, 66, 40] Generated Node #0,3: 46:[11, 66, 40] Operation: 72-32=40 Moving to Node #0,3 Current State: 46:[11, 66, 40], Operations: ['72-32=40'] Exploring Operation: 66/11=6, Resulting Numbers: [40, 6] Generated Node #0,3,0: 46:[40, 6] Operation: 66/11=6 Moving to Node #0,3,0 Current State: 46:[40, 6], Operations: ['72-32=40', '66/11=6'] Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.94184
hs_5
mult_heuristic
[ 46, 63, 64, 27 ]
20
[ "63-46=17", "64-27=37", "37-17=20" ]
Current State: 20:[46, 63, 64, 27], Operations: [] Exploring Operation: 63-46=17, Resulting Numbers: [64, 27, 17] Generated Node #2: [64, 27, 17] from Operation: 63-46=17 Current State: 20:[64, 27, 17], Operations: ['63-46=17'] Exploring Operation: 64-27=37, Resulting Numbers: [17, 37] Generated Node #3: [17, 37] from Operation: 64-27=37 Current State: 20:[17, 37], Operations: ['63-46=17', '64-27=37'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[46, 63, 64, 27], Operations: [] Exploring Operation: 64-63=1, Resulting Numbers: [46, 27, 1] Generated Node #0,0: 20:[46, 27, 1] Operation: 64-63=1 Exploring Operation: 64-46=18, Resulting Numbers: [63, 27, 18] Generated Node #0,1: 20:[63, 27, 18] Operation: 64-46=18 Moving to Node #0,0 Current State: 20:[46, 27, 1], Operations: ['64-63=1'] Exploring Operation: 46-27=19, Resulting Numbers: [1, 19] Generated Node #0,0,0: 20:[1, 19] Operation: 46-27=19 Exploring Operation: 46-1=45, Resulting Numbers: [27, 45] Generated Node #0,0,1: 20:[27, 45] Operation: 46-1=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[1, 19], Operations: ['64-63=1', '46-27=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[46, 63, 64, 27], Operations: [] Exploring Operation: 64-63=1, Resulting Numbers: [46, 27, 1] Generated Node #0,0: 20:[46, 27, 1] Operation: 64-63=1 Moving to Node #0,0 Current State: 20:[46, 27, 1], Operations: ['64-63=1'] Exploring Operation: 46-27=19, Resulting Numbers: [1, 19] Generated Node #0,0,0: 20:[1, 19] Operation: 46-27=19 Moving to Node #0,0,0 Current State: 20:[1, 19], Operations: ['64-63=1', '46-27=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 27, 58, 35, 26 ]
93
[ "27-26=1", "58+35=93", "1*93=93" ]
Current State: 93:[27, 58, 35, 26], Operations: [] Exploring Operation: 27-26=1, Resulting Numbers: [58, 35, 1] Generated Node #2: [58, 35, 1] from Operation: 27-26=1 Current State: 93:[58, 35, 1], Operations: ['27-26=1'] Exploring Operation: 58+35=93, Resulting Numbers: [1, 93] Generated Node #3: [1, 93] from Operation: 58+35=93 Current State: 93:[1, 93], Operations: ['27-26=1', '58+35=93'] Exploring Operation: 1*93=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[27, 58, 35, 26], Operations: [] Exploring Operation: 58-27=31, Resulting Numbers: [35, 26, 31] Generated Node #0,0: 93:[35, 26, 31] Operation: 58-27=31 Exploring Operation: 58+35=93, Resulting Numbers: [27, 26, 93] Generated Node #0,1: 93:[27, 26, 93] Operation: 58+35=93 Exploring Operation: 58-26=32, Resulting Numbers: [27, 35, 32] Generated Node #0,2: 93:[27, 35, 32] Operation: 58-26=32 Moving to Node #0,0 Current State: 93:[35, 26, 31], Operations: ['58-27=31'] Exploring Operation: 35-31=4, Resulting Numbers: [26, 4] Generated Node #0,0,0: 93:[26, 4] Operation: 35-31=4 Exploring Operation: 31-26=5, Resulting Numbers: [35, 5] Generated Node #0,0,1: 93:[35, 5] Operation: 31-26=5 Exploring Operation: 35-26=9, Resulting Numbers: [31, 9] Generated Node #0,0,2: 93:[31, 9] Operation: 35-26=9 Moving to Node #0,1 Current State: 93:[27, 26, 93], Operations: ['58+35=93'] Exploring Operation: 26+93=119, Resulting Numbers: [27, 119] Generated Node #0,1,0: 93:[27, 119] Operation: 26+93=119 Exploring Operation: 27-26=1, Resulting Numbers: [93, 1] Generated Node #0,1,1: 93:[93, 1] Operation: 27-26=1 Exploring Operation: 27+26=53, Resulting Numbers: [93, 53] Generated Node #0,1,2: 93:[93, 53] Operation: 27+26=53 Moving to Node #0,2 Current State: 93:[27, 35, 32], Operations: ['58-26=32'] Exploring Operation: 35-27=8, Resulting Numbers: [32, 8] Generated Node #0,2,0: 93:[32, 8] Operation: 35-27=8 Exploring Operation: 35-32=3, Resulting Numbers: [27, 3] Generated Node #0,2,1: 93:[27, 3] Operation: 35-32=3 Exploring Operation: 32-27=5, Resulting Numbers: [35, 5] Generated Node #0,2,2: 93:[35, 5] Operation: 32-27=5 Moving to Node #0,1,1 Current State: 93:[93, 1], Operations: ['58+35=93', '27-26=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[27, 58, 35, 26], Operations: [] Exploring Operation: 58+35=93, Resulting Numbers: [27, 26, 93] Generated Node #0,1: 93:[27, 26, 93] Operation: 58+35=93 Moving to Node #0,1 Current State: 93:[27, 26, 93], Operations: ['58+35=93'] Exploring Operation: 27-26=1, Resulting Numbers: [93, 1] Generated Node #0,1,1: 93:[93, 1] Operation: 27-26=1 Moving to Node #0,1,1 Current State: 93:[93, 1], Operations: ['58+35=93', '27-26=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.985243
hs_3
mult_heuristic
[ 30, 91, 13, 93 ]
70
[ "93-30=63", "91/13=7", "63+7=70" ]
Current State: 70:[30, 91, 13, 93], Operations: [] Exploring Operation: 93-30=63, Resulting Numbers: [91, 13, 63] Generated Node #2: [91, 13, 63] from Operation: 93-30=63 Current State: 70:[91, 13, 63], Operations: ['93-30=63'] Exploring Operation: 91/13=7, Resulting Numbers: [63, 7] Generated Node #3: [63, 7] from Operation: 91/13=7 Current State: 70:[63, 7], Operations: ['93-30=63', '91/13=7'] Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[30, 91, 13, 93], Operations: [] Exploring Operation: 91/13=7, Resulting Numbers: [30, 93, 7] Generated Node #0,0: 70:[30, 93, 7] Operation: 91/13=7 Exploring Operation: 93-30=63, Resulting Numbers: [91, 13, 63] Generated Node #0,1: 70:[91, 13, 63] Operation: 93-30=63 Exploring Operation: 93-91=2, Resulting Numbers: [30, 13, 2] Generated Node #0,2: 70:[30, 13, 2] Operation: 93-91=2 Exploring Operation: 91-30=61, Resulting Numbers: [13, 93, 61] Generated Node #0,3: 70:[13, 93, 61] Operation: 91-30=61 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[30, 13, 2], Operations: ['93-91=2'] Exploring Operation: 13+2=15, Resulting Numbers: [30, 15] Generated Node #0,2,0: 70:[30, 15] Operation: 13+2=15 Exploring Operation: 30+2=32, Resulting Numbers: [13, 32] Generated Node #0,2,1: 70:[13, 32] Operation: 30+2=32 Exploring Operation: 30/2=15, Resulting Numbers: [13, 15] Generated Node #0,2,2: 70:[13, 15] Operation: 30/2=15 Exploring Operation: 30-13=17, Resulting Numbers: [2, 17] Generated Node #0,2,3: 70:[2, 17] Operation: 30-13=17 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 70:[13, 15], Operations: ['93-91=2', '30/2=15'] Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,70 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,70 unequal: No Solution No 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: 70:[2, 17], Operations: ['93-91=2', '30-13=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,70 unequal: No Solution No 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: 70:[13, 32], Operations: ['93-91=2', '30+2=32'] Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,70 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,70 unequal: No Solution No 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: 70:[30, 15], Operations: ['93-91=2', '13+2=15'] Exploring Operation: 30*15=450, Resulting Numbers: [450] 450,70 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,70 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,70 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: 70:[30, 93, 7], Operations: ['91/13=7'] Exploring Operation: 30-7=23, Resulting Numbers: [93, 23] Generated Node #0,0,0: 70:[93, 23] Operation: 30-7=23 Exploring Operation: 93-7=86, Resulting Numbers: [30, 86] Generated Node #0,0,1: 70:[30, 86] Operation: 93-7=86 Exploring Operation: 93-30=63, Resulting Numbers: [7, 63] Generated Node #0,0,2: 70:[7, 63] Operation: 93-30=63 Exploring Operation: 30+7=37, Resulting Numbers: [93, 37] Generated Node #0,0,3: 70:[93, 37] Operation: 30+7=37 Moving to Node #0,0,2 Current State: 70:[7, 63], Operations: ['91/13=7', '93-30=63'] Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[30, 91, 13, 93], Operations: [] Exploring Operation: 91/13=7, Resulting Numbers: [30, 93, 7] Generated Node #0,0: 70:[30, 93, 7] Operation: 91/13=7 Moving to Node #0,0 Current State: 70:[30, 93, 7], Operations: ['91/13=7'] Exploring Operation: 93-30=63, Resulting Numbers: [7, 63] Generated Node #0,0,2: 70:[7, 63] Operation: 93-30=63 Moving to Node #0,0,2 Current State: 70:[7, 63], Operations: ['91/13=7', '93-30=63'] Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 92, 4, 33, 46 ]
36
[ "92/4=23", "46-33=13", "23+13=36" ]
Current State: 36:[92, 4, 33, 46], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [33, 46, 23] Generated Node #2: [33, 46, 23] from Operation: 92/4=23 Current State: 36:[33, 46, 23], Operations: ['92/4=23'] Exploring Operation: 46-33=13, Resulting Numbers: [23, 13] Generated Node #3: [23, 13] from Operation: 46-33=13 Current State: 36:[23, 13], Operations: ['92/4=23', '46-33=13'] Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[92, 4, 33, 46], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [4, 33, 2] Generated Node #0,0: 36:[4, 33, 2] Operation: 92/46=2 Exploring Operation: 92-46=46, Resulting Numbers: [4, 33, 46] Generated Node #0,1: 36:[4, 33, 46] Operation: 92-46=46 Exploring Operation: 92/4=23, Resulting Numbers: [33, 46, 23] Generated Node #0,2: 36:[33, 46, 23] Operation: 92/4=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[4, 33, 2], Operations: ['92/46=2'] Exploring Operation: 33+2=35, Resulting Numbers: [4, 35] Generated Node #0,0,0: 36:[4, 35] Operation: 33+2=35 Exploring Operation: 4+2=6, Resulting Numbers: [33, 6] Generated Node #0,0,1: 36:[33, 6] Operation: 4+2=6 Exploring Operation: 4+33=37, Resulting Numbers: [2, 37] Generated Node #0,0,2: 36:[2, 37] Operation: 4+33=37 Moving to Node #0,0,0 Current State: 36:[4, 35], Operations: ['92/46=2', '33+2=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[2, 37], Operations: ['92/46=2', '4+33=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[33, 6], Operations: ['92/46=2', '4+2=6'] Exploring Operation: 33*6=198, Resulting Numbers: [198] 198,36 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,36 unequal: No Solution No 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: 36:[4, 33, 46], Operations: ['92-46=46'] Exploring Operation: 46-4=42, Resulting Numbers: [33, 42] Generated Node #0,1,0: 36:[33, 42] Operation: 46-4=42 Exploring Operation: 4+33=37, Resulting Numbers: [46, 37] Generated Node #0,1,1: 36:[46, 37] Operation: 4+33=37 Exploring Operation: 46-33=13, Resulting Numbers: [4, 13] Generated Node #0,1,2: 36:[4, 13] Operation: 46-33=13 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 36:[4, 13], Operations: ['92-46=46', '46-33=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[33, 42], Operations: ['92-46=46', '46-4=42'] Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 33+42=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 33*42=1386, Resulting Numbers: [1386] 1386,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[46, 37], Operations: ['92-46=46', '4+33=37'] Exploring Operation: 46+37=83, Resulting Numbers: [83] 83,36 unequal: No Solution Exploring Operation: 46*37=1702, Resulting Numbers: [1702] 1702,36 unequal: No Solution Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,36 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: 36:[33, 46, 23], Operations: ['92/4=23'] Exploring Operation: 46-33=13, Resulting Numbers: [23, 13] Generated Node #0,2,0: 36:[23, 13] Operation: 46-33=13 Exploring Operation: 46/23=2, Resulting Numbers: [33, 2] Generated Node #0,2,1: 36:[33, 2] Operation: 46/23=2 Exploring Operation: 46-23=23, Resulting Numbers: [33, 23] Generated Node #0,2,2: 36:[33, 23] Operation: 46-23=23 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 36:[33, 2], Operations: ['92/4=23', '46/23=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,36 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[23, 13], Operations: ['92/4=23', '46-33=13'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,36 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[92, 4, 33, 46], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [33, 46, 23] Generated Node #0,2: 36:[33, 46, 23] Operation: 92/4=23 Moving to Node #0,2 Current State: 36:[33, 46, 23], Operations: ['92/4=23'] Exploring Operation: 46-33=13, Resulting Numbers: [23, 13] Generated Node #0,2,0: 36:[23, 13] Operation: 46-33=13 Moving to Node #0,2,0 Current State: 36:[23, 13], Operations: ['92/4=23', '46-33=13'] Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_3
mult_heuristic
[ 2, 59, 68, 55 ]
11
[ "59+55=114", "114/2=57", "68-57=11" ]
Current State: 11:[2, 59, 68, 55], Operations: [] Exploring Operation: 59+55=114, Resulting Numbers: [2, 68, 114] Generated Node #2: [2, 68, 114] from Operation: 59+55=114 Current State: 11:[2, 68, 114], Operations: ['59+55=114'] Exploring Operation: 114/2=57, Resulting Numbers: [68, 57] Generated Node #3: [68, 57] from Operation: 114/2=57 Current State: 11:[68, 57], Operations: ['59+55=114', '114/2=57'] Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[2, 59, 68, 55], Operations: [] Exploring Operation: 68-55=13, Resulting Numbers: [2, 59, 13] Generated Node #0,0: 11:[2, 59, 13] Operation: 68-55=13 Exploring Operation: 68-59=9, Resulting Numbers: [2, 55, 9] Generated Node #0,1: 11:[2, 55, 9] Operation: 68-59=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[2, 55, 9], Operations: ['68-59=9'] Exploring Operation: 2+9=11, Resulting Numbers: [55, 11] Generated Node #0,1,0: 11:[55, 11] Operation: 2+9=11 Exploring Operation: 55-2=53, Resulting Numbers: [9, 53] Generated Node #0,1,1: 11:[9, 53] Operation: 55-2=53 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[55, 11], Operations: ['68-59=9', '2+9=11'] Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,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,1 Current State: 11:[9, 53], Operations: ['68-59=9', '55-2=53'] Exploring Operation: 9+53=62, Resulting Numbers: [62] 62,11 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[2, 59, 13], Operations: ['68-55=13'] Exploring Operation: 59-2=57, Resulting Numbers: [13, 57] Generated Node #0,0,0: 11:[13, 57] Operation: 59-2=57 Exploring Operation: 59-13=46, Resulting Numbers: [2, 46] Generated Node #0,0,1: 11:[2, 46] Operation: 59-13=46 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[2, 46], Operations: ['68-55=13', '59-13=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,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,0,0 Current State: 11:[13, 57], Operations: ['68-55=13', '59-2=57'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 45, 47, 5, 28 ]
60
[ "47+28=75", "75/5=15", "45+15=60" ]
Current State: 60:[45, 47, 5, 28], Operations: [] Exploring Operation: 47+28=75, Resulting Numbers: [45, 5, 75] Generated Node #2: [45, 5, 75] from Operation: 47+28=75 Current State: 60:[45, 5, 75], Operations: ['47+28=75'] Exploring Operation: 75/5=15, Resulting Numbers: [45, 15] Generated Node #3: [45, 15] from Operation: 75/5=15 Current State: 60:[45, 15], Operations: ['47+28=75', '75/5=15'] Exploring Operation: 45+15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[45, 47, 5, 28], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [5, 28, 2] Generated Node #0,0: 60:[5, 28, 2] Operation: 47-45=2 Exploring Operation: 45-28=17, Resulting Numbers: [47, 5, 17] Generated Node #0,1: 60:[47, 5, 17] Operation: 45-28=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[5, 28, 2], Operations: ['47-45=2'] Exploring Operation: 28/2=14, Resulting Numbers: [5, 14] Generated Node #0,0,0: 60:[5, 14] Operation: 28/2=14 Exploring Operation: 28+2=30, Resulting Numbers: [5, 30] Generated Node #0,0,1: 60:[5, 30] Operation: 28+2=30 Moving to Node #0,0,1 Current State: 60:[5, 30], Operations: ['47-45=2', '28+2=30'] Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[5, 14], Operations: ['47-45=2', '28/2=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[47, 5, 17], Operations: ['45-28=17'] Exploring Operation: 47-17=30, Resulting Numbers: [5, 30] Generated Node #0,1,0: 60:[5, 30] Operation: 47-17=30 Exploring Operation: 47+17=64, Resulting Numbers: [5, 64] Generated Node #0,1,1: 60:[5, 64] Operation: 47+17=64 Moving to Node #0,1,0 Current State: 60:[5, 30], Operations: ['45-28=17', '47-17=30'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[5, 64], Operations: ['45-28=17', '47+17=64'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 5+64=69, Resulting Numbers: [69] 69,60 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
[ 30, 28, 9, 13 ]
50
[ "28-13=15", "30*15=450", "450/9=50" ]
Current State: 50:[30, 28, 9, 13], Operations: [] Exploring Operation: 28-13=15, Resulting Numbers: [30, 9, 15] Generated Node #2: [30, 9, 15] from Operation: 28-13=15 Current State: 50:[30, 9, 15], Operations: ['28-13=15'] Exploring Operation: 30*15=450, Resulting Numbers: [9, 450] Generated Node #3: [9, 450] from Operation: 30*15=450 Current State: 50:[9, 450], Operations: ['28-13=15', '30*15=450'] Exploring Operation: 450/9=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[30, 28, 9, 13], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [9, 13, 2] Generated Node #0,0: 50:[9, 13, 2] Operation: 30-28=2 Exploring Operation: 13-9=4, Resulting Numbers: [30, 28, 4] Generated Node #0,1: 50:[30, 28, 4] Operation: 13-9=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[9, 13, 2], Operations: ['30-28=2'] Exploring Operation: 13*2=26, Resulting Numbers: [9, 26] Generated Node #0,0,0: 50:[9, 26] Operation: 13*2=26 Exploring Operation: 13-9=4, Resulting Numbers: [2, 4] Generated Node #0,0,1: 50:[2, 4] Operation: 13-9=4 Moving to Node #0,0,1 Current State: 50:[2, 4], Operations: ['30-28=2', '13-9=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[9, 26], Operations: ['30-28=2', '13*2=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[30, 28, 4], Operations: ['13-9=4'] Exploring Operation: 30-28=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 50:[4, 2] Operation: 30-28=2 Exploring Operation: 30-4=26, Resulting Numbers: [28, 26] Generated Node #0,1,1: 50:[28, 26] Operation: 30-4=26 Moving to Node #0,1,0 Current State: 50:[4, 2], Operations: ['13-9=4', '30-28=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[28, 26], Operations: ['13-9=4', '30-4=26'] Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,50 unequal: No Solution Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 6, 69, 28, 31 ]
68
[ "6*28=168", "69+31=100", "168-100=68" ]
Current State: 68:[6, 69, 28, 31], Operations: [] Exploring Operation: 6*28=168, Resulting Numbers: [69, 31, 168] Generated Node #2: [69, 31, 168] from Operation: 6*28=168 Current State: 68:[69, 31, 168], Operations: ['6*28=168'] Exploring Operation: 69+31=100, Resulting Numbers: [168, 100] Generated Node #3: [168, 100] from Operation: 69+31=100 Current State: 68:[168, 100], Operations: ['6*28=168', '69+31=100'] Exploring Operation: 168-100=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[6, 69, 28, 31], Operations: [] Exploring Operation: 6+28=34, Resulting Numbers: [69, 31, 34] Generated Node #0,0: 68:[69, 31, 34] Operation: 6+28=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[69, 31, 34], Operations: ['6+28=34'] Exploring Operation: 34-31=3, Resulting Numbers: [69, 3] Generated Node #0,0,0: 68:[69, 3] Operation: 34-31=3 Moving to Node #0,0,0 Current State: 68:[69, 3], Operations: ['6+28=34', '34-31=3'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,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
[ 84, 98, 34, 13 ]
33
[ "98-84=14", "34+13=47", "47-14=33" ]
Current State: 33:[84, 98, 34, 13], Operations: [] Exploring Operation: 98-84=14, Resulting Numbers: [34, 13, 14] Generated Node #2: [34, 13, 14] from Operation: 98-84=14 Current State: 33:[34, 13, 14], Operations: ['98-84=14'] Exploring Operation: 34+13=47, Resulting Numbers: [14, 47] Generated Node #3: [14, 47] from Operation: 34+13=47 Current State: 33:[14, 47], Operations: ['98-84=14', '34+13=47'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[84, 98, 34, 13], Operations: [] Exploring Operation: 98-13=85, Resulting Numbers: [84, 34, 85] Generated Node #0,0: 33:[84, 34, 85] Operation: 98-13=85 Exploring Operation: 84-13=71, Resulting Numbers: [98, 34, 71] Generated Node #0,1: 33:[98, 34, 71] Operation: 84-13=71 Exploring Operation: 98-84=14, Resulting Numbers: [34, 13, 14] Generated Node #0,2: 33:[34, 13, 14] Operation: 98-84=14 Exploring Operation: 84-34=50, Resulting Numbers: [98, 13, 50] Generated Node #0,3: 33:[98, 13, 50] Operation: 84-34=50 Exploring Operation: 98-34=64, Resulting Numbers: [84, 13, 64] Generated Node #0,4: 33:[84, 13, 64] Operation: 98-34=64 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[34, 13, 14], Operations: ['98-84=14'] Exploring Operation: 34-13=21, Resulting Numbers: [14, 21] Generated Node #0,2,0: 33:[14, 21] Operation: 34-13=21 Exploring Operation: 34+13=47, Resulting Numbers: [14, 47] Generated Node #0,2,1: 33:[14, 47] Operation: 34+13=47 Exploring Operation: 13+14=27, Resulting Numbers: [34, 27] Generated Node #0,2,2: 33:[34, 27] Operation: 13+14=27 Exploring Operation: 14-13=1, Resulting Numbers: [34, 1] Generated Node #0,2,3: 33:[34, 1] Operation: 14-13=1 Exploring Operation: 34-14=20, Resulting Numbers: [13, 20] Generated Node #0,2,4: 33:[13, 20] Operation: 34-14=20 Moving to Node #0,2,3 Current State: 33:[34, 1], Operations: ['98-84=14', '14-13=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[84, 98, 34, 13], Operations: [] Exploring Operation: 98-84=14, Resulting Numbers: [34, 13, 14] Generated Node #0,2: 33:[34, 13, 14] Operation: 98-84=14 Moving to Node #0,2 Current State: 33:[34, 13, 14], Operations: ['98-84=14'] Exploring Operation: 14-13=1, Resulting Numbers: [34, 1] Generated Node #0,2,3: 33:[34, 1] Operation: 14-13=1 Moving to Node #0,2,3 Current State: 33:[34, 1], Operations: ['98-84=14', '14-13=1'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 1, 6, 23, 65 ]
67
[ "23-1=22", "6*22=132", "132-65=67" ]
Current State: 67:[1, 6, 23, 65], Operations: [] Exploring Operation: 23-1=22, Resulting Numbers: [6, 65, 22] Generated Node #2: [6, 65, 22] from Operation: 23-1=22 Current State: 67:[6, 65, 22], Operations: ['23-1=22'] Exploring Operation: 6*22=132, Resulting Numbers: [65, 132] Generated Node #3: [65, 132] from Operation: 6*22=132 Current State: 67:[65, 132], Operations: ['23-1=22', '6*22=132'] Exploring Operation: 132-65=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[1, 6, 23, 65], Operations: [] Exploring Operation: 1+6=7, Resulting Numbers: [23, 65, 7] Generated Node #0,0: 67:[23, 65, 7] Operation: 1+6=7 Exploring Operation: 1+65=66, Resulting Numbers: [6, 23, 66] Generated Node #0,1: 67:[6, 23, 66] Operation: 1+65=66 Exploring Operation: 1+23=24, Resulting Numbers: [6, 65, 24] Generated Node #0,2: 67:[6, 65, 24] Operation: 1+23=24 Exploring Operation: 6+23=29, Resulting Numbers: [1, 65, 29] Generated Node #0,3: 67:[1, 65, 29] Operation: 6+23=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[23, 65, 7], Operations: ['1+6=7'] Exploring Operation: 65-7=58, Resulting Numbers: [23, 58] Generated Node #0,0,0: 67:[23, 58] Operation: 65-7=58 Exploring Operation: 65+7=72, Resulting Numbers: [23, 72] Generated Node #0,0,1: 67:[23, 72] Operation: 65+7=72 Exploring Operation: 23+7=30, Resulting Numbers: [65, 30] Generated Node #0,0,2: 67:[65, 30] Operation: 23+7=30 Exploring Operation: 23-7=16, Resulting Numbers: [65, 16] Generated Node #0,0,3: 67:[65, 16] Operation: 23-7=16 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[65, 30], Operations: ['1+6=7', '23+7=30'] Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,67 unequal: No Solution Exploring Operation: 65*30=1950, Resulting Numbers: [1950] 1950,67 unequal: No Solution Exploring Operation: 65+30=95, Resulting Numbers: [95] 95,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,0,1 Current State: 67:[23, 72], Operations: ['1+6=7', '65+7=72'] Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,67 unequal: No Solution Exploring Operation: 23*72=1656, Resulting Numbers: [1656] 1656,67 unequal: No Solution Exploring Operation: 23+72=95, Resulting Numbers: [95] 95,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,0,0 Current State: 67:[23, 58], Operations: ['1+6=7', '65-7=58'] Exploring Operation: 23+58=81, Resulting Numbers: [81] 81,67 unequal: No Solution Exploring Operation: 23*58=1334, Resulting Numbers: [1334] 1334,67 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,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,0,3 Current State: 67:[65, 16], Operations: ['1+6=7', '23-7=16'] Exploring Operation: 65*16=1040, Resulting Numbers: [1040] 1040,67 unequal: No Solution Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,67 unequal: No Solution Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[6, 23, 66], Operations: ['1+65=66'] Exploring Operation: 23-6=17, Resulting Numbers: [66, 17] Generated Node #0,1,0: 67:[66, 17] Operation: 23-6=17 Exploring Operation: 6+66=72, Resulting Numbers: [23, 72] Generated Node #0,1,1: 67:[23, 72] Operation: 6+66=72 Exploring Operation: 6+23=29, Resulting Numbers: [66, 29] Generated Node #0,1,2: 67:[66, 29] Operation: 6+23=29 Exploring Operation: 66-6=60, Resulting Numbers: [23, 60] Generated Node #0,1,3: 67:[23, 60] Operation: 66-6=60 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[66, 29], Operations: ['1+65=66', '6+23=29'] Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,67 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[23, 72], Operations: ['1+65=66', '6+66=72'] Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,67 unequal: No Solution Exploring Operation: 23+72=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 23*72=1656, Resulting Numbers: [1656] 1656,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[66, 17], Operations: ['1+65=66', '23-6=17'] Exploring Operation: 66+17=83, Resulting Numbers: [83] 83,67 unequal: No Solution Exploring Operation: 66*17=1122, Resulting Numbers: [1122] 1122,67 unequal: No Solution Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 67:[23, 60], Operations: ['1+65=66', '66-6=60'] Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,67 unequal: No Solution Exploring Operation: 23+60=83, Resulting Numbers: [83] 83,67 unequal: No Solution Exploring Operation: 23*60=1380, Resulting Numbers: [1380] 1380,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[6, 65, 24], Operations: ['1+23=24'] Exploring Operation: 24-6=18, Resulting Numbers: [65, 18] Generated Node #0,2,0: 67:[65, 18] Operation: 24-6=18 Exploring Operation: 6+65=71, Resulting Numbers: [24, 71] Generated Node #0,2,1: 67:[24, 71] Operation: 6+65=71 Exploring Operation: 65-6=59, Resulting Numbers: [24, 59] Generated Node #0,2,2: 67:[24, 59] Operation: 65-6=59 Exploring Operation: 6+24=30, Resulting Numbers: [65, 30] Generated Node #0,2,3: 67:[65, 30] Operation: 6+24=30 Moving to Node #0,2,3 Current State: 67:[65, 30], Operations: ['1+23=24', '6+24=30'] Exploring Operation: 65+30=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,67 unequal: No Solution Exploring Operation: 65*30=1950, Resulting Numbers: [1950] 1950,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[24, 71], Operations: ['1+23=24', '6+65=71'] Exploring Operation: 24*71=1704, Resulting Numbers: [1704] 1704,67 unequal: No Solution Exploring Operation: 24+71=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[24, 59], Operations: ['1+23=24', '65-6=59'] Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,67 unequal: No Solution Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,67 unequal: No Solution Exploring Operation: 24*59=1416, Resulting Numbers: [1416] 1416,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[65, 18], Operations: ['1+23=24', '24-6=18'] Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,67 unequal: No Solution Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,67 unequal: No Solution Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[1, 65, 29], Operations: ['6+23=29'] Exploring Operation: 65/1=65, Resulting Numbers: [29, 65] Generated Node #0,3,0: 67:[29, 65] Operation: 65/1=65 Exploring Operation: 1+65=66, Resulting Numbers: [29, 66] Generated Node #0,3,1: 67:[29, 66] Operation: 1+65=66 Exploring Operation: 1*65=65, Resulting Numbers: [29, 65] Generated Node #0,3,2: 67:[29, 65] Operation: 1*65=65 Exploring Operation: 1+29=30, Resulting Numbers: [65, 30] Generated Node #0,3,3: 67:[65, 30] Operation: 1+29=30 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 67:[29, 66], Operations: ['6+23=29', '1+65=66'] Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,67 unequal: No Solution Exploring Operation: 29+66=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 29*66=1914, Resulting Numbers: [1914] 1914,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,3,3 Current State: 67:[65, 30], Operations: ['6+23=29', '1+29=30'] Exploring Operation: 65*30=1950, Resulting Numbers: [1950] 1950,67 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,67 unequal: No Solution Exploring Operation: 65+30=95, Resulting Numbers: [95] 95,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,3,0 Current State: 67:[29, 65], Operations: ['6+23=29', '65/1=65'] Exploring Operation: 29*65=1885, Resulting Numbers: [1885] 1885,67 unequal: No Solution Exploring Operation: 29+65=94, Resulting Numbers: [94] 94,67 unequal: No Solution Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,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,3,2 Current State: 67:[29, 65], Operations: ['6+23=29', '1*65=65'] Exploring Operation: 29*65=1885, Resulting Numbers: [1885] 1885,67 unequal: No Solution Exploring Operation: 29+65=94, Resulting Numbers: [94] 94,67 unequal: No Solution Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,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_4
mult_heuristic
[ 74, 97, 79, 54 ]
48
[ "97-74=23", "79-54=25", "23+25=48" ]
Current State: 48:[74, 97, 79, 54], Operations: [] Exploring Operation: 97-74=23, Resulting Numbers: [79, 54, 23] Generated Node #2: [79, 54, 23] from Operation: 97-74=23 Current State: 48:[79, 54, 23], Operations: ['97-74=23'] Exploring Operation: 79-54=25, Resulting Numbers: [23, 25] Generated Node #3: [23, 25] from Operation: 79-54=25 Current State: 48:[23, 25], Operations: ['97-74=23', '79-54=25'] Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[74, 97, 79, 54], Operations: [] Exploring Operation: 97-74=23, Resulting Numbers: [79, 54, 23] Generated Node #0,0: 48:[79, 54, 23] Operation: 97-74=23 Exploring Operation: 97-54=43, Resulting Numbers: [74, 79, 43] Generated Node #0,1: 48:[74, 79, 43] Operation: 97-54=43 Exploring Operation: 97-79=18, Resulting Numbers: [74, 54, 18] Generated Node #0,2: 48:[74, 54, 18] Operation: 97-79=18 Exploring Operation: 79-74=5, Resulting Numbers: [97, 54, 5] Generated Node #0,3: 48:[97, 54, 5] Operation: 79-74=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[74, 54, 18], Operations: ['97-79=18'] Exploring Operation: 74-54=20, Resulting Numbers: [18, 20] Generated Node #0,2,0: 48:[18, 20] Operation: 74-54=20 Exploring Operation: 54/18=3, Resulting Numbers: [74, 3] Generated Node #0,2,1: 48:[74, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [74, 36] Generated Node #0,2,2: 48:[74, 36] Operation: 54-18=36 Exploring Operation: 74-18=56, Resulting Numbers: [54, 56] Generated Node #0,2,3: 48:[54, 56] Operation: 74-18=56 Moving to Node #0,2,0 Current State: 48:[18, 20], Operations: ['97-79=18', '74-54=20'] Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,48 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[54, 56], Operations: ['97-79=18', '74-18=56'] Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 54+56=110, Resulting Numbers: [110] 110,48 unequal: No Solution Exploring Operation: 54*56=3024, Resulting Numbers: [3024] 3024,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[74, 3], Operations: ['97-79=18', '54/18=3'] Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,48 unequal: No Solution Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,48 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[74, 36], Operations: ['97-79=18', '54-18=36'] Exploring Operation: 74*36=2664, Resulting Numbers: [2664] 2664,48 unequal: No Solution Exploring Operation: 74+36=110, Resulting Numbers: [110] 110,48 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[79, 54, 23], Operations: ['97-74=23'] Exploring Operation: 79-54=25, Resulting Numbers: [23, 25] Generated Node #0,0,0: 48:[23, 25] Operation: 79-54=25 Exploring Operation: 54-23=31, Resulting Numbers: [79, 31] Generated Node #0,0,1: 48:[79, 31] Operation: 54-23=31 Exploring Operation: 79-23=56, Resulting Numbers: [54, 56] Generated Node #0,0,2: 48:[54, 56] Operation: 79-23=56 Exploring Operation: 79+23=102, Resulting Numbers: [54, 102] Generated Node #0,0,3: 48:[54, 102] Operation: 79+23=102 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[23, 25], Operations: ['97-74=23', '79-54=25'] Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,48 unequal: No Solution Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[74, 97, 79, 54], Operations: [] Exploring Operation: 97-74=23, Resulting Numbers: [79, 54, 23] Generated Node #0,0: 48:[79, 54, 23] Operation: 97-74=23 Moving to Node #0,0 Current State: 48:[79, 54, 23], Operations: ['97-74=23'] Exploring Operation: 79-54=25, Resulting Numbers: [23, 25] Generated Node #0,0,0: 48:[23, 25] Operation: 79-54=25 Moving to Node #0,0,0 Current State: 48:[23, 25], Operations: ['97-74=23', '79-54=25'] Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 29, 24, 96, 51 ]
76
[ "29+51=80", "96/24=4", "80-4=76" ]
Current State: 76:[29, 24, 96, 51], Operations: [] Exploring Operation: 29+51=80, Resulting Numbers: [24, 96, 80] Generated Node #2: [24, 96, 80] from Operation: 29+51=80 Current State: 76:[24, 96, 80], Operations: ['29+51=80'] Exploring Operation: 96/24=4, Resulting Numbers: [80, 4] Generated Node #3: [80, 4] from Operation: 96/24=4 Current State: 76:[80, 4], Operations: ['29+51=80', '96/24=4'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[29, 24, 96, 51], Operations: [] Exploring Operation: 96-51=45, Resulting Numbers: [29, 24, 45] Generated Node #0,0: 76:[29, 24, 45] Operation: 96-51=45 Exploring Operation: 96/24=4, Resulting Numbers: [29, 51, 4] Generated Node #0,1: 76:[29, 51, 4] Operation: 96/24=4 Moving to Node #0,0 Current State: 76:[29, 24, 45], Operations: ['96-51=45'] Exploring Operation: 29-24=5, Resulting Numbers: [45, 5] Generated Node #0,0,0: 76:[45, 5] Operation: 29-24=5 Exploring Operation: 29+45=74, Resulting Numbers: [24, 74] Generated Node #0,0,1: 76:[24, 74] Operation: 29+45=74 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[24, 74], Operations: ['96-51=45', '29+45=74'] Exploring Operation: 24+74=98, Resulting Numbers: [98] 98,76 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[45, 5], Operations: ['96-51=45', '29-24=5'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 76:[29, 51, 4], Operations: ['96/24=4'] Exploring Operation: 51-29=22, Resulting Numbers: [4, 22] Generated Node #0,1,0: 76:[4, 22] Operation: 51-29=22 Exploring Operation: 29+51=80, Resulting Numbers: [4, 80] Generated Node #0,1,1: 76:[4, 80] Operation: 29+51=80 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[4, 22], Operations: ['96/24=4', '51-29=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,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,1 Current State: 76:[4, 80], Operations: ['96/24=4', '29+51=80'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[29, 24, 96, 51], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [29, 51, 4] Generated Node #0,1: 76:[29, 51, 4] Operation: 96/24=4 Moving to Node #0,1 Current State: 76:[29, 51, 4], Operations: ['96/24=4'] Exploring Operation: 29+51=80, Resulting Numbers: [4, 80] Generated Node #0,1,1: 76:[4, 80] Operation: 29+51=80 Moving to Node #0,1,1 Current State: 76:[4, 80], Operations: ['96/24=4', '29+51=80'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 25, 62, 27, 45 ]
20
[ "27*45=1215", "25+1215=1240", "1240/62=20" ]
Current State: 20:[25, 62, 27, 45], Operations: [] Exploring Operation: 27*45=1215, Resulting Numbers: [25, 62, 1215] Generated Node #2: [25, 62, 1215] from Operation: 27*45=1215 Current State: 20:[25, 62, 1215], Operations: ['27*45=1215'] Exploring Operation: 25+1215=1240, Resulting Numbers: [62, 1240] Generated Node #3: [62, 1240] from Operation: 25+1215=1240 Current State: 20:[62, 1240], Operations: ['27*45=1215', '25+1215=1240'] Exploring Operation: 1240/62=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[25, 62, 27, 45], Operations: [] Exploring Operation: 62-25=37, Resulting Numbers: [27, 45, 37] Generated Node #0,0: 20:[27, 45, 37] Operation: 62-25=37 Exploring Operation: 62-27=35, Resulting Numbers: [25, 45, 35] Generated Node #0,1: 20:[25, 45, 35] Operation: 62-27=35 Exploring Operation: 45-25=20, Resulting Numbers: [62, 27, 20] Generated Node #0,2: 20:[62, 27, 20] Operation: 45-25=20 Exploring Operation: 62-45=17, Resulting Numbers: [25, 27, 17] Generated Node #0,3: 20:[25, 27, 17] Operation: 62-45=17 Moving to Node #0,3 Current State: 20:[25, 27, 17], Operations: ['62-45=17'] Exploring Operation: 25-17=8, Resulting Numbers: [27, 8] Generated Node #0,3,0: 20:[27, 8] Operation: 25-17=8 Exploring Operation: 27-17=10, Resulting Numbers: [25, 10] Generated Node #0,3,1: 20:[25, 10] Operation: 27-17=10 Exploring Operation: 25+17=42, Resulting Numbers: [27, 42] Generated Node #0,3,2: 20:[27, 42] Operation: 25+17=42 Exploring Operation: 27-25=2, Resulting Numbers: [17, 2] Generated Node #0,3,3: 20:[17, 2] Operation: 27-25=2 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 20:[17, 2], Operations: ['62-45=17', '27-25=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 20:[25, 10], Operations: ['62-45=17', '27-17=10'] Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,20 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 20:[27, 8], Operations: ['62-45=17', '25-17=8'] Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 27*8=216, Resulting Numbers: [216] 216,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 20:[27, 42], Operations: ['62-45=17', '25+17=42'] Exploring Operation: 27+42=69, Resulting Numbers: [69] 69,20 unequal: No Solution Exploring Operation: 27*42=1134, Resulting Numbers: [1134] 1134,20 unequal: No Solution Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,20 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: 20:[25, 45, 35], Operations: ['62-27=35'] Exploring Operation: 25+45=70, Resulting Numbers: [35, 70] Generated Node #0,1,0: 20:[35, 70] Operation: 25+45=70 Exploring Operation: 35-25=10, Resulting Numbers: [45, 10] Generated Node #0,1,1: 20:[45, 10] Operation: 35-25=10 Exploring Operation: 45-25=20, Resulting Numbers: [35, 20] Generated Node #0,1,2: 20:[35, 20] Operation: 45-25=20 Exploring Operation: 45-35=10, Resulting Numbers: [25, 10] Generated Node #0,1,3: 20:[25, 10] Operation: 45-35=10 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 20:[25, 10], Operations: ['62-27=35', '45-35=10'] Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,20 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[35, 20], Operations: ['62-27=35', '45-25=20'] Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,20 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[45, 10], Operations: ['62-27=35', '35-25=10'] Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,20 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[35, 70], Operations: ['62-27=35', '25+45=70'] Exploring Operation: 35+70=105, Resulting Numbers: [105] 105,20 unequal: No Solution Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 35*70=2450, Resulting Numbers: [2450] 2450,20 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: 20:[62, 27, 20], Operations: ['45-25=20'] Exploring Operation: 62-27=35, Resulting Numbers: [20, 35] Generated Node #0,2,0: 20:[20, 35] Operation: 62-27=35 Exploring Operation: 62-20=42, Resulting Numbers: [27, 42] Generated Node #0,2,1: 20:[27, 42] Operation: 62-20=42 Exploring Operation: 27-20=7, Resulting Numbers: [62, 7] Generated Node #0,2,2: 20:[62, 7] Operation: 27-20=7 Exploring Operation: 62+27=89, Resulting Numbers: [20, 89] Generated Node #0,2,3: 20:[20, 89] Operation: 62+27=89 Moving to Node #0,0 Current State: 20:[27, 45, 37], Operations: ['62-25=37'] Exploring Operation: 27+45=72, Resulting Numbers: [37, 72] Generated Node #0,0,0: 20:[37, 72] Operation: 27+45=72 Exploring Operation: 45-27=18, Resulting Numbers: [37, 18] Generated Node #0,0,1: 20:[37, 18] Operation: 45-27=18 Exploring Operation: 45-37=8, Resulting Numbers: [27, 8] Generated Node #0,0,2: 20:[27, 8] Operation: 45-37=8 Exploring Operation: 37-27=10, Resulting Numbers: [45, 10] Generated Node #0,0,3: 20:[45, 10] Operation: 37-27=10 Moving to Node #0,0,2 Current State: 20:[27, 8], Operations: ['62-25=37', '45-37=8'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 27*8=216, Resulting Numbers: [216] 216,20 unequal: No Solution Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[20, 35], Operations: ['45-25=20', '62-27=35'] Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,20 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[37, 18], Operations: ['62-25=37', '45-27=18'] Exploring Operation: 37*18=666, Resulting Numbers: [666] 666,20 unequal: No Solution Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,20 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[45, 10], Operations: ['62-25=37', '37-27=10'] Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,20 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[27, 42], Operations: ['45-25=20', '62-20=42'] Exploring Operation: 27*42=1134, Resulting Numbers: [1134] 1134,20 unequal: No Solution Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 27+42=69, Resulting Numbers: [69] 69,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[62, 7], Operations: ['45-25=20', '27-20=7'] Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,20 unequal: No Solution Exploring Operation: 62*7=434, Resulting Numbers: [434] 434,20 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[20, 89], Operations: ['45-25=20', '62+27=89'] Exploring Operation: 20+89=109, Resulting Numbers: [109] 109,20 unequal: No Solution Exploring Operation: 20*89=1780, Resulting Numbers: [1780] 1780,20 unequal: No Solution Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[37, 72], Operations: ['62-25=37', '27+45=72'] Exploring Operation: 37*72=2664, Resulting Numbers: [2664] 2664,20 unequal: No Solution Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 37+72=109, Resulting Numbers: [109] 109,20 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 54, 96, 81, 90 ]
54
[ "54+90=144", "96*81=7776", "7776/144=54" ]
Current State: 54:[54, 96, 81, 90], Operations: [] Exploring Operation: 54+90=144, Resulting Numbers: [96, 81, 144] Generated Node #2: [96, 81, 144] from Operation: 54+90=144 Current State: 54:[96, 81, 144], Operations: ['54+90=144'] Exploring Operation: 96*81=7776, Resulting Numbers: [144, 7776] Generated Node #3: [144, 7776] from Operation: 96*81=7776 Current State: 54:[144, 7776], Operations: ['54+90=144', '96*81=7776'] Exploring Operation: 7776/144=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[54, 96, 81, 90], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [54, 81, 6] Generated Node #0,0: 54:[54, 81, 6] Operation: 96-90=6 Exploring Operation: 96-81=15, Resulting Numbers: [54, 90, 15] Generated Node #0,1: 54:[54, 90, 15] Operation: 96-81=15 Moving to Node #0,0 Current State: 54:[54, 81, 6], Operations: ['96-90=6'] Exploring Operation: 81-6=75, Resulting Numbers: [54, 75] Generated Node #0,0,0: 54:[54, 75] Operation: 81-6=75 Exploring Operation: 81-54=27, Resulting Numbers: [6, 27] Generated Node #0,0,1: 54:[6, 27] Operation: 81-54=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[6, 27], Operations: ['96-90=6', '81-54=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[54, 75], Operations: ['96-90=6', '81-6=75'] Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,54 unequal: No Solution Exploring Operation: 54+75=129, Resulting Numbers: [129] 129,54 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: 54:[54, 90, 15], Operations: ['96-81=15'] Exploring Operation: 90/15=6, Resulting Numbers: [54, 6] Generated Node #0,1,0: 54:[54, 6] Operation: 90/15=6 Exploring Operation: 90-54=36, Resulting Numbers: [15, 36] Generated Node #0,1,1: 54:[15, 36] Operation: 90-54=36 Moving to Node #0,1,0 Current State: 54:[54, 6], Operations: ['96-81=15', '90/15=6'] Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[15, 36], Operations: ['96-81=15', '90-54=36'] Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,54 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,54 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 36, 83, 93, 30 ]
76
[ "83-36=47", "93+30=123", "123-47=76" ]
Current State: 76:[36, 83, 93, 30], Operations: [] Exploring Operation: 83-36=47, Resulting Numbers: [93, 30, 47] Generated Node #2: [93, 30, 47] from Operation: 83-36=47 Current State: 76:[93, 30, 47], Operations: ['83-36=47'] Exploring Operation: 93+30=123, Resulting Numbers: [47, 123] Generated Node #3: [47, 123] from Operation: 93+30=123 Current State: 76:[47, 123], Operations: ['83-36=47', '93+30=123'] Exploring Operation: 123-47=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[36, 83, 93, 30], Operations: [] Exploring Operation: 93-83=10, Resulting Numbers: [36, 30, 10] Generated Node #0,0: 76:[36, 30, 10] Operation: 93-83=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[36, 30, 10], Operations: ['93-83=10'] Exploring Operation: 30-10=20, Resulting Numbers: [36, 20] Generated Node #0,0,0: 76:[36, 20] Operation: 30-10=20 Moving to Node #0,0,0 Current State: 76:[36, 20], Operations: ['93-83=10', '30-10=20'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 63, 9, 54, 25 ]
94
[ "63+25=88", "54/9=6", "88+6=94" ]
Current State: 94:[63, 9, 54, 25], Operations: [] Exploring Operation: 63+25=88, Resulting Numbers: [9, 54, 88] Generated Node #2: [9, 54, 88] from Operation: 63+25=88 Current State: 94:[9, 54, 88], Operations: ['63+25=88'] Exploring Operation: 54/9=6, Resulting Numbers: [88, 6] Generated Node #3: [88, 6] from Operation: 54/9=6 Current State: 94:[88, 6], Operations: ['63+25=88', '54/9=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[63, 9, 54, 25], Operations: [] Exploring Operation: 63/9=7, Resulting Numbers: [54, 25, 7] Generated Node #0,0: 94:[54, 25, 7] Operation: 63/9=7 Exploring Operation: 63-54=9, Resulting Numbers: [9, 25, 9] Generated Node #0,1: 94:[9, 25, 9] Operation: 63-54=9 Exploring Operation: 63-9=54, Resulting Numbers: [54, 25, 54] Generated Node #0,2: 94:[54, 25, 54] Operation: 63-9=54 Exploring Operation: 63+25=88, Resulting Numbers: [9, 54, 88] Generated Node #0,3: 94:[9, 54, 88] Operation: 63+25=88 Exploring Operation: 63-25=38, Resulting Numbers: [9, 54, 38] Generated Node #0,4: 94:[9, 54, 38] Operation: 63-25=38 Moving to Node #0,3 Current State: 94:[9, 54, 88], Operations: ['63+25=88'] Exploring Operation: 9+54=63, Resulting Numbers: [88, 63] Generated Node #0,3,0: 94:[88, 63] Operation: 9+54=63 Exploring Operation: 54/9=6, Resulting Numbers: [88, 6] Generated Node #0,3,1: 94:[88, 6] Operation: 54/9=6 Exploring Operation: 88-54=34, Resulting Numbers: [9, 34] Generated Node #0,3,2: 94:[9, 34] Operation: 88-54=34 Exploring Operation: 9+88=97, Resulting Numbers: [54, 97] Generated Node #0,3,3: 94:[54, 97] Operation: 9+88=97 Exploring Operation: 54-9=45, Resulting Numbers: [88, 45] Generated Node #0,3,4: 94:[88, 45] Operation: 54-9=45 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 94:[88, 45], Operations: ['63+25=88', '54-9=45'] Exploring Operation: 88*45=3960, Resulting Numbers: [3960] 3960,94 unequal: No Solution Exploring Operation: 88+45=133, Resulting Numbers: [133] 133,94 unequal: No Solution Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[88, 6], Operations: ['63+25=88', '54/9=6'] Exploring Operation: 88*6=528, Resulting Numbers: [528] 528,94 unequal: No Solution Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,94 unequal: No Solution Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[63, 9, 54, 25], Operations: [] Exploring Operation: 63+25=88, Resulting Numbers: [9, 54, 88] Generated Node #0,3: 94:[9, 54, 88] Operation: 63+25=88 Moving to Node #0,3 Current State: 94:[9, 54, 88], Operations: ['63+25=88'] Exploring Operation: 54/9=6, Resulting Numbers: [88, 6] Generated Node #0,3,1: 94:[88, 6] Operation: 54/9=6 Moving to Node #0,3,1 Current State: 94:[88, 6], Operations: ['63+25=88', '54/9=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 56, 90, 33, 58 ]
12
[ "58-56=2", "90/2=45", "45-33=12" ]
Current State: 12:[56, 90, 33, 58], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [90, 33, 2] Generated Node #2: [90, 33, 2] from Operation: 58-56=2 Current State: 12:[90, 33, 2], Operations: ['58-56=2'] Exploring Operation: 90/2=45, Resulting Numbers: [33, 45] Generated Node #3: [33, 45] from Operation: 90/2=45 Current State: 12:[33, 45], Operations: ['58-56=2', '90/2=45'] Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[56, 90, 33, 58], Operations: [] Exploring Operation: 90-58=32, Resulting Numbers: [56, 33, 32] Generated Node #0,0: 12:[56, 33, 32] Operation: 90-58=32 Exploring Operation: 90-56=34, Resulting Numbers: [33, 58, 34] Generated Node #0,1: 12:[33, 58, 34] Operation: 90-56=34 Exploring Operation: 56-33=23, Resulting Numbers: [90, 58, 23] Generated Node #0,2: 12:[90, 58, 23] Operation: 56-33=23 Exploring Operation: 58-56=2, Resulting Numbers: [90, 33, 2] Generated Node #0,3: 12:[90, 33, 2] Operation: 58-56=2 Exploring Operation: 90-33=57, Resulting Numbers: [56, 58, 57] Generated Node #0,4: 12:[56, 58, 57] Operation: 90-33=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[56, 33, 32], Operations: ['90-58=32'] Exploring Operation: 56-32=24, Resulting Numbers: [33, 24] Generated Node #0,0,0: 12:[33, 24] Operation: 56-32=24 Exploring Operation: 56-33=23, Resulting Numbers: [32, 23] Generated Node #0,0,1: 12:[32, 23] Operation: 56-33=23 Exploring Operation: 56+32=88, Resulting Numbers: [33, 88] Generated Node #0,0,2: 12:[33, 88] Operation: 56+32=88 Exploring Operation: 56+33=89, Resulting Numbers: [32, 89] Generated Node #0,0,3: 12:[32, 89] Operation: 56+33=89 Exploring Operation: 33-32=1, Resulting Numbers: [56, 1] Generated Node #0,0,4: 12:[56, 1] Operation: 33-32=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[32, 23], Operations: ['90-58=32', '56-33=23'] Exploring Operation: 32*23=736, Resulting Numbers: [736] 736,12 unequal: No Solution Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,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:[33, 24], Operations: ['90-58=32', '56-32=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,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,4 Current State: 12:[56, 1], Operations: ['90-58=32', '33-32=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,12 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,12 unequal: No Solution Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,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,2 Current State: 12:[33, 88], Operations: ['90-58=32', '56+32=88'] Exploring Operation: 33*88=2904, Resulting Numbers: [2904] 2904,12 unequal: No Solution Exploring Operation: 33+88=121, Resulting Numbers: [121] 121,12 unequal: No Solution Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,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,3 Current State: 12:[32, 89], Operations: ['90-58=32', '56+33=89'] Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 32+89=121, Resulting Numbers: [121] 121,12 unequal: No Solution Exploring Operation: 32*89=2848, Resulting Numbers: [2848] 2848,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,1 Current State: 12:[33, 58, 34], Operations: ['90-56=34'] Exploring Operation: 58-34=24, Resulting Numbers: [33, 24] Generated Node #0,1,0: 12:[33, 24] Operation: 58-34=24 Exploring Operation: 33+58=91, Resulting Numbers: [34, 91] Generated Node #0,1,1: 12:[34, 91] Operation: 33+58=91 Exploring Operation: 58-33=25, Resulting Numbers: [34, 25] Generated Node #0,1,2: 12:[34, 25] Operation: 58-33=25 Exploring Operation: 33+34=67, Resulting Numbers: [58, 67] Generated Node #0,1,3: 12:[58, 67] Operation: 33+34=67 Exploring Operation: 34-33=1, Resulting Numbers: [58, 1] Generated Node #0,1,4: 12:[58, 1] Operation: 34-33=1 Moving to Node #0,1,0 Current State: 12:[33, 24], Operations: ['90-56=34', '58-34=24'] Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[34, 25], Operations: ['90-56=34', '58-33=25'] Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,12 unequal: No Solution Moving to Node #0,1,4 Current State: 12:[58, 1], Operations: ['90-56=34', '34-33=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,12 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,12 unequal: No Solution Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[34, 91], Operations: ['90-56=34', '33+58=91'] Exploring Operation: 34+91=125, Resulting Numbers: [125] 125,12 unequal: No Solution Exploring Operation: 34*91=3094, Resulting Numbers: [3094] 3094,12 unequal: No Solution Exploring Operation: 91-34=57, Resulting Numbers: [57] 57,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[58, 67], Operations: ['90-56=34', '33+34=67'] Exploring Operation: 58*67=3886, Resulting Numbers: [3886] 3886,12 unequal: No Solution Exploring Operation: 58+67=125, Resulting Numbers: [125] 125,12 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,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,3 Current State: 12:[90, 33, 2], Operations: ['58-56=2'] Exploring Operation: 90+2=92, Resulting Numbers: [33, 92] Generated Node #0,3,0: 12:[33, 92] Operation: 90+2=92 Exploring Operation: 90-2=88, Resulting Numbers: [33, 88] Generated Node #0,3,1: 12:[33, 88] Operation: 90-2=88 Exploring Operation: 90/2=45, Resulting Numbers: [33, 45] Generated Node #0,3,2: 12:[33, 45] Operation: 90/2=45 Exploring Operation: 33-2=31, Resulting Numbers: [90, 31] Generated Node #0,3,3: 12:[90, 31] Operation: 33-2=31 Exploring Operation: 90-33=57, Resulting Numbers: [2, 57] Generated Node #0,3,4: 12:[2, 57] Operation: 90-33=57 Moving to Node #0,3,4 Current State: 12:[2, 57], Operations: ['58-56=2', '90-33=57'] Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,12 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[33, 45], Operations: ['58-56=2', '90/2=45'] Exploring Operation: 33+45=78, Resulting Numbers: [78] 78,12 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[56, 90, 33, 58], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [90, 33, 2] Generated Node #0,3: 12:[90, 33, 2] Operation: 58-56=2 Moving to Node #0,3 Current State: 12:[90, 33, 2], Operations: ['58-56=2'] Exploring Operation: 90/2=45, Resulting Numbers: [33, 45] Generated Node #0,3,2: 12:[33, 45] Operation: 90/2=45 Moving to Node #0,3,2 Current State: 12:[33, 45], Operations: ['58-56=2', '90/2=45'] Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.947049
hs_5
mult_heuristic
[ 51, 19, 2, 56 ]
99
[ "19+56=75", "2*75=150", "150-51=99" ]
Current State: 99:[51, 19, 2, 56], Operations: [] Exploring Operation: 19+56=75, Resulting Numbers: [51, 2, 75] Generated Node #2: [51, 2, 75] from Operation: 19+56=75 Current State: 99:[51, 2, 75], Operations: ['19+56=75'] Exploring Operation: 2*75=150, Resulting Numbers: [51, 150] Generated Node #3: [51, 150] from Operation: 2*75=150 Current State: 99:[51, 150], Operations: ['19+56=75', '2*75=150'] Exploring Operation: 150-51=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[51, 19, 2, 56], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [19, 2, 5] Generated Node #0,0: 99:[19, 2, 5] Operation: 56-51=5 Exploring Operation: 51+56=107, Resulting Numbers: [19, 2, 107] Generated Node #0,1: 99:[19, 2, 107] Operation: 51+56=107 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[19, 2, 5], Operations: ['56-51=5'] Exploring Operation: 19*5=95, Resulting Numbers: [2, 95] Generated Node #0,0,0: 99:[2, 95] Operation: 19*5=95 Exploring Operation: 19-5=14, Resulting Numbers: [2, 14] Generated Node #0,0,1: 99:[2, 14] Operation: 19-5=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[2, 14], Operations: ['56-51=5', '19-5=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,99 unequal: No Solution No 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: 99:[2, 95], Operations: ['56-51=5', '19*5=95'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,99 unequal: No Solution Exploring Operation: 2+95=97, Resulting Numbers: [97] 97,99 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: 99:[19, 2, 107], Operations: ['51+56=107'] Exploring Operation: 19*2=38, Resulting Numbers: [107, 38] Generated Node #0,1,0: 99:[107, 38] Operation: 19*2=38 Exploring Operation: 107-19=88, Resulting Numbers: [2, 88] Generated Node #0,1,1: 99:[2, 88] Operation: 107-19=88 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[2, 88], Operations: ['51+56=107', '107-19=88'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,99 unequal: No Solution No 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: 99:[107, 38], Operations: ['51+56=107', '19*2=38'] Exploring Operation: 107+38=145, Resulting Numbers: [145] 145,99 unequal: No Solution Exploring Operation: 107-38=69, Resulting Numbers: [69] 69,99 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
[ 32, 12, 33, 24 ]
90
[ "32*33=1056", "24+1056=1080", "1080/12=90" ]
Current State: 90:[32, 12, 33, 24], Operations: [] Exploring Operation: 32*33=1056, Resulting Numbers: [12, 24, 1056] Generated Node #2: [12, 24, 1056] from Operation: 32*33=1056 Current State: 90:[12, 24, 1056], Operations: ['32*33=1056'] Exploring Operation: 24+1056=1080, Resulting Numbers: [12, 1080] Generated Node #3: [12, 1080] from Operation: 24+1056=1080 Current State: 90:[12, 1080], Operations: ['32*33=1056', '24+1056=1080'] Exploring Operation: 1080/12=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[32, 12, 33, 24], Operations: [] Exploring Operation: 24-12=12, Resulting Numbers: [32, 33, 12] Generated Node #0,0: 90:[32, 33, 12] Operation: 24-12=12 Exploring Operation: 33-24=9, Resulting Numbers: [32, 12, 9] Generated Node #0,1: 90:[32, 12, 9] Operation: 33-24=9 Exploring Operation: 24/12=2, Resulting Numbers: [32, 33, 2] Generated Node #0,2: 90:[32, 33, 2] Operation: 24/12=2 Exploring Operation: 32-24=8, Resulting Numbers: [12, 33, 8] Generated Node #0,3: 90:[12, 33, 8] Operation: 32-24=8 Moving to Node #0,1 Current State: 90:[32, 12, 9], Operations: ['33-24=9'] Exploring Operation: 32-12=20, Resulting Numbers: [9, 20] Generated Node #0,1,0: 90:[9, 20] Operation: 32-12=20 Exploring Operation: 32+12=44, Resulting Numbers: [9, 44] Generated Node #0,1,1: 90:[9, 44] Operation: 32+12=44 Exploring Operation: 12+9=21, Resulting Numbers: [32, 21] Generated Node #0,1,2: 90:[32, 21] Operation: 12+9=21 Exploring Operation: 12-9=3, Resulting Numbers: [32, 3] Generated Node #0,1,3: 90:[32, 3] Operation: 12-9=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[9, 44], Operations: ['33-24=9', '32+12=44'] Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,90 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[9, 20], Operations: ['33-24=9', '32-12=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,90 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 90:[32, 3], Operations: ['33-24=9', '12-9=3'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,90 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 90:[32, 21], Operations: ['33-24=9', '12+9=21'] Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,90 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,90 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: 90:[32, 33, 2], Operations: ['24/12=2'] Exploring Operation: 32-2=30, Resulting Numbers: [33, 30] Generated Node #0,2,0: 90:[33, 30] Operation: 32-2=30 Exploring Operation: 33-32=1, Resulting Numbers: [2, 1] Generated Node #0,2,1: 90:[2, 1] Operation: 33-32=1 Exploring Operation: 33-2=31, Resulting Numbers: [32, 31] Generated Node #0,2,2: 90:[32, 31] Operation: 33-2=31 Exploring Operation: 32/2=16, Resulting Numbers: [33, 16] Generated Node #0,2,3: 90:[33, 16] Operation: 32/2=16 Moving to Node #0,3 Current State: 90:[12, 33, 8], Operations: ['32-24=8'] Exploring Operation: 12-8=4, Resulting Numbers: [33, 4] Generated Node #0,3,0: 90:[33, 4] Operation: 12-8=4 Exploring Operation: 33-12=21, Resulting Numbers: [8, 21] Generated Node #0,3,1: 90:[8, 21] Operation: 33-12=21 Exploring Operation: 12+33=45, Resulting Numbers: [8, 45] Generated Node #0,3,2: 90:[8, 45] Operation: 12+33=45 Exploring Operation: 12+8=20, Resulting Numbers: [33, 20] Generated Node #0,3,3: 90:[33, 20] Operation: 12+8=20 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 90:[8, 45], Operations: ['32-24=8', '12+33=45'] Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,90 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,90 unequal: No Solution Exploring Operation: 8*45=360, Resulting Numbers: [360] 360,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 90:[33, 4], Operations: ['32-24=8', '12-8=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,90 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 90:[8, 21], Operations: ['32-24=8', '33-12=21'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 90:[33, 20], Operations: ['32-24=8', '12+8=20'] Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,90 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,90 unequal: No Solution Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 90:[32, 33, 12], Operations: ['24-12=12'] Exploring Operation: 32-12=20, Resulting Numbers: [33, 20] Generated Node #0,0,0: 90:[33, 20] Operation: 32-12=20 Exploring Operation: 32+12=44, Resulting Numbers: [33, 44] Generated Node #0,0,1: 90:[33, 44] Operation: 32+12=44 Exploring Operation: 33-32=1, Resulting Numbers: [12, 1] Generated Node #0,0,2: 90:[12, 1] Operation: 33-32=1 Exploring Operation: 33+12=45, Resulting Numbers: [32, 45] Generated Node #0,0,3: 90:[32, 45] Operation: 33+12=45 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[32, 45], Operations: ['24-12=12', '33+12=45'] Exploring Operation: 32*45=1440, Resulting Numbers: [1440] 1440,90 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[12, 1], Operations: ['24-12=12', '33-32=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[33, 44], Operations: ['24-12=12', '32+12=44'] Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 33*44=1452, Resulting Numbers: [1452] 1452,90 unequal: No Solution Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[33, 20], Operations: ['24-12=12', '32-12=20'] Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,90 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,90 unequal: No Solution Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 90:[2, 1], Operations: ['24/12=2', '33-32=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[32, 31], Operations: ['24/12=2', '33-2=31'] Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,90 unequal: No Solution Exploring Operation: 32*31=992, Resulting Numbers: [992] 992,90 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[33, 30], Operations: ['24/12=2', '32-2=30'] Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,90 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[33, 16], Operations: ['24/12=2', '32/2=16'] Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 33*16=528, Resulting Numbers: [528] 528,90 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 27, 9, 72, 24 ]
18
[ "27*24=648", "648/72=9", "9+9=18" ]
Current State: 18:[27, 9, 72, 24], Operations: [] Exploring Operation: 27*24=648, Resulting Numbers: [9, 72, 648] Generated Node #2: [9, 72, 648] from Operation: 27*24=648 Current State: 18:[9, 72, 648], Operations: ['27*24=648'] Exploring Operation: 648/72=9, Resulting Numbers: [9, 9] Generated Node #3: [9, 9] from Operation: 648/72=9 Current State: 18:[9, 9], Operations: ['27*24=648', '648/72=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[27, 9, 72, 24], Operations: [] Exploring Operation: 72/24=3, Resulting Numbers: [27, 9, 3] Generated Node #0,0: 18:[27, 9, 3] Operation: 72/24=3 Exploring Operation: 72/9=8, Resulting Numbers: [27, 24, 8] Generated Node #0,1: 18:[27, 24, 8] Operation: 72/9=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[27, 9, 3], Operations: ['72/24=3'] Exploring Operation: 27/9=3, Resulting Numbers: [3, 3] Generated Node #0,0,0: 18:[3, 3] Operation: 27/9=3 Exploring Operation: 27-9=18, Resulting Numbers: [3, 18] Generated Node #0,0,1: 18:[3, 18] Operation: 27-9=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[3, 3], Operations: ['72/24=3', '27/9=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,18 unequal: No Solution No 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: 18:[3, 18], Operations: ['72/24=3', '27-9=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,18 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: 18:[27, 24, 8], Operations: ['72/9=8'] Exploring Operation: 27-8=19, Resulting Numbers: [24, 19] Generated Node #0,1,0: 18:[24, 19] Operation: 27-8=19 Exploring Operation: 27-24=3, Resulting Numbers: [8, 3] Generated Node #0,1,1: 18:[8, 3] Operation: 27-24=3 Moving to Node #0,1,1 Current State: 18:[8, 3], Operations: ['72/9=8', '27-24=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,18 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[24, 19], Operations: ['72/9=8', '27-8=19'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 83, 84, 73, 29 ]
44
[ "84-83=1", "73-29=44", "1*44=44" ]
Current State: 44:[83, 84, 73, 29], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [73, 29, 1] Generated Node #2: [73, 29, 1] from Operation: 84-83=1 Current State: 44:[73, 29, 1], Operations: ['84-83=1'] Exploring Operation: 73-29=44, Resulting Numbers: [1, 44] Generated Node #3: [1, 44] from Operation: 73-29=44 Current State: 44:[1, 44], Operations: ['84-83=1', '73-29=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[83, 84, 73, 29], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [83, 29, 11] Generated Node #0,0: 44:[83, 29, 11] Operation: 84-73=11 Exploring Operation: 83-29=54, Resulting Numbers: [84, 73, 54] Generated Node #0,1: 44:[84, 73, 54] Operation: 83-29=54 Exploring Operation: 83-73=10, Resulting Numbers: [84, 29, 10] Generated Node #0,2: 44:[84, 29, 10] Operation: 83-73=10 Exploring Operation: 84-83=1, Resulting Numbers: [73, 29, 1] Generated Node #0,3: 44:[73, 29, 1] Operation: 84-83=1 Moving to Node #0,3 Current State: 44:[73, 29, 1], Operations: ['84-83=1'] Exploring Operation: 73*1=73, Resulting Numbers: [29, 73] Generated Node #0,3,0: 44:[29, 73] Operation: 73*1=73 Exploring Operation: 73-29=44, Resulting Numbers: [1, 44] Generated Node #0,3,1: 44:[1, 44] Operation: 73-29=44 Exploring Operation: 29-1=28, Resulting Numbers: [73, 28] Generated Node #0,3,2: 44:[73, 28] Operation: 29-1=28 Exploring Operation: 73-1=72, Resulting Numbers: [29, 72] Generated Node #0,3,3: 44:[29, 72] Operation: 73-1=72 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 44:[1, 44], Operations: ['84-83=1', '73-29=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[83, 84, 73, 29], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [73, 29, 1] Generated Node #0,3: 44:[73, 29, 1] Operation: 84-83=1 Moving to Node #0,3 Current State: 44:[73, 29, 1], Operations: ['84-83=1'] Exploring Operation: 73-29=44, Resulting Numbers: [1, 44] Generated Node #0,3,1: 44:[1, 44] Operation: 73-29=44 Moving to Node #0,3,1 Current State: 44:[1, 44], Operations: ['84-83=1', '73-29=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 62, 72, 15, 31 ]
56
[ "72-62=10", "15+31=46", "10+46=56" ]
Current State: 56:[62, 72, 15, 31], Operations: [] Exploring Operation: 72-62=10, Resulting Numbers: [15, 31, 10] Generated Node #2: [15, 31, 10] from Operation: 72-62=10 Current State: 56:[15, 31, 10], Operations: ['72-62=10'] Exploring Operation: 15+31=46, Resulting Numbers: [10, 46] Generated Node #3: [10, 46] from Operation: 15+31=46 Current State: 56:[10, 46], Operations: ['72-62=10', '15+31=46'] Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[62, 72, 15, 31], Operations: [] Exploring Operation: 72-62=10, Resulting Numbers: [15, 31, 10] Generated Node #0,0: 56:[15, 31, 10] Operation: 72-62=10 Moving to Node #0,0 Current State: 56:[15, 31, 10], Operations: ['72-62=10'] Exploring Operation: 31-15=16, Resulting Numbers: [10, 16] Generated Node #0,0,0: 56:[10, 16] Operation: 31-15=16 Moving to Node #0,0,0 Current State: 56:[10, 16], Operations: ['72-62=10', '31-15=16'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,56 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 62, 15, 11, 3 ]
91
[ "62+15=77", "11+3=14", "77+14=91" ]
Current State: 91:[62, 15, 11, 3], Operations: [] Exploring Operation: 62+15=77, Resulting Numbers: [11, 3, 77] Generated Node #2: [11, 3, 77] from Operation: 62+15=77 Current State: 91:[11, 3, 77], Operations: ['62+15=77'] Exploring Operation: 11+3=14, Resulting Numbers: [77, 14] Generated Node #3: [77, 14] from Operation: 11+3=14 Current State: 91:[77, 14], Operations: ['62+15=77', '11+3=14'] Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[62, 15, 11, 3], Operations: [] Exploring Operation: 62+15=77, Resulting Numbers: [11, 3, 77] Generated Node #0,0: 91:[11, 3, 77] Operation: 62+15=77 Exploring Operation: 62+11=73, Resulting Numbers: [15, 3, 73] Generated Node #0,1: 91:[15, 3, 73] Operation: 62+11=73 Exploring Operation: 15-3=12, Resulting Numbers: [62, 11, 12] Generated Node #0,2: 91:[62, 11, 12] Operation: 15-3=12 Exploring Operation: 62+3=65, Resulting Numbers: [15, 11, 65] Generated Node #0,3: 91:[15, 11, 65] Operation: 62+3=65 Moving to Node #0,0 Current State: 91:[11, 3, 77], Operations: ['62+15=77'] Exploring Operation: 77/11=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 91:[3, 7] Operation: 77/11=7 Exploring Operation: 3+77=80, Resulting Numbers: [11, 80] Generated Node #0,0,1: 91:[11, 80] Operation: 3+77=80 Exploring Operation: 11+77=88, Resulting Numbers: [3, 88] Generated Node #0,0,2: 91:[3, 88] Operation: 11+77=88 Exploring Operation: 11+3=14, Resulting Numbers: [77, 14] Generated Node #0,0,3: 91:[77, 14] Operation: 11+3=14 Moving to Node #0,1 Current State: 91:[15, 3, 73], Operations: ['62+11=73'] Exploring Operation: 15+73=88, Resulting Numbers: [3, 88] Generated Node #0,1,0: 91:[3, 88] Operation: 15+73=88 Exploring Operation: 3+73=76, Resulting Numbers: [15, 76] Generated Node #0,1,1: 91:[15, 76] Operation: 3+73=76 Exploring Operation: 15/3=5, Resulting Numbers: [73, 5] Generated Node #0,1,2: 91:[73, 5] Operation: 15/3=5 Exploring Operation: 15-3=12, Resulting Numbers: [73, 12] Generated Node #0,1,3: 91:[73, 12] Operation: 15-3=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[3, 88], Operations: ['62+11=73', '15+73=88'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,91 unequal: No Solution Exploring Operation: 3*88=264, Resulting Numbers: [264] 264,91 unequal: No Solution Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[62, 15, 11, 3], Operations: [] Exploring Operation: 62+11=73, Resulting Numbers: [15, 3, 73] Generated Node #0,1: 91:[15, 3, 73] Operation: 62+11=73 Moving to Node #0,1 Current State: 91:[15, 3, 73], Operations: ['62+11=73'] Exploring Operation: 15+73=88, Resulting Numbers: [3, 88] Generated Node #0,1,0: 91:[3, 88] Operation: 15+73=88 Moving to Node #0,1,0 Current State: 91:[3, 88], Operations: ['62+11=73', '15+73=88'] Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 61, 48, 21, 30 ]
38
[ "61-48=13", "21+30=51", "51-13=38" ]
Current State: 38:[61, 48, 21, 30], Operations: [] Exploring Operation: 61-48=13, Resulting Numbers: [21, 30, 13] Generated Node #2: [21, 30, 13] from Operation: 61-48=13 Current State: 38:[21, 30, 13], Operations: ['61-48=13'] Exploring Operation: 21+30=51, Resulting Numbers: [13, 51] Generated Node #3: [13, 51] from Operation: 21+30=51 Current State: 38:[13, 51], Operations: ['61-48=13', '21+30=51'] Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[61, 48, 21, 30], Operations: [] Exploring Operation: 61-48=13, Resulting Numbers: [21, 30, 13] Generated Node #0,0: 38:[21, 30, 13] Operation: 61-48=13 Exploring Operation: 61-30=31, Resulting Numbers: [48, 21, 31] Generated Node #0,1: 38:[48, 21, 31] Operation: 61-30=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[21, 30, 13], Operations: ['61-48=13'] Exploring Operation: 30+13=43, Resulting Numbers: [21, 43] Generated Node #0,0,0: 38:[21, 43] Operation: 30+13=43 Exploring Operation: 30-13=17, Resulting Numbers: [21, 17] Generated Node #0,0,1: 38:[21, 17] Operation: 30-13=17 Moving to Node #0,0,1 Current State: 38:[21, 17], Operations: ['61-48=13', '30-13=17'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[61, 48, 21, 30], Operations: [] Exploring Operation: 61-48=13, Resulting Numbers: [21, 30, 13] Generated Node #0,0: 38:[21, 30, 13] Operation: 61-48=13 Moving to Node #0,0 Current State: 38:[21, 30, 13], Operations: ['61-48=13'] Exploring Operation: 30-13=17, Resulting Numbers: [21, 17] Generated Node #0,0,1: 38:[21, 17] Operation: 30-13=17 Moving to Node #0,0,1 Current State: 38:[21, 17], Operations: ['61-48=13', '30-13=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 19, 48, 84, 73 ]
56
[ "19+48=67", "84-73=11", "67-11=56" ]
Current State: 56:[19, 48, 84, 73], Operations: [] Exploring Operation: 19+48=67, Resulting Numbers: [84, 73, 67] Generated Node #2: [84, 73, 67] from Operation: 19+48=67 Current State: 56:[84, 73, 67], Operations: ['19+48=67'] Exploring Operation: 84-73=11, Resulting Numbers: [67, 11] Generated Node #3: [67, 11] from Operation: 84-73=11 Current State: 56:[67, 11], Operations: ['19+48=67', '84-73=11'] Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[19, 48, 84, 73], Operations: [] Exploring Operation: 84-48=36, Resulting Numbers: [19, 73, 36] Generated Node #0,0: 56:[19, 73, 36] Operation: 84-48=36 Exploring Operation: 84-73=11, Resulting Numbers: [19, 48, 11] Generated Node #0,1: 56:[19, 48, 11] Operation: 84-73=11 Moving to Node #0,1 Current State: 56:[19, 48, 11], Operations: ['84-73=11'] Exploring Operation: 19-11=8, Resulting Numbers: [48, 8] Generated Node #0,1,0: 56:[48, 8] Operation: 19-11=8 Exploring Operation: 48-19=29, Resulting Numbers: [11, 29] Generated Node #0,1,1: 56:[11, 29] Operation: 48-19=29 Moving to Node #0,0 Current State: 56:[19, 73, 36], Operations: ['84-48=36'] Exploring Operation: 73-36=37, Resulting Numbers: [19, 37] Generated Node #0,0,0: 56:[19, 37] Operation: 73-36=37 Exploring Operation: 73-19=54, Resulting Numbers: [36, 54] Generated Node #0,0,1: 56:[36, 54] Operation: 73-19=54 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[36, 54], Operations: ['84-48=36', '73-19=54'] Exploring Operation: 36+54=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[19, 37], Operations: ['84-48=36', '73-36=37'] Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[19, 48, 84, 73], Operations: [] Exploring Operation: 84-48=36, Resulting Numbers: [19, 73, 36] Generated Node #0,0: 56:[19, 73, 36] Operation: 84-48=36 Moving to Node #0,0 Current State: 56:[19, 73, 36], Operations: ['84-48=36'] Exploring Operation: 73-36=37, Resulting Numbers: [19, 37] Generated Node #0,0,0: 56:[19, 37] Operation: 73-36=37 Moving to Node #0,0,0 Current State: 56:[19, 37], Operations: ['84-48=36', '73-36=37'] Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
sum_heuristic
[ 12, 55, 92, 18 ]
10
[ "92+18=110", "110/55=2", "12-2=10" ]
Current State: 10:[12, 55, 92, 18], Operations: [] Exploring Operation: 92+18=110, Resulting Numbers: [12, 55, 110] Generated Node #2: [12, 55, 110] from Operation: 92+18=110 Current State: 10:[12, 55, 110], Operations: ['92+18=110'] Exploring Operation: 110/55=2, Resulting Numbers: [12, 2] Generated Node #3: [12, 2] from Operation: 110/55=2 Current State: 10:[12, 2], Operations: ['92+18=110', '110/55=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[12, 55, 92, 18], Operations: [] Exploring Operation: 55-18=37, Resulting Numbers: [12, 92, 37] Generated Node #0,0: 10:[12, 92, 37] Operation: 55-18=37 Exploring Operation: 92-18=74, Resulting Numbers: [12, 55, 74] Generated Node #0,1: 10:[12, 55, 74] Operation: 92-18=74 Exploring Operation: 92-55=37, Resulting Numbers: [12, 18, 37] Generated Node #0,2: 10:[12, 18, 37] Operation: 92-55=37 Moving to Node #0,2 Current State: 10:[12, 18, 37], Operations: ['92-55=37'] Exploring Operation: 37-12=25, Resulting Numbers: [18, 25] Generated Node #0,2,0: 10:[18, 25] Operation: 37-12=25 Exploring Operation: 18-12=6, Resulting Numbers: [37, 6] Generated Node #0,2,1: 10:[37, 6] Operation: 18-12=6 Exploring Operation: 37-18=19, Resulting Numbers: [12, 19] Generated Node #0,2,2: 10:[12, 19] Operation: 37-18=19 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[12, 19], Operations: ['92-55=37', '37-18=19'] Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,10 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[18, 25], Operations: ['92-55=37', '37-12=25'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,10 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[37, 6], Operations: ['92-55=37', '18-12=6'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,10 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: 10:[12, 92, 37], Operations: ['55-18=37'] Exploring Operation: 92-37=55, Resulting Numbers: [12, 55] Generated Node #0,0,0: 10:[12, 55] Operation: 92-37=55 Exploring Operation: 37-12=25, Resulting Numbers: [92, 25] Generated Node #0,0,1: 10:[92, 25] Operation: 37-12=25 Exploring Operation: 92-12=80, Resulting Numbers: [37, 80] Generated Node #0,0,2: 10:[37, 80] Operation: 92-12=80 Moving to Node #0,1 Current State: 10:[12, 55, 74], Operations: ['92-18=74'] Exploring Operation: 55-12=43, Resulting Numbers: [74, 43] Generated Node #0,1,0: 10:[74, 43] Operation: 55-12=43 Exploring Operation: 74-55=19, Resulting Numbers: [12, 19] Generated Node #0,1,1: 10:[12, 19] Operation: 74-55=19 Exploring Operation: 74-12=62, Resulting Numbers: [55, 62] Generated Node #0,1,2: 10:[55, 62] Operation: 74-12=62 Moving to Node #0,1,1 Current State: 10:[12, 19], Operations: ['92-18=74', '74-55=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,10 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[12, 55], Operations: ['55-18=37', '92-37=55'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,10 unequal: No Solution Exploring Operation: 12*55=660, Resulting Numbers: [660] 660,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[37, 80], Operations: ['55-18=37', '92-12=80'] Exploring Operation: 37+80=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 37*80=2960, Resulting Numbers: [2960] 2960,10 unequal: No Solution Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[55, 62], Operations: ['92-18=74', '74-12=62'] Exploring Operation: 55*62=3410, Resulting Numbers: [3410] 3410,10 unequal: No Solution Exploring Operation: 55+62=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[74, 43], Operations: ['92-18=74', '55-12=43'] Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 74+43=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 74*43=3182, Resulting Numbers: [3182] 3182,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[92, 25], Operations: ['55-18=37', '37-12=25'] Exploring Operation: 92*25=2300, Resulting Numbers: [2300] 2300,10 unequal: No Solution Exploring Operation: 92+25=117, Resulting Numbers: [117] 117,10 unequal: No Solution Exploring Operation: 92-25=67, Resulting Numbers: [67] 67,10 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 71, 18, 69, 46 ]
98
[ "18*69=1242", "1242/46=27", "71+27=98" ]
Current State: 98:[71, 18, 69, 46], Operations: [] Exploring Operation: 18*69=1242, Resulting Numbers: [71, 46, 1242] Generated Node #2: [71, 46, 1242] from Operation: 18*69=1242 Current State: 98:[71, 46, 1242], Operations: ['18*69=1242'] Exploring Operation: 1242/46=27, Resulting Numbers: [71, 27] Generated Node #3: [71, 27] from Operation: 1242/46=27 Current State: 98:[71, 27], Operations: ['18*69=1242', '1242/46=27'] Exploring Operation: 71+27=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[71, 18, 69, 46], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [18, 46, 2] Generated Node #0,0: 98:[18, 46, 2] Operation: 71-69=2 Moving to Node #0,0 Current State: 98:[18, 46, 2], Operations: ['71-69=2'] Exploring Operation: 18-2=16, Resulting Numbers: [46, 16] Generated Node #0,0,0: 98:[46, 16] Operation: 18-2=16 Moving to Node #0,0,0 Current State: 98:[46, 16], Operations: ['71-69=2', '18-2=16'] Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,98 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 51, 36, 63, 35 ]
13
[ "51-36=15", "63-35=28", "28-15=13" ]
Current State: 13:[51, 36, 63, 35], Operations: [] Exploring Operation: 51-36=15, Resulting Numbers: [63, 35, 15] Generated Node #2: [63, 35, 15] from Operation: 51-36=15 Current State: 13:[63, 35, 15], Operations: ['51-36=15'] Exploring Operation: 63-35=28, Resulting Numbers: [15, 28] Generated Node #3: [15, 28] from Operation: 63-35=28 Current State: 13:[15, 28], Operations: ['51-36=15', '63-35=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[51, 36, 63, 35], Operations: [] Exploring Operation: 51-36=15, Resulting Numbers: [63, 35, 15] Generated Node #0,0: 13:[63, 35, 15] Operation: 51-36=15 Exploring Operation: 63-36=27, Resulting Numbers: [51, 35, 27] Generated Node #0,1: 13:[51, 35, 27] Operation: 63-36=27 Exploring Operation: 51-35=16, Resulting Numbers: [36, 63, 16] Generated Node #0,2: 13:[36, 63, 16] Operation: 51-35=16 Exploring Operation: 63-51=12, Resulting Numbers: [36, 35, 12] Generated Node #0,3: 13:[36, 35, 12] Operation: 63-51=12 Moving to Node #0,3 Current State: 13:[36, 35, 12], Operations: ['63-51=12'] Exploring Operation: 35-12=23, Resulting Numbers: [36, 23] Generated Node #0,3,0: 13:[36, 23] Operation: 35-12=23 Exploring Operation: 36-12=24, Resulting Numbers: [35, 24] Generated Node #0,3,1: 13:[35, 24] Operation: 36-12=24 Exploring Operation: 36-35=1, Resulting Numbers: [12, 1] Generated Node #0,3,2: 13:[12, 1] Operation: 36-35=1 Exploring Operation: 36/12=3, Resulting Numbers: [35, 3] Generated Node #0,3,3: 13:[35, 3] Operation: 36/12=3 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 13:[12, 1], Operations: ['63-51=12', '36-35=1'] Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[51, 36, 63, 35], Operations: [] Exploring Operation: 63-51=12, Resulting Numbers: [36, 35, 12] Generated Node #0,3: 13:[36, 35, 12] Operation: 63-51=12 Moving to Node #0,3 Current State: 13:[36, 35, 12], Operations: ['63-51=12'] Exploring Operation: 36-35=1, Resulting Numbers: [12, 1] Generated Node #0,3,2: 13:[12, 1] Operation: 36-35=1 Moving to Node #0,3,2 Current State: 13:[12, 1], Operations: ['63-51=12', '36-35=1'] Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 56, 87, 31, 25 ]
62
[ "87+25=112", "112/56=2", "31*2=62" ]
Current State: 62:[56, 87, 31, 25], Operations: [] Exploring Operation: 87+25=112, Resulting Numbers: [56, 31, 112] Generated Node #2: [56, 31, 112] from Operation: 87+25=112 Current State: 62:[56, 31, 112], Operations: ['87+25=112'] Exploring Operation: 112/56=2, Resulting Numbers: [31, 2] Generated Node #3: [31, 2] from Operation: 112/56=2 Current State: 62:[31, 2], Operations: ['87+25=112', '112/56=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[56, 87, 31, 25], Operations: [] Exploring Operation: 87-31=56, Resulting Numbers: [56, 25, 56] Generated Node #0,0: 62:[56, 25, 56] Operation: 87-31=56 Exploring Operation: 87-56=31, Resulting Numbers: [31, 25, 31] Generated Node #0,1: 62:[31, 25, 31] Operation: 87-56=31 Exploring Operation: 87-25=62, Resulting Numbers: [56, 31, 62] Generated Node #0,2: 62:[56, 31, 62] Operation: 87-25=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[31, 25, 31], Operations: ['87-56=31'] Exploring Operation: 31-25=6, Resulting Numbers: [31, 6] Generated Node #0,1,0: 62:[31, 6] Operation: 31-25=6 Exploring Operation: 31+25=56, Resulting Numbers: [31, 56] Generated Node #0,1,1: 62:[31, 56] Operation: 31+25=56 Exploring Operation: 31-25=6, Resulting Numbers: [31, 6] Generated Node #0,1,2: 62:[31, 6] Operation: 31-25=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[31, 6], Operations: ['87-56=31', '31-25=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,62 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 62:[31, 6], Operations: ['87-56=31', '31-25=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,62 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[31, 56], Operations: ['87-56=31', '31+25=56'] Exploring Operation: 31+56=87, Resulting Numbers: [87] 87,62 unequal: No Solution Exploring Operation: 31*56=1736, Resulting Numbers: [1736] 1736,62 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[56, 31, 62], Operations: ['87-25=62'] Exploring Operation: 56-31=25, Resulting Numbers: [62, 25] Generated Node #0,2,0: 62:[62, 25] Operation: 56-31=25 Exploring Operation: 62-31=31, Resulting Numbers: [56, 31] Generated Node #0,2,1: 62:[56, 31] Operation: 62-31=31 Exploring Operation: 62-56=6, Resulting Numbers: [31, 6] Generated Node #0,2,2: 62:[31, 6] Operation: 62-56=6 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[31, 6], Operations: ['87-25=62', '62-56=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[62, 25], Operations: ['87-25=62', '56-31=25'] Exploring Operation: 62-25=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 62*25=1550, Resulting Numbers: [1550] 1550,62 unequal: No Solution Exploring Operation: 62+25=87, Resulting Numbers: [87] 87,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 62:[56, 31], Operations: ['87-25=62', '62-31=31'] Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,62 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[56, 25, 56], Operations: ['87-31=56'] Exploring Operation: 56-25=31, Resulting Numbers: [56, 31] Generated Node #0,0,0: 62:[56, 31] Operation: 56-25=31 Exploring Operation: 56-25=31, Resulting Numbers: [56, 31] Generated Node #0,0,1: 62:[56, 31] Operation: 56-25=31 Exploring Operation: 56/56=1, Resulting Numbers: [25, 1] Generated Node #0,0,2: 62:[25, 1] Operation: 56/56=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[56, 31], Operations: ['87-31=56', '56-25=31'] Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,62 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[56, 31], Operations: ['87-31=56', '56-25=31'] Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,62 unequal: No Solution Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,62 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[25, 1], Operations: ['87-31=56', '56/56=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 8, 14, 69, 63 ]
64
[ "69-14=55", "63-55=8", "8*8=64" ]
Current State: 64:[8, 14, 69, 63], Operations: [] Exploring Operation: 69-14=55, Resulting Numbers: [8, 63, 55] Generated Node #2: [8, 63, 55] from Operation: 69-14=55 Current State: 64:[8, 63, 55], Operations: ['69-14=55'] Exploring Operation: 63-55=8, Resulting Numbers: [8, 8] Generated Node #3: [8, 8] from Operation: 63-55=8 Current State: 64:[8, 8], Operations: ['69-14=55', '63-55=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[8, 14, 69, 63], Operations: [] Exploring Operation: 69-14=55, Resulting Numbers: [8, 63, 55] Generated Node #0,0: 64:[8, 63, 55] Operation: 69-14=55 Exploring Operation: 8+14=22, Resulting Numbers: [69, 63, 22] Generated Node #0,1: 64:[69, 63, 22] Operation: 8+14=22 Exploring Operation: 14-8=6, Resulting Numbers: [69, 63, 6] Generated Node #0,2: 64:[69, 63, 6] Operation: 14-8=6 Exploring Operation: 69-63=6, Resulting Numbers: [8, 14, 6] Generated Node #0,3: 64:[8, 14, 6] Operation: 69-63=6 Exploring Operation: 69-8=61, Resulting Numbers: [14, 63, 61] Generated Node #0,4: 64:[14, 63, 61] Operation: 69-8=61 Moving to Node #0,3 Current State: 64:[8, 14, 6], Operations: ['69-63=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8, 8] Generated Node #0,3,0: 64:[8, 8] Operation: 14-6=8 Exploring Operation: 14+6=20, Resulting Numbers: [8, 20] Generated Node #0,3,1: 64:[8, 20] Operation: 14+6=20 Exploring Operation: 8-6=2, Resulting Numbers: [14, 2] Generated Node #0,3,2: 64:[14, 2] Operation: 8-6=2 Exploring Operation: 8+6=14, Resulting Numbers: [14, 14] Generated Node #0,3,3: 64:[14, 14] Operation: 8+6=14 Exploring Operation: 14-8=6, Resulting Numbers: [6, 6] Generated Node #0,3,4: 64:[6, 6] Operation: 14-8=6 Moving to Node #0,4 Current State: 64:[14, 63, 61], Operations: ['69-8=61'] Exploring Operation: 63-61=2, Resulting Numbers: [14, 2] Generated Node #0,4,0: 64:[14, 2] Operation: 63-61=2 Exploring Operation: 61-14=47, Resulting Numbers: [63, 47] Generated Node #0,4,1: 64:[63, 47] Operation: 61-14=47 Exploring Operation: 14+63=77, Resulting Numbers: [61, 77] Generated Node #0,4,2: 64:[61, 77] Operation: 14+63=77 Exploring Operation: 63-14=49, Resulting Numbers: [61, 49] Generated Node #0,4,3: 64:[61, 49] Operation: 63-14=49 Exploring Operation: 14+61=75, Resulting Numbers: [63, 75] Generated Node #0,4,4: 64:[63, 75] Operation: 14+61=75 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 64:[14, 2], Operations: ['69-8=61', '63-61=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 64:[63, 75], Operations: ['69-8=61', '14+61=75'] Exploring Operation: 63*75=4725, Resulting Numbers: [4725] 4725,64 unequal: No Solution Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 63+75=138, Resulting Numbers: [138] 138,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 64:[63, 47], Operations: ['69-8=61', '61-14=47'] Exploring Operation: 63*47=2961, Resulting Numbers: [2961] 2961,64 unequal: No Solution Exploring Operation: 63+47=110, Resulting Numbers: [110] 110,64 unequal: No Solution Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 64:[61, 77], Operations: ['69-8=61', '14+63=77'] Exploring Operation: 61*77=4697, Resulting Numbers: [4697] 4697,64 unequal: No Solution Exploring Operation: 61+77=138, Resulting Numbers: [138] 138,64 unequal: No Solution Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 64:[61, 49], Operations: ['69-8=61', '63-14=49'] Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 61*49=2989, Resulting Numbers: [2989] 2989,64 unequal: No Solution Exploring Operation: 61+49=110, Resulting Numbers: [110] 110,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 64:[69, 63, 6], Operations: ['14-8=6'] Exploring Operation: 63-6=57, Resulting Numbers: [69, 57] Generated Node #0,2,0: 64:[69, 57] Operation: 63-6=57 Exploring Operation: 63+6=69, Resulting Numbers: [69, 69] Generated Node #0,2,1: 64:[69, 69] Operation: 63+6=69 Exploring Operation: 69-6=63, Resulting Numbers: [63, 63] Generated Node #0,2,2: 64:[63, 63] Operation: 69-6=63 Exploring Operation: 69-63=6, Resulting Numbers: [6, 6] Generated Node #0,2,3: 64:[6, 6] Operation: 69-63=6 Exploring Operation: 69+6=75, Resulting Numbers: [63, 75] Generated Node #0,2,4: 64:[63, 75] Operation: 69+6=75 Moving to Node #0,0 Current State: 64:[8, 63, 55], Operations: ['69-14=55'] Exploring Operation: 63-8=55, Resulting Numbers: [55, 55] Generated Node #0,0,0: 64:[55, 55] Operation: 63-8=55 Exploring Operation: 63-55=8, Resulting Numbers: [8, 8] Generated Node #0,0,1: 64:[8, 8] Operation: 63-55=8 Exploring Operation: 8+55=63, Resulting Numbers: [63, 63] Generated Node #0,0,2: 64:[63, 63] Operation: 8+55=63 Exploring Operation: 55-8=47, Resulting Numbers: [63, 47] Generated Node #0,0,3: 64:[63, 47] Operation: 55-8=47 Exploring Operation: 8+63=71, Resulting Numbers: [55, 71] Generated Node #0,0,4: 64:[55, 71] Operation: 8+63=71 Moving to Node #0,1 Current State: 64:[69, 63, 22], Operations: ['8+14=22'] Exploring Operation: 63+22=85, Resulting Numbers: [69, 85] Generated Node #0,1,0: 64:[69, 85] Operation: 63+22=85 Exploring Operation: 69-22=47, Resulting Numbers: [63, 47] Generated Node #0,1,1: 64:[63, 47] Operation: 69-22=47 Exploring Operation: 63-22=41, Resulting Numbers: [69, 41] Generated Node #0,1,2: 64:[69, 41] Operation: 63-22=41 Exploring Operation: 69-63=6, Resulting Numbers: [22, 6] Generated Node #0,1,3: 64:[22, 6] Operation: 69-63=6 Exploring Operation: 69+22=91, Resulting Numbers: [63, 91] Generated Node #0,1,4: 64:[63, 91] Operation: 69+22=91 Moving to Node #0,3,0 Current State: 64:[8, 8], Operations: ['69-63=6', '14-6=8'] Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[8, 14, 69, 63], Operations: [] Exploring Operation: 69-63=6, Resulting Numbers: [8, 14, 6] Generated Node #0,3: 64:[8, 14, 6] Operation: 69-63=6 Moving to Node #0,3 Current State: 64:[8, 14, 6], Operations: ['69-63=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8, 8] Generated Node #0,3,0: 64:[8, 8] Operation: 14-6=8 Moving to Node #0,3,0 Current State: 64:[8, 8], Operations: ['69-63=6', '14-6=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.953993
hs_5
mult_heuristic
[ 49, 92, 47, 53 ]
41
[ "49+92=141", "47+53=100", "141-100=41" ]
Current State: 41:[49, 92, 47, 53], Operations: [] Exploring Operation: 49+92=141, Resulting Numbers: [47, 53, 141] Generated Node #2: [47, 53, 141] from Operation: 49+92=141 Current State: 41:[47, 53, 141], Operations: ['49+92=141'] Exploring Operation: 47+53=100, Resulting Numbers: [141, 100] Generated Node #3: [141, 100] from Operation: 47+53=100 Current State: 41:[141, 100], Operations: ['49+92=141', '47+53=100'] Exploring Operation: 141-100=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[49, 92, 47, 53], Operations: [] Exploring Operation: 92-53=39, Resulting Numbers: [49, 47, 39] Generated Node #0,0: 41:[49, 47, 39] Operation: 92-53=39 Exploring Operation: 92-49=43, Resulting Numbers: [47, 53, 43] Generated Node #0,1: 41:[47, 53, 43] Operation: 92-49=43 Exploring Operation: 92-47=45, Resulting Numbers: [49, 53, 45] Generated Node #0,2: 41:[49, 53, 45] Operation: 92-47=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[49, 47, 39], Operations: ['92-53=39'] Exploring Operation: 47-39=8, Resulting Numbers: [49, 8] Generated Node #0,0,0: 41:[49, 8] Operation: 47-39=8 Exploring Operation: 49-39=10, Resulting Numbers: [47, 10] Generated Node #0,0,1: 41:[47, 10] Operation: 49-39=10 Exploring Operation: 49-47=2, Resulting Numbers: [39, 2] Generated Node #0,0,2: 41:[39, 2] Operation: 49-47=2 Moving to Node #0,0,1 Current State: 41:[47, 10], Operations: ['92-53=39', '49-39=10'] Exploring Operation: 47*10=470, Resulting Numbers: [470] 470,41 unequal: No Solution Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 47+10=57, Resulting Numbers: [57] 57,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[49, 8], Operations: ['92-53=39', '47-39=8'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[49, 92, 47, 53], Operations: [] Exploring Operation: 92-53=39, Resulting Numbers: [49, 47, 39] Generated Node #0,0: 41:[49, 47, 39] Operation: 92-53=39 Moving to Node #0,0 Current State: 41:[49, 47, 39], Operations: ['92-53=39'] Exploring Operation: 47-39=8, Resulting Numbers: [49, 8] Generated Node #0,0,0: 41:[49, 8] Operation: 47-39=8 Moving to Node #0,0,0 Current State: 41:[49, 8], Operations: ['92-53=39', '47-39=8'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 5, 47, 5, 70 ]
60
[ "70-5=65", "65/5=13", "47+13=60" ]
Current State: 60:[5, 47, 5, 70], Operations: [] Exploring Operation: 70-5=65, Resulting Numbers: [47, 65] Generated Node #2: [47, 65] from Operation: 70-5=65 Current State: 60:[47, 65], Operations: ['70-5=65'] Exploring Operation: 65/5=13, Resulting Numbers: [47, 13] Generated Node #3: [47, 13] from Operation: 65/5=13 Current State: 60:[47, 13], Operations: ['70-5=65', '65/5=13'] Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[5, 47, 5, 70], Operations: [] Exploring Operation: 70/5=14, Resulting Numbers: [5, 47, 14] Generated Node #0,0: 60:[5, 47, 14] Operation: 70/5=14 Exploring Operation: 70-5=65, Resulting Numbers: [47, 5, 65] Generated Node #0,1: 60:[47, 5, 65] Operation: 70-5=65 Exploring Operation: 5+47=52, Resulting Numbers: [5, 70, 52] Generated Node #0,2: 60:[5, 70, 52] Operation: 5+47=52 Exploring Operation: 70/5=14, Resulting Numbers: [47, 5, 14] Generated Node #0,3: 60:[47, 5, 14] Operation: 70/5=14 Exploring Operation: 70-47=23, Resulting Numbers: [5, 5, 23] Generated Node #0,4: 60:[5, 5, 23] Operation: 70-47=23 Start Sub Search at level 1: Moving to Node #0,4 Current State: 60:[5, 5, 23], Operations: ['70-47=23'] Exploring Operation: 5+23=28, Resulting Numbers: [5, 28] Generated Node #0,4,0: 60:[5, 28] Operation: 5+23=28 Exploring Operation: 5+5=10, Resulting Numbers: [23, 10] Generated Node #0,4,1: 60:[23, 10] Operation: 5+5=10 Exploring Operation: 23-5=18, Resulting Numbers: [5, 18] Generated Node #0,4,2: 60:[5, 18] Operation: 23-5=18 Exploring Operation: 5+23=28, Resulting Numbers: [5, 28] Generated Node #0,4,3: 60:[5, 28] Operation: 5+23=28 Exploring Operation: 23-5=18, Resulting Numbers: [5, 18] Generated Node #0,4,4: 60:[5, 18] Operation: 23-5=18 Moving to Node #0,4,0 Current State: 60:[5, 28], Operations: ['70-47=23', '5+23=28'] Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,60 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,60 unequal: No Solution Moving to Node #0,4,3 Current State: 60:[5, 28], Operations: ['70-47=23', '5+23=28'] Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,60 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,60 unequal: No Solution Moving to Node #0,4,2 Current State: 60:[5, 18], Operations: ['70-47=23', '23-5=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,60 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,60 unequal: No Solution Moving to Node #0,4,4 Current State: 60:[5, 18], Operations: ['70-47=23', '23-5=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,60 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,60 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,60 unequal: No Solution Moving to Node #0,4,1 Current State: 60:[23, 10], Operations: ['70-47=23', '5+5=10'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[5, 47, 14], Operations: ['70/5=14'] Exploring Operation: 5+14=19, Resulting Numbers: [47, 19] Generated Node #0,0,0: 60:[47, 19] Operation: 5+14=19 Exploring Operation: 47-14=33, Resulting Numbers: [5, 33] Generated Node #0,0,1: 60:[5, 33] Operation: 47-14=33 Exploring Operation: 47+14=61, Resulting Numbers: [5, 61] Generated Node #0,0,2: 60:[5, 61] Operation: 47+14=61 Exploring Operation: 5+47=52, Resulting Numbers: [14, 52] Generated Node #0,0,3: 60:[14, 52] Operation: 5+47=52 Exploring Operation: 47-5=42, Resulting Numbers: [14, 42] Generated Node #0,0,4: 60:[14, 42] Operation: 47-5=42 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 60:[5, 61], Operations: ['70/5=14', '47+14=61'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 60:[5, 33], Operations: ['70/5=14', '47-14=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,60 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 60:[14, 52], Operations: ['70/5=14', '5+47=52'] Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 60:[14, 42], Operations: ['70/5=14', '47-5=42'] Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 14*42=588, Resulting Numbers: [588] 588,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[47, 19], Operations: ['70/5=14', '5+14=19'] Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,60 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 60:[47, 5, 14], Operations: ['70/5=14'] Exploring Operation: 5+14=19, Resulting Numbers: [47, 19] Generated Node #0,3,0: 60:[47, 19] Operation: 5+14=19 Exploring Operation: 47-14=33, Resulting Numbers: [5, 33] Generated Node #0,3,1: 60:[5, 33] Operation: 47-14=33 Exploring Operation: 47+14=61, Resulting Numbers: [5, 61] Generated Node #0,3,2: 60:[5, 61] Operation: 47+14=61 Exploring Operation: 47+5=52, Resulting Numbers: [14, 52] Generated Node #0,3,3: 60:[14, 52] Operation: 47+5=52 Exploring Operation: 47-5=42, Resulting Numbers: [14, 42] Generated Node #0,3,4: 60:[14, 42] Operation: 47-5=42 Moving to Node #0,3,2 Current State: 60:[5, 61], Operations: ['70/5=14', '47+14=61'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[5, 33], Operations: ['70/5=14', '47-14=33'] Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,60 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[14, 52], Operations: ['70/5=14', '47+5=52'] Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,60 unequal: No Solution Moving to Node #0,3,4 Current State: 60:[14, 42], Operations: ['70/5=14', '47-5=42'] Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 14*42=588, Resulting Numbers: [588] 588,60 unequal: No Solution Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[47, 19], Operations: ['70/5=14', '5+14=19'] Exploring Operation: 47+19=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 47*19=893, Resulting Numbers: [893] 893,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[47, 5, 65], Operations: ['70-5=65'] Exploring Operation: 65-5=60, Resulting Numbers: [47, 60] Generated Node #0,1,0: 60:[47, 60] Operation: 65-5=60 Exploring Operation: 65-47=18, Resulting Numbers: [5, 18] Generated Node #0,1,1: 60:[5, 18] Operation: 65-47=18 Exploring Operation: 47+5=52, Resulting Numbers: [65, 52] Generated Node #0,1,2: 60:[65, 52] Operation: 47+5=52 Exploring Operation: 65/5=13, Resulting Numbers: [47, 13] Generated Node #0,1,3: 60:[47, 13] Operation: 65/5=13 Exploring Operation: 47-5=42, Resulting Numbers: [65, 42] Generated Node #0,1,4: 60:[65, 42] Operation: 47-5=42 Moving to Node #0,1,1 Current State: 60:[5, 18], Operations: ['70-5=65', '65-47=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,60 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,60 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[65, 52], Operations: ['70-5=65', '47+5=52'] Exploring Operation: 65*52=3380, Resulting Numbers: [3380] 3380,60 unequal: No Solution Exploring Operation: 65+52=117, Resulting Numbers: [117] 117,60 unequal: No Solution Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[47, 60], Operations: ['70-5=65', '65-5=60'] Exploring Operation: 47+60=107, Resulting Numbers: [107] 107,60 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 47*60=2820, Resulting Numbers: [2820] 2820,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[47, 13], Operations: ['70-5=65', '65/5=13'] Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,60 unequal: No Solution Exploring Operation: 47*13=611, Resulting Numbers: [611] 611,60 unequal: No Solution Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[5, 47, 5, 70], Operations: [] Exploring Operation: 70-5=65, Resulting Numbers: [47, 5, 65] Generated Node #0,1: 60:[47, 5, 65] Operation: 70-5=65 Moving to Node #0,1 Current State: 60:[47, 5, 65], Operations: ['70-5=65'] Exploring Operation: 65/5=13, Resulting Numbers: [47, 13] Generated Node #0,1,3: 60:[47, 13] Operation: 65/5=13 Moving to Node #0,1,3 Current State: 60:[47, 13], Operations: ['70-5=65', '65/5=13'] Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.923611
hs_5
mult_heuristic