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
[ 39, 43, 14, 57 ]
11
[ "39+43=82", "14+57=71", "82-71=11" ]
Current State: 11:[39, 43, 14, 57], Operations: [] Exploring Operation: 39+43=82, Resulting Numbers: [14, 57, 82] Generated Node #2: [14, 57, 82] from Operation: 39+43=82 Current State: 11:[14, 57, 82], Operations: ['39+43=82'] Exploring Operation: 14+57=71, Resulting Numbers: [82, 71] Generated Node #3: [82, 71] from Operation: 14+57=71 Current State: 11:[82, 71], Operations: ['39+43=82', '14+57=71'] Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[39, 43, 14, 57], Operations: [] Exploring Operation: 57-43=14, Resulting Numbers: [39, 14, 14] Generated Node #0,0: 11:[39, 14, 14] Operation: 57-43=14 Exploring Operation: 57-39=18, Resulting Numbers: [43, 14, 18] Generated Node #0,1: 11:[43, 14, 18] Operation: 57-39=18 Exploring Operation: 43-39=4, Resulting Numbers: [14, 57, 4] Generated Node #0,2: 11:[14, 57, 4] Operation: 43-39=4 Moving to Node #0,0 Current State: 11:[39, 14, 14], Operations: ['57-43=14'] Exploring Operation: 39-14=25, Resulting Numbers: [14, 25] Generated Node #0,0,0: 11:[14, 25] Operation: 39-14=25 Exploring Operation: 39-14=25, Resulting Numbers: [14, 25] Generated Node #0,0,1: 11:[14, 25] Operation: 39-14=25 Exploring Operation: 14/14=1, Resulting Numbers: [39, 1] Generated Node #0,0,2: 11:[39, 1] Operation: 14/14=1 Moving to Node #0,1 Current State: 11:[43, 14, 18], Operations: ['57-39=18'] Exploring Operation: 18-14=4, Resulting Numbers: [43, 4] Generated Node #0,1,0: 11:[43, 4] Operation: 18-14=4 Exploring Operation: 43-18=25, Resulting Numbers: [14, 25] Generated Node #0,1,1: 11:[14, 25] Operation: 43-18=25 Exploring Operation: 43-14=29, Resulting Numbers: [18, 29] Generated Node #0,1,2: 11:[18, 29] Operation: 43-14=29 Moving to Node #0,2 Current State: 11:[14, 57, 4], Operations: ['43-39=4'] Exploring Operation: 14-4=10, Resulting Numbers: [57, 10] Generated Node #0,2,0: 11:[57, 10] Operation: 14-4=10 Exploring Operation: 57-4=53, Resulting Numbers: [14, 53] Generated Node #0,2,1: 11:[14, 53] Operation: 57-4=53 Exploring Operation: 57-14=43, Resulting Numbers: [4, 43] Generated Node #0,2,2: 11:[4, 43] Operation: 57-14=43 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 11:[4, 43], Operations: ['43-39=4', '57-14=43'] Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[14, 53], Operations: ['43-39=4', '57-4=53'] Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 14*53=742, Resulting Numbers: [742] 742,11 unequal: No Solution Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[57, 10], Operations: ['43-39=4', '14-4=10'] Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,11 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,11 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: 11:[14, 25], Operations: ['57-43=14', '39-14=25'] Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[39, 43, 14, 57], Operations: [] Exploring Operation: 57-43=14, Resulting Numbers: [39, 14, 14] Generated Node #0,0: 11:[39, 14, 14] Operation: 57-43=14 Moving to Node #0,0 Current State: 11:[39, 14, 14], Operations: ['57-43=14'] Exploring Operation: 39-14=25, Resulting Numbers: [14, 25] Generated Node #0,0,0: 11:[14, 25] Operation: 39-14=25 Moving to Node #0,0,0 Current State: 11:[14, 25], Operations: ['57-43=14', '39-14=25'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 22, 86, 4, 14 ]
28
[ "22*4=88", "88-86=2", "14*2=28" ]
Current State: 28:[22, 86, 4, 14], Operations: [] Exploring Operation: 22*4=88, Resulting Numbers: [86, 14, 88] Generated Node #2: [86, 14, 88] from Operation: 22*4=88 Current State: 28:[86, 14, 88], Operations: ['22*4=88'] Exploring Operation: 88-86=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 88-86=2 Current State: 28:[14, 2], Operations: ['22*4=88', '88-86=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[22, 86, 4, 14], Operations: [] Exploring Operation: 86-22=64, Resulting Numbers: [4, 14, 64] Generated Node #0,0: 28:[4, 14, 64] Operation: 86-22=64 Exploring Operation: 86-14=72, Resulting Numbers: [22, 4, 72] Generated Node #0,1: 28:[22, 4, 72] Operation: 86-14=72 Moving to Node #0,0 Current State: 28:[4, 14, 64], Operations: ['86-22=64'] Exploring Operation: 64-14=50, Resulting Numbers: [4, 50] Generated Node #0,0,0: 28:[4, 50] Operation: 64-14=50 Exploring Operation: 64/4=16, Resulting Numbers: [14, 16] Generated Node #0,0,1: 28:[14, 16] Operation: 64/4=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[14, 16], Operations: ['86-22=64', '64/4=16'] Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,28 unequal: No Solution No 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: 28:[4, 50], Operations: ['86-22=64', '64-14=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,28 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: 28:[22, 4, 72], Operations: ['86-14=72'] Exploring Operation: 72-22=50, Resulting Numbers: [4, 50] Generated Node #0,1,0: 28:[4, 50] Operation: 72-22=50 Exploring Operation: 72/4=18, Resulting Numbers: [22, 18] Generated Node #0,1,1: 28:[22, 18] Operation: 72/4=18 Moving to Node #0,1,1 Current State: 28:[22, 18], Operations: ['86-14=72', '72/4=18'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[4, 50], Operations: ['86-14=72', '72-22=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,28 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 35, 69, 25, 8 ]
72
[ "69-35=34", "34-25=9", "8*9=72" ]
Current State: 72:[35, 69, 25, 8], Operations: [] Exploring Operation: 69-35=34, Resulting Numbers: [25, 8, 34] Generated Node #2: [25, 8, 34] from Operation: 69-35=34 Current State: 72:[25, 8, 34], Operations: ['69-35=34'] Exploring Operation: 34-25=9, Resulting Numbers: [8, 9] Generated Node #3: [8, 9] from Operation: 34-25=9 Current State: 72:[8, 9], Operations: ['69-35=34', '34-25=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[35, 69, 25, 8], Operations: [] Exploring Operation: 69-35=34, Resulting Numbers: [25, 8, 34] Generated Node #0,0: 72:[25, 8, 34] Operation: 69-35=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[25, 8, 34], Operations: ['69-35=34'] Exploring Operation: 34-25=9, Resulting Numbers: [8, 9] Generated Node #0,0,0: 72:[8, 9] Operation: 34-25=9 Moving to Node #0,0,0 Current State: 72:[8, 9], Operations: ['69-35=34', '34-25=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[35, 69, 25, 8], Operations: [] Exploring Operation: 69-35=34, Resulting Numbers: [25, 8, 34] Generated Node #0,0: 72:[25, 8, 34] Operation: 69-35=34 Moving to Node #0,0 Current State: 72:[25, 8, 34], Operations: ['69-35=34'] Exploring Operation: 34-25=9, Resulting Numbers: [8, 9] Generated Node #0,0,0: 72:[8, 9] Operation: 34-25=9 Moving to Node #0,0,0 Current State: 72:[8, 9], Operations: ['69-35=34', '34-25=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 32, 10, 23, 16 ]
56
[ "32*23=736", "736/16=46", "10+46=56" ]
Current State: 56:[32, 10, 23, 16], Operations: [] Exploring Operation: 32*23=736, Resulting Numbers: [10, 16, 736] Generated Node #2: [10, 16, 736] from Operation: 32*23=736 Current State: 56:[10, 16, 736], Operations: ['32*23=736'] Exploring Operation: 736/16=46, Resulting Numbers: [10, 46] Generated Node #3: [10, 46] from Operation: 736/16=46 Current State: 56:[10, 46], Operations: ['32*23=736', '736/16=46'] Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[32, 10, 23, 16], Operations: [] Exploring Operation: 32+23=55, Resulting Numbers: [10, 16, 55] Generated Node #0,0: 56:[10, 16, 55] Operation: 32+23=55 Exploring Operation: 23-16=7, Resulting Numbers: [32, 10, 7] Generated Node #0,1: 56:[32, 10, 7] Operation: 23-16=7 Exploring Operation: 32/16=2, Resulting Numbers: [10, 23, 2] Generated Node #0,2: 56:[10, 23, 2] Operation: 32/16=2 Exploring Operation: 23-10=13, Resulting Numbers: [32, 16, 13] Generated Node #0,3: 56:[32, 16, 13] Operation: 23-10=13 Exploring Operation: 32-23=9, Resulting Numbers: [10, 16, 9] Generated Node #0,4: 56:[10, 16, 9] Operation: 32-23=9 Moving to Node #0,0 Current State: 56:[10, 16, 55], Operations: ['32+23=55'] Exploring Operation: 16-10=6, Resulting Numbers: [55, 6] Generated Node #0,0,0: 56:[55, 6] Operation: 16-10=6 Exploring Operation: 10+55=65, Resulting Numbers: [16, 65] Generated Node #0,0,1: 56:[16, 65] Operation: 10+55=65 Exploring Operation: 55-10=45, Resulting Numbers: [16, 45] Generated Node #0,0,2: 56:[16, 45] Operation: 55-10=45 Exploring Operation: 10+16=26, Resulting Numbers: [55, 26] Generated Node #0,0,3: 56:[55, 26] Operation: 10+16=26 Exploring Operation: 55-16=39, Resulting Numbers: [10, 39] Generated Node #0,0,4: 56:[10, 39] Operation: 55-16=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[55, 6], Operations: ['32+23=55', '16-10=6'] Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,56 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[55, 26], Operations: ['32+23=55', '10+16=26'] Exploring Operation: 55*26=1430, Resulting Numbers: [1430] 1430,56 unequal: No Solution Exploring Operation: 55+26=81, Resulting Numbers: [81] 81,56 unequal: No Solution Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[16, 65], Operations: ['32+23=55', '10+55=65'] Exploring Operation: 16+65=81, Resulting Numbers: [81] 81,56 unequal: No Solution Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 16*65=1040, Resulting Numbers: [1040] 1040,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[16, 45], Operations: ['32+23=55', '55-10=45'] Exploring Operation: 16*45=720, Resulting Numbers: [720] 720,56 unequal: No Solution Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 56:[10, 39], Operations: ['32+23=55', '55-16=39'] Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 10*39=390, Resulting Numbers: [390] 390,56 unequal: No Solution Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 56:[10, 16, 9], Operations: ['32-23=9'] Exploring Operation: 16-10=6, Resulting Numbers: [9, 6] Generated Node #0,4,0: 56:[9, 6] Operation: 16-10=6 Exploring Operation: 10-9=1, Resulting Numbers: [16, 1] Generated Node #0,4,1: 56:[16, 1] Operation: 10-9=1 Exploring Operation: 16+9=25, Resulting Numbers: [10, 25] Generated Node #0,4,2: 56:[10, 25] Operation: 16+9=25 Exploring Operation: 10+16=26, Resulting Numbers: [9, 26] Generated Node #0,4,3: 56:[9, 26] Operation: 10+16=26 Exploring Operation: 16-9=7, Resulting Numbers: [10, 7] Generated Node #0,4,4: 56:[10, 7] Operation: 16-9=7 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 56:[9, 6], Operations: ['32-23=9', '16-10=6'] 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 Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 56:[10, 7], Operations: ['32-23=9', '16-9=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 56:[16, 1], Operations: ['32-23=9', '10-9=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 56:[9, 26], Operations: ['32-23=9', '10+16=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,56 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,56 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 56:[10, 25], Operations: ['32-23=9', '16+9=25'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,56 unequal: No Solution Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 56:[32, 10, 7], Operations: ['23-16=7'] Exploring Operation: 32+7=39, Resulting Numbers: [10, 39] Generated Node #0,1,0: 56:[10, 39] Operation: 32+7=39 Exploring Operation: 10-7=3, Resulting Numbers: [32, 3] Generated Node #0,1,1: 56:[32, 3] Operation: 10-7=3 Exploring Operation: 32-7=25, Resulting Numbers: [10, 25] Generated Node #0,1,2: 56:[10, 25] Operation: 32-7=25 Exploring Operation: 32-10=22, Resulting Numbers: [7, 22] Generated Node #0,1,3: 56:[7, 22] Operation: 32-10=22 Exploring Operation: 10+7=17, Resulting Numbers: [32, 17] Generated Node #0,1,4: 56:[32, 17] Operation: 10+7=17 Moving to Node #0,2 Current State: 56:[10, 23, 2], Operations: ['32/16=2'] Exploring Operation: 10-2=8, Resulting Numbers: [23, 8] Generated Node #0,2,0: 56:[23, 8] Operation: 10-2=8 Exploring Operation: 10+23=33, Resulting Numbers: [2, 33] Generated Node #0,2,1: 56:[2, 33] Operation: 10+23=33 Exploring Operation: 10/2=5, Resulting Numbers: [23, 5] Generated Node #0,2,2: 56:[23, 5] Operation: 10/2=5 Exploring Operation: 23-10=13, Resulting Numbers: [2, 13] Generated Node #0,2,3: 56:[2, 13] Operation: 23-10=13 Exploring Operation: 23+2=25, Resulting Numbers: [10, 25] Generated Node #0,2,4: 56:[10, 25] Operation: 23+2=25 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[2, 13], Operations: ['32/16=2', '23-10=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[23, 8], Operations: ['32/16=2', '10-2=8'] Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,56 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[2, 33], Operations: ['32/16=2', '10+23=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,56 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,56 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,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,2,4 Current State: 56:[10, 25], Operations: ['32/16=2', '23+2=25'] Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,56 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,56 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[23, 5], Operations: ['32/16=2', '10/2=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,56 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 56:[32, 16, 13], Operations: ['23-10=13'] Exploring Operation: 32-13=19, Resulting Numbers: [16, 19] Generated Node #0,3,0: 56:[16, 19] Operation: 32-13=19 Exploring Operation: 32-16=16, Resulting Numbers: [13, 16] Generated Node #0,3,1: 56:[13, 16] Operation: 32-16=16 Exploring Operation: 16+13=29, Resulting Numbers: [32, 29] Generated Node #0,3,2: 56:[32, 29] Operation: 16+13=29 Exploring Operation: 32/16=2, Resulting Numbers: [13, 2] Generated Node #0,3,3: 56:[13, 2] Operation: 32/16=2 Exploring Operation: 16-13=3, Resulting Numbers: [32, 3] Generated Node #0,3,4: 56:[32, 3] Operation: 16-13=3 Moving to Node #0,3,3 Current State: 56:[13, 2], Operations: ['23-10=13', '32/16=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,56 unequal: No Solution Moving to Node #0,3,1 Current State: 56:[13, 16], Operations: ['23-10=13', '32-16=16'] Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,56 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[32, 3], Operations: ['23-16=7', '10-7=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,56 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,56 unequal: No Solution Moving to Node #0,3,4 Current State: 56:[32, 3], Operations: ['23-10=13', '16-13=3'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,56 unequal: No Solution Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[10, 25], Operations: ['23-16=7', '32-7=25'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,56 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,56 unequal: No Solution Moving to Node #0,3,2 Current State: 56:[32, 29], Operations: ['23-10=13', '16+13=29'] Exploring Operation: 32*29=928, Resulting Numbers: [928] 928,56 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[7, 22], Operations: ['23-16=7', '32-10=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,56 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,56 unequal: No Solution Moving to Node #0,1,4 Current State: 56:[32, 17], Operations: ['23-16=7', '10+7=17'] Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,56 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,56 unequal: No Solution Moving to Node #0,3,0 Current State: 56:[16, 19], Operations: ['23-10=13', '32-13=19'] Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,56 unequal: No Solution Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,56 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[10, 39], Operations: ['23-16=7', '32+7=39'] Exploring Operation: 10*39=390, Resulting Numbers: [390] 390,56 unequal: No Solution Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,56 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 50, 27, 21, 12 ]
86
[ "50+27=77", "21-12=9", "77+9=86" ]
Current State: 86:[50, 27, 21, 12], Operations: [] Exploring Operation: 50+27=77, Resulting Numbers: [21, 12, 77] Generated Node #2: [21, 12, 77] from Operation: 50+27=77 Current State: 86:[21, 12, 77], Operations: ['50+27=77'] Exploring Operation: 21-12=9, Resulting Numbers: [77, 9] Generated Node #3: [77, 9] from Operation: 21-12=9 Current State: 86:[77, 9], Operations: ['50+27=77', '21-12=9'] Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[50, 27, 21, 12], Operations: [] Exploring Operation: 27-21=6, Resulting Numbers: [50, 12, 6] Generated Node #0,0: 86:[50, 12, 6] Operation: 27-21=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[50, 12, 6], Operations: ['27-21=6'] Exploring Operation: 12/6=2, Resulting Numbers: [50, 2] Generated Node #0,0,0: 86:[50, 2] Operation: 12/6=2 Moving to Node #0,0,0 Current State: 86:[50, 2], Operations: ['27-21=6', '12/6=2'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,86 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
[ 20, 12, 47, 17 ]
43
[ "20-17=3", "12/3=4", "47-4=43" ]
Current State: 43:[20, 12, 47, 17], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [12, 47, 3] Generated Node #2: [12, 47, 3] from Operation: 20-17=3 Current State: 43:[12, 47, 3], Operations: ['20-17=3'] Exploring Operation: 12/3=4, Resulting Numbers: [47, 4] Generated Node #3: [47, 4] from Operation: 12/3=4 Current State: 43:[47, 4], Operations: ['20-17=3', '12/3=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[20, 12, 47, 17], Operations: [] Exploring Operation: 20+12=32, Resulting Numbers: [47, 17, 32] Generated Node #0,0: 43:[47, 17, 32] Operation: 20+12=32 Moving to Node #0,0 Current State: 43:[47, 17, 32], Operations: ['20+12=32'] Exploring Operation: 17+32=49, Resulting Numbers: [47, 49] Generated Node #0,0,0: 43:[47, 49] Operation: 17+32=49 Moving to Node #0,0,0 Current State: 43:[47, 49], Operations: ['20+12=32', '17+32=49'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,43 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 22, 19, 16, 76 ]
89
[ "22-19=3", "16+76=92", "92-3=89" ]
Current State: 89:[22, 19, 16, 76], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [16, 76, 3] Generated Node #2: [16, 76, 3] from Operation: 22-19=3 Current State: 89:[16, 76, 3], Operations: ['22-19=3'] Exploring Operation: 16+76=92, Resulting Numbers: [3, 92] Generated Node #3: [3, 92] from Operation: 16+76=92 Current State: 89:[3, 92], Operations: ['22-19=3', '16+76=92'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[22, 19, 16, 76], Operations: [] Exploring Operation: 22+19=41, Resulting Numbers: [16, 76, 41] Generated Node #0,0: 89:[16, 76, 41] Operation: 22+19=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[16, 76, 41], Operations: ['22+19=41'] Exploring Operation: 16+41=57, Resulting Numbers: [76, 57] Generated Node #0,0,0: 89:[76, 57] Operation: 16+41=57 Moving to Node #0,0,0 Current State: 89:[76, 57], Operations: ['22+19=41', '16+41=57'] Exploring Operation: 76+57=133, Resulting Numbers: [133] 133,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
mult_heuristic
[ 22, 50, 59, 4 ]
91
[ "50-22=28", "59+4=63", "28+63=91" ]
Current State: 91:[22, 50, 59, 4], Operations: [] Exploring Operation: 50-22=28, Resulting Numbers: [59, 4, 28] Generated Node #2: [59, 4, 28] from Operation: 50-22=28 Current State: 91:[59, 4, 28], Operations: ['50-22=28'] Exploring Operation: 59+4=63, Resulting Numbers: [28, 63] Generated Node #3: [28, 63] from Operation: 59+4=63 Current State: 91:[28, 63], Operations: ['50-22=28', '59+4=63'] Exploring Operation: 28+63=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[22, 50, 59, 4], Operations: [] Exploring Operation: 59-50=9, Resulting Numbers: [22, 4, 9] Generated Node #0,0: 91:[22, 4, 9] Operation: 59-50=9 Moving to Node #0,0 Current State: 91:[22, 4, 9], Operations: ['59-50=9'] Exploring Operation: 22-9=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 91:[4, 13] Operation: 22-9=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[4, 13], Operations: ['59-50=9', '22-9=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,91 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
[ 19, 30, 64, 72 ]
57
[ "19+30=49", "72-64=8", "49+8=57" ]
Current State: 57:[19, 30, 64, 72], Operations: [] Exploring Operation: 19+30=49, Resulting Numbers: [64, 72, 49] Generated Node #2: [64, 72, 49] from Operation: 19+30=49 Current State: 57:[64, 72, 49], Operations: ['19+30=49'] Exploring Operation: 72-64=8, Resulting Numbers: [49, 8] Generated Node #3: [49, 8] from Operation: 72-64=8 Current State: 57:[49, 8], Operations: ['19+30=49', '72-64=8'] Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[19, 30, 64, 72], Operations: [] Exploring Operation: 72-19=53, Resulting Numbers: [30, 64, 53] Generated Node #0,0: 57:[30, 64, 53] Operation: 72-19=53 Exploring Operation: 72-30=42, Resulting Numbers: [19, 64, 42] Generated Node #0,1: 57:[19, 64, 42] Operation: 72-30=42 Exploring Operation: 72-64=8, Resulting Numbers: [19, 30, 8] Generated Node #0,2: 57:[19, 30, 8] Operation: 72-64=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[19, 30, 8], Operations: ['72-64=8'] Exploring Operation: 30-19=11, Resulting Numbers: [8, 11] Generated Node #0,2,0: 57:[8, 11] Operation: 30-19=11 Exploring Operation: 30-8=22, Resulting Numbers: [19, 22] Generated Node #0,2,1: 57:[19, 22] Operation: 30-8=22 Exploring Operation: 19+30=49, Resulting Numbers: [8, 49] Generated Node #0,2,2: 57:[8, 49] Operation: 19+30=49 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 57:[19, 22], Operations: ['72-64=8', '30-8=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,57 unequal: No Solution No 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: 57:[8, 11], Operations: ['72-64=8', '30-19=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,57 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,57 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,57 unequal: No Solution No 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: 57:[8, 49], Operations: ['72-64=8', '19+30=49'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,57 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[19, 30, 64, 72], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [19, 30, 8] Generated Node #0,2: 57:[19, 30, 8] Operation: 72-64=8 Moving to Node #0,2 Current State: 57:[19, 30, 8], Operations: ['72-64=8'] Exploring Operation: 19+30=49, Resulting Numbers: [8, 49] Generated Node #0,2,2: 57:[8, 49] Operation: 19+30=49 Moving to Node #0,2,2 Current State: 57:[8, 49], Operations: ['72-64=8', '19+30=49'] Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 27, 56, 20, 2 ]
16
[ "27-20=7", "56*2=112", "112/7=16" ]
Current State: 16:[27, 56, 20, 2], Operations: [] Exploring Operation: 27-20=7, Resulting Numbers: [56, 2, 7] Generated Node #2: [56, 2, 7] from Operation: 27-20=7 Current State: 16:[56, 2, 7], Operations: ['27-20=7'] Exploring Operation: 56*2=112, Resulting Numbers: [7, 112] Generated Node #3: [7, 112] from Operation: 56*2=112 Current State: 16:[7, 112], Operations: ['27-20=7', '56*2=112'] Exploring Operation: 112/7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[27, 56, 20, 2], Operations: [] Exploring Operation: 56-20=36, Resulting Numbers: [27, 2, 36] Generated Node #0,0: 16:[27, 2, 36] Operation: 56-20=36 Exploring Operation: 56/2=28, Resulting Numbers: [27, 20, 28] Generated Node #0,1: 16:[27, 20, 28] Operation: 56/2=28 Exploring Operation: 56-27=29, Resulting Numbers: [20, 2, 29] Generated Node #0,2: 16:[20, 2, 29] Operation: 56-27=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[20, 2, 29], Operations: ['56-27=29'] Exploring Operation: 20-2=18, Resulting Numbers: [29, 18] Generated Node #0,2,0: 16:[29, 18] Operation: 20-2=18 Exploring Operation: 20/2=10, Resulting Numbers: [29, 10] Generated Node #0,2,1: 16:[29, 10] Operation: 20/2=10 Exploring Operation: 29-20=9, Resulting Numbers: [2, 9] Generated Node #0,2,2: 16:[2, 9] Operation: 29-20=9 Moving to Node #0,2,2 Current State: 16:[2, 9], Operations: ['56-27=29', '29-20=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[29, 18], Operations: ['56-27=29', '20-2=18'] Exploring Operation: 29+18=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 29*18=522, Resulting Numbers: [522] 522,16 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[29, 10], Operations: ['56-27=29', '20/2=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 29*10=290, Resulting Numbers: [290] 290,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[27, 20, 28], Operations: ['56/2=28'] Exploring Operation: 27-20=7, Resulting Numbers: [28, 7] Generated Node #0,1,0: 16:[28, 7] Operation: 27-20=7 Exploring Operation: 28-20=8, Resulting Numbers: [27, 8] Generated Node #0,1,1: 16:[27, 8] Operation: 28-20=8 Exploring Operation: 28-27=1, Resulting Numbers: [20, 1] Generated Node #0,1,2: 16:[20, 1] Operation: 28-27=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 16:[20, 1], Operations: ['56/2=28', '28-27=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,16 unequal: No Solution No 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: 16:[27, 8], Operations: ['56/2=28', '28-20=8'] Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 27*8=216, Resulting Numbers: [216] 216,16 unequal: No Solution No 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: 16:[28, 7], Operations: ['56/2=28', '27-20=7'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,16 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,16 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: 16:[27, 2, 36], Operations: ['56-20=36'] Exploring Operation: 36-27=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 16:[2, 9] Operation: 36-27=9 Exploring Operation: 36/2=18, Resulting Numbers: [27, 18] Generated Node #0,0,1: 16:[27, 18] Operation: 36/2=18 Exploring Operation: 27-2=25, Resulting Numbers: [36, 25] Generated Node #0,0,2: 16:[36, 25] Operation: 27-2=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[2, 9], Operations: ['56-20=36', '36-27=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,16 unequal: No Solution No 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: 16:[27, 18], Operations: ['56-20=36', '36/2=18'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,16 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,16 unequal: No Solution No 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: 16:[36, 25], Operations: ['56-20=36', '27-2=25'] Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,16 unequal: No Solution Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,16 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
[ 25, 43, 91, 1 ]
73
[ "43-25=18", "91*1=91", "91-18=73" ]
Current State: 73:[25, 43, 91, 1], Operations: [] Exploring Operation: 43-25=18, Resulting Numbers: [91, 1, 18] Generated Node #2: [91, 1, 18] from Operation: 43-25=18 Current State: 73:[91, 1, 18], Operations: ['43-25=18'] Exploring Operation: 91*1=91, Resulting Numbers: [18, 91] Generated Node #3: [18, 91] from Operation: 91*1=91 Current State: 73:[18, 91], Operations: ['43-25=18', '91*1=91'] Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[25, 43, 91, 1], Operations: [] Exploring Operation: 25+43=68, Resulting Numbers: [91, 1, 68] Generated Node #0,0: 73:[91, 1, 68] Operation: 25+43=68 Moving to Node #0,0 Current State: 73:[91, 1, 68], Operations: ['25+43=68'] Exploring Operation: 91-1=90, Resulting Numbers: [68, 90] Generated Node #0,0,0: 73:[68, 90] Operation: 91-1=90 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[68, 90], Operations: ['25+43=68', '91-1=90'] Exploring Operation: 90-68=22, Resulting Numbers: [22] 22,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
[ 29, 51, 77, 64 ]
58
[ "51+77=128", "29*128=3712", "3712/64=58" ]
Current State: 58:[29, 51, 77, 64], Operations: [] Exploring Operation: 51+77=128, Resulting Numbers: [29, 64, 128] Generated Node #2: [29, 64, 128] from Operation: 51+77=128 Current State: 58:[29, 64, 128], Operations: ['51+77=128'] Exploring Operation: 29*128=3712, Resulting Numbers: [64, 3712] Generated Node #3: [64, 3712] from Operation: 29*128=3712 Current State: 58:[64, 3712], Operations: ['51+77=128', '29*128=3712'] Exploring Operation: 3712/64=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[29, 51, 77, 64], Operations: [] Exploring Operation: 77-51=26, Resulting Numbers: [29, 64, 26] Generated Node #0,0: 58:[29, 64, 26] Operation: 77-51=26 Exploring Operation: 77-64=13, Resulting Numbers: [29, 51, 13] Generated Node #0,1: 58:[29, 51, 13] Operation: 77-64=13 Moving to Node #0,0 Current State: 58:[29, 64, 26], Operations: ['77-51=26'] Exploring Operation: 29-26=3, Resulting Numbers: [64, 3] Generated Node #0,0,0: 58:[64, 3] Operation: 29-26=3 Exploring Operation: 64-29=35, Resulting Numbers: [26, 35] Generated Node #0,0,1: 58:[26, 35] Operation: 64-29=35 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[64, 3], Operations: ['77-51=26', '29-26=3'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,58 unequal: No Solution Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,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,0,1 Current State: 58:[26, 35], Operations: ['77-51=26', '64-29=35'] Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,58 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,58 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: 58:[29, 51, 13], Operations: ['77-64=13'] Exploring Operation: 51+13=64, Resulting Numbers: [29, 64] Generated Node #0,1,0: 58:[29, 64] Operation: 51+13=64 Exploring Operation: 51-13=38, Resulting Numbers: [29, 38] Generated Node #0,1,1: 58:[29, 38] Operation: 51-13=38 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[29, 64], Operations: ['77-64=13', '51+13=64'] Exploring Operation: 29+64=93, Resulting Numbers: [93] 93,58 unequal: No Solution Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[29, 38], Operations: ['77-64=13', '51-13=38'] Exploring Operation: 29+38=67, Resulting Numbers: [67] 67,58 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,58 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
[ 87, 46, 2, 6 ]
45
[ "87-46=41", "6-2=4", "41+4=45" ]
Current State: 45:[87, 46, 2, 6], Operations: [] Exploring Operation: 87-46=41, Resulting Numbers: [2, 6, 41] Generated Node #2: [2, 6, 41] from Operation: 87-46=41 Current State: 45:[2, 6, 41], Operations: ['87-46=41'] Exploring Operation: 6-2=4, Resulting Numbers: [41, 4] Generated Node #3: [41, 4] from Operation: 6-2=4 Current State: 45:[41, 4], Operations: ['87-46=41', '6-2=4'] Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[87, 46, 2, 6], Operations: [] Exploring Operation: 87-46=41, Resulting Numbers: [2, 6, 41] Generated Node #0,0: 45:[2, 6, 41] Operation: 87-46=41 Exploring Operation: 87-2=85, Resulting Numbers: [46, 6, 85] Generated Node #0,1: 45:[46, 6, 85] Operation: 87-2=85 Exploring Operation: 46-2=44, Resulting Numbers: [87, 6, 44] Generated Node #0,2: 45:[87, 6, 44] Operation: 46-2=44 Exploring Operation: 6/2=3, Resulting Numbers: [87, 46, 3] Generated Node #0,3: 45:[87, 46, 3] Operation: 6/2=3 Exploring Operation: 87-6=81, Resulting Numbers: [46, 2, 81] Generated Node #0,4: 45:[46, 2, 81] Operation: 87-6=81 Moving to Node #0,0 Current State: 45:[2, 6, 41], Operations: ['87-46=41'] Exploring Operation: 6/2=3, Resulting Numbers: [41, 3] Generated Node #0,0,0: 45:[41, 3] Operation: 6/2=3 Exploring Operation: 6+41=47, Resulting Numbers: [2, 47] Generated Node #0,0,1: 45:[2, 47] Operation: 6+41=47 Exploring Operation: 2+41=43, Resulting Numbers: [6, 43] Generated Node #0,0,2: 45:[6, 43] Operation: 2+41=43 Exploring Operation: 2+6=8, Resulting Numbers: [41, 8] Generated Node #0,0,3: 45:[41, 8] Operation: 2+6=8 Exploring Operation: 6-2=4, Resulting Numbers: [41, 4] Generated Node #0,0,4: 45:[41, 4] Operation: 6-2=4 Moving to Node #0,4 Current State: 45:[46, 2, 81], Operations: ['87-6=81'] Exploring Operation: 81-2=79, Resulting Numbers: [46, 79] Generated Node #0,4,0: 45:[46, 79] Operation: 81-2=79 Exploring Operation: 46-2=44, Resulting Numbers: [81, 44] Generated Node #0,4,1: 45:[81, 44] Operation: 46-2=44 Exploring Operation: 81-46=35, Resulting Numbers: [2, 35] Generated Node #0,4,2: 45:[2, 35] Operation: 81-46=35 Exploring Operation: 46+2=48, Resulting Numbers: [81, 48] Generated Node #0,4,3: 45:[81, 48] Operation: 46+2=48 Exploring Operation: 2+81=83, Resulting Numbers: [46, 83] Generated Node #0,4,4: 45:[46, 83] Operation: 2+81=83 Moving to Node #0,1 Current State: 45:[46, 6, 85], Operations: ['87-2=85'] Exploring Operation: 6+85=91, Resulting Numbers: [46, 91] Generated Node #0,1,0: 45:[46, 91] Operation: 6+85=91 Exploring Operation: 46-6=40, Resulting Numbers: [85, 40] Generated Node #0,1,1: 45:[85, 40] Operation: 46-6=40 Exploring Operation: 85-46=39, Resulting Numbers: [6, 39] Generated Node #0,1,2: 45:[6, 39] Operation: 85-46=39 Exploring Operation: 46+6=52, Resulting Numbers: [85, 52] Generated Node #0,1,3: 45:[85, 52] Operation: 46+6=52 Exploring Operation: 85-6=79, Resulting Numbers: [46, 79] Generated Node #0,1,4: 45:[46, 79] Operation: 85-6=79 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[6, 39], Operations: ['87-2=85', '85-46=39'] Exploring Operation: 6*39=234, Resulting Numbers: [234] 234,45 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[87, 46, 2, 6], Operations: [] Exploring Operation: 87-2=85, Resulting Numbers: [46, 6, 85] Generated Node #0,1: 45:[46, 6, 85] Operation: 87-2=85 Moving to Node #0,1 Current State: 45:[46, 6, 85], Operations: ['87-2=85'] Exploring Operation: 85-46=39, Resulting Numbers: [6, 39] Generated Node #0,1,2: 45:[6, 39] Operation: 85-46=39 Moving to Node #0,1,2 Current State: 45:[6, 39], Operations: ['87-2=85', '85-46=39'] Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 6, 12, 12, 43 ]
38
[ "43-6=37", "12/12=1", "37+1=38" ]
Current State: 38:[6, 12, 12, 43], Operations: [] Exploring Operation: 43-6=37, Resulting Numbers: [12, 12, 37] Generated Node #2: [12, 12, 37] from Operation: 43-6=37 Current State: 38:[12, 12, 37], Operations: ['43-6=37'] Exploring Operation: 12/12=1, Resulting Numbers: [37, 1] Generated Node #3: [37, 1] from Operation: 12/12=1 Current State: 38:[37, 1], Operations: ['43-6=37', '12/12=1'] Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[6, 12, 12, 43], Operations: [] Exploring Operation: 12/6=2, Resulting Numbers: [12, 43, 2] Generated Node #0,0: 38:[12, 43, 2] Operation: 12/6=2 Exploring Operation: 12-12=0, Resulting Numbers: [6, 43, 0] Generated Node #0,1: 38:[6, 43, 0] Operation: 12-12=0 Exploring Operation: 12/12=1, Resulting Numbers: [6, 43, 1] Generated Node #0,2: 38:[6, 43, 1] Operation: 12/12=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[6, 43, 1], Operations: ['12/12=1'] Exploring Operation: 6-1=5, Resulting Numbers: [43, 5] Generated Node #0,2,0: 38:[43, 5] Operation: 6-1=5 Exploring Operation: 43-6=37, Resulting Numbers: [1, 37] Generated Node #0,2,1: 38:[1, 37] Operation: 43-6=37 Exploring Operation: 43-1=42, Resulting Numbers: [6, 42] Generated Node #0,2,2: 38:[6, 42] Operation: 43-1=42 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[1, 37], Operations: ['12/12=1', '43-6=37'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 1*37=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[6, 12, 12, 43], Operations: [] Exploring Operation: 12/12=1, Resulting Numbers: [6, 43, 1] Generated Node #0,2: 38:[6, 43, 1] Operation: 12/12=1 Moving to Node #0,2 Current State: 38:[6, 43, 1], Operations: ['12/12=1'] Exploring Operation: 43-6=37, Resulting Numbers: [1, 37] Generated Node #0,2,1: 38:[1, 37] Operation: 43-6=37 Moving to Node #0,2,1 Current State: 38:[1, 37], Operations: ['12/12=1', '43-6=37'] Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 49, 5, 3, 25 ]
43
[ "49+5=54", "54/3=18", "25+18=43" ]
Current State: 43:[49, 5, 3, 25], Operations: [] Exploring Operation: 49+5=54, Resulting Numbers: [3, 25, 54] Generated Node #2: [3, 25, 54] from Operation: 49+5=54 Current State: 43:[3, 25, 54], Operations: ['49+5=54'] Exploring Operation: 54/3=18, Resulting Numbers: [25, 18] Generated Node #3: [25, 18] from Operation: 54/3=18 Current State: 43:[25, 18], Operations: ['49+5=54', '54/3=18'] Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[49, 5, 3, 25], Operations: [] Exploring Operation: 5+25=30, Resulting Numbers: [49, 3, 30] Generated Node #0,0: 43:[49, 3, 30] Operation: 5+25=30 Exploring Operation: 49-5=44, Resulting Numbers: [3, 25, 44] Generated Node #0,1: 43:[3, 25, 44] Operation: 49-5=44 Exploring Operation: 5*3=15, Resulting Numbers: [49, 25, 15] Generated Node #0,2: 43:[49, 25, 15] Operation: 5*3=15 Exploring Operation: 5+3=8, Resulting Numbers: [49, 25, 8] Generated Node #0,3: 43:[49, 25, 8] Operation: 5+3=8 Exploring Operation: 49-3=46, Resulting Numbers: [5, 25, 46] Generated Node #0,4: 43:[5, 25, 46] Operation: 49-3=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[49, 25, 15], Operations: ['5*3=15'] Exploring Operation: 49-25=24, Resulting Numbers: [15, 24] Generated Node #0,2,0: 43:[15, 24] Operation: 49-25=24 Exploring Operation: 25-15=10, Resulting Numbers: [49, 10] Generated Node #0,2,1: 43:[49, 10] Operation: 25-15=10 Exploring Operation: 25+15=40, Resulting Numbers: [49, 40] Generated Node #0,2,2: 43:[49, 40] Operation: 25+15=40 Exploring Operation: 49-15=34, Resulting Numbers: [25, 34] Generated Node #0,2,3: 43:[25, 34] Operation: 49-15=34 Exploring Operation: 49+15=64, Resulting Numbers: [25, 64] Generated Node #0,2,4: 43:[25, 64] Operation: 49+15=64 Moving to Node #0,2,2 Current State: 43:[49, 40], Operations: ['5*3=15', '25+15=40'] Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 49+40=89, Resulting Numbers: [89] 89,43 unequal: No Solution Exploring Operation: 49*40=1960, Resulting Numbers: [1960] 1960,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[25, 34], Operations: ['5*3=15', '49-15=34'] Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,43 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[49, 10], Operations: ['5*3=15', '25-15=10'] Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,43 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,43 unequal: No Solution Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,43 unequal: No Solution Moving to Node #0,2,4 Current State: 43:[25, 64], Operations: ['5*3=15', '49+15=64'] Exploring Operation: 64-25=39, Resulting Numbers: [39] 39,43 unequal: No Solution Exploring Operation: 25+64=89, Resulting Numbers: [89] 89,43 unequal: No Solution Exploring Operation: 25*64=1600, Resulting Numbers: [1600] 1600,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[15, 24], Operations: ['5*3=15', '49-25=24'] Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,43 unequal: No Solution Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,43 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[49, 3, 30], Operations: ['5+25=30'] Exploring Operation: 49+3=52, Resulting Numbers: [30, 52] Generated Node #0,0,0: 43:[30, 52] Operation: 49+3=52 Exploring Operation: 3+30=33, Resulting Numbers: [49, 33] Generated Node #0,0,1: 43:[49, 33] Operation: 3+30=33 Exploring Operation: 30-3=27, Resulting Numbers: [49, 27] Generated Node #0,0,2: 43:[49, 27] Operation: 30-3=27 Exploring Operation: 49-3=46, Resulting Numbers: [30, 46] Generated Node #0,0,3: 43:[30, 46] Operation: 49-3=46 Exploring Operation: 30/3=10, Resulting Numbers: [49, 10] Generated Node #0,0,4: 43:[49, 10] Operation: 30/3=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[49, 33], Operations: ['5+25=30', '3+30=33'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,43 unequal: No Solution Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,43 unequal: No Solution No 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: 43:[30, 46], Operations: ['5+25=30', '49-3=46'] Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 30+46=76, Resulting Numbers: [76] 76,43 unequal: No Solution Exploring Operation: 30*46=1380, Resulting Numbers: [1380] 1380,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[30, 52], Operations: ['5+25=30', '49+3=52'] Exploring Operation: 30+52=82, Resulting Numbers: [82] 82,43 unequal: No Solution Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 30*52=1560, Resulting Numbers: [1560] 1560,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 43:[49, 27], Operations: ['5+25=30', '30-3=27'] Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,43 unequal: No Solution Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,43 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 43:[49, 10], Operations: ['5+25=30', '30/3=10'] Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,43 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,43 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[3, 25, 44], Operations: ['49-5=44'] Exploring Operation: 3+25=28, Resulting Numbers: [44, 28] Generated Node #0,1,0: 43:[44, 28] Operation: 3+25=28 Exploring Operation: 3+44=47, Resulting Numbers: [25, 47] Generated Node #0,1,1: 43:[25, 47] Operation: 3+44=47 Exploring Operation: 25-3=22, Resulting Numbers: [44, 22] Generated Node #0,1,2: 43:[44, 22] Operation: 25-3=22 Exploring Operation: 3*25=75, Resulting Numbers: [44, 75] Generated Node #0,1,3: 43:[44, 75] Operation: 3*25=75 Exploring Operation: 44-3=41, Resulting Numbers: [25, 41] Generated Node #0,1,4: 43:[25, 41] Operation: 44-3=41 Moving to Node #0,1,0 Current State: 43:[44, 28], Operations: ['49-5=44', '3+25=28'] Exploring Operation: 44*28=1232, Resulting Numbers: [1232] 1232,43 unequal: No Solution Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,43 unequal: No Solution Moving to Node #0,1,4 Current State: 43:[25, 41], Operations: ['49-5=44', '44-3=41'] Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 25*41=1025, Resulting Numbers: [1025] 1025,43 unequal: No Solution Exploring Operation: 25+41=66, Resulting Numbers: [66] 66,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[25, 47], Operations: ['49-5=44', '3+44=47'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,43 unequal: No Solution Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[44, 22], Operations: ['49-5=44', '25-3=22'] Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 44*22=968, Resulting Numbers: [968] 968,43 unequal: No Solution Exploring Operation: 44+22=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[44, 75], Operations: ['49-5=44', '3*25=75'] Exploring Operation: 44*75=3300, Resulting Numbers: [3300] 3300,43 unequal: No Solution Exploring Operation: 44+75=119, Resulting Numbers: [119] 119,43 unequal: No Solution Exploring Operation: 75-44=31, Resulting Numbers: [31] 31,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[49, 25, 8], Operations: ['5+3=8'] Exploring Operation: 25+8=33, Resulting Numbers: [49, 33] Generated Node #0,3,0: 43:[49, 33] Operation: 25+8=33 Exploring Operation: 49+8=57, Resulting Numbers: [25, 57] Generated Node #0,3,1: 43:[25, 57] Operation: 49+8=57 Exploring Operation: 49-8=41, Resulting Numbers: [25, 41] Generated Node #0,3,2: 43:[25, 41] Operation: 49-8=41 Exploring Operation: 25-8=17, Resulting Numbers: [49, 17] Generated Node #0,3,3: 43:[49, 17] Operation: 25-8=17 Exploring Operation: 49-25=24, Resulting Numbers: [8, 24] Generated Node #0,3,4: 43:[8, 24] Operation: 49-25=24 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 43:[49, 33], Operations: ['5+3=8', '25+8=33'] Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,43 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 43:[25, 41], Operations: ['5+3=8', '49-8=41'] Exploring Operation: 25*41=1025, Resulting Numbers: [1025] 1025,43 unequal: No Solution Exploring Operation: 25+41=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 43:[25, 57], Operations: ['5+3=8', '49+8=57'] Exploring Operation: 25*57=1425, Resulting Numbers: [1425] 1425,43 unequal: No Solution Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 25+57=82, Resulting Numbers: [82] 82,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 43:[49, 17], Operations: ['5+3=8', '25-8=17'] Exploring Operation: 49+17=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 49*17=833, Resulting Numbers: [833] 833,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 43:[8, 24], Operations: ['5+3=8', '49-25=24'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,43 unequal: No Solution Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 43:[5, 25, 46], Operations: ['49-3=46'] Exploring Operation: 25-5=20, Resulting Numbers: [46, 20] Generated Node #0,4,0: 43:[46, 20] Operation: 25-5=20 Exploring Operation: 5+46=51, Resulting Numbers: [25, 51] Generated Node #0,4,1: 43:[25, 51] Operation: 5+46=51 Exploring Operation: 5+25=30, Resulting Numbers: [46, 30] Generated Node #0,4,2: 43:[46, 30] Operation: 5+25=30 Exploring Operation: 25/5=5, Resulting Numbers: [46, 5] Generated Node #0,4,3: 43:[46, 5] Operation: 25/5=5 Exploring Operation: 46-5=41, Resulting Numbers: [25, 41] Generated Node #0,4,4: 43:[25, 41] Operation: 46-5=41 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 43:[46, 30], Operations: ['49-3=46', '5+25=30'] Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,43 unequal: No Solution Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,43 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 43:[25, 41], Operations: ['49-3=46', '46-5=41'] Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 25+41=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 25*41=1025, Resulting Numbers: [1025] 1025,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 43:[46, 20], Operations: ['49-3=46', '25-5=20'] Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 43:[25, 51], Operations: ['49-3=46', '5+46=51'] Exploring Operation: 25+51=76, Resulting Numbers: [76] 76,43 unequal: No Solution Exploring Operation: 25*51=1275, Resulting Numbers: [1275] 1275,43 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 43:[46, 5], Operations: ['49-3=46', '25/5=5'] Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,43 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 2, 83, 73, 58 ]
35
[ "2*83=166", "73+58=131", "166-131=35" ]
Current State: 35:[2, 83, 73, 58], Operations: [] Exploring Operation: 2*83=166, Resulting Numbers: [73, 58, 166] Generated Node #2: [73, 58, 166] from Operation: 2*83=166 Current State: 35:[73, 58, 166], Operations: ['2*83=166'] Exploring Operation: 73+58=131, Resulting Numbers: [166, 131] Generated Node #3: [166, 131] from Operation: 73+58=131 Current State: 35:[166, 131], Operations: ['2*83=166', '73+58=131'] Exploring Operation: 166-131=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[2, 83, 73, 58], Operations: [] Exploring Operation: 73-58=15, Resulting Numbers: [2, 83, 15] Generated Node #0,0: 35:[2, 83, 15] Operation: 73-58=15 Exploring Operation: 58/2=29, Resulting Numbers: [83, 73, 29] Generated Node #0,1: 35:[83, 73, 29] Operation: 58/2=29 Exploring Operation: 83-73=10, Resulting Numbers: [2, 58, 10] Generated Node #0,2: 35:[2, 58, 10] Operation: 83-73=10 Exploring Operation: 83-2=81, Resulting Numbers: [73, 58, 81] Generated Node #0,3: 35:[73, 58, 81] Operation: 83-2=81 Exploring Operation: 83-58=25, Resulting Numbers: [2, 73, 25] Generated Node #0,4: 35:[2, 73, 25] Operation: 83-58=25 Moving to Node #0,2 Current State: 35:[2, 58, 10], Operations: ['83-73=10'] Exploring Operation: 58/2=29, Resulting Numbers: [10, 29] Generated Node #0,2,0: 35:[10, 29] Operation: 58/2=29 Exploring Operation: 58-10=48, Resulting Numbers: [2, 48] Generated Node #0,2,1: 35:[2, 48] Operation: 58-10=48 Exploring Operation: 58-2=56, Resulting Numbers: [10, 56] Generated Node #0,2,2: 35:[10, 56] Operation: 58-2=56 Exploring Operation: 10/2=5, Resulting Numbers: [58, 5] Generated Node #0,2,3: 35:[58, 5] Operation: 10/2=5 Exploring Operation: 10-2=8, Resulting Numbers: [58, 8] Generated Node #0,2,4: 35:[58, 8] Operation: 10-2=8 Moving to Node #0,4 Current State: 35:[2, 73, 25], Operations: ['83-58=25'] Exploring Operation: 2+73=75, Resulting Numbers: [25, 75] Generated Node #0,4,0: 35:[25, 75] Operation: 2+73=75 Exploring Operation: 25-2=23, Resulting Numbers: [73, 23] Generated Node #0,4,1: 35:[73, 23] Operation: 25-2=23 Exploring Operation: 73-25=48, Resulting Numbers: [2, 48] Generated Node #0,4,2: 35:[2, 48] Operation: 73-25=48 Exploring Operation: 2+25=27, Resulting Numbers: [73, 27] Generated Node #0,4,3: 35:[73, 27] Operation: 2+25=27 Exploring Operation: 73-2=71, Resulting Numbers: [25, 71] Generated Node #0,4,4: 35:[25, 71] Operation: 73-2=71 Moving to Node #0,0 Current State: 35:[2, 83, 15], Operations: ['73-58=15'] Exploring Operation: 2+83=85, Resulting Numbers: [15, 85] Generated Node #0,0,0: 35:[15, 85] Operation: 2+83=85 Exploring Operation: 83-15=68, Resulting Numbers: [2, 68] Generated Node #0,0,1: 35:[2, 68] Operation: 83-15=68 Exploring Operation: 15-2=13, Resulting Numbers: [83, 13] Generated Node #0,0,2: 35:[83, 13] Operation: 15-2=13 Exploring Operation: 83-2=81, Resulting Numbers: [15, 81] Generated Node #0,0,3: 35:[15, 81] Operation: 83-2=81 Exploring Operation: 2*15=30, Resulting Numbers: [83, 30] Generated Node #0,0,4: 35:[83, 30] Operation: 2*15=30 Moving to Node #0,1 Current State: 35:[83, 73, 29], Operations: ['58/2=29'] Exploring Operation: 83-73=10, Resulting Numbers: [29, 10] Generated Node #0,1,0: 35:[29, 10] Operation: 83-73=10 Exploring Operation: 83-29=54, Resulting Numbers: [73, 54] Generated Node #0,1,1: 35:[73, 54] Operation: 83-29=54 Exploring Operation: 83+29=112, Resulting Numbers: [73, 112] Generated Node #0,1,2: 35:[73, 112] Operation: 83+29=112 Exploring Operation: 73+29=102, Resulting Numbers: [83, 102] Generated Node #0,1,3: 35:[83, 102] Operation: 73+29=102 Exploring Operation: 73-29=44, Resulting Numbers: [83, 44] Generated Node #0,1,4: 35:[83, 44] Operation: 73-29=44 Moving to Node #0,3 Current State: 35:[73, 58, 81], Operations: ['83-2=81'] Exploring Operation: 81-73=8, Resulting Numbers: [58, 8] Generated Node #0,3,0: 35:[58, 8] Operation: 81-73=8 Exploring Operation: 73+81=154, Resulting Numbers: [58, 154] Generated Node #0,3,1: 35:[58, 154] Operation: 73+81=154 Exploring Operation: 73+58=131, Resulting Numbers: [81, 131] Generated Node #0,3,2: 35:[81, 131] Operation: 73+58=131 Exploring Operation: 73-58=15, Resulting Numbers: [81, 15] Generated Node #0,3,3: 35:[81, 15] Operation: 73-58=15 Exploring Operation: 81-58=23, Resulting Numbers: [73, 23] Generated Node #0,3,4: 35:[73, 23] Operation: 81-58=23 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 35:[58, 8], Operations: ['83-2=81', '81-73=8'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 58*8=464, Resulting Numbers: [464] 464,35 unequal: No Solution Exploring Operation: 58+8=66, Resulting Numbers: [66] 66,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,3,4 Current State: 35:[73, 23], Operations: ['83-2=81', '81-58=23'] Exploring Operation: 73+23=96, Resulting Numbers: [96] 96,35 unequal: No Solution Exploring Operation: 73*23=1679, Resulting Numbers: [1679] 1679,35 unequal: No Solution Exploring Operation: 73-23=50, Resulting Numbers: [50] 50,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,3,3 Current State: 35:[81, 15], Operations: ['83-2=81', '73-58=15'] Exploring Operation: 81*15=1215, Resulting Numbers: [1215] 1215,35 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,35 unequal: No Solution Exploring Operation: 81+15=96, Resulting Numbers: [96] 96,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,3,1 Current State: 35:[58, 154], Operations: ['83-2=81', '73+81=154'] Exploring Operation: 58+154=212, Resulting Numbers: [212] 212,35 unequal: No Solution Exploring Operation: 58*154=8932, Resulting Numbers: [8932] 8932,35 unequal: No Solution Exploring Operation: 154-58=96, Resulting Numbers: [96] 96,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,3,2 Current State: 35:[81, 131], Operations: ['83-2=81', '73+58=131'] Exploring Operation: 81+131=212, Resulting Numbers: [212] 212,35 unequal: No Solution Exploring Operation: 131-81=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 81*131=10611, Resulting Numbers: [10611] 10611,35 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: 35:[10, 29], Operations: ['83-73=10', '58/2=29'] Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,35 unequal: No Solution Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,35 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[29, 10], Operations: ['58/2=29', '83-73=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,35 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 29*10=290, Resulting Numbers: [290] 290,35 unequal: No Solution Moving to Node #0,4,2 Current State: 35:[2, 48], Operations: ['83-58=25', '73-25=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,35 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[2, 48], Operations: ['83-73=10', '58-10=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,35 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[58, 5], Operations: ['83-73=10', '10/2=5'] Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,35 unequal: No Solution Exploring Operation: 58*5=290, Resulting Numbers: [290] 290,35 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,35 unequal: No Solution Moving to Node #0,2,4 Current State: 35:[58, 8], Operations: ['83-73=10', '10-2=8'] Exploring Operation: 58*8=464, Resulting Numbers: [464] 464,35 unequal: No Solution Exploring Operation: 58+8=66, Resulting Numbers: [66] 66,35 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[10, 56], Operations: ['83-73=10', '58-2=56'] Exploring Operation: 10*56=560, Resulting Numbers: [560] 560,35 unequal: No Solution Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 10+56=66, Resulting Numbers: [66] 66,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[2, 68], Operations: ['73-58=15', '83-15=68'] Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,35 unequal: No Solution Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,35 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,35 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,35 unequal: No Solution Moving to Node #0,4,3 Current State: 35:[73, 27], Operations: ['83-58=25', '2+25=27'] Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,35 unequal: No Solution Exploring Operation: 73*27=1971, Resulting Numbers: [1971] 1971,35 unequal: No Solution Moving to Node #0,4,4 Current State: 35:[25, 71], Operations: ['83-58=25', '73-2=71'] Exploring Operation: 25*71=1775, Resulting Numbers: [1775] 1775,35 unequal: No Solution Exploring Operation: 25+71=96, Resulting Numbers: [96] 96,35 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,35 unequal: No Solution Moving to Node #0,4,1 Current State: 35:[73, 23], Operations: ['83-58=25', '25-2=23'] Exploring Operation: 73*23=1679, Resulting Numbers: [1679] 1679,35 unequal: No Solution Exploring Operation: 73-23=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 73+23=96, Resulting Numbers: [96] 96,35 unequal: No Solution Moving to Node #0,4,0 Current State: 35:[25, 75], Operations: ['83-58=25', '2+73=75'] Exploring Operation: 25*75=1875, Resulting Numbers: [1875] 1875,35 unequal: No Solution Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 25+75=100, Resulting Numbers: [100] 100,35 unequal: No Solution Moving to Node #0,0,4 Current State: 35:[83, 30], Operations: ['73-58=15', '2*15=30'] Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,35 unequal: No Solution Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,35 unequal: No Solution Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[15, 81], Operations: ['73-58=15', '83-2=81'] Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,35 unequal: No Solution Exploring Operation: 15*81=1215, Resulting Numbers: [1215] 1215,35 unequal: No Solution Exploring Operation: 15+81=96, Resulting Numbers: [96] 96,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[83, 13], Operations: ['73-58=15', '15-2=13'] Exploring Operation: 83*13=1079, Resulting Numbers: [1079] 1079,35 unequal: No Solution Exploring Operation: 83-13=70, Resulting Numbers: [70] 70,35 unequal: No Solution Exploring Operation: 83+13=96, Resulting Numbers: [96] 96,35 unequal: No Solution Moving to Node #0,1,4 Current State: 35:[83, 44], Operations: ['58/2=29', '73-29=44'] Exploring Operation: 83+44=127, Resulting Numbers: [127] 127,35 unequal: No Solution Exploring Operation: 83*44=3652, Resulting Numbers: [3652] 3652,35 unequal: No Solution Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[73, 54], Operations: ['58/2=29', '83-29=54'] Exploring Operation: 73*54=3942, Resulting Numbers: [3942] 3942,35 unequal: No Solution Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 73+54=127, Resulting Numbers: [127] 127,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[15, 85], Operations: ['73-58=15', '2+83=85'] Exploring Operation: 15+85=100, Resulting Numbers: [100] 100,35 unequal: No Solution Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,35 unequal: No Solution Exploring Operation: 15*85=1275, Resulting Numbers: [1275] 1275,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[73, 112], Operations: ['58/2=29', '83+29=112'] Exploring Operation: 73*112=8176, Resulting Numbers: [8176] 8176,35 unequal: No Solution Exploring Operation: 73+112=185, Resulting Numbers: [185] 185,35 unequal: No Solution Exploring Operation: 112-73=39, Resulting Numbers: [39] 39,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[83, 102], Operations: ['58/2=29', '73+29=102'] Exploring Operation: 83*102=8466, Resulting Numbers: [8466] 8466,35 unequal: No Solution Exploring Operation: 83+102=185, Resulting Numbers: [185] 185,35 unequal: No Solution Exploring Operation: 102-83=19, Resulting Numbers: [19] 19,35 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 6, 23, 15, 45 ]
59
[ "6+23=29", "45-15=30", "29+30=59" ]
Current State: 59:[6, 23, 15, 45], Operations: [] Exploring Operation: 6+23=29, Resulting Numbers: [15, 45, 29] Generated Node #2: [15, 45, 29] from Operation: 6+23=29 Current State: 59:[15, 45, 29], Operations: ['6+23=29'] Exploring Operation: 45-15=30, Resulting Numbers: [29, 30] Generated Node #3: [29, 30] from Operation: 45-15=30 Current State: 59:[29, 30], Operations: ['6+23=29', '45-15=30'] Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[6, 23, 15, 45], Operations: [] Exploring Operation: 6*15=90, Resulting Numbers: [23, 45, 90] Generated Node #0,0: 59:[23, 45, 90] Operation: 6*15=90 Exploring Operation: 6+23=29, Resulting Numbers: [15, 45, 29] Generated Node #0,1: 59:[15, 45, 29] Operation: 6+23=29 Moving to Node #0,0 Current State: 59:[23, 45, 90], Operations: ['6*15=90'] Exploring Operation: 90-23=67, Resulting Numbers: [45, 67] Generated Node #0,0,0: 59:[45, 67] Operation: 90-23=67 Exploring Operation: 23+45=68, Resulting Numbers: [90, 68] Generated Node #0,0,1: 59:[90, 68] Operation: 23+45=68 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[45, 67], Operations: ['6*15=90', '90-23=67'] Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 45+67=112, Resulting Numbers: [112] 112,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:[90, 68], Operations: ['6*15=90', '23+45=68'] Exploring Operation: 90+68=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 90-68=22, Resulting Numbers: [22] 22,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[15, 45, 29], Operations: ['6+23=29'] Exploring Operation: 15+29=44, Resulting Numbers: [45, 44] Generated Node #0,1,0: 59:[45, 44] Operation: 15+29=44 Exploring Operation: 15+45=60, Resulting Numbers: [29, 60] Generated Node #0,1,1: 59:[29, 60] Operation: 15+45=60 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[45, 44], Operations: ['6+23=29', '15+29=44'] Exploring Operation: 45+44=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[29, 60], Operations: ['6+23=29', '15+45=60'] Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,59 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
[ 99, 14, 45, 56 ]
28
[ "99-45=54", "56-54=2", "14*2=28" ]
Current State: 28:[99, 14, 45, 56], Operations: [] Exploring Operation: 99-45=54, Resulting Numbers: [14, 56, 54] Generated Node #2: [14, 56, 54] from Operation: 99-45=54 Current State: 28:[14, 56, 54], Operations: ['99-45=54'] Exploring Operation: 56-54=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 56-54=2 Current State: 28:[14, 2], Operations: ['99-45=54', '56-54=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[99, 14, 45, 56], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [99, 45, 4] Generated Node #0,0: 28:[99, 45, 4] Operation: 56/14=4 Exploring Operation: 99-45=54, Resulting Numbers: [14, 56, 54] Generated Node #0,1: 28:[14, 56, 54] Operation: 99-45=54 Exploring Operation: 56-45=11, Resulting Numbers: [99, 14, 11] Generated Node #0,2: 28:[99, 14, 11] Operation: 56-45=11 Exploring Operation: 99-14=85, Resulting Numbers: [45, 56, 85] Generated Node #0,3: 28:[45, 56, 85] Operation: 99-14=85 Exploring Operation: 99-56=43, Resulting Numbers: [14, 45, 43] Generated Node #0,4: 28:[14, 45, 43] Operation: 99-56=43 Moving to Node #0,4 Current State: 28:[14, 45, 43], Operations: ['99-56=43'] Exploring Operation: 45-14=31, Resulting Numbers: [43, 31] Generated Node #0,4,0: 28:[43, 31] Operation: 45-14=31 Exploring Operation: 14+45=59, Resulting Numbers: [43, 59] Generated Node #0,4,1: 28:[43, 59] Operation: 14+45=59 Exploring Operation: 43-14=29, Resulting Numbers: [45, 29] Generated Node #0,4,2: 28:[45, 29] Operation: 43-14=29 Exploring Operation: 14+43=57, Resulting Numbers: [45, 57] Generated Node #0,4,3: 28:[45, 57] Operation: 14+43=57 Exploring Operation: 45-43=2, Resulting Numbers: [14, 2] Generated Node #0,4,4: 28:[14, 2] Operation: 45-43=2 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 28:[14, 2], Operations: ['99-56=43', '45-43=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[99, 14, 45, 56], Operations: [] Exploring Operation: 99-56=43, Resulting Numbers: [14, 45, 43] Generated Node #0,4: 28:[14, 45, 43] Operation: 99-56=43 Moving to Node #0,4 Current State: 28:[14, 45, 43], Operations: ['99-56=43'] Exploring Operation: 45-43=2, Resulting Numbers: [14, 2] Generated Node #0,4,4: 28:[14, 2] Operation: 45-43=2 Moving to Node #0,4,4 Current State: 28:[14, 2], Operations: ['99-56=43', '45-43=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 50, 77, 6, 46 ]
87
[ "50+77=127", "46-6=40", "127-40=87" ]
Current State: 87:[50, 77, 6, 46], Operations: [] Exploring Operation: 50+77=127, Resulting Numbers: [6, 46, 127] Generated Node #2: [6, 46, 127] from Operation: 50+77=127 Current State: 87:[6, 46, 127], Operations: ['50+77=127'] Exploring Operation: 46-6=40, Resulting Numbers: [127, 40] Generated Node #3: [127, 40] from Operation: 46-6=40 Current State: 87:[127, 40], Operations: ['50+77=127', '46-6=40'] Exploring Operation: 127-40=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[50, 77, 6, 46], Operations: [] Exploring Operation: 50+46=96, Resulting Numbers: [77, 6, 96] Generated Node #0,0: 87:[77, 6, 96] Operation: 50+46=96 Exploring Operation: 77-50=27, Resulting Numbers: [6, 46, 27] Generated Node #0,1: 87:[6, 46, 27] Operation: 77-50=27 Exploring Operation: 50-46=4, Resulting Numbers: [77, 6, 4] Generated Node #0,2: 87:[77, 6, 4] Operation: 50-46=4 Moving to Node #0,2 Current State: 87:[77, 6, 4], Operations: ['50-46=4'] Exploring Operation: 77+4=81, Resulting Numbers: [6, 81] Generated Node #0,2,0: 87:[6, 81] Operation: 77+4=81 Exploring Operation: 6-4=2, Resulting Numbers: [77, 2] Generated Node #0,2,1: 87:[77, 2] Operation: 6-4=2 Exploring Operation: 77+6=83, Resulting Numbers: [4, 83] Generated Node #0,2,2: 87:[4, 83] Operation: 77+6=83 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[4, 83], Operations: ['50-46=4', '77+6=83'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,87 unequal: No Solution Exploring Operation: 4+83=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[50, 77, 6, 46], Operations: [] Exploring Operation: 50-46=4, Resulting Numbers: [77, 6, 4] Generated Node #0,2: 87:[77, 6, 4] Operation: 50-46=4 Moving to Node #0,2 Current State: 87:[77, 6, 4], Operations: ['50-46=4'] Exploring Operation: 77+6=83, Resulting Numbers: [4, 83] Generated Node #0,2,2: 87:[4, 83] Operation: 77+6=83 Moving to Node #0,2,2 Current State: 87:[4, 83], Operations: ['50-46=4', '77+6=83'] Exploring Operation: 4+83=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 88, 54, 74, 24 ]
44
[ "88+54=142", "74+24=98", "142-98=44" ]
Current State: 44:[88, 54, 74, 24], Operations: [] Exploring Operation: 88+54=142, Resulting Numbers: [74, 24, 142] Generated Node #2: [74, 24, 142] from Operation: 88+54=142 Current State: 44:[74, 24, 142], Operations: ['88+54=142'] Exploring Operation: 74+24=98, Resulting Numbers: [142, 98] Generated Node #3: [142, 98] from Operation: 74+24=98 Current State: 44:[142, 98], Operations: ['88+54=142', '74+24=98'] Exploring Operation: 142-98=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[88, 54, 74, 24], Operations: [] Exploring Operation: 88-54=34, Resulting Numbers: [74, 24, 34] Generated Node #0,0: 44:[74, 24, 34] Operation: 88-54=34 Exploring Operation: 88-74=14, Resulting Numbers: [54, 24, 14] Generated Node #0,1: 44:[54, 24, 14] Operation: 88-74=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[54, 24, 14], Operations: ['88-74=14'] Exploring Operation: 54-24=30, Resulting Numbers: [14, 30] Generated Node #0,1,0: 44:[14, 30] Operation: 54-24=30 Exploring Operation: 54-14=40, Resulting Numbers: [24, 40] Generated Node #0,1,1: 44:[24, 40] Operation: 54-14=40 Moving to Node #0,1,1 Current State: 44:[24, 40], Operations: ['88-74=14', '54-14=40'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[14, 30], Operations: ['88-74=14', '54-24=30'] Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[88, 54, 74, 24], Operations: [] Exploring Operation: 88-74=14, Resulting Numbers: [54, 24, 14] Generated Node #0,1: 44:[54, 24, 14] Operation: 88-74=14 Moving to Node #0,1 Current State: 44:[54, 24, 14], Operations: ['88-74=14'] Exploring Operation: 54-24=30, Resulting Numbers: [14, 30] Generated Node #0,1,0: 44:[14, 30] Operation: 54-24=30 Moving to Node #0,1,0 Current State: 44:[14, 30], Operations: ['88-74=14', '54-24=30'] Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 50, 83, 28, 82 ]
21
[ "83-50=33", "82-28=54", "54-33=21" ]
Current State: 21:[50, 83, 28, 82], Operations: [] Exploring Operation: 83-50=33, Resulting Numbers: [28, 82, 33] Generated Node #2: [28, 82, 33] from Operation: 83-50=33 Current State: 21:[28, 82, 33], Operations: ['83-50=33'] Exploring Operation: 82-28=54, Resulting Numbers: [33, 54] Generated Node #3: [33, 54] from Operation: 82-28=54 Current State: 21:[33, 54], Operations: ['83-50=33', '82-28=54'] Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[50, 83, 28, 82], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [50, 28, 1] Generated Node #0,0: 21:[50, 28, 1] Operation: 83-82=1 Exploring Operation: 82-50=32, Resulting Numbers: [83, 28, 32] Generated Node #0,1: 21:[83, 28, 32] Operation: 82-50=32 Exploring Operation: 83-50=33, Resulting Numbers: [28, 82, 33] Generated Node #0,2: 21:[28, 82, 33] Operation: 83-50=33 Exploring Operation: 50-28=22, Resulting Numbers: [83, 82, 22] Generated Node #0,3: 21:[83, 82, 22] Operation: 50-28=22 Moving to Node #0,0 Current State: 21:[50, 28, 1], Operations: ['83-82=1'] Exploring Operation: 50*1=50, Resulting Numbers: [28, 50] Generated Node #0,0,0: 21:[28, 50] Operation: 50*1=50 Exploring Operation: 50-1=49, Resulting Numbers: [28, 49] Generated Node #0,0,1: 21:[28, 49] Operation: 50-1=49 Exploring Operation: 50-28=22, Resulting Numbers: [1, 22] Generated Node #0,0,2: 21:[1, 22] Operation: 50-28=22 Exploring Operation: 28-1=27, Resulting Numbers: [50, 27] Generated Node #0,0,3: 21:[50, 27] Operation: 28-1=27 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 21:[1, 22], Operations: ['83-82=1', '50-28=22'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[50, 83, 28, 82], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [50, 28, 1] Generated Node #0,0: 21:[50, 28, 1] Operation: 83-82=1 Moving to Node #0,0 Current State: 21:[50, 28, 1], Operations: ['83-82=1'] Exploring Operation: 50-28=22, Resulting Numbers: [1, 22] Generated Node #0,0,2: 21:[1, 22] Operation: 50-28=22 Moving to Node #0,0,2 Current State: 21:[1, 22], Operations: ['83-82=1', '50-28=22'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 72, 4, 13, 12 ]
69
[ "72-4=68", "13-12=1", "68+1=69" ]
Current State: 69:[72, 4, 13, 12], Operations: [] Exploring Operation: 72-4=68, Resulting Numbers: [13, 12, 68] Generated Node #2: [13, 12, 68] from Operation: 72-4=68 Current State: 69:[13, 12, 68], Operations: ['72-4=68'] Exploring Operation: 13-12=1, Resulting Numbers: [68, 1] Generated Node #3: [68, 1] from Operation: 13-12=1 Current State: 69:[68, 1], Operations: ['72-4=68', '13-12=1'] Exploring Operation: 68+1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[72, 4, 13, 12], Operations: [] Exploring Operation: 13-12=1, Resulting Numbers: [72, 4, 1] Generated Node #0,0: 69:[72, 4, 1] Operation: 13-12=1 Exploring Operation: 13+12=25, Resulting Numbers: [72, 4, 25] Generated Node #0,1: 69:[72, 4, 25] Operation: 13+12=25 Moving to Node #0,0 Current State: 69:[72, 4, 1], Operations: ['13-12=1'] Exploring Operation: 72-1=71, Resulting Numbers: [4, 71] Generated Node #0,0,0: 69:[4, 71] Operation: 72-1=71 Exploring Operation: 72-4=68, Resulting Numbers: [1, 68] Generated Node #0,0,1: 69:[1, 68] Operation: 72-4=68 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[4, 71], Operations: ['13-12=1', '72-1=71'] Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,69 unequal: No Solution Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[1, 68], Operations: ['13-12=1', '72-4=68'] Exploring Operation: 1+68=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[72, 4, 13, 12], Operations: [] Exploring Operation: 13-12=1, Resulting Numbers: [72, 4, 1] Generated Node #0,0: 69:[72, 4, 1] Operation: 13-12=1 Moving to Node #0,0 Current State: 69:[72, 4, 1], Operations: ['13-12=1'] Exploring Operation: 72-4=68, Resulting Numbers: [1, 68] Generated Node #0,0,1: 69:[1, 68] Operation: 72-4=68 Moving to Node #0,0,1 Current State: 69:[1, 68], Operations: ['13-12=1', '72-4=68'] Exploring Operation: 1+68=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 10, 23, 2, 81 ]
68
[ "10*23=230", "2*81=162", "230-162=68" ]
Current State: 68:[10, 23, 2, 81], Operations: [] Exploring Operation: 10*23=230, Resulting Numbers: [2, 81, 230] Generated Node #2: [2, 81, 230] from Operation: 10*23=230 Current State: 68:[2, 81, 230], Operations: ['10*23=230'] Exploring Operation: 2*81=162, Resulting Numbers: [230, 162] Generated Node #3: [230, 162] from Operation: 2*81=162 Current State: 68:[230, 162], Operations: ['10*23=230', '2*81=162'] Exploring Operation: 230-162=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[10, 23, 2, 81], Operations: [] Exploring Operation: 10+23=33, Resulting Numbers: [2, 81, 33] Generated Node #0,0: 68:[2, 81, 33] Operation: 10+23=33 Exploring Operation: 81-10=71, Resulting Numbers: [23, 2, 71] Generated Node #0,1: 68:[23, 2, 71] Operation: 81-10=71 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[23, 2, 71], Operations: ['81-10=71'] Exploring Operation: 23-2=21, Resulting Numbers: [71, 21] Generated Node #0,1,0: 68:[71, 21] Operation: 23-2=21 Exploring Operation: 71-2=69, Resulting Numbers: [23, 69] Generated Node #0,1,1: 68:[23, 69] Operation: 71-2=69 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[71, 21], Operations: ['81-10=71', '23-2=21'] Exploring Operation: 71+21=92, Resulting Numbers: [92] 92,68 unequal: No Solution Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,68 unequal: No Solution No 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: 68:[23, 69], Operations: ['81-10=71', '71-2=69'] Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 69/23=3, Resulting Numbers: [3] 3,68 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: 68:[2, 81, 33], Operations: ['10+23=33'] Exploring Operation: 81-2=79, Resulting Numbers: [33, 79] Generated Node #0,0,0: 68:[33, 79] Operation: 81-2=79 Exploring Operation: 2+33=35, Resulting Numbers: [81, 35] Generated Node #0,0,1: 68:[81, 35] Operation: 2+33=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[33, 79], Operations: ['10+23=33', '81-2=79'] Exploring Operation: 33+79=112, Resulting Numbers: [112] 112,68 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,68 unequal: No Solution No 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: 68:[81, 35], Operations: ['10+23=33', '2+33=35'] Exploring Operation: 81+35=116, Resulting Numbers: [116] 116,68 unequal: No Solution Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,68 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
[ 22, 18, 51, 18 ]
37
[ "22-18=4", "51-18=33", "4+33=37" ]
Current State: 37:[22, 18, 51, 18], Operations: [] Exploring Operation: 22-18=4, Resulting Numbers: [51, 4] Generated Node #2: [51, 4] from Operation: 22-18=4 Current State: 37:[51, 4], Operations: ['22-18=4'] Exploring Operation: 51-18=33, Resulting Numbers: [4, 33] Generated Node #3: [4, 33] from Operation: 51-18=33 Current State: 37:[4, 33], Operations: ['22-18=4', '51-18=33'] Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[22, 18, 51, 18], Operations: [] Exploring Operation: 18+18=36, Resulting Numbers: [22, 51, 36] Generated Node #0,0: 37:[22, 51, 36] Operation: 18+18=36 Exploring Operation: 22+18=40, Resulting Numbers: [51, 18, 40] Generated Node #0,1: 37:[51, 18, 40] Operation: 22+18=40 Exploring Operation: 22+18=40, Resulting Numbers: [18, 51, 40] Generated Node #0,2: 37:[18, 51, 40] Operation: 22+18=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[22, 51, 36], Operations: ['18+18=36'] Exploring Operation: 22+51=73, Resulting Numbers: [36, 73] Generated Node #0,0,0: 37:[36, 73] Operation: 22+51=73 Exploring Operation: 51-22=29, Resulting Numbers: [36, 29] Generated Node #0,0,1: 37:[36, 29] Operation: 51-22=29 Exploring Operation: 22+36=58, Resulting Numbers: [51, 58] Generated Node #0,0,2: 37:[51, 58] Operation: 22+36=58 Moving to Node #0,0,1 Current State: 37:[36, 29], Operations: ['18+18=36', '51-22=29'] Exploring Operation: 36+29=65, Resulting Numbers: [65] 65,37 unequal: No Solution Exploring Operation: 36*29=1044, Resulting Numbers: [1044] 1044,37 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[51, 58], Operations: ['18+18=36', '22+36=58'] Exploring Operation: 51+58=109, Resulting Numbers: [109] 109,37 unequal: No Solution Exploring Operation: 58-51=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 51*58=2958, Resulting Numbers: [2958] 2958,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[36, 73], Operations: ['18+18=36', '22+51=73'] Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[22, 18, 51, 18], Operations: [] Exploring Operation: 18+18=36, Resulting Numbers: [22, 51, 36] Generated Node #0,0: 37:[22, 51, 36] Operation: 18+18=36 Moving to Node #0,0 Current State: 37:[22, 51, 36], Operations: ['18+18=36'] Exploring Operation: 22+51=73, Resulting Numbers: [36, 73] Generated Node #0,0,0: 37:[36, 73] Operation: 22+51=73 Moving to Node #0,0,0 Current State: 37:[36, 73], Operations: ['18+18=36', '22+51=73'] Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 59, 66, 97, 69 ]
80
[ "69-66=3", "59*3=177", "177-97=80" ]
Current State: 80:[59, 66, 97, 69], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [59, 97, 3] Generated Node #2: [59, 97, 3] from Operation: 69-66=3 Current State: 80:[59, 97, 3], Operations: ['69-66=3'] Exploring Operation: 59*3=177, Resulting Numbers: [97, 177] Generated Node #3: [97, 177] from Operation: 59*3=177 Current State: 80:[97, 177], Operations: ['69-66=3', '59*3=177'] Exploring Operation: 177-97=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[59, 66, 97, 69], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [97, 69, 7] Generated Node #0,0: 80:[97, 69, 7] Operation: 66-59=7 Exploring Operation: 69-59=10, Resulting Numbers: [66, 97, 10] Generated Node #0,1: 80:[66, 97, 10] Operation: 69-59=10 Exploring Operation: 97-59=38, Resulting Numbers: [66, 69, 38] Generated Node #0,2: 80:[66, 69, 38] Operation: 97-59=38 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[66, 69, 38], Operations: ['97-59=38'] Exploring Operation: 69-38=31, Resulting Numbers: [66, 31] Generated Node #0,2,0: 80:[66, 31] Operation: 69-38=31 Exploring Operation: 69-66=3, Resulting Numbers: [38, 3] Generated Node #0,2,1: 80:[38, 3] Operation: 69-66=3 Exploring Operation: 66-38=28, Resulting Numbers: [69, 28] Generated Node #0,2,2: 80:[69, 28] Operation: 66-38=28 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 80:[38, 3], Operations: ['97-59=38', '69-66=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,80 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[69, 28], Operations: ['97-59=38', '66-38=28'] Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 69+28=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 69*28=1932, Resulting Numbers: [1932] 1932,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[66, 31], Operations: ['97-59=38', '69-38=31'] Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 66*31=2046, Resulting Numbers: [2046] 2046,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[97, 69, 7], Operations: ['66-59=7'] Exploring Operation: 97-69=28, Resulting Numbers: [7, 28] Generated Node #0,0,0: 80:[7, 28] Operation: 97-69=28 Exploring Operation: 97-7=90, Resulting Numbers: [69, 90] Generated Node #0,0,1: 80:[69, 90] Operation: 97-7=90 Exploring Operation: 69+7=76, Resulting Numbers: [97, 76] Generated Node #0,0,2: 80:[97, 76] Operation: 69+7=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[7, 28], Operations: ['66-59=7', '97-69=28'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[69, 90], Operations: ['66-59=7', '97-7=90'] Exploring Operation: 90-69=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 69*90=6210, Resulting Numbers: [6210] 6210,80 unequal: No Solution Exploring Operation: 69+90=159, Resulting Numbers: [159] 159,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[97, 76], Operations: ['66-59=7', '69+7=76'] Exploring Operation: 97*76=7372, Resulting Numbers: [7372] 7372,80 unequal: No Solution Exploring Operation: 97+76=173, Resulting Numbers: [173] 173,80 unequal: No Solution Exploring Operation: 97-76=21, Resulting Numbers: [21] 21,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[66, 97, 10], Operations: ['69-59=10'] Exploring Operation: 97-66=31, Resulting Numbers: [10, 31] Generated Node #0,1,0: 80:[10, 31] Operation: 97-66=31 Exploring Operation: 66+10=76, Resulting Numbers: [97, 76] Generated Node #0,1,1: 80:[97, 76] Operation: 66+10=76 Exploring Operation: 97-10=87, Resulting Numbers: [66, 87] Generated Node #0,1,2: 80:[66, 87] Operation: 97-10=87 Moving to Node #0,1,0 Current State: 80:[10, 31], Operations: ['69-59=10', '97-66=31'] Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,80 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[97, 76], Operations: ['69-59=10', '66+10=76'] Exploring Operation: 97-76=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 97+76=173, Resulting Numbers: [173] 173,80 unequal: No Solution Exploring Operation: 97*76=7372, Resulting Numbers: [7372] 7372,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[66, 87], Operations: ['69-59=10', '97-10=87'] Exploring Operation: 66*87=5742, Resulting Numbers: [5742] 5742,80 unequal: No Solution Exploring Operation: 87-66=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 66+87=153, Resulting Numbers: [153] 153,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 53, 72, 6, 86 ]
45
[ "53+72=125", "86-6=80", "125-80=45" ]
Current State: 45:[53, 72, 6, 86], Operations: [] Exploring Operation: 53+72=125, Resulting Numbers: [6, 86, 125] Generated Node #2: [6, 86, 125] from Operation: 53+72=125 Current State: 45:[6, 86, 125], Operations: ['53+72=125'] Exploring Operation: 86-6=80, Resulting Numbers: [125, 80] Generated Node #3: [125, 80] from Operation: 86-6=80 Current State: 45:[125, 80], Operations: ['53+72=125', '86-6=80'] Exploring Operation: 125-80=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[53, 72, 6, 86], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [53, 6, 14] Generated Node #0,0: 45:[53, 6, 14] Operation: 86-72=14 Exploring Operation: 86-53=33, Resulting Numbers: [72, 6, 33] Generated Node #0,1: 45:[72, 6, 33] Operation: 86-53=33 Moving to Node #0,0 Current State: 45:[53, 6, 14], Operations: ['86-72=14'] Exploring Operation: 53-6=47, Resulting Numbers: [14, 47] Generated Node #0,0,0: 45:[14, 47] Operation: 53-6=47 Exploring Operation: 53-14=39, Resulting Numbers: [6, 39] Generated Node #0,0,1: 45:[6, 39] Operation: 53-14=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[14, 47], Operations: ['86-72=14', '53-6=47'] Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,45 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,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,1 Current State: 45:[6, 39], Operations: ['86-72=14', '53-14=39'] Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[53, 72, 6, 86], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [53, 6, 14] Generated Node #0,0: 45:[53, 6, 14] Operation: 86-72=14 Moving to Node #0,0 Current State: 45:[53, 6, 14], Operations: ['86-72=14'] Exploring Operation: 53-14=39, Resulting Numbers: [6, 39] Generated Node #0,0,1: 45:[6, 39] Operation: 53-14=39 Moving to Node #0,0,1 Current State: 45:[6, 39], Operations: ['86-72=14', '53-14=39'] Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 47, 90, 43, 64 ]
65
[ "90-47=43", "43/43=1", "64+1=65" ]
Current State: 65:[47, 90, 43, 64], Operations: [] Exploring Operation: 90-47=43, Resulting Numbers: [43, 64, 43] Generated Node #2: [43, 64, 43] from Operation: 90-47=43 Current State: 65:[43, 64, 43], Operations: ['90-47=43'] Exploring Operation: 43/43=1, Resulting Numbers: [64, 1] Generated Node #3: [64, 1] from Operation: 43/43=1 Current State: 65:[64, 1], Operations: ['90-47=43', '43/43=1'] Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[47, 90, 43, 64], Operations: [] Exploring Operation: 47+43=90, Resulting Numbers: [90, 64, 90] Generated Node #0,0: 65:[90, 64, 90] Operation: 47+43=90 Exploring Operation: 90-43=47, Resulting Numbers: [47, 64, 47] Generated Node #0,1: 65:[47, 64, 47] Operation: 90-43=47 Exploring Operation: 90-47=43, Resulting Numbers: [43, 64, 43] Generated Node #0,2: 65:[43, 64, 43] Operation: 90-47=43 Exploring Operation: 47-43=4, Resulting Numbers: [90, 64, 4] Generated Node #0,3: 65:[90, 64, 4] Operation: 47-43=4 Moving to Node #0,3 Current State: 65:[90, 64, 4], Operations: ['47-43=4'] Exploring Operation: 64+4=68, Resulting Numbers: [90, 68] Generated Node #0,3,0: 65:[90, 68] Operation: 64+4=68 Exploring Operation: 64/4=16, Resulting Numbers: [90, 16] Generated Node #0,3,1: 65:[90, 16] Operation: 64/4=16 Exploring Operation: 90-4=86, Resulting Numbers: [64, 86] Generated Node #0,3,2: 65:[64, 86] Operation: 90-4=86 Exploring Operation: 90-64=26, Resulting Numbers: [4, 26] Generated Node #0,3,3: 65:[4, 26] Operation: 90-64=26 Moving to Node #0,1 Current State: 65:[47, 64, 47], Operations: ['90-43=47'] Exploring Operation: 64-47=17, Resulting Numbers: [47, 17] Generated Node #0,1,0: 65:[47, 17] Operation: 64-47=17 Exploring Operation: 64-47=17, Resulting Numbers: [47, 17] Generated Node #0,1,1: 65:[47, 17] Operation: 64-47=17 Exploring Operation: 47/47=1, Resulting Numbers: [64, 1] Generated Node #0,1,2: 65:[64, 1] Operation: 47/47=1 Exploring Operation: 47-47=0, Resulting Numbers: [64, 0] Generated Node #0,1,3: 65:[64, 0] Operation: 47-47=0 Moving to Node #0,2 Current State: 65:[43, 64, 43], Operations: ['90-47=43'] Exploring Operation: 43+43=86, Resulting Numbers: [64, 86] Generated Node #0,2,0: 65:[64, 86] Operation: 43+43=86 Exploring Operation: 43/43=1, Resulting Numbers: [64, 1] Generated Node #0,2,1: 65:[64, 1] Operation: 43/43=1 Exploring Operation: 64-43=21, Resulting Numbers: [43, 21] Generated Node #0,2,2: 65:[43, 21] Operation: 64-43=21 Exploring Operation: 43-43=0, Resulting Numbers: [64, 0] Generated Node #0,2,3: 65:[64, 0] Operation: 43-43=0 Moving to Node #0,0 Current State: 65:[90, 64, 90], Operations: ['47+43=90'] Exploring Operation: 90/90=1, Resulting Numbers: [64, 1] Generated Node #0,0,0: 65:[64, 1] Operation: 90/90=1 Exploring Operation: 90-64=26, Resulting Numbers: [90, 26] Generated Node #0,0,1: 65:[90, 26] Operation: 90-64=26 Exploring Operation: 90-90=0, Resulting Numbers: [64, 0] Generated Node #0,0,2: 65:[64, 0] Operation: 90-90=0 Exploring Operation: 90-64=26, Resulting Numbers: [90, 26] Generated Node #0,0,3: 65:[90, 26] Operation: 90-64=26 Moving to Node #0,1,2 Current State: 65:[64, 1], Operations: ['90-43=47', '47/47=1'] Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[47, 90, 43, 64], Operations: [] Exploring Operation: 90-43=47, Resulting Numbers: [47, 64, 47] Generated Node #0,1: 65:[47, 64, 47] Operation: 90-43=47 Moving to Node #0,1 Current State: 65:[47, 64, 47], Operations: ['90-43=47'] Exploring Operation: 47/47=1, Resulting Numbers: [64, 1] Generated Node #0,1,2: 65:[64, 1] Operation: 47/47=1 Moving to Node #0,1,2 Current State: 65:[64, 1], Operations: ['90-43=47', '47/47=1'] Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.978299
hs_4
mult_heuristic
[ 14, 90, 5, 25 ]
45
[ "14*5=70", "90+25=115", "115-70=45" ]
Current State: 45:[14, 90, 5, 25], Operations: [] Exploring Operation: 14*5=70, Resulting Numbers: [90, 25, 70] Generated Node #2: [90, 25, 70] from Operation: 14*5=70 Current State: 45:[90, 25, 70], Operations: ['14*5=70'] Exploring Operation: 90+25=115, Resulting Numbers: [70, 115] Generated Node #3: [70, 115] from Operation: 90+25=115 Current State: 45:[70, 115], Operations: ['14*5=70', '90+25=115'] Exploring Operation: 115-70=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[14, 90, 5, 25], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [14, 25, 18] Generated Node #0,0: 45:[14, 25, 18] Operation: 90/5=18 Exploring Operation: 90-25=65, Resulting Numbers: [14, 5, 65] Generated Node #0,1: 45:[14, 5, 65] Operation: 90-25=65 Exploring Operation: 25/5=5, Resulting Numbers: [14, 90, 5] Generated Node #0,2: 45:[14, 90, 5] Operation: 25/5=5 Exploring Operation: 90-14=76, Resulting Numbers: [5, 25, 76] Generated Node #0,3: 45:[5, 25, 76] Operation: 90-14=76 Moving to Node #0,0 Current State: 45:[14, 25, 18], Operations: ['90/5=18'] Exploring Operation: 25-14=11, Resulting Numbers: [18, 11] Generated Node #0,0,0: 45:[18, 11] Operation: 25-14=11 Exploring Operation: 25-18=7, Resulting Numbers: [14, 7] Generated Node #0,0,1: 45:[14, 7] Operation: 25-18=7 Exploring Operation: 14+25=39, Resulting Numbers: [18, 39] Generated Node #0,0,2: 45:[18, 39] Operation: 14+25=39 Exploring Operation: 25+18=43, Resulting Numbers: [14, 43] Generated Node #0,0,3: 45:[14, 43] Operation: 25+18=43 Moving to Node #0,1 Current State: 45:[14, 5, 65], Operations: ['90-25=65'] Exploring Operation: 65-14=51, Resulting Numbers: [5, 51] Generated Node #0,1,0: 45:[5, 51] Operation: 65-14=51 Exploring Operation: 65/5=13, Resulting Numbers: [14, 13] Generated Node #0,1,1: 45:[14, 13] Operation: 65/5=13 Exploring Operation: 65-5=60, Resulting Numbers: [14, 60] Generated Node #0,1,2: 45:[14, 60] Operation: 65-5=60 Exploring Operation: 14-5=9, Resulting Numbers: [65, 9] Generated Node #0,1,3: 45:[65, 9] Operation: 14-5=9 Moving to Node #0,3 Current State: 45:[5, 25, 76], Operations: ['90-14=76'] Exploring Operation: 25/5=5, Resulting Numbers: [76, 5] Generated Node #0,3,0: 45:[76, 5] Operation: 25/5=5 Exploring Operation: 76-5=71, Resulting Numbers: [25, 71] Generated Node #0,3,1: 45:[25, 71] Operation: 76-5=71 Exploring Operation: 25-5=20, Resulting Numbers: [76, 20] Generated Node #0,3,2: 45:[76, 20] Operation: 25-5=20 Exploring Operation: 76-25=51, Resulting Numbers: [5, 51] Generated Node #0,3,3: 45:[5, 51] Operation: 76-25=51 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 45:[5, 51], Operations: ['90-14=76', '76-25=51'] Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,45 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,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,3,0 Current State: 45:[76, 5], Operations: ['90-14=76', '25/5=5'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,45 unequal: No Solution Exploring Operation: 76*5=380, Resulting Numbers: [380] 380,45 unequal: No Solution Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,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,3,1 Current State: 45:[25, 71], Operations: ['90-14=76', '76-5=71'] Exploring Operation: 25+71=96, Resulting Numbers: [96] 96,45 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 25*71=1775, Resulting Numbers: [1775] 1775,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,3,2 Current State: 45:[76, 20], Operations: ['90-14=76', '25-5=20'] Exploring Operation: 76+20=96, Resulting Numbers: [96] 96,45 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,45 unequal: No Solution Exploring Operation: 76*20=1520, Resulting Numbers: [1520] 1520,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:[14, 90, 5], Operations: ['25/5=5'] Exploring Operation: 14-5=9, Resulting Numbers: [90, 9] Generated Node #0,2,0: 45:[90, 9] Operation: 14-5=9 Exploring Operation: 90-14=76, Resulting Numbers: [5, 76] Generated Node #0,2,1: 45:[5, 76] Operation: 90-14=76 Exploring Operation: 90-5=85, Resulting Numbers: [14, 85] Generated Node #0,2,2: 45:[14, 85] Operation: 90-5=85 Exploring Operation: 90/5=18, Resulting Numbers: [14, 18] Generated Node #0,2,3: 45:[14, 18] Operation: 90/5=18 Moving to Node #0,0,1 Current State: 45:[14, 7], Operations: ['90/5=18', '25-18=7'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,45 unequal: No Solution Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,45 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,45 unequal: No Solution Moving to Node #0,0,3 Current State: 45:[14, 43], Operations: ['90/5=18', '25+18=43'] Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,45 unequal: No Solution Exploring Operation: 14*43=602, Resulting Numbers: [602] 602,45 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[14, 13], Operations: ['90-25=65', '65/5=13'] Exploring Operation: 14*13=182, Resulting Numbers: [182] 182,45 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[14, 18], Operations: ['25/5=5', '90/5=18'] Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,45 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[18, 11], Operations: ['90/5=18', '25-14=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,45 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,45 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[5, 51], Operations: ['90-25=65', '65-14=51'] Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,45 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,45 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[18, 39], Operations: ['90/5=18', '14+25=39'] Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,45 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[14, 60], Operations: ['90-25=65', '65-5=60'] Exploring Operation: 14*60=840, Resulting Numbers: [840] 840,45 unequal: No Solution Exploring Operation: 14+60=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,45 unequal: No Solution Moving to Node #0,1,3 Current State: 45:[65, 9], Operations: ['90-25=65', '14-5=9'] Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,45 unequal: No Solution Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,45 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[5, 76], Operations: ['25/5=5', '90-14=76'] Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,45 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,45 unequal: No Solution Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[14, 85], Operations: ['25/5=5', '90-5=85'] Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,45 unequal: No Solution Exploring Operation: 14*85=1190, Resulting Numbers: [1190] 1190,45 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[90, 9], Operations: ['25/5=5', '14-5=9'] Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,45 unequal: No Solution Exploring Operation: 90*9=810, Resulting Numbers: [810] 810,45 unequal: No Solution Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,45 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 39, 77, 20, 2 ]
68
[ "39+77=116", "20+116=136", "136/2=68" ]
Current State: 68:[39, 77, 20, 2], Operations: [] Exploring Operation: 39+77=116, Resulting Numbers: [20, 2, 116] Generated Node #2: [20, 2, 116] from Operation: 39+77=116 Current State: 68:[20, 2, 116], Operations: ['39+77=116'] Exploring Operation: 20+116=136, Resulting Numbers: [2, 136] Generated Node #3: [2, 136] from Operation: 20+116=136 Current State: 68:[2, 136], Operations: ['39+77=116', '20+116=136'] Exploring Operation: 136/2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[39, 77, 20, 2], Operations: [] Exploring Operation: 77-39=38, Resulting Numbers: [20, 2, 38] Generated Node #0,0: 68:[20, 2, 38] Operation: 77-39=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[20, 2, 38], Operations: ['77-39=38'] Exploring Operation: 38-20=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 68:[2, 18] Operation: 38-20=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[2, 18], Operations: ['77-39=38', '38-20=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,68 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
[ 3, 19, 15, 69 ]
47
[ "15+69=84", "84/3=28", "19+28=47" ]
Current State: 47:[3, 19, 15, 69], Operations: [] Exploring Operation: 15+69=84, Resulting Numbers: [3, 19, 84] Generated Node #2: [3, 19, 84] from Operation: 15+69=84 Current State: 47:[3, 19, 84], Operations: ['15+69=84'] Exploring Operation: 84/3=28, Resulting Numbers: [19, 28] Generated Node #3: [19, 28] from Operation: 84/3=28 Current State: 47:[19, 28], Operations: ['15+69=84', '84/3=28'] Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[3, 19, 15, 69], Operations: [] Exploring Operation: 3*15=45, Resulting Numbers: [19, 69, 45] Generated Node #0,0: 47:[19, 69, 45] Operation: 3*15=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[19, 69, 45], Operations: ['3*15=45'] Exploring Operation: 69-19=50, Resulting Numbers: [45, 50] Generated Node #0,0,0: 47:[45, 50] Operation: 69-19=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[45, 50], Operations: ['3*15=45', '69-19=50'] Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 72, 76, 38, 86 ]
44
[ "76-72=4", "86-38=48", "48-4=44" ]
Current State: 44:[72, 76, 38, 86], Operations: [] Exploring Operation: 76-72=4, Resulting Numbers: [38, 86, 4] Generated Node #2: [38, 86, 4] from Operation: 76-72=4 Current State: 44:[38, 86, 4], Operations: ['76-72=4'] Exploring Operation: 86-38=48, Resulting Numbers: [4, 48] Generated Node #3: [4, 48] from Operation: 86-38=48 Current State: 44:[4, 48], Operations: ['76-72=4', '86-38=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[72, 76, 38, 86], Operations: [] Exploring Operation: 86-76=10, Resulting Numbers: [72, 38, 10] Generated Node #0,0: 44:[72, 38, 10] Operation: 86-76=10 Exploring Operation: 86-38=48, Resulting Numbers: [72, 76, 48] Generated Node #0,1: 44:[72, 76, 48] Operation: 86-38=48 Exploring Operation: 76/38=2, Resulting Numbers: [72, 86, 2] Generated Node #0,2: 44:[72, 86, 2] Operation: 76/38=2 Exploring Operation: 86-72=14, Resulting Numbers: [76, 38, 14] Generated Node #0,3: 44:[76, 38, 14] Operation: 86-72=14 Exploring Operation: 76-72=4, Resulting Numbers: [38, 86, 4] Generated Node #0,4: 44:[38, 86, 4] Operation: 76-72=4 Moving to Node #0,0 Current State: 44:[72, 38, 10], Operations: ['86-76=10'] Exploring Operation: 38+10=48, Resulting Numbers: [72, 48] Generated Node #0,0,0: 44:[72, 48] Operation: 38+10=48 Exploring Operation: 72-38=34, Resulting Numbers: [10, 34] Generated Node #0,0,1: 44:[10, 34] Operation: 72-38=34 Exploring Operation: 38-10=28, Resulting Numbers: [72, 28] Generated Node #0,0,2: 44:[72, 28] Operation: 38-10=28 Exploring Operation: 72+10=82, Resulting Numbers: [38, 82] Generated Node #0,0,3: 44:[38, 82] Operation: 72+10=82 Exploring Operation: 72-10=62, Resulting Numbers: [38, 62] Generated Node #0,0,4: 44:[38, 62] Operation: 72-10=62 Moving to Node #0,3 Current State: 44:[76, 38, 14], Operations: ['86-72=14'] Exploring Operation: 38+14=52, Resulting Numbers: [76, 52] Generated Node #0,3,0: 44:[76, 52] Operation: 38+14=52 Exploring Operation: 76/38=2, Resulting Numbers: [14, 2] Generated Node #0,3,1: 44:[14, 2] Operation: 76/38=2 Exploring Operation: 38-14=24, Resulting Numbers: [76, 24] Generated Node #0,3,2: 44:[76, 24] Operation: 38-14=24 Exploring Operation: 76-14=62, Resulting Numbers: [38, 62] Generated Node #0,3,3: 44:[38, 62] Operation: 76-14=62 Exploring Operation: 76-38=38, Resulting Numbers: [14, 38] Generated Node #0,3,4: 44:[14, 38] Operation: 76-38=38 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 44:[14, 2], Operations: ['86-72=14', '76/38=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,44 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 44:[14, 38], Operations: ['86-72=14', '76-38=38'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,44 unequal: No Solution Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 44:[38, 62], Operations: ['86-72=14', '76-14=62'] Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,44 unequal: No Solution Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 44:[76, 24], Operations: ['86-72=14', '38-14=24'] Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,44 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,44 unequal: No Solution Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 44:[76, 52], Operations: ['86-72=14', '38+14=52'] Exploring Operation: 76+52=128, Resulting Numbers: [128] 128,44 unequal: No Solution Exploring Operation: 76*52=3952, Resulting Numbers: [3952] 3952,44 unequal: No Solution Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 44:[38, 86, 4], Operations: ['76-72=4'] Exploring Operation: 86+4=90, Resulting Numbers: [38, 90] Generated Node #0,4,0: 44:[38, 90] Operation: 86+4=90 Exploring Operation: 86-4=82, Resulting Numbers: [38, 82] Generated Node #0,4,1: 44:[38, 82] Operation: 86-4=82 Exploring Operation: 38-4=34, Resulting Numbers: [86, 34] Generated Node #0,4,2: 44:[86, 34] Operation: 38-4=34 Exploring Operation: 86-38=48, Resulting Numbers: [4, 48] Generated Node #0,4,3: 44:[4, 48] Operation: 86-38=48 Exploring Operation: 38+4=42, Resulting Numbers: [86, 42] Generated Node #0,4,4: 44:[86, 42] Operation: 38+4=42 Moving to Node #0,1 Current State: 44:[72, 76, 48], Operations: ['86-38=48'] Exploring Operation: 72+48=120, Resulting Numbers: [76, 120] Generated Node #0,1,0: 44:[76, 120] Operation: 72+48=120 Exploring Operation: 72+76=148, Resulting Numbers: [48, 148] Generated Node #0,1,1: 44:[48, 148] Operation: 72+76=148 Exploring Operation: 76-72=4, Resulting Numbers: [48, 4] Generated Node #0,1,2: 44:[48, 4] Operation: 76-72=4 Exploring Operation: 72-48=24, Resulting Numbers: [76, 24] Generated Node #0,1,3: 44:[76, 24] Operation: 72-48=24 Exploring Operation: 76-48=28, Resulting Numbers: [72, 28] Generated Node #0,1,4: 44:[72, 28] Operation: 76-48=28 Moving to Node #0,2 Current State: 44:[72, 86, 2], Operations: ['76/38=2'] Exploring Operation: 86/2=43, Resulting Numbers: [72, 43] Generated Node #0,2,0: 44:[72, 43] Operation: 86/2=43 Exploring Operation: 86-72=14, Resulting Numbers: [2, 14] Generated Node #0,2,1: 44:[2, 14] Operation: 86-72=14 Exploring Operation: 86-2=84, Resulting Numbers: [72, 84] Generated Node #0,2,2: 44:[72, 84] Operation: 86-2=84 Exploring Operation: 72-2=70, Resulting Numbers: [86, 70] Generated Node #0,2,3: 44:[86, 70] Operation: 72-2=70 Exploring Operation: 72/2=36, Resulting Numbers: [86, 36] Generated Node #0,2,4: 44:[86, 36] Operation: 72/2=36 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 44:[2, 14], Operations: ['76/38=2', '86-72=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,44 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[72, 43], Operations: ['76/38=2', '86/2=43'] Exploring Operation: 72+43=115, Resulting Numbers: [115] 115,44 unequal: No Solution Exploring Operation: 72*43=3096, Resulting Numbers: [3096] 3096,44 unequal: No Solution Exploring Operation: 72-43=29, Resulting Numbers: [29] 29,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 44:[86, 36], Operations: ['76/38=2', '72/2=36'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 86*36=3096, Resulting Numbers: [3096] 3096,44 unequal: No Solution Exploring Operation: 86+36=122, Resulting Numbers: [122] 122,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[72, 84], Operations: ['76/38=2', '86-2=84'] Exploring Operation: 84-72=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 72+84=156, Resulting Numbers: [156] 156,44 unequal: No Solution Exploring Operation: 72*84=6048, Resulting Numbers: [6048] 6048,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 44:[86, 70], Operations: ['76/38=2', '72-2=70'] Exploring Operation: 86+70=156, Resulting Numbers: [156] 156,44 unequal: No Solution Exploring Operation: 86-70=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 86*70=6020, Resulting Numbers: [6020] 6020,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 44:[4, 48], Operations: ['76-72=4', '86-38=48'] Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,44 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[72, 76, 38, 86], Operations: [] Exploring Operation: 76-72=4, Resulting Numbers: [38, 86, 4] Generated Node #0,4: 44:[38, 86, 4] Operation: 76-72=4 Moving to Node #0,4 Current State: 44:[38, 86, 4], Operations: ['76-72=4'] Exploring Operation: 86-38=48, Resulting Numbers: [4, 48] Generated Node #0,4,3: 44:[4, 48] Operation: 86-38=48 Moving to Node #0,4,3 Current State: 44:[4, 48], Operations: ['76-72=4', '86-38=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.940972
hs_5
mult_heuristic
[ 61, 40, 92, 80 ]
89
[ "61+40=101", "92-80=12", "101-12=89" ]
Current State: 89:[61, 40, 92, 80], Operations: [] Exploring Operation: 61+40=101, Resulting Numbers: [92, 80, 101] Generated Node #2: [92, 80, 101] from Operation: 61+40=101 Current State: 89:[92, 80, 101], Operations: ['61+40=101'] Exploring Operation: 92-80=12, Resulting Numbers: [101, 12] Generated Node #3: [101, 12] from Operation: 92-80=12 Current State: 89:[101, 12], Operations: ['61+40=101', '92-80=12'] Exploring Operation: 101-12=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[61, 40, 92, 80], Operations: [] Exploring Operation: 92-40=52, Resulting Numbers: [61, 80, 52] Generated Node #0,0: 89:[61, 80, 52] Operation: 92-40=52 Exploring Operation: 61+40=101, Resulting Numbers: [92, 80, 101] Generated Node #0,1: 89:[92, 80, 101] Operation: 61+40=101 Exploring Operation: 40+80=120, Resulting Numbers: [61, 92, 120] Generated Node #0,2: 89:[61, 92, 120] Operation: 40+80=120 Exploring Operation: 61-40=21, Resulting Numbers: [92, 80, 21] Generated Node #0,3: 89:[92, 80, 21] Operation: 61-40=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[92, 80, 101], Operations: ['61+40=101'] Exploring Operation: 92+80=172, Resulting Numbers: [101, 172] Generated Node #0,1,0: 89:[101, 172] Operation: 92+80=172 Exploring Operation: 101-80=21, Resulting Numbers: [92, 21] Generated Node #0,1,1: 89:[92, 21] Operation: 101-80=21 Exploring Operation: 101-92=9, Resulting Numbers: [80, 9] Generated Node #0,1,2: 89:[80, 9] Operation: 101-92=9 Exploring Operation: 92-80=12, Resulting Numbers: [101, 12] Generated Node #0,1,3: 89:[101, 12] Operation: 92-80=12 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[92, 21], Operations: ['61+40=101', '101-80=21'] Exploring Operation: 92+21=113, Resulting Numbers: [113] 113,89 unequal: No Solution Exploring Operation: 92-21=71, Resulting Numbers: [71] 71,89 unequal: No Solution Exploring Operation: 92*21=1932, Resulting Numbers: [1932] 1932,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,1,2 Current State: 89:[80, 9], Operations: ['61+40=101', '101-92=9'] Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,89 unequal: No Solution Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[61, 40, 92, 80], Operations: [] Exploring Operation: 61+40=101, Resulting Numbers: [92, 80, 101] Generated Node #0,1: 89:[92, 80, 101] Operation: 61+40=101 Moving to Node #0,1 Current State: 89:[92, 80, 101], Operations: ['61+40=101'] Exploring Operation: 101-92=9, Resulting Numbers: [80, 9] Generated Node #0,1,2: 89:[80, 9] Operation: 101-92=9 Moving to Node #0,1,2 Current State: 89:[80, 9], Operations: ['61+40=101', '101-92=9'] Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 33, 93, 8, 56 ]
12
[ "93-33=60", "56-8=48", "60-48=12" ]
Current State: 12:[33, 93, 8, 56], Operations: [] Exploring Operation: 93-33=60, Resulting Numbers: [8, 56, 60] Generated Node #2: [8, 56, 60] from Operation: 93-33=60 Current State: 12:[8, 56, 60], Operations: ['93-33=60'] Exploring Operation: 56-8=48, Resulting Numbers: [60, 48] Generated Node #3: [60, 48] from Operation: 56-8=48 Current State: 12:[60, 48], Operations: ['93-33=60', '56-8=48'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[33, 93, 8, 56], Operations: [] Exploring Operation: 93-56=37, Resulting Numbers: [33, 8, 37] Generated Node #0,0: 12:[33, 8, 37] Operation: 93-56=37 Moving to Node #0,0 Current State: 12:[33, 8, 37], Operations: ['93-56=37'] Exploring Operation: 37-33=4, Resulting Numbers: [8, 4] Generated Node #0,0,0: 12:[8, 4] Operation: 37-33=4 Moving to Node #0,0,0 Current State: 12:[8, 4], Operations: ['93-56=37', '37-33=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[33, 93, 8, 56], Operations: [] Exploring Operation: 93-56=37, Resulting Numbers: [33, 8, 37] Generated Node #0,0: 12:[33, 8, 37] Operation: 93-56=37 Moving to Node #0,0 Current State: 12:[33, 8, 37], Operations: ['93-56=37'] Exploring Operation: 37-33=4, Resulting Numbers: [8, 4] Generated Node #0,0,0: 12:[8, 4] Operation: 37-33=4 Moving to Node #0,0,0 Current State: 12:[8, 4], Operations: ['93-56=37', '37-33=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 39, 98, 21, 70 ]
37
[ "70-21=49", "98/49=2", "39-2=37" ]
Current State: 37:[39, 98, 21, 70], Operations: [] Exploring Operation: 70-21=49, Resulting Numbers: [39, 98, 49] Generated Node #2: [39, 98, 49] from Operation: 70-21=49 Current State: 37:[39, 98, 49], Operations: ['70-21=49'] Exploring Operation: 98/49=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 98/49=2 Current State: 37:[39, 2], Operations: ['70-21=49', '98/49=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[39, 98, 21, 70], Operations: [] Exploring Operation: 98-39=59, Resulting Numbers: [21, 70, 59] Generated Node #0,0: 37:[21, 70, 59] Operation: 98-39=59 Exploring Operation: 98-70=28, Resulting Numbers: [39, 21, 28] Generated Node #0,1: 37:[39, 21, 28] Operation: 98-70=28 Moving to Node #0,1 Current State: 37:[39, 21, 28], Operations: ['98-70=28'] Exploring Operation: 21+28=49, Resulting Numbers: [39, 49] Generated Node #0,1,0: 37:[39, 49] Operation: 21+28=49 Exploring Operation: 39-21=18, Resulting Numbers: [28, 18] Generated Node #0,1,1: 37:[28, 18] Operation: 39-21=18 Moving to Node #0,0 Current State: 37:[21, 70, 59], Operations: ['98-39=59'] Exploring Operation: 70-21=49, Resulting Numbers: [59, 49] Generated Node #0,0,0: 37:[59, 49] Operation: 70-21=49 Exploring Operation: 59-21=38, Resulting Numbers: [70, 38] Generated Node #0,0,1: 37:[70, 38] Operation: 59-21=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[59, 49], Operations: ['98-39=59', '70-21=49'] Exploring Operation: 59+49=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[70, 38], Operations: ['98-39=59', '59-21=38'] Exploring Operation: 70+38=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,37 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: 37:[39, 49], Operations: ['98-70=28', '21+28=49'] Exploring Operation: 39+49=88, Resulting Numbers: [88] 88,37 unequal: No Solution Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[28, 18], Operations: ['98-70=28', '39-21=18'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,37 unequal: No Solution Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,37 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 33, 60, 23, 8 ]
32
[ "60-33=27", "27-23=4", "8*4=32" ]
Current State: 32:[33, 60, 23, 8], Operations: [] Exploring Operation: 60-33=27, Resulting Numbers: [23, 8, 27] Generated Node #2: [23, 8, 27] from Operation: 60-33=27 Current State: 32:[23, 8, 27], Operations: ['60-33=27'] Exploring Operation: 27-23=4, Resulting Numbers: [8, 4] Generated Node #3: [8, 4] from Operation: 27-23=4 Current State: 32:[8, 4], Operations: ['60-33=27', '27-23=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[33, 60, 23, 8], Operations: [] Exploring Operation: 60-33=27, Resulting Numbers: [23, 8, 27] Generated Node #0,0: 32:[23, 8, 27] Operation: 60-33=27 Exploring Operation: 60-23=37, Resulting Numbers: [33, 8, 37] Generated Node #0,1: 32:[33, 8, 37] Operation: 60-23=37 Moving to Node #0,1 Current State: 32:[33, 8, 37], Operations: ['60-23=37'] Exploring Operation: 37-33=4, Resulting Numbers: [8, 4] Generated Node #0,1,0: 32:[8, 4] Operation: 37-33=4 Exploring Operation: 37-8=29, Resulting Numbers: [33, 29] Generated Node #0,1,1: 32:[33, 29] Operation: 37-8=29 Moving to Node #0,0 Current State: 32:[23, 8, 27], Operations: ['60-33=27'] Exploring Operation: 27-23=4, Resulting Numbers: [8, 4] Generated Node #0,0,0: 32:[8, 4] Operation: 27-23=4 Exploring Operation: 23+8=31, Resulting Numbers: [27, 31] Generated Node #0,0,1: 32:[27, 31] Operation: 23+8=31 Moving to Node #0,1,0 Current State: 32:[8, 4], Operations: ['60-23=37', '37-33=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[33, 60, 23, 8], Operations: [] Exploring Operation: 60-23=37, Resulting Numbers: [33, 8, 37] Generated Node #0,1: 32:[33, 8, 37] Operation: 60-23=37 Moving to Node #0,1 Current State: 32:[33, 8, 37], Operations: ['60-23=37'] Exploring Operation: 37-33=4, Resulting Numbers: [8, 4] Generated Node #0,1,0: 32:[8, 4] Operation: 37-33=4 Moving to Node #0,1,0 Current State: 32:[8, 4], Operations: ['60-23=37', '37-33=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 59, 82, 39, 11 ]
73
[ "82-59=23", "39+11=50", "23+50=73" ]
Current State: 73:[59, 82, 39, 11], Operations: [] Exploring Operation: 82-59=23, Resulting Numbers: [39, 11, 23] Generated Node #2: [39, 11, 23] from Operation: 82-59=23 Current State: 73:[39, 11, 23], Operations: ['82-59=23'] Exploring Operation: 39+11=50, Resulting Numbers: [23, 50] Generated Node #3: [23, 50] from Operation: 39+11=50 Current State: 73:[23, 50], Operations: ['82-59=23', '39+11=50'] Exploring Operation: 23+50=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[59, 82, 39, 11], Operations: [] Exploring Operation: 59+11=70, Resulting Numbers: [82, 39, 70] Generated Node #0,0: 73:[82, 39, 70] Operation: 59+11=70 Moving to Node #0,0 Current State: 73:[82, 39, 70], Operations: ['59+11=70'] Exploring Operation: 82-39=43, Resulting Numbers: [70, 43] Generated Node #0,0,0: 73:[70, 43] Operation: 82-39=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[70, 43], Operations: ['59+11=70', '82-39=43'] Exploring Operation: 70+43=113, Resulting Numbers: [113] 113,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 34, 79, 87, 54 ]
79
[ "87-34=53", "54-53=1", "79*1=79" ]
Current State: 79:[34, 79, 87, 54], Operations: [] Exploring Operation: 87-34=53, Resulting Numbers: [79, 54, 53] Generated Node #2: [79, 54, 53] from Operation: 87-34=53 Current State: 79:[79, 54, 53], Operations: ['87-34=53'] Exploring Operation: 54-53=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 54-53=1 Current State: 79:[79, 1], Operations: ['87-34=53', '54-53=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[34, 79, 87, 54], Operations: [] Exploring Operation: 87-34=53, Resulting Numbers: [79, 54, 53] Generated Node #0,0: 79:[79, 54, 53] Operation: 87-34=53 Exploring Operation: 34+54=88, Resulting Numbers: [79, 87, 88] Generated Node #0,1: 79:[79, 87, 88] Operation: 34+54=88 Exploring Operation: 34+87=121, Resulting Numbers: [79, 54, 121] Generated Node #0,2: 79:[79, 54, 121] Operation: 34+87=121 Exploring Operation: 34+79=113, Resulting Numbers: [87, 54, 113] Generated Node #0,3: 79:[87, 54, 113] Operation: 34+79=113 Exploring Operation: 79-34=45, Resulting Numbers: [87, 54, 45] Generated Node #0,4: 79:[87, 54, 45] Operation: 79-34=45 Moving to Node #0,1 Current State: 79:[79, 87, 88], Operations: ['34+54=88'] Exploring Operation: 88-79=9, Resulting Numbers: [87, 9] Generated Node #0,1,0: 79:[87, 9] Operation: 88-79=9 Exploring Operation: 79+88=167, Resulting Numbers: [87, 167] Generated Node #0,1,1: 79:[87, 167] Operation: 79+88=167 Exploring Operation: 87-79=8, Resulting Numbers: [88, 8] Generated Node #0,1,2: 79:[88, 8] Operation: 87-79=8 Exploring Operation: 88-87=1, Resulting Numbers: [79, 1] Generated Node #0,1,3: 79:[79, 1] Operation: 88-87=1 Exploring Operation: 79+87=166, Resulting Numbers: [88, 166] Generated Node #0,1,4: 79:[88, 166] Operation: 79+87=166 Moving to Node #0,0 Current State: 79:[79, 54, 53], Operations: ['87-34=53'] Exploring Operation: 79+53=132, Resulting Numbers: [54, 132] Generated Node #0,0,0: 79:[54, 132] Operation: 79+53=132 Exploring Operation: 79+54=133, Resulting Numbers: [53, 133] Generated Node #0,0,1: 79:[53, 133] Operation: 79+54=133 Exploring Operation: 54+53=107, Resulting Numbers: [79, 107] Generated Node #0,0,2: 79:[79, 107] Operation: 54+53=107 Exploring Operation: 54-53=1, Resulting Numbers: [79, 1] Generated Node #0,0,3: 79:[79, 1] Operation: 54-53=1 Exploring Operation: 79-53=26, Resulting Numbers: [54, 26] Generated Node #0,0,4: 79:[54, 26] Operation: 79-53=26 Moving to Node #0,2 Current State: 79:[79, 54, 121], Operations: ['34+87=121'] Exploring Operation: 79+54=133, Resulting Numbers: [121, 133] Generated Node #0,2,0: 79:[121, 133] Operation: 79+54=133 Exploring Operation: 121-79=42, Resulting Numbers: [54, 42] Generated Node #0,2,1: 79:[54, 42] Operation: 121-79=42 Exploring Operation: 79-54=25, Resulting Numbers: [121, 25] Generated Node #0,2,2: 79:[121, 25] Operation: 79-54=25 Exploring Operation: 121-54=67, Resulting Numbers: [79, 67] Generated Node #0,2,3: 79:[79, 67] Operation: 121-54=67 Exploring Operation: 54+121=175, Resulting Numbers: [79, 175] Generated Node #0,2,4: 79:[79, 175] Operation: 54+121=175 Moving to Node #0,3 Current State: 79:[87, 54, 113], Operations: ['34+79=113'] Exploring Operation: 113-54=59, Resulting Numbers: [87, 59] Generated Node #0,3,0: 79:[87, 59] Operation: 113-54=59 Exploring Operation: 87+54=141, Resulting Numbers: [113, 141] Generated Node #0,3,1: 79:[113, 141] Operation: 87+54=141 Exploring Operation: 54+113=167, Resulting Numbers: [87, 167] Generated Node #0,3,2: 79:[87, 167] Operation: 54+113=167 Exploring Operation: 113-87=26, Resulting Numbers: [54, 26] Generated Node #0,3,3: 79:[54, 26] Operation: 113-87=26 Exploring Operation: 87-54=33, Resulting Numbers: [113, 33] Generated Node #0,3,4: 79:[113, 33] Operation: 87-54=33 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[87, 59], Operations: ['34+79=113', '113-54=59'] Exploring Operation: 87-59=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 87*59=5133, Resulting Numbers: [5133] 5133,79 unequal: No Solution Exploring Operation: 87+59=146, Resulting Numbers: [146] 146,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,3 Current State: 79:[54, 26], Operations: ['34+79=113', '113-87=26'] Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,79 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,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,4 Current State: 79:[113, 33], Operations: ['34+79=113', '87-54=33'] Exploring Operation: 113-33=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 113*33=3729, Resulting Numbers: [3729] 3729,79 unequal: No Solution Exploring Operation: 113+33=146, Resulting Numbers: [146] 146,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,1 Current State: 79:[113, 141], Operations: ['34+79=113', '87+54=141'] Exploring Operation: 113*141=15933, Resulting Numbers: [15933] 15933,79 unequal: No Solution Exploring Operation: 113+141=254, Resulting Numbers: [254] 254,79 unequal: No Solution Exploring Operation: 141-113=28, Resulting Numbers: [28] 28,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 79:[87, 167], Operations: ['34+79=113', '54+113=167'] Exploring Operation: 167-87=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 87+167=254, Resulting Numbers: [254] 254,79 unequal: No Solution Exploring Operation: 87*167=14529, Resulting Numbers: [14529] 14529,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 79:[87, 54, 45], Operations: ['79-34=45'] Exploring Operation: 54+45=99, Resulting Numbers: [87, 99] Generated Node #0,4,0: 79:[87, 99] Operation: 54+45=99 Exploring Operation: 54-45=9, Resulting Numbers: [87, 9] Generated Node #0,4,1: 79:[87, 9] Operation: 54-45=9 Exploring Operation: 87+45=132, Resulting Numbers: [54, 132] Generated Node #0,4,2: 79:[54, 132] Operation: 87+45=132 Exploring Operation: 87-54=33, Resulting Numbers: [45, 33] Generated Node #0,4,3: 79:[45, 33] Operation: 87-54=33 Exploring Operation: 87-45=42, Resulting Numbers: [54, 42] Generated Node #0,4,4: 79:[54, 42] Operation: 87-45=42 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 79:[87, 99], Operations: ['79-34=45', '54+45=99'] Exploring Operation: 87+99=186, Resulting Numbers: [186] 186,79 unequal: No Solution Exploring Operation: 87*99=8613, Resulting Numbers: [8613] 8613,79 unequal: No Solution Exploring Operation: 99-87=12, Resulting Numbers: [12] 12,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,4,4 Current State: 79:[54, 42], Operations: ['79-34=45', '87-45=42'] Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,79 unequal: No Solution Exploring Operation: 54*42=2268, Resulting Numbers: [2268] 2268,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,4,1 Current State: 79:[87, 9], Operations: ['79-34=45', '54-45=9'] Exploring Operation: 87+9=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 87*9=783, Resulting Numbers: [783] 783,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,4,2 Current State: 79:[54, 132], Operations: ['79-34=45', '87+45=132'] Exploring Operation: 132-54=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 54+132=186, Resulting Numbers: [186] 186,79 unequal: No Solution Exploring Operation: 54*132=7128, Resulting Numbers: [7128] 7128,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,4,3 Current State: 79:[45, 33], Operations: ['79-34=45', '87-54=33'] Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,79 unequal: No Solution Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 79:[79, 67], Operations: ['34+87=121', '121-54=67'] Exploring Operation: 79+67=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 79*67=5293, Resulting Numbers: [5293] 5293,79 unequal: No Solution Exploring Operation: 79-67=12, Resulting Numbers: [12] 12,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[79, 107], Operations: ['87-34=53', '54+53=107'] Exploring Operation: 79*107=8453, Resulting Numbers: [8453] 8453,79 unequal: No Solution Exploring Operation: 107-79=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 79+107=186, Resulting Numbers: [186] 186,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[54, 42], Operations: ['34+87=121', '121-79=42'] Exploring Operation: 54*42=2268, Resulting Numbers: [2268] 2268,79 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,79 unequal: No Solution Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[54, 132], Operations: ['87-34=53', '79+53=132'] Exploring Operation: 54*132=7128, Resulting Numbers: [7128] 7128,79 unequal: No Solution Exploring Operation: 54+132=186, Resulting Numbers: [186] 186,79 unequal: No Solution Exploring Operation: 132-54=78, Resulting Numbers: [78] 78,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[87, 9], Operations: ['34+54=88', '88-79=9'] Exploring Operation: 87+9=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 87*9=783, Resulting Numbers: [783] 783,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[79, 1], Operations: ['34+54=88', '88-87=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[34, 79, 87, 54], Operations: [] Exploring Operation: 34+54=88, Resulting Numbers: [79, 87, 88] Generated Node #0,1: 79:[79, 87, 88] Operation: 34+54=88 Moving to Node #0,1 Current State: 79:[79, 87, 88], Operations: ['34+54=88'] Exploring Operation: 88-87=1, Resulting Numbers: [79, 1] Generated Node #0,1,3: 79:[79, 1] Operation: 88-87=1 Moving to Node #0,1,3 Current State: 79:[79, 1], Operations: ['34+54=88', '88-87=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
0.930556
hs_5
mult_heuristic
[ 61, 44, 84, 20 ]
25
[ "61+44=105", "20*105=2100", "2100/84=25" ]
Current State: 25:[61, 44, 84, 20], Operations: [] Exploring Operation: 61+44=105, Resulting Numbers: [84, 20, 105] Generated Node #2: [84, 20, 105] from Operation: 61+44=105 Current State: 25:[84, 20, 105], Operations: ['61+44=105'] Exploring Operation: 20*105=2100, Resulting Numbers: [84, 2100] Generated Node #3: [84, 2100] from Operation: 20*105=2100 Current State: 25:[84, 2100], Operations: ['61+44=105', '20*105=2100'] Exploring Operation: 2100/84=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[61, 44, 84, 20], Operations: [] Exploring Operation: 61-20=41, Resulting Numbers: [44, 84, 41] Generated Node #0,0: 25:[44, 84, 41] Operation: 61-20=41 Exploring Operation: 84-20=64, Resulting Numbers: [61, 44, 64] Generated Node #0,1: 25:[61, 44, 64] Operation: 84-20=64 Exploring Operation: 84-61=23, Resulting Numbers: [44, 20, 23] Generated Node #0,2: 25:[44, 20, 23] Operation: 84-61=23 Exploring Operation: 84-44=40, Resulting Numbers: [61, 20, 40] Generated Node #0,3: 25:[61, 20, 40] Operation: 84-44=40 Exploring Operation: 61-44=17, Resulting Numbers: [84, 20, 17] Generated Node #0,4: 25:[84, 20, 17] Operation: 61-44=17 Moving to Node #0,2 Current State: 25:[44, 20, 23], Operations: ['84-61=23'] Exploring Operation: 23-20=3, Resulting Numbers: [44, 3] Generated Node #0,2,0: 25:[44, 3] Operation: 23-20=3 Exploring Operation: 44-23=21, Resulting Numbers: [20, 21] Generated Node #0,2,1: 25:[20, 21] Operation: 44-23=21 Exploring Operation: 44-20=24, Resulting Numbers: [23, 24] Generated Node #0,2,2: 25:[23, 24] Operation: 44-20=24 Exploring Operation: 44+20=64, Resulting Numbers: [23, 64] Generated Node #0,2,3: 25:[23, 64] Operation: 44+20=64 Exploring Operation: 20+23=43, Resulting Numbers: [44, 43] Generated Node #0,2,4: 25:[44, 43] Operation: 20+23=43 Moving to Node #0,3 Current State: 25:[61, 20, 40], Operations: ['84-44=40'] Exploring Operation: 61+20=81, Resulting Numbers: [40, 81] Generated Node #0,3,0: 25:[40, 81] Operation: 61+20=81 Exploring Operation: 61-20=41, Resulting Numbers: [40, 41] Generated Node #0,3,1: 25:[40, 41] Operation: 61-20=41 Exploring Operation: 40/20=2, Resulting Numbers: [61, 2] Generated Node #0,3,2: 25:[61, 2] Operation: 40/20=2 Exploring Operation: 40-20=20, Resulting Numbers: [61, 20] Generated Node #0,3,3: 25:[61, 20] Operation: 40-20=20 Exploring Operation: 61-40=21, Resulting Numbers: [20, 21] Generated Node #0,3,4: 25:[20, 21] Operation: 61-40=21 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 25:[20, 21], Operations: ['84-44=40', '61-40=21'] Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,25 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,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,3,1 Current State: 25:[40, 41], Operations: ['84-44=40', '61-20=41'] Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 40+41=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 40*41=1640, Resulting Numbers: [1640] 1640,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,3,2 Current State: 25:[61, 2], Operations: ['84-44=40', '40/20=2'] Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,25 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 61*2=122, Resulting Numbers: [122] 122,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,3,3 Current State: 25:[61, 20], Operations: ['84-44=40', '40-20=20'] Exploring Operation: 61+20=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 61*20=1220, Resulting Numbers: [1220] 1220,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,3,0 Current State: 25:[40, 81], Operations: ['84-44=40', '61+20=81'] Exploring Operation: 40*81=3240, Resulting Numbers: [3240] 3240,25 unequal: No Solution Exploring Operation: 40+81=121, Resulting Numbers: [121] 121,25 unequal: No Solution Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 25:[84, 20, 17], Operations: ['61-44=17'] Exploring Operation: 20-17=3, Resulting Numbers: [84, 3] Generated Node #0,4,0: 25:[84, 3] Operation: 20-17=3 Exploring Operation: 84-20=64, Resulting Numbers: [17, 64] Generated Node #0,4,1: 25:[17, 64] Operation: 84-20=64 Exploring Operation: 84-17=67, Resulting Numbers: [20, 67] Generated Node #0,4,2: 25:[20, 67] Operation: 84-17=67 Exploring Operation: 84+17=101, Resulting Numbers: [20, 101] Generated Node #0,4,3: 25:[20, 101] Operation: 84+17=101 Exploring Operation: 20+17=37, Resulting Numbers: [84, 37] Generated Node #0,4,4: 25:[84, 37] Operation: 20+17=37 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 25:[17, 64], Operations: ['61-44=17', '84-20=64'] Exploring Operation: 17+64=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 17*64=1088, Resulting Numbers: [1088] 1088,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,4,2 Current State: 25:[20, 67], Operations: ['61-44=17', '84-17=67'] Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,25 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,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,4,0 Current State: 25:[84, 3], Operations: ['61-44=17', '20-17=3'] Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,25 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,25 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,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,4,4 Current State: 25:[84, 37], Operations: ['61-44=17', '20+17=37'] Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 84*37=3108, Resulting Numbers: [3108] 3108,25 unequal: No Solution Exploring Operation: 84+37=121, Resulting Numbers: [121] 121,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,4,3 Current State: 25:[20, 101], Operations: ['61-44=17', '84+17=101'] Exploring Operation: 20*101=2020, Resulting Numbers: [2020] 2020,25 unequal: No Solution Exploring Operation: 20+101=121, Resulting Numbers: [121] 121,25 unequal: No Solution Exploring Operation: 101-20=81, Resulting Numbers: [81] 81,25 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: 25:[44, 84, 41], Operations: ['61-20=41'] Exploring Operation: 84-44=40, Resulting Numbers: [41, 40] Generated Node #0,0,0: 25:[41, 40] Operation: 84-44=40 Exploring Operation: 44+41=85, Resulting Numbers: [84, 85] Generated Node #0,0,1: 25:[84, 85] Operation: 44+41=85 Exploring Operation: 44-41=3, Resulting Numbers: [84, 3] Generated Node #0,0,2: 25:[84, 3] Operation: 44-41=3 Exploring Operation: 84-41=43, Resulting Numbers: [44, 43] Generated Node #0,0,3: 25:[44, 43] Operation: 84-41=43 Exploring Operation: 44+84=128, Resulting Numbers: [41, 128] Generated Node #0,0,4: 25:[41, 128] Operation: 44+84=128 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[41, 40], Operations: ['61-20=41', '84-44=40'] Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,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,3 Current State: 25:[44, 43], Operations: ['61-20=41', '84-41=43'] Exploring Operation: 44*43=1892, Resulting Numbers: [1892] 1892,25 unequal: No Solution Exploring Operation: 44+43=87, Resulting Numbers: [87] 87,25 unequal: No Solution Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,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:[84, 3], Operations: ['61-20=41', '44-41=3'] Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,25 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,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:[84, 85], Operations: ['61-20=41', '44+41=85'] Exploring Operation: 84+85=169, Resulting Numbers: [169] 169,25 unequal: No Solution Exploring Operation: 84*85=7140, Resulting Numbers: [7140] 7140,25 unequal: No Solution Exploring Operation: 85-84=1, Resulting Numbers: [1] 1,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,4 Current State: 25:[41, 128], Operations: ['61-20=41', '44+84=128'] Exploring Operation: 41*128=5248, Resulting Numbers: [5248] 5248,25 unequal: No Solution Exploring Operation: 41+128=169, Resulting Numbers: [169] 169,25 unequal: No Solution Exploring Operation: 128-41=87, Resulting Numbers: [87] 87,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:[61, 44, 64], Operations: ['84-20=64'] Exploring Operation: 61-44=17, Resulting Numbers: [64, 17] Generated Node #0,1,0: 25:[64, 17] Operation: 61-44=17 Exploring Operation: 61+64=125, Resulting Numbers: [44, 125] Generated Node #0,1,1: 25:[44, 125] Operation: 61+64=125 Exploring Operation: 61+44=105, Resulting Numbers: [64, 105] Generated Node #0,1,2: 25:[64, 105] Operation: 61+44=105 Exploring Operation: 64-61=3, Resulting Numbers: [44, 3] Generated Node #0,1,3: 25:[44, 3] Operation: 64-61=3 Exploring Operation: 64-44=20, Resulting Numbers: [61, 20] Generated Node #0,1,4: 25:[61, 20] Operation: 64-44=20 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[44, 3], Operations: ['84-20=64', '64-61=3'] Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,25 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 25:[61, 20], Operations: ['84-20=64', '64-44=20'] Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 61+20=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 61*20=1220, Resulting Numbers: [1220] 1220,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[64, 17], Operations: ['84-20=64', '61-44=17'] Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 64*17=1088, Resulting Numbers: [1088] 1088,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:[44, 125], Operations: ['84-20=64', '61+64=125'] Exploring Operation: 125-44=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 44*125=5500, Resulting Numbers: [5500] 5500,25 unequal: No Solution Exploring Operation: 44+125=169, Resulting Numbers: [169] 169,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:[64, 105], Operations: ['84-20=64', '61+44=105'] Exploring Operation: 64*105=6720, Resulting Numbers: [6720] 6720,25 unequal: No Solution Exploring Operation: 64+105=169, Resulting Numbers: [169] 169,25 unequal: No Solution Exploring Operation: 105-64=41, Resulting Numbers: [41] 41,25 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: 25:[23, 24], Operations: ['84-61=23', '44-20=24'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[20, 21], Operations: ['84-61=23', '44-23=21'] Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,25 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[44, 3], Operations: ['84-61=23', '23-20=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,25 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,25 unequal: No Solution Moving to Node #0,2,4 Current State: 25:[44, 43], Operations: ['84-61=23', '20+23=43'] Exploring Operation: 44*43=1892, Resulting Numbers: [1892] 1892,25 unequal: No Solution Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 44+43=87, Resulting Numbers: [87] 87,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[23, 64], Operations: ['84-61=23', '44+20=64'] Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 23+64=87, Resulting Numbers: [87] 87,25 unequal: No Solution Exploring Operation: 23*64=1472, Resulting Numbers: [1472] 1472,25 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 89, 2, 38, 25 ]
77
[ "89+38=127", "2*25=50", "127-50=77" ]
Current State: 77:[89, 2, 38, 25], Operations: [] Exploring Operation: 89+38=127, Resulting Numbers: [2, 25, 127] Generated Node #2: [2, 25, 127] from Operation: 89+38=127 Current State: 77:[2, 25, 127], Operations: ['89+38=127'] Exploring Operation: 2*25=50, Resulting Numbers: [127, 50] Generated Node #3: [127, 50] from Operation: 2*25=50 Current State: 77:[127, 50], Operations: ['89+38=127', '2*25=50'] Exploring Operation: 127-50=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[89, 2, 38, 25], Operations: [] Exploring Operation: 38-25=13, Resulting Numbers: [89, 2, 13] Generated Node #0,0: 77:[89, 2, 13] Operation: 38-25=13 Exploring Operation: 38+25=63, Resulting Numbers: [89, 2, 63] Generated Node #0,1: 77:[89, 2, 63] Operation: 38+25=63 Exploring Operation: 38/2=19, Resulting Numbers: [89, 25, 19] Generated Node #0,2: 77:[89, 25, 19] Operation: 38/2=19 Exploring Operation: 2*38=76, Resulting Numbers: [89, 25, 76] Generated Node #0,3: 77:[89, 25, 76] Operation: 2*38=76 Moving to Node #0,0 Current State: 77:[89, 2, 13], Operations: ['38-25=13'] Exploring Operation: 89+2=91, Resulting Numbers: [13, 91] Generated Node #0,0,0: 77:[13, 91] Operation: 89+2=91 Exploring Operation: 13-2=11, Resulting Numbers: [89, 11] Generated Node #0,0,1: 77:[89, 11] Operation: 13-2=11 Exploring Operation: 89-13=76, Resulting Numbers: [2, 76] Generated Node #0,0,2: 77:[2, 76] Operation: 89-13=76 Exploring Operation: 89-2=87, Resulting Numbers: [13, 87] Generated Node #0,0,3: 77:[13, 87] Operation: 89-2=87 Moving to Node #0,3 Current State: 77:[89, 25, 76], Operations: ['2*38=76'] Exploring Operation: 89-76=13, Resulting Numbers: [25, 13] Generated Node #0,3,0: 77:[25, 13] Operation: 89-76=13 Exploring Operation: 25+76=101, Resulting Numbers: [89, 101] Generated Node #0,3,1: 77:[89, 101] Operation: 25+76=101 Exploring Operation: 89-25=64, Resulting Numbers: [76, 64] Generated Node #0,3,2: 77:[76, 64] Operation: 89-25=64 Exploring Operation: 89+25=114, Resulting Numbers: [76, 114] Generated Node #0,3,3: 77:[76, 114] Operation: 89+25=114 Moving to Node #0,1 Current State: 77:[89, 2, 63], Operations: ['38+25=63'] Exploring Operation: 89-2=87, Resulting Numbers: [63, 87] Generated Node #0,1,0: 77:[63, 87] Operation: 89-2=87 Exploring Operation: 89-63=26, Resulting Numbers: [2, 26] Generated Node #0,1,1: 77:[2, 26] Operation: 89-63=26 Exploring Operation: 2+63=65, Resulting Numbers: [89, 65] Generated Node #0,1,2: 77:[89, 65] Operation: 2+63=65 Exploring Operation: 89+2=91, Resulting Numbers: [63, 91] Generated Node #0,1,3: 77:[63, 91] Operation: 89+2=91 Moving to Node #0,2 Current State: 77:[89, 25, 19], Operations: ['38/2=19'] Exploring Operation: 89+25=114, Resulting Numbers: [19, 114] Generated Node #0,2,0: 77:[19, 114] Operation: 89+25=114 Exploring Operation: 25-19=6, Resulting Numbers: [89, 6] Generated Node #0,2,1: 77:[89, 6] Operation: 25-19=6 Exploring Operation: 89-25=64, Resulting Numbers: [19, 64] Generated Node #0,2,2: 77:[19, 64] Operation: 89-25=64 Exploring Operation: 89-19=70, Resulting Numbers: [25, 70] Generated Node #0,2,3: 77:[25, 70] Operation: 89-19=70 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[89, 6], Operations: ['38/2=19', '25-19=6'] Exploring Operation: 89*6=534, Resulting Numbers: [534] 534,77 unequal: No Solution Exploring Operation: 89+6=95, Resulting Numbers: [95] 95,77 unequal: No Solution Exploring Operation: 89-6=83, Resulting Numbers: [83] 83,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[19, 64], Operations: ['38/2=19', '89-25=64'] Exploring Operation: 19+64=83, Resulting Numbers: [83] 83,77 unequal: No Solution Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,77 unequal: No Solution Exploring Operation: 19*64=1216, Resulting Numbers: [1216] 1216,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[25, 70], Operations: ['38/2=19', '89-19=70'] Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,77 unequal: No Solution Exploring Operation: 25*70=1750, Resulting Numbers: [1750] 1750,77 unequal: No Solution Exploring Operation: 25+70=95, Resulting Numbers: [95] 95,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[19, 114], Operations: ['38/2=19', '89+25=114'] Exploring Operation: 114-19=95, Resulting Numbers: [95] 95,77 unequal: No Solution Exploring Operation: 19*114=2166, Resulting Numbers: [2166] 2166,77 unequal: No Solution Exploring Operation: 19+114=133, Resulting Numbers: [133] 133,77 unequal: No Solution Exploring Operation: 114/19=6, Resulting Numbers: [6] 6,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 77:[2, 76], Operations: ['38-25=13', '89-13=76'] Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,77 unequal: No Solution Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,77 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[13, 87], Operations: ['38-25=13', '89-2=87'] Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,77 unequal: No Solution Exploring Operation: 13+87=100, Resulting Numbers: [100] 100,77 unequal: No Solution Exploring Operation: 13*87=1131, Resulting Numbers: [1131] 1131,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[89, 11], Operations: ['38-25=13', '13-2=11'] Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 89*11=979, Resulting Numbers: [979] 979,77 unequal: No Solution Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[76, 64], Operations: ['2*38=76', '89-25=64'] Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 76*64=4864, Resulting Numbers: [4864] 4864,77 unequal: No Solution Exploring Operation: 76+64=140, Resulting Numbers: [140] 140,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[25, 13], Operations: ['2*38=76', '89-76=13'] Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,77 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[13, 91], Operations: ['38-25=13', '89+2=91'] Exploring Operation: 13*91=1183, Resulting Numbers: [1183] 1183,77 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 13+91=104, Resulting Numbers: [104] 104,77 unequal: No Solution Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[2, 26], Operations: ['38+25=63', '89-63=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,77 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[89, 65], Operations: ['38+25=63', '2+63=65'] Exploring Operation: 89*65=5785, Resulting Numbers: [5785] 5785,77 unequal: No Solution Exploring Operation: 89+65=154, Resulting Numbers: [154] 154,77 unequal: No Solution Exploring Operation: 89-65=24, Resulting Numbers: [24] 24,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[63, 87], Operations: ['38+25=63', '89-2=87'] Exploring Operation: 87-63=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 63+87=150, Resulting Numbers: [150] 150,77 unequal: No Solution Exploring Operation: 63*87=5481, Resulting Numbers: [5481] 5481,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[63, 91], Operations: ['38+25=63', '89+2=91'] Exploring Operation: 63*91=5733, Resulting Numbers: [5733] 5733,77 unequal: No Solution Exploring Operation: 91-63=28, Resulting Numbers: [28] 28,77 unequal: No Solution Exploring Operation: 63+91=154, Resulting Numbers: [154] 154,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[89, 101], Operations: ['2*38=76', '25+76=101'] Exploring Operation: 101-89=12, Resulting Numbers: [12] 12,77 unequal: No Solution Exploring Operation: 89*101=8989, Resulting Numbers: [8989] 8989,77 unequal: No Solution Exploring Operation: 89+101=190, Resulting Numbers: [190] 190,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[76, 114], Operations: ['2*38=76', '89+25=114'] Exploring Operation: 76*114=8664, Resulting Numbers: [8664] 8664,77 unequal: No Solution Exploring Operation: 114-76=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 76+114=190, Resulting Numbers: [190] 190,77 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 35, 81, 78, 8 ]
30
[ "35+81=116", "78+8=86", "116-86=30" ]
Current State: 30:[35, 81, 78, 8], Operations: [] Exploring Operation: 35+81=116, Resulting Numbers: [78, 8, 116] Generated Node #2: [78, 8, 116] from Operation: 35+81=116 Current State: 30:[78, 8, 116], Operations: ['35+81=116'] Exploring Operation: 78+8=86, Resulting Numbers: [116, 86] Generated Node #3: [116, 86] from Operation: 78+8=86 Current State: 30:[116, 86], Operations: ['35+81=116', '78+8=86'] Exploring Operation: 116-86=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[35, 81, 78, 8], Operations: [] Exploring Operation: 78-8=70, Resulting Numbers: [35, 81, 70] Generated Node #0,0: 30:[35, 81, 70] Operation: 78-8=70 Exploring Operation: 81-8=73, Resulting Numbers: [35, 78, 73] Generated Node #0,1: 30:[35, 78, 73] Operation: 81-8=73 Exploring Operation: 81-78=3, Resulting Numbers: [35, 8, 3] Generated Node #0,2: 30:[35, 8, 3] Operation: 81-78=3 Exploring Operation: 81-35=46, Resulting Numbers: [78, 8, 46] Generated Node #0,3: 30:[78, 8, 46] Operation: 81-35=46 Exploring Operation: 78-35=43, Resulting Numbers: [81, 8, 43] Generated Node #0,4: 30:[81, 8, 43] Operation: 78-35=43 Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[35, 8, 3], Operations: ['81-78=3'] Exploring Operation: 35-3=32, Resulting Numbers: [8, 32] Generated Node #0,2,0: 30:[8, 32] Operation: 35-3=32 Exploring Operation: 35+3=38, Resulting Numbers: [8, 38] Generated Node #0,2,1: 30:[8, 38] Operation: 35+3=38 Exploring Operation: 8+3=11, Resulting Numbers: [35, 11] Generated Node #0,2,2: 30:[35, 11] Operation: 8+3=11 Exploring Operation: 8-3=5, Resulting Numbers: [35, 5] Generated Node #0,2,3: 30:[35, 5] Operation: 8-3=5 Exploring Operation: 35-8=27, Resulting Numbers: [3, 27] Generated Node #0,2,4: 30:[3, 27] Operation: 35-8=27 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 30:[3, 27], Operations: ['81-78=3', '35-8=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[35, 81, 78, 8], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [35, 8, 3] Generated Node #0,2: 30:[35, 8, 3] Operation: 81-78=3 Moving to Node #0,2 Current State: 30:[35, 8, 3], Operations: ['81-78=3'] Exploring Operation: 35-8=27, Resulting Numbers: [3, 27] Generated Node #0,2,4: 30:[3, 27] Operation: 35-8=27 Moving to Node #0,2,4 Current State: 30:[3, 27], Operations: ['81-78=3', '35-8=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 27, 35, 62, 12 ]
93
[ "35-27=8", "62*12=744", "744/8=93" ]
Current State: 93:[27, 35, 62, 12], Operations: [] Exploring Operation: 35-27=8, Resulting Numbers: [62, 12, 8] Generated Node #2: [62, 12, 8] from Operation: 35-27=8 Current State: 93:[62, 12, 8], Operations: ['35-27=8'] Exploring Operation: 62*12=744, Resulting Numbers: [8, 744] Generated Node #3: [8, 744] from Operation: 62*12=744 Current State: 93:[8, 744], Operations: ['35-27=8', '62*12=744'] Exploring Operation: 744/8=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[27, 35, 62, 12], Operations: [] Exploring Operation: 35+62=97, Resulting Numbers: [27, 12, 97] Generated Node #0,0: 93:[27, 12, 97] Operation: 35+62=97 Exploring Operation: 62+12=74, Resulting Numbers: [27, 35, 74] Generated Node #0,1: 93:[27, 35, 74] Operation: 62+12=74 Exploring Operation: 62-27=35, Resulting Numbers: [35, 12, 35] Generated Node #0,2: 93:[35, 12, 35] Operation: 62-27=35 Exploring Operation: 27+62=89, Resulting Numbers: [35, 12, 89] Generated Node #0,3: 93:[35, 12, 89] Operation: 27+62=89 Exploring Operation: 62-35=27, Resulting Numbers: [27, 12, 27] Generated Node #0,4: 93:[27, 12, 27] Operation: 62-35=27 Moving to Node #0,0 Current State: 93:[27, 12, 97], Operations: ['35+62=97'] Exploring Operation: 97-27=70, Resulting Numbers: [12, 70] Generated Node #0,0,0: 93:[12, 70] Operation: 97-27=70 Exploring Operation: 27-12=15, Resulting Numbers: [97, 15] Generated Node #0,0,1: 93:[97, 15] Operation: 27-12=15 Exploring Operation: 27+12=39, Resulting Numbers: [97, 39] Generated Node #0,0,2: 93:[97, 39] Operation: 27+12=39 Exploring Operation: 97-12=85, Resulting Numbers: [27, 85] Generated Node #0,0,3: 93:[27, 85] Operation: 97-12=85 Exploring Operation: 12+97=109, Resulting Numbers: [27, 109] Generated Node #0,0,4: 93:[27, 109] Operation: 12+97=109 Moving to Node #0,3 Current State: 93:[35, 12, 89], Operations: ['27+62=89'] Exploring Operation: 35-12=23, Resulting Numbers: [89, 23] Generated Node #0,3,0: 93:[89, 23] Operation: 35-12=23 Exploring Operation: 35+12=47, Resulting Numbers: [89, 47] Generated Node #0,3,1: 93:[89, 47] Operation: 35+12=47 Exploring Operation: 12+89=101, Resulting Numbers: [35, 101] Generated Node #0,3,2: 93:[35, 101] Operation: 12+89=101 Exploring Operation: 89-12=77, Resulting Numbers: [35, 77] Generated Node #0,3,3: 93:[35, 77] Operation: 89-12=77 Exploring Operation: 89-35=54, Resulting Numbers: [12, 54] Generated Node #0,3,4: 93:[12, 54] Operation: 89-35=54 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[89, 23], Operations: ['27+62=89', '35-12=23'] Exploring Operation: 89*23=2047, Resulting Numbers: [2047] 2047,93 unequal: No Solution Exploring Operation: 89+23=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,93 unequal: No Solution No 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: 93:[35, 101], Operations: ['27+62=89', '12+89=101'] Exploring Operation: 35*101=3535, Resulting Numbers: [3535] 3535,93 unequal: No Solution Exploring Operation: 101-35=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 35+101=136, Resulting Numbers: [136] 136,93 unequal: No Solution No 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: 93:[89, 47], Operations: ['27+62=89', '35+12=47'] Exploring Operation: 89*47=4183, Resulting Numbers: [4183] 4183,93 unequal: No Solution Exploring Operation: 89+47=136, Resulting Numbers: [136] 136,93 unequal: No Solution Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,93 unequal: No Solution No 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: 93:[35, 77], Operations: ['27+62=89', '89-12=77'] Exploring Operation: 35+77=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 35*77=2695, Resulting Numbers: [2695] 2695,93 unequal: No Solution No 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: 93:[12, 54], Operations: ['27+62=89', '89-35=54'] Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 12*54=648, Resulting Numbers: [648] 648,93 unequal: No Solution Exploring Operation: 12+54=66, Resulting Numbers: [66] 66,93 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: 93:[35, 12, 35], Operations: ['62-27=35'] Exploring Operation: 35-12=23, Resulting Numbers: [35, 23] Generated Node #0,2,0: 93:[35, 23] Operation: 35-12=23 Exploring Operation: 35+12=47, Resulting Numbers: [35, 47] Generated Node #0,2,1: 93:[35, 47] Operation: 35+12=47 Exploring Operation: 35-35=0, Resulting Numbers: [12, 0] Generated Node #0,2,2: 93:[12, 0] Operation: 35-35=0 Exploring Operation: 35/35=1, Resulting Numbers: [12, 1] Generated Node #0,2,3: 93:[12, 1] Operation: 35/35=1 Exploring Operation: 35-12=23, Resulting Numbers: [35, 23] Generated Node #0,2,4: 93:[35, 23] Operation: 35-12=23 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 93:[12, 1], Operations: ['62-27=35', '35/35=1'] Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,93 unequal: No Solution No 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: 93:[35, 23], Operations: ['62-27=35', '35-12=23'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 35*23=805, Resulting Numbers: [805] 805,93 unequal: No Solution Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,93 unequal: No Solution No 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: 93:[12, 0], Operations: ['62-27=35', '35-35=0'] Exploring Operation: 12+0=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 12*0=0, Resulting Numbers: [0] 0,93 unequal: No Solution Exploring Operation: 12-0=12, Resulting Numbers: [12] 12,93 unequal: No Solution No 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: 93:[35, 23], Operations: ['62-27=35', '35-12=23'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 35*23=805, Resulting Numbers: [805] 805,93 unequal: No Solution No 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: 93:[35, 47], Operations: ['62-27=35', '35+12=47'] Exploring Operation: 35*47=1645, Resulting Numbers: [1645] 1645,93 unequal: No Solution Exploring Operation: 35+47=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 93:[27, 12, 27], Operations: ['62-35=27'] Exploring Operation: 27+12=39, Resulting Numbers: [27, 39] Generated Node #0,4,0: 93:[27, 39] Operation: 27+12=39 Exploring Operation: 27/27=1, Resulting Numbers: [12, 1] Generated Node #0,4,1: 93:[12, 1] Operation: 27/27=1 Exploring Operation: 27-27=0, Resulting Numbers: [12, 0] Generated Node #0,4,2: 93:[12, 0] Operation: 27-27=0 Exploring Operation: 27-12=15, Resulting Numbers: [27, 15] Generated Node #0,4,3: 93:[27, 15] Operation: 27-12=15 Exploring Operation: 12+27=39, Resulting Numbers: [27, 39] Generated Node #0,4,4: 93:[27, 39] Operation: 12+27=39 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 93:[12, 1], Operations: ['62-35=27', '27/27=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,93 unequal: No Solution No 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: 93:[27, 39], Operations: ['62-35=27', '27+12=39'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,93 unequal: No Solution No 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: 93:[12, 0], Operations: ['62-35=27', '27-27=0'] Exploring Operation: 12+0=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 12-0=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 12*0=0, Resulting Numbers: [0] 0,93 unequal: No Solution No 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: 93:[27, 39], Operations: ['62-35=27', '12+27=39'] Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,93 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 93:[27, 15], Operations: ['62-35=27', '27-12=15'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,93 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: 93:[27, 35, 74], Operations: ['62+12=74'] Exploring Operation: 35+74=109, Resulting Numbers: [27, 109] Generated Node #0,1,0: 93:[27, 109] Operation: 35+74=109 Exploring Operation: 27+74=101, Resulting Numbers: [35, 101] Generated Node #0,1,1: 93:[35, 101] Operation: 27+74=101 Exploring Operation: 74-35=39, Resulting Numbers: [27, 39] Generated Node #0,1,2: 93:[27, 39] Operation: 74-35=39 Exploring Operation: 35-27=8, Resulting Numbers: [74, 8] Generated Node #0,1,3: 93:[74, 8] Operation: 35-27=8 Exploring Operation: 74-27=47, Resulting Numbers: [35, 47] Generated Node #0,1,4: 93:[35, 47] Operation: 74-27=47 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[35, 101], Operations: ['62+12=74', '27+74=101'] Exploring Operation: 101-35=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 35*101=3535, Resulting Numbers: [3535] 3535,93 unequal: No Solution Exploring Operation: 35+101=136, Resulting Numbers: [136] 136,93 unequal: No Solution No 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: 93:[27, 39], Operations: ['62+12=74', '74-35=39'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,93 unequal: No Solution No 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: 93:[27, 109], Operations: ['62+12=74', '35+74=109'] Exploring Operation: 27+109=136, Resulting Numbers: [136] 136,93 unequal: No Solution Exploring Operation: 109-27=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 27*109=2943, Resulting Numbers: [2943] 2943,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 93:[35, 47], Operations: ['62+12=74', '74-27=47'] Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 35+47=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 35*47=1645, Resulting Numbers: [1645] 1645,93 unequal: No Solution No 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: 93:[74, 8], Operations: ['62+12=74', '35-27=8'] Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,93 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 93:[97, 39], Operations: ['35+62=97', '27+12=39'] Exploring Operation: 97*39=3783, Resulting Numbers: [3783] 3783,93 unequal: No Solution Exploring Operation: 97-39=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 97+39=136, Resulting Numbers: [136] 136,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[27, 85], Operations: ['35+62=97', '97-12=85'] Exploring Operation: 27*85=2295, Resulting Numbers: [2295] 2295,93 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 27+85=112, Resulting Numbers: [112] 112,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[97, 15], Operations: ['35+62=97', '27-12=15'] Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 97*15=1455, Resulting Numbers: [1455] 1455,93 unequal: No Solution Exploring Operation: 97+15=112, Resulting Numbers: [112] 112,93 unequal: No Solution Moving to Node #0,0,4 Current State: 93:[27, 109], Operations: ['35+62=97', '12+97=109'] Exploring Operation: 27+109=136, Resulting Numbers: [136] 136,93 unequal: No Solution Exploring Operation: 27*109=2943, Resulting Numbers: [2943] 2943,93 unequal: No Solution Exploring Operation: 109-27=82, Resulting Numbers: [82] 82,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[12, 70], Operations: ['35+62=97', '97-27=70'] Exploring Operation: 12*70=840, Resulting Numbers: [840] 840,93 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,93 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 73, 85, 55, 26 ]
17
[ "85-73=12", "55-26=29", "29-12=17" ]
Current State: 17:[73, 85, 55, 26], Operations: [] Exploring Operation: 85-73=12, Resulting Numbers: [55, 26, 12] Generated Node #2: [55, 26, 12] from Operation: 85-73=12 Current State: 17:[55, 26, 12], Operations: ['85-73=12'] Exploring Operation: 55-26=29, Resulting Numbers: [12, 29] Generated Node #3: [12, 29] from Operation: 55-26=29 Current State: 17:[12, 29], Operations: ['85-73=12', '55-26=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[73, 85, 55, 26], Operations: [] Exploring Operation: 73-55=18, Resulting Numbers: [85, 26, 18] Generated Node #0,0: 17:[85, 26, 18] Operation: 73-55=18 Exploring Operation: 85-73=12, Resulting Numbers: [55, 26, 12] Generated Node #0,1: 17:[55, 26, 12] Operation: 85-73=12 Exploring Operation: 73-26=47, Resulting Numbers: [85, 55, 47] Generated Node #0,2: 17:[85, 55, 47] Operation: 73-26=47 Exploring Operation: 85-55=30, Resulting Numbers: [73, 26, 30] Generated Node #0,3: 17:[73, 26, 30] Operation: 85-55=30 Moving to Node #0,1 Current State: 17:[55, 26, 12], Operations: ['85-73=12'] Exploring Operation: 55-26=29, Resulting Numbers: [12, 29] Generated Node #0,1,0: 17:[12, 29] Operation: 55-26=29 Exploring Operation: 55+12=67, Resulting Numbers: [26, 67] Generated Node #0,1,1: 17:[26, 67] Operation: 55+12=67 Exploring Operation: 26-12=14, Resulting Numbers: [55, 14] Generated Node #0,1,2: 17:[55, 14] Operation: 26-12=14 Exploring Operation: 55-12=43, Resulting Numbers: [26, 43] Generated Node #0,1,3: 17:[26, 43] Operation: 55-12=43 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[12, 29], Operations: ['85-73=12', '55-26=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[73, 85, 55, 26], Operations: [] Exploring Operation: 85-73=12, Resulting Numbers: [55, 26, 12] Generated Node #0,1: 17:[55, 26, 12] Operation: 85-73=12 Moving to Node #0,1 Current State: 17:[55, 26, 12], Operations: ['85-73=12'] Exploring Operation: 55-26=29, Resulting Numbers: [12, 29] Generated Node #0,1,0: 17:[12, 29] Operation: 55-26=29 Moving to Node #0,1,0 Current State: 17:[12, 29], Operations: ['85-73=12', '55-26=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 64, 13, 19, 4 ]
96
[ "64/4=16", "19-13=6", "16*6=96" ]
Current State: 96:[64, 13, 19, 4], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [13, 19, 16] Generated Node #2: [13, 19, 16] from Operation: 64/4=16 Current State: 96:[13, 19, 16], Operations: ['64/4=16'] Exploring Operation: 19-13=6, Resulting Numbers: [16, 6] Generated Node #3: [16, 6] from Operation: 19-13=6 Current State: 96:[16, 6], Operations: ['64/4=16', '19-13=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[64, 13, 19, 4], Operations: [] Exploring Operation: 64-19=45, Resulting Numbers: [13, 4, 45] Generated Node #0,0: 96:[13, 4, 45] Operation: 64-19=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[13, 4, 45], Operations: ['64-19=45'] Exploring Operation: 45-13=32, Resulting Numbers: [4, 32] Generated Node #0,0,0: 96:[4, 32] Operation: 45-13=32 Moving to Node #0,0,0 Current State: 96:[4, 32], Operations: ['64-19=45', '45-13=32'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 38, 16, 6, 30 ]
64
[ "38-30=8", "6*8=48", "16+48=64" ]
Current State: 64:[38, 16, 6, 30], Operations: [] Exploring Operation: 38-30=8, Resulting Numbers: [16, 6, 8] Generated Node #2: [16, 6, 8] from Operation: 38-30=8 Current State: 64:[16, 6, 8], Operations: ['38-30=8'] Exploring Operation: 6*8=48, Resulting Numbers: [16, 48] Generated Node #3: [16, 48] from Operation: 6*8=48 Current State: 64:[16, 48], Operations: ['38-30=8', '6*8=48'] Exploring Operation: 16+48=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[38, 16, 6, 30], Operations: [] Exploring Operation: 38-6=32, Resulting Numbers: [16, 30, 32] Generated Node #0,0: 64:[16, 30, 32] Operation: 38-6=32 Moving to Node #0,0 Current State: 64:[16, 30, 32], Operations: ['38-6=32'] Exploring Operation: 32-30=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 64:[16, 2] Operation: 32-30=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[16, 2], Operations: ['38-6=32', '32-30=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 90, 12, 5, 74 ]
92
[ "90-74=16", "5*16=80", "12+80=92" ]
Current State: 92:[90, 12, 5, 74], Operations: [] Exploring Operation: 90-74=16, Resulting Numbers: [12, 5, 16] Generated Node #2: [12, 5, 16] from Operation: 90-74=16 Current State: 92:[12, 5, 16], Operations: ['90-74=16'] Exploring Operation: 5*16=80, Resulting Numbers: [12, 80] Generated Node #3: [12, 80] from Operation: 5*16=80 Current State: 92:[12, 80], Operations: ['90-74=16', '5*16=80'] Exploring Operation: 12+80=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[90, 12, 5, 74], Operations: [] Exploring Operation: 12+74=86, Resulting Numbers: [90, 5, 86] Generated Node #0,0: 92:[90, 5, 86] Operation: 12+74=86 Exploring Operation: 12-5=7, Resulting Numbers: [90, 74, 7] Generated Node #0,1: 92:[90, 74, 7] Operation: 12-5=7 Exploring Operation: 74-12=62, Resulting Numbers: [90, 5, 62] Generated Node #0,2: 92:[90, 5, 62] Operation: 74-12=62 Exploring Operation: 90-74=16, Resulting Numbers: [12, 5, 16] Generated Node #0,3: 92:[12, 5, 16] Operation: 90-74=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[90, 5, 86], Operations: ['12+74=86'] Exploring Operation: 90/5=18, Resulting Numbers: [86, 18] Generated Node #0,0,0: 92:[86, 18] Operation: 90/5=18 Exploring Operation: 90+5=95, Resulting Numbers: [86, 95] Generated Node #0,0,1: 92:[86, 95] Operation: 90+5=95 Exploring Operation: 90-86=4, Resulting Numbers: [5, 4] Generated Node #0,0,2: 92:[5, 4] Operation: 90-86=4 Exploring Operation: 5+86=91, Resulting Numbers: [90, 91] Generated Node #0,0,3: 92:[90, 91] Operation: 5+86=91 Moving to Node #0,0,2 Current State: 92:[5, 4], Operations: ['12+74=86', '90-86=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[90, 91], Operations: ['12+74=86', '5+86=91'] Exploring Operation: 91-90=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 90*91=8190, Resulting Numbers: [8190] 8190,92 unequal: No Solution Exploring Operation: 90+91=181, Resulting Numbers: [181] 181,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[86, 95], Operations: ['12+74=86', '90+5=95'] Exploring Operation: 86+95=181, Resulting Numbers: [181] 181,92 unequal: No Solution Exploring Operation: 86*95=8170, Resulting Numbers: [8170] 8170,92 unequal: No Solution Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[86, 18], Operations: ['12+74=86', '90/5=18'] Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,92 unequal: No Solution Exploring Operation: 86*18=1548, Resulting Numbers: [1548] 1548,92 unequal: No Solution Exploring Operation: 86+18=104, Resulting Numbers: [104] 104,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[12, 5, 16], Operations: ['90-74=16'] Exploring Operation: 12+16=28, Resulting Numbers: [5, 28] Generated Node #0,3,0: 92:[5, 28] Operation: 12+16=28 Exploring Operation: 12-5=7, Resulting Numbers: [16, 7] Generated Node #0,3,1: 92:[16, 7] Operation: 12-5=7 Exploring Operation: 16-12=4, Resulting Numbers: [5, 4] Generated Node #0,3,2: 92:[5, 4] Operation: 16-12=4 Exploring Operation: 5+16=21, Resulting Numbers: [12, 21] Generated Node #0,3,3: 92:[12, 21] Operation: 5+16=21 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 92:[5, 4], Operations: ['90-74=16', '16-12=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 92:[5, 28], Operations: ['90-74=16', '12+16=28'] Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,92 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,92 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 92:[16, 7], Operations: ['90-74=16', '12-5=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,92 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,92 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 92:[12, 21], Operations: ['90-74=16', '5+16=21'] Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,92 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[90, 5, 62], Operations: ['74-12=62'] Exploring Operation: 90+5=95, Resulting Numbers: [62, 95] Generated Node #0,2,0: 92:[62, 95] Operation: 90+5=95 Exploring Operation: 90/5=18, Resulting Numbers: [62, 18] Generated Node #0,2,1: 92:[62, 18] Operation: 90/5=18 Exploring Operation: 62-5=57, Resulting Numbers: [90, 57] Generated Node #0,2,2: 92:[90, 57] Operation: 62-5=57 Exploring Operation: 90-62=28, Resulting Numbers: [5, 28] Generated Node #0,2,3: 92:[5, 28] Operation: 90-62=28 Moving to Node #0,2,3 Current State: 92:[5, 28], Operations: ['74-12=62', '90-62=28'] Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,92 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,92 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[90, 57], Operations: ['74-12=62', '62-5=57'] Exploring Operation: 90+57=147, Resulting Numbers: [147] 147,92 unequal: No Solution Exploring Operation: 90-57=33, Resulting Numbers: [33] 33,92 unequal: No Solution Exploring Operation: 90*57=5130, Resulting Numbers: [5130] 5130,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[62, 95], Operations: ['74-12=62', '90+5=95'] Exploring Operation: 95-62=33, Resulting Numbers: [33] 33,92 unequal: No Solution Exploring Operation: 62*95=5890, Resulting Numbers: [5890] 5890,92 unequal: No Solution Exploring Operation: 62+95=157, Resulting Numbers: [157] 157,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[62, 18], Operations: ['74-12=62', '90/5=18'] Exploring Operation: 62*18=1116, Resulting Numbers: [1116] 1116,92 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[90, 74, 7], Operations: ['12-5=7'] Exploring Operation: 74+7=81, Resulting Numbers: [90, 81] Generated Node #0,1,0: 92:[90, 81] Operation: 74+7=81 Exploring Operation: 90-74=16, Resulting Numbers: [7, 16] Generated Node #0,1,1: 92:[7, 16] Operation: 90-74=16 Exploring Operation: 90+7=97, Resulting Numbers: [74, 97] Generated Node #0,1,2: 92:[74, 97] Operation: 90+7=97 Exploring Operation: 74-7=67, Resulting Numbers: [90, 67] Generated Node #0,1,3: 92:[90, 67] Operation: 74-7=67 Moving to Node #0,1,1 Current State: 92:[7, 16], Operations: ['12-5=7', '90-74=16'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,92 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[90, 81], Operations: ['12-5=7', '74+7=81'] Exploring Operation: 90*81=7290, Resulting Numbers: [7290] 7290,92 unequal: No Solution Exploring Operation: 90+81=171, Resulting Numbers: [171] 171,92 unequal: No Solution Exploring Operation: 90-81=9, Resulting Numbers: [9] 9,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[90, 67], Operations: ['12-5=7', '74-7=67'] Exploring Operation: 90-67=23, Resulting Numbers: [23] 23,92 unequal: No Solution Exploring Operation: 90*67=6030, Resulting Numbers: [6030] 6030,92 unequal: No Solution Exploring Operation: 90+67=157, Resulting Numbers: [157] 157,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[74, 97], Operations: ['12-5=7', '90+7=97'] Exploring Operation: 74+97=171, Resulting Numbers: [171] 171,92 unequal: No Solution Exploring Operation: 97-74=23, Resulting Numbers: [23] 23,92 unequal: No Solution Exploring Operation: 74*97=7178, Resulting Numbers: [7178] 7178,92 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
[ 19, 49, 39, 77 ]
48
[ "19+49=68", "39+77=116", "116-68=48" ]
Current State: 48:[19, 49, 39, 77], Operations: [] Exploring Operation: 19+49=68, Resulting Numbers: [39, 77, 68] Generated Node #2: [39, 77, 68] from Operation: 19+49=68 Current State: 48:[39, 77, 68], Operations: ['19+49=68'] Exploring Operation: 39+77=116, Resulting Numbers: [68, 116] Generated Node #3: [68, 116] from Operation: 39+77=116 Current State: 48:[68, 116], Operations: ['19+49=68', '39+77=116'] Exploring Operation: 116-68=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[19, 49, 39, 77], Operations: [] Exploring Operation: 77-39=38, Resulting Numbers: [19, 49, 38] Generated Node #0,0: 48:[19, 49, 38] Operation: 77-39=38 Exploring Operation: 77-49=28, Resulting Numbers: [19, 39, 28] Generated Node #0,1: 48:[19, 39, 28] Operation: 77-49=28 Exploring Operation: 77-19=58, Resulting Numbers: [49, 39, 58] Generated Node #0,2: 48:[49, 39, 58] Operation: 77-19=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[19, 49, 38], Operations: ['77-39=38'] Exploring Operation: 38-19=19, Resulting Numbers: [49, 19] Generated Node #0,0,0: 48:[49, 19] Operation: 38-19=19 Exploring Operation: 38/19=2, Resulting Numbers: [49, 2] Generated Node #0,0,1: 48:[49, 2] Operation: 38/19=2 Exploring Operation: 49-38=11, Resulting Numbers: [19, 11] Generated Node #0,0,2: 48:[19, 11] Operation: 49-38=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[49, 2], Operations: ['77-39=38', '38/19=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,48 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[49, 19], Operations: ['77-39=38', '38-19=19'] Exploring Operation: 49+19=68, Resulting Numbers: [68] 68,48 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 49*19=931, Resulting Numbers: [931] 931,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[19, 11], Operations: ['77-39=38', '49-38=11'] Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[19, 39, 28], Operations: ['77-49=28'] Exploring Operation: 39-28=11, Resulting Numbers: [19, 11] Generated Node #0,1,0: 48:[19, 11] Operation: 39-28=11 Exploring Operation: 39-19=20, Resulting Numbers: [28, 20] Generated Node #0,1,1: 48:[28, 20] Operation: 39-19=20 Exploring Operation: 19+28=47, Resulting Numbers: [39, 47] Generated Node #0,1,2: 48:[39, 47] Operation: 19+28=47 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[19, 11], Operations: ['77-49=28', '39-28=11'] Exploring Operation: 19+11=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 19*11=209, Resulting Numbers: [209] 209,48 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[28, 20], Operations: ['77-49=28', '39-19=20'] Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,48 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[19, 49, 39, 77], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [19, 39, 28] Generated Node #0,1: 48:[19, 39, 28] Operation: 77-49=28 Moving to Node #0,1 Current State: 48:[19, 39, 28], Operations: ['77-49=28'] Exploring Operation: 39-19=20, Resulting Numbers: [28, 20] Generated Node #0,1,1: 48:[28, 20] Operation: 39-19=20 Moving to Node #0,1,1 Current State: 48:[28, 20], Operations: ['77-49=28', '39-19=20'] Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 89, 99, 25, 18 ]
53
[ "99-89=10", "25+18=43", "10+43=53" ]
Current State: 53:[89, 99, 25, 18], Operations: [] Exploring Operation: 99-89=10, Resulting Numbers: [25, 18, 10] Generated Node #2: [25, 18, 10] from Operation: 99-89=10 Current State: 53:[25, 18, 10], Operations: ['99-89=10'] Exploring Operation: 25+18=43, Resulting Numbers: [10, 43] Generated Node #3: [10, 43] from Operation: 25+18=43 Current State: 53:[10, 43], Operations: ['99-89=10', '25+18=43'] Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[89, 99, 25, 18], Operations: [] Exploring Operation: 89-18=71, Resulting Numbers: [99, 25, 71] Generated Node #0,0: 53:[99, 25, 71] Operation: 89-18=71 Exploring Operation: 89-25=64, Resulting Numbers: [99, 18, 64] Generated Node #0,1: 53:[99, 18, 64] Operation: 89-25=64 Exploring Operation: 99-25=74, Resulting Numbers: [89, 18, 74] Generated Node #0,2: 53:[89, 18, 74] Operation: 99-25=74 Exploring Operation: 99-18=81, Resulting Numbers: [89, 25, 81] Generated Node #0,3: 53:[89, 25, 81] Operation: 99-18=81 Exploring Operation: 25+18=43, Resulting Numbers: [89, 99, 43] Generated Node #0,4: 53:[89, 99, 43] Operation: 25+18=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[99, 25, 71], Operations: ['89-18=71'] Exploring Operation: 99+25=124, Resulting Numbers: [71, 124] Generated Node #0,0,0: 53:[71, 124] Operation: 99+25=124 Exploring Operation: 99-71=28, Resulting Numbers: [25, 28] Generated Node #0,0,1: 53:[25, 28] Operation: 99-71=28 Exploring Operation: 25+71=96, Resulting Numbers: [99, 96] Generated Node #0,0,2: 53:[99, 96] Operation: 25+71=96 Exploring Operation: 71-25=46, Resulting Numbers: [99, 46] Generated Node #0,0,3: 53:[99, 46] Operation: 71-25=46 Exploring Operation: 99-25=74, Resulting Numbers: [71, 74] Generated Node #0,0,4: 53:[71, 74] Operation: 99-25=74 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 53:[71, 74], Operations: ['89-18=71', '99-25=74'] Exploring Operation: 71+74=145, Resulting Numbers: [145] 145,53 unequal: No Solution Exploring Operation: 71*74=5254, Resulting Numbers: [5254] 5254,53 unequal: No Solution Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[25, 28], Operations: ['89-18=71', '99-71=28'] Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[89, 99, 25, 18], Operations: [] Exploring Operation: 89-18=71, Resulting Numbers: [99, 25, 71] Generated Node #0,0: 53:[99, 25, 71] Operation: 89-18=71 Moving to Node #0,0 Current State: 53:[99, 25, 71], Operations: ['89-18=71'] Exploring Operation: 99-71=28, Resulting Numbers: [25, 28] Generated Node #0,0,1: 53:[25, 28] Operation: 99-71=28 Moving to Node #0,0,1 Current State: 53:[25, 28], Operations: ['89-18=71', '99-71=28'] Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 87, 89, 94, 16 ]
86
[ "89-87=2", "16/2=8", "94-8=86" ]
Current State: 86:[87, 89, 94, 16], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [94, 16, 2] Generated Node #2: [94, 16, 2] from Operation: 89-87=2 Current State: 86:[94, 16, 2], Operations: ['89-87=2'] Exploring Operation: 16/2=8, Resulting Numbers: [94, 8] Generated Node #3: [94, 8] from Operation: 16/2=8 Current State: 86:[94, 8], Operations: ['89-87=2', '16/2=8'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[87, 89, 94, 16], Operations: [] Exploring Operation: 94-16=78, Resulting Numbers: [87, 89, 78] Generated Node #0,0: 86:[87, 89, 78] Operation: 94-16=78 Exploring Operation: 94-89=5, Resulting Numbers: [87, 16, 5] Generated Node #0,1: 86:[87, 16, 5] Operation: 94-89=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[87, 89, 78], Operations: ['94-16=78'] Exploring Operation: 89-87=2, Resulting Numbers: [78, 2] Generated Node #0,0,0: 86:[78, 2] Operation: 89-87=2 Exploring Operation: 87-78=9, Resulting Numbers: [89, 9] Generated Node #0,0,1: 86:[89, 9] Operation: 87-78=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[78, 2], Operations: ['94-16=78', '89-87=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,86 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[89, 9], Operations: ['94-16=78', '87-78=9'] Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,86 unequal: No Solution Exploring Operation: 89+9=98, Resulting Numbers: [98] 98,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[87, 16, 5], Operations: ['94-89=5'] Exploring Operation: 16*5=80, Resulting Numbers: [87, 80] Generated Node #0,1,0: 86:[87, 80] Operation: 16*5=80 Exploring Operation: 16-5=11, Resulting Numbers: [87, 11] Generated Node #0,1,1: 86:[87, 11] Operation: 16-5=11 Moving to Node #0,1,0 Current State: 86:[87, 80], Operations: ['94-89=5', '16*5=80'] Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 87+80=167, Resulting Numbers: [167] 167,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[87, 11], Operations: ['94-89=5', '16-5=11'] Exploring Operation: 87+11=98, Resulting Numbers: [98] 98,86 unequal: No Solution Exploring Operation: 87-11=76, Resulting Numbers: [76] 76,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 89, 45, 99, 58 ]
23
[ "89+45=134", "99+58=157", "157-134=23" ]
Current State: 23:[89, 45, 99, 58], Operations: [] Exploring Operation: 89+45=134, Resulting Numbers: [99, 58, 134] Generated Node #2: [99, 58, 134] from Operation: 89+45=134 Current State: 23:[99, 58, 134], Operations: ['89+45=134'] Exploring Operation: 99+58=157, Resulting Numbers: [134, 157] Generated Node #3: [134, 157] from Operation: 99+58=157 Current State: 23:[134, 157], Operations: ['89+45=134', '99+58=157'] Exploring Operation: 157-134=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[89, 45, 99, 58], Operations: [] Exploring Operation: 89-45=44, Resulting Numbers: [99, 58, 44] Generated Node #0,0: 23:[99, 58, 44] Operation: 89-45=44 Exploring Operation: 89-58=31, Resulting Numbers: [45, 99, 31] Generated Node #0,1: 23:[45, 99, 31] Operation: 89-58=31 Exploring Operation: 99-58=41, Resulting Numbers: [89, 45, 41] Generated Node #0,2: 23:[89, 45, 41] Operation: 99-58=41 Exploring Operation: 99-89=10, Resulting Numbers: [45, 58, 10] Generated Node #0,3: 23:[45, 58, 10] Operation: 99-89=10 Exploring Operation: 99-45=54, Resulting Numbers: [89, 58, 54] Generated Node #0,4: 23:[89, 58, 54] Operation: 99-45=54 Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[45, 58, 10], Operations: ['99-89=10'] Exploring Operation: 45+10=55, Resulting Numbers: [58, 55] Generated Node #0,3,0: 23:[58, 55] Operation: 45+10=55 Exploring Operation: 45-10=35, Resulting Numbers: [58, 35] Generated Node #0,3,1: 23:[58, 35] Operation: 45-10=35 Exploring Operation: 58-45=13, Resulting Numbers: [10, 13] Generated Node #0,3,2: 23:[10, 13] Operation: 58-45=13 Exploring Operation: 58+10=68, Resulting Numbers: [45, 68] Generated Node #0,3,3: 23:[45, 68] Operation: 58+10=68 Exploring Operation: 58-10=48, Resulting Numbers: [45, 48] Generated Node #0,3,4: 23:[45, 48] Operation: 58-10=48 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 23:[10, 13], Operations: ['99-89=10', '58-45=13'] Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,23 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[89, 45, 99, 58], Operations: [] Exploring Operation: 99-89=10, Resulting Numbers: [45, 58, 10] Generated Node #0,3: 23:[45, 58, 10] Operation: 99-89=10 Moving to Node #0,3 Current State: 23:[45, 58, 10], Operations: ['99-89=10'] Exploring Operation: 58-45=13, Resulting Numbers: [10, 13] Generated Node #0,3,2: 23:[10, 13] Operation: 58-45=13 Moving to Node #0,3,2 Current State: 23:[10, 13], Operations: ['99-89=10', '58-45=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 31, 83, 54, 45 ]
15
[ "31+83=114", "54+45=99", "114-99=15" ]
Current State: 15:[31, 83, 54, 45], Operations: [] Exploring Operation: 31+83=114, Resulting Numbers: [54, 45, 114] Generated Node #2: [54, 45, 114] from Operation: 31+83=114 Current State: 15:[54, 45, 114], Operations: ['31+83=114'] Exploring Operation: 54+45=99, Resulting Numbers: [114, 99] Generated Node #3: [114, 99] from Operation: 54+45=99 Current State: 15:[114, 99], Operations: ['31+83=114', '54+45=99'] Exploring Operation: 114-99=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[31, 83, 54, 45], Operations: [] Exploring Operation: 83-54=29, Resulting Numbers: [31, 45, 29] Generated Node #0,0: 15:[31, 45, 29] Operation: 83-54=29 Exploring Operation: 83-45=38, Resulting Numbers: [31, 54, 38] Generated Node #0,1: 15:[31, 54, 38] Operation: 83-45=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[31, 45, 29], Operations: ['83-54=29'] Exploring Operation: 45-31=14, Resulting Numbers: [29, 14] Generated Node #0,0,0: 15:[29, 14] Operation: 45-31=14 Exploring Operation: 45-29=16, Resulting Numbers: [31, 16] Generated Node #0,0,1: 15:[31, 16] Operation: 45-29=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[29, 14], Operations: ['83-54=29', '45-31=14'] Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[31, 83, 54, 45], Operations: [] Exploring Operation: 83-54=29, Resulting Numbers: [31, 45, 29] Generated Node #0,0: 15:[31, 45, 29] Operation: 83-54=29 Moving to Node #0,0 Current State: 15:[31, 45, 29], Operations: ['83-54=29'] Exploring Operation: 45-31=14, Resulting Numbers: [29, 14] Generated Node #0,0,0: 15:[29, 14] Operation: 45-31=14 Moving to Node #0,0,0 Current State: 15:[29, 14], Operations: ['83-54=29', '45-31=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 85, 9, 2, 85 ]
12
[ "85/85=1", "9+2=11", "1+11=12" ]
Current State: 12:[85, 9, 2, 85], Operations: [] Exploring Operation: 85/85=1, Resulting Numbers: [9, 2, 1] Generated Node #2: [9, 2, 1] from Operation: 85/85=1 Current State: 12:[9, 2, 1], Operations: ['85/85=1'] Exploring Operation: 9+2=11, Resulting Numbers: [1, 11] Generated Node #3: [1, 11] from Operation: 9+2=11 Current State: 12:[1, 11], Operations: ['85/85=1', '9+2=11'] Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[85, 9, 2, 85], Operations: [] Exploring Operation: 85/85=1, Resulting Numbers: [9, 2, 1] Generated Node #0,0: 12:[9, 2, 1] Operation: 85/85=1 Exploring Operation: 85-85=0, Resulting Numbers: [9, 2, 0] Generated Node #0,1: 12:[9, 2, 0] Operation: 85-85=0 Exploring Operation: 85-9=76, Resulting Numbers: [2, 85, 76] Generated Node #0,2: 12:[2, 85, 76] Operation: 85-9=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[9, 2, 1], Operations: ['85/85=1'] Exploring Operation: 9+1=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 12:[2, 10] Operation: 9+1=10 Exploring Operation: 9+2=11, Resulting Numbers: [1, 11] Generated Node #0,0,1: 12:[1, 11] Operation: 9+2=11 Exploring Operation: 9-2=7, Resulting Numbers: [1, 7] Generated Node #0,0,2: 12:[1, 7] Operation: 9-2=7 Moving to Node #0,0,0 Current State: 12:[2, 10], Operations: ['85/85=1', '9+1=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[85, 9, 2, 85], Operations: [] Exploring Operation: 85/85=1, Resulting Numbers: [9, 2, 1] Generated Node #0,0: 12:[9, 2, 1] Operation: 85/85=1 Moving to Node #0,0 Current State: 12:[9, 2, 1], Operations: ['85/85=1'] Exploring Operation: 9+1=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 12:[2, 10] Operation: 9+1=10 Moving to Node #0,0,0 Current State: 12:[2, 10], Operations: ['85/85=1', '9+1=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 14, 26, 9, 52 ]
48
[ "14*9=126", "26+52=78", "126-78=48" ]
Current State: 48:[14, 26, 9, 52], Operations: [] Exploring Operation: 14*9=126, Resulting Numbers: [26, 52, 126] Generated Node #2: [26, 52, 126] from Operation: 14*9=126 Current State: 48:[26, 52, 126], Operations: ['14*9=126'] Exploring Operation: 26+52=78, Resulting Numbers: [126, 78] Generated Node #3: [126, 78] from Operation: 26+52=78 Current State: 48:[126, 78], Operations: ['14*9=126', '26+52=78'] Exploring Operation: 126-78=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[14, 26, 9, 52], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [14, 9, 2] Generated Node #0,0: 48:[14, 9, 2] Operation: 52/26=2 Exploring Operation: 14+9=23, Resulting Numbers: [26, 52, 23] Generated Node #0,1: 48:[26, 52, 23] Operation: 14+9=23 Exploring Operation: 52-26=26, Resulting Numbers: [14, 9, 26] Generated Node #0,2: 48:[14, 9, 26] Operation: 52-26=26 Exploring Operation: 26-14=12, Resulting Numbers: [9, 52, 12] Generated Node #0,3: 48:[9, 52, 12] Operation: 26-14=12 Exploring Operation: 14-9=5, Resulting Numbers: [26, 52, 5] Generated Node #0,4: 48:[26, 52, 5] Operation: 14-9=5 Moving to Node #0,0 Current State: 48:[14, 9, 2], Operations: ['52/26=2'] Exploring Operation: 14+9=23, Resulting Numbers: [2, 23] Generated Node #0,0,0: 48:[2, 23] Operation: 14+9=23 Exploring Operation: 14+2=16, Resulting Numbers: [9, 16] Generated Node #0,0,1: 48:[9, 16] Operation: 14+2=16 Exploring Operation: 14-2=12, Resulting Numbers: [9, 12] Generated Node #0,0,2: 48:[9, 12] Operation: 14-2=12 Exploring Operation: 14-9=5, Resulting Numbers: [2, 5] Generated Node #0,0,3: 48:[2, 5] Operation: 14-9=5 Exploring Operation: 14/2=7, Resulting Numbers: [9, 7] Generated Node #0,0,4: 48:[9, 7] Operation: 14/2=7 Moving to Node #0,3 Current State: 48:[9, 52, 12], Operations: ['26-14=12'] Exploring Operation: 9+12=21, Resulting Numbers: [52, 21] Generated Node #0,3,0: 48:[52, 21] Operation: 9+12=21 Exploring Operation: 12-9=3, Resulting Numbers: [52, 3] Generated Node #0,3,1: 48:[52, 3] Operation: 12-9=3 Exploring Operation: 52-9=43, Resulting Numbers: [12, 43] Generated Node #0,3,2: 48:[12, 43] Operation: 52-9=43 Exploring Operation: 52-12=40, Resulting Numbers: [9, 40] Generated Node #0,3,3: 48:[9, 40] Operation: 52-12=40 Exploring Operation: 9+52=61, Resulting Numbers: [12, 61] Generated Node #0,3,4: 48:[12, 61] Operation: 9+52=61 Moving to Node #0,2 Current State: 48:[14, 9, 26], Operations: ['52-26=26'] Exploring Operation: 14+9=23, Resulting Numbers: [26, 23] Generated Node #0,2,0: 48:[26, 23] Operation: 14+9=23 Exploring Operation: 14-9=5, Resulting Numbers: [26, 5] Generated Node #0,2,1: 48:[26, 5] Operation: 14-9=5 Exploring Operation: 26-9=17, Resulting Numbers: [14, 17] Generated Node #0,2,2: 48:[14, 17] Operation: 26-9=17 Exploring Operation: 26-14=12, Resulting Numbers: [9, 12] Generated Node #0,2,3: 48:[9, 12] Operation: 26-14=12 Exploring Operation: 14+26=40, Resulting Numbers: [9, 40] Generated Node #0,2,4: 48:[9, 40] Operation: 14+26=40 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[9, 12], Operations: ['52-26=26', '26-14=12'] Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[26, 23], Operations: ['52-26=26', '14+9=23'] Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,48 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[26, 5], Operations: ['52-26=26', '14-9=5'] Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,48 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[14, 17], Operations: ['52-26=26', '26-9=17'] Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,48 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 48:[9, 40], Operations: ['52-26=26', '14+26=40'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,48 unequal: No Solution Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,48 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,48 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: 48:[26, 52, 23], Operations: ['14+9=23'] Exploring Operation: 52-26=26, Resulting Numbers: [23, 26] Generated Node #0,1,0: 48:[23, 26] Operation: 52-26=26 Exploring Operation: 26+23=49, Resulting Numbers: [52, 49] Generated Node #0,1,1: 48:[52, 49] Operation: 26+23=49 Exploring Operation: 52-23=29, Resulting Numbers: [26, 29] Generated Node #0,1,2: 48:[26, 29] Operation: 52-23=29 Exploring Operation: 52/26=2, Resulting Numbers: [23, 2] Generated Node #0,1,3: 48:[23, 2] Operation: 52/26=2 Exploring Operation: 26-23=3, Resulting Numbers: [52, 3] Generated Node #0,1,4: 48:[52, 3] Operation: 26-23=3 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 48:[23, 2], Operations: ['14+9=23', '52/26=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[23, 26], Operations: ['14+9=23', '52-26=26'] Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,48 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 48:[52, 3], Operations: ['14+9=23', '26-23=3'] Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[52, 49], Operations: ['14+9=23', '26+23=49'] Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 52+49=101, Resulting Numbers: [101] 101,48 unequal: No Solution Exploring Operation: 52*49=2548, Resulting Numbers: [2548] 2548,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[26, 29], Operations: ['14+9=23', '52-23=29'] Exploring Operation: 26*29=754, Resulting Numbers: [754] 754,48 unequal: No Solution Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 48:[26, 52, 5], Operations: ['14-9=5'] Exploring Operation: 26+5=31, Resulting Numbers: [52, 31] Generated Node #0,4,0: 48:[52, 31] Operation: 26+5=31 Exploring Operation: 52/26=2, Resulting Numbers: [5, 2] Generated Node #0,4,1: 48:[5, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [5, 26] Generated Node #0,4,2: 48:[5, 26] Operation: 52-26=26 Exploring Operation: 26-5=21, Resulting Numbers: [52, 21] Generated Node #0,4,3: 48:[52, 21] Operation: 26-5=21 Exploring Operation: 52-5=47, Resulting Numbers: [26, 47] Generated Node #0,4,4: 48:[26, 47] Operation: 52-5=47 Moving to Node #0,0,0 Current State: 48:[2, 23], Operations: ['52/26=2', '14+9=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[9, 12], Operations: ['52/26=2', '14-2=12'] Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,48 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[9, 16], Operations: ['52/26=2', '14+2=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,48 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,48 unequal: No Solution Moving to Node #0,4,1 Current State: 48:[5, 2], Operations: ['14-9=5', '52/26=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[2, 5], Operations: ['52/26=2', '14-9=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,48 unequal: No Solution Moving to Node #0,0,4 Current State: 48:[9, 7], Operations: ['52/26=2', '14/2=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,48 unequal: No Solution Moving to Node #0,4,2 Current State: 48:[5, 26], Operations: ['14-9=5', '52-26=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,48 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,48 unequal: No Solution Moving to Node #0,4,4 Current State: 48:[26, 47], Operations: ['14-9=5', '52-5=47'] Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[52, 3], Operations: ['26-14=12', '12-9=3'] Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,48 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[12, 43], Operations: ['26-14=12', '52-9=43'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,48 unequal: No Solution Exploring Operation: 12+43=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 12*43=516, Resulting Numbers: [516] 516,48 unequal: No Solution Moving to Node #0,4,3 Current State: 48:[52, 21], Operations: ['14-9=5', '26-5=21'] Exploring Operation: 52*21=1092, Resulting Numbers: [1092] 1092,48 unequal: No Solution Exploring Operation: 52+21=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,48 unequal: No Solution Moving to Node #0,3,0 Current State: 48:[52, 21], Operations: ['26-14=12', '9+12=21'] Exploring Operation: 52*21=1092, Resulting Numbers: [1092] 1092,48 unequal: No Solution Exploring Operation: 52+21=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[9, 40], Operations: ['26-14=12', '52-12=40'] Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,48 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,48 unequal: No Solution Moving to Node #0,4,0 Current State: 48:[52, 31], Operations: ['14-9=5', '26+5=31'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 52+31=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 52*31=1612, Resulting Numbers: [1612] 1612,48 unequal: No Solution Moving to Node #0,3,4 Current State: 48:[12, 61], Operations: ['26-14=12', '9+52=61'] Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 12*61=732, Resulting Numbers: [732] 732,48 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 49, 98, 45, 34 ]
38
[ "98-49=49", "45-34=11", "49-11=38" ]
Current State: 38:[49, 98, 45, 34], Operations: [] Exploring Operation: 98-49=49, Resulting Numbers: [45, 34, 49] Generated Node #2: [45, 34, 49] from Operation: 98-49=49 Current State: 38:[45, 34, 49], Operations: ['98-49=49'] Exploring Operation: 45-34=11, Resulting Numbers: [49, 11] Generated Node #3: [49, 11] from Operation: 45-34=11 Current State: 38:[49, 11], Operations: ['98-49=49', '45-34=11'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[49, 98, 45, 34], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [45, 34, 2] Generated Node #0,0: 38:[45, 34, 2] Operation: 98/49=2 Moving to Node #0,0 Current State: 38:[45, 34, 2], Operations: ['98/49=2'] Exploring Operation: 45-34=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 38:[2, 11] Operation: 45-34=11 Moving to Node #0,0,0 Current State: 38:[2, 11], Operations: ['98/49=2', '45-34=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,38 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 30, 58, 13, 90 ]
74
[ "90/30=3", "58+13=71", "3+71=74" ]
Current State: 74:[30, 58, 13, 90], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [58, 13, 3] Generated Node #2: [58, 13, 3] from Operation: 90/30=3 Current State: 74:[58, 13, 3], Operations: ['90/30=3'] Exploring Operation: 58+13=71, Resulting Numbers: [3, 71] Generated Node #3: [3, 71] from Operation: 58+13=71 Current State: 74:[3, 71], Operations: ['90/30=3', '58+13=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[30, 58, 13, 90], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [58, 13, 3] Generated Node #0,0: 74:[58, 13, 3] Operation: 90/30=3 Exploring Operation: 58+13=71, Resulting Numbers: [30, 90, 71] Generated Node #0,1: 74:[30, 90, 71] Operation: 58+13=71 Exploring Operation: 90-58=32, Resulting Numbers: [30, 13, 32] Generated Node #0,2: 74:[30, 13, 32] Operation: 90-58=32 Exploring Operation: 90-13=77, Resulting Numbers: [30, 58, 77] Generated Node #0,3: 74:[30, 58, 77] Operation: 90-13=77 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[30, 13, 32], Operations: ['90-58=32'] Exploring Operation: 32-30=2, Resulting Numbers: [13, 2] Generated Node #0,2,0: 74:[13, 2] Operation: 32-30=2 Exploring Operation: 30+13=43, Resulting Numbers: [32, 43] Generated Node #0,2,1: 74:[32, 43] Operation: 30+13=43 Exploring Operation: 13+32=45, Resulting Numbers: [30, 45] Generated Node #0,2,2: 74:[30, 45] Operation: 13+32=45 Exploring Operation: 30-13=17, Resulting Numbers: [32, 17] Generated Node #0,2,3: 74:[32, 17] Operation: 30-13=17 Moving to Node #0,2,0 Current State: 74:[13, 2], Operations: ['90-58=32', '32-30=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[32, 43], Operations: ['90-58=32', '30+13=43'] Exploring Operation: 32+43=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 32*43=1376, Resulting Numbers: [1376] 1376,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[30, 45], Operations: ['90-58=32', '13+32=45'] Exploring Operation: 30+45=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 30*45=1350, Resulting Numbers: [1350] 1350,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[32, 17], Operations: ['90-58=32', '30-13=17'] Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,74 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[30, 90, 71], Operations: ['58+13=71'] Exploring Operation: 90/30=3, Resulting Numbers: [71, 3] Generated Node #0,1,0: 74:[71, 3] Operation: 90/30=3 Exploring Operation: 90-30=60, Resulting Numbers: [71, 60] Generated Node #0,1,1: 74:[71, 60] Operation: 90-30=60 Exploring Operation: 71-30=41, Resulting Numbers: [90, 41] Generated Node #0,1,2: 74:[90, 41] Operation: 71-30=41 Exploring Operation: 90-71=19, Resulting Numbers: [30, 19] Generated Node #0,1,3: 74:[30, 19] Operation: 90-71=19 Moving to Node #0,1,0 Current State: 74:[71, 3], Operations: ['58+13=71', '90/30=3'] Exploring Operation: 71*3=213, Resulting Numbers: [213] 213,74 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,74 unequal: No Solution Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[30, 58, 13, 90], Operations: [] Exploring Operation: 58+13=71, Resulting Numbers: [30, 90, 71] Generated Node #0,1: 74:[30, 90, 71] Operation: 58+13=71 Moving to Node #0,1 Current State: 74:[30, 90, 71], Operations: ['58+13=71'] Exploring Operation: 90/30=3, Resulting Numbers: [71, 3] Generated Node #0,1,0: 74:[71, 3] Operation: 90/30=3 Moving to Node #0,1,0 Current State: 74:[71, 3], Operations: ['58+13=71', '90/30=3'] Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 38, 94, 2, 82 ]
73
[ "38+82=120", "94/2=47", "120-47=73" ]
Current State: 73:[38, 94, 2, 82], Operations: [] Exploring Operation: 38+82=120, Resulting Numbers: [94, 2, 120] Generated Node #2: [94, 2, 120] from Operation: 38+82=120 Current State: 73:[94, 2, 120], Operations: ['38+82=120'] Exploring Operation: 94/2=47, Resulting Numbers: [120, 47] Generated Node #3: [120, 47] from Operation: 94/2=47 Current State: 73:[120, 47], Operations: ['38+82=120', '94/2=47'] Exploring Operation: 120-47=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[38, 94, 2, 82], Operations: [] Exploring Operation: 38+2=40, Resulting Numbers: [94, 82, 40] Generated Node #0,0: 73:[94, 82, 40] Operation: 38+2=40 Exploring Operation: 38*2=76, Resulting Numbers: [94, 82, 76] Generated Node #0,1: 73:[94, 82, 76] Operation: 38*2=76 Exploring Operation: 94-2=92, Resulting Numbers: [38, 82, 92] Generated Node #0,2: 73:[38, 82, 92] Operation: 94-2=92 Moving to Node #0,1 Current State: 73:[94, 82, 76], Operations: ['38*2=76'] Exploring Operation: 82-76=6, Resulting Numbers: [94, 6] Generated Node #0,1,0: 73:[94, 6] Operation: 82-76=6 Exploring Operation: 94-76=18, Resulting Numbers: [82, 18] Generated Node #0,1,1: 73:[82, 18] Operation: 94-76=18 Exploring Operation: 94-82=12, Resulting Numbers: [76, 12] Generated Node #0,1,2: 73:[76, 12] Operation: 94-82=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[82, 18], Operations: ['38*2=76', '94-76=18'] Exploring Operation: 82*18=1476, Resulting Numbers: [1476] 1476,73 unequal: No Solution Exploring Operation: 82-18=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 82+18=100, Resulting Numbers: [100] 100,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,1,2 Current State: 73:[76, 12], Operations: ['38*2=76', '94-82=12'] Exploring Operation: 76*12=912, Resulting Numbers: [912] 912,73 unequal: No Solution Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 76+12=88, Resulting Numbers: [88] 88,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,1,0 Current State: 73:[94, 6], Operations: ['38*2=76', '82-76=6'] Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,73 unequal: No Solution Exploring Operation: 94*6=564, Resulting Numbers: [564] 564,73 unequal: No Solution Exploring Operation: 94+6=100, Resulting Numbers: [100] 100,73 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: 73:[94, 82, 40], Operations: ['38+2=40'] Exploring Operation: 94-40=54, Resulting Numbers: [82, 54] Generated Node #0,0,0: 73:[82, 54] Operation: 94-40=54 Exploring Operation: 82-40=42, Resulting Numbers: [94, 42] Generated Node #0,0,1: 73:[94, 42] Operation: 82-40=42 Exploring Operation: 94+40=134, Resulting Numbers: [82, 134] Generated Node #0,0,2: 73:[82, 134] Operation: 94+40=134 Moving to Node #0,2 Current State: 73:[38, 82, 92], Operations: ['94-2=92'] Exploring Operation: 82-38=44, Resulting Numbers: [92, 44] Generated Node #0,2,0: 73:[92, 44] Operation: 82-38=44 Exploring Operation: 38+82=120, Resulting Numbers: [92, 120] Generated Node #0,2,1: 73:[92, 120] Operation: 38+82=120 Exploring Operation: 92-38=54, Resulting Numbers: [82, 54] Generated Node #0,2,2: 73:[82, 54] Operation: 92-38=54 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[82, 54], Operations: ['94-2=92', '92-38=54'] Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,73 unequal: No Solution Exploring Operation: 82+54=136, Resulting Numbers: [136] 136,73 unequal: No Solution Exploring Operation: 82*54=4428, Resulting Numbers: [4428] 4428,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,0 Current State: 73:[92, 44], Operations: ['94-2=92', '82-38=44'] Exploring Operation: 92-44=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 92+44=136, Resulting Numbers: [136] 136,73 unequal: No Solution Exploring Operation: 92*44=4048, Resulting Numbers: [4048] 4048,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:[92, 120], Operations: ['94-2=92', '38+82=120'] Exploring Operation: 92+120=212, Resulting Numbers: [212] 212,73 unequal: No Solution Exploring Operation: 92*120=11040, Resulting Numbers: [11040] 11040,73 unequal: No Solution Exploring Operation: 120-92=28, Resulting Numbers: [28] 28,73 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: 73:[82, 54], Operations: ['38+2=40', '94-40=54'] Exploring Operation: 82-54=28, Resulting Numbers: [28] 28,73 unequal: No Solution Exploring Operation: 82*54=4428, Resulting Numbers: [4428] 4428,73 unequal: No Solution Exploring Operation: 82+54=136, Resulting Numbers: [136] 136,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[94, 42], Operations: ['38+2=40', '82-40=42'] Exploring Operation: 94-42=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 94*42=3948, Resulting Numbers: [3948] 3948,73 unequal: No Solution Exploring Operation: 94+42=136, Resulting Numbers: [136] 136,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[82, 134], Operations: ['38+2=40', '94+40=134'] Exploring Operation: 134-82=52, Resulting Numbers: [52] 52,73 unequal: No Solution Exploring Operation: 82*134=10988, Resulting Numbers: [10988] 10988,73 unequal: No Solution Exploring Operation: 82+134=216, Resulting Numbers: [216] 216,73 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 46, 85, 17, 4 ]
31
[ "46-17=29", "4*29=116", "116-85=31" ]
Current State: 31:[46, 85, 17, 4], Operations: [] Exploring Operation: 46-17=29, Resulting Numbers: [85, 4, 29] Generated Node #2: [85, 4, 29] from Operation: 46-17=29 Current State: 31:[85, 4, 29], Operations: ['46-17=29'] Exploring Operation: 4*29=116, Resulting Numbers: [85, 116] Generated Node #3: [85, 116] from Operation: 4*29=116 Current State: 31:[85, 116], Operations: ['46-17=29', '4*29=116'] Exploring Operation: 116-85=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[46, 85, 17, 4], Operations: [] Exploring Operation: 85-4=81, Resulting Numbers: [46, 17, 81] Generated Node #0,0: 31:[46, 17, 81] Operation: 85-4=81 Exploring Operation: 85-17=68, Resulting Numbers: [46, 4, 68] Generated Node #0,1: 31:[46, 4, 68] Operation: 85-17=68 Exploring Operation: 85-46=39, Resulting Numbers: [17, 4, 39] Generated Node #0,2: 31:[17, 4, 39] Operation: 85-46=39 Exploring Operation: 46-4=42, Resulting Numbers: [85, 17, 42] Generated Node #0,3: 31:[85, 17, 42] Operation: 46-4=42 Exploring Operation: 85/17=5, Resulting Numbers: [46, 4, 5] Generated Node #0,4: 31:[46, 4, 5] Operation: 85/17=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[17, 4, 39], Operations: ['85-46=39'] Exploring Operation: 39-17=22, Resulting Numbers: [4, 22] Generated Node #0,2,0: 31:[4, 22] Operation: 39-17=22 Exploring Operation: 17+4=21, Resulting Numbers: [39, 21] Generated Node #0,2,1: 31:[39, 21] Operation: 17+4=21 Exploring Operation: 4+39=43, Resulting Numbers: [17, 43] Generated Node #0,2,2: 31:[17, 43] Operation: 4+39=43 Exploring Operation: 17-4=13, Resulting Numbers: [39, 13] Generated Node #0,2,3: 31:[39, 13] Operation: 17-4=13 Exploring Operation: 39-4=35, Resulting Numbers: [17, 35] Generated Node #0,2,4: 31:[17, 35] Operation: 39-4=35 Moving to Node #0,2,1 Current State: 31:[39, 21], Operations: ['85-46=39', '17+4=21'] Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,31 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,2,4 Current State: 31:[17, 35], Operations: ['85-46=39', '39-4=35'] Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,31 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[17, 43], Operations: ['85-46=39', '4+39=43'] Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 17*43=731, Resulting Numbers: [731] 731,31 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[39, 13], Operations: ['85-46=39', '17-4=13'] Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 39*13=507, Resulting Numbers: [507] 507,31 unequal: No Solution Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[4, 22], Operations: ['85-46=39', '39-17=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 31:[46, 4, 5], Operations: ['85/17=5'] Exploring Operation: 46-4=42, Resulting Numbers: [5, 42] Generated Node #0,4,0: 31:[5, 42] Operation: 46-4=42 Exploring Operation: 46+4=50, Resulting Numbers: [5, 50] Generated Node #0,4,1: 31:[5, 50] Operation: 46+4=50 Exploring Operation: 4+5=9, Resulting Numbers: [46, 9] Generated Node #0,4,2: 31:[46, 9] Operation: 4+5=9 Exploring Operation: 46-5=41, Resulting Numbers: [4, 41] Generated Node #0,4,3: 31:[4, 41] Operation: 46-5=41 Exploring Operation: 4*5=20, Resulting Numbers: [46, 20] Generated Node #0,4,4: 31:[46, 20] Operation: 4*5=20 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 31:[46, 20], Operations: ['85/17=5', '4*5=20'] Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,31 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,31 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 31:[5, 42], Operations: ['85/17=5', '46-4=42'] Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,31 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,31 unequal: No Solution No 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: 31:[46, 9], Operations: ['85/17=5', '4+5=9'] Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,31 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,31 unequal: No Solution No 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: 31:[4, 41], Operations: ['85/17=5', '46-5=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,31 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,31 unequal: No Solution No 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: 31:[5, 50], Operations: ['85/17=5', '46+4=50'] Exploring Operation: 5*50=250, Resulting Numbers: [250] 250,31 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,31 unequal: No Solution Exploring Operation: 5+50=55, Resulting Numbers: [55] 55,31 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,31 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: 31:[46, 17, 81], Operations: ['85-4=81'] Exploring Operation: 46+17=63, Resulting Numbers: [81, 63] Generated Node #0,0,0: 31:[81, 63] Operation: 46+17=63 Exploring Operation: 17+81=98, Resulting Numbers: [46, 98] Generated Node #0,0,1: 31:[46, 98] Operation: 17+81=98 Exploring Operation: 46-17=29, Resulting Numbers: [81, 29] Generated Node #0,0,2: 31:[81, 29] Operation: 46-17=29 Exploring Operation: 81-46=35, Resulting Numbers: [17, 35] Generated Node #0,0,3: 31:[17, 35] Operation: 81-46=35 Exploring Operation: 81-17=64, Resulting Numbers: [46, 64] Generated Node #0,0,4: 31:[46, 64] Operation: 81-17=64 Moving to Node #0,0,3 Current State: 31:[17, 35], Operations: ['85-4=81', '81-46=35'] Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,31 unequal: No Solution Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[46, 64], Operations: ['85-4=81', '81-17=64'] Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 46*64=2944, Resulting Numbers: [2944] 2944,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[81, 29], Operations: ['85-4=81', '46-17=29'] Exploring Operation: 81+29=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 81*29=2349, Resulting Numbers: [2349] 2349,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[81, 63], Operations: ['85-4=81', '46+17=63'] Exploring Operation: 81+63=144, Resulting Numbers: [144] 144,31 unequal: No Solution Exploring Operation: 81*63=5103, Resulting Numbers: [5103] 5103,31 unequal: No Solution Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[46, 98], Operations: ['85-4=81', '17+81=98'] Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 46+98=144, Resulting Numbers: [144] 144,31 unequal: No Solution Exploring Operation: 46*98=4508, Resulting Numbers: [4508] 4508,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[46, 4, 68], Operations: ['85-17=68'] Exploring Operation: 68-4=64, Resulting Numbers: [46, 64] Generated Node #0,1,0: 31:[46, 64] Operation: 68-4=64 Exploring Operation: 68/4=17, Resulting Numbers: [46, 17] Generated Node #0,1,1: 31:[46, 17] Operation: 68/4=17 Exploring Operation: 68-46=22, Resulting Numbers: [4, 22] Generated Node #0,1,2: 31:[4, 22] Operation: 68-46=22 Exploring Operation: 46-4=42, Resulting Numbers: [68, 42] Generated Node #0,1,3: 31:[68, 42] Operation: 46-4=42 Exploring Operation: 46+4=50, Resulting Numbers: [68, 50] Generated Node #0,1,4: 31:[68, 50] Operation: 46+4=50 Moving to Node #0,1,1 Current State: 31:[46, 17], Operations: ['85-17=68', '68/4=17'] Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,31 unequal: No Solution Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,31 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[4, 22], Operations: ['85-17=68', '68-46=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,31 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[46, 64], Operations: ['85-17=68', '68-4=64'] Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 46*64=2944, Resulting Numbers: [2944] 2944,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[68, 42], Operations: ['85-17=68', '46-4=42'] Exploring Operation: 68+42=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 68*42=2856, Resulting Numbers: [2856] 2856,31 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,31 unequal: No Solution Moving to Node #0,1,4 Current State: 31:[68, 50], Operations: ['85-17=68', '46+4=50'] Exploring Operation: 68*50=3400, Resulting Numbers: [3400] 3400,31 unequal: No Solution Exploring Operation: 68+50=118, Resulting Numbers: [118] 118,31 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[85, 17, 42], Operations: ['46-4=42'] Exploring Operation: 85-17=68, Resulting Numbers: [42, 68] Generated Node #0,3,0: 31:[42, 68] Operation: 85-17=68 Exploring Operation: 42-17=25, Resulting Numbers: [85, 25] Generated Node #0,3,1: 31:[85, 25] Operation: 42-17=25 Exploring Operation: 85-42=43, Resulting Numbers: [17, 43] Generated Node #0,3,2: 31:[17, 43] Operation: 85-42=43 Exploring Operation: 85/17=5, Resulting Numbers: [42, 5] Generated Node #0,3,3: 31:[42, 5] Operation: 85/17=5 Exploring Operation: 85+17=102, Resulting Numbers: [42, 102] Generated Node #0,3,4: 31:[42, 102] Operation: 85+17=102 Moving to Node #0,3,2 Current State: 31:[17, 43], Operations: ['46-4=42', '85-42=43'] Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 17*43=731, Resulting Numbers: [731] 731,31 unequal: No Solution Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[42, 5], Operations: ['46-4=42', '85/17=5'] Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,31 unequal: No Solution Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[42, 68], Operations: ['46-4=42', '85-17=68'] Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[85, 25], Operations: ['46-4=42', '42-17=25'] Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,31 unequal: No Solution Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,31 unequal: No Solution Moving to Node #0,3,4 Current State: 31:[42, 102], Operations: ['46-4=42', '85+17=102'] Exploring Operation: 42*102=4284, Resulting Numbers: [4284] 4284,31 unequal: No Solution Exploring Operation: 102-42=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 42+102=144, Resulting Numbers: [144] 144,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 11, 18, 4, 3 ]
58
[ "11+3=14", "18*4=72", "72-14=58" ]
Current State: 58:[11, 18, 4, 3], Operations: [] Exploring Operation: 11+3=14, Resulting Numbers: [18, 4, 14] Generated Node #2: [18, 4, 14] from Operation: 11+3=14 Current State: 58:[18, 4, 14], Operations: ['11+3=14'] Exploring Operation: 18*4=72, Resulting Numbers: [14, 72] Generated Node #3: [14, 72] from Operation: 18*4=72 Current State: 58:[14, 72], Operations: ['11+3=14', '18*4=72'] Exploring Operation: 72-14=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[11, 18, 4, 3], Operations: [] Exploring Operation: 18-11=7, Resulting Numbers: [4, 3, 7] Generated Node #0,0: 58:[4, 3, 7] Operation: 18-11=7 Exploring Operation: 11+18=29, Resulting Numbers: [4, 3, 29] Generated Node #0,1: 58:[4, 3, 29] Operation: 11+18=29 Exploring Operation: 18*3=54, Resulting Numbers: [11, 4, 54] Generated Node #0,2: 58:[11, 4, 54] Operation: 18*3=54 Moving to Node #0,1 Current State: 58:[4, 3, 29], Operations: ['11+18=29'] Exploring Operation: 4-3=1, Resulting Numbers: [29, 1] Generated Node #0,1,0: 58:[29, 1] Operation: 4-3=1 Exploring Operation: 4+29=33, Resulting Numbers: [3, 33] Generated Node #0,1,1: 58:[3, 33] Operation: 4+29=33 Exploring Operation: 4+3=7, Resulting Numbers: [29, 7] Generated Node #0,1,2: 58:[29, 7] Operation: 4+3=7 Moving to Node #0,0 Current State: 58:[4, 3, 7], Operations: ['18-11=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4, 4] Generated Node #0,0,0: 58:[4, 4] Operation: 7-3=4 Exploring Operation: 7-4=3, Resulting Numbers: [3, 3] Generated Node #0,0,1: 58:[3, 3] Operation: 7-4=3 Exploring Operation: 4*7=28, Resulting Numbers: [3, 28] Generated Node #0,0,2: 58:[3, 28] Operation: 4*7=28 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[3, 3], Operations: ['18-11=7', '7-4=3'] Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,58 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,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,0,2 Current State: 58:[3, 28], Operations: ['18-11=7', '4*7=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,58 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,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,0,0 Current State: 58:[4, 4], Operations: ['18-11=7', '7-3=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,58 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 58:[11, 4, 54], Operations: ['18*3=54'] Exploring Operation: 4+54=58, Resulting Numbers: [11, 58] Generated Node #0,2,0: 58:[11, 58] Operation: 4+54=58 Exploring Operation: 11+54=65, Resulting Numbers: [4, 65] Generated Node #0,2,1: 58:[4, 65] Operation: 11+54=65 Exploring Operation: 11-4=7, Resulting Numbers: [54, 7] Generated Node #0,2,2: 58:[54, 7] Operation: 11-4=7 Moving to Node #0,1,0 Current State: 58:[29, 1], Operations: ['11+18=29', '4-3=1'] Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[29, 7], Operations: ['11+18=29', '4+3=7'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[3, 33], Operations: ['11+18=29', '4+29=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[54, 7], Operations: ['18*3=54', '11-4=7'] Exploring Operation: 54*7=378, Resulting Numbers: [378] 378,58 unequal: No Solution Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,58 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[11, 58], Operations: ['18*3=54', '4+54=58'] Exploring Operation: 11+58=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 11*58=638, Resulting Numbers: [638] 638,58 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[4, 65], Operations: ['18*3=54', '11+54=65'] Exploring Operation: 4*65=260, Resulting Numbers: [260] 260,58 unequal: No Solution Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,58 unequal: No Solution Exploring Operation: 4+65=69, Resulting Numbers: [69] 69,58 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 6, 73, 8, 11 ]
81
[ "6+8=14", "11*14=154", "154-73=81" ]
Current State: 81:[6, 73, 8, 11], Operations: [] Exploring Operation: 6+8=14, Resulting Numbers: [73, 11, 14] Generated Node #2: [73, 11, 14] from Operation: 6+8=14 Current State: 81:[73, 11, 14], Operations: ['6+8=14'] Exploring Operation: 11*14=154, Resulting Numbers: [73, 154] Generated Node #3: [73, 154] from Operation: 11*14=154 Current State: 81:[73, 154], Operations: ['6+8=14', '11*14=154'] Exploring Operation: 154-73=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[6, 73, 8, 11], Operations: [] Exploring Operation: 6+73=79, Resulting Numbers: [8, 11, 79] Generated Node #0,0: 81:[8, 11, 79] Operation: 6+73=79 Exploring Operation: 8-6=2, Resulting Numbers: [73, 11, 2] Generated Node #0,1: 81:[73, 11, 2] Operation: 8-6=2 Exploring Operation: 73+11=84, Resulting Numbers: [6, 8, 84] Generated Node #0,2: 81:[6, 8, 84] Operation: 73+11=84 Exploring Operation: 73+8=81, Resulting Numbers: [6, 11, 81] Generated Node #0,3: 81:[6, 11, 81] Operation: 73+8=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[8, 11, 79], Operations: ['6+73=79'] Exploring Operation: 8*11=88, Resulting Numbers: [79, 88] Generated Node #0,0,0: 81:[79, 88] Operation: 8*11=88 Exploring Operation: 11-8=3, Resulting Numbers: [79, 3] Generated Node #0,0,1: 81:[79, 3] Operation: 11-8=3 Exploring Operation: 8+11=19, Resulting Numbers: [79, 19] Generated Node #0,0,2: 81:[79, 19] Operation: 8+11=19 Exploring Operation: 8+79=87, Resulting Numbers: [11, 87] Generated Node #0,0,3: 81:[11, 87] Operation: 8+79=87 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[79, 3], Operations: ['6+73=79', '11-8=3'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,81 unequal: No Solution Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 81:[11, 87], Operations: ['6+73=79', '8+79=87'] Exploring Operation: 11*87=957, Resulting Numbers: [957] 957,81 unequal: No Solution Exploring Operation: 11+87=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 87-11=76, Resulting Numbers: [76] 76,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[79, 88], Operations: ['6+73=79', '8*11=88'] Exploring Operation: 79*88=6952, Resulting Numbers: [6952] 6952,81 unequal: No Solution Exploring Operation: 79+88=167, Resulting Numbers: [167] 167,81 unequal: No Solution Exploring Operation: 88-79=9, Resulting Numbers: [9] 9,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 81:[79, 19], Operations: ['6+73=79', '8+11=19'] Exploring Operation: 79*19=1501, Resulting Numbers: [1501] 1501,81 unequal: No Solution Exploring Operation: 79+19=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 79-19=60, Resulting Numbers: [60] 60,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[6, 11, 81], Operations: ['73+8=81'] Exploring Operation: 6+11=17, Resulting Numbers: [81, 17] Generated Node #0,3,0: 81:[81, 17] Operation: 6+11=17 Exploring Operation: 81-6=75, Resulting Numbers: [11, 75] Generated Node #0,3,1: 81:[11, 75] Operation: 81-6=75 Exploring Operation: 11-6=5, Resulting Numbers: [81, 5] Generated Node #0,3,2: 81:[81, 5] Operation: 11-6=5 Exploring Operation: 6+81=87, Resulting Numbers: [11, 87] Generated Node #0,3,3: 81:[11, 87] Operation: 6+81=87 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 81:[81, 5], Operations: ['73+8=81', '11-6=5'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,81 unequal: No Solution Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 81*5=405, Resulting Numbers: [405] 405,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 81:[81, 17], Operations: ['73+8=81', '6+11=17'] Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,81 unequal: No Solution Exploring Operation: 81+17=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 81*17=1377, Resulting Numbers: [1377] 1377,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 81:[11, 75], Operations: ['73+8=81', '81-6=75'] Exploring Operation: 11+75=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 11*75=825, Resulting Numbers: [825] 825,81 unequal: No Solution Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 81:[11, 87], Operations: ['73+8=81', '6+81=87'] Exploring Operation: 11*87=957, Resulting Numbers: [957] 957,81 unequal: No Solution Exploring Operation: 87-11=76, Resulting Numbers: [76] 76,81 unequal: No Solution Exploring Operation: 11+87=98, Resulting Numbers: [98] 98,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[6, 8, 84], Operations: ['73+11=84'] Exploring Operation: 8-6=2, Resulting Numbers: [84, 2] Generated Node #0,2,0: 81:[84, 2] Operation: 8-6=2 Exploring Operation: 84-6=78, Resulting Numbers: [8, 78] Generated Node #0,2,1: 81:[8, 78] Operation: 84-6=78 Exploring Operation: 6+8=14, Resulting Numbers: [84, 14] Generated Node #0,2,2: 81:[84, 14] Operation: 6+8=14 Exploring Operation: 84/6=14, Resulting Numbers: [8, 14] Generated Node #0,2,3: 81:[8, 14] Operation: 84/6=14 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[84, 2], Operations: ['73+11=84', '8-6=2'] Exploring Operation: 84*2=168, Resulting Numbers: [168] 168,81 unequal: No Solution Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 81:[8, 78], Operations: ['73+11=84', '84-6=78'] Exploring Operation: 8*78=624, Resulting Numbers: [624] 624,81 unequal: No Solution Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 8+78=86, Resulting Numbers: [86] 86,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 81:[8, 14], Operations: ['73+11=84', '84/6=14'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,81 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 81:[84, 14], Operations: ['73+11=84', '6+8=14'] Exploring Operation: 84*14=1176, Resulting Numbers: [1176] 1176,81 unequal: No Solution Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 84+14=98, Resulting Numbers: [98] 98,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[73, 11, 2], Operations: ['8-6=2'] Exploring Operation: 73-2=71, Resulting Numbers: [11, 71] Generated Node #0,1,0: 81:[11, 71] Operation: 73-2=71 Exploring Operation: 11-2=9, Resulting Numbers: [73, 9] Generated Node #0,1,1: 81:[73, 9] Operation: 11-2=9 Exploring Operation: 73+11=84, Resulting Numbers: [2, 84] Generated Node #0,1,2: 81:[2, 84] Operation: 73+11=84 Exploring Operation: 73+2=75, Resulting Numbers: [11, 75] Generated Node #0,1,3: 81:[11, 75] Operation: 73+2=75 Moving to Node #0,1,2 Current State: 81:[2, 84], Operations: ['8-6=2', '73+11=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,81 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 2*84=168, Resulting Numbers: [168] 168,81 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[11, 75], Operations: ['8-6=2', '73+2=75'] Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,81 unequal: No Solution Exploring Operation: 11+75=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 11*75=825, Resulting Numbers: [825] 825,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[73, 9], Operations: ['8-6=2', '11-2=9'] Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,81 unequal: No Solution Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 73*9=657, Resulting Numbers: [657] 657,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[11, 71], Operations: ['8-6=2', '73-2=71'] Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,81 unequal: No Solution Exploring Operation: 11+71=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 11*71=781, Resulting Numbers: [781] 781,81 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
[ 95, 76, 82, 69 ]
91
[ "95-82=13", "76-69=7", "13*7=91" ]
Current State: 91:[95, 76, 82, 69], Operations: [] Exploring Operation: 95-82=13, Resulting Numbers: [76, 69, 13] Generated Node #2: [76, 69, 13] from Operation: 95-82=13 Current State: 91:[76, 69, 13], Operations: ['95-82=13'] Exploring Operation: 76-69=7, Resulting Numbers: [13, 7] Generated Node #3: [13, 7] from Operation: 76-69=7 Current State: 91:[13, 7], Operations: ['95-82=13', '76-69=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[95, 76, 82, 69], Operations: [] Exploring Operation: 95-76=19, Resulting Numbers: [82, 69, 19] Generated Node #0,0: 91:[82, 69, 19] Operation: 95-76=19 Exploring Operation: 82-69=13, Resulting Numbers: [95, 76, 13] Generated Node #0,1: 91:[95, 76, 13] Operation: 82-69=13 Exploring Operation: 82-76=6, Resulting Numbers: [95, 69, 6] Generated Node #0,2: 91:[95, 69, 6] Operation: 82-76=6 Exploring Operation: 76-69=7, Resulting Numbers: [95, 82, 7] Generated Node #0,3: 91:[95, 82, 7] Operation: 76-69=7 Exploring Operation: 95-82=13, Resulting Numbers: [76, 69, 13] Generated Node #0,4: 91:[76, 69, 13] Operation: 95-82=13 Moving to Node #0,3 Current State: 91:[95, 82, 7], Operations: ['76-69=7'] Exploring Operation: 82+7=89, Resulting Numbers: [95, 89] Generated Node #0,3,0: 91:[95, 89] Operation: 82+7=89 Exploring Operation: 95+7=102, Resulting Numbers: [82, 102] Generated Node #0,3,1: 91:[82, 102] Operation: 95+7=102 Exploring Operation: 95-7=88, Resulting Numbers: [82, 88] Generated Node #0,3,2: 91:[82, 88] Operation: 95-7=88 Exploring Operation: 82-7=75, Resulting Numbers: [95, 75] Generated Node #0,3,3: 91:[95, 75] Operation: 82-7=75 Exploring Operation: 95-82=13, Resulting Numbers: [7, 13] Generated Node #0,3,4: 91:[7, 13] Operation: 95-82=13 Moving to Node #0,1 Current State: 91:[95, 76, 13], Operations: ['82-69=13'] Exploring Operation: 76+13=89, Resulting Numbers: [95, 89] Generated Node #0,1,0: 91:[95, 89] Operation: 76+13=89 Exploring Operation: 95+13=108, Resulting Numbers: [76, 108] Generated Node #0,1,1: 91:[76, 108] Operation: 95+13=108 Exploring Operation: 76-13=63, Resulting Numbers: [95, 63] Generated Node #0,1,2: 91:[95, 63] Operation: 76-13=63 Exploring Operation: 95-76=19, Resulting Numbers: [13, 19] Generated Node #0,1,3: 91:[13, 19] Operation: 95-76=19 Exploring Operation: 95-13=82, Resulting Numbers: [76, 82] Generated Node #0,1,4: 91:[76, 82] Operation: 95-13=82 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[95, 89], Operations: ['82-69=13', '76+13=89'] Exploring Operation: 95-89=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 95*89=8455, Resulting Numbers: [8455] 8455,91 unequal: No Solution Exploring Operation: 95+89=184, Resulting Numbers: [184] 184,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 91:[13, 19], Operations: ['82-69=13', '95-76=19'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 13*19=247, Resulting Numbers: [247] 247,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 91:[76, 82], Operations: ['82-69=13', '95-13=82'] Exploring Operation: 76+82=158, Resulting Numbers: [158] 158,91 unequal: No Solution Exploring Operation: 82-76=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 76*82=6232, Resulting Numbers: [6232] 6232,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[76, 108], Operations: ['82-69=13', '95+13=108'] Exploring Operation: 108-76=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 76*108=8208, Resulting Numbers: [8208] 8208,91 unequal: No Solution Exploring Operation: 76+108=184, Resulting Numbers: [184] 184,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[95, 63], Operations: ['82-69=13', '76-13=63'] Exploring Operation: 95*63=5985, Resulting Numbers: [5985] 5985,91 unequal: No Solution Exploring Operation: 95-63=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 95+63=158, Resulting Numbers: [158] 158,91 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: 91:[95, 69, 6], Operations: ['82-76=6'] Exploring Operation: 95-69=26, Resulting Numbers: [6, 26] Generated Node #0,2,0: 91:[6, 26] Operation: 95-69=26 Exploring Operation: 95-6=89, Resulting Numbers: [69, 89] Generated Node #0,2,1: 91:[69, 89] Operation: 95-6=89 Exploring Operation: 69-6=63, Resulting Numbers: [95, 63] Generated Node #0,2,2: 91:[95, 63] Operation: 69-6=63 Exploring Operation: 69+6=75, Resulting Numbers: [95, 75] Generated Node #0,2,3: 91:[95, 75] Operation: 69+6=75 Exploring Operation: 95+6=101, Resulting Numbers: [69, 101] Generated Node #0,2,4: 91:[69, 101] Operation: 95+6=101 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[6, 26], Operations: ['82-76=6', '95-69=26'] Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,91 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 91:[95, 75], Operations: ['82-76=6', '69+6=75'] Exploring Operation: 95+75=170, Resulting Numbers: [170] 170,91 unequal: No Solution Exploring Operation: 95*75=7125, Resulting Numbers: [7125] 7125,91 unequal: No Solution Exploring Operation: 95-75=20, Resulting Numbers: [20] 20,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[69, 89], Operations: ['82-76=6', '95-6=89'] Exploring Operation: 69+89=158, Resulting Numbers: [158] 158,91 unequal: No Solution Exploring Operation: 69*89=6141, Resulting Numbers: [6141] 6141,91 unequal: No Solution Exploring Operation: 89-69=20, Resulting Numbers: [20] 20,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[95, 63], Operations: ['82-76=6', '69-6=63'] Exploring Operation: 95-63=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 95*63=5985, Resulting Numbers: [5985] 5985,91 unequal: No Solution Exploring Operation: 95+63=158, Resulting Numbers: [158] 158,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 91:[69, 101], Operations: ['82-76=6', '95+6=101'] Exploring Operation: 69*101=6969, Resulting Numbers: [6969] 6969,91 unequal: No Solution Exploring Operation: 69+101=170, Resulting Numbers: [170] 170,91 unequal: No Solution Exploring Operation: 101-69=32, Resulting Numbers: [32] 32,91 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: 91:[82, 69, 19], Operations: ['95-76=19'] Exploring Operation: 82-19=63, Resulting Numbers: [69, 63] Generated Node #0,0,0: 91:[69, 63] Operation: 82-19=63 Exploring Operation: 69-19=50, Resulting Numbers: [82, 50] Generated Node #0,0,1: 91:[82, 50] Operation: 69-19=50 Exploring Operation: 82-69=13, Resulting Numbers: [19, 13] Generated Node #0,0,2: 91:[19, 13] Operation: 82-69=13 Exploring Operation: 69+19=88, Resulting Numbers: [82, 88] Generated Node #0,0,3: 91:[82, 88] Operation: 69+19=88 Exploring Operation: 82+19=101, Resulting Numbers: [69, 101] Generated Node #0,0,4: 91:[69, 101] Operation: 82+19=101 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[19, 13], Operations: ['95-76=19', '82-69=13'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 91:[82, 88], Operations: ['95-76=19', '69+19=88'] Exploring Operation: 82*88=7216, Resulting Numbers: [7216] 7216,91 unequal: No Solution Exploring Operation: 82+88=170, Resulting Numbers: [170] 170,91 unequal: No Solution Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 91:[69, 101], Operations: ['95-76=19', '82+19=101'] Exploring Operation: 101-69=32, Resulting Numbers: [32] 32,91 unequal: No Solution Exploring Operation: 69*101=6969, Resulting Numbers: [6969] 6969,91 unequal: No Solution Exploring Operation: 69+101=170, Resulting Numbers: [170] 170,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[82, 50], Operations: ['95-76=19', '69-19=50'] Exploring Operation: 82+50=132, Resulting Numbers: [132] 132,91 unequal: No Solution Exploring Operation: 82*50=4100, Resulting Numbers: [4100] 4100,91 unequal: No Solution Exploring Operation: 82-50=32, Resulting Numbers: [32] 32,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[69, 63], Operations: ['95-76=19', '82-19=63'] Exploring Operation: 69+63=132, Resulting Numbers: [132] 132,91 unequal: No Solution Exploring Operation: 69*63=4347, Resulting Numbers: [4347] 4347,91 unequal: No Solution Exploring Operation: 69-63=6, Resulting Numbers: [6] 6,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 91:[76, 69, 13], Operations: ['95-82=13'] Exploring Operation: 76+13=89, Resulting Numbers: [69, 89] Generated Node #0,4,0: 91:[69, 89] Operation: 76+13=89 Exploring Operation: 69-13=56, Resulting Numbers: [76, 56] Generated Node #0,4,1: 91:[76, 56] Operation: 69-13=56 Exploring Operation: 69+13=82, Resulting Numbers: [76, 82] Generated Node #0,4,2: 91:[76, 82] Operation: 69+13=82 Exploring Operation: 76-69=7, Resulting Numbers: [13, 7] Generated Node #0,4,3: 91:[13, 7] Operation: 76-69=7 Exploring Operation: 76-13=63, Resulting Numbers: [69, 63] Generated Node #0,4,4: 91:[69, 63] Operation: 76-13=63 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 91:[13, 7], Operations: ['95-82=13', '76-69=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[95, 76, 82, 69], Operations: [] Exploring Operation: 95-82=13, Resulting Numbers: [76, 69, 13] Generated Node #0,4: 91:[76, 69, 13] Operation: 95-82=13 Moving to Node #0,4 Current State: 91:[76, 69, 13], Operations: ['95-82=13'] Exploring Operation: 76-69=7, Resulting Numbers: [13, 7] Generated Node #0,4,3: 91:[13, 7] Operation: 76-69=7 Moving to Node #0,4,3 Current State: 91:[13, 7], Operations: ['95-82=13', '76-69=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.930556
hs_5
mult_heuristic
[ 14, 20, 76, 26 ]
30
[ "76-20=56", "56/14=4", "26+4=30" ]
Current State: 30:[14, 20, 76, 26], Operations: [] Exploring Operation: 76-20=56, Resulting Numbers: [14, 26, 56] Generated Node #2: [14, 26, 56] from Operation: 76-20=56 Current State: 30:[14, 26, 56], Operations: ['76-20=56'] Exploring Operation: 56/14=4, Resulting Numbers: [26, 4] Generated Node #3: [26, 4] from Operation: 56/14=4 Current State: 30:[26, 4], Operations: ['76-20=56', '56/14=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[14, 20, 76, 26], Operations: [] Exploring Operation: 76-14=62, Resulting Numbers: [20, 26, 62] Generated Node #0,0: 30:[20, 26, 62] Operation: 76-14=62 Exploring Operation: 76-20=56, Resulting Numbers: [14, 26, 56] Generated Node #0,1: 30:[14, 26, 56] Operation: 76-20=56 Exploring Operation: 26-20=6, Resulting Numbers: [14, 76, 6] Generated Node #0,2: 30:[14, 76, 6] Operation: 26-20=6 Exploring Operation: 76-26=50, Resulting Numbers: [14, 20, 50] Generated Node #0,3: 30:[14, 20, 50] Operation: 76-26=50 Exploring Operation: 20-14=6, Resulting Numbers: [76, 26, 6] Generated Node #0,4: 30:[76, 26, 6] Operation: 20-14=6 Moving to Node #0,3 Current State: 30:[14, 20, 50], Operations: ['76-26=50'] Exploring Operation: 14+20=34, Resulting Numbers: [50, 34] Generated Node #0,3,0: 30:[50, 34] Operation: 14+20=34 Exploring Operation: 20-14=6, Resulting Numbers: [50, 6] Generated Node #0,3,1: 30:[50, 6] Operation: 20-14=6 Exploring Operation: 14+50=64, Resulting Numbers: [20, 64] Generated Node #0,3,2: 30:[20, 64] Operation: 14+50=64 Exploring Operation: 50-20=30, Resulting Numbers: [14, 30] Generated Node #0,3,3: 30:[14, 30] Operation: 50-20=30 Exploring Operation: 50-14=36, Resulting Numbers: [20, 36] Generated Node #0,3,4: 30:[20, 36] Operation: 50-14=36 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 30:[14, 30], Operations: ['76-26=50', '50-20=30'] Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,30 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,30 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,30 unequal: No Solution No 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: 30:[20, 36], Operations: ['76-26=50', '50-14=36'] Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,30 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,30 unequal: No Solution No 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: 30:[50, 6], Operations: ['76-26=50', '20-14=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,30 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,30 unequal: No Solution No 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: 30:[50, 34], Operations: ['76-26=50', '14+20=34'] Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,30 unequal: No Solution Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,30 unequal: No Solution No 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: 30:[20, 64], Operations: ['76-26=50', '14+50=64'] Exploring Operation: 20*64=1280, Resulting Numbers: [1280] 1280,30 unequal: No Solution Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,30 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: 30:[14, 26, 56], Operations: ['76-20=56'] Exploring Operation: 14+26=40, Resulting Numbers: [56, 40] Generated Node #0,1,0: 30:[56, 40] Operation: 14+26=40 Exploring Operation: 56-26=30, Resulting Numbers: [14, 30] Generated Node #0,1,1: 30:[14, 30] Operation: 56-26=30 Exploring Operation: 26-14=12, Resulting Numbers: [56, 12] Generated Node #0,1,2: 30:[56, 12] Operation: 26-14=12 Exploring Operation: 56-14=42, Resulting Numbers: [26, 42] Generated Node #0,1,3: 30:[26, 42] Operation: 56-14=42 Exploring Operation: 56/14=4, Resulting Numbers: [26, 4] Generated Node #0,1,4: 30:[26, 4] Operation: 56/14=4 Moving to Node #0,0 Current State: 30:[20, 26, 62], Operations: ['76-14=62'] Exploring Operation: 62-26=36, Resulting Numbers: [20, 36] Generated Node #0,0,0: 30:[20, 36] Operation: 62-26=36 Exploring Operation: 62-20=42, Resulting Numbers: [26, 42] Generated Node #0,0,1: 30:[26, 42] Operation: 62-20=42 Exploring Operation: 26-20=6, Resulting Numbers: [62, 6] Generated Node #0,0,2: 30:[62, 6] Operation: 26-20=6 Exploring Operation: 20+62=82, Resulting Numbers: [26, 82] Generated Node #0,0,3: 30:[26, 82] Operation: 20+62=82 Exploring Operation: 20+26=46, Resulting Numbers: [62, 46] Generated Node #0,0,4: 30:[62, 46] Operation: 20+26=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[20, 36], Operations: ['76-14=62', '62-26=36'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,30 unequal: No Solution No 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: 30:[26, 42], Operations: ['76-14=62', '62-20=42'] Exploring Operation: 26+42=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 26*42=1092, Resulting Numbers: [1092] 1092,30 unequal: No Solution Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,30 unequal: No Solution No 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: 30:[62, 6], Operations: ['76-14=62', '26-20=6'] Exploring Operation: 62*6=372, Resulting Numbers: [372] 372,30 unequal: No Solution Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,30 unequal: No Solution No 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: 30:[62, 46], Operations: ['76-14=62', '20+26=46'] Exploring Operation: 62+46=108, Resulting Numbers: [108] 108,30 unequal: No Solution Exploring Operation: 62*46=2852, Resulting Numbers: [2852] 2852,30 unequal: No Solution Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,30 unequal: No Solution No 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: 30:[26, 82], Operations: ['76-14=62', '20+62=82'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 26*82=2132, Resulting Numbers: [2132] 2132,30 unequal: No Solution Exploring Operation: 26+82=108, Resulting Numbers: [108] 108,30 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: 30:[14, 76, 6], Operations: ['26-20=6'] Exploring Operation: 76-6=70, Resulting Numbers: [14, 70] Generated Node #0,2,0: 30:[14, 70] Operation: 76-6=70 Exploring Operation: 76-14=62, Resulting Numbers: [6, 62] Generated Node #0,2,1: 30:[6, 62] Operation: 76-14=62 Exploring Operation: 14-6=8, Resulting Numbers: [76, 8] Generated Node #0,2,2: 30:[76, 8] Operation: 14-6=8 Exploring Operation: 76+6=82, Resulting Numbers: [14, 82] Generated Node #0,2,3: 30:[14, 82] Operation: 76+6=82 Exploring Operation: 14+6=20, Resulting Numbers: [76, 20] Generated Node #0,2,4: 30:[76, 20] Operation: 14+6=20 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[6, 62], Operations: ['26-20=6', '76-14=62'] Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,30 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,30 unequal: No Solution No 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: 30:[14, 70], Operations: ['26-20=6', '76-6=70'] Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 14+70=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 14*70=980, Resulting Numbers: [980] 980,30 unequal: No Solution No 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: 30:[76, 8], Operations: ['26-20=6', '14-6=8'] Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,30 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,30 unequal: No Solution Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,30 unequal: No Solution No 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: 30:[76, 20], Operations: ['26-20=6', '14+6=20'] Exploring Operation: 76*20=1520, Resulting Numbers: [1520] 1520,30 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 76+20=96, Resulting Numbers: [96] 96,30 unequal: No Solution No 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: 30:[14, 82], Operations: ['26-20=6', '76+6=82'] Exploring Operation: 14*82=1148, Resulting Numbers: [1148] 1148,30 unequal: No Solution Exploring Operation: 14+82=96, Resulting Numbers: [96] 96,30 unequal: No Solution Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 30:[76, 26, 6], Operations: ['20-14=6'] Exploring Operation: 76-26=50, Resulting Numbers: [6, 50] Generated Node #0,4,0: 30:[6, 50] Operation: 76-26=50 Exploring Operation: 26-6=20, Resulting Numbers: [76, 20] Generated Node #0,4,1: 30:[76, 20] Operation: 26-6=20 Exploring Operation: 76-6=70, Resulting Numbers: [26, 70] Generated Node #0,4,2: 30:[26, 70] Operation: 76-6=70 Exploring Operation: 26+6=32, Resulting Numbers: [76, 32] Generated Node #0,4,3: 30:[76, 32] Operation: 26+6=32 Exploring Operation: 76+6=82, Resulting Numbers: [26, 82] Generated Node #0,4,4: 30:[26, 82] Operation: 76+6=82 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 30:[6, 50], Operations: ['20-14=6', '76-26=50'] Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,30 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,30 unequal: No Solution Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,30 unequal: No Solution No 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: 30:[26, 70], Operations: ['20-14=6', '76-6=70'] Exploring Operation: 26*70=1820, Resulting Numbers: [1820] 1820,30 unequal: No Solution Exploring Operation: 26+70=96, Resulting Numbers: [96] 96,30 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 30:[76, 32], Operations: ['20-14=6', '26+6=32'] Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,30 unequal: No Solution Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,30 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,30 unequal: No Solution No 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: 30:[76, 20], Operations: ['20-14=6', '26-6=20'] Exploring Operation: 76+20=96, Resulting Numbers: [96] 96,30 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 76*20=1520, Resulting Numbers: [1520] 1520,30 unequal: No Solution No 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: 30:[26, 82], Operations: ['20-14=6', '76+6=82'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 26+82=108, Resulting Numbers: [108] 108,30 unequal: No Solution Exploring Operation: 26*82=2132, Resulting Numbers: [2132] 2132,30 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: 30:[14, 30], Operations: ['76-20=56', '56-26=30'] Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,30 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,30 unequal: No Solution Moving to Node #0,1,4 Current State: 30:[26, 4], Operations: ['76-20=56', '56/14=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,30 unequal: No Solution Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[14, 20, 76, 26], Operations: [] Exploring Operation: 76-20=56, Resulting Numbers: [14, 26, 56] Generated Node #0,1: 30:[14, 26, 56] Operation: 76-20=56 Moving to Node #0,1 Current State: 30:[14, 26, 56], Operations: ['76-20=56'] Exploring Operation: 56/14=4, Resulting Numbers: [26, 4] Generated Node #0,1,4: 30:[26, 4] Operation: 56/14=4 Moving to Node #0,1,4 Current State: 30:[26, 4], Operations: ['76-20=56', '56/14=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.913194
hs_5
sum_heuristic
[ 46, 46, 63, 82 ]
63
[ "46-46=0", "82*0=0", "63+0=63" ]
Current State: 63:[46, 46, 63, 82], Operations: [] Exploring Operation: 46-46=0, Resulting Numbers: [63, 82, 0] Generated Node #2: [63, 82, 0] from Operation: 46-46=0 Current State: 63:[63, 82, 0], Operations: ['46-46=0'] Exploring Operation: 82*0=0, Resulting Numbers: [63, 0] Generated Node #3: [63, 0] from Operation: 82*0=0 Current State: 63:[63, 0], Operations: ['46-46=0', '82*0=0'] Exploring Operation: 63+0=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[46, 46, 63, 82], Operations: [] Exploring Operation: 46-46=0, Resulting Numbers: [63, 82, 0] Generated Node #0,0: 63:[63, 82, 0] Operation: 46-46=0 Exploring Operation: 46/46=1, Resulting Numbers: [63, 82, 1] Generated Node #0,1: 63:[63, 82, 1] Operation: 46/46=1 Exploring Operation: 82-46=36, Resulting Numbers: [46, 63, 36] Generated Node #0,2: 63:[46, 63, 36] Operation: 82-46=36 Moving to Node #0,1 Current State: 63:[63, 82, 1], Operations: ['46/46=1'] Exploring Operation: 82-63=19, Resulting Numbers: [1, 19] Generated Node #0,1,0: 63:[1, 19] Operation: 82-63=19 Exploring Operation: 63*1=63, Resulting Numbers: [82, 63] Generated Node #0,1,1: 63:[82, 63] Operation: 63*1=63 Exploring Operation: 82-1=81, Resulting Numbers: [63, 81] Generated Node #0,1,2: 63:[63, 81] Operation: 82-1=81 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[1, 19], Operations: ['46/46=1', '82-63=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 63:[63, 81], Operations: ['46/46=1', '82-1=81'] Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 63*81=5103, Resulting Numbers: [5103] 5103,63 unequal: No Solution Exploring Operation: 63+81=144, Resulting Numbers: [144] 144,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[82, 63], Operations: ['46/46=1', '63*1=63'] Exploring Operation: 82*63=5166, Resulting Numbers: [5166] 5166,63 unequal: No Solution Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 82+63=145, Resulting Numbers: [145] 145,63 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: 63:[63, 82, 0], Operations: ['46-46=0'] Exploring Operation: 63+0=63, Resulting Numbers: [82, 63] Generated Node #0,0,0: 63:[82, 63] Operation: 63+0=63 Exploring Operation: 82*0=0, Resulting Numbers: [63, 0] Generated Node #0,0,1: 63:[63, 0] Operation: 82*0=0 Exploring Operation: 82-63=19, Resulting Numbers: [0, 19] Generated Node #0,0,2: 63:[0, 19] Operation: 82-63=19 Moving to Node #0,2 Current State: 63:[46, 63, 36], Operations: ['82-46=36'] Exploring Operation: 46+36=82, Resulting Numbers: [63, 82] Generated Node #0,2,0: 63:[63, 82] Operation: 46+36=82 Exploring Operation: 63-46=17, Resulting Numbers: [36, 17] Generated Node #0,2,1: 63:[36, 17] Operation: 63-46=17 Exploring Operation: 46-36=10, Resulting Numbers: [63, 10] Generated Node #0,2,2: 63:[63, 10] Operation: 46-36=10 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 63:[63, 10], Operations: ['82-46=36', '46-36=10'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,63 unequal: No Solution Exploring Operation: 63*10=630, Resulting Numbers: [630] 630,63 unequal: No Solution Exploring Operation: 63+10=73, Resulting Numbers: [73] 73,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[63, 82], Operations: ['82-46=36', '46+36=82'] Exploring Operation: 63*82=5166, Resulting Numbers: [5166] 5166,63 unequal: No Solution Exploring Operation: 63+82=145, Resulting Numbers: [145] 145,63 unequal: No Solution Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[36, 17], Operations: ['82-46=36', '63-46=17'] Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,63 unequal: No Solution Exploring Operation: 36*17=612, Resulting Numbers: [612] 612,63 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,63 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: 63:[63, 0], Operations: ['46-46=0', '82*0=0'] Exploring Operation: 63-0=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[46, 46, 63, 82], Operations: [] Exploring Operation: 46-46=0, Resulting Numbers: [63, 82, 0] Generated Node #0,0: 63:[63, 82, 0] Operation: 46-46=0 Moving to Node #0,0 Current State: 63:[63, 82, 0], Operations: ['46-46=0'] Exploring Operation: 82*0=0, Resulting Numbers: [63, 0] Generated Node #0,0,1: 63:[63, 0] Operation: 82*0=0 Moving to Node #0,0,1 Current State: 63:[63, 0], Operations: ['46-46=0', '82*0=0'] Exploring Operation: 63-0=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
0.969618
hs_3
sum_heuristic
[ 83, 98, 69, 19 ]
26
[ "83-69=14", "98/14=7", "19+7=26" ]
Current State: 26:[83, 98, 69, 19], Operations: [] Exploring Operation: 83-69=14, Resulting Numbers: [98, 19, 14] Generated Node #2: [98, 19, 14] from Operation: 83-69=14 Current State: 26:[98, 19, 14], Operations: ['83-69=14'] Exploring Operation: 98/14=7, Resulting Numbers: [19, 7] Generated Node #3: [19, 7] from Operation: 98/14=7 Current State: 26:[19, 7], Operations: ['83-69=14', '98/14=7'] Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[83, 98, 69, 19], Operations: [] Exploring Operation: 98-83=15, Resulting Numbers: [69, 19, 15] Generated Node #0,0: 26:[69, 19, 15] Operation: 98-83=15 Moving to Node #0,0 Current State: 26:[69, 19, 15], Operations: ['98-83=15'] Exploring Operation: 69-19=50, Resulting Numbers: [15, 50] Generated Node #0,0,0: 26:[15, 50] Operation: 69-19=50 Moving to Node #0,0,0 Current State: 26:[15, 50], Operations: ['98-83=15', '69-19=50'] Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,26 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 27, 99, 94, 15 ]
39
[ "99*15=1485", "1485/27=55", "94-55=39" ]
Current State: 39:[27, 99, 94, 15], Operations: [] Exploring Operation: 99*15=1485, Resulting Numbers: [27, 94, 1485] Generated Node #2: [27, 94, 1485] from Operation: 99*15=1485 Current State: 39:[27, 94, 1485], Operations: ['99*15=1485'] Exploring Operation: 1485/27=55, Resulting Numbers: [94, 55] Generated Node #3: [94, 55] from Operation: 1485/27=55 Current State: 39:[94, 55], Operations: ['99*15=1485', '1485/27=55'] Exploring Operation: 94-55=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[27, 99, 94, 15], Operations: [] Exploring Operation: 99-15=84, Resulting Numbers: [27, 94, 84] Generated Node #0,0: 39:[27, 94, 84] Operation: 99-15=84 Exploring Operation: 99-94=5, Resulting Numbers: [27, 15, 5] Generated Node #0,1: 39:[27, 15, 5] Operation: 99-94=5 Exploring Operation: 99-27=72, Resulting Numbers: [94, 15, 72] Generated Node #0,2: 39:[94, 15, 72] Operation: 99-27=72 Exploring Operation: 94-27=67, Resulting Numbers: [99, 15, 67] Generated Node #0,3: 39:[99, 15, 67] Operation: 94-27=67 Exploring Operation: 94-15=79, Resulting Numbers: [27, 99, 79] Generated Node #0,4: 39:[27, 99, 79] Operation: 94-15=79 Moving to Node #0,1 Current State: 39:[27, 15, 5], Operations: ['99-94=5'] Exploring Operation: 27+15=42, Resulting Numbers: [5, 42] Generated Node #0,1,0: 39:[5, 42] Operation: 27+15=42 Exploring Operation: 27-15=12, Resulting Numbers: [5, 12] Generated Node #0,1,1: 39:[5, 12] Operation: 27-15=12 Exploring Operation: 27+5=32, Resulting Numbers: [15, 32] Generated Node #0,1,2: 39:[15, 32] Operation: 27+5=32 Exploring Operation: 27-5=22, Resulting Numbers: [15, 22] Generated Node #0,1,3: 39:[15, 22] Operation: 27-5=22 Exploring Operation: 15/5=3, Resulting Numbers: [27, 3] Generated Node #0,1,4: 39:[27, 3] Operation: 15/5=3 Moving to Node #0,3 Current State: 39:[99, 15, 67], Operations: ['94-27=67'] Exploring Operation: 15+67=82, Resulting Numbers: [99, 82] Generated Node #0,3,0: 39:[99, 82] Operation: 15+67=82 Exploring Operation: 99-15=84, Resulting Numbers: [67, 84] Generated Node #0,3,1: 39:[67, 84] Operation: 99-15=84 Exploring Operation: 67-15=52, Resulting Numbers: [99, 52] Generated Node #0,3,2: 39:[99, 52] Operation: 67-15=52 Exploring Operation: 99+15=114, Resulting Numbers: [67, 114] Generated Node #0,3,3: 39:[67, 114] Operation: 99+15=114 Exploring Operation: 99-67=32, Resulting Numbers: [15, 32] Generated Node #0,3,4: 39:[15, 32] Operation: 99-67=32 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 39:[15, 32], Operations: ['94-27=67', '99-67=32'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 15*32=480, Resulting Numbers: [480] 480,39 unequal: No Solution No 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: 39:[67, 84], Operations: ['94-27=67', '99-15=84'] Exploring Operation: 67+84=151, Resulting Numbers: [151] 151,39 unequal: No Solution Exploring Operation: 67*84=5628, Resulting Numbers: [5628] 5628,39 unequal: No Solution Exploring Operation: 84-67=17, Resulting Numbers: [17] 17,39 unequal: No Solution No 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: 39:[99, 52], Operations: ['94-27=67', '67-15=52'] Exploring Operation: 99*52=5148, Resulting Numbers: [5148] 5148,39 unequal: No Solution Exploring Operation: 99-52=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 99+52=151, Resulting Numbers: [151] 151,39 unequal: No Solution No 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: 39:[99, 82], Operations: ['94-27=67', '15+67=82'] Exploring Operation: 99-82=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 99*82=8118, Resulting Numbers: [8118] 8118,39 unequal: No Solution Exploring Operation: 99+82=181, Resulting Numbers: [181] 181,39 unequal: No Solution No 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: 39:[67, 114], Operations: ['94-27=67', '99+15=114'] Exploring Operation: 114-67=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 67*114=7638, Resulting Numbers: [7638] 7638,39 unequal: No Solution Exploring Operation: 67+114=181, Resulting Numbers: [181] 181,39 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: 39:[94, 15, 72], Operations: ['99-27=72'] Exploring Operation: 94-15=79, Resulting Numbers: [72, 79] Generated Node #0,2,0: 39:[72, 79] Operation: 94-15=79 Exploring Operation: 94+15=109, Resulting Numbers: [72, 109] Generated Node #0,2,1: 39:[72, 109] Operation: 94+15=109 Exploring Operation: 94-72=22, Resulting Numbers: [15, 22] Generated Node #0,2,2: 39:[15, 22] Operation: 94-72=22 Exploring Operation: 15+72=87, Resulting Numbers: [94, 87] Generated Node #0,2,3: 39:[94, 87] Operation: 15+72=87 Exploring Operation: 72-15=57, Resulting Numbers: [94, 57] Generated Node #0,2,4: 39:[94, 57] Operation: 72-15=57 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[15, 22], Operations: ['99-27=72', '94-72=22'] Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,39 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,39 unequal: No Solution No 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: 39:[72, 79], Operations: ['99-27=72', '94-15=79'] Exploring Operation: 79-72=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 72+79=151, Resulting Numbers: [151] 151,39 unequal: No Solution Exploring Operation: 72*79=5688, Resulting Numbers: [5688] 5688,39 unequal: No Solution No 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: 39:[94, 57], Operations: ['99-27=72', '72-15=57'] Exploring Operation: 94+57=151, Resulting Numbers: [151] 151,39 unequal: No Solution Exploring Operation: 94-57=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 94*57=5358, Resulting Numbers: [5358] 5358,39 unequal: No Solution No 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: 39:[72, 109], Operations: ['99-27=72', '94+15=109'] Exploring Operation: 109-72=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 72+109=181, Resulting Numbers: [181] 181,39 unequal: No Solution Exploring Operation: 72*109=7848, Resulting Numbers: [7848] 7848,39 unequal: No Solution No 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: 39:[94, 87], Operations: ['99-27=72', '15+72=87'] Exploring Operation: 94+87=181, Resulting Numbers: [181] 181,39 unequal: No Solution Exploring Operation: 94*87=8178, Resulting Numbers: [8178] 8178,39 unequal: No Solution Exploring Operation: 94-87=7, Resulting Numbers: [7] 7,39 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: 39:[27, 94, 84], Operations: ['99-15=84'] Exploring Operation: 84-27=57, Resulting Numbers: [94, 57] Generated Node #0,0,0: 39:[94, 57] Operation: 84-27=57 Exploring Operation: 27+94=121, Resulting Numbers: [84, 121] Generated Node #0,0,1: 39:[84, 121] Operation: 27+94=121 Exploring Operation: 94-27=67, Resulting Numbers: [84, 67] Generated Node #0,0,2: 39:[84, 67] Operation: 94-27=67 Exploring Operation: 94-84=10, Resulting Numbers: [27, 10] Generated Node #0,0,3: 39:[27, 10] Operation: 94-84=10 Exploring Operation: 27+84=111, Resulting Numbers: [94, 111] Generated Node #0,0,4: 39:[94, 111] Operation: 27+84=111 Moving to Node #0,4 Current State: 39:[27, 99, 79], Operations: ['94-15=79'] Exploring Operation: 79-27=52, Resulting Numbers: [99, 52] Generated Node #0,4,0: 39:[99, 52] Operation: 79-27=52 Exploring Operation: 27+99=126, Resulting Numbers: [79, 126] Generated Node #0,4,1: 39:[79, 126] Operation: 27+99=126 Exploring Operation: 99-27=72, Resulting Numbers: [79, 72] Generated Node #0,4,2: 39:[79, 72] Operation: 99-27=72 Exploring Operation: 99-79=20, Resulting Numbers: [27, 20] Generated Node #0,4,3: 39:[27, 20] Operation: 99-79=20 Exploring Operation: 27+79=106, Resulting Numbers: [99, 106] Generated Node #0,4,4: 39:[99, 106] Operation: 27+79=106 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 39:[27, 20], Operations: ['94-15=79', '99-79=20'] Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,39 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,39 unequal: No Solution No 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: 39:[99, 52], Operations: ['94-15=79', '79-27=52'] Exploring Operation: 99*52=5148, Resulting Numbers: [5148] 5148,39 unequal: No Solution Exploring Operation: 99+52=151, Resulting Numbers: [151] 151,39 unequal: No Solution Exploring Operation: 99-52=47, Resulting Numbers: [47] 47,39 unequal: No Solution No 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: 39:[79, 72], Operations: ['94-15=79', '99-27=72'] Exploring Operation: 79-72=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 79*72=5688, Resulting Numbers: [5688] 5688,39 unequal: No Solution Exploring Operation: 79+72=151, Resulting Numbers: [151] 151,39 unequal: No Solution No 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: 39:[79, 126], Operations: ['94-15=79', '27+99=126'] Exploring Operation: 126-79=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 79*126=9954, Resulting Numbers: [9954] 9954,39 unequal: No Solution Exploring Operation: 79+126=205, Resulting Numbers: [205] 205,39 unequal: No Solution No 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: 39:[99, 106], Operations: ['94-15=79', '27+79=106'] Exploring Operation: 106-99=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 99*106=10494, Resulting Numbers: [10494] 10494,39 unequal: No Solution Exploring Operation: 99+106=205, Resulting Numbers: [205] 205,39 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: 39:[5, 12], Operations: ['99-94=5', '27-15=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[5, 42], Operations: ['99-94=5', '27+15=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[15, 32], Operations: ['99-94=5', '27+5=32'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 15*32=480, Resulting Numbers: [480] 480,39 unequal: No Solution Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[15, 22], Operations: ['99-94=5', '27-5=22'] Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,39 unequal: No Solution Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,39 unequal: No Solution Moving to Node #0,1,4 Current State: 39:[27, 3], Operations: ['99-94=5', '15/5=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,39 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[27, 10], Operations: ['99-15=84', '94-84=10'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,39 unequal: No Solution Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[84, 67], Operations: ['99-15=84', '94-27=67'] Exploring Operation: 84*67=5628, Resulting Numbers: [5628] 5628,39 unequal: No Solution Exploring Operation: 84+67=151, Resulting Numbers: [151] 151,39 unequal: No Solution Exploring Operation: 84-67=17, Resulting Numbers: [17] 17,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[94, 57], Operations: ['99-15=84', '84-27=57'] Exploring Operation: 94-57=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 94*57=5358, Resulting Numbers: [5358] 5358,39 unequal: No Solution Exploring Operation: 94+57=151, Resulting Numbers: [151] 151,39 unequal: No Solution Moving to Node #0,0,4 Current State: 39:[94, 111], Operations: ['99-15=84', '27+84=111'] Exploring Operation: 111-94=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 94*111=10434, Resulting Numbers: [10434] 10434,39 unequal: No Solution Exploring Operation: 94+111=205, Resulting Numbers: [205] 205,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[84, 121], Operations: ['99-15=84', '27+94=121'] Exploring Operation: 121-84=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 84+121=205, Resulting Numbers: [205] 205,39 unequal: No Solution Exploring Operation: 84*121=10164, Resulting Numbers: [10164] 10164,39 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 52, 3, 31, 57 ]
23
[ "52-3=49", "57-31=26", "49-26=23" ]
Current State: 23:[52, 3, 31, 57], Operations: [] Exploring Operation: 52-3=49, Resulting Numbers: [31, 57, 49] Generated Node #2: [31, 57, 49] from Operation: 52-3=49 Current State: 23:[31, 57, 49], Operations: ['52-3=49'] Exploring Operation: 57-31=26, Resulting Numbers: [49, 26] Generated Node #3: [49, 26] from Operation: 57-31=26 Current State: 23:[49, 26], Operations: ['52-3=49', '57-31=26'] Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[52, 3, 31, 57], Operations: [] Exploring Operation: 52-3=49, Resulting Numbers: [31, 57, 49] Generated Node #0,0: 23:[31, 57, 49] Operation: 52-3=49 Exploring Operation: 57-52=5, Resulting Numbers: [3, 31, 5] Generated Node #0,1: 23:[3, 31, 5] Operation: 57-52=5 Exploring Operation: 52-31=21, Resulting Numbers: [3, 57, 21] Generated Node #0,2: 23:[3, 57, 21] Operation: 52-31=21 Exploring Operation: 57-31=26, Resulting Numbers: [52, 3, 26] Generated Node #0,3: 23:[52, 3, 26] Operation: 57-31=26 Exploring Operation: 57/3=19, Resulting Numbers: [52, 31, 19] Generated Node #0,4: 23:[52, 31, 19] Operation: 57/3=19 Start Sub Search at level 1: Moving to Node #0,4 Current State: 23:[52, 31, 19], Operations: ['57/3=19'] Exploring Operation: 52+19=71, Resulting Numbers: [31, 71] Generated Node #0,4,0: 23:[31, 71] Operation: 52+19=71 Exploring Operation: 52-31=21, Resulting Numbers: [19, 21] Generated Node #0,4,1: 23:[19, 21] Operation: 52-31=21 Exploring Operation: 31+19=50, Resulting Numbers: [52, 50] Generated Node #0,4,2: 23:[52, 50] Operation: 31+19=50 Exploring Operation: 52-19=33, Resulting Numbers: [31, 33] Generated Node #0,4,3: 23:[31, 33] Operation: 52-19=33 Exploring Operation: 31-19=12, Resulting Numbers: [52, 12] Generated Node #0,4,4: 23:[52, 12] Operation: 31-19=12 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 23:[19, 21], Operations: ['57/3=19', '52-31=21'] Exploring Operation: 19*21=399, Resulting Numbers: [399] 399,23 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,23 unequal: No Solution No 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: 23:[31, 33], Operations: ['57/3=19', '52-19=33'] Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 31*33=1023, Resulting Numbers: [1023] 1023,23 unequal: No Solution Exploring Operation: 31+33=64, Resulting Numbers: [64] 64,23 unequal: No Solution No 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: 23:[52, 12], Operations: ['57/3=19', '31-19=12'] Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,23 unequal: No Solution Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 52*12=624, Resulting Numbers: [624] 624,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 23:[31, 71], Operations: ['57/3=19', '52+19=71'] Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,23 unequal: No Solution Exploring Operation: 31+71=102, Resulting Numbers: [102] 102,23 unequal: No Solution Exploring Operation: 31*71=2201, Resulting Numbers: [2201] 2201,23 unequal: No Solution No 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: 23:[52, 50], Operations: ['57/3=19', '31+19=50'] Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,23 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,23 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,23 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: 23:[3, 31, 5], Operations: ['57-52=5'] Exploring Operation: 31-3=28, Resulting Numbers: [5, 28] Generated Node #0,1,0: 23:[5, 28] Operation: 31-3=28 Exploring Operation: 3*5=15, Resulting Numbers: [31, 15] Generated Node #0,1,1: 23:[31, 15] Operation: 3*5=15 Exploring Operation: 31-5=26, Resulting Numbers: [3, 26] Generated Node #0,1,2: 23:[3, 26] Operation: 31-5=26 Exploring Operation: 3+31=34, Resulting Numbers: [5, 34] Generated Node #0,1,3: 23:[5, 34] Operation: 3+31=34 Exploring Operation: 3+5=8, Resulting Numbers: [31, 8] Generated Node #0,1,4: 23:[31, 8] Operation: 3+5=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 23:[31, 15], Operations: ['57-52=5', '3*5=15'] Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 31*15=465, Resulting Numbers: [465] 465,23 unequal: No Solution No 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: 23:[5, 28], Operations: ['57-52=5', '31-3=28'] Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,23 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[52, 3, 31, 57], Operations: [] Exploring Operation: 57-52=5, Resulting Numbers: [3, 31, 5] Generated Node #0,1: 23:[3, 31, 5] Operation: 57-52=5 Moving to Node #0,1 Current State: 23:[3, 31, 5], Operations: ['57-52=5'] Exploring Operation: 31-3=28, Resulting Numbers: [5, 28] Generated Node #0,1,0: 23:[5, 28] Operation: 31-3=28 Moving to Node #0,1,0 Current State: 23:[5, 28], Operations: ['57-52=5', '31-3=28'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 29, 84, 14, 64 ]
23
[ "84-29=55", "14+64=78", "78-55=23" ]
Current State: 23:[29, 84, 14, 64], Operations: [] Exploring Operation: 84-29=55, Resulting Numbers: [14, 64, 55] Generated Node #2: [14, 64, 55] from Operation: 84-29=55 Current State: 23:[14, 64, 55], Operations: ['84-29=55'] Exploring Operation: 14+64=78, Resulting Numbers: [55, 78] Generated Node #3: [55, 78] from Operation: 14+64=78 Current State: 23:[55, 78], Operations: ['84-29=55', '14+64=78'] Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[29, 84, 14, 64], Operations: [] Exploring Operation: 84-64=20, Resulting Numbers: [29, 14, 20] Generated Node #0,0: 23:[29, 14, 20] Operation: 84-64=20 Exploring Operation: 84/14=6, Resulting Numbers: [29, 64, 6] Generated Node #0,1: 23:[29, 64, 6] Operation: 84/14=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[29, 14, 20], Operations: ['84-64=20'] Exploring Operation: 29-14=15, Resulting Numbers: [20, 15] Generated Node #0,0,0: 23:[20, 15] Operation: 29-14=15 Exploring Operation: 14+20=34, Resulting Numbers: [29, 34] Generated Node #0,0,1: 23:[29, 34] Operation: 14+20=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[20, 15], Operations: ['84-64=20', '29-14=15'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,23 unequal: No Solution No 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: 23:[29, 34], Operations: ['84-64=20', '14+20=34'] Exploring Operation: 29+34=63, Resulting Numbers: [63] 63,23 unequal: No Solution Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,23 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: 23:[29, 64, 6], Operations: ['84/14=6'] Exploring Operation: 64-29=35, Resulting Numbers: [6, 35] Generated Node #0,1,0: 23:[6, 35] Operation: 64-29=35 Exploring Operation: 29-6=23, Resulting Numbers: [64, 23] Generated Node #0,1,1: 23:[64, 23] Operation: 29-6=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[6, 35], Operations: ['84/14=6', '64-29=35'] Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,23 unequal: No Solution No 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: 23:[64, 23], Operations: ['84/14=6', '29-6=23'] Exploring Operation: 64+23=87, Resulting Numbers: [87] 87,23 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,23 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
[ 1, 28, 28, 40 ]
42
[ "1+40=41", "28/28=1", "41+1=42" ]
Current State: 42:[1, 28, 28, 40], Operations: [] Exploring Operation: 1+40=41, Resulting Numbers: [28, 28, 41] Generated Node #2: [28, 28, 41] from Operation: 1+40=41 Current State: 42:[28, 28, 41], Operations: ['1+40=41'] Exploring Operation: 28/28=1, Resulting Numbers: [41, 1] Generated Node #3: [41, 1] from Operation: 28/28=1 Current State: 42:[41, 1], Operations: ['1+40=41', '28/28=1'] Exploring Operation: 41+1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[1, 28, 28, 40], Operations: [] Exploring Operation: 28-1=27, Resulting Numbers: [28, 40, 27] Generated Node #0,0: 42:[28, 40, 27] Operation: 28-1=27 Exploring Operation: 40-28=12, Resulting Numbers: [1, 28, 12] Generated Node #0,1: 42:[1, 28, 12] Operation: 40-28=12 Exploring Operation: 28/28=1, Resulting Numbers: [1, 40, 1] Generated Node #0,2: 42:[1, 40, 1] Operation: 28/28=1 Exploring Operation: 28-28=0, Resulting Numbers: [1, 40, 0] Generated Node #0,3: 42:[1, 40, 0] Operation: 28-28=0 Exploring Operation: 40-28=12, Resulting Numbers: [1, 28, 12] Generated Node #0,4: 42:[1, 28, 12] Operation: 40-28=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[1, 40, 1], Operations: ['28/28=1'] Exploring Operation: 40/1=40, Resulting Numbers: [1, 40] Generated Node #0,2,0: 42:[1, 40] Operation: 40/1=40 Exploring Operation: 1+40=41, Resulting Numbers: [1, 41] Generated Node #0,2,1: 42:[1, 41] Operation: 1+40=41 Exploring Operation: 40+1=41, Resulting Numbers: [1, 41] Generated Node #0,2,2: 42:[1, 41] Operation: 40+1=41 Exploring Operation: 1*40=40, Resulting Numbers: [1, 40] Generated Node #0,2,3: 42:[1, 40] Operation: 1*40=40 Exploring Operation: 1+1=2, Resulting Numbers: [40, 2] Generated Node #0,2,4: 42:[40, 2] Operation: 1+1=2 Moving to Node #0,2,1 Current State: 42:[1, 41], Operations: ['28/28=1', '1+40=41'] Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 1+41=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[1, 28, 28, 40], Operations: [] Exploring Operation: 28/28=1, Resulting Numbers: [1, 40, 1] Generated Node #0,2: 42:[1, 40, 1] Operation: 28/28=1 Moving to Node #0,2 Current State: 42:[1, 40, 1], Operations: ['28/28=1'] Exploring Operation: 1+40=41, Resulting Numbers: [1, 41] Generated Node #0,2,1: 42:[1, 41] Operation: 1+40=41 Moving to Node #0,2,1 Current State: 42:[1, 41], Operations: ['28/28=1', '1+40=41'] Exploring Operation: 1+41=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 79, 86, 40, 79 ]
86
[ "79-79=0", "40*0=0", "86+0=86" ]
Current State: 86:[79, 86, 40, 79], Operations: [] Exploring Operation: 79-79=0, Resulting Numbers: [86, 40, 0] Generated Node #2: [86, 40, 0] from Operation: 79-79=0 Current State: 86:[86, 40, 0], Operations: ['79-79=0'] Exploring Operation: 40*0=0, Resulting Numbers: [86, 0] Generated Node #3: [86, 0] from Operation: 40*0=0 Current State: 86:[86, 0], Operations: ['79-79=0', '40*0=0'] Exploring Operation: 86+0=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[79, 86, 40, 79], Operations: [] Exploring Operation: 79-40=39, Resulting Numbers: [86, 79, 39] Generated Node #0,0: 86:[86, 79, 39] Operation: 79-40=39 Exploring Operation: 79-79=0, Resulting Numbers: [86, 40, 0] Generated Node #0,1: 86:[86, 40, 0] Operation: 79-79=0 Exploring Operation: 79/79=1, Resulting Numbers: [86, 40, 1] Generated Node #0,2: 86:[86, 40, 1] Operation: 79/79=1 Exploring Operation: 79-40=39, Resulting Numbers: [79, 86, 39] Generated Node #0,3: 86:[79, 86, 39] Operation: 79-40=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[86, 40, 1], Operations: ['79/79=1'] Exploring Operation: 40+1=41, Resulting Numbers: [86, 41] Generated Node #0,2,0: 86:[86, 41] Operation: 40+1=41 Exploring Operation: 40*1=40, Resulting Numbers: [86, 40] Generated Node #0,2,1: 86:[86, 40] Operation: 40*1=40 Exploring Operation: 86/1=86, Resulting Numbers: [40, 86] Generated Node #0,2,2: 86:[40, 86] Operation: 86/1=86 Exploring Operation: 86*1=86, Resulting Numbers: [40, 86] Generated Node #0,2,3: 86:[40, 86] Operation: 86*1=86 Moving to Node #0,2,0 Current State: 86:[86, 41], Operations: ['79/79=1', '40+1=41'] Exploring Operation: 86+41=127, Resulting Numbers: [127] 127,86 unequal: No Solution Exploring Operation: 86*41=3526, Resulting Numbers: [3526] 3526,86 unequal: No Solution Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[40, 86], Operations: ['79/79=1', '86/1=86'] Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,86 unequal: No Solution Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,86 unequal: No Solution Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[86, 40], Operations: ['79/79=1', '40*1=40'] Exploring Operation: 86*40=3440, Resulting Numbers: [3440] 3440,86 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,86 unequal: No Solution Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[40, 86], Operations: ['79/79=1', '86*1=86'] Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,86 unequal: No Solution Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,86 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[86, 40, 0], Operations: ['79-79=0'] Exploring Operation: 86+0=86, Resulting Numbers: [40, 86] Generated Node #0,1,0: 86:[40, 86] Operation: 86+0=86 Exploring Operation: 40+0=40, Resulting Numbers: [86, 40] Generated Node #0,1,1: 86:[86, 40] Operation: 40+0=40 Exploring Operation: 40*0=0, Resulting Numbers: [86, 0] Generated Node #0,1,2: 86:[86, 0] Operation: 40*0=0 Exploring Operation: 86-0=86, Resulting Numbers: [40, 86] Generated Node #0,1,3: 86:[40, 86] Operation: 86-0=86 Moving to Node #0,1,2 Current State: 86:[86, 0], Operations: ['79-79=0', '40*0=0'] Exploring Operation: 86*0=0, Resulting Numbers: [0] 0,86 unequal: No Solution Exploring Operation: 86+0=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[79, 86, 40, 79], Operations: [] Exploring Operation: 79-79=0, Resulting Numbers: [86, 40, 0] Generated Node #0,1: 86:[86, 40, 0] Operation: 79-79=0 Moving to Node #0,1 Current State: 86:[86, 40, 0], Operations: ['79-79=0'] Exploring Operation: 40*0=0, Resulting Numbers: [86, 0] Generated Node #0,1,2: 86:[86, 0] Operation: 40*0=0 Moving to Node #0,1,2 Current State: 86:[86, 0], Operations: ['79-79=0', '40*0=0'] Exploring Operation: 86+0=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 39, 65, 76, 22 ]
41
[ "76-65=11", "22/11=2", "39+2=41" ]
Current State: 41:[39, 65, 76, 22], Operations: [] Exploring Operation: 76-65=11, Resulting Numbers: [39, 22, 11] Generated Node #2: [39, 22, 11] from Operation: 76-65=11 Current State: 41:[39, 22, 11], Operations: ['76-65=11'] Exploring Operation: 22/11=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 22/11=2 Current State: 41:[39, 2], Operations: ['76-65=11', '22/11=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[39, 65, 76, 22], Operations: [] Exploring Operation: 76-65=11, Resulting Numbers: [39, 22, 11] Generated Node #0,0: 41:[39, 22, 11] Operation: 76-65=11 Exploring Operation: 76-22=54, Resulting Numbers: [39, 65, 54] Generated Node #0,1: 41:[39, 65, 54] Operation: 76-22=54 Exploring Operation: 76-39=37, Resulting Numbers: [65, 22, 37] Generated Node #0,2: 41:[65, 22, 37] Operation: 76-39=37 Exploring Operation: 65-22=43, Resulting Numbers: [39, 76, 43] Generated Node #0,3: 41:[39, 76, 43] Operation: 65-22=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[39, 65, 54], Operations: ['76-22=54'] Exploring Operation: 65-54=11, Resulting Numbers: [39, 11] Generated Node #0,1,0: 41:[39, 11] Operation: 65-54=11 Exploring Operation: 65-39=26, Resulting Numbers: [54, 26] Generated Node #0,1,1: 41:[54, 26] Operation: 65-39=26 Exploring Operation: 54-39=15, Resulting Numbers: [65, 15] Generated Node #0,1,2: 41:[65, 15] Operation: 54-39=15 Exploring Operation: 39+65=104, Resulting Numbers: [54, 104] Generated Node #0,1,3: 41:[54, 104] Operation: 39+65=104 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[54, 26], Operations: ['76-22=54', '65-39=26'] Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,41 unequal: No Solution Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[39, 11], Operations: ['76-22=54', '65-54=11'] Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[65, 15], Operations: ['76-22=54', '54-39=15'] Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,41 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 41:[54, 104], Operations: ['76-22=54', '39+65=104'] Exploring Operation: 54+104=158, Resulting Numbers: [158] 158,41 unequal: No Solution Exploring Operation: 54*104=5616, Resulting Numbers: [5616] 5616,41 unequal: No Solution Exploring Operation: 104-54=50, Resulting Numbers: [50] 50,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[39, 76, 43], Operations: ['65-22=43'] Exploring Operation: 43-39=4, Resulting Numbers: [76, 4] Generated Node #0,3,0: 41:[76, 4] Operation: 43-39=4 Exploring Operation: 76-43=33, Resulting Numbers: [39, 33] Generated Node #0,3,1: 41:[39, 33] Operation: 76-43=33 Exploring Operation: 39+76=115, Resulting Numbers: [43, 115] Generated Node #0,3,2: 41:[43, 115] Operation: 39+76=115 Exploring Operation: 76-39=37, Resulting Numbers: [43, 37] Generated Node #0,3,3: 41:[43, 37] Operation: 76-39=37 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 41:[43, 37], Operations: ['65-22=43', '76-39=37'] Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 43*37=1591, Resulting Numbers: [1591] 1591,41 unequal: No Solution Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 41:[39, 33], Operations: ['65-22=43', '76-43=33'] Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,41 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 41:[76, 4], Operations: ['65-22=43', '43-39=4'] Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 76+4=80, Resulting Numbers: [80] 80,41 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 76*4=304, Resulting Numbers: [304] 304,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[43, 115], Operations: ['65-22=43', '39+76=115'] Exploring Operation: 115-43=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 43+115=158, Resulting Numbers: [158] 158,41 unequal: No Solution Exploring Operation: 43*115=4945, Resulting Numbers: [4945] 4945,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[65, 22, 37], Operations: ['76-39=37'] Exploring Operation: 65+22=87, Resulting Numbers: [37, 87] Generated Node #0,2,0: 41:[37, 87] Operation: 65+22=87 Exploring Operation: 65-22=43, Resulting Numbers: [37, 43] Generated Node #0,2,1: 41:[37, 43] Operation: 65-22=43 Exploring Operation: 22+37=59, Resulting Numbers: [65, 59] Generated Node #0,2,2: 41:[65, 59] Operation: 22+37=59 Exploring Operation: 65-37=28, Resulting Numbers: [22, 28] Generated Node #0,2,3: 41:[22, 28] Operation: 65-37=28 Moving to Node #0,2,1 Current State: 41:[37, 43], Operations: ['76-39=37', '65-22=43'] Exploring Operation: 37*43=1591, Resulting Numbers: [1591] 1591,41 unequal: No Solution Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 37+43=80, Resulting Numbers: [80] 80,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[22, 28], Operations: ['76-39=37', '65-37=28'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,41 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[65, 59], Operations: ['76-39=37', '22+37=59'] Exploring Operation: 65*59=3835, Resulting Numbers: [3835] 3835,41 unequal: No Solution Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 65+59=124, Resulting Numbers: [124] 124,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[37, 87], Operations: ['76-39=37', '65+22=87'] Exploring Operation: 37+87=124, Resulting Numbers: [124] 124,41 unequal: No Solution Exploring Operation: 37*87=3219, Resulting Numbers: [3219] 3219,41 unequal: No Solution Exploring Operation: 87-37=50, Resulting Numbers: [50] 50,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[39, 22, 11], Operations: ['76-65=11'] Exploring Operation: 39+11=50, Resulting Numbers: [22, 50] Generated Node #0,0,0: 41:[22, 50] Operation: 39+11=50 Exploring Operation: 39-11=28, Resulting Numbers: [22, 28] Generated Node #0,0,1: 41:[22, 28] Operation: 39-11=28 Exploring Operation: 22-11=11, Resulting Numbers: [39, 11] Generated Node #0,0,2: 41:[39, 11] Operation: 22-11=11 Exploring Operation: 22+11=33, Resulting Numbers: [39, 33] Generated Node #0,0,3: 41:[39, 33] Operation: 22+11=33 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 41:[39, 33], Operations: ['76-65=11', '22+11=33'] Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[22, 50], Operations: ['76-65=11', '39+11=50'] Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,41 unequal: No Solution Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[22, 28], Operations: ['76-65=11', '39-11=28'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,41 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[39, 11], Operations: ['76-65=11', '22-11=11'] Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 3, 91, 47, 74 ]
27
[ "3+91=94", "47+74=121", "121-94=27" ]
Current State: 27:[3, 91, 47, 74], Operations: [] Exploring Operation: 3+91=94, Resulting Numbers: [47, 74, 94] Generated Node #2: [47, 74, 94] from Operation: 3+91=94 Current State: 27:[47, 74, 94], Operations: ['3+91=94'] Exploring Operation: 47+74=121, Resulting Numbers: [94, 121] Generated Node #3: [94, 121] from Operation: 47+74=121 Current State: 27:[94, 121], Operations: ['3+91=94', '47+74=121'] Exploring Operation: 121-94=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[3, 91, 47, 74], Operations: [] Exploring Operation: 91-3=88, Resulting Numbers: [47, 74, 88] Generated Node #0,0: 27:[47, 74, 88] Operation: 91-3=88 Exploring Operation: 91-47=44, Resulting Numbers: [3, 74, 44] Generated Node #0,1: 27:[3, 74, 44] Operation: 91-47=44 Exploring Operation: 91-74=17, Resulting Numbers: [3, 47, 17] Generated Node #0,2: 27:[3, 47, 17] Operation: 91-74=17 Exploring Operation: 74-47=27, Resulting Numbers: [3, 91, 27] Generated Node #0,3: 27:[3, 91, 27] Operation: 74-47=27 Moving to Node #0,2 Current State: 27:[3, 47, 17], Operations: ['91-74=17'] Exploring Operation: 47-17=30, Resulting Numbers: [3, 30] Generated Node #0,2,0: 27:[3, 30] Operation: 47-17=30 Exploring Operation: 3+17=20, Resulting Numbers: [47, 20] Generated Node #0,2,1: 27:[47, 20] Operation: 3+17=20 Exploring Operation: 17-3=14, Resulting Numbers: [47, 14] Generated Node #0,2,2: 27:[47, 14] Operation: 17-3=14 Exploring Operation: 47-3=44, Resulting Numbers: [17, 44] Generated Node #0,2,3: 27:[17, 44] Operation: 47-3=44 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[3, 30], Operations: ['91-74=17', '47-17=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,27 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[3, 91, 47, 74], Operations: [] Exploring Operation: 91-74=17, Resulting Numbers: [3, 47, 17] Generated Node #0,2: 27:[3, 47, 17] Operation: 91-74=17 Moving to Node #0,2 Current State: 27:[3, 47, 17], Operations: ['91-74=17'] Exploring Operation: 47-17=30, Resulting Numbers: [3, 30] Generated Node #0,2,0: 27:[3, 30] Operation: 47-17=30 Moving to Node #0,2,0 Current State: 27:[3, 30], Operations: ['91-74=17', '47-17=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 98, 57, 69, 68 ]
41
[ "98-57=41", "69-68=1", "41*1=41" ]
Current State: 41:[98, 57, 69, 68], Operations: [] Exploring Operation: 98-57=41, Resulting Numbers: [69, 68, 41] Generated Node #2: [69, 68, 41] from Operation: 98-57=41 Current State: 41:[69, 68, 41], Operations: ['98-57=41'] Exploring Operation: 69-68=1, Resulting Numbers: [41, 1] Generated Node #3: [41, 1] from Operation: 69-68=1 Current State: 41:[41, 1], Operations: ['98-57=41', '69-68=1'] Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[98, 57, 69, 68], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [57, 69, 30] Generated Node #0,0: 41:[57, 69, 30] Operation: 98-68=30 Exploring Operation: 98-69=29, Resulting Numbers: [57, 68, 29] Generated Node #0,1: 41:[57, 68, 29] Operation: 98-69=29 Exploring Operation: 98-57=41, Resulting Numbers: [69, 68, 41] Generated Node #0,2: 41:[69, 68, 41] Operation: 98-57=41 Moving to Node #0,0 Current State: 41:[57, 69, 30], Operations: ['98-68=30'] Exploring Operation: 69-30=39, Resulting Numbers: [57, 39] Generated Node #0,0,0: 41:[57, 39] Operation: 69-30=39 Exploring Operation: 57-30=27, Resulting Numbers: [69, 27] Generated Node #0,0,1: 41:[69, 27] Operation: 57-30=27 Exploring Operation: 69-57=12, Resulting Numbers: [30, 12] Generated Node #0,0,2: 41:[30, 12] Operation: 69-57=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[57, 39], Operations: ['98-68=30', '69-30=39'] Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 57*39=2223, Resulting Numbers: [2223] 2223,41 unequal: No Solution Exploring Operation: 57+39=96, Resulting Numbers: [96] 96,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[30, 12], Operations: ['98-68=30', '69-57=12'] Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,41 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[69, 27], Operations: ['98-68=30', '57-30=27'] Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,41 unequal: No Solution Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,41 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: 41:[57, 68, 29], Operations: ['98-69=29'] Exploring Operation: 68-29=39, Resulting Numbers: [57, 39] Generated Node #0,1,0: 41:[57, 39] Operation: 68-29=39 Exploring Operation: 57-29=28, Resulting Numbers: [68, 28] Generated Node #0,1,1: 41:[68, 28] Operation: 57-29=28 Exploring Operation: 68-57=11, Resulting Numbers: [29, 11] Generated Node #0,1,2: 41:[29, 11] Operation: 68-57=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[57, 39], Operations: ['98-69=29', '68-29=39'] Exploring Operation: 57*39=2223, Resulting Numbers: [2223] 2223,41 unequal: No Solution Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 57+39=96, Resulting Numbers: [96] 96,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[68, 28], Operations: ['98-69=29', '57-29=28'] Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 68*28=1904, Resulting Numbers: [1904] 1904,41 unequal: No Solution Exploring Operation: 68+28=96, Resulting Numbers: [96] 96,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[29, 11], Operations: ['98-69=29', '68-57=11'] Exploring Operation: 29+11=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 29*11=319, Resulting Numbers: [319] 319,41 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: 41:[69, 68, 41], Operations: ['98-57=41'] Exploring Operation: 69-68=1, Resulting Numbers: [41, 1] Generated Node #0,2,0: 41:[41, 1] Operation: 69-68=1 Exploring Operation: 68-41=27, Resulting Numbers: [69, 27] Generated Node #0,2,1: 41:[69, 27] Operation: 68-41=27 Exploring Operation: 69-41=28, Resulting Numbers: [68, 28] Generated Node #0,2,2: 41:[68, 28] Operation: 69-41=28 Moving to Node #0,2,0 Current State: 41:[41, 1], Operations: ['98-57=41', '69-68=1'] Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[98, 57, 69, 68], Operations: [] Exploring Operation: 98-57=41, Resulting Numbers: [69, 68, 41] Generated Node #0,2: 41:[69, 68, 41] Operation: 98-57=41 Moving to Node #0,2 Current State: 41:[69, 68, 41], Operations: ['98-57=41'] Exploring Operation: 69-68=1, Resulting Numbers: [41, 1] Generated Node #0,2,0: 41:[41, 1] Operation: 69-68=1 Moving to Node #0,2,0 Current State: 41:[41, 1], Operations: ['98-57=41', '69-68=1'] Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 44, 28, 91, 89 ]
32
[ "44-28=16", "91-89=2", "16*2=32" ]
Current State: 32:[44, 28, 91, 89], Operations: [] Exploring Operation: 44-28=16, Resulting Numbers: [91, 89, 16] Generated Node #2: [91, 89, 16] from Operation: 44-28=16 Current State: 32:[91, 89, 16], Operations: ['44-28=16'] Exploring Operation: 91-89=2, Resulting Numbers: [16, 2] Generated Node #3: [16, 2] from Operation: 91-89=2 Current State: 32:[16, 2], Operations: ['44-28=16', '91-89=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[44, 28, 91, 89], Operations: [] Exploring Operation: 91-44=47, Resulting Numbers: [28, 89, 47] Generated Node #0,0: 32:[28, 89, 47] Operation: 91-44=47 Exploring Operation: 89-44=45, Resulting Numbers: [28, 91, 45] Generated Node #0,1: 32:[28, 91, 45] Operation: 89-44=45 Exploring Operation: 91-89=2, Resulting Numbers: [44, 28, 2] Generated Node #0,2: 32:[44, 28, 2] Operation: 91-89=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[44, 28, 2], Operations: ['91-89=2'] Exploring Operation: 44/2=22, Resulting Numbers: [28, 22] Generated Node #0,2,0: 32:[28, 22] Operation: 44/2=22 Exploring Operation: 44-2=42, Resulting Numbers: [28, 42] Generated Node #0,2,1: 32:[28, 42] Operation: 44-2=42 Exploring Operation: 44-28=16, Resulting Numbers: [2, 16] Generated Node #0,2,2: 32:[2, 16] Operation: 44-28=16 Moving to Node #0,2,2 Current State: 32:[2, 16], Operations: ['91-89=2', '44-28=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[44, 28, 91, 89], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [44, 28, 2] Generated Node #0,2: 32:[44, 28, 2] Operation: 91-89=2 Moving to Node #0,2 Current State: 32:[44, 28, 2], Operations: ['91-89=2'] Exploring Operation: 44-28=16, Resulting Numbers: [2, 16] Generated Node #0,2,2: 32:[2, 16] Operation: 44-28=16 Moving to Node #0,2,2 Current State: 32:[2, 16], Operations: ['91-89=2', '44-28=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 54, 77, 21, 12 ]
32
[ "77-54=23", "21-12=9", "23+9=32" ]
Current State: 32:[54, 77, 21, 12], Operations: [] Exploring Operation: 77-54=23, Resulting Numbers: [21, 12, 23] Generated Node #2: [21, 12, 23] from Operation: 77-54=23 Current State: 32:[21, 12, 23], Operations: ['77-54=23'] Exploring Operation: 21-12=9, Resulting Numbers: [23, 9] Generated Node #3: [23, 9] from Operation: 21-12=9 Current State: 32:[23, 9], Operations: ['77-54=23', '21-12=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[54, 77, 21, 12], Operations: [] Exploring Operation: 77-54=23, Resulting Numbers: [21, 12, 23] Generated Node #0,0: 32:[21, 12, 23] Operation: 77-54=23 Exploring Operation: 77-21=56, Resulting Numbers: [54, 12, 56] Generated Node #0,1: 32:[54, 12, 56] Operation: 77-21=56 Exploring Operation: 54-21=33, Resulting Numbers: [77, 12, 33] Generated Node #0,2: 32:[77, 12, 33] Operation: 54-21=33 Exploring Operation: 54-12=42, Resulting Numbers: [77, 21, 42] Generated Node #0,3: 32:[77, 21, 42] Operation: 54-12=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[21, 12, 23], Operations: ['77-54=23'] Exploring Operation: 21+12=33, Resulting Numbers: [23, 33] Generated Node #0,0,0: 32:[23, 33] Operation: 21+12=33 Exploring Operation: 12+23=35, Resulting Numbers: [21, 35] Generated Node #0,0,1: 32:[21, 35] Operation: 12+23=35 Exploring Operation: 23-21=2, Resulting Numbers: [12, 2] Generated Node #0,0,2: 32:[12, 2] Operation: 23-21=2 Exploring Operation: 21-12=9, Resulting Numbers: [23, 9] Generated Node #0,0,3: 32:[23, 9] Operation: 21-12=9 Moving to Node #0,0,2 Current State: 32:[12, 2], Operations: ['77-54=23', '23-21=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[21, 35], Operations: ['77-54=23', '12+23=35'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,32 unequal: No Solution Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[23, 33], Operations: ['77-54=23', '21+12=33'] Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 23*33=759, Resulting Numbers: [759] 759,32 unequal: No Solution Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[23, 9], Operations: ['77-54=23', '21-12=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[54, 77, 21, 12], Operations: [] Exploring Operation: 77-54=23, Resulting Numbers: [21, 12, 23] Generated Node #0,0: 32:[21, 12, 23] Operation: 77-54=23 Moving to Node #0,0 Current State: 32:[21, 12, 23], Operations: ['77-54=23'] Exploring Operation: 21-12=9, Resulting Numbers: [23, 9] Generated Node #0,0,3: 32:[23, 9] Operation: 21-12=9 Moving to Node #0,0,3 Current State: 32:[23, 9], Operations: ['77-54=23', '21-12=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
mult_heuristic
[ 27, 31, 85, 64 ]
91
[ "27+31=58", "85+64=149", "149-58=91" ]
Current State: 91:[27, 31, 85, 64], Operations: [] Exploring Operation: 27+31=58, Resulting Numbers: [85, 64, 58] Generated Node #2: [85, 64, 58] from Operation: 27+31=58 Current State: 91:[85, 64, 58], Operations: ['27+31=58'] Exploring Operation: 85+64=149, Resulting Numbers: [58, 149] Generated Node #3: [58, 149] from Operation: 85+64=149 Current State: 91:[58, 149], Operations: ['27+31=58', '85+64=149'] Exploring Operation: 149-58=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[27, 31, 85, 64], Operations: [] Exploring Operation: 64-31=33, Resulting Numbers: [27, 85, 33] Generated Node #0,0: 91:[27, 85, 33] Operation: 64-31=33 Exploring Operation: 31-27=4, Resulting Numbers: [85, 64, 4] Generated Node #0,1: 91:[85, 64, 4] Operation: 31-27=4 Exploring Operation: 27+64=91, Resulting Numbers: [31, 85, 91] Generated Node #0,2: 91:[31, 85, 91] Operation: 27+64=91 Exploring Operation: 31+64=95, Resulting Numbers: [27, 85, 95] Generated Node #0,3: 91:[27, 85, 95] Operation: 31+64=95 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[31, 85, 91], Operations: ['27+64=91'] Exploring Operation: 31+91=122, Resulting Numbers: [85, 122] Generated Node #0,2,0: 91:[85, 122] Operation: 31+91=122 Exploring Operation: 91-85=6, Resulting Numbers: [31, 6] Generated Node #0,2,1: 91:[31, 6] Operation: 91-85=6 Exploring Operation: 85-31=54, Resulting Numbers: [91, 54] Generated Node #0,2,2: 91:[91, 54] Operation: 85-31=54 Exploring Operation: 31+85=116, Resulting Numbers: [91, 116] Generated Node #0,2,3: 91:[91, 116] Operation: 31+85=116 Moving to Node #0,2,1 Current State: 91:[31, 6], Operations: ['27+64=91', '91-85=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,91 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[91, 116], Operations: ['27+64=91', '31+85=116'] Exploring Operation: 91+116=207, Resulting Numbers: [207] 207,91 unequal: No Solution Exploring Operation: 91*116=10556, Resulting Numbers: [10556] 10556,91 unequal: No Solution Exploring Operation: 116-91=25, Resulting Numbers: [25] 25,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[91, 54], Operations: ['27+64=91', '85-31=54'] Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,91 unequal: No Solution Exploring Operation: 91+54=145, Resulting Numbers: [145] 145,91 unequal: No Solution Exploring Operation: 91*54=4914, Resulting Numbers: [4914] 4914,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[85, 122], Operations: ['27+64=91', '31+91=122'] Exploring Operation: 122-85=37, Resulting Numbers: [37] 37,91 unequal: No Solution Exploring Operation: 85+122=207, Resulting Numbers: [207] 207,91 unequal: No Solution Exploring Operation: 85*122=10370, Resulting Numbers: [10370] 10370,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[27, 85, 95], Operations: ['31+64=95'] Exploring Operation: 27+85=112, Resulting Numbers: [95, 112] Generated Node #0,3,0: 91:[95, 112] Operation: 27+85=112 Exploring Operation: 85-27=58, Resulting Numbers: [95, 58] Generated Node #0,3,1: 91:[95, 58] Operation: 85-27=58 Exploring Operation: 95-85=10, Resulting Numbers: [27, 10] Generated Node #0,3,2: 91:[27, 10] Operation: 95-85=10 Exploring Operation: 95-27=68, Resulting Numbers: [85, 68] Generated Node #0,3,3: 91:[85, 68] Operation: 95-27=68 Moving to Node #0,3,2 Current State: 91:[27, 10], Operations: ['31+64=95', '95-85=10'] Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,91 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 27*10=270, Resulting Numbers: [270] 270,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[95, 112], Operations: ['31+64=95', '27+85=112'] Exploring Operation: 95+112=207, Resulting Numbers: [207] 207,91 unequal: No Solution Exploring Operation: 95*112=10640, Resulting Numbers: [10640] 10640,91 unequal: No Solution Exploring Operation: 112-95=17, Resulting Numbers: [17] 17,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[85, 68], Operations: ['31+64=95', '95-27=68'] Exploring Operation: 85*68=5780, Resulting Numbers: [5780] 5780,91 unequal: No Solution Exploring Operation: 85+68=153, Resulting Numbers: [153] 153,91 unequal: No Solution Exploring Operation: 85-68=17, Resulting Numbers: [17] 17,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[95, 58], Operations: ['31+64=95', '85-27=58'] Exploring Operation: 95-58=37, Resulting Numbers: [37] 37,91 unequal: No Solution Exploring Operation: 95*58=5510, Resulting Numbers: [5510] 5510,91 unequal: No Solution Exploring Operation: 95+58=153, Resulting Numbers: [153] 153,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[85, 64, 4], Operations: ['31-27=4'] Exploring Operation: 85-64=21, Resulting Numbers: [4, 21] Generated Node #0,1,0: 91:[4, 21] Operation: 85-64=21 Exploring Operation: 64/4=16, Resulting Numbers: [85, 16] Generated Node #0,1,1: 91:[85, 16] Operation: 64/4=16 Exploring Operation: 64+4=68, Resulting Numbers: [85, 68] Generated Node #0,1,2: 91:[85, 68] Operation: 64+4=68 Exploring Operation: 85+4=89, Resulting Numbers: [64, 89] Generated Node #0,1,3: 91:[64, 89] Operation: 85+4=89 Moving to Node #0,1,1 Current State: 91:[85, 16], Operations: ['31-27=4', '64/4=16'] Exploring Operation: 85-16=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 85*16=1360, Resulting Numbers: [1360] 1360,91 unequal: No Solution Exploring Operation: 85+16=101, Resulting Numbers: [101] 101,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[4, 21], Operations: ['31-27=4', '85-64=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,91 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[64, 89], Operations: ['31-27=4', '85+4=89'] Exploring Operation: 64*89=5696, Resulting Numbers: [5696] 5696,91 unequal: No Solution Exploring Operation: 89-64=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 64+89=153, Resulting Numbers: [153] 153,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[85, 68], Operations: ['31-27=4', '64+4=68'] Exploring Operation: 85+68=153, Resulting Numbers: [153] 153,91 unequal: No Solution Exploring Operation: 85-68=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 85*68=5780, Resulting Numbers: [5780] 5780,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[27, 85, 33], Operations: ['64-31=33'] Exploring Operation: 33-27=6, Resulting Numbers: [85, 6] Generated Node #0,0,0: 91:[85, 6] Operation: 33-27=6 Exploring Operation: 85+33=118, Resulting Numbers: [27, 118] Generated Node #0,0,1: 91:[27, 118] Operation: 85+33=118 Exploring Operation: 27+33=60, Resulting Numbers: [85, 60] Generated Node #0,0,2: 91:[85, 60] Operation: 27+33=60 Exploring Operation: 27+85=112, Resulting Numbers: [33, 112] Generated Node #0,0,3: 91:[33, 112] Operation: 27+85=112 Moving to Node #0,0,0 Current State: 91:[85, 6], Operations: ['64-31=33', '33-27=6'] Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,91 unequal: No Solution Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[27, 31, 85, 64], Operations: [] Exploring Operation: 64-31=33, Resulting Numbers: [27, 85, 33] Generated Node #0,0: 91:[27, 85, 33] Operation: 64-31=33 Moving to Node #0,0 Current State: 91:[27, 85, 33], Operations: ['64-31=33'] Exploring Operation: 33-27=6, Resulting Numbers: [85, 6] Generated Node #0,0,0: 91:[85, 6] Operation: 33-27=6 Moving to Node #0,0,0 Current State: 91:[85, 6], Operations: ['64-31=33', '33-27=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_4
sum_heuristic
[ 93, 62, 5, 59 ]
18
[ "93-62=31", "59+31=90", "90/5=18" ]
Current State: 18:[93, 62, 5, 59], Operations: [] Exploring Operation: 93-62=31, Resulting Numbers: [5, 59, 31] Generated Node #2: [5, 59, 31] from Operation: 93-62=31 Current State: 18:[5, 59, 31], Operations: ['93-62=31'] Exploring Operation: 59+31=90, Resulting Numbers: [5, 90] Generated Node #3: [5, 90] from Operation: 59+31=90 Current State: 18:[5, 90], Operations: ['93-62=31', '59+31=90'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[93, 62, 5, 59], Operations: [] Exploring Operation: 93-59=34, Resulting Numbers: [62, 5, 34] Generated Node #0,0: 18:[62, 5, 34] Operation: 93-59=34 Exploring Operation: 62-59=3, Resulting Numbers: [93, 5, 3] Generated Node #0,1: 18:[93, 5, 3] Operation: 62-59=3 Exploring Operation: 93-62=31, Resulting Numbers: [5, 59, 31] Generated Node #0,2: 18:[5, 59, 31] Operation: 93-62=31 Exploring Operation: 93-5=88, Resulting Numbers: [62, 59, 88] Generated Node #0,3: 18:[62, 59, 88] Operation: 93-5=88 Exploring Operation: 62-5=57, Resulting Numbers: [93, 59, 57] Generated Node #0,4: 18:[93, 59, 57] Operation: 62-5=57 Moving to Node #0,2 Current State: 18:[5, 59, 31], Operations: ['93-62=31'] Exploring Operation: 59-5=54, Resulting Numbers: [31, 54] Generated Node #0,2,0: 18:[31, 54] Operation: 59-5=54 Exploring Operation: 31-5=26, Resulting Numbers: [59, 26] Generated Node #0,2,1: 18:[59, 26] Operation: 31-5=26 Exploring Operation: 59-31=28, Resulting Numbers: [5, 28] Generated Node #0,2,2: 18:[5, 28] Operation: 59-31=28 Exploring Operation: 5+59=64, Resulting Numbers: [31, 64] Generated Node #0,2,3: 18:[31, 64] Operation: 5+59=64 Exploring Operation: 5+31=36, Resulting Numbers: [59, 36] Generated Node #0,2,4: 18:[59, 36] Operation: 5+31=36 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[5, 28], Operations: ['93-62=31', '59-31=28'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,18 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[31, 54], Operations: ['93-62=31', '59-5=54'] Exploring Operation: 31*54=1674, Resulting Numbers: [1674] 1674,18 unequal: No Solution Exploring Operation: 31+54=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[59, 26], Operations: ['93-62=31', '31-5=26'] Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,18 unequal: No Solution Exploring Operation: 59*26=1534, Resulting Numbers: [1534] 1534,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 18:[31, 64], Operations: ['93-62=31', '5+59=64'] Exploring Operation: 31+64=95, Resulting Numbers: [95] 95,18 unequal: No Solution Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,18 unequal: No Solution Exploring Operation: 31*64=1984, Resulting Numbers: [1984] 1984,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 18:[59, 36], Operations: ['93-62=31', '5+31=36'] Exploring Operation: 59*36=2124, Resulting Numbers: [2124] 2124,18 unequal: No Solution Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 59+36=95, Resulting Numbers: [95] 95,18 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: 18:[62, 5, 34], Operations: ['93-59=34'] Exploring Operation: 62-34=28, Resulting Numbers: [5, 28] Generated Node #0,0,0: 18:[5, 28] Operation: 62-34=28 Exploring Operation: 34-5=29, Resulting Numbers: [62, 29] Generated Node #0,0,1: 18:[62, 29] Operation: 34-5=29 Exploring Operation: 62-5=57, Resulting Numbers: [34, 57] Generated Node #0,0,2: 18:[34, 57] Operation: 62-5=57 Exploring Operation: 5+34=39, Resulting Numbers: [62, 39] Generated Node #0,0,3: 18:[62, 39] Operation: 5+34=39 Exploring Operation: 62+5=67, Resulting Numbers: [34, 67] Generated Node #0,0,4: 18:[34, 67] Operation: 62+5=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[5, 28], Operations: ['93-59=34', '62-34=28'] Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,18 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,18 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[62, 29], Operations: ['93-59=34', '34-5=29'] Exploring Operation: 62+29=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 62*29=1798, Resulting Numbers: [1798] 1798,18 unequal: No Solution Exploring Operation: 62-29=33, Resulting Numbers: [33] 33,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 18:[34, 57], Operations: ['93-59=34', '62-5=57'] Exploring Operation: 34+57=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 34*57=1938, Resulting Numbers: [1938] 1938,18 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 18:[62, 39], Operations: ['93-59=34', '5+34=39'] Exploring Operation: 62*39=2418, Resulting Numbers: [2418] 2418,18 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 62+39=101, Resulting Numbers: [101] 101,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 18:[34, 67], Operations: ['93-59=34', '62+5=67'] Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,18 unequal: No Solution Exploring Operation: 34+67=101, Resulting Numbers: [101] 101,18 unequal: No Solution Exploring Operation: 34*67=2278, Resulting Numbers: [2278] 2278,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 18:[93, 5, 3], Operations: ['62-59=3'] Exploring Operation: 93-3=90, Resulting Numbers: [5, 90] Generated Node #0,1,0: 18:[5, 90] Operation: 93-3=90 Exploring Operation: 93/3=31, Resulting Numbers: [5, 31] Generated Node #0,1,1: 18:[5, 31] Operation: 93/3=31 Exploring Operation: 5+3=8, Resulting Numbers: [93, 8] Generated Node #0,1,2: 18:[93, 8] Operation: 5+3=8 Exploring Operation: 93-5=88, Resulting Numbers: [3, 88] Generated Node #0,1,3: 18:[3, 88] Operation: 93-5=88 Exploring Operation: 5-3=2, Resulting Numbers: [93, 2] Generated Node #0,1,4: 18:[93, 2] Operation: 5-3=2 Moving to Node #0,3 Current State: 18:[62, 59, 88], Operations: ['93-5=88'] Exploring Operation: 62+88=150, Resulting Numbers: [59, 150] Generated Node #0,3,0: 18:[59, 150] Operation: 62+88=150 Exploring Operation: 62-59=3, Resulting Numbers: [88, 3] Generated Node #0,3,1: 18:[88, 3] Operation: 62-59=3 Exploring Operation: 88-59=29, Resulting Numbers: [62, 29] Generated Node #0,3,2: 18:[62, 29] Operation: 88-59=29 Exploring Operation: 88-62=26, Resulting Numbers: [59, 26] Generated Node #0,3,3: 18:[59, 26] Operation: 88-62=26 Exploring Operation: 62+59=121, Resulting Numbers: [88, 121] Generated Node #0,3,4: 18:[88, 121] Operation: 62+59=121 Moving to Node #0,4 Current State: 18:[93, 59, 57], Operations: ['62-5=57'] Exploring Operation: 93+57=150, Resulting Numbers: [59, 150] Generated Node #0,4,0: 18:[59, 150] Operation: 93+57=150 Exploring Operation: 59-57=2, Resulting Numbers: [93, 2] Generated Node #0,4,1: 18:[93, 2] Operation: 59-57=2 Exploring Operation: 93+59=152, Resulting Numbers: [57, 152] Generated Node #0,4,2: 18:[57, 152] Operation: 93+59=152 Exploring Operation: 93-57=36, Resulting Numbers: [59, 36] Generated Node #0,4,3: 18:[59, 36] Operation: 93-57=36 Exploring Operation: 93-59=34, Resulting Numbers: [57, 34] Generated Node #0,4,4: 18:[57, 34] Operation: 93-59=34 Moving to Node #0,1,1 Current State: 18:[5, 31], Operations: ['62-59=3', '93/3=31'] Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,18 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[59, 26], Operations: ['93-5=88', '88-62=26'] Exploring Operation: 59*26=1534, Resulting Numbers: [1534] 1534,18 unequal: No Solution Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,18 unequal: No Solution Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[62, 29], Operations: ['93-5=88', '88-59=29'] Exploring Operation: 62*29=1798, Resulting Numbers: [1798] 1798,18 unequal: No Solution Exploring Operation: 62+29=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 62-29=33, Resulting Numbers: [33] 33,18 unequal: No Solution Moving to Node #0,4,4 Current State: 18:[57, 34], Operations: ['62-5=57', '93-59=34'] Exploring Operation: 57+34=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 57*34=1938, Resulting Numbers: [1938] 1938,18 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,18 unequal: No Solution Moving to Node #0,4,3 Current State: 18:[59, 36], Operations: ['62-5=57', '93-57=36'] Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,18 unequal: No Solution Exploring Operation: 59+36=95, Resulting Numbers: [95] 95,18 unequal: No Solution Exploring Operation: 59*36=2124, Resulting Numbers: [2124] 2124,18 unequal: No Solution Moving to Node #0,1,3 Current State: 18:[3, 88], Operations: ['62-59=3', '93-5=88'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,18 unequal: No Solution Exploring Operation: 3*88=264, Resulting Numbers: [264] 264,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[88, 3], Operations: ['93-5=88', '62-59=3'] Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,18 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[5, 90], Operations: ['62-59=3', '93-3=90'] Exploring Operation: 5*90=450, Resulting Numbers: [450] 450,18 unequal: No Solution Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,18 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[93, 62, 5, 59], Operations: [] Exploring Operation: 62-59=3, Resulting Numbers: [93, 5, 3] Generated Node #0,1: 18:[93, 5, 3] Operation: 62-59=3 Moving to Node #0,1 Current State: 18:[93, 5, 3], Operations: ['62-59=3'] Exploring Operation: 93-3=90, Resulting Numbers: [5, 90] Generated Node #0,1,0: 18:[5, 90] Operation: 93-3=90 Moving to Node #0,1,0 Current State: 18:[5, 90], Operations: ['62-59=3', '93-3=90'] Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.922743
hs_5
sum_heuristic
[ 33, 66, 26, 55 ]
78
[ "33*26=858", "66-55=11", "858/11=78" ]
Current State: 78:[33, 66, 26, 55], Operations: [] Exploring Operation: 33*26=858, Resulting Numbers: [66, 55, 858] Generated Node #2: [66, 55, 858] from Operation: 33*26=858 Current State: 78:[66, 55, 858], Operations: ['33*26=858'] Exploring Operation: 66-55=11, Resulting Numbers: [858, 11] Generated Node #3: [858, 11] from Operation: 66-55=11 Current State: 78:[858, 11], Operations: ['33*26=858', '66-55=11'] Exploring Operation: 858/11=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[33, 66, 26, 55], Operations: [] Exploring Operation: 66-55=11, Resulting Numbers: [33, 26, 11] Generated Node #0,0: 78:[33, 26, 11] Operation: 66-55=11 Exploring Operation: 66/33=2, Resulting Numbers: [26, 55, 2] Generated Node #0,1: 78:[26, 55, 2] Operation: 66/33=2 Moving to Node #0,0 Current State: 78:[33, 26, 11], Operations: ['66-55=11'] Exploring Operation: 33/11=3, Resulting Numbers: [26, 3] Generated Node #0,0,0: 78:[26, 3] Operation: 33/11=3 Exploring Operation: 33-26=7, Resulting Numbers: [11, 7] Generated Node #0,0,1: 78:[11, 7] Operation: 33-26=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[26, 3], Operations: ['66-55=11', '33/11=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[33, 66, 26, 55], Operations: [] Exploring Operation: 66-55=11, Resulting Numbers: [33, 26, 11] Generated Node #0,0: 78:[33, 26, 11] Operation: 66-55=11 Moving to Node #0,0 Current State: 78:[33, 26, 11], Operations: ['66-55=11'] Exploring Operation: 33/11=3, Resulting Numbers: [26, 3] Generated Node #0,0,0: 78:[26, 3] Operation: 33/11=3 Moving to Node #0,0,0 Current State: 78:[26, 3], Operations: ['66-55=11', '33/11=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 48, 59, 3, 47 ]
82
[ "48+47=95", "59*3=177", "177-95=82" ]
Current State: 82:[48, 59, 3, 47], Operations: [] Exploring Operation: 48+47=95, Resulting Numbers: [59, 3, 95] Generated Node #2: [59, 3, 95] from Operation: 48+47=95 Current State: 82:[59, 3, 95], Operations: ['48+47=95'] Exploring Operation: 59*3=177, Resulting Numbers: [95, 177] Generated Node #3: [95, 177] from Operation: 59*3=177 Current State: 82:[95, 177], Operations: ['48+47=95', '59*3=177'] Exploring Operation: 177-95=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[48, 59, 3, 47], Operations: [] Exploring Operation: 59-48=11, Resulting Numbers: [3, 47, 11] Generated Node #0,0: 82:[3, 47, 11] Operation: 59-48=11 Exploring Operation: 59-3=56, Resulting Numbers: [48, 47, 56] Generated Node #0,1: 82:[48, 47, 56] Operation: 59-3=56 Exploring Operation: 48-3=45, Resulting Numbers: [59, 47, 45] Generated Node #0,2: 82:[59, 47, 45] Operation: 48-3=45 Exploring Operation: 59-47=12, Resulting Numbers: [48, 3, 12] Generated Node #0,3: 82:[48, 3, 12] Operation: 59-47=12 Exploring Operation: 48-47=1, Resulting Numbers: [59, 3, 1] Generated Node #0,4: 82:[59, 3, 1] Operation: 48-47=1 Moving to Node #0,0 Current State: 82:[3, 47, 11], Operations: ['59-48=11'] Exploring Operation: 11-3=8, Resulting Numbers: [47, 8] Generated Node #0,0,0: 82:[47, 8] Operation: 11-3=8 Exploring Operation: 47-3=44, Resulting Numbers: [11, 44] Generated Node #0,0,1: 82:[11, 44] Operation: 47-3=44 Exploring Operation: 3*11=33, Resulting Numbers: [47, 33] Generated Node #0,0,2: 82:[47, 33] Operation: 3*11=33 Exploring Operation: 47-11=36, Resulting Numbers: [3, 36] Generated Node #0,0,3: 82:[3, 36] Operation: 47-11=36 Exploring Operation: 3+47=50, Resulting Numbers: [11, 50] Generated Node #0,0,4: 82:[11, 50] Operation: 3+47=50 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 82:[3, 36], Operations: ['59-48=11', '47-11=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,82 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,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:[47, 8], Operations: ['59-48=11', '11-3=8'] Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,82 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[11, 44], Operations: ['59-48=11', '47-3=44'] Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 11+44=55, Resulting Numbers: [55] 55,82 unequal: No Solution Exploring Operation: 11*44=484, Resulting Numbers: [484] 484,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:[47, 33], Operations: ['59-48=11', '3*11=33'] Exploring Operation: 47*33=1551, Resulting Numbers: [1551] 1551,82 unequal: No Solution Exploring Operation: 47+33=80, Resulting Numbers: [80] 80,82 unequal: No Solution Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 82:[11, 50], Operations: ['59-48=11', '3+47=50'] Exploring Operation: 11+50=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 11*50=550, Resulting Numbers: [550] 550,82 unequal: No Solution Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,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:[48, 3, 12], Operations: ['59-47=12'] Exploring Operation: 48/12=4, Resulting Numbers: [3, 4] Generated Node #0,3,0: 82:[3, 4] Operation: 48/12=4 Exploring Operation: 3*12=36, Resulting Numbers: [48, 36] Generated Node #0,3,1: 82:[48, 36] Operation: 3*12=36 Exploring Operation: 48-12=36, Resulting Numbers: [3, 36] Generated Node #0,3,2: 82:[3, 36] Operation: 48-12=36 Exploring Operation: 12/3=4, Resulting Numbers: [48, 4] Generated Node #0,3,3: 82:[48, 4] Operation: 12/3=4 Exploring Operation: 48-3=45, Resulting Numbers: [12, 45] Generated Node #0,3,4: 82:[12, 45] Operation: 48-3=45 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 82:[3, 4], Operations: ['59-47=12', '48/12=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 82:[3, 36], Operations: ['59-47=12', '48-12=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,82 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 82:[48, 4], Operations: ['59-47=12', '12/3=4'] Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,82 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,82 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,82 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 82:[48, 36], Operations: ['59-47=12', '3*12=36'] Exploring Operation: 48*36=1728, Resulting Numbers: [1728] 1728,82 unequal: No Solution Exploring Operation: 48+36=84, Resulting Numbers: [84] 84,82 unequal: No Solution Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 82:[12, 45], Operations: ['59-47=12', '48-3=45'] Exploring Operation: 12+45=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 12*45=540, Resulting Numbers: [540] 540,82 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 82:[59, 3, 1], Operations: ['48-47=1'] Exploring Operation: 3-1=2, Resulting Numbers: [59, 2] Generated Node #0,4,0: 82:[59, 2] Operation: 3-1=2 Exploring Operation: 59/1=59, Resulting Numbers: [3, 59] Generated Node #0,4,1: 82:[3, 59] Operation: 59/1=59 Exploring Operation: 59*1=59, Resulting Numbers: [3, 59] Generated Node #0,4,2: 82:[3, 59] Operation: 59*1=59 Exploring Operation: 59-1=58, Resulting Numbers: [3, 58] Generated Node #0,4,3: 82:[3, 58] Operation: 59-1=58 Exploring Operation: 59-3=56, Resulting Numbers: [1, 56] Generated Node #0,4,4: 82:[1, 56] Operation: 59-3=56 Moving to Node #0,1 Current State: 82:[48, 47, 56], Operations: ['59-3=56'] Exploring Operation: 56-48=8, Resulting Numbers: [47, 8] Generated Node #0,1,0: 82:[47, 8] Operation: 56-48=8 Exploring Operation: 48+56=104, Resulting Numbers: [47, 104] Generated Node #0,1,1: 82:[47, 104] Operation: 48+56=104 Exploring Operation: 48+47=95, Resulting Numbers: [56, 95] Generated Node #0,1,2: 82:[56, 95] Operation: 48+47=95 Exploring Operation: 48-47=1, Resulting Numbers: [56, 1] Generated Node #0,1,3: 82:[56, 1] Operation: 48-47=1 Exploring Operation: 56-47=9, Resulting Numbers: [48, 9] Generated Node #0,1,4: 82:[48, 9] Operation: 56-47=9 Moving to Node #0,2 Current State: 82:[59, 47, 45], Operations: ['48-3=45'] Exploring Operation: 59-47=12, Resulting Numbers: [45, 12] Generated Node #0,2,0: 82:[45, 12] Operation: 59-47=12 Exploring Operation: 59+45=104, Resulting Numbers: [47, 104] Generated Node #0,2,1: 82:[47, 104] Operation: 59+45=104 Exploring Operation: 59-45=14, Resulting Numbers: [47, 14] Generated Node #0,2,2: 82:[47, 14] Operation: 59-45=14 Exploring Operation: 59+47=106, Resulting Numbers: [45, 106] Generated Node #0,2,3: 82:[45, 106] Operation: 59+47=106 Exploring Operation: 47-45=2, Resulting Numbers: [59, 2] Generated Node #0,2,4: 82:[59, 2] Operation: 47-45=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[45, 12], Operations: ['48-3=45', '59-47=12'] Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,82 unequal: No Solution Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[47, 14], Operations: ['48-3=45', '59-45=14'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,82 unequal: No Solution Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,82 unequal: No Solution Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 82:[59, 2], Operations: ['48-3=45', '47-45=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,82 unequal: No Solution Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[47, 104], Operations: ['48-3=45', '59+45=104'] Exploring Operation: 104-47=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 47*104=4888, Resulting Numbers: [4888] 4888,82 unequal: No Solution Exploring Operation: 47+104=151, Resulting Numbers: [151] 151,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 82:[45, 106], Operations: ['48-3=45', '59+47=106'] Exploring Operation: 106-45=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 45*106=4770, Resulting Numbers: [4770] 4770,82 unequal: No Solution Exploring Operation: 45+106=151, Resulting Numbers: [151] 151,82 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: 82:[47, 8], Operations: ['59-3=56', '56-48=8'] Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,82 unequal: No Solution Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,82 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,82 unequal: No Solution Moving to Node #0,1,4 Current State: 82:[48, 9], Operations: ['59-3=56', '56-47=9'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,82 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,82 unequal: No Solution Moving to Node #0,4,4 Current State: 82:[1, 56], Operations: ['48-47=1', '59-3=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,82 unequal: No Solution Exploring Operation: 1*56=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[56, 1], Operations: ['59-3=56', '48-47=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,82 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,82 unequal: No Solution Moving to Node #0,4,3 Current State: 82:[3, 58], Operations: ['48-47=1', '59-1=58'] Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 3*58=174, Resulting Numbers: [174] 174,82 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,82 unequal: No Solution Moving to Node #0,4,0 Current State: 82:[59, 2], Operations: ['48-47=1', '3-1=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,82 unequal: No Solution Moving to Node #0,4,2 Current State: 82:[3, 59], Operations: ['48-47=1', '59*1=59'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,82 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,82 unequal: No Solution Moving to Node #0,4,1 Current State: 82:[3, 59], Operations: ['48-47=1', '59/1=59'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[56, 95], Operations: ['59-3=56', '48+47=95'] Exploring Operation: 95-56=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 56*95=5320, Resulting Numbers: [5320] 5320,82 unequal: No Solution Exploring Operation: 56+95=151, Resulting Numbers: [151] 151,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[47, 104], Operations: ['59-3=56', '48+56=104'] Exploring Operation: 47+104=151, Resulting Numbers: [151] 151,82 unequal: No Solution Exploring Operation: 104-47=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 47*104=4888, Resulting Numbers: [4888] 4888,82 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 63, 20, 48, 45 ]
45
[ "63+45=108", "20*108=2160", "2160/48=45" ]
Current State: 45:[63, 20, 48, 45], Operations: [] Exploring Operation: 63+45=108, Resulting Numbers: [20, 48, 108] Generated Node #2: [20, 48, 108] from Operation: 63+45=108 Current State: 45:[20, 48, 108], Operations: ['63+45=108'] Exploring Operation: 20*108=2160, Resulting Numbers: [48, 2160] Generated Node #3: [48, 2160] from Operation: 20*108=2160 Current State: 45:[48, 2160], Operations: ['63+45=108', '20*108=2160'] Exploring Operation: 2160/48=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[63, 20, 48, 45], Operations: [] Exploring Operation: 63-20=43, Resulting Numbers: [48, 45, 43] Generated Node #0,0: 45:[48, 45, 43] Operation: 63-20=43 Moving to Node #0,0 Current State: 45:[48, 45, 43], Operations: ['63-20=43'] Exploring Operation: 48-43=5, Resulting Numbers: [45, 5] Generated Node #0,0,0: 45:[45, 5] Operation: 48-43=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[45, 5], Operations: ['63-20=43', '48-43=5'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 30, 49, 27, 27 ]
49
[ "27-27=0", "30*0=0", "49+0=49" ]
Current State: 49:[30, 49, 27, 27], Operations: [] Exploring Operation: 27-27=0, Resulting Numbers: [30, 49, 0] Generated Node #2: [30, 49, 0] from Operation: 27-27=0 Current State: 49:[30, 49, 0], Operations: ['27-27=0'] Exploring Operation: 30*0=0, Resulting Numbers: [49, 0] Generated Node #3: [49, 0] from Operation: 30*0=0 Current State: 49:[49, 0], Operations: ['27-27=0', '30*0=0'] Exploring Operation: 49+0=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[30, 49, 27, 27], Operations: [] Exploring Operation: 27/27=1, Resulting Numbers: [30, 49, 1] Generated Node #0,0: 49:[30, 49, 1] Operation: 27/27=1 Exploring Operation: 27+27=54, Resulting Numbers: [30, 49, 54] Generated Node #0,1: 49:[30, 49, 54] Operation: 27+27=54 Exploring Operation: 30-27=3, Resulting Numbers: [49, 27, 3] Generated Node #0,2: 49:[49, 27, 3] Operation: 30-27=3 Exploring Operation: 30-27=3, Resulting Numbers: [49, 27, 3] Generated Node #0,3: 49:[49, 27, 3] Operation: 30-27=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[30, 49, 54], Operations: ['27+27=54'] Exploring Operation: 30+49=79, Resulting Numbers: [54, 79] Generated Node #0,1,0: 49:[54, 79] Operation: 30+49=79 Exploring Operation: 49-30=19, Resulting Numbers: [54, 19] Generated Node #0,1,1: 49:[54, 19] Operation: 49-30=19 Exploring Operation: 54-49=5, Resulting Numbers: [30, 5] Generated Node #0,1,2: 49:[30, 5] Operation: 54-49=5 Exploring Operation: 54-30=24, Resulting Numbers: [49, 24] Generated Node #0,1,3: 49:[49, 24] Operation: 54-30=24 Moving to Node #0,1,1 Current State: 49:[54, 19], Operations: ['27+27=54', '49-30=19'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,49 unequal: No Solution Exploring Operation: 54+19=73, Resulting Numbers: [73] 73,49 unequal: No Solution Exploring Operation: 54*19=1026, Resulting Numbers: [1026] 1026,49 unequal: No Solution Moving to Node #0,1,3 Current State: 49:[49, 24], Operations: ['27+27=54', '54-30=24'] Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,49 unequal: No Solution Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,49 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[30, 5], Operations: ['27+27=54', '54-49=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,49 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,49 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[54, 79], Operations: ['27+27=54', '30+49=79'] Exploring Operation: 79-54=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 54*79=4266, Resulting Numbers: [4266] 4266,49 unequal: No Solution Exploring Operation: 54+79=133, Resulting Numbers: [133] 133,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[49, 27, 3], Operations: ['30-27=3'] Exploring Operation: 27-3=24, Resulting Numbers: [49, 24] Generated Node #0,2,0: 49:[49, 24] Operation: 27-3=24 Exploring Operation: 27/3=9, Resulting Numbers: [49, 9] Generated Node #0,2,1: 49:[49, 9] Operation: 27/3=9 Exploring Operation: 49-27=22, Resulting Numbers: [3, 22] Generated Node #0,2,2: 49:[3, 22] Operation: 49-27=22 Exploring Operation: 27+3=30, Resulting Numbers: [49, 30] Generated Node #0,2,3: 49:[49, 30] Operation: 27+3=30 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[49, 9], Operations: ['30-27=3', '27/3=9'] Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,49 unequal: No Solution Exploring Operation: 49*9=441, Resulting Numbers: [441] 441,49 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[49, 24], Operations: ['30-27=3', '27-3=24'] Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,49 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[3, 22], Operations: ['30-27=3', '49-27=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,49 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 49:[49, 30], Operations: ['30-27=3', '27+3=30'] Exploring Operation: 49*30=1470, Resulting Numbers: [1470] 1470,49 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,49 unequal: No Solution Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[49, 27, 3], Operations: ['30-27=3'] Exploring Operation: 27-3=24, Resulting Numbers: [49, 24] Generated Node #0,3,0: 49:[49, 24] Operation: 27-3=24 Exploring Operation: 27/3=9, Resulting Numbers: [49, 9] Generated Node #0,3,1: 49:[49, 9] Operation: 27/3=9 Exploring Operation: 27+3=30, Resulting Numbers: [49, 30] Generated Node #0,3,2: 49:[49, 30] Operation: 27+3=30 Exploring Operation: 49-27=22, Resulting Numbers: [3, 22] Generated Node #0,3,3: 49:[3, 22] Operation: 49-27=22 Moving to Node #0,3,1 Current State: 49:[49, 9], Operations: ['30-27=3', '27/3=9'] Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,49 unequal: No Solution Exploring Operation: 49*9=441, Resulting Numbers: [441] 441,49 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[49, 24], Operations: ['30-27=3', '27-3=24'] Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,49 unequal: No Solution Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[3, 22], Operations: ['30-27=3', '49-27=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,49 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[49, 30], Operations: ['30-27=3', '27+3=30'] Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,49 unequal: No Solution Exploring Operation: 49*30=1470, Resulting Numbers: [1470] 1470,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[30, 49, 1], Operations: ['27/27=1'] Exploring Operation: 30*1=30, Resulting Numbers: [49, 30] Generated Node #0,0,0: 49:[49, 30] Operation: 30*1=30 Exploring Operation: 30/1=30, Resulting Numbers: [49, 30] Generated Node #0,0,1: 49:[49, 30] Operation: 30/1=30 Exploring Operation: 49-30=19, Resulting Numbers: [1, 19] Generated Node #0,0,2: 49:[1, 19] Operation: 49-30=19 Exploring Operation: 30+1=31, Resulting Numbers: [49, 31] Generated Node #0,0,3: 49:[49, 31] Operation: 30+1=31 Moving to Node #0,0,2 Current State: 49:[1, 19], Operations: ['27/27=1', '49-30=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,49 unequal: No Solution Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[49, 31], Operations: ['27/27=1', '30+1=31'] Exploring Operation: 49+31=80, Resulting Numbers: [80] 80,49 unequal: No Solution Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 49*31=1519, Resulting Numbers: [1519] 1519,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[49, 30], Operations: ['27/27=1', '30/1=30'] Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 49*30=1470, Resulting Numbers: [1470] 1470,49 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[49, 30], Operations: ['27/27=1', '30*1=30'] Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 49*30=1470, Resulting Numbers: [1470] 1470,49 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,49 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
[ 68, 41, 5, 81 ]
76
[ "81-41=40", "40/5=8", "68+8=76" ]
Current State: 76:[68, 41, 5, 81], Operations: [] Exploring Operation: 81-41=40, Resulting Numbers: [68, 5, 40] Generated Node #2: [68, 5, 40] from Operation: 81-41=40 Current State: 76:[68, 5, 40], Operations: ['81-41=40'] Exploring Operation: 40/5=8, Resulting Numbers: [68, 8] Generated Node #3: [68, 8] from Operation: 40/5=8 Current State: 76:[68, 8], Operations: ['81-41=40', '40/5=8'] Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[68, 41, 5, 81], Operations: [] Exploring Operation: 81-41=40, Resulting Numbers: [68, 5, 40] Generated Node #0,0: 76:[68, 5, 40] Operation: 81-41=40 Exploring Operation: 68+5=73, Resulting Numbers: [41, 81, 73] Generated Node #0,1: 76:[41, 81, 73] Operation: 68+5=73 Exploring Operation: 81-68=13, Resulting Numbers: [41, 5, 13] Generated Node #0,2: 76:[41, 5, 13] Operation: 81-68=13 Exploring Operation: 81-5=76, Resulting Numbers: [68, 41, 76] Generated Node #0,3: 76:[68, 41, 76] Operation: 81-5=76 Moving to Node #0,2 Current State: 76:[41, 5, 13], Operations: ['81-68=13'] Exploring Operation: 13-5=8, Resulting Numbers: [41, 8] Generated Node #0,2,0: 76:[41, 8] Operation: 13-5=8 Exploring Operation: 41-5=36, Resulting Numbers: [13, 36] Generated Node #0,2,1: 76:[13, 36] Operation: 41-5=36 Exploring Operation: 41-13=28, Resulting Numbers: [5, 28] Generated Node #0,2,2: 76:[5, 28] Operation: 41-13=28 Exploring Operation: 5+13=18, Resulting Numbers: [41, 18] Generated Node #0,2,3: 76:[41, 18] Operation: 5+13=18 Moving to Node #0,1 Current State: 76:[41, 81, 73], Operations: ['68+5=73'] Exploring Operation: 73-41=32, Resulting Numbers: [81, 32] Generated Node #0,1,0: 76:[81, 32] Operation: 73-41=32 Exploring Operation: 81-73=8, Resulting Numbers: [41, 8] Generated Node #0,1,1: 76:[41, 8] Operation: 81-73=8 Exploring Operation: 41+73=114, Resulting Numbers: [81, 114] Generated Node #0,1,2: 76:[81, 114] Operation: 41+73=114 Exploring Operation: 81-41=40, Resulting Numbers: [73, 40] Generated Node #0,1,3: 76:[73, 40] Operation: 81-41=40 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 76:[73, 40], Operations: ['68+5=73', '81-41=40'] Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,76 unequal: No Solution Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[41, 8], Operations: ['68+5=73', '81-73=8'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 41*8=328, Resulting Numbers: [328] 328,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[81, 32], Operations: ['68+5=73', '73-41=32'] Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 81*32=2592, Resulting Numbers: [2592] 2592,76 unequal: No Solution Exploring Operation: 81+32=113, Resulting Numbers: [113] 113,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[81, 114], Operations: ['68+5=73', '41+73=114'] Exploring Operation: 81+114=195, Resulting Numbers: [195] 195,76 unequal: No Solution Exploring Operation: 81*114=9234, Resulting Numbers: [9234] 9234,76 unequal: No Solution Exploring Operation: 114-81=33, Resulting Numbers: [33] 33,76 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: 76:[68, 5, 40], Operations: ['81-41=40'] Exploring Operation: 68-40=28, Resulting Numbers: [5, 28] Generated Node #0,0,0: 76:[5, 28] Operation: 68-40=28 Exploring Operation: 40/5=8, Resulting Numbers: [68, 8] Generated Node #0,0,1: 76:[68, 8] Operation: 40/5=8 Exploring Operation: 68+5=73, Resulting Numbers: [40, 73] Generated Node #0,0,2: 76:[40, 73] Operation: 68+5=73 Exploring Operation: 40-5=35, Resulting Numbers: [68, 35] Generated Node #0,0,3: 76:[68, 35] Operation: 40-5=35 Moving to Node #0,3 Current State: 76:[68, 41, 76], Operations: ['81-5=76'] Exploring Operation: 68+41=109, Resulting Numbers: [76, 109] Generated Node #0,3,0: 76:[76, 109] Operation: 68+41=109 Exploring Operation: 68-41=27, Resulting Numbers: [76, 27] Generated Node #0,3,1: 76:[76, 27] Operation: 68-41=27 Exploring Operation: 76-68=8, Resulting Numbers: [41, 8] Generated Node #0,3,2: 76:[41, 8] Operation: 76-68=8 Exploring Operation: 76-41=35, Resulting Numbers: [68, 35] Generated Node #0,3,3: 76:[68, 35] Operation: 76-41=35 Moving to Node #0,2,3 Current State: 76:[41, 18], Operations: ['81-68=13', '5+13=18'] Exploring Operation: 41*18=738, Resulting Numbers: [738] 738,76 unequal: No Solution Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[40, 73], Operations: ['81-41=40', '68+5=73'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 40+73=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 40*73=2920, Resulting Numbers: [2920] 2920,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[41, 8], Operations: ['81-68=13', '13-5=8'] Exploring Operation: 41*8=328, Resulting Numbers: [328] 328,76 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[41, 8], Operations: ['81-5=76', '76-68=8'] Exploring Operation: 41*8=328, Resulting Numbers: [328] 328,76 unequal: No Solution Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[13, 36], Operations: ['81-68=13', '41-5=36'] Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 13*36=468, Resulting Numbers: [468] 468,76 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[76, 27], Operations: ['81-5=76', '68-41=27'] Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 76*27=2052, Resulting Numbers: [2052] 2052,76 unequal: No Solution Exploring Operation: 76+27=103, Resulting Numbers: [103] 103,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[5, 28], Operations: ['81-41=40', '68-40=28'] Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,76 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[5, 28], Operations: ['81-68=13', '41-13=28'] Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,76 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[68, 35], Operations: ['81-5=76', '76-41=35'] Exploring Operation: 68*35=2380, Resulting Numbers: [2380] 2380,76 unequal: No Solution Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[68, 35], Operations: ['81-41=40', '40-5=35'] Exploring Operation: 68*35=2380, Resulting Numbers: [2380] 2380,76 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[68, 8], Operations: ['81-41=40', '40/5=8'] Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[68, 41, 5, 81], Operations: [] Exploring Operation: 81-41=40, Resulting Numbers: [68, 5, 40] Generated Node #0,0: 76:[68, 5, 40] Operation: 81-41=40 Moving to Node #0,0 Current State: 76:[68, 5, 40], Operations: ['81-41=40'] Exploring Operation: 40/5=8, Resulting Numbers: [68, 8] Generated Node #0,0,1: 76:[68, 8] Operation: 40/5=8 Moving to Node #0,0,1 Current State: 76:[68, 8], Operations: ['81-41=40', '40/5=8'] Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.94184
hs_4
sum_heuristic
[ 5, 9, 7, 83 ]
80
[ "9-5=4", "83-7=76", "4+76=80" ]
Current State: 80:[5, 9, 7, 83], Operations: [] Exploring Operation: 9-5=4, Resulting Numbers: [7, 83, 4] Generated Node #2: [7, 83, 4] from Operation: 9-5=4 Current State: 80:[7, 83, 4], Operations: ['9-5=4'] Exploring Operation: 83-7=76, Resulting Numbers: [4, 76] Generated Node #3: [4, 76] from Operation: 83-7=76 Current State: 80:[4, 76], Operations: ['9-5=4', '83-7=76'] Exploring Operation: 4+76=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[5, 9, 7, 83], Operations: [] Exploring Operation: 9-7=2, Resulting Numbers: [5, 83, 2] Generated Node #0,0: 80:[5, 83, 2] Operation: 9-7=2 Exploring Operation: 9-5=4, Resulting Numbers: [7, 83, 4] Generated Node #0,1: 80:[7, 83, 4] Operation: 9-5=4 Exploring Operation: 7-5=2, Resulting Numbers: [9, 83, 2] Generated Node #0,2: 80:[9, 83, 2] Operation: 7-5=2 Exploring Operation: 9+7=16, Resulting Numbers: [5, 83, 16] Generated Node #0,3: 80:[5, 83, 16] Operation: 9+7=16 Moving to Node #0,0 Current State: 80:[5, 83, 2], Operations: ['9-7=2'] Exploring Operation: 5+2=7, Resulting Numbers: [83, 7] Generated Node #0,0,0: 80:[83, 7] Operation: 5+2=7 Exploring Operation: 5*2=10, Resulting Numbers: [83, 10] Generated Node #0,0,1: 80:[83, 10] Operation: 5*2=10 Exploring Operation: 83-2=81, Resulting Numbers: [5, 81] Generated Node #0,0,2: 80:[5, 81] Operation: 83-2=81 Exploring Operation: 83-5=78, Resulting Numbers: [2, 78] Generated Node #0,0,3: 80:[2, 78] Operation: 83-5=78 Moving to Node #0,3 Current State: 80:[5, 83, 16], Operations: ['9+7=16'] Exploring Operation: 5*16=80, Resulting Numbers: [83, 80] Generated Node #0,3,0: 80:[83, 80] Operation: 5*16=80 Exploring Operation: 16-5=11, Resulting Numbers: [83, 11] Generated Node #0,3,1: 80:[83, 11] Operation: 16-5=11 Exploring Operation: 5+16=21, Resulting Numbers: [83, 21] Generated Node #0,3,2: 80:[83, 21] Operation: 5+16=21 Exploring Operation: 83-5=78, Resulting Numbers: [16, 78] Generated Node #0,3,3: 80:[16, 78] Operation: 83-5=78 Moving to Node #0,2 Current State: 80:[9, 83, 2], Operations: ['7-5=2'] Exploring Operation: 83-2=81, Resulting Numbers: [9, 81] Generated Node #0,2,0: 80:[9, 81] Operation: 83-2=81 Exploring Operation: 9-2=7, Resulting Numbers: [83, 7] Generated Node #0,2,1: 80:[83, 7] Operation: 9-2=7 Exploring Operation: 9*2=18, Resulting Numbers: [83, 18] Generated Node #0,2,2: 80:[83, 18] Operation: 9*2=18 Exploring Operation: 9+2=11, Resulting Numbers: [83, 11] Generated Node #0,2,3: 80:[83, 11] Operation: 9+2=11 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[9, 81], Operations: ['7-5=2', '83-2=81'] Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,80 unequal: No Solution Exploring Operation: 9*81=729, Resulting Numbers: [729] 729,80 unequal: No Solution Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,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:[83, 7], Operations: ['7-5=2', '9-2=7'] Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,80 unequal: No Solution Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,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,3 Current State: 80:[83, 11], Operations: ['7-5=2', '9+2=11'] Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,80 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,80 unequal: No Solution Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,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:[83, 18], Operations: ['7-5=2', '9*2=18'] Exploring Operation: 83*18=1494, Resulting Numbers: [1494] 1494,80 unequal: No Solution Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,80 unequal: No Solution Exploring Operation: 83+18=101, Resulting Numbers: [101] 101,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 80:[7, 83, 4], Operations: ['9-5=4'] Exploring Operation: 7-4=3, Resulting Numbers: [83, 3] Generated Node #0,1,0: 80:[83, 3] Operation: 7-4=3 Exploring Operation: 7+4=11, Resulting Numbers: [83, 11] Generated Node #0,1,1: 80:[83, 11] Operation: 7+4=11 Exploring Operation: 83-7=76, Resulting Numbers: [4, 76] Generated Node #0,1,2: 80:[4, 76] Operation: 83-7=76 Exploring Operation: 83-4=79, Resulting Numbers: [7, 79] Generated Node #0,1,3: 80:[7, 79] Operation: 83-4=79 Moving to Node #0,0,2 Current State: 80:[5, 81], Operations: ['9-7=2', '83-2=81'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,80 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,80 unequal: No Solution Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[2, 78], Operations: ['9-7=2', '83-5=78'] Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[5, 9, 7, 83], Operations: [] Exploring Operation: 9-7=2, Resulting Numbers: [5, 83, 2] Generated Node #0,0: 80:[5, 83, 2] Operation: 9-7=2 Moving to Node #0,0 Current State: 80:[5, 83, 2], Operations: ['9-7=2'] Exploring Operation: 83-5=78, Resulting Numbers: [2, 78] Generated Node #0,0,3: 80:[2, 78] Operation: 83-5=78 Moving to Node #0,0,3 Current State: 80:[2, 78], Operations: ['9-7=2', '83-5=78'] Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.96441
hs_4
mult_heuristic
[ 16, 35, 90, 13 ]
15
[ "35-16=19", "19-13=6", "90/6=15" ]
Current State: 15:[16, 35, 90, 13], Operations: [] Exploring Operation: 35-16=19, Resulting Numbers: [90, 13, 19] Generated Node #2: [90, 13, 19] from Operation: 35-16=19 Current State: 15:[90, 13, 19], Operations: ['35-16=19'] Exploring Operation: 19-13=6, Resulting Numbers: [90, 6] Generated Node #3: [90, 6] from Operation: 19-13=6 Current State: 15:[90, 6], Operations: ['35-16=19', '19-13=6'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[16, 35, 90, 13], Operations: [] Exploring Operation: 90-35=55, Resulting Numbers: [16, 13, 55] Generated Node #0,0: 15:[16, 13, 55] Operation: 90-35=55 Moving to Node #0,0 Current State: 15:[16, 13, 55], Operations: ['90-35=55'] Exploring Operation: 55-16=39, Resulting Numbers: [13, 39] Generated Node #0,0,0: 15:[13, 39] Operation: 55-16=39 Moving to Node #0,0,0 Current State: 15:[13, 39], Operations: ['90-35=55', '55-16=39'] Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,15 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 52, 72, 14, 48 ]
92
[ "52*72=3744", "3744/48=78", "14+78=92" ]
Current State: 92:[52, 72, 14, 48], Operations: [] Exploring Operation: 52*72=3744, Resulting Numbers: [14, 48, 3744] Generated Node #2: [14, 48, 3744] from Operation: 52*72=3744 Current State: 92:[14, 48, 3744], Operations: ['52*72=3744'] Exploring Operation: 3744/48=78, Resulting Numbers: [14, 78] Generated Node #3: [14, 78] from Operation: 3744/48=78 Current State: 92:[14, 78], Operations: ['52*72=3744', '3744/48=78'] Exploring Operation: 14+78=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[52, 72, 14, 48], Operations: [] Exploring Operation: 72-48=24, Resulting Numbers: [52, 14, 24] Generated Node #0,0: 92:[52, 14, 24] Operation: 72-48=24 Exploring Operation: 72-52=20, Resulting Numbers: [14, 48, 20] Generated Node #0,1: 92:[14, 48, 20] Operation: 72-52=20 Exploring Operation: 72-14=58, Resulting Numbers: [52, 48, 58] Generated Node #0,2: 92:[52, 48, 58] Operation: 72-14=58 Exploring Operation: 52-48=4, Resulting Numbers: [72, 14, 4] Generated Node #0,3: 92:[72, 14, 4] Operation: 52-48=4 Exploring Operation: 72+14=86, Resulting Numbers: [52, 48, 86] Generated Node #0,4: 92:[52, 48, 86] Operation: 72+14=86 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[14, 48, 20], Operations: ['72-52=20'] Exploring Operation: 48-20=28, Resulting Numbers: [14, 28] Generated Node #0,1,0: 92:[14, 28] Operation: 48-20=28 Exploring Operation: 14+48=62, Resulting Numbers: [20, 62] Generated Node #0,1,1: 92:[20, 62] Operation: 14+48=62 Exploring Operation: 48-14=34, Resulting Numbers: [20, 34] Generated Node #0,1,2: 92:[20, 34] Operation: 48-14=34 Exploring Operation: 20-14=6, Resulting Numbers: [48, 6] Generated Node #0,1,3: 92:[48, 6] Operation: 20-14=6 Exploring Operation: 14+20=34, Resulting Numbers: [48, 34] Generated Node #0,1,4: 92:[48, 34] Operation: 14+20=34 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 92:[48, 6], Operations: ['72-52=20', '20-14=6'] Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,92 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 92:[48, 34], Operations: ['72-52=20', '14+20=34'] Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,92 unequal: No Solution Exploring Operation: 48*34=1632, Resulting Numbers: [1632] 1632,92 unequal: No Solution Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[14, 28], Operations: ['72-52=20', '48-20=28'] Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,92 unequal: No Solution Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 92:[20, 34], Operations: ['72-52=20', '48-14=34'] Exploring Operation: 20*34=680, Resulting Numbers: [680] 680,92 unequal: No Solution Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[20, 62], Operations: ['72-52=20', '14+48=62'] Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 20+62=82, Resulting Numbers: [82] 82,92 unequal: No Solution Exploring Operation: 20*62=1240, Resulting Numbers: [1240] 1240,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 92:[52, 48, 86], Operations: ['72+14=86'] Exploring Operation: 52+48=100, Resulting Numbers: [86, 100] Generated Node #0,4,0: 92:[86, 100] Operation: 52+48=100 Exploring Operation: 52+86=138, Resulting Numbers: [48, 138] Generated Node #0,4,1: 92:[48, 138] Operation: 52+86=138 Exploring Operation: 86-48=38, Resulting Numbers: [52, 38] Generated Node #0,4,2: 92:[52, 38] Operation: 86-48=38 Exploring Operation: 86-52=34, Resulting Numbers: [48, 34] Generated Node #0,4,3: 92:[48, 34] Operation: 86-52=34 Exploring Operation: 52-48=4, Resulting Numbers: [86, 4] Generated Node #0,4,4: 92:[86, 4] Operation: 52-48=4 Moving to Node #0,4,4 Current State: 92:[86, 4], Operations: ['72+14=86', '52-48=4'] Exploring Operation: 86*4=344, Resulting Numbers: [344] 344,92 unequal: No Solution Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,92 unequal: No Solution Moving to Node #0,4,3 Current State: 92:[48, 34], Operations: ['72+14=86', '86-52=34'] Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,92 unequal: No Solution Exploring Operation: 48*34=1632, Resulting Numbers: [1632] 1632,92 unequal: No Solution Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,92 unequal: No Solution Moving to Node #0,4,0 Current State: 92:[86, 100], Operations: ['72+14=86', '52+48=100'] Exploring Operation: 100-86=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 86+100=186, Resulting Numbers: [186] 186,92 unequal: No Solution Exploring Operation: 86*100=8600, Resulting Numbers: [8600] 8600,92 unequal: No Solution Moving to Node #0,4,2 Current State: 92:[52, 38], Operations: ['72+14=86', '86-48=38'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 52*38=1976, Resulting Numbers: [1976] 1976,92 unequal: No Solution Moving to Node #0,4,1 Current State: 92:[48, 138], Operations: ['72+14=86', '52+86=138'] Exploring Operation: 138-48=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 48*138=6624, Resulting Numbers: [6624] 6624,92 unequal: No Solution Exploring Operation: 48+138=186, Resulting Numbers: [186] 186,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[52, 14, 24], Operations: ['72-48=24'] Exploring Operation: 52+14=66, Resulting Numbers: [24, 66] Generated Node #0,0,0: 92:[24, 66] Operation: 52+14=66 Exploring Operation: 52-24=28, Resulting Numbers: [14, 28] Generated Node #0,0,1: 92:[14, 28] Operation: 52-24=28 Exploring Operation: 24-14=10, Resulting Numbers: [52, 10] Generated Node #0,0,2: 92:[52, 10] Operation: 24-14=10 Exploring Operation: 14+24=38, Resulting Numbers: [52, 38] Generated Node #0,0,3: 92:[52, 38] Operation: 14+24=38 Exploring Operation: 52-14=38, Resulting Numbers: [24, 38] Generated Node #0,0,4: 92:[24, 38] Operation: 52-14=38 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 92:[24, 38], Operations: ['72-48=24', '52-14=38'] Exploring Operation: 24*38=912, Resulting Numbers: [912] 912,92 unequal: No Solution Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 92:[52, 10], Operations: ['72-48=24', '24-14=10'] Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 52*10=520, Resulting Numbers: [520] 520,92 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[14, 28], Operations: ['72-48=24', '52-24=28'] Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,92 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 92:[52, 38], Operations: ['72-48=24', '14+24=38'] Exploring Operation: 52*38=1976, Resulting Numbers: [1976] 1976,92 unequal: No Solution Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[24, 66], Operations: ['72-48=24', '52+14=66'] Exploring Operation: 24*66=1584, Resulting Numbers: [1584] 1584,92 unequal: No Solution Exploring Operation: 24+66=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[52, 48, 58], Operations: ['72-14=58'] Exploring Operation: 58-48=10, Resulting Numbers: [52, 10] Generated Node #0,2,0: 92:[52, 10] Operation: 58-48=10 Exploring Operation: 52+58=110, Resulting Numbers: [48, 110] Generated Node #0,2,1: 92:[48, 110] Operation: 52+58=110 Exploring Operation: 52-48=4, Resulting Numbers: [58, 4] Generated Node #0,2,2: 92:[58, 4] Operation: 52-48=4 Exploring Operation: 52+48=100, Resulting Numbers: [58, 100] Generated Node #0,2,3: 92:[58, 100] Operation: 52+48=100 Exploring Operation: 58-52=6, Resulting Numbers: [48, 6] Generated Node #0,2,4: 92:[48, 6] Operation: 58-52=6 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 92:[48, 6], Operations: ['72-14=58', '58-52=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,92 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,92 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[52, 10], Operations: ['72-14=58', '58-48=10'] Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 52*10=520, Resulting Numbers: [520] 520,92 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[58, 4], Operations: ['72-14=58', '52-48=4'] Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,92 unequal: No Solution Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 92:[48, 110], Operations: ['72-14=58', '52+58=110'] Exploring Operation: 110-48=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 48+110=158, Resulting Numbers: [158] 158,92 unequal: No Solution Exploring Operation: 48*110=5280, Resulting Numbers: [5280] 5280,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 92:[58, 100], Operations: ['72-14=58', '52+48=100'] Exploring Operation: 58+100=158, Resulting Numbers: [158] 158,92 unequal: No Solution Exploring Operation: 58*100=5800, Resulting Numbers: [5800] 5800,92 unequal: No Solution Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[72, 14, 4], Operations: ['52-48=4'] Exploring Operation: 72/4=18, Resulting Numbers: [14, 18] Generated Node #0,3,0: 92:[14, 18] Operation: 72/4=18 Exploring Operation: 72+4=76, Resulting Numbers: [14, 76] Generated Node #0,3,1: 92:[14, 76] Operation: 72+4=76 Exploring Operation: 72-14=58, Resulting Numbers: [4, 58] Generated Node #0,3,2: 92:[4, 58] Operation: 72-14=58 Exploring Operation: 72+14=86, Resulting Numbers: [4, 86] Generated Node #0,3,3: 92:[4, 86] Operation: 72+14=86 Exploring Operation: 14+4=18, Resulting Numbers: [72, 18] Generated Node #0,3,4: 92:[72, 18] Operation: 14+4=18 Moving to Node #0,3,3 Current State: 92:[4, 86], Operations: ['52-48=4', '72+14=86'] Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,92 unequal: No Solution Exploring Operation: 4*86=344, Resulting Numbers: [344] 344,92 unequal: No Solution Exploring Operation: 4+86=90, Resulting Numbers: [90] 90,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[4, 58], Operations: ['52-48=4', '72-14=58'] Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 4*58=232, Resulting Numbers: [232] 232,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[14, 18], Operations: ['52-48=4', '72/4=18'] Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,92 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[14, 76], Operations: ['52-48=4', '72+4=76'] Exploring Operation: 14*76=1064, Resulting Numbers: [1064] 1064,92 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 14+76=90, Resulting Numbers: [90] 90,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[72, 18], Operations: ['52-48=4', '14+4=18'] Exploring Operation: 72*18=1296, Resulting Numbers: [1296] 1296,92 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 63, 36, 36, 65 ]
65
[ "36-36=0", "63*0=0", "65+0=65" ]
Current State: 65:[63, 36, 36, 65], Operations: [] Exploring Operation: 36-36=0, Resulting Numbers: [63, 65, 0] Generated Node #2: [63, 65, 0] from Operation: 36-36=0 Current State: 65:[63, 65, 0], Operations: ['36-36=0'] Exploring Operation: 63*0=0, Resulting Numbers: [65, 0] Generated Node #3: [65, 0] from Operation: 63*0=0 Current State: 65:[65, 0], Operations: ['36-36=0', '63*0=0'] Exploring Operation: 65+0=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[63, 36, 36, 65], Operations: [] Exploring Operation: 36/36=1, Resulting Numbers: [63, 65, 1] Generated Node #0,0: 65:[63, 65, 1] Operation: 36/36=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[63, 65, 1], Operations: ['36/36=1'] Exploring Operation: 63+1=64, Resulting Numbers: [65, 64] Generated Node #0,0,0: 65:[65, 64] Operation: 63+1=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[65, 64], Operations: ['36/36=1', '63+1=64'] Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,65 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
[ 15, 42, 35, 8 ]
29
[ "15-8=7", "42/7=6", "35-6=29" ]
Current State: 29:[15, 42, 35, 8], Operations: [] Exploring Operation: 15-8=7, Resulting Numbers: [42, 35, 7] Generated Node #2: [42, 35, 7] from Operation: 15-8=7 Current State: 29:[42, 35, 7], Operations: ['15-8=7'] Exploring Operation: 42/7=6, Resulting Numbers: [35, 6] Generated Node #3: [35, 6] from Operation: 42/7=6 Current State: 29:[35, 6], Operations: ['15-8=7', '42/7=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[15, 42, 35, 8], Operations: [] Exploring Operation: 15+8=23, Resulting Numbers: [42, 35, 23] Generated Node #0,0: 29:[42, 35, 23] Operation: 15+8=23 Moving to Node #0,0 Current State: 29:[42, 35, 23], Operations: ['15+8=23'] Exploring Operation: 42-23=19, Resulting Numbers: [35, 19] Generated Node #0,0,0: 29:[35, 19] Operation: 42-23=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[35, 19], Operations: ['15+8=23', '42-23=19'] Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 23, 80, 91, 83 ]
65
[ "80-23=57", "91-83=8", "57+8=65" ]
Current State: 65:[23, 80, 91, 83], Operations: [] Exploring Operation: 80-23=57, Resulting Numbers: [91, 83, 57] Generated Node #2: [91, 83, 57] from Operation: 80-23=57 Current State: 65:[91, 83, 57], Operations: ['80-23=57'] Exploring Operation: 91-83=8, Resulting Numbers: [57, 8] Generated Node #3: [57, 8] from Operation: 91-83=8 Current State: 65:[57, 8], Operations: ['80-23=57', '91-83=8'] Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[23, 80, 91, 83], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [23, 91, 3] Generated Node #0,0: 65:[23, 91, 3] Operation: 83-80=3 Exploring Operation: 91-80=11, Resulting Numbers: [23, 83, 11] Generated Node #0,1: 65:[23, 83, 11] Operation: 91-80=11 Exploring Operation: 91-83=8, Resulting Numbers: [23, 80, 8] Generated Node #0,2: 65:[23, 80, 8] Operation: 91-83=8 Exploring Operation: 91-23=68, Resulting Numbers: [80, 83, 68] Generated Node #0,3: 65:[80, 83, 68] Operation: 91-23=68 Exploring Operation: 83-23=60, Resulting Numbers: [80, 91, 60] Generated Node #0,4: 65:[80, 91, 60] Operation: 83-23=60 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[23, 80, 8], Operations: ['91-83=8'] Exploring Operation: 23-8=15, Resulting Numbers: [80, 15] Generated Node #0,2,0: 65:[80, 15] Operation: 23-8=15 Exploring Operation: 80/8=10, Resulting Numbers: [23, 10] Generated Node #0,2,1: 65:[23, 10] Operation: 80/8=10 Exploring Operation: 23+8=31, Resulting Numbers: [80, 31] Generated Node #0,2,2: 65:[80, 31] Operation: 23+8=31 Exploring Operation: 80-8=72, Resulting Numbers: [23, 72] Generated Node #0,2,3: 65:[23, 72] Operation: 80-8=72 Exploring Operation: 80-23=57, Resulting Numbers: [8, 57] Generated Node #0,2,4: 65:[8, 57] Operation: 80-23=57 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 65:[8, 57], Operations: ['91-83=8', '80-23=57'] Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[23, 80, 91, 83], Operations: [] Exploring Operation: 91-83=8, Resulting Numbers: [23, 80, 8] Generated Node #0,2: 65:[23, 80, 8] Operation: 91-83=8 Moving to Node #0,2 Current State: 65:[23, 80, 8], Operations: ['91-83=8'] Exploring Operation: 80-23=57, Resulting Numbers: [8, 57] Generated Node #0,2,4: 65:[8, 57] Operation: 80-23=57 Moving to Node #0,2,4 Current State: 65:[8, 57], Operations: ['91-83=8', '80-23=57'] Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 41, 97, 95, 91 ]
52
[ "97-41=56", "95-91=4", "56-4=52" ]
Current State: 52:[41, 97, 95, 91], Operations: [] Exploring Operation: 97-41=56, Resulting Numbers: [95, 91, 56] Generated Node #2: [95, 91, 56] from Operation: 97-41=56 Current State: 52:[95, 91, 56], Operations: ['97-41=56'] Exploring Operation: 95-91=4, Resulting Numbers: [56, 4] Generated Node #3: [56, 4] from Operation: 95-91=4 Current State: 52:[56, 4], Operations: ['97-41=56', '95-91=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[41, 97, 95, 91], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [41, 91, 2] Generated Node #0,0: 52:[41, 91, 2] Operation: 97-95=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[41, 91, 2], Operations: ['97-95=2'] Exploring Operation: 91-41=50, Resulting Numbers: [2, 50] Generated Node #0,0,0: 52:[2, 50] Operation: 91-41=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[2, 50], Operations: ['97-95=2', '91-41=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[41, 97, 95, 91], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [41, 91, 2] Generated Node #0,0: 52:[41, 91, 2] Operation: 97-95=2 Moving to Node #0,0 Current State: 52:[41, 91, 2], Operations: ['97-95=2'] Exploring Operation: 91-41=50, Resulting Numbers: [2, 50] Generated Node #0,0,0: 52:[2, 50] Operation: 91-41=50 Moving to Node #0,0,0 Current State: 52:[2, 50], Operations: ['97-95=2', '91-41=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 84, 23, 23, 73 ]
84
[ "23-23=0", "73*0=0", "84+0=84" ]
Current State: 84:[84, 23, 23, 73], Operations: [] Exploring Operation: 23-23=0, Resulting Numbers: [84, 73, 0] Generated Node #2: [84, 73, 0] from Operation: 23-23=0 Current State: 84:[84, 73, 0], Operations: ['23-23=0'] Exploring Operation: 73*0=0, Resulting Numbers: [84, 0] Generated Node #3: [84, 0] from Operation: 73*0=0 Current State: 84:[84, 0], Operations: ['23-23=0', '73*0=0'] Exploring Operation: 84+0=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[84, 23, 23, 73], Operations: [] Exploring Operation: 23-23=0, Resulting Numbers: [84, 73, 0] Generated Node #0,0: 84:[84, 73, 0] Operation: 23-23=0 Exploring Operation: 73-23=50, Resulting Numbers: [84, 23, 50] Generated Node #0,1: 84:[84, 23, 50] Operation: 73-23=50 Exploring Operation: 73-23=50, Resulting Numbers: [84, 23, 50] Generated Node #0,2: 84:[84, 23, 50] Operation: 73-23=50 Exploring Operation: 23/23=1, Resulting Numbers: [84, 73, 1] Generated Node #0,3: 84:[84, 73, 1] Operation: 23/23=1 Exploring Operation: 84-73=11, Resulting Numbers: [23, 23, 11] Generated Node #0,4: 84:[23, 23, 11] Operation: 84-73=11 Start Sub Search at level 1: Moving to Node #0,4 Current State: 84:[23, 23, 11], Operations: ['84-73=11'] Exploring Operation: 23+23=46, Resulting Numbers: [11, 46] Generated Node #0,4,0: 84:[11, 46] Operation: 23+23=46 Exploring Operation: 23-11=12, Resulting Numbers: [23, 12] Generated Node #0,4,1: 84:[23, 12] Operation: 23-11=12 Exploring Operation: 23-23=0, Resulting Numbers: [11, 0] Generated Node #0,4,2: 84:[11, 0] Operation: 23-23=0 Exploring Operation: 23-11=12, Resulting Numbers: [23, 12] Generated Node #0,4,3: 84:[23, 12] Operation: 23-11=12 Exploring Operation: 23/23=1, Resulting Numbers: [11, 1] Generated Node #0,4,4: 84:[11, 1] Operation: 23/23=1 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 84:[23, 12], Operations: ['84-73=11', '23-11=12'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,84 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 84:[23, 12], Operations: ['84-73=11', '23-11=12'] Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,84 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 84:[11, 1], Operations: ['84-73=11', '23/23=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 84:[11, 0], Operations: ['84-73=11', '23-23=0'] Exploring Operation: 11+0=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 11-0=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 11*0=0, Resulting Numbers: [0] 0,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 84:[11, 46], Operations: ['84-73=11', '23+23=46'] Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,84 unequal: No Solution Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[84, 23, 50], Operations: ['73-23=50'] Exploring Operation: 84-23=61, Resulting Numbers: [50, 61] Generated Node #0,1,0: 84:[50, 61] Operation: 84-23=61 Exploring Operation: 50-23=27, Resulting Numbers: [84, 27] Generated Node #0,1,1: 84:[84, 27] Operation: 50-23=27 Exploring Operation: 23+50=73, Resulting Numbers: [84, 73] Generated Node #0,1,2: 84:[84, 73] Operation: 23+50=73 Exploring Operation: 84+23=107, Resulting Numbers: [50, 107] Generated Node #0,1,3: 84:[50, 107] Operation: 84+23=107 Exploring Operation: 84-50=34, Resulting Numbers: [23, 34] Generated Node #0,1,4: 84:[23, 34] Operation: 84-50=34 Moving to Node #0,1,1 Current State: 84:[84, 27], Operations: ['73-23=50', '50-23=27'] Exploring Operation: 84*27=2268, Resulting Numbers: [2268] 2268,84 unequal: No Solution Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 84+27=111, Resulting Numbers: [111] 111,84 unequal: No Solution Moving to Node #0,1,4 Current State: 84:[23, 34], Operations: ['73-23=50', '84-50=34'] Exploring Operation: 23+34=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 23*34=782, Resulting Numbers: [782] 782,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[84, 73], Operations: ['73-23=50', '23+50=73'] Exploring Operation: 84+73=157, Resulting Numbers: [157] 157,84 unequal: No Solution Exploring Operation: 84*73=6132, Resulting Numbers: [6132] 6132,84 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[50, 61], Operations: ['73-23=50', '84-23=61'] Exploring Operation: 50*61=3050, Resulting Numbers: [3050] 3050,84 unequal: No Solution Exploring Operation: 50+61=111, Resulting Numbers: [111] 111,84 unequal: No Solution Exploring Operation: 61-50=11, Resulting Numbers: [11] 11,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[50, 107], Operations: ['73-23=50', '84+23=107'] Exploring Operation: 50+107=157, Resulting Numbers: [157] 157,84 unequal: No Solution Exploring Operation: 50*107=5350, Resulting Numbers: [5350] 5350,84 unequal: No Solution Exploring Operation: 107-50=57, Resulting Numbers: [57] 57,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[84, 23, 50], Operations: ['73-23=50'] Exploring Operation: 50-23=27, Resulting Numbers: [84, 27] Generated Node #0,2,0: 84:[84, 27] Operation: 50-23=27 Exploring Operation: 84-23=61, Resulting Numbers: [50, 61] Generated Node #0,2,1: 84:[50, 61] Operation: 84-23=61 Exploring Operation: 84-50=34, Resulting Numbers: [23, 34] Generated Node #0,2,2: 84:[23, 34] Operation: 84-50=34 Exploring Operation: 23+50=73, Resulting Numbers: [84, 73] Generated Node #0,2,3: 84:[84, 73] Operation: 23+50=73 Exploring Operation: 84+23=107, Resulting Numbers: [50, 107] Generated Node #0,2,4: 84:[50, 107] Operation: 84+23=107 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[84, 27], Operations: ['73-23=50', '50-23=27'] Exploring Operation: 84+27=111, Resulting Numbers: [111] 111,84 unequal: No Solution Exploring Operation: 84*27=2268, Resulting Numbers: [2268] 2268,84 unequal: No Solution Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 84:[23, 34], Operations: ['73-23=50', '84-50=34'] Exploring Operation: 23*34=782, Resulting Numbers: [782] 782,84 unequal: No Solution Exploring Operation: 23+34=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 84:[84, 73], Operations: ['73-23=50', '23+50=73'] Exploring Operation: 84*73=6132, Resulting Numbers: [6132] 6132,84 unequal: No Solution Exploring Operation: 84+73=157, Resulting Numbers: [157] 157,84 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[50, 61], Operations: ['73-23=50', '84-23=61'] Exploring Operation: 61-50=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 50+61=111, Resulting Numbers: [111] 111,84 unequal: No Solution Exploring Operation: 50*61=3050, Resulting Numbers: [3050] 3050,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 84:[50, 107], Operations: ['73-23=50', '84+23=107'] Exploring Operation: 50+107=157, Resulting Numbers: [157] 157,84 unequal: No Solution Exploring Operation: 107-50=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 50*107=5350, Resulting Numbers: [5350] 5350,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 84:[84, 73, 1], Operations: ['23/23=1'] Exploring Operation: 73*1=73, Resulting Numbers: [84, 73] Generated Node #0,3,0: 84:[84, 73] Operation: 73*1=73 Exploring Operation: 73+1=74, Resulting Numbers: [84, 74] Generated Node #0,3,1: 84:[84, 74] Operation: 73+1=74 Exploring Operation: 84/1=84, Resulting Numbers: [73, 84] Generated Node #0,3,2: 84:[73, 84] Operation: 84/1=84 Exploring Operation: 84-73=11, Resulting Numbers: [1, 11] Generated Node #0,3,3: 84:[1, 11] Operation: 84-73=11 Exploring Operation: 84*1=84, Resulting Numbers: [73, 84] Generated Node #0,3,4: 84:[73, 84] Operation: 84*1=84 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 84:[1, 11], Operations: ['23/23=1', '84-73=11'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 84:[84, 74], Operations: ['23/23=1', '73+1=74'] Exploring Operation: 84+74=158, Resulting Numbers: [158] 158,84 unequal: No Solution Exploring Operation: 84*74=6216, Resulting Numbers: [6216] 6216,84 unequal: No Solution Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 84:[84, 73], Operations: ['23/23=1', '73*1=73'] Exploring Operation: 84*73=6132, Resulting Numbers: [6132] 6132,84 unequal: No Solution Exploring Operation: 84+73=157, Resulting Numbers: [157] 157,84 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 84:[73, 84], Operations: ['23/23=1', '84/1=84'] Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 73+84=157, Resulting Numbers: [157] 157,84 unequal: No Solution Exploring Operation: 73*84=6132, Resulting Numbers: [6132] 6132,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 84:[73, 84], Operations: ['23/23=1', '84*1=84'] Exploring Operation: 73+84=157, Resulting Numbers: [157] 157,84 unequal: No Solution Exploring Operation: 73*84=6132, Resulting Numbers: [6132] 6132,84 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[84, 73, 0], Operations: ['23-23=0'] Exploring Operation: 84+0=84, Resulting Numbers: [73, 84] Generated Node #0,0,0: 84:[73, 84] Operation: 84+0=84 Exploring Operation: 84-0=84, Resulting Numbers: [73, 84] Generated Node #0,0,1: 84:[73, 84] Operation: 84-0=84 Exploring Operation: 73+0=73, Resulting Numbers: [84, 73] Generated Node #0,0,2: 84:[84, 73] Operation: 73+0=73 Exploring Operation: 73*0=0, Resulting Numbers: [84, 0] Generated Node #0,0,3: 84:[84, 0] Operation: 73*0=0 Exploring Operation: 84-73=11, Resulting Numbers: [0, 11] Generated Node #0,0,4: 84:[0, 11] Operation: 84-73=11 Moving to Node #0,0,3 Current State: 84:[84, 0], Operations: ['23-23=0', '73*0=0'] Exploring Operation: 84-0=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[84, 23, 23, 73], Operations: [] Exploring Operation: 23-23=0, Resulting Numbers: [84, 73, 0] Generated Node #0,0: 84:[84, 73, 0] Operation: 23-23=0 Moving to Node #0,0 Current State: 84:[84, 73, 0], Operations: ['23-23=0'] Exploring Operation: 73*0=0, Resulting Numbers: [84, 0] Generated Node #0,0,3: 84:[84, 0] Operation: 73*0=0 Moving to Node #0,0,3 Current State: 84:[84, 0], Operations: ['23-23=0', '73*0=0'] Exploring Operation: 84-0=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.915799
hs_5
sum_heuristic
[ 26, 20, 9, 86 ]
16
[ "26*9=234", "86+234=320", "320/20=16" ]
Current State: 16:[26, 20, 9, 86], Operations: [] Exploring Operation: 26*9=234, Resulting Numbers: [20, 86, 234] Generated Node #2: [20, 86, 234] from Operation: 26*9=234 Current State: 16:[20, 86, 234], Operations: ['26*9=234'] Exploring Operation: 86+234=320, Resulting Numbers: [20, 320] Generated Node #3: [20, 320] from Operation: 86+234=320 Current State: 16:[20, 320], Operations: ['26*9=234', '86+234=320'] Exploring Operation: 320/20=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[26, 20, 9, 86], Operations: [] Exploring Operation: 86-20=66, Resulting Numbers: [26, 9, 66] Generated Node #0,0: 16:[26, 9, 66] Operation: 86-20=66 Exploring Operation: 26-20=6, Resulting Numbers: [9, 86, 6] Generated Node #0,1: 16:[9, 86, 6] Operation: 26-20=6 Exploring Operation: 86-26=60, Resulting Numbers: [20, 9, 60] Generated Node #0,2: 16:[20, 9, 60] Operation: 86-26=60 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[20, 9, 60], Operations: ['86-26=60'] Exploring Operation: 60-9=51, Resulting Numbers: [20, 51] Generated Node #0,2,0: 16:[20, 51] Operation: 60-9=51 Exploring Operation: 60-20=40, Resulting Numbers: [9, 40] Generated Node #0,2,1: 16:[9, 40] Operation: 60-20=40 Exploring Operation: 60/20=3, Resulting Numbers: [9, 3] Generated Node #0,2,2: 16:[9, 3] Operation: 60/20=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 16:[9, 3], Operations: ['86-26=60', '60/20=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,16 unequal: No Solution No 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: 16:[9, 40], Operations: ['86-26=60', '60-20=40'] Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,16 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,16 unequal: No Solution No 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: 16:[20, 51], Operations: ['86-26=60', '60-9=51'] Exploring Operation: 20+51=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 20*51=1020, Resulting Numbers: [1020] 1020,16 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,16 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: 16:[26, 9, 66], Operations: ['86-20=66'] Exploring Operation: 66-26=40, Resulting Numbers: [9, 40] Generated Node #0,0,0: 16:[9, 40] Operation: 66-26=40 Exploring Operation: 66-9=57, Resulting Numbers: [26, 57] Generated Node #0,0,1: 16:[26, 57] Operation: 66-9=57 Exploring Operation: 26-9=17, Resulting Numbers: [66, 17] Generated Node #0,0,2: 16:[66, 17] Operation: 26-9=17 Moving to Node #0,0,0 Current State: 16:[9, 40], Operations: ['86-20=66', '66-26=40'] Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,16 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[26, 57], Operations: ['86-20=66', '66-9=57'] Exploring Operation: 26*57=1482, Resulting Numbers: [1482] 1482,16 unequal: No Solution Exploring Operation: 26+57=83, Resulting Numbers: [83] 83,16 unequal: No Solution Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[66, 17], Operations: ['86-20=66', '26-9=17'] Exploring Operation: 66+17=83, Resulting Numbers: [83] 83,16 unequal: No Solution Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 66*17=1122, Resulting Numbers: [1122] 1122,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[9, 86, 6], Operations: ['26-20=6'] Exploring Operation: 9+6=15, Resulting Numbers: [86, 15] Generated Node #0,1,0: 16:[86, 15] Operation: 9+6=15 Exploring Operation: 86-6=80, Resulting Numbers: [9, 80] Generated Node #0,1,1: 16:[9, 80] Operation: 86-6=80 Exploring Operation: 86-9=77, Resulting Numbers: [6, 77] Generated Node #0,1,2: 16:[6, 77] Operation: 86-9=77 Moving to Node #0,1,2 Current State: 16:[6, 77], Operations: ['26-20=6', '86-9=77'] Exploring Operation: 6*77=462, Resulting Numbers: [462] 462,16 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 6+77=83, Resulting Numbers: [83] 83,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[9, 80], Operations: ['26-20=6', '86-6=80'] Exploring Operation: 9*80=720, Resulting Numbers: [720] 720,16 unequal: No Solution Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 9+80=89, Resulting Numbers: [89] 89,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[86, 15], Operations: ['26-20=6', '9+6=15'] Exploring Operation: 86*15=1290, Resulting Numbers: [1290] 1290,16 unequal: No Solution Exploring Operation: 86+15=101, Resulting Numbers: [101] 101,16 unequal: No Solution Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 66, 16, 45, 33 ]
37
[ "66/33=2", "16/2=8", "45-8=37" ]
Current State: 37:[66, 16, 45, 33], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [16, 45, 2] Generated Node #2: [16, 45, 2] from Operation: 66/33=2 Current State: 37:[16, 45, 2], Operations: ['66/33=2'] Exploring Operation: 16/2=8, Resulting Numbers: [45, 8] Generated Node #3: [45, 8] from Operation: 16/2=8 Current State: 37:[45, 8], Operations: ['66/33=2', '16/2=8'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[66, 16, 45, 33], Operations: [] Exploring Operation: 66-45=21, Resulting Numbers: [16, 33, 21] Generated Node #0,0: 37:[16, 33, 21] Operation: 66-45=21 Exploring Operation: 45-16=29, Resulting Numbers: [66, 33, 29] Generated Node #0,1: 37:[66, 33, 29] Operation: 45-16=29 Exploring Operation: 66-16=50, Resulting Numbers: [45, 33, 50] Generated Node #0,2: 37:[45, 33, 50] Operation: 66-16=50 Exploring Operation: 66-33=33, Resulting Numbers: [16, 45, 33] Generated Node #0,3: 37:[16, 45, 33] Operation: 66-33=33 Exploring Operation: 16+33=49, Resulting Numbers: [66, 45, 49] Generated Node #0,4: 37:[66, 45, 49] Operation: 16+33=49 Moving to Node #0,2 Current State: 37:[45, 33, 50], Operations: ['66-16=50'] Exploring Operation: 50-45=5, Resulting Numbers: [33, 5] Generated Node #0,2,0: 37:[33, 5] Operation: 50-45=5 Exploring Operation: 33+50=83, Resulting Numbers: [45, 83] Generated Node #0,2,1: 37:[45, 83] Operation: 33+50=83 Exploring Operation: 50-33=17, Resulting Numbers: [45, 17] Generated Node #0,2,2: 37:[45, 17] Operation: 50-33=17 Exploring Operation: 45-33=12, Resulting Numbers: [50, 12] Generated Node #0,2,3: 37:[50, 12] Operation: 45-33=12 Exploring Operation: 45+33=78, Resulting Numbers: [50, 78] Generated Node #0,2,4: 37:[50, 78] Operation: 45+33=78 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[45, 17], Operations: ['66-16=50', '50-33=17'] Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,37 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[33, 5], Operations: ['66-16=50', '50-45=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,37 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 37:[50, 12], Operations: ['66-16=50', '45-33=12'] Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[45, 83], Operations: ['66-16=50', '33+50=83'] Exploring Operation: 45+83=128, Resulting Numbers: [128] 128,37 unequal: No Solution Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 45*83=3735, Resulting Numbers: [3735] 3735,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 37:[50, 78], Operations: ['66-16=50', '45+33=78'] Exploring Operation: 50*78=3900, Resulting Numbers: [3900] 3900,37 unequal: No Solution Exploring Operation: 50+78=128, Resulting Numbers: [128] 128,37 unequal: No Solution Exploring Operation: 78-50=28, Resulting Numbers: [28] 28,37 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: 37:[16, 45, 33], Operations: ['66-33=33'] Exploring Operation: 16+33=49, Resulting Numbers: [45, 49] Generated Node #0,3,0: 37:[45, 49] Operation: 16+33=49 Exploring Operation: 45-33=12, Resulting Numbers: [16, 12] Generated Node #0,3,1: 37:[16, 12] Operation: 45-33=12 Exploring Operation: 45-16=29, Resulting Numbers: [33, 29] Generated Node #0,3,2: 37:[33, 29] Operation: 45-16=29 Exploring Operation: 33-16=17, Resulting Numbers: [45, 17] Generated Node #0,3,3: 37:[45, 17] Operation: 33-16=17 Exploring Operation: 16+45=61, Resulting Numbers: [33, 61] Generated Node #0,3,4: 37:[33, 61] Operation: 16+45=61 Moving to Node #0,0 Current State: 37:[16, 33, 21], Operations: ['66-45=21'] Exploring Operation: 16+33=49, Resulting Numbers: [21, 49] Generated Node #0,0,0: 37:[21, 49] Operation: 16+33=49 Exploring Operation: 33-16=17, Resulting Numbers: [21, 17] Generated Node #0,0,1: 37:[21, 17] Operation: 33-16=17 Exploring Operation: 21-16=5, Resulting Numbers: [33, 5] Generated Node #0,0,2: 37:[33, 5] Operation: 21-16=5 Exploring Operation: 33+21=54, Resulting Numbers: [16, 54] Generated Node #0,0,3: 37:[16, 54] Operation: 33+21=54 Exploring Operation: 16+21=37, Resulting Numbers: [33, 37] Generated Node #0,0,4: 37:[33, 37] Operation: 16+21=37 Moving to Node #0,1 Current State: 37:[66, 33, 29], Operations: ['45-16=29'] Exploring Operation: 66/33=2, Resulting Numbers: [29, 2] Generated Node #0,1,0: 37:[29, 2] Operation: 66/33=2 Exploring Operation: 33+29=62, Resulting Numbers: [66, 62] Generated Node #0,1,1: 37:[66, 62] Operation: 33+29=62 Exploring Operation: 66+29=95, Resulting Numbers: [33, 95] Generated Node #0,1,2: 37:[33, 95] Operation: 66+29=95 Exploring Operation: 66-29=37, Resulting Numbers: [33, 37] Generated Node #0,1,3: 37:[33, 37] Operation: 66-29=37 Exploring Operation: 66-33=33, Resulting Numbers: [29, 33] Generated Node #0,1,4: 37:[29, 33] Operation: 66-33=33 Moving to Node #0,4 Current State: 37:[66, 45, 49], Operations: ['16+33=49'] Exploring Operation: 66-49=17, Resulting Numbers: [45, 17] Generated Node #0,4,0: 37:[45, 17] Operation: 66-49=17 Exploring Operation: 66+45=111, Resulting Numbers: [49, 111] Generated Node #0,4,1: 37:[49, 111] Operation: 66+45=111 Exploring Operation: 66-45=21, Resulting Numbers: [49, 21] Generated Node #0,4,2: 37:[49, 21] Operation: 66-45=21 Exploring Operation: 66+49=115, Resulting Numbers: [45, 115] Generated Node #0,4,3: 37:[45, 115] Operation: 66+49=115 Exploring Operation: 49-45=4, Resulting Numbers: [66, 4] Generated Node #0,4,4: 37:[66, 4] Operation: 49-45=4 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 37:[45, 17], Operations: ['16+33=49', '66-49=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,37 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 37:[49, 21], Operations: ['16+33=49', '66-45=21'] Exploring Operation: 49+21=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 49*21=1029, Resulting Numbers: [1029] 1029,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 37:[66, 4], Operations: ['16+33=49', '49-45=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 37:[49, 111], Operations: ['16+33=49', '66+45=111'] Exploring Operation: 49+111=160, Resulting Numbers: [160] 160,37 unequal: No Solution Exploring Operation: 111-49=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 49*111=5439, Resulting Numbers: [5439] 5439,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 37:[45, 115], Operations: ['16+33=49', '66+49=115'] Exploring Operation: 115-45=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 45*115=5175, Resulting Numbers: [5175] 5175,37 unequal: No Solution Exploring Operation: 45+115=160, Resulting Numbers: [160] 160,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 37:[33, 37], Operations: ['66-45=21', '16+21=37'] Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 33+37=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 33*37=1221, Resulting Numbers: [1221] 1221,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[33, 37], Operations: ['45-16=29', '66-29=37'] Exploring Operation: 33*37=1221, Resulting Numbers: [1221] 1221,37 unequal: No Solution Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 33+37=70, Resulting Numbers: [70] 70,37 unequal: No Solution Moving to Node #0,3,2 Current State: 37:[33, 29], Operations: ['66-33=33', '45-16=29'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 33*29=957, Resulting Numbers: [957] 957,37 unequal: No Solution Moving to Node #0,1,4 Current State: 37:[29, 33], Operations: ['45-16=29', '66-33=33'] Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,37 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,37 unequal: No Solution Moving to Node #0,3,0 Current State: 37:[45, 49], Operations: ['66-33=33', '16+33=49'] Exploring Operation: 45+49=94, Resulting Numbers: [94] 94,37 unequal: No Solution Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 45*49=2205, Resulting Numbers: [2205] 2205,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[21, 49], Operations: ['66-45=21', '16+33=49'] Exploring Operation: 21*49=1029, Resulting Numbers: [1029] 1029,37 unequal: No Solution Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[45, 17], Operations: ['66-33=33', '33-16=17'] Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,37 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,37 unequal: No Solution Moving to Node #0,3,4 Current State: 37:[33, 61], Operations: ['66-33=33', '16+45=61'] Exploring Operation: 33+61=94, Resulting Numbers: [94] 94,37 unequal: No Solution Exploring Operation: 33*61=2013, Resulting Numbers: [2013] 2013,37 unequal: No Solution Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[33, 5], Operations: ['66-45=21', '21-16=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,37 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[21, 17], Operations: ['66-45=21', '33-16=17'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,37 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[16, 54], Operations: ['66-45=21', '33+21=54'] Exploring Operation: 16+54=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 16*54=864, Resulting Numbers: [864] 864,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[29, 2], Operations: ['45-16=29', '66/33=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[16, 12], Operations: ['66-33=33', '45-33=12'] Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,37 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[66, 62], Operations: ['45-16=29', '33+29=62'] Exploring Operation: 66*62=4092, Resulting Numbers: [4092] 4092,37 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 66+62=128, Resulting Numbers: [128] 128,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[33, 95], Operations: ['45-16=29', '66+29=95'] Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 33+95=128, Resulting Numbers: [128] 128,37 unequal: No Solution Exploring Operation: 33*95=3135, Resulting Numbers: [3135] 3135,37 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 2, 46, 16, 89 ]
100
[ "89-16=73", "2*73=146", "146-46=100" ]
Current State: 100:[2, 46, 16, 89], Operations: [] Exploring Operation: 89-16=73, Resulting Numbers: [2, 46, 73] Generated Node #2: [2, 46, 73] from Operation: 89-16=73 Current State: 100:[2, 46, 73], Operations: ['89-16=73'] Exploring Operation: 2*73=146, Resulting Numbers: [46, 146] Generated Node #3: [46, 146] from Operation: 2*73=146 Current State: 100:[46, 146], Operations: ['89-16=73', '2*73=146'] Exploring Operation: 146-46=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[2, 46, 16, 89], Operations: [] Exploring Operation: 2+46=48, Resulting Numbers: [16, 89, 48] Generated Node #0,0: 100:[16, 89, 48] Operation: 2+46=48 Exploring Operation: 16+89=105, Resulting Numbers: [2, 46, 105] Generated Node #0,1: 100:[2, 46, 105] Operation: 16+89=105 Exploring Operation: 89-46=43, Resulting Numbers: [2, 16, 43] Generated Node #0,2: 100:[2, 16, 43] Operation: 89-46=43 Exploring Operation: 46/2=23, Resulting Numbers: [16, 89, 23] Generated Node #0,3: 100:[16, 89, 23] Operation: 46/2=23 Exploring Operation: 46-16=30, Resulting Numbers: [2, 89, 30] Generated Node #0,4: 100:[2, 89, 30] Operation: 46-16=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[2, 46, 105], Operations: ['16+89=105'] Exploring Operation: 105-46=59, Resulting Numbers: [2, 59] Generated Node #0,1,0: 100:[2, 59] Operation: 105-46=59 Exploring Operation: 46-2=44, Resulting Numbers: [105, 44] Generated Node #0,1,1: 100:[105, 44] Operation: 46-2=44 Exploring Operation: 2+46=48, Resulting Numbers: [105, 48] Generated Node #0,1,2: 100:[105, 48] Operation: 2+46=48 Exploring Operation: 105-2=103, Resulting Numbers: [46, 103] Generated Node #0,1,3: 100:[46, 103] Operation: 105-2=103 Exploring Operation: 46/2=23, Resulting Numbers: [105, 23] Generated Node #0,1,4: 100:[105, 23] Operation: 46/2=23 Moving to Node #0,1,2 Current State: 100:[105, 48], Operations: ['16+89=105', '2+46=48'] Exploring Operation: 105-48=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 105*48=5040, Resulting Numbers: [5040] 5040,100 unequal: No Solution Exploring Operation: 105+48=153, Resulting Numbers: [153] 153,100 unequal: No Solution Moving to Node #0,1,4 Current State: 100:[105, 23], Operations: ['16+89=105', '46/2=23'] Exploring Operation: 105+23=128, Resulting Numbers: [128] 128,100 unequal: No Solution Exploring Operation: 105*23=2415, Resulting Numbers: [2415] 2415,100 unequal: No Solution Exploring Operation: 105-23=82, Resulting Numbers: [82] 82,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[46, 103], Operations: ['16+89=105', '105-2=103'] Exploring Operation: 46+103=149, Resulting Numbers: [149] 149,100 unequal: No Solution Exploring Operation: 46*103=4738, Resulting Numbers: [4738] 4738,100 unequal: No Solution Exploring Operation: 103-46=57, Resulting Numbers: [57] 57,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[2, 59], Operations: ['16+89=105', '105-46=59'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[105, 44], Operations: ['16+89=105', '46-2=44'] Exploring Operation: 105-44=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 105*44=4620, Resulting Numbers: [4620] 4620,100 unequal: No Solution Exploring Operation: 105+44=149, Resulting Numbers: [149] 149,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[2, 16, 43], Operations: ['89-46=43'] Exploring Operation: 2+16=18, Resulting Numbers: [43, 18] Generated Node #0,2,0: 100:[43, 18] Operation: 2+16=18 Exploring Operation: 43-16=27, Resulting Numbers: [2, 27] Generated Node #0,2,1: 100:[2, 27] Operation: 43-16=27 Exploring Operation: 16+43=59, Resulting Numbers: [2, 59] Generated Node #0,2,2: 100:[2, 59] Operation: 16+43=59 Exploring Operation: 16/2=8, Resulting Numbers: [43, 8] Generated Node #0,2,3: 100:[43, 8] Operation: 16/2=8 Exploring Operation: 2+43=45, Resulting Numbers: [16, 45] Generated Node #0,2,4: 100:[16, 45] Operation: 2+43=45 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 100:[2, 27], Operations: ['89-46=43', '43-16=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 100:[43, 18], Operations: ['89-46=43', '2+16=18'] Exploring Operation: 43+18=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 43*18=774, Resulting Numbers: [774] 774,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 100:[2, 59], Operations: ['89-46=43', '16+43=59'] Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,100 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 100:[43, 8], Operations: ['89-46=43', '16/2=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,100 unequal: No Solution Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,100 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 100:[16, 45], Operations: ['89-46=43', '2+43=45'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 16*45=720, Resulting Numbers: [720] 720,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 100:[2, 89, 30], Operations: ['46-16=30'] Exploring Operation: 89-30=59, Resulting Numbers: [2, 59] Generated Node #0,4,0: 100:[2, 59] Operation: 89-30=59 Exploring Operation: 2+89=91, Resulting Numbers: [30, 91] Generated Node #0,4,1: 100:[30, 91] Operation: 2+89=91 Exploring Operation: 30-2=28, Resulting Numbers: [89, 28] Generated Node #0,4,2: 100:[89, 28] Operation: 30-2=28 Exploring Operation: 30/2=15, Resulting Numbers: [89, 15] Generated Node #0,4,3: 100:[89, 15] Operation: 30/2=15 Exploring Operation: 89-2=87, Resulting Numbers: [30, 87] Generated Node #0,4,4: 100:[30, 87] Operation: 89-2=87 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 100:[2, 59], Operations: ['46-16=30', '89-30=59'] Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,100 unequal: No Solution Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 100:[30, 91], Operations: ['46-16=30', '2+89=91'] Exploring Operation: 30*91=2730, Resulting Numbers: [2730] 2730,100 unequal: No Solution Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 30+91=121, Resulting Numbers: [121] 121,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 100:[89, 28], Operations: ['46-16=30', '30-2=28'] Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 89+28=117, Resulting Numbers: [117] 117,100 unequal: No Solution Exploring Operation: 89*28=2492, Resulting Numbers: [2492] 2492,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 100:[89, 15], Operations: ['46-16=30', '30/2=15'] Exploring Operation: 89*15=1335, Resulting Numbers: [1335] 1335,100 unequal: No Solution Exploring Operation: 89+15=104, Resulting Numbers: [104] 104,100 unequal: No Solution Exploring Operation: 89-15=74, Resulting Numbers: [74] 74,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 100:[30, 87], Operations: ['46-16=30', '89-2=87'] Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 30*87=2610, Resulting Numbers: [2610] 2610,100 unequal: No Solution Exploring Operation: 30+87=117, Resulting Numbers: [117] 117,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[16, 89, 48], Operations: ['2+46=48'] Exploring Operation: 89-16=73, Resulting Numbers: [48, 73] Generated Node #0,0,0: 100:[48, 73] Operation: 89-16=73 Exploring Operation: 89-48=41, Resulting Numbers: [16, 41] Generated Node #0,0,1: 100:[16, 41] Operation: 89-48=41 Exploring Operation: 48/16=3, Resulting Numbers: [89, 3] Generated Node #0,0,2: 100:[89, 3] Operation: 48/16=3 Exploring Operation: 16+89=105, Resulting Numbers: [48, 105] Generated Node #0,0,3: 100:[48, 105] Operation: 16+89=105 Exploring Operation: 48-16=32, Resulting Numbers: [89, 32] Generated Node #0,0,4: 100:[89, 32] Operation: 48-16=32 Moving to Node #0,0,3 Current State: 100:[48, 105], Operations: ['2+46=48', '16+89=105'] Exploring Operation: 48+105=153, Resulting Numbers: [153] 153,100 unequal: No Solution Exploring Operation: 48*105=5040, Resulting Numbers: [5040] 5040,100 unequal: No Solution Exploring Operation: 105-48=57, Resulting Numbers: [57] 57,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[89, 3], Operations: ['2+46=48', '48/16=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,100 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,100 unequal: No Solution Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[16, 41], Operations: ['2+46=48', '89-48=41'] Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,100 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,100 unequal: No Solution Moving to Node #0,0,4 Current State: 100:[89, 32], Operations: ['2+46=48', '48-16=32'] Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 89*32=2848, Resulting Numbers: [2848] 2848,100 unequal: No Solution Exploring Operation: 89+32=121, Resulting Numbers: [121] 121,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[48, 73], Operations: ['2+46=48', '89-16=73'] Exploring Operation: 48*73=3504, Resulting Numbers: [3504] 3504,100 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 48+73=121, Resulting Numbers: [121] 121,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[16, 89, 23], Operations: ['46/2=23'] Exploring Operation: 16+89=105, Resulting Numbers: [23, 105] Generated Node #0,3,0: 100:[23, 105] Operation: 16+89=105 Exploring Operation: 23-16=7, Resulting Numbers: [89, 7] Generated Node #0,3,1: 100:[89, 7] Operation: 23-16=7 Exploring Operation: 89+23=112, Resulting Numbers: [16, 112] Generated Node #0,3,2: 100:[16, 112] Operation: 89+23=112 Exploring Operation: 89-23=66, Resulting Numbers: [16, 66] Generated Node #0,3,3: 100:[16, 66] Operation: 89-23=66 Exploring Operation: 16+23=39, Resulting Numbers: [89, 39] Generated Node #0,3,4: 100:[89, 39] Operation: 16+23=39 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 100:[23, 105], Operations: ['46/2=23', '16+89=105'] Exploring Operation: 23+105=128, Resulting Numbers: [128] 128,100 unequal: No Solution Exploring Operation: 23*105=2415, Resulting Numbers: [2415] 2415,100 unequal: No Solution Exploring Operation: 105-23=82, Resulting Numbers: [82] 82,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 100:[89, 7], Operations: ['46/2=23', '23-16=7'] Exploring Operation: 89*7=623, Resulting Numbers: [623] 623,100 unequal: No Solution Exploring Operation: 89+7=96, Resulting Numbers: [96] 96,100 unequal: No Solution Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 100:[16, 112], Operations: ['46/2=23', '89+23=112'] Exploring Operation: 112/16=7, Resulting Numbers: [7] 7,100 unequal: No Solution Exploring Operation: 16*112=1792, Resulting Numbers: [1792] 1792,100 unequal: No Solution Exploring Operation: 16+112=128, Resulting Numbers: [128] 128,100 unequal: No Solution Exploring Operation: 112-16=96, Resulting Numbers: [96] 96,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 100:[16, 66], Operations: ['46/2=23', '89-23=66'] Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 16+66=82, Resulting Numbers: [82] 82,100 unequal: No Solution Exploring Operation: 16*66=1056, Resulting Numbers: [1056] 1056,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 100:[89, 39], Operations: ['46/2=23', '16+23=39'] Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 89+39=128, Resulting Numbers: [128] 128,100 unequal: No Solution Exploring Operation: 89*39=3471, Resulting Numbers: [3471] 3471,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 96, 63, 11, 40 ]
37
[ "96-63=33", "33/11=3", "40-3=37" ]
Current State: 37:[96, 63, 11, 40], Operations: [] Exploring Operation: 96-63=33, Resulting Numbers: [11, 40, 33] Generated Node #2: [11, 40, 33] from Operation: 96-63=33 Current State: 37:[11, 40, 33], Operations: ['96-63=33'] Exploring Operation: 33/11=3, Resulting Numbers: [40, 3] Generated Node #3: [40, 3] from Operation: 33/11=3 Current State: 37:[40, 3], Operations: ['96-63=33', '33/11=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[96, 63, 11, 40], Operations: [] Exploring Operation: 96-63=33, Resulting Numbers: [11, 40, 33] Generated Node #0,0: 37:[11, 40, 33] Operation: 96-63=33 Exploring Operation: 63-11=52, Resulting Numbers: [96, 40, 52] Generated Node #0,1: 37:[96, 40, 52] Operation: 63-11=52 Exploring Operation: 96-11=85, Resulting Numbers: [63, 40, 85] Generated Node #0,2: 37:[63, 40, 85] Operation: 96-11=85 Exploring Operation: 96-40=56, Resulting Numbers: [63, 11, 56] Generated Node #0,3: 37:[63, 11, 56] Operation: 96-40=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[11, 40, 33], Operations: ['96-63=33'] Exploring Operation: 40-11=29, Resulting Numbers: [33, 29] Generated Node #0,0,0: 37:[33, 29] Operation: 40-11=29 Exploring Operation: 11+33=44, Resulting Numbers: [40, 44] Generated Node #0,0,1: 37:[40, 44] Operation: 11+33=44 Exploring Operation: 33-11=22, Resulting Numbers: [40, 22] Generated Node #0,0,2: 37:[40, 22] Operation: 33-11=22 Exploring Operation: 11+40=51, Resulting Numbers: [33, 51] Generated Node #0,0,3: 37:[33, 51] Operation: 11+40=51 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[40, 44], Operations: ['96-63=33', '11+33=44'] Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,37 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,37 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[33, 29], Operations: ['96-63=33', '40-11=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 33*29=957, Resulting Numbers: [957] 957,37 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[40, 22], Operations: ['96-63=33', '33-11=22'] Exploring Operation: 40*22=880, Resulting Numbers: [880] 880,37 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 37:[33, 51], Operations: ['96-63=33', '11+40=51'] Exploring Operation: 33*51=1683, Resulting Numbers: [1683] 1683,37 unequal: No Solution Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 33+51=84, Resulting Numbers: [84] 84,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 37:[63, 11, 56], Operations: ['96-40=56'] Exploring Operation: 63-56=7, Resulting Numbers: [11, 7] Generated Node #0,3,0: 37:[11, 7] Operation: 63-56=7 Exploring Operation: 63+11=74, Resulting Numbers: [56, 74] Generated Node #0,3,1: 37:[56, 74] Operation: 63+11=74 Exploring Operation: 63-11=52, Resulting Numbers: [56, 52] Generated Node #0,3,2: 37:[56, 52] Operation: 63-11=52 Exploring Operation: 56-11=45, Resulting Numbers: [63, 45] Generated Node #0,3,3: 37:[63, 45] Operation: 56-11=45 Moving to Node #0,3,2 Current State: 37:[56, 52], Operations: ['96-40=56', '63-11=52'] Exploring Operation: 56+52=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 56*52=2912, Resulting Numbers: [2912] 2912,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[63, 45], Operations: ['96-40=56', '56-11=45'] Exploring Operation: 63+45=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 63*45=2835, Resulting Numbers: [2835] 2835,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[56, 74], Operations: ['96-40=56', '63+11=74'] Exploring Operation: 56*74=4144, Resulting Numbers: [4144] 4144,37 unequal: No Solution Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 56+74=130, Resulting Numbers: [130] 130,37 unequal: No Solution Moving to Node #0,3,0 Current State: 37:[11, 7], Operations: ['96-40=56', '63-56=7'] Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[96, 40, 52], Operations: ['63-11=52'] Exploring Operation: 96-52=44, Resulting Numbers: [40, 44] Generated Node #0,1,0: 37:[40, 44] Operation: 96-52=44 Exploring Operation: 52-40=12, Resulting Numbers: [96, 12] Generated Node #0,1,1: 37:[96, 12] Operation: 52-40=12 Exploring Operation: 96+40=136, Resulting Numbers: [52, 136] Generated Node #0,1,2: 37:[52, 136] Operation: 96+40=136 Exploring Operation: 96-40=56, Resulting Numbers: [52, 56] Generated Node #0,1,3: 37:[52, 56] Operation: 96-40=56 Moving to Node #0,1,0 Current State: 37:[40, 44], Operations: ['63-11=52', '96-52=44'] Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,37 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[52, 56], Operations: ['63-11=52', '96-40=56'] Exploring Operation: 52*56=2912, Resulting Numbers: [2912] 2912,37 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 52+56=108, Resulting Numbers: [108] 108,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[96, 12], Operations: ['63-11=52', '52-40=12'] Exploring Operation: 96*12=1152, Resulting Numbers: [1152] 1152,37 unequal: No Solution Exploring Operation: 96+12=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,37 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[52, 136], Operations: ['63-11=52', '96+40=136'] Exploring Operation: 136-52=84, Resulting Numbers: [84] 84,37 unequal: No Solution Exploring Operation: 52+136=188, Resulting Numbers: [188] 188,37 unequal: No Solution Exploring Operation: 52*136=7072, Resulting Numbers: [7072] 7072,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[63, 40, 85], Operations: ['96-11=85'] Exploring Operation: 63-40=23, Resulting Numbers: [85, 23] Generated Node #0,2,0: 37:[85, 23] Operation: 63-40=23 Exploring Operation: 85-63=22, Resulting Numbers: [40, 22] Generated Node #0,2,1: 37:[40, 22] Operation: 85-63=22 Exploring Operation: 63+40=103, Resulting Numbers: [85, 103] Generated Node #0,2,2: 37:[85, 103] Operation: 63+40=103 Exploring Operation: 85-40=45, Resulting Numbers: [63, 45] Generated Node #0,2,3: 37:[63, 45] Operation: 85-40=45 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[40, 22], Operations: ['96-11=85', '85-63=22'] Exploring Operation: 40*22=880, Resulting Numbers: [880] 880,37 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 37:[63, 45], Operations: ['96-11=85', '85-40=45'] Exploring Operation: 63*45=2835, Resulting Numbers: [2835] 2835,37 unequal: No Solution Exploring Operation: 63+45=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[85, 23], Operations: ['96-11=85', '63-40=23'] Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 85*23=1955, Resulting Numbers: [1955] 1955,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[85, 103], Operations: ['96-11=85', '63+40=103'] Exploring Operation: 85+103=188, Resulting Numbers: [188] 188,37 unequal: No Solution Exploring Operation: 85*103=8755, Resulting Numbers: [8755] 8755,37 unequal: No Solution Exploring Operation: 103-85=18, Resulting Numbers: [18] 18,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 83, 16, 78, 64 ]
16
[ "83-78=5", "16+64=80", "80/5=16" ]
Current State: 16:[83, 16, 78, 64], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [16, 64, 5] Generated Node #2: [16, 64, 5] from Operation: 83-78=5 Current State: 16:[16, 64, 5], Operations: ['83-78=5'] Exploring Operation: 16+64=80, Resulting Numbers: [5, 80] Generated Node #3: [5, 80] from Operation: 16+64=80 Current State: 16:[5, 80], Operations: ['83-78=5', '16+64=80'] Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[83, 16, 78, 64], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [83, 16, 14] Generated Node #0,0: 16:[83, 16, 14] Operation: 78-64=14 Exploring Operation: 83-64=19, Resulting Numbers: [16, 78, 19] Generated Node #0,1: 16:[16, 78, 19] Operation: 83-64=19 Exploring Operation: 83-78=5, Resulting Numbers: [16, 64, 5] Generated Node #0,2: 16:[16, 64, 5] Operation: 83-78=5 Moving to Node #0,2 Current State: 16:[16, 64, 5], Operations: ['83-78=5'] Exploring Operation: 64/16=4, Resulting Numbers: [5, 4] Generated Node #0,2,0: 16:[5, 4] Operation: 64/16=4 Exploring Operation: 64-5=59, Resulting Numbers: [16, 59] Generated Node #0,2,1: 16:[16, 59] Operation: 64-5=59 Exploring Operation: 64-16=48, Resulting Numbers: [5, 48] Generated Node #0,2,2: 16:[5, 48] Operation: 64-16=48 Moving to Node #0,1 Current State: 16:[16, 78, 19], Operations: ['83-64=19'] Exploring Operation: 78-19=59, Resulting Numbers: [16, 59] Generated Node #0,1,0: 16:[16, 59] Operation: 78-19=59 Exploring Operation: 19-16=3, Resulting Numbers: [78, 3] Generated Node #0,1,1: 16:[78, 3] Operation: 19-16=3 Exploring Operation: 78-16=62, Resulting Numbers: [19, 62] Generated Node #0,1,2: 16:[19, 62] Operation: 78-16=62 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[16, 59], Operations: ['83-64=19', '78-19=59'] Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,16 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 16:[19, 62], Operations: ['83-64=19', '78-16=62'] Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 19*62=1178, Resulting Numbers: [1178] 1178,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[78, 3], Operations: ['83-64=19', '19-16=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,16 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,16 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: 16:[83, 16, 14], Operations: ['78-64=14'] Exploring Operation: 16-14=2, Resulting Numbers: [83, 2] Generated Node #0,0,0: 16:[83, 2] Operation: 16-14=2 Exploring Operation: 83-14=69, Resulting Numbers: [16, 69] Generated Node #0,0,1: 16:[16, 69] Operation: 83-14=69 Exploring Operation: 83-16=67, Resulting Numbers: [14, 67] Generated Node #0,0,2: 16:[14, 67] Operation: 83-16=67 Moving to Node #0,2,0 Current State: 16:[5, 4], Operations: ['83-78=5', '64/16=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[5, 48], Operations: ['83-78=5', '64-16=48'] Exploring Operation: 5*48=240, Resulting Numbers: [240] 240,16 unequal: No Solution Exploring Operation: 5+48=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[16, 59], Operations: ['83-78=5', '64-5=59'] Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,16 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[14, 67], Operations: ['78-64=14', '83-16=67'] Exploring Operation: 14*67=938, Resulting Numbers: [938] 938,16 unequal: No Solution Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 14+67=81, Resulting Numbers: [81] 81,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[16, 69], Operations: ['78-64=14', '83-14=69'] Exploring Operation: 16*69=1104, Resulting Numbers: [1104] 1104,16 unequal: No Solution Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,16 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[83, 2], Operations: ['78-64=14', '16-14=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,16 unequal: No Solution Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,16 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 62, 6, 72, 64 ]
39
[ "64-62=2", "6+72=78", "78/2=39" ]
Current State: 39:[62, 6, 72, 64], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [6, 72, 2] Generated Node #2: [6, 72, 2] from Operation: 64-62=2 Current State: 39:[6, 72, 2], Operations: ['64-62=2'] Exploring Operation: 6+72=78, Resulting Numbers: [2, 78] Generated Node #3: [2, 78] from Operation: 6+72=78 Current State: 39:[2, 78], Operations: ['64-62=2', '6+72=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[62, 6, 72, 64], Operations: [] Exploring Operation: 72-62=10, Resulting Numbers: [6, 64, 10] Generated Node #0,0: 39:[6, 64, 10] Operation: 72-62=10 Moving to Node #0,0 Current State: 39:[6, 64, 10], Operations: ['72-62=10'] Exploring Operation: 64-10=54, Resulting Numbers: [6, 54] Generated Node #0,0,0: 39:[6, 54] Operation: 64-10=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[6, 54], Operations: ['72-62=10', '64-10=54'] Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 44, 99, 94, 11 ]
47
[ "44*94=4136", "99-11=88", "4136/88=47" ]
Current State: 47:[44, 99, 94, 11], Operations: [] Exploring Operation: 44*94=4136, Resulting Numbers: [99, 11, 4136] Generated Node #2: [99, 11, 4136] from Operation: 44*94=4136 Current State: 47:[99, 11, 4136], Operations: ['44*94=4136'] Exploring Operation: 99-11=88, Resulting Numbers: [4136, 88] Generated Node #3: [4136, 88] from Operation: 99-11=88 Current State: 47:[4136, 88], Operations: ['44*94=4136', '99-11=88'] Exploring Operation: 4136/88=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[44, 99, 94, 11], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [44, 11, 5] Generated Node #0,0: 47:[44, 11, 5] Operation: 99-94=5 Moving to Node #0,0 Current State: 47:[44, 11, 5], Operations: ['99-94=5'] Exploring Operation: 11*5=55, Resulting Numbers: [44, 55] Generated Node #0,0,0: 47:[44, 55] Operation: 11*5=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[44, 55], Operations: ['99-94=5', '11*5=55'] Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,47 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
[ 12, 98, 88, 54 ]
52
[ "98-12=86", "88-54=34", "86-34=52" ]
Current State: 52:[12, 98, 88, 54], Operations: [] Exploring Operation: 98-12=86, Resulting Numbers: [88, 54, 86] Generated Node #2: [88, 54, 86] from Operation: 98-12=86 Current State: 52:[88, 54, 86], Operations: ['98-12=86'] Exploring Operation: 88-54=34, Resulting Numbers: [86, 34] Generated Node #3: [86, 34] from Operation: 88-54=34 Current State: 52:[86, 34], Operations: ['98-12=86', '88-54=34'] Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[12, 98, 88, 54], Operations: [] Exploring Operation: 98-54=44, Resulting Numbers: [12, 88, 44] Generated Node #0,0: 52:[12, 88, 44] Operation: 98-54=44 Exploring Operation: 98-88=10, Resulting Numbers: [12, 54, 10] Generated Node #0,1: 52:[12, 54, 10] Operation: 98-88=10 Moving to Node #0,1 Current State: 52:[12, 54, 10], Operations: ['98-88=10'] Exploring Operation: 12+10=22, Resulting Numbers: [54, 22] Generated Node #0,1,0: 52:[54, 22] Operation: 12+10=22 Exploring Operation: 12-10=2, Resulting Numbers: [54, 2] Generated Node #0,1,1: 52:[54, 2] Operation: 12-10=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[54, 2], Operations: ['98-88=10', '12-10=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[12, 98, 88, 54], Operations: [] Exploring Operation: 98-88=10, Resulting Numbers: [12, 54, 10] Generated Node #0,1: 52:[12, 54, 10] Operation: 98-88=10 Moving to Node #0,1 Current State: 52:[12, 54, 10], Operations: ['98-88=10'] Exploring Operation: 12-10=2, Resulting Numbers: [54, 2] Generated Node #0,1,1: 52:[54, 2] Operation: 12-10=2 Moving to Node #0,1,1 Current State: 52:[54, 2], Operations: ['98-88=10', '12-10=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 99, 38, 49, 58 ]
66
[ "99*58=5742", "38+49=87", "5742/87=66" ]
Current State: 66:[99, 38, 49, 58], Operations: [] Exploring Operation: 99*58=5742, Resulting Numbers: [38, 49, 5742] Generated Node #2: [38, 49, 5742] from Operation: 99*58=5742 Current State: 66:[38, 49, 5742], Operations: ['99*58=5742'] Exploring Operation: 38+49=87, Resulting Numbers: [5742, 87] Generated Node #3: [5742, 87] from Operation: 38+49=87 Current State: 66:[5742, 87], Operations: ['99*58=5742', '38+49=87'] Exploring Operation: 5742/87=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[99, 38, 49, 58], Operations: [] Exploring Operation: 99-38=61, Resulting Numbers: [49, 58, 61] Generated Node #0,0: 66:[49, 58, 61] Operation: 99-38=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[49, 58, 61], Operations: ['99-38=61'] Exploring Operation: 58-49=9, Resulting Numbers: [61, 9] Generated Node #0,0,0: 66:[61, 9] Operation: 58-49=9 Moving to Node #0,0,0 Current State: 66:[61, 9], Operations: ['99-38=61', '58-49=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,66 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
[ 91, 26, 50, 34 ]
81
[ "91-26=65", "50-34=16", "65+16=81" ]
Current State: 81:[91, 26, 50, 34], Operations: [] Exploring Operation: 91-26=65, Resulting Numbers: [50, 34, 65] Generated Node #2: [50, 34, 65] from Operation: 91-26=65 Current State: 81:[50, 34, 65], Operations: ['91-26=65'] Exploring Operation: 50-34=16, Resulting Numbers: [65, 16] Generated Node #3: [65, 16] from Operation: 50-34=16 Current State: 81:[65, 16], Operations: ['91-26=65', '50-34=16'] Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[91, 26, 50, 34], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [91, 26, 16] Generated Node #0,0: 81:[91, 26, 16] Operation: 50-34=16 Exploring Operation: 50-26=24, Resulting Numbers: [91, 34, 24] Generated Node #0,1: 81:[91, 34, 24] Operation: 50-26=24 Exploring Operation: 50+34=84, Resulting Numbers: [91, 26, 84] Generated Node #0,2: 81:[91, 26, 84] Operation: 50+34=84 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[91, 26, 84], Operations: ['50+34=84'] Exploring Operation: 91-84=7, Resulting Numbers: [26, 7] Generated Node #0,2,0: 81:[26, 7] Operation: 91-84=7 Exploring Operation: 84-26=58, Resulting Numbers: [91, 58] Generated Node #0,2,1: 81:[91, 58] Operation: 84-26=58 Exploring Operation: 91-26=65, Resulting Numbers: [84, 65] Generated Node #0,2,2: 81:[84, 65] Operation: 91-26=65 Moving to Node #0,2,0 Current State: 81:[26, 7], Operations: ['50+34=84', '91-84=7'] Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,81 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,81 unequal: No Solution Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[84, 65], Operations: ['50+34=84', '91-26=65'] Exploring Operation: 84+65=149, Resulting Numbers: [149] 149,81 unequal: No Solution Exploring Operation: 84*65=5460, Resulting Numbers: [5460] 5460,81 unequal: No Solution Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[91, 58], Operations: ['50+34=84', '84-26=58'] Exploring Operation: 91*58=5278, Resulting Numbers: [5278] 5278,81 unequal: No Solution Exploring Operation: 91-58=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 91+58=149, Resulting Numbers: [149] 149,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[91, 26, 16], Operations: ['50-34=16'] Exploring Operation: 91-26=65, Resulting Numbers: [16, 65] Generated Node #0,0,0: 81:[16, 65] Operation: 91-26=65 Exploring Operation: 91-16=75, Resulting Numbers: [26, 75] Generated Node #0,0,1: 81:[26, 75] Operation: 91-16=75 Exploring Operation: 26-16=10, Resulting Numbers: [91, 10] Generated Node #0,0,2: 81:[91, 10] Operation: 26-16=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[26, 75], Operations: ['50-34=16', '91-16=75'] Exploring Operation: 26*75=1950, Resulting Numbers: [1950] 1950,81 unequal: No Solution Exploring Operation: 26+75=101, Resulting Numbers: [101] 101,81 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 81:[91, 10], Operations: ['50-34=16', '26-16=10'] Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[91, 26, 50, 34], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [91, 26, 16] Generated Node #0,0: 81:[91, 26, 16] Operation: 50-34=16 Moving to Node #0,0 Current State: 81:[91, 26, 16], Operations: ['50-34=16'] Exploring Operation: 26-16=10, Resulting Numbers: [91, 10] Generated Node #0,0,2: 81:[91, 10] Operation: 26-16=10 Moving to Node #0,0,2 Current State: 81:[91, 10], Operations: ['50-34=16', '26-16=10'] Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 23, 52, 17, 57 ]
11
[ "52-23=29", "57-17=40", "40-29=11" ]
Current State: 11:[23, 52, 17, 57], Operations: [] Exploring Operation: 52-23=29, Resulting Numbers: [17, 57, 29] Generated Node #2: [17, 57, 29] from Operation: 52-23=29 Current State: 11:[17, 57, 29], Operations: ['52-23=29'] Exploring Operation: 57-17=40, Resulting Numbers: [29, 40] Generated Node #3: [29, 40] from Operation: 57-17=40 Current State: 11:[29, 40], Operations: ['52-23=29', '57-17=40'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[23, 52, 17, 57], Operations: [] Exploring Operation: 57-52=5, Resulting Numbers: [23, 17, 5] Generated Node #0,0: 11:[23, 17, 5] Operation: 57-52=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[23, 17, 5], Operations: ['57-52=5'] Exploring Operation: 23-17=6, Resulting Numbers: [5, 6] Generated Node #0,0,0: 11:[5, 6] Operation: 23-17=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[5, 6], Operations: ['57-52=5', '23-17=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[23, 52, 17, 57], Operations: [] Exploring Operation: 57-52=5, Resulting Numbers: [23, 17, 5] Generated Node #0,0: 11:[23, 17, 5] Operation: 57-52=5 Moving to Node #0,0 Current State: 11:[23, 17, 5], Operations: ['57-52=5'] Exploring Operation: 23-17=6, Resulting Numbers: [5, 6] Generated Node #0,0,0: 11:[5, 6] Operation: 23-17=6 Moving to Node #0,0,0 Current State: 11:[5, 6], Operations: ['57-52=5', '23-17=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 7, 29, 21, 84 ]
38
[ "84/7=12", "29+21=50", "50-12=38" ]
Current State: 38:[7, 29, 21, 84], Operations: [] Exploring Operation: 84/7=12, Resulting Numbers: [29, 21, 12] Generated Node #2: [29, 21, 12] from Operation: 84/7=12 Current State: 38:[29, 21, 12], Operations: ['84/7=12'] Exploring Operation: 29+21=50, Resulting Numbers: [12, 50] Generated Node #3: [12, 50] from Operation: 29+21=50 Current State: 38:[12, 50], Operations: ['84/7=12', '29+21=50'] Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[7, 29, 21, 84], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [7, 29, 4] Generated Node #0,0: 38:[7, 29, 4] Operation: 84/21=4 Exploring Operation: 84-21=63, Resulting Numbers: [7, 29, 63] Generated Node #0,1: 38:[7, 29, 63] Operation: 84-21=63 Exploring Operation: 84-29=55, Resulting Numbers: [7, 21, 55] Generated Node #0,2: 38:[7, 21, 55] Operation: 84-29=55 Exploring Operation: 84/7=12, Resulting Numbers: [29, 21, 12] Generated Node #0,3: 38:[29, 21, 12] Operation: 84/7=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[7, 29, 4], Operations: ['84/21=4'] Exploring Operation: 7-4=3, Resulting Numbers: [29, 3] Generated Node #0,0,0: 38:[29, 3] Operation: 7-4=3 Exploring Operation: 7+29=36, Resulting Numbers: [4, 36] Generated Node #0,0,1: 38:[4, 36] Operation: 7+29=36 Exploring Operation: 29-7=22, Resulting Numbers: [4, 22] Generated Node #0,0,2: 38:[4, 22] Operation: 29-7=22 Exploring Operation: 29+4=33, Resulting Numbers: [7, 33] Generated Node #0,0,3: 38:[7, 33] Operation: 29+4=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[4, 36], Operations: ['84/21=4', '7+29=36'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,38 unequal: No Solution No 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: 38:[4, 22], Operations: ['84/21=4', '29-7=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,38 unequal: No Solution No 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: 38:[29, 3], Operations: ['84/21=4', '7-4=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,38 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,38 unequal: No Solution No 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: 38:[7, 33], Operations: ['84/21=4', '29+4=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,38 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,38 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: 38:[29, 21, 12], Operations: ['84/7=12'] Exploring Operation: 29-21=8, Resulting Numbers: [12, 8] Generated Node #0,3,0: 38:[12, 8] Operation: 29-21=8 Exploring Operation: 21+12=33, Resulting Numbers: [29, 33] Generated Node #0,3,1: 38:[29, 33] Operation: 21+12=33 Exploring Operation: 29+12=41, Resulting Numbers: [21, 41] Generated Node #0,3,2: 38:[21, 41] Operation: 29+12=41 Exploring Operation: 29-12=17, Resulting Numbers: [21, 17] Generated Node #0,3,3: 38:[21, 17] Operation: 29-12=17 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 38:[21, 17], Operations: ['84/7=12', '29-12=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[7, 29, 21, 84], Operations: [] Exploring Operation: 84/7=12, Resulting Numbers: [29, 21, 12] Generated Node #0,3: 38:[29, 21, 12] Operation: 84/7=12 Moving to Node #0,3 Current State: 38:[29, 21, 12], Operations: ['84/7=12'] Exploring Operation: 29-12=17, Resulting Numbers: [21, 17] Generated Node #0,3,3: 38:[21, 17] Operation: 29-12=17 Moving to Node #0,3,3 Current State: 38:[21, 17], Operations: ['84/7=12', '29-12=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 8, 15, 8, 3 ]
73
[ "8+3=11", "8*11=88", "88-15=73" ]
Current State: 73:[8, 15, 8, 3], Operations: [] Exploring Operation: 8+3=11, Resulting Numbers: [15, 11] Generated Node #2: [15, 11] from Operation: 8+3=11 Current State: 73:[15, 11], Operations: ['8+3=11'] Exploring Operation: 8*11=88, Resulting Numbers: [15, 88] Generated Node #3: [15, 88] from Operation: 8*11=88 Current State: 73:[15, 88], Operations: ['8+3=11', '8*11=88'] Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[8, 15, 8, 3], Operations: [] Exploring Operation: 15*3=45, Resulting Numbers: [8, 8, 45] Generated Node #0,0: 73:[8, 8, 45] Operation: 15*3=45 Exploring Operation: 8*8=64, Resulting Numbers: [15, 3, 64] Generated Node #0,1: 73:[15, 3, 64] Operation: 8*8=64 Exploring Operation: 8*3=24, Resulting Numbers: [15, 8, 24] Generated Node #0,2: 73:[15, 8, 24] Operation: 8*3=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[15, 3, 64], Operations: ['8*8=64'] Exploring Operation: 3+64=67, Resulting Numbers: [15, 67] Generated Node #0,1,0: 73:[15, 67] Operation: 3+64=67 Exploring Operation: 15+3=18, Resulting Numbers: [64, 18] Generated Node #0,1,1: 73:[64, 18] Operation: 15+3=18 Exploring Operation: 15*3=45, Resulting Numbers: [64, 45] Generated Node #0,1,2: 73:[64, 45] Operation: 15*3=45 Moving to Node #0,1,2 Current State: 73:[64, 45], Operations: ['8*8=64', '15*3=45'] Exploring Operation: 64*45=2880, Resulting Numbers: [2880] 2880,73 unequal: No Solution Exploring Operation: 64+45=109, Resulting Numbers: [109] 109,73 unequal: No Solution Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[15, 67], Operations: ['8*8=64', '3+64=67'] Exploring Operation: 15+67=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 15*67=1005, Resulting Numbers: [1005] 1005,73 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[64, 18], Operations: ['8*8=64', '15+3=18'] Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 64*18=1152, Resulting Numbers: [1152] 1152,73 unequal: No Solution Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,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 Current State: 73:[8, 8, 45], Operations: ['15*3=45'] Exploring Operation: 8+8=16, Resulting Numbers: [45, 16] Generated Node #0,0,0: 73:[45, 16] Operation: 8+8=16 Exploring Operation: 8+45=53, Resulting Numbers: [8, 53] Generated Node #0,0,1: 73:[8, 53] Operation: 8+45=53 Exploring Operation: 8*8=64, Resulting Numbers: [45, 64] Generated Node #0,0,2: 73:[45, 64] Operation: 8*8=64 Moving to Node #0,0,2 Current State: 73:[45, 64], Operations: ['15*3=45', '8*8=64'] Exploring Operation: 45*64=2880, Resulting Numbers: [2880] 2880,73 unequal: No Solution Exploring Operation: 45+64=109, Resulting Numbers: [109] 109,73 unequal: No Solution Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[45, 16], Operations: ['15*3=45', '8+8=16'] Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,73 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 45*16=720, Resulting Numbers: [720] 720,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[8, 53], Operations: ['15*3=45', '8+45=53'] Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,73 unequal: No Solution Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,73 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[15, 8, 24], Operations: ['8*3=24'] Exploring Operation: 15+24=39, Resulting Numbers: [8, 39] Generated Node #0,2,0: 73:[8, 39] Operation: 15+24=39 Exploring Operation: 15+8=23, Resulting Numbers: [24, 23] Generated Node #0,2,1: 73:[24, 23] Operation: 15+8=23 Exploring Operation: 15*8=120, Resulting Numbers: [24, 120] Generated Node #0,2,2: 73:[24, 120] Operation: 15*8=120 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 73:[24, 120], Operations: ['8*3=24', '15*8=120'] Exploring Operation: 24+120=144, Resulting Numbers: [144] 144,73 unequal: No Solution Exploring Operation: 120-24=96, Resulting Numbers: [96] 96,73 unequal: No Solution Exploring Operation: 120/24=5, Resulting Numbers: [5] 5,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[8, 39], Operations: ['8*3=24', '15+24=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[24, 23], Operations: ['8*3=24', '15+8=23'] Exploring Operation: 24*23=552, Resulting Numbers: [552] 552,73 unequal: No Solution Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic