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
[ 22, 27, 62, 51 ]
38
[ "22+27=49", "62-51=11", "49-11=38" ]
Current State: 38:[22, 27, 62, 51], Operations: [] Exploring Operation: 22+27=49, Resulting Numbers: [62, 51, 49] Generated Node #2: [62, 51, 49] from Operation: 22+27=49 Current State: 38:[62, 51, 49], Operations: ['22+27=49'] Exploring Operation: 62-51=11, Resulting Numbers: [49, 11] Generated Node #3: [49, 11] from Operation: 62-51=11 Current State: 38:[49, 11], Operations: ['22+27=49', '62-51=11'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[22, 27, 62, 51], Operations: [] Exploring Operation: 62-51=11, Resulting Numbers: [22, 27, 11] Generated Node #0,0: 38:[22, 27, 11] Operation: 62-51=11 Exploring Operation: 27-22=5, Resulting Numbers: [62, 51, 5] Generated Node #0,1: 38:[62, 51, 5] Operation: 27-22=5 Exploring Operation: 62-22=40, Resulting Numbers: [27, 51, 40] Generated Node #0,2: 38:[27, 51, 40] Operation: 62-22=40 Exploring Operation: 62-27=35, Resulting Numbers: [22, 51, 35] Generated Node #0,3: 38:[22, 51, 35] Operation: 62-27=35 Exploring Operation: 51-27=24, Resulting Numbers: [22, 62, 24] Generated Node #0,4: 38:[22, 62, 24] Operation: 51-27=24 Moving to Node #0,0 Current State: 38:[22, 27, 11], Operations: ['62-51=11'] Exploring Operation: 22+11=33, Resulting Numbers: [27, 33] Generated Node #0,0,0: 38:[27, 33] Operation: 22+11=33 Exploring Operation: 27-22=5, Resulting Numbers: [11, 5] Generated Node #0,0,1: 38:[11, 5] Operation: 27-22=5 Exploring Operation: 22/11=2, Resulting Numbers: [27, 2] Generated Node #0,0,2: 38:[27, 2] Operation: 22/11=2 Exploring Operation: 27-11=16, Resulting Numbers: [22, 16] Generated Node #0,0,3: 38:[22, 16] Operation: 27-11=16 Exploring Operation: 27+11=38, Resulting Numbers: [22, 38] Generated Node #0,0,4: 38:[22, 38] Operation: 27+11=38 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 38:[22, 38], Operations: ['62-51=11', '27+11=38'] Exploring Operation: 22*38=836, Resulting Numbers: [836] 836,38 unequal: No Solution Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,38 unequal: No Solution Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,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,0,3 Current State: 38:[22, 16], Operations: ['62-51=11', '27-11=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[22, 27, 62, 51], Operations: [] Exploring Operation: 62-51=11, Resulting Numbers: [22, 27, 11] Generated Node #0,0: 38:[22, 27, 11] Operation: 62-51=11 Moving to Node #0,0 Current State: 38:[22, 27, 11], Operations: ['62-51=11'] Exploring Operation: 27-11=16, Resulting Numbers: [22, 16] Generated Node #0,0,3: 38:[22, 16] Operation: 27-11=16 Moving to Node #0,0,3 Current State: 38:[22, 16], Operations: ['62-51=11', '27-11=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 12, 26, 12, 55 ]
53
[ "26-12=14", "12+55=67", "67-14=53" ]
Current State: 53:[12, 26, 12, 55], Operations: [] Exploring Operation: 26-12=14, Resulting Numbers: [55, 14] Generated Node #2: [55, 14] from Operation: 26-12=14 Current State: 53:[55, 14], Operations: ['26-12=14'] Exploring Operation: 12+55=67, Resulting Numbers: [14, 67] Generated Node #3: [14, 67] from Operation: 12+55=67 Current State: 53:[14, 67], Operations: ['26-12=14', '12+55=67'] Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[12, 26, 12, 55], Operations: [] Exploring Operation: 12+26=38, Resulting Numbers: [12, 55, 38] Generated Node #0,0: 53:[12, 55, 38] Operation: 12+26=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[12, 55, 38], Operations: ['12+26=38'] Exploring Operation: 12+38=50, Resulting Numbers: [55, 50] Generated Node #0,0,0: 53:[55, 50] Operation: 12+38=50 Moving to Node #0,0,0 Current State: 53:[55, 50], Operations: ['12+26=38', '12+38=50'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,53 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
[ 57, 38, 60, 15 ]
94
[ "57-38=19", "60+15=75", "19+75=94" ]
Current State: 94:[57, 38, 60, 15], Operations: [] Exploring Operation: 57-38=19, Resulting Numbers: [60, 15, 19] Generated Node #2: [60, 15, 19] from Operation: 57-38=19 Current State: 94:[60, 15, 19], Operations: ['57-38=19'] Exploring Operation: 60+15=75, Resulting Numbers: [19, 75] Generated Node #3: [19, 75] from Operation: 60+15=75 Current State: 94:[19, 75], Operations: ['57-38=19', '60+15=75'] Exploring Operation: 19+75=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[57, 38, 60, 15], Operations: [] Exploring Operation: 60-15=45, Resulting Numbers: [57, 38, 45] Generated Node #0,0: 94:[57, 38, 45] Operation: 60-15=45 Exploring Operation: 60/15=4, Resulting Numbers: [57, 38, 4] Generated Node #0,1: 94:[57, 38, 4] Operation: 60/15=4 Moving to Node #0,0 Current State: 94:[57, 38, 45], Operations: ['60-15=45'] Exploring Operation: 45-38=7, Resulting Numbers: [57, 7] Generated Node #0,0,0: 94:[57, 7] Operation: 45-38=7 Exploring Operation: 57+38=95, Resulting Numbers: [45, 95] Generated Node #0,0,1: 94:[45, 95] Operation: 57+38=95 Moving to Node #0,1 Current State: 94:[57, 38, 4], Operations: ['60/15=4'] Exploring Operation: 57+38=95, Resulting Numbers: [4, 95] Generated Node #0,1,0: 94:[4, 95] Operation: 57+38=95 Exploring Operation: 57-4=53, Resulting Numbers: [38, 53] Generated Node #0,1,1: 94:[38, 53] Operation: 57-4=53 Moving to Node #0,0,1 Current State: 94:[45, 95], Operations: ['60-15=45', '57+38=95'] Exploring Operation: 45+95=140, Resulting Numbers: [140] 140,94 unequal: No Solution Exploring Operation: 95-45=50, Resulting Numbers: [50] 50,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[4, 95], Operations: ['60/15=4', '57+38=95'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,94 unequal: No Solution Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[57, 7], Operations: ['60-15=45', '45-38=7'] Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[38, 53], Operations: ['60/15=4', '57-4=53'] Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,94 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,94 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 60, 20, 10, 68 ]
31
[ "10*68=680", "680-60=620", "620/20=31" ]
Current State: 31:[60, 20, 10, 68], Operations: [] Exploring Operation: 10*68=680, Resulting Numbers: [60, 20, 680] Generated Node #2: [60, 20, 680] from Operation: 10*68=680 Current State: 31:[60, 20, 680], Operations: ['10*68=680'] Exploring Operation: 680-60=620, Resulting Numbers: [20, 620] Generated Node #3: [20, 620] from Operation: 680-60=620 Current State: 31:[20, 620], Operations: ['10*68=680', '680-60=620'] Exploring Operation: 620/20=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[60, 20, 10, 68], Operations: [] Exploring Operation: 60-20=40, Resulting Numbers: [10, 68, 40] Generated Node #0,0: 31:[10, 68, 40] Operation: 60-20=40 Exploring Operation: 68-60=8, Resulting Numbers: [20, 10, 8] Generated Node #0,1: 31:[20, 10, 8] Operation: 68-60=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[20, 10, 8], Operations: ['68-60=8'] Exploring Operation: 20+8=28, Resulting Numbers: [10, 28] Generated Node #0,1,0: 31:[10, 28] Operation: 20+8=28 Exploring Operation: 20+10=30, Resulting Numbers: [8, 30] Generated Node #0,1,1: 31:[8, 30] Operation: 20+10=30 Moving to Node #0,1,0 Current State: 31:[10, 28], Operations: ['68-60=8', '20+8=28'] Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[8, 30], Operations: ['68-60=8', '20+10=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[10, 68, 40], Operations: ['60-20=40'] Exploring Operation: 68-10=58, Resulting Numbers: [40, 58] Generated Node #0,0,0: 31:[40, 58] Operation: 68-10=58 Exploring Operation: 68-40=28, Resulting Numbers: [10, 28] Generated Node #0,0,1: 31:[10, 28] Operation: 68-40=28 Moving to Node #0,0,1 Current State: 31:[10, 28], Operations: ['60-20=40', '68-40=28'] Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[40, 58], Operations: ['60-20=40', '68-10=58'] Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,31 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 50, 71, 63, 76 ]
65
[ "63-50=13", "76-71=5", "13*5=65" ]
Current State: 65:[50, 71, 63, 76], Operations: [] Exploring Operation: 63-50=13, Resulting Numbers: [71, 76, 13] Generated Node #2: [71, 76, 13] from Operation: 63-50=13 Current State: 65:[71, 76, 13], Operations: ['63-50=13'] Exploring Operation: 76-71=5, Resulting Numbers: [13, 5] Generated Node #3: [13, 5] from Operation: 76-71=5 Current State: 65:[13, 5], Operations: ['63-50=13', '76-71=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[50, 71, 63, 76], Operations: [] Exploring Operation: 76-50=26, Resulting Numbers: [71, 63, 26] Generated Node #0,0: 65:[71, 63, 26] Operation: 76-50=26 Exploring Operation: 71-50=21, Resulting Numbers: [63, 76, 21] Generated Node #0,1: 65:[63, 76, 21] Operation: 71-50=21 Exploring Operation: 76-71=5, Resulting Numbers: [50, 63, 5] Generated Node #0,2: 65:[50, 63, 5] Operation: 76-71=5 Exploring Operation: 76-63=13, Resulting Numbers: [50, 71, 13] Generated Node #0,3: 65:[50, 71, 13] Operation: 76-63=13 Exploring Operation: 63-50=13, Resulting Numbers: [71, 76, 13] Generated Node #0,4: 65:[71, 76, 13] Operation: 63-50=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[50, 63, 5], Operations: ['76-71=5'] Exploring Operation: 63-50=13, Resulting Numbers: [5, 13] Generated Node #0,2,0: 65:[5, 13] Operation: 63-50=13 Exploring Operation: 50-5=45, Resulting Numbers: [63, 45] Generated Node #0,2,1: 65:[63, 45] Operation: 50-5=45 Exploring Operation: 50+5=55, Resulting Numbers: [63, 55] Generated Node #0,2,2: 65:[63, 55] Operation: 50+5=55 Exploring Operation: 63+5=68, Resulting Numbers: [50, 68] Generated Node #0,2,3: 65:[50, 68] Operation: 63+5=68 Exploring Operation: 50/5=10, Resulting Numbers: [63, 10] Generated Node #0,2,4: 65:[63, 10] Operation: 50/5=10 Moving to Node #0,2,0 Current State: 65:[5, 13], Operations: ['76-71=5', '63-50=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[50, 71, 63, 76], Operations: [] Exploring Operation: 76-71=5, Resulting Numbers: [50, 63, 5] Generated Node #0,2: 65:[50, 63, 5] Operation: 76-71=5 Moving to Node #0,2 Current State: 65:[50, 63, 5], Operations: ['76-71=5'] Exploring Operation: 63-50=13, Resulting Numbers: [5, 13] Generated Node #0,2,0: 65:[5, 13] Operation: 63-50=13 Moving to Node #0,2,0 Current State: 65:[5, 13], Operations: ['76-71=5', '63-50=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 17, 28, 10, 60 ]
20
[ "28*10=280", "60+280=340", "340/17=20" ]
Current State: 20:[17, 28, 10, 60], Operations: [] Exploring Operation: 28*10=280, Resulting Numbers: [17, 60, 280] Generated Node #2: [17, 60, 280] from Operation: 28*10=280 Current State: 20:[17, 60, 280], Operations: ['28*10=280'] Exploring Operation: 60+280=340, Resulting Numbers: [17, 340] Generated Node #3: [17, 340] from Operation: 60+280=340 Current State: 20:[17, 340], Operations: ['28*10=280', '60+280=340'] Exploring Operation: 340/17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[17, 28, 10, 60], Operations: [] Exploring Operation: 60/10=6, Resulting Numbers: [17, 28, 6] Generated Node #0,0: 20:[17, 28, 6] Operation: 60/10=6 Exploring Operation: 60-10=50, Resulting Numbers: [17, 28, 50] Generated Node #0,1: 20:[17, 28, 50] Operation: 60-10=50 Exploring Operation: 60-28=32, Resulting Numbers: [17, 10, 32] Generated Node #0,2: 20:[17, 10, 32] Operation: 60-28=32 Exploring Operation: 60-17=43, Resulting Numbers: [28, 10, 43] Generated Node #0,3: 20:[28, 10, 43] Operation: 60-17=43 Exploring Operation: 28-17=11, Resulting Numbers: [10, 60, 11] Generated Node #0,4: 20:[10, 60, 11] Operation: 28-17=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[17, 28, 6], Operations: ['60/10=6'] Exploring Operation: 17-6=11, Resulting Numbers: [28, 11] Generated Node #0,0,0: 20:[28, 11] Operation: 17-6=11 Exploring Operation: 28+6=34, Resulting Numbers: [17, 34] Generated Node #0,0,1: 20:[17, 34] Operation: 28+6=34 Exploring Operation: 17+6=23, Resulting Numbers: [28, 23] Generated Node #0,0,2: 20:[28, 23] Operation: 17+6=23 Exploring Operation: 28-6=22, Resulting Numbers: [17, 22] Generated Node #0,0,3: 20:[17, 22] Operation: 28-6=22 Exploring Operation: 28-17=11, Resulting Numbers: [6, 11] Generated Node #0,0,4: 20:[6, 11] Operation: 28-17=11 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 20:[6, 11], Operations: ['60/10=6', '28-17=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 20:[17, 22], Operations: ['60/10=6', '28-6=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,20 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[28, 11], Operations: ['60/10=6', '17-6=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 20:[28, 23], Operations: ['60/10=6', '17+6=23'] Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,20 unequal: No Solution Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,20 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 20:[17, 34], Operations: ['60/10=6', '28+6=34'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 17*34=578, Resulting Numbers: [578] 578,20 unequal: No Solution Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[17, 10, 32], Operations: ['60-28=32'] Exploring Operation: 10+32=42, Resulting Numbers: [17, 42] Generated Node #0,2,0: 20:[17, 42] Operation: 10+32=42 Exploring Operation: 17+10=27, Resulting Numbers: [32, 27] Generated Node #0,2,1: 20:[32, 27] Operation: 17+10=27 Exploring Operation: 32-17=15, Resulting Numbers: [10, 15] Generated Node #0,2,2: 20:[10, 15] Operation: 32-17=15 Exploring Operation: 32-10=22, Resulting Numbers: [17, 22] Generated Node #0,2,3: 20:[17, 22] Operation: 32-10=22 Exploring Operation: 17-10=7, Resulting Numbers: [32, 7] Generated Node #0,2,4: 20:[32, 7] Operation: 17-10=7 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 20:[10, 15], Operations: ['60-28=32', '32-17=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,20 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 20:[17, 22], Operations: ['60-28=32', '32-10=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 20:[32, 7], Operations: ['60-28=32', '17-10=7'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 20:[32, 27], Operations: ['60-28=32', '17+10=27'] Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,20 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[17, 42], Operations: ['60-28=32', '10+32=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,20 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[28, 10, 43], Operations: ['60-17=43'] Exploring Operation: 43-28=15, Resulting Numbers: [10, 15] Generated Node #0,3,0: 20:[10, 15] Operation: 43-28=15 Exploring Operation: 28+10=38, Resulting Numbers: [43, 38] Generated Node #0,3,1: 20:[43, 38] Operation: 28+10=38 Exploring Operation: 10+43=53, Resulting Numbers: [28, 53] Generated Node #0,3,2: 20:[28, 53] Operation: 10+43=53 Exploring Operation: 28-10=18, Resulting Numbers: [43, 18] Generated Node #0,3,3: 20:[43, 18] Operation: 28-10=18 Exploring Operation: 43-10=33, Resulting Numbers: [28, 33] Generated Node #0,3,4: 20:[28, 33] Operation: 43-10=33 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 20:[10, 15], Operations: ['60-17=43', '43-28=15'] Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,20 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 20:[28, 33], Operations: ['60-17=43', '43-10=33'] Exploring Operation: 28*33=924, Resulting Numbers: [924] 924,20 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 28+33=61, Resulting Numbers: [61] 61,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 20:[43, 18], Operations: ['60-17=43', '28-10=18'] Exploring Operation: 43+18=61, Resulting Numbers: [61] 61,20 unequal: No Solution Exploring Operation: 43*18=774, Resulting Numbers: [774] 774,20 unequal: No Solution Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 20:[43, 38], Operations: ['60-17=43', '28+10=38'] Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,20 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 20:[28, 53], Operations: ['60-17=43', '10+43=53'] Exploring Operation: 28*53=1484, Resulting Numbers: [1484] 1484,20 unequal: No Solution Exploring Operation: 28+53=81, Resulting Numbers: [81] 81,20 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[17, 28, 50], Operations: ['60-10=50'] Exploring Operation: 17+28=45, Resulting Numbers: [50, 45] Generated Node #0,1,0: 20:[50, 45] Operation: 17+28=45 Exploring Operation: 28-17=11, Resulting Numbers: [50, 11] Generated Node #0,1,1: 20:[50, 11] Operation: 28-17=11 Exploring Operation: 50-28=22, Resulting Numbers: [17, 22] Generated Node #0,1,2: 20:[17, 22] Operation: 50-28=22 Exploring Operation: 17+50=67, Resulting Numbers: [28, 67] Generated Node #0,1,3: 20:[28, 67] Operation: 17+50=67 Exploring Operation: 50-17=33, Resulting Numbers: [28, 33] Generated Node #0,1,4: 20:[28, 33] Operation: 50-17=33 Moving to Node #0,1,2 Current State: 20:[17, 22], Operations: ['60-10=50', '50-28=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,20 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,20 unequal: No Solution Moving to Node #0,1,4 Current State: 20:[28, 33], Operations: ['60-10=50', '50-17=33'] Exploring Operation: 28+33=61, Resulting Numbers: [61] 61,20 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 28*33=924, Resulting Numbers: [924] 924,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[50, 11], Operations: ['60-10=50', '28-17=11'] Exploring Operation: 50*11=550, Resulting Numbers: [550] 550,20 unequal: No Solution Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[50, 45], Operations: ['60-10=50', '17+28=45'] Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 50+45=95, Resulting Numbers: [95] 95,20 unequal: No Solution Exploring Operation: 50*45=2250, Resulting Numbers: [2250] 2250,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[28, 67], Operations: ['60-10=50', '17+50=67'] Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 28*67=1876, Resulting Numbers: [1876] 1876,20 unequal: No Solution Exploring Operation: 28+67=95, Resulting Numbers: [95] 95,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,4 Current State: 20:[10, 60, 11], Operations: ['28-17=11'] Exploring Operation: 11-10=1, Resulting Numbers: [60, 1] Generated Node #0,4,0: 20:[60, 1] Operation: 11-10=1 Exploring Operation: 60-10=50, Resulting Numbers: [11, 50] Generated Node #0,4,1: 20:[11, 50] Operation: 60-10=50 Exploring Operation: 10+11=21, Resulting Numbers: [60, 21] Generated Node #0,4,2: 20:[60, 21] Operation: 10+11=21 Exploring Operation: 60/10=6, Resulting Numbers: [11, 6] Generated Node #0,4,3: 20:[11, 6] Operation: 60/10=6 Exploring Operation: 60-11=49, Resulting Numbers: [10, 49] Generated Node #0,4,4: 20:[10, 49] Operation: 60-11=49 Moving to Node #0,4,3 Current State: 20:[11, 6], Operations: ['28-17=11', '60/10=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,20 unequal: No Solution Moving to Node #0,4,4 Current State: 20:[10, 49], Operations: ['28-17=11', '60-11=49'] Exploring Operation: 10+49=59, Resulting Numbers: [59] 59,20 unequal: No Solution Exploring Operation: 10*49=490, Resulting Numbers: [490] 490,20 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,20 unequal: No Solution Moving to Node #0,4,1 Current State: 20:[11, 50], Operations: ['28-17=11', '60-10=50'] Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 11+50=61, Resulting Numbers: [61] 61,20 unequal: No Solution Exploring Operation: 11*50=550, Resulting Numbers: [550] 550,20 unequal: No Solution Moving to Node #0,4,0 Current State: 20:[60, 1], Operations: ['28-17=11', '11-10=1'] Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,20 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,20 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,20 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,20 unequal: No Solution Moving to Node #0,4,2 Current State: 20:[60, 21], Operations: ['28-17=11', '10+11=21'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,20 unequal: No Solution Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,20 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
[ 13, 43, 20, 40 ]
32
[ "43-13=30", "40/20=2", "30+2=32" ]
Current State: 32:[13, 43, 20, 40], Operations: [] Exploring Operation: 43-13=30, Resulting Numbers: [20, 40, 30] Generated Node #2: [20, 40, 30] from Operation: 43-13=30 Current State: 32:[20, 40, 30], Operations: ['43-13=30'] Exploring Operation: 40/20=2, Resulting Numbers: [30, 2] Generated Node #3: [30, 2] from Operation: 40/20=2 Current State: 32:[30, 2], Operations: ['43-13=30', '40/20=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[13, 43, 20, 40], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [13, 20, 3] Generated Node #0,0: 32:[13, 20, 3] Operation: 43-40=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[13, 20, 3], Operations: ['43-40=3'] Exploring Operation: 13+20=33, Resulting Numbers: [3, 33] Generated Node #0,0,0: 32:[3, 33] Operation: 13+20=33 Moving to Node #0,0,0 Current State: 32:[3, 33], Operations: ['43-40=3', '13+20=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 56, 75, 24, 10 ]
79
[ "24-10=14", "56/14=4", "75+4=79" ]
Current State: 79:[56, 75, 24, 10], Operations: [] Exploring Operation: 24-10=14, Resulting Numbers: [56, 75, 14] Generated Node #2: [56, 75, 14] from Operation: 24-10=14 Current State: 79:[56, 75, 14], Operations: ['24-10=14'] Exploring Operation: 56/14=4, Resulting Numbers: [75, 4] Generated Node #3: [75, 4] from Operation: 56/14=4 Current State: 79:[75, 4], Operations: ['24-10=14', '56/14=4'] Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[56, 75, 24, 10], Operations: [] Exploring Operation: 24+10=34, Resulting Numbers: [56, 75, 34] Generated Node #0,0: 79:[56, 75, 34] Operation: 24+10=34 Exploring Operation: 56+10=66, Resulting Numbers: [75, 24, 66] Generated Node #0,1: 79:[75, 24, 66] Operation: 56+10=66 Exploring Operation: 56+24=80, Resulting Numbers: [75, 10, 80] Generated Node #0,2: 79:[75, 10, 80] Operation: 56+24=80 Moving to Node #0,0 Current State: 79:[56, 75, 34], Operations: ['24+10=34'] Exploring Operation: 56+34=90, Resulting Numbers: [75, 90] Generated Node #0,0,0: 79:[75, 90] Operation: 56+34=90 Exploring Operation: 75+34=109, Resulting Numbers: [56, 109] Generated Node #0,0,1: 79:[56, 109] Operation: 75+34=109 Exploring Operation: 56-34=22, Resulting Numbers: [75, 22] Generated Node #0,0,2: 79:[75, 22] Operation: 56-34=22 Moving to Node #0,1 Current State: 79:[75, 24, 66], Operations: ['56+10=66'] Exploring Operation: 75+24=99, Resulting Numbers: [66, 99] Generated Node #0,1,0: 79:[66, 99] Operation: 75+24=99 Exploring Operation: 75-24=51, Resulting Numbers: [66, 51] Generated Node #0,1,1: 79:[66, 51] Operation: 75-24=51 Exploring Operation: 24+66=90, Resulting Numbers: [75, 90] Generated Node #0,1,2: 79:[75, 90] Operation: 24+66=90 Moving to Node #0,2 Current State: 79:[75, 10, 80], Operations: ['56+24=80'] Exploring Operation: 80-10=70, Resulting Numbers: [75, 70] Generated Node #0,2,0: 79:[75, 70] Operation: 80-10=70 Exploring Operation: 75+10=85, Resulting Numbers: [80, 85] Generated Node #0,2,1: 79:[80, 85] Operation: 75+10=85 Exploring Operation: 75-10=65, Resulting Numbers: [80, 65] Generated Node #0,2,2: 79:[80, 65] Operation: 75-10=65 Moving to Node #0,2,1 Current State: 79:[80, 85], Operations: ['56+24=80', '75+10=85'] Exploring Operation: 80+85=165, Resulting Numbers: [165] 165,79 unequal: No Solution Exploring Operation: 80*85=6800, Resulting Numbers: [6800] 6800,79 unequal: No Solution Exploring Operation: 85-80=5, Resulting Numbers: [5] 5,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[75, 70], Operations: ['56+24=80', '80-10=70'] Exploring Operation: 75-70=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 75*70=5250, Resulting Numbers: [5250] 5250,79 unequal: No Solution Exploring Operation: 75+70=145, Resulting Numbers: [145] 145,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[75, 90], Operations: ['24+10=34', '56+34=90'] Exploring Operation: 75*90=6750, Resulting Numbers: [6750] 6750,79 unequal: No Solution Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 75+90=165, Resulting Numbers: [165] 165,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[75, 90], Operations: ['56+10=66', '24+66=90'] Exploring Operation: 75*90=6750, Resulting Numbers: [6750] 6750,79 unequal: No Solution Exploring Operation: 75+90=165, Resulting Numbers: [165] 165,79 unequal: No Solution Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[80, 65], Operations: ['56+24=80', '75-10=65'] Exploring Operation: 80+65=145, Resulting Numbers: [145] 145,79 unequal: No Solution Exploring Operation: 80*65=5200, Resulting Numbers: [5200] 5200,79 unequal: No Solution Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[66, 99], Operations: ['56+10=66', '75+24=99'] Exploring Operation: 99-66=33, Resulting Numbers: [33] 33,79 unequal: No Solution Exploring Operation: 66+99=165, Resulting Numbers: [165] 165,79 unequal: No Solution Exploring Operation: 66*99=6534, Resulting Numbers: [6534] 6534,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[66, 51], Operations: ['56+10=66', '75-24=51'] Exploring Operation: 66*51=3366, Resulting Numbers: [3366] 3366,79 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 66+51=117, Resulting Numbers: [117] 117,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[56, 109], Operations: ['24+10=34', '75+34=109'] Exploring Operation: 56*109=6104, Resulting Numbers: [6104] 6104,79 unequal: No Solution Exploring Operation: 109-56=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 56+109=165, Resulting Numbers: [165] 165,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[75, 22], Operations: ['24+10=34', '56-34=22'] Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,79 unequal: No Solution Exploring Operation: 75*22=1650, Resulting Numbers: [1650] 1650,79 unequal: No Solution Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,79 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 9, 42, 54, 30 ]
62
[ "42+30=72", "72/9=8", "54+8=62" ]
Current State: 62:[9, 42, 54, 30], Operations: [] Exploring Operation: 42+30=72, Resulting Numbers: [9, 54, 72] Generated Node #2: [9, 54, 72] from Operation: 42+30=72 Current State: 62:[9, 54, 72], Operations: ['42+30=72'] Exploring Operation: 72/9=8, Resulting Numbers: [54, 8] Generated Node #3: [54, 8] from Operation: 72/9=8 Current State: 62:[54, 8], Operations: ['42+30=72', '72/9=8'] Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[9, 42, 54, 30], Operations: [] Exploring Operation: 9+42=51, Resulting Numbers: [54, 30, 51] Generated Node #0,0: 62:[54, 30, 51] Operation: 9+42=51 Exploring Operation: 54/9=6, Resulting Numbers: [42, 30, 6] Generated Node #0,1: 62:[42, 30, 6] Operation: 54/9=6 Exploring Operation: 54-42=12, Resulting Numbers: [9, 30, 12] Generated Node #0,2: 62:[9, 30, 12] Operation: 54-42=12 Exploring Operation: 42-9=33, Resulting Numbers: [54, 30, 33] Generated Node #0,3: 62:[54, 30, 33] Operation: 42-9=33 Exploring Operation: 9+54=63, Resulting Numbers: [42, 30, 63] Generated Node #0,4: 62:[42, 30, 63] Operation: 9+54=63 Moving to Node #0,3 Current State: 62:[54, 30, 33], Operations: ['42-9=33'] Exploring Operation: 54-30=24, Resulting Numbers: [33, 24] Generated Node #0,3,0: 62:[33, 24] Operation: 54-30=24 Exploring Operation: 30+33=63, Resulting Numbers: [54, 63] Generated Node #0,3,1: 62:[54, 63] Operation: 30+33=63 Exploring Operation: 54-33=21, Resulting Numbers: [30, 21] Generated Node #0,3,2: 62:[30, 21] Operation: 54-33=21 Exploring Operation: 33-30=3, Resulting Numbers: [54, 3] Generated Node #0,3,3: 62:[54, 3] Operation: 33-30=3 Exploring Operation: 54+30=84, Resulting Numbers: [33, 84] Generated Node #0,3,4: 62:[33, 84] Operation: 54+30=84 Moving to Node #0,4 Current State: 62:[42, 30, 63], Operations: ['9+54=63'] Exploring Operation: 63-30=33, Resulting Numbers: [42, 33] Generated Node #0,4,0: 62:[42, 33] Operation: 63-30=33 Exploring Operation: 42+30=72, Resulting Numbers: [63, 72] Generated Node #0,4,1: 62:[63, 72] Operation: 42+30=72 Exploring Operation: 30+63=93, Resulting Numbers: [42, 93] Generated Node #0,4,2: 62:[42, 93] Operation: 30+63=93 Exploring Operation: 42-30=12, Resulting Numbers: [63, 12] Generated Node #0,4,3: 62:[63, 12] Operation: 42-30=12 Exploring Operation: 63-42=21, Resulting Numbers: [30, 21] Generated Node #0,4,4: 62:[30, 21] Operation: 63-42=21 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 62:[63, 72], Operations: ['9+54=63', '42+30=72'] Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 63*72=4536, Resulting Numbers: [4536] 4536,62 unequal: No Solution Exploring Operation: 63+72=135, Resulting Numbers: [135] 135,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 62:[63, 12], Operations: ['9+54=63', '42-30=12'] Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,62 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 62:[30, 21], Operations: ['9+54=63', '63-42=21'] Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,62 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 62:[42, 33], Operations: ['9+54=63', '63-30=33'] Exploring Operation: 42*33=1386, Resulting Numbers: [1386] 1386,62 unequal: No Solution Exploring Operation: 42+33=75, Resulting Numbers: [75] 75,62 unequal: No Solution Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 62:[42, 93], Operations: ['9+54=63', '30+63=93'] Exploring Operation: 42+93=135, Resulting Numbers: [135] 135,62 unequal: No Solution Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 42*93=3906, Resulting Numbers: [3906] 3906,62 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: 62:[42, 30, 6], Operations: ['54/9=6'] Exploring Operation: 30/6=5, Resulting Numbers: [42, 5] Generated Node #0,1,0: 62:[42, 5] Operation: 30/6=5 Exploring Operation: 42+30=72, Resulting Numbers: [6, 72] Generated Node #0,1,1: 62:[6, 72] Operation: 42+30=72 Exploring Operation: 42/6=7, Resulting Numbers: [30, 7] Generated Node #0,1,2: 62:[30, 7] Operation: 42/6=7 Exploring Operation: 42-30=12, Resulting Numbers: [6, 12] Generated Node #0,1,3: 62:[6, 12] Operation: 42-30=12 Exploring Operation: 42-6=36, Resulting Numbers: [30, 36] Generated Node #0,1,4: 62:[30, 36] Operation: 42-6=36 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[30, 7], Operations: ['54/9=6', '42/6=7'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,62 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 62:[30, 36], Operations: ['54/9=6', '42-6=36'] Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,62 unequal: No Solution Exploring Operation: 30*36=1080, Resulting Numbers: [1080] 1080,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[42, 5], Operations: ['54/9=6', '30/6=5'] Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,62 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[6, 72], Operations: ['54/9=6', '42+30=72'] Exploring Operation: 6*72=432, Resulting Numbers: [432] 432,62 unequal: No Solution Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,62 unequal: No Solution Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,62 unequal: No Solution Exploring Operation: 6+72=78, Resulting Numbers: [78] 78,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 62:[6, 12], Operations: ['54/9=6', '42-30=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,62 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,62 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: 62:[9, 30, 12], Operations: ['54-42=12'] Exploring Operation: 30+12=42, Resulting Numbers: [9, 42] Generated Node #0,2,0: 62:[9, 42] Operation: 30+12=42 Exploring Operation: 9+12=21, Resulting Numbers: [30, 21] Generated Node #0,2,1: 62:[30, 21] Operation: 9+12=21 Exploring Operation: 9+30=39, Resulting Numbers: [12, 39] Generated Node #0,2,2: 62:[12, 39] Operation: 9+30=39 Exploring Operation: 30-9=21, Resulting Numbers: [12, 21] Generated Node #0,2,3: 62:[12, 21] Operation: 30-9=21 Exploring Operation: 12-9=3, Resulting Numbers: [30, 3] Generated Node #0,2,4: 62:[30, 3] Operation: 12-9=3 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 62:[30, 3], Operations: ['54-42=12', '12-9=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,62 unequal: No Solution Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[30, 21], Operations: ['54-42=12', '9+12=21'] Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,62 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[9, 42], Operations: ['54-42=12', '30+12=42'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 9*42=378, Resulting Numbers: [378] 378,62 unequal: No Solution Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 62:[12, 39], Operations: ['54-42=12', '9+30=39'] Exploring Operation: 12+39=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 12*39=468, Resulting Numbers: [468] 468,62 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 62:[12, 21], Operations: ['54-42=12', '30-9=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,62 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,62 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: 62:[54, 30, 51], Operations: ['9+42=51'] Exploring Operation: 54-51=3, Resulting Numbers: [30, 3] Generated Node #0,0,0: 62:[30, 3] Operation: 54-51=3 Exploring Operation: 54+30=84, Resulting Numbers: [51, 84] Generated Node #0,0,1: 62:[51, 84] Operation: 54+30=84 Exploring Operation: 51-30=21, Resulting Numbers: [54, 21] Generated Node #0,0,2: 62:[54, 21] Operation: 51-30=21 Exploring Operation: 54-30=24, Resulting Numbers: [51, 24] Generated Node #0,0,3: 62:[51, 24] Operation: 54-30=24 Exploring Operation: 30+51=81, Resulting Numbers: [54, 81] Generated Node #0,0,4: 62:[54, 81] Operation: 30+51=81 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[30, 3], Operations: ['9+42=51', '54-51=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,62 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[54, 21], Operations: ['9+42=51', '51-30=21'] Exploring Operation: 54*21=1134, Resulting Numbers: [1134] 1134,62 unequal: No Solution Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 54+21=75, Resulting Numbers: [75] 75,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 62:[51, 24], Operations: ['9+42=51', '54-30=24'] Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,62 unequal: No Solution Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,62 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 62:[54, 81], Operations: ['9+42=51', '30+51=81'] Exploring Operation: 54*81=4374, Resulting Numbers: [4374] 4374,62 unequal: No Solution Exploring Operation: 54+81=135, Resulting Numbers: [135] 135,62 unequal: No Solution Exploring Operation: 81-54=27, Resulting Numbers: [27] 27,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[51, 84], Operations: ['9+42=51', '54+30=84'] Exploring Operation: 51+84=135, Resulting Numbers: [135] 135,62 unequal: No Solution Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,62 unequal: No Solution Exploring Operation: 51*84=4284, Resulting Numbers: [4284] 4284,62 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: 62:[33, 24], Operations: ['42-9=33', '54-30=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,62 unequal: No Solution Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,62 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[54, 3], Operations: ['42-9=33', '33-30=3'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,62 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 54*3=162, Resulting Numbers: [162] 162,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[54, 63], Operations: ['42-9=33', '30+33=63'] Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,62 unequal: No Solution Exploring Operation: 54*63=3402, Resulting Numbers: [3402] 3402,62 unequal: No Solution Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,62 unequal: No Solution Moving to Node #0,3,2 Current State: 62:[30, 21], Operations: ['42-9=33', '54-33=21'] Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,62 unequal: No Solution Moving to Node #0,3,4 Current State: 62:[33, 84], Operations: ['42-9=33', '54+30=84'] Exploring Operation: 33*84=2772, Resulting Numbers: [2772] 2772,62 unequal: No Solution Exploring Operation: 33+84=117, Resulting Numbers: [117] 117,62 unequal: No Solution Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,62 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 93, 70, 44, 83 ]
16
[ "93-70=23", "83-44=39", "39-23=16" ]
Current State: 16:[93, 70, 44, 83], Operations: [] Exploring Operation: 93-70=23, Resulting Numbers: [44, 83, 23] Generated Node #2: [44, 83, 23] from Operation: 93-70=23 Current State: 16:[44, 83, 23], Operations: ['93-70=23'] Exploring Operation: 83-44=39, Resulting Numbers: [23, 39] Generated Node #3: [23, 39] from Operation: 83-44=39 Current State: 16:[23, 39], Operations: ['93-70=23', '83-44=39'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[93, 70, 44, 83], Operations: [] Exploring Operation: 93-83=10, Resulting Numbers: [70, 44, 10] Generated Node #0,0: 16:[70, 44, 10] Operation: 93-83=10 Exploring Operation: 93-70=23, Resulting Numbers: [44, 83, 23] Generated Node #0,1: 16:[44, 83, 23] Operation: 93-70=23 Exploring Operation: 83-70=13, Resulting Numbers: [93, 44, 13] Generated Node #0,2: 16:[93, 44, 13] Operation: 83-70=13 Exploring Operation: 93-44=49, Resulting Numbers: [70, 83, 49] Generated Node #0,3: 16:[70, 83, 49] Operation: 93-44=49 Moving to Node #0,0 Current State: 16:[70, 44, 10], Operations: ['93-83=10'] Exploring Operation: 70-10=60, Resulting Numbers: [44, 60] Generated Node #0,0,0: 16:[44, 60] Operation: 70-10=60 Exploring Operation: 44-10=34, Resulting Numbers: [70, 34] Generated Node #0,0,1: 16:[70, 34] Operation: 44-10=34 Exploring Operation: 70-44=26, Resulting Numbers: [10, 26] Generated Node #0,0,2: 16:[10, 26] Operation: 70-44=26 Exploring Operation: 70/10=7, Resulting Numbers: [44, 7] Generated Node #0,0,3: 16:[44, 7] Operation: 70/10=7 Moving to Node #0,1 Current State: 16:[44, 83, 23], Operations: ['93-70=23'] Exploring Operation: 83-23=60, Resulting Numbers: [44, 60] Generated Node #0,1,0: 16:[44, 60] Operation: 83-23=60 Exploring Operation: 44-23=21, Resulting Numbers: [83, 21] Generated Node #0,1,1: 16:[83, 21] Operation: 44-23=21 Exploring Operation: 83-44=39, Resulting Numbers: [23, 39] Generated Node #0,1,2: 16:[23, 39] Operation: 83-44=39 Exploring Operation: 44+83=127, Resulting Numbers: [23, 127] Generated Node #0,1,3: 16:[23, 127] Operation: 44+83=127 Moving to Node #0,2 Current State: 16:[93, 44, 13], Operations: ['83-70=13'] Exploring Operation: 93-13=80, Resulting Numbers: [44, 80] Generated Node #0,2,0: 16:[44, 80] Operation: 93-13=80 Exploring Operation: 44-13=31, Resulting Numbers: [93, 31] Generated Node #0,2,1: 16:[93, 31] Operation: 44-13=31 Exploring Operation: 93-44=49, Resulting Numbers: [13, 49] Generated Node #0,2,2: 16:[13, 49] Operation: 93-44=49 Exploring Operation: 93+13=106, Resulting Numbers: [44, 106] Generated Node #0,2,3: 16:[44, 106] Operation: 93+13=106 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 16:[13, 49], Operations: ['83-70=13', '93-44=49'] Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,16 unequal: No Solution Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 16:[44, 80], Operations: ['83-70=13', '93-13=80'] Exploring Operation: 44*80=3520, Resulting Numbers: [3520] 3520,16 unequal: No Solution Exploring Operation: 44+80=124, Resulting Numbers: [124] 124,16 unequal: No Solution Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[93, 31], Operations: ['83-70=13', '44-13=31'] Exploring Operation: 93-31=62, Resulting Numbers: [62] 62,16 unequal: No Solution Exploring Operation: 93*31=2883, Resulting Numbers: [2883] 2883,16 unequal: No Solution Exploring Operation: 93/31=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 93+31=124, Resulting Numbers: [124] 124,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 16:[44, 106], Operations: ['83-70=13', '93+13=106'] Exploring Operation: 106-44=62, Resulting Numbers: [62] 62,16 unequal: No Solution Exploring Operation: 44+106=150, Resulting Numbers: [150] 150,16 unequal: No Solution Exploring Operation: 44*106=4664, Resulting Numbers: [4664] 4664,16 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: 16:[70, 83, 49], Operations: ['93-44=49'] Exploring Operation: 70-49=21, Resulting Numbers: [83, 21] Generated Node #0,3,0: 16:[83, 21] Operation: 70-49=21 Exploring Operation: 70+83=153, Resulting Numbers: [49, 153] Generated Node #0,3,1: 16:[49, 153] Operation: 70+83=153 Exploring Operation: 83-49=34, Resulting Numbers: [70, 34] Generated Node #0,3,2: 16:[70, 34] Operation: 83-49=34 Exploring Operation: 83-70=13, Resulting Numbers: [49, 13] Generated Node #0,3,3: 16:[49, 13] Operation: 83-70=13 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 16:[49, 13], Operations: ['93-44=49', '83-70=13'] Exploring Operation: 49+13=62, Resulting Numbers: [62] 62,16 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 49*13=637, Resulting Numbers: [637] 637,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 16:[83, 21], Operations: ['93-44=49', '70-49=21'] Exploring Operation: 83-21=62, Resulting Numbers: [62] 62,16 unequal: No Solution Exploring Operation: 83+21=104, Resulting Numbers: [104] 104,16 unequal: No Solution Exploring Operation: 83*21=1743, Resulting Numbers: [1743] 1743,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 16:[70, 34], Operations: ['93-44=49', '83-49=34'] Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,16 unequal: No Solution Exploring Operation: 70*34=2380, Resulting Numbers: [2380] 2380,16 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 16:[49, 153], Operations: ['93-44=49', '70+83=153'] Exploring Operation: 49*153=7497, Resulting Numbers: [7497] 7497,16 unequal: No Solution Exploring Operation: 49+153=202, Resulting Numbers: [202] 202,16 unequal: No Solution Exploring Operation: 153-49=104, Resulting Numbers: [104] 104,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 16:[10, 26], Operations: ['93-83=10', '70-44=26'] Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,16 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[93, 70, 44, 83], Operations: [] Exploring Operation: 93-83=10, Resulting Numbers: [70, 44, 10] Generated Node #0,0: 16:[70, 44, 10] Operation: 93-83=10 Moving to Node #0,0 Current State: 16:[70, 44, 10], Operations: ['93-83=10'] Exploring Operation: 70-44=26, Resulting Numbers: [10, 26] Generated Node #0,0,2: 16:[10, 26] Operation: 70-44=26 Moving to Node #0,0,2 Current State: 16:[10, 26], Operations: ['93-83=10', '70-44=26'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.955729
hs_4
sum_heuristic
[ 99, 91, 36, 8 ]
52
[ "99-91=8", "36+8=44", "8+44=52" ]
Current State: 52:[99, 91, 36, 8], Operations: [] Exploring Operation: 99-91=8, Resulting Numbers: [36, 8, 8] Generated Node #2: [36, 8, 8] from Operation: 99-91=8 Current State: 52:[36, 8, 8], Operations: ['99-91=8'] Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,52 equal: Goal Reached Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[99, 91, 36, 8], Operations: [] Exploring Operation: 99-91=8, Resulting Numbers: [36, 8, 8] Generated Node #0,0: 52:[36, 8, 8] Operation: 99-91=8 Exploring Operation: 99-36=63, Resulting Numbers: [91, 8, 63] Generated Node #0,1: 52:[91, 8, 63] Operation: 99-36=63 Exploring Operation: 99-8=91, Resulting Numbers: [91, 36, 91] Generated Node #0,2: 52:[91, 36, 91] Operation: 99-8=91 Exploring Operation: 91-36=55, Resulting Numbers: [99, 8, 55] Generated Node #0,3: 52:[99, 8, 55] Operation: 91-36=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[36, 8, 8], Operations: ['99-91=8'] Exploring Operation: 8/8=1, Resulting Numbers: [36, 1] Generated Node #0,0,0: 52:[36, 1] Operation: 8/8=1 Exploring Operation: 36+8=44, Resulting Numbers: [8, 44] Generated Node #0,0,1: 52:[8, 44] Operation: 36+8=44 Exploring Operation: 36-8=28, Resulting Numbers: [8, 28] Generated Node #0,0,2: 52:[8, 28] Operation: 36-8=28 Exploring Operation: 36-8=28, Resulting Numbers: [8, 28] Generated Node #0,0,3: 52:[8, 28] Operation: 36-8=28 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 52:[8, 28], Operations: ['99-91=8', '36-8=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,52 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,52 unequal: No Solution No 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: 52:[8, 28], Operations: ['99-91=8', '36-8=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,52 unequal: No Solution No 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: 52:[36, 1], Operations: ['99-91=8', '8/8=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,52 unequal: No Solution No 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: 52:[8, 44], Operations: ['99-91=8', '36+8=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[99, 91, 36, 8], Operations: [] Exploring Operation: 99-91=8, Resulting Numbers: [36, 8, 8] Generated Node #0,0: 52:[36, 8, 8] Operation: 99-91=8 Moving to Node #0,0 Current State: 52:[36, 8, 8], Operations: ['99-91=8'] Exploring Operation: 36+8=44, Resulting Numbers: [8, 44] Generated Node #0,0,1: 52:[8, 44] Operation: 36+8=44 Moving to Node #0,0,1 Current State: 52:[8, 44], Operations: ['99-91=8', '36+8=44'] Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 78, 92, 43, 64 ]
86
[ "92+64=156", "156/78=2", "43*2=86" ]
Current State: 86:[78, 92, 43, 64], Operations: [] Exploring Operation: 92+64=156, Resulting Numbers: [78, 43, 156] Generated Node #2: [78, 43, 156] from Operation: 92+64=156 Current State: 86:[78, 43, 156], Operations: ['92+64=156'] Exploring Operation: 156/78=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 156/78=2 Current State: 86:[43, 2], Operations: ['92+64=156', '156/78=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[78, 92, 43, 64], Operations: [] Exploring Operation: 92-64=28, Resulting Numbers: [78, 43, 28] Generated Node #0,0: 86:[78, 43, 28] Operation: 92-64=28 Exploring Operation: 78-64=14, Resulting Numbers: [92, 43, 14] Generated Node #0,1: 86:[92, 43, 14] Operation: 78-64=14 Moving to Node #0,1 Current State: 86:[92, 43, 14], Operations: ['78-64=14'] Exploring Operation: 92-43=49, Resulting Numbers: [14, 49] Generated Node #0,1,0: 86:[14, 49] Operation: 92-43=49 Exploring Operation: 92-14=78, Resulting Numbers: [43, 78] Generated Node #0,1,1: 86:[43, 78] Operation: 92-14=78 Moving to Node #0,0 Current State: 86:[78, 43, 28], Operations: ['92-64=28'] Exploring Operation: 78-28=50, Resulting Numbers: [43, 50] Generated Node #0,0,0: 86:[43, 50] Operation: 78-28=50 Exploring Operation: 78+28=106, Resulting Numbers: [43, 106] Generated Node #0,0,1: 86:[43, 106] Operation: 78+28=106 Moving to Node #0,0,0 Current State: 86:[43, 50], Operations: ['92-64=28', '78-28=50'] Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 43+50=93, Resulting Numbers: [93] 93,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[43, 78], Operations: ['78-64=14', '92-14=78'] Exploring Operation: 43+78=121, Resulting Numbers: [121] 121,86 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[14, 49], Operations: ['78-64=14', '92-43=49'] Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,86 unequal: No Solution Exploring Operation: 14+49=63, Resulting Numbers: [63] 63,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[43, 106], Operations: ['92-64=28', '78+28=106'] Exploring Operation: 43+106=149, Resulting Numbers: [149] 149,86 unequal: No Solution Exploring Operation: 106-43=63, Resulting Numbers: [63] 63,86 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 88, 66, 63, 59 ]
100
[ "88-66=22", "63+59=122", "122-22=100" ]
Current State: 100:[88, 66, 63, 59], Operations: [] Exploring Operation: 88-66=22, Resulting Numbers: [63, 59, 22] Generated Node #2: [63, 59, 22] from Operation: 88-66=22 Current State: 100:[63, 59, 22], Operations: ['88-66=22'] Exploring Operation: 63+59=122, Resulting Numbers: [22, 122] Generated Node #3: [22, 122] from Operation: 63+59=122 Current State: 100:[22, 122], Operations: ['88-66=22', '63+59=122'] Exploring Operation: 122-22=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[88, 66, 63, 59], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [88, 66, 4] Generated Node #0,0: 100:[88, 66, 4] Operation: 63-59=4 Exploring Operation: 88-63=25, Resulting Numbers: [66, 59, 25] Generated Node #0,1: 100:[66, 59, 25] Operation: 88-63=25 Exploring Operation: 66-59=7, Resulting Numbers: [88, 63, 7] Generated Node #0,2: 100:[88, 63, 7] Operation: 66-59=7 Exploring Operation: 66-63=3, Resulting Numbers: [88, 59, 3] Generated Node #0,3: 100:[88, 59, 3] Operation: 66-63=3 Exploring Operation: 88-66=22, Resulting Numbers: [63, 59, 22] Generated Node #0,4: 100:[63, 59, 22] Operation: 88-66=22 Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[88, 59, 3], Operations: ['66-63=3'] Exploring Operation: 88-3=85, Resulting Numbers: [59, 85] Generated Node #0,3,0: 100:[59, 85] Operation: 88-3=85 Exploring Operation: 59+3=62, Resulting Numbers: [88, 62] Generated Node #0,3,1: 100:[88, 62] Operation: 59+3=62 Exploring Operation: 59-3=56, Resulting Numbers: [88, 56] Generated Node #0,3,2: 100:[88, 56] Operation: 59-3=56 Exploring Operation: 88-59=29, Resulting Numbers: [3, 29] Generated Node #0,3,3: 100:[3, 29] Operation: 88-59=29 Exploring Operation: 88+3=91, Resulting Numbers: [59, 91] Generated Node #0,3,4: 100:[59, 91] Operation: 88+3=91 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 100:[3, 29], Operations: ['66-63=3', '88-59=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,100 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 100:[88, 56], Operations: ['66-63=3', '59-3=56'] Exploring Operation: 88-56=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 88+56=144, Resulting Numbers: [144] 144,100 unequal: No Solution Exploring Operation: 88*56=4928, Resulting Numbers: [4928] 4928,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 100:[59, 91], Operations: ['66-63=3', '88+3=91'] Exploring Operation: 59*91=5369, Resulting Numbers: [5369] 5369,100 unequal: No Solution Exploring Operation: 59+91=150, Resulting Numbers: [150] 150,100 unequal: No Solution Exploring Operation: 91-59=32, Resulting Numbers: [32] 32,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 100:[59, 85], Operations: ['66-63=3', '88-3=85'] Exploring Operation: 59*85=5015, Resulting Numbers: [5015] 5015,100 unequal: No Solution Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 59+85=144, Resulting Numbers: [144] 144,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 100:[88, 62], Operations: ['66-63=3', '59+3=62'] Exploring Operation: 88-62=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 88*62=5456, Resulting Numbers: [5456] 5456,100 unequal: No Solution Exploring Operation: 88+62=150, Resulting Numbers: [150] 150,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 100:[63, 59, 22], Operations: ['88-66=22'] Exploring Operation: 59-22=37, Resulting Numbers: [63, 37] Generated Node #0,4,0: 100:[63, 37] Operation: 59-22=37 Exploring Operation: 63+22=85, Resulting Numbers: [59, 85] Generated Node #0,4,1: 100:[59, 85] Operation: 63+22=85 Exploring Operation: 63+59=122, Resulting Numbers: [22, 122] Generated Node #0,4,2: 100:[22, 122] Operation: 63+59=122 Exploring Operation: 63-22=41, Resulting Numbers: [59, 41] Generated Node #0,4,3: 100:[59, 41] Operation: 63-22=41 Exploring Operation: 63-59=4, Resulting Numbers: [22, 4] Generated Node #0,4,4: 100:[22, 4] Operation: 63-59=4 Moving to Node #0,4,4 Current State: 100:[22, 4], Operations: ['88-66=22', '63-59=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,100 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,100 unequal: No Solution Moving to Node #0,4,3 Current State: 100:[59, 41], Operations: ['88-66=22', '63-22=41'] Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 59+41=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[88, 66, 63, 59], Operations: [] Exploring Operation: 88-66=22, Resulting Numbers: [63, 59, 22] Generated Node #0,4: 100:[63, 59, 22] Operation: 88-66=22 Moving to Node #0,4 Current State: 100:[63, 59, 22], Operations: ['88-66=22'] Exploring Operation: 63-22=41, Resulting Numbers: [59, 41] Generated Node #0,4,3: 100:[59, 41] Operation: 63-22=41 Moving to Node #0,4,3 Current State: 100:[59, 41], Operations: ['88-66=22', '63-22=41'] Exploring Operation: 59+41=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 52, 20, 85, 88 ]
29
[ "52-20=32", "88-85=3", "32-3=29" ]
Current State: 29:[52, 20, 85, 88], Operations: [] Exploring Operation: 52-20=32, Resulting Numbers: [85, 88, 32] Generated Node #2: [85, 88, 32] from Operation: 52-20=32 Current State: 29:[85, 88, 32], Operations: ['52-20=32'] Exploring Operation: 88-85=3, Resulting Numbers: [32, 3] Generated Node #3: [32, 3] from Operation: 88-85=3 Current State: 29:[32, 3], Operations: ['52-20=32', '88-85=3'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[52, 20, 85, 88], Operations: [] Exploring Operation: 88-52=36, Resulting Numbers: [20, 85, 36] Generated Node #0,0: 29:[20, 85, 36] Operation: 88-52=36 Exploring Operation: 85-52=33, Resulting Numbers: [20, 88, 33] Generated Node #0,1: 29:[20, 88, 33] Operation: 85-52=33 Exploring Operation: 52-20=32, Resulting Numbers: [85, 88, 32] Generated Node #0,2: 29:[85, 88, 32] Operation: 52-20=32 Exploring Operation: 88-85=3, Resulting Numbers: [52, 20, 3] Generated Node #0,3: 29:[52, 20, 3] Operation: 88-85=3 Moving to Node #0,3 Current State: 29:[52, 20, 3], Operations: ['88-85=3'] Exploring Operation: 52+3=55, Resulting Numbers: [20, 55] Generated Node #0,3,0: 29:[20, 55] Operation: 52+3=55 Exploring Operation: 52-3=49, Resulting Numbers: [20, 49] Generated Node #0,3,1: 29:[20, 49] Operation: 52-3=49 Exploring Operation: 20+3=23, Resulting Numbers: [52, 23] Generated Node #0,3,2: 29:[52, 23] Operation: 20+3=23 Exploring Operation: 52-20=32, Resulting Numbers: [3, 32] Generated Node #0,3,3: 29:[3, 32] Operation: 52-20=32 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 29:[20, 49], Operations: ['88-85=3', '52-3=49'] Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,29 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[52, 20, 85, 88], Operations: [] Exploring Operation: 88-85=3, Resulting Numbers: [52, 20, 3] Generated Node #0,3: 29:[52, 20, 3] Operation: 88-85=3 Moving to Node #0,3 Current State: 29:[52, 20, 3], Operations: ['88-85=3'] Exploring Operation: 52-3=49, Resulting Numbers: [20, 49] Generated Node #0,3,1: 29:[20, 49] Operation: 52-3=49 Moving to Node #0,3,1 Current State: 29:[20, 49], Operations: ['88-85=3', '52-3=49'] Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 50, 51, 10, 6 ]
97
[ "50+51=101", "10-6=4", "101-4=97" ]
Current State: 97:[50, 51, 10, 6], Operations: [] Exploring Operation: 50+51=101, Resulting Numbers: [10, 6, 101] Generated Node #2: [10, 6, 101] from Operation: 50+51=101 Current State: 97:[10, 6, 101], Operations: ['50+51=101'] Exploring Operation: 10-6=4, Resulting Numbers: [101, 4] Generated Node #3: [101, 4] from Operation: 10-6=4 Current State: 97:[101, 4], Operations: ['50+51=101', '10-6=4'] Exploring Operation: 101-4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[50, 51, 10, 6], Operations: [] Exploring Operation: 50+6=56, Resulting Numbers: [51, 10, 56] Generated Node #0,0: 97:[51, 10, 56] Operation: 50+6=56 Exploring Operation: 51+10=61, Resulting Numbers: [50, 6, 61] Generated Node #0,1: 97:[50, 6, 61] Operation: 51+10=61 Exploring Operation: 10*6=60, Resulting Numbers: [50, 51, 60] Generated Node #0,2: 97:[50, 51, 60] Operation: 10*6=60 Exploring Operation: 50+10=60, Resulting Numbers: [51, 6, 60] Generated Node #0,3: 97:[51, 6, 60] Operation: 50+10=60 Moving to Node #0,2 Current State: 97:[50, 51, 60], Operations: ['10*6=60'] Exploring Operation: 51+60=111, Resulting Numbers: [50, 111] Generated Node #0,2,0: 97:[50, 111] Operation: 51+60=111 Exploring Operation: 51-50=1, Resulting Numbers: [60, 1] Generated Node #0,2,1: 97:[60, 1] Operation: 51-50=1 Exploring Operation: 50+51=101, Resulting Numbers: [60, 101] Generated Node #0,2,2: 97:[60, 101] Operation: 50+51=101 Exploring Operation: 50+60=110, Resulting Numbers: [51, 110] Generated Node #0,2,3: 97:[51, 110] Operation: 50+60=110 Moving to Node #0,1 Current State: 97:[50, 6, 61], Operations: ['51+10=61'] Exploring Operation: 50+6=56, Resulting Numbers: [61, 56] Generated Node #0,1,0: 97:[61, 56] Operation: 50+6=56 Exploring Operation: 61-6=55, Resulting Numbers: [50, 55] Generated Node #0,1,1: 97:[50, 55] Operation: 61-6=55 Exploring Operation: 50-6=44, Resulting Numbers: [61, 44] Generated Node #0,1,2: 97:[61, 44] Operation: 50-6=44 Exploring Operation: 6+61=67, Resulting Numbers: [50, 67] Generated Node #0,1,3: 97:[50, 67] Operation: 6+61=67 Moving to Node #0,0 Current State: 97:[51, 10, 56], Operations: ['50+6=56'] Exploring Operation: 51+56=107, Resulting Numbers: [10, 107] Generated Node #0,0,0: 97:[10, 107] Operation: 51+56=107 Exploring Operation: 10+56=66, Resulting Numbers: [51, 66] Generated Node #0,0,1: 97:[51, 66] Operation: 10+56=66 Exploring Operation: 51-10=41, Resulting Numbers: [56, 41] Generated Node #0,0,2: 97:[56, 41] Operation: 51-10=41 Exploring Operation: 51+10=61, Resulting Numbers: [56, 61] Generated Node #0,0,3: 97:[56, 61] Operation: 51+10=61 Moving to Node #0,3 Current State: 97:[51, 6, 60], Operations: ['50+10=60'] Exploring Operation: 60-6=54, Resulting Numbers: [51, 54] Generated Node #0,3,0: 97:[51, 54] Operation: 60-6=54 Exploring Operation: 6+60=66, Resulting Numbers: [51, 66] Generated Node #0,3,1: 97:[51, 66] Operation: 6+60=66 Exploring Operation: 51-6=45, Resulting Numbers: [60, 45] Generated Node #0,3,2: 97:[60, 45] Operation: 51-6=45 Exploring Operation: 51+6=57, Resulting Numbers: [60, 57] Generated Node #0,3,3: 97:[60, 57] Operation: 51+6=57 Moving to Node #0,2,2 Current State: 97:[60, 101], Operations: ['10*6=60', '50+51=101'] Exploring Operation: 101-60=41, Resulting Numbers: [41] 41,97 unequal: No Solution Exploring Operation: 60*101=6060, Resulting Numbers: [6060] 6060,97 unequal: No Solution Exploring Operation: 60+101=161, Resulting Numbers: [161] 161,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[51, 110], Operations: ['10*6=60', '50+60=110'] Exploring Operation: 51*110=5610, Resulting Numbers: [5610] 5610,97 unequal: No Solution Exploring Operation: 110-51=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 51+110=161, Resulting Numbers: [161] 161,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[50, 111], Operations: ['10*6=60', '51+60=111'] Exploring Operation: 50+111=161, Resulting Numbers: [161] 161,97 unequal: No Solution Exploring Operation: 111-50=61, Resulting Numbers: [61] 61,97 unequal: No Solution Exploring Operation: 50*111=5550, Resulting Numbers: [5550] 5550,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[60, 57], Operations: ['50+10=60', '51+6=57'] Exploring Operation: 60*57=3420, Resulting Numbers: [3420] 3420,97 unequal: No Solution Exploring Operation: 60+57=117, Resulting Numbers: [117] 117,97 unequal: No Solution Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[50, 67], Operations: ['51+10=61', '6+61=67'] Exploring Operation: 50*67=3350, Resulting Numbers: [3350] 3350,97 unequal: No Solution Exploring Operation: 50+67=117, Resulting Numbers: [117] 117,97 unequal: No Solution Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[51, 66], Operations: ['50+10=60', '6+60=66'] Exploring Operation: 51+66=117, Resulting Numbers: [117] 117,97 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 51*66=3366, Resulting Numbers: [3366] 3366,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[61, 56], Operations: ['51+10=61', '50+6=56'] Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 61*56=3416, Resulting Numbers: [3416] 3416,97 unequal: No Solution Exploring Operation: 61+56=117, Resulting Numbers: [117] 117,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[56, 61], Operations: ['50+6=56', '51+10=61'] Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 56+61=117, Resulting Numbers: [117] 117,97 unequal: No Solution Exploring Operation: 56*61=3416, Resulting Numbers: [3416] 3416,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[51, 66], Operations: ['50+6=56', '10+56=66'] Exploring Operation: 51*66=3366, Resulting Numbers: [3366] 3366,97 unequal: No Solution Exploring Operation: 51+66=117, Resulting Numbers: [117] 117,97 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[50, 55], Operations: ['51+10=61', '61-6=55'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 50+55=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 50*55=2750, Resulting Numbers: [2750] 2750,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[51, 54], Operations: ['50+10=60', '60-6=54'] Exploring Operation: 51+54=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 51*54=2754, Resulting Numbers: [2754] 2754,97 unequal: No Solution Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[61, 44], Operations: ['51+10=61', '50-6=44'] Exploring Operation: 61*44=2684, Resulting Numbers: [2684] 2684,97 unequal: No Solution Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 61+44=105, Resulting Numbers: [105] 105,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[60, 45], Operations: ['50+10=60', '51-6=45'] Exploring Operation: 60*45=2700, Resulting Numbers: [2700] 2700,97 unequal: No Solution Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 60+45=105, Resulting Numbers: [105] 105,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[56, 41], Operations: ['50+6=56', '51-10=41'] Exploring Operation: 56+41=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[50, 51, 10, 6], Operations: [] Exploring Operation: 50+6=56, Resulting Numbers: [51, 10, 56] Generated Node #0,0: 97:[51, 10, 56] Operation: 50+6=56 Moving to Node #0,0 Current State: 97:[51, 10, 56], Operations: ['50+6=56'] Exploring Operation: 51-10=41, Resulting Numbers: [56, 41] Generated Node #0,0,2: 97:[56, 41] Operation: 51-10=41 Moving to Node #0,0,2 Current State: 97:[56, 41], Operations: ['50+6=56', '51-10=41'] Exploring Operation: 56+41=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.944444
hs_4
mult_heuristic
[ 28, 40, 72, 74 ]
96
[ "74-72=2", "28*2=56", "40+56=96" ]
Current State: 96:[28, 40, 72, 74], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [28, 40, 2] Generated Node #2: [28, 40, 2] from Operation: 74-72=2 Current State: 96:[28, 40, 2], Operations: ['74-72=2'] Exploring Operation: 28*2=56, Resulting Numbers: [40, 56] Generated Node #3: [40, 56] from Operation: 28*2=56 Current State: 96:[40, 56], Operations: ['74-72=2', '28*2=56'] Exploring Operation: 40+56=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[28, 40, 72, 74], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [28, 40, 2] Generated Node #0,0: 96:[28, 40, 2] Operation: 74-72=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[28, 40, 2], Operations: ['74-72=2'] Exploring Operation: 40-28=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 96:[2, 12] Operation: 40-28=12 Moving to Node #0,0,0 Current State: 96:[2, 12], Operations: ['74-72=2', '40-28=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,96 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
[ 24, 23, 48, 49 ]
97
[ "24-23=1", "48+49=97", "1*97=97" ]
Current State: 97:[24, 23, 48, 49], Operations: [] Exploring Operation: 24-23=1, Resulting Numbers: [48, 49, 1] Generated Node #2: [48, 49, 1] from Operation: 24-23=1 Current State: 97:[48, 49, 1], Operations: ['24-23=1'] Exploring Operation: 48+49=97, Resulting Numbers: [1, 97] Generated Node #3: [1, 97] from Operation: 48+49=97 Current State: 97:[1, 97], Operations: ['24-23=1', '48+49=97'] Exploring Operation: 1*97=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[24, 23, 48, 49], Operations: [] Exploring Operation: 24+49=73, Resulting Numbers: [23, 48, 73] Generated Node #0,0: 97:[23, 48, 73] Operation: 24+49=73 Exploring Operation: 24+48=72, Resulting Numbers: [23, 49, 72] Generated Node #0,1: 97:[23, 49, 72] Operation: 24+48=72 Exploring Operation: 24+23=47, Resulting Numbers: [48, 49, 47] Generated Node #0,2: 97:[48, 49, 47] Operation: 24+23=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[23, 48, 73], Operations: ['24+49=73'] Exploring Operation: 23+48=71, Resulting Numbers: [73, 71] Generated Node #0,0,0: 97:[73, 71] Operation: 23+48=71 Exploring Operation: 48-23=25, Resulting Numbers: [73, 25] Generated Node #0,0,1: 97:[73, 25] Operation: 48-23=25 Exploring Operation: 23+73=96, Resulting Numbers: [48, 96] Generated Node #0,0,2: 97:[48, 96] Operation: 23+73=96 Moving to Node #0,0,0 Current State: 97:[73, 71], Operations: ['24+49=73', '23+48=71'] Exploring Operation: 73+71=144, Resulting Numbers: [144] 144,97 unequal: No Solution Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 73*71=5183, Resulting Numbers: [5183] 5183,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[48, 96], Operations: ['24+49=73', '23+73=96'] Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,97 unequal: No Solution Exploring Operation: 48+96=144, Resulting Numbers: [144] 144,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[73, 25], Operations: ['24+49=73', '48-23=25'] Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,97 unequal: No Solution Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,97 unequal: No Solution Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,97 unequal: No Solution No 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: 97:[23, 49, 72], Operations: ['24+48=72'] Exploring Operation: 23+72=95, Resulting Numbers: [49, 95] Generated Node #0,1,0: 97:[49, 95] Operation: 23+72=95 Exploring Operation: 23+49=72, Resulting Numbers: [72, 72] Generated Node #0,1,1: 97:[72, 72] Operation: 23+49=72 Exploring Operation: 49-23=26, Resulting Numbers: [72, 26] Generated Node #0,1,2: 97:[72, 26] Operation: 49-23=26 Moving to Node #0,1,0 Current State: 97:[49, 95], Operations: ['24+48=72', '23+72=95'] Exploring Operation: 49*95=4655, Resulting Numbers: [4655] 4655,97 unequal: No Solution Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 49+95=144, Resulting Numbers: [144] 144,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[72, 72], Operations: ['24+48=72', '23+49=72'] Exploring Operation: 72+72=144, Resulting Numbers: [144] 144,97 unequal: No Solution Exploring Operation: 72/72=1, Resulting Numbers: [1] 1,97 unequal: No Solution Exploring Operation: 72-72=0, Resulting Numbers: [0] 0,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[72, 26], Operations: ['24+48=72', '49-23=26'] Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,97 unequal: No Solution Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,97 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,97 unequal: No Solution No 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:[48, 49, 47], Operations: ['24+23=47'] Exploring Operation: 48+47=95, Resulting Numbers: [49, 95] Generated Node #0,2,0: 97:[49, 95] Operation: 48+47=95 Exploring Operation: 49+47=96, Resulting Numbers: [48, 96] Generated Node #0,2,1: 97:[48, 96] Operation: 49+47=96 Exploring Operation: 48+49=97, Resulting Numbers: [47, 97] Generated Node #0,2,2: 97:[47, 97] Operation: 48+49=97 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[49, 95], Operations: ['24+23=47', '48+47=95'] Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,97 unequal: No Solution Exploring Operation: 49+95=144, Resulting Numbers: [144] 144,97 unequal: No Solution Exploring Operation: 49*95=4655, Resulting Numbers: [4655] 4655,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,1 Current State: 97:[48, 96], Operations: ['24+23=47', '49+47=96'] Exploring Operation: 48+96=144, Resulting Numbers: [144] 144,97 unequal: No Solution Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,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:[47, 97], Operations: ['24+23=47', '48+49=97'] Exploring Operation: 47*97=4559, Resulting Numbers: [4559] 4559,97 unequal: No Solution Exploring Operation: 47+97=144, Resulting Numbers: [144] 144,97 unequal: No Solution Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,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
mult_heuristic
[ 37, 61, 11, 6 ]
42
[ "61-37=24", "11*6=66", "66-24=42" ]
Current State: 42:[37, 61, 11, 6], Operations: [] Exploring Operation: 61-37=24, Resulting Numbers: [11, 6, 24] Generated Node #2: [11, 6, 24] from Operation: 61-37=24 Current State: 42:[11, 6, 24], Operations: ['61-37=24'] Exploring Operation: 11*6=66, Resulting Numbers: [24, 66] Generated Node #3: [24, 66] from Operation: 11*6=66 Current State: 42:[24, 66], Operations: ['61-37=24', '11*6=66'] Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[37, 61, 11, 6], Operations: [] Exploring Operation: 61-11=50, Resulting Numbers: [37, 6, 50] Generated Node #0,0: 42:[37, 6, 50] Operation: 61-11=50 Exploring Operation: 37+6=43, Resulting Numbers: [61, 11, 43] Generated Node #0,1: 42:[61, 11, 43] Operation: 37+6=43 Exploring Operation: 61-6=55, Resulting Numbers: [37, 11, 55] Generated Node #0,2: 42:[37, 11, 55] Operation: 61-6=55 Exploring Operation: 61-37=24, Resulting Numbers: [11, 6, 24] Generated Node #0,3: 42:[11, 6, 24] Operation: 61-37=24 Moving to Node #0,3 Current State: 42:[11, 6, 24], Operations: ['61-37=24'] Exploring Operation: 24-11=13, Resulting Numbers: [6, 13] Generated Node #0,3,0: 42:[6, 13] Operation: 24-11=13 Exploring Operation: 11-6=5, Resulting Numbers: [24, 5] Generated Node #0,3,1: 42:[24, 5] Operation: 11-6=5 Exploring Operation: 24/6=4, Resulting Numbers: [11, 4] Generated Node #0,3,2: 42:[11, 4] Operation: 24/6=4 Exploring Operation: 11+6=17, Resulting Numbers: [24, 17] Generated Node #0,3,3: 42:[24, 17] Operation: 11+6=17 Moving to Node #0,0 Current State: 42:[37, 6, 50], Operations: ['61-11=50'] Exploring Operation: 50-37=13, Resulting Numbers: [6, 13] Generated Node #0,0,0: 42:[6, 13] Operation: 50-37=13 Exploring Operation: 37+6=43, Resulting Numbers: [50, 43] Generated Node #0,0,1: 42:[50, 43] Operation: 37+6=43 Exploring Operation: 50-6=44, Resulting Numbers: [37, 44] Generated Node #0,0,2: 42:[37, 44] Operation: 50-6=44 Exploring Operation: 37-6=31, Resulting Numbers: [50, 31] Generated Node #0,0,3: 42:[50, 31] Operation: 37-6=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[6, 13], Operations: ['61-11=50', '50-37=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,42 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[37, 44], Operations: ['61-11=50', '50-6=44'] Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 37+44=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 37*44=1628, Resulting Numbers: [1628] 1628,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[50, 43], Operations: ['61-11=50', '37+6=43'] Exploring Operation: 50*43=2150, Resulting Numbers: [2150] 2150,42 unequal: No Solution Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 50+43=93, Resulting Numbers: [93] 93,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 42:[50, 31], Operations: ['61-11=50', '37-6=31'] Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 50+31=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 50*31=1550, Resulting Numbers: [1550] 1550,42 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: 42:[37, 11, 55], Operations: ['61-6=55'] Exploring Operation: 55-37=18, Resulting Numbers: [11, 18] Generated Node #0,2,0: 42:[11, 18] Operation: 55-37=18 Exploring Operation: 37-11=26, Resulting Numbers: [55, 26] Generated Node #0,2,1: 42:[55, 26] Operation: 37-11=26 Exploring Operation: 55-11=44, Resulting Numbers: [37, 44] Generated Node #0,2,2: 42:[37, 44] Operation: 55-11=44 Exploring Operation: 55/11=5, Resulting Numbers: [37, 5] Generated Node #0,2,3: 42:[37, 5] Operation: 55/11=5 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[11, 18], Operations: ['61-6=55', '55-37=18'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[37, 5], Operations: ['61-6=55', '55/11=5'] Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[37, 61, 11, 6], Operations: [] Exploring Operation: 61-6=55, Resulting Numbers: [37, 11, 55] Generated Node #0,2: 42:[37, 11, 55] Operation: 61-6=55 Moving to Node #0,2 Current State: 42:[37, 11, 55], Operations: ['61-6=55'] Exploring Operation: 55/11=5, Resulting Numbers: [37, 5] Generated Node #0,2,3: 42:[37, 5] Operation: 55/11=5 Moving to Node #0,2,3 Current State: 42:[37, 5], Operations: ['61-6=55', '55/11=5'] Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 13, 33, 16, 38 ]
81
[ "16-13=3", "38*3=114", "114-33=81" ]
Current State: 81:[13, 33, 16, 38], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [33, 38, 3] Generated Node #2: [33, 38, 3] from Operation: 16-13=3 Current State: 81:[33, 38, 3], Operations: ['16-13=3'] Exploring Operation: 38*3=114, Resulting Numbers: [33, 114] Generated Node #3: [33, 114] from Operation: 38*3=114 Current State: 81:[33, 114], Operations: ['16-13=3', '38*3=114'] Exploring Operation: 114-33=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[13, 33, 16, 38], Operations: [] Exploring Operation: 38-13=25, Resulting Numbers: [33, 16, 25] Generated Node #0,0: 81:[33, 16, 25] Operation: 38-13=25 Exploring Operation: 38-33=5, Resulting Numbers: [13, 16, 5] Generated Node #0,1: 81:[13, 16, 5] Operation: 38-33=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[13, 16, 5], Operations: ['38-33=5'] Exploring Operation: 16-13=3, Resulting Numbers: [5, 3] Generated Node #0,1,0: 81:[5, 3] Operation: 16-13=3 Exploring Operation: 13+16=29, Resulting Numbers: [5, 29] Generated Node #0,1,1: 81:[5, 29] Operation: 13+16=29 Moving to Node #0,1,0 Current State: 81:[5, 3], Operations: ['38-33=5', '16-13=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[5, 29], Operations: ['38-33=5', '13+16=29'] Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,81 unequal: No Solution No 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: 81:[33, 16, 25], Operations: ['38-13=25'] Exploring Operation: 33-25=8, Resulting Numbers: [16, 8] Generated Node #0,0,0: 81:[16, 8] Operation: 33-25=8 Exploring Operation: 25-16=9, Resulting Numbers: [33, 9] Generated Node #0,0,1: 81:[33, 9] Operation: 25-16=9 Moving to Node #0,0,1 Current State: 81:[33, 9], Operations: ['38-13=25', '25-16=9'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[16, 8], Operations: ['38-13=25', '33-25=8'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,81 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
[ 6, 38, 70, 2 ]
88
[ "6*38=228", "70*2=140", "228-140=88" ]
Current State: 88:[6, 38, 70, 2], Operations: [] Exploring Operation: 6*38=228, Resulting Numbers: [70, 2, 228] Generated Node #2: [70, 2, 228] from Operation: 6*38=228 Current State: 88:[70, 2, 228], Operations: ['6*38=228'] Exploring Operation: 70*2=140, Resulting Numbers: [228, 140] Generated Node #3: [228, 140] from Operation: 70*2=140 Current State: 88:[228, 140], Operations: ['6*38=228', '70*2=140'] Exploring Operation: 228-140=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[6, 38, 70, 2], Operations: [] Exploring Operation: 70-38=32, Resulting Numbers: [6, 2, 32] Generated Node #0,0: 88:[6, 2, 32] Operation: 70-38=32 Exploring Operation: 70/2=35, Resulting Numbers: [6, 38, 35] Generated Node #0,1: 88:[6, 38, 35] Operation: 70/2=35 Moving to Node #0,0 Current State: 88:[6, 2, 32], Operations: ['70-38=32'] Exploring Operation: 6+32=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 88:[2, 38] Operation: 6+32=38 Exploring Operation: 32-6=26, Resulting Numbers: [2, 26] Generated Node #0,0,1: 88:[2, 26] Operation: 32-6=26 Moving to Node #0,1 Current State: 88:[6, 38, 35], Operations: ['70/2=35'] Exploring Operation: 38-35=3, Resulting Numbers: [6, 3] Generated Node #0,1,0: 88:[6, 3] Operation: 38-35=3 Exploring Operation: 6+38=44, Resulting Numbers: [35, 44] Generated Node #0,1,1: 88:[35, 44] Operation: 6+38=44 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[6, 3], Operations: ['70/2=35', '38-35=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,88 unequal: No Solution No 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: 88:[35, 44], Operations: ['70/2=35', '6+38=44'] Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 35+44=79, Resulting Numbers: [79] 79,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 88:[2, 26], Operations: ['70-38=32', '32-6=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[2, 38], Operations: ['70-38=32', '6+32=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,88 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 38, 56, 42, 74 ]
88
[ "42-38=4", "56/4=14", "74+14=88" ]
Current State: 88:[38, 56, 42, 74], Operations: [] Exploring Operation: 42-38=4, Resulting Numbers: [56, 74, 4] Generated Node #2: [56, 74, 4] from Operation: 42-38=4 Current State: 88:[56, 74, 4], Operations: ['42-38=4'] Exploring Operation: 56/4=14, Resulting Numbers: [74, 14] Generated Node #3: [74, 14] from Operation: 56/4=14 Current State: 88:[74, 14], Operations: ['42-38=4', '56/4=14'] Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[38, 56, 42, 74], Operations: [] Exploring Operation: 56-38=18, Resulting Numbers: [42, 74, 18] Generated Node #0,0: 88:[42, 74, 18] Operation: 56-38=18 Exploring Operation: 38+56=94, Resulting Numbers: [42, 74, 94] Generated Node #0,1: 88:[42, 74, 94] Operation: 38+56=94 Exploring Operation: 74-56=18, Resulting Numbers: [38, 42, 18] Generated Node #0,2: 88:[38, 42, 18] Operation: 74-56=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[38, 42, 18], Operations: ['74-56=18'] Exploring Operation: 42-18=24, Resulting Numbers: [38, 24] Generated Node #0,2,0: 88:[38, 24] Operation: 42-18=24 Exploring Operation: 42-38=4, Resulting Numbers: [18, 4] Generated Node #0,2,1: 88:[18, 4] Operation: 42-38=4 Exploring Operation: 38-18=20, Resulting Numbers: [42, 20] Generated Node #0,2,2: 88:[42, 20] Operation: 38-18=20 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 88:[18, 4], Operations: ['74-56=18', '42-38=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 88:[42, 20], Operations: ['74-56=18', '38-18=20'] Exploring Operation: 42+20=62, Resulting Numbers: [62] 62,88 unequal: No Solution Exploring Operation: 42*20=840, Resulting Numbers: [840] 840,88 unequal: No Solution Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[38, 24], Operations: ['74-56=18', '42-18=24'] Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,88 unequal: No Solution Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,88 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,88 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: 88:[42, 74, 18], Operations: ['56-38=18'] Exploring Operation: 74-18=56, Resulting Numbers: [42, 56] Generated Node #0,0,0: 88:[42, 56] Operation: 74-18=56 Exploring Operation: 74-42=32, Resulting Numbers: [18, 32] Generated Node #0,0,1: 88:[18, 32] Operation: 74-42=32 Exploring Operation: 74+18=92, Resulting Numbers: [42, 92] Generated Node #0,0,2: 88:[42, 92] Operation: 74+18=92 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[42, 92], Operations: ['56-38=18', '74+18=92'] Exploring Operation: 92-42=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 42+92=134, Resulting Numbers: [134] 134,88 unequal: No Solution Exploring Operation: 42*92=3864, Resulting Numbers: [3864] 3864,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,0 Current State: 88:[42, 56], Operations: ['56-38=18', '74-18=56'] Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 42*56=2352, Resulting Numbers: [2352] 2352,88 unequal: No Solution Exploring Operation: 42+56=98, Resulting Numbers: [98] 98,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,1 Current State: 88:[18, 32], Operations: ['56-38=18', '74-42=32'] Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 18*32=576, Resulting Numbers: [576] 576,88 unequal: No Solution Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,88 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: 88:[42, 74, 94], Operations: ['38+56=94'] Exploring Operation: 94-42=52, Resulting Numbers: [74, 52] Generated Node #0,1,0: 88:[74, 52] Operation: 94-42=52 Exploring Operation: 94-74=20, Resulting Numbers: [42, 20] Generated Node #0,1,1: 88:[42, 20] Operation: 94-74=20 Exploring Operation: 74-42=32, Resulting Numbers: [94, 32] Generated Node #0,1,2: 88:[94, 32] Operation: 74-42=32 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[42, 20], Operations: ['38+56=94', '94-74=20'] Exploring Operation: 42+20=62, Resulting Numbers: [62] 62,88 unequal: No Solution Exploring Operation: 42*20=840, Resulting Numbers: [840] 840,88 unequal: No Solution Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,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,1,2 Current State: 88:[94, 32], Operations: ['38+56=94', '74-42=32'] Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,88 unequal: No Solution Exploring Operation: 94+32=126, Resulting Numbers: [126] 126,88 unequal: No Solution Exploring Operation: 94*32=3008, Resulting Numbers: [3008] 3008,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,1,0 Current State: 88:[74, 52], Operations: ['38+56=94', '94-42=52'] Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 74*52=3848, Resulting Numbers: [3848] 3848,88 unequal: No Solution Exploring Operation: 74+52=126, Resulting Numbers: [126] 126,88 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
[ 36, 10, 19, 98 ]
52
[ "19*98=1862", "10+1862=1872", "1872/36=52" ]
Current State: 52:[36, 10, 19, 98], Operations: [] Exploring Operation: 19*98=1862, Resulting Numbers: [36, 10, 1862] Generated Node #2: [36, 10, 1862] from Operation: 19*98=1862 Current State: 52:[36, 10, 1862], Operations: ['19*98=1862'] Exploring Operation: 10+1862=1872, Resulting Numbers: [36, 1872] Generated Node #3: [36, 1872] from Operation: 10+1862=1872 Current State: 52:[36, 1872], Operations: ['19*98=1862', '10+1862=1872'] Exploring Operation: 1872/36=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[36, 10, 19, 98], Operations: [] Exploring Operation: 36-10=26, Resulting Numbers: [19, 98, 26] Generated Node #0,0: 52:[19, 98, 26] Operation: 36-10=26 Exploring Operation: 98-10=88, Resulting Numbers: [36, 19, 88] Generated Node #0,1: 52:[36, 19, 88] Operation: 98-10=88 Exploring Operation: 98-36=62, Resulting Numbers: [10, 19, 62] Generated Node #0,2: 52:[10, 19, 62] Operation: 98-36=62 Exploring Operation: 98-19=79, Resulting Numbers: [36, 10, 79] Generated Node #0,3: 52:[36, 10, 79] Operation: 98-19=79 Exploring Operation: 36+19=55, Resulting Numbers: [10, 98, 55] Generated Node #0,4: 52:[10, 98, 55] Operation: 36+19=55 Moving to Node #0,2 Current State: 52:[10, 19, 62], Operations: ['98-36=62'] Exploring Operation: 62-10=52, Resulting Numbers: [19, 52] Generated Node #0,2,0: 52:[19, 52] Operation: 62-10=52 Exploring Operation: 62-19=43, Resulting Numbers: [10, 43] Generated Node #0,2,1: 52:[10, 43] Operation: 62-19=43 Exploring Operation: 10+19=29, Resulting Numbers: [62, 29] Generated Node #0,2,2: 52:[62, 29] Operation: 10+19=29 Exploring Operation: 10+62=72, Resulting Numbers: [19, 72] Generated Node #0,2,3: 52:[19, 72] Operation: 10+62=72 Exploring Operation: 19-10=9, Resulting Numbers: [62, 9] Generated Node #0,2,4: 52:[62, 9] Operation: 19-10=9 Moving to Node #0,3 Current State: 52:[36, 10, 79], Operations: ['98-19=79'] Exploring Operation: 79-10=69, Resulting Numbers: [36, 69] Generated Node #0,3,0: 52:[36, 69] Operation: 79-10=69 Exploring Operation: 36-10=26, Resulting Numbers: [79, 26] Generated Node #0,3,1: 52:[79, 26] Operation: 36-10=26 Exploring Operation: 10+79=89, Resulting Numbers: [36, 89] Generated Node #0,3,2: 52:[36, 89] Operation: 10+79=89 Exploring Operation: 79-36=43, Resulting Numbers: [10, 43] Generated Node #0,3,3: 52:[10, 43] Operation: 79-36=43 Exploring Operation: 36+10=46, Resulting Numbers: [79, 46] Generated Node #0,3,4: 52:[79, 46] Operation: 36+10=46 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[10, 43], Operations: ['98-19=79', '79-36=43'] Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,52 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,52 unequal: No Solution No 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: 52:[36, 69], Operations: ['98-19=79', '79-10=69'] Exploring Operation: 36+69=105, Resulting Numbers: [105] 105,52 unequal: No Solution Exploring Operation: 36*69=2484, Resulting Numbers: [2484] 2484,52 unequal: No Solution Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,52 unequal: No Solution No 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: 52:[79, 26], Operations: ['98-19=79', '36-10=26'] Exploring Operation: 79+26=105, Resulting Numbers: [105] 105,52 unequal: No Solution Exploring Operation: 79*26=2054, Resulting Numbers: [2054] 2054,52 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 52:[79, 46], Operations: ['98-19=79', '36+10=46'] Exploring Operation: 79-46=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 79*46=3634, Resulting Numbers: [3634] 3634,52 unequal: No Solution Exploring Operation: 79+46=125, Resulting Numbers: [125] 125,52 unequal: No Solution No 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: 52:[36, 89], Operations: ['98-19=79', '10+79=89'] Exploring Operation: 36*89=3204, Resulting Numbers: [3204] 3204,52 unequal: No Solution Exploring Operation: 36+89=125, Resulting Numbers: [125] 125,52 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,52 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: 52:[19, 98, 26], Operations: ['36-10=26'] Exploring Operation: 26-19=7, Resulting Numbers: [98, 7] Generated Node #0,0,0: 52:[98, 7] Operation: 26-19=7 Exploring Operation: 98-19=79, Resulting Numbers: [26, 79] Generated Node #0,0,1: 52:[26, 79] Operation: 98-19=79 Exploring Operation: 19+98=117, Resulting Numbers: [26, 117] Generated Node #0,0,2: 52:[26, 117] Operation: 19+98=117 Exploring Operation: 19+26=45, Resulting Numbers: [98, 45] Generated Node #0,0,3: 52:[98, 45] Operation: 19+26=45 Exploring Operation: 98-26=72, Resulting Numbers: [19, 72] Generated Node #0,0,4: 52:[19, 72] Operation: 98-26=72 Moving to Node #0,1 Current State: 52:[36, 19, 88], Operations: ['98-10=88'] Exploring Operation: 19+88=107, Resulting Numbers: [36, 107] Generated Node #0,1,0: 52:[36, 107] Operation: 19+88=107 Exploring Operation: 88-36=52, Resulting Numbers: [19, 52] Generated Node #0,1,1: 52:[19, 52] Operation: 88-36=52 Exploring Operation: 36-19=17, Resulting Numbers: [88, 17] Generated Node #0,1,2: 52:[88, 17] Operation: 36-19=17 Exploring Operation: 88-19=69, Resulting Numbers: [36, 69] Generated Node #0,1,3: 52:[36, 69] Operation: 88-19=69 Exploring Operation: 36+19=55, Resulting Numbers: [88, 55] Generated Node #0,1,4: 52:[88, 55] Operation: 36+19=55 Moving to Node #0,4 Current State: 52:[10, 98, 55], Operations: ['36+19=55'] Exploring Operation: 55-10=45, Resulting Numbers: [98, 45] Generated Node #0,4,0: 52:[98, 45] Operation: 55-10=45 Exploring Operation: 10+98=108, Resulting Numbers: [55, 108] Generated Node #0,4,1: 52:[55, 108] Operation: 10+98=108 Exploring Operation: 10+55=65, Resulting Numbers: [98, 65] Generated Node #0,4,2: 52:[98, 65] Operation: 10+55=65 Exploring Operation: 98-55=43, Resulting Numbers: [10, 43] Generated Node #0,4,3: 52:[10, 43] Operation: 98-55=43 Exploring Operation: 98-10=88, Resulting Numbers: [55, 88] Generated Node #0,4,4: 52:[55, 88] Operation: 98-10=88 Moving to Node #0,2,0 Current State: 52:[19, 52], Operations: ['98-36=62', '62-10=52'] Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 19+52=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 19*52=988, Resulting Numbers: [988] 988,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[19, 52], Operations: ['98-10=88', '88-36=52'] Exploring Operation: 19+52=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 19*52=988, Resulting Numbers: [988] 988,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[10, 43], Operations: ['98-36=62', '62-19=43'] Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,52 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,52 unequal: No Solution Moving to Node #0,4,3 Current State: 52:[10, 43], Operations: ['36+19=55', '98-55=43'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,52 unequal: No Solution Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[62, 29], Operations: ['98-36=62', '10+19=29'] Exploring Operation: 62-29=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 62*29=1798, Resulting Numbers: [1798] 1798,52 unequal: No Solution Exploring Operation: 62+29=91, Resulting Numbers: [91] 91,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[62, 9], Operations: ['98-36=62', '19-10=9'] Exploring Operation: 62*9=558, Resulting Numbers: [558] 558,52 unequal: No Solution Exploring Operation: 62+9=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[19, 72], Operations: ['36-10=26', '98-26=72'] Exploring Operation: 19+72=91, Resulting Numbers: [91] 91,52 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 19*72=1368, Resulting Numbers: [1368] 1368,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[19, 72], Operations: ['98-36=62', '10+62=72'] Exploring Operation: 19+72=91, Resulting Numbers: [91] 91,52 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 19*72=1368, Resulting Numbers: [1368] 1368,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[26, 79], Operations: ['36-10=26', '98-19=79'] Exploring Operation: 26+79=105, Resulting Numbers: [105] 105,52 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 26*79=2054, Resulting Numbers: [2054] 2054,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[36, 69], Operations: ['98-10=88', '88-19=69'] Exploring Operation: 36*69=2484, Resulting Numbers: [2484] 2484,52 unequal: No Solution Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 36+69=105, Resulting Numbers: [105] 105,52 unequal: No Solution Moving to Node #0,1,4 Current State: 52:[88, 55], Operations: ['98-10=88', '36+19=55'] Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 88*55=4840, Resulting Numbers: [4840] 4840,52 unequal: No Solution Exploring Operation: 88+55=143, Resulting Numbers: [143] 143,52 unequal: No Solution Moving to Node #0,4,4 Current State: 52:[55, 88], Operations: ['36+19=55', '98-10=88'] Exploring Operation: 55+88=143, Resulting Numbers: [143] 143,52 unequal: No Solution Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 55*88=4840, Resulting Numbers: [4840] 4840,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[88, 17], Operations: ['98-10=88', '36-19=17'] Exploring Operation: 88-17=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 88*17=1496, Resulting Numbers: [1496] 1496,52 unequal: No Solution Exploring Operation: 88+17=105, Resulting Numbers: [105] 105,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[98, 7], Operations: ['36-10=26', '26-19=7'] Exploring Operation: 98+7=105, Resulting Numbers: [105] 105,52 unequal: No Solution Exploring Operation: 98-7=91, Resulting Numbers: [91] 91,52 unequal: No Solution Exploring Operation: 98*7=686, Resulting Numbers: [686] 686,52 unequal: No Solution Exploring Operation: 98/7=14, Resulting Numbers: [14] 14,52 unequal: No Solution Moving to Node #0,4,0 Current State: 52:[98, 45], Operations: ['36+19=55', '55-10=45'] Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 98+45=143, Resulting Numbers: [143] 143,52 unequal: No Solution Exploring Operation: 98*45=4410, Resulting Numbers: [4410] 4410,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[98, 45], Operations: ['36-10=26', '19+26=45'] Exploring Operation: 98*45=4410, Resulting Numbers: [4410] 4410,52 unequal: No Solution Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 98+45=143, Resulting Numbers: [143] 143,52 unequal: No Solution Moving to Node #0,4,1 Current State: 52:[55, 108], Operations: ['36+19=55', '10+98=108'] Exploring Operation: 55*108=5940, Resulting Numbers: [5940] 5940,52 unequal: No Solution Exploring Operation: 108-55=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 55+108=163, Resulting Numbers: [163] 163,52 unequal: No Solution Moving to Node #0,4,2 Current State: 52:[98, 65], Operations: ['36+19=55', '10+55=65'] Exploring Operation: 98-65=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 98*65=6370, Resulting Numbers: [6370] 6370,52 unequal: No Solution Exploring Operation: 98+65=163, Resulting Numbers: [163] 163,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[26, 117], Operations: ['36-10=26', '19+98=117'] Exploring Operation: 117-26=91, Resulting Numbers: [91] 91,52 unequal: No Solution Exploring Operation: 26*117=3042, Resulting Numbers: [3042] 3042,52 unequal: No Solution Exploring Operation: 26+117=143, Resulting Numbers: [143] 143,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[36, 107], Operations: ['98-10=88', '19+88=107'] Exploring Operation: 107-36=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 36*107=3852, Resulting Numbers: [3852] 3852,52 unequal: No Solution Exploring Operation: 36+107=143, Resulting Numbers: [143] 143,52 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 6, 7, 28, 88 ]
74
[ "6*7=42", "28+88=116", "116-42=74" ]
Current State: 74:[6, 7, 28, 88], Operations: [] Exploring Operation: 6*7=42, Resulting Numbers: [28, 88, 42] Generated Node #2: [28, 88, 42] from Operation: 6*7=42 Current State: 74:[28, 88, 42], Operations: ['6*7=42'] Exploring Operation: 28+88=116, Resulting Numbers: [42, 116] Generated Node #3: [42, 116] from Operation: 28+88=116 Current State: 74:[42, 116], Operations: ['6*7=42', '28+88=116'] Exploring Operation: 116-42=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[6, 7, 28, 88], Operations: [] Exploring Operation: 88-6=82, Resulting Numbers: [7, 28, 82] Generated Node #0,0: 74:[7, 28, 82] Operation: 88-6=82 Exploring Operation: 7+28=35, Resulting Numbers: [6, 88, 35] Generated Node #0,1: 74:[6, 88, 35] Operation: 7+28=35 Exploring Operation: 88-7=81, Resulting Numbers: [6, 28, 81] Generated Node #0,2: 74:[6, 28, 81] Operation: 88-7=81 Exploring Operation: 6+28=34, Resulting Numbers: [7, 88, 34] Generated Node #0,3: 74:[7, 88, 34] Operation: 6+28=34 Exploring Operation: 28/7=4, Resulting Numbers: [6, 88, 4] Generated Node #0,4: 74:[6, 88, 4] Operation: 28/7=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[6, 88, 35], Operations: ['7+28=35'] Exploring Operation: 35-6=29, Resulting Numbers: [88, 29] Generated Node #0,1,0: 74:[88, 29] Operation: 35-6=29 Exploring Operation: 6+88=94, Resulting Numbers: [35, 94] Generated Node #0,1,1: 74:[35, 94] Operation: 6+88=94 Exploring Operation: 6+35=41, Resulting Numbers: [88, 41] Generated Node #0,1,2: 74:[88, 41] Operation: 6+35=41 Exploring Operation: 88-6=82, Resulting Numbers: [35, 82] Generated Node #0,1,3: 74:[35, 82] Operation: 88-6=82 Exploring Operation: 88-35=53, Resulting Numbers: [6, 53] Generated Node #0,1,4: 74:[6, 53] Operation: 88-35=53 Moving to Node #0,1,3 Current State: 74:[35, 82], Operations: ['7+28=35', '88-6=82'] Exploring Operation: 35+82=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 35*82=2870, Resulting Numbers: [2870] 2870,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[88, 41], Operations: ['7+28=35', '6+35=41'] Exploring Operation: 88*41=3608, Resulting Numbers: [3608] 3608,74 unequal: No Solution Exploring Operation: 88+41=129, Resulting Numbers: [129] 129,74 unequal: No Solution Exploring Operation: 88-41=47, Resulting Numbers: [47] 47,74 unequal: No Solution Moving to Node #0,1,4 Current State: 74:[6, 53], Operations: ['7+28=35', '88-35=53'] Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,74 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[88, 29], Operations: ['7+28=35', '35-6=29'] Exploring Operation: 88+29=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 88*29=2552, Resulting Numbers: [2552] 2552,74 unequal: No Solution Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[35, 94], Operations: ['7+28=35', '6+88=94'] Exploring Operation: 94-35=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 35+94=129, Resulting Numbers: [129] 129,74 unequal: No Solution Exploring Operation: 35*94=3290, Resulting Numbers: [3290] 3290,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[6, 28, 81], Operations: ['88-7=81'] Exploring Operation: 81-28=53, Resulting Numbers: [6, 53] Generated Node #0,2,0: 74:[6, 53] Operation: 81-28=53 Exploring Operation: 81-6=75, Resulting Numbers: [28, 75] Generated Node #0,2,1: 74:[28, 75] Operation: 81-6=75 Exploring Operation: 6+28=34, Resulting Numbers: [81, 34] Generated Node #0,2,2: 74:[81, 34] Operation: 6+28=34 Exploring Operation: 6+81=87, Resulting Numbers: [28, 87] Generated Node #0,2,3: 74:[28, 87] Operation: 6+81=87 Exploring Operation: 28-6=22, Resulting Numbers: [81, 22] Generated Node #0,2,4: 74:[81, 22] Operation: 28-6=22 Moving to Node #0,2,1 Current State: 74:[28, 75], Operations: ['88-7=81', '81-6=75'] Exploring Operation: 28+75=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 28*75=2100, Resulting Numbers: [2100] 2100,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[81, 34], Operations: ['88-7=81', '6+28=34'] Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,74 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[6, 53], Operations: ['88-7=81', '81-28=53'] Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,74 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[28, 87], Operations: ['88-7=81', '6+81=87'] Exploring Operation: 28*87=2436, Resulting Numbers: [2436] 2436,74 unequal: No Solution Exploring Operation: 28+87=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,74 unequal: No Solution Moving to Node #0,2,4 Current State: 74:[81, 22], Operations: ['88-7=81', '28-6=22'] Exploring Operation: 81*22=1782, Resulting Numbers: [1782] 1782,74 unequal: No Solution Exploring Operation: 81+22=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 74:[6, 88, 4], Operations: ['28/7=4'] Exploring Operation: 6-4=2, Resulting Numbers: [88, 2] Generated Node #0,4,0: 74:[88, 2] Operation: 6-4=2 Exploring Operation: 88/4=22, Resulting Numbers: [6, 22] Generated Node #0,4,1: 74:[6, 22] Operation: 88/4=22 Exploring Operation: 88-4=84, Resulting Numbers: [6, 84] Generated Node #0,4,2: 74:[6, 84] Operation: 88-4=84 Exploring Operation: 88-6=82, Resulting Numbers: [4, 82] Generated Node #0,4,3: 74:[4, 82] Operation: 88-6=82 Exploring Operation: 6+88=94, Resulting Numbers: [4, 94] Generated Node #0,4,4: 74:[4, 94] Operation: 6+88=94 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 74:[4, 82], Operations: ['28/7=4', '88-6=82'] Exploring Operation: 4*82=328, Resulting Numbers: [328] 328,74 unequal: No Solution Exploring Operation: 4+82=86, Resulting Numbers: [86] 86,74 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,74 unequal: No Solution No 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: 74:[88, 2], Operations: ['28/7=4', '6-4=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,74 unequal: No Solution Exploring Operation: 88*2=176, Resulting Numbers: [176] 176,74 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,74 unequal: No Solution Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,74 unequal: No Solution No 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: 74:[6, 84], Operations: ['28/7=4', '88-4=84'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 6+84=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,74 unequal: No Solution Exploring Operation: 6*84=504, Resulting Numbers: [504] 504,74 unequal: No Solution No 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: 74:[6, 22], Operations: ['28/7=4', '88/4=22'] Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,74 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,74 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,74 unequal: No Solution No 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: 74:[4, 94], Operations: ['28/7=4', '6+88=94'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 4*94=376, Resulting Numbers: [376] 376,74 unequal: No Solution Exploring Operation: 4+94=98, Resulting Numbers: [98] 98,74 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: 74:[7, 28, 82], Operations: ['88-6=82'] Exploring Operation: 82-7=75, Resulting Numbers: [28, 75] Generated Node #0,0,0: 74:[28, 75] Operation: 82-7=75 Exploring Operation: 82-28=54, Resulting Numbers: [7, 54] Generated Node #0,0,1: 74:[7, 54] Operation: 82-28=54 Exploring Operation: 28/7=4, Resulting Numbers: [82, 4] Generated Node #0,0,2: 74:[82, 4] Operation: 28/7=4 Exploring Operation: 28-7=21, Resulting Numbers: [82, 21] Generated Node #0,0,3: 74:[82, 21] Operation: 28-7=21 Exploring Operation: 7+28=35, Resulting Numbers: [82, 35] Generated Node #0,0,4: 74:[82, 35] Operation: 7+28=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[28, 75], Operations: ['88-6=82', '82-7=75'] Exploring Operation: 28*75=2100, Resulting Numbers: [2100] 2100,74 unequal: No Solution Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 28+75=103, Resulting Numbers: [103] 103,74 unequal: No Solution No 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: 74:[82, 4], Operations: ['88-6=82', '28/7=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,74 unequal: No Solution Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,74 unequal: No Solution Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,74 unequal: No Solution No 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: 74:[82, 35], Operations: ['88-6=82', '7+28=35'] Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 82+35=117, Resulting Numbers: [117] 117,74 unequal: No Solution Exploring Operation: 82*35=2870, Resulting Numbers: [2870] 2870,74 unequal: No Solution No 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: 74:[7, 54], Operations: ['88-6=82', '82-28=54'] Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,74 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,74 unequal: No Solution No 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: 74:[82, 21], Operations: ['88-6=82', '28-7=21'] Exploring Operation: 82*21=1722, Resulting Numbers: [1722] 1722,74 unequal: No Solution Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 82+21=103, Resulting Numbers: [103] 103,74 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: 74:[7, 88, 34], Operations: ['6+28=34'] Exploring Operation: 7+34=41, Resulting Numbers: [88, 41] Generated Node #0,3,0: 74:[88, 41] Operation: 7+34=41 Exploring Operation: 88-34=54, Resulting Numbers: [7, 54] Generated Node #0,3,1: 74:[7, 54] Operation: 88-34=54 Exploring Operation: 88-7=81, Resulting Numbers: [34, 81] Generated Node #0,3,2: 74:[34, 81] Operation: 88-7=81 Exploring Operation: 7+88=95, Resulting Numbers: [34, 95] Generated Node #0,3,3: 74:[34, 95] Operation: 7+88=95 Exploring Operation: 34-7=27, Resulting Numbers: [88, 27] Generated Node #0,3,4: 74:[88, 27] Operation: 34-7=27 Moving to Node #0,3,2 Current State: 74:[34, 81], Operations: ['6+28=34', '88-7=81'] Exploring Operation: 34+81=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 34*81=2754, Resulting Numbers: [2754] 2754,74 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[88, 41], Operations: ['6+28=34', '7+34=41'] Exploring Operation: 88-41=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 88+41=129, Resulting Numbers: [129] 129,74 unequal: No Solution Exploring Operation: 88*41=3608, Resulting Numbers: [3608] 3608,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[7, 54], Operations: ['6+28=34', '88-34=54'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 7*54=378, Resulting Numbers: [378] 378,74 unequal: No Solution Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[34, 95], Operations: ['6+28=34', '7+88=95'] Exploring Operation: 34*95=3230, Resulting Numbers: [3230] 3230,74 unequal: No Solution Exploring Operation: 34+95=129, Resulting Numbers: [129] 129,74 unequal: No Solution Exploring Operation: 95-34=61, Resulting Numbers: [61] 61,74 unequal: No Solution Moving to Node #0,3,4 Current State: 74:[88, 27], Operations: ['6+28=34', '34-7=27'] Exploring Operation: 88*27=2376, Resulting Numbers: [2376] 2376,74 unequal: No Solution Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 88+27=115, Resulting Numbers: [115] 115,74 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
[ 98, 28, 85, 46 ]
76
[ "98*46=4508", "4508/28=161", "161-85=76" ]
Current State: 76:[98, 28, 85, 46], Operations: [] Exploring Operation: 98*46=4508, Resulting Numbers: [28, 85, 4508] Generated Node #2: [28, 85, 4508] from Operation: 98*46=4508 Current State: 76:[28, 85, 4508], Operations: ['98*46=4508'] Exploring Operation: 4508/28=161, Resulting Numbers: [85, 161] Generated Node #3: [85, 161] from Operation: 4508/28=161 Current State: 76:[85, 161], Operations: ['98*46=4508', '4508/28=161'] Exploring Operation: 161-85=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[98, 28, 85, 46], Operations: [] Exploring Operation: 98-28=70, Resulting Numbers: [85, 46, 70] Generated Node #0,0: 76:[85, 46, 70] Operation: 98-28=70 Moving to Node #0,0 Current State: 76:[85, 46, 70], Operations: ['98-28=70'] Exploring Operation: 85-46=39, Resulting Numbers: [70, 39] Generated Node #0,0,0: 76:[70, 39] Operation: 85-46=39 Moving to Node #0,0,0 Current State: 76:[70, 39], Operations: ['98-28=70', '85-46=39'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,76 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 64, 96, 40, 2 ]
37
[ "64/2=32", "96/32=3", "40-3=37" ]
Current State: 37:[64, 96, 40, 2], Operations: [] Exploring Operation: 64/2=32, Resulting Numbers: [96, 40, 32] Generated Node #2: [96, 40, 32] from Operation: 64/2=32 Current State: 37:[96, 40, 32], Operations: ['64/2=32'] Exploring Operation: 96/32=3, Resulting Numbers: [40, 3] Generated Node #3: [40, 3] from Operation: 96/32=3 Current State: 37:[40, 3], Operations: ['64/2=32', '96/32=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[64, 96, 40, 2], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [64, 40, 48] Generated Node #0,0: 37:[64, 40, 48] Operation: 96/2=48 Exploring Operation: 96-64=32, Resulting Numbers: [40, 2, 32] Generated Node #0,1: 37:[40, 2, 32] Operation: 96-64=32 Moving to Node #0,0 Current State: 37:[64, 40, 48], Operations: ['96/2=48'] Exploring Operation: 64-48=16, Resulting Numbers: [40, 16] Generated Node #0,0,0: 37:[40, 16] Operation: 64-48=16 Exploring Operation: 64-40=24, Resulting Numbers: [48, 24] Generated Node #0,0,1: 37:[48, 24] Operation: 64-40=24 Moving to Node #0,1 Current State: 37:[40, 2, 32], Operations: ['96-64=32'] Exploring Operation: 40-2=38, Resulting Numbers: [32, 38] Generated Node #0,1,0: 37:[32, 38] Operation: 40-2=38 Exploring Operation: 2+32=34, Resulting Numbers: [40, 34] Generated Node #0,1,1: 37:[40, 34] Operation: 2+32=34 Moving to Node #0,1,0 Current State: 37:[32, 38], Operations: ['96-64=32', '40-2=38'] Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[40, 34], Operations: ['96-64=32', '2+32=34'] Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[48, 24], Operations: ['96/2=48', '64-40=24'] Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,37 unequal: No Solution Exploring Operation: 48+24=72, Resulting Numbers: [72] 72,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[40, 16], Operations: ['96/2=48', '64-48=16'] Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,37 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 68, 32, 4, 6 ]
36
[ "32-6=26", "4*26=104", "104-68=36" ]
Current State: 36:[68, 32, 4, 6], Operations: [] Exploring Operation: 32-6=26, Resulting Numbers: [68, 4, 26] Generated Node #2: [68, 4, 26] from Operation: 32-6=26 Current State: 36:[68, 4, 26], Operations: ['32-6=26'] Exploring Operation: 4*26=104, Resulting Numbers: [68, 104] Generated Node #3: [68, 104] from Operation: 4*26=104 Current State: 36:[68, 104], Operations: ['32-6=26', '4*26=104'] Exploring Operation: 104-68=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[68, 32, 4, 6], Operations: [] Exploring Operation: 68/4=17, Resulting Numbers: [32, 6, 17] Generated Node #0,0: 36:[32, 6, 17] Operation: 68/4=17 Exploring Operation: 68-32=36, Resulting Numbers: [4, 6, 36] Generated Node #0,1: 36:[4, 6, 36] Operation: 68-32=36 Exploring Operation: 68-6=62, Resulting Numbers: [32, 4, 62] Generated Node #0,2: 36:[32, 4, 62] Operation: 68-6=62 Moving to Node #0,1 Current State: 36:[4, 6, 36], Operations: ['68-32=36'] Exploring Operation: 36/4=9, Resulting Numbers: [6, 9] Generated Node #0,1,0: 36:[6, 9] Operation: 36/4=9 Exploring Operation: 6-4=2, Resulting Numbers: [36, 2] Generated Node #0,1,1: 36:[36, 2] Operation: 6-4=2 Exploring Operation: 36/6=6, Resulting Numbers: [4, 6] Generated Node #0,1,2: 36:[4, 6] Operation: 36/6=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[6, 9], Operations: ['68-32=36', '36/4=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,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,1 Current State: 36:[36, 2], Operations: ['68-32=36', '6-4=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,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,2 Current State: 36:[4, 6], Operations: ['68-32=36', '36/6=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,36 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: 36:[32, 6, 17], Operations: ['68/4=17'] Exploring Operation: 32+6=38, Resulting Numbers: [17, 38] Generated Node #0,0,0: 36:[17, 38] Operation: 32+6=38 Exploring Operation: 17-6=11, Resulting Numbers: [32, 11] Generated Node #0,0,1: 36:[32, 11] Operation: 17-6=11 Exploring Operation: 32-17=15, Resulting Numbers: [6, 15] Generated Node #0,0,2: 36:[6, 15] Operation: 32-17=15 Moving to Node #0,2 Current State: 36:[32, 4, 62], Operations: ['68-6=62'] Exploring Operation: 32+4=36, Resulting Numbers: [62, 36] Generated Node #0,2,0: 36:[62, 36] Operation: 32+4=36 Exploring Operation: 62-4=58, Resulting Numbers: [32, 58] Generated Node #0,2,1: 36:[32, 58] Operation: 62-4=58 Exploring Operation: 62-32=30, Resulting Numbers: [4, 30] Generated Node #0,2,2: 36:[4, 30] Operation: 62-32=30 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[4, 30], Operations: ['68-6=62', '62-32=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,36 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,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,0 Current State: 36:[62, 36], Operations: ['68-6=62', '32+4=36'] Exploring Operation: 62*36=2232, Resulting Numbers: [2232] 2232,36 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 62+36=98, Resulting Numbers: [98] 98,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,1 Current State: 36:[32, 58], Operations: ['68-6=62', '62-4=58'] Exploring Operation: 32*58=1856, Resulting Numbers: [1856] 1856,36 unequal: No Solution Exploring Operation: 32+58=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,36 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: 36:[17, 38], Operations: ['68/4=17', '32+6=38'] Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[6, 15], Operations: ['68/4=17', '32-17=15'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[32, 11], Operations: ['68/4=17', '17-6=11'] Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,36 unequal: No Solution Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,36 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 28, 64, 42, 40 ]
56
[ "64*42=2688", "2688/28=96", "96-40=56" ]
Current State: 56:[28, 64, 42, 40], Operations: [] Exploring Operation: 64*42=2688, Resulting Numbers: [28, 40, 2688] Generated Node #2: [28, 40, 2688] from Operation: 64*42=2688 Current State: 56:[28, 40, 2688], Operations: ['64*42=2688'] Exploring Operation: 2688/28=96, Resulting Numbers: [40, 96] Generated Node #3: [40, 96] from Operation: 2688/28=96 Current State: 56:[40, 96], Operations: ['64*42=2688', '2688/28=96'] Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[28, 64, 42, 40], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [28, 64, 2] Generated Node #0,0: 56:[28, 64, 2] Operation: 42-40=2 Exploring Operation: 64-40=24, Resulting Numbers: [28, 42, 24] Generated Node #0,1: 56:[28, 42, 24] Operation: 64-40=24 Exploring Operation: 64-42=22, Resulting Numbers: [28, 40, 22] Generated Node #0,2: 56:[28, 40, 22] Operation: 64-42=22 Moving to Node #0,0 Current State: 56:[28, 64, 2], Operations: ['42-40=2'] Exploring Operation: 64-28=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 56:[2, 36] Operation: 64-28=36 Exploring Operation: 64-2=62, Resulting Numbers: [28, 62] Generated Node #0,0,1: 56:[28, 62] Operation: 64-2=62 Exploring Operation: 64/2=32, Resulting Numbers: [28, 32] Generated Node #0,0,2: 56:[28, 32] Operation: 64/2=32 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[28, 32], Operations: ['42-40=2', '64/2=32'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,56 unequal: No Solution Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,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,1 Current State: 56:[28, 62], Operations: ['42-40=2', '64-2=62'] Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,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:[2, 36], Operations: ['42-40=2', '64-28=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,56 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,56 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: 56:[28, 42, 24], Operations: ['64-40=24'] Exploring Operation: 42+24=66, Resulting Numbers: [28, 66] Generated Node #0,1,0: 56:[28, 66] Operation: 42+24=66 Exploring Operation: 42-28=14, Resulting Numbers: [24, 14] Generated Node #0,1,1: 56:[24, 14] Operation: 42-28=14 Exploring Operation: 42-24=18, Resulting Numbers: [28, 18] Generated Node #0,1,2: 56:[28, 18] Operation: 42-24=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[24, 14], Operations: ['64-40=24', '42-28=14'] Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,56 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,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,2 Current State: 56:[28, 18], Operations: ['64-40=24', '42-24=18'] Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,56 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,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:[28, 66], Operations: ['64-40=24', '42+24=66'] Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,56 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,56 unequal: No Solution Exploring Operation: 28*66=1848, Resulting Numbers: [1848] 1848,56 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: 56:[28, 40, 22], Operations: ['64-42=22'] Exploring Operation: 40+22=62, Resulting Numbers: [28, 62] Generated Node #0,2,0: 56:[28, 62] Operation: 40+22=62 Exploring Operation: 40-22=18, Resulting Numbers: [28, 18] Generated Node #0,2,1: 56:[28, 18] Operation: 40-22=18 Exploring Operation: 40-28=12, Resulting Numbers: [22, 12] Generated Node #0,2,2: 56:[22, 12] Operation: 40-28=12 Moving to Node #0,2,1 Current State: 56:[28, 18], Operations: ['64-42=22', '40-22=18'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,56 unequal: No Solution Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[28, 62], Operations: ['64-42=22', '40+22=62'] Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[22, 12], Operations: ['64-42=22', '40-28=12'] Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,56 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,56 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 40, 42, 64, 30 ]
98
[ "42-40=2", "64*2=128", "128-30=98" ]
Current State: 98:[40, 42, 64, 30], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [64, 30, 2] Generated Node #2: [64, 30, 2] from Operation: 42-40=2 Current State: 98:[64, 30, 2], Operations: ['42-40=2'] Exploring Operation: 64*2=128, Resulting Numbers: [30, 128] Generated Node #3: [30, 128] from Operation: 64*2=128 Current State: 98:[30, 128], Operations: ['42-40=2', '64*2=128'] Exploring Operation: 128-30=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[40, 42, 64, 30], Operations: [] Exploring Operation: 64+30=94, Resulting Numbers: [40, 42, 94] Generated Node #0,0: 98:[40, 42, 94] Operation: 64+30=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[40, 42, 94], Operations: ['64+30=94'] Exploring Operation: 42-40=2, Resulting Numbers: [94, 2] Generated Node #0,0,0: 98:[94, 2] Operation: 42-40=2 Moving to Node #0,0,0 Current State: 98:[94, 2], Operations: ['64+30=94', '42-40=2'] Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,98 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
[ 88, 17, 88, 7 ]
24
[ "88+17=105", "88-7=81", "105-81=24" ]
Current State: 24:[88, 17, 88, 7], Operations: [] Exploring Operation: 88+17=105, Resulting Numbers: [7, 105] Generated Node #2: [7, 105] from Operation: 88+17=105 Current State: 24:[7, 105], Operations: ['88+17=105'] Exploring Operation: 88-7=81, Resulting Numbers: [105, 81] Generated Node #3: [105, 81] from Operation: 88-7=81 Current State: 24:[105, 81], Operations: ['88+17=105', '88-7=81'] Exploring Operation: 105-81=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[88, 17, 88, 7], Operations: [] Exploring Operation: 88/88=1, Resulting Numbers: [17, 7, 1] Generated Node #0,0: 24:[17, 7, 1] Operation: 88/88=1 Moving to Node #0,0 Current State: 24:[17, 7, 1], Operations: ['88/88=1'] Exploring Operation: 17+7=24, Resulting Numbers: [1, 24] Generated Node #0,0,0: 24:[1, 24] Operation: 17+7=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[1, 24], Operations: ['88/88=1', '17+7=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[88, 17, 88, 7], Operations: [] Exploring Operation: 88/88=1, Resulting Numbers: [17, 7, 1] Generated Node #0,0: 24:[17, 7, 1] Operation: 88/88=1 Moving to Node #0,0 Current State: 24:[17, 7, 1], Operations: ['88/88=1'] Exploring Operation: 17+7=24, Resulting Numbers: [1, 24] Generated Node #0,0,0: 24:[1, 24] Operation: 17+7=24 Moving to Node #0,0,0 Current State: 24:[1, 24], Operations: ['88/88=1', '17+7=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 31, 25, 79, 50 ]
85
[ "31+25=56", "79-50=29", "56+29=85" ]
Current State: 85:[31, 25, 79, 50], Operations: [] Exploring Operation: 31+25=56, Resulting Numbers: [79, 50, 56] Generated Node #2: [79, 50, 56] from Operation: 31+25=56 Current State: 85:[79, 50, 56], Operations: ['31+25=56'] Exploring Operation: 79-50=29, Resulting Numbers: [56, 29] Generated Node #3: [56, 29] from Operation: 79-50=29 Current State: 85:[56, 29], Operations: ['31+25=56', '79-50=29'] Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[31, 25, 79, 50], Operations: [] Exploring Operation: 50-31=19, Resulting Numbers: [25, 79, 19] Generated Node #0,0: 85:[25, 79, 19] Operation: 50-31=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[25, 79, 19], Operations: ['50-31=19'] Exploring Operation: 25-19=6, Resulting Numbers: [79, 6] Generated Node #0,0,0: 85:[79, 6] Operation: 25-19=6 Moving to Node #0,0,0 Current State: 85:[79, 6], Operations: ['50-31=19', '25-19=6'] Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[31, 25, 79, 50], Operations: [] Exploring Operation: 50-31=19, Resulting Numbers: [25, 79, 19] Generated Node #0,0: 85:[25, 79, 19] Operation: 50-31=19 Moving to Node #0,0 Current State: 85:[25, 79, 19], Operations: ['50-31=19'] Exploring Operation: 25-19=6, Resulting Numbers: [79, 6] Generated Node #0,0,0: 85:[79, 6] Operation: 25-19=6 Moving to Node #0,0,0 Current State: 85:[79, 6], Operations: ['50-31=19', '25-19=6'] Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 71, 15, 62, 66 ]
11
[ "71-15=56", "62-56=6", "66/6=11" ]
Current State: 11:[71, 15, 62, 66], Operations: [] Exploring Operation: 71-15=56, Resulting Numbers: [62, 66, 56] Generated Node #2: [62, 66, 56] from Operation: 71-15=56 Current State: 11:[62, 66, 56], Operations: ['71-15=56'] Exploring Operation: 62-56=6, Resulting Numbers: [66, 6] Generated Node #3: [66, 6] from Operation: 62-56=6 Current State: 11:[66, 6], Operations: ['71-15=56', '62-56=6'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[71, 15, 62, 66], Operations: [] Exploring Operation: 71-62=9, Resulting Numbers: [15, 66, 9] Generated Node #0,0: 11:[15, 66, 9] Operation: 71-62=9 Exploring Operation: 71-66=5, Resulting Numbers: [15, 62, 5] Generated Node #0,1: 11:[15, 62, 5] Operation: 71-66=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[15, 66, 9], Operations: ['71-62=9'] Exploring Operation: 66-15=51, Resulting Numbers: [9, 51] Generated Node #0,0,0: 11:[9, 51] Operation: 66-15=51 Exploring Operation: 66-9=57, Resulting Numbers: [15, 57] Generated Node #0,0,1: 11:[15, 57] Operation: 66-9=57 Moving to Node #0,0,0 Current State: 11:[9, 51], Operations: ['71-62=9', '66-15=51'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[15, 57], Operations: ['71-62=9', '66-9=57'] Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[15, 62, 5], Operations: ['71-66=5'] Exploring Operation: 62-5=57, Resulting Numbers: [15, 57] Generated Node #0,1,0: 11:[15, 57] Operation: 62-5=57 Exploring Operation: 62-15=47, Resulting Numbers: [5, 47] Generated Node #0,1,1: 11:[5, 47] Operation: 62-15=47 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[5, 47], Operations: ['71-66=5', '62-15=47'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 5+47=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,1,0 Current State: 11:[15, 57], Operations: ['71-66=5', '62-5=57'] Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,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
sum_heuristic
[ 2, 61, 12, 47 ]
60
[ "61+12=73", "47+73=120", "120/2=60" ]
Current State: 60:[2, 61, 12, 47], Operations: [] Exploring Operation: 61+12=73, Resulting Numbers: [2, 47, 73] Generated Node #2: [2, 47, 73] from Operation: 61+12=73 Current State: 60:[2, 47, 73], Operations: ['61+12=73'] Exploring Operation: 47+73=120, Resulting Numbers: [2, 120] Generated Node #3: [2, 120] from Operation: 47+73=120 Current State: 60:[2, 120], Operations: ['61+12=73', '47+73=120'] Exploring Operation: 120/2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[2, 61, 12, 47], Operations: [] Exploring Operation: 2+47=49, Resulting Numbers: [61, 12, 49] Generated Node #0,0: 60:[61, 12, 49] Operation: 2+47=49 Exploring Operation: 12+47=59, Resulting Numbers: [2, 61, 59] Generated Node #0,1: 60:[2, 61, 59] Operation: 12+47=59 Exploring Operation: 47-12=35, Resulting Numbers: [2, 61, 35] Generated Node #0,2: 60:[2, 61, 35] Operation: 47-12=35 Exploring Operation: 61-47=14, Resulting Numbers: [2, 12, 14] Generated Node #0,3: 60:[2, 12, 14] Operation: 61-47=14 Exploring Operation: 61-2=59, Resulting Numbers: [12, 47, 59] Generated Node #0,4: 60:[12, 47, 59] Operation: 61-2=59 Start Sub Search at level 1: Moving to Node #0,3 Current State: 60:[2, 12, 14], Operations: ['61-47=14'] Exploring Operation: 12/2=6, Resulting Numbers: [14, 6] Generated Node #0,3,0: 60:[14, 6] Operation: 12/2=6 Exploring Operation: 14-2=12, Resulting Numbers: [12, 12] Generated Node #0,3,1: 60:[12, 12] Operation: 14-2=12 Exploring Operation: 12-2=10, Resulting Numbers: [14, 10] Generated Node #0,3,2: 60:[14, 10] Operation: 12-2=10 Exploring Operation: 14-12=2, Resulting Numbers: [2, 2] Generated Node #0,3,3: 60:[2, 2] Operation: 14-12=2 Exploring Operation: 2+14=16, Resulting Numbers: [12, 16] Generated Node #0,3,4: 60:[12, 16] Operation: 2+14=16 Moving to Node #0,3,1 Current State: 60:[12, 12], Operations: ['61-47=14', '14-2=12'] Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,60 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[2, 2], Operations: ['61-47=14', '14-12=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[14, 6], Operations: ['61-47=14', '12/2=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,60 unequal: No Solution Moving to Node #0,3,2 Current State: 60:[14, 10], Operations: ['61-47=14', '12-2=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,60 unequal: No Solution Moving to Node #0,3,4 Current State: 60:[12, 16], Operations: ['61-47=14', '2+14=16'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,60 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,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:[2, 61, 59], Operations: ['12+47=59'] Exploring Operation: 2+61=63, Resulting Numbers: [59, 63] Generated Node #0,1,0: 60:[59, 63] Operation: 2+61=63 Exploring Operation: 59-2=57, Resulting Numbers: [61, 57] Generated Node #0,1,1: 60:[61, 57] Operation: 59-2=57 Exploring Operation: 61-2=59, Resulting Numbers: [59, 59] Generated Node #0,1,2: 60:[59, 59] Operation: 61-2=59 Exploring Operation: 2+59=61, Resulting Numbers: [61, 61] Generated Node #0,1,3: 60:[61, 61] Operation: 2+59=61 Exploring Operation: 61-59=2, Resulting Numbers: [2, 2] Generated Node #0,1,4: 60:[2, 2] Operation: 61-59=2 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 60:[2, 2], Operations: ['12+47=59', '61-59=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,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,1,2 Current State: 60:[59, 59], Operations: ['12+47=59', '61-2=59'] Exploring Operation: 59+59=118, Resulting Numbers: [118] 118,60 unequal: No Solution Exploring Operation: 59/59=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 59*59=3481, Resulting Numbers: [3481] 3481,60 unequal: No Solution Exploring Operation: 59-59=0, Resulting Numbers: [0] 0,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,1,3 Current State: 60:[61, 61], Operations: ['12+47=59', '2+59=61'] Exploring Operation: 61+61=122, Resulting Numbers: [122] 122,60 unequal: No Solution Exploring Operation: 61*61=3721, Resulting Numbers: [3721] 3721,60 unequal: No Solution Exploring Operation: 61/61=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 61-61=0, Resulting Numbers: [0] 0,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,1,0 Current State: 60:[59, 63], Operations: ['12+47=59', '2+61=63'] Exploring Operation: 59*63=3717, Resulting Numbers: [3717] 3717,60 unequal: No Solution Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 59+63=122, Resulting Numbers: [122] 122,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,1,1 Current State: 60:[61, 57], Operations: ['12+47=59', '59-2=57'] Exploring Operation: 61*57=3477, Resulting Numbers: [3477] 3477,60 unequal: No Solution Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 61+57=118, Resulting Numbers: [118] 118,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[2, 61, 35], Operations: ['47-12=35'] Exploring Operation: 35-2=33, Resulting Numbers: [61, 33] Generated Node #0,2,0: 60:[61, 33] Operation: 35-2=33 Exploring Operation: 61-35=26, Resulting Numbers: [2, 26] Generated Node #0,2,1: 60:[2, 26] Operation: 61-35=26 Exploring Operation: 2+61=63, Resulting Numbers: [35, 63] Generated Node #0,2,2: 60:[35, 63] Operation: 2+61=63 Exploring Operation: 2+35=37, Resulting Numbers: [61, 37] Generated Node #0,2,3: 60:[61, 37] Operation: 2+35=37 Exploring Operation: 61-2=59, Resulting Numbers: [35, 59] Generated Node #0,2,4: 60:[35, 59] Operation: 61-2=59 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[61, 33], Operations: ['47-12=35', '35-2=33'] Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 61*33=2013, Resulting Numbers: [2013] 2013,60 unequal: No Solution Exploring Operation: 61+33=94, Resulting Numbers: [94] 94,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 60:[2, 26], Operations: ['47-12=35', '61-35=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 60:[35, 59], Operations: ['47-12=35', '61-2=59'] Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 35*59=2065, Resulting Numbers: [2065] 2065,60 unequal: No Solution Exploring Operation: 35+59=94, Resulting Numbers: [94] 94,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 60:[35, 63], Operations: ['47-12=35', '2+61=63'] Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,60 unequal: No Solution Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,60 unequal: No Solution Exploring Operation: 63-35=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,2,3 Current State: 60:[61, 37], Operations: ['47-12=35', '2+35=37'] Exploring Operation: 61*37=2257, Resulting Numbers: [2257] 2257,60 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 61+37=98, Resulting Numbers: [98] 98,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[61, 12, 49], Operations: ['2+47=49'] Exploring Operation: 12+49=61, Resulting Numbers: [61, 61] Generated Node #0,0,0: 60:[61, 61] Operation: 12+49=61 Exploring Operation: 61-12=49, Resulting Numbers: [49, 49] Generated Node #0,0,1: 60:[49, 49] Operation: 61-12=49 Exploring Operation: 61+12=73, Resulting Numbers: [49, 73] Generated Node #0,0,2: 60:[49, 73] Operation: 61+12=73 Exploring Operation: 49-12=37, Resulting Numbers: [61, 37] Generated Node #0,0,3: 60:[61, 37] Operation: 49-12=37 Exploring Operation: 61-49=12, Resulting Numbers: [12, 12] Generated Node #0,0,4: 60:[12, 12] Operation: 61-49=12 Moving to Node #0,0,4 Current State: 60:[12, 12], Operations: ['2+47=49', '61-49=12'] Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[61, 61], Operations: ['2+47=49', '12+49=61'] Exploring Operation: 61-61=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 61*61=3721, Resulting Numbers: [3721] 3721,60 unequal: No Solution Exploring Operation: 61/61=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 61+61=122, Resulting Numbers: [122] 122,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[61, 37], Operations: ['2+47=49', '49-12=37'] Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 61*37=2257, Resulting Numbers: [2257] 2257,60 unequal: No Solution Exploring Operation: 61+37=98, Resulting Numbers: [98] 98,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[49, 49], Operations: ['2+47=49', '61-12=49'] Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,60 unequal: No Solution Exploring Operation: 49*49=2401, Resulting Numbers: [2401] 2401,60 unequal: No Solution Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[49, 73], Operations: ['2+47=49', '61+12=73'] Exploring Operation: 49*73=3577, Resulting Numbers: [3577] 3577,60 unequal: No Solution Exploring Operation: 49+73=122, Resulting Numbers: [122] 122,60 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,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,4 Current State: 60:[12, 47, 59], Operations: ['61-2=59'] Exploring Operation: 59-47=12, Resulting Numbers: [12, 12] Generated Node #0,4,0: 60:[12, 12] Operation: 59-47=12 Exploring Operation: 12+59=71, Resulting Numbers: [47, 71] Generated Node #0,4,1: 60:[47, 71] Operation: 12+59=71 Exploring Operation: 47-12=35, Resulting Numbers: [59, 35] Generated Node #0,4,2: 60:[59, 35] Operation: 47-12=35 Exploring Operation: 59-12=47, Resulting Numbers: [47, 47] Generated Node #0,4,3: 60:[47, 47] Operation: 59-12=47 Exploring Operation: 12+47=59, Resulting Numbers: [59, 59] Generated Node #0,4,4: 60:[59, 59] Operation: 12+47=59 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 60:[12, 12], Operations: ['61-2=59', '59-47=12'] Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,60 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,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,4,4 Current State: 60:[59, 59], Operations: ['61-2=59', '12+47=59'] Exploring Operation: 59+59=118, Resulting Numbers: [118] 118,60 unequal: No Solution Exploring Operation: 59*59=3481, Resulting Numbers: [3481] 3481,60 unequal: No Solution Exploring Operation: 59-59=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 59/59=1, Resulting Numbers: [1] 1,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,4,2 Current State: 60:[59, 35], Operations: ['61-2=59', '47-12=35'] Exploring Operation: 59*35=2065, Resulting Numbers: [2065] 2065,60 unequal: No Solution Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 59+35=94, Resulting Numbers: [94] 94,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,4,1 Current State: 60:[47, 71], Operations: ['61-2=59', '12+59=71'] Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 47*71=3337, Resulting Numbers: [3337] 3337,60 unequal: No Solution Exploring Operation: 47+71=118, Resulting Numbers: [118] 118,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,4,3 Current State: 60:[47, 47], Operations: ['61-2=59', '59-12=47'] Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 47*47=2209, Resulting Numbers: [2209] 2209,60 unequal: No Solution Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 7, 3, 34, 15 ]
68
[ "7*15=105", "3+34=37", "105-37=68" ]
Current State: 68:[7, 3, 34, 15], Operations: [] Exploring Operation: 7*15=105, Resulting Numbers: [3, 34, 105] Generated Node #2: [3, 34, 105] from Operation: 7*15=105 Current State: 68:[3, 34, 105], Operations: ['7*15=105'] Exploring Operation: 3+34=37, Resulting Numbers: [105, 37] Generated Node #3: [105, 37] from Operation: 3+34=37 Current State: 68:[105, 37], Operations: ['7*15=105', '3+34=37'] Exploring Operation: 105-37=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[7, 3, 34, 15], Operations: [] Exploring Operation: 15-7=8, Resulting Numbers: [3, 34, 8] Generated Node #0,0: 68:[3, 34, 8] Operation: 15-7=8 Exploring Operation: 3+15=18, Resulting Numbers: [7, 34, 18] Generated Node #0,1: 68:[7, 34, 18] Operation: 3+15=18 Exploring Operation: 15/3=5, Resulting Numbers: [7, 34, 5] Generated Node #0,2: 68:[7, 34, 5] Operation: 15/3=5 Exploring Operation: 7-3=4, Resulting Numbers: [34, 15, 4] Generated Node #0,3: 68:[34, 15, 4] Operation: 7-3=4 Moving to Node #0,3 Current State: 68:[34, 15, 4], Operations: ['7-3=4'] Exploring Operation: 34-4=30, Resulting Numbers: [15, 30] Generated Node #0,3,0: 68:[15, 30] Operation: 34-4=30 Exploring Operation: 34-15=19, Resulting Numbers: [4, 19] Generated Node #0,3,1: 68:[4, 19] Operation: 34-15=19 Exploring Operation: 15+4=19, Resulting Numbers: [34, 19] Generated Node #0,3,2: 68:[34, 19] Operation: 15+4=19 Exploring Operation: 34+4=38, Resulting Numbers: [15, 38] Generated Node #0,3,3: 68:[15, 38] Operation: 34+4=38 Moving to Node #0,2 Current State: 68:[7, 34, 5], Operations: ['15/3=5'] Exploring Operation: 7+5=12, Resulting Numbers: [34, 12] Generated Node #0,2,0: 68:[34, 12] Operation: 7+5=12 Exploring Operation: 7*5=35, Resulting Numbers: [34, 35] Generated Node #0,2,1: 68:[34, 35] Operation: 7*5=35 Exploring Operation: 7-5=2, Resulting Numbers: [34, 2] Generated Node #0,2,2: 68:[34, 2] Operation: 7-5=2 Exploring Operation: 7+34=41, Resulting Numbers: [5, 41] Generated Node #0,2,3: 68:[5, 41] Operation: 7+34=41 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[34, 2], Operations: ['15/3=5', '7-5=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[7, 3, 34, 15], Operations: [] Exploring Operation: 15/3=5, Resulting Numbers: [7, 34, 5] Generated Node #0,2: 68:[7, 34, 5] Operation: 15/3=5 Moving to Node #0,2 Current State: 68:[7, 34, 5], Operations: ['15/3=5'] Exploring Operation: 7-5=2, Resulting Numbers: [34, 2] Generated Node #0,2,2: 68:[34, 2] Operation: 7-5=2 Moving to Node #0,2,2 Current State: 68:[34, 2], Operations: ['15/3=5', '7-5=2'] Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 81, 77, 40, 83 ]
73
[ "81-77=4", "40/4=10", "83-10=73" ]
Current State: 73:[81, 77, 40, 83], Operations: [] Exploring Operation: 81-77=4, Resulting Numbers: [40, 83, 4] Generated Node #2: [40, 83, 4] from Operation: 81-77=4 Current State: 73:[40, 83, 4], Operations: ['81-77=4'] Exploring Operation: 40/4=10, Resulting Numbers: [83, 10] Generated Node #3: [83, 10] from Operation: 40/4=10 Current State: 73:[83, 10], Operations: ['81-77=4', '40/4=10'] Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[81, 77, 40, 83], Operations: [] Exploring Operation: 83-40=43, Resulting Numbers: [81, 77, 43] Generated Node #0,0: 73:[81, 77, 43] Operation: 83-40=43 Moving to Node #0,0 Current State: 73:[81, 77, 43], Operations: ['83-40=43'] Exploring Operation: 81-43=38, Resulting Numbers: [77, 38] Generated Node #0,0,0: 73:[77, 38] Operation: 81-43=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[77, 38], Operations: ['83-40=43', '81-43=38'] Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,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
[ 78, 12, 42, 76 ]
28
[ "78+12=90", "42+76=118", "118-90=28" ]
Current State: 28:[78, 12, 42, 76], Operations: [] Exploring Operation: 78+12=90, Resulting Numbers: [42, 76, 90] Generated Node #2: [42, 76, 90] from Operation: 78+12=90 Current State: 28:[42, 76, 90], Operations: ['78+12=90'] Exploring Operation: 42+76=118, Resulting Numbers: [90, 118] Generated Node #3: [90, 118] from Operation: 42+76=118 Current State: 28:[90, 118], Operations: ['78+12=90', '42+76=118'] Exploring Operation: 118-90=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[78, 12, 42, 76], Operations: [] Exploring Operation: 78-12=66, Resulting Numbers: [42, 76, 66] Generated Node #0,0: 28:[42, 76, 66] Operation: 78-12=66 Exploring Operation: 78-76=2, Resulting Numbers: [12, 42, 2] Generated Node #0,1: 28:[12, 42, 2] Operation: 78-76=2 Exploring Operation: 78-42=36, Resulting Numbers: [12, 76, 36] Generated Node #0,2: 28:[12, 76, 36] Operation: 78-42=36 Exploring Operation: 76-42=34, Resulting Numbers: [78, 12, 34] Generated Node #0,3: 28:[78, 12, 34] Operation: 76-42=34 Moving to Node #0,1 Current State: 28:[12, 42, 2], Operations: ['78-76=2'] Exploring Operation: 42-2=40, Resulting Numbers: [12, 40] Generated Node #0,1,0: 28:[12, 40] Operation: 42-2=40 Exploring Operation: 42/2=21, Resulting Numbers: [12, 21] Generated Node #0,1,1: 28:[12, 21] Operation: 42/2=21 Exploring Operation: 42-12=30, Resulting Numbers: [2, 30] Generated Node #0,1,2: 28:[2, 30] Operation: 42-12=30 Exploring Operation: 12+2=14, Resulting Numbers: [42, 14] Generated Node #0,1,3: 28:[42, 14] Operation: 12+2=14 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[2, 30], Operations: ['78-76=2', '42-12=30'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[78, 12, 42, 76], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [12, 42, 2] Generated Node #0,1: 28:[12, 42, 2] Operation: 78-76=2 Moving to Node #0,1 Current State: 28:[12, 42, 2], Operations: ['78-76=2'] Exploring Operation: 42-12=30, Resulting Numbers: [2, 30] Generated Node #0,1,2: 28:[2, 30] Operation: 42-12=30 Moving to Node #0,1,2 Current State: 28:[2, 30], Operations: ['78-76=2', '42-12=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 74, 43, 40, 21 ]
56
[ "74+43=117", "40+21=61", "117-61=56" ]
Current State: 56:[74, 43, 40, 21], Operations: [] Exploring Operation: 74+43=117, Resulting Numbers: [40, 21, 117] Generated Node #2: [40, 21, 117] from Operation: 74+43=117 Current State: 56:[40, 21, 117], Operations: ['74+43=117'] Exploring Operation: 40+21=61, Resulting Numbers: [117, 61] Generated Node #3: [117, 61] from Operation: 40+21=61 Current State: 56:[117, 61], Operations: ['74+43=117', '40+21=61'] Exploring Operation: 117-61=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[74, 43, 40, 21], Operations: [] Exploring Operation: 74-43=31, Resulting Numbers: [40, 21, 31] Generated Node #0,0: 56:[40, 21, 31] Operation: 74-43=31 Exploring Operation: 74-40=34, Resulting Numbers: [43, 21, 34] Generated Node #0,1: 56:[43, 21, 34] Operation: 74-40=34 Exploring Operation: 74-21=53, Resulting Numbers: [43, 40, 53] Generated Node #0,2: 56:[43, 40, 53] Operation: 74-21=53 Exploring Operation: 43-40=3, Resulting Numbers: [74, 21, 3] Generated Node #0,3: 56:[74, 21, 3] Operation: 43-40=3 Moving to Node #0,0 Current State: 56:[40, 21, 31], Operations: ['74-43=31'] Exploring Operation: 31-21=10, Resulting Numbers: [40, 10] Generated Node #0,0,0: 56:[40, 10] Operation: 31-21=10 Exploring Operation: 40-31=9, Resulting Numbers: [21, 9] Generated Node #0,0,1: 56:[21, 9] Operation: 40-31=9 Exploring Operation: 40+21=61, Resulting Numbers: [31, 61] Generated Node #0,0,2: 56:[31, 61] Operation: 40+21=61 Exploring Operation: 40-21=19, Resulting Numbers: [31, 19] Generated Node #0,0,3: 56:[31, 19] Operation: 40-21=19 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[21, 9], Operations: ['74-43=31', '40-31=9'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[31, 61], Operations: ['74-43=31', '40+21=61'] Exploring Operation: 31+61=92, Resulting Numbers: [92] 92,56 unequal: No Solution Exploring Operation: 31*61=1891, Resulting Numbers: [1891] 1891,56 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[31, 19], Operations: ['74-43=31', '40-21=19'] Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,56 unequal: No Solution Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,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:[40, 10], Operations: ['74-43=31', '31-21=10'] Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 40*10=400, Resulting Numbers: [400] 400,56 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: 56:[74, 21, 3], Operations: ['43-40=3'] Exploring Operation: 74-21=53, Resulting Numbers: [3, 53] Generated Node #0,3,0: 56:[3, 53] Operation: 74-21=53 Exploring Operation: 21+3=24, Resulting Numbers: [74, 24] Generated Node #0,3,1: 56:[74, 24] Operation: 21+3=24 Exploring Operation: 21/3=7, Resulting Numbers: [74, 7] Generated Node #0,3,2: 56:[74, 7] Operation: 21/3=7 Exploring Operation: 74-3=71, Resulting Numbers: [21, 71] Generated Node #0,3,3: 56:[21, 71] Operation: 74-3=71 Moving to Node #0,1 Current State: 56:[43, 21, 34], Operations: ['74-40=34'] Exploring Operation: 43-21=22, Resulting Numbers: [34, 22] Generated Node #0,1,0: 56:[34, 22] Operation: 43-21=22 Exploring Operation: 43+21=64, Resulting Numbers: [34, 64] Generated Node #0,1,1: 56:[34, 64] Operation: 43+21=64 Exploring Operation: 43-34=9, Resulting Numbers: [21, 9] Generated Node #0,1,2: 56:[21, 9] Operation: 43-34=9 Exploring Operation: 21+34=55, Resulting Numbers: [43, 55] Generated Node #0,1,3: 56:[43, 55] Operation: 21+34=55 Moving to Node #0,2 Current State: 56:[43, 40, 53], Operations: ['74-21=53'] Exploring Operation: 53-43=10, Resulting Numbers: [40, 10] Generated Node #0,2,0: 56:[40, 10] Operation: 53-43=10 Exploring Operation: 53-40=13, Resulting Numbers: [43, 13] Generated Node #0,2,1: 56:[43, 13] Operation: 53-40=13 Exploring Operation: 43+40=83, Resulting Numbers: [53, 83] Generated Node #0,2,2: 56:[53, 83] Operation: 43+40=83 Exploring Operation: 43-40=3, Resulting Numbers: [53, 3] Generated Node #0,2,3: 56:[53, 3] Operation: 43-40=3 Moving to Node #0,3,0 Current State: 56:[3, 53], Operations: ['43-40=3', '74-21=53'] Exploring Operation: 3*53=159, Resulting Numbers: [159] 159,56 unequal: No Solution Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[74, 43, 40, 21], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [74, 21, 3] Generated Node #0,3: 56:[74, 21, 3] Operation: 43-40=3 Moving to Node #0,3 Current State: 56:[74, 21, 3], Operations: ['43-40=3'] Exploring Operation: 74-21=53, Resulting Numbers: [3, 53] Generated Node #0,3,0: 56:[3, 53] Operation: 74-21=53 Moving to Node #0,3,0 Current State: 56:[3, 53], Operations: ['43-40=3', '74-21=53'] Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.966146
hs_4
sum_heuristic
[ 52, 5, 83, 45 ]
95
[ "52+5=57", "83-45=38", "57+38=95" ]
Current State: 95:[52, 5, 83, 45], Operations: [] Exploring Operation: 52+5=57, Resulting Numbers: [83, 45, 57] Generated Node #2: [83, 45, 57] from Operation: 52+5=57 Current State: 95:[83, 45, 57], Operations: ['52+5=57'] Exploring Operation: 83-45=38, Resulting Numbers: [57, 38] Generated Node #3: [57, 38] from Operation: 83-45=38 Current State: 95:[57, 38], Operations: ['52+5=57', '83-45=38'] Exploring Operation: 57+38=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[52, 5, 83, 45], Operations: [] Exploring Operation: 52-45=7, Resulting Numbers: [5, 83, 7] Generated Node #0,0: 95:[5, 83, 7] Operation: 52-45=7 Exploring Operation: 83-52=31, Resulting Numbers: [5, 45, 31] Generated Node #0,1: 95:[5, 45, 31] Operation: 83-52=31 Exploring Operation: 52+45=97, Resulting Numbers: [5, 83, 97] Generated Node #0,2: 95:[5, 83, 97] Operation: 52+45=97 Exploring Operation: 45/5=9, Resulting Numbers: [52, 83, 9] Generated Node #0,3: 95:[52, 83, 9] Operation: 45/5=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[5, 83, 7], Operations: ['52-45=7'] Exploring Operation: 7-5=2, Resulting Numbers: [83, 2] Generated Node #0,0,0: 95:[83, 2] Operation: 7-5=2 Exploring Operation: 83+7=90, Resulting Numbers: [5, 90] Generated Node #0,0,1: 95:[5, 90] Operation: 83+7=90 Exploring Operation: 5+83=88, Resulting Numbers: [7, 88] Generated Node #0,0,2: 95:[7, 88] Operation: 5+83=88 Exploring Operation: 83-5=78, Resulting Numbers: [7, 78] Generated Node #0,0,3: 95:[7, 78] Operation: 83-5=78 Moving to Node #0,0,1 Current State: 95:[5, 90], Operations: ['52-45=7', '83+7=90'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,95 unequal: No Solution Exploring Operation: 5*90=450, Resulting Numbers: [450] 450,95 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,95 unequal: No Solution Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[52, 5, 83, 45], Operations: [] Exploring Operation: 52-45=7, Resulting Numbers: [5, 83, 7] Generated Node #0,0: 95:[5, 83, 7] Operation: 52-45=7 Moving to Node #0,0 Current State: 95:[5, 83, 7], Operations: ['52-45=7'] Exploring Operation: 83+7=90, Resulting Numbers: [5, 90] Generated Node #0,0,1: 95:[5, 90] Operation: 83+7=90 Moving to Node #0,0,1 Current State: 95:[5, 90], Operations: ['52-45=7', '83+7=90'] Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 58, 69, 13, 33 ]
57
[ "69-58=11", "13+33=46", "11+46=57" ]
Current State: 57:[58, 69, 13, 33], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [13, 33, 11] Generated Node #2: [13, 33, 11] from Operation: 69-58=11 Current State: 57:[13, 33, 11], Operations: ['69-58=11'] Exploring Operation: 13+33=46, Resulting Numbers: [11, 46] Generated Node #3: [11, 46] from Operation: 13+33=46 Current State: 57:[11, 46], Operations: ['69-58=11', '13+33=46'] Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[58, 69, 13, 33], Operations: [] Exploring Operation: 69-13=56, Resulting Numbers: [58, 33, 56] Generated Node #0,0: 57:[58, 33, 56] Operation: 69-13=56 Exploring Operation: 58-33=25, Resulting Numbers: [69, 13, 25] Generated Node #0,1: 57:[69, 13, 25] Operation: 58-33=25 Exploring Operation: 33-13=20, Resulting Numbers: [58, 69, 20] Generated Node #0,2: 57:[58, 69, 20] Operation: 33-13=20 Moving to Node #0,2 Current State: 57:[58, 69, 20], Operations: ['33-13=20'] Exploring Operation: 69-58=11, Resulting Numbers: [20, 11] Generated Node #0,2,0: 57:[20, 11] Operation: 69-58=11 Exploring Operation: 58-20=38, Resulting Numbers: [69, 38] Generated Node #0,2,1: 57:[69, 38] Operation: 58-20=38 Exploring Operation: 69-20=49, Resulting Numbers: [58, 49] Generated Node #0,2,2: 57:[58, 49] Operation: 69-20=49 Moving to Node #0,0 Current State: 57:[58, 33, 56], Operations: ['69-13=56'] Exploring Operation: 58-56=2, Resulting Numbers: [33, 2] Generated Node #0,0,0: 57:[33, 2] Operation: 58-56=2 Exploring Operation: 58-33=25, Resulting Numbers: [56, 25] Generated Node #0,0,1: 57:[56, 25] Operation: 58-33=25 Exploring Operation: 56-33=23, Resulting Numbers: [58, 23] Generated Node #0,0,2: 57:[58, 23] Operation: 56-33=23 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[58, 23], Operations: ['69-13=56', '56-33=23'] Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,57 unequal: No Solution Exploring Operation: 58*23=1334, Resulting Numbers: [1334] 1334,57 unequal: No Solution Exploring Operation: 58+23=81, Resulting Numbers: [81] 81,57 unequal: No Solution No 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: 57:[56, 25], Operations: ['69-13=56', '58-33=25'] Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,57 unequal: No Solution Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,57 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,57 unequal: No Solution No 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: 57:[33, 2], Operations: ['69-13=56', '58-56=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,57 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,57 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: 57:[69, 13, 25], Operations: ['58-33=25'] Exploring Operation: 69-25=44, Resulting Numbers: [13, 44] Generated Node #0,1,0: 57:[13, 44] Operation: 69-25=44 Exploring Operation: 69-13=56, Resulting Numbers: [25, 56] Generated Node #0,1,1: 57:[25, 56] Operation: 69-13=56 Exploring Operation: 25-13=12, Resulting Numbers: [69, 12] Generated Node #0,1,2: 57:[69, 12] Operation: 25-13=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[25, 56], Operations: ['58-33=25', '69-13=56'] Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,57 unequal: No Solution Exploring Operation: 25*56=1400, Resulting Numbers: [1400] 1400,57 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,57 unequal: No Solution No 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: 57:[13, 44], Operations: ['58-33=25', '69-25=44'] Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[58, 69, 13, 33], Operations: [] Exploring Operation: 58-33=25, Resulting Numbers: [69, 13, 25] Generated Node #0,1: 57:[69, 13, 25] Operation: 58-33=25 Moving to Node #0,1 Current State: 57:[69, 13, 25], Operations: ['58-33=25'] Exploring Operation: 69-25=44, Resulting Numbers: [13, 44] Generated Node #0,1,0: 57:[13, 44] Operation: 69-25=44 Moving to Node #0,1,0 Current State: 57:[13, 44], Operations: ['58-33=25', '69-25=44'] Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_3
mult_heuristic
[ 40, 40, 64, 20 ]
48
[ "64-40=24", "40/20=2", "24*2=48" ]
Current State: 48:[40, 40, 64, 20], Operations: [] Exploring Operation: 64-40=24, Resulting Numbers: [20, 24] Generated Node #2: [20, 24] from Operation: 64-40=24 Current State: 48:[20, 24], Operations: ['64-40=24'] Exploring Operation: 40/20=2, Resulting Numbers: [24, 2] Generated Node #3: [24, 2] from Operation: 40/20=2 Current State: 48:[24, 2], Operations: ['64-40=24', '40/20=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[40, 40, 64, 20], Operations: [] Exploring Operation: 64-40=24, Resulting Numbers: [40, 20, 24] Generated Node #0,0: 48:[40, 20, 24] Operation: 64-40=24 Exploring Operation: 64-40=24, Resulting Numbers: [40, 20, 24] Generated Node #0,1: 48:[40, 20, 24] Operation: 64-40=24 Exploring Operation: 64-20=44, Resulting Numbers: [40, 40, 44] Generated Node #0,2: 48:[40, 40, 44] Operation: 64-20=44 Moving to Node #0,0 Current State: 48:[40, 20, 24], Operations: ['64-40=24'] Exploring Operation: 40-20=20, Resulting Numbers: [24, 20] Generated Node #0,0,0: 48:[24, 20] Operation: 40-20=20 Exploring Operation: 40-24=16, Resulting Numbers: [20, 16] Generated Node #0,0,1: 48:[20, 16] Operation: 40-24=16 Exploring Operation: 40/20=2, Resulting Numbers: [24, 2] Generated Node #0,0,2: 48:[24, 2] Operation: 40/20=2 Moving to Node #0,1 Current State: 48:[40, 20, 24], Operations: ['64-40=24'] Exploring Operation: 40-24=16, Resulting Numbers: [20, 16] Generated Node #0,1,0: 48:[20, 16] Operation: 40-24=16 Exploring Operation: 40-20=20, Resulting Numbers: [24, 20] Generated Node #0,1,1: 48:[24, 20] Operation: 40-20=20 Exploring Operation: 40/20=2, Resulting Numbers: [24, 2] Generated Node #0,1,2: 48:[24, 2] Operation: 40/20=2 Moving to Node #0,2 Current State: 48:[40, 40, 44], Operations: ['64-20=44'] Exploring Operation: 44-40=4, Resulting Numbers: [40, 4] Generated Node #0,2,0: 48:[40, 4] Operation: 44-40=4 Exploring Operation: 40/40=1, Resulting Numbers: [44, 1] Generated Node #0,2,1: 48:[44, 1] Operation: 40/40=1 Exploring Operation: 40-40=0, Resulting Numbers: [44, 0] Generated Node #0,2,2: 48:[44, 0] Operation: 40-40=0 Moving to Node #0,0,2 Current State: 48:[24, 2], Operations: ['64-40=24', '40/20=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[40, 40, 64, 20], Operations: [] Exploring Operation: 64-40=24, Resulting Numbers: [40, 20, 24] Generated Node #0,0: 48:[40, 20, 24] Operation: 64-40=24 Moving to Node #0,0 Current State: 48:[40, 20, 24], Operations: ['64-40=24'] Exploring Operation: 40/20=2, Resulting Numbers: [24, 2] Generated Node #0,0,2: 48:[24, 2] Operation: 40/20=2 Moving to Node #0,0,2 Current State: 48:[24, 2], Operations: ['64-40=24', '40/20=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.984375
hs_3
sum_heuristic
[ 79, 3, 39, 72 ]
42
[ "39+72=111", "111/3=37", "79-37=42" ]
Current State: 42:[79, 3, 39, 72], Operations: [] Exploring Operation: 39+72=111, Resulting Numbers: [79, 3, 111] Generated Node #2: [79, 3, 111] from Operation: 39+72=111 Current State: 42:[79, 3, 111], Operations: ['39+72=111'] Exploring Operation: 111/3=37, Resulting Numbers: [79, 37] Generated Node #3: [79, 37] from Operation: 111/3=37 Current State: 42:[79, 37], Operations: ['39+72=111', '111/3=37'] Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[79, 3, 39, 72], Operations: [] Exploring Operation: 79-72=7, Resulting Numbers: [3, 39, 7] Generated Node #0,0: 42:[3, 39, 7] Operation: 79-72=7 Exploring Operation: 72/3=24, Resulting Numbers: [79, 39, 24] Generated Node #0,1: 42:[79, 39, 24] Operation: 72/3=24 Exploring Operation: 79-39=40, Resulting Numbers: [3, 72, 40] Generated Node #0,2: 42:[3, 72, 40] Operation: 79-39=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[3, 39, 7], Operations: ['79-72=7'] Exploring Operation: 39/3=13, Resulting Numbers: [7, 13] Generated Node #0,0,0: 42:[7, 13] Operation: 39/3=13 Exploring Operation: 3*7=21, Resulting Numbers: [39, 21] Generated Node #0,0,1: 42:[39, 21] Operation: 3*7=21 Exploring Operation: 3+39=42, Resulting Numbers: [7, 42] Generated Node #0,0,2: 42:[7, 42] Operation: 3+39=42 Moving to Node #0,0,2 Current State: 42:[7, 42], Operations: ['79-72=7', '3+39=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[7, 13], Operations: ['79-72=7', '39/3=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[39, 21], Operations: ['79-72=7', '3*7=21'] Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,42 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[3, 72, 40], Operations: ['79-39=40'] Exploring Operation: 72/3=24, Resulting Numbers: [40, 24] Generated Node #0,2,0: 42:[40, 24] Operation: 72/3=24 Exploring Operation: 72-3=69, Resulting Numbers: [40, 69] Generated Node #0,2,1: 42:[40, 69] Operation: 72-3=69 Exploring Operation: 72-40=32, Resulting Numbers: [3, 32] Generated Node #0,2,2: 42:[3, 32] Operation: 72-40=32 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 42:[40, 24], Operations: ['79-39=40', '72/3=24'] Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,42 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 42:[3, 32], Operations: ['79-39=40', '72-40=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 42:[40, 69], Operations: ['79-39=40', '72-3=69'] Exploring Operation: 40+69=109, Resulting Numbers: [109] 109,42 unequal: No Solution Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 40*69=2760, Resulting Numbers: [2760] 2760,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[79, 39, 24], Operations: ['72/3=24'] Exploring Operation: 79-39=40, Resulting Numbers: [24, 40] Generated Node #0,1,0: 42:[24, 40] Operation: 79-39=40 Exploring Operation: 39-24=15, Resulting Numbers: [79, 15] Generated Node #0,1,1: 42:[79, 15] Operation: 39-24=15 Exploring Operation: 79-24=55, Resulting Numbers: [39, 55] Generated Node #0,1,2: 42:[39, 55] Operation: 79-24=55 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[24, 40], Operations: ['72/3=24', '79-39=40'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 24*40=960, Resulting Numbers: [960] 960,42 unequal: No Solution Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[39, 55], Operations: ['72/3=24', '79-24=55'] Exploring Operation: 39*55=2145, Resulting Numbers: [2145] 2145,42 unequal: No Solution Exploring Operation: 39+55=94, Resulting Numbers: [94] 94,42 unequal: No Solution Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[79, 15], Operations: ['72/3=24', '39-24=15'] Exploring Operation: 79*15=1185, Resulting Numbers: [1185] 1185,42 unequal: No Solution Exploring Operation: 79+15=94, Resulting Numbers: [94] 94,42 unequal: No Solution Exploring Operation: 79-15=64, Resulting Numbers: [64] 64,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 72, 54, 64, 80 ]
44
[ "72-64=8", "80/8=10", "54-10=44" ]
Current State: 44:[72, 54, 64, 80], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [54, 80, 8] Generated Node #2: [54, 80, 8] from Operation: 72-64=8 Current State: 44:[54, 80, 8], Operations: ['72-64=8'] Exploring Operation: 80/8=10, Resulting Numbers: [54, 10] Generated Node #3: [54, 10] from Operation: 80/8=10 Current State: 44:[54, 10], Operations: ['72-64=8', '80/8=10'] Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[72, 54, 64, 80], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [54, 80, 8] Generated Node #0,0: 44:[54, 80, 8] Operation: 72-64=8 Exploring Operation: 80-72=8, Resulting Numbers: [54, 64, 8] Generated Node #0,1: 44:[54, 64, 8] Operation: 80-72=8 Exploring Operation: 80-54=26, Resulting Numbers: [72, 64, 26] Generated Node #0,2: 44:[72, 64, 26] Operation: 80-54=26 Exploring Operation: 80-64=16, Resulting Numbers: [72, 54, 16] Generated Node #0,3: 44:[72, 54, 16] Operation: 80-64=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[54, 64, 8], Operations: ['80-72=8'] Exploring Operation: 64-8=56, Resulting Numbers: [54, 56] Generated Node #0,1,0: 44:[54, 56] Operation: 64-8=56 Exploring Operation: 64/8=8, Resulting Numbers: [54, 8] Generated Node #0,1,1: 44:[54, 8] Operation: 64/8=8 Exploring Operation: 64-54=10, Resulting Numbers: [8, 10] Generated Node #0,1,2: 44:[8, 10] Operation: 64-54=10 Exploring Operation: 54-8=46, Resulting Numbers: [64, 46] Generated Node #0,1,3: 44:[64, 46] Operation: 54-8=46 Moving to Node #0,1,2 Current State: 44:[8, 10], Operations: ['80-72=8', '64-54=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,44 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[54, 8], Operations: ['80-72=8', '64/8=8'] Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[64, 46], Operations: ['80-72=8', '54-8=46'] Exploring Operation: 64+46=110, Resulting Numbers: [110] 110,44 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 64*46=2944, Resulting Numbers: [2944] 2944,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[54, 56], Operations: ['80-72=8', '64-8=56'] Exploring Operation: 54*56=3024, Resulting Numbers: [3024] 3024,44 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 54+56=110, Resulting Numbers: [110] 110,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[72, 54, 16], Operations: ['80-64=16'] Exploring Operation: 72-16=56, Resulting Numbers: [54, 56] Generated Node #0,3,0: 44:[54, 56] Operation: 72-16=56 Exploring Operation: 72-54=18, Resulting Numbers: [16, 18] Generated Node #0,3,1: 44:[16, 18] Operation: 72-54=18 Exploring Operation: 72+16=88, Resulting Numbers: [54, 88] Generated Node #0,3,2: 44:[54, 88] Operation: 72+16=88 Exploring Operation: 54-16=38, Resulting Numbers: [72, 38] Generated Node #0,3,3: 44:[72, 38] Operation: 54-16=38 Moving to Node #0,3,1 Current State: 44:[16, 18], Operations: ['80-64=16', '72-54=18'] Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,44 unequal: No Solution Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[54, 56], Operations: ['80-64=16', '72-16=56'] Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 54*56=3024, Resulting Numbers: [3024] 3024,44 unequal: No Solution Exploring Operation: 54+56=110, Resulting Numbers: [110] 110,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[72, 38], Operations: ['80-64=16', '54-16=38'] Exploring Operation: 72+38=110, Resulting Numbers: [110] 110,44 unequal: No Solution Exploring Operation: 72*38=2736, Resulting Numbers: [2736] 2736,44 unequal: No Solution Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[54, 88], Operations: ['80-64=16', '72+16=88'] Exploring Operation: 54*88=4752, Resulting Numbers: [4752] 4752,44 unequal: No Solution Exploring Operation: 54+88=142, Resulting Numbers: [142] 142,44 unequal: No Solution Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[54, 80, 8], Operations: ['72-64=8'] Exploring Operation: 80/8=10, Resulting Numbers: [54, 10] Generated Node #0,0,0: 44:[54, 10] Operation: 80/8=10 Exploring Operation: 80-54=26, Resulting Numbers: [8, 26] Generated Node #0,0,1: 44:[8, 26] Operation: 80-54=26 Exploring Operation: 54-8=46, Resulting Numbers: [80, 46] Generated Node #0,0,2: 44:[80, 46] Operation: 54-8=46 Exploring Operation: 80-8=72, Resulting Numbers: [54, 72] Generated Node #0,0,3: 44:[54, 72] Operation: 80-8=72 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[8, 26], Operations: ['72-64=8', '80-54=26'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[54, 10], Operations: ['72-64=8', '80/8=10'] Exploring Operation: 54+10=64, Resulting Numbers: [64] 64,44 unequal: No Solution Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[72, 54, 64, 80], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [54, 80, 8] Generated Node #0,0: 44:[54, 80, 8] Operation: 72-64=8 Moving to Node #0,0 Current State: 44:[54, 80, 8], Operations: ['72-64=8'] Exploring Operation: 80/8=10, Resulting Numbers: [54, 10] Generated Node #0,0,0: 44:[54, 10] Operation: 80/8=10 Moving to Node #0,0,0 Current State: 44:[54, 10], Operations: ['72-64=8', '80/8=10'] Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.957465
hs_4
mult_heuristic
[ 92, 9, 89, 25 ]
22
[ "92-89=3", "9/3=3", "25-3=22" ]
Current State: 22:[92, 9, 89, 25], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [9, 25, 3] Generated Node #2: [9, 25, 3] from Operation: 92-89=3 Current State: 22:[9, 25, 3], Operations: ['92-89=3'] Exploring Operation: 9/3=3, Resulting Numbers: [25, 3] Generated Node #3: [25, 3] from Operation: 9/3=3 Current State: 22:[25, 3], Operations: ['92-89=3', '9/3=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[92, 9, 89, 25], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [9, 25, 3] Generated Node #0,0: 22:[9, 25, 3] Operation: 92-89=3 Exploring Operation: 89-25=64, Resulting Numbers: [92, 9, 64] Generated Node #0,1: 22:[92, 9, 64] Operation: 89-25=64 Exploring Operation: 92-25=67, Resulting Numbers: [9, 89, 67] Generated Node #0,2: 22:[9, 89, 67] Operation: 92-25=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[9, 25, 3], Operations: ['92-89=3'] Exploring Operation: 9/3=3, Resulting Numbers: [25, 3] Generated Node #0,0,0: 22:[25, 3] Operation: 9/3=3 Exploring Operation: 25-3=22, Resulting Numbers: [9, 22] Generated Node #0,0,1: 22:[9, 22] Operation: 25-3=22 Exploring Operation: 9+3=12, Resulting Numbers: [25, 12] Generated Node #0,0,2: 22:[25, 12] Operation: 9+3=12 Moving to Node #0,0,1 Current State: 22:[9, 22], Operations: ['92-89=3', '25-3=22'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[25, 3], Operations: ['92-89=3', '9/3=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,22 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[92, 9, 89, 25], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [9, 25, 3] Generated Node #0,0: 22:[9, 25, 3] Operation: 92-89=3 Moving to Node #0,0 Current State: 22:[9, 25, 3], Operations: ['92-89=3'] Exploring Operation: 9/3=3, Resulting Numbers: [25, 3] Generated Node #0,0,0: 22:[25, 3] Operation: 9/3=3 Moving to Node #0,0,0 Current State: 22:[25, 3], Operations: ['92-89=3', '9/3=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 57, 81, 84, 15 ]
52
[ "84-81=3", "15/3=5", "57-5=52" ]
Current State: 52:[57, 81, 84, 15], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [57, 15, 3] Generated Node #2: [57, 15, 3] from Operation: 84-81=3 Current State: 52:[57, 15, 3], Operations: ['84-81=3'] Exploring Operation: 15/3=5, Resulting Numbers: [57, 5] Generated Node #3: [57, 5] from Operation: 15/3=5 Current State: 52:[57, 5], Operations: ['84-81=3', '15/3=5'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[57, 81, 84, 15], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [57, 15, 3] Generated Node #0,0: 52:[57, 15, 3] Operation: 84-81=3 Moving to Node #0,0 Current State: 52:[57, 15, 3], Operations: ['84-81=3'] Exploring Operation: 57-3=54, Resulting Numbers: [15, 54] Generated Node #0,0,0: 52:[15, 54] Operation: 57-3=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[15, 54], Operations: ['84-81=3', '57-3=54'] Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,52 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
[ 38, 60, 7, 98 ]
84
[ "38+60=98", "98/7=14", "98-14=84" ]
Current State: 84:[38, 60, 7, 98], Operations: [] Exploring Operation: 38+60=98, Resulting Numbers: [7, 98, 98] Generated Node #2: [7, 98, 98] from Operation: 38+60=98 Current State: 84:[7, 98, 98], Operations: ['38+60=98'] Exploring Operation: 98/7=14, Resulting Numbers: [14] 14,84 equal: Goal Reached Exploring Operation: 98-14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[38, 60, 7, 98], Operations: [] Exploring Operation: 60-38=22, Resulting Numbers: [7, 98, 22] Generated Node #0,0: 84:[7, 98, 22] Operation: 60-38=22 Exploring Operation: 98/7=14, Resulting Numbers: [38, 60, 14] Generated Node #0,1: 84:[38, 60, 14] Operation: 98/7=14 Exploring Operation: 98-60=38, Resulting Numbers: [38, 7, 38] Generated Node #0,2: 84:[38, 7, 38] Operation: 98-60=38 Moving to Node #0,2 Current State: 84:[38, 7, 38], Operations: ['98-60=38'] Exploring Operation: 38+7=45, Resulting Numbers: [38, 45] Generated Node #0,2,0: 84:[38, 45] Operation: 38+7=45 Exploring Operation: 38-38=0, Resulting Numbers: [7, 0] Generated Node #0,2,1: 84:[7, 0] Operation: 38-38=0 Exploring Operation: 38/38=1, Resulting Numbers: [7, 1] Generated Node #0,2,2: 84:[7, 1] Operation: 38/38=1 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[7, 1], Operations: ['98-60=38', '38/38=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[7, 0], Operations: ['98-60=38', '38-38=0'] Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[38, 45], Operations: ['98-60=38', '38+7=45'] Exploring Operation: 38+45=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 38*45=1710, Resulting Numbers: [1710] 1710,84 unequal: No Solution Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 84:[7, 98, 22], Operations: ['60-38=22'] Exploring Operation: 98/7=14, Resulting Numbers: [22, 14] Generated Node #0,0,0: 84:[22, 14] Operation: 98/7=14 Exploring Operation: 98-22=76, Resulting Numbers: [7, 76] Generated Node #0,0,1: 84:[7, 76] Operation: 98-22=76 Exploring Operation: 98-7=91, Resulting Numbers: [22, 91] Generated Node #0,0,2: 84:[22, 91] Operation: 98-7=91 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[22, 14], Operations: ['60-38=22', '98/7=14'] Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 22*14=308, Resulting Numbers: [308] 308,84 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[7, 76], Operations: ['60-38=22', '98-22=76'] Exploring Operation: 7*76=532, Resulting Numbers: [532] 532,84 unequal: No Solution Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,84 unequal: No Solution Exploring Operation: 7+76=83, Resulting Numbers: [83] 83,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[22, 91], Operations: ['60-38=22', '98-7=91'] Exploring Operation: 22*91=2002, Resulting Numbers: [2002] 2002,84 unequal: No Solution Exploring Operation: 22+91=113, Resulting Numbers: [113] 113,84 unequal: No Solution Exploring Operation: 91-22=69, Resulting Numbers: [69] 69,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 84:[38, 60, 14], Operations: ['98/7=14'] Exploring Operation: 60-38=22, Resulting Numbers: [14, 22] Generated Node #0,1,0: 84:[14, 22] Operation: 60-38=22 Exploring Operation: 60-14=46, Resulting Numbers: [38, 46] Generated Node #0,1,1: 84:[38, 46] Operation: 60-14=46 Exploring Operation: 38+60=98, Resulting Numbers: [14, 98] Generated Node #0,1,2: 84:[14, 98] Operation: 38+60=98 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[14, 22], Operations: ['98/7=14', '60-38=22'] Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,84 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[38, 46], Operations: ['98/7=14', '60-14=46'] Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[38, 60, 7, 98], Operations: [] Exploring Operation: 98/7=14, Resulting Numbers: [38, 60, 14] Generated Node #0,1: 84:[38, 60, 14] Operation: 98/7=14 Moving to Node #0,1 Current State: 84:[38, 60, 14], Operations: ['98/7=14'] Exploring Operation: 60-14=46, Resulting Numbers: [38, 46] Generated Node #0,1,1: 84:[38, 46] Operation: 60-14=46 Moving to Node #0,1,1 Current State: 84:[38, 46], Operations: ['98/7=14', '60-14=46'] Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_3
sum_heuristic
[ 55, 68, 93, 59 ]
100
[ "59-55=4", "93-68=25", "4*25=100" ]
Current State: 100:[55, 68, 93, 59], Operations: [] Exploring Operation: 59-55=4, Resulting Numbers: [68, 93, 4] Generated Node #2: [68, 93, 4] from Operation: 59-55=4 Current State: 100:[68, 93, 4], Operations: ['59-55=4'] Exploring Operation: 93-68=25, Resulting Numbers: [4, 25] Generated Node #3: [4, 25] from Operation: 93-68=25 Current State: 100:[4, 25], Operations: ['59-55=4', '93-68=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[55, 68, 93, 59], Operations: [] Exploring Operation: 68-59=9, Resulting Numbers: [55, 93, 9] Generated Node #0,0: 100:[55, 93, 9] Operation: 68-59=9 Moving to Node #0,0 Current State: 100:[55, 93, 9], Operations: ['68-59=9'] Exploring Operation: 93+9=102, Resulting Numbers: [55, 102] Generated Node #0,0,0: 100:[55, 102] Operation: 93+9=102 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[55, 102], Operations: ['68-59=9', '93+9=102'] Exploring Operation: 102-55=47, Resulting Numbers: [47] 47,100 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
[ 73, 48, 93, 65 ]
99
[ "73-65=8", "48/8=6", "93+6=99" ]
Current State: 99:[73, 48, 93, 65], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [48, 93, 8] Generated Node #2: [48, 93, 8] from Operation: 73-65=8 Current State: 99:[48, 93, 8], Operations: ['73-65=8'] Exploring Operation: 48/8=6, Resulting Numbers: [93, 6] Generated Node #3: [93, 6] from Operation: 48/8=6 Current State: 99:[93, 6], Operations: ['73-65=8', '48/8=6'] Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[73, 48, 93, 65], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [48, 93, 8] Generated Node #0,0: 99:[48, 93, 8] Operation: 73-65=8 Exploring Operation: 65-48=17, Resulting Numbers: [73, 93, 17] Generated Node #0,1: 99:[73, 93, 17] Operation: 65-48=17 Exploring Operation: 73-48=25, Resulting Numbers: [93, 65, 25] Generated Node #0,2: 99:[93, 65, 25] Operation: 73-48=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[48, 93, 8], Operations: ['73-65=8'] Exploring Operation: 48/8=6, Resulting Numbers: [93, 6] Generated Node #0,0,0: 99:[93, 6] Operation: 48/8=6 Exploring Operation: 93-48=45, Resulting Numbers: [8, 45] Generated Node #0,0,1: 99:[8, 45] Operation: 93-48=45 Exploring Operation: 48-8=40, Resulting Numbers: [93, 40] Generated Node #0,0,2: 99:[93, 40] Operation: 48-8=40 Moving to Node #0,0,0 Current State: 99:[93, 6], Operations: ['73-65=8', '48/8=6'] Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[73, 48, 93, 65], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [48, 93, 8] Generated Node #0,0: 99:[48, 93, 8] Operation: 73-65=8 Moving to Node #0,0 Current State: 99:[48, 93, 8], Operations: ['73-65=8'] Exploring Operation: 48/8=6, Resulting Numbers: [93, 6] Generated Node #0,0,0: 99:[93, 6] Operation: 48/8=6 Moving to Node #0,0,0 Current State: 99:[93, 6], Operations: ['73-65=8', '48/8=6'] Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 38, 34, 58, 86 ]
32
[ "38-34=4", "86-58=28", "4+28=32" ]
Current State: 32:[38, 34, 58, 86], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [58, 86, 4] Generated Node #2: [58, 86, 4] from Operation: 38-34=4 Current State: 32:[58, 86, 4], Operations: ['38-34=4'] Exploring Operation: 86-58=28, Resulting Numbers: [4, 28] Generated Node #3: [4, 28] from Operation: 86-58=28 Current State: 32:[4, 28], Operations: ['38-34=4', '86-58=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[38, 34, 58, 86], Operations: [] Exploring Operation: 86-34=52, Resulting Numbers: [38, 58, 52] Generated Node #0,0: 32:[38, 58, 52] Operation: 86-34=52 Exploring Operation: 86-38=48, Resulting Numbers: [34, 58, 48] Generated Node #0,1: 32:[34, 58, 48] Operation: 86-38=48 Exploring Operation: 58-38=20, Resulting Numbers: [34, 86, 20] Generated Node #0,2: 32:[34, 86, 20] Operation: 58-38=20 Exploring Operation: 86-58=28, Resulting Numbers: [38, 34, 28] Generated Node #0,3: 32:[38, 34, 28] Operation: 86-58=28 Exploring Operation: 58-34=24, Resulting Numbers: [38, 86, 24] Generated Node #0,4: 32:[38, 86, 24] Operation: 58-34=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[38, 34, 28], Operations: ['86-58=28'] Exploring Operation: 34-28=6, Resulting Numbers: [38, 6] Generated Node #0,3,0: 32:[38, 6] Operation: 34-28=6 Exploring Operation: 34+28=62, Resulting Numbers: [38, 62] Generated Node #0,3,1: 32:[38, 62] Operation: 34+28=62 Exploring Operation: 38-34=4, Resulting Numbers: [28, 4] Generated Node #0,3,2: 32:[28, 4] Operation: 38-34=4 Exploring Operation: 38-28=10, Resulting Numbers: [34, 10] Generated Node #0,3,3: 32:[34, 10] Operation: 38-28=10 Exploring Operation: 38+28=66, Resulting Numbers: [34, 66] Generated Node #0,3,4: 32:[34, 66] Operation: 38+28=66 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 32:[28, 4], Operations: ['86-58=28', '38-34=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[38, 34, 58, 86], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [38, 34, 28] Generated Node #0,3: 32:[38, 34, 28] Operation: 86-58=28 Moving to Node #0,3 Current State: 32:[38, 34, 28], Operations: ['86-58=28'] Exploring Operation: 38-34=4, Resulting Numbers: [28, 4] Generated Node #0,3,2: 32:[28, 4] Operation: 38-34=4 Moving to Node #0,3,2 Current State: 32:[28, 4], Operations: ['86-58=28', '38-34=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 4, 22, 38, 2 ]
33
[ "22-2=20", "20/4=5", "38-5=33" ]
Current State: 33:[4, 22, 38, 2], Operations: [] Exploring Operation: 22-2=20, Resulting Numbers: [4, 38, 20] Generated Node #2: [4, 38, 20] from Operation: 22-2=20 Current State: 33:[4, 38, 20], Operations: ['22-2=20'] Exploring Operation: 20/4=5, Resulting Numbers: [38, 5] Generated Node #3: [38, 5] from Operation: 20/4=5 Current State: 33:[38, 5], Operations: ['22-2=20', '20/4=5'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[4, 22, 38, 2], Operations: [] Exploring Operation: 22/2=11, Resulting Numbers: [4, 38, 11] Generated Node #0,0: 33:[4, 38, 11] Operation: 22/2=11 Exploring Operation: 4+22=26, Resulting Numbers: [38, 2, 26] Generated Node #0,1: 33:[38, 2, 26] Operation: 4+22=26 Exploring Operation: 38-22=16, Resulting Numbers: [4, 2, 16] Generated Node #0,2: 33:[4, 2, 16] Operation: 38-22=16 Moving to Node #0,0 Current State: 33:[4, 38, 11], Operations: ['22/2=11'] Exploring Operation: 4+38=42, Resulting Numbers: [11, 42] Generated Node #0,0,0: 33:[11, 42] Operation: 4+38=42 Exploring Operation: 38-4=34, Resulting Numbers: [11, 34] Generated Node #0,0,1: 33:[11, 34] Operation: 38-4=34 Exploring Operation: 38-11=27, Resulting Numbers: [4, 27] Generated Node #0,0,2: 33:[4, 27] Operation: 38-11=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[11, 34], Operations: ['22/2=11', '38-4=34'] Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,33 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[4, 27], Operations: ['22/2=11', '38-11=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,33 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,33 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[11, 42], Operations: ['22/2=11', '4+38=42'] Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,33 unequal: No Solution Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,33 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,33 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: 33:[4, 2, 16], Operations: ['38-22=16'] Exploring Operation: 16-4=12, Resulting Numbers: [2, 12] Generated Node #0,2,0: 33:[2, 12] Operation: 16-4=12 Exploring Operation: 16/4=4, Resulting Numbers: [2, 4] Generated Node #0,2,1: 33:[2, 4] Operation: 16/4=4 Exploring Operation: 2*16=32, Resulting Numbers: [4, 32] Generated Node #0,2,2: 33:[4, 32] Operation: 2*16=32 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[2, 12], Operations: ['38-22=16', '16-4=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[2, 4], Operations: ['38-22=16', '16/4=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[4, 32], Operations: ['38-22=16', '2*16=32'] Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,33 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: 33:[38, 2, 26], Operations: ['4+22=26'] Exploring Operation: 26/2=13, Resulting Numbers: [38, 13] Generated Node #0,1,0: 33:[38, 13] Operation: 26/2=13 Exploring Operation: 38-26=12, Resulting Numbers: [2, 12] Generated Node #0,1,1: 33:[2, 12] Operation: 38-26=12 Exploring Operation: 38-2=36, Resulting Numbers: [26, 36] Generated Node #0,1,2: 33:[26, 36] Operation: 38-2=36 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[2, 12], Operations: ['4+22=26', '38-26=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[38, 13], Operations: ['4+22=26', '26/2=13'] Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,33 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[26, 36], Operations: ['4+22=26', '38-2=36'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,33 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
[ 22, 32, 38, 42 ]
29
[ "38-32=6", "42/6=7", "22+7=29" ]
Current State: 29:[22, 32, 38, 42], Operations: [] Exploring Operation: 38-32=6, Resulting Numbers: [22, 42, 6] Generated Node #2: [22, 42, 6] from Operation: 38-32=6 Current State: 29:[22, 42, 6], Operations: ['38-32=6'] Exploring Operation: 42/6=7, Resulting Numbers: [22, 7] Generated Node #3: [22, 7] from Operation: 42/6=7 Current State: 29:[22, 7], Operations: ['38-32=6', '42/6=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[22, 32, 38, 42], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [38, 42, 10] Generated Node #0,0: 29:[38, 42, 10] Operation: 32-22=10 Exploring Operation: 42-32=10, Resulting Numbers: [22, 38, 10] Generated Node #0,1: 29:[22, 38, 10] Operation: 42-32=10 Exploring Operation: 38-22=16, Resulting Numbers: [32, 42, 16] Generated Node #0,2: 29:[32, 42, 16] Operation: 38-22=16 Exploring Operation: 42-22=20, Resulting Numbers: [32, 38, 20] Generated Node #0,3: 29:[32, 38, 20] Operation: 42-22=20 Exploring Operation: 42-38=4, Resulting Numbers: [22, 32, 4] Generated Node #0,4: 29:[22, 32, 4] Operation: 42-38=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[32, 38, 20], Operations: ['42-22=20'] Exploring Operation: 32-20=12, Resulting Numbers: [38, 12] Generated Node #0,3,0: 29:[38, 12] Operation: 32-20=12 Exploring Operation: 38-20=18, Resulting Numbers: [32, 18] Generated Node #0,3,1: 29:[32, 18] Operation: 38-20=18 Exploring Operation: 38-32=6, Resulting Numbers: [20, 6] Generated Node #0,3,2: 29:[20, 6] Operation: 38-32=6 Exploring Operation: 38+20=58, Resulting Numbers: [32, 58] Generated Node #0,3,3: 29:[32, 58] Operation: 38+20=58 Exploring Operation: 32+20=52, Resulting Numbers: [38, 52] Generated Node #0,3,4: 29:[38, 52] Operation: 32+20=52 Moving to Node #0,3,1 Current State: 29:[32, 18], Operations: ['42-22=20', '38-20=18'] Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,29 unequal: No Solution Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,29 unequal: No Solution Moving to Node #0,3,0 Current State: 29:[38, 12], Operations: ['42-22=20', '32-20=12'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 38*12=456, Resulting Numbers: [456] 456,29 unequal: No Solution Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,29 unequal: No Solution Moving to Node #0,3,2 Current State: 29:[20, 6], Operations: ['42-22=20', '38-32=6'] Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[32, 58], Operations: ['42-22=20', '38+20=58'] Exploring Operation: 32*58=1856, Resulting Numbers: [1856] 1856,29 unequal: No Solution Exploring Operation: 32+58=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,29 unequal: No Solution Moving to Node #0,3,4 Current State: 29:[38, 52], Operations: ['42-22=20', '32+20=52'] Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,29 unequal: No Solution No 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: 29:[32, 42, 16], Operations: ['38-22=16'] Exploring Operation: 42+16=58, Resulting Numbers: [32, 58] Generated Node #0,2,0: 29:[32, 58] Operation: 42+16=58 Exploring Operation: 42-16=26, Resulting Numbers: [32, 26] Generated Node #0,2,1: 29:[32, 26] Operation: 42-16=26 Exploring Operation: 42-32=10, Resulting Numbers: [16, 10] Generated Node #0,2,2: 29:[16, 10] Operation: 42-32=10 Exploring Operation: 32-16=16, Resulting Numbers: [42, 16] Generated Node #0,2,3: 29:[42, 16] Operation: 32-16=16 Exploring Operation: 32+16=48, Resulting Numbers: [42, 48] Generated Node #0,2,4: 29:[42, 48] Operation: 32+16=48 Moving to Node #0,2,1 Current State: 29:[32, 26], Operations: ['38-22=16', '42-16=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[42, 16], Operations: ['38-22=16', '32-16=16'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 42*16=672, Resulting Numbers: [672] 672,29 unequal: No Solution Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[32, 58], Operations: ['38-22=16', '42+16=58'] Exploring Operation: 32*58=1856, Resulting Numbers: [1856] 1856,29 unequal: No Solution Exploring Operation: 32+58=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[16, 10], Operations: ['38-22=16', '42-32=10'] Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,29 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,29 unequal: No Solution Moving to Node #0,2,4 Current State: 29:[42, 48], Operations: ['38-22=16', '32+16=48'] Exploring Operation: 42+48=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 42*48=2016, Resulting Numbers: [2016] 2016,29 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,29 unequal: No Solution No 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: 29:[22, 38, 10], Operations: ['42-32=10'] Exploring Operation: 38-22=16, Resulting Numbers: [10, 16] Generated Node #0,1,0: 29:[10, 16] Operation: 38-22=16 Exploring Operation: 22+10=32, Resulting Numbers: [38, 32] Generated Node #0,1,1: 29:[38, 32] Operation: 22+10=32 Exploring Operation: 22-10=12, Resulting Numbers: [38, 12] Generated Node #0,1,2: 29:[38, 12] Operation: 22-10=12 Exploring Operation: 38+10=48, Resulting Numbers: [22, 48] Generated Node #0,1,3: 29:[22, 48] Operation: 38+10=48 Exploring Operation: 38-10=28, Resulting Numbers: [22, 28] Generated Node #0,1,4: 29:[22, 28] Operation: 38-10=28 Moving to Node #0,1,4 Current State: 29:[22, 28], Operations: ['42-32=10', '38-10=28'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,29 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[38, 32], Operations: ['42-32=10', '22+10=32'] Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,29 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[38, 12], Operations: ['42-32=10', '22-10=12'] Exploring Operation: 38*12=456, Resulting Numbers: [456] 456,29 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[22, 48], Operations: ['42-32=10', '38+10=48'] Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 22*48=1056, Resulting Numbers: [1056] 1056,29 unequal: No Solution Exploring Operation: 22+48=70, Resulting Numbers: [70] 70,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[10, 16], Operations: ['42-32=10', '38-22=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,29 unequal: No Solution No 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: 29:[22, 32, 4], Operations: ['42-38=4'] Exploring Operation: 32+4=36, Resulting Numbers: [22, 36] Generated Node #0,4,0: 29:[22, 36] Operation: 32+4=36 Exploring Operation: 22+4=26, Resulting Numbers: [32, 26] Generated Node #0,4,1: 29:[32, 26] Operation: 22+4=26 Exploring Operation: 32-4=28, Resulting Numbers: [22, 28] Generated Node #0,4,2: 29:[22, 28] Operation: 32-4=28 Exploring Operation: 22-4=18, Resulting Numbers: [32, 18] Generated Node #0,4,3: 29:[32, 18] Operation: 22-4=18 Exploring Operation: 32/4=8, Resulting Numbers: [22, 8] Generated Node #0,4,4: 29:[22, 8] Operation: 32/4=8 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 29:[32, 26], Operations: ['42-38=4', '22+4=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,29 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,29 unequal: No Solution No 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: 29:[22, 28], Operations: ['42-38=4', '32-4=28'] Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,29 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,29 unequal: No Solution No 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: 29:[22, 36], Operations: ['42-38=4', '32+4=36'] Exploring Operation: 22+36=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 22*36=792, Resulting Numbers: [792] 792,29 unequal: No Solution Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 29:[32, 18], Operations: ['42-38=4', '22-4=18'] Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,29 unequal: No Solution Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,29 unequal: No Solution No 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: 29:[22, 8], Operations: ['42-38=4', '32/4=8'] Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,29 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[38, 42, 10], Operations: ['32-22=10'] Exploring Operation: 38+10=48, Resulting Numbers: [42, 48] Generated Node #0,0,0: 29:[42, 48] Operation: 38+10=48 Exploring Operation: 42-10=32, Resulting Numbers: [38, 32] Generated Node #0,0,1: 29:[38, 32] Operation: 42-10=32 Exploring Operation: 38-10=28, Resulting Numbers: [42, 28] Generated Node #0,0,2: 29:[42, 28] Operation: 38-10=28 Exploring Operation: 42+10=52, Resulting Numbers: [38, 52] Generated Node #0,0,3: 29:[38, 52] Operation: 42+10=52 Exploring Operation: 42-38=4, Resulting Numbers: [10, 4] Generated Node #0,0,4: 29:[10, 4] Operation: 42-38=4 Moving to Node #0,0,1 Current State: 29:[38, 32], Operations: ['32-22=10', '42-10=32'] Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,29 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[42, 28], Operations: ['32-22=10', '38-10=28'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[42, 48], Operations: ['32-22=10', '38+10=48'] Exploring Operation: 42+48=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 42*48=2016, Resulting Numbers: [2016] 2016,29 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[38, 52], Operations: ['32-22=10', '42+10=52'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,29 unequal: No Solution Moving to Node #0,0,4 Current State: 29:[10, 4], Operations: ['32-22=10', '42-38=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 78, 18, 6, 22 ]
26
[ "78-6=72", "72/18=4", "22+4=26" ]
Current State: 26:[78, 18, 6, 22], Operations: [] Exploring Operation: 78-6=72, Resulting Numbers: [18, 22, 72] Generated Node #2: [18, 22, 72] from Operation: 78-6=72 Current State: 26:[18, 22, 72], Operations: ['78-6=72'] Exploring Operation: 72/18=4, Resulting Numbers: [22, 4] Generated Node #3: [22, 4] from Operation: 72/18=4 Current State: 26:[22, 4], Operations: ['78-6=72', '72/18=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[78, 18, 6, 22], Operations: [] Exploring Operation: 78/6=13, Resulting Numbers: [18, 22, 13] Generated Node #0,0: 26:[18, 22, 13] Operation: 78/6=13 Exploring Operation: 78-22=56, Resulting Numbers: [18, 6, 56] Generated Node #0,1: 26:[18, 6, 56] Operation: 78-22=56 Exploring Operation: 78-18=60, Resulting Numbers: [6, 22, 60] Generated Node #0,2: 26:[6, 22, 60] Operation: 78-18=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[18, 22, 13], Operations: ['78/6=13'] Exploring Operation: 18+13=31, Resulting Numbers: [22, 31] Generated Node #0,0,0: 26:[22, 31] Operation: 18+13=31 Exploring Operation: 22-18=4, Resulting Numbers: [13, 4] Generated Node #0,0,1: 26:[13, 4] Operation: 22-18=4 Exploring Operation: 18-13=5, Resulting Numbers: [22, 5] Generated Node #0,0,2: 26:[22, 5] Operation: 18-13=5 Moving to Node #0,0,1 Current State: 26:[13, 4], Operations: ['78/6=13', '22-18=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[22, 5], Operations: ['78/6=13', '18-13=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[22, 31], Operations: ['78/6=13', '18+13=31'] Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[18, 6, 56], Operations: ['78-22=56'] Exploring Operation: 18-6=12, Resulting Numbers: [56, 12] Generated Node #0,1,0: 26:[56, 12] Operation: 18-6=12 Exploring Operation: 56-18=38, Resulting Numbers: [6, 38] Generated Node #0,1,1: 26:[6, 38] Operation: 56-18=38 Exploring Operation: 56-6=50, Resulting Numbers: [18, 50] Generated Node #0,1,2: 26:[18, 50] Operation: 56-6=50 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 26:[6, 38], Operations: ['78-22=56', '56-18=38'] Exploring Operation: 6*38=228, Resulting Numbers: [228] 228,26 unequal: No Solution Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,26 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 26:[18, 50], Operations: ['78-22=56', '56-6=50'] Exploring Operation: 18*50=900, Resulting Numbers: [900] 900,26 unequal: No Solution Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 18+50=68, Resulting Numbers: [68] 68,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 26:[56, 12], Operations: ['78-22=56', '18-6=12'] Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,26 unequal: No Solution Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,26 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[6, 22, 60], Operations: ['78-18=60'] Exploring Operation: 60-22=38, Resulting Numbers: [6, 38] Generated Node #0,2,0: 26:[6, 38] Operation: 60-22=38 Exploring Operation: 60/6=10, Resulting Numbers: [22, 10] Generated Node #0,2,1: 26:[22, 10] Operation: 60/6=10 Exploring Operation: 60-6=54, Resulting Numbers: [22, 54] Generated Node #0,2,2: 26:[22, 54] Operation: 60-6=54 Moving to Node #0,2,1 Current State: 26:[22, 10], Operations: ['78-18=60', '60/6=10'] Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,26 unequal: No Solution Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,26 unequal: No Solution Moving to Node #0,2,0 Current State: 26:[6, 38], Operations: ['78-18=60', '60-22=38'] Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,26 unequal: No Solution Exploring Operation: 6*38=228, Resulting Numbers: [228] 228,26 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[22, 54], Operations: ['78-18=60', '60-6=54'] Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 22+54=76, Resulting Numbers: [76] 76,26 unequal: No Solution Exploring Operation: 22*54=1188, Resulting Numbers: [1188] 1188,26 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
[ 39, 31, 95, 25 ]
62
[ "39-31=8", "95-25=70", "70-8=62" ]
Current State: 62:[39, 31, 95, 25], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [95, 25, 8] Generated Node #2: [95, 25, 8] from Operation: 39-31=8 Current State: 62:[95, 25, 8], Operations: ['39-31=8'] Exploring Operation: 95-25=70, Resulting Numbers: [8, 70] Generated Node #3: [8, 70] from Operation: 95-25=70 Current State: 62:[8, 70], Operations: ['39-31=8', '95-25=70'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[39, 31, 95, 25], Operations: [] Exploring Operation: 95-25=70, Resulting Numbers: [39, 31, 70] Generated Node #0,0: 62:[39, 31, 70] Operation: 95-25=70 Exploring Operation: 95-31=64, Resulting Numbers: [39, 25, 64] Generated Node #0,1: 62:[39, 25, 64] Operation: 95-31=64 Exploring Operation: 95-39=56, Resulting Numbers: [31, 25, 56] Generated Node #0,2: 62:[31, 25, 56] Operation: 95-39=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[31, 25, 56], Operations: ['95-39=56'] Exploring Operation: 56-25=31, Resulting Numbers: [31, 31] Generated Node #0,2,0: 62:[31, 31] Operation: 56-25=31 Exploring Operation: 31+25=56, Resulting Numbers: [56, 56] Generated Node #0,2,1: 62:[56, 56] Operation: 31+25=56 Exploring Operation: 31-25=6, Resulting Numbers: [56, 6] Generated Node #0,2,2: 62:[56, 6] Operation: 31-25=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[31, 31], Operations: ['95-39=56', '56-25=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[39, 31, 95, 25], Operations: [] Exploring Operation: 95-39=56, Resulting Numbers: [31, 25, 56] Generated Node #0,2: 62:[31, 25, 56] Operation: 95-39=56 Moving to Node #0,2 Current State: 62:[31, 25, 56], Operations: ['95-39=56'] Exploring Operation: 56-25=31, Resulting Numbers: [31, 31] Generated Node #0,2,0: 62:[31, 31] Operation: 56-25=31 Moving to Node #0,2,0 Current State: 62:[31, 31], Operations: ['95-39=56', '56-25=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 6, 43, 23, 62 ]
76
[ "43-6=37", "62-23=39", "37+39=76" ]
Current State: 76:[6, 43, 23, 62], Operations: [] Exploring Operation: 43-6=37, Resulting Numbers: [23, 62, 37] Generated Node #2: [23, 62, 37] from Operation: 43-6=37 Current State: 76:[23, 62, 37], Operations: ['43-6=37'] Exploring Operation: 62-23=39, Resulting Numbers: [37, 39] Generated Node #3: [37, 39] from Operation: 62-23=39 Current State: 76:[37, 39], Operations: ['43-6=37', '62-23=39'] Exploring Operation: 37+39=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[6, 43, 23, 62], Operations: [] Exploring Operation: 62-43=19, Resulting Numbers: [6, 23, 19] Generated Node #0,0: 76:[6, 23, 19] Operation: 62-43=19 Exploring Operation: 62-23=39, Resulting Numbers: [6, 43, 39] Generated Node #0,1: 76:[6, 43, 39] Operation: 62-23=39 Exploring Operation: 23+62=85, Resulting Numbers: [6, 43, 85] Generated Node #0,2: 76:[6, 43, 85] Operation: 23+62=85 Moving to Node #0,0 Current State: 76:[6, 23, 19], Operations: ['62-43=19'] Exploring Operation: 23-6=17, Resulting Numbers: [19, 17] Generated Node #0,0,0: 76:[19, 17] Operation: 23-6=17 Exploring Operation: 23-19=4, Resulting Numbers: [6, 4] Generated Node #0,0,1: 76:[6, 4] Operation: 23-19=4 Exploring Operation: 23+19=42, Resulting Numbers: [6, 42] Generated Node #0,0,2: 76:[6, 42] Operation: 23+19=42 Moving to Node #0,1 Current State: 76:[6, 43, 39], Operations: ['62-23=39'] Exploring Operation: 43-6=37, Resulting Numbers: [39, 37] Generated Node #0,1,0: 76:[39, 37] Operation: 43-6=37 Exploring Operation: 43-39=4, Resulting Numbers: [6, 4] Generated Node #0,1,1: 76:[6, 4] Operation: 43-39=4 Exploring Operation: 43+39=82, Resulting Numbers: [6, 82] Generated Node #0,1,2: 76:[6, 82] Operation: 43+39=82 Moving to Node #0,2 Current State: 76:[6, 43, 85], Operations: ['23+62=85'] Exploring Operation: 43-6=37, Resulting Numbers: [85, 37] Generated Node #0,2,0: 76:[85, 37] Operation: 43-6=37 Exploring Operation: 85-43=42, Resulting Numbers: [6, 42] Generated Node #0,2,1: 76:[6, 42] Operation: 85-43=42 Exploring Operation: 85-6=79, Resulting Numbers: [43, 79] Generated Node #0,2,2: 76:[43, 79] Operation: 85-6=79 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[6, 42], Operations: ['23+62=85', '85-43=42'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,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,2,2 Current State: 76:[43, 79], Operations: ['23+62=85', '85-6=79'] Exploring Operation: 43*79=3397, Resulting Numbers: [3397] 3397,76 unequal: No Solution Exploring Operation: 43+79=122, Resulting Numbers: [122] 122,76 unequal: No Solution Exploring Operation: 79-43=36, Resulting Numbers: [36] 36,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,2,0 Current State: 76:[85, 37], Operations: ['23+62=85', '43-6=37'] Exploring Operation: 85*37=3145, Resulting Numbers: [3145] 3145,76 unequal: No Solution Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 85+37=122, Resulting Numbers: [122] 122,76 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: 76:[19, 17], Operations: ['62-43=19', '23-6=17'] Exploring Operation: 19*17=323, Resulting Numbers: [323] 323,76 unequal: No Solution Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[6, 4], Operations: ['62-43=19', '23-19=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[6, 4], Operations: ['62-23=39', '43-39=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[39, 37], Operations: ['62-23=39', '43-6=37'] Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[6, 43, 23, 62], Operations: [] Exploring Operation: 62-23=39, Resulting Numbers: [6, 43, 39] Generated Node #0,1: 76:[6, 43, 39] Operation: 62-23=39 Moving to Node #0,1 Current State: 76:[6, 43, 39], Operations: ['62-23=39'] Exploring Operation: 43-6=37, Resulting Numbers: [39, 37] Generated Node #0,1,0: 76:[39, 37] Operation: 43-6=37 Moving to Node #0,1,0 Current State: 76:[39, 37], Operations: ['62-23=39', '43-6=37'] Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 45, 16, 2, 41 ]
72
[ "45-16=29", "2+41=43", "29+43=72" ]
Current State: 72:[45, 16, 2, 41], Operations: [] Exploring Operation: 45-16=29, Resulting Numbers: [2, 41, 29] Generated Node #2: [2, 41, 29] from Operation: 45-16=29 Current State: 72:[2, 41, 29], Operations: ['45-16=29'] Exploring Operation: 2+41=43, Resulting Numbers: [29, 43] Generated Node #3: [29, 43] from Operation: 2+41=43 Current State: 72:[29, 43], Operations: ['45-16=29', '2+41=43'] Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[45, 16, 2, 41], Operations: [] Exploring Operation: 45-41=4, Resulting Numbers: [16, 2, 4] Generated Node #0,0: 72:[16, 2, 4] Operation: 45-41=4 Exploring Operation: 45-16=29, Resulting Numbers: [2, 41, 29] Generated Node #0,1: 72:[2, 41, 29] Operation: 45-16=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[16, 2, 4], Operations: ['45-41=4'] Exploring Operation: 16+2=18, Resulting Numbers: [4, 18] Generated Node #0,0,0: 72:[4, 18] Operation: 16+2=18 Exploring Operation: 16/2=8, Resulting Numbers: [4, 8] Generated Node #0,0,1: 72:[4, 8] Operation: 16/2=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[4, 18], Operations: ['45-41=4', '16+2=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[45, 16, 2, 41], Operations: [] Exploring Operation: 45-41=4, Resulting Numbers: [16, 2, 4] Generated Node #0,0: 72:[16, 2, 4] Operation: 45-41=4 Moving to Node #0,0 Current State: 72:[16, 2, 4], Operations: ['45-41=4'] Exploring Operation: 16+2=18, Resulting Numbers: [4, 18] Generated Node #0,0,0: 72:[4, 18] Operation: 16+2=18 Moving to Node #0,0,0 Current State: 72:[4, 18], Operations: ['45-41=4', '16+2=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 48, 92, 82, 80 ]
42
[ "92-48=44", "82-80=2", "44-2=42" ]
Current State: 42:[48, 92, 82, 80], Operations: [] Exploring Operation: 92-48=44, Resulting Numbers: [82, 80, 44] Generated Node #2: [82, 80, 44] from Operation: 92-48=44 Current State: 42:[82, 80, 44], Operations: ['92-48=44'] Exploring Operation: 82-80=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 82-80=2 Current State: 42:[44, 2], Operations: ['92-48=44', '82-80=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[48, 92, 82, 80], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [48, 80, 10] Generated Node #0,0: 42:[48, 80, 10] Operation: 92-82=10 Exploring Operation: 92-80=12, Resulting Numbers: [48, 82, 12] Generated Node #0,1: 42:[48, 82, 12] Operation: 92-80=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[48, 80, 10], Operations: ['92-82=10'] Exploring Operation: 80/10=8, Resulting Numbers: [48, 8] Generated Node #0,0,0: 42:[48, 8] Operation: 80/10=8 Exploring Operation: 80-48=32, Resulting Numbers: [10, 32] Generated Node #0,0,1: 42:[10, 32] Operation: 80-48=32 Moving to Node #0,0,0 Current State: 42:[48, 8], Operations: ['92-82=10', '80/10=8'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[10, 32], Operations: ['92-82=10', '80-48=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[48, 92, 82, 80], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [48, 80, 10] Generated Node #0,0: 42:[48, 80, 10] Operation: 92-82=10 Moving to Node #0,0 Current State: 42:[48, 80, 10], Operations: ['92-82=10'] Exploring Operation: 80-48=32, Resulting Numbers: [10, 32] Generated Node #0,0,1: 42:[10, 32] Operation: 80-48=32 Moving to Node #0,0,1 Current State: 42:[10, 32], Operations: ['92-82=10', '80-48=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 70, 69, 65, 26 ]
38
[ "70-69=1", "65-26=39", "39-1=38" ]
Current State: 38:[70, 69, 65, 26], Operations: [] Exploring Operation: 70-69=1, Resulting Numbers: [65, 26, 1] Generated Node #2: [65, 26, 1] from Operation: 70-69=1 Current State: 38:[65, 26, 1], Operations: ['70-69=1'] Exploring Operation: 65-26=39, Resulting Numbers: [1, 39] Generated Node #3: [1, 39] from Operation: 65-26=39 Current State: 38:[1, 39], Operations: ['70-69=1', '65-26=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[70, 69, 65, 26], Operations: [] Exploring Operation: 70-69=1, Resulting Numbers: [65, 26, 1] Generated Node #0,0: 38:[65, 26, 1] Operation: 70-69=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[65, 26, 1], Operations: ['70-69=1'] Exploring Operation: 65-26=39, Resulting Numbers: [1, 39] Generated Node #0,0,0: 38:[1, 39] Operation: 65-26=39 Moving to Node #0,0,0 Current State: 38:[1, 39], Operations: ['70-69=1', '65-26=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[70, 69, 65, 26], Operations: [] Exploring Operation: 70-69=1, Resulting Numbers: [65, 26, 1] Generated Node #0,0: 38:[65, 26, 1] Operation: 70-69=1 Moving to Node #0,0 Current State: 38:[65, 26, 1], Operations: ['70-69=1'] Exploring Operation: 65-26=39, Resulting Numbers: [1, 39] Generated Node #0,0,0: 38:[1, 39] Operation: 65-26=39 Moving to Node #0,0,0 Current State: 38:[1, 39], Operations: ['70-69=1', '65-26=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 79, 82, 22, 79 ]
60
[ "79+82=161", "22+79=101", "161-101=60" ]
Current State: 60:[79, 82, 22, 79], Operations: [] Exploring Operation: 79+82=161, Resulting Numbers: [22, 161] Generated Node #2: [22, 161] from Operation: 79+82=161 Current State: 60:[22, 161], Operations: ['79+82=161'] Exploring Operation: 22+79=101, Resulting Numbers: [161, 101] Generated Node #3: [161, 101] from Operation: 22+79=101 Current State: 60:[161, 101], Operations: ['79+82=161', '22+79=101'] Exploring Operation: 161-101=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[79, 82, 22, 79], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [22, 79, 3] Generated Node #0,0: 60:[22, 79, 3] Operation: 82-79=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[22, 79, 3], Operations: ['82-79=3'] Exploring Operation: 79-22=57, Resulting Numbers: [3, 57] Generated Node #0,0,0: 60:[3, 57] Operation: 79-22=57 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[3, 57], Operations: ['82-79=3', '79-22=57'] Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[79, 82, 22, 79], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [22, 79, 3] Generated Node #0,0: 60:[22, 79, 3] Operation: 82-79=3 Moving to Node #0,0 Current State: 60:[22, 79, 3], Operations: ['82-79=3'] Exploring Operation: 79-22=57, Resulting Numbers: [3, 57] Generated Node #0,0,0: 60:[3, 57] Operation: 79-22=57 Moving to Node #0,0,0 Current State: 60:[3, 57], Operations: ['82-79=3', '79-22=57'] Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 19, 72, 26, 64 ]
36
[ "19*72=1368", "64-26=38", "1368/38=36" ]
Current State: 36:[19, 72, 26, 64], Operations: [] Exploring Operation: 19*72=1368, Resulting Numbers: [26, 64, 1368] Generated Node #2: [26, 64, 1368] from Operation: 19*72=1368 Current State: 36:[26, 64, 1368], Operations: ['19*72=1368'] Exploring Operation: 64-26=38, Resulting Numbers: [1368, 38] Generated Node #3: [1368, 38] from Operation: 64-26=38 Current State: 36:[1368, 38], Operations: ['19*72=1368', '64-26=38'] Exploring Operation: 1368/38=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[19, 72, 26, 64], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [19, 26, 8] Generated Node #0,0: 36:[19, 26, 8] Operation: 72-64=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[19, 26, 8], Operations: ['72-64=8'] Exploring Operation: 26-8=18, Resulting Numbers: [19, 18] Generated Node #0,0,0: 36:[19, 18] Operation: 26-8=18 Moving to Node #0,0,0 Current State: 36:[19, 18], Operations: ['72-64=8', '26-8=18'] Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,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
mult_heuristic
[ 43, 10, 10, 39 ]
43
[ "10-10=0", "39*0=0", "43+0=43" ]
Current State: 43:[43, 10, 10, 39], Operations: [] Exploring Operation: 10-10=0, Resulting Numbers: [43, 39, 0] Generated Node #2: [43, 39, 0] from Operation: 10-10=0 Current State: 43:[43, 39, 0], Operations: ['10-10=0'] Exploring Operation: 39*0=0, Resulting Numbers: [43, 0] Generated Node #3: [43, 0] from Operation: 39*0=0 Current State: 43:[43, 0], Operations: ['10-10=0', '39*0=0'] Exploring Operation: 43+0=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[43, 10, 10, 39], Operations: [] Exploring Operation: 10+39=49, Resulting Numbers: [43, 10, 49] Generated Node #0,0: 43:[43, 10, 49] Operation: 10+39=49 Exploring Operation: 10+39=49, Resulting Numbers: [43, 10, 49] Generated Node #0,1: 43:[43, 10, 49] Operation: 10+39=49 Exploring Operation: 10+10=20, Resulting Numbers: [43, 39, 20] Generated Node #0,2: 43:[43, 39, 20] Operation: 10+10=20 Moving to Node #0,2 Current State: 43:[43, 39, 20], Operations: ['10+10=20'] Exploring Operation: 43+20=63, Resulting Numbers: [39, 63] Generated Node #0,2,0: 43:[39, 63] Operation: 43+20=63 Exploring Operation: 39+20=59, Resulting Numbers: [43, 59] Generated Node #0,2,1: 43:[43, 59] Operation: 39+20=59 Exploring Operation: 43-20=23, Resulting Numbers: [39, 23] Generated Node #0,2,2: 43:[39, 23] Operation: 43-20=23 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[43, 59], Operations: ['10+10=20', '39+20=59'] Exploring Operation: 43+59=102, Resulting Numbers: [102] 102,43 unequal: No Solution Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 43*59=2537, Resulting Numbers: [2537] 2537,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 43:[39, 63], Operations: ['10+10=20', '43+20=63'] Exploring Operation: 39*63=2457, Resulting Numbers: [2457] 2457,43 unequal: No Solution Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,43 unequal: No Solution Exploring Operation: 39+63=102, Resulting Numbers: [102] 102,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 43:[39, 23], Operations: ['10+10=20', '43-20=23'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 39*23=897, Resulting Numbers: [897] 897,43 unequal: No Solution Exploring Operation: 39+23=62, Resulting Numbers: [62] 62,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 43:[43, 10, 49], Operations: ['10+39=49'] Exploring Operation: 49-10=39, Resulting Numbers: [43, 39] Generated Node #0,0,0: 43:[43, 39] Operation: 49-10=39 Exploring Operation: 43+10=53, Resulting Numbers: [49, 53] Generated Node #0,0,1: 43:[49, 53] Operation: 43+10=53 Exploring Operation: 43-10=33, Resulting Numbers: [49, 33] Generated Node #0,0,2: 43:[49, 33] Operation: 43-10=33 Moving to Node #0,1 Current State: 43:[43, 10, 49], Operations: ['10+39=49'] Exploring Operation: 43+10=53, Resulting Numbers: [49, 53] Generated Node #0,1,0: 43:[49, 53] Operation: 43+10=53 Exploring Operation: 49-10=39, Resulting Numbers: [43, 39] Generated Node #0,1,1: 43:[43, 39] Operation: 49-10=39 Exploring Operation: 43-10=33, Resulting Numbers: [49, 33] Generated Node #0,1,2: 43:[49, 33] Operation: 43-10=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[43, 39], Operations: ['10+39=49', '49-10=39'] Exploring Operation: 43+39=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 43*39=1677, Resulting Numbers: [1677] 1677,43 unequal: No Solution Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[49, 53], Operations: ['10+39=49', '43+10=53'] Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 49*53=2597, Resulting Numbers: [2597] 2597,43 unequal: No Solution Exploring Operation: 49+53=102, Resulting Numbers: [102] 102,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 43:[49, 33], Operations: ['10+39=49', '43-10=33'] Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,43 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,43 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: 43:[43, 39], Operations: ['10+39=49', '49-10=39'] Exploring Operation: 43+39=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 43*39=1677, Resulting Numbers: [1677] 1677,43 unequal: No Solution Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[49, 53], Operations: ['10+39=49', '43+10=53'] Exploring Operation: 49+53=102, Resulting Numbers: [102] 102,43 unequal: No Solution Exploring Operation: 49*53=2597, Resulting Numbers: [2597] 2597,43 unequal: No Solution Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[49, 33], Operations: ['10+39=49', '43-10=33'] Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,43 unequal: No Solution Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,43 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 13, 26, 12, 82 ]
100
[ "13*12=156", "82-26=56", "156-56=100" ]
Current State: 100:[13, 26, 12, 82], Operations: [] Exploring Operation: 13*12=156, Resulting Numbers: [26, 82, 156] Generated Node #2: [26, 82, 156] from Operation: 13*12=156 Current State: 100:[26, 82, 156], Operations: ['13*12=156'] Exploring Operation: 82-26=56, Resulting Numbers: [156, 56] Generated Node #3: [156, 56] from Operation: 82-26=56 Current State: 100:[156, 56], Operations: ['13*12=156', '82-26=56'] Exploring Operation: 156-56=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[13, 26, 12, 82], Operations: [] Exploring Operation: 12+82=94, Resulting Numbers: [13, 26, 94] Generated Node #0,0: 100:[13, 26, 94] Operation: 12+82=94 Exploring Operation: 13+82=95, Resulting Numbers: [26, 12, 95] Generated Node #0,1: 100:[26, 12, 95] Operation: 13+82=95 Exploring Operation: 82-26=56, Resulting Numbers: [13, 12, 56] Generated Node #0,2: 100:[13, 12, 56] Operation: 82-26=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[26, 12, 95], Operations: ['13+82=95'] Exploring Operation: 26+12=38, Resulting Numbers: [95, 38] Generated Node #0,1,0: 100:[95, 38] Operation: 26+12=38 Exploring Operation: 12+95=107, Resulting Numbers: [26, 107] Generated Node #0,1,1: 100:[26, 107] Operation: 12+95=107 Exploring Operation: 26-12=14, Resulting Numbers: [95, 14] Generated Node #0,1,2: 100:[95, 14] Operation: 26-12=14 Moving to Node #0,1,1 Current State: 100:[26, 107], Operations: ['13+82=95', '12+95=107'] Exploring Operation: 107-26=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 26*107=2782, Resulting Numbers: [2782] 2782,100 unequal: No Solution Exploring Operation: 26+107=133, Resulting Numbers: [133] 133,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[95, 14], Operations: ['13+82=95', '26-12=14'] Exploring Operation: 95+14=109, Resulting Numbers: [109] 109,100 unequal: No Solution Exploring Operation: 95*14=1330, Resulting Numbers: [1330] 1330,100 unequal: No Solution Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[95, 38], Operations: ['13+82=95', '26+12=38'] Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 95+38=133, Resulting Numbers: [133] 133,100 unequal: No Solution Exploring Operation: 95*38=3610, Resulting Numbers: [3610] 3610,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[13, 26, 94], Operations: ['12+82=94'] Exploring Operation: 26-13=13, Resulting Numbers: [94, 13] Generated Node #0,0,0: 100:[94, 13] Operation: 26-13=13 Exploring Operation: 13+94=107, Resulting Numbers: [26, 107] Generated Node #0,0,1: 100:[26, 107] Operation: 13+94=107 Exploring Operation: 26/13=2, Resulting Numbers: [94, 2] Generated Node #0,0,2: 100:[94, 2] Operation: 26/13=2 Moving to Node #0,0,2 Current State: 100:[94, 2], Operations: ['12+82=94', '26/13=2'] Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,100 unequal: No Solution Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,100 unequal: No Solution Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[26, 107], Operations: ['12+82=94', '13+94=107'] Exploring Operation: 26+107=133, Resulting Numbers: [133] 133,100 unequal: No Solution Exploring Operation: 26*107=2782, Resulting Numbers: [2782] 2782,100 unequal: No Solution Exploring Operation: 107-26=81, Resulting Numbers: [81] 81,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[94, 13], Operations: ['12+82=94', '26-13=13'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 94+13=107, Resulting Numbers: [107] 107,100 unequal: No Solution Exploring Operation: 94*13=1222, Resulting Numbers: [1222] 1222,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[13, 12, 56], Operations: ['82-26=56'] Exploring Operation: 56-13=43, Resulting Numbers: [12, 43] Generated Node #0,2,0: 100:[12, 43] Operation: 56-13=43 Exploring Operation: 13+12=25, Resulting Numbers: [56, 25] Generated Node #0,2,1: 100:[56, 25] Operation: 13+12=25 Exploring Operation: 13-12=1, Resulting Numbers: [56, 1] Generated Node #0,2,2: 100:[56, 1] Operation: 13-12=1 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 100:[56, 25], Operations: ['82-26=56', '13+12=25'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 100:[56, 1], Operations: ['82-26=56', '13-12=1'] Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,100 unequal: No Solution Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,100 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 100:[12, 43], Operations: ['82-26=56', '56-13=43'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 12*43=516, Resulting Numbers: [516] 516,100 unequal: No Solution Exploring Operation: 12+43=55, Resulting Numbers: [55] 55,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 46, 14, 2, 24 ]
21
[ "46+24=70", "70/2=35", "35-14=21" ]
Current State: 21:[46, 14, 2, 24], Operations: [] Exploring Operation: 46+24=70, Resulting Numbers: [14, 2, 70] Generated Node #2: [14, 2, 70] from Operation: 46+24=70 Current State: 21:[14, 2, 70], Operations: ['46+24=70'] Exploring Operation: 70/2=35, Resulting Numbers: [14, 35] Generated Node #3: [14, 35] from Operation: 70/2=35 Current State: 21:[14, 35], Operations: ['46+24=70', '70/2=35'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[46, 14, 2, 24], Operations: [] Exploring Operation: 46-14=32, Resulting Numbers: [2, 24, 32] Generated Node #0,0: 21:[2, 24, 32] Operation: 46-14=32 Exploring Operation: 46-24=22, Resulting Numbers: [14, 2, 22] Generated Node #0,1: 21:[14, 2, 22] Operation: 46-24=22 Exploring Operation: 14/2=7, Resulting Numbers: [46, 24, 7] Generated Node #0,2: 21:[46, 24, 7] Operation: 14/2=7 Exploring Operation: 46/2=23, Resulting Numbers: [14, 24, 23] Generated Node #0,3: 21:[14, 24, 23] Operation: 46/2=23 Exploring Operation: 24-14=10, Resulting Numbers: [46, 2, 10] Generated Node #0,4: 21:[46, 2, 10] Operation: 24-14=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[14, 2, 22], Operations: ['46-24=22'] Exploring Operation: 14/2=7, Resulting Numbers: [22, 7] Generated Node #0,1,0: 21:[22, 7] Operation: 14/2=7 Exploring Operation: 14-2=12, Resulting Numbers: [22, 12] Generated Node #0,1,1: 21:[22, 12] Operation: 14-2=12 Exploring Operation: 22-14=8, Resulting Numbers: [2, 8] Generated Node #0,1,2: 21:[2, 8] Operation: 22-14=8 Exploring Operation: 14+2=16, Resulting Numbers: [22, 16] Generated Node #0,1,3: 21:[22, 16] Operation: 14+2=16 Exploring Operation: 14*2=28, Resulting Numbers: [22, 28] Generated Node #0,1,4: 21:[22, 28] Operation: 14*2=28 Moving to Node #0,1,0 Current State: 21:[22, 7], Operations: ['46-24=22', '14/2=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[2, 8], Operations: ['46-24=22', '22-14=8'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[22, 12], Operations: ['46-24=22', '14-2=12'] Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,21 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[22, 16], Operations: ['46-24=22', '14+2=16'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,21 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,21 unequal: No Solution Moving to Node #0,1,4 Current State: 21:[22, 28], Operations: ['46-24=22', '14*2=28'] Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,21 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,21 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[14, 24, 23], Operations: ['46/2=23'] Exploring Operation: 24-14=10, Resulting Numbers: [23, 10] Generated Node #0,3,0: 21:[23, 10] Operation: 24-14=10 Exploring Operation: 14+23=37, Resulting Numbers: [24, 37] Generated Node #0,3,1: 21:[24, 37] Operation: 14+23=37 Exploring Operation: 14+24=38, Resulting Numbers: [23, 38] Generated Node #0,3,2: 21:[23, 38] Operation: 14+24=38 Exploring Operation: 23-14=9, Resulting Numbers: [24, 9] Generated Node #0,3,3: 21:[24, 9] Operation: 23-14=9 Exploring Operation: 24-23=1, Resulting Numbers: [14, 1] Generated Node #0,3,4: 21:[14, 1] Operation: 24-23=1 Moving to Node #0,3,0 Current State: 21:[23, 10], Operations: ['46/2=23', '24-14=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,21 unequal: No Solution Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,21 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,21 unequal: No Solution Moving to Node #0,3,3 Current State: 21:[24, 9], Operations: ['46/2=23', '23-14=9'] Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,21 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,21 unequal: No Solution Moving to Node #0,3,4 Current State: 21:[14, 1], Operations: ['46/2=23', '24-23=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,21 unequal: No Solution Moving to Node #0,3,1 Current State: 21:[24, 37], Operations: ['46/2=23', '14+23=37'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,21 unequal: No Solution Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[23, 38], Operations: ['46/2=23', '14+24=38'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,21 unequal: No Solution Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[2, 24, 32], Operations: ['46-14=32'] Exploring Operation: 32-2=30, Resulting Numbers: [24, 30] Generated Node #0,0,0: 21:[24, 30] Operation: 32-2=30 Exploring Operation: 2+24=26, Resulting Numbers: [32, 26] Generated Node #0,0,1: 21:[32, 26] Operation: 2+24=26 Exploring Operation: 24-2=22, Resulting Numbers: [32, 22] Generated Node #0,0,2: 21:[32, 22] Operation: 24-2=22 Exploring Operation: 32/2=16, Resulting Numbers: [24, 16] Generated Node #0,0,3: 21:[24, 16] Operation: 32/2=16 Exploring Operation: 32-24=8, Resulting Numbers: [2, 8] Generated Node #0,0,4: 21:[2, 8] Operation: 32-24=8 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 21:[2, 8], Operations: ['46-14=32', '32-24=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,21 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 21:[24, 16], Operations: ['46-14=32', '32/2=16'] Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,21 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[24, 30], Operations: ['46-14=32', '32-2=30'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 24*30=720, Resulting Numbers: [720] 720,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 21:[32, 22], Operations: ['46-14=32', '24-2=22'] Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,21 unequal: No Solution Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[32, 26], Operations: ['46-14=32', '2+24=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,21 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[46, 24, 7], Operations: ['14/2=7'] Exploring Operation: 46+7=53, Resulting Numbers: [24, 53] Generated Node #0,2,0: 21:[24, 53] Operation: 46+7=53 Exploring Operation: 24+7=31, Resulting Numbers: [46, 31] Generated Node #0,2,1: 21:[46, 31] Operation: 24+7=31 Exploring Operation: 46-24=22, Resulting Numbers: [7, 22] Generated Node #0,2,2: 21:[7, 22] Operation: 46-24=22 Exploring Operation: 46-7=39, Resulting Numbers: [24, 39] Generated Node #0,2,3: 21:[24, 39] Operation: 46-7=39 Exploring Operation: 24-7=17, Resulting Numbers: [46, 17] Generated Node #0,2,4: 21:[46, 17] Operation: 24-7=17 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[7, 22], Operations: ['14/2=7', '46-24=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 21:[24, 39], Operations: ['14/2=7', '46-7=39'] Exploring Operation: 24*39=936, Resulting Numbers: [936] 936,21 unequal: No Solution Exploring Operation: 24+39=63, Resulting Numbers: [63] 63,21 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 21:[46, 17], Operations: ['14/2=7', '24-7=17'] Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,21 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 21:[24, 53], Operations: ['14/2=7', '46+7=53'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 24+53=77, Resulting Numbers: [77] 77,21 unequal: No Solution Exploring Operation: 24*53=1272, Resulting Numbers: [1272] 1272,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 21:[46, 31], Operations: ['14/2=7', '24+7=31'] Exploring Operation: 46*31=1426, Resulting Numbers: [1426] 1426,21 unequal: No Solution Exploring Operation: 46+31=77, Resulting Numbers: [77] 77,21 unequal: No Solution Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 21:[46, 2, 10], Operations: ['24-14=10'] Exploring Operation: 10-2=8, Resulting Numbers: [46, 8] Generated Node #0,4,0: 21:[46, 8] Operation: 10-2=8 Exploring Operation: 46/2=23, Resulting Numbers: [10, 23] Generated Node #0,4,1: 21:[10, 23] Operation: 46/2=23 Exploring Operation: 46-10=36, Resulting Numbers: [2, 36] Generated Node #0,4,2: 21:[2, 36] Operation: 46-10=36 Exploring Operation: 2*10=20, Resulting Numbers: [46, 20] Generated Node #0,4,3: 21:[46, 20] Operation: 2*10=20 Exploring Operation: 46-2=44, Resulting Numbers: [10, 44] Generated Node #0,4,4: 21:[10, 44] Operation: 46-2=44 Moving to Node #0,4,1 Current State: 21:[10, 23], Operations: ['24-14=10', '46/2=23'] Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,21 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,21 unequal: No Solution Moving to Node #0,4,2 Current State: 21:[2, 36], Operations: ['24-14=10', '46-10=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,21 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,21 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,21 unequal: No Solution Moving to Node #0,4,0 Current State: 21:[46, 8], Operations: ['24-14=10', '10-2=8'] Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,21 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,21 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,21 unequal: No Solution Moving to Node #0,4,3 Current State: 21:[46, 20], Operations: ['24-14=10', '2*10=20'] Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,21 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,21 unequal: No Solution Moving to Node #0,4,4 Current State: 21:[10, 44], Operations: ['24-14=10', '46-2=44'] Exploring Operation: 10*44=440, Resulting Numbers: [440] 440,21 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,21 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
[ 78, 4, 51, 59 ]
39
[ "78*4=312", "59-51=8", "312/8=39" ]
Current State: 39:[78, 4, 51, 59], Operations: [] Exploring Operation: 78*4=312, Resulting Numbers: [51, 59, 312] Generated Node #2: [51, 59, 312] from Operation: 78*4=312 Current State: 39:[51, 59, 312], Operations: ['78*4=312'] Exploring Operation: 59-51=8, Resulting Numbers: [312, 8] Generated Node #3: [312, 8] from Operation: 59-51=8 Current State: 39:[312, 8], Operations: ['78*4=312', '59-51=8'] Exploring Operation: 312/8=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[78, 4, 51, 59], Operations: [] Exploring Operation: 78-51=27, Resulting Numbers: [4, 59, 27] Generated Node #0,0: 39:[4, 59, 27] Operation: 78-51=27 Exploring Operation: 78-59=19, Resulting Numbers: [4, 51, 19] Generated Node #0,1: 39:[4, 51, 19] Operation: 78-59=19 Moving to Node #0,1 Current State: 39:[4, 51, 19], Operations: ['78-59=19'] Exploring Operation: 51-4=47, Resulting Numbers: [19, 47] Generated Node #0,1,0: 39:[19, 47] Operation: 51-4=47 Exploring Operation: 51-19=32, Resulting Numbers: [4, 32] Generated Node #0,1,1: 39:[4, 32] Operation: 51-19=32 Moving to Node #0,0 Current State: 39:[4, 59, 27], Operations: ['78-51=27'] Exploring Operation: 59-27=32, Resulting Numbers: [4, 32] Generated Node #0,0,0: 39:[4, 32] Operation: 59-27=32 Exploring Operation: 59-4=55, Resulting Numbers: [27, 55] Generated Node #0,0,1: 39:[27, 55] Operation: 59-4=55 Moving to Node #0,1,1 Current State: 39:[4, 32], Operations: ['78-59=19', '51-19=32'] Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[4, 32], Operations: ['78-51=27', '59-27=32'] Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[19, 47], Operations: ['78-59=19', '51-4=47'] Exploring Operation: 19+47=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[27, 55], Operations: ['78-51=27', '59-4=55'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,39 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 21, 35, 68, 66 ]
16
[ "35-21=14", "68-66=2", "14+2=16" ]
Current State: 16:[21, 35, 68, 66], Operations: [] Exploring Operation: 35-21=14, Resulting Numbers: [68, 66, 14] Generated Node #2: [68, 66, 14] from Operation: 35-21=14 Current State: 16:[68, 66, 14], Operations: ['35-21=14'] Exploring Operation: 68-66=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 68-66=2 Current State: 16:[14, 2], Operations: ['35-21=14', '68-66=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[21, 35, 68, 66], Operations: [] Exploring Operation: 66-35=31, Resulting Numbers: [21, 68, 31] Generated Node #0,0: 16:[21, 68, 31] Operation: 66-35=31 Exploring Operation: 68-35=33, Resulting Numbers: [21, 66, 33] Generated Node #0,1: 16:[21, 66, 33] Operation: 68-35=33 Exploring Operation: 68-21=47, Resulting Numbers: [35, 66, 47] Generated Node #0,2: 16:[35, 66, 47] Operation: 68-21=47 Exploring Operation: 68-66=2, Resulting Numbers: [21, 35, 2] Generated Node #0,3: 16:[21, 35, 2] Operation: 68-66=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[21, 35, 2], Operations: ['68-66=2'] Exploring Operation: 21+2=23, Resulting Numbers: [35, 23] Generated Node #0,3,0: 16:[35, 23] Operation: 21+2=23 Exploring Operation: 21-2=19, Resulting Numbers: [35, 19] Generated Node #0,3,1: 16:[35, 19] Operation: 21-2=19 Exploring Operation: 35-2=33, Resulting Numbers: [21, 33] Generated Node #0,3,2: 16:[21, 33] Operation: 35-2=33 Exploring Operation: 35-21=14, Resulting Numbers: [2, 14] Generated Node #0,3,3: 16:[2, 14] Operation: 35-21=14 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 16:[2, 14], Operations: ['68-66=2', '35-21=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[21, 35, 68, 66], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [21, 35, 2] Generated Node #0,3: 16:[21, 35, 2] Operation: 68-66=2 Moving to Node #0,3 Current State: 16:[21, 35, 2], Operations: ['68-66=2'] Exploring Operation: 35-21=14, Resulting Numbers: [2, 14] Generated Node #0,3,3: 16:[2, 14] Operation: 35-21=14 Moving to Node #0,3,3 Current State: 16:[2, 14], Operations: ['68-66=2', '35-21=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 6, 20, 65, 97 ]
46
[ "20-6=14", "97-65=32", "14+32=46" ]
Current State: 46:[6, 20, 65, 97], Operations: [] Exploring Operation: 20-6=14, Resulting Numbers: [65, 97, 14] Generated Node #2: [65, 97, 14] from Operation: 20-6=14 Current State: 46:[65, 97, 14], Operations: ['20-6=14'] Exploring Operation: 97-65=32, Resulting Numbers: [14, 32] Generated Node #3: [14, 32] from Operation: 97-65=32 Current State: 46:[14, 32], Operations: ['20-6=14', '97-65=32'] Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[6, 20, 65, 97], Operations: [] Exploring Operation: 97-65=32, Resulting Numbers: [6, 20, 32] Generated Node #0,0: 46:[6, 20, 32] Operation: 97-65=32 Exploring Operation: 97-20=77, Resulting Numbers: [6, 65, 77] Generated Node #0,1: 46:[6, 65, 77] Operation: 97-20=77 Exploring Operation: 65-6=59, Resulting Numbers: [20, 97, 59] Generated Node #0,2: 46:[20, 97, 59] Operation: 65-6=59 Exploring Operation: 65-20=45, Resulting Numbers: [6, 97, 45] Generated Node #0,3: 46:[6, 97, 45] Operation: 65-20=45 Exploring Operation: 97-6=91, Resulting Numbers: [20, 65, 91] Generated Node #0,4: 46:[20, 65, 91] Operation: 97-6=91 Moving to Node #0,0 Current State: 46:[6, 20, 32], Operations: ['97-65=32'] Exploring Operation: 32-20=12, Resulting Numbers: [6, 12] Generated Node #0,0,0: 46:[6, 12] Operation: 32-20=12 Exploring Operation: 6+20=26, Resulting Numbers: [32, 26] Generated Node #0,0,1: 46:[32, 26] Operation: 6+20=26 Exploring Operation: 32-6=26, Resulting Numbers: [20, 26] Generated Node #0,0,2: 46:[20, 26] Operation: 32-6=26 Exploring Operation: 20+32=52, Resulting Numbers: [6, 52] Generated Node #0,0,3: 46:[6, 52] Operation: 20+32=52 Exploring Operation: 6+32=38, Resulting Numbers: [20, 38] Generated Node #0,0,4: 46:[20, 38] Operation: 6+32=38 Moving to Node #0,1 Current State: 46:[6, 65, 77], Operations: ['97-20=77'] Exploring Operation: 77-6=71, Resulting Numbers: [65, 71] Generated Node #0,1,0: 46:[65, 71] Operation: 77-6=71 Exploring Operation: 65-6=59, Resulting Numbers: [77, 59] Generated Node #0,1,1: 46:[77, 59] Operation: 65-6=59 Exploring Operation: 6+77=83, Resulting Numbers: [65, 83] Generated Node #0,1,2: 46:[65, 83] Operation: 6+77=83 Exploring Operation: 6+65=71, Resulting Numbers: [77, 71] Generated Node #0,1,3: 46:[77, 71] Operation: 6+65=71 Exploring Operation: 77-65=12, Resulting Numbers: [6, 12] Generated Node #0,1,4: 46:[6, 12] Operation: 77-65=12 Moving to Node #0,3 Current State: 46:[6, 97, 45], Operations: ['65-20=45'] Exploring Operation: 6+97=103, Resulting Numbers: [45, 103] Generated Node #0,3,0: 46:[45, 103] Operation: 6+97=103 Exploring Operation: 97-6=91, Resulting Numbers: [45, 91] Generated Node #0,3,1: 46:[45, 91] Operation: 97-6=91 Exploring Operation: 97-45=52, Resulting Numbers: [6, 52] Generated Node #0,3,2: 46:[6, 52] Operation: 97-45=52 Exploring Operation: 45-6=39, Resulting Numbers: [97, 39] Generated Node #0,3,3: 46:[97, 39] Operation: 45-6=39 Exploring Operation: 6+45=51, Resulting Numbers: [97, 51] Generated Node #0,3,4: 46:[97, 51] Operation: 6+45=51 Moving to Node #0,2 Current State: 46:[20, 97, 59], Operations: ['65-6=59'] Exploring Operation: 20+97=117, Resulting Numbers: [59, 117] Generated Node #0,2,0: 46:[59, 117] Operation: 20+97=117 Exploring Operation: 97-59=38, Resulting Numbers: [20, 38] Generated Node #0,2,1: 46:[20, 38] Operation: 97-59=38 Exploring Operation: 20+59=79, Resulting Numbers: [97, 79] Generated Node #0,2,2: 46:[97, 79] Operation: 20+59=79 Exploring Operation: 97-20=77, Resulting Numbers: [59, 77] Generated Node #0,2,3: 46:[59, 77] Operation: 97-20=77 Exploring Operation: 59-20=39, Resulting Numbers: [97, 39] Generated Node #0,2,4: 46:[97, 39] Operation: 59-20=39 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[20, 38], Operations: ['65-6=59', '97-59=38'] Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,46 unequal: No Solution Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,46 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,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:[59, 77], Operations: ['65-6=59', '97-20=77'] Exploring Operation: 59*77=4543, Resulting Numbers: [4543] 4543,46 unequal: No Solution Exploring Operation: 77-59=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 59+77=136, Resulting Numbers: [136] 136,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:[97, 39], Operations: ['65-6=59', '59-20=39'] Exploring Operation: 97-39=58, Resulting Numbers: [58] 58,46 unequal: No Solution Exploring Operation: 97+39=136, Resulting Numbers: [136] 136,46 unequal: No Solution Exploring Operation: 97*39=3783, Resulting Numbers: [3783] 3783,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:[59, 117], Operations: ['65-6=59', '20+97=117'] Exploring Operation: 59*117=6903, Resulting Numbers: [6903] 6903,46 unequal: No Solution Exploring Operation: 117-59=58, Resulting Numbers: [58] 58,46 unequal: No Solution Exploring Operation: 59+117=176, Resulting Numbers: [176] 176,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:[97, 79], Operations: ['65-6=59', '20+59=79'] Exploring Operation: 97*79=7663, Resulting Numbers: [7663] 7663,46 unequal: No Solution Exploring Operation: 97-79=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 97+79=176, Resulting Numbers: [176] 176,46 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: 46:[20, 65, 91], Operations: ['97-6=91'] Exploring Operation: 91-65=26, Resulting Numbers: [20, 26] Generated Node #0,4,0: 46:[20, 26] Operation: 91-65=26 Exploring Operation: 65-20=45, Resulting Numbers: [91, 45] Generated Node #0,4,1: 46:[91, 45] Operation: 65-20=45 Exploring Operation: 20+91=111, Resulting Numbers: [65, 111] Generated Node #0,4,2: 46:[65, 111] Operation: 20+91=111 Exploring Operation: 91-20=71, Resulting Numbers: [65, 71] Generated Node #0,4,3: 46:[65, 71] Operation: 91-20=71 Exploring Operation: 20+65=85, Resulting Numbers: [91, 85] Generated Node #0,4,4: 46:[91, 85] Operation: 20+65=85 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 46:[20, 26], Operations: ['97-6=91', '91-65=26'] Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,46 unequal: No Solution Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[6, 20, 65, 97], Operations: [] Exploring Operation: 97-6=91, Resulting Numbers: [20, 65, 91] Generated Node #0,4: 46:[20, 65, 91] Operation: 97-6=91 Moving to Node #0,4 Current State: 46:[20, 65, 91], Operations: ['97-6=91'] Exploring Operation: 91-65=26, Resulting Numbers: [20, 26] Generated Node #0,4,0: 46:[20, 26] Operation: 91-65=26 Moving to Node #0,4,0 Current State: 46:[20, 26], Operations: ['97-6=91', '91-65=26'] Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_5
sum_heuristic
[ 7, 7, 41, 81 ]
26
[ "7+7=14", "81-41=40", "40-14=26" ]
Current State: 26:[7, 7, 41, 81], Operations: [] Exploring Operation: 7+7=14, Resulting Numbers: [41, 81, 14] Generated Node #2: [41, 81, 14] from Operation: 7+7=14 Current State: 26:[41, 81, 14], Operations: ['7+7=14'] Exploring Operation: 81-41=40, Resulting Numbers: [14, 40] Generated Node #3: [14, 40] from Operation: 81-41=40 Current State: 26:[14, 40], Operations: ['7+7=14', '81-41=40'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[7, 7, 41, 81], Operations: [] Exploring Operation: 41-7=34, Resulting Numbers: [7, 81, 34] Generated Node #0,0: 26:[7, 81, 34] Operation: 41-7=34 Exploring Operation: 81-41=40, Resulting Numbers: [7, 7, 40] Generated Node #0,1: 26:[7, 7, 40] Operation: 81-41=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[7, 7, 40], Operations: ['81-41=40'] Exploring Operation: 40-7=33, Resulting Numbers: [7, 33] Generated Node #0,1,0: 26:[7, 33] Operation: 40-7=33 Exploring Operation: 40-7=33, Resulting Numbers: [7, 33] Generated Node #0,1,1: 26:[7, 33] Operation: 40-7=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 26:[7, 33], Operations: ['81-41=40', '40-7=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,26 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[7, 7, 41, 81], Operations: [] Exploring Operation: 81-41=40, Resulting Numbers: [7, 7, 40] Generated Node #0,1: 26:[7, 7, 40] Operation: 81-41=40 Moving to Node #0,1 Current State: 26:[7, 7, 40], Operations: ['81-41=40'] Exploring Operation: 40-7=33, Resulting Numbers: [7, 33] Generated Node #0,1,0: 26:[7, 33] Operation: 40-7=33 Moving to Node #0,1,0 Current State: 26:[7, 33], Operations: ['81-41=40', '40-7=33'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 41, 15, 91, 42 ]
75
[ "41-15=26", "91-42=49", "26+49=75" ]
Current State: 75:[41, 15, 91, 42], Operations: [] Exploring Operation: 41-15=26, Resulting Numbers: [91, 42, 26] Generated Node #2: [91, 42, 26] from Operation: 41-15=26 Current State: 75:[91, 42, 26], Operations: ['41-15=26'] Exploring Operation: 91-42=49, Resulting Numbers: [26, 49] Generated Node #3: [26, 49] from Operation: 91-42=49 Current State: 75:[26, 49], Operations: ['41-15=26', '91-42=49'] Exploring Operation: 26+49=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[41, 15, 91, 42], Operations: [] Exploring Operation: 91-15=76, Resulting Numbers: [41, 42, 76] Generated Node #0,0: 75:[41, 42, 76] Operation: 91-15=76 Exploring Operation: 42-41=1, Resulting Numbers: [15, 91, 1] Generated Node #0,1: 75:[15, 91, 1] Operation: 42-41=1 Exploring Operation: 42-15=27, Resulting Numbers: [41, 91, 27] Generated Node #0,2: 75:[41, 91, 27] Operation: 42-15=27 Exploring Operation: 41-15=26, Resulting Numbers: [91, 42, 26] Generated Node #0,3: 75:[91, 42, 26] Operation: 41-15=26 Exploring Operation: 41+42=83, Resulting Numbers: [15, 91, 83] Generated Node #0,4: 75:[15, 91, 83] Operation: 41+42=83 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[15, 91, 1], Operations: ['42-41=1'] Exploring Operation: 91-1=90, Resulting Numbers: [15, 90] Generated Node #0,1,0: 75:[15, 90] Operation: 91-1=90 Exploring Operation: 15/1=15, Resulting Numbers: [91, 15] Generated Node #0,1,1: 75:[91, 15] Operation: 15/1=15 Exploring Operation: 91-15=76, Resulting Numbers: [1, 76] Generated Node #0,1,2: 75:[1, 76] Operation: 91-15=76 Exploring Operation: 91*1=91, Resulting Numbers: [15, 91] Generated Node #0,1,3: 75:[15, 91] Operation: 91*1=91 Exploring Operation: 15*1=15, Resulting Numbers: [91, 15] Generated Node #0,1,4: 75:[91, 15] Operation: 15*1=15 Moving to Node #0,1,2 Current State: 75:[1, 76], Operations: ['42-41=1', '91-15=76'] Exploring Operation: 1*76=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[41, 15, 91, 42], Operations: [] Exploring Operation: 42-41=1, Resulting Numbers: [15, 91, 1] Generated Node #0,1: 75:[15, 91, 1] Operation: 42-41=1 Moving to Node #0,1 Current State: 75:[15, 91, 1], Operations: ['42-41=1'] Exploring Operation: 91-15=76, Resulting Numbers: [1, 76] Generated Node #0,1,2: 75:[1, 76] Operation: 91-15=76 Moving to Node #0,1,2 Current State: 75:[1, 76], Operations: ['42-41=1', '91-15=76'] Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 44, 10, 54, 33 ]
56
[ "44-33=11", "10*11=110", "110-54=56" ]
Current State: 56:[44, 10, 54, 33], Operations: [] Exploring Operation: 44-33=11, Resulting Numbers: [10, 54, 11] Generated Node #2: [10, 54, 11] from Operation: 44-33=11 Current State: 56:[10, 54, 11], Operations: ['44-33=11'] Exploring Operation: 10*11=110, Resulting Numbers: [54, 110] Generated Node #3: [54, 110] from Operation: 10*11=110 Current State: 56:[54, 110], Operations: ['44-33=11', '10*11=110'] Exploring Operation: 110-54=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[44, 10, 54, 33], Operations: [] Exploring Operation: 44-33=11, Resulting Numbers: [10, 54, 11] Generated Node #0,0: 56:[10, 54, 11] Operation: 44-33=11 Exploring Operation: 44+10=54, Resulting Numbers: [54, 33, 54] Generated Node #0,1: 56:[54, 33, 54] Operation: 44+10=54 Moving to Node #0,0 Current State: 56:[10, 54, 11], Operations: ['44-33=11'] Exploring Operation: 10+11=21, Resulting Numbers: [54, 21] Generated Node #0,0,0: 56:[54, 21] Operation: 10+11=21 Exploring Operation: 11-10=1, Resulting Numbers: [54, 1] Generated Node #0,0,1: 56:[54, 1] Operation: 11-10=1 Moving to Node #0,1 Current State: 56:[54, 33, 54], Operations: ['44+10=54'] Exploring Operation: 54/54=1, Resulting Numbers: [33, 1] Generated Node #0,1,0: 56:[33, 1] Operation: 54/54=1 Exploring Operation: 54-54=0, Resulting Numbers: [33, 0] Generated Node #0,1,1: 56:[33, 0] Operation: 54-54=0 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[33, 1], Operations: ['44+10=54', '54/54=1'] Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,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:[33, 0], Operations: ['44+10=54', '54-54=0'] Exploring Operation: 33+0=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 33*0=0, Resulting Numbers: [0] 0,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 56:[54, 1], Operations: ['44-33=11', '11-10=1'] Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[54, 21], Operations: ['44-33=11', '10+11=21'] Exploring Operation: 54+21=75, Resulting Numbers: [75] 75,56 unequal: No Solution Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,56 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 90, 11, 28, 38 ]
96
[ "28+38=66", "66/11=6", "90+6=96" ]
Current State: 96:[90, 11, 28, 38], Operations: [] Exploring Operation: 28+38=66, Resulting Numbers: [90, 11, 66] Generated Node #2: [90, 11, 66] from Operation: 28+38=66 Current State: 96:[90, 11, 66], Operations: ['28+38=66'] Exploring Operation: 66/11=6, Resulting Numbers: [90, 6] Generated Node #3: [90, 6] from Operation: 66/11=6 Current State: 96:[90, 6], Operations: ['28+38=66', '66/11=6'] Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[90, 11, 28, 38], Operations: [] Exploring Operation: 90-38=52, Resulting Numbers: [11, 28, 52] Generated Node #0,0: 96:[11, 28, 52] Operation: 90-38=52 Exploring Operation: 38-28=10, Resulting Numbers: [90, 11, 10] Generated Node #0,1: 96:[90, 11, 10] Operation: 38-28=10 Moving to Node #0,0 Current State: 96:[11, 28, 52], Operations: ['90-38=52'] Exploring Operation: 52-28=24, Resulting Numbers: [11, 24] Generated Node #0,0,0: 96:[11, 24] Operation: 52-28=24 Exploring Operation: 28-11=17, Resulting Numbers: [52, 17] Generated Node #0,0,1: 96:[52, 17] Operation: 28-11=17 Moving to Node #0,1 Current State: 96:[90, 11, 10], Operations: ['38-28=10'] Exploring Operation: 90/10=9, Resulting Numbers: [11, 9] Generated Node #0,1,0: 96:[11, 9] Operation: 90/10=9 Exploring Operation: 90+10=100, Resulting Numbers: [11, 100] Generated Node #0,1,1: 96:[11, 100] Operation: 90+10=100 Moving to Node #0,0,0 Current State: 96:[11, 24], Operations: ['90-38=52', '52-28=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[11, 9], Operations: ['38-28=10', '90/10=9'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[52, 17], Operations: ['90-38=52', '28-11=17'] Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[11, 100], Operations: ['38-28=10', '90+10=100'] Exploring Operation: 100-11=89, Resulting Numbers: [89] 89,96 unequal: No Solution Exploring Operation: 11+100=111, Resulting Numbers: [111] 111,96 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 96, 70, 72, 28 ]
70
[ "96-70=26", "72-28=44", "26+44=70" ]
Current State: 70:[96, 70, 72, 28], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [72, 28, 26] Generated Node #2: [72, 28, 26] from Operation: 96-70=26 Current State: 70:[72, 28, 26], Operations: ['96-70=26'] Exploring Operation: 72-28=44, Resulting Numbers: [26, 44] Generated Node #3: [26, 44] from Operation: 72-28=44 Current State: 70:[26, 44], Operations: ['96-70=26', '72-28=44'] Exploring Operation: 26+44=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[96, 70, 72, 28], Operations: [] Exploring Operation: 70-28=42, Resulting Numbers: [96, 72, 42] Generated Node #0,0: 70:[96, 72, 42] Operation: 70-28=42 Exploring Operation: 96-72=24, Resulting Numbers: [70, 28, 24] Generated Node #0,1: 70:[70, 28, 24] Operation: 96-72=24 Exploring Operation: 96-28=68, Resulting Numbers: [70, 72, 68] Generated Node #0,2: 70:[70, 72, 68] Operation: 96-28=68 Exploring Operation: 96-70=26, Resulting Numbers: [72, 28, 26] Generated Node #0,3: 70:[72, 28, 26] Operation: 96-70=26 Exploring Operation: 72-70=2, Resulting Numbers: [96, 28, 2] Generated Node #0,4: 70:[96, 28, 2] Operation: 72-70=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[70, 72, 68], Operations: ['96-28=68'] Exploring Operation: 72+68=140, Resulting Numbers: [70, 140] Generated Node #0,2,0: 70:[70, 140] Operation: 72+68=140 Exploring Operation: 72-68=4, Resulting Numbers: [70, 4] Generated Node #0,2,1: 70:[70, 4] Operation: 72-68=4 Exploring Operation: 70-68=2, Resulting Numbers: [72, 2] Generated Node #0,2,2: 70:[72, 2] Operation: 70-68=2 Exploring Operation: 72-70=2, Resulting Numbers: [68, 2] Generated Node #0,2,3: 70:[68, 2] Operation: 72-70=2 Exploring Operation: 70+68=138, Resulting Numbers: [72, 138] Generated Node #0,2,4: 70:[72, 138] Operation: 70+68=138 Moving to Node #0,2,1 Current State: 70:[70, 4], Operations: ['96-28=68', '72-68=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,70 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[68, 2], Operations: ['96-28=68', '72-70=2'] Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 68*2=136, Resulting Numbers: [136] 136,70 unequal: No Solution Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[96, 70, 72, 28], Operations: [] Exploring Operation: 96-28=68, Resulting Numbers: [70, 72, 68] Generated Node #0,2: 70:[70, 72, 68] Operation: 96-28=68 Moving to Node #0,2 Current State: 70:[70, 72, 68], Operations: ['96-28=68'] Exploring Operation: 72-70=2, Resulting Numbers: [68, 2] Generated Node #0,2,3: 70:[68, 2] Operation: 72-70=2 Moving to Node #0,2,3 Current State: 70:[68, 2], Operations: ['96-28=68', '72-70=2'] Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 80, 95, 33, 97 ]
76
[ "97-33=64", "95*64=6080", "6080/80=76" ]
Current State: 76:[80, 95, 33, 97], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [80, 95, 64] Generated Node #2: [80, 95, 64] from Operation: 97-33=64 Current State: 76:[80, 95, 64], Operations: ['97-33=64'] Exploring Operation: 95*64=6080, Resulting Numbers: [80, 6080] Generated Node #3: [80, 6080] from Operation: 95*64=6080 Current State: 76:[80, 6080], Operations: ['97-33=64', '95*64=6080'] Exploring Operation: 6080/80=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[80, 95, 33, 97], Operations: [] Exploring Operation: 95-80=15, Resulting Numbers: [33, 97, 15] Generated Node #0,0: 76:[33, 97, 15] Operation: 95-80=15 Exploring Operation: 97-80=17, Resulting Numbers: [95, 33, 17] Generated Node #0,1: 76:[95, 33, 17] Operation: 97-80=17 Exploring Operation: 97-95=2, Resulting Numbers: [80, 33, 2] Generated Node #0,2: 76:[80, 33, 2] Operation: 97-95=2 Moving to Node #0,2 Current State: 76:[80, 33, 2], Operations: ['97-95=2'] Exploring Operation: 33+2=35, Resulting Numbers: [80, 35] Generated Node #0,2,0: 76:[80, 35] Operation: 33+2=35 Exploring Operation: 80/2=40, Resulting Numbers: [33, 40] Generated Node #0,2,1: 76:[33, 40] Operation: 80/2=40 Exploring Operation: 80-2=78, Resulting Numbers: [33, 78] Generated Node #0,2,2: 76:[33, 78] Operation: 80-2=78 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[80, 35], Operations: ['97-95=2', '33+2=35'] Exploring Operation: 80+35=115, Resulting Numbers: [115] 115,76 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 80*35=2800, Resulting Numbers: [2800] 2800,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,2,1 Current State: 76:[33, 40], Operations: ['97-95=2', '80/2=40'] Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 33*40=1320, Resulting Numbers: [1320] 1320,76 unequal: No Solution Exploring Operation: 33+40=73, Resulting Numbers: [73] 73,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,2,2 Current State: 76:[33, 78], Operations: ['97-95=2', '80-2=78'] Exploring Operation: 78-33=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 33+78=111, Resulting Numbers: [111] 111,76 unequal: No Solution Exploring Operation: 33*78=2574, Resulting Numbers: [2574] 2574,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:[95, 33, 17], Operations: ['97-80=17'] Exploring Operation: 33-17=16, Resulting Numbers: [95, 16] Generated Node #0,1,0: 76:[95, 16] Operation: 33-17=16 Exploring Operation: 95-17=78, Resulting Numbers: [33, 78] Generated Node #0,1,1: 76:[33, 78] Operation: 95-17=78 Exploring Operation: 95-33=62, Resulting Numbers: [17, 62] Generated Node #0,1,2: 76:[17, 62] Operation: 95-33=62 Moving to Node #0,0 Current State: 76:[33, 97, 15], Operations: ['95-80=15'] Exploring Operation: 97-15=82, Resulting Numbers: [33, 82] Generated Node #0,0,0: 76:[33, 82] Operation: 97-15=82 Exploring Operation: 97-33=64, Resulting Numbers: [15, 64] Generated Node #0,0,1: 76:[15, 64] Operation: 97-33=64 Exploring Operation: 33-15=18, Resulting Numbers: [97, 18] Generated Node #0,0,2: 76:[97, 18] Operation: 33-15=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[33, 82], Operations: ['95-80=15', '97-15=82'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 33+82=115, Resulting Numbers: [115] 115,76 unequal: No Solution Exploring Operation: 33*82=2706, Resulting Numbers: [2706] 2706,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[15, 64], Operations: ['95-80=15', '97-33=64'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,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,2 Current State: 76:[97, 18], Operations: ['95-80=15', '33-15=18'] Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 97+18=115, Resulting Numbers: [115] 115,76 unequal: No Solution Exploring Operation: 97*18=1746, Resulting Numbers: [1746] 1746,76 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: 76:[33, 78], Operations: ['97-80=17', '95-17=78'] Exploring Operation: 33*78=2574, Resulting Numbers: [2574] 2574,76 unequal: No Solution Exploring Operation: 78-33=45, Resulting Numbers: [45] 45,76 unequal: No Solution Exploring Operation: 33+78=111, Resulting Numbers: [111] 111,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[17, 62], Operations: ['97-80=17', '95-33=62'] Exploring Operation: 17*62=1054, Resulting Numbers: [1054] 1054,76 unequal: No Solution Exploring Operation: 17+62=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[95, 16], Operations: ['97-80=17', '33-17=16'] Exploring Operation: 95-16=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 95+16=111, Resulting Numbers: [111] 111,76 unequal: No Solution Exploring Operation: 95*16=1520, Resulting Numbers: [1520] 1520,76 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 39, 9, 26, 8 ]
45
[ "39-26=13", "13-8=5", "9*5=45" ]
Current State: 45:[39, 9, 26, 8], Operations: [] Exploring Operation: 39-26=13, Resulting Numbers: [9, 8, 13] Generated Node #2: [9, 8, 13] from Operation: 39-26=13 Current State: 45:[9, 8, 13], Operations: ['39-26=13'] Exploring Operation: 13-8=5, Resulting Numbers: [9, 5] Generated Node #3: [9, 5] from Operation: 13-8=5 Current State: 45:[9, 5], Operations: ['39-26=13', '13-8=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[39, 9, 26, 8], Operations: [] Exploring Operation: 39-26=13, Resulting Numbers: [9, 8, 13] Generated Node #0,0: 45:[9, 8, 13] Operation: 39-26=13 Moving to Node #0,0 Current State: 45:[9, 8, 13], Operations: ['39-26=13'] Exploring Operation: 13-8=5, Resulting Numbers: [9, 5] Generated Node #0,0,0: 45:[9, 5] Operation: 13-8=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[9, 5], Operations: ['39-26=13', '13-8=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[39, 9, 26, 8], Operations: [] Exploring Operation: 39-26=13, Resulting Numbers: [9, 8, 13] Generated Node #0,0: 45:[9, 8, 13] Operation: 39-26=13 Moving to Node #0,0 Current State: 45:[9, 8, 13], Operations: ['39-26=13'] Exploring Operation: 13-8=5, Resulting Numbers: [9, 5] Generated Node #0,0,0: 45:[9, 5] Operation: 13-8=5 Moving to Node #0,0,0 Current State: 45:[9, 5], Operations: ['39-26=13', '13-8=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 66, 75, 16, 81 ]
63
[ "75-66=9", "16*9=144", "144-81=63" ]
Current State: 63:[66, 75, 16, 81], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [16, 81, 9] Generated Node #2: [16, 81, 9] from Operation: 75-66=9 Current State: 63:[16, 81, 9], Operations: ['75-66=9'] Exploring Operation: 16*9=144, Resulting Numbers: [81, 144] Generated Node #3: [81, 144] from Operation: 16*9=144 Current State: 63:[81, 144], Operations: ['75-66=9', '16*9=144'] Exploring Operation: 144-81=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[66, 75, 16, 81], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [66, 16, 6] Generated Node #0,0: 63:[66, 16, 6] Operation: 81-75=6 Exploring Operation: 81-66=15, Resulting Numbers: [75, 16, 15] Generated Node #0,1: 63:[75, 16, 15] Operation: 81-66=15 Exploring Operation: 81-16=65, Resulting Numbers: [66, 75, 65] Generated Node #0,2: 63:[66, 75, 65] Operation: 81-16=65 Exploring Operation: 75-66=9, Resulting Numbers: [16, 81, 9] Generated Node #0,3: 63:[16, 81, 9] Operation: 75-66=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[66, 16, 6], Operations: ['81-75=6'] Exploring Operation: 66-6=60, Resulting Numbers: [16, 60] Generated Node #0,0,0: 63:[16, 60] Operation: 66-6=60 Exploring Operation: 16+6=22, Resulting Numbers: [66, 22] Generated Node #0,0,1: 63:[66, 22] Operation: 16+6=22 Exploring Operation: 66/6=11, Resulting Numbers: [16, 11] Generated Node #0,0,2: 63:[16, 11] Operation: 66/6=11 Exploring Operation: 16-6=10, Resulting Numbers: [66, 10] Generated Node #0,0,3: 63:[66, 10] Operation: 16-6=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[66, 22], Operations: ['81-75=6', '16+6=22'] Exploring Operation: 66+22=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 66*22=1452, Resulting Numbers: [1452] 1452,63 unequal: No Solution Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 63:[66, 10], Operations: ['81-75=6', '16-6=10'] Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,63 unequal: No Solution Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[16, 11], Operations: ['81-75=6', '66/6=11'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[16, 60], Operations: ['81-75=6', '66-6=60'] Exploring Operation: 16+60=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 16*60=960, Resulting Numbers: [960] 960,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[66, 75, 65], Operations: ['81-16=65'] Exploring Operation: 75-65=10, Resulting Numbers: [66, 10] Generated Node #0,2,0: 63:[66, 10] Operation: 75-65=10 Exploring Operation: 66-65=1, Resulting Numbers: [75, 1] Generated Node #0,2,1: 63:[75, 1] Operation: 66-65=1 Exploring Operation: 66+75=141, Resulting Numbers: [65, 141] Generated Node #0,2,2: 63:[65, 141] Operation: 66+75=141 Exploring Operation: 75-66=9, Resulting Numbers: [65, 9] Generated Node #0,2,3: 63:[65, 9] Operation: 75-66=9 Moving to Node #0,2,3 Current State: 63:[65, 9], Operations: ['81-16=65', '75-66=9'] Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,63 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[66, 10], Operations: ['81-16=65', '75-65=10'] Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[75, 1], Operations: ['81-16=65', '66-65=1'] Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,63 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,63 unequal: No Solution Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,63 unequal: No Solution Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[65, 141], Operations: ['81-16=65', '66+75=141'] Exploring Operation: 65*141=9165, Resulting Numbers: [9165] 9165,63 unequal: No Solution Exploring Operation: 65+141=206, Resulting Numbers: [206] 206,63 unequal: No Solution Exploring Operation: 141-65=76, Resulting Numbers: [76] 76,63 unequal: No Solution No 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: 63:[75, 16, 15], Operations: ['81-66=15'] Exploring Operation: 75-16=59, Resulting Numbers: [15, 59] Generated Node #0,1,0: 63:[15, 59] Operation: 75-16=59 Exploring Operation: 75/15=5, Resulting Numbers: [16, 5] Generated Node #0,1,1: 63:[16, 5] Operation: 75/15=5 Exploring Operation: 16-15=1, Resulting Numbers: [75, 1] Generated Node #0,1,2: 63:[75, 1] Operation: 16-15=1 Exploring Operation: 75-15=60, Resulting Numbers: [16, 60] Generated Node #0,1,3: 63:[16, 60] Operation: 75-15=60 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[16, 5], Operations: ['81-66=15', '75/15=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,63 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,63 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 63:[16, 60], Operations: ['81-66=15', '75-15=60'] Exploring Operation: 16+60=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 16*60=960, Resulting Numbers: [960] 960,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[15, 59], Operations: ['81-66=15', '75-16=59'] Exploring Operation: 15*59=885, Resulting Numbers: [885] 885,63 unequal: No Solution Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 15+59=74, Resulting Numbers: [74] 74,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 63:[75, 1], Operations: ['81-66=15', '16-15=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,63 unequal: No Solution Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,63 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,63 unequal: No Solution Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[16, 81, 9], Operations: ['75-66=9'] Exploring Operation: 81-16=65, Resulting Numbers: [9, 65] Generated Node #0,3,0: 63:[9, 65] Operation: 81-16=65 Exploring Operation: 16-9=7, Resulting Numbers: [81, 7] Generated Node #0,3,1: 63:[81, 7] Operation: 16-9=7 Exploring Operation: 81/9=9, Resulting Numbers: [16, 9] Generated Node #0,3,2: 63:[16, 9] Operation: 81/9=9 Exploring Operation: 81-9=72, Resulting Numbers: [16, 72] Generated Node #0,3,3: 63:[16, 72] Operation: 81-9=72 Moving to Node #0,3,0 Current State: 63:[9, 65], Operations: ['75-66=9', '81-16=65'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 9*65=585, Resulting Numbers: [585] 585,63 unequal: No Solution Exploring Operation: 9+65=74, Resulting Numbers: [74] 74,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[16, 9], Operations: ['75-66=9', '81/9=9'] Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,63 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[16, 72], Operations: ['75-66=9', '81-9=72'] Exploring Operation: 16+72=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 16*72=1152, Resulting Numbers: [1152] 1152,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[81, 7], Operations: ['75-66=9', '16-9=7'] Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,63 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,63 unequal: No Solution Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,63 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
[ 24, 80, 31, 13 ]
11
[ "31-24=7", "13*7=91", "91-80=11" ]
Current State: 11:[24, 80, 31, 13], Operations: [] Exploring Operation: 31-24=7, Resulting Numbers: [80, 13, 7] Generated Node #2: [80, 13, 7] from Operation: 31-24=7 Current State: 11:[80, 13, 7], Operations: ['31-24=7'] Exploring Operation: 13*7=91, Resulting Numbers: [80, 91] Generated Node #3: [80, 91] from Operation: 13*7=91 Current State: 11:[80, 91], Operations: ['31-24=7', '13*7=91'] Exploring Operation: 91-80=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[24, 80, 31, 13], Operations: [] Exploring Operation: 80-24=56, Resulting Numbers: [31, 13, 56] Generated Node #0,0: 11:[31, 13, 56] Operation: 80-24=56 Exploring Operation: 31-24=7, Resulting Numbers: [80, 13, 7] Generated Node #0,1: 11:[80, 13, 7] Operation: 31-24=7 Exploring Operation: 80-31=49, Resulting Numbers: [24, 13, 49] Generated Node #0,2: 11:[24, 13, 49] Operation: 80-31=49 Moving to Node #0,2 Current State: 11:[24, 13, 49], Operations: ['80-31=49'] Exploring Operation: 49-24=25, Resulting Numbers: [13, 25] Generated Node #0,2,0: 11:[13, 25] Operation: 49-24=25 Exploring Operation: 49-13=36, Resulting Numbers: [24, 36] Generated Node #0,2,1: 11:[24, 36] Operation: 49-13=36 Exploring Operation: 24-13=11, Resulting Numbers: [49, 11] Generated Node #0,2,2: 11:[49, 11] Operation: 24-13=11 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[13, 25], Operations: ['80-31=49', '49-24=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,11 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[24, 36], Operations: ['80-31=49', '49-13=36'] Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,11 unequal: No Solution Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,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:[49, 11], Operations: ['80-31=49', '24-13=11'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,11 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: 11:[31, 13, 56], Operations: ['80-24=56'] Exploring Operation: 31-13=18, Resulting Numbers: [56, 18] Generated Node #0,0,0: 11:[56, 18] Operation: 31-13=18 Exploring Operation: 56-13=43, Resulting Numbers: [31, 43] Generated Node #0,0,1: 11:[31, 43] Operation: 56-13=43 Exploring Operation: 56-31=25, Resulting Numbers: [13, 25] Generated Node #0,0,2: 11:[13, 25] Operation: 56-31=25 Moving to Node #0,1 Current State: 11:[80, 13, 7], Operations: ['31-24=7'] Exploring Operation: 13-7=6, Resulting Numbers: [80, 6] Generated Node #0,1,0: 11:[80, 6] Operation: 13-7=6 Exploring Operation: 80-13=67, Resulting Numbers: [7, 67] Generated Node #0,1,1: 11:[7, 67] Operation: 80-13=67 Exploring Operation: 80-7=73, Resulting Numbers: [13, 73] Generated Node #0,1,2: 11:[13, 73] Operation: 80-7=73 Moving to Node #0,0,2 Current State: 11:[13, 25], Operations: ['80-24=56', '56-31=25'] Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,11 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[31, 43], Operations: ['80-24=56', '56-13=43'] Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 31*43=1333, Resulting Numbers: [1333] 1333,11 unequal: No Solution Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[56, 18], Operations: ['80-24=56', '31-13=18'] Exploring Operation: 56+18=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 56*18=1008, Resulting Numbers: [1008] 1008,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[7, 67], Operations: ['31-24=7', '80-13=67'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 7+67=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 7*67=469, Resulting Numbers: [469] 469,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[13, 73], Operations: ['31-24=7', '80-7=73'] Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 13*73=949, Resulting Numbers: [949] 949,11 unequal: No Solution Exploring Operation: 13+73=86, Resulting Numbers: [86] 86,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[80, 6], Operations: ['31-24=7', '13-7=6'] Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 80*6=480, Resulting Numbers: [480] 480,11 unequal: No Solution Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,11 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 9, 51, 12, 33 ]
87
[ "51-9=42", "12+33=45", "42+45=87" ]
Current State: 87:[9, 51, 12, 33], Operations: [] Exploring Operation: 51-9=42, Resulting Numbers: [12, 33, 42] Generated Node #2: [12, 33, 42] from Operation: 51-9=42 Current State: 87:[12, 33, 42], Operations: ['51-9=42'] Exploring Operation: 12+33=45, Resulting Numbers: [42, 45] Generated Node #3: [42, 45] from Operation: 12+33=45 Current State: 87:[42, 45], Operations: ['51-9=42', '12+33=45'] Exploring Operation: 42+45=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[9, 51, 12, 33], Operations: [] Exploring Operation: 51-9=42, Resulting Numbers: [12, 33, 42] Generated Node #0,0: 87:[12, 33, 42] Operation: 51-9=42 Exploring Operation: 12-9=3, Resulting Numbers: [51, 33, 3] Generated Node #0,1: 87:[51, 33, 3] Operation: 12-9=3 Exploring Operation: 51+33=84, Resulting Numbers: [9, 12, 84] Generated Node #0,2: 87:[9, 12, 84] Operation: 51+33=84 Exploring Operation: 51-12=39, Resulting Numbers: [9, 33, 39] Generated Node #0,3: 87:[9, 33, 39] Operation: 51-12=39 Exploring Operation: 51-33=18, Resulting Numbers: [9, 12, 18] Generated Node #0,4: 87:[9, 12, 18] Operation: 51-33=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[9, 12, 84], Operations: ['51+33=84'] Exploring Operation: 9+12=21, Resulting Numbers: [84, 21] Generated Node #0,2,0: 87:[84, 21] Operation: 9+12=21 Exploring Operation: 84/12=7, Resulting Numbers: [9, 7] Generated Node #0,2,1: 87:[9, 7] Operation: 84/12=7 Exploring Operation: 12-9=3, Resulting Numbers: [84, 3] Generated Node #0,2,2: 87:[84, 3] Operation: 12-9=3 Exploring Operation: 12+84=96, Resulting Numbers: [9, 96] Generated Node #0,2,3: 87:[9, 96] Operation: 12+84=96 Exploring Operation: 9+84=93, Resulting Numbers: [12, 93] Generated Node #0,2,4: 87:[12, 93] Operation: 9+84=93 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[84, 3], Operations: ['51+33=84', '12-9=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,87 unequal: No Solution Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,87 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[9, 51, 12, 33], Operations: [] Exploring Operation: 51+33=84, Resulting Numbers: [9, 12, 84] Generated Node #0,2: 87:[9, 12, 84] Operation: 51+33=84 Moving to Node #0,2 Current State: 87:[9, 12, 84], Operations: ['51+33=84'] Exploring Operation: 12-9=3, Resulting Numbers: [84, 3] Generated Node #0,2,2: 87:[84, 3] Operation: 12-9=3 Moving to Node #0,2,2 Current State: 87:[84, 3], Operations: ['51+33=84', '12-9=3'] Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 38, 19, 6, 24 ]
20
[ "38/19=2", "24-6=18", "2+18=20" ]
Current State: 20:[38, 19, 6, 24], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [6, 24, 2] Generated Node #2: [6, 24, 2] from Operation: 38/19=2 Current State: 20:[6, 24, 2], Operations: ['38/19=2'] Exploring Operation: 24-6=18, Resulting Numbers: [2, 18] Generated Node #3: [2, 18] from Operation: 24-6=18 Current State: 20:[2, 18], Operations: ['38/19=2', '24-6=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[38, 19, 6, 24], Operations: [] Exploring Operation: 38-19=19, Resulting Numbers: [6, 24, 19] Generated Node #0,0: 20:[6, 24, 19] Operation: 38-19=19 Exploring Operation: 38-24=14, Resulting Numbers: [19, 6, 14] Generated Node #0,1: 20:[19, 6, 14] Operation: 38-24=14 Exploring Operation: 38-6=32, Resulting Numbers: [19, 24, 32] Generated Node #0,2: 20:[19, 24, 32] Operation: 38-6=32 Exploring Operation: 38/19=2, Resulting Numbers: [6, 24, 2] Generated Node #0,3: 20:[6, 24, 2] Operation: 38/19=2 Moving to Node #0,3 Current State: 20:[6, 24, 2], Operations: ['38/19=2'] Exploring Operation: 24/6=4, Resulting Numbers: [2, 4] Generated Node #0,3,0: 20:[2, 4] Operation: 24/6=4 Exploring Operation: 24-6=18, Resulting Numbers: [2, 18] Generated Node #0,3,1: 20:[2, 18] Operation: 24-6=18 Exploring Operation: 24/2=12, Resulting Numbers: [6, 12] Generated Node #0,3,2: 20:[6, 12] Operation: 24/2=12 Exploring Operation: 24-2=22, Resulting Numbers: [6, 22] Generated Node #0,3,3: 20:[6, 22] Operation: 24-2=22 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 20:[2, 4], Operations: ['38/19=2', '24/6=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,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:[2, 18], Operations: ['38/19=2', '24-6=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[38, 19, 6, 24], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [6, 24, 2] Generated Node #0,3: 20:[6, 24, 2] Operation: 38/19=2 Moving to Node #0,3 Current State: 20:[6, 24, 2], Operations: ['38/19=2'] Exploring Operation: 24-6=18, Resulting Numbers: [2, 18] Generated Node #0,3,1: 20:[2, 18] Operation: 24-6=18 Moving to Node #0,3,1 Current State: 20:[2, 18], Operations: ['38/19=2', '24-6=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 45, 14, 47, 66 ]
47
[ "47-45=2", "66/2=33", "14+33=47" ]
Current State: 47:[45, 14, 47, 66], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [14, 66, 2] Generated Node #2: [14, 66, 2] from Operation: 47-45=2 Current State: 47:[14, 66, 2], Operations: ['47-45=2'] Exploring Operation: 66/2=33, Resulting Numbers: [14, 33] Generated Node #3: [14, 33] from Operation: 66/2=33 Current State: 47:[14, 33], Operations: ['47-45=2', '66/2=33'] Exploring Operation: 14+33=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[45, 14, 47, 66], Operations: [] Exploring Operation: 47-14=33, Resulting Numbers: [45, 66, 33] Generated Node #0,0: 47:[45, 66, 33] Operation: 47-14=33 Exploring Operation: 66-14=52, Resulting Numbers: [45, 47, 52] Generated Node #0,1: 47:[45, 47, 52] Operation: 66-14=52 Exploring Operation: 45-14=31, Resulting Numbers: [47, 66, 31] Generated Node #0,2: 47:[47, 66, 31] Operation: 45-14=31 Exploring Operation: 45+14=59, Resulting Numbers: [47, 66, 59] Generated Node #0,3: 47:[47, 66, 59] Operation: 45+14=59 Exploring Operation: 14+47=61, Resulting Numbers: [45, 66, 61] Generated Node #0,4: 47:[45, 66, 61] Operation: 14+47=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[45, 47, 52], Operations: ['66-14=52'] Exploring Operation: 52-45=7, Resulting Numbers: [47, 7] Generated Node #0,1,0: 47:[47, 7] Operation: 52-45=7 Exploring Operation: 52-47=5, Resulting Numbers: [45, 5] Generated Node #0,1,1: 47:[45, 5] Operation: 52-47=5 Exploring Operation: 45+47=92, Resulting Numbers: [52, 92] Generated Node #0,1,2: 47:[52, 92] Operation: 45+47=92 Exploring Operation: 45+52=97, Resulting Numbers: [47, 97] Generated Node #0,1,3: 47:[47, 97] Operation: 45+52=97 Exploring Operation: 47-45=2, Resulting Numbers: [52, 2] Generated Node #0,1,4: 47:[52, 2] Operation: 47-45=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[47, 7], Operations: ['66-14=52', '52-45=7'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,47 unequal: No Solution No 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: 47:[45, 5], Operations: ['66-14=52', '52-47=5'] Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,47 unequal: No Solution No 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: 47:[52, 92], Operations: ['66-14=52', '45+47=92'] Exploring Operation: 52+92=144, Resulting Numbers: [144] 144,47 unequal: No Solution Exploring Operation: 52*92=4784, Resulting Numbers: [4784] 4784,47 unequal: No Solution Exploring Operation: 92-52=40, Resulting Numbers: [40] 40,47 unequal: No Solution No 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: 47:[47, 97], Operations: ['66-14=52', '45+52=97'] Exploring Operation: 47*97=4559, Resulting Numbers: [4559] 4559,47 unequal: No Solution Exploring Operation: 47+97=144, Resulting Numbers: [144] 144,47 unequal: No Solution Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,47 unequal: No Solution No 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: 47:[52, 2], Operations: ['66-14=52', '47-45=2'] Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,47 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,47 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: 47:[47, 66, 59], Operations: ['45+14=59'] Exploring Operation: 59-47=12, Resulting Numbers: [66, 12] Generated Node #0,3,0: 47:[66, 12] Operation: 59-47=12 Exploring Operation: 47+66=113, Resulting Numbers: [59, 113] Generated Node #0,3,1: 47:[59, 113] Operation: 47+66=113 Exploring Operation: 66-47=19, Resulting Numbers: [59, 19] Generated Node #0,3,2: 47:[59, 19] Operation: 66-47=19 Exploring Operation: 47+59=106, Resulting Numbers: [66, 106] Generated Node #0,3,3: 47:[66, 106] Operation: 47+59=106 Exploring Operation: 66-59=7, Resulting Numbers: [47, 7] Generated Node #0,3,4: 47:[47, 7] Operation: 66-59=7 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 47:[59, 19], Operations: ['45+14=59', '66-47=19'] Exploring Operation: 59+19=78, Resulting Numbers: [78] 78,47 unequal: No Solution Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 59*19=1121, Resulting Numbers: [1121] 1121,47 unequal: No Solution No 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: 47:[47, 7], Operations: ['45+14=59', '66-59=7'] Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,47 unequal: No Solution Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,47 unequal: No Solution No 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: 47:[66, 12], Operations: ['45+14=59', '59-47=12'] Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 66+12=78, Resulting Numbers: [78] 78,47 unequal: No Solution Exploring Operation: 66*12=792, Resulting Numbers: [792] 792,47 unequal: No Solution No 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: 47:[59, 113], Operations: ['45+14=59', '47+66=113'] Exploring Operation: 113-59=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 59*113=6667, Resulting Numbers: [6667] 6667,47 unequal: No Solution Exploring Operation: 59+113=172, Resulting Numbers: [172] 172,47 unequal: No Solution No 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: 47:[66, 106], Operations: ['45+14=59', '47+59=106'] Exploring Operation: 106-66=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 66+106=172, Resulting Numbers: [172] 172,47 unequal: No Solution Exploring Operation: 66*106=6996, Resulting Numbers: [6996] 6996,47 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: 47:[45, 66, 33], Operations: ['47-14=33'] Exploring Operation: 66/33=2, Resulting Numbers: [45, 2] Generated Node #0,0,0: 47:[45, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [45, 33] Generated Node #0,0,1: 47:[45, 33] Operation: 66-33=33 Exploring Operation: 66-45=21, Resulting Numbers: [33, 21] Generated Node #0,0,2: 47:[33, 21] Operation: 66-45=21 Exploring Operation: 45-33=12, Resulting Numbers: [66, 12] Generated Node #0,0,3: 47:[66, 12] Operation: 45-33=12 Exploring Operation: 45+33=78, Resulting Numbers: [66, 78] Generated Node #0,0,4: 47:[66, 78] Operation: 45+33=78 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[45, 33], Operations: ['47-14=33', '66-33=33'] Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,47 unequal: No Solution Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,47 unequal: No Solution No 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: 47:[33, 21], Operations: ['47-14=33', '66-45=21'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,47 unequal: No Solution No 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: 47:[45, 2], Operations: ['47-14=33', '66/33=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[45, 14, 47, 66], Operations: [] Exploring Operation: 47-14=33, Resulting Numbers: [45, 66, 33] Generated Node #0,0: 47:[45, 66, 33] Operation: 47-14=33 Moving to Node #0,0 Current State: 47:[45, 66, 33], Operations: ['47-14=33'] Exploring Operation: 66/33=2, Resulting Numbers: [45, 2] Generated Node #0,0,0: 47:[45, 2] Operation: 66/33=2 Moving to Node #0,0,0 Current State: 47:[45, 2], Operations: ['47-14=33', '66/33=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.945313
hs_5
sum_heuristic
[ 91, 25, 72, 85 ]
32
[ "85-72=13", "91/13=7", "25+7=32" ]
Current State: 32:[91, 25, 72, 85], Operations: [] Exploring Operation: 85-72=13, Resulting Numbers: [91, 25, 13] Generated Node #2: [91, 25, 13] from Operation: 85-72=13 Current State: 32:[91, 25, 13], Operations: ['85-72=13'] Exploring Operation: 91/13=7, Resulting Numbers: [25, 7] Generated Node #3: [25, 7] from Operation: 91/13=7 Current State: 32:[25, 7], Operations: ['85-72=13', '91/13=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[91, 25, 72, 85], Operations: [] Exploring Operation: 91-72=19, Resulting Numbers: [25, 85, 19] Generated Node #0,0: 32:[25, 85, 19] Operation: 91-72=19 Exploring Operation: 91-85=6, Resulting Numbers: [25, 72, 6] Generated Node #0,1: 32:[25, 72, 6] Operation: 91-85=6 Exploring Operation: 85-72=13, Resulting Numbers: [91, 25, 13] Generated Node #0,2: 32:[91, 25, 13] Operation: 85-72=13 Moving to Node #0,1 Current State: 32:[25, 72, 6], Operations: ['91-85=6'] Exploring Operation: 72-25=47, Resulting Numbers: [6, 47] Generated Node #0,1,0: 32:[6, 47] Operation: 72-25=47 Exploring Operation: 25+6=31, Resulting Numbers: [72, 31] Generated Node #0,1,1: 32:[72, 31] Operation: 25+6=31 Exploring Operation: 72/6=12, Resulting Numbers: [25, 12] Generated Node #0,1,2: 32:[25, 12] Operation: 72/6=12 Moving to Node #0,0 Current State: 32:[25, 85, 19], Operations: ['91-72=19'] Exploring Operation: 85-19=66, Resulting Numbers: [25, 66] Generated Node #0,0,0: 32:[25, 66] Operation: 85-19=66 Exploring Operation: 25-19=6, Resulting Numbers: [85, 6] Generated Node #0,0,1: 32:[85, 6] Operation: 25-19=6 Exploring Operation: 85-25=60, Resulting Numbers: [19, 60] Generated Node #0,0,2: 32:[19, 60] Operation: 85-25=60 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[19, 60], Operations: ['91-72=19', '85-25=60'] Exploring Operation: 19+60=79, Resulting Numbers: [79] 79,32 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 19*60=1140, Resulting Numbers: [1140] 1140,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[25, 66], Operations: ['91-72=19', '85-19=66'] Exploring Operation: 25+66=91, Resulting Numbers: [91] 91,32 unequal: No Solution Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 25*66=1650, Resulting Numbers: [1650] 1650,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[85, 6], Operations: ['91-72=19', '25-19=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,32 unequal: No Solution Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,32 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,32 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: 32:[91, 25, 13], Operations: ['85-72=13'] Exploring Operation: 91-25=66, Resulting Numbers: [13, 66] Generated Node #0,2,0: 32:[13, 66] Operation: 91-25=66 Exploring Operation: 91/13=7, Resulting Numbers: [25, 7] Generated Node #0,2,1: 32:[25, 7] Operation: 91/13=7 Exploring Operation: 91-13=78, Resulting Numbers: [25, 78] Generated Node #0,2,2: 32:[25, 78] Operation: 91-13=78 Moving to Node #0,2,1 Current State: 32:[25, 7], Operations: ['85-72=13', '91/13=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[91, 25, 72, 85], Operations: [] Exploring Operation: 85-72=13, Resulting Numbers: [91, 25, 13] Generated Node #0,2: 32:[91, 25, 13] Operation: 85-72=13 Moving to Node #0,2 Current State: 32:[91, 25, 13], Operations: ['85-72=13'] Exploring Operation: 91/13=7, Resulting Numbers: [25, 7] Generated Node #0,2,1: 32:[25, 7] Operation: 91/13=7 Moving to Node #0,2,1 Current State: 32:[25, 7], Operations: ['85-72=13', '91/13=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 53, 2, 13, 48 ]
86
[ "53-2=51", "48-13=35", "51+35=86" ]
Current State: 86:[53, 2, 13, 48], Operations: [] Exploring Operation: 53-2=51, Resulting Numbers: [13, 48, 51] Generated Node #2: [13, 48, 51] from Operation: 53-2=51 Current State: 86:[13, 48, 51], Operations: ['53-2=51'] Exploring Operation: 48-13=35, Resulting Numbers: [51, 35] Generated Node #3: [51, 35] from Operation: 48-13=35 Current State: 86:[51, 35], Operations: ['53-2=51', '48-13=35'] Exploring Operation: 51+35=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[53, 2, 13, 48], Operations: [] Exploring Operation: 53-13=40, Resulting Numbers: [2, 48, 40] Generated Node #0,0: 86:[2, 48, 40] Operation: 53-13=40 Exploring Operation: 53-48=5, Resulting Numbers: [2, 13, 5] Generated Node #0,1: 86:[2, 13, 5] Operation: 53-48=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[2, 48, 40], Operations: ['53-13=40'] Exploring Operation: 48-2=46, Resulting Numbers: [40, 46] Generated Node #0,0,0: 86:[40, 46] Operation: 48-2=46 Exploring Operation: 48+40=88, Resulting Numbers: [2, 88] Generated Node #0,0,1: 86:[2, 88] Operation: 48+40=88 Moving to Node #0,0,1 Current State: 86:[2, 88], Operations: ['53-13=40', '48+40=88'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[53, 2, 13, 48], Operations: [] Exploring Operation: 53-13=40, Resulting Numbers: [2, 48, 40] Generated Node #0,0: 86:[2, 48, 40] Operation: 53-13=40 Moving to Node #0,0 Current State: 86:[2, 48, 40], Operations: ['53-13=40'] Exploring Operation: 48+40=88, Resulting Numbers: [2, 88] Generated Node #0,0,1: 86:[2, 88] Operation: 48+40=88 Moving to Node #0,0,1 Current State: 86:[2, 88], Operations: ['53-13=40', '48+40=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 72, 38, 15, 84 ]
65
[ "72-38=34", "15+84=99", "99-34=65" ]
Current State: 65:[72, 38, 15, 84], Operations: [] Exploring Operation: 72-38=34, Resulting Numbers: [15, 84, 34] Generated Node #2: [15, 84, 34] from Operation: 72-38=34 Current State: 65:[15, 84, 34], Operations: ['72-38=34'] Exploring Operation: 15+84=99, Resulting Numbers: [34, 99] Generated Node #3: [34, 99] from Operation: 15+84=99 Current State: 65:[34, 99], Operations: ['72-38=34', '15+84=99'] Exploring Operation: 99-34=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[72, 38, 15, 84], Operations: [] Exploring Operation: 84-72=12, Resulting Numbers: [38, 15, 12] Generated Node #0,0: 65:[38, 15, 12] Operation: 84-72=12 Exploring Operation: 38-15=23, Resulting Numbers: [72, 84, 23] Generated Node #0,1: 65:[72, 84, 23] Operation: 38-15=23 Exploring Operation: 84-15=69, Resulting Numbers: [72, 38, 69] Generated Node #0,2: 65:[72, 38, 69] Operation: 84-15=69 Exploring Operation: 84-38=46, Resulting Numbers: [72, 15, 46] Generated Node #0,3: 65:[72, 15, 46] Operation: 84-38=46 Moving to Node #0,0 Current State: 65:[38, 15, 12], Operations: ['84-72=12'] Exploring Operation: 38-15=23, Resulting Numbers: [12, 23] Generated Node #0,0,0: 65:[12, 23] Operation: 38-15=23 Exploring Operation: 38-12=26, Resulting Numbers: [15, 26] Generated Node #0,0,1: 65:[15, 26] Operation: 38-12=26 Exploring Operation: 38+15=53, Resulting Numbers: [12, 53] Generated Node #0,0,2: 65:[12, 53] Operation: 38+15=53 Exploring Operation: 38+12=50, Resulting Numbers: [15, 50] Generated Node #0,0,3: 65:[15, 50] Operation: 38+12=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[12, 23], Operations: ['84-72=12', '38-15=23'] Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,65 unequal: No Solution Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,65 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,65 unequal: No Solution No 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: 65:[12, 53], Operations: ['84-72=12', '38+15=53'] Exploring Operation: 12+53=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[72, 38, 15, 84], Operations: [] Exploring Operation: 84-72=12, Resulting Numbers: [38, 15, 12] Generated Node #0,0: 65:[38, 15, 12] Operation: 84-72=12 Moving to Node #0,0 Current State: 65:[38, 15, 12], Operations: ['84-72=12'] Exploring Operation: 38+15=53, Resulting Numbers: [12, 53] Generated Node #0,0,2: 65:[12, 53] Operation: 38+15=53 Moving to Node #0,0,2 Current State: 65:[12, 53], Operations: ['84-72=12', '38+15=53'] Exploring Operation: 12+53=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 40, 7, 61, 58 ]
11
[ "40-7=33", "61-58=3", "33/3=11" ]
Current State: 11:[40, 7, 61, 58], Operations: [] Exploring Operation: 40-7=33, Resulting Numbers: [61, 58, 33] Generated Node #2: [61, 58, 33] from Operation: 40-7=33 Current State: 11:[61, 58, 33], Operations: ['40-7=33'] Exploring Operation: 61-58=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 61-58=3 Current State: 11:[33, 3], Operations: ['40-7=33', '61-58=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[40, 7, 61, 58], Operations: [] Exploring Operation: 58-40=18, Resulting Numbers: [7, 61, 18] Generated Node #0,0: 11:[7, 61, 18] Operation: 58-40=18 Exploring Operation: 61-58=3, Resulting Numbers: [40, 7, 3] Generated Node #0,1: 11:[40, 7, 3] Operation: 61-58=3 Exploring Operation: 40-7=33, Resulting Numbers: [61, 58, 33] Generated Node #0,2: 11:[61, 58, 33] Operation: 40-7=33 Exploring Operation: 61-40=21, Resulting Numbers: [7, 58, 21] Generated Node #0,3: 11:[7, 58, 21] Operation: 61-40=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[40, 7, 3], Operations: ['61-58=3'] Exploring Operation: 7+3=10, Resulting Numbers: [40, 10] Generated Node #0,1,0: 11:[40, 10] Operation: 7+3=10 Exploring Operation: 40+3=43, Resulting Numbers: [7, 43] Generated Node #0,1,1: 11:[7, 43] Operation: 40+3=43 Exploring Operation: 40-7=33, Resulting Numbers: [3, 33] Generated Node #0,1,2: 11:[3, 33] Operation: 40-7=33 Exploring Operation: 40-3=37, Resulting Numbers: [7, 37] Generated Node #0,1,3: 11:[7, 37] Operation: 40-3=37 Moving to Node #0,1,0 Current State: 11:[40, 10], Operations: ['61-58=3', '7+3=10'] Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 40*10=400, Resulting Numbers: [400] 400,11 unequal: No Solution Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[7, 37], Operations: ['61-58=3', '40-3=37'] Exploring Operation: 7*37=259, Resulting Numbers: [259] 259,11 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[3, 33], Operations: ['61-58=3', '40-7=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[40, 7, 61, 58], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [40, 7, 3] Generated Node #0,1: 11:[40, 7, 3] Operation: 61-58=3 Moving to Node #0,1 Current State: 11:[40, 7, 3], Operations: ['61-58=3'] Exploring Operation: 40-7=33, Resulting Numbers: [3, 33] Generated Node #0,1,2: 11:[3, 33] Operation: 40-7=33 Moving to Node #0,1,2 Current State: 11:[3, 33], Operations: ['61-58=3', '40-7=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 7, 85, 28, 21 ]
29
[ "85-7=78", "28+21=49", "78-49=29" ]
Current State: 29:[7, 85, 28, 21], Operations: [] Exploring Operation: 85-7=78, Resulting Numbers: [28, 21, 78] Generated Node #2: [28, 21, 78] from Operation: 85-7=78 Current State: 29:[28, 21, 78], Operations: ['85-7=78'] Exploring Operation: 28+21=49, Resulting Numbers: [78, 49] Generated Node #3: [78, 49] from Operation: 28+21=49 Current State: 29:[78, 49], Operations: ['85-7=78', '28+21=49'] Exploring Operation: 78-49=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[7, 85, 28, 21], Operations: [] Exploring Operation: 85-7=78, Resulting Numbers: [28, 21, 78] Generated Node #0,0: 29:[28, 21, 78] Operation: 85-7=78 Moving to Node #0,0 Current State: 29:[28, 21, 78], Operations: ['85-7=78'] Exploring Operation: 78-28=50, Resulting Numbers: [21, 50] Generated Node #0,0,0: 29:[21, 50] Operation: 78-28=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[21, 50], Operations: ['85-7=78', '78-28=50'] Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[7, 85, 28, 21], Operations: [] Exploring Operation: 85-7=78, Resulting Numbers: [28, 21, 78] Generated Node #0,0: 29:[28, 21, 78] Operation: 85-7=78 Moving to Node #0,0 Current State: 29:[28, 21, 78], Operations: ['85-7=78'] Exploring Operation: 78-28=50, Resulting Numbers: [21, 50] Generated Node #0,0,0: 29:[21, 50] Operation: 78-28=50 Moving to Node #0,0,0 Current State: 29:[21, 50], Operations: ['85-7=78', '78-28=50'] Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 71, 79, 79, 26 ]
71
[ "79-79=0", "26*0=0", "71+0=71" ]
Current State: 71:[71, 79, 79, 26], Operations: [] Exploring Operation: 79-79=0, Resulting Numbers: [71, 26, 0] Generated Node #2: [71, 26, 0] from Operation: 79-79=0 Current State: 71:[71, 26, 0], Operations: ['79-79=0'] Exploring Operation: 26*0=0, Resulting Numbers: [71, 0] Generated Node #3: [71, 0] from Operation: 26*0=0 Current State: 71:[71, 0], Operations: ['79-79=0', '26*0=0'] Exploring Operation: 71+0=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[71, 79, 79, 26], Operations: [] Exploring Operation: 71-26=45, Resulting Numbers: [79, 79, 45] Generated Node #0,0: 71:[79, 79, 45] Operation: 71-26=45 Exploring Operation: 71+26=97, Resulting Numbers: [79, 79, 97] Generated Node #0,1: 71:[79, 79, 97] Operation: 71+26=97 Exploring Operation: 79+26=105, Resulting Numbers: [71, 79, 105] Generated Node #0,2: 71:[71, 79, 105] Operation: 79+26=105 Exploring Operation: 79-26=53, Resulting Numbers: [71, 79, 53] Generated Node #0,3: 71:[71, 79, 53] Operation: 79-26=53 Exploring Operation: 79-26=53, Resulting Numbers: [71, 79, 53] Generated Node #0,4: 71:[71, 79, 53] Operation: 79-26=53 Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[71, 79, 53], Operations: ['79-26=53'] Exploring Operation: 79+53=132, Resulting Numbers: [71, 132] Generated Node #0,3,0: 71:[71, 132] Operation: 79+53=132 Exploring Operation: 79-53=26, Resulting Numbers: [71, 26] Generated Node #0,3,1: 71:[71, 26] Operation: 79-53=26 Exploring Operation: 71+53=124, Resulting Numbers: [79, 124] Generated Node #0,3,2: 71:[79, 124] Operation: 71+53=124 Exploring Operation: 71-53=18, Resulting Numbers: [79, 18] Generated Node #0,3,3: 71:[79, 18] Operation: 71-53=18 Exploring Operation: 79-71=8, Resulting Numbers: [53, 8] Generated Node #0,3,4: 71:[53, 8] Operation: 79-71=8 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 71:[71, 26], Operations: ['79-26=53', '79-53=26'] Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,71 unequal: No Solution Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 71:[71, 132], Operations: ['79-26=53', '79+53=132'] Exploring Operation: 132-71=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 71+132=203, Resulting Numbers: [203] 203,71 unequal: No Solution Exploring Operation: 71*132=9372, Resulting Numbers: [9372] 9372,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 71:[79, 124], Operations: ['79-26=53', '71+53=124'] Exploring Operation: 79*124=9796, Resulting Numbers: [9796] 9796,71 unequal: No Solution Exploring Operation: 124-79=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 79+124=203, Resulting Numbers: [203] 203,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 71:[79, 18], Operations: ['79-26=53', '71-53=18'] Exploring Operation: 79*18=1422, Resulting Numbers: [1422] 1422,71 unequal: No Solution Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 71:[53, 8], Operations: ['79-26=53', '79-71=8'] Exploring Operation: 53*8=424, Resulting Numbers: [424] 424,71 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 53+8=61, Resulting Numbers: [61] 61,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 71:[71, 79, 53], Operations: ['79-26=53'] Exploring Operation: 79-53=26, Resulting Numbers: [71, 26] Generated Node #0,4,0: 71:[71, 26] Operation: 79-53=26 Exploring Operation: 79+53=132, Resulting Numbers: [71, 132] Generated Node #0,4,1: 71:[71, 132] Operation: 79+53=132 Exploring Operation: 71+53=124, Resulting Numbers: [79, 124] Generated Node #0,4,2: 71:[79, 124] Operation: 71+53=124 Exploring Operation: 79-71=8, Resulting Numbers: [53, 8] Generated Node #0,4,3: 71:[53, 8] Operation: 79-71=8 Exploring Operation: 71-53=18, Resulting Numbers: [79, 18] Generated Node #0,4,4: 71:[79, 18] Operation: 71-53=18 Moving to Node #0,4,0 Current State: 71:[71, 26], Operations: ['79-26=53', '79-53=26'] Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,71 unequal: No Solution Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[79, 124], Operations: ['79-26=53', '71+53=124'] Exploring Operation: 79+124=203, Resulting Numbers: [203] 203,71 unequal: No Solution Exploring Operation: 79*124=9796, Resulting Numbers: [9796] 9796,71 unequal: No Solution Exploring Operation: 124-79=45, Resulting Numbers: [45] 45,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[71, 132], Operations: ['79-26=53', '79+53=132'] Exploring Operation: 71*132=9372, Resulting Numbers: [9372] 9372,71 unequal: No Solution Exploring Operation: 132-71=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 71+132=203, Resulting Numbers: [203] 203,71 unequal: No Solution Moving to Node #0,4,4 Current State: 71:[79, 18], Operations: ['79-26=53', '71-53=18'] Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,71 unequal: No Solution Exploring Operation: 79*18=1422, Resulting Numbers: [1422] 1422,71 unequal: No Solution Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[53, 8], Operations: ['79-26=53', '79-71=8'] Exploring Operation: 53+8=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 53*8=424, Resulting Numbers: [424] 424,71 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[79, 79, 45], Operations: ['71-26=45'] Exploring Operation: 79+45=124, Resulting Numbers: [79, 124] Generated Node #0,0,0: 71:[79, 124] Operation: 79+45=124 Exploring Operation: 79/79=1, Resulting Numbers: [45, 1] Generated Node #0,0,1: 71:[45, 1] Operation: 79/79=1 Exploring Operation: 79+45=124, Resulting Numbers: [79, 124] Generated Node #0,0,2: 71:[79, 124] Operation: 79+45=124 Exploring Operation: 79-45=34, Resulting Numbers: [79, 34] Generated Node #0,0,3: 71:[79, 34] Operation: 79-45=34 Exploring Operation: 79-45=34, Resulting Numbers: [79, 34] Generated Node #0,0,4: 71:[79, 34] Operation: 79-45=34 Moving to Node #0,0,3 Current State: 71:[79, 34], Operations: ['71-26=45', '79-45=34'] Exploring Operation: 79+34=113, Resulting Numbers: [113] 113,71 unequal: No Solution Exploring Operation: 79*34=2686, Resulting Numbers: [2686] 2686,71 unequal: No Solution Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[79, 34], Operations: ['71-26=45', '79-45=34'] Exploring Operation: 79*34=2686, Resulting Numbers: [2686] 2686,71 unequal: No Solution Exploring Operation: 79+34=113, Resulting Numbers: [113] 113,71 unequal: No Solution Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[79, 124], Operations: ['71-26=45', '79+45=124'] Exploring Operation: 124-79=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 79*124=9796, Resulting Numbers: [9796] 9796,71 unequal: No Solution Exploring Operation: 79+124=203, Resulting Numbers: [203] 203,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[79, 124], Operations: ['71-26=45', '79+45=124'] Exploring Operation: 124-79=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 79*124=9796, Resulting Numbers: [9796] 9796,71 unequal: No Solution Exploring Operation: 79+124=203, Resulting Numbers: [203] 203,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[45, 1], Operations: ['71-26=45', '79/79=1'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,71 unequal: No Solution Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,71 unequal: No Solution Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[79, 79, 97], Operations: ['71+26=97'] Exploring Operation: 97-79=18, Resulting Numbers: [79, 18] Generated Node #0,1,0: 71:[79, 18] Operation: 97-79=18 Exploring Operation: 79+79=158, Resulting Numbers: [97, 158] Generated Node #0,1,1: 71:[97, 158] Operation: 79+79=158 Exploring Operation: 97-79=18, Resulting Numbers: [79, 18] Generated Node #0,1,2: 71:[79, 18] Operation: 97-79=18 Exploring Operation: 79-79=0, Resulting Numbers: [97, 0] Generated Node #0,1,3: 71:[97, 0] Operation: 79-79=0 Exploring Operation: 79/79=1, Resulting Numbers: [97, 1] Generated Node #0,1,4: 71:[97, 1] Operation: 79/79=1 Moving to Node #0,1,0 Current State: 71:[79, 18], Operations: ['71+26=97', '97-79=18'] Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,71 unequal: No Solution Exploring Operation: 79*18=1422, Resulting Numbers: [1422] 1422,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[79, 18], Operations: ['71+26=97', '97-79=18'] Exploring Operation: 79*18=1422, Resulting Numbers: [1422] 1422,71 unequal: No Solution Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[97, 1], Operations: ['71+26=97', '79/79=1'] Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,71 unequal: No Solution Exploring Operation: 97+1=98, Resulting Numbers: [98] 98,71 unequal: No Solution Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,71 unequal: No Solution Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[97, 0], Operations: ['71+26=97', '79-79=0'] Exploring Operation: 97*0=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 97-0=97, Resulting Numbers: [97] 97,71 unequal: No Solution Exploring Operation: 97+0=97, Resulting Numbers: [97] 97,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[97, 158], Operations: ['71+26=97', '79+79=158'] Exploring Operation: 158-97=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 97+158=255, Resulting Numbers: [255] 255,71 unequal: No Solution Exploring Operation: 97*158=15326, Resulting Numbers: [15326] 15326,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[71, 79, 105], Operations: ['79+26=105'] Exploring Operation: 71+105=176, Resulting Numbers: [79, 176] Generated Node #0,2,0: 71:[79, 176] Operation: 71+105=176 Exploring Operation: 105-71=34, Resulting Numbers: [79, 34] Generated Node #0,2,1: 71:[79, 34] Operation: 105-71=34 Exploring Operation: 105-79=26, Resulting Numbers: [71, 26] Generated Node #0,2,2: 71:[71, 26] Operation: 105-79=26 Exploring Operation: 71+79=150, Resulting Numbers: [105, 150] Generated Node #0,2,3: 71:[105, 150] Operation: 71+79=150 Exploring Operation: 79-71=8, Resulting Numbers: [105, 8] Generated Node #0,2,4: 71:[105, 8] Operation: 79-71=8 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[79, 34], Operations: ['79+26=105', '105-71=34'] Exploring Operation: 79*34=2686, Resulting Numbers: [2686] 2686,71 unequal: No Solution Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 79+34=113, Resulting Numbers: [113] 113,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[71, 26], Operations: ['79+26=105', '105-79=26'] Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,71 unequal: No Solution Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,71 unequal: No Solution Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 71:[105, 8], Operations: ['79+26=105', '79-71=8'] Exploring Operation: 105-8=97, Resulting Numbers: [97] 97,71 unequal: No Solution Exploring Operation: 105+8=113, Resulting Numbers: [113] 113,71 unequal: No Solution Exploring Operation: 105*8=840, Resulting Numbers: [840] 840,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[79, 176], Operations: ['79+26=105', '71+105=176'] Exploring Operation: 79*176=13904, Resulting Numbers: [13904] 13904,71 unequal: No Solution Exploring Operation: 176-79=97, Resulting Numbers: [97] 97,71 unequal: No Solution Exploring Operation: 79+176=255, Resulting Numbers: [255] 255,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 71:[105, 150], Operations: ['79+26=105', '71+79=150'] Exploring Operation: 105+150=255, Resulting Numbers: [255] 255,71 unequal: No Solution Exploring Operation: 105*150=15750, Resulting Numbers: [15750] 15750,71 unequal: No Solution Exploring Operation: 150-105=45, Resulting Numbers: [45] 45,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 32, 95, 2, 36 ]
80
[ "32*95=3040", "2+36=38", "3040/38=80" ]
Current State: 80:[32, 95, 2, 36], Operations: [] Exploring Operation: 32*95=3040, Resulting Numbers: [2, 36, 3040] Generated Node #2: [2, 36, 3040] from Operation: 32*95=3040 Current State: 80:[2, 36, 3040], Operations: ['32*95=3040'] Exploring Operation: 2+36=38, Resulting Numbers: [3040, 38] Generated Node #3: [3040, 38] from Operation: 2+36=38 Current State: 80:[3040, 38], Operations: ['32*95=3040', '2+36=38'] Exploring Operation: 3040/38=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[32, 95, 2, 36], Operations: [] Exploring Operation: 95-32=63, Resulting Numbers: [2, 36, 63] Generated Node #0,0: 80:[2, 36, 63] Operation: 95-32=63 Exploring Operation: 36-32=4, Resulting Numbers: [95, 2, 4] Generated Node #0,1: 80:[95, 2, 4] Operation: 36-32=4 Exploring Operation: 95-2=93, Resulting Numbers: [32, 36, 93] Generated Node #0,2: 80:[32, 36, 93] Operation: 95-2=93 Exploring Operation: 32/2=16, Resulting Numbers: [95, 36, 16] Generated Node #0,3: 80:[95, 36, 16] Operation: 32/2=16 Exploring Operation: 32+2=34, Resulting Numbers: [95, 36, 34] Generated Node #0,4: 80:[95, 36, 34] Operation: 32+2=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[95, 2, 4], Operations: ['36-32=4'] Exploring Operation: 4-2=2, Resulting Numbers: [95, 2] Generated Node #0,1,0: 80:[95, 2] Operation: 4-2=2 Exploring Operation: 4/2=2, Resulting Numbers: [95, 2] Generated Node #0,1,1: 80:[95, 2] Operation: 4/2=2 Exploring Operation: 95-2=93, Resulting Numbers: [4, 93] Generated Node #0,1,2: 80:[4, 93] Operation: 95-2=93 Exploring Operation: 95-4=91, Resulting Numbers: [2, 91] Generated Node #0,1,3: 80:[2, 91] Operation: 95-4=91 Exploring Operation: 2*4=8, Resulting Numbers: [95, 8] Generated Node #0,1,4: 80:[95, 8] Operation: 2*4=8 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 80:[2, 91], Operations: ['36-32=4', '95-4=91'] Exploring Operation: 2*91=182, Resulting Numbers: [182] 182,80 unequal: No Solution Exploring Operation: 2+91=93, Resulting Numbers: [93] 93,80 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[4, 93], Operations: ['36-32=4', '95-2=93'] Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,80 unequal: No Solution Exploring Operation: 4+93=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 4*93=372, Resulting Numbers: [372] 372,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[95, 2], Operations: ['36-32=4', '4-2=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,80 unequal: No Solution Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,80 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[95, 2], Operations: ['36-32=4', '4/2=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,80 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 80:[95, 8], Operations: ['36-32=4', '2*4=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,80 unequal: No Solution Exploring Operation: 95+8=103, Resulting Numbers: [103] 103,80 unequal: No Solution Exploring Operation: 95*8=760, Resulting Numbers: [760] 760,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[95, 36, 16], Operations: ['32/2=16'] Exploring Operation: 95+16=111, Resulting Numbers: [36, 111] Generated Node #0,3,0: 80:[36, 111] Operation: 95+16=111 Exploring Operation: 36-16=20, Resulting Numbers: [95, 20] Generated Node #0,3,1: 80:[95, 20] Operation: 36-16=20 Exploring Operation: 36+16=52, Resulting Numbers: [95, 52] Generated Node #0,3,2: 80:[95, 52] Operation: 36+16=52 Exploring Operation: 95-36=59, Resulting Numbers: [16, 59] Generated Node #0,3,3: 80:[16, 59] Operation: 95-36=59 Exploring Operation: 95-16=79, Resulting Numbers: [36, 79] Generated Node #0,3,4: 80:[36, 79] Operation: 95-16=79 Moving to Node #0,3,4 Current State: 80:[36, 79], Operations: ['32/2=16', '95-16=79'] Exploring Operation: 36*79=2844, Resulting Numbers: [2844] 2844,80 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,80 unequal: No Solution Exploring Operation: 36+79=115, Resulting Numbers: [115] 115,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[95, 20], Operations: ['32/2=16', '36-16=20'] Exploring Operation: 95+20=115, Resulting Numbers: [115] 115,80 unequal: No Solution Exploring Operation: 95*20=1900, Resulting Numbers: [1900] 1900,80 unequal: No Solution Exploring Operation: 95-20=75, Resulting Numbers: [75] 75,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[16, 59], Operations: ['32/2=16', '95-36=59'] Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,80 unequal: No Solution Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,80 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[95, 52], Operations: ['32/2=16', '36+16=52'] Exploring Operation: 95*52=4940, Resulting Numbers: [4940] 4940,80 unequal: No Solution Exploring Operation: 95+52=147, Resulting Numbers: [147] 147,80 unequal: No Solution Exploring Operation: 95-52=43, Resulting Numbers: [43] 43,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[36, 111], Operations: ['32/2=16', '95+16=111'] Exploring Operation: 111-36=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 36*111=3996, Resulting Numbers: [3996] 3996,80 unequal: No Solution Exploring Operation: 36+111=147, Resulting Numbers: [147] 147,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[2, 36, 63], Operations: ['95-32=63'] Exploring Operation: 2+36=38, Resulting Numbers: [63, 38] Generated Node #0,0,0: 80:[63, 38] Operation: 2+36=38 Exploring Operation: 63-36=27, Resulting Numbers: [2, 27] Generated Node #0,0,1: 80:[2, 27] Operation: 63-36=27 Exploring Operation: 36/2=18, Resulting Numbers: [63, 18] Generated Node #0,0,2: 80:[63, 18] Operation: 36/2=18 Exploring Operation: 36+63=99, Resulting Numbers: [2, 99] Generated Node #0,0,3: 80:[2, 99] Operation: 36+63=99 Exploring Operation: 2+63=65, Resulting Numbers: [36, 65] Generated Node #0,0,4: 80:[36, 65] Operation: 2+63=65 Moving to Node #0,0,1 Current State: 80:[2, 27], Operations: ['95-32=63', '63-36=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[63, 18], Operations: ['95-32=63', '36/2=18'] Exploring Operation: 63+18=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,80 unequal: No Solution Exploring Operation: 63*18=1134, Resulting Numbers: [1134] 1134,80 unequal: No Solution Moving to Node #0,0,4 Current State: 80:[36, 65], Operations: ['95-32=63', '2+63=65'] Exploring Operation: 36+65=101, Resulting Numbers: [101] 101,80 unequal: No Solution Exploring Operation: 36*65=2340, Resulting Numbers: [2340] 2340,80 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[63, 38], Operations: ['95-32=63', '2+36=38'] Exploring Operation: 63+38=101, Resulting Numbers: [101] 101,80 unequal: No Solution Exploring Operation: 63*38=2394, Resulting Numbers: [2394] 2394,80 unequal: No Solution Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[2, 99], Operations: ['95-32=63', '36+63=99'] Exploring Operation: 2*99=198, Resulting Numbers: [198] 198,80 unequal: No Solution Exploring Operation: 2+99=101, Resulting Numbers: [101] 101,80 unequal: No Solution Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[32, 36, 93], Operations: ['95-2=93'] Exploring Operation: 93-32=61, Resulting Numbers: [36, 61] Generated Node #0,2,0: 80:[36, 61] Operation: 93-32=61 Exploring Operation: 32+93=125, Resulting Numbers: [36, 125] Generated Node #0,2,1: 80:[36, 125] Operation: 32+93=125 Exploring Operation: 36-32=4, Resulting Numbers: [93, 4] Generated Node #0,2,2: 80:[93, 4] Operation: 36-32=4 Exploring Operation: 93-36=57, Resulting Numbers: [32, 57] Generated Node #0,2,3: 80:[32, 57] Operation: 93-36=57 Exploring Operation: 32+36=68, Resulting Numbers: [93, 68] Generated Node #0,2,4: 80:[93, 68] Operation: 32+36=68 Moving to Node #0,2,2 Current State: 80:[93, 4], Operations: ['95-2=93', '36-32=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,80 unequal: No Solution Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[36, 61], Operations: ['95-2=93', '93-32=61'] Exploring Operation: 36*61=2196, Resulting Numbers: [2196] 2196,80 unequal: No Solution Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[32, 57], Operations: ['95-2=93', '93-36=57'] Exploring Operation: 32*57=1824, Resulting Numbers: [1824] 1824,80 unequal: No Solution Exploring Operation: 32+57=89, Resulting Numbers: [89] 89,80 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,80 unequal: No Solution Moving to Node #0,2,4 Current State: 80:[93, 68], Operations: ['95-2=93', '32+36=68'] Exploring Operation: 93*68=6324, Resulting Numbers: [6324] 6324,80 unequal: No Solution Exploring Operation: 93+68=161, Resulting Numbers: [161] 161,80 unequal: No Solution Exploring Operation: 93-68=25, Resulting Numbers: [25] 25,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[36, 125], Operations: ['95-2=93', '32+93=125'] Exploring Operation: 36*125=4500, Resulting Numbers: [4500] 4500,80 unequal: No Solution Exploring Operation: 36+125=161, Resulting Numbers: [161] 161,80 unequal: No Solution Exploring Operation: 125-36=89, Resulting Numbers: [89] 89,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:[95, 36, 34], Operations: ['32+2=34'] Exploring Operation: 95+34=129, Resulting Numbers: [36, 129] Generated Node #0,4,0: 80:[36, 129] Operation: 95+34=129 Exploring Operation: 95-36=59, Resulting Numbers: [34, 59] Generated Node #0,4,1: 80:[34, 59] Operation: 95-36=59 Exploring Operation: 95-34=61, Resulting Numbers: [36, 61] Generated Node #0,4,2: 80:[36, 61] Operation: 95-34=61 Exploring Operation: 36+34=70, Resulting Numbers: [95, 70] Generated Node #0,4,3: 80:[95, 70] Operation: 36+34=70 Exploring Operation: 36-34=2, Resulting Numbers: [95, 2] Generated Node #0,4,4: 80:[95, 2] Operation: 36-34=2 Moving to Node #0,4,4 Current State: 80:[95, 2], Operations: ['32+2=34', '36-34=2'] Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,80 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,80 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,80 unequal: No Solution Moving to Node #0,4,2 Current State: 80:[36, 61], Operations: ['32+2=34', '95-34=61'] Exploring Operation: 36*61=2196, Resulting Numbers: [2196] 2196,80 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,80 unequal: No Solution Moving to Node #0,4,1 Current State: 80:[34, 59], Operations: ['32+2=34', '95-36=59'] Exploring Operation: 34*59=2006, Resulting Numbers: [2006] 2006,80 unequal: No Solution Exploring Operation: 34+59=93, Resulting Numbers: [93] 93,80 unequal: No Solution Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,80 unequal: No Solution Moving to Node #0,4,3 Current State: 80:[95, 70], Operations: ['32+2=34', '36+34=70'] Exploring Operation: 95-70=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 95+70=165, Resulting Numbers: [165] 165,80 unequal: No Solution Exploring Operation: 95*70=6650, Resulting Numbers: [6650] 6650,80 unequal: No Solution Moving to Node #0,4,0 Current State: 80:[36, 129], Operations: ['32+2=34', '95+34=129'] Exploring Operation: 36+129=165, Resulting Numbers: [165] 165,80 unequal: No Solution Exploring Operation: 36*129=4644, Resulting Numbers: [4644] 4644,80 unequal: No Solution Exploring Operation: 129-36=93, Resulting Numbers: [93] 93,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 30, 80, 38, 40 ]
22
[ "30*80=2400", "2400/40=60", "60-38=22" ]
Current State: 22:[30, 80, 38, 40], Operations: [] Exploring Operation: 30*80=2400, Resulting Numbers: [38, 40, 2400] Generated Node #2: [38, 40, 2400] from Operation: 30*80=2400 Current State: 22:[38, 40, 2400], Operations: ['30*80=2400'] Exploring Operation: 2400/40=60, Resulting Numbers: [38, 60] Generated Node #3: [38, 60] from Operation: 2400/40=60 Current State: 22:[38, 60], Operations: ['30*80=2400', '2400/40=60'] Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[30, 80, 38, 40], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [30, 38, 2] Generated Node #0,0: 22:[30, 38, 2] Operation: 80/40=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[30, 38, 2], Operations: ['80/40=2'] Exploring Operation: 38-30=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 22:[2, 8] Operation: 38-30=8 Moving to Node #0,0,0 Current State: 22:[2, 8], Operations: ['80/40=2', '38-30=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,22 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
[ 34, 2, 86, 33 ]
86
[ "34-2=32", "33-32=1", "86*1=86" ]
Current State: 86:[34, 2, 86, 33], Operations: [] Exploring Operation: 34-2=32, Resulting Numbers: [86, 33, 32] Generated Node #2: [86, 33, 32] from Operation: 34-2=32 Current State: 86:[86, 33, 32], Operations: ['34-2=32'] Exploring Operation: 33-32=1, Resulting Numbers: [86, 1] Generated Node #3: [86, 1] from Operation: 33-32=1 Current State: 86:[86, 1], Operations: ['34-2=32', '33-32=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[34, 2, 86, 33], Operations: [] Exploring Operation: 34-33=1, Resulting Numbers: [2, 86, 1] Generated Node #0,0: 86:[2, 86, 1] Operation: 34-33=1 Exploring Operation: 34+2=36, Resulting Numbers: [86, 33, 36] Generated Node #0,1: 86:[86, 33, 36] Operation: 34+2=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[2, 86, 1], Operations: ['34-33=1'] Exploring Operation: 2/1=2, Resulting Numbers: [86, 2] Generated Node #0,0,0: 86:[86, 2] Operation: 2/1=2 Exploring Operation: 2*1=2, Resulting Numbers: [86, 2] Generated Node #0,0,1: 86:[86, 2] Operation: 2*1=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[86, 2], Operations: ['34-33=1', '2/1=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,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:[86, 2], Operations: ['34-33=1', '2*1=2'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,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:[86, 33, 36], Operations: ['34+2=36'] Exploring Operation: 86-33=53, Resulting Numbers: [36, 53] Generated Node #0,1,0: 86:[36, 53] Operation: 86-33=53 Exploring Operation: 36-33=3, Resulting Numbers: [86, 3] Generated Node #0,1,1: 86:[86, 3] Operation: 36-33=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[86, 3], Operations: ['34+2=36', '36-33=3'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,86 unequal: No Solution Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,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,1,0 Current State: 86:[36, 53], Operations: ['34+2=36', '86-33=53'] Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 36+53=89, Resulting Numbers: [89] 89,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 No solution found.
0
hs_2
sum_heuristic
[ 94, 95, 11, 82 ]
72
[ "95-94=1", "82-11=71", "1+71=72" ]
Current State: 72:[94, 95, 11, 82], Operations: [] Exploring Operation: 95-94=1, Resulting Numbers: [11, 82, 1] Generated Node #2: [11, 82, 1] from Operation: 95-94=1 Current State: 72:[11, 82, 1], Operations: ['95-94=1'] Exploring Operation: 82-11=71, Resulting Numbers: [1, 71] Generated Node #3: [1, 71] from Operation: 82-11=71 Current State: 72:[1, 71], Operations: ['95-94=1', '82-11=71'] Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[94, 95, 11, 82], Operations: [] Exploring Operation: 95-94=1, Resulting Numbers: [11, 82, 1] Generated Node #0,0: 72:[11, 82, 1] Operation: 95-94=1 Exploring Operation: 94-82=12, Resulting Numbers: [95, 11, 12] Generated Node #0,1: 72:[95, 11, 12] Operation: 94-82=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[11, 82, 1], Operations: ['95-94=1'] Exploring Operation: 82-11=71, Resulting Numbers: [1, 71] Generated Node #0,0,0: 72:[1, 71] Operation: 82-11=71 Exploring Operation: 11+1=12, Resulting Numbers: [82, 12] Generated Node #0,0,1: 72:[82, 12] Operation: 11+1=12 Moving to Node #0,0,0 Current State: 72:[1, 71], Operations: ['95-94=1', '82-11=71'] Exploring Operation: 1*71=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[94, 95, 11, 82], Operations: [] Exploring Operation: 95-94=1, Resulting Numbers: [11, 82, 1] Generated Node #0,0: 72:[11, 82, 1] Operation: 95-94=1 Moving to Node #0,0 Current State: 72:[11, 82, 1], Operations: ['95-94=1'] Exploring Operation: 82-11=71, Resulting Numbers: [1, 71] Generated Node #0,0,0: 72:[1, 71] Operation: 82-11=71 Moving to Node #0,0,0 Current State: 72:[1, 71], Operations: ['95-94=1', '82-11=71'] Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 47, 54, 48, 50 ]
99
[ "47+54=101", "50-48=2", "101-2=99" ]
Current State: 99:[47, 54, 48, 50], Operations: [] Exploring Operation: 47+54=101, Resulting Numbers: [48, 50, 101] Generated Node #2: [48, 50, 101] from Operation: 47+54=101 Current State: 99:[48, 50, 101], Operations: ['47+54=101'] Exploring Operation: 50-48=2, Resulting Numbers: [101, 2] Generated Node #3: [101, 2] from Operation: 50-48=2 Current State: 99:[101, 2], Operations: ['47+54=101', '50-48=2'] Exploring Operation: 101-2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[47, 54, 48, 50], Operations: [] Exploring Operation: 54-50=4, Resulting Numbers: [47, 48, 4] Generated Node #0,0: 99:[47, 48, 4] Operation: 54-50=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[47, 48, 4], Operations: ['54-50=4'] Exploring Operation: 48-47=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 99:[4, 1] Operation: 48-47=1 Moving to Node #0,0,0 Current State: 99:[4, 1], Operations: ['54-50=4', '48-47=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,99 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
[ 90, 76, 2, 1 ]
64
[ "76+1=77", "2*77=154", "154-90=64" ]
Current State: 64:[90, 76, 2, 1], Operations: [] Exploring Operation: 76+1=77, Resulting Numbers: [90, 2, 77] Generated Node #2: [90, 2, 77] from Operation: 76+1=77 Current State: 64:[90, 2, 77], Operations: ['76+1=77'] Exploring Operation: 2*77=154, Resulting Numbers: [90, 154] Generated Node #3: [90, 154] from Operation: 2*77=154 Current State: 64:[90, 154], Operations: ['76+1=77', '2*77=154'] Exploring Operation: 154-90=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[90, 76, 2, 1], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [2, 1, 14] Generated Node #0,0: 64:[2, 1, 14] Operation: 90-76=14 Exploring Operation: 90/2=45, Resulting Numbers: [76, 1, 45] Generated Node #0,1: 64:[76, 1, 45] Operation: 90/2=45 Exploring Operation: 90-2=88, Resulting Numbers: [76, 1, 88] Generated Node #0,2: 64:[76, 1, 88] Operation: 90-2=88 Exploring Operation: 76/2=38, Resulting Numbers: [90, 1, 38] Generated Node #0,3: 64:[90, 1, 38] Operation: 76/2=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[2, 1, 14], Operations: ['90-76=14'] Exploring Operation: 2/1=2, Resulting Numbers: [14, 2] Generated Node #0,0,0: 64:[14, 2] Operation: 2/1=2 Exploring Operation: 2*1=2, Resulting Numbers: [14, 2] Generated Node #0,0,1: 64:[14, 2] Operation: 2*1=2 Exploring Operation: 1+14=15, Resulting Numbers: [2, 15] Generated Node #0,0,2: 64:[2, 15] Operation: 1+14=15 Exploring Operation: 2+14=16, Resulting Numbers: [1, 16] Generated Node #0,0,3: 64:[1, 16] Operation: 2+14=16 Moving to Node #0,0,2 Current State: 64:[2, 15], Operations: ['90-76=14', '1+14=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[1, 16], Operations: ['90-76=14', '2+14=16'] Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[14, 2], Operations: ['90-76=14', '2*1=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,64 unequal: No Solution 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=7, Resulting Numbers: [7] 7,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[14, 2], Operations: ['90-76=14', '2/1=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[76, 1, 45], Operations: ['90/2=45'] Exploring Operation: 76-45=31, Resulting Numbers: [1, 31] Generated Node #0,1,0: 64:[1, 31] Operation: 76-45=31 Exploring Operation: 45-1=44, Resulting Numbers: [76, 44] Generated Node #0,1,1: 64:[76, 44] Operation: 45-1=44 Exploring Operation: 76-1=75, Resulting Numbers: [45, 75] Generated Node #0,1,2: 64:[45, 75] Operation: 76-1=75 Exploring Operation: 76*1=76, Resulting Numbers: [45, 76] Generated Node #0,1,3: 64:[45, 76] Operation: 76*1=76 Moving to Node #0,1,0 Current State: 64:[1, 31], Operations: ['90/2=45', '76-45=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[45, 75], Operations: ['90/2=45', '76-1=75'] Exploring Operation: 45*75=3375, Resulting Numbers: [3375] 3375,64 unequal: No Solution Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 45+75=120, Resulting Numbers: [120] 120,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[76, 44], Operations: ['90/2=45', '45-1=44'] Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 76+44=120, Resulting Numbers: [120] 120,64 unequal: No Solution Exploring Operation: 76*44=3344, Resulting Numbers: [3344] 3344,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[45, 76], Operations: ['90/2=45', '76*1=76'] Exploring Operation: 45*76=3420, Resulting Numbers: [3420] 3420,64 unequal: No Solution Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 45+76=121, Resulting Numbers: [121] 121,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,3 Current State: 64:[90, 1, 38], Operations: ['76/2=38'] Exploring Operation: 90-1=89, Resulting Numbers: [38, 89] Generated Node #0,3,0: 64:[38, 89] Operation: 90-1=89 Exploring Operation: 90*1=90, Resulting Numbers: [38, 90] Generated Node #0,3,1: 64:[38, 90] Operation: 90*1=90 Exploring Operation: 38-1=37, Resulting Numbers: [90, 37] Generated Node #0,3,2: 64:[90, 37] Operation: 38-1=37 Exploring Operation: 90-38=52, Resulting Numbers: [1, 52] Generated Node #0,3,3: 64:[1, 52] Operation: 90-38=52 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 64:[1, 52], Operations: ['76/2=38', '90-38=52'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,64 unequal: No Solution Exploring Operation: 1+52=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 64:[38, 89], Operations: ['76/2=38', '90-1=89'] Exploring Operation: 38*89=3382, Resulting Numbers: [3382] 3382,64 unequal: No Solution Exploring Operation: 38+89=127, Resulting Numbers: [127] 127,64 unequal: No Solution Exploring Operation: 89-38=51, Resulting Numbers: [51] 51,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 64:[90, 37], Operations: ['76/2=38', '38-1=37'] Exploring Operation: 90+37=127, Resulting Numbers: [127] 127,64 unequal: No Solution Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 90*37=3330, Resulting Numbers: [3330] 3330,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 64:[38, 90], Operations: ['76/2=38', '90*1=90'] Exploring Operation: 38+90=128, Resulting Numbers: [128] 128,64 unequal: No Solution Exploring Operation: 90-38=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 38*90=3420, Resulting Numbers: [3420] 3420,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[76, 1, 88], Operations: ['90-2=88'] Exploring Operation: 76-1=75, Resulting Numbers: [88, 75] Generated Node #0,2,0: 64:[88, 75] Operation: 76-1=75 Exploring Operation: 88-76=12, Resulting Numbers: [1, 12] Generated Node #0,2,1: 64:[1, 12] Operation: 88-76=12 Exploring Operation: 88-1=87, Resulting Numbers: [76, 87] Generated Node #0,2,2: 64:[76, 87] Operation: 88-1=87 Exploring Operation: 76*1=76, Resulting Numbers: [88, 76] Generated Node #0,2,3: 64:[88, 76] Operation: 76*1=76 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 64:[1, 12], Operations: ['90-2=88', '88-76=12'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 64:[88, 75], Operations: ['90-2=88', '76-1=75'] Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 88+75=163, Resulting Numbers: [163] 163,64 unequal: No Solution Exploring Operation: 88*75=6600, Resulting Numbers: [6600] 6600,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 64:[76, 87], Operations: ['90-2=88', '88-1=87'] Exploring Operation: 76+87=163, Resulting Numbers: [163] 163,64 unequal: No Solution Exploring Operation: 76*87=6612, Resulting Numbers: [6612] 6612,64 unequal: No Solution Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 64:[88, 76], Operations: ['90-2=88', '76*1=76'] Exploring Operation: 88*76=6688, Resulting Numbers: [6688] 6688,64 unequal: No Solution Exploring Operation: 88+76=164, Resulting Numbers: [164] 164,64 unequal: No Solution Exploring Operation: 88-76=12, Resulting Numbers: [12] 12,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 73, 86, 42, 75 ]
22
[ "75-73=2", "86-42=44", "44/2=22" ]
Current State: 22:[73, 86, 42, 75], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [86, 42, 2] Generated Node #2: [86, 42, 2] from Operation: 75-73=2 Current State: 22:[86, 42, 2], Operations: ['75-73=2'] Exploring Operation: 86-42=44, Resulting Numbers: [2, 44] Generated Node #3: [2, 44] from Operation: 86-42=44 Current State: 22:[2, 44], Operations: ['75-73=2', '86-42=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[73, 86, 42, 75], Operations: [] Exploring Operation: 86-73=13, Resulting Numbers: [42, 75, 13] Generated Node #0,0: 22:[42, 75, 13] Operation: 86-73=13 Exploring Operation: 86-75=11, Resulting Numbers: [73, 42, 11] Generated Node #0,1: 22:[73, 42, 11] Operation: 86-75=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[73, 42, 11], Operations: ['86-75=11'] Exploring Operation: 73-42=31, Resulting Numbers: [11, 31] Generated Node #0,1,0: 22:[11, 31] Operation: 73-42=31 Exploring Operation: 73-11=62, Resulting Numbers: [42, 62] Generated Node #0,1,1: 22:[42, 62] Operation: 73-11=62 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[11, 31], Operations: ['86-75=11', '73-42=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,22 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[42, 62], Operations: ['86-75=11', '73-11=62'] Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 42+62=104, Resulting Numbers: [104] 104,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[42, 75, 13], Operations: ['86-73=13'] Exploring Operation: 42-13=29, Resulting Numbers: [75, 29] Generated Node #0,0,0: 22:[75, 29] Operation: 42-13=29 Exploring Operation: 75-42=33, Resulting Numbers: [13, 33] Generated Node #0,0,1: 22:[13, 33] Operation: 75-42=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[13, 33], Operations: ['86-73=13', '75-42=33'] Exploring Operation: 13+33=46, Resulting Numbers: [46] 46,22 unequal: No Solution Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[75, 29], Operations: ['86-73=13', '42-13=29'] Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,22 unequal: No Solution Exploring Operation: 75+29=104, Resulting Numbers: [104] 104,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 6, 63, 95, 70 ]
94
[ "6+63=69", "95-70=25", "69+25=94" ]
Current State: 94:[6, 63, 95, 70], Operations: [] Exploring Operation: 6+63=69, Resulting Numbers: [95, 70, 69] Generated Node #2: [95, 70, 69] from Operation: 6+63=69 Current State: 94:[95, 70, 69], Operations: ['6+63=69'] Exploring Operation: 95-70=25, Resulting Numbers: [69, 25] Generated Node #3: [69, 25] from Operation: 95-70=25 Current State: 94:[69, 25], Operations: ['6+63=69', '95-70=25'] Exploring Operation: 69+25=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[6, 63, 95, 70], Operations: [] Exploring Operation: 63-6=57, Resulting Numbers: [95, 70, 57] Generated Node #0,0: 94:[95, 70, 57] Operation: 63-6=57 Exploring Operation: 95-63=32, Resulting Numbers: [6, 70, 32] Generated Node #0,1: 94:[6, 70, 32] Operation: 95-63=32 Exploring Operation: 70-63=7, Resulting Numbers: [6, 95, 7] Generated Node #0,2: 94:[6, 95, 7] Operation: 70-63=7 Exploring Operation: 6+70=76, Resulting Numbers: [63, 95, 76] Generated Node #0,3: 94:[63, 95, 76] Operation: 6+70=76 Exploring Operation: 70-6=64, Resulting Numbers: [63, 95, 64] Generated Node #0,4: 94:[63, 95, 64] Operation: 70-6=64 Moving to Node #0,2 Current State: 94:[6, 95, 7], Operations: ['70-63=7'] Exploring Operation: 6+95=101, Resulting Numbers: [7, 101] Generated Node #0,2,0: 94:[7, 101] Operation: 6+95=101 Exploring Operation: 7-6=1, Resulting Numbers: [95, 1] Generated Node #0,2,1: 94:[95, 1] Operation: 7-6=1 Exploring Operation: 95-7=88, Resulting Numbers: [6, 88] Generated Node #0,2,2: 94:[6, 88] Operation: 95-7=88 Exploring Operation: 95-6=89, Resulting Numbers: [7, 89] Generated Node #0,2,3: 94:[7, 89] Operation: 95-6=89 Exploring Operation: 6*7=42, Resulting Numbers: [95, 42] Generated Node #0,2,4: 94:[95, 42] Operation: 6*7=42 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[95, 1], Operations: ['70-63=7', '7-6=1'] Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[6, 63, 95, 70], Operations: [] Exploring Operation: 70-63=7, Resulting Numbers: [6, 95, 7] Generated Node #0,2: 94:[6, 95, 7] Operation: 70-63=7 Moving to Node #0,2 Current State: 94:[6, 95, 7], Operations: ['70-63=7'] Exploring Operation: 7-6=1, Resulting Numbers: [95, 1] Generated Node #0,2,1: 94:[95, 1] Operation: 7-6=1 Moving to Node #0,2,1 Current State: 94:[95, 1], Operations: ['70-63=7', '7-6=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 76, 84, 34, 65 ]
39
[ "84-76=8", "65-34=31", "8+31=39" ]
Current State: 39:[76, 84, 34, 65], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [34, 65, 8] Generated Node #2: [34, 65, 8] from Operation: 84-76=8 Current State: 39:[34, 65, 8], Operations: ['84-76=8'] Exploring Operation: 65-34=31, Resulting Numbers: [8, 31] Generated Node #3: [8, 31] from Operation: 65-34=31 Current State: 39:[8, 31], Operations: ['84-76=8', '65-34=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[76, 84, 34, 65], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [34, 65, 8] Generated Node #0,0: 39:[34, 65, 8] Operation: 84-76=8 Exploring Operation: 84-65=19, Resulting Numbers: [76, 34, 19] Generated Node #0,1: 39:[76, 34, 19] Operation: 84-65=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[34, 65, 8], Operations: ['84-76=8'] Exploring Operation: 65-34=31, Resulting Numbers: [8, 31] Generated Node #0,0,0: 39:[8, 31] Operation: 65-34=31 Exploring Operation: 65-8=57, Resulting Numbers: [34, 57] Generated Node #0,0,1: 39:[34, 57] Operation: 65-8=57 Moving to Node #0,0,0 Current State: 39:[8, 31], Operations: ['84-76=8', '65-34=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[76, 84, 34, 65], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [34, 65, 8] Generated Node #0,0: 39:[34, 65, 8] Operation: 84-76=8 Moving to Node #0,0 Current State: 39:[34, 65, 8], Operations: ['84-76=8'] Exploring Operation: 65-34=31, Resulting Numbers: [8, 31] Generated Node #0,0,0: 39:[8, 31] Operation: 65-34=31 Moving to Node #0,0,0 Current State: 39:[8, 31], Operations: ['84-76=8', '65-34=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 42, 54, 95, 14 ]
15
[ "42+54=96", "95-14=81", "96-81=15" ]
Current State: 15:[42, 54, 95, 14], Operations: [] Exploring Operation: 42+54=96, Resulting Numbers: [95, 14, 96] Generated Node #2: [95, 14, 96] from Operation: 42+54=96 Current State: 15:[95, 14, 96], Operations: ['42+54=96'] Exploring Operation: 95-14=81, Resulting Numbers: [96, 81] Generated Node #3: [96, 81] from Operation: 95-14=81 Current State: 15:[96, 81], Operations: ['42+54=96', '95-14=81'] Exploring Operation: 96-81=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[42, 54, 95, 14], Operations: [] Exploring Operation: 95-54=41, Resulting Numbers: [42, 14, 41] Generated Node #0,0: 15:[42, 14, 41] Operation: 95-54=41 Exploring Operation: 95-42=53, Resulting Numbers: [54, 14, 53] Generated Node #0,1: 15:[54, 14, 53] Operation: 95-42=53 Exploring Operation: 54-42=12, Resulting Numbers: [95, 14, 12] Generated Node #0,2: 15:[95, 14, 12] Operation: 54-42=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[42, 14, 41], Operations: ['95-54=41'] Exploring Operation: 42-14=28, Resulting Numbers: [41, 28] Generated Node #0,0,0: 15:[41, 28] Operation: 42-14=28 Exploring Operation: 42/14=3, Resulting Numbers: [41, 3] Generated Node #0,0,1: 15:[41, 3] Operation: 42/14=3 Exploring Operation: 42-41=1, Resulting Numbers: [14, 1] Generated Node #0,0,2: 15:[14, 1] Operation: 42-41=1 Moving to Node #0,0,2 Current State: 15:[14, 1], Operations: ['95-54=41', '42-41=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[42, 54, 95, 14], Operations: [] Exploring Operation: 95-54=41, Resulting Numbers: [42, 14, 41] Generated Node #0,0: 15:[42, 14, 41] Operation: 95-54=41 Moving to Node #0,0 Current State: 15:[42, 14, 41], Operations: ['95-54=41'] Exploring Operation: 42-41=1, Resulting Numbers: [14, 1] Generated Node #0,0,2: 15:[14, 1] Operation: 42-41=1 Moving to Node #0,0,2 Current State: 15:[14, 1], Operations: ['95-54=41', '42-41=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 2, 88, 62, 89 ]
34
[ "89-62=27", "2*27=54", "88-54=34" ]
Current State: 34:[2, 88, 62, 89], Operations: [] Exploring Operation: 89-62=27, Resulting Numbers: [2, 88, 27] Generated Node #2: [2, 88, 27] from Operation: 89-62=27 Current State: 34:[2, 88, 27], Operations: ['89-62=27'] Exploring Operation: 2*27=54, Resulting Numbers: [88, 54] Generated Node #3: [88, 54] from Operation: 2*27=54 Current State: 34:[88, 54], Operations: ['89-62=27', '2*27=54'] Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[2, 88, 62, 89], Operations: [] Exploring Operation: 89-88=1, Resulting Numbers: [2, 62, 1] Generated Node #0,0: 34:[2, 62, 1] Operation: 89-88=1 Exploring Operation: 89-62=27, Resulting Numbers: [2, 88, 27] Generated Node #0,1: 34:[2, 88, 27] Operation: 89-62=27 Moving to Node #0,0 Current State: 34:[2, 62, 1], Operations: ['89-88=1'] Exploring Operation: 62-2=60, Resulting Numbers: [1, 60] Generated Node #0,0,0: 34:[1, 60] Operation: 62-2=60 Exploring Operation: 62/2=31, Resulting Numbers: [1, 31] Generated Node #0,0,1: 34:[1, 31] Operation: 62/2=31 Moving to Node #0,1 Current State: 34:[2, 88, 27], Operations: ['89-62=27'] Exploring Operation: 88-27=61, Resulting Numbers: [2, 61] Generated Node #0,1,0: 34:[2, 61] Operation: 88-27=61 Exploring Operation: 88/2=44, Resulting Numbers: [27, 44] Generated Node #0,1,1: 34:[27, 44] Operation: 88/2=44 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[27, 44], Operations: ['89-62=27', '88/2=44'] Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,34 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[2, 61], Operations: ['89-62=27', '88-27=61'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 34:[1, 31], Operations: ['89-88=1', '62/2=31'] Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[1, 60], Operations: ['89-88=1', '62-2=60'] Exploring Operation: 1*60=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,34 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 63, 60, 43, 53 ]
30
[ "63-60=3", "53-43=10", "3*10=30" ]
Current State: 30:[63, 60, 43, 53], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [43, 53, 3] Generated Node #2: [43, 53, 3] from Operation: 63-60=3 Current State: 30:[43, 53, 3], Operations: ['63-60=3'] Exploring Operation: 53-43=10, Resulting Numbers: [3, 10] Generated Node #3: [3, 10] from Operation: 53-43=10 Current State: 30:[3, 10], Operations: ['63-60=3', '53-43=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[63, 60, 43, 53], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [43, 53, 3] Generated Node #0,0: 30:[43, 53, 3] Operation: 63-60=3 Exploring Operation: 63-53=10, Resulting Numbers: [60, 43, 10] Generated Node #0,1: 30:[60, 43, 10] Operation: 63-53=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[43, 53, 3], Operations: ['63-60=3'] Exploring Operation: 43-3=40, Resulting Numbers: [53, 40] Generated Node #0,0,0: 30:[53, 40] Operation: 43-3=40 Exploring Operation: 53-43=10, Resulting Numbers: [3, 10] Generated Node #0,0,1: 30:[3, 10] Operation: 53-43=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 30:[3, 10], Operations: ['63-60=3', '53-43=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[63, 60, 43, 53], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [43, 53, 3] Generated Node #0,0: 30:[43, 53, 3] Operation: 63-60=3 Moving to Node #0,0 Current State: 30:[43, 53, 3], Operations: ['63-60=3'] Exploring Operation: 53-43=10, Resulting Numbers: [3, 10] Generated Node #0,0,1: 30:[3, 10] Operation: 53-43=10 Moving to Node #0,0,1 Current State: 30:[3, 10], Operations: ['63-60=3', '53-43=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 32, 44, 29, 85 ]
20
[ "32+44=76", "85-29=56", "76-56=20" ]
Current State: 20:[32, 44, 29, 85], Operations: [] Exploring Operation: 32+44=76, Resulting Numbers: [29, 85, 76] Generated Node #2: [29, 85, 76] from Operation: 32+44=76 Current State: 20:[29, 85, 76], Operations: ['32+44=76'] Exploring Operation: 85-29=56, Resulting Numbers: [76, 56] Generated Node #3: [76, 56] from Operation: 85-29=56 Current State: 20:[76, 56], Operations: ['32+44=76', '85-29=56'] Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[32, 44, 29, 85], Operations: [] Exploring Operation: 85-44=41, Resulting Numbers: [32, 29, 41] Generated Node #0,0: 20:[32, 29, 41] Operation: 85-44=41 Exploring Operation: 85-32=53, Resulting Numbers: [44, 29, 53] Generated Node #0,1: 20:[44, 29, 53] Operation: 85-32=53 Exploring Operation: 85-29=56, Resulting Numbers: [32, 44, 56] Generated Node #0,2: 20:[32, 44, 56] Operation: 85-29=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[32, 29, 41], Operations: ['85-44=41'] Exploring Operation: 41-32=9, Resulting Numbers: [29, 9] Generated Node #0,0,0: 20:[29, 9] Operation: 41-32=9 Exploring Operation: 32-29=3, Resulting Numbers: [41, 3] Generated Node #0,0,1: 20:[41, 3] Operation: 32-29=3 Exploring Operation: 41-29=12, Resulting Numbers: [32, 12] Generated Node #0,0,2: 20:[32, 12] Operation: 41-29=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[29, 9], Operations: ['85-44=41', '41-32=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[32, 44, 29, 85], Operations: [] Exploring Operation: 85-44=41, Resulting Numbers: [32, 29, 41] Generated Node #0,0: 20:[32, 29, 41] Operation: 85-44=41 Moving to Node #0,0 Current State: 20:[32, 29, 41], Operations: ['85-44=41'] Exploring Operation: 41-32=9, Resulting Numbers: [29, 9] Generated Node #0,0,0: 20:[29, 9] Operation: 41-32=9 Moving to Node #0,0,0 Current State: 20:[29, 9], Operations: ['85-44=41', '41-32=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 45, 80, 74, 19 ]
69
[ "80-74=6", "19*6=114", "114-45=69" ]
Current State: 69:[45, 80, 74, 19], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [45, 19, 6] Generated Node #2: [45, 19, 6] from Operation: 80-74=6 Current State: 69:[45, 19, 6], Operations: ['80-74=6'] Exploring Operation: 19*6=114, Resulting Numbers: [45, 114] Generated Node #3: [45, 114] from Operation: 19*6=114 Current State: 69:[45, 114], Operations: ['80-74=6', '19*6=114'] Exploring Operation: 114-45=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[45, 80, 74, 19], Operations: [] Exploring Operation: 80-45=35, Resulting Numbers: [74, 19, 35] Generated Node #0,0: 69:[74, 19, 35] Operation: 80-45=35 Exploring Operation: 45-19=26, Resulting Numbers: [80, 74, 26] Generated Node #0,1: 69:[80, 74, 26] Operation: 45-19=26 Exploring Operation: 74-45=29, Resulting Numbers: [80, 19, 29] Generated Node #0,2: 69:[80, 19, 29] Operation: 74-45=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[80, 74, 26], Operations: ['45-19=26'] Exploring Operation: 80-74=6, Resulting Numbers: [26, 6] Generated Node #0,1,0: 69:[26, 6] Operation: 80-74=6 Exploring Operation: 80-26=54, Resulting Numbers: [74, 54] Generated Node #0,1,1: 69:[74, 54] Operation: 80-26=54 Exploring Operation: 74-26=48, Resulting Numbers: [80, 48] Generated Node #0,1,2: 69:[80, 48] Operation: 74-26=48 Moving to Node #0,1,0 Current State: 69:[26, 6], Operations: ['45-19=26', '80-74=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,69 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[74, 54], Operations: ['45-19=26', '80-26=54'] Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 74+54=128, Resulting Numbers: [128] 128,69 unequal: No Solution Exploring Operation: 74*54=3996, Resulting Numbers: [3996] 3996,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[80, 48], Operations: ['45-19=26', '74-26=48'] Exploring Operation: 80+48=128, Resulting Numbers: [128] 128,69 unequal: No Solution Exploring Operation: 80-48=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 80*48=3840, Resulting Numbers: [3840] 3840,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[74, 19, 35], Operations: ['80-45=35'] Exploring Operation: 19+35=54, Resulting Numbers: [74, 54] Generated Node #0,0,0: 69:[74, 54] Operation: 19+35=54 Exploring Operation: 35-19=16, Resulting Numbers: [74, 16] Generated Node #0,0,1: 69:[74, 16] Operation: 35-19=16 Exploring Operation: 74-35=39, Resulting Numbers: [19, 39] Generated Node #0,0,2: 69:[19, 39] Operation: 74-35=39 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[74, 16], Operations: ['80-45=35', '35-19=16'] Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 74*16=1184, Resulting Numbers: [1184] 1184,69 unequal: No Solution Exploring Operation: 74+16=90, Resulting Numbers: [90] 90,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[74, 54], Operations: ['80-45=35', '19+35=54'] Exploring Operation: 74*54=3996, Resulting Numbers: [3996] 3996,69 unequal: No Solution Exploring Operation: 74+54=128, Resulting Numbers: [128] 128,69 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[19, 39], Operations: ['80-45=35', '74-35=39'] Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,69 unequal: No Solution Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[80, 19, 29], Operations: ['74-45=29'] Exploring Operation: 29-19=10, Resulting Numbers: [80, 10] Generated Node #0,2,0: 69:[80, 10] Operation: 29-19=10 Exploring Operation: 80-19=61, Resulting Numbers: [29, 61] Generated Node #0,2,1: 69:[29, 61] Operation: 80-19=61 Exploring Operation: 80-29=51, Resulting Numbers: [19, 51] Generated Node #0,2,2: 69:[19, 51] Operation: 80-29=51 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 69:[29, 61], Operations: ['74-45=29', '80-19=61'] Exploring Operation: 29*61=1769, Resulting Numbers: [1769] 1769,69 unequal: No Solution Exploring Operation: 29+61=90, Resulting Numbers: [90] 90,69 unequal: No Solution Exploring Operation: 61-29=32, Resulting Numbers: [32] 32,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 69:[80, 10], Operations: ['74-45=29', '29-19=10'] Exploring Operation: 80+10=90, Resulting Numbers: [90] 90,69 unequal: No Solution Exploring Operation: 80/10=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 69:[19, 51], Operations: ['74-45=29', '80-29=51'] Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,69 unequal: No Solution Exploring Operation: 19*51=969, Resulting Numbers: [969] 969,69 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 35, 11, 27, 18 ]
41
[ "27*18=486", "486-35=451", "451/11=41" ]
Current State: 41:[35, 11, 27, 18], Operations: [] Exploring Operation: 27*18=486, Resulting Numbers: [35, 11, 486] Generated Node #2: [35, 11, 486] from Operation: 27*18=486 Current State: 41:[35, 11, 486], Operations: ['27*18=486'] Exploring Operation: 486-35=451, Resulting Numbers: [11, 451] Generated Node #3: [11, 451] from Operation: 486-35=451 Current State: 41:[11, 451], Operations: ['27*18=486', '486-35=451'] Exploring Operation: 451/11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[35, 11, 27, 18], Operations: [] Exploring Operation: 11+27=38, Resulting Numbers: [35, 18, 38] Generated Node #0,0: 41:[35, 18, 38] Operation: 11+27=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[35, 18, 38], Operations: ['11+27=38'] Exploring Operation: 35+18=53, Resulting Numbers: [38, 53] Generated Node #0,0,0: 41:[38, 53] Operation: 35+18=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[38, 53], Operations: ['11+27=38', '35+18=53'] Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,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_1
mult_heuristic
[ 42, 96, 67, 54 ]
67
[ "96-42=54", "67+54=121", "121-54=67" ]
Current State: 67:[42, 96, 67, 54], Operations: [] Exploring Operation: 96-42=54, Resulting Numbers: [67, 54, 54] Generated Node #2: [67, 54, 54] from Operation: 96-42=54 Current State: 67:[67, 54, 54], Operations: ['96-42=54'] Exploring Operation: 67+54=121, Resulting Numbers: [121] 121,67 equal: Goal Reached Exploring Operation: 121-54=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[42, 96, 67, 54], Operations: [] Exploring Operation: 42+54=96, Resulting Numbers: [96, 67, 96] Generated Node #0,0: 67:[96, 67, 96] Operation: 42+54=96 Exploring Operation: 96-67=29, Resulting Numbers: [42, 54, 29] Generated Node #0,1: 67:[42, 54, 29] Operation: 96-67=29 Exploring Operation: 96-54=42, Resulting Numbers: [42, 67, 42] Generated Node #0,2: 67:[42, 67, 42] Operation: 96-54=42 Exploring Operation: 96-42=54, Resulting Numbers: [67, 54, 54] Generated Node #0,3: 67:[67, 54, 54] Operation: 96-42=54 Moving to Node #0,3 Current State: 67:[67, 54, 54], Operations: ['96-42=54'] Exploring Operation: 67-54=13, Resulting Numbers: [54, 13] Generated Node #0,3,0: 67:[54, 13] Operation: 67-54=13 Exploring Operation: 67+54=121, Resulting Numbers: [54, 121] Generated Node #0,3,1: 67:[54, 121] Operation: 67+54=121 Exploring Operation: 54+54=108, Resulting Numbers: [67, 108] Generated Node #0,3,2: 67:[67, 108] Operation: 54+54=108 Exploring Operation: 54/54=1, Resulting Numbers: [67, 1] Generated Node #0,3,3: 67:[67, 1] Operation: 54/54=1 Moving to Node #0,2 Current State: 67:[42, 67, 42], Operations: ['96-54=42'] Exploring Operation: 42/42=1, Resulting Numbers: [67, 1] Generated Node #0,2,0: 67:[67, 1] Operation: 42/42=1 Exploring Operation: 42+42=84, Resulting Numbers: [67, 84] Generated Node #0,2,1: 67:[67, 84] Operation: 42+42=84 Exploring Operation: 42+67=109, Resulting Numbers: [42, 109] Generated Node #0,2,2: 67:[42, 109] Operation: 42+67=109 Exploring Operation: 67-42=25, Resulting Numbers: [42, 25] Generated Node #0,2,3: 67:[42, 25] Operation: 67-42=25 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[67, 84], Operations: ['96-54=42', '42+42=84'] Exploring Operation: 67*84=5628, Resulting Numbers: [5628] 5628,67 unequal: No Solution Exploring Operation: 67+84=151, Resulting Numbers: [151] 151,67 unequal: No Solution Exploring Operation: 84-67=17, Resulting Numbers: [17] 17,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[67, 1], Operations: ['96-54=42', '42/42=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[42, 96, 67, 54], Operations: [] Exploring Operation: 96-54=42, Resulting Numbers: [42, 67, 42] Generated Node #0,2: 67:[42, 67, 42] Operation: 96-54=42 Moving to Node #0,2 Current State: 67:[42, 67, 42], Operations: ['96-54=42'] Exploring Operation: 42/42=1, Resulting Numbers: [67, 1] Generated Node #0,2,0: 67:[67, 1] Operation: 42/42=1 Moving to Node #0,2,0 Current State: 67:[67, 1], Operations: ['96-54=42', '42/42=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 66, 10, 54, 80 ]
15
[ "66+54=120", "80/10=8", "120/8=15" ]
Current State: 15:[66, 10, 54, 80], Operations: [] Exploring Operation: 66+54=120, Resulting Numbers: [10, 80, 120] Generated Node #2: [10, 80, 120] from Operation: 66+54=120 Current State: 15:[10, 80, 120], Operations: ['66+54=120'] Exploring Operation: 80/10=8, Resulting Numbers: [120, 8] Generated Node #3: [120, 8] from Operation: 80/10=8 Current State: 15:[120, 8], Operations: ['66+54=120', '80/10=8'] Exploring Operation: 120/8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[66, 10, 54, 80], Operations: [] Exploring Operation: 80-66=14, Resulting Numbers: [10, 54, 14] Generated Node #0,0: 15:[10, 54, 14] Operation: 80-66=14 Exploring Operation: 80-54=26, Resulting Numbers: [66, 10, 26] Generated Node #0,1: 15:[66, 10, 26] Operation: 80-54=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[10, 54, 14], Operations: ['80-66=14'] Exploring Operation: 54-10=44, Resulting Numbers: [14, 44] Generated Node #0,0,0: 15:[14, 44] Operation: 54-10=44 Exploring Operation: 54-14=40, Resulting Numbers: [10, 40] Generated Node #0,0,1: 15:[10, 40] Operation: 54-14=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[14, 44], Operations: ['80-66=14', '54-10=44'] Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,15 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,15 unequal: No Solution No 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: 15:[10, 40], Operations: ['80-66=14', '54-14=40'] Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,15 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: 15:[66, 10, 26], Operations: ['80-54=26'] Exploring Operation: 66-10=56, Resulting Numbers: [26, 56] Generated Node #0,1,0: 15:[26, 56] Operation: 66-10=56 Exploring Operation: 66-26=40, Resulting Numbers: [10, 40] Generated Node #0,1,1: 15:[10, 40] Operation: 66-26=40 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[10, 40], Operations: ['80-54=26', '66-26=40'] Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,15 unequal: No Solution No 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: 15:[26, 56], Operations: ['80-54=26', '66-10=56'] Exploring Operation: 26+56=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,15 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
[ 86, 42, 11, 75 ]
43
[ "86-11=75", "75/75=1", "42+1=43" ]
Current State: 43:[86, 42, 11, 75], Operations: [] Exploring Operation: 86-11=75, Resulting Numbers: [42, 75, 75] Generated Node #2: [42, 75, 75] from Operation: 86-11=75 Current State: 43:[42, 75, 75], Operations: ['86-11=75'] Exploring Operation: 75/75=1, Resulting Numbers: [42, 1] Generated Node #3: [42, 1] from Operation: 75/75=1 Current State: 43:[42, 1], Operations: ['86-11=75', '75/75=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[86, 42, 11, 75], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [11, 75, 44] Generated Node #0,0: 43:[11, 75, 44] Operation: 86-42=44 Exploring Operation: 86-75=11, Resulting Numbers: [42, 11, 11] Generated Node #0,1: 43:[42, 11, 11] Operation: 86-75=11 Exploring Operation: 86-11=75, Resulting Numbers: [42, 75, 75] Generated Node #0,2: 43:[42, 75, 75] Operation: 86-11=75 Moving to Node #0,0 Current State: 43:[11, 75, 44], Operations: ['86-42=44'] Exploring Operation: 11+75=86, Resulting Numbers: [44, 86] Generated Node #0,0,0: 43:[44, 86] Operation: 11+75=86 Exploring Operation: 44-11=33, Resulting Numbers: [75, 33] Generated Node #0,0,1: 43:[75, 33] Operation: 44-11=33 Exploring Operation: 75-11=64, Resulting Numbers: [44, 64] Generated Node #0,0,2: 43:[44, 64] Operation: 75-11=64 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[44, 64], Operations: ['86-42=44', '75-11=64'] Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 44+64=108, Resulting Numbers: [108] 108,43 unequal: No Solution Exploring Operation: 44*64=2816, Resulting Numbers: [2816] 2816,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[75, 33], Operations: ['86-42=44', '44-11=33'] Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,43 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 75*33=2475, Resulting Numbers: [2475] 2475,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[44, 86], Operations: ['86-42=44', '11+75=86'] Exploring Operation: 86-44=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 44+86=130, Resulting Numbers: [130] 130,43 unequal: No Solution Exploring Operation: 44*86=3784, Resulting Numbers: [3784] 3784,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 43:[42, 11, 11], Operations: ['86-75=11'] Exploring Operation: 11+11=22, Resulting Numbers: [42, 22] Generated Node #0,1,0: 43:[42, 22] Operation: 11+11=22 Exploring Operation: 42+11=53, Resulting Numbers: [11, 53] Generated Node #0,1,1: 43:[11, 53] Operation: 42+11=53 Exploring Operation: 42+11=53, Resulting Numbers: [11, 53] Generated Node #0,1,2: 43:[11, 53] Operation: 42+11=53 Moving to Node #0,2 Current State: 43:[42, 75, 75], Operations: ['86-11=75'] Exploring Operation: 75-42=33, Resulting Numbers: [75, 33] Generated Node #0,2,0: 43:[75, 33] Operation: 75-42=33 Exploring Operation: 75/75=1, Resulting Numbers: [42, 1] Generated Node #0,2,1: 43:[42, 1] Operation: 75/75=1 Exploring Operation: 75-42=33, Resulting Numbers: [75, 33] Generated Node #0,2,2: 43:[75, 33] Operation: 75-42=33 Moving to Node #0,1,0 Current State: 43:[42, 22], Operations: ['86-75=11', '11+11=22'] Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,43 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[11, 53], Operations: ['86-75=11', '42+11=53'] Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 11*53=583, Resulting Numbers: [583] 583,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[11, 53], Operations: ['86-75=11', '42+11=53'] Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 11*53=583, Resulting Numbers: [583] 583,43 unequal: No Solution Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[75, 33], Operations: ['86-11=75', '75-42=33'] Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,43 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 75*33=2475, Resulting Numbers: [2475] 2475,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[75, 33], Operations: ['86-11=75', '75-42=33'] Exploring Operation: 75*33=2475, Resulting Numbers: [2475] 2475,43 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[42, 1], Operations: ['86-11=75', '75/75=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[86, 42, 11, 75], Operations: [] Exploring Operation: 86-11=75, Resulting Numbers: [42, 75, 75] Generated Node #0,2: 43:[42, 75, 75] Operation: 86-11=75 Moving to Node #0,2 Current State: 43:[42, 75, 75], Operations: ['86-11=75'] Exploring Operation: 75/75=1, Resulting Numbers: [42, 1] Generated Node #0,2,1: 43:[42, 1] Operation: 75/75=1 Moving to Node #0,2,1 Current State: 43:[42, 1], Operations: ['86-11=75', '75/75=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.96441
hs_3
sum_heuristic
[ 29, 87, 8, 92 ]
16
[ "29+87=116", "8+92=100", "116-100=16" ]
Current State: 16:[29, 87, 8, 92], Operations: [] Exploring Operation: 29+87=116, Resulting Numbers: [8, 92, 116] Generated Node #2: [8, 92, 116] from Operation: 29+87=116 Current State: 16:[8, 92, 116], Operations: ['29+87=116'] Exploring Operation: 8+92=100, Resulting Numbers: [116, 100] Generated Node #3: [116, 100] from Operation: 8+92=100 Current State: 16:[116, 100], Operations: ['29+87=116', '8+92=100'] Exploring Operation: 116-100=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[29, 87, 8, 92], Operations: [] Exploring Operation: 29-8=21, Resulting Numbers: [87, 92, 21] Generated Node #0,0: 16:[87, 92, 21] Operation: 29-8=21 Exploring Operation: 87/29=3, Resulting Numbers: [8, 92, 3] Generated Node #0,1: 16:[8, 92, 3] Operation: 87/29=3 Exploring Operation: 92-87=5, Resulting Numbers: [29, 8, 5] Generated Node #0,2: 16:[29, 8, 5] Operation: 92-87=5 Exploring Operation: 87-29=58, Resulting Numbers: [8, 92, 58] Generated Node #0,3: 16:[8, 92, 58] Operation: 87-29=58 Exploring Operation: 92-29=63, Resulting Numbers: [87, 8, 63] Generated Node #0,4: 16:[87, 8, 63] Operation: 92-29=63 Moving to Node #0,2 Current State: 16:[29, 8, 5], Operations: ['92-87=5'] Exploring Operation: 8-5=3, Resulting Numbers: [29, 3] Generated Node #0,2,0: 16:[29, 3] Operation: 8-5=3 Exploring Operation: 29+5=34, Resulting Numbers: [8, 34] Generated Node #0,2,1: 16:[8, 34] Operation: 29+5=34 Exploring Operation: 29-5=24, Resulting Numbers: [8, 24] Generated Node #0,2,2: 16:[8, 24] Operation: 29-5=24 Exploring Operation: 8+5=13, Resulting Numbers: [29, 13] Generated Node #0,2,3: 16:[29, 13] Operation: 8+5=13 Exploring Operation: 29-8=21, Resulting Numbers: [5, 21] Generated Node #0,2,4: 16:[5, 21] Operation: 29-8=21 Moving to Node #0,1 Current State: 16:[8, 92, 3], Operations: ['87/29=3'] Exploring Operation: 92+3=95, Resulting Numbers: [8, 95] Generated Node #0,1,0: 16:[8, 95] Operation: 92+3=95 Exploring Operation: 92-8=84, Resulting Numbers: [3, 84] Generated Node #0,1,1: 16:[3, 84] Operation: 92-8=84 Exploring Operation: 8-3=5, Resulting Numbers: [92, 5] Generated Node #0,1,2: 16:[92, 5] Operation: 8-3=5 Exploring Operation: 92-3=89, Resulting Numbers: [8, 89] Generated Node #0,1,3: 16:[8, 89] Operation: 92-3=89 Exploring Operation: 8+3=11, Resulting Numbers: [92, 11] Generated Node #0,1,4: 16:[92, 11] Operation: 8+3=11 Moving to Node #0,3 Current State: 16:[8, 92, 58], Operations: ['87-29=58'] Exploring Operation: 92-58=34, Resulting Numbers: [8, 34] Generated Node #0,3,0: 16:[8, 34] Operation: 92-58=34 Exploring Operation: 92-8=84, Resulting Numbers: [58, 84] Generated Node #0,3,1: 16:[58, 84] Operation: 92-8=84 Exploring Operation: 8+58=66, Resulting Numbers: [92, 66] Generated Node #0,3,2: 16:[92, 66] Operation: 8+58=66 Exploring Operation: 58-8=50, Resulting Numbers: [92, 50] Generated Node #0,3,3: 16:[92, 50] Operation: 58-8=50 Exploring Operation: 8+92=100, Resulting Numbers: [58, 100] Generated Node #0,3,4: 16:[58, 100] Operation: 8+92=100 Moving to Node #0,4 Current State: 16:[87, 8, 63], Operations: ['92-29=63'] Exploring Operation: 87-8=79, Resulting Numbers: [63, 79] Generated Node #0,4,0: 16:[63, 79] Operation: 87-8=79 Exploring Operation: 63-8=55, Resulting Numbers: [87, 55] Generated Node #0,4,1: 16:[87, 55] Operation: 63-8=55 Exploring Operation: 8+63=71, Resulting Numbers: [87, 71] Generated Node #0,4,2: 16:[87, 71] Operation: 8+63=71 Exploring Operation: 87-63=24, Resulting Numbers: [8, 24] Generated Node #0,4,3: 16:[8, 24] Operation: 87-63=24 Exploring Operation: 87+8=95, Resulting Numbers: [63, 95] Generated Node #0,4,4: 16:[63, 95] Operation: 87+8=95 Moving to Node #0,0 Current State: 16:[87, 92, 21], Operations: ['29-8=21'] Exploring Operation: 92-21=71, Resulting Numbers: [87, 71] Generated Node #0,0,0: 16:[87, 71] Operation: 92-21=71 Exploring Operation: 87-21=66, Resulting Numbers: [92, 66] Generated Node #0,0,1: 16:[92, 66] Operation: 87-21=66 Exploring Operation: 87+21=108, Resulting Numbers: [92, 108] Generated Node #0,0,2: 16:[92, 108] Operation: 87+21=108 Exploring Operation: 92-87=5, Resulting Numbers: [21, 5] Generated Node #0,0,3: 16:[21, 5] Operation: 92-87=5 Exploring Operation: 87+92=179, Resulting Numbers: [21, 179] Generated Node #0,0,4: 16:[21, 179] Operation: 87+92=179 Moving to Node #0,2,4 Current State: 16:[5, 21], Operations: ['92-87=5', '29-8=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[29, 87, 8, 92], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [29, 8, 5] Generated Node #0,2: 16:[29, 8, 5] Operation: 92-87=5 Moving to Node #0,2 Current State: 16:[29, 8, 5], Operations: ['92-87=5'] Exploring Operation: 29-8=21, Resulting Numbers: [5, 21] Generated Node #0,2,4: 16:[5, 21] Operation: 29-8=21 Moving to Node #0,2,4 Current State: 16:[5, 21], Operations: ['92-87=5', '29-8=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.969618
hs_5
sum_heuristic