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
[ 49, 29, 81, 26 ]
47
[ "81-29=52", "52/26=2", "49-2=47" ]
Current State: 47:[49, 29, 81, 26], Operations: [] Exploring Operation: 81-29=52, Resulting Numbers: [49, 26, 52] Generated Node #2: [49, 26, 52] from Operation: 81-29=52 Current State: 47:[49, 26, 52], Operations: ['81-29=52'] Exploring Operation: 52/26=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 52/26=2 Current State: 47:[49, 2], Operations: ['81-29=52', '52/26=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[49, 29, 81, 26], Operations: [] Exploring Operation: 29+26=55, Resulting Numbers: [49, 81, 55] Generated Node #0,0: 47:[49, 81, 55] Operation: 29+26=55 Exploring Operation: 81-26=55, Resulting Numbers: [49, 29, 55] Generated Node #0,1: 47:[49, 29, 55] Operation: 81-26=55 Exploring Operation: 81-29=52, Resulting Numbers: [49, 26, 52] Generated Node #0,2: 47:[49, 26, 52] Operation: 81-29=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[49, 29, 55], Operations: ['81-26=55'] Exploring Operation: 49-29=20, Resulting Numbers: [55, 20] Generated Node #0,1,0: 47:[55, 20] Operation: 49-29=20 Exploring Operation: 49+29=78, Resulting Numbers: [55, 78] Generated Node #0,1,1: 47:[55, 78] Operation: 49+29=78 Exploring Operation: 55-29=26, Resulting Numbers: [49, 26] Generated Node #0,1,2: 47:[49, 26] Operation: 55-29=26 Moving to Node #0,1,2 Current State: 47:[49, 26], Operations: ['81-26=55', '55-29=26'] Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 49*26=1274, Resulting Numbers: [1274] 1274,47 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[55, 20], Operations: ['81-26=55', '49-29=20'] Exploring Operation: 55+20=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 55*20=1100, Resulting Numbers: [1100] 1100,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[55, 78], Operations: ['81-26=55', '49+29=78'] Exploring Operation: 55+78=133, Resulting Numbers: [133] 133,47 unequal: No Solution Exploring Operation: 55*78=4290, Resulting Numbers: [4290] 4290,47 unequal: No Solution Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,47 unequal: No Solution No 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: 47:[49, 26, 52], Operations: ['81-29=52'] Exploring Operation: 49+26=75, Resulting Numbers: [52, 75] Generated Node #0,2,0: 47:[52, 75] Operation: 49+26=75 Exploring Operation: 52-26=26, Resulting Numbers: [49, 26] Generated Node #0,2,1: 47:[49, 26] Operation: 52-26=26 Exploring Operation: 49-26=23, Resulting Numbers: [52, 23] Generated Node #0,2,2: 47:[52, 23] Operation: 49-26=23 Moving to Node #0,2,1 Current State: 47:[49, 26], Operations: ['81-29=52', '52-26=26'] Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 49*26=1274, Resulting Numbers: [1274] 1274,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[52, 23], Operations: ['81-29=52', '49-26=23'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,47 unequal: No Solution Exploring Operation: 52*23=1196, Resulting Numbers: [1196] 1196,47 unequal: No Solution Exploring Operation: 52+23=75, Resulting Numbers: [75] 75,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[52, 75], Operations: ['81-29=52', '49+26=75'] Exploring Operation: 75-52=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 52*75=3900, Resulting Numbers: [3900] 3900,47 unequal: No Solution Exploring Operation: 52+75=127, Resulting Numbers: [127] 127,47 unequal: No Solution No 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:[49, 81, 55], Operations: ['29+26=55'] Exploring Operation: 81-55=26, Resulting Numbers: [49, 26] Generated Node #0,0,0: 47:[49, 26] Operation: 81-55=26 Exploring Operation: 55-49=6, Resulting Numbers: [81, 6] Generated Node #0,0,1: 47:[81, 6] Operation: 55-49=6 Exploring Operation: 81-49=32, Resulting Numbers: [55, 32] Generated Node #0,0,2: 47:[55, 32] Operation: 81-49=32 Moving to Node #0,0,0 Current State: 47:[49, 26], Operations: ['29+26=55', '81-55=26'] Exploring Operation: 49*26=1274, Resulting Numbers: [1274] 1274,47 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[55, 32], Operations: ['29+26=55', '81-49=32'] Exploring Operation: 55+32=87, Resulting Numbers: [87] 87,47 unequal: No Solution Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 55*32=1760, Resulting Numbers: [1760] 1760,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[81, 6], Operations: ['29+26=55', '55-49=6'] Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,47 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 56, 27, 6, 20 ]
14
[ "27-20=7", "56/7=8", "6+8=14" ]
Current State: 14:[56, 27, 6, 20], Operations: [] Exploring Operation: 27-20=7, Resulting Numbers: [56, 6, 7] Generated Node #2: [56, 6, 7] from Operation: 27-20=7 Current State: 14:[56, 6, 7], Operations: ['27-20=7'] Exploring Operation: 56/7=8, Resulting Numbers: [6, 8] Generated Node #3: [6, 8] from Operation: 56/7=8 Current State: 14:[6, 8], Operations: ['27-20=7', '56/7=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[56, 27, 6, 20], Operations: [] Exploring Operation: 27-20=7, Resulting Numbers: [56, 6, 7] Generated Node #0,0: 14:[56, 6, 7] Operation: 27-20=7 Exploring Operation: 56-6=50, Resulting Numbers: [27, 20, 50] Generated Node #0,1: 14:[27, 20, 50] Operation: 56-6=50 Exploring Operation: 56-27=29, Resulting Numbers: [6, 20, 29] Generated Node #0,2: 14:[6, 20, 29] Operation: 56-27=29 Exploring Operation: 56-20=36, Resulting Numbers: [27, 6, 36] Generated Node #0,3: 14:[27, 6, 36] Operation: 56-20=36 Moving to Node #0,2 Current State: 14:[6, 20, 29], Operations: ['56-27=29'] Exploring Operation: 29-6=23, Resulting Numbers: [20, 23] Generated Node #0,2,0: 14:[20, 23] Operation: 29-6=23 Exploring Operation: 29-20=9, Resulting Numbers: [6, 9] Generated Node #0,2,1: 14:[6, 9] Operation: 29-20=9 Exploring Operation: 6+20=26, Resulting Numbers: [29, 26] Generated Node #0,2,2: 14:[29, 26] Operation: 6+20=26 Exploring Operation: 20-6=14, Resulting Numbers: [29, 14] Generated Node #0,2,3: 14:[29, 14] Operation: 20-6=14 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[6, 9], Operations: ['56-27=29', '29-20=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,14 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[20, 23], Operations: ['56-27=29', '29-6=23'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,14 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 14:[29, 14], Operations: ['56-27=29', '20-6=14'] Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,14 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,14 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[29, 26], Operations: ['56-27=29', '6+20=26'] Exploring Operation: 29*26=754, Resulting Numbers: [754] 754,14 unequal: No Solution Exploring Operation: 29+26=55, Resulting Numbers: [55] 55,14 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,14 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: 14:[27, 6, 36], Operations: ['56-20=36'] Exploring Operation: 27-6=21, Resulting Numbers: [36, 21] Generated Node #0,3,0: 14:[36, 21] Operation: 27-6=21 Exploring Operation: 36-27=9, Resulting Numbers: [6, 9] Generated Node #0,3,1: 14:[6, 9] Operation: 36-27=9 Exploring Operation: 36/6=6, Resulting Numbers: [27, 6] Generated Node #0,3,2: 14:[27, 6] Operation: 36/6=6 Exploring Operation: 36-6=30, Resulting Numbers: [27, 30] Generated Node #0,3,3: 14:[27, 30] Operation: 36-6=30 Moving to Node #0,0 Current State: 14:[56, 6, 7], Operations: ['27-20=7'] Exploring Operation: 56/7=8, Resulting Numbers: [6, 8] Generated Node #0,0,0: 14:[6, 8] Operation: 56/7=8 Exploring Operation: 6+7=13, Resulting Numbers: [56, 13] Generated Node #0,0,1: 14:[56, 13] Operation: 6+7=13 Exploring Operation: 56-6=50, Resulting Numbers: [7, 50] Generated Node #0,0,2: 14:[7, 50] Operation: 56-6=50 Exploring Operation: 56-7=49, Resulting Numbers: [6, 49] Generated Node #0,0,3: 14:[6, 49] Operation: 56-7=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[6, 8], Operations: ['27-20=7', '56/7=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[56, 27, 6, 20], Operations: [] Exploring Operation: 27-20=7, Resulting Numbers: [56, 6, 7] Generated Node #0,0: 14:[56, 6, 7] Operation: 27-20=7 Moving to Node #0,0 Current State: 14:[56, 6, 7], Operations: ['27-20=7'] Exploring Operation: 56/7=8, Resulting Numbers: [6, 8] Generated Node #0,0,0: 14:[6, 8] Operation: 56/7=8 Moving to Node #0,0,0 Current State: 14:[6, 8], Operations: ['27-20=7', '56/7=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 27, 13, 33, 26 ]
78
[ "33-27=6", "26-13=13", "6*13=78" ]
Current State: 78:[27, 13, 33, 26], Operations: [] Exploring Operation: 33-27=6, Resulting Numbers: [13, 26, 6] Generated Node #2: [13, 26, 6] from Operation: 33-27=6 Current State: 78:[13, 26, 6], Operations: ['33-27=6'] Exploring Operation: 26-13=13, Resulting Numbers: [6, 13] Generated Node #3: [6, 13] from Operation: 26-13=13 Current State: 78:[6, 13], Operations: ['33-27=6', '26-13=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[27, 13, 33, 26], Operations: [] Exploring Operation: 33-27=6, Resulting Numbers: [13, 26, 6] Generated Node #0,0: 78:[13, 26, 6] Operation: 33-27=6 Moving to Node #0,0 Current State: 78:[13, 26, 6], Operations: ['33-27=6'] Exploring Operation: 13+26=39, Resulting Numbers: [6, 39] Generated Node #0,0,0: 78:[6, 39] Operation: 13+26=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[6, 39], Operations: ['33-27=6', '13+26=39'] Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,78 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
[ 47, 37, 10, 70 ]
90
[ "47-37=10", "10+70=80", "10+80=90" ]
Current State: 90:[47, 37, 10, 70], Operations: [] Exploring Operation: 47-37=10, Resulting Numbers: [10, 70, 10] Generated Node #2: [10, 70, 10] from Operation: 47-37=10 Current State: 90:[10, 70, 10], Operations: ['47-37=10'] Exploring Operation: 10+70=80, Resulting Numbers: [80] 80,90 equal: Goal Reached Exploring Operation: 10+80=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[47, 37, 10, 70], Operations: [] Exploring Operation: 70/10=7, Resulting Numbers: [47, 37, 7] Generated Node #0,0: 90:[47, 37, 7] Operation: 70/10=7 Exploring Operation: 70-37=33, Resulting Numbers: [47, 10, 33] Generated Node #0,1: 90:[47, 10, 33] Operation: 70-37=33 Exploring Operation: 70-47=23, Resulting Numbers: [37, 10, 23] Generated Node #0,2: 90:[37, 10, 23] Operation: 70-47=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[47, 10, 33], Operations: ['70-37=33'] Exploring Operation: 47-33=14, Resulting Numbers: [10, 14] Generated Node #0,1,0: 90:[10, 14] Operation: 47-33=14 Exploring Operation: 33-10=23, Resulting Numbers: [47, 23] Generated Node #0,1,1: 90:[47, 23] Operation: 33-10=23 Exploring Operation: 10+33=43, Resulting Numbers: [47, 43] Generated Node #0,1,2: 90:[47, 43] Operation: 10+33=43 Moving to Node #0,1,0 Current State: 90:[10, 14], Operations: ['70-37=33', '47-33=14'] Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,90 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,90 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[47, 43], Operations: ['70-37=33', '10+33=43'] Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,90 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[47, 37, 10, 70], Operations: [] Exploring Operation: 70-37=33, Resulting Numbers: [47, 10, 33] Generated Node #0,1: 90:[47, 10, 33] Operation: 70-37=33 Moving to Node #0,1 Current State: 90:[47, 10, 33], Operations: ['70-37=33'] Exploring Operation: 10+33=43, Resulting Numbers: [47, 43] Generated Node #0,1,2: 90:[47, 43] Operation: 10+33=43 Moving to Node #0,1,2 Current State: 90:[47, 43], Operations: ['70-37=33', '10+33=43'] Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 65, 63, 35, 36 ]
45
[ "35*36=1260", "1260/63=20", "65-20=45" ]
Current State: 45:[65, 63, 35, 36], Operations: [] Exploring Operation: 35*36=1260, Resulting Numbers: [65, 63, 1260] Generated Node #2: [65, 63, 1260] from Operation: 35*36=1260 Current State: 45:[65, 63, 1260], Operations: ['35*36=1260'] Exploring Operation: 1260/63=20, Resulting Numbers: [65, 20] Generated Node #3: [65, 20] from Operation: 1260/63=20 Current State: 45:[65, 20], Operations: ['35*36=1260', '1260/63=20'] Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[65, 63, 35, 36], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [35, 36, 2] Generated Node #0,0: 45:[35, 36, 2] Operation: 65-63=2 Exploring Operation: 36-35=1, Resulting Numbers: [65, 63, 1] Generated Node #0,1: 45:[65, 63, 1] Operation: 36-35=1 Exploring Operation: 65-35=30, Resulting Numbers: [63, 36, 30] Generated Node #0,2: 45:[63, 36, 30] Operation: 65-35=30 Moving to Node #0,0 Current State: 45:[35, 36, 2], Operations: ['65-63=2'] Exploring Operation: 36/2=18, Resulting Numbers: [35, 18] Generated Node #0,0,0: 45:[35, 18] Operation: 36/2=18 Exploring Operation: 36-35=1, Resulting Numbers: [2, 1] Generated Node #0,0,1: 45:[2, 1] Operation: 36-35=1 Exploring Operation: 35+2=37, Resulting Numbers: [36, 37] Generated Node #0,0,2: 45:[36, 37] Operation: 35+2=37 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[2, 1], Operations: ['65-63=2', '36-35=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[35, 18], Operations: ['65-63=2', '36/2=18'] Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,45 unequal: No Solution Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[36, 37], Operations: ['65-63=2', '35+2=37'] Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,45 unequal: No Solution Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,45 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,45 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: 45:[65, 63, 1], Operations: ['36-35=1'] Exploring Operation: 63-1=62, Resulting Numbers: [65, 62] Generated Node #0,1,0: 45:[65, 62] Operation: 63-1=62 Exploring Operation: 65-63=2, Resulting Numbers: [1, 2] Generated Node #0,1,1: 45:[1, 2] Operation: 65-63=2 Exploring Operation: 65-1=64, Resulting Numbers: [63, 64] Generated Node #0,1,2: 45:[63, 64] Operation: 65-1=64 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[1, 2], Operations: ['36-35=1', '65-63=2'] Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[65, 62], Operations: ['36-35=1', '63-1=62'] Exploring Operation: 65+62=127, Resulting Numbers: [127] 127,45 unequal: No Solution Exploring Operation: 65*62=4030, Resulting Numbers: [4030] 4030,45 unequal: No Solution Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[63, 64], Operations: ['36-35=1', '65-1=64'] Exploring Operation: 63+64=127, Resulting Numbers: [127] 127,45 unequal: No Solution Exploring Operation: 63*64=4032, Resulting Numbers: [4032] 4032,45 unequal: No Solution Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,45 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: 45:[63, 36, 30], Operations: ['65-35=30'] Exploring Operation: 63-36=27, Resulting Numbers: [30, 27] Generated Node #0,2,0: 45:[30, 27] Operation: 63-36=27 Exploring Operation: 36-30=6, Resulting Numbers: [63, 6] Generated Node #0,2,1: 45:[63, 6] Operation: 36-30=6 Exploring Operation: 63-30=33, Resulting Numbers: [36, 33] Generated Node #0,2,2: 45:[36, 33] Operation: 63-30=33 Moving to Node #0,2,1 Current State: 45:[63, 6], Operations: ['65-35=30', '36-30=6'] Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,45 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,45 unequal: No Solution Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[36, 33], Operations: ['65-35=30', '63-30=33'] Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,45 unequal: No Solution Exploring Operation: 36*33=1188, Resulting Numbers: [1188] 1188,45 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[30, 27], Operations: ['65-35=30', '63-36=27'] Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,45 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 30*27=810, Resulting Numbers: [810] 810,45 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 14, 94, 40, 59 ]
23
[ "14*59=826", "94+826=920", "920/40=23" ]
Current State: 23:[14, 94, 40, 59], Operations: [] Exploring Operation: 14*59=826, Resulting Numbers: [94, 40, 826] Generated Node #2: [94, 40, 826] from Operation: 14*59=826 Current State: 23:[94, 40, 826], Operations: ['14*59=826'] Exploring Operation: 94+826=920, Resulting Numbers: [40, 920] Generated Node #3: [40, 920] from Operation: 94+826=920 Current State: 23:[40, 920], Operations: ['14*59=826', '94+826=920'] Exploring Operation: 920/40=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[14, 94, 40, 59], Operations: [] Exploring Operation: 94-59=35, Resulting Numbers: [14, 40, 35] Generated Node #0,0: 23:[14, 40, 35] Operation: 94-59=35 Exploring Operation: 59-40=19, Resulting Numbers: [14, 94, 19] Generated Node #0,1: 23:[14, 94, 19] Operation: 59-40=19 Exploring Operation: 94-40=54, Resulting Numbers: [14, 59, 54] Generated Node #0,2: 23:[14, 59, 54] Operation: 94-40=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[14, 40, 35], Operations: ['94-59=35'] Exploring Operation: 35-14=21, Resulting Numbers: [40, 21] Generated Node #0,0,0: 23:[40, 21] Operation: 35-14=21 Exploring Operation: 40-14=26, Resulting Numbers: [35, 26] Generated Node #0,0,1: 23:[35, 26] Operation: 40-14=26 Exploring Operation: 40-35=5, Resulting Numbers: [14, 5] Generated Node #0,0,2: 23:[14, 5] Operation: 40-35=5 Moving to Node #0,0,1 Current State: 23:[35, 26], Operations: ['94-59=35', '40-14=26'] Exploring Operation: 35*26=910, Resulting Numbers: [910] 910,23 unequal: No Solution Exploring Operation: 35+26=61, Resulting Numbers: [61] 61,23 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[40, 21], Operations: ['94-59=35', '35-14=21'] Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,23 unequal: No Solution Exploring Operation: 40*21=840, Resulting Numbers: [840] 840,23 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[14, 5], Operations: ['94-59=35', '40-35=5'] Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[14, 59, 54], Operations: ['94-40=54'] Exploring Operation: 59-54=5, Resulting Numbers: [14, 5] Generated Node #0,2,0: 23:[14, 5] Operation: 59-54=5 Exploring Operation: 59-14=45, Resulting Numbers: [54, 45] Generated Node #0,2,1: 23:[54, 45] Operation: 59-14=45 Exploring Operation: 54-14=40, Resulting Numbers: [59, 40] Generated Node #0,2,2: 23:[59, 40] Operation: 54-14=40 Moving to Node #0,2,0 Current State: 23:[14, 5], Operations: ['94-40=54', '59-54=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[54, 45], Operations: ['94-40=54', '59-14=45'] Exploring Operation: 54*45=2430, Resulting Numbers: [2430] 2430,23 unequal: No Solution Exploring Operation: 54+45=99, Resulting Numbers: [99] 99,23 unequal: No Solution Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[59, 40], Operations: ['94-40=54', '54-14=40'] Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,23 unequal: No Solution Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,23 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[14, 94, 19], Operations: ['59-40=19'] Exploring Operation: 14+19=33, Resulting Numbers: [94, 33] Generated Node #0,1,0: 23:[94, 33] Operation: 14+19=33 Exploring Operation: 94-19=75, Resulting Numbers: [14, 75] Generated Node #0,1,1: 23:[14, 75] Operation: 94-19=75 Exploring Operation: 94-14=80, Resulting Numbers: [19, 80] Generated Node #0,1,2: 23:[19, 80] Operation: 94-14=80 Moving to Node #0,1,1 Current State: 23:[14, 75], Operations: ['59-40=19', '94-19=75'] Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,23 unequal: No Solution Exploring Operation: 14+75=89, Resulting Numbers: [89] 89,23 unequal: No Solution Exploring Operation: 14*75=1050, Resulting Numbers: [1050] 1050,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[19, 80], Operations: ['59-40=19', '94-14=80'] Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,23 unequal: No Solution Exploring Operation: 19*80=1520, Resulting Numbers: [1520] 1520,23 unequal: No Solution Exploring Operation: 19+80=99, Resulting Numbers: [99] 99,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[94, 33], Operations: ['59-40=19', '14+19=33'] Exploring Operation: 94*33=3102, Resulting Numbers: [3102] 3102,23 unequal: No Solution Exploring Operation: 94-33=61, Resulting Numbers: [61] 61,23 unequal: No Solution Exploring Operation: 94+33=127, Resulting Numbers: [127] 127,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 6, 20, 25, 29 ]
22
[ "6+20=26", "29-25=4", "26-4=22" ]
Current State: 22:[6, 20, 25, 29], Operations: [] Exploring Operation: 6+20=26, Resulting Numbers: [25, 29, 26] Generated Node #2: [25, 29, 26] from Operation: 6+20=26 Current State: 22:[25, 29, 26], Operations: ['6+20=26'] Exploring Operation: 29-25=4, Resulting Numbers: [26, 4] Generated Node #3: [26, 4] from Operation: 29-25=4 Current State: 22:[26, 4], Operations: ['6+20=26', '29-25=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[6, 20, 25, 29], Operations: [] Exploring Operation: 29-25=4, Resulting Numbers: [6, 20, 4] Generated Node #0,0: 22:[6, 20, 4] Operation: 29-25=4 Exploring Operation: 29-6=23, Resulting Numbers: [20, 25, 23] Generated Node #0,1: 22:[20, 25, 23] Operation: 29-6=23 Exploring Operation: 29-20=9, Resulting Numbers: [6, 25, 9] Generated Node #0,2: 22:[6, 25, 9] Operation: 29-20=9 Moving to Node #0,1 Current State: 22:[20, 25, 23], Operations: ['29-6=23'] Exploring Operation: 25-23=2, Resulting Numbers: [20, 2] Generated Node #0,1,0: 22:[20, 2] Operation: 25-23=2 Exploring Operation: 23-20=3, Resulting Numbers: [25, 3] Generated Node #0,1,1: 22:[25, 3] Operation: 23-20=3 Exploring Operation: 25-20=5, Resulting Numbers: [23, 5] Generated Node #0,1,2: 22:[23, 5] Operation: 25-20=5 Moving to Node #0,0 Current State: 22:[6, 20, 4], Operations: ['29-25=4'] Exploring Operation: 6+4=10, Resulting Numbers: [20, 10] Generated Node #0,0,0: 22:[20, 10] Operation: 6+4=10 Exploring Operation: 6-4=2, Resulting Numbers: [20, 2] Generated Node #0,0,1: 22:[20, 2] Operation: 6-4=2 Exploring Operation: 6*4=24, Resulting Numbers: [20, 24] Generated Node #0,0,2: 22:[20, 24] Operation: 6*4=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[20, 2], Operations: ['29-25=4', '6-4=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[6, 20, 25, 29], Operations: [] Exploring Operation: 29-25=4, Resulting Numbers: [6, 20, 4] Generated Node #0,0: 22:[6, 20, 4] Operation: 29-25=4 Moving to Node #0,0 Current State: 22:[6, 20, 4], Operations: ['29-25=4'] Exploring Operation: 6-4=2, Resulting Numbers: [20, 2] Generated Node #0,0,1: 22:[20, 2] Operation: 6-4=2 Moving to Node #0,0,1 Current State: 22:[20, 2], Operations: ['29-25=4', '6-4=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 70, 40, 84, 54 ]
89
[ "54-40=14", "70/14=5", "84+5=89" ]
Current State: 89:[70, 40, 84, 54], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [70, 84, 14] Generated Node #2: [70, 84, 14] from Operation: 54-40=14 Current State: 89:[70, 84, 14], Operations: ['54-40=14'] Exploring Operation: 70/14=5, Resulting Numbers: [84, 5] Generated Node #3: [84, 5] from Operation: 70/14=5 Current State: 89:[84, 5], Operations: ['54-40=14', '70/14=5'] Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[70, 40, 84, 54], Operations: [] Exploring Operation: 40+54=94, Resulting Numbers: [70, 84, 94] Generated Node #0,0: 89:[70, 84, 94] Operation: 40+54=94 Exploring Operation: 70+40=110, Resulting Numbers: [84, 54, 110] Generated Node #0,1: 89:[84, 54, 110] Operation: 70+40=110 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[70, 84, 94], Operations: ['40+54=94'] Exploring Operation: 70+84=154, Resulting Numbers: [94, 154] Generated Node #0,0,0: 89:[94, 154] Operation: 70+84=154 Exploring Operation: 94-70=24, Resulting Numbers: [84, 24] Generated Node #0,0,1: 89:[84, 24] Operation: 94-70=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[94, 154], Operations: ['40+54=94', '70+84=154'] Exploring Operation: 94+154=248, Resulting Numbers: [248] 248,89 unequal: No Solution Exploring Operation: 154-94=60, Resulting Numbers: [60] 60,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[84, 24], Operations: ['40+54=94', '94-70=24'] Exploring Operation: 84+24=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[84, 54, 110], Operations: ['70+40=110'] Exploring Operation: 84+54=138, Resulting Numbers: [110, 138] Generated Node #0,1,0: 89:[110, 138] Operation: 84+54=138 Exploring Operation: 110-54=56, Resulting Numbers: [84, 56] Generated Node #0,1,1: 89:[84, 56] Operation: 110-54=56 Moving to Node #0,1,1 Current State: 89:[84, 56], Operations: ['70+40=110', '110-54=56'] Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,89 unequal: No Solution Exploring Operation: 84+56=140, Resulting Numbers: [140] 140,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[110, 138], Operations: ['70+40=110', '84+54=138'] Exploring Operation: 110+138=248, Resulting Numbers: [248] 248,89 unequal: No Solution Exploring Operation: 138-110=28, Resulting Numbers: [28] 28,89 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
[ 27, 76, 20, 24 ]
45
[ "76-27=49", "24-20=4", "49-4=45" ]
Current State: 45:[27, 76, 20, 24], Operations: [] Exploring Operation: 76-27=49, Resulting Numbers: [20, 24, 49] Generated Node #2: [20, 24, 49] from Operation: 76-27=49 Current State: 45:[20, 24, 49], Operations: ['76-27=49'] Exploring Operation: 24-20=4, Resulting Numbers: [49, 4] Generated Node #3: [49, 4] from Operation: 24-20=4 Current State: 45:[49, 4], Operations: ['76-27=49', '24-20=4'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[27, 76, 20, 24], Operations: [] Exploring Operation: 76-27=49, Resulting Numbers: [20, 24, 49] Generated Node #0,0: 45:[20, 24, 49] Operation: 76-27=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[20, 24, 49], Operations: ['76-27=49'] Exploring Operation: 20+24=44, Resulting Numbers: [49, 44] Generated Node #0,0,0: 45:[49, 44] Operation: 20+24=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[49, 44], Operations: ['76-27=49', '20+24=44'] Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 69, 92, 23, 18 ]
25
[ "69+92=161", "161/23=7", "18+7=25" ]
Current State: 25:[69, 92, 23, 18], Operations: [] Exploring Operation: 69+92=161, Resulting Numbers: [23, 18, 161] Generated Node #2: [23, 18, 161] from Operation: 69+92=161 Current State: 25:[23, 18, 161], Operations: ['69+92=161'] Exploring Operation: 161/23=7, Resulting Numbers: [18, 7] Generated Node #3: [18, 7] from Operation: 161/23=7 Current State: 25:[18, 7], Operations: ['69+92=161', '161/23=7'] Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[69, 92, 23, 18], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [92, 18, 3] Generated Node #0,0: 25:[92, 18, 3] Operation: 69/23=3 Exploring Operation: 69-23=46, Resulting Numbers: [92, 18, 46] Generated Node #0,1: 25:[92, 18, 46] Operation: 69-23=46 Exploring Operation: 92-69=23, Resulting Numbers: [23, 18, 23] Generated Node #0,2: 25:[23, 18, 23] Operation: 92-69=23 Exploring Operation: 92/23=4, Resulting Numbers: [69, 18, 4] Generated Node #0,3: 25:[69, 18, 4] Operation: 92/23=4 Moving to Node #0,2 Current State: 25:[23, 18, 23], Operations: ['92-69=23'] Exploring Operation: 23-18=5, Resulting Numbers: [23, 5] Generated Node #0,2,0: 25:[23, 5] Operation: 23-18=5 Exploring Operation: 23-18=5, Resulting Numbers: [23, 5] Generated Node #0,2,1: 25:[23, 5] Operation: 23-18=5 Exploring Operation: 23-23=0, Resulting Numbers: [18, 0] Generated Node #0,2,2: 25:[18, 0] Operation: 23-23=0 Exploring Operation: 23/23=1, Resulting Numbers: [18, 1] Generated Node #0,2,3: 25:[18, 1] Operation: 23/23=1 Moving to Node #0,3 Current State: 25:[69, 18, 4], Operations: ['92/23=4'] Exploring Operation: 18+4=22, Resulting Numbers: [69, 22] Generated Node #0,3,0: 25:[69, 22] Operation: 18+4=22 Exploring Operation: 18-4=14, Resulting Numbers: [69, 14] Generated Node #0,3,1: 25:[69, 14] Operation: 18-4=14 Exploring Operation: 69-18=51, Resulting Numbers: [4, 51] Generated Node #0,3,2: 25:[4, 51] Operation: 69-18=51 Exploring Operation: 69-4=65, Resulting Numbers: [18, 65] Generated Node #0,3,3: 25:[18, 65] Operation: 69-4=65 Moving to Node #0,0 Current State: 25:[92, 18, 3], Operations: ['69/23=3'] Exploring Operation: 18+3=21, Resulting Numbers: [92, 21] Generated Node #0,0,0: 25:[92, 21] Operation: 18+3=21 Exploring Operation: 92-3=89, Resulting Numbers: [18, 89] Generated Node #0,0,1: 25:[18, 89] Operation: 92-3=89 Exploring Operation: 18/3=6, Resulting Numbers: [92, 6] Generated Node #0,0,2: 25:[92, 6] Operation: 18/3=6 Exploring Operation: 92-18=74, Resulting Numbers: [3, 74] Generated Node #0,0,3: 25:[3, 74] Operation: 92-18=74 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[3, 74], Operations: ['69/23=3', '92-18=74'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,25 unequal: No Solution Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[92, 6], Operations: ['69/23=3', '18/3=6'] Exploring Operation: 92+6=98, Resulting Numbers: [98] 98,25 unequal: No Solution Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,25 unequal: No Solution Exploring Operation: 92*6=552, Resulting Numbers: [552] 552,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[92, 21], Operations: ['69/23=3', '18+3=21'] Exploring Operation: 92+21=113, Resulting Numbers: [113] 113,25 unequal: No Solution Exploring Operation: 92*21=1932, Resulting Numbers: [1932] 1932,25 unequal: No Solution Exploring Operation: 92-21=71, Resulting Numbers: [71] 71,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[18, 89], Operations: ['69/23=3', '92-3=89'] Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 18*89=1602, Resulting Numbers: [1602] 1602,25 unequal: No Solution Exploring Operation: 18+89=107, Resulting Numbers: [107] 107,25 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: 25:[92, 18, 46], Operations: ['69-23=46'] Exploring Operation: 92/46=2, Resulting Numbers: [18, 2] Generated Node #0,1,0: 25:[18, 2] Operation: 92/46=2 Exploring Operation: 92-46=46, Resulting Numbers: [18, 46] Generated Node #0,1,1: 25:[18, 46] Operation: 92-46=46 Exploring Operation: 46-18=28, Resulting Numbers: [92, 28] Generated Node #0,1,2: 25:[92, 28] Operation: 46-18=28 Exploring Operation: 92-18=74, Resulting Numbers: [46, 74] Generated Node #0,1,3: 25:[46, 74] Operation: 92-18=74 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[18, 2], Operations: ['69-23=46', '92/46=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,25 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[18, 46], Operations: ['69-23=46', '92-46=46'] Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[92, 28], Operations: ['69-23=46', '46-18=28'] Exploring Operation: 92*28=2576, Resulting Numbers: [2576] 2576,25 unequal: No Solution Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 92+28=120, Resulting Numbers: [120] 120,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[46, 74], Operations: ['69-23=46', '92-18=74'] Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 46+74=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 46*74=3404, Resulting Numbers: [3404] 3404,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 25:[23, 5], Operations: ['92-69=23', '23-18=5'] Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,25 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[23, 5], Operations: ['92-69=23', '23-18=5'] Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[18, 1], Operations: ['92-69=23', '23/23=1'] Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[18, 0], Operations: ['92-69=23', '23-23=0'] Exploring Operation: 18+0=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 18*0=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 18-0=18, Resulting Numbers: [18] 18,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[4, 51], Operations: ['92/23=4', '69-18=51'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 4*51=204, Resulting Numbers: [204] 204,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[69, 22], Operations: ['92/23=4', '18+4=22'] Exploring Operation: 69*22=1518, Resulting Numbers: [1518] 1518,25 unequal: No Solution Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[18, 65], Operations: ['92/23=4', '69-4=65'] Exploring Operation: 18+65=83, Resulting Numbers: [83] 83,25 unequal: No Solution Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 18*65=1170, Resulting Numbers: [1170] 1170,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[69, 14], Operations: ['92/23=4', '18-4=14'] Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 69*14=966, Resulting Numbers: [966] 966,25 unequal: No Solution Exploring Operation: 69+14=83, Resulting Numbers: [83] 83,25 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 11, 43, 45, 2 ]
79
[ "43-11=32", "45+2=47", "32+47=79" ]
Current State: 79:[11, 43, 45, 2], Operations: [] Exploring Operation: 43-11=32, Resulting Numbers: [45, 2, 32] Generated Node #2: [45, 2, 32] from Operation: 43-11=32 Current State: 79:[45, 2, 32], Operations: ['43-11=32'] Exploring Operation: 45+2=47, Resulting Numbers: [32, 47] Generated Node #3: [32, 47] from Operation: 45+2=47 Current State: 79:[32, 47], Operations: ['43-11=32', '45+2=47'] Exploring Operation: 32+47=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[11, 43, 45, 2], Operations: [] Exploring Operation: 43*2=86, Resulting Numbers: [11, 45, 86] Generated Node #0,0: 79:[11, 45, 86] Operation: 43*2=86 Exploring Operation: 45*2=90, Resulting Numbers: [11, 43, 90] Generated Node #0,1: 79:[11, 43, 90] Operation: 45*2=90 Moving to Node #0,0 Current State: 79:[11, 45, 86], Operations: ['43*2=86'] Exploring Operation: 86-11=75, Resulting Numbers: [45, 75] Generated Node #0,0,0: 79:[45, 75] Operation: 86-11=75 Exploring Operation: 11+45=56, Resulting Numbers: [86, 56] Generated Node #0,0,1: 79:[86, 56] Operation: 11+45=56 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[86, 56], Operations: ['43*2=86', '11+45=56'] Exploring Operation: 86-56=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 86+56=142, Resulting Numbers: [142] 142,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[45, 75], Operations: ['43*2=86', '86-11=75'] Exploring Operation: 45+75=120, Resulting Numbers: [120] 120,79 unequal: No Solution Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,79 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: 79:[11, 43, 90], Operations: ['45*2=90'] Exploring Operation: 90-11=79, Resulting Numbers: [43, 79] Generated Node #0,1,0: 79:[43, 79] Operation: 90-11=79 Exploring Operation: 11+43=54, Resulting Numbers: [90, 54] Generated Node #0,1,1: 79:[90, 54] Operation: 11+43=54 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[43, 79], Operations: ['45*2=90', '90-11=79'] Exploring Operation: 79-43=36, Resulting Numbers: [36] 36,79 unequal: No Solution Exploring Operation: 43+79=122, Resulting Numbers: [122] 122,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[90, 54], Operations: ['45*2=90', '11+43=54'] Exploring Operation: 90+54=144, Resulting Numbers: [144] 144,79 unequal: No Solution Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 79, 83, 28, 78 ]
71
[ "83-79=4", "28/4=7", "78-7=71" ]
Current State: 71:[79, 83, 28, 78], Operations: [] Exploring Operation: 83-79=4, Resulting Numbers: [28, 78, 4] Generated Node #2: [28, 78, 4] from Operation: 83-79=4 Current State: 71:[28, 78, 4], Operations: ['83-79=4'] Exploring Operation: 28/4=7, Resulting Numbers: [78, 7] Generated Node #3: [78, 7] from Operation: 28/4=7 Current State: 71:[78, 7], Operations: ['83-79=4', '28/4=7'] Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[79, 83, 28, 78], Operations: [] Exploring Operation: 83-28=55, Resulting Numbers: [79, 78, 55] Generated Node #0,0: 71:[79, 78, 55] Operation: 83-28=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[79, 78, 55], Operations: ['83-28=55'] Exploring Operation: 79-55=24, Resulting Numbers: [78, 24] Generated Node #0,0,0: 71:[78, 24] Operation: 79-55=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[78, 24], Operations: ['83-28=55', '79-55=24'] Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,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_1
sum_heuristic
[ 32, 35, 20, 33 ]
89
[ "32*35=1120", "1120/20=56", "33+56=89" ]
Current State: 89:[32, 35, 20, 33], Operations: [] Exploring Operation: 32*35=1120, Resulting Numbers: [20, 33, 1120] Generated Node #2: [20, 33, 1120] from Operation: 32*35=1120 Current State: 89:[20, 33, 1120], Operations: ['32*35=1120'] Exploring Operation: 1120/20=56, Resulting Numbers: [33, 56] Generated Node #3: [33, 56] from Operation: 1120/20=56 Current State: 89:[33, 56], Operations: ['32*35=1120', '1120/20=56'] Exploring Operation: 33+56=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[32, 35, 20, 33], Operations: [] Exploring Operation: 32+35=67, Resulting Numbers: [20, 33, 67] Generated Node #0,0: 89:[20, 33, 67] Operation: 32+35=67 Exploring Operation: 32+20=52, Resulting Numbers: [35, 33, 52] Generated Node #0,1: 89:[35, 33, 52] Operation: 32+20=52 Exploring Operation: 32+33=65, Resulting Numbers: [35, 20, 65] Generated Node #0,2: 89:[35, 20, 65] Operation: 32+33=65 Exploring Operation: 35+20=55, Resulting Numbers: [32, 33, 55] Generated Node #0,3: 89:[32, 33, 55] Operation: 35+20=55 Moving to Node #0,0 Current State: 89:[20, 33, 67], Operations: ['32+35=67'] Exploring Operation: 20+33=53, Resulting Numbers: [67, 53] Generated Node #0,0,0: 89:[67, 53] Operation: 20+33=53 Exploring Operation: 20+67=87, Resulting Numbers: [33, 87] Generated Node #0,0,1: 89:[33, 87] Operation: 20+67=87 Exploring Operation: 33+67=100, Resulting Numbers: [20, 100] Generated Node #0,0,2: 89:[20, 100] Operation: 33+67=100 Exploring Operation: 33-20=13, Resulting Numbers: [67, 13] Generated Node #0,0,3: 89:[67, 13] Operation: 33-20=13 Moving to Node #0,2 Current State: 89:[35, 20, 65], Operations: ['32+33=65'] Exploring Operation: 35-20=15, Resulting Numbers: [65, 15] Generated Node #0,2,0: 89:[65, 15] Operation: 35-20=15 Exploring Operation: 35+20=55, Resulting Numbers: [65, 55] Generated Node #0,2,1: 89:[65, 55] Operation: 35+20=55 Exploring Operation: 20+65=85, Resulting Numbers: [35, 85] Generated Node #0,2,2: 89:[35, 85] Operation: 20+65=85 Exploring Operation: 35+65=100, Resulting Numbers: [20, 100] Generated Node #0,2,3: 89:[20, 100] Operation: 35+65=100 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[65, 55], Operations: ['32+33=65', '35+20=55'] Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,89 unequal: No Solution Exploring Operation: 65*55=3575, Resulting Numbers: [3575] 3575,89 unequal: No Solution Exploring Operation: 65+55=120, Resulting Numbers: [120] 120,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[35, 85], Operations: ['32+33=65', '20+65=85'] Exploring Operation: 35+85=120, Resulting Numbers: [120] 120,89 unequal: No Solution Exploring Operation: 35*85=2975, Resulting Numbers: [2975] 2975,89 unequal: No Solution Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 89:[20, 100], Operations: ['32+33=65', '35+65=100'] Exploring Operation: 20*100=2000, Resulting Numbers: [2000] 2000,89 unequal: No Solution Exploring Operation: 20+100=120, Resulting Numbers: [120] 120,89 unequal: No Solution Exploring Operation: 100-20=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 100/20=5, Resulting Numbers: [5] 5,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[65, 15], Operations: ['32+33=65', '35-20=15'] Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,89 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: 89:[35, 33, 52], Operations: ['32+20=52'] Exploring Operation: 35+52=87, Resulting Numbers: [33, 87] Generated Node #0,1,0: 89:[33, 87] Operation: 35+52=87 Exploring Operation: 33+52=85, Resulting Numbers: [35, 85] Generated Node #0,1,1: 89:[35, 85] Operation: 33+52=85 Exploring Operation: 35+33=68, Resulting Numbers: [52, 68] Generated Node #0,1,2: 89:[52, 68] Operation: 35+33=68 Exploring Operation: 35-33=2, Resulting Numbers: [52, 2] Generated Node #0,1,3: 89:[52, 2] Operation: 35-33=2 Moving to Node #0,3 Current State: 89:[32, 33, 55], Operations: ['35+20=55'] Exploring Operation: 33-32=1, Resulting Numbers: [55, 1] Generated Node #0,3,0: 89:[55, 1] Operation: 33-32=1 Exploring Operation: 32+33=65, Resulting Numbers: [55, 65] Generated Node #0,3,1: 89:[55, 65] Operation: 32+33=65 Exploring Operation: 32+55=87, Resulting Numbers: [33, 87] Generated Node #0,3,2: 89:[33, 87] Operation: 32+55=87 Exploring Operation: 33+55=88, Resulting Numbers: [32, 88] Generated Node #0,3,3: 89:[32, 88] Operation: 33+55=88 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 89:[55, 65], Operations: ['35+20=55', '32+33=65'] Exploring Operation: 55*65=3575, Resulting Numbers: [3575] 3575,89 unequal: No Solution Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,89 unequal: No Solution Exploring Operation: 55+65=120, Resulting Numbers: [120] 120,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[33, 87], Operations: ['35+20=55', '32+55=87'] Exploring Operation: 33+87=120, Resulting Numbers: [120] 120,89 unequal: No Solution Exploring Operation: 33*87=2871, Resulting Numbers: [2871] 2871,89 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[32, 88], Operations: ['35+20=55', '33+55=88'] Exploring Operation: 32+88=120, Resulting Numbers: [120] 120,89 unequal: No Solution Exploring Operation: 32*88=2816, Resulting Numbers: [2816] 2816,89 unequal: No Solution Exploring Operation: 88-32=56, Resulting Numbers: [56] 56,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 89:[55, 1], Operations: ['35+20=55', '33-32=1'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,89 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 89:[67, 53], Operations: ['32+35=67', '20+33=53'] Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,89 unequal: No Solution Exploring Operation: 67*53=3551, Resulting Numbers: [3551] 3551,89 unequal: No Solution Exploring Operation: 67+53=120, Resulting Numbers: [120] 120,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[35, 85], Operations: ['32+20=52', '33+52=85'] Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 35+85=120, Resulting Numbers: [120] 120,89 unequal: No Solution Exploring Operation: 35*85=2975, Resulting Numbers: [2975] 2975,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[52, 68], Operations: ['32+20=52', '35+33=68'] Exploring Operation: 52*68=3536, Resulting Numbers: [3536] 3536,89 unequal: No Solution Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,89 unequal: No Solution Exploring Operation: 52+68=120, Resulting Numbers: [120] 120,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[33, 87], Operations: ['32+35=67', '20+67=87'] Exploring Operation: 33+87=120, Resulting Numbers: [120] 120,89 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 33*87=2871, Resulting Numbers: [2871] 2871,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[33, 87], Operations: ['32+20=52', '35+52=87'] Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 33*87=2871, Resulting Numbers: [2871] 2871,89 unequal: No Solution Exploring Operation: 33+87=120, Resulting Numbers: [120] 120,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[20, 100], Operations: ['32+35=67', '33+67=100'] Exploring Operation: 20*100=2000, Resulting Numbers: [2000] 2000,89 unequal: No Solution Exploring Operation: 20+100=120, Resulting Numbers: [120] 120,89 unequal: No Solution Exploring Operation: 100-20=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 100/20=5, Resulting Numbers: [5] 5,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[67, 13], Operations: ['32+35=67', '33-20=13'] Exploring Operation: 67*13=871, Resulting Numbers: [871] 871,89 unequal: No Solution Exploring Operation: 67+13=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 67-13=54, Resulting Numbers: [54] 54,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[52, 2], Operations: ['32+20=52', '35-33=2'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,89 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,89 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 60, 20, 21, 59 ]
83
[ "60/20=3", "21+59=80", "3+80=83" ]
Current State: 83:[60, 20, 21, 59], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [21, 59, 3] Generated Node #2: [21, 59, 3] from Operation: 60/20=3 Current State: 83:[21, 59, 3], Operations: ['60/20=3'] Exploring Operation: 21+59=80, Resulting Numbers: [3, 80] Generated Node #3: [3, 80] from Operation: 21+59=80 Current State: 83:[3, 80], Operations: ['60/20=3', '21+59=80'] Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[60, 20, 21, 59], Operations: [] Exploring Operation: 60+21=81, Resulting Numbers: [20, 59, 81] Generated Node #0,0: 83:[20, 59, 81] Operation: 60+21=81 Exploring Operation: 21+59=80, Resulting Numbers: [60, 20, 80] Generated Node #0,1: 83:[60, 20, 80] Operation: 21+59=80 Exploring Operation: 20+21=41, Resulting Numbers: [60, 59, 41] Generated Node #0,2: 83:[60, 59, 41] Operation: 20+21=41 Exploring Operation: 60+20=80, Resulting Numbers: [21, 59, 80] Generated Node #0,3: 83:[21, 59, 80] Operation: 60+20=80 Exploring Operation: 20+59=79, Resulting Numbers: [60, 21, 79] Generated Node #0,4: 83:[60, 21, 79] Operation: 20+59=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[20, 59, 81], Operations: ['60+21=81'] Exploring Operation: 20+81=101, Resulting Numbers: [59, 101] Generated Node #0,0,0: 83:[59, 101] Operation: 20+81=101 Exploring Operation: 59-20=39, Resulting Numbers: [81, 39] Generated Node #0,0,1: 83:[81, 39] Operation: 59-20=39 Exploring Operation: 59+81=140, Resulting Numbers: [20, 140] Generated Node #0,0,2: 83:[20, 140] Operation: 59+81=140 Exploring Operation: 20+59=79, Resulting Numbers: [81, 79] Generated Node #0,0,3: 83:[81, 79] Operation: 20+59=79 Exploring Operation: 81-20=61, Resulting Numbers: [59, 61] Generated Node #0,0,4: 83:[59, 61] Operation: 81-20=61 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[81, 79], Operations: ['60+21=81', '20+59=79'] Exploring Operation: 81-79=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 81*79=6399, Resulting Numbers: [6399] 6399,83 unequal: No Solution Exploring Operation: 81+79=160, Resulting Numbers: [160] 160,83 unequal: No Solution No 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: 83:[59, 101], Operations: ['60+21=81', '20+81=101'] Exploring Operation: 59+101=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 101-59=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 59*101=5959, Resulting Numbers: [5959] 5959,83 unequal: No Solution No 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: 83:[81, 39], Operations: ['60+21=81', '59-20=39'] Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,83 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,83 unequal: No Solution No 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: 83:[59, 61], Operations: ['60+21=81', '81-20=61'] Exploring Operation: 59+61=120, Resulting Numbers: [120] 120,83 unequal: No Solution Exploring Operation: 59*61=3599, Resulting Numbers: [3599] 3599,83 unequal: No Solution Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,83 unequal: No Solution No 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: 83:[20, 140], Operations: ['60+21=81', '59+81=140'] Exploring Operation: 140-20=120, Resulting Numbers: [120] 120,83 unequal: No Solution Exploring Operation: 20+140=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 20*140=2800, Resulting Numbers: [2800] 2800,83 unequal: No Solution Exploring Operation: 140/20=7, Resulting Numbers: [7] 7,83 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: 83:[60, 20, 80], Operations: ['21+59=80'] Exploring Operation: 60+20=80, Resulting Numbers: [80, 80] Generated Node #0,1,0: 83:[80, 80] Operation: 60+20=80 Exploring Operation: 60-20=40, Resulting Numbers: [80, 40] Generated Node #0,1,1: 83:[80, 40] Operation: 60-20=40 Exploring Operation: 60/20=3, Resulting Numbers: [80, 3] Generated Node #0,1,2: 83:[80, 3] Operation: 60/20=3 Exploring Operation: 80-20=60, Resulting Numbers: [60, 60] Generated Node #0,1,3: 83:[60, 60] Operation: 80-20=60 Exploring Operation: 20+80=100, Resulting Numbers: [60, 100] Generated Node #0,1,4: 83:[60, 100] Operation: 20+80=100 Moving to Node #0,1,0 Current State: 83:[80, 80], Operations: ['21+59=80', '60+20=80'] Exploring Operation: 80/80=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 80*80=6400, Resulting Numbers: [6400] 6400,83 unequal: No Solution Exploring Operation: 80-80=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 80+80=160, Resulting Numbers: [160] 160,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[60, 100], Operations: ['21+59=80', '20+80=100'] Exploring Operation: 60*100=6000, Resulting Numbers: [6000] 6000,83 unequal: No Solution Exploring Operation: 60+100=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 100-60=40, Resulting Numbers: [40] 40,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[80, 40], Operations: ['21+59=80', '60-20=40'] Exploring Operation: 80-40=40, Resulting Numbers: [40] 40,83 unequal: No Solution Exploring Operation: 80*40=3200, Resulting Numbers: [3200] 3200,83 unequal: No Solution Exploring Operation: 80+40=120, Resulting Numbers: [120] 120,83 unequal: No Solution Exploring Operation: 80/40=2, Resulting Numbers: [2] 2,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[60, 60], Operations: ['21+59=80', '80-20=60'] Exploring Operation: 60*60=3600, Resulting Numbers: [3600] 3600,83 unequal: No Solution Exploring Operation: 60+60=120, Resulting Numbers: [120] 120,83 unequal: No Solution Exploring Operation: 60-60=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 60/60=1, Resulting Numbers: [1] 1,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[80, 3], Operations: ['21+59=80', '60/20=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,83 unequal: No Solution Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[60, 20, 21, 59], Operations: [] Exploring Operation: 21+59=80, Resulting Numbers: [60, 20, 80] Generated Node #0,1: 83:[60, 20, 80] Operation: 21+59=80 Moving to Node #0,1 Current State: 83:[60, 20, 80], Operations: ['21+59=80'] Exploring Operation: 60/20=3, Resulting Numbers: [80, 3] Generated Node #0,1,2: 83:[80, 3] Operation: 60/20=3 Moving to Node #0,1,2 Current State: 83:[80, 3], Operations: ['21+59=80', '60/20=3'] Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_5
sum_heuristic
[ 39, 54, 30, 64 ]
79
[ "54-39=15", "30+64=94", "94-15=79" ]
Current State: 79:[39, 54, 30, 64], Operations: [] Exploring Operation: 54-39=15, Resulting Numbers: [30, 64, 15] Generated Node #2: [30, 64, 15] from Operation: 54-39=15 Current State: 79:[30, 64, 15], Operations: ['54-39=15'] Exploring Operation: 30+64=94, Resulting Numbers: [15, 94] Generated Node #3: [15, 94] from Operation: 30+64=94 Current State: 79:[15, 94], Operations: ['54-39=15', '30+64=94'] Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[39, 54, 30, 64], Operations: [] Exploring Operation: 39+64=103, Resulting Numbers: [54, 30, 103] Generated Node #0,0: 79:[54, 30, 103] Operation: 39+64=103 Exploring Operation: 30+64=94, Resulting Numbers: [39, 54, 94] Generated Node #0,1: 79:[39, 54, 94] Operation: 30+64=94 Exploring Operation: 39+30=69, Resulting Numbers: [54, 64, 69] Generated Node #0,2: 79:[54, 64, 69] Operation: 39+30=69 Exploring Operation: 54+30=84, Resulting Numbers: [39, 64, 84] Generated Node #0,3: 79:[39, 64, 84] Operation: 54+30=84 Exploring Operation: 39+54=93, Resulting Numbers: [30, 64, 93] Generated Node #0,4: 79:[30, 64, 93] Operation: 39+54=93 Moving to Node #0,2 Current State: 79:[54, 64, 69], Operations: ['39+30=69'] Exploring Operation: 64+69=133, Resulting Numbers: [54, 133] Generated Node #0,2,0: 79:[54, 133] Operation: 64+69=133 Exploring Operation: 54+64=118, Resulting Numbers: [69, 118] Generated Node #0,2,1: 79:[69, 118] Operation: 54+64=118 Exploring Operation: 69-54=15, Resulting Numbers: [64, 15] Generated Node #0,2,2: 79:[64, 15] Operation: 69-54=15 Exploring Operation: 54+69=123, Resulting Numbers: [64, 123] Generated Node #0,2,3: 79:[64, 123] Operation: 54+69=123 Exploring Operation: 64-54=10, Resulting Numbers: [69, 10] Generated Node #0,2,4: 79:[69, 10] Operation: 64-54=10 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[69, 118], Operations: ['39+30=69', '54+64=118'] Exploring Operation: 118-69=49, Resulting Numbers: [49] 49,79 unequal: No Solution Exploring Operation: 69*118=8142, Resulting Numbers: [8142] 8142,79 unequal: No Solution Exploring Operation: 69+118=187, Resulting Numbers: [187] 187,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[64, 123], Operations: ['39+30=69', '54+69=123'] Exploring Operation: 64+123=187, Resulting Numbers: [187] 187,79 unequal: No Solution Exploring Operation: 64*123=7872, Resulting Numbers: [7872] 7872,79 unequal: No Solution Exploring Operation: 123-64=59, Resulting Numbers: [59] 59,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[54, 133], Operations: ['39+30=69', '64+69=133'] Exploring Operation: 133-54=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[39, 54, 30, 64], Operations: [] Exploring Operation: 39+30=69, Resulting Numbers: [54, 64, 69] Generated Node #0,2: 79:[54, 64, 69] Operation: 39+30=69 Moving to Node #0,2 Current State: 79:[54, 64, 69], Operations: ['39+30=69'] Exploring Operation: 64+69=133, Resulting Numbers: [54, 133] Generated Node #0,2,0: 79:[54, 133] Operation: 64+69=133 Moving to Node #0,2,0 Current State: 79:[54, 133], Operations: ['39+30=69', '64+69=133'] Exploring Operation: 133-54=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 96, 27, 56, 54 ]
75
[ "56-54=2", "96/2=48", "27+48=75" ]
Current State: 75:[96, 27, 56, 54], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [96, 27, 2] Generated Node #2: [96, 27, 2] from Operation: 56-54=2 Current State: 75:[96, 27, 2], Operations: ['56-54=2'] Exploring Operation: 96/2=48, Resulting Numbers: [27, 48] Generated Node #3: [27, 48] from Operation: 96/2=48 Current State: 75:[27, 48], Operations: ['56-54=2', '96/2=48'] Exploring Operation: 27+48=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[96, 27, 56, 54], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [96, 27, 2] Generated Node #0,0: 75:[96, 27, 2] Operation: 56-54=2 Moving to Node #0,0 Current State: 75:[96, 27, 2], Operations: ['56-54=2'] Exploring Operation: 96-27=69, Resulting Numbers: [2, 69] Generated Node #0,0,0: 75:[2, 69] Operation: 96-27=69 Moving to Node #0,0,0 Current State: 75:[2, 69], Operations: ['56-54=2', '96-27=69'] Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,75 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 20, 17, 23, 44 ]
80
[ "17+23=40", "44-40=4", "20*4=80" ]
Current State: 80:[20, 17, 23, 44], Operations: [] Exploring Operation: 17+23=40, Resulting Numbers: [20, 44, 40] Generated Node #2: [20, 44, 40] from Operation: 17+23=40 Current State: 80:[20, 44, 40], Operations: ['17+23=40'] Exploring Operation: 44-40=4, Resulting Numbers: [20, 4] Generated Node #3: [20, 4] from Operation: 44-40=4 Current State: 80:[20, 4], Operations: ['17+23=40', '44-40=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[20, 17, 23, 44], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [17, 44, 3] Generated Node #0,0: 80:[17, 44, 3] Operation: 23-20=3 Exploring Operation: 23-17=6, Resulting Numbers: [20, 44, 6] Generated Node #0,1: 80:[20, 44, 6] Operation: 23-17=6 Exploring Operation: 44-23=21, Resulting Numbers: [20, 17, 21] Generated Node #0,2: 80:[20, 17, 21] Operation: 44-23=21 Exploring Operation: 17+23=40, Resulting Numbers: [20, 44, 40] Generated Node #0,3: 80:[20, 44, 40] Operation: 17+23=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[20, 17, 21], Operations: ['44-23=21'] Exploring Operation: 21-17=4, Resulting Numbers: [20, 4] Generated Node #0,2,0: 80:[20, 4] Operation: 21-17=4 Exploring Operation: 20+21=41, Resulting Numbers: [17, 41] Generated Node #0,2,1: 80:[17, 41] Operation: 20+21=41 Exploring Operation: 20-17=3, Resulting Numbers: [21, 3] Generated Node #0,2,2: 80:[21, 3] Operation: 20-17=3 Exploring Operation: 21-20=1, Resulting Numbers: [17, 1] Generated Node #0,2,3: 80:[17, 1] Operation: 21-20=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[20, 4], Operations: ['44-23=21', '21-17=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[20, 17, 23, 44], Operations: [] Exploring Operation: 44-23=21, Resulting Numbers: [20, 17, 21] Generated Node #0,2: 80:[20, 17, 21] Operation: 44-23=21 Moving to Node #0,2 Current State: 80:[20, 17, 21], Operations: ['44-23=21'] Exploring Operation: 21-17=4, Resulting Numbers: [20, 4] Generated Node #0,2,0: 80:[20, 4] Operation: 21-17=4 Moving to Node #0,2,0 Current State: 80:[20, 4], Operations: ['44-23=21', '21-17=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 16, 70, 28, 46 ]
20
[ "70-16=54", "28+46=74", "74-54=20" ]
Current State: 20:[16, 70, 28, 46], Operations: [] Exploring Operation: 70-16=54, Resulting Numbers: [28, 46, 54] Generated Node #2: [28, 46, 54] from Operation: 70-16=54 Current State: 20:[28, 46, 54], Operations: ['70-16=54'] Exploring Operation: 28+46=74, Resulting Numbers: [54, 74] Generated Node #3: [54, 74] from Operation: 28+46=74 Current State: 20:[54, 74], Operations: ['70-16=54', '28+46=74'] Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[16, 70, 28, 46], Operations: [] Exploring Operation: 70-46=24, Resulting Numbers: [16, 28, 24] Generated Node #0,0: 20:[16, 28, 24] Operation: 70-46=24 Exploring Operation: 70-16=54, Resulting Numbers: [28, 46, 54] Generated Node #0,1: 20:[28, 46, 54] Operation: 70-16=54 Exploring Operation: 70-28=42, Resulting Numbers: [16, 46, 42] Generated Node #0,2: 20:[16, 46, 42] Operation: 70-28=42 Exploring Operation: 46-28=18, Resulting Numbers: [16, 70, 18] Generated Node #0,3: 20:[16, 70, 18] Operation: 46-28=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[16, 28, 24], Operations: ['70-46=24'] Exploring Operation: 28-16=12, Resulting Numbers: [24, 12] Generated Node #0,0,0: 20:[24, 12] Operation: 28-16=12 Exploring Operation: 24-16=8, Resulting Numbers: [28, 8] Generated Node #0,0,1: 20:[28, 8] Operation: 24-16=8 Exploring Operation: 28-24=4, Resulting Numbers: [16, 4] Generated Node #0,0,2: 20:[16, 4] Operation: 28-24=4 Exploring Operation: 16+28=44, Resulting Numbers: [24, 44] Generated Node #0,0,3: 20:[24, 44] Operation: 16+28=44 Moving to Node #0,0,2 Current State: 20:[16, 4], Operations: ['70-46=24', '28-24=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,20 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[16, 70, 28, 46], Operations: [] Exploring Operation: 70-46=24, Resulting Numbers: [16, 28, 24] Generated Node #0,0: 20:[16, 28, 24] Operation: 70-46=24 Moving to Node #0,0 Current State: 20:[16, 28, 24], Operations: ['70-46=24'] Exploring Operation: 28-24=4, Resulting Numbers: [16, 4] Generated Node #0,0,2: 20:[16, 4] Operation: 28-24=4 Moving to Node #0,0,2 Current State: 20:[16, 4], Operations: ['70-46=24', '28-24=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 12, 99, 64, 3 ]
83
[ "12/3=4", "64/4=16", "99-16=83" ]
Current State: 83:[12, 99, 64, 3], Operations: [] Exploring Operation: 12/3=4, Resulting Numbers: [99, 64, 4] Generated Node #2: [99, 64, 4] from Operation: 12/3=4 Current State: 83:[99, 64, 4], Operations: ['12/3=4'] Exploring Operation: 64/4=16, Resulting Numbers: [99, 16] Generated Node #3: [99, 16] from Operation: 64/4=16 Current State: 83:[99, 16], Operations: ['12/3=4', '64/4=16'] Exploring Operation: 99-16=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[12, 99, 64, 3], Operations: [] Exploring Operation: 99-12=87, Resulting Numbers: [64, 3, 87] Generated Node #0,0: 83:[64, 3, 87] Operation: 99-12=87 Exploring Operation: 12+64=76, Resulting Numbers: [99, 3, 76] Generated Node #0,1: 83:[99, 3, 76] Operation: 12+64=76 Exploring Operation: 12*3=36, Resulting Numbers: [99, 64, 36] Generated Node #0,2: 83:[99, 64, 36] Operation: 12*3=36 Moving to Node #0,2 Current State: 83:[99, 64, 36], Operations: ['12*3=36'] Exploring Operation: 64+36=100, Resulting Numbers: [99, 100] Generated Node #0,2,0: 83:[99, 100] Operation: 64+36=100 Exploring Operation: 99+36=135, Resulting Numbers: [64, 135] Generated Node #0,2,1: 83:[64, 135] Operation: 99+36=135 Exploring Operation: 99-36=63, Resulting Numbers: [64, 63] Generated Node #0,2,2: 83:[64, 63] Operation: 99-36=63 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[99, 100], Operations: ['12*3=36', '64+36=100'] Exploring Operation: 100-99=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 99*100=9900, Resulting Numbers: [9900] 9900,83 unequal: No Solution Exploring Operation: 99+100=199, Resulting Numbers: [199] 199,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[64, 63], Operations: ['12*3=36', '99-36=63'] Exploring Operation: 64+63=127, Resulting Numbers: [127] 127,83 unequal: No Solution Exploring Operation: 64*63=4032, Resulting Numbers: [4032] 4032,83 unequal: No Solution Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[64, 135], Operations: ['12*3=36', '99+36=135'] Exploring Operation: 64+135=199, Resulting Numbers: [199] 199,83 unequal: No Solution Exploring Operation: 64*135=8640, Resulting Numbers: [8640] 8640,83 unequal: No Solution Exploring Operation: 135-64=71, Resulting Numbers: [71] 71,83 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: 83:[64, 3, 87], Operations: ['99-12=87'] Exploring Operation: 87-3=84, Resulting Numbers: [64, 84] Generated Node #0,0,0: 83:[64, 84] Operation: 87-3=84 Exploring Operation: 64+3=67, Resulting Numbers: [87, 67] Generated Node #0,0,1: 83:[87, 67] Operation: 64+3=67 Exploring Operation: 64-3=61, Resulting Numbers: [87, 61] Generated Node #0,0,2: 83:[87, 61] Operation: 64-3=61 Moving to Node #0,1 Current State: 83:[99, 3, 76], Operations: ['12+64=76'] Exploring Operation: 99-3=96, Resulting Numbers: [76, 96] Generated Node #0,1,0: 83:[76, 96] Operation: 99-3=96 Exploring Operation: 3+76=79, Resulting Numbers: [99, 79] Generated Node #0,1,1: 83:[99, 79] Operation: 3+76=79 Exploring Operation: 99+3=102, Resulting Numbers: [76, 102] Generated Node #0,1,2: 83:[76, 102] Operation: 99+3=102 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[76, 96], Operations: ['12+64=76', '99-3=96'] Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 76*96=7296, Resulting Numbers: [7296] 7296,83 unequal: No Solution Exploring Operation: 76+96=172, Resulting Numbers: [172] 172,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[99, 79], Operations: ['12+64=76', '3+76=79'] Exploring Operation: 99*79=7821, Resulting Numbers: [7821] 7821,83 unequal: No Solution Exploring Operation: 99+79=178, Resulting Numbers: [178] 178,83 unequal: No Solution Exploring Operation: 99-79=20, Resulting Numbers: [20] 20,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[76, 102], Operations: ['12+64=76', '99+3=102'] Exploring Operation: 76*102=7752, Resulting Numbers: [7752] 7752,83 unequal: No Solution Exploring Operation: 76+102=178, Resulting Numbers: [178] 178,83 unequal: No Solution Exploring Operation: 102-76=26, Resulting Numbers: [26] 26,83 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: 83:[64, 84], Operations: ['99-12=87', '87-3=84'] Exploring Operation: 84-64=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 64+84=148, Resulting Numbers: [148] 148,83 unequal: No Solution Exploring Operation: 64*84=5376, Resulting Numbers: [5376] 5376,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[87, 67], Operations: ['99-12=87', '64+3=67'] Exploring Operation: 87*67=5829, Resulting Numbers: [5829] 5829,83 unequal: No Solution Exploring Operation: 87+67=154, Resulting Numbers: [154] 154,83 unequal: No Solution Exploring Operation: 87-67=20, Resulting Numbers: [20] 20,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[87, 61], Operations: ['99-12=87', '64-3=61'] Exploring Operation: 87-61=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 87*61=5307, Resulting Numbers: [5307] 5307,83 unequal: No Solution Exploring Operation: 87+61=148, Resulting Numbers: [148] 148,83 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 39, 78, 1, 32 ]
72
[ "78-39=39", "1+32=33", "39+33=72" ]
Current State: 72:[39, 78, 1, 32], Operations: [] Exploring Operation: 78-39=39, Resulting Numbers: [1, 32, 39] Generated Node #2: [1, 32, 39] from Operation: 78-39=39 Current State: 72:[1, 32, 39], Operations: ['78-39=39'] Exploring Operation: 1+32=33, Resulting Numbers: [39, 33] Generated Node #3: [39, 33] from Operation: 1+32=33 Current State: 72:[39, 33], Operations: ['78-39=39', '1+32=33'] Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[39, 78, 1, 32], Operations: [] Exploring Operation: 39+32=71, Resulting Numbers: [78, 1, 71] Generated Node #0,0: 72:[78, 1, 71] Operation: 39+32=71 Exploring Operation: 78/39=2, Resulting Numbers: [1, 32, 2] Generated Node #0,1: 72:[1, 32, 2] Operation: 78/39=2 Exploring Operation: 39-32=7, Resulting Numbers: [78, 1, 7] Generated Node #0,2: 72:[78, 1, 7] Operation: 39-32=7 Exploring Operation: 78-39=39, Resulting Numbers: [1, 32, 39] Generated Node #0,3: 72:[1, 32, 39] Operation: 78-39=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[1, 32, 2], Operations: ['78/39=2'] Exploring Operation: 32+2=34, Resulting Numbers: [1, 34] Generated Node #0,1,0: 72:[1, 34] Operation: 32+2=34 Exploring Operation: 1+32=33, Resulting Numbers: [2, 33] Generated Node #0,1,1: 72:[2, 33] Operation: 1+32=33 Exploring Operation: 1*32=32, Resulting Numbers: [2, 32] Generated Node #0,1,2: 72:[2, 32] Operation: 1*32=32 Exploring Operation: 32/2=16, Resulting Numbers: [1, 16] Generated Node #0,1,3: 72:[1, 16] Operation: 32/2=16 Moving to Node #0,1,0 Current State: 72:[1, 34], Operations: ['78/39=2', '32+2=34'] Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 1+34=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[1, 16], Operations: ['78/39=2', '32/2=16'] Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,72 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[2, 33], Operations: ['78/39=2', '1+32=33'] Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[2, 32], Operations: ['78/39=2', '1*32=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,72 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[78, 1, 71], Operations: ['39+32=71'] Exploring Operation: 78-71=7, Resulting Numbers: [1, 7] Generated Node #0,0,0: 72:[1, 7] Operation: 78-71=7 Exploring Operation: 1+71=72, Resulting Numbers: [78, 72] Generated Node #0,0,1: 72:[78, 72] Operation: 1+71=72 Exploring Operation: 78*1=78, Resulting Numbers: [71, 78] Generated Node #0,0,2: 72:[71, 78] Operation: 78*1=78 Exploring Operation: 78-1=77, Resulting Numbers: [71, 77] Generated Node #0,0,3: 72:[71, 77] Operation: 78-1=77 Moving to Node #0,0,0 Current State: 72:[1, 7], Operations: ['39+32=71', '78-71=7'] Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[71, 77], Operations: ['39+32=71', '78-1=77'] Exploring Operation: 77-71=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 71+77=148, Resulting Numbers: [148] 148,72 unequal: No Solution Exploring Operation: 71*77=5467, Resulting Numbers: [5467] 5467,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[78, 72], Operations: ['39+32=71', '1+71=72'] Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,72 unequal: No Solution Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[71, 78], Operations: ['39+32=71', '78*1=78'] Exploring Operation: 71*78=5538, Resulting Numbers: [5538] 5538,72 unequal: No Solution Exploring Operation: 71+78=149, Resulting Numbers: [149] 149,72 unequal: No Solution Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[78, 1, 7], Operations: ['39-32=7'] Exploring Operation: 7-1=6, Resulting Numbers: [78, 6] Generated Node #0,2,0: 72:[78, 6] Operation: 7-1=6 Exploring Operation: 1+7=8, Resulting Numbers: [78, 8] Generated Node #0,2,1: 72:[78, 8] Operation: 1+7=8 Exploring Operation: 78-1=77, Resulting Numbers: [7, 77] Generated Node #0,2,2: 72:[7, 77] Operation: 78-1=77 Exploring Operation: 78-7=71, Resulting Numbers: [1, 71] Generated Node #0,2,3: 72:[1, 71] Operation: 78-7=71 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 72:[1, 71], Operations: ['39-32=7', '78-7=71'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,72 unequal: No Solution 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:[39, 78, 1, 32], Operations: [] Exploring Operation: 39-32=7, Resulting Numbers: [78, 1, 7] Generated Node #0,2: 72:[78, 1, 7] Operation: 39-32=7 Moving to Node #0,2 Current State: 72:[78, 1, 7], Operations: ['39-32=7'] Exploring Operation: 78-7=71, Resulting Numbers: [1, 71] Generated Node #0,2,3: 72:[1, 71] Operation: 78-7=71 Moving to Node #0,2,3 Current State: 72:[1, 71], Operations: ['39-32=7', '78-7=71'] Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.955729
hs_4
sum_heuristic
[ 97, 88, 91, 71 ]
78
[ "97-71=26", "91-88=3", "26*3=78" ]
Current State: 78:[97, 88, 91, 71], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [88, 91, 26] Generated Node #2: [88, 91, 26] from Operation: 97-71=26 Current State: 78:[88, 91, 26], Operations: ['97-71=26'] Exploring Operation: 91-88=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 91-88=3 Current State: 78:[26, 3], Operations: ['97-71=26', '91-88=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[97, 88, 91, 71], Operations: [] Exploring Operation: 97-88=9, Resulting Numbers: [91, 71, 9] Generated Node #0,0: 78:[91, 71, 9] Operation: 97-88=9 Exploring Operation: 97-91=6, Resulting Numbers: [88, 71, 6] Generated Node #0,1: 78:[88, 71, 6] Operation: 97-91=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[88, 71, 6], Operations: ['97-91=6'] Exploring Operation: 88-71=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 78:[6, 17] Operation: 88-71=17 Exploring Operation: 88-6=82, Resulting Numbers: [71, 82] Generated Node #0,1,1: 78:[71, 82] Operation: 88-6=82 Moving to Node #0,1,0 Current State: 78:[6, 17], Operations: ['97-91=6', '88-71=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,78 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[71, 82], Operations: ['97-91=6', '88-6=82'] Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 71+82=153, Resulting Numbers: [153] 153,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[91, 71, 9], Operations: ['97-88=9'] Exploring Operation: 91-71=20, Resulting Numbers: [9, 20] Generated Node #0,0,0: 78:[9, 20] Operation: 91-71=20 Exploring Operation: 91-9=82, Resulting Numbers: [71, 82] Generated Node #0,0,1: 78:[71, 82] Operation: 91-9=82 Moving to Node #0,0,0 Current State: 78:[9, 20], Operations: ['97-88=9', '91-71=20'] Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[71, 82], Operations: ['97-88=9', '91-9=82'] Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 71+82=153, Resulting Numbers: [153] 153,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 70, 48, 81, 5 ]
89
[ "70+81=151", "48*5=240", "240-151=89" ]
Current State: 89:[70, 48, 81, 5], Operations: [] Exploring Operation: 70+81=151, Resulting Numbers: [48, 5, 151] Generated Node #2: [48, 5, 151] from Operation: 70+81=151 Current State: 89:[48, 5, 151], Operations: ['70+81=151'] Exploring Operation: 48*5=240, Resulting Numbers: [151, 240] Generated Node #3: [151, 240] from Operation: 48*5=240 Current State: 89:[151, 240], Operations: ['70+81=151', '48*5=240'] Exploring Operation: 240-151=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[70, 48, 81, 5], Operations: [] Exploring Operation: 48+5=53, Resulting Numbers: [70, 81, 53] Generated Node #0,0: 89:[70, 81, 53] Operation: 48+5=53 Exploring Operation: 81+5=86, Resulting Numbers: [70, 48, 86] Generated Node #0,1: 89:[70, 48, 86] Operation: 81+5=86 Exploring Operation: 70+5=75, Resulting Numbers: [48, 81, 75] Generated Node #0,2: 89:[48, 81, 75] Operation: 70+5=75 Moving to Node #0,0 Current State: 89:[70, 81, 53], Operations: ['48+5=53'] Exploring Operation: 70-53=17, Resulting Numbers: [81, 17] Generated Node #0,0,0: 89:[81, 17] Operation: 70-53=17 Exploring Operation: 81+53=134, Resulting Numbers: [70, 134] Generated Node #0,0,1: 89:[70, 134] Operation: 81+53=134 Exploring Operation: 70+53=123, Resulting Numbers: [81, 123] Generated Node #0,0,2: 89:[81, 123] Operation: 70+53=123 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[81, 123], Operations: ['48+5=53', '70+53=123'] Exploring Operation: 81+123=204, Resulting Numbers: [204] 204,89 unequal: No Solution Exploring Operation: 81*123=9963, Resulting Numbers: [9963] 9963,89 unequal: No Solution Exploring Operation: 123-81=42, Resulting Numbers: [42] 42,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[70, 134], Operations: ['48+5=53', '81+53=134'] Exploring Operation: 70+134=204, Resulting Numbers: [204] 204,89 unequal: No Solution Exploring Operation: 134-70=64, Resulting Numbers: [64] 64,89 unequal: No Solution Exploring Operation: 70*134=9380, Resulting Numbers: [9380] 9380,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[81, 17], Operations: ['48+5=53', '70-53=17'] Exploring Operation: 81+17=98, Resulting Numbers: [98] 98,89 unequal: No Solution Exploring Operation: 81*17=1377, Resulting Numbers: [1377] 1377,89 unequal: No Solution Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,89 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: 89:[70, 48, 86], Operations: ['81+5=86'] Exploring Operation: 70-48=22, Resulting Numbers: [86, 22] Generated Node #0,1,0: 89:[86, 22] Operation: 70-48=22 Exploring Operation: 48+86=134, Resulting Numbers: [70, 134] Generated Node #0,1,1: 89:[70, 134] Operation: 48+86=134 Exploring Operation: 70+48=118, Resulting Numbers: [86, 118] Generated Node #0,1,2: 89:[86, 118] Operation: 70+48=118 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[86, 118], Operations: ['81+5=86', '70+48=118'] Exploring Operation: 86*118=10148, Resulting Numbers: [10148] 10148,89 unequal: No Solution Exploring Operation: 118-86=32, Resulting Numbers: [32] 32,89 unequal: No Solution Exploring Operation: 86+118=204, Resulting Numbers: [204] 204,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[70, 134], Operations: ['81+5=86', '48+86=134'] Exploring Operation: 134-70=64, Resulting Numbers: [64] 64,89 unequal: No Solution Exploring Operation: 70*134=9380, Resulting Numbers: [9380] 9380,89 unequal: No Solution Exploring Operation: 70+134=204, Resulting Numbers: [204] 204,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[86, 22], Operations: ['81+5=86', '70-48=22'] Exploring Operation: 86+22=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 86*22=1892, Resulting Numbers: [1892] 1892,89 unequal: No Solution Exploring Operation: 86-22=64, Resulting Numbers: [64] 64,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 89:[48, 81, 75], Operations: ['70+5=75'] Exploring Operation: 48+75=123, Resulting Numbers: [81, 123] Generated Node #0,2,0: 89:[81, 123] Operation: 48+75=123 Exploring Operation: 48+81=129, Resulting Numbers: [75, 129] Generated Node #0,2,1: 89:[75, 129] Operation: 48+81=129 Exploring Operation: 81-48=33, Resulting Numbers: [75, 33] Generated Node #0,2,2: 89:[75, 33] Operation: 81-48=33 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[81, 123], Operations: ['70+5=75', '48+75=123'] Exploring Operation: 81+123=204, Resulting Numbers: [204] 204,89 unequal: No Solution Exploring Operation: 81*123=9963, Resulting Numbers: [9963] 9963,89 unequal: No Solution Exploring Operation: 123-81=42, Resulting Numbers: [42] 42,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[75, 129], Operations: ['70+5=75', '48+81=129'] Exploring Operation: 75+129=204, Resulting Numbers: [204] 204,89 unequal: No Solution Exploring Operation: 75*129=9675, Resulting Numbers: [9675] 9675,89 unequal: No Solution Exploring Operation: 129-75=54, Resulting Numbers: [54] 54,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[75, 33], Operations: ['70+5=75', '81-48=33'] Exploring Operation: 75*33=2475, Resulting Numbers: [2475] 2475,89 unequal: No Solution Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,89 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 3, 2, 69, 97 ]
17
[ "97-69=28", "28/2=14", "3+14=17" ]
Current State: 17:[3, 2, 69, 97], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [3, 2, 28] Generated Node #2: [3, 2, 28] from Operation: 97-69=28 Current State: 17:[3, 2, 28], Operations: ['97-69=28'] Exploring Operation: 28/2=14, Resulting Numbers: [3, 14] Generated Node #3: [3, 14] from Operation: 28/2=14 Current State: 17:[3, 14], Operations: ['97-69=28', '28/2=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[3, 2, 69, 97], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [2, 97, 23] Generated Node #0,0: 17:[2, 97, 23] Operation: 69/3=23 Exploring Operation: 97-69=28, Resulting Numbers: [3, 2, 28] Generated Node #0,1: 17:[3, 2, 28] Operation: 97-69=28 Exploring Operation: 3*2=6, Resulting Numbers: [69, 97, 6] Generated Node #0,2: 17:[69, 97, 6] Operation: 3*2=6 Exploring Operation: 3+2=5, Resulting Numbers: [69, 97, 5] Generated Node #0,3: 17:[69, 97, 5] Operation: 3+2=5 Moving to Node #0,1 Current State: 17:[3, 2, 28], Operations: ['97-69=28'] Exploring Operation: 3*2=6, Resulting Numbers: [28, 6] Generated Node #0,1,0: 17:[28, 6] Operation: 3*2=6 Exploring Operation: 3+2=5, Resulting Numbers: [28, 5] Generated Node #0,1,1: 17:[28, 5] Operation: 3+2=5 Exploring Operation: 28/2=14, Resulting Numbers: [3, 14] Generated Node #0,1,2: 17:[3, 14] Operation: 28/2=14 Exploring Operation: 28-3=25, Resulting Numbers: [2, 25] Generated Node #0,1,3: 17:[2, 25] Operation: 28-3=25 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[3, 14], Operations: ['97-69=28', '28/2=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[3, 2, 69, 97], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [3, 2, 28] Generated Node #0,1: 17:[3, 2, 28] Operation: 97-69=28 Moving to Node #0,1 Current State: 17:[3, 2, 28], Operations: ['97-69=28'] Exploring Operation: 28/2=14, Resulting Numbers: [3, 14] Generated Node #0,1,2: 17:[3, 14] Operation: 28/2=14 Moving to Node #0,1,2 Current State: 17:[3, 14], Operations: ['97-69=28', '28/2=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 84, 7, 76, 72 ]
72
[ "84-7=77", "77-76=1", "72*1=72" ]
Current State: 72:[84, 7, 76, 72], Operations: [] Exploring Operation: 84-7=77, Resulting Numbers: [76, 72, 77] Generated Node #2: [76, 72, 77] from Operation: 84-7=77 Current State: 72:[76, 72, 77], Operations: ['84-7=77'] Exploring Operation: 77-76=1, Resulting Numbers: [72, 1] Generated Node #3: [72, 1] from Operation: 77-76=1 Current State: 72:[72, 1], Operations: ['84-7=77', '77-76=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[84, 7, 76, 72], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [7, 72, 8] Generated Node #0,0: 72:[7, 72, 8] Operation: 84-76=8 Moving to Node #0,0 Current State: 72:[7, 72, 8], Operations: ['84-76=8'] Exploring Operation: 8-7=1, Resulting Numbers: [72, 1] Generated Node #0,0,0: 72:[72, 1] Operation: 8-7=1 Moving to Node #0,0,0 Current State: 72:[72, 1], Operations: ['84-76=8', '8-7=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[84, 7, 76, 72], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [7, 72, 8] Generated Node #0,0: 72:[7, 72, 8] Operation: 84-76=8 Moving to Node #0,0 Current State: 72:[7, 72, 8], Operations: ['84-76=8'] Exploring Operation: 8-7=1, Resulting Numbers: [72, 1] Generated Node #0,0,0: 72:[72, 1] Operation: 8-7=1 Moving to Node #0,0,0 Current State: 72:[72, 1], Operations: ['84-76=8', '8-7=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 71, 50, 74, 37 ]
58
[ "71-50=21", "74-37=37", "21+37=58" ]
Current State: 58:[71, 50, 74, 37], Operations: [] Exploring Operation: 71-50=21, Resulting Numbers: [74, 37, 21] Generated Node #2: [74, 37, 21] from Operation: 71-50=21 Current State: 58:[74, 37, 21], Operations: ['71-50=21'] Exploring Operation: 74-37=37, Resulting Numbers: [21, 37] Generated Node #3: [21, 37] from Operation: 74-37=37 Current State: 58:[21, 37], Operations: ['71-50=21', '74-37=37'] Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[71, 50, 74, 37], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [71, 50, 2] Generated Node #0,0: 58:[71, 50, 2] Operation: 74/37=2 Exploring Operation: 74-50=24, Resulting Numbers: [71, 37, 24] Generated Node #0,1: 58:[71, 37, 24] Operation: 74-50=24 Exploring Operation: 74-71=3, Resulting Numbers: [50, 37, 3] Generated Node #0,2: 58:[50, 37, 3] Operation: 74-71=3 Exploring Operation: 71-37=34, Resulting Numbers: [50, 74, 34] Generated Node #0,3: 58:[50, 74, 34] Operation: 71-37=34 Exploring Operation: 74-37=37, Resulting Numbers: [71, 50, 37] Generated Node #0,4: 58:[71, 50, 37] Operation: 74-37=37 Moving to Node #0,2 Current State: 58:[50, 37, 3], Operations: ['74-71=3'] Exploring Operation: 50-3=47, Resulting Numbers: [37, 47] Generated Node #0,2,0: 58:[37, 47] Operation: 50-3=47 Exploring Operation: 37-3=34, Resulting Numbers: [50, 34] Generated Node #0,2,1: 58:[50, 34] Operation: 37-3=34 Exploring Operation: 37+3=40, Resulting Numbers: [50, 40] Generated Node #0,2,2: 58:[50, 40] Operation: 37+3=40 Exploring Operation: 50+3=53, Resulting Numbers: [37, 53] Generated Node #0,2,3: 58:[37, 53] Operation: 50+3=53 Exploring Operation: 50-37=13, Resulting Numbers: [3, 13] Generated Node #0,2,4: 58:[3, 13] Operation: 50-37=13 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 58:[3, 13], Operations: ['74-71=3', '50-37=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,58 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[50, 34], Operations: ['74-71=3', '37-3=34'] Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,58 unequal: No Solution Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 58:[37, 53], Operations: ['74-71=3', '50+3=53'] Exploring Operation: 37+53=90, Resulting Numbers: [90] 90,58 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 37*53=1961, Resulting Numbers: [1961] 1961,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[37, 47], Operations: ['74-71=3', '50-3=47'] Exploring Operation: 37+47=84, Resulting Numbers: [84] 84,58 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 37*47=1739, Resulting Numbers: [1739] 1739,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[50, 40], Operations: ['74-71=3', '37+3=40'] Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,58 unequal: No Solution Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,58 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: 58:[71, 50, 2], Operations: ['74/37=2'] Exploring Operation: 50/2=25, Resulting Numbers: [71, 25] Generated Node #0,0,0: 58:[71, 25] Operation: 50/2=25 Exploring Operation: 71+2=73, Resulting Numbers: [50, 73] Generated Node #0,0,1: 58:[50, 73] Operation: 71+2=73 Exploring Operation: 71-2=69, Resulting Numbers: [50, 69] Generated Node #0,0,2: 58:[50, 69] Operation: 71-2=69 Exploring Operation: 71-50=21, Resulting Numbers: [2, 21] Generated Node #0,0,3: 58:[2, 21] Operation: 71-50=21 Exploring Operation: 50+2=52, Resulting Numbers: [71, 52] Generated Node #0,0,4: 58:[71, 52] Operation: 50+2=52 Moving to Node #0,1 Current State: 58:[71, 37, 24], Operations: ['74-50=24'] Exploring Operation: 37+24=61, Resulting Numbers: [71, 61] Generated Node #0,1,0: 58:[71, 61] Operation: 37+24=61 Exploring Operation: 71-24=47, Resulting Numbers: [37, 47] Generated Node #0,1,1: 58:[37, 47] Operation: 71-24=47 Exploring Operation: 37-24=13, Resulting Numbers: [71, 13] Generated Node #0,1,2: 58:[71, 13] Operation: 37-24=13 Exploring Operation: 71+24=95, Resulting Numbers: [37, 95] Generated Node #0,1,3: 58:[37, 95] Operation: 71+24=95 Exploring Operation: 71-37=34, Resulting Numbers: [24, 34] Generated Node #0,1,4: 58:[24, 34] Operation: 71-37=34 Moving to Node #0,3 Current State: 58:[50, 74, 34], Operations: ['71-37=34'] Exploring Operation: 74-34=40, Resulting Numbers: [50, 40] Generated Node #0,3,0: 58:[50, 40] Operation: 74-34=40 Exploring Operation: 50+34=84, Resulting Numbers: [74, 84] Generated Node #0,3,1: 58:[74, 84] Operation: 50+34=84 Exploring Operation: 50-34=16, Resulting Numbers: [74, 16] Generated Node #0,3,2: 58:[74, 16] Operation: 50-34=16 Exploring Operation: 74+34=108, Resulting Numbers: [50, 108] Generated Node #0,3,3: 58:[50, 108] Operation: 74+34=108 Exploring Operation: 74-50=24, Resulting Numbers: [34, 24] Generated Node #0,3,4: 58:[34, 24] Operation: 74-50=24 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 58:[34, 24], Operations: ['71-37=34', '74-50=24'] Exploring Operation: 34+24=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[71, 50, 74, 37], Operations: [] Exploring Operation: 71-37=34, Resulting Numbers: [50, 74, 34] Generated Node #0,3: 58:[50, 74, 34] Operation: 71-37=34 Moving to Node #0,3 Current State: 58:[50, 74, 34], Operations: ['71-37=34'] Exploring Operation: 74-50=24, Resulting Numbers: [34, 24] Generated Node #0,3,4: 58:[34, 24] Operation: 74-50=24 Moving to Node #0,3,4 Current State: 58:[34, 24], Operations: ['71-37=34', '74-50=24'] Exploring Operation: 34+24=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 19, 22, 73, 1 ]
75
[ "22-19=3", "73-1=72", "3+72=75" ]
Current State: 75:[19, 22, 73, 1], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [73, 1, 3] Generated Node #2: [73, 1, 3] from Operation: 22-19=3 Current State: 75:[73, 1, 3], Operations: ['22-19=3'] Exploring Operation: 73-1=72, Resulting Numbers: [3, 72] Generated Node #3: [3, 72] from Operation: 73-1=72 Current State: 75:[3, 72], Operations: ['22-19=3', '73-1=72'] Exploring Operation: 3+72=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[19, 22, 73, 1], Operations: [] Exploring Operation: 22+1=23, Resulting Numbers: [19, 73, 23] Generated Node #0,0: 75:[19, 73, 23] Operation: 22+1=23 Exploring Operation: 22-19=3, Resulting Numbers: [73, 1, 3] Generated Node #0,1: 75:[73, 1, 3] Operation: 22-19=3 Exploring Operation: 73+1=74, Resulting Numbers: [19, 22, 74] Generated Node #0,2: 75:[19, 22, 74] Operation: 73+1=74 Exploring Operation: 19-1=18, Resulting Numbers: [22, 73, 18] Generated Node #0,3: 75:[22, 73, 18] Operation: 19-1=18 Moving to Node #0,1 Current State: 75:[73, 1, 3], Operations: ['22-19=3'] Exploring Operation: 1*3=3, Resulting Numbers: [73, 3] Generated Node #0,1,0: 75:[73, 3] Operation: 1*3=3 Exploring Operation: 73/1=73, Resulting Numbers: [3, 73] Generated Node #0,1,1: 75:[3, 73] Operation: 73/1=73 Exploring Operation: 73*1=73, Resulting Numbers: [3, 73] Generated Node #0,1,2: 75:[3, 73] Operation: 73*1=73 Exploring Operation: 73+1=74, Resulting Numbers: [3, 74] Generated Node #0,1,3: 75:[3, 74] Operation: 73+1=74 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 75:[3, 74], Operations: ['22-19=3', '73+1=74'] Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[73, 3], Operations: ['22-19=3', '1*3=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 73*3=219, Resulting Numbers: [219] 219,75 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[3, 73], Operations: ['22-19=3', '73/1=73'] Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,75 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[3, 73], Operations: ['22-19=3', '73*1=73'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,75 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 75:[19, 22, 74], Operations: ['73+1=74'] Exploring Operation: 22-19=3, Resulting Numbers: [74, 3] Generated Node #0,2,0: 75:[74, 3] Operation: 22-19=3 Exploring Operation: 74-19=55, Resulting Numbers: [22, 55] Generated Node #0,2,1: 75:[22, 55] Operation: 74-19=55 Exploring Operation: 19+22=41, Resulting Numbers: [74, 41] Generated Node #0,2,2: 75:[74, 41] Operation: 19+22=41 Exploring Operation: 19+74=93, Resulting Numbers: [22, 93] Generated Node #0,2,3: 75:[22, 93] Operation: 19+74=93 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 75:[74, 3], Operations: ['73+1=74', '22-19=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,75 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 75:[74, 41], Operations: ['73+1=74', '19+22=41'] Exploring Operation: 74+41=115, Resulting Numbers: [115] 115,75 unequal: No Solution Exploring Operation: 74*41=3034, Resulting Numbers: [3034] 3034,75 unequal: No Solution Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 75:[22, 93], Operations: ['73+1=74', '19+74=93'] Exploring Operation: 22*93=2046, Resulting Numbers: [2046] 2046,75 unequal: No Solution Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 22+93=115, Resulting Numbers: [115] 115,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[22, 55], Operations: ['73+1=74', '74-19=55'] Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 22+55=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 22*55=1210, Resulting Numbers: [1210] 1210,75 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: 75:[19, 73, 23], Operations: ['22+1=23'] Exploring Operation: 19+23=42, Resulting Numbers: [73, 42] Generated Node #0,0,0: 75:[73, 42] Operation: 19+23=42 Exploring Operation: 19+73=92, Resulting Numbers: [23, 92] Generated Node #0,0,1: 75:[23, 92] Operation: 19+73=92 Exploring Operation: 73-19=54, Resulting Numbers: [23, 54] Generated Node #0,0,2: 75:[23, 54] Operation: 73-19=54 Exploring Operation: 23-19=4, Resulting Numbers: [73, 4] Generated Node #0,0,3: 75:[73, 4] Operation: 23-19=4 Moving to Node #0,3 Current State: 75:[22, 73, 18], Operations: ['19-1=18'] Exploring Operation: 73+18=91, Resulting Numbers: [22, 91] Generated Node #0,3,0: 75:[22, 91] Operation: 73+18=91 Exploring Operation: 22+73=95, Resulting Numbers: [18, 95] Generated Node #0,3,1: 75:[18, 95] Operation: 22+73=95 Exploring Operation: 22-18=4, Resulting Numbers: [73, 4] Generated Node #0,3,2: 75:[73, 4] Operation: 22-18=4 Exploring Operation: 22+18=40, Resulting Numbers: [73, 40] Generated Node #0,3,3: 75:[73, 40] Operation: 22+18=40 Moving to Node #0,0,3 Current State: 75:[73, 4], Operations: ['22+1=23', '23-19=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,75 unequal: No Solution Exploring Operation: 73*4=292, Resulting Numbers: [292] 292,75 unequal: No Solution Moving to Node #0,3,2 Current State: 75:[73, 4], Operations: ['19-1=18', '22-18=4'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,75 unequal: No Solution Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 73*4=292, Resulting Numbers: [292] 292,75 unequal: No Solution Moving to Node #0,3,3 Current State: 75:[73, 40], Operations: ['19-1=18', '22+18=40'] Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,75 unequal: No Solution Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,75 unequal: No Solution Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[23, 92], Operations: ['22+1=23', '19+73=92'] Exploring Operation: 92-23=69, Resulting Numbers: [69] 69,75 unequal: No Solution Exploring Operation: 23*92=2116, Resulting Numbers: [2116] 2116,75 unequal: No Solution Exploring Operation: 23+92=115, Resulting Numbers: [115] 115,75 unequal: No Solution Exploring Operation: 92/23=4, Resulting Numbers: [4] 4,75 unequal: No Solution Moving to Node #0,3,0 Current State: 75:[22, 91], Operations: ['19-1=18', '73+18=91'] Exploring Operation: 22*91=2002, Resulting Numbers: [2002] 2002,75 unequal: No Solution Exploring Operation: 91-22=69, Resulting Numbers: [69] 69,75 unequal: No Solution Exploring Operation: 22+91=113, Resulting Numbers: [113] 113,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[73, 42], Operations: ['22+1=23', '19+23=42'] Exploring Operation: 73*42=3066, Resulting Numbers: [3066] 3066,75 unequal: No Solution Exploring Operation: 73+42=115, Resulting Numbers: [115] 115,75 unequal: No Solution Exploring Operation: 73-42=31, Resulting Numbers: [31] 31,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[23, 54], Operations: ['22+1=23', '73-19=54'] Exploring Operation: 23*54=1242, Resulting Numbers: [1242] 1242,75 unequal: No Solution Exploring Operation: 23+54=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,75 unequal: No Solution Moving to Node #0,3,1 Current State: 75:[18, 95], Operations: ['19-1=18', '22+73=95'] Exploring Operation: 18*95=1710, Resulting Numbers: [1710] 1710,75 unequal: No Solution Exploring Operation: 95-18=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 18+95=113, Resulting Numbers: [113] 113,75 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 96, 92, 60, 73 ]
52
[ "96-92=4", "73-60=13", "4*13=52" ]
Current State: 52:[96, 92, 60, 73], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [60, 73, 4] Generated Node #2: [60, 73, 4] from Operation: 96-92=4 Current State: 52:[60, 73, 4], Operations: ['96-92=4'] Exploring Operation: 73-60=13, Resulting Numbers: [4, 13] Generated Node #3: [4, 13] from Operation: 73-60=13 Current State: 52:[4, 13], Operations: ['96-92=4', '73-60=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[96, 92, 60, 73], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [60, 73, 4] Generated Node #0,0: 52:[60, 73, 4] Operation: 96-92=4 Exploring Operation: 96-73=23, Resulting Numbers: [92, 60, 23] Generated Node #0,1: 52:[92, 60, 23] Operation: 96-73=23 Exploring Operation: 92-73=19, Resulting Numbers: [96, 60, 19] Generated Node #0,2: 52:[96, 60, 19] Operation: 92-73=19 Moving to Node #0,0 Current State: 52:[60, 73, 4], Operations: ['96-92=4'] Exploring Operation: 60-4=56, Resulting Numbers: [73, 56] Generated Node #0,0,0: 52:[73, 56] Operation: 60-4=56 Exploring Operation: 73-60=13, Resulting Numbers: [4, 13] Generated Node #0,0,1: 52:[4, 13] Operation: 73-60=13 Exploring Operation: 60/4=15, Resulting Numbers: [73, 15] Generated Node #0,0,2: 52:[73, 15] Operation: 60/4=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[4, 13], Operations: ['96-92=4', '73-60=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[96, 92, 60, 73], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [60, 73, 4] Generated Node #0,0: 52:[60, 73, 4] Operation: 96-92=4 Moving to Node #0,0 Current State: 52:[60, 73, 4], Operations: ['96-92=4'] Exploring Operation: 73-60=13, Resulting Numbers: [4, 13] Generated Node #0,0,1: 52:[4, 13] Operation: 73-60=13 Moving to Node #0,0,1 Current State: 52:[4, 13], Operations: ['96-92=4', '73-60=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 88, 99, 18, 96 ]
34
[ "99-96=3", "18*3=54", "88-54=34" ]
Current State: 34:[88, 99, 18, 96], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [88, 18, 3] Generated Node #2: [88, 18, 3] from Operation: 99-96=3 Current State: 34:[88, 18, 3], Operations: ['99-96=3'] Exploring Operation: 18*3=54, Resulting Numbers: [88, 54] Generated Node #3: [88, 54] from Operation: 18*3=54 Current State: 34:[88, 54], Operations: ['99-96=3', '18*3=54'] Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[88, 99, 18, 96], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [88, 18, 3] Generated Node #0,0: 34:[88, 18, 3] Operation: 99-96=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[88, 18, 3], Operations: ['99-96=3'] Exploring Operation: 88-18=70, Resulting Numbers: [3, 70] Generated Node #0,0,0: 34:[3, 70] Operation: 88-18=70 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[3, 70], Operations: ['99-96=3', '88-18=70'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 34, 43, 60, 87 ]
70
[ "34+43=77", "60+87=147", "147-77=70" ]
Current State: 70:[34, 43, 60, 87], Operations: [] Exploring Operation: 34+43=77, Resulting Numbers: [60, 87, 77] Generated Node #2: [60, 87, 77] from Operation: 34+43=77 Current State: 70:[60, 87, 77], Operations: ['34+43=77'] Exploring Operation: 60+87=147, Resulting Numbers: [77, 147] Generated Node #3: [77, 147] from Operation: 60+87=147 Current State: 70:[77, 147], Operations: ['34+43=77', '60+87=147'] Exploring Operation: 147-77=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[34, 43, 60, 87], Operations: [] Exploring Operation: 87-60=27, Resulting Numbers: [34, 43, 27] Generated Node #0,0: 70:[34, 43, 27] Operation: 87-60=27 Exploring Operation: 87-43=44, Resulting Numbers: [34, 60, 44] Generated Node #0,1: 70:[34, 60, 44] Operation: 87-43=44 Exploring Operation: 60-43=17, Resulting Numbers: [34, 87, 17] Generated Node #0,2: 70:[34, 87, 17] Operation: 60-43=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[34, 43, 27], Operations: ['87-60=27'] Exploring Operation: 43-27=16, Resulting Numbers: [34, 16] Generated Node #0,0,0: 70:[34, 16] Operation: 43-27=16 Exploring Operation: 34-27=7, Resulting Numbers: [43, 7] Generated Node #0,0,1: 70:[43, 7] Operation: 34-27=7 Exploring Operation: 43+27=70, Resulting Numbers: [34, 70] Generated Node #0,0,2: 70:[34, 70] Operation: 43+27=70 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[34, 70], Operations: ['87-60=27', '43+27=70'] Exploring Operation: 34+70=104, Resulting Numbers: [104] 104,70 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 34*70=2380, Resulting Numbers: [2380] 2380,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[34, 16], Operations: ['87-60=27', '43-27=16'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,70 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[43, 7], Operations: ['87-60=27', '34-27=7'] Exploring Operation: 43*7=301, Resulting Numbers: [301] 301,70 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[34, 60, 44], Operations: ['87-43=44'] Exploring Operation: 60-44=16, Resulting Numbers: [34, 16] Generated Node #0,1,0: 70:[34, 16] Operation: 60-44=16 Exploring Operation: 60-34=26, Resulting Numbers: [44, 26] Generated Node #0,1,1: 70:[44, 26] Operation: 60-34=26 Exploring Operation: 44-34=10, Resulting Numbers: [60, 10] Generated Node #0,1,2: 70:[60, 10] Operation: 44-34=10 Moving to Node #0,1,0 Current State: 70:[34, 16], Operations: ['87-43=44', '60-44=16'] Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,70 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,70 unequal: No Solution Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[60, 10], Operations: ['87-43=44', '44-34=10'] Exploring Operation: 60/10=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 60-10=50, Resulting Numbers: [50] 50,70 unequal: No Solution Exploring Operation: 60+10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[34, 43, 60, 87], Operations: [] Exploring Operation: 87-43=44, Resulting Numbers: [34, 60, 44] Generated Node #0,1: 70:[34, 60, 44] Operation: 87-43=44 Moving to Node #0,1 Current State: 70:[34, 60, 44], Operations: ['87-43=44'] Exploring Operation: 44-34=10, Resulting Numbers: [60, 10] Generated Node #0,1,2: 70:[60, 10] Operation: 44-34=10 Moving to Node #0,1,2 Current State: 70:[60, 10], Operations: ['87-43=44', '44-34=10'] Exploring Operation: 60+10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 56, 28, 9, 41 ]
73
[ "56/28=2", "41*2=82", "82-9=73" ]
Current State: 73:[56, 28, 9, 41], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [9, 41, 2] Generated Node #2: [9, 41, 2] from Operation: 56/28=2 Current State: 73:[9, 41, 2], Operations: ['56/28=2'] Exploring Operation: 41*2=82, Resulting Numbers: [9, 82] Generated Node #3: [9, 82] from Operation: 41*2=82 Current State: 73:[9, 82], Operations: ['56/28=2', '41*2=82'] Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[56, 28, 9, 41], Operations: [] Exploring Operation: 56+9=65, Resulting Numbers: [28, 41, 65] Generated Node #0,0: 73:[28, 41, 65] Operation: 56+9=65 Moving to Node #0,0 Current State: 73:[28, 41, 65], Operations: ['56+9=65'] Exploring Operation: 28+41=69, Resulting Numbers: [65, 69] Generated Node #0,0,0: 73:[65, 69] Operation: 28+41=69 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[65, 69], Operations: ['56+9=65', '28+41=69'] Exploring Operation: 65+69=134, Resulting Numbers: [134] 134,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
mult_heuristic
[ 75, 4, 72, 91 ]
60
[ "75+4=79", "91-72=19", "79-19=60" ]
Current State: 60:[75, 4, 72, 91], Operations: [] Exploring Operation: 75+4=79, Resulting Numbers: [72, 91, 79] Generated Node #2: [72, 91, 79] from Operation: 75+4=79 Current State: 60:[72, 91, 79], Operations: ['75+4=79'] Exploring Operation: 91-72=19, Resulting Numbers: [79, 19] Generated Node #3: [79, 19] from Operation: 91-72=19 Current State: 60:[79, 19], Operations: ['75+4=79', '91-72=19'] Exploring Operation: 79-19=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[75, 4, 72, 91], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [4, 72, 16] Generated Node #0,0: 60:[4, 72, 16] Operation: 91-75=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[4, 72, 16], Operations: ['91-75=16'] Exploring Operation: 72/4=18, Resulting Numbers: [16, 18] Generated Node #0,0,0: 60:[16, 18] Operation: 72/4=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[16, 18], Operations: ['91-75=16', '72/4=18'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 54, 96, 11, 18 ]
35
[ "96-54=42", "18-11=7", "42-7=35" ]
Current State: 35:[54, 96, 11, 18], Operations: [] Exploring Operation: 96-54=42, Resulting Numbers: [11, 18, 42] Generated Node #2: [11, 18, 42] from Operation: 96-54=42 Current State: 35:[11, 18, 42], Operations: ['96-54=42'] Exploring Operation: 18-11=7, Resulting Numbers: [42, 7] Generated Node #3: [42, 7] from Operation: 18-11=7 Current State: 35:[42, 7], Operations: ['96-54=42', '18-11=7'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[54, 96, 11, 18], Operations: [] Exploring Operation: 54/18=3, Resulting Numbers: [96, 11, 3] Generated Node #0,0: 35:[96, 11, 3] Operation: 54/18=3 Exploring Operation: 96-54=42, Resulting Numbers: [11, 18, 42] Generated Node #0,1: 35:[11, 18, 42] Operation: 96-54=42 Exploring Operation: 54-18=36, Resulting Numbers: [96, 11, 36] Generated Node #0,2: 35:[96, 11, 36] Operation: 54-18=36 Exploring Operation: 96-18=78, Resulting Numbers: [54, 11, 78] Generated Node #0,3: 35:[54, 11, 78] Operation: 96-18=78 Moving to Node #0,1 Current State: 35:[11, 18, 42], Operations: ['96-54=42'] Exploring Operation: 18-11=7, Resulting Numbers: [42, 7] Generated Node #0,1,0: 35:[42, 7] Operation: 18-11=7 Exploring Operation: 11+18=29, Resulting Numbers: [42, 29] Generated Node #0,1,1: 35:[42, 29] Operation: 11+18=29 Exploring Operation: 42-18=24, Resulting Numbers: [11, 24] Generated Node #0,1,2: 35:[11, 24] Operation: 42-18=24 Exploring Operation: 42-11=31, Resulting Numbers: [18, 31] Generated Node #0,1,3: 35:[18, 31] Operation: 42-11=31 Moving to Node #0,3 Current State: 35:[54, 11, 78], Operations: ['96-18=78'] Exploring Operation: 54+11=65, Resulting Numbers: [78, 65] Generated Node #0,3,0: 35:[78, 65] Operation: 54+11=65 Exploring Operation: 78-11=67, Resulting Numbers: [54, 67] Generated Node #0,3,1: 35:[54, 67] Operation: 78-11=67 Exploring Operation: 54-11=43, Resulting Numbers: [78, 43] Generated Node #0,3,2: 35:[78, 43] Operation: 54-11=43 Exploring Operation: 78-54=24, Resulting Numbers: [11, 24] Generated Node #0,3,3: 35:[11, 24] Operation: 78-54=24 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 35:[11, 24], Operations: ['96-18=78', '78-54=24'] Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[54, 96, 11, 18], Operations: [] Exploring Operation: 96-18=78, Resulting Numbers: [54, 11, 78] Generated Node #0,3: 35:[54, 11, 78] Operation: 96-18=78 Moving to Node #0,3 Current State: 35:[54, 11, 78], Operations: ['96-18=78'] Exploring Operation: 78-54=24, Resulting Numbers: [11, 24] Generated Node #0,3,3: 35:[11, 24] Operation: 78-54=24 Moving to Node #0,3,3 Current State: 35:[11, 24], Operations: ['96-18=78', '78-54=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 65, 32, 20, 26 ]
24
[ "20*26=520", "520/65=8", "32-8=24" ]
Current State: 24:[65, 32, 20, 26], Operations: [] Exploring Operation: 20*26=520, Resulting Numbers: [65, 32, 520] Generated Node #2: [65, 32, 520] from Operation: 20*26=520 Current State: 24:[65, 32, 520], Operations: ['20*26=520'] Exploring Operation: 520/65=8, Resulting Numbers: [32, 8] Generated Node #3: [32, 8] from Operation: 520/65=8 Current State: 24:[32, 8], Operations: ['20*26=520', '520/65=8'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[65, 32, 20, 26], Operations: [] Exploring Operation: 65-32=33, Resulting Numbers: [20, 26, 33] Generated Node #0,0: 24:[20, 26, 33] Operation: 65-32=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[20, 26, 33], Operations: ['65-32=33'] Exploring Operation: 33-20=13, Resulting Numbers: [26, 13] Generated Node #0,0,0: 24:[26, 13] Operation: 33-20=13 Moving to Node #0,0,0 Current State: 24:[26, 13], Operations: ['65-32=33', '33-20=13'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,24 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, 54, 93, 13 ]
33
[ "78/13=6", "93-54=39", "39-6=33" ]
Current State: 33:[78, 54, 93, 13], Operations: [] Exploring Operation: 78/13=6, Resulting Numbers: [54, 93, 6] Generated Node #2: [54, 93, 6] from Operation: 78/13=6 Current State: 33:[54, 93, 6], Operations: ['78/13=6'] Exploring Operation: 93-54=39, Resulting Numbers: [6, 39] Generated Node #3: [6, 39] from Operation: 93-54=39 Current State: 33:[6, 39], Operations: ['78/13=6', '93-54=39'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[78, 54, 93, 13], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [54, 13, 15] Generated Node #0,0: 33:[54, 13, 15] Operation: 93-78=15 Exploring Operation: 93-54=39, Resulting Numbers: [78, 13, 39] Generated Node #0,1: 33:[78, 13, 39] Operation: 93-54=39 Moving to Node #0,0 Current State: 33:[54, 13, 15], Operations: ['93-78=15'] Exploring Operation: 54-15=39, Resulting Numbers: [13, 39] Generated Node #0,0,0: 33:[13, 39] Operation: 54-15=39 Exploring Operation: 54-13=41, Resulting Numbers: [15, 41] Generated Node #0,0,1: 33:[15, 41] Operation: 54-13=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[13, 39], Operations: ['93-78=15', '54-15=39'] Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,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,1 Current State: 33:[15, 41], Operations: ['93-78=15', '54-13=41'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,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:[78, 13, 39], Operations: ['93-54=39'] Exploring Operation: 78/39=2, Resulting Numbers: [13, 2] Generated Node #0,1,0: 33:[13, 2] Operation: 78/39=2 Exploring Operation: 78-39=39, Resulting Numbers: [13, 39] Generated Node #0,1,1: 33:[13, 39] Operation: 78-39=39 Moving to Node #0,1,0 Current State: 33:[13, 2], Operations: ['93-54=39', '78/39=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[13, 39], Operations: ['93-54=39', '78-39=39'] Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,33 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 22, 52, 50, 72 ]
61
[ "52-50=2", "22/2=11", "72-11=61" ]
Current State: 61:[22, 52, 50, 72], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [22, 72, 2] Generated Node #2: [22, 72, 2] from Operation: 52-50=2 Current State: 61:[22, 72, 2], Operations: ['52-50=2'] Exploring Operation: 22/2=11, Resulting Numbers: [72, 11] Generated Node #3: [72, 11] from Operation: 22/2=11 Current State: 61:[72, 11], Operations: ['52-50=2', '22/2=11'] Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[22, 52, 50, 72], Operations: [] Exploring Operation: 22+50=72, Resulting Numbers: [52, 72, 72] Generated Node #0,0: 61:[52, 72, 72] Operation: 22+50=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[52, 72, 72], Operations: ['22+50=72'] Exploring Operation: 72-52=20, Resulting Numbers: [72, 20] Generated Node #0,0,0: 61:[72, 20] Operation: 72-52=20 Moving to Node #0,0,0 Current State: 61:[72, 20], Operations: ['22+50=72', '72-52=20'] Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,61 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
[ 18, 65, 14, 82 ]
13
[ "18+65=83", "14+82=96", "96-83=13" ]
Current State: 13:[18, 65, 14, 82], Operations: [] Exploring Operation: 18+65=83, Resulting Numbers: [14, 82, 83] Generated Node #2: [14, 82, 83] from Operation: 18+65=83 Current State: 13:[14, 82, 83], Operations: ['18+65=83'] Exploring Operation: 14+82=96, Resulting Numbers: [83, 96] Generated Node #3: [83, 96] from Operation: 14+82=96 Current State: 13:[83, 96], Operations: ['18+65=83', '14+82=96'] Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[18, 65, 14, 82], Operations: [] Exploring Operation: 65-18=47, Resulting Numbers: [14, 82, 47] Generated Node #0,0: 13:[14, 82, 47] Operation: 65-18=47 Exploring Operation: 82-65=17, Resulting Numbers: [18, 14, 17] Generated Node #0,1: 13:[18, 14, 17] Operation: 82-65=17 Exploring Operation: 82-18=64, Resulting Numbers: [65, 14, 64] Generated Node #0,2: 13:[65, 14, 64] Operation: 82-18=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[18, 14, 17], Operations: ['82-65=17'] Exploring Operation: 18-17=1, Resulting Numbers: [14, 1] Generated Node #0,1,0: 13:[14, 1] Operation: 18-17=1 Exploring Operation: 17-14=3, Resulting Numbers: [18, 3] Generated Node #0,1,1: 13:[18, 3] Operation: 17-14=3 Exploring Operation: 18-14=4, Resulting Numbers: [17, 4] Generated Node #0,1,2: 13:[17, 4] Operation: 18-14=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 13:[14, 1], Operations: ['82-65=17', '18-17=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[18, 65, 14, 82], Operations: [] Exploring Operation: 82-65=17, Resulting Numbers: [18, 14, 17] Generated Node #0,1: 13:[18, 14, 17] Operation: 82-65=17 Moving to Node #0,1 Current State: 13:[18, 14, 17], Operations: ['82-65=17'] Exploring Operation: 18-17=1, Resulting Numbers: [14, 1] Generated Node #0,1,0: 13:[14, 1] Operation: 18-17=1 Moving to Node #0,1,0 Current State: 13:[14, 1], Operations: ['82-65=17', '18-17=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 83, 55, 78, 15 ]
20
[ "83-78=5", "15*5=75", "75-55=20" ]
Current State: 20:[83, 55, 78, 15], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [55, 15, 5] Generated Node #2: [55, 15, 5] from Operation: 83-78=5 Current State: 20:[55, 15, 5], Operations: ['83-78=5'] Exploring Operation: 15*5=75, Resulting Numbers: [55, 75] Generated Node #3: [55, 75] from Operation: 15*5=75 Current State: 20:[55, 75], Operations: ['83-78=5', '15*5=75'] Exploring Operation: 75-55=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[83, 55, 78, 15], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [55, 15, 5] Generated Node #0,0: 20:[55, 15, 5] Operation: 83-78=5 Exploring Operation: 83-55=28, Resulting Numbers: [78, 15, 28] Generated Node #0,1: 20:[78, 15, 28] Operation: 83-55=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[55, 15, 5], Operations: ['83-78=5'] Exploring Operation: 55-15=40, Resulting Numbers: [5, 40] Generated Node #0,0,0: 20:[5, 40] Operation: 55-15=40 Exploring Operation: 55/5=11, Resulting Numbers: [15, 11] Generated Node #0,0,1: 20:[15, 11] Operation: 55/5=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 20:[15, 11], Operations: ['83-78=5', '55/5=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,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:[5, 40], Operations: ['83-78=5', '55-15=40'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,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:[78, 15, 28], Operations: ['83-55=28'] Exploring Operation: 78-28=50, Resulting Numbers: [15, 50] Generated Node #0,1,0: 20:[15, 50] Operation: 78-28=50 Exploring Operation: 78-15=63, Resulting Numbers: [28, 63] Generated Node #0,1,1: 20:[28, 63] Operation: 78-15=63 Moving to Node #0,1,0 Current State: 20:[15, 50], Operations: ['83-55=28', '78-28=50'] Exploring Operation: 15+50=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[28, 63], Operations: ['83-55=28', '78-15=63'] Exploring Operation: 28+63=91, Resulting Numbers: [91] 91,20 unequal: No Solution Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 1, 59, 2, 5 ]
24
[ "1+59=60", "2*60=120", "120/5=24" ]
Current State: 24:[1, 59, 2, 5], Operations: [] Exploring Operation: 1+59=60, Resulting Numbers: [2, 5, 60] Generated Node #2: [2, 5, 60] from Operation: 1+59=60 Current State: 24:[2, 5, 60], Operations: ['1+59=60'] Exploring Operation: 2*60=120, Resulting Numbers: [5, 120] Generated Node #3: [5, 120] from Operation: 2*60=120 Current State: 24:[5, 120], Operations: ['1+59=60', '2*60=120'] Exploring Operation: 120/5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[1, 59, 2, 5], Operations: [] Exploring Operation: 1+5=6, Resulting Numbers: [59, 2, 6] Generated Node #0,0: 24:[59, 2, 6] Operation: 1+5=6 Exploring Operation: 59-5=54, Resulting Numbers: [1, 2, 54] Generated Node #0,1: 24:[1, 2, 54] Operation: 59-5=54 Exploring Operation: 59-1=58, Resulting Numbers: [2, 5, 58] Generated Node #0,2: 24:[2, 5, 58] Operation: 59-1=58 Moving to Node #0,1 Current State: 24:[1, 2, 54], Operations: ['59-5=54'] Exploring Operation: 54/2=27, Resulting Numbers: [1, 27] Generated Node #0,1,0: 24:[1, 27] Operation: 54/2=27 Exploring Operation: 54-2=52, Resulting Numbers: [1, 52] Generated Node #0,1,1: 24:[1, 52] Operation: 54-2=52 Exploring Operation: 54-1=53, Resulting Numbers: [2, 53] Generated Node #0,1,2: 24:[2, 53] Operation: 54-1=53 Moving to Node #0,0 Current State: 24:[59, 2, 6], Operations: ['1+5=6'] Exploring Operation: 59-6=53, Resulting Numbers: [2, 53] Generated Node #0,0,0: 24:[2, 53] Operation: 59-6=53 Exploring Operation: 2+6=8, Resulting Numbers: [59, 8] Generated Node #0,0,1: 24:[59, 8] Operation: 2+6=8 Exploring Operation: 59-2=57, Resulting Numbers: [6, 57] Generated Node #0,0,2: 24:[6, 57] Operation: 59-2=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[2, 53], Operations: ['1+5=6', '59-6=53'] Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,24 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,24 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[6, 57], Operations: ['1+5=6', '59-2=57'] Exploring Operation: 6*57=342, Resulting Numbers: [342] 342,24 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 6+57=63, Resulting Numbers: [63] 63,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[59, 8], Operations: ['1+5=6', '2+6=8'] Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,24 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,24 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: 24:[2, 5, 58], Operations: ['59-1=58'] Exploring Operation: 58/2=29, Resulting Numbers: [5, 29] Generated Node #0,2,0: 24:[5, 29] Operation: 58/2=29 Exploring Operation: 58-2=56, Resulting Numbers: [5, 56] Generated Node #0,2,1: 24:[5, 56] Operation: 58-2=56 Exploring Operation: 58-5=53, Resulting Numbers: [2, 53] Generated Node #0,2,2: 24:[2, 53] Operation: 58-5=53 Moving to Node #0,1,0 Current State: 24:[1, 27], Operations: ['59-5=54', '54/2=27'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,24 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[5, 29], Operations: ['59-1=58', '58/2=29'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[1, 59, 2, 5], Operations: [] Exploring Operation: 59-1=58, Resulting Numbers: [2, 5, 58] Generated Node #0,2: 24:[2, 5, 58] Operation: 59-1=58 Moving to Node #0,2 Current State: 24:[2, 5, 58], Operations: ['59-1=58'] Exploring Operation: 58/2=29, Resulting Numbers: [5, 29] Generated Node #0,2,0: 24:[5, 29] Operation: 58/2=29 Moving to Node #0,2,0 Current State: 24:[5, 29], Operations: ['59-1=58', '58/2=29'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.974826
hs_3
sum_heuristic
[ 78, 43, 4, 44 ]
83
[ "78-43=35", "4+44=48", "35+48=83" ]
Current State: 83:[78, 43, 4, 44], Operations: [] Exploring Operation: 78-43=35, Resulting Numbers: [4, 44, 35] Generated Node #2: [4, 44, 35] from Operation: 78-43=35 Current State: 83:[4, 44, 35], Operations: ['78-43=35'] Exploring Operation: 4+44=48, Resulting Numbers: [35, 48] Generated Node #3: [35, 48] from Operation: 4+44=48 Current State: 83:[35, 48], Operations: ['78-43=35', '4+44=48'] Exploring Operation: 35+48=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[78, 43, 4, 44], Operations: [] Exploring Operation: 4+44=48, Resulting Numbers: [78, 43, 48] Generated Node #0,0: 83:[78, 43, 48] Operation: 4+44=48 Exploring Operation: 43+4=47, Resulting Numbers: [78, 44, 47] Generated Node #0,1: 83:[78, 44, 47] Operation: 43+4=47 Exploring Operation: 78+4=82, Resulting Numbers: [43, 44, 82] Generated Node #0,2: 83:[43, 44, 82] Operation: 78+4=82 Exploring Operation: 78-4=74, Resulting Numbers: [43, 44, 74] Generated Node #0,3: 83:[43, 44, 74] Operation: 78-4=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[78, 43, 48], Operations: ['4+44=48'] Exploring Operation: 78-43=35, Resulting Numbers: [48, 35] Generated Node #0,0,0: 83:[48, 35] Operation: 78-43=35 Exploring Operation: 43+48=91, Resulting Numbers: [78, 91] Generated Node #0,0,1: 83:[78, 91] Operation: 43+48=91 Exploring Operation: 78+43=121, Resulting Numbers: [48, 121] Generated Node #0,0,2: 83:[48, 121] Operation: 78+43=121 Exploring Operation: 78+48=126, Resulting Numbers: [43, 126] Generated Node #0,0,3: 83:[43, 126] Operation: 78+48=126 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[78, 91], Operations: ['4+44=48', '43+48=91'] Exploring Operation: 78*91=7098, Resulting Numbers: [7098] 7098,83 unequal: No Solution Exploring Operation: 91-78=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 78+91=169, Resulting Numbers: [169] 169,83 unequal: No Solution No 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: 83:[48, 121], Operations: ['4+44=48', '78+43=121'] Exploring Operation: 121-48=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 48*121=5808, Resulting Numbers: [5808] 5808,83 unequal: No Solution Exploring Operation: 48+121=169, Resulting Numbers: [169] 169,83 unequal: No Solution No 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: 83:[48, 35], Operations: ['4+44=48', '78-43=35'] Exploring Operation: 48+35=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[78, 43, 4, 44], Operations: [] Exploring Operation: 4+44=48, Resulting Numbers: [78, 43, 48] Generated Node #0,0: 83:[78, 43, 48] Operation: 4+44=48 Moving to Node #0,0 Current State: 83:[78, 43, 48], Operations: ['4+44=48'] Exploring Operation: 78-43=35, Resulting Numbers: [48, 35] Generated Node #0,0,0: 83:[48, 35] Operation: 78-43=35 Moving to Node #0,0,0 Current State: 83:[48, 35], Operations: ['4+44=48', '78-43=35'] Exploring Operation: 48+35=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 75, 56, 65, 60 ]
35
[ "75+65=140", "60-56=4", "140/4=35" ]
Current State: 35:[75, 56, 65, 60], Operations: [] Exploring Operation: 75+65=140, Resulting Numbers: [56, 60, 140] Generated Node #2: [56, 60, 140] from Operation: 75+65=140 Current State: 35:[56, 60, 140], Operations: ['75+65=140'] Exploring Operation: 60-56=4, Resulting Numbers: [140, 4] Generated Node #3: [140, 4] from Operation: 60-56=4 Current State: 35:[140, 4], Operations: ['75+65=140', '60-56=4'] Exploring Operation: 140/4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[75, 56, 65, 60], Operations: [] Exploring Operation: 75-60=15, Resulting Numbers: [56, 65, 15] Generated Node #0,0: 35:[56, 65, 15] Operation: 75-60=15 Exploring Operation: 65-60=5, Resulting Numbers: [75, 56, 5] Generated Node #0,1: 35:[75, 56, 5] Operation: 65-60=5 Exploring Operation: 75-65=10, Resulting Numbers: [56, 60, 10] Generated Node #0,2: 35:[56, 60, 10] Operation: 75-65=10 Moving to Node #0,2 Current State: 35:[56, 60, 10], Operations: ['75-65=10'] Exploring Operation: 60/10=6, Resulting Numbers: [56, 6] Generated Node #0,2,0: 35:[56, 6] Operation: 60/10=6 Exploring Operation: 60-56=4, Resulting Numbers: [10, 4] Generated Node #0,2,1: 35:[10, 4] Operation: 60-56=4 Exploring Operation: 56-10=46, Resulting Numbers: [60, 46] Generated Node #0,2,2: 35:[60, 46] Operation: 56-10=46 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 35:[10, 4], Operations: ['75-65=10', '60-56=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 35:[56, 6], Operations: ['75-65=10', '60/10=6'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 56*6=336, Resulting Numbers: [336] 336,35 unequal: No Solution Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 35:[60, 46], Operations: ['75-65=10', '56-10=46'] Exploring Operation: 60*46=2760, Resulting Numbers: [2760] 2760,35 unequal: No Solution Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 60+46=106, Resulting Numbers: [106] 106,35 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: 35:[56, 65, 15], Operations: ['75-60=15'] Exploring Operation: 65-15=50, Resulting Numbers: [56, 50] Generated Node #0,0,0: 35:[56, 50] Operation: 65-15=50 Exploring Operation: 65-56=9, Resulting Numbers: [15, 9] Generated Node #0,0,1: 35:[15, 9] Operation: 65-56=9 Exploring Operation: 56-15=41, Resulting Numbers: [65, 41] Generated Node #0,0,2: 35:[65, 41] Operation: 56-15=41 Moving to Node #0,1 Current State: 35:[75, 56, 5], Operations: ['65-60=5'] Exploring Operation: 75/5=15, Resulting Numbers: [56, 15] Generated Node #0,1,0: 35:[56, 15] Operation: 75/5=15 Exploring Operation: 75-56=19, Resulting Numbers: [5, 19] Generated Node #0,1,1: 35:[5, 19] Operation: 75-56=19 Exploring Operation: 75-5=70, Resulting Numbers: [56, 70] Generated Node #0,1,2: 35:[56, 70] Operation: 75-5=70 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 35:[5, 19], Operations: ['65-60=5', '75-56=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[56, 15], Operations: ['65-60=5', '75/5=15'] Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,35 unequal: No Solution Exploring Operation: 56*15=840, Resulting Numbers: [840] 840,35 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 35:[56, 70], Operations: ['65-60=5', '75-5=70'] Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 56*70=3920, Resulting Numbers: [3920] 3920,35 unequal: No Solution Exploring Operation: 56+70=126, Resulting Numbers: [126] 126,35 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: 35:[15, 9], Operations: ['75-60=15', '65-56=9'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[56, 50], Operations: ['75-60=15', '65-15=50'] Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 56+50=106, Resulting Numbers: [106] 106,35 unequal: No Solution Exploring Operation: 56*50=2800, Resulting Numbers: [2800] 2800,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[65, 41], Operations: ['75-60=15', '56-15=41'] Exploring Operation: 65+41=106, Resulting Numbers: [106] 106,35 unequal: No Solution Exploring Operation: 65*41=2665, Resulting Numbers: [2665] 2665,35 unequal: No Solution Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,35 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 66, 49, 5, 37 ]
83
[ "66+49=115", "37-5=32", "115-32=83" ]
Current State: 83:[66, 49, 5, 37], Operations: [] Exploring Operation: 66+49=115, Resulting Numbers: [5, 37, 115] Generated Node #2: [5, 37, 115] from Operation: 66+49=115 Current State: 83:[5, 37, 115], Operations: ['66+49=115'] Exploring Operation: 37-5=32, Resulting Numbers: [115, 32] Generated Node #3: [115, 32] from Operation: 37-5=32 Current State: 83:[115, 32], Operations: ['66+49=115', '37-5=32'] Exploring Operation: 115-32=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[66, 49, 5, 37], Operations: [] Exploring Operation: 66+5=71, Resulting Numbers: [49, 37, 71] Generated Node #0,0: 83:[49, 37, 71] Operation: 66+5=71 Exploring Operation: 49+5=54, Resulting Numbers: [66, 37, 54] Generated Node #0,1: 83:[66, 37, 54] Operation: 49+5=54 Exploring Operation: 5+37=42, Resulting Numbers: [66, 49, 42] Generated Node #0,2: 83:[66, 49, 42] Operation: 5+37=42 Exploring Operation: 66-5=61, Resulting Numbers: [49, 37, 61] Generated Node #0,3: 83:[49, 37, 61] Operation: 66-5=61 Exploring Operation: 49+37=86, Resulting Numbers: [66, 5, 86] Generated Node #0,4: 83:[66, 5, 86] Operation: 49+37=86 Moving to Node #0,0 Current State: 83:[49, 37, 71], Operations: ['66+5=71'] Exploring Operation: 49+37=86, Resulting Numbers: [71, 86] Generated Node #0,0,0: 83:[71, 86] Operation: 49+37=86 Exploring Operation: 71-37=34, Resulting Numbers: [49, 34] Generated Node #0,0,1: 83:[49, 34] Operation: 71-37=34 Exploring Operation: 49+71=120, Resulting Numbers: [37, 120] Generated Node #0,0,2: 83:[37, 120] Operation: 49+71=120 Exploring Operation: 37+71=108, Resulting Numbers: [49, 108] Generated Node #0,0,3: 83:[49, 108] Operation: 37+71=108 Exploring Operation: 49-37=12, Resulting Numbers: [71, 12] Generated Node #0,0,4: 83:[71, 12] Operation: 49-37=12 Moving to Node #0,2 Current State: 83:[66, 49, 42], Operations: ['5+37=42'] Exploring Operation: 49+42=91, Resulting Numbers: [66, 91] Generated Node #0,2,0: 83:[66, 91] Operation: 49+42=91 Exploring Operation: 66+42=108, Resulting Numbers: [49, 108] Generated Node #0,2,1: 83:[49, 108] Operation: 66+42=108 Exploring Operation: 49-42=7, Resulting Numbers: [66, 7] Generated Node #0,2,2: 83:[66, 7] Operation: 49-42=7 Exploring Operation: 66+49=115, Resulting Numbers: [42, 115] Generated Node #0,2,3: 83:[42, 115] Operation: 66+49=115 Exploring Operation: 66-42=24, Resulting Numbers: [49, 24] Generated Node #0,2,4: 83:[49, 24] Operation: 66-42=24 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[66, 91], Operations: ['5+37=42', '49+42=91'] Exploring Operation: 91-66=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 66+91=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 66*91=6006, Resulting Numbers: [6006] 6006,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[49, 108], Operations: ['5+37=42', '66+42=108'] Exploring Operation: 49*108=5292, Resulting Numbers: [5292] 5292,83 unequal: No Solution Exploring Operation: 49+108=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 108-49=59, Resulting Numbers: [59] 59,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 83:[42, 115], Operations: ['5+37=42', '66+49=115'] Exploring Operation: 42+115=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 42*115=4830, Resulting Numbers: [4830] 4830,83 unequal: No Solution Exploring Operation: 115-42=73, Resulting Numbers: [73] 73,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[66, 7], Operations: ['5+37=42', '49-42=7'] Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,83 unequal: No Solution Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 83:[49, 24], Operations: ['5+37=42', '66-42=24'] Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,83 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,83 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: 83:[66, 37, 54], Operations: ['49+5=54'] Exploring Operation: 66-37=29, Resulting Numbers: [54, 29] Generated Node #0,1,0: 83:[54, 29] Operation: 66-37=29 Exploring Operation: 37+54=91, Resulting Numbers: [66, 91] Generated Node #0,1,1: 83:[66, 91] Operation: 37+54=91 Exploring Operation: 66+37=103, Resulting Numbers: [54, 103] Generated Node #0,1,2: 83:[54, 103] Operation: 66+37=103 Exploring Operation: 66+54=120, Resulting Numbers: [37, 120] Generated Node #0,1,3: 83:[37, 120] Operation: 66+54=120 Exploring Operation: 54-37=17, Resulting Numbers: [66, 17] Generated Node #0,1,4: 83:[66, 17] Operation: 54-37=17 Moving to Node #0,4 Current State: 83:[66, 5, 86], Operations: ['49+37=86'] Exploring Operation: 66-5=61, Resulting Numbers: [86, 61] Generated Node #0,4,0: 83:[86, 61] Operation: 66-5=61 Exploring Operation: 86-5=81, Resulting Numbers: [66, 81] Generated Node #0,4,1: 83:[66, 81] Operation: 86-5=81 Exploring Operation: 86-66=20, Resulting Numbers: [5, 20] Generated Node #0,4,2: 83:[5, 20] Operation: 86-66=20 Exploring Operation: 66+5=71, Resulting Numbers: [86, 71] Generated Node #0,4,3: 83:[86, 71] Operation: 66+5=71 Exploring Operation: 5+86=91, Resulting Numbers: [66, 91] Generated Node #0,4,4: 83:[66, 91] Operation: 5+86=91 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 83:[86, 71], Operations: ['49+37=86', '66+5=71'] Exploring Operation: 86*71=6106, Resulting Numbers: [6106] 6106,83 unequal: No Solution Exploring Operation: 86+71=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 86-71=15, Resulting Numbers: [15] 15,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 83:[66, 81], Operations: ['49+37=86', '86-5=81'] Exploring Operation: 66*81=5346, Resulting Numbers: [5346] 5346,83 unequal: No Solution Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 66+81=147, Resulting Numbers: [147] 147,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 83:[86, 61], Operations: ['49+37=86', '66-5=61'] Exploring Operation: 86+61=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 86*61=5246, Resulting Numbers: [5246] 5246,83 unequal: No Solution Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 83:[66, 91], Operations: ['49+37=86', '5+86=91'] Exploring Operation: 66+91=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 66*91=6006, Resulting Numbers: [6006] 6006,83 unequal: No Solution Exploring Operation: 91-66=25, Resulting Numbers: [25] 25,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 83:[5, 20], Operations: ['49+37=86', '86-66=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,83 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,83 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: 83:[49, 37, 61], Operations: ['66-5=61'] Exploring Operation: 49+61=110, Resulting Numbers: [37, 110] Generated Node #0,3,0: 83:[37, 110] Operation: 49+61=110 Exploring Operation: 49+37=86, Resulting Numbers: [61, 86] Generated Node #0,3,1: 83:[61, 86] Operation: 49+37=86 Exploring Operation: 61-37=24, Resulting Numbers: [49, 24] Generated Node #0,3,2: 83:[49, 24] Operation: 61-37=24 Exploring Operation: 49-37=12, Resulting Numbers: [61, 12] Generated Node #0,3,3: 83:[61, 12] Operation: 49-37=12 Exploring Operation: 37+61=98, Resulting Numbers: [49, 98] Generated Node #0,3,4: 83:[49, 98] Operation: 37+61=98 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[61, 86], Operations: ['66-5=61', '49+37=86'] Exploring Operation: 61+86=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 61*86=5246, Resulting Numbers: [5246] 5246,83 unequal: No Solution Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 83:[49, 98], Operations: ['66-5=61', '37+61=98'] Exploring Operation: 49+98=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 98-49=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 98/49=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 49*98=4802, Resulting Numbers: [4802] 4802,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[37, 110], Operations: ['66-5=61', '49+61=110'] Exploring Operation: 37+110=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 37*110=4070, Resulting Numbers: [4070] 4070,83 unequal: No Solution Exploring Operation: 110-37=73, Resulting Numbers: [73] 73,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[49, 24], Operations: ['66-5=61', '61-37=24'] Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,83 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 83:[61, 12], Operations: ['66-5=61', '49-37=12'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 61*12=732, Resulting Numbers: [732] 732,83 unequal: No Solution Exploring Operation: 61+12=73, Resulting Numbers: [73] 73,83 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: 83:[71, 86], Operations: ['66+5=71', '49+37=86'] Exploring Operation: 71*86=6106, Resulting Numbers: [6106] 6106,83 unequal: No Solution Exploring Operation: 86-71=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 71+86=157, Resulting Numbers: [157] 157,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[66, 91], Operations: ['49+5=54', '37+54=91'] Exploring Operation: 66+91=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 91-66=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 66*91=6006, Resulting Numbers: [6006] 6006,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[54, 103], Operations: ['49+5=54', '66+37=103'] Exploring Operation: 54*103=5562, Resulting Numbers: [5562] 5562,83 unequal: No Solution Exploring Operation: 103-54=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 54+103=157, Resulting Numbers: [157] 157,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[49, 108], Operations: ['66+5=71', '37+71=108'] Exploring Operation: 49+108=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 49*108=5292, Resulting Numbers: [5292] 5292,83 unequal: No Solution Exploring Operation: 108-49=59, Resulting Numbers: [59] 59,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[66, 17], Operations: ['49+5=54', '54-37=17'] Exploring Operation: 66+17=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[66, 49, 5, 37], Operations: [] Exploring Operation: 49+5=54, Resulting Numbers: [66, 37, 54] Generated Node #0,1: 83:[66, 37, 54] Operation: 49+5=54 Moving to Node #0,1 Current State: 83:[66, 37, 54], Operations: ['49+5=54'] Exploring Operation: 54-37=17, Resulting Numbers: [66, 17] Generated Node #0,1,4: 83:[66, 17] Operation: 54-37=17 Moving to Node #0,1,4 Current State: 83:[66, 17], Operations: ['49+5=54', '54-37=17'] Exploring Operation: 66+17=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.918403
hs_5
sum_heuristic
[ 22, 66, 17, 5 ]
56
[ "66-22=44", "17-5=12", "44+12=56" ]
Current State: 56:[22, 66, 17, 5], Operations: [] Exploring Operation: 66-22=44, Resulting Numbers: [17, 5, 44] Generated Node #2: [17, 5, 44] from Operation: 66-22=44 Current State: 56:[17, 5, 44], Operations: ['66-22=44'] Exploring Operation: 17-5=12, Resulting Numbers: [44, 12] Generated Node #3: [44, 12] from Operation: 17-5=12 Current State: 56:[44, 12], Operations: ['66-22=44', '17-5=12'] Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[22, 66, 17, 5], Operations: [] Exploring Operation: 22-17=5, Resulting Numbers: [66, 5, 5] Generated Node #0,0: 56:[66, 5, 5] Operation: 22-17=5 Exploring Operation: 66/22=3, Resulting Numbers: [17, 5, 3] Generated Node #0,1: 56:[17, 5, 3] Operation: 66/22=3 Moving to Node #0,1 Current State: 56:[17, 5, 3], Operations: ['66/22=3'] Exploring Operation: 17-3=14, Resulting Numbers: [5, 14] Generated Node #0,1,0: 56:[5, 14] Operation: 17-3=14 Exploring Operation: 17-5=12, Resulting Numbers: [3, 12] Generated Node #0,1,1: 56:[3, 12] Operation: 17-5=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[5, 14], Operations: ['66/22=3', '17-3=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,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:[3, 12], Operations: ['66/22=3', '17-5=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 56:[66, 5, 5], Operations: ['22-17=5'] Exploring Operation: 66-5=61, Resulting Numbers: [5, 61] Generated Node #0,0,0: 56:[5, 61] Operation: 66-5=61 Exploring Operation: 66-5=61, Resulting Numbers: [5, 61] Generated Node #0,0,1: 56:[5, 61] Operation: 66-5=61 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[5, 61], Operations: ['22-17=5', '66-5=61'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[22, 66, 17, 5], Operations: [] Exploring Operation: 22-17=5, Resulting Numbers: [66, 5, 5] Generated Node #0,0: 56:[66, 5, 5] Operation: 22-17=5 Moving to Node #0,0 Current State: 56:[66, 5, 5], Operations: ['22-17=5'] Exploring Operation: 66-5=61, Resulting Numbers: [5, 61] Generated Node #0,0,0: 56:[5, 61] Operation: 66-5=61 Moving to Node #0,0,0 Current State: 56:[5, 61], Operations: ['22-17=5', '66-5=61'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 98, 18, 74, 73 ]
12
[ "98*18=1764", "74+73=147", "1764/147=12" ]
Current State: 12:[98, 18, 74, 73], Operations: [] Exploring Operation: 98*18=1764, Resulting Numbers: [74, 73, 1764] Generated Node #2: [74, 73, 1764] from Operation: 98*18=1764 Current State: 12:[74, 73, 1764], Operations: ['98*18=1764'] Exploring Operation: 74+73=147, Resulting Numbers: [1764, 147] Generated Node #3: [1764, 147] from Operation: 74+73=147 Current State: 12:[1764, 147], Operations: ['98*18=1764', '74+73=147'] Exploring Operation: 1764/147=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[98, 18, 74, 73], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [18, 74, 25] Generated Node #0,0: 12:[18, 74, 25] Operation: 98-73=25 Exploring Operation: 98-74=24, Resulting Numbers: [18, 73, 24] Generated Node #0,1: 12:[18, 73, 24] Operation: 98-74=24 Exploring Operation: 74-73=1, Resulting Numbers: [98, 18, 1] Generated Node #0,2: 12:[98, 18, 1] Operation: 74-73=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[18, 73, 24], Operations: ['98-74=24'] Exploring Operation: 73-24=49, Resulting Numbers: [18, 49] Generated Node #0,1,0: 12:[18, 49] Operation: 73-24=49 Exploring Operation: 73-18=55, Resulting Numbers: [24, 55] Generated Node #0,1,1: 12:[24, 55] Operation: 73-18=55 Exploring Operation: 24-18=6, Resulting Numbers: [73, 6] Generated Node #0,1,2: 12:[73, 6] Operation: 24-18=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[18, 49], Operations: ['98-74=24', '73-24=49'] Exploring Operation: 18*49=882, Resulting Numbers: [882] 882,12 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 18+49=67, Resulting Numbers: [67] 67,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[24, 55], Operations: ['98-74=24', '73-18=55'] Exploring Operation: 24*55=1320, Resulting Numbers: [1320] 1320,12 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 12:[73, 6], Operations: ['98-74=24', '24-18=6'] Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,12 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,12 unequal: No Solution Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[18, 74, 25], Operations: ['98-73=25'] Exploring Operation: 74-25=49, Resulting Numbers: [18, 49] Generated Node #0,0,0: 12:[18, 49] Operation: 74-25=49 Exploring Operation: 25-18=7, Resulting Numbers: [74, 7] Generated Node #0,0,1: 12:[74, 7] Operation: 25-18=7 Exploring Operation: 74-18=56, Resulting Numbers: [25, 56] Generated Node #0,0,2: 12:[25, 56] Operation: 74-18=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[18, 49], Operations: ['98-73=25', '74-25=49'] Exploring Operation: 18*49=882, Resulting Numbers: [882] 882,12 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 18+49=67, Resulting Numbers: [67] 67,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 12:[25, 56], Operations: ['98-73=25', '74-18=56'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,12 unequal: No Solution Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,12 unequal: No Solution Exploring Operation: 25*56=1400, Resulting Numbers: [1400] 1400,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[74, 7], Operations: ['98-73=25', '25-18=7'] Exploring Operation: 74*7=518, Resulting Numbers: [518] 518,12 unequal: No Solution Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,12 unequal: No Solution Exploring Operation: 74+7=81, Resulting Numbers: [81] 81,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[98, 18, 1], Operations: ['74-73=1'] Exploring Operation: 18-1=17, Resulting Numbers: [98, 17] Generated Node #0,2,0: 12:[98, 17] Operation: 18-1=17 Exploring Operation: 98-1=97, Resulting Numbers: [18, 97] Generated Node #0,2,1: 12:[18, 97] Operation: 98-1=97 Exploring Operation: 98-18=80, Resulting Numbers: [1, 80] Generated Node #0,2,2: 12:[1, 80] Operation: 98-18=80 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[1, 80], Operations: ['74-73=1', '98-18=80'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,12 unequal: No Solution Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,12 unequal: No Solution Exploring Operation: 1*80=80, Resulting Numbers: [80] 80,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[98, 17], Operations: ['74-73=1', '18-1=17'] Exploring Operation: 98+17=115, Resulting Numbers: [115] 115,12 unequal: No Solution Exploring Operation: 98*17=1666, Resulting Numbers: [1666] 1666,12 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 12:[18, 97], Operations: ['74-73=1', '98-1=97'] Exploring Operation: 18+97=115, Resulting Numbers: [115] 115,12 unequal: No Solution Exploring Operation: 18*97=1746, Resulting Numbers: [1746] 1746,12 unequal: No Solution Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 58, 55, 13, 77 ]
23
[ "58+55=113", "13+77=90", "113-90=23" ]
Current State: 23:[58, 55, 13, 77], Operations: [] Exploring Operation: 58+55=113, Resulting Numbers: [13, 77, 113] Generated Node #2: [13, 77, 113] from Operation: 58+55=113 Current State: 23:[13, 77, 113], Operations: ['58+55=113'] Exploring Operation: 13+77=90, Resulting Numbers: [113, 90] Generated Node #3: [113, 90] from Operation: 13+77=90 Current State: 23:[113, 90], Operations: ['58+55=113', '13+77=90'] Exploring Operation: 113-90=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[58, 55, 13, 77], Operations: [] Exploring Operation: 77-58=19, Resulting Numbers: [55, 13, 19] Generated Node #0,0: 23:[55, 13, 19] Operation: 77-58=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[55, 13, 19], Operations: ['77-58=19'] Exploring Operation: 55-13=42, Resulting Numbers: [19, 42] Generated Node #0,0,0: 23:[19, 42] Operation: 55-13=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[19, 42], Operations: ['77-58=19', '55-13=42'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[58, 55, 13, 77], Operations: [] Exploring Operation: 77-58=19, Resulting Numbers: [55, 13, 19] Generated Node #0,0: 23:[55, 13, 19] Operation: 77-58=19 Moving to Node #0,0 Current State: 23:[55, 13, 19], Operations: ['77-58=19'] Exploring Operation: 55-13=42, Resulting Numbers: [19, 42] Generated Node #0,0,0: 23:[19, 42] Operation: 55-13=42 Moving to Node #0,0,0 Current State: 23:[19, 42], Operations: ['77-58=19', '55-13=42'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 57, 95, 61, 60 ]
31
[ "57+95=152", "61+60=121", "152-121=31" ]
Current State: 31:[57, 95, 61, 60], Operations: [] Exploring Operation: 57+95=152, Resulting Numbers: [61, 60, 152] Generated Node #2: [61, 60, 152] from Operation: 57+95=152 Current State: 31:[61, 60, 152], Operations: ['57+95=152'] Exploring Operation: 61+60=121, Resulting Numbers: [152, 121] Generated Node #3: [152, 121] from Operation: 61+60=121 Current State: 31:[152, 121], Operations: ['57+95=152', '61+60=121'] Exploring Operation: 152-121=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[57, 95, 61, 60], Operations: [] Exploring Operation: 95-61=34, Resulting Numbers: [57, 60, 34] Generated Node #0,0: 31:[57, 60, 34] Operation: 95-61=34 Moving to Node #0,0 Current State: 31:[57, 60, 34], Operations: ['95-61=34'] Exploring Operation: 60-57=3, Resulting Numbers: [34, 3] Generated Node #0,0,0: 31:[34, 3] Operation: 60-57=3 Moving to Node #0,0,0 Current State: 31:[34, 3], Operations: ['95-61=34', '60-57=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[57, 95, 61, 60], Operations: [] Exploring Operation: 95-61=34, Resulting Numbers: [57, 60, 34] Generated Node #0,0: 31:[57, 60, 34] Operation: 95-61=34 Moving to Node #0,0 Current State: 31:[57, 60, 34], Operations: ['95-61=34'] Exploring Operation: 60-57=3, Resulting Numbers: [34, 3] Generated Node #0,0,0: 31:[34, 3] Operation: 60-57=3 Moving to Node #0,0,0 Current State: 31:[34, 3], Operations: ['95-61=34', '60-57=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 91, 32, 3, 26 ]
45
[ "91+32=123", "3*26=78", "123-78=45" ]
Current State: 45:[91, 32, 3, 26], Operations: [] Exploring Operation: 91+32=123, Resulting Numbers: [3, 26, 123] Generated Node #2: [3, 26, 123] from Operation: 91+32=123 Current State: 45:[3, 26, 123], Operations: ['91+32=123'] Exploring Operation: 3*26=78, Resulting Numbers: [123, 78] Generated Node #3: [123, 78] from Operation: 3*26=78 Current State: 45:[123, 78], Operations: ['91+32=123', '3*26=78'] Exploring Operation: 123-78=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[91, 32, 3, 26], Operations: [] Exploring Operation: 91-32=59, Resulting Numbers: [3, 26, 59] Generated Node #0,0: 45:[3, 26, 59] Operation: 91-32=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[3, 26, 59], Operations: ['91-32=59'] Exploring Operation: 59-26=33, Resulting Numbers: [3, 33] Generated Node #0,0,0: 45:[3, 33] Operation: 59-26=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[3, 33], Operations: ['91-32=59', '59-26=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 33, 66, 15, 35 ]
53
[ "66-33=33", "35-15=20", "33+20=53" ]
Current State: 53:[33, 66, 15, 35], Operations: [] Exploring Operation: 66-33=33, Resulting Numbers: [15, 35, 33] Generated Node #2: [15, 35, 33] from Operation: 66-33=33 Current State: 53:[15, 35, 33], Operations: ['66-33=33'] Exploring Operation: 35-15=20, Resulting Numbers: [33, 20] Generated Node #3: [33, 20] from Operation: 35-15=20 Current State: 53:[33, 20], Operations: ['66-33=33', '35-15=20'] Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[33, 66, 15, 35], Operations: [] Exploring Operation: 66-15=51, Resulting Numbers: [33, 35, 51] Generated Node #0,0: 53:[33, 35, 51] Operation: 66-15=51 Exploring Operation: 33-15=18, Resulting Numbers: [66, 35, 18] Generated Node #0,1: 53:[66, 35, 18] Operation: 33-15=18 Exploring Operation: 15+35=50, Resulting Numbers: [33, 66, 50] Generated Node #0,2: 53:[33, 66, 50] Operation: 15+35=50 Exploring Operation: 33+15=48, Resulting Numbers: [66, 35, 48] Generated Node #0,3: 53:[66, 35, 48] Operation: 33+15=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[33, 66, 50], Operations: ['15+35=50'] Exploring Operation: 33+50=83, Resulting Numbers: [66, 83] Generated Node #0,2,0: 53:[66, 83] Operation: 33+50=83 Exploring Operation: 33+66=99, Resulting Numbers: [50, 99] Generated Node #0,2,1: 53:[50, 99] Operation: 33+66=99 Exploring Operation: 66-33=33, Resulting Numbers: [50, 33] Generated Node #0,2,2: 53:[50, 33] Operation: 66-33=33 Exploring Operation: 50-33=17, Resulting Numbers: [66, 17] Generated Node #0,2,3: 53:[66, 17] Operation: 50-33=17 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 53:[50, 33], Operations: ['15+35=50', '66-33=33'] Exploring Operation: 50*33=1650, Resulting Numbers: [1650] 1650,53 unequal: No Solution Exploring Operation: 50+33=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[66, 83], Operations: ['15+35=50', '33+50=83'] Exploring Operation: 83-66=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 66*83=5478, Resulting Numbers: [5478] 5478,53 unequal: No Solution Exploring Operation: 66+83=149, Resulting Numbers: [149] 149,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[50, 99], Operations: ['15+35=50', '33+66=99'] Exploring Operation: 50+99=149, Resulting Numbers: [149] 149,53 unequal: No Solution Exploring Operation: 50*99=4950, Resulting Numbers: [4950] 4950,53 unequal: No Solution Exploring Operation: 99-50=49, Resulting Numbers: [49] 49,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 53:[66, 17], Operations: ['15+35=50', '50-33=17'] Exploring Operation: 66*17=1122, Resulting Numbers: [1122] 1122,53 unequal: No Solution Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,53 unequal: No Solution Exploring Operation: 66+17=83, Resulting Numbers: [83] 83,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[66, 35, 48], Operations: ['33+15=48'] Exploring Operation: 35+48=83, Resulting Numbers: [66, 83] Generated Node #0,3,0: 53:[66, 83] Operation: 35+48=83 Exploring Operation: 66-35=31, Resulting Numbers: [48, 31] Generated Node #0,3,1: 53:[48, 31] Operation: 66-35=31 Exploring Operation: 66+35=101, Resulting Numbers: [48, 101] Generated Node #0,3,2: 53:[48, 101] Operation: 66+35=101 Exploring Operation: 66-48=18, Resulting Numbers: [35, 18] Generated Node #0,3,3: 53:[35, 18] Operation: 66-48=18 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 53:[48, 31], Operations: ['33+15=48', '66-35=31'] Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,53 unequal: No Solution Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 53:[66, 83], Operations: ['33+15=48', '35+48=83'] Exploring Operation: 83-66=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 66*83=5478, Resulting Numbers: [5478] 5478,53 unequal: No Solution Exploring Operation: 66+83=149, Resulting Numbers: [149] 149,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 53:[48, 101], Operations: ['33+15=48', '66+35=101'] Exploring Operation: 101-48=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[33, 66, 15, 35], Operations: [] Exploring Operation: 33+15=48, Resulting Numbers: [66, 35, 48] Generated Node #0,3: 53:[66, 35, 48] Operation: 33+15=48 Moving to Node #0,3 Current State: 53:[66, 35, 48], Operations: ['33+15=48'] Exploring Operation: 66+35=101, Resulting Numbers: [48, 101] Generated Node #0,3,2: 53:[48, 101] Operation: 66+35=101 Moving to Node #0,3,2 Current State: 53:[48, 101], Operations: ['33+15=48', '66+35=101'] Exploring Operation: 101-48=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 44, 71, 89, 3 ]
78
[ "44+71=115", "115-89=26", "3*26=78" ]
Current State: 78:[44, 71, 89, 3], Operations: [] Exploring Operation: 44+71=115, Resulting Numbers: [89, 3, 115] Generated Node #2: [89, 3, 115] from Operation: 44+71=115 Current State: 78:[89, 3, 115], Operations: ['44+71=115'] Exploring Operation: 115-89=26, Resulting Numbers: [3, 26] Generated Node #3: [3, 26] from Operation: 115-89=26 Current State: 78:[3, 26], Operations: ['44+71=115', '115-89=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[44, 71, 89, 3], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [44, 3, 18] Generated Node #0,0: 78:[44, 3, 18] Operation: 89-71=18 Moving to Node #0,0 Current State: 78:[44, 3, 18], Operations: ['89-71=18'] Exploring Operation: 44-18=26, Resulting Numbers: [3, 26] Generated Node #0,0,0: 78:[3, 26] Operation: 44-18=26 Moving to Node #0,0,0 Current State: 78:[3, 26], Operations: ['89-71=18', '44-18=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[44, 71, 89, 3], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [44, 3, 18] Generated Node #0,0: 78:[44, 3, 18] Operation: 89-71=18 Moving to Node #0,0 Current State: 78:[44, 3, 18], Operations: ['89-71=18'] Exploring Operation: 44-18=26, Resulting Numbers: [3, 26] Generated Node #0,0,0: 78:[3, 26] Operation: 44-18=26 Moving to Node #0,0,0 Current State: 78:[3, 26], Operations: ['89-71=18', '44-18=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 76, 46, 1, 92 ]
79
[ "76+1=77", "92/46=2", "77+2=79" ]
Current State: 79:[76, 46, 1, 92], Operations: [] Exploring Operation: 76+1=77, Resulting Numbers: [46, 92, 77] Generated Node #2: [46, 92, 77] from Operation: 76+1=77 Current State: 79:[46, 92, 77], Operations: ['76+1=77'] Exploring Operation: 92/46=2, Resulting Numbers: [77, 2] Generated Node #3: [77, 2] from Operation: 92/46=2 Current State: 79:[77, 2], Operations: ['76+1=77', '92/46=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[76, 46, 1, 92], Operations: [] Exploring Operation: 92-1=91, Resulting Numbers: [76, 46, 91] Generated Node #0,0: 79:[76, 46, 91] Operation: 92-1=91 Exploring Operation: 46+1=47, Resulting Numbers: [76, 92, 47] Generated Node #0,1: 79:[76, 92, 47] Operation: 46+1=47 Exploring Operation: 76+1=77, Resulting Numbers: [46, 92, 77] Generated Node #0,2: 79:[46, 92, 77] Operation: 76+1=77 Exploring Operation: 76*1=76, Resulting Numbers: [46, 92, 76] Generated Node #0,3: 79:[46, 92, 76] Operation: 76*1=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[76, 46, 91], Operations: ['92-1=91'] Exploring Operation: 91-46=45, Resulting Numbers: [76, 45] Generated Node #0,0,0: 79:[76, 45] Operation: 91-46=45 Exploring Operation: 76+46=122, Resulting Numbers: [91, 122] Generated Node #0,0,1: 79:[91, 122] Operation: 76+46=122 Exploring Operation: 46+91=137, Resulting Numbers: [76, 137] Generated Node #0,0,2: 79:[76, 137] Operation: 46+91=137 Exploring Operation: 76-46=30, Resulting Numbers: [91, 30] Generated Node #0,0,3: 79:[91, 30] Operation: 76-46=30 Moving to Node #0,0,0 Current State: 79:[76, 45], Operations: ['92-1=91', '91-46=45'] Exploring Operation: 76+45=121, Resulting Numbers: [121] 121,79 unequal: No Solution Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 76*45=3420, Resulting Numbers: [3420] 3420,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[91, 122], Operations: ['92-1=91', '76+46=122'] Exploring Operation: 91*122=11102, Resulting Numbers: [11102] 11102,79 unequal: No Solution Exploring Operation: 91+122=213, Resulting Numbers: [213] 213,79 unequal: No Solution Exploring Operation: 122-91=31, Resulting Numbers: [31] 31,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[91, 30], Operations: ['92-1=91', '76-46=30'] Exploring Operation: 91+30=121, Resulting Numbers: [121] 121,79 unequal: No Solution Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,79 unequal: No Solution Exploring Operation: 91*30=2730, Resulting Numbers: [2730] 2730,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[76, 137], Operations: ['92-1=91', '46+91=137'] Exploring Operation: 137-76=61, Resulting Numbers: [61] 61,79 unequal: No Solution Exploring Operation: 76*137=10412, Resulting Numbers: [10412] 10412,79 unequal: No Solution Exploring Operation: 76+137=213, Resulting Numbers: [213] 213,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[76, 92, 47], Operations: ['46+1=47'] Exploring Operation: 92-47=45, Resulting Numbers: [76, 45] Generated Node #0,1,0: 79:[76, 45] Operation: 92-47=45 Exploring Operation: 76-47=29, Resulting Numbers: [92, 29] Generated Node #0,1,1: 79:[92, 29] Operation: 76-47=29 Exploring Operation: 76+47=123, Resulting Numbers: [92, 123] Generated Node #0,1,2: 79:[92, 123] Operation: 76+47=123 Exploring Operation: 92+47=139, Resulting Numbers: [76, 139] Generated Node #0,1,3: 79:[76, 139] Operation: 92+47=139 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[76, 45], Operations: ['46+1=47', '92-47=45'] Exploring Operation: 76+45=121, Resulting Numbers: [121] 121,79 unequal: No Solution Exploring Operation: 76*45=3420, Resulting Numbers: [3420] 3420,79 unequal: No Solution Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,79 unequal: No Solution No 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: 79:[92, 123], Operations: ['46+1=47', '76+47=123'] Exploring Operation: 123-92=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 92+123=215, Resulting Numbers: [215] 215,79 unequal: No Solution Exploring Operation: 92*123=11316, Resulting Numbers: [11316] 11316,79 unequal: No Solution No 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: 79:[92, 29], Operations: ['46+1=47', '76-47=29'] Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,79 unequal: No Solution Exploring Operation: 92+29=121, Resulting Numbers: [121] 121,79 unequal: No Solution Exploring Operation: 92*29=2668, Resulting Numbers: [2668] 2668,79 unequal: No Solution No 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: 79:[76, 139], Operations: ['46+1=47', '92+47=139'] Exploring Operation: 76+139=215, Resulting Numbers: [215] 215,79 unequal: No Solution Exploring Operation: 76*139=10564, Resulting Numbers: [10564] 10564,79 unequal: No Solution Exploring Operation: 139-76=63, Resulting Numbers: [63] 63,79 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: 79:[46, 92, 77], Operations: ['76+1=77'] Exploring Operation: 92-46=46, Resulting Numbers: [77, 46] Generated Node #0,2,0: 79:[77, 46] Operation: 92-46=46 Exploring Operation: 46+92=138, Resulting Numbers: [77, 138] Generated Node #0,2,1: 79:[77, 138] Operation: 46+92=138 Exploring Operation: 77-46=31, Resulting Numbers: [92, 31] Generated Node #0,2,2: 79:[92, 31] Operation: 77-46=31 Exploring Operation: 46+77=123, Resulting Numbers: [92, 123] Generated Node #0,2,3: 79:[92, 123] Operation: 46+77=123 Moving to Node #0,2,0 Current State: 79:[77, 46], Operations: ['76+1=77', '92-46=46'] Exploring Operation: 77*46=3542, Resulting Numbers: [3542] 3542,79 unequal: No Solution Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 77+46=123, Resulting Numbers: [123] 123,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[92, 123], Operations: ['76+1=77', '46+77=123'] Exploring Operation: 92*123=11316, Resulting Numbers: [11316] 11316,79 unequal: No Solution Exploring Operation: 123-92=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 92+123=215, Resulting Numbers: [215] 215,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[92, 31], Operations: ['76+1=77', '77-46=31'] Exploring Operation: 92-31=61, Resulting Numbers: [61] 61,79 unequal: No Solution Exploring Operation: 92+31=123, Resulting Numbers: [123] 123,79 unequal: No Solution Exploring Operation: 92*31=2852, Resulting Numbers: [2852] 2852,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[77, 138], Operations: ['76+1=77', '46+92=138'] Exploring Operation: 77+138=215, Resulting Numbers: [215] 215,79 unequal: No Solution Exploring Operation: 77*138=10626, Resulting Numbers: [10626] 10626,79 unequal: No Solution Exploring Operation: 138-77=61, Resulting Numbers: [61] 61,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[46, 92, 76], Operations: ['76*1=76'] Exploring Operation: 92-46=46, Resulting Numbers: [76, 46] Generated Node #0,3,0: 79:[76, 46] Operation: 92-46=46 Exploring Operation: 46+76=122, Resulting Numbers: [92, 122] Generated Node #0,3,1: 79:[92, 122] Operation: 46+76=122 Exploring Operation: 46+92=138, Resulting Numbers: [76, 138] Generated Node #0,3,2: 79:[76, 138] Operation: 46+92=138 Exploring Operation: 76-46=30, Resulting Numbers: [92, 30] Generated Node #0,3,3: 79:[92, 30] Operation: 76-46=30 Moving to Node #0,3,0 Current State: 79:[76, 46], Operations: ['76*1=76', '92-46=46'] Exploring Operation: 76*46=3496, Resulting Numbers: [3496] 3496,79 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 76+46=122, Resulting Numbers: [122] 122,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[92, 122], Operations: ['76*1=76', '46+76=122'] Exploring Operation: 92+122=214, Resulting Numbers: [214] 214,79 unequal: No Solution Exploring Operation: 122-92=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 92*122=11224, Resulting Numbers: [11224] 11224,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[92, 30], Operations: ['76*1=76', '76-46=30'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 92+30=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 92*30=2760, Resulting Numbers: [2760] 2760,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[76, 138], Operations: ['76*1=76', '46+92=138'] Exploring Operation: 138-76=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 76+138=214, Resulting Numbers: [214] 214,79 unequal: No Solution Exploring Operation: 76*138=10488, Resulting Numbers: [10488] 10488,79 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
[ 53, 5, 12, 26 ]
20
[ "53+5=58", "12+26=38", "58-38=20" ]
Current State: 20:[53, 5, 12, 26], Operations: [] Exploring Operation: 53+5=58, Resulting Numbers: [12, 26, 58] Generated Node #2: [12, 26, 58] from Operation: 53+5=58 Current State: 20:[12, 26, 58], Operations: ['53+5=58'] Exploring Operation: 12+26=38, Resulting Numbers: [58, 38] Generated Node #3: [58, 38] from Operation: 12+26=38 Current State: 20:[58, 38], Operations: ['53+5=58', '12+26=38'] Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[53, 5, 12, 26], Operations: [] Exploring Operation: 53-5=48, Resulting Numbers: [12, 26, 48] Generated Node #0,0: 20:[12, 26, 48] Operation: 53-5=48 Exploring Operation: 53-12=41, Resulting Numbers: [5, 26, 41] Generated Node #0,1: 20:[5, 26, 41] Operation: 53-12=41 Exploring Operation: 53-26=27, Resulting Numbers: [5, 12, 27] Generated Node #0,2: 20:[5, 12, 27] Operation: 53-26=27 Moving to Node #0,2 Current State: 20:[5, 12, 27], Operations: ['53-26=27'] Exploring Operation: 27-12=15, Resulting Numbers: [5, 15] Generated Node #0,2,0: 20:[5, 15] Operation: 27-12=15 Exploring Operation: 12-5=7, Resulting Numbers: [27, 7] Generated Node #0,2,1: 20:[27, 7] Operation: 12-5=7 Exploring Operation: 27-5=22, Resulting Numbers: [12, 22] Generated Node #0,2,2: 20:[12, 22] Operation: 27-5=22 Moving to Node #0,1 Current State: 20:[5, 26, 41], Operations: ['53-12=41'] Exploring Operation: 41-26=15, Resulting Numbers: [5, 15] Generated Node #0,1,0: 20:[5, 15] Operation: 41-26=15 Exploring Operation: 26-5=21, Resulting Numbers: [41, 21] Generated Node #0,1,1: 20:[41, 21] Operation: 26-5=21 Exploring Operation: 41-5=36, Resulting Numbers: [26, 36] Generated Node #0,1,2: 20:[26, 36] Operation: 41-5=36 Moving to Node #0,0 Current State: 20:[12, 26, 48], Operations: ['53-5=48'] Exploring Operation: 48/12=4, Resulting Numbers: [26, 4] Generated Node #0,0,0: 20:[26, 4] Operation: 48/12=4 Exploring Operation: 48-26=22, Resulting Numbers: [12, 22] Generated Node #0,0,1: 20:[12, 22] Operation: 48-26=22 Exploring Operation: 48-12=36, Resulting Numbers: [26, 36] Generated Node #0,0,2: 20:[26, 36] Operation: 48-12=36 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[12, 22], Operations: ['53-5=48', '48-26=22'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[26, 4], Operations: ['53-5=48', '48/12=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,20 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[26, 36], Operations: ['53-5=48', '48-12=36'] Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,20 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 20:[12, 22], Operations: ['53-26=27', '27-5=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[5, 15], Operations: ['53-26=27', '27-12=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[53, 5, 12, 26], Operations: [] Exploring Operation: 53-26=27, Resulting Numbers: [5, 12, 27] Generated Node #0,2: 20:[5, 12, 27] Operation: 53-26=27 Moving to Node #0,2 Current State: 20:[5, 12, 27], Operations: ['53-26=27'] Exploring Operation: 27-12=15, Resulting Numbers: [5, 15] Generated Node #0,2,0: 20:[5, 15] Operation: 27-12=15 Moving to Node #0,2,0 Current State: 20:[5, 15], Operations: ['53-26=27', '27-12=15'] Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.97309
hs_3
mult_heuristic
[ 9, 36, 6, 13 ]
23
[ "36/9=4", "6+13=19", "4+19=23" ]
Current State: 23:[9, 36, 6, 13], Operations: [] Exploring Operation: 36/9=4, Resulting Numbers: [6, 13, 4] Generated Node #2: [6, 13, 4] from Operation: 36/9=4 Current State: 23:[6, 13, 4], Operations: ['36/9=4'] Exploring Operation: 6+13=19, Resulting Numbers: [4, 19] Generated Node #3: [4, 19] from Operation: 6+13=19 Current State: 23:[4, 19], Operations: ['36/9=4', '6+13=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[9, 36, 6, 13], Operations: [] Exploring Operation: 36-9=27, Resulting Numbers: [6, 13, 27] Generated Node #0,0: 23:[6, 13, 27] Operation: 36-9=27 Exploring Operation: 9+6=15, Resulting Numbers: [36, 13, 15] Generated Node #0,1: 23:[36, 13, 15] Operation: 9+6=15 Exploring Operation: 9+13=22, Resulting Numbers: [36, 6, 22] Generated Node #0,2: 23:[36, 6, 22] Operation: 9+13=22 Exploring Operation: 36-6=30, Resulting Numbers: [9, 13, 30] Generated Node #0,3: 23:[9, 13, 30] Operation: 36-6=30 Moving to Node #0,0 Current State: 23:[6, 13, 27], Operations: ['36-9=27'] Exploring Operation: 13-6=7, Resulting Numbers: [27, 7] Generated Node #0,0,0: 23:[27, 7] Operation: 13-6=7 Exploring Operation: 27-6=21, Resulting Numbers: [13, 21] Generated Node #0,0,1: 23:[13, 21] Operation: 27-6=21 Exploring Operation: 6+27=33, Resulting Numbers: [13, 33] Generated Node #0,0,2: 23:[13, 33] Operation: 6+27=33 Exploring Operation: 6+13=19, Resulting Numbers: [27, 19] Generated Node #0,0,3: 23:[27, 19] Operation: 6+13=19 Moving to Node #0,2 Current State: 23:[36, 6, 22], Operations: ['9+13=22'] Exploring Operation: 36+6=42, Resulting Numbers: [22, 42] Generated Node #0,2,0: 23:[22, 42] Operation: 36+6=42 Exploring Operation: 36/6=6, Resulting Numbers: [22, 6] Generated Node #0,2,1: 23:[22, 6] Operation: 36/6=6 Exploring Operation: 6+22=28, Resulting Numbers: [36, 28] Generated Node #0,2,2: 23:[36, 28] Operation: 6+22=28 Exploring Operation: 36-6=30, Resulting Numbers: [22, 30] Generated Node #0,2,3: 23:[22, 30] Operation: 36-6=30 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 23:[22, 30], Operations: ['9+13=22', '36-6=30'] Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 22*30=660, Resulting Numbers: [660] 660,23 unequal: No Solution Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[22, 6], Operations: ['9+13=22', '36/6=6'] Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,23 unequal: No Solution Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,23 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 23:[36, 28], Operations: ['9+13=22', '6+22=28'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 36*28=1008, Resulting Numbers: [1008] 1008,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[22, 42], Operations: ['9+13=22', '36+6=42'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 22*42=924, Resulting Numbers: [924] 924,23 unequal: No Solution Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,23 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: 23:[36, 13, 15], Operations: ['9+6=15'] Exploring Operation: 36-15=21, Resulting Numbers: [13, 21] Generated Node #0,1,0: 23:[13, 21] Operation: 36-15=21 Exploring Operation: 36-13=23, Resulting Numbers: [15, 23] Generated Node #0,1,1: 23:[15, 23] Operation: 36-13=23 Exploring Operation: 13+15=28, Resulting Numbers: [36, 28] Generated Node #0,1,2: 23:[36, 28] Operation: 13+15=28 Exploring Operation: 36+13=49, Resulting Numbers: [15, 49] Generated Node #0,1,3: 23:[15, 49] Operation: 36+13=49 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[15, 23], Operations: ['9+6=15', '36-13=23'] Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 15+23=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 15*23=345, Resulting Numbers: [345] 345,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[13, 21], Operations: ['9+6=15', '36-15=21'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,23 unequal: No Solution Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[36, 28], Operations: ['9+6=15', '13+15=28'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 36*28=1008, Resulting Numbers: [1008] 1008,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 23:[15, 49], Operations: ['9+6=15', '36+13=49'] Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,23 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: 23:[9, 13, 30], Operations: ['36-6=30'] Exploring Operation: 9+13=22, Resulting Numbers: [30, 22] Generated Node #0,3,0: 23:[30, 22] Operation: 9+13=22 Exploring Operation: 30-9=21, Resulting Numbers: [13, 21] Generated Node #0,3,1: 23:[13, 21] Operation: 30-9=21 Exploring Operation: 13-9=4, Resulting Numbers: [30, 4] Generated Node #0,3,2: 23:[30, 4] Operation: 13-9=4 Exploring Operation: 30-13=17, Resulting Numbers: [9, 17] Generated Node #0,3,3: 23:[9, 17] Operation: 30-13=17 Moving to Node #0,0,3 Current State: 23:[27, 19], Operations: ['36-9=27', '6+13=19'] Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 27*19=513, Resulting Numbers: [513] 513,23 unequal: No Solution Exploring Operation: 27+19=46, Resulting Numbers: [46] 46,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[30, 22], Operations: ['36-6=30', '9+13=22'] Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 30*22=660, Resulting Numbers: [660] 660,23 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[13, 21], Operations: ['36-6=30', '30-9=21'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,23 unequal: No Solution Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[13, 21], Operations: ['36-9=27', '27-6=21'] Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,23 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[27, 7], Operations: ['36-9=27', '13-6=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,23 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[13, 33], Operations: ['36-9=27', '6+27=33'] Exploring Operation: 13*33=429, Resulting Numbers: [429] 429,23 unequal: No Solution Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 13+33=46, Resulting Numbers: [46] 46,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[9, 17], Operations: ['36-6=30', '30-13=17'] Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,23 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[30, 4], Operations: ['36-6=30', '13-9=4'] Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,23 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,23 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 88, 78, 18, 67 ]
59
[ "88-78=10", "67-18=49", "10+49=59" ]
Current State: 59:[88, 78, 18, 67], Operations: [] Exploring Operation: 88-78=10, Resulting Numbers: [18, 67, 10] Generated Node #2: [18, 67, 10] from Operation: 88-78=10 Current State: 59:[18, 67, 10], Operations: ['88-78=10'] Exploring Operation: 67-18=49, Resulting Numbers: [10, 49] Generated Node #3: [10, 49] from Operation: 67-18=49 Current State: 59:[10, 49], Operations: ['88-78=10', '67-18=49'] Exploring Operation: 10+49=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[88, 78, 18, 67], Operations: [] Exploring Operation: 88-18=70, Resulting Numbers: [78, 67, 70] Generated Node #0,0: 59:[78, 67, 70] Operation: 88-18=70 Exploring Operation: 67-18=49, Resulting Numbers: [88, 78, 49] Generated Node #0,1: 59:[88, 78, 49] Operation: 67-18=49 Exploring Operation: 78-18=60, Resulting Numbers: [88, 67, 60] Generated Node #0,2: 59:[88, 67, 60] Operation: 78-18=60 Exploring Operation: 78+18=96, Resulting Numbers: [88, 67, 96] Generated Node #0,3: 59:[88, 67, 96] Operation: 78+18=96 Exploring Operation: 88+18=106, Resulting Numbers: [78, 67, 106] Generated Node #0,4: 59:[78, 67, 106] Operation: 88+18=106 Moving to Node #0,0 Current State: 59:[78, 67, 70], Operations: ['88-18=70'] Exploring Operation: 78-67=11, Resulting Numbers: [70, 11] Generated Node #0,0,0: 59:[70, 11] Operation: 78-67=11 Exploring Operation: 70-67=3, Resulting Numbers: [78, 3] Generated Node #0,0,1: 59:[78, 3] Operation: 70-67=3 Exploring Operation: 78+70=148, Resulting Numbers: [67, 148] Generated Node #0,0,2: 59:[67, 148] Operation: 78+70=148 Exploring Operation: 78-70=8, Resulting Numbers: [67, 8] Generated Node #0,0,3: 59:[67, 8] Operation: 78-70=8 Exploring Operation: 78+67=145, Resulting Numbers: [70, 145] Generated Node #0,0,4: 59:[70, 145] Operation: 78+67=145 Moving to Node #0,2 Current State: 59:[88, 67, 60], Operations: ['78-18=60'] Exploring Operation: 67-60=7, Resulting Numbers: [88, 7] Generated Node #0,2,0: 59:[88, 7] Operation: 67-60=7 Exploring Operation: 88+60=148, Resulting Numbers: [67, 148] Generated Node #0,2,1: 59:[67, 148] Operation: 88+60=148 Exploring Operation: 88-60=28, Resulting Numbers: [67, 28] Generated Node #0,2,2: 59:[67, 28] Operation: 88-60=28 Exploring Operation: 88-67=21, Resulting Numbers: [60, 21] Generated Node #0,2,3: 59:[60, 21] Operation: 88-67=21 Exploring Operation: 88+67=155, Resulting Numbers: [60, 155] Generated Node #0,2,4: 59:[60, 155] Operation: 88+67=155 Moving to Node #0,1 Current State: 59:[88, 78, 49], Operations: ['67-18=49'] Exploring Operation: 88+49=137, Resulting Numbers: [78, 137] Generated Node #0,1,0: 59:[78, 137] Operation: 88+49=137 Exploring Operation: 88-49=39, Resulting Numbers: [78, 39] Generated Node #0,1,1: 59:[78, 39] Operation: 88-49=39 Exploring Operation: 78-49=29, Resulting Numbers: [88, 29] Generated Node #0,1,2: 59:[88, 29] Operation: 78-49=29 Exploring Operation: 88-78=10, Resulting Numbers: [49, 10] Generated Node #0,1,3: 59:[49, 10] Operation: 88-78=10 Exploring Operation: 78+49=127, Resulting Numbers: [88, 127] Generated Node #0,1,4: 59:[88, 127] Operation: 78+49=127 Moving to Node #0,3 Current State: 59:[88, 67, 96], Operations: ['78+18=96'] Exploring Operation: 88-67=21, Resulting Numbers: [96, 21] Generated Node #0,3,0: 59:[96, 21] Operation: 88-67=21 Exploring Operation: 96-67=29, Resulting Numbers: [88, 29] Generated Node #0,3,1: 59:[88, 29] Operation: 96-67=29 Exploring Operation: 88+96=184, Resulting Numbers: [67, 184] Generated Node #0,3,2: 59:[67, 184] Operation: 88+96=184 Exploring Operation: 88+67=155, Resulting Numbers: [96, 155] Generated Node #0,3,3: 59:[96, 155] Operation: 88+67=155 Exploring Operation: 96-88=8, Resulting Numbers: [67, 8] Generated Node #0,3,4: 59:[67, 8] Operation: 96-88=8 Moving to Node #0,4 Current State: 59:[78, 67, 106], Operations: ['88+18=106'] Exploring Operation: 78+67=145, Resulting Numbers: [106, 145] Generated Node #0,4,0: 59:[106, 145] Operation: 78+67=145 Exploring Operation: 106-78=28, Resulting Numbers: [67, 28] Generated Node #0,4,1: 59:[67, 28] Operation: 106-78=28 Exploring Operation: 78+106=184, Resulting Numbers: [67, 184] Generated Node #0,4,2: 59:[67, 184] Operation: 78+106=184 Exploring Operation: 78-67=11, Resulting Numbers: [106, 11] Generated Node #0,4,3: 59:[106, 11] Operation: 78-67=11 Exploring Operation: 106-67=39, Resulting Numbers: [78, 39] Generated Node #0,4,4: 59:[78, 39] Operation: 106-67=39 Moving to Node #0,2,2 Current State: 59:[67, 28], Operations: ['78-18=60', '88-60=28'] Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[60, 21], Operations: ['78-18=60', '88-67=21'] Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,59 unequal: No Solution Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[78, 39], Operations: ['67-18=49', '88-49=39'] Exploring Operation: 78*39=3042, Resulting Numbers: [3042] 3042,59 unequal: No Solution Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 78+39=117, Resulting Numbers: [117] 117,59 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,59 unequal: No Solution Moving to Node #0,4,1 Current State: 59:[67, 28], Operations: ['88+18=106', '106-78=28'] Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[78, 39], Operations: ['88+18=106', '106-67=39'] Exploring Operation: 78*39=3042, Resulting Numbers: [3042] 3042,59 unequal: No Solution Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 78+39=117, Resulting Numbers: [117] 117,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[70, 11], Operations: ['88-18=70', '78-67=11'] Exploring Operation: 70*11=770, Resulting Numbers: [770] 770,59 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[88, 78, 18, 67], Operations: [] Exploring Operation: 88-18=70, Resulting Numbers: [78, 67, 70] Generated Node #0,0: 59:[78, 67, 70] Operation: 88-18=70 Moving to Node #0,0 Current State: 59:[78, 67, 70], Operations: ['88-18=70'] Exploring Operation: 78-67=11, Resulting Numbers: [70, 11] Generated Node #0,0,0: 59:[70, 11] Operation: 78-67=11 Moving to Node #0,0,0 Current State: 59:[70, 11], Operations: ['88-18=70', '78-67=11'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.953993
hs_5
sum_heuristic
[ 5, 70, 59, 30 ]
51
[ "70-30=40", "40/5=8", "59-8=51" ]
Current State: 51:[5, 70, 59, 30], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [5, 59, 40] Generated Node #2: [5, 59, 40] from Operation: 70-30=40 Current State: 51:[5, 59, 40], Operations: ['70-30=40'] Exploring Operation: 40/5=8, Resulting Numbers: [59, 8] Generated Node #3: [59, 8] from Operation: 40/5=8 Current State: 51:[59, 8], Operations: ['70-30=40', '40/5=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[5, 70, 59, 30], Operations: [] Exploring Operation: 70/5=14, Resulting Numbers: [59, 30, 14] Generated Node #0,0: 51:[59, 30, 14] Operation: 70/5=14 Exploring Operation: 70-59=11, Resulting Numbers: [5, 30, 11] Generated Node #0,1: 51:[5, 30, 11] Operation: 70-59=11 Exploring Operation: 70-30=40, Resulting Numbers: [5, 59, 40] Generated Node #0,2: 51:[5, 59, 40] Operation: 70-30=40 Moving to Node #0,1 Current State: 51:[5, 30, 11], Operations: ['70-59=11'] Exploring Operation: 30+11=41, Resulting Numbers: [5, 41] Generated Node #0,1,0: 51:[5, 41] Operation: 30+11=41 Exploring Operation: 30/5=6, Resulting Numbers: [11, 6] Generated Node #0,1,1: 51:[11, 6] Operation: 30/5=6 Exploring Operation: 30-11=19, Resulting Numbers: [5, 19] Generated Node #0,1,2: 51:[5, 19] Operation: 30-11=19 Moving to Node #0,2 Current State: 51:[5, 59, 40], Operations: ['70-30=40'] Exploring Operation: 59-5=54, Resulting Numbers: [40, 54] Generated Node #0,2,0: 51:[40, 54] Operation: 59-5=54 Exploring Operation: 59-40=19, Resulting Numbers: [5, 19] Generated Node #0,2,1: 51:[5, 19] Operation: 59-40=19 Exploring Operation: 40/5=8, Resulting Numbers: [59, 8] Generated Node #0,2,2: 51:[59, 8] Operation: 40/5=8 Moving to Node #0,0 Current State: 51:[59, 30, 14], Operations: ['70/5=14'] Exploring Operation: 30+14=44, Resulting Numbers: [59, 44] Generated Node #0,0,0: 51:[59, 44] Operation: 30+14=44 Exploring Operation: 30-14=16, Resulting Numbers: [59, 16] Generated Node #0,0,1: 51:[59, 16] Operation: 30-14=16 Exploring Operation: 59-30=29, Resulting Numbers: [14, 29] Generated Node #0,0,2: 51:[14, 29] Operation: 59-30=29 Moving to Node #0,1,2 Current State: 51:[5, 19], Operations: ['70-59=11', '30-11=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[5, 19], Operations: ['70-30=40', '59-40=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,51 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[59, 16], Operations: ['70/5=14', '30-14=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,51 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[11, 6], Operations: ['70-59=11', '30/5=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,51 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[5, 41], Operations: ['70-59=11', '30+11=41'] Exploring Operation: 5+41=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 5*41=205, Resulting Numbers: [205] 205,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[59, 8], Operations: ['70-30=40', '40/5=8'] Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,51 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[5, 70, 59, 30], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [5, 59, 40] Generated Node #0,2: 51:[5, 59, 40] Operation: 70-30=40 Moving to Node #0,2 Current State: 51:[5, 59, 40], Operations: ['70-30=40'] Exploring Operation: 40/5=8, Resulting Numbers: [59, 8] Generated Node #0,2,2: 51:[59, 8] Operation: 40/5=8 Moving to Node #0,2,2 Current State: 51:[59, 8], Operations: ['70-30=40', '40/5=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.971354
hs_3
sum_heuristic
[ 65, 8, 49, 67 ]
65
[ "65-49=16", "16/8=2", "67-2=65" ]
Current State: 65:[65, 8, 49, 67], Operations: [] Exploring Operation: 65-49=16, Resulting Numbers: [8, 67, 16] Generated Node #2: [8, 67, 16] from Operation: 65-49=16 Current State: 65:[8, 67, 16], Operations: ['65-49=16'] Exploring Operation: 16/8=2, Resulting Numbers: [67, 2] Generated Node #3: [67, 2] from Operation: 16/8=2 Current State: 65:[67, 2], Operations: ['65-49=16', '16/8=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[65, 8, 49, 67], Operations: [] Exploring Operation: 65-49=16, Resulting Numbers: [8, 67, 16] Generated Node #0,0: 65:[8, 67, 16] Operation: 65-49=16 Exploring Operation: 67-49=18, Resulting Numbers: [65, 8, 18] Generated Node #0,1: 65:[65, 8, 18] Operation: 67-49=18 Moving to Node #0,0 Current State: 65:[8, 67, 16], Operations: ['65-49=16'] Exploring Operation: 16-8=8, Resulting Numbers: [67, 8] Generated Node #0,0,0: 65:[67, 8] Operation: 16-8=8 Exploring Operation: 16/8=2, Resulting Numbers: [67, 2] Generated Node #0,0,1: 65:[67, 2] Operation: 16/8=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[67, 8], Operations: ['65-49=16', '16-8=8'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 67+8=75, Resulting Numbers: [75] 75,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,1 Current State: 65:[67, 2], Operations: ['65-49=16', '16/8=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[65, 8, 49, 67], Operations: [] Exploring Operation: 65-49=16, Resulting Numbers: [8, 67, 16] Generated Node #0,0: 65:[8, 67, 16] Operation: 65-49=16 Moving to Node #0,0 Current State: 65:[8, 67, 16], Operations: ['65-49=16'] Exploring Operation: 16/8=2, Resulting Numbers: [67, 2] Generated Node #0,0,1: 65:[67, 2] Operation: 16/8=2 Moving to Node #0,0,1 Current State: 65:[67, 2], Operations: ['65-49=16', '16/8=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 57, 20, 2, 91 ]
74
[ "91-57=34", "20*2=40", "34+40=74" ]
Current State: 74:[57, 20, 2, 91], Operations: [] Exploring Operation: 91-57=34, Resulting Numbers: [20, 2, 34] Generated Node #2: [20, 2, 34] from Operation: 91-57=34 Current State: 74:[20, 2, 34], Operations: ['91-57=34'] Exploring Operation: 20*2=40, Resulting Numbers: [34, 40] Generated Node #3: [34, 40] from Operation: 20*2=40 Current State: 74:[34, 40], Operations: ['91-57=34', '20*2=40'] Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[57, 20, 2, 91], Operations: [] Exploring Operation: 57-20=37, Resulting Numbers: [2, 91, 37] Generated Node #0,0: 74:[2, 91, 37] Operation: 57-20=37 Exploring Operation: 91-57=34, Resulting Numbers: [20, 2, 34] Generated Node #0,1: 74:[20, 2, 34] Operation: 91-57=34 Exploring Operation: 57+20=77, Resulting Numbers: [2, 91, 77] Generated Node #0,2: 74:[2, 91, 77] Operation: 57+20=77 Exploring Operation: 91-20=71, Resulting Numbers: [57, 2, 71] Generated Node #0,3: 74:[57, 2, 71] Operation: 91-20=71 Exploring Operation: 20*2=40, Resulting Numbers: [57, 91, 40] Generated Node #0,4: 74:[57, 91, 40] Operation: 20*2=40 Moving to Node #0,0 Current State: 74:[2, 91, 37], Operations: ['57-20=37'] Exploring Operation: 2*37=74, Resulting Numbers: [91, 74] Generated Node #0,0,0: 74:[91, 74] Operation: 2*37=74 Exploring Operation: 2+37=39, Resulting Numbers: [91, 39] Generated Node #0,0,1: 74:[91, 39] Operation: 2+37=39 Exploring Operation: 2+91=93, Resulting Numbers: [37, 93] Generated Node #0,0,2: 74:[37, 93] Operation: 2+91=93 Exploring Operation: 91-2=89, Resulting Numbers: [37, 89] Generated Node #0,0,3: 74:[37, 89] Operation: 91-2=89 Exploring Operation: 91-37=54, Resulting Numbers: [2, 54] Generated Node #0,0,4: 74:[2, 54] Operation: 91-37=54 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[37, 89], Operations: ['57-20=37', '91-2=89'] Exploring Operation: 37+89=126, Resulting Numbers: [126] 126,74 unequal: No Solution Exploring Operation: 89-37=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 37*89=3293, Resulting Numbers: [3293] 3293,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,0,0 Current State: 74:[91, 74], Operations: ['57-20=37', '2*37=74'] Exploring Operation: 91*74=6734, Resulting Numbers: [6734] 6734,74 unequal: No Solution Exploring Operation: 91-74=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 91+74=165, Resulting Numbers: [165] 165,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,0,4 Current State: 74:[2, 54], Operations: ['57-20=37', '91-37=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,74 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,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,0,1 Current State: 74:[91, 39], Operations: ['57-20=37', '2+37=39'] Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 91*39=3549, Resulting Numbers: [3549] 3549,74 unequal: No Solution Exploring Operation: 91+39=130, Resulting Numbers: [130] 130,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,0,2 Current State: 74:[37, 93], Operations: ['57-20=37', '2+91=93'] Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,74 unequal: No Solution Exploring Operation: 37*93=3441, Resulting Numbers: [3441] 3441,74 unequal: No Solution Exploring Operation: 37+93=130, Resulting Numbers: [130] 130,74 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: 74:[2, 91, 77], Operations: ['57+20=77'] Exploring Operation: 2+77=79, Resulting Numbers: [91, 79] Generated Node #0,2,0: 74:[91, 79] Operation: 2+77=79 Exploring Operation: 91-2=89, Resulting Numbers: [77, 89] Generated Node #0,2,1: 74:[77, 89] Operation: 91-2=89 Exploring Operation: 77-2=75, Resulting Numbers: [91, 75] Generated Node #0,2,2: 74:[91, 75] Operation: 77-2=75 Exploring Operation: 2+91=93, Resulting Numbers: [77, 93] Generated Node #0,2,3: 74:[77, 93] Operation: 2+91=93 Exploring Operation: 91-77=14, Resulting Numbers: [2, 14] Generated Node #0,2,4: 74:[2, 14] Operation: 91-77=14 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 74:[2, 14], Operations: ['57+20=77', '91-77=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,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,1 Current State: 74:[77, 89], Operations: ['57+20=77', '91-2=89'] Exploring Operation: 77+89=166, Resulting Numbers: [166] 166,74 unequal: No Solution Exploring Operation: 89-77=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 77*89=6853, Resulting Numbers: [6853] 6853,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,2 Current State: 74:[91, 75], Operations: ['57+20=77', '77-2=75'] Exploring Operation: 91-75=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 91+75=166, Resulting Numbers: [166] 166,74 unequal: No Solution Exploring Operation: 91*75=6825, Resulting Numbers: [6825] 6825,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,0 Current State: 74:[91, 79], Operations: ['57+20=77', '2+77=79'] Exploring Operation: 91*79=7189, Resulting Numbers: [7189] 7189,74 unequal: No Solution Exploring Operation: 91+79=170, Resulting Numbers: [170] 170,74 unequal: No Solution Exploring Operation: 91-79=12, Resulting Numbers: [12] 12,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,3 Current State: 74:[77, 93], Operations: ['57+20=77', '2+91=93'] Exploring Operation: 93-77=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 77*93=7161, Resulting Numbers: [7161] 7161,74 unequal: No Solution Exploring Operation: 77+93=170, Resulting Numbers: [170] 170,74 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: 74:[20, 2, 34], Operations: ['91-57=34'] Exploring Operation: 34-20=14, Resulting Numbers: [2, 14] Generated Node #0,1,0: 74:[2, 14] Operation: 34-20=14 Exploring Operation: 20/2=10, Resulting Numbers: [34, 10] Generated Node #0,1,1: 74:[34, 10] Operation: 20/2=10 Exploring Operation: 20+2=22, Resulting Numbers: [34, 22] Generated Node #0,1,2: 74:[34, 22] Operation: 20+2=22 Exploring Operation: 20*2=40, Resulting Numbers: [34, 40] Generated Node #0,1,3: 74:[34, 40] Operation: 20*2=40 Exploring Operation: 20+34=54, Resulting Numbers: [2, 54] Generated Node #0,1,4: 74:[2, 54] Operation: 20+34=54 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 74:[34, 40], Operations: ['91-57=34', '20*2=40'] Exploring Operation: 34*40=1360, Resulting Numbers: [1360] 1360,74 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[57, 20, 2, 91], Operations: [] Exploring Operation: 91-57=34, Resulting Numbers: [20, 2, 34] Generated Node #0,1: 74:[20, 2, 34] Operation: 91-57=34 Moving to Node #0,1 Current State: 74:[20, 2, 34], Operations: ['91-57=34'] Exploring Operation: 20*2=40, Resulting Numbers: [34, 40] Generated Node #0,1,3: 74:[34, 40] Operation: 20*2=40 Moving to Node #0,1,3 Current State: 74:[34, 40], Operations: ['91-57=34', '20*2=40'] Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.948785
hs_5
sum_heuristic
[ 81, 85, 98, 4 ]
66
[ "81+85=166", "98+166=264", "264/4=66" ]
Current State: 66:[81, 85, 98, 4], Operations: [] Exploring Operation: 81+85=166, Resulting Numbers: [98, 4, 166] Generated Node #2: [98, 4, 166] from Operation: 81+85=166 Current State: 66:[98, 4, 166], Operations: ['81+85=166'] Exploring Operation: 98+166=264, Resulting Numbers: [4, 264] Generated Node #3: [4, 264] from Operation: 98+166=264 Current State: 66:[4, 264], Operations: ['81+85=166', '98+166=264'] Exploring Operation: 264/4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[81, 85, 98, 4], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [81, 4, 13] Generated Node #0,0: 66:[81, 4, 13] Operation: 98-85=13 Exploring Operation: 98-81=17, Resulting Numbers: [85, 4, 17] Generated Node #0,1: 66:[85, 4, 17] Operation: 98-81=17 Exploring Operation: 85-81=4, Resulting Numbers: [98, 4, 4] Generated Node #0,2: 66:[98, 4, 4] Operation: 85-81=4 Moving to Node #0,0 Current State: 66:[81, 4, 13], Operations: ['98-85=13'] Exploring Operation: 81-13=68, Resulting Numbers: [4, 68] Generated Node #0,0,0: 66:[4, 68] Operation: 81-13=68 Exploring Operation: 13-4=9, Resulting Numbers: [81, 9] Generated Node #0,0,1: 66:[81, 9] Operation: 13-4=9 Exploring Operation: 81-4=77, Resulting Numbers: [13, 77] Generated Node #0,0,2: 66:[13, 77] Operation: 81-4=77 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[4, 68], Operations: ['98-85=13', '81-13=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[13, 77], Operations: ['98-85=13', '81-4=77'] Exploring Operation: 13*77=1001, Resulting Numbers: [1001] 1001,66 unequal: No Solution Exploring Operation: 13+77=90, Resulting Numbers: [90] 90,66 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[81, 9], Operations: ['98-85=13', '13-4=9'] Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,66 unequal: No Solution Exploring Operation: 81+9=90, Resulting Numbers: [90] 90,66 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,66 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: 66:[85, 4, 17], Operations: ['98-81=17'] Exploring Operation: 85-17=68, Resulting Numbers: [4, 68] Generated Node #0,1,0: 66:[4, 68] Operation: 85-17=68 Exploring Operation: 85/17=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 66:[4, 5] Operation: 85/17=5 Exploring Operation: 85-4=81, Resulting Numbers: [17, 81] Generated Node #0,1,2: 66:[17, 81] Operation: 85-4=81 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[4, 5], Operations: ['98-81=17', '85/17=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,66 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[4, 68], Operations: ['98-81=17', '85-17=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,66 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 66:[17, 81], Operations: ['98-81=17', '85-4=81'] Exploring Operation: 17*81=1377, Resulting Numbers: [1377] 1377,66 unequal: No Solution Exploring Operation: 17+81=98, Resulting Numbers: [98] 98,66 unequal: No Solution Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,66 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: 66:[98, 4, 4], Operations: ['85-81=4'] Exploring Operation: 4/4=1, Resulting Numbers: [98, 1] Generated Node #0,2,0: 66:[98, 1] Operation: 4/4=1 Exploring Operation: 98-4=94, Resulting Numbers: [4, 94] Generated Node #0,2,1: 66:[4, 94] Operation: 98-4=94 Exploring Operation: 98-4=94, Resulting Numbers: [4, 94] Generated Node #0,2,2: 66:[4, 94] Operation: 98-4=94 Moving to Node #0,2,1 Current State: 66:[4, 94], Operations: ['85-81=4', '98-4=94'] Exploring Operation: 4+94=98, Resulting Numbers: [98] 98,66 unequal: No Solution Exploring Operation: 4*94=376, Resulting Numbers: [376] 376,66 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[4, 94], Operations: ['85-81=4', '98-4=94'] Exploring Operation: 4+94=98, Resulting Numbers: [98] 98,66 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,66 unequal: No Solution Exploring Operation: 4*94=376, Resulting Numbers: [376] 376,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[98, 1], Operations: ['85-81=4', '4/4=1'] Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,66 unequal: No Solution Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,66 unequal: No Solution Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,66 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 1, 13, 58, 56 ]
39
[ "1+58=59", "59-56=3", "13*3=39" ]
Current State: 39:[1, 13, 58, 56], Operations: [] Exploring Operation: 1+58=59, Resulting Numbers: [13, 56, 59] Generated Node #2: [13, 56, 59] from Operation: 1+58=59 Current State: 39:[13, 56, 59], Operations: ['1+58=59'] Exploring Operation: 59-56=3, Resulting Numbers: [13, 3] Generated Node #3: [13, 3] from Operation: 59-56=3 Current State: 39:[13, 3], Operations: ['1+58=59', '59-56=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[1, 13, 58, 56], Operations: [] Exploring Operation: 58-1=57, Resulting Numbers: [13, 56, 57] Generated Node #0,0: 39:[13, 56, 57] Operation: 58-1=57 Exploring Operation: 56-1=55, Resulting Numbers: [13, 58, 55] Generated Node #0,1: 39:[13, 58, 55] Operation: 56-1=55 Exploring Operation: 58-13=45, Resulting Numbers: [1, 56, 45] Generated Node #0,2: 39:[1, 56, 45] Operation: 58-13=45 Exploring Operation: 56-13=43, Resulting Numbers: [1, 58, 43] Generated Node #0,3: 39:[1, 58, 43] Operation: 56-13=43 Exploring Operation: 58-56=2, Resulting Numbers: [1, 13, 2] Generated Node #0,4: 39:[1, 13, 2] Operation: 58-56=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 39:[1, 13, 2], Operations: ['58-56=2'] Exploring Operation: 1*13=13, Resulting Numbers: [2, 13] Generated Node #0,4,0: 39:[2, 13] Operation: 1*13=13 Exploring Operation: 2/1=2, Resulting Numbers: [13, 2] Generated Node #0,4,1: 39:[13, 2] Operation: 2/1=2 Exploring Operation: 1+2=3, Resulting Numbers: [13, 3] Generated Node #0,4,2: 39:[13, 3] Operation: 1+2=3 Exploring Operation: 13/1=13, Resulting Numbers: [2, 13] Generated Node #0,4,3: 39:[2, 13] Operation: 13/1=13 Exploring Operation: 1*2=2, Resulting Numbers: [13, 2] Generated Node #0,4,4: 39:[13, 2] Operation: 1*2=2 Moving to Node #0,4,2 Current State: 39:[13, 3], Operations: ['58-56=2', '1+2=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[1, 13, 58, 56], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [1, 13, 2] Generated Node #0,4: 39:[1, 13, 2] Operation: 58-56=2 Moving to Node #0,4 Current State: 39:[1, 13, 2], Operations: ['58-56=2'] Exploring Operation: 1+2=3, Resulting Numbers: [13, 3] Generated Node #0,4,2: 39:[13, 3] Operation: 1+2=3 Moving to Node #0,4,2 Current State: 39:[13, 3], Operations: ['58-56=2', '1+2=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 19, 39, 47, 70 ]
81
[ "19+39=58", "70-47=23", "58+23=81" ]
Current State: 81:[19, 39, 47, 70], Operations: [] Exploring Operation: 19+39=58, Resulting Numbers: [47, 70, 58] Generated Node #2: [47, 70, 58] from Operation: 19+39=58 Current State: 81:[47, 70, 58], Operations: ['19+39=58'] Exploring Operation: 70-47=23, Resulting Numbers: [58, 23] Generated Node #3: [58, 23] from Operation: 70-47=23 Current State: 81:[58, 23], Operations: ['19+39=58', '70-47=23'] Exploring Operation: 58+23=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[19, 39, 47, 70], Operations: [] Exploring Operation: 47-19=28, Resulting Numbers: [39, 70, 28] Generated Node #0,0: 81:[39, 70, 28] Operation: 47-19=28 Exploring Operation: 47-39=8, Resulting Numbers: [19, 70, 8] Generated Node #0,1: 81:[19, 70, 8] Operation: 47-39=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[19, 70, 8], Operations: ['47-39=8'] Exploring Operation: 19+70=89, Resulting Numbers: [8, 89] Generated Node #0,1,0: 81:[8, 89] Operation: 19+70=89 Exploring Operation: 19+8=27, Resulting Numbers: [70, 27] Generated Node #0,1,1: 81:[70, 27] Operation: 19+8=27 Moving to Node #0,1,0 Current State: 81:[8, 89], Operations: ['47-39=8', '19+70=89'] Exploring Operation: 8+89=97, Resulting Numbers: [97] 97,81 unequal: No Solution Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[19, 39, 47, 70], Operations: [] Exploring Operation: 47-39=8, Resulting Numbers: [19, 70, 8] Generated Node #0,1: 81:[19, 70, 8] Operation: 47-39=8 Moving to Node #0,1 Current State: 81:[19, 70, 8], Operations: ['47-39=8'] Exploring Operation: 19+70=89, Resulting Numbers: [8, 89] Generated Node #0,1,0: 81:[8, 89] Operation: 19+70=89 Moving to Node #0,1,0 Current State: 81:[8, 89], Operations: ['47-39=8', '19+70=89'] Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 90, 15, 76, 71 ]
33
[ "76-71=5", "90/5=18", "15+18=33" ]
Current State: 33:[90, 15, 76, 71], Operations: [] Exploring Operation: 76-71=5, Resulting Numbers: [90, 15, 5] Generated Node #2: [90, 15, 5] from Operation: 76-71=5 Current State: 33:[90, 15, 5], Operations: ['76-71=5'] Exploring Operation: 90/5=18, Resulting Numbers: [15, 18] Generated Node #3: [15, 18] from Operation: 90/5=18 Current State: 33:[15, 18], Operations: ['76-71=5', '90/5=18'] Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[90, 15, 76, 71], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [15, 71, 14] Generated Node #0,0: 33:[15, 71, 14] Operation: 90-76=14 Exploring Operation: 76-71=5, Resulting Numbers: [90, 15, 5] Generated Node #0,1: 33:[90, 15, 5] Operation: 76-71=5 Exploring Operation: 90-71=19, Resulting Numbers: [15, 76, 19] Generated Node #0,2: 33:[15, 76, 19] Operation: 90-71=19 Moving to Node #0,0 Current State: 33:[15, 71, 14], Operations: ['90-76=14'] Exploring Operation: 71-14=57, Resulting Numbers: [15, 57] Generated Node #0,0,0: 33:[15, 57] Operation: 71-14=57 Exploring Operation: 15-14=1, Resulting Numbers: [71, 1] Generated Node #0,0,1: 33:[71, 1] Operation: 15-14=1 Exploring Operation: 71-15=56, Resulting Numbers: [14, 56] Generated Node #0,0,2: 33:[14, 56] Operation: 71-15=56 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[14, 56], Operations: ['90-76=14', '71-15=56'] Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,33 unequal: No Solution Exploring Operation: 14+56=70, Resulting Numbers: [70] 70,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:[15, 57], Operations: ['90-76=14', '71-14=57'] Exploring Operation: 15*57=855, Resulting Numbers: [855] 855,33 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,33 unequal: No Solution Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,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,1 Current State: 33:[71, 1], Operations: ['90-76=14', '15-14=1'] Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,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:[15, 76, 19], Operations: ['90-71=19'] Exploring Operation: 76/19=4, Resulting Numbers: [15, 4] Generated Node #0,2,0: 33:[15, 4] Operation: 76/19=4 Exploring Operation: 76-19=57, Resulting Numbers: [15, 57] Generated Node #0,2,1: 33:[15, 57] Operation: 76-19=57 Exploring Operation: 76-15=61, Resulting Numbers: [19, 61] Generated Node #0,2,2: 33:[19, 61] Operation: 76-15=61 Moving to Node #0,1 Current State: 33:[90, 15, 5], Operations: ['76-71=5'] Exploring Operation: 90/15=6, Resulting Numbers: [5, 6] Generated Node #0,1,0: 33:[5, 6] Operation: 90/15=6 Exploring Operation: 90-15=75, Resulting Numbers: [5, 75] Generated Node #0,1,1: 33:[5, 75] Operation: 90-15=75 Exploring Operation: 90/5=18, Resulting Numbers: [15, 18] Generated Node #0,1,2: 33:[15, 18] Operation: 90/5=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[5, 6], Operations: ['76-71=5', '90/15=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,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:[15, 18], Operations: ['76-71=5', '90/5=18'] Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,33 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[90, 15, 76, 71], Operations: [] Exploring Operation: 76-71=5, Resulting Numbers: [90, 15, 5] Generated Node #0,1: 33:[90, 15, 5] Operation: 76-71=5 Moving to Node #0,1 Current State: 33:[90, 15, 5], Operations: ['76-71=5'] Exploring Operation: 90/5=18, Resulting Numbers: [15, 18] Generated Node #0,1,2: 33:[15, 18] Operation: 90/5=18 Moving to Node #0,1,2 Current State: 33:[15, 18], Operations: ['76-71=5', '90/5=18'] Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 88, 8, 48, 97 ]
92
[ "88-48=40", "40/8=5", "97-5=92" ]
Current State: 92:[88, 8, 48, 97], Operations: [] Exploring Operation: 88-48=40, Resulting Numbers: [8, 97, 40] Generated Node #2: [8, 97, 40] from Operation: 88-48=40 Current State: 92:[8, 97, 40], Operations: ['88-48=40'] Exploring Operation: 40/8=5, Resulting Numbers: [97, 5] Generated Node #3: [97, 5] from Operation: 40/8=5 Current State: 92:[97, 5], Operations: ['88-48=40', '40/8=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[88, 8, 48, 97], Operations: [] Exploring Operation: 88+8=96, Resulting Numbers: [48, 97, 96] Generated Node #0,0: 92:[48, 97, 96] Operation: 88+8=96 Exploring Operation: 97-8=89, Resulting Numbers: [88, 48, 89] Generated Node #0,1: 92:[88, 48, 89] Operation: 97-8=89 Moving to Node #0,1 Current State: 92:[88, 48, 89], Operations: ['97-8=89'] Exploring Operation: 88-48=40, Resulting Numbers: [89, 40] Generated Node #0,1,0: 92:[89, 40] Operation: 88-48=40 Exploring Operation: 89-88=1, Resulting Numbers: [48, 1] Generated Node #0,1,1: 92:[48, 1] Operation: 89-88=1 Moving to Node #0,0 Current State: 92:[48, 97, 96], Operations: ['88+8=96'] Exploring Operation: 97-96=1, Resulting Numbers: [48, 1] Generated Node #0,0,0: 92:[48, 1] Operation: 97-96=1 Exploring Operation: 96/48=2, Resulting Numbers: [97, 2] Generated Node #0,0,1: 92:[97, 2] Operation: 96/48=2 Moving to Node #0,1,1 Current State: 92:[48, 1], Operations: ['97-8=89', '89-88=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[48, 1], Operations: ['88+8=96', '97-96=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[97, 2], Operations: ['88+8=96', '96/48=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[89, 40], Operations: ['97-8=89', '88-48=40'] Exploring Operation: 89-40=49, Resulting Numbers: [49] 49,92 unequal: No Solution Exploring Operation: 89+40=129, Resulting Numbers: [129] 129,92 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 74, 88, 62, 98 ]
55
[ "88-74=14", "98/14=7", "62-7=55" ]
Current State: 55:[74, 88, 62, 98], Operations: [] Exploring Operation: 88-74=14, Resulting Numbers: [62, 98, 14] Generated Node #2: [62, 98, 14] from Operation: 88-74=14 Current State: 55:[62, 98, 14], Operations: ['88-74=14'] Exploring Operation: 98/14=7, Resulting Numbers: [62, 7] Generated Node #3: [62, 7] from Operation: 98/14=7 Current State: 55:[62, 7], Operations: ['88-74=14', '98/14=7'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[74, 88, 62, 98], Operations: [] Exploring Operation: 98-88=10, Resulting Numbers: [74, 62, 10] Generated Node #0,0: 55:[74, 62, 10] Operation: 98-88=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[74, 62, 10], Operations: ['98-88=10'] Exploring Operation: 74-62=12, Resulting Numbers: [10, 12] Generated Node #0,0,0: 55:[10, 12] Operation: 74-62=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[10, 12], Operations: ['98-88=10', '74-62=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 47, 71, 46, 48 ]
23
[ "71-47=24", "46*24=1104", "1104/48=23" ]
Current State: 23:[47, 71, 46, 48], Operations: [] Exploring Operation: 71-47=24, Resulting Numbers: [46, 48, 24] Generated Node #2: [46, 48, 24] from Operation: 71-47=24 Current State: 23:[46, 48, 24], Operations: ['71-47=24'] Exploring Operation: 46*24=1104, Resulting Numbers: [48, 1104] Generated Node #3: [48, 1104] from Operation: 46*24=1104 Current State: 23:[48, 1104], Operations: ['71-47=24', '46*24=1104'] Exploring Operation: 1104/48=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[47, 71, 46, 48], Operations: [] Exploring Operation: 71-46=25, Resulting Numbers: [47, 48, 25] Generated Node #0,0: 23:[47, 48, 25] Operation: 71-46=25 Exploring Operation: 71-47=24, Resulting Numbers: [46, 48, 24] Generated Node #0,1: 23:[46, 48, 24] Operation: 71-47=24 Exploring Operation: 71-48=23, Resulting Numbers: [47, 46, 23] Generated Node #0,2: 23:[47, 46, 23] Operation: 71-48=23 Moving to Node #0,2 Current State: 23:[47, 46, 23], Operations: ['71-48=23'] Exploring Operation: 46-23=23, Resulting Numbers: [47, 23] Generated Node #0,2,0: 23:[47, 23] Operation: 46-23=23 Exploring Operation: 47-46=1, Resulting Numbers: [23, 1] Generated Node #0,2,1: 23:[23, 1] Operation: 47-46=1 Exploring Operation: 47-23=24, Resulting Numbers: [46, 24] Generated Node #0,2,2: 23:[46, 24] Operation: 47-23=24 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[23, 1], Operations: ['71-48=23', '47-46=1'] Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[47, 71, 46, 48], Operations: [] Exploring Operation: 71-48=23, Resulting Numbers: [47, 46, 23] Generated Node #0,2: 23:[47, 46, 23] Operation: 71-48=23 Moving to Node #0,2 Current State: 23:[47, 46, 23], Operations: ['71-48=23'] Exploring Operation: 47-46=1, Resulting Numbers: [23, 1] Generated Node #0,2,1: 23:[23, 1] Operation: 47-46=1 Moving to Node #0,2,1 Current State: 23:[23, 1], Operations: ['71-48=23', '47-46=1'] Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 38, 65, 11, 59 ]
33
[ "38+65=103", "11+59=70", "103-70=33" ]
Current State: 33:[38, 65, 11, 59], Operations: [] Exploring Operation: 38+65=103, Resulting Numbers: [11, 59, 103] Generated Node #2: [11, 59, 103] from Operation: 38+65=103 Current State: 33:[11, 59, 103], Operations: ['38+65=103'] Exploring Operation: 11+59=70, Resulting Numbers: [103, 70] Generated Node #3: [103, 70] from Operation: 11+59=70 Current State: 33:[103, 70], Operations: ['38+65=103', '11+59=70'] Exploring Operation: 103-70=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[38, 65, 11, 59], Operations: [] Exploring Operation: 65-38=27, Resulting Numbers: [11, 59, 27] Generated Node #0,0: 33:[11, 59, 27] Operation: 65-38=27 Exploring Operation: 65-59=6, Resulting Numbers: [38, 11, 6] Generated Node #0,1: 33:[38, 11, 6] Operation: 65-59=6 Moving to Node #0,1 Current State: 33:[38, 11, 6], Operations: ['65-59=6'] Exploring Operation: 38-6=32, Resulting Numbers: [11, 32] Generated Node #0,1,0: 33:[11, 32] Operation: 38-6=32 Exploring Operation: 11-6=5, Resulting Numbers: [38, 5] Generated Node #0,1,1: 33:[38, 5] Operation: 11-6=5 Moving to Node #0,0 Current State: 33:[11, 59, 27], Operations: ['65-38=27'] Exploring Operation: 59-11=48, Resulting Numbers: [27, 48] Generated Node #0,0,0: 33:[27, 48] Operation: 59-11=48 Exploring Operation: 59-27=32, Resulting Numbers: [11, 32] Generated Node #0,0,1: 33:[11, 32] Operation: 59-27=32 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[11, 32], Operations: ['65-38=27', '59-27=32'] Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,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:[27, 48], Operations: ['65-38=27', '59-11=48'] Exploring Operation: 27+48=75, Resulting Numbers: [75] 75,33 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 33:[11, 32], Operations: ['65-59=6', '38-6=32'] Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[38, 5], Operations: ['65-59=6', '11-6=5'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[38, 65, 11, 59], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [38, 11, 6] Generated Node #0,1: 33:[38, 11, 6] Operation: 65-59=6 Moving to Node #0,1 Current State: 33:[38, 11, 6], Operations: ['65-59=6'] Exploring Operation: 11-6=5, Resulting Numbers: [38, 5] Generated Node #0,1,1: 33:[38, 5] Operation: 11-6=5 Moving to Node #0,1,1 Current State: 33:[38, 5], Operations: ['65-59=6', '11-6=5'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 98, 51, 27, 92 ]
30
[ "98+51=149", "27+92=119", "149-119=30" ]
Current State: 30:[98, 51, 27, 92], Operations: [] Exploring Operation: 98+51=149, Resulting Numbers: [27, 92, 149] Generated Node #2: [27, 92, 149] from Operation: 98+51=149 Current State: 30:[27, 92, 149], Operations: ['98+51=149'] Exploring Operation: 27+92=119, Resulting Numbers: [149, 119] Generated Node #3: [149, 119] from Operation: 27+92=119 Current State: 30:[149, 119], Operations: ['98+51=149', '27+92=119'] Exploring Operation: 149-119=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[98, 51, 27, 92], Operations: [] Exploring Operation: 92-51=41, Resulting Numbers: [98, 27, 41] Generated Node #0,0: 30:[98, 27, 41] Operation: 92-51=41 Exploring Operation: 98-51=47, Resulting Numbers: [27, 92, 47] Generated Node #0,1: 30:[27, 92, 47] Operation: 98-51=47 Exploring Operation: 98-92=6, Resulting Numbers: [51, 27, 6] Generated Node #0,2: 30:[51, 27, 6] Operation: 98-92=6 Moving to Node #0,2 Current State: 30:[51, 27, 6], Operations: ['98-92=6'] Exploring Operation: 51-6=45, Resulting Numbers: [27, 45] Generated Node #0,2,0: 30:[27, 45] Operation: 51-6=45 Exploring Operation: 51-27=24, Resulting Numbers: [6, 24] Generated Node #0,2,1: 30:[6, 24] Operation: 51-27=24 Exploring Operation: 27+6=33, Resulting Numbers: [51, 33] Generated Node #0,2,2: 30:[51, 33] Operation: 27+6=33 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[6, 24], Operations: ['98-92=6', '51-27=24'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[98, 51, 27, 92], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [51, 27, 6] Generated Node #0,2: 30:[51, 27, 6] Operation: 98-92=6 Moving to Node #0,2 Current State: 30:[51, 27, 6], Operations: ['98-92=6'] Exploring Operation: 51-27=24, Resulting Numbers: [6, 24] Generated Node #0,2,1: 30:[6, 24] Operation: 51-27=24 Moving to Node #0,2,1 Current State: 30:[6, 24], Operations: ['98-92=6', '51-27=24'] Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 35, 60, 60, 31 ]
54
[ "60-35=25", "60-31=29", "25+29=54" ]
Current State: 54:[35, 60, 60, 31], Operations: [] Exploring Operation: 60-35=25, Resulting Numbers: [31, 25] Generated Node #2: [31, 25] from Operation: 60-35=25 Current State: 54:[31, 25], Operations: ['60-35=25'] Exploring Operation: 60-31=29, Resulting Numbers: [25, 29] Generated Node #3: [25, 29] from Operation: 60-31=29 Current State: 54:[25, 29], Operations: ['60-35=25', '60-31=29'] Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[35, 60, 60, 31], Operations: [] Exploring Operation: 60-35=25, Resulting Numbers: [60, 31, 25] Generated Node #0,0: 54:[60, 31, 25] Operation: 60-35=25 Exploring Operation: 60-35=25, Resulting Numbers: [60, 31, 25] Generated Node #0,1: 54:[60, 31, 25] Operation: 60-35=25 Moving to Node #0,0 Current State: 54:[60, 31, 25], Operations: ['60-35=25'] Exploring Operation: 31-25=6, Resulting Numbers: [60, 6] Generated Node #0,0,0: 54:[60, 6] Operation: 31-25=6 Exploring Operation: 60-31=29, Resulting Numbers: [25, 29] Generated Node #0,0,1: 54:[25, 29] Operation: 60-31=29 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[25, 29], Operations: ['60-35=25', '60-31=29'] Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[35, 60, 60, 31], Operations: [] Exploring Operation: 60-35=25, Resulting Numbers: [60, 31, 25] Generated Node #0,0: 54:[60, 31, 25] Operation: 60-35=25 Moving to Node #0,0 Current State: 54:[60, 31, 25], Operations: ['60-35=25'] Exploring Operation: 60-31=29, Resulting Numbers: [25, 29] Generated Node #0,0,1: 54:[25, 29] Operation: 60-31=29 Moving to Node #0,0,1 Current State: 54:[25, 29], Operations: ['60-35=25', '60-31=29'] Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 45, 81, 99, 58 ]
85
[ "45+81=126", "99-58=41", "126-41=85" ]
Current State: 85:[45, 81, 99, 58], Operations: [] Exploring Operation: 45+81=126, Resulting Numbers: [99, 58, 126] Generated Node #2: [99, 58, 126] from Operation: 45+81=126 Current State: 85:[99, 58, 126], Operations: ['45+81=126'] Exploring Operation: 99-58=41, Resulting Numbers: [126, 41] Generated Node #3: [126, 41] from Operation: 99-58=41 Current State: 85:[126, 41], Operations: ['45+81=126', '99-58=41'] Exploring Operation: 126-41=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[45, 81, 99, 58], Operations: [] Exploring Operation: 58-45=13, Resulting Numbers: [81, 99, 13] Generated Node #0,0: 85:[81, 99, 13] Operation: 58-45=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[81, 99, 13], Operations: ['58-45=13'] Exploring Operation: 99-81=18, Resulting Numbers: [13, 18] Generated Node #0,0,0: 85:[13, 18] Operation: 99-81=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[13, 18], Operations: ['58-45=13', '99-81=18'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 86, 29, 17, 10 ]
12
[ "29*10=290", "290-86=204", "204/17=12" ]
Current State: 12:[86, 29, 17, 10], Operations: [] Exploring Operation: 29*10=290, Resulting Numbers: [86, 17, 290] Generated Node #2: [86, 17, 290] from Operation: 29*10=290 Current State: 12:[86, 17, 290], Operations: ['29*10=290'] Exploring Operation: 290-86=204, Resulting Numbers: [17, 204] Generated Node #3: [17, 204] from Operation: 290-86=204 Current State: 12:[17, 204], Operations: ['29*10=290', '290-86=204'] Exploring Operation: 204/17=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[86, 29, 17, 10], Operations: [] Exploring Operation: 86-29=57, Resulting Numbers: [17, 10, 57] Generated Node #0,0: 12:[17, 10, 57] Operation: 86-29=57 Exploring Operation: 86-17=69, Resulting Numbers: [29, 10, 69] Generated Node #0,1: 12:[29, 10, 69] Operation: 86-17=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[17, 10, 57], Operations: ['86-29=57'] Exploring Operation: 57-10=47, Resulting Numbers: [17, 47] Generated Node #0,0,0: 12:[17, 47] Operation: 57-10=47 Exploring Operation: 57-17=40, Resulting Numbers: [10, 40] Generated Node #0,0,1: 12:[10, 40] Operation: 57-17=40 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[10, 40], Operations: ['86-29=57', '57-17=40'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[17, 47], Operations: ['86-29=57', '57-10=47'] Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,12 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[29, 10, 69], Operations: ['86-17=69'] Exploring Operation: 29-10=19, Resulting Numbers: [69, 19] Generated Node #0,1,0: 12:[69, 19] Operation: 29-10=19 Exploring Operation: 69-29=40, Resulting Numbers: [10, 40] Generated Node #0,1,1: 12:[10, 40] Operation: 69-29=40 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[10, 40], Operations: ['86-17=69', '69-29=40'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[69, 19], Operations: ['86-17=69', '29-10=19'] Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,12 unequal: No Solution Exploring Operation: 69+19=88, Resulting Numbers: [88] 88,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 37, 40, 38, 47 ]
88
[ "40-37=3", "38+47=85", "3+85=88" ]
Current State: 88:[37, 40, 38, 47], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [38, 47, 3] Generated Node #2: [38, 47, 3] from Operation: 40-37=3 Current State: 88:[38, 47, 3], Operations: ['40-37=3'] Exploring Operation: 38+47=85, Resulting Numbers: [3, 85] Generated Node #3: [3, 85] from Operation: 38+47=85 Current State: 88:[3, 85], Operations: ['40-37=3', '38+47=85'] Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[37, 40, 38, 47], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [38, 47, 3] Generated Node #0,0: 88:[38, 47, 3] Operation: 40-37=3 Exploring Operation: 38-37=1, Resulting Numbers: [40, 47, 1] Generated Node #0,1: 88:[40, 47, 1] Operation: 38-37=1 Exploring Operation: 47-37=10, Resulting Numbers: [40, 38, 10] Generated Node #0,2: 88:[40, 38, 10] Operation: 47-37=10 Exploring Operation: 40-38=2, Resulting Numbers: [37, 47, 2] Generated Node #0,3: 88:[37, 47, 2] Operation: 40-38=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[40, 47, 1], Operations: ['38-37=1'] Exploring Operation: 40+47=87, Resulting Numbers: [1, 87] Generated Node #0,1,0: 88:[1, 87] Operation: 40+47=87 Exploring Operation: 47-1=46, Resulting Numbers: [40, 46] Generated Node #0,1,1: 88:[40, 46] Operation: 47-1=46 Exploring Operation: 40+1=41, Resulting Numbers: [47, 41] Generated Node #0,1,2: 88:[47, 41] Operation: 40+1=41 Exploring Operation: 47-40=7, Resulting Numbers: [1, 7] Generated Node #0,1,3: 88:[1, 7] Operation: 47-40=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[1, 87], Operations: ['38-37=1', '40+47=87'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 1*87=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,88 unequal: No Solution Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[37, 40, 38, 47], Operations: [] Exploring Operation: 38-37=1, Resulting Numbers: [40, 47, 1] Generated Node #0,1: 88:[40, 47, 1] Operation: 38-37=1 Moving to Node #0,1 Current State: 88:[40, 47, 1], Operations: ['38-37=1'] Exploring Operation: 40+47=87, Resulting Numbers: [1, 87] Generated Node #0,1,0: 88:[1, 87] Operation: 40+47=87 Moving to Node #0,1,0 Current State: 88:[1, 87], Operations: ['38-37=1', '40+47=87'] Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 27, 87, 79, 54 ]
73
[ "87-27=60", "79+54=133", "133-60=73" ]
Current State: 73:[27, 87, 79, 54], Operations: [] Exploring Operation: 87-27=60, Resulting Numbers: [79, 54, 60] Generated Node #2: [79, 54, 60] from Operation: 87-27=60 Current State: 73:[79, 54, 60], Operations: ['87-27=60'] Exploring Operation: 79+54=133, Resulting Numbers: [60, 133] Generated Node #3: [60, 133] from Operation: 79+54=133 Current State: 73:[60, 133], Operations: ['87-27=60', '79+54=133'] Exploring Operation: 133-60=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[27, 87, 79, 54], Operations: [] Exploring Operation: 27+54=81, Resulting Numbers: [87, 79, 81] Generated Node #0,0: 73:[87, 79, 81] Operation: 27+54=81 Moving to Node #0,0 Current State: 73:[87, 79, 81], Operations: ['27+54=81'] Exploring Operation: 87-79=8, Resulting Numbers: [81, 8] Generated Node #0,0,0: 73:[81, 8] Operation: 87-79=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[81, 8], Operations: ['27+54=81', '87-79=8'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[27, 87, 79, 54], Operations: [] Exploring Operation: 27+54=81, Resulting Numbers: [87, 79, 81] Generated Node #0,0: 73:[87, 79, 81] Operation: 27+54=81 Moving to Node #0,0 Current State: 73:[87, 79, 81], Operations: ['27+54=81'] Exploring Operation: 87-79=8, Resulting Numbers: [81, 8] Generated Node #0,0,0: 73:[81, 8] Operation: 87-79=8 Moving to Node #0,0,0 Current State: 73:[81, 8], Operations: ['27+54=81', '87-79=8'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 72, 63, 33, 81 ]
21
[ "72+63=135", "33+81=114", "135-114=21" ]
Current State: 21:[72, 63, 33, 81], Operations: [] Exploring Operation: 72+63=135, Resulting Numbers: [33, 81, 135] Generated Node #2: [33, 81, 135] from Operation: 72+63=135 Current State: 21:[33, 81, 135], Operations: ['72+63=135'] Exploring Operation: 33+81=114, Resulting Numbers: [135, 114] Generated Node #3: [135, 114] from Operation: 33+81=114 Current State: 21:[135, 114], Operations: ['72+63=135', '33+81=114'] Exploring Operation: 135-114=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[72, 63, 33, 81], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [63, 33, 9] Generated Node #0,0: 21:[63, 33, 9] Operation: 81-72=9 Exploring Operation: 81-63=18, Resulting Numbers: [72, 33, 18] Generated Node #0,1: 21:[72, 33, 18] Operation: 81-63=18 Exploring Operation: 72-33=39, Resulting Numbers: [63, 81, 39] Generated Node #0,2: 21:[63, 81, 39] Operation: 72-33=39 Exploring Operation: 72-63=9, Resulting Numbers: [33, 81, 9] Generated Node #0,3: 21:[33, 81, 9] Operation: 72-63=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[63, 33, 9], Operations: ['81-72=9'] Exploring Operation: 63-33=30, Resulting Numbers: [9, 30] Generated Node #0,0,0: 21:[9, 30] Operation: 63-33=30 Exploring Operation: 63/9=7, Resulting Numbers: [33, 7] Generated Node #0,0,1: 21:[33, 7] Operation: 63/9=7 Exploring Operation: 33-9=24, Resulting Numbers: [63, 24] Generated Node #0,0,2: 21:[63, 24] Operation: 33-9=24 Exploring Operation: 63-9=54, Resulting Numbers: [33, 54] Generated Node #0,0,3: 21:[33, 54] Operation: 63-9=54 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[9, 30], Operations: ['81-72=9', '63-33=30'] Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,21 unequal: No Solution Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[72, 63, 33, 81], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [63, 33, 9] Generated Node #0,0: 21:[63, 33, 9] Operation: 81-72=9 Moving to Node #0,0 Current State: 21:[63, 33, 9], Operations: ['81-72=9'] Exploring Operation: 63-33=30, Resulting Numbers: [9, 30] Generated Node #0,0,0: 21:[9, 30] Operation: 63-33=30 Moving to Node #0,0,0 Current State: 21:[9, 30], Operations: ['81-72=9', '63-33=30'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 4, 18, 17, 44 ]
49
[ "4+18=22", "44-17=27", "22+27=49" ]
Current State: 49:[4, 18, 17, 44], Operations: [] Exploring Operation: 4+18=22, Resulting Numbers: [17, 44, 22] Generated Node #2: [17, 44, 22] from Operation: 4+18=22 Current State: 49:[17, 44, 22], Operations: ['4+18=22'] Exploring Operation: 44-17=27, Resulting Numbers: [22, 27] Generated Node #3: [22, 27] from Operation: 44-17=27 Current State: 49:[22, 27], Operations: ['4+18=22', '44-17=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[4, 18, 17, 44], Operations: [] Exploring Operation: 18-17=1, Resulting Numbers: [4, 44, 1] Generated Node #0,0: 49:[4, 44, 1] Operation: 18-17=1 Exploring Operation: 17-4=13, Resulting Numbers: [18, 44, 13] Generated Node #0,1: 49:[18, 44, 13] Operation: 17-4=13 Exploring Operation: 18-4=14, Resulting Numbers: [17, 44, 14] Generated Node #0,2: 49:[17, 44, 14] Operation: 18-4=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[4, 44, 1], Operations: ['18-17=1'] Exploring Operation: 4+44=48, Resulting Numbers: [1, 48] Generated Node #0,0,0: 49:[1, 48] Operation: 4+44=48 Exploring Operation: 44+1=45, Resulting Numbers: [4, 45] Generated Node #0,0,1: 49:[4, 45] Operation: 44+1=45 Exploring Operation: 4+1=5, Resulting Numbers: [44, 5] Generated Node #0,0,2: 49:[44, 5] Operation: 4+1=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[1, 48], Operations: ['18-17=1', '4+44=48'] Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 1+48=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[4, 18, 17, 44], Operations: [] Exploring Operation: 18-17=1, Resulting Numbers: [4, 44, 1] Generated Node #0,0: 49:[4, 44, 1] Operation: 18-17=1 Moving to Node #0,0 Current State: 49:[4, 44, 1], Operations: ['18-17=1'] Exploring Operation: 4+44=48, Resulting Numbers: [1, 48] Generated Node #0,0,0: 49:[1, 48] Operation: 4+44=48 Moving to Node #0,0,0 Current State: 49:[1, 48], Operations: ['18-17=1', '4+44=48'] Exploring Operation: 1+48=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 41, 7, 7, 30 ]
11
[ "41+7=48", "7+30=37", "48-37=11" ]
Current State: 11:[41, 7, 7, 30], Operations: [] Exploring Operation: 41+7=48, Resulting Numbers: [30, 48] Generated Node #2: [30, 48] from Operation: 41+7=48 Current State: 11:[30, 48], Operations: ['41+7=48'] Exploring Operation: 7+30=37, Resulting Numbers: [48, 37] Generated Node #3: [48, 37] from Operation: 7+30=37 Current State: 11:[48, 37], Operations: ['41+7=48', '7+30=37'] Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[41, 7, 7, 30], Operations: [] Exploring Operation: 41-7=34, Resulting Numbers: [7, 30, 34] Generated Node #0,0: 11:[7, 30, 34] Operation: 41-7=34 Exploring Operation: 41-30=11, Resulting Numbers: [7, 7, 11] Generated Node #0,1: 11:[7, 7, 11] Operation: 41-30=11 Moving to Node #0,1 Current State: 11:[7, 7, 11], Operations: ['41-30=11'] Exploring Operation: 7+7=14, Resulting Numbers: [11, 14] Generated Node #0,1,0: 11:[11, 14] Operation: 7+7=14 Exploring Operation: 7/7=1, Resulting Numbers: [11, 1] Generated Node #0,1,1: 11:[11, 1] Operation: 7/7=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[11, 14], Operations: ['41-30=11', '7+7=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,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,1 Current State: 11:[11, 1], Operations: ['41-30=11', '7/7=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[41, 7, 7, 30], Operations: [] Exploring Operation: 41-30=11, Resulting Numbers: [7, 7, 11] Generated Node #0,1: 11:[7, 7, 11] Operation: 41-30=11 Moving to Node #0,1 Current State: 11:[7, 7, 11], Operations: ['41-30=11'] Exploring Operation: 7/7=1, Resulting Numbers: [11, 1] Generated Node #0,1,1: 11:[11, 1] Operation: 7/7=1 Moving to Node #0,1,1 Current State: 11:[11, 1], Operations: ['41-30=11', '7/7=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 49, 78, 84, 4 ]
73
[ "84-78=6", "4*6=24", "49+24=73" ]
Current State: 73:[49, 78, 84, 4], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [49, 4, 6] Generated Node #2: [49, 4, 6] from Operation: 84-78=6 Current State: 73:[49, 4, 6], Operations: ['84-78=6'] Exploring Operation: 4*6=24, Resulting Numbers: [49, 24] Generated Node #3: [49, 24] from Operation: 4*6=24 Current State: 73:[49, 24], Operations: ['84-78=6', '4*6=24'] Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[49, 78, 84, 4], Operations: [] Exploring Operation: 84-4=80, Resulting Numbers: [49, 78, 80] Generated Node #0,0: 73:[49, 78, 80] Operation: 84-4=80 Exploring Operation: 78-4=74, Resulting Numbers: [49, 84, 74] Generated Node #0,1: 73:[49, 84, 74] Operation: 78-4=74 Exploring Operation: 49+4=53, Resulting Numbers: [78, 84, 53] Generated Node #0,2: 73:[78, 84, 53] Operation: 49+4=53 Moving to Node #0,0 Current State: 73:[49, 78, 80], Operations: ['84-4=80'] Exploring Operation: 49+78=127, Resulting Numbers: [80, 127] Generated Node #0,0,0: 73:[80, 127] Operation: 49+78=127 Exploring Operation: 78-49=29, Resulting Numbers: [80, 29] Generated Node #0,0,1: 73:[80, 29] Operation: 78-49=29 Exploring Operation: 80-49=31, Resulting Numbers: [78, 31] Generated Node #0,0,2: 73:[78, 31] Operation: 80-49=31 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[78, 31], Operations: ['84-4=80', '80-49=31'] Exploring Operation: 78-31=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 78+31=109, Resulting Numbers: [109] 109,73 unequal: No Solution Exploring Operation: 78*31=2418, Resulting Numbers: [2418] 2418,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[80, 29], Operations: ['84-4=80', '78-49=29'] Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,73 unequal: No Solution Exploring Operation: 80*29=2320, Resulting Numbers: [2320] 2320,73 unequal: No Solution Exploring Operation: 80+29=109, Resulting Numbers: [109] 109,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[80, 127], Operations: ['84-4=80', '49+78=127'] Exploring Operation: 80+127=207, Resulting Numbers: [207] 207,73 unequal: No Solution Exploring Operation: 127-80=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 80*127=10160, Resulting Numbers: [10160] 10160,73 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: 73:[49, 84, 74], Operations: ['78-4=74'] Exploring Operation: 49+84=133, Resulting Numbers: [74, 133] Generated Node #0,1,0: 73:[74, 133] Operation: 49+84=133 Exploring Operation: 84-49=35, Resulting Numbers: [74, 35] Generated Node #0,1,1: 73:[74, 35] Operation: 84-49=35 Exploring Operation: 74-49=25, Resulting Numbers: [84, 25] Generated Node #0,1,2: 73:[84, 25] Operation: 74-49=25 Moving to Node #0,2 Current State: 73:[78, 84, 53], Operations: ['49+4=53'] Exploring Operation: 84-53=31, Resulting Numbers: [78, 31] Generated Node #0,2,0: 73:[78, 31] Operation: 84-53=31 Exploring Operation: 78-53=25, Resulting Numbers: [84, 25] Generated Node #0,2,1: 73:[84, 25] Operation: 78-53=25 Exploring Operation: 78+53=131, Resulting Numbers: [84, 131] Generated Node #0,2,2: 73:[84, 131] Operation: 78+53=131 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[78, 31], Operations: ['49+4=53', '84-53=31'] Exploring Operation: 78*31=2418, Resulting Numbers: [2418] 2418,73 unequal: No Solution Exploring Operation: 78-31=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 78+31=109, Resulting Numbers: [109] 109,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[84, 25], Operations: ['49+4=53', '78-53=25'] Exploring Operation: 84+25=109, Resulting Numbers: [109] 109,73 unequal: No Solution Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 84*25=2100, Resulting Numbers: [2100] 2100,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[84, 131], Operations: ['49+4=53', '78+53=131'] Exploring Operation: 84+131=215, Resulting Numbers: [215] 215,73 unequal: No Solution Exploring Operation: 84*131=11004, Resulting Numbers: [11004] 11004,73 unequal: No Solution Exploring Operation: 131-84=47, Resulting Numbers: [47] 47,73 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: 73:[74, 35], Operations: ['78-4=74', '84-49=35'] Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,73 unequal: No Solution Exploring Operation: 74*35=2590, Resulting Numbers: [2590] 2590,73 unequal: No Solution Exploring Operation: 74+35=109, Resulting Numbers: [109] 109,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[84, 25], Operations: ['78-4=74', '74-49=25'] Exploring Operation: 84*25=2100, Resulting Numbers: [2100] 2100,73 unequal: No Solution Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 84+25=109, Resulting Numbers: [109] 109,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[74, 133], Operations: ['78-4=74', '49+84=133'] Exploring Operation: 74+133=207, Resulting Numbers: [207] 207,73 unequal: No Solution Exploring Operation: 133-74=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 74*133=9842, Resulting Numbers: [9842] 9842,73 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 49, 98, 31, 78 ]
49
[ "98/49=2", "78-31=47", "2+47=49" ]
Current State: 49:[49, 98, 31, 78], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [31, 78, 2] Generated Node #2: [31, 78, 2] from Operation: 98/49=2 Current State: 49:[31, 78, 2], Operations: ['98/49=2'] Exploring Operation: 78-31=47, Resulting Numbers: [2, 47] Generated Node #3: [2, 47] from Operation: 78-31=47 Current State: 49:[2, 47], Operations: ['98/49=2', '78-31=47'] Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[49, 98, 31, 78], Operations: [] Exploring Operation: 98-78=20, Resulting Numbers: [49, 31, 20] Generated Node #0,0: 49:[49, 31, 20] Operation: 98-78=20 Moving to Node #0,0 Current State: 49:[49, 31, 20], Operations: ['98-78=20'] Exploring Operation: 31+20=51, Resulting Numbers: [49, 51] Generated Node #0,0,0: 49:[49, 51] Operation: 31+20=51 Moving to Node #0,0,0 Current State: 49:[49, 51], Operations: ['98-78=20', '31+20=51'] Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,49 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 53, 73, 36, 68 ]
84
[ "73-53=20", "36+68=104", "104-20=84" ]
Current State: 84:[53, 73, 36, 68], Operations: [] Exploring Operation: 73-53=20, Resulting Numbers: [36, 68, 20] Generated Node #2: [36, 68, 20] from Operation: 73-53=20 Current State: 84:[36, 68, 20], Operations: ['73-53=20'] Exploring Operation: 36+68=104, Resulting Numbers: [20, 104] Generated Node #3: [20, 104] from Operation: 36+68=104 Current State: 84:[20, 104], Operations: ['73-53=20', '36+68=104'] Exploring Operation: 104-20=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[53, 73, 36, 68], Operations: [] Exploring Operation: 73-53=20, Resulting Numbers: [36, 68, 20] Generated Node #0,0: 84:[36, 68, 20] Operation: 73-53=20 Exploring Operation: 53-36=17, Resulting Numbers: [73, 68, 17] Generated Node #0,1: 84:[73, 68, 17] Operation: 53-36=17 Exploring Operation: 73-68=5, Resulting Numbers: [53, 36, 5] Generated Node #0,2: 84:[53, 36, 5] Operation: 73-68=5 Exploring Operation: 68-36=32, Resulting Numbers: [53, 73, 32] Generated Node #0,3: 84:[53, 73, 32] Operation: 68-36=32 Exploring Operation: 68-53=15, Resulting Numbers: [73, 36, 15] Generated Node #0,4: 84:[73, 36, 15] Operation: 68-53=15 Moving to Node #0,2 Current State: 84:[53, 36, 5], Operations: ['73-68=5'] Exploring Operation: 53-36=17, Resulting Numbers: [5, 17] Generated Node #0,2,0: 84:[5, 17] Operation: 53-36=17 Exploring Operation: 36-5=31, Resulting Numbers: [53, 31] Generated Node #0,2,1: 84:[53, 31] Operation: 36-5=31 Exploring Operation: 36+5=41, Resulting Numbers: [53, 41] Generated Node #0,2,2: 84:[53, 41] Operation: 36+5=41 Exploring Operation: 53+36=89, Resulting Numbers: [5, 89] Generated Node #0,2,3: 84:[5, 89] Operation: 53+36=89 Exploring Operation: 53-5=48, Resulting Numbers: [36, 48] Generated Node #0,2,4: 84:[36, 48] Operation: 53-5=48 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[5, 17], Operations: ['73-68=5', '53-36=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,84 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,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,3 Current State: 84:[5, 89], Operations: ['73-68=5', '53+36=89'] Exploring Operation: 5*89=445, Resulting Numbers: [445] 445,84 unequal: No Solution Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[53, 73, 36, 68], Operations: [] Exploring Operation: 73-68=5, Resulting Numbers: [53, 36, 5] Generated Node #0,2: 84:[53, 36, 5] Operation: 73-68=5 Moving to Node #0,2 Current State: 84:[53, 36, 5], Operations: ['73-68=5'] Exploring Operation: 53+36=89, Resulting Numbers: [5, 89] Generated Node #0,2,3: 84:[5, 89] Operation: 53+36=89 Moving to Node #0,2,3 Current State: 84:[5, 89], Operations: ['73-68=5', '53+36=89'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 31, 50, 6, 54 ]
27
[ "31-6=25", "50/25=2", "54/2=27" ]
Current State: 27:[31, 50, 6, 54], Operations: [] Exploring Operation: 31-6=25, Resulting Numbers: [50, 54, 25] Generated Node #2: [50, 54, 25] from Operation: 31-6=25 Current State: 27:[50, 54, 25], Operations: ['31-6=25'] Exploring Operation: 50/25=2, Resulting Numbers: [54, 2] Generated Node #3: [54, 2] from Operation: 50/25=2 Current State: 27:[54, 2], Operations: ['31-6=25', '50/25=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[31, 50, 6, 54], Operations: [] Exploring Operation: 50-31=19, Resulting Numbers: [6, 54, 19] Generated Node #0,0: 27:[6, 54, 19] Operation: 50-31=19 Exploring Operation: 54/6=9, Resulting Numbers: [31, 50, 9] Generated Node #0,1: 27:[31, 50, 9] Operation: 54/6=9 Exploring Operation: 54-31=23, Resulting Numbers: [50, 6, 23] Generated Node #0,2: 27:[50, 6, 23] Operation: 54-31=23 Exploring Operation: 54-50=4, Resulting Numbers: [31, 6, 4] Generated Node #0,3: 27:[31, 6, 4] Operation: 54-50=4 Moving to Node #0,3 Current State: 27:[31, 6, 4], Operations: ['54-50=4'] Exploring Operation: 31-4=27, Resulting Numbers: [6, 27] Generated Node #0,3,0: 27:[6, 27] Operation: 31-4=27 Exploring Operation: 31-6=25, Resulting Numbers: [4, 25] Generated Node #0,3,1: 27:[4, 25] Operation: 31-6=25 Exploring Operation: 6-4=2, Resulting Numbers: [31, 2] Generated Node #0,3,2: 27:[31, 2] Operation: 6-4=2 Exploring Operation: 6+4=10, Resulting Numbers: [31, 10] Generated Node #0,3,3: 27:[31, 10] Operation: 6+4=10 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 27:[6, 27], Operations: ['54-50=4', '31-4=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,27 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 27:[4, 25], Operations: ['54-50=4', '31-6=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,27 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 27:[31, 2], Operations: ['54-50=4', '6-4=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,27 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 27:[31, 10], Operations: ['54-50=4', '6+4=10'] Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,27 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 27:[31, 50, 9], Operations: ['54/6=9'] Exploring Operation: 31+9=40, Resulting Numbers: [50, 40] Generated Node #0,1,0: 27:[50, 40] Operation: 31+9=40 Exploring Operation: 50-9=41, Resulting Numbers: [31, 41] Generated Node #0,1,1: 27:[31, 41] Operation: 50-9=41 Exploring Operation: 31-9=22, Resulting Numbers: [50, 22] Generated Node #0,1,2: 27:[50, 22] Operation: 31-9=22 Exploring Operation: 50-31=19, Resulting Numbers: [9, 19] Generated Node #0,1,3: 27:[9, 19] Operation: 50-31=19 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 27:[9, 19], Operations: ['54/6=9', '50-31=19'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 9*19=171, Resulting Numbers: [171] 171,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[31, 41], Operations: ['54/6=9', '50-9=41'] Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 31*41=1271, Resulting Numbers: [1271] 1271,27 unequal: No Solution Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[50, 22], Operations: ['54/6=9', '31-9=22'] Exploring Operation: 50*22=1100, Resulting Numbers: [1100] 1100,27 unequal: No Solution Exploring Operation: 50+22=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[50, 40], Operations: ['54/6=9', '31+9=40'] Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,27 unequal: No Solution Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,27 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: 27:[50, 6, 23], Operations: ['54-31=23'] Exploring Operation: 23-6=17, Resulting Numbers: [50, 17] Generated Node #0,2,0: 27:[50, 17] Operation: 23-6=17 Exploring Operation: 50-23=27, Resulting Numbers: [6, 27] Generated Node #0,2,1: 27:[6, 27] Operation: 50-23=27 Exploring Operation: 6+23=29, Resulting Numbers: [50, 29] Generated Node #0,2,2: 27:[50, 29] Operation: 6+23=29 Exploring Operation: 50-6=44, Resulting Numbers: [23, 44] Generated Node #0,2,3: 27:[23, 44] Operation: 50-6=44 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[6, 27], Operations: ['54-31=23', '50-23=27'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 27:[23, 44], Operations: ['54-31=23', '50-6=44'] Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,27 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,27 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[50, 29], Operations: ['54-31=23', '6+23=29'] Exploring Operation: 50*29=1450, Resulting Numbers: [1450] 1450,27 unequal: No Solution Exploring Operation: 50+29=79, Resulting Numbers: [79] 79,27 unequal: No Solution Exploring Operation: 50-29=21, Resulting Numbers: [21] 21,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[50, 17], Operations: ['54-31=23', '23-6=17'] Exploring Operation: 50+17=67, Resulting Numbers: [67] 67,27 unequal: No Solution Exploring Operation: 50*17=850, Resulting Numbers: [850] 850,27 unequal: No Solution Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 27:[6, 54, 19], Operations: ['50-31=19'] Exploring Operation: 54/6=9, Resulting Numbers: [19, 9] Generated Node #0,0,0: 27:[19, 9] Operation: 54/6=9 Exploring Operation: 6+19=25, Resulting Numbers: [54, 25] Generated Node #0,0,1: 27:[54, 25] Operation: 6+19=25 Exploring Operation: 54-19=35, Resulting Numbers: [6, 35] Generated Node #0,0,2: 27:[6, 35] Operation: 54-19=35 Exploring Operation: 54-6=48, Resulting Numbers: [19, 48] Generated Node #0,0,3: 27:[19, 48] Operation: 54-6=48 Moving to Node #0,0,0 Current State: 27:[19, 9], Operations: ['50-31=19', '54/6=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,27 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[6, 35], Operations: ['50-31=19', '54-19=35'] Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,27 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,27 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[19, 48], Operations: ['50-31=19', '54-6=48'] Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,27 unequal: No Solution Exploring Operation: 19+48=67, Resulting Numbers: [67] 67,27 unequal: No Solution Exploring Operation: 19*48=912, Resulting Numbers: [912] 912,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[54, 25], Operations: ['50-31=19', '6+19=25'] Exploring Operation: 54+25=79, Resulting Numbers: [79] 79,27 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,27 unequal: No Solution Exploring Operation: 54*25=1350, Resulting Numbers: [1350] 1350,27 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 65, 54, 32, 37 ]
16
[ "65-54=11", "37-32=5", "11+5=16" ]
Current State: 16:[65, 54, 32, 37], Operations: [] Exploring Operation: 65-54=11, Resulting Numbers: [32, 37, 11] Generated Node #2: [32, 37, 11] from Operation: 65-54=11 Current State: 16:[32, 37, 11], Operations: ['65-54=11'] Exploring Operation: 37-32=5, Resulting Numbers: [11, 5] Generated Node #3: [11, 5] from Operation: 37-32=5 Current State: 16:[11, 5], Operations: ['65-54=11', '37-32=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[65, 54, 32, 37], Operations: [] Exploring Operation: 65-54=11, Resulting Numbers: [32, 37, 11] Generated Node #0,0: 16:[32, 37, 11] Operation: 65-54=11 Exploring Operation: 54-37=17, Resulting Numbers: [65, 32, 17] Generated Node #0,1: 16:[65, 32, 17] Operation: 54-37=17 Exploring Operation: 65-37=28, Resulting Numbers: [54, 32, 28] Generated Node #0,2: 16:[54, 32, 28] Operation: 65-37=28 Moving to Node #0,0 Current State: 16:[32, 37, 11], Operations: ['65-54=11'] Exploring Operation: 37-32=5, Resulting Numbers: [11, 5] Generated Node #0,0,0: 16:[11, 5] Operation: 37-32=5 Exploring Operation: 32-11=21, Resulting Numbers: [37, 21] Generated Node #0,0,1: 16:[37, 21] Operation: 32-11=21 Exploring Operation: 37-11=26, Resulting Numbers: [32, 26] Generated Node #0,0,2: 16:[32, 26] Operation: 37-11=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[11, 5], Operations: ['65-54=11', '37-32=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[65, 54, 32, 37], Operations: [] Exploring Operation: 65-54=11, Resulting Numbers: [32, 37, 11] Generated Node #0,0: 16:[32, 37, 11] Operation: 65-54=11 Moving to Node #0,0 Current State: 16:[32, 37, 11], Operations: ['65-54=11'] Exploring Operation: 37-32=5, Resulting Numbers: [11, 5] Generated Node #0,0,0: 16:[11, 5] Operation: 37-32=5 Moving to Node #0,0,0 Current State: 16:[11, 5], Operations: ['65-54=11', '37-32=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 30, 47, 56, 13 ]
34
[ "30+47=77", "56-13=43", "77-43=34" ]
Current State: 34:[30, 47, 56, 13], Operations: [] Exploring Operation: 30+47=77, Resulting Numbers: [56, 13, 77] Generated Node #2: [56, 13, 77] from Operation: 30+47=77 Current State: 34:[56, 13, 77], Operations: ['30+47=77'] Exploring Operation: 56-13=43, Resulting Numbers: [77, 43] Generated Node #3: [77, 43] from Operation: 56-13=43 Current State: 34:[77, 43], Operations: ['30+47=77', '56-13=43'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[30, 47, 56, 13], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [30, 13, 9] Generated Node #0,0: 34:[30, 13, 9] Operation: 56-47=9 Moving to Node #0,0 Current State: 34:[30, 13, 9], Operations: ['56-47=9'] Exploring Operation: 13-9=4, Resulting Numbers: [30, 4] Generated Node #0,0,0: 34:[30, 4] Operation: 13-9=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[30, 4], Operations: ['56-47=9', '13-9=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[30, 47, 56, 13], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [30, 13, 9] Generated Node #0,0: 34:[30, 13, 9] Operation: 56-47=9 Moving to Node #0,0 Current State: 34:[30, 13, 9], Operations: ['56-47=9'] Exploring Operation: 13-9=4, Resulting Numbers: [30, 4] Generated Node #0,0,0: 34:[30, 4] Operation: 13-9=4 Moving to Node #0,0,0 Current State: 34:[30, 4], Operations: ['56-47=9', '13-9=4'] Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 12, 14, 94, 98 ]
89
[ "94-12=82", "98/14=7", "82+7=89" ]
Current State: 89:[12, 14, 94, 98], Operations: [] Exploring Operation: 94-12=82, Resulting Numbers: [14, 98, 82] Generated Node #2: [14, 98, 82] from Operation: 94-12=82 Current State: 89:[14, 98, 82], Operations: ['94-12=82'] Exploring Operation: 98/14=7, Resulting Numbers: [82, 7] Generated Node #3: [82, 7] from Operation: 98/14=7 Current State: 89:[82, 7], Operations: ['94-12=82', '98/14=7'] Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[12, 14, 94, 98], Operations: [] Exploring Operation: 12+14=26, Resulting Numbers: [94, 98, 26] Generated Node #0,0: 89:[94, 98, 26] Operation: 12+14=26 Exploring Operation: 94-12=82, Resulting Numbers: [14, 98, 82] Generated Node #0,1: 89:[14, 98, 82] Operation: 94-12=82 Exploring Operation: 98-14=84, Resulting Numbers: [12, 94, 84] Generated Node #0,2: 89:[12, 94, 84] Operation: 98-14=84 Exploring Operation: 98-12=86, Resulting Numbers: [14, 94, 86] Generated Node #0,3: 89:[14, 94, 86] Operation: 98-12=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[94, 98, 26], Operations: ['12+14=26'] Exploring Operation: 98+26=124, Resulting Numbers: [94, 124] Generated Node #0,0,0: 89:[94, 124] Operation: 98+26=124 Exploring Operation: 94-26=68, Resulting Numbers: [98, 68] Generated Node #0,0,1: 89:[98, 68] Operation: 94-26=68 Exploring Operation: 94+26=120, Resulting Numbers: [98, 120] Generated Node #0,0,2: 89:[98, 120] Operation: 94+26=120 Exploring Operation: 98-26=72, Resulting Numbers: [94, 72] Generated Node #0,0,3: 89:[94, 72] Operation: 98-26=72 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 89:[94, 72], Operations: ['12+14=26', '98-26=72'] Exploring Operation: 94+72=166, Resulting Numbers: [166] 166,89 unequal: No Solution Exploring Operation: 94-72=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 94*72=6768, Resulting Numbers: [6768] 6768,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[98, 68], Operations: ['12+14=26', '94-26=68'] Exploring Operation: 98-68=30, Resulting Numbers: [30] 30,89 unequal: No Solution Exploring Operation: 98+68=166, Resulting Numbers: [166] 166,89 unequal: No Solution Exploring Operation: 98*68=6664, Resulting Numbers: [6664] 6664,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[94, 124], Operations: ['12+14=26', '98+26=124'] Exploring Operation: 94*124=11656, Resulting Numbers: [11656] 11656,89 unequal: No Solution Exploring Operation: 94+124=218, Resulting Numbers: [218] 218,89 unequal: No Solution Exploring Operation: 124-94=30, Resulting Numbers: [30] 30,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[98, 120], Operations: ['12+14=26', '94+26=120'] Exploring Operation: 120-98=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 98+120=218, Resulting Numbers: [218] 218,89 unequal: No Solution Exploring Operation: 98*120=11760, Resulting Numbers: [11760] 11760,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[14, 94, 86], Operations: ['98-12=86'] Exploring Operation: 94-14=80, Resulting Numbers: [86, 80] Generated Node #0,3,0: 89:[86, 80] Operation: 94-14=80 Exploring Operation: 14+94=108, Resulting Numbers: [86, 108] Generated Node #0,3,1: 89:[86, 108] Operation: 14+94=108 Exploring Operation: 14+86=100, Resulting Numbers: [94, 100] Generated Node #0,3,2: 89:[94, 100] Operation: 14+86=100 Exploring Operation: 86-14=72, Resulting Numbers: [94, 72] Generated Node #0,3,3: 89:[94, 72] Operation: 86-14=72 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 89:[86, 80], Operations: ['98-12=86', '94-14=80'] Exploring Operation: 86-80=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 86*80=6880, Resulting Numbers: [6880] 6880,89 unequal: No Solution Exploring Operation: 86+80=166, Resulting Numbers: [166] 166,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 89:[94, 100], Operations: ['98-12=86', '14+86=100'] Exploring Operation: 100-94=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 94+100=194, Resulting Numbers: [194] 194,89 unequal: No Solution Exploring Operation: 94*100=9400, Resulting Numbers: [9400] 9400,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 89:[86, 108], Operations: ['98-12=86', '14+94=108'] Exploring Operation: 86*108=9288, Resulting Numbers: [9288] 9288,89 unequal: No Solution Exploring Operation: 108-86=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 86+108=194, Resulting Numbers: [194] 194,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 89:[94, 72], Operations: ['98-12=86', '86-14=72'] Exploring Operation: 94*72=6768, Resulting Numbers: [6768] 6768,89 unequal: No Solution Exploring Operation: 94+72=166, Resulting Numbers: [166] 166,89 unequal: No Solution Exploring Operation: 94-72=22, Resulting Numbers: [22] 22,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[12, 94, 84], Operations: ['98-14=84'] Exploring Operation: 12+84=96, Resulting Numbers: [94, 96] Generated Node #0,2,0: 89:[94, 96] Operation: 12+84=96 Exploring Operation: 84-12=72, Resulting Numbers: [94, 72] Generated Node #0,2,1: 89:[94, 72] Operation: 84-12=72 Exploring Operation: 12+94=106, Resulting Numbers: [84, 106] Generated Node #0,2,2: 89:[84, 106] Operation: 12+94=106 Exploring Operation: 94-12=82, Resulting Numbers: [84, 82] Generated Node #0,2,3: 89:[84, 82] Operation: 94-12=82 Moving to Node #0,2,0 Current State: 89:[94, 96], Operations: ['98-14=84', '12+84=96'] Exploring Operation: 96-94=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 94*96=9024, Resulting Numbers: [9024] 9024,89 unequal: No Solution Exploring Operation: 94+96=190, Resulting Numbers: [190] 190,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[84, 82], Operations: ['98-14=84', '94-12=82'] Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 84+82=166, Resulting Numbers: [166] 166,89 unequal: No Solution Exploring Operation: 84*82=6888, Resulting Numbers: [6888] 6888,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[84, 106], Operations: ['98-14=84', '12+94=106'] Exploring Operation: 106-84=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 84+106=190, Resulting Numbers: [190] 190,89 unequal: No Solution Exploring Operation: 84*106=8904, Resulting Numbers: [8904] 8904,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[94, 72], Operations: ['98-14=84', '84-12=72'] Exploring Operation: 94+72=166, Resulting Numbers: [166] 166,89 unequal: No Solution Exploring Operation: 94*72=6768, Resulting Numbers: [6768] 6768,89 unequal: No Solution Exploring Operation: 94-72=22, Resulting Numbers: [22] 22,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[14, 98, 82], Operations: ['94-12=82'] Exploring Operation: 14+82=96, Resulting Numbers: [98, 96] Generated Node #0,1,0: 89:[98, 96] Operation: 14+82=96 Exploring Operation: 14+98=112, Resulting Numbers: [82, 112] Generated Node #0,1,1: 89:[82, 112] Operation: 14+98=112 Exploring Operation: 82-14=68, Resulting Numbers: [98, 68] Generated Node #0,1,2: 89:[98, 68] Operation: 82-14=68 Exploring Operation: 98-14=84, Resulting Numbers: [82, 84] Generated Node #0,1,3: 89:[82, 84] Operation: 98-14=84 Moving to Node #0,1,3 Current State: 89:[82, 84], Operations: ['94-12=82', '98-14=84'] Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 82*84=6888, Resulting Numbers: [6888] 6888,89 unequal: No Solution Exploring Operation: 82+84=166, Resulting Numbers: [166] 166,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[98, 96], Operations: ['94-12=82', '14+82=96'] Exploring Operation: 98-96=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 98+96=194, Resulting Numbers: [194] 194,89 unequal: No Solution Exploring Operation: 98*96=9408, Resulting Numbers: [9408] 9408,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[98, 68], Operations: ['94-12=82', '82-14=68'] Exploring Operation: 98*68=6664, Resulting Numbers: [6664] 6664,89 unequal: No Solution Exploring Operation: 98-68=30, Resulting Numbers: [30] 30,89 unequal: No Solution Exploring Operation: 98+68=166, Resulting Numbers: [166] 166,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[82, 112], Operations: ['94-12=82', '14+98=112'] Exploring Operation: 112-82=30, Resulting Numbers: [30] 30,89 unequal: No Solution Exploring Operation: 82+112=194, Resulting Numbers: [194] 194,89 unequal: No Solution Exploring Operation: 82*112=9184, Resulting Numbers: [9184] 9184,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 84, 80, 30, 94 ]
60
[ "84-80=4", "94-30=64", "64-4=60" ]
Current State: 60:[84, 80, 30, 94], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [30, 94, 4] Generated Node #2: [30, 94, 4] from Operation: 84-80=4 Current State: 60:[30, 94, 4], Operations: ['84-80=4'] Exploring Operation: 94-30=64, Resulting Numbers: [4, 64] Generated Node #3: [4, 64] from Operation: 94-30=64 Current State: 60:[4, 64], Operations: ['84-80=4', '94-30=64'] Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[84, 80, 30, 94], Operations: [] Exploring Operation: 94-80=14, Resulting Numbers: [84, 30, 14] Generated Node #0,0: 60:[84, 30, 14] Operation: 94-80=14 Exploring Operation: 94-84=10, Resulting Numbers: [80, 30, 10] Generated Node #0,1: 60:[80, 30, 10] Operation: 94-84=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[80, 30, 10], Operations: ['94-84=10'] Exploring Operation: 80-30=50, Resulting Numbers: [10, 50] Generated Node #0,1,0: 60:[10, 50] Operation: 80-30=50 Exploring Operation: 80/10=8, Resulting Numbers: [30, 8] Generated Node #0,1,1: 60:[30, 8] Operation: 80/10=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[30, 8], Operations: ['94-84=10', '80/10=8'] Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,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:[10, 50], Operations: ['94-84=10', '80-30=50'] Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[84, 80, 30, 94], Operations: [] Exploring Operation: 94-84=10, Resulting Numbers: [80, 30, 10] Generated Node #0,1: 60:[80, 30, 10] Operation: 94-84=10 Moving to Node #0,1 Current State: 60:[80, 30, 10], Operations: ['94-84=10'] Exploring Operation: 80-30=50, Resulting Numbers: [10, 50] Generated Node #0,1,0: 60:[10, 50] Operation: 80-30=50 Moving to Node #0,1,0 Current State: 60:[10, 50], Operations: ['94-84=10', '80-30=50'] Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 14, 15, 89, 42 ]
84
[ "14*15=210", "210/42=5", "89-5=84" ]
Current State: 84:[14, 15, 89, 42], Operations: [] Exploring Operation: 14*15=210, Resulting Numbers: [89, 42, 210] Generated Node #2: [89, 42, 210] from Operation: 14*15=210 Current State: 84:[89, 42, 210], Operations: ['14*15=210'] Exploring Operation: 210/42=5, Resulting Numbers: [89, 5] Generated Node #3: [89, 5] from Operation: 210/42=5 Current State: 84:[89, 5], Operations: ['14*15=210', '210/42=5'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[14, 15, 89, 42], Operations: [] Exploring Operation: 15-14=1, Resulting Numbers: [89, 42, 1] Generated Node #0,0: 84:[89, 42, 1] Operation: 15-14=1 Exploring Operation: 14+15=29, Resulting Numbers: [89, 42, 29] Generated Node #0,1: 84:[89, 42, 29] Operation: 14+15=29 Exploring Operation: 42-14=28, Resulting Numbers: [15, 89, 28] Generated Node #0,2: 84:[15, 89, 28] Operation: 42-14=28 Exploring Operation: 42/14=3, Resulting Numbers: [15, 89, 3] Generated Node #0,3: 84:[15, 89, 3] Operation: 42/14=3 Moving to Node #0,0 Current State: 84:[89, 42, 1], Operations: ['15-14=1'] Exploring Operation: 89-1=88, Resulting Numbers: [42, 88] Generated Node #0,0,0: 84:[42, 88] Operation: 89-1=88 Exploring Operation: 89/1=89, Resulting Numbers: [42, 89] Generated Node #0,0,1: 84:[42, 89] Operation: 89/1=89 Exploring Operation: 42*1=42, Resulting Numbers: [89, 42] Generated Node #0,0,2: 84:[89, 42] Operation: 42*1=42 Exploring Operation: 89*1=89, Resulting Numbers: [42, 89] Generated Node #0,0,3: 84:[42, 89] Operation: 89*1=89 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[42, 88], Operations: ['15-14=1', '89-1=88'] Exploring Operation: 42+88=130, Resulting Numbers: [130] 130,84 unequal: No Solution Exploring Operation: 88-42=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 42*88=3696, Resulting Numbers: [3696] 3696,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:[42, 89], Operations: ['15-14=1', '89/1=89'] Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 42+89=131, Resulting Numbers: [131] 131,84 unequal: No Solution Exploring Operation: 42*89=3738, Resulting Numbers: [3738] 3738,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:[89, 42], Operations: ['15-14=1', '42*1=42'] Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 89+42=131, Resulting Numbers: [131] 131,84 unequal: No Solution Exploring Operation: 89*42=3738, Resulting Numbers: [3738] 3738,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 84:[42, 89], Operations: ['15-14=1', '89*1=89'] Exploring Operation: 42*89=3738, Resulting Numbers: [3738] 3738,84 unequal: No Solution Exploring Operation: 42+89=131, Resulting Numbers: [131] 131,84 unequal: No Solution Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 84:[15, 89, 28], Operations: ['42-14=28'] Exploring Operation: 15+28=43, Resulting Numbers: [89, 43] Generated Node #0,2,0: 84:[89, 43] Operation: 15+28=43 Exploring Operation: 15+89=104, Resulting Numbers: [28, 104] Generated Node #0,2,1: 84:[28, 104] Operation: 15+89=104 Exploring Operation: 89-15=74, Resulting Numbers: [28, 74] Generated Node #0,2,2: 84:[28, 74] Operation: 89-15=74 Exploring Operation: 28-15=13, Resulting Numbers: [89, 13] Generated Node #0,2,3: 84:[89, 13] Operation: 28-15=13 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[89, 43], Operations: ['42-14=28', '15+28=43'] Exploring Operation: 89+43=132, Resulting Numbers: [132] 132,84 unequal: No Solution Exploring Operation: 89*43=3827, Resulting Numbers: [3827] 3827,84 unequal: No Solution Exploring Operation: 89-43=46, Resulting Numbers: [46] 46,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,3 Current State: 84:[89, 13], Operations: ['42-14=28', '28-15=13'] Exploring Operation: 89+13=102, Resulting Numbers: [102] 102,84 unequal: No Solution Exploring Operation: 89*13=1157, Resulting Numbers: [1157] 1157,84 unequal: No Solution Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[28, 74], Operations: ['42-14=28', '89-15=74'] Exploring Operation: 28*74=2072, Resulting Numbers: [2072] 2072,84 unequal: No Solution Exploring Operation: 28+74=102, Resulting Numbers: [102] 102,84 unequal: No Solution Exploring Operation: 74-28=46, Resulting Numbers: [46] 46,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:[28, 104], Operations: ['42-14=28', '15+89=104'] Exploring Operation: 104-28=76, Resulting Numbers: [76] 76,84 unequal: No Solution Exploring Operation: 28+104=132, Resulting Numbers: [132] 132,84 unequal: No Solution Exploring Operation: 28*104=2912, Resulting Numbers: [2912] 2912,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:[89, 42, 29], Operations: ['14+15=29'] Exploring Operation: 42-29=13, Resulting Numbers: [89, 13] Generated Node #0,1,0: 84:[89, 13] Operation: 42-29=13 Exploring Operation: 42+29=71, Resulting Numbers: [89, 71] Generated Node #0,1,1: 84:[89, 71] Operation: 42+29=71 Exploring Operation: 89-29=60, Resulting Numbers: [42, 60] Generated Node #0,1,2: 84:[42, 60] Operation: 89-29=60 Exploring Operation: 89-42=47, Resulting Numbers: [29, 47] Generated Node #0,1,3: 84:[29, 47] Operation: 89-42=47 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[89, 13], Operations: ['14+15=29', '42-29=13'] Exploring Operation: 89*13=1157, Resulting Numbers: [1157] 1157,84 unequal: No Solution Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,84 unequal: No Solution Exploring Operation: 89+13=102, Resulting Numbers: [102] 102,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 84:[29, 47], Operations: ['14+15=29', '89-42=47'] Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,84 unequal: No Solution Exploring Operation: 29*47=1363, Resulting Numbers: [1363] 1363,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:[89, 71], Operations: ['14+15=29', '42+29=71'] Exploring Operation: 89+71=160, Resulting Numbers: [160] 160,84 unequal: No Solution Exploring Operation: 89-71=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 89*71=6319, Resulting Numbers: [6319] 6319,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[42, 60], Operations: ['14+15=29', '89-29=60'] Exploring Operation: 42*60=2520, Resulting Numbers: [2520] 2520,84 unequal: No Solution Exploring Operation: 42+60=102, Resulting Numbers: [102] 102,84 unequal: No Solution Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,84 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: 84:[15, 89, 3], Operations: ['42/14=3'] Exploring Operation: 15-3=12, Resulting Numbers: [89, 12] Generated Node #0,3,0: 84:[89, 12] Operation: 15-3=12 Exploring Operation: 89-3=86, Resulting Numbers: [15, 86] Generated Node #0,3,1: 84:[15, 86] Operation: 89-3=86 Exploring Operation: 15/3=5, Resulting Numbers: [89, 5] Generated Node #0,3,2: 84:[89, 5] Operation: 15/3=5 Exploring Operation: 15+3=18, Resulting Numbers: [89, 18] Generated Node #0,3,3: 84:[89, 18] Operation: 15+3=18 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 84:[15, 86], Operations: ['42/14=3', '89-3=86'] Exploring Operation: 15*86=1290, Resulting Numbers: [1290] 1290,84 unequal: No Solution Exploring Operation: 15+86=101, Resulting Numbers: [101] 101,84 unequal: No Solution Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[89, 12], Operations: ['42/14=3', '15-3=12'] Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,84 unequal: No Solution Exploring Operation: 89+12=101, Resulting Numbers: [101] 101,84 unequal: No Solution Exploring Operation: 89*12=1068, Resulting Numbers: [1068] 1068,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 84:[89, 5], Operations: ['42/14=3', '15/3=5'] Exploring Operation: 89*5=445, Resulting Numbers: [445] 445,84 unequal: No Solution Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[14, 15, 89, 42], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [15, 89, 3] Generated Node #0,3: 84:[15, 89, 3] Operation: 42/14=3 Moving to Node #0,3 Current State: 84:[15, 89, 3], Operations: ['42/14=3'] Exploring Operation: 15/3=5, Resulting Numbers: [89, 5] Generated Node #0,3,2: 84:[89, 5] Operation: 15/3=5 Moving to Node #0,3,2 Current State: 84:[89, 5], Operations: ['42/14=3', '15/3=5'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.940104
hs_4
sum_heuristic
[ 5, 7, 10, 33 ]
90
[ "5*10=50", "7+33=40", "50+40=90" ]
Current State: 90:[5, 7, 10, 33], Operations: [] Exploring Operation: 5*10=50, Resulting Numbers: [7, 33, 50] Generated Node #2: [7, 33, 50] from Operation: 5*10=50 Current State: 90:[7, 33, 50], Operations: ['5*10=50'] Exploring Operation: 7+33=40, Resulting Numbers: [50, 40] Generated Node #3: [50, 40] from Operation: 7+33=40 Current State: 90:[50, 40], Operations: ['5*10=50', '7+33=40'] Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[5, 7, 10, 33], Operations: [] Exploring Operation: 7-5=2, Resulting Numbers: [10, 33, 2] Generated Node #0,0: 90:[10, 33, 2] Operation: 7-5=2 Exploring Operation: 10+33=43, Resulting Numbers: [5, 7, 43] Generated Node #0,1: 90:[5, 7, 43] Operation: 10+33=43 Exploring Operation: 5+10=15, Resulting Numbers: [7, 33, 15] Generated Node #0,2: 90:[7, 33, 15] Operation: 5+10=15 Exploring Operation: 10-7=3, Resulting Numbers: [5, 33, 3] Generated Node #0,3: 90:[5, 33, 3] Operation: 10-7=3 Exploring Operation: 33-5=28, Resulting Numbers: [7, 10, 28] Generated Node #0,4: 90:[7, 10, 28] Operation: 33-5=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[10, 33, 2], Operations: ['7-5=2'] Exploring Operation: 10-2=8, Resulting Numbers: [33, 8] Generated Node #0,0,0: 90:[33, 8] Operation: 10-2=8 Exploring Operation: 10+33=43, Resulting Numbers: [2, 43] Generated Node #0,0,1: 90:[2, 43] Operation: 10+33=43 Exploring Operation: 10/2=5, Resulting Numbers: [33, 5] Generated Node #0,0,2: 90:[33, 5] Operation: 10/2=5 Exploring Operation: 33-2=31, Resulting Numbers: [10, 31] Generated Node #0,0,3: 90:[10, 31] Operation: 33-2=31 Exploring Operation: 33-10=23, Resulting Numbers: [2, 23] Generated Node #0,0,4: 90:[2, 23] Operation: 33-10=23 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 90:[10, 31], Operations: ['7-5=2', '33-2=31'] Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,90 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[2, 43], Operations: ['7-5=2', '10+33=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,90 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 90:[33, 5], Operations: ['7-5=2', '10/2=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,90 unequal: No Solution Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,90 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[33, 8], Operations: ['7-5=2', '10-2=8'] Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,90 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 90:[2, 23], Operations: ['7-5=2', '33-10=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,90 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: 90:[5, 7, 43], Operations: ['10+33=43'] Exploring Operation: 5+7=12, Resulting Numbers: [43, 12] Generated Node #0,1,0: 90:[43, 12] Operation: 5+7=12 Exploring Operation: 7-5=2, Resulting Numbers: [43, 2] Generated Node #0,1,1: 90:[43, 2] Operation: 7-5=2 Exploring Operation: 5+43=48, Resulting Numbers: [7, 48] Generated Node #0,1,2: 90:[7, 48] Operation: 5+43=48 Exploring Operation: 7+43=50, Resulting Numbers: [5, 50] Generated Node #0,1,3: 90:[5, 50] Operation: 7+43=50 Exploring Operation: 43-7=36, Resulting Numbers: [5, 36] Generated Node #0,1,4: 90:[5, 36] Operation: 43-7=36 Moving to Node #0,1,1 Current State: 90:[43, 2], Operations: ['10+33=43', '7-5=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[7, 48], Operations: ['10+33=43', '5+43=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,90 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[43, 12], Operations: ['10+33=43', '5+7=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,90 unequal: No Solution Moving to Node #0,1,3 Current State: 90:[5, 50], Operations: ['10+33=43', '7+43=50'] Exploring Operation: 5+50=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 5*50=250, Resulting Numbers: [250] 250,90 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,90 unequal: No Solution Moving to Node #0,1,4 Current State: 90:[5, 36], Operations: ['10+33=43', '43-7=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,90 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[5, 33, 3], Operations: ['10-7=3'] Exploring Operation: 33/3=11, Resulting Numbers: [5, 11] Generated Node #0,3,0: 90:[5, 11] Operation: 33/3=11 Exploring Operation: 33-3=30, Resulting Numbers: [5, 30] Generated Node #0,3,1: 90:[5, 30] Operation: 33-3=30 Exploring Operation: 5*3=15, Resulting Numbers: [33, 15] Generated Node #0,3,2: 90:[33, 15] Operation: 5*3=15 Exploring Operation: 33-5=28, Resulting Numbers: [3, 28] Generated Node #0,3,3: 90:[3, 28] Operation: 33-5=28 Exploring Operation: 5-3=2, Resulting Numbers: [33, 2] Generated Node #0,3,4: 90:[33, 2] Operation: 5-3=2 Moving to Node #0,3,1 Current State: 90:[5, 30], Operations: ['10-7=3', '33-3=30'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,90 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[5, 11], Operations: ['10-7=3', '33/3=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,90 unequal: No Solution Moving to Node #0,3,3 Current State: 90:[3, 28], Operations: ['10-7=3', '33-5=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[33, 15], Operations: ['10-7=3', '5*3=15'] Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,90 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,90 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,90 unequal: No Solution Moving to Node #0,3,4 Current State: 90:[33, 2], Operations: ['10-7=3', '5-3=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,90 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 90:[7, 10, 28], Operations: ['33-5=28'] Exploring Operation: 28/7=4, Resulting Numbers: [10, 4] Generated Node #0,4,0: 90:[10, 4] Operation: 28/7=4 Exploring Operation: 7+10=17, Resulting Numbers: [28, 17] Generated Node #0,4,1: 90:[28, 17] Operation: 7+10=17 Exploring Operation: 10-7=3, Resulting Numbers: [28, 3] Generated Node #0,4,2: 90:[28, 3] Operation: 10-7=3 Exploring Operation: 28-10=18, Resulting Numbers: [7, 18] Generated Node #0,4,3: 90:[7, 18] Operation: 28-10=18 Exploring Operation: 28-7=21, Resulting Numbers: [10, 21] Generated Node #0,4,4: 90:[10, 21] Operation: 28-7=21 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 90:[10, 4], Operations: ['33-5=28', '28/7=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,90 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 90:[7, 18], Operations: ['33-5=28', '28-10=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 90:[28, 3], Operations: ['33-5=28', '10-7=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,90 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 90:[28, 17], Operations: ['33-5=28', '7+10=17'] Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 90:[10, 21], Operations: ['33-5=28', '28-7=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,90 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: 90:[7, 33, 15], Operations: ['5+10=15'] Exploring Operation: 33-15=18, Resulting Numbers: [7, 18] Generated Node #0,2,0: 90:[7, 18] Operation: 33-15=18 Exploring Operation: 15-7=8, Resulting Numbers: [33, 8] Generated Node #0,2,1: 90:[33, 8] Operation: 15-7=8 Exploring Operation: 33-7=26, Resulting Numbers: [15, 26] Generated Node #0,2,2: 90:[15, 26] Operation: 33-7=26 Exploring Operation: 33+15=48, Resulting Numbers: [7, 48] Generated Node #0,2,3: 90:[7, 48] Operation: 33+15=48 Exploring Operation: 7+33=40, Resulting Numbers: [15, 40] Generated Node #0,2,4: 90:[15, 40] Operation: 7+33=40 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 90:[7, 18], Operations: ['5+10=15', '33-15=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,90 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 90:[33, 8], Operations: ['5+10=15', '15-7=8'] Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,90 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 90:[15, 26], Operations: ['5+10=15', '33-7=26'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 15*26=390, Resulting Numbers: [390] 390,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 90:[7, 48], Operations: ['5+10=15', '33+15=48'] Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,90 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 90:[15, 40], Operations: ['5+10=15', '7+33=40'] Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 55, 42, 50, 32 ]
50
[ "55-50=5", "42-32=10", "5*10=50" ]
Current State: 50:[55, 42, 50, 32], Operations: [] Exploring Operation: 55-50=5, Resulting Numbers: [42, 32, 5] Generated Node #2: [42, 32, 5] from Operation: 55-50=5 Current State: 50:[42, 32, 5], Operations: ['55-50=5'] Exploring Operation: 42-32=10, Resulting Numbers: [5, 10] Generated Node #3: [5, 10] from Operation: 42-32=10 Current State: 50:[5, 10], Operations: ['55-50=5', '42-32=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[55, 42, 50, 32], Operations: [] Exploring Operation: 50-42=8, Resulting Numbers: [55, 32, 8] Generated Node #0,0: 50:[55, 32, 8] Operation: 50-42=8 Exploring Operation: 55-32=23, Resulting Numbers: [42, 50, 23] Generated Node #0,1: 50:[42, 50, 23] Operation: 55-32=23 Exploring Operation: 55-42=13, Resulting Numbers: [50, 32, 13] Generated Node #0,2: 50:[50, 32, 13] Operation: 55-42=13 Exploring Operation: 42-32=10, Resulting Numbers: [55, 50, 10] Generated Node #0,3: 50:[55, 50, 10] Operation: 42-32=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 50:[55, 50, 10], Operations: ['42-32=10'] Exploring Operation: 55-50=5, Resulting Numbers: [10, 5] Generated Node #0,3,0: 50:[10, 5] Operation: 55-50=5 Exploring Operation: 55+10=65, Resulting Numbers: [50, 65] Generated Node #0,3,1: 50:[50, 65] Operation: 55+10=65 Exploring Operation: 55-10=45, Resulting Numbers: [50, 45] Generated Node #0,3,2: 50:[50, 45] Operation: 55-10=45 Exploring Operation: 50/10=5, Resulting Numbers: [55, 5] Generated Node #0,3,3: 50:[55, 5] Operation: 50/10=5 Moving to Node #0,3,0 Current State: 50:[10, 5], Operations: ['42-32=10', '55-50=5'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[55, 42, 50, 32], Operations: [] Exploring Operation: 42-32=10, Resulting Numbers: [55, 50, 10] Generated Node #0,3: 50:[55, 50, 10] Operation: 42-32=10 Moving to Node #0,3 Current State: 50:[55, 50, 10], Operations: ['42-32=10'] Exploring Operation: 55-50=5, Resulting Numbers: [10, 5] Generated Node #0,3,0: 50:[10, 5] Operation: 55-50=5 Moving to Node #0,3,0 Current State: 50:[10, 5], Operations: ['42-32=10', '55-50=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 41, 88, 5, 2 ]
59
[ "88+2=90", "90/5=18", "41+18=59" ]
Current State: 59:[41, 88, 5, 2], Operations: [] Exploring Operation: 88+2=90, Resulting Numbers: [41, 5, 90] Generated Node #2: [41, 5, 90] from Operation: 88+2=90 Current State: 59:[41, 5, 90], Operations: ['88+2=90'] Exploring Operation: 90/5=18, Resulting Numbers: [41, 18] Generated Node #3: [41, 18] from Operation: 90/5=18 Current State: 59:[41, 18], Operations: ['88+2=90', '90/5=18'] Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[41, 88, 5, 2], Operations: [] Exploring Operation: 5*2=10, Resulting Numbers: [41, 88, 10] Generated Node #0,0: 59:[41, 88, 10] Operation: 5*2=10 Exploring Operation: 88/2=44, Resulting Numbers: [41, 5, 44] Generated Node #0,1: 59:[41, 5, 44] Operation: 88/2=44 Moving to Node #0,1 Current State: 59:[41, 5, 44], Operations: ['88/2=44'] Exploring Operation: 5+44=49, Resulting Numbers: [41, 49] Generated Node #0,1,0: 59:[41, 49] Operation: 5+44=49 Exploring Operation: 41+5=46, Resulting Numbers: [44, 46] Generated Node #0,1,1: 59:[44, 46] Operation: 41+5=46 Moving to Node #0,0 Current State: 59:[41, 88, 10], Operations: ['5*2=10'] Exploring Operation: 88-10=78, Resulting Numbers: [41, 78] Generated Node #0,0,0: 59:[41, 78] Operation: 88-10=78 Exploring Operation: 41+10=51, Resulting Numbers: [88, 51] Generated Node #0,0,1: 59:[88, 51] Operation: 41+10=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[41, 78], Operations: ['5*2=10', '88-10=78'] Exploring Operation: 41+78=119, Resulting Numbers: [119] 119,59 unequal: No Solution Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[88, 51], Operations: ['5*2=10', '41+10=51'] Exploring Operation: 88+51=139, Resulting Numbers: [139] 139,59 unequal: No Solution Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 59:[41, 49], Operations: ['88/2=44', '5+44=49'] Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 41+49=90, Resulting Numbers: [90] 90,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[44, 46], Operations: ['88/2=44', '41+5=46'] Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,59 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 81, 28, 85, 82 ]
55
[ "85-82=3", "81/3=27", "28+27=55" ]
Current State: 55:[81, 28, 85, 82], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [81, 28, 3] Generated Node #2: [81, 28, 3] from Operation: 85-82=3 Current State: 55:[81, 28, 3], Operations: ['85-82=3'] Exploring Operation: 81/3=27, Resulting Numbers: [28, 27] Generated Node #3: [28, 27] from Operation: 81/3=27 Current State: 55:[28, 27], Operations: ['85-82=3', '81/3=27'] Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[81, 28, 85, 82], Operations: [] Exploring Operation: 85-28=57, Resulting Numbers: [81, 82, 57] Generated Node #0,0: 55:[81, 82, 57] Operation: 85-28=57 Exploring Operation: 82-81=1, Resulting Numbers: [28, 85, 1] Generated Node #0,1: 55:[28, 85, 1] Operation: 82-81=1 Exploring Operation: 85-81=4, Resulting Numbers: [28, 82, 4] Generated Node #0,2: 55:[28, 82, 4] Operation: 85-81=4 Exploring Operation: 85-82=3, Resulting Numbers: [81, 28, 3] Generated Node #0,3: 55:[81, 28, 3] Operation: 85-82=3 Moving to Node #0,2 Current State: 55:[28, 82, 4], Operations: ['85-81=4'] Exploring Operation: 28-4=24, Resulting Numbers: [82, 24] Generated Node #0,2,0: 55:[82, 24] Operation: 28-4=24 Exploring Operation: 82-28=54, Resulting Numbers: [4, 54] Generated Node #0,2,1: 55:[4, 54] Operation: 82-28=54 Exploring Operation: 28/4=7, Resulting Numbers: [82, 7] Generated Node #0,2,2: 55:[82, 7] Operation: 28/4=7 Exploring Operation: 82-4=78, Resulting Numbers: [28, 78] Generated Node #0,2,3: 55:[28, 78] Operation: 82-4=78 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 55:[4, 54], Operations: ['85-81=4', '82-28=54'] Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,55 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,55 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[82, 7], Operations: ['85-81=4', '28/4=7'] Exploring Operation: 82*7=574, Resulting Numbers: [574] 574,55 unequal: No Solution Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,55 unequal: No Solution Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 55:[82, 24], Operations: ['85-81=4', '28-4=24'] Exploring Operation: 82-24=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 82+24=106, Resulting Numbers: [106] 106,55 unequal: No Solution Exploring Operation: 82*24=1968, Resulting Numbers: [1968] 1968,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 55:[28, 78], Operations: ['85-81=4', '82-4=78'] Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,55 unequal: No Solution Exploring Operation: 28*78=2184, Resulting Numbers: [2184] 2184,55 unequal: No Solution Exploring Operation: 28+78=106, Resulting Numbers: [106] 106,55 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: 55:[81, 28, 3], Operations: ['85-82=3'] Exploring Operation: 81/3=27, Resulting Numbers: [28, 27] Generated Node #0,3,0: 55:[28, 27] Operation: 81/3=27 Exploring Operation: 81-28=53, Resulting Numbers: [3, 53] Generated Node #0,3,1: 55:[3, 53] Operation: 81-28=53 Exploring Operation: 28-3=25, Resulting Numbers: [81, 25] Generated Node #0,3,2: 55:[81, 25] Operation: 28-3=25 Exploring Operation: 81-3=78, Resulting Numbers: [28, 78] Generated Node #0,3,3: 55:[28, 78] Operation: 81-3=78 Moving to Node #0,1 Current State: 55:[28, 85, 1], Operations: ['82-81=1'] Exploring Operation: 28-1=27, Resulting Numbers: [85, 27] Generated Node #0,1,0: 55:[85, 27] Operation: 28-1=27 Exploring Operation: 28*1=28, Resulting Numbers: [85, 28] Generated Node #0,1,1: 55:[85, 28] Operation: 28*1=28 Exploring Operation: 85-28=57, Resulting Numbers: [1, 57] Generated Node #0,1,2: 55:[1, 57] Operation: 85-28=57 Exploring Operation: 85-1=84, Resulting Numbers: [28, 84] Generated Node #0,1,3: 55:[28, 84] Operation: 85-1=84 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[1, 57], Operations: ['82-81=1', '85-28=57'] Exploring Operation: 1+57=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 1*57=57, Resulting Numbers: [57] 57,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[85, 27], Operations: ['82-81=1', '28-1=27'] Exploring Operation: 85+27=112, Resulting Numbers: [112] 112,55 unequal: No Solution Exploring Operation: 85*27=2295, Resulting Numbers: [2295] 2295,55 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 55:[28, 84], Operations: ['82-81=1', '85-1=84'] Exploring Operation: 28+84=112, Resulting Numbers: [112] 112,55 unequal: No Solution Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 28*84=2352, Resulting Numbers: [2352] 2352,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[85, 28], Operations: ['82-81=1', '28*1=28'] Exploring Operation: 85+28=113, Resulting Numbers: [113] 113,55 unequal: No Solution Exploring Operation: 85*28=2380, Resulting Numbers: [2380] 2380,55 unequal: No Solution Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,55 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: 55:[81, 82, 57], Operations: ['85-28=57'] Exploring Operation: 81-57=24, Resulting Numbers: [82, 24] Generated Node #0,0,0: 55:[82, 24] Operation: 81-57=24 Exploring Operation: 82-81=1, Resulting Numbers: [57, 1] Generated Node #0,0,1: 55:[57, 1] Operation: 82-81=1 Exploring Operation: 81+82=163, Resulting Numbers: [57, 163] Generated Node #0,0,2: 55:[57, 163] Operation: 81+82=163 Exploring Operation: 82-57=25, Resulting Numbers: [81, 25] Generated Node #0,0,3: 55:[81, 25] Operation: 82-57=25 Moving to Node #0,3,1 Current State: 55:[3, 53], Operations: ['85-82=3', '81-28=53'] Exploring Operation: 3*53=159, Resulting Numbers: [159] 159,55 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,55 unequal: No Solution Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[57, 1], Operations: ['85-28=57', '82-81=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[28, 27], Operations: ['85-82=3', '81/3=27'] Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[81, 28, 85, 82], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [81, 28, 3] Generated Node #0,3: 55:[81, 28, 3] Operation: 85-82=3 Moving to Node #0,3 Current State: 55:[81, 28, 3], Operations: ['85-82=3'] Exploring Operation: 81/3=27, Resulting Numbers: [28, 27] Generated Node #0,3,0: 55:[28, 27] Operation: 81/3=27 Moving to Node #0,3,0 Current State: 55:[28, 27], Operations: ['85-82=3', '81/3=27'] Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.949653
hs_4
mult_heuristic
[ 85, 94, 51, 2 ]
69
[ "94-85=9", "2*9=18", "51+18=69" ]
Current State: 69:[85, 94, 51, 2], Operations: [] Exploring Operation: 94-85=9, Resulting Numbers: [51, 2, 9] Generated Node #2: [51, 2, 9] from Operation: 94-85=9 Current State: 69:[51, 2, 9], Operations: ['94-85=9'] Exploring Operation: 2*9=18, Resulting Numbers: [51, 18] Generated Node #3: [51, 18] from Operation: 2*9=18 Current State: 69:[51, 18], Operations: ['94-85=9', '2*9=18'] Exploring Operation: 51+18=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[85, 94, 51, 2], Operations: [] Exploring Operation: 94-85=9, Resulting Numbers: [51, 2, 9] Generated Node #0,0: 69:[51, 2, 9] Operation: 94-85=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[51, 2, 9], Operations: ['94-85=9'] Exploring Operation: 51+9=60, Resulting Numbers: [2, 60] Generated Node #0,0,0: 69:[2, 60] Operation: 51+9=60 Moving to Node #0,0,0 Current State: 69:[2, 60], Operations: ['94-85=9', '51+9=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 92, 89, 28, 18 ]
82
[ "92-89=3", "18*3=54", "28+54=82" ]
Current State: 82:[92, 89, 28, 18], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [28, 18, 3] Generated Node #2: [28, 18, 3] from Operation: 92-89=3 Current State: 82:[28, 18, 3], Operations: ['92-89=3'] Exploring Operation: 18*3=54, Resulting Numbers: [28, 54] Generated Node #3: [28, 54] from Operation: 18*3=54 Current State: 82:[28, 54], Operations: ['92-89=3', '18*3=54'] Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[92, 89, 28, 18], Operations: [] Exploring Operation: 28+18=46, Resulting Numbers: [92, 89, 46] Generated Node #0,0: 82:[92, 89, 46] Operation: 28+18=46 Exploring Operation: 92-18=74, Resulting Numbers: [89, 28, 74] Generated Node #0,1: 82:[89, 28, 74] Operation: 92-18=74 Exploring Operation: 28-18=10, Resulting Numbers: [92, 89, 10] Generated Node #0,2: 82:[92, 89, 10] Operation: 28-18=10 Exploring Operation: 92-89=3, Resulting Numbers: [28, 18, 3] Generated Node #0,3: 82:[28, 18, 3] Operation: 92-89=3 Moving to Node #0,0 Current State: 82:[92, 89, 46], Operations: ['28+18=46'] Exploring Operation: 92-46=46, Resulting Numbers: [89, 46] Generated Node #0,0,0: 82:[89, 46] Operation: 92-46=46 Exploring Operation: 92-89=3, Resulting Numbers: [46, 3] Generated Node #0,0,1: 82:[46, 3] Operation: 92-89=3 Exploring Operation: 89-46=43, Resulting Numbers: [92, 43] Generated Node #0,0,2: 82:[92, 43] Operation: 89-46=43 Exploring Operation: 92/46=2, Resulting Numbers: [89, 2] Generated Node #0,0,3: 82:[89, 2] Operation: 92/46=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[46, 3], Operations: ['28+18=46', '92-89=3'] Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,82 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 82:[89, 2], Operations: ['28+18=46', '92/46=2'] Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,82 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,82 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[89, 46], Operations: ['28+18=46', '92-46=46'] Exploring Operation: 89*46=4094, Resulting Numbers: [4094] 4094,82 unequal: No Solution Exploring Operation: 89+46=135, Resulting Numbers: [135] 135,82 unequal: No Solution Exploring Operation: 89-46=43, Resulting Numbers: [43] 43,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[92, 43], Operations: ['28+18=46', '89-46=43'] Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,82 unequal: No Solution Exploring Operation: 92+43=135, Resulting Numbers: [135] 135,82 unequal: No Solution Exploring Operation: 92*43=3956, Resulting Numbers: [3956] 3956,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 82:[92, 89, 10], Operations: ['28-18=10'] Exploring Operation: 92-10=82, Resulting Numbers: [89, 82] Generated Node #0,2,0: 82:[89, 82] Operation: 92-10=82 Exploring Operation: 89-10=79, Resulting Numbers: [92, 79] Generated Node #0,2,1: 82:[92, 79] Operation: 89-10=79 Exploring Operation: 92-89=3, Resulting Numbers: [10, 3] Generated Node #0,2,2: 82:[10, 3] Operation: 92-89=3 Exploring Operation: 92+10=102, Resulting Numbers: [89, 102] Generated Node #0,2,3: 82:[89, 102] Operation: 92+10=102 Moving to Node #0,1 Current State: 82:[89, 28, 74], Operations: ['92-18=74'] Exploring Operation: 74-28=46, Resulting Numbers: [89, 46] Generated Node #0,1,0: 82:[89, 46] Operation: 74-28=46 Exploring Operation: 89-28=61, Resulting Numbers: [74, 61] Generated Node #0,1,1: 82:[74, 61] Operation: 89-28=61 Exploring Operation: 89-74=15, Resulting Numbers: [28, 15] Generated Node #0,1,2: 82:[28, 15] Operation: 89-74=15 Exploring Operation: 28+74=102, Resulting Numbers: [89, 102] Generated Node #0,1,3: 82:[89, 102] Operation: 28+74=102 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[89, 46], Operations: ['92-18=74', '74-28=46'] Exploring Operation: 89+46=135, Resulting Numbers: [135] 135,82 unequal: No Solution Exploring Operation: 89-46=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 89*46=4094, Resulting Numbers: [4094] 4094,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[28, 15], Operations: ['92-18=74', '89-74=15'] Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 28*15=420, Resulting Numbers: [420] 420,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 82:[89, 102], Operations: ['92-18=74', '28+74=102'] Exploring Operation: 89+102=191, Resulting Numbers: [191] 191,82 unequal: No Solution Exploring Operation: 102-89=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 89*102=9078, Resulting Numbers: [9078] 9078,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[74, 61], Operations: ['92-18=74', '89-28=61'] Exploring Operation: 74+61=135, Resulting Numbers: [135] 135,82 unequal: No Solution Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 74*61=4514, Resulting Numbers: [4514] 4514,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 82:[28, 18, 3], Operations: ['92-89=3'] Exploring Operation: 28-18=10, Resulting Numbers: [3, 10] Generated Node #0,3,0: 82:[3, 10] Operation: 28-18=10 Exploring Operation: 28*3=84, Resulting Numbers: [18, 84] Generated Node #0,3,1: 82:[18, 84] Operation: 28*3=84 Exploring Operation: 28+18=46, Resulting Numbers: [3, 46] Generated Node #0,3,2: 82:[3, 46] Operation: 28+18=46 Exploring Operation: 18/3=6, Resulting Numbers: [28, 6] Generated Node #0,3,3: 82:[28, 6] Operation: 18/3=6 Moving to Node #0,3,2 Current State: 82:[3, 46], Operations: ['92-89=3', '28+18=46'] Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,82 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,82 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[89, 82], Operations: ['28-18=10', '92-10=82'] Exploring Operation: 89*82=7298, Resulting Numbers: [7298] 7298,82 unequal: No Solution Exploring Operation: 89+82=171, Resulting Numbers: [171] 171,82 unequal: No Solution Exploring Operation: 89-82=7, Resulting Numbers: [7] 7,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[3, 10], Operations: ['92-89=3', '28-18=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[10, 3], Operations: ['28-18=10', '92-89=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,82 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[92, 79], Operations: ['28-18=10', '89-10=79'] Exploring Operation: 92*79=7268, Resulting Numbers: [7268] 7268,82 unequal: No Solution Exploring Operation: 92+79=171, Resulting Numbers: [171] 171,82 unequal: No Solution Exploring Operation: 92-79=13, Resulting Numbers: [13] 13,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[28, 6], Operations: ['92-89=3', '18/3=6'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,82 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[18, 84], Operations: ['92-89=3', '28*3=84'] Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,82 unequal: No Solution Exploring Operation: 18+84=102, Resulting Numbers: [102] 102,82 unequal: No Solution Exploring Operation: 18*84=1512, Resulting Numbers: [1512] 1512,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[89, 102], Operations: ['28-18=10', '92+10=102'] Exploring Operation: 89+102=191, Resulting Numbers: [191] 191,82 unequal: No Solution Exploring Operation: 102-89=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 89*102=9078, Resulting Numbers: [9078] 9078,82 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 8, 18, 75, 46 ]
95
[ "8+18=26", "75+46=121", "121-26=95" ]
Current State: 95:[8, 18, 75, 46], Operations: [] Exploring Operation: 8+18=26, Resulting Numbers: [75, 46, 26] Generated Node #2: [75, 46, 26] from Operation: 8+18=26 Current State: 95:[75, 46, 26], Operations: ['8+18=26'] Exploring Operation: 75+46=121, Resulting Numbers: [26, 121] Generated Node #3: [26, 121] from Operation: 75+46=121 Current State: 95:[26, 121], Operations: ['8+18=26', '75+46=121'] Exploring Operation: 121-26=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[8, 18, 75, 46], Operations: [] Exploring Operation: 75+46=121, Resulting Numbers: [8, 18, 121] Generated Node #0,0: 95:[8, 18, 121] Operation: 75+46=121 Exploring Operation: 75-46=29, Resulting Numbers: [8, 18, 29] Generated Node #0,1: 95:[8, 18, 29] Operation: 75-46=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[8, 18, 29], Operations: ['75-46=29'] Exploring Operation: 29-18=11, Resulting Numbers: [8, 11] Generated Node #0,1,0: 95:[8, 11] Operation: 29-18=11 Exploring Operation: 29-8=21, Resulting Numbers: [18, 21] Generated Node #0,1,1: 95:[18, 21] Operation: 29-8=21 Moving to Node #0,1,1 Current State: 95:[18, 21], Operations: ['75-46=29', '29-8=21'] Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,95 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[8, 11], Operations: ['75-46=29', '29-18=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[8, 18, 121], Operations: ['75+46=121'] Exploring Operation: 121-8=113, Resulting Numbers: [18, 113] Generated Node #0,0,0: 95:[18, 113] Operation: 121-8=113 Exploring Operation: 121-18=103, Resulting Numbers: [8, 103] Generated Node #0,0,1: 95:[8, 103] Operation: 121-18=103 Moving to Node #0,0,1 Current State: 95:[8, 103], Operations: ['75+46=121', '121-18=103'] Exploring Operation: 8+103=111, Resulting Numbers: [111] 111,95 unequal: No Solution Exploring Operation: 103-8=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[8, 18, 75, 46], Operations: [] Exploring Operation: 75+46=121, Resulting Numbers: [8, 18, 121] Generated Node #0,0: 95:[8, 18, 121] Operation: 75+46=121 Moving to Node #0,0 Current State: 95:[8, 18, 121], Operations: ['75+46=121'] Exploring Operation: 121-18=103, Resulting Numbers: [8, 103] Generated Node #0,0,1: 95:[8, 103] Operation: 121-18=103 Moving to Node #0,0,1 Current State: 95:[8, 103], Operations: ['75+46=121', '121-18=103'] Exploring Operation: 103-8=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 95, 5, 46, 93 ]
87
[ "95-93=2", "46*2=92", "92-5=87" ]
Current State: 87:[95, 5, 46, 93], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [5, 46, 2] Generated Node #2: [5, 46, 2] from Operation: 95-93=2 Current State: 87:[5, 46, 2], Operations: ['95-93=2'] Exploring Operation: 46*2=92, Resulting Numbers: [5, 92] Generated Node #3: [5, 92] from Operation: 46*2=92 Current State: 87:[5, 92], Operations: ['95-93=2', '46*2=92'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[95, 5, 46, 93], Operations: [] Exploring Operation: 46-5=41, Resulting Numbers: [95, 93, 41] Generated Node #0,0: 87:[95, 93, 41] Operation: 46-5=41 Exploring Operation: 95-93=2, Resulting Numbers: [5, 46, 2] Generated Node #0,1: 87:[5, 46, 2] Operation: 95-93=2 Exploring Operation: 95-5=90, Resulting Numbers: [46, 93, 90] Generated Node #0,2: 87:[46, 93, 90] Operation: 95-5=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[5, 46, 2], Operations: ['95-93=2'] Exploring Operation: 46/2=23, Resulting Numbers: [5, 23] Generated Node #0,1,0: 87:[5, 23] Operation: 46/2=23 Exploring Operation: 46*2=92, Resulting Numbers: [5, 92] Generated Node #0,1,1: 87:[5, 92] Operation: 46*2=92 Exploring Operation: 46-5=41, Resulting Numbers: [2, 41] Generated Node #0,1,2: 87:[2, 41] Operation: 46-5=41 Moving to Node #0,1,1 Current State: 87:[5, 92], Operations: ['95-93=2', '46*2=92'] Exploring Operation: 5*92=460, Resulting Numbers: [460] 460,87 unequal: No Solution Exploring Operation: 5+92=97, Resulting Numbers: [97] 97,87 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[95, 5, 46, 93], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [5, 46, 2] Generated Node #0,1: 87:[5, 46, 2] Operation: 95-93=2 Moving to Node #0,1 Current State: 87:[5, 46, 2], Operations: ['95-93=2'] Exploring Operation: 46*2=92, Resulting Numbers: [5, 92] Generated Node #0,1,1: 87:[5, 92] Operation: 46*2=92 Moving to Node #0,1,1 Current State: 87:[5, 92], Operations: ['95-93=2', '46*2=92'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 53, 9, 37, 84 ]
56
[ "37-9=28", "84/28=3", "53+3=56" ]
Current State: 56:[53, 9, 37, 84], Operations: [] Exploring Operation: 37-9=28, Resulting Numbers: [53, 84, 28] Generated Node #2: [53, 84, 28] from Operation: 37-9=28 Current State: 56:[53, 84, 28], Operations: ['37-9=28'] Exploring Operation: 84/28=3, Resulting Numbers: [53, 3] Generated Node #3: [53, 3] from Operation: 84/28=3 Current State: 56:[53, 3], Operations: ['37-9=28', '84/28=3'] Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[53, 9, 37, 84], Operations: [] Exploring Operation: 84-37=47, Resulting Numbers: [53, 9, 47] Generated Node #0,0: 56:[53, 9, 47] Operation: 84-37=47 Exploring Operation: 37-9=28, Resulting Numbers: [53, 84, 28] Generated Node #0,1: 56:[53, 84, 28] Operation: 37-9=28 Exploring Operation: 84-53=31, Resulting Numbers: [9, 37, 31] Generated Node #0,2: 56:[9, 37, 31] Operation: 84-53=31 Exploring Operation: 53-37=16, Resulting Numbers: [9, 84, 16] Generated Node #0,3: 56:[9, 84, 16] Operation: 53-37=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[53, 9, 47], Operations: ['84-37=47'] Exploring Operation: 53+9=62, Resulting Numbers: [47, 62] Generated Node #0,0,0: 56:[47, 62] Operation: 53+9=62 Exploring Operation: 47-9=38, Resulting Numbers: [53, 38] Generated Node #0,0,1: 56:[53, 38] Operation: 47-9=38 Exploring Operation: 53-47=6, Resulting Numbers: [9, 6] Generated Node #0,0,2: 56:[9, 6] Operation: 53-47=6 Exploring Operation: 9+47=56, Resulting Numbers: [53, 56] Generated Node #0,0,3: 56:[53, 56] Operation: 9+47=56 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[9, 6], Operations: ['84-37=47', '53-47=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 56:[53, 56], Operations: ['84-37=47', '9+47=56'] Exploring Operation: 53+56=109, Resulting Numbers: [109] 109,56 unequal: No Solution Exploring Operation: 53*56=2968, Resulting Numbers: [2968] 2968,56 unequal: No Solution Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[53, 38], Operations: ['84-37=47', '47-9=38'] Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 53+38=91, Resulting Numbers: [91] 91,56 unequal: No Solution Exploring Operation: 53*38=2014, Resulting Numbers: [2014] 2014,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[47, 62], Operations: ['84-37=47', '53+9=62'] Exploring Operation: 47+62=109, Resulting Numbers: [109] 109,56 unequal: No Solution Exploring Operation: 47*62=2914, Resulting Numbers: [2914] 2914,56 unequal: No Solution Exploring Operation: 62-47=15, Resulting Numbers: [15] 15,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[9, 37, 31], Operations: ['84-53=31'] Exploring Operation: 9+37=46, Resulting Numbers: [31, 46] Generated Node #0,2,0: 56:[31, 46] Operation: 9+37=46 Exploring Operation: 37-31=6, Resulting Numbers: [9, 6] Generated Node #0,2,1: 56:[9, 6] Operation: 37-31=6 Exploring Operation: 37-9=28, Resulting Numbers: [31, 28] Generated Node #0,2,2: 56:[31, 28] Operation: 37-9=28 Exploring Operation: 37+31=68, Resulting Numbers: [9, 68] Generated Node #0,2,3: 56:[9, 68] Operation: 37+31=68 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 56:[9, 6], Operations: ['84-53=31', '37-31=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,56 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 56:[31, 28], Operations: ['84-53=31', '37-9=28'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,56 unequal: No Solution Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[31, 46], Operations: ['84-53=31', '9+37=46'] Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 31+46=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 31*46=1426, Resulting Numbers: [1426] 1426,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 56:[9, 68], Operations: ['84-53=31', '37+31=68'] Exploring Operation: 9*68=612, Resulting Numbers: [612] 612,56 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[53, 84, 28], Operations: ['37-9=28'] Exploring Operation: 84-53=31, Resulting Numbers: [28, 31] Generated Node #0,1,0: 56:[28, 31] Operation: 84-53=31 Exploring Operation: 53-28=25, Resulting Numbers: [84, 25] Generated Node #0,1,1: 56:[84, 25] Operation: 53-28=25 Exploring Operation: 84-28=56, Resulting Numbers: [53, 56] Generated Node #0,1,2: 56:[53, 56] Operation: 84-28=56 Exploring Operation: 84/28=3, Resulting Numbers: [53, 3] Generated Node #0,1,3: 56:[53, 3] Operation: 84/28=3 Moving to Node #0,1,0 Current State: 56:[28, 31], Operations: ['37-9=28', '84-53=31'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,56 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[53, 56], Operations: ['37-9=28', '84-28=56'] Exploring Operation: 53+56=109, Resulting Numbers: [109] 109,56 unequal: No Solution Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 53*56=2968, Resulting Numbers: [2968] 2968,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[53, 3], Operations: ['37-9=28', '84/28=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,56 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[53, 9, 37, 84], Operations: [] Exploring Operation: 37-9=28, Resulting Numbers: [53, 84, 28] Generated Node #0,1: 56:[53, 84, 28] Operation: 37-9=28 Moving to Node #0,1 Current State: 56:[53, 84, 28], Operations: ['37-9=28'] Exploring Operation: 84/28=3, Resulting Numbers: [53, 3] Generated Node #0,1,3: 56:[53, 3] Operation: 84/28=3 Moving to Node #0,1,3 Current State: 56:[53, 3], Operations: ['37-9=28', '84/28=3'] Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_4
mult_heuristic
[ 58, 38, 69, 34 ]
44
[ "69-58=11", "38-34=4", "11*4=44" ]
Current State: 44:[58, 38, 69, 34], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [38, 34, 11] Generated Node #2: [38, 34, 11] from Operation: 69-58=11 Current State: 44:[38, 34, 11], Operations: ['69-58=11'] Exploring Operation: 38-34=4, Resulting Numbers: [11, 4] Generated Node #3: [11, 4] from Operation: 38-34=4 Current State: 44:[11, 4], Operations: ['69-58=11', '38-34=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[58, 38, 69, 34], Operations: [] Exploring Operation: 69-34=35, Resulting Numbers: [58, 38, 35] Generated Node #0,0: 44:[58, 38, 35] Operation: 69-34=35 Exploring Operation: 69-58=11, Resulting Numbers: [38, 34, 11] Generated Node #0,1: 44:[38, 34, 11] Operation: 69-58=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[38, 34, 11], Operations: ['69-58=11'] Exploring Operation: 34+11=45, Resulting Numbers: [38, 45] Generated Node #0,1,0: 44:[38, 45] Operation: 34+11=45 Exploring Operation: 38-34=4, Resulting Numbers: [11, 4] Generated Node #0,1,1: 44:[11, 4] Operation: 38-34=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[11, 4], Operations: ['69-58=11', '38-34=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[58, 38, 69, 34], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [38, 34, 11] Generated Node #0,1: 44:[38, 34, 11] Operation: 69-58=11 Moving to Node #0,1 Current State: 44:[38, 34, 11], Operations: ['69-58=11'] Exploring Operation: 38-34=4, Resulting Numbers: [11, 4] Generated Node #0,1,1: 44:[11, 4] Operation: 38-34=4 Moving to Node #0,1,1 Current State: 44:[11, 4], Operations: ['69-58=11', '38-34=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 65, 47, 60, 89 ]
47
[ "65-47=18", "89-60=29", "18+29=47" ]
Current State: 47:[65, 47, 60, 89], Operations: [] Exploring Operation: 65-47=18, Resulting Numbers: [60, 89, 18] Generated Node #2: [60, 89, 18] from Operation: 65-47=18 Current State: 47:[60, 89, 18], Operations: ['65-47=18'] Exploring Operation: 89-60=29, Resulting Numbers: [18, 29] Generated Node #3: [18, 29] from Operation: 89-60=29 Current State: 47:[18, 29], Operations: ['65-47=18', '89-60=29'] Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[65, 47, 60, 89], Operations: [] Exploring Operation: 65-47=18, Resulting Numbers: [60, 89, 18] Generated Node #0,0: 47:[60, 89, 18] Operation: 65-47=18 Exploring Operation: 89-65=24, Resulting Numbers: [47, 60, 24] Generated Node #0,1: 47:[47, 60, 24] Operation: 89-65=24 Exploring Operation: 89-47=42, Resulting Numbers: [65, 60, 42] Generated Node #0,2: 47:[65, 60, 42] Operation: 89-47=42 Exploring Operation: 89-60=29, Resulting Numbers: [65, 47, 29] Generated Node #0,3: 47:[65, 47, 29] Operation: 89-60=29 Moving to Node #0,1 Current State: 47:[47, 60, 24], Operations: ['89-65=24'] Exploring Operation: 47-24=23, Resulting Numbers: [60, 23] Generated Node #0,1,0: 47:[60, 23] Operation: 47-24=23 Exploring Operation: 60+24=84, Resulting Numbers: [47, 84] Generated Node #0,1,1: 47:[47, 84] Operation: 60+24=84 Exploring Operation: 47+24=71, Resulting Numbers: [60, 71] Generated Node #0,1,2: 47:[60, 71] Operation: 47+24=71 Exploring Operation: 60-24=36, Resulting Numbers: [47, 36] Generated Node #0,1,3: 47:[47, 36] Operation: 60-24=36 Moving to Node #0,3 Current State: 47:[65, 47, 29], Operations: ['89-60=29'] Exploring Operation: 47+29=76, Resulting Numbers: [65, 76] Generated Node #0,3,0: 47:[65, 76] Operation: 47+29=76 Exploring Operation: 65-29=36, Resulting Numbers: [47, 36] Generated Node #0,3,1: 47:[47, 36] Operation: 65-29=36 Exploring Operation: 65+29=94, Resulting Numbers: [47, 94] Generated Node #0,3,2: 47:[47, 94] Operation: 65+29=94 Exploring Operation: 65-47=18, Resulting Numbers: [29, 18] Generated Node #0,3,3: 47:[29, 18] Operation: 65-47=18 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 47:[47, 36], Operations: ['89-60=29', '65-29=36'] Exploring Operation: 47*36=1692, Resulting Numbers: [1692] 1692,47 unequal: No Solution Exploring Operation: 47+36=83, Resulting Numbers: [83] 83,47 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,47 unequal: No Solution No 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: 47:[65, 76], Operations: ['89-60=29', '47+29=76'] Exploring Operation: 65*76=4940, Resulting Numbers: [4940] 4940,47 unequal: No Solution Exploring Operation: 76-65=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 65+76=141, Resulting Numbers: [141] 141,47 unequal: No Solution No 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: 47:[47, 94], Operations: ['89-60=29', '65+29=94'] Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 47*94=4418, Resulting Numbers: [4418] 4418,47 unequal: No Solution Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[65, 47, 60, 89], Operations: [] Exploring Operation: 89-60=29, Resulting Numbers: [65, 47, 29] Generated Node #0,3: 47:[65, 47, 29] Operation: 89-60=29 Moving to Node #0,3 Current State: 47:[65, 47, 29], Operations: ['89-60=29'] Exploring Operation: 65+29=94, Resulting Numbers: [47, 94] Generated Node #0,3,2: 47:[47, 94] Operation: 65+29=94 Moving to Node #0,3,2 Current State: 47:[47, 94], Operations: ['89-60=29', '65+29=94'] Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
sum_heuristic
[ 21, 66, 37, 82 ]
74
[ "66-21=45", "37+82=119", "119-45=74" ]
Current State: 74:[21, 66, 37, 82], Operations: [] Exploring Operation: 66-21=45, Resulting Numbers: [37, 82, 45] Generated Node #2: [37, 82, 45] from Operation: 66-21=45 Current State: 74:[37, 82, 45], Operations: ['66-21=45'] Exploring Operation: 37+82=119, Resulting Numbers: [45, 119] Generated Node #3: [45, 119] from Operation: 37+82=119 Current State: 74:[45, 119], Operations: ['66-21=45', '37+82=119'] Exploring Operation: 119-45=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[21, 66, 37, 82], Operations: [] Exploring Operation: 66-21=45, Resulting Numbers: [37, 82, 45] Generated Node #0,0: 74:[37, 82, 45] Operation: 66-21=45 Moving to Node #0,0 Current State: 74:[37, 82, 45], Operations: ['66-21=45'] Exploring Operation: 82-45=37, Resulting Numbers: [37, 37] Generated Node #0,0,0: 74:[37, 37] Operation: 82-45=37 Moving to Node #0,0,0 Current State: 74:[37, 37], Operations: ['66-21=45', '82-45=37'] Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[21, 66, 37, 82], Operations: [] Exploring Operation: 66-21=45, Resulting Numbers: [37, 82, 45] Generated Node #0,0: 74:[37, 82, 45] Operation: 66-21=45 Moving to Node #0,0 Current State: 74:[37, 82, 45], Operations: ['66-21=45'] Exploring Operation: 82-45=37, Resulting Numbers: [37, 37] Generated Node #0,0,0: 74:[37, 37] Operation: 82-45=37 Moving to Node #0,0,0 Current State: 74:[37, 37], Operations: ['66-21=45', '82-45=37'] Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 73, 65, 13, 39 ]
29
[ "73-39=34", "65/13=5", "34-5=29" ]
Current State: 29:[73, 65, 13, 39], Operations: [] Exploring Operation: 73-39=34, Resulting Numbers: [65, 13, 34] Generated Node #2: [65, 13, 34] from Operation: 73-39=34 Current State: 29:[65, 13, 34], Operations: ['73-39=34'] Exploring Operation: 65/13=5, Resulting Numbers: [34, 5] Generated Node #3: [34, 5] from Operation: 65/13=5 Current State: 29:[34, 5], Operations: ['73-39=34', '65/13=5'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[73, 65, 13, 39], Operations: [] Exploring Operation: 73-39=34, Resulting Numbers: [65, 13, 34] Generated Node #0,0: 29:[65, 13, 34] Operation: 73-39=34 Exploring Operation: 73-13=60, Resulting Numbers: [65, 39, 60] Generated Node #0,1: 29:[65, 39, 60] Operation: 73-13=60 Exploring Operation: 73-65=8, Resulting Numbers: [13, 39, 8] Generated Node #0,2: 29:[13, 39, 8] Operation: 73-65=8 Exploring Operation: 65-39=26, Resulting Numbers: [73, 13, 26] Generated Node #0,3: 29:[73, 13, 26] Operation: 65-39=26 Moving to Node #0,2 Current State: 29:[13, 39, 8], Operations: ['73-65=8'] Exploring Operation: 13+8=21, Resulting Numbers: [39, 21] Generated Node #0,2,0: 29:[39, 21] Operation: 13+8=21 Exploring Operation: 13-8=5, Resulting Numbers: [39, 5] Generated Node #0,2,1: 29:[39, 5] Operation: 13-8=5 Exploring Operation: 39-13=26, Resulting Numbers: [8, 26] Generated Node #0,2,2: 29:[8, 26] Operation: 39-13=26 Exploring Operation: 39-8=31, Resulting Numbers: [13, 31] Generated Node #0,2,3: 29:[13, 31] Operation: 39-8=31 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[39, 21], Operations: ['73-65=8', '13+8=21'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,29 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,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,3 Current State: 29:[13, 31], Operations: ['73-65=8', '39-8=31'] Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,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,2 Current State: 29:[8, 26], Operations: ['73-65=8', '39-13=26'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,29 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,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,1 Current State: 29:[39, 5], Operations: ['73-65=8', '13-8=5'] Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,29 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,29 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: 29:[65, 13, 34], Operations: ['73-39=34'] Exploring Operation: 34-13=21, Resulting Numbers: [65, 21] Generated Node #0,0,0: 29:[65, 21] Operation: 34-13=21 Exploring Operation: 65-13=52, Resulting Numbers: [34, 52] Generated Node #0,0,1: 29:[34, 52] Operation: 65-13=52 Exploring Operation: 65/13=5, Resulting Numbers: [34, 5] Generated Node #0,0,2: 29:[34, 5] Operation: 65/13=5 Exploring Operation: 65-34=31, Resulting Numbers: [13, 31] Generated Node #0,0,3: 29:[13, 31] Operation: 65-34=31 Moving to Node #0,3 Current State: 29:[73, 13, 26], Operations: ['65-39=26'] Exploring Operation: 73+13=86, Resulting Numbers: [26, 86] Generated Node #0,3,0: 29:[26, 86] Operation: 73+13=86 Exploring Operation: 73-13=60, Resulting Numbers: [26, 60] Generated Node #0,3,1: 29:[26, 60] Operation: 73-13=60 Exploring Operation: 13+26=39, Resulting Numbers: [73, 39] Generated Node #0,3,2: 29:[73, 39] Operation: 13+26=39 Exploring Operation: 73-26=47, Resulting Numbers: [13, 47] Generated Node #0,3,3: 29:[13, 47] Operation: 73-26=47 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 29:[26, 60], Operations: ['65-39=26', '73-13=60'] Exploring Operation: 26+60=86, Resulting Numbers: [86] 86,29 unequal: No Solution Exploring Operation: 26*60=1560, Resulting Numbers: [1560] 1560,29 unequal: No Solution Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,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,3,3 Current State: 29:[13, 47], Operations: ['65-39=26', '73-26=47'] Exploring Operation: 13*47=611, Resulting Numbers: [611] 611,29 unequal: No Solution Exploring Operation: 13+47=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,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,3,2 Current State: 29:[73, 39], Operations: ['65-39=26', '13+26=39'] Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,29 unequal: No Solution Exploring Operation: 73*39=2847, Resulting Numbers: [2847] 2847,29 unequal: No Solution Exploring Operation: 73+39=112, Resulting Numbers: [112] 112,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,3,0 Current State: 29:[26, 86], Operations: ['65-39=26', '73+13=86'] Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 26*86=2236, Resulting Numbers: [2236] 2236,29 unequal: No Solution Exploring Operation: 26+86=112, Resulting Numbers: [112] 112,29 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: 29:[65, 39, 60], Operations: ['73-13=60'] Exploring Operation: 65-60=5, Resulting Numbers: [39, 5] Generated Node #0,1,0: 29:[39, 5] Operation: 65-60=5 Exploring Operation: 65-39=26, Resulting Numbers: [60, 26] Generated Node #0,1,1: 29:[60, 26] Operation: 65-39=26 Exploring Operation: 65+39=104, Resulting Numbers: [60, 104] Generated Node #0,1,2: 29:[60, 104] Operation: 65+39=104 Exploring Operation: 60-39=21, Resulting Numbers: [65, 21] Generated Node #0,1,3: 29:[65, 21] Operation: 60-39=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[39, 5], Operations: ['73-13=60', '65-60=5'] Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,29 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,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,1 Current State: 29:[60, 26], Operations: ['73-13=60', '65-39=26'] Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,29 unequal: No Solution Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,29 unequal: No Solution Exploring Operation: 60*26=1560, Resulting Numbers: [1560] 1560,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,3 Current State: 29:[65, 21], Operations: ['73-13=60', '60-39=21'] Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,29 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,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,2 Current State: 29:[60, 104], Operations: ['73-13=60', '65+39=104'] Exploring Operation: 60+104=164, Resulting Numbers: [164] 164,29 unequal: No Solution Exploring Operation: 60*104=6240, Resulting Numbers: [6240] 6240,29 unequal: No Solution Exploring Operation: 104-60=44, Resulting Numbers: [44] 44,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 29:[13, 31], Operations: ['73-39=34', '65-34=31'] Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,29 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[34, 52], Operations: ['73-39=34', '65-13=52'] Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,29 unequal: No Solution Exploring Operation: 34*52=1768, Resulting Numbers: [1768] 1768,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[34, 5], Operations: ['73-39=34', '65/13=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,29 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,29 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[73, 65, 13, 39], Operations: [] Exploring Operation: 73-39=34, Resulting Numbers: [65, 13, 34] Generated Node #0,0: 29:[65, 13, 34] Operation: 73-39=34 Moving to Node #0,0 Current State: 29:[65, 13, 34], Operations: ['73-39=34'] Exploring Operation: 65/13=5, Resulting Numbers: [34, 5] Generated Node #0,0,2: 29:[34, 5] Operation: 65/13=5 Moving to Node #0,0,2 Current State: 29:[34, 5], Operations: ['73-39=34', '65/13=5'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.940104
hs_4
mult_heuristic
[ 2, 76, 34, 59 ]
80
[ "76-34=42", "42/2=21", "59+21=80" ]
Current State: 80:[2, 76, 34, 59], Operations: [] Exploring Operation: 76-34=42, Resulting Numbers: [2, 59, 42] Generated Node #2: [2, 59, 42] from Operation: 76-34=42 Current State: 80:[2, 59, 42], Operations: ['76-34=42'] Exploring Operation: 42/2=21, Resulting Numbers: [59, 21] Generated Node #3: [59, 21] from Operation: 42/2=21 Current State: 80:[59, 21], Operations: ['76-34=42', '42/2=21'] Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[2, 76, 34, 59], Operations: [] Exploring Operation: 76-34=42, Resulting Numbers: [2, 59, 42] Generated Node #0,0: 80:[2, 59, 42] Operation: 76-34=42 Exploring Operation: 59-34=25, Resulting Numbers: [2, 76, 25] Generated Node #0,1: 80:[2, 76, 25] Operation: 59-34=25 Exploring Operation: 34+59=93, Resulting Numbers: [2, 76, 93] Generated Node #0,2: 80:[2, 76, 93] Operation: 34+59=93 Exploring Operation: 76-59=17, Resulting Numbers: [2, 34, 17] Generated Node #0,3: 80:[2, 34, 17] Operation: 76-59=17 Moving to Node #0,3 Current State: 80:[2, 34, 17], Operations: ['76-59=17'] Exploring Operation: 34-17=17, Resulting Numbers: [2, 17] Generated Node #0,3,0: 80:[2, 17] Operation: 34-17=17 Exploring Operation: 2+34=36, Resulting Numbers: [17, 36] Generated Node #0,3,1: 80:[17, 36] Operation: 2+34=36 Exploring Operation: 34/17=2, Resulting Numbers: [2, 2] Generated Node #0,3,2: 80:[2, 2] Operation: 34/17=2 Exploring Operation: 34/2=17, Resulting Numbers: [17, 17] Generated Node #0,3,3: 80:[17, 17] Operation: 34/2=17 Moving to Node #0,1 Current State: 80:[2, 76, 25], Operations: ['59-34=25'] Exploring Operation: 76-2=74, Resulting Numbers: [25, 74] Generated Node #0,1,0: 80:[25, 74] Operation: 76-2=74 Exploring Operation: 2+76=78, Resulting Numbers: [25, 78] Generated Node #0,1,1: 80:[25, 78] Operation: 2+76=78 Exploring Operation: 76/2=38, Resulting Numbers: [25, 38] Generated Node #0,1,2: 80:[25, 38] Operation: 76/2=38 Exploring Operation: 25-2=23, Resulting Numbers: [76, 23] Generated Node #0,1,3: 80:[76, 23] Operation: 25-2=23 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[25, 78], Operations: ['59-34=25', '2+76=78'] Exploring Operation: 25+78=103, Resulting Numbers: [103] 103,80 unequal: No Solution Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 25*78=1950, Resulting Numbers: [1950] 1950,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[25, 38], Operations: ['59-34=25', '76/2=38'] Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,80 unequal: No Solution Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[76, 23], Operations: ['59-34=25', '25-2=23'] Exploring Operation: 76*23=1748, Resulting Numbers: [1748] 1748,80 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 76+23=99, Resulting Numbers: [99] 99,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[25, 74], Operations: ['59-34=25', '76-2=74'] Exploring Operation: 25*74=1850, Resulting Numbers: [1850] 1850,80 unequal: No Solution Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 25+74=99, Resulting Numbers: [99] 99,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 80:[2, 76, 93], Operations: ['34+59=93'] Exploring Operation: 2+76=78, Resulting Numbers: [93, 78] Generated Node #0,2,0: 80:[93, 78] Operation: 2+76=78 Exploring Operation: 93-2=91, Resulting Numbers: [76, 91] Generated Node #0,2,1: 80:[76, 91] Operation: 93-2=91 Exploring Operation: 76/2=38, Resulting Numbers: [93, 38] Generated Node #0,2,2: 80:[93, 38] Operation: 76/2=38 Exploring Operation: 93-76=17, Resulting Numbers: [2, 17] Generated Node #0,2,3: 80:[2, 17] Operation: 93-76=17 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 80:[2, 17], Operations: ['34+59=93', '93-76=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,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,0 Current State: 80:[93, 78], Operations: ['34+59=93', '2+76=78'] Exploring Operation: 93*78=7254, Resulting Numbers: [7254] 7254,80 unequal: No Solution Exploring Operation: 93-78=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 93+78=171, Resulting Numbers: [171] 171,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[76, 91], Operations: ['34+59=93', '93-2=91'] Exploring Operation: 76*91=6916, Resulting Numbers: [6916] 6916,80 unequal: No Solution Exploring Operation: 76+91=167, Resulting Numbers: [167] 167,80 unequal: No Solution Exploring Operation: 91-76=15, Resulting Numbers: [15] 15,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[93, 38], Operations: ['34+59=93', '76/2=38'] Exploring Operation: 93-38=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 93*38=3534, Resulting Numbers: [3534] 3534,80 unequal: No Solution Exploring Operation: 93+38=131, Resulting Numbers: [131] 131,80 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: 80:[2, 59, 42], Operations: ['76-34=42'] Exploring Operation: 59-42=17, Resulting Numbers: [2, 17] Generated Node #0,0,0: 80:[2, 17] Operation: 59-42=17 Exploring Operation: 42/2=21, Resulting Numbers: [59, 21] Generated Node #0,0,1: 80:[59, 21] Operation: 42/2=21 Exploring Operation: 59-2=57, Resulting Numbers: [42, 57] Generated Node #0,0,2: 80:[42, 57] Operation: 59-2=57 Exploring Operation: 42-2=40, Resulting Numbers: [59, 40] Generated Node #0,0,3: 80:[59, 40] Operation: 42-2=40 Moving to Node #0,3,2 Current State: 80:[2, 2], Operations: ['76-59=17', '34/17=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[2, 17], Operations: ['76-59=17', '34-17=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[2, 17], Operations: ['76-34=42', '59-42=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[17, 17], Operations: ['76-59=17', '34/2=17'] Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,80 unequal: No Solution Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[17, 36], Operations: ['76-59=17', '2+34=36'] Exploring Operation: 17+36=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 17*36=612, Resulting Numbers: [612] 612,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[42, 57], Operations: ['76-34=42', '59-2=57'] Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 42*57=2394, Resulting Numbers: [2394] 2394,80 unequal: No Solution Exploring Operation: 42+57=99, Resulting Numbers: [99] 99,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[59, 40], Operations: ['76-34=42', '42-2=40'] Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,80 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[59, 21], Operations: ['76-34=42', '42/2=21'] Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[2, 76, 34, 59], Operations: [] Exploring Operation: 76-34=42, Resulting Numbers: [2, 59, 42] Generated Node #0,0: 80:[2, 59, 42] Operation: 76-34=42 Moving to Node #0,0 Current State: 80:[2, 59, 42], Operations: ['76-34=42'] Exploring Operation: 42/2=21, Resulting Numbers: [59, 21] Generated Node #0,0,1: 80:[59, 21] Operation: 42/2=21 Moving to Node #0,0,1 Current State: 80:[59, 21], Operations: ['76-34=42', '42/2=21'] Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.9375
hs_4
sum_heuristic
[ 24, 46, 63, 65 ]
58
[ "24+46=70", "63+65=128", "128-70=58" ]
Current State: 58:[24, 46, 63, 65], Operations: [] Exploring Operation: 24+46=70, Resulting Numbers: [63, 65, 70] Generated Node #2: [63, 65, 70] from Operation: 24+46=70 Current State: 58:[63, 65, 70], Operations: ['24+46=70'] Exploring Operation: 63+65=128, Resulting Numbers: [70, 128] Generated Node #3: [70, 128] from Operation: 63+65=128 Current State: 58:[70, 128], Operations: ['24+46=70', '63+65=128'] Exploring Operation: 128-70=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[24, 46, 63, 65], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [24, 46, 2] Generated Node #0,0: 58:[24, 46, 2] Operation: 65-63=2 Exploring Operation: 46-24=22, Resulting Numbers: [63, 65, 22] Generated Node #0,1: 58:[63, 65, 22] Operation: 46-24=22 Exploring Operation: 65-46=19, Resulting Numbers: [24, 63, 19] Generated Node #0,2: 58:[24, 63, 19] Operation: 65-46=19 Moving to Node #0,0 Current State: 58:[24, 46, 2], Operations: ['65-63=2'] Exploring Operation: 46-24=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 58:[2, 22] Operation: 46-24=22 Exploring Operation: 24+46=70, Resulting Numbers: [2, 70] Generated Node #0,0,1: 58:[2, 70] Operation: 24+46=70 Exploring Operation: 46/2=23, Resulting Numbers: [24, 23] Generated Node #0,0,2: 58:[24, 23] Operation: 46/2=23 Moving to Node #0,1 Current State: 58:[63, 65, 22], Operations: ['46-24=22'] Exploring Operation: 63-22=41, Resulting Numbers: [65, 41] Generated Node #0,1,0: 58:[65, 41] Operation: 63-22=41 Exploring Operation: 65-63=2, Resulting Numbers: [22, 2] Generated Node #0,1,1: 58:[22, 2] Operation: 65-63=2 Exploring Operation: 65-22=43, Resulting Numbers: [63, 43] Generated Node #0,1,2: 58:[63, 43] Operation: 65-22=43 Moving to Node #0,2 Current State: 58:[24, 63, 19], Operations: ['65-46=19'] Exploring Operation: 24-19=5, Resulting Numbers: [63, 5] Generated Node #0,2,0: 58:[63, 5] Operation: 24-19=5 Exploring Operation: 63-19=44, Resulting Numbers: [24, 44] Generated Node #0,2,1: 58:[24, 44] Operation: 63-19=44 Exploring Operation: 24+19=43, Resulting Numbers: [63, 43] Generated Node #0,2,2: 58:[63, 43] Operation: 24+19=43 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[63, 5], Operations: ['65-46=19', '24-19=5'] Exploring Operation: 63*5=315, Resulting Numbers: [315] 315,58 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[24, 46, 63, 65], Operations: [] Exploring Operation: 65-46=19, Resulting Numbers: [24, 63, 19] Generated Node #0,2: 58:[24, 63, 19] Operation: 65-46=19 Moving to Node #0,2 Current State: 58:[24, 63, 19], Operations: ['65-46=19'] Exploring Operation: 24-19=5, Resulting Numbers: [63, 5] Generated Node #0,2,0: 58:[63, 5] Operation: 24-19=5 Moving to Node #0,2,0 Current State: 58:[63, 5], Operations: ['65-46=19', '24-19=5'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 84, 39, 70, 70 ]
84
[ "70-70=0", "39*0=0", "84+0=84" ]
Current State: 84:[84, 39, 70, 70], Operations: [] Exploring Operation: 70-70=0, Resulting Numbers: [84, 39, 0] Generated Node #2: [84, 39, 0] from Operation: 70-70=0 Current State: 84:[84, 39, 0], Operations: ['70-70=0'] Exploring Operation: 39*0=0, Resulting Numbers: [84, 0] Generated Node #3: [84, 0] from Operation: 39*0=0 Current State: 84:[84, 0], Operations: ['70-70=0', '39*0=0'] Exploring Operation: 84+0=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[84, 39, 70, 70], Operations: [] Exploring Operation: 70/70=1, Resulting Numbers: [84, 39, 1] Generated Node #0,0: 84:[84, 39, 1] Operation: 70/70=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[84, 39, 1], Operations: ['70/70=1'] Exploring Operation: 39+1=40, Resulting Numbers: [84, 40] Generated Node #0,0,0: 84:[84, 40] Operation: 39+1=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[84, 40], Operations: ['70/70=1', '39+1=40'] Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,84 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
[ 10, 34, 5, 90 ]
25
[ "90-5=85", "10*85=850", "850/34=25" ]
Current State: 25:[10, 34, 5, 90], Operations: [] Exploring Operation: 90-5=85, Resulting Numbers: [10, 34, 85] Generated Node #2: [10, 34, 85] from Operation: 90-5=85 Current State: 25:[10, 34, 85], Operations: ['90-5=85'] Exploring Operation: 10*85=850, Resulting Numbers: [34, 850] Generated Node #3: [34, 850] from Operation: 10*85=850 Current State: 25:[34, 850], Operations: ['90-5=85', '10*85=850'] Exploring Operation: 850/34=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[10, 34, 5, 90], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [10, 34, 18] Generated Node #0,0: 25:[10, 34, 18] Operation: 90/5=18 Exploring Operation: 90/10=9, Resulting Numbers: [34, 5, 9] Generated Node #0,1: 25:[34, 5, 9] Operation: 90/10=9 Exploring Operation: 90-34=56, Resulting Numbers: [10, 5, 56] Generated Node #0,2: 25:[10, 5, 56] Operation: 90-34=56 Exploring Operation: 90-10=80, Resulting Numbers: [34, 5, 80] Generated Node #0,3: 25:[34, 5, 80] Operation: 90-10=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[34, 5, 9], Operations: ['90/10=9'] Exploring Operation: 9-5=4, Resulting Numbers: [34, 4] Generated Node #0,1,0: 25:[34, 4] Operation: 9-5=4 Exploring Operation: 34-5=29, Resulting Numbers: [9, 29] Generated Node #0,1,1: 25:[9, 29] Operation: 34-5=29 Exploring Operation: 34-9=25, Resulting Numbers: [5, 25] Generated Node #0,1,2: 25:[5, 25] Operation: 34-9=25 Exploring Operation: 34+5=39, Resulting Numbers: [9, 39] Generated Node #0,1,3: 25:[9, 39] Operation: 34+5=39 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[5, 25], Operations: ['90/10=9', '34-9=25'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,25 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,25 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[9, 29], Operations: ['90/10=9', '34-5=29'] Exploring Operation: 9*29=261, Resulting Numbers: [261] 261,25 unequal: No Solution Exploring Operation: 9+29=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[34, 4], Operations: ['90/10=9', '9-5=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 25:[9, 39], Operations: ['90/10=9', '34+5=39'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 9*39=351, Resulting Numbers: [351] 351,25 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: 25:[10, 34, 18], Operations: ['90/5=18'] Exploring Operation: 10+18=28, Resulting Numbers: [34, 28] Generated Node #0,0,0: 25:[34, 28] Operation: 10+18=28 Exploring Operation: 34-10=24, Resulting Numbers: [18, 24] Generated Node #0,0,1: 25:[18, 24] Operation: 34-10=24 Exploring Operation: 34-18=16, Resulting Numbers: [10, 16] Generated Node #0,0,2: 25:[10, 16] Operation: 34-18=16 Exploring Operation: 18-10=8, Resulting Numbers: [34, 8] Generated Node #0,0,3: 25:[34, 8] Operation: 18-10=8 Moving to Node #0,0,1 Current State: 25:[18, 24], Operations: ['90/5=18', '34-10=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,25 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[34, 8], Operations: ['90/5=18', '18-10=8'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[34, 28], Operations: ['90/5=18', '10+18=28'] Exploring Operation: 34*28=952, Resulting Numbers: [952] 952,25 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,25 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[10, 16], Operations: ['90/5=18', '34-18=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,25 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[10, 5, 56], Operations: ['90-34=56'] Exploring Operation: 10-5=5, Resulting Numbers: [56, 5] Generated Node #0,2,0: 25:[56, 5] Operation: 10-5=5 Exploring Operation: 10/5=2, Resulting Numbers: [56, 2] Generated Node #0,2,1: 25:[56, 2] Operation: 10/5=2 Exploring Operation: 56-10=46, Resulting Numbers: [5, 46] Generated Node #0,2,2: 25:[5, 46] Operation: 56-10=46 Exploring Operation: 56-5=51, Resulting Numbers: [10, 51] Generated Node #0,2,3: 25:[10, 51] Operation: 56-5=51 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 25:[5, 46], Operations: ['90-34=56', '56-10=46'] Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,25 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 25:[56, 5], Operations: ['90-34=56', '10-5=5'] Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,25 unequal: No Solution Exploring Operation: 56*5=280, Resulting Numbers: [280] 280,25 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 25:[10, 51], Operations: ['90-34=56', '56-5=51'] Exploring Operation: 10*51=510, Resulting Numbers: [510] 510,25 unequal: No Solution Exploring Operation: 10+51=61, Resulting Numbers: [61] 61,25 unequal: No Solution Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 25:[56, 2], Operations: ['90-34=56', '10/5=2'] Exploring Operation: 56*2=112, Resulting Numbers: [112] 112,25 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,25 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,25 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: 25:[34, 5, 80], Operations: ['90-10=80'] Exploring Operation: 80-5=75, Resulting Numbers: [34, 75] Generated Node #0,3,0: 25:[34, 75] Operation: 80-5=75 Exploring Operation: 80/5=16, Resulting Numbers: [34, 16] Generated Node #0,3,1: 25:[34, 16] Operation: 80/5=16 Exploring Operation: 34-5=29, Resulting Numbers: [80, 29] Generated Node #0,3,2: 25:[80, 29] Operation: 34-5=29 Exploring Operation: 80-34=46, Resulting Numbers: [5, 46] Generated Node #0,3,3: 25:[5, 46] Operation: 80-34=46 Moving to Node #0,3,1 Current State: 25:[34, 16], Operations: ['90-10=80', '80/5=16'] Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,25 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[5, 46], Operations: ['90-10=80', '80-34=46'] Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,25 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[80, 29], Operations: ['90-10=80', '34-5=29'] Exploring Operation: 80+29=109, Resulting Numbers: [109] 109,25 unequal: No Solution Exploring Operation: 80*29=2320, Resulting Numbers: [2320] 2320,25 unequal: No Solution Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[34, 75], Operations: ['90-10=80', '80-5=75'] Exploring Operation: 34+75=109, Resulting Numbers: [109] 109,25 unequal: No Solution Exploring Operation: 75-34=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 34*75=2550, Resulting Numbers: [2550] 2550,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 1, 79, 66, 6 ]
89
[ "79-1=78", "66/6=11", "78+11=89" ]
Current State: 89:[1, 79, 66, 6], Operations: [] Exploring Operation: 79-1=78, Resulting Numbers: [66, 6, 78] Generated Node #2: [66, 6, 78] from Operation: 79-1=78 Current State: 89:[66, 6, 78], Operations: ['79-1=78'] Exploring Operation: 66/6=11, Resulting Numbers: [78, 11] Generated Node #3: [78, 11] from Operation: 66/6=11 Current State: 89:[78, 11], Operations: ['79-1=78', '66/6=11'] Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[1, 79, 66, 6], Operations: [] Exploring Operation: 1+79=80, Resulting Numbers: [66, 6, 80] Generated Node #0,0: 89:[66, 6, 80] Operation: 1+79=80 Moving to Node #0,0 Current State: 89:[66, 6, 80], Operations: ['1+79=80'] Exploring Operation: 66+6=72, Resulting Numbers: [80, 72] Generated Node #0,0,0: 89:[80, 72] Operation: 66+6=72 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[80, 72], Operations: ['1+79=80', '66+6=72'] Exploring Operation: 80+72=152, Resulting Numbers: [152] 152,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 81, 88, 40, 41 ]
74
[ "88-81=7", "40+41=81", "81-7=74" ]
Current State: 74:[81, 88, 40, 41], Operations: [] Exploring Operation: 88-81=7, Resulting Numbers: [40, 41, 7] Generated Node #2: [40, 41, 7] from Operation: 88-81=7 Current State: 74:[40, 41, 7], Operations: ['88-81=7'] Exploring Operation: 40+41=81, Resulting Numbers: [7, 81] Generated Node #3: [7, 81] from Operation: 40+41=81 Current State: 74:[7, 81], Operations: ['88-81=7', '40+41=81'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[81, 88, 40, 41], Operations: [] Exploring Operation: 88-41=47, Resulting Numbers: [81, 40, 47] Generated Node #0,0: 74:[81, 40, 47] Operation: 88-41=47 Exploring Operation: 81-40=41, Resulting Numbers: [88, 41, 41] Generated Node #0,1: 74:[88, 41, 41] Operation: 81-40=41 Exploring Operation: 81-41=40, Resulting Numbers: [88, 40, 40] Generated Node #0,2: 74:[88, 40, 40] Operation: 81-41=40 Exploring Operation: 88-81=7, Resulting Numbers: [40, 41, 7] Generated Node #0,3: 74:[40, 41, 7] Operation: 88-81=7 Exploring Operation: 88-40=48, Resulting Numbers: [81, 41, 48] Generated Node #0,4: 74:[81, 41, 48] Operation: 88-40=48 Moving to Node #0,3 Current State: 74:[40, 41, 7], Operations: ['88-81=7'] Exploring Operation: 40+7=47, Resulting Numbers: [41, 47] Generated Node #0,3,0: 74:[41, 47] Operation: 40+7=47 Exploring Operation: 41-40=1, Resulting Numbers: [7, 1] Generated Node #0,3,1: 74:[7, 1] Operation: 41-40=1 Exploring Operation: 40-7=33, Resulting Numbers: [41, 33] Generated Node #0,3,2: 74:[41, 33] Operation: 40-7=33 Exploring Operation: 40+41=81, Resulting Numbers: [7, 81] Generated Node #0,3,3: 74:[7, 81] Operation: 40+41=81 Exploring Operation: 41-7=34, Resulting Numbers: [40, 34] Generated Node #0,3,4: 74:[40, 34] Operation: 41-7=34 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[7, 1], Operations: ['88-81=7', '41-40=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,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,3,4 Current State: 74:[40, 34], Operations: ['88-81=7', '41-7=34'] Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[81, 88, 40, 41], Operations: [] Exploring Operation: 88-81=7, Resulting Numbers: [40, 41, 7] Generated Node #0,3: 74:[40, 41, 7] Operation: 88-81=7 Moving to Node #0,3 Current State: 74:[40, 41, 7], Operations: ['88-81=7'] Exploring Operation: 41-7=34, Resulting Numbers: [40, 34] Generated Node #0,3,4: 74:[40, 34] Operation: 41-7=34 Moving to Node #0,3,4 Current State: 74:[40, 34], Operations: ['88-81=7', '41-7=34'] Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic