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
[ 76, 9, 73, 30 ]
13
[ "76-73=3", "9+30=39", "39/3=13" ]
Current State: 13:[76, 9, 73, 30], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [9, 30, 3] Generated Node #2: [9, 30, 3] from Operation: 76-73=3 Current State: 13:[9, 30, 3], Operations: ['76-73=3'] Exploring Operation: 9+30=39, Resulting Numbers: [3, 39] Generated Node #3: [3, 39] from Operation: 9+30=39 Current State: 13:[3, 39], Operations: ['76-73=3', '9+30=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[76, 9, 73, 30], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [9, 30, 3] Generated Node #0,0: 13:[9, 30, 3] Operation: 76-73=3 Exploring Operation: 76-30=46, Resulting Numbers: [9, 73, 46] Generated Node #0,1: 13:[9, 73, 46] Operation: 76-30=46 Moving to Node #0,0 Current State: 13:[9, 30, 3], Operations: ['76-73=3'] Exploring Operation: 30/3=10, Resulting Numbers: [9, 10] Generated Node #0,0,0: 13:[9, 10] Operation: 30/3=10 Exploring Operation: 30-9=21, Resulting Numbers: [3, 21] Generated Node #0,0,1: 13:[3, 21] Operation: 30-9=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[9, 10], Operations: ['76-73=3', '30/3=10'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[3, 21], Operations: ['76-73=3', '30-9=21'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 13:[9, 73, 46], Operations: ['76-30=46'] Exploring Operation: 73-9=64, Resulting Numbers: [46, 64] Generated Node #0,1,0: 13:[46, 64] Operation: 73-9=64 Exploring Operation: 73-46=27, Resulting Numbers: [9, 27] Generated Node #0,1,1: 13:[9, 27] Operation: 73-46=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[9, 27], Operations: ['76-30=46', '73-46=27'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[46, 64], Operations: ['76-30=46', '73-9=64'] Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,13 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,13 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
[ 61, 77, 16, 53 ]
54
[ "77-61=16", "16/16=1", "53+1=54" ]
Current State: 54:[61, 77, 16, 53], Operations: [] Exploring Operation: 77-61=16, Resulting Numbers: [16, 53, 16] Generated Node #2: [16, 53, 16] from Operation: 77-61=16 Current State: 54:[16, 53, 16], Operations: ['77-61=16'] Exploring Operation: 16/16=1, Resulting Numbers: [53, 1] Generated Node #3: [53, 1] from Operation: 16/16=1 Current State: 54:[53, 1], Operations: ['77-61=16', '16/16=1'] Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[61, 77, 16, 53], Operations: [] Exploring Operation: 77-61=16, Resulting Numbers: [16, 53, 16] Generated Node #0,0: 54:[16, 53, 16] Operation: 77-61=16 Exploring Operation: 61-53=8, Resulting Numbers: [77, 16, 8] Generated Node #0,1: 54:[77, 16, 8] Operation: 61-53=8 Exploring Operation: 77-16=61, Resulting Numbers: [61, 53, 61] Generated Node #0,2: 54:[61, 53, 61] Operation: 77-16=61 Exploring Operation: 77-53=24, Resulting Numbers: [61, 16, 24] Generated Node #0,3: 54:[61, 16, 24] Operation: 77-53=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[16, 53, 16], Operations: ['77-61=16'] Exploring Operation: 53-16=37, Resulting Numbers: [16, 37] Generated Node #0,0,0: 54:[16, 37] Operation: 53-16=37 Exploring Operation: 16+16=32, Resulting Numbers: [53, 32] Generated Node #0,0,1: 54:[53, 32] Operation: 16+16=32 Exploring Operation: 16/16=1, Resulting Numbers: [53, 1] Generated Node #0,0,2: 54:[53, 1] Operation: 16/16=1 Exploring Operation: 16-16=0, Resulting Numbers: [53, 0] Generated Node #0,0,3: 54:[53, 0] Operation: 16-16=0 Moving to Node #0,0,2 Current State: 54:[53, 1], Operations: ['77-61=16', '16/16=1'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,54 unequal: No Solution Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[61, 77, 16, 53], Operations: [] Exploring Operation: 77-61=16, Resulting Numbers: [16, 53, 16] Generated Node #0,0: 54:[16, 53, 16] Operation: 77-61=16 Moving to Node #0,0 Current State: 54:[16, 53, 16], Operations: ['77-61=16'] Exploring Operation: 16/16=1, Resulting Numbers: [53, 1] Generated Node #0,0,2: 54:[53, 1] Operation: 16/16=1 Moving to Node #0,0,2 Current State: 54:[53, 1], Operations: ['77-61=16', '16/16=1'] Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 91, 37, 76, 93 ]
71
[ "91-37=54", "93-76=17", "54+17=71" ]
Current State: 71:[91, 37, 76, 93], Operations: [] Exploring Operation: 91-37=54, Resulting Numbers: [76, 93, 54] Generated Node #2: [76, 93, 54] from Operation: 91-37=54 Current State: 71:[76, 93, 54], Operations: ['91-37=54'] Exploring Operation: 93-76=17, Resulting Numbers: [54, 17] Generated Node #3: [54, 17] from Operation: 93-76=17 Current State: 71:[54, 17], Operations: ['91-37=54', '93-76=17'] Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[91, 37, 76, 93], Operations: [] Exploring Operation: 76-37=39, Resulting Numbers: [91, 93, 39] Generated Node #0,0: 71:[91, 93, 39] Operation: 76-37=39 Exploring Operation: 93-37=56, Resulting Numbers: [91, 76, 56] Generated Node #0,1: 71:[91, 76, 56] Operation: 93-37=56 Exploring Operation: 91-37=54, Resulting Numbers: [76, 93, 54] Generated Node #0,2: 71:[76, 93, 54] Operation: 91-37=54 Exploring Operation: 91+37=128, Resulting Numbers: [76, 93, 128] Generated Node #0,3: 71:[76, 93, 128] Operation: 91+37=128 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[91, 76, 56], Operations: ['93-37=56'] Exploring Operation: 91-56=35, Resulting Numbers: [76, 35] Generated Node #0,1,0: 71:[76, 35] Operation: 91-56=35 Exploring Operation: 91+56=147, Resulting Numbers: [76, 147] Generated Node #0,1,1: 71:[76, 147] Operation: 91+56=147 Exploring Operation: 76-56=20, Resulting Numbers: [91, 20] Generated Node #0,1,2: 71:[91, 20] Operation: 76-56=20 Exploring Operation: 91-76=15, Resulting Numbers: [56, 15] Generated Node #0,1,3: 71:[56, 15] Operation: 91-76=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[76, 35], Operations: ['93-37=56', '91-56=35'] Exploring Operation: 76*35=2660, Resulting Numbers: [2660] 2660,71 unequal: No Solution Exploring Operation: 76+35=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[91, 20], Operations: ['93-37=56', '76-56=20'] Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[91, 37, 76, 93], Operations: [] Exploring Operation: 93-37=56, Resulting Numbers: [91, 76, 56] Generated Node #0,1: 71:[91, 76, 56] Operation: 93-37=56 Moving to Node #0,1 Current State: 71:[91, 76, 56], Operations: ['93-37=56'] Exploring Operation: 76-56=20, Resulting Numbers: [91, 20] Generated Node #0,1,2: 71:[91, 20] Operation: 76-56=20 Moving to Node #0,1,2 Current State: 71:[91, 20], Operations: ['93-37=56', '76-56=20'] Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 11, 28, 14, 7 ]
98
[ "11-7=4", "28*14=392", "392/4=98" ]
Current State: 98:[11, 28, 14, 7], Operations: [] Exploring Operation: 11-7=4, Resulting Numbers: [28, 14, 4] Generated Node #2: [28, 14, 4] from Operation: 11-7=4 Current State: 98:[28, 14, 4], Operations: ['11-7=4'] Exploring Operation: 28*14=392, Resulting Numbers: [4, 392] Generated Node #3: [4, 392] from Operation: 28*14=392 Current State: 98:[4, 392], Operations: ['11-7=4', '28*14=392'] Exploring Operation: 392/4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[11, 28, 14, 7], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [11, 7, 2] Generated Node #0,0: 98:[11, 7, 2] Operation: 28/14=2 Exploring Operation: 28/7=4, Resulting Numbers: [11, 14, 4] Generated Node #0,1: 98:[11, 14, 4] Operation: 28/7=4 Exploring Operation: 28-14=14, Resulting Numbers: [11, 7, 14] Generated Node #0,2: 98:[11, 7, 14] Operation: 28-14=14 Exploring Operation: 28-11=17, Resulting Numbers: [14, 7, 17] Generated Node #0,3: 98:[14, 7, 17] Operation: 28-11=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[11, 7, 2], Operations: ['28/14=2'] Exploring Operation: 11-7=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 98:[2, 4] Operation: 11-7=4 Exploring Operation: 11+2=13, Resulting Numbers: [7, 13] Generated Node #0,0,1: 98:[7, 13] Operation: 11+2=13 Exploring Operation: 11-2=9, Resulting Numbers: [7, 9] Generated Node #0,0,2: 98:[7, 9] Operation: 11-2=9 Exploring Operation: 7*2=14, Resulting Numbers: [11, 14] Generated Node #0,0,3: 98:[11, 14] Operation: 7*2=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[7, 13], Operations: ['28/14=2', '11+2=13'] Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[2, 4], Operations: ['28/14=2', '11-7=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 98:[7, 9], Operations: ['28/14=2', '11-2=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 98:[11, 14], Operations: ['28/14=2', '7*2=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,98 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[11, 7, 14], Operations: ['28-14=14'] Exploring Operation: 14-7=7, Resulting Numbers: [11, 7] Generated Node #0,2,0: 98:[11, 7] Operation: 14-7=7 Exploring Operation: 11-7=4, Resulting Numbers: [14, 4] Generated Node #0,2,1: 98:[14, 4] Operation: 11-7=4 Exploring Operation: 7*14=98, Resulting Numbers: [11, 98] Generated Node #0,2,2: 98:[11, 98] Operation: 7*14=98 Exploring Operation: 14-11=3, Resulting Numbers: [7, 3] Generated Node #0,2,3: 98:[7, 3] Operation: 14-11=3 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 98:[7, 3], Operations: ['28-14=14', '14-11=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,98 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 98:[14, 4], Operations: ['28-14=14', '11-7=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 98:[11, 7], Operations: ['28-14=14', '14-7=7'] Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,98 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,98 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 98:[11, 98], Operations: ['28-14=14', '7*14=98'] Exploring Operation: 11+98=109, Resulting Numbers: [109] 109,98 unequal: No Solution Exploring Operation: 98-11=87, Resulting Numbers: [87] 87,98 unequal: No Solution Exploring Operation: 11*98=1078, Resulting Numbers: [1078] 1078,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[14, 7, 17], Operations: ['28-11=17'] Exploring Operation: 14*7=98, Resulting Numbers: [17, 98] Generated Node #0,3,0: 98:[17, 98] Operation: 14*7=98 Exploring Operation: 14-7=7, Resulting Numbers: [17, 7] Generated Node #0,3,1: 98:[17, 7] Operation: 14-7=7 Exploring Operation: 17-14=3, Resulting Numbers: [7, 3] Generated Node #0,3,2: 98:[7, 3] Operation: 17-14=3 Exploring Operation: 14/7=2, Resulting Numbers: [17, 2] Generated Node #0,3,3: 98:[17, 2] Operation: 14/7=2 Moving to Node #0,3,2 Current State: 98:[7, 3], Operations: ['28-11=17', '17-14=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,98 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[17, 7], Operations: ['28-11=17', '14-7=7'] Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,98 unequal: No Solution Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,98 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[17, 98], Operations: ['28-11=17', '14*7=98'] Exploring Operation: 17+98=115, Resulting Numbers: [115] 115,98 unequal: No Solution Exploring Operation: 17*98=1666, Resulting Numbers: [1666] 1666,98 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[17, 2], Operations: ['28-11=17', '14/7=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,98 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,98 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[11, 14, 4], Operations: ['28/7=4'] Exploring Operation: 11-4=7, Resulting Numbers: [14, 7] Generated Node #0,1,0: 98:[14, 7] Operation: 11-4=7 Exploring Operation: 11+4=15, Resulting Numbers: [14, 15] Generated Node #0,1,1: 98:[14, 15] Operation: 11+4=15 Exploring Operation: 14-11=3, Resulting Numbers: [4, 3] Generated Node #0,1,2: 98:[4, 3] Operation: 14-11=3 Exploring Operation: 11*4=44, Resulting Numbers: [14, 44] Generated Node #0,1,3: 98:[14, 44] Operation: 11*4=44 Moving to Node #0,1,0 Current State: 98:[14, 7], Operations: ['28/7=4', '11-4=7'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,98 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[11, 28, 14, 7], Operations: [] Exploring Operation: 28/7=4, Resulting Numbers: [11, 14, 4] Generated Node #0,1: 98:[11, 14, 4] Operation: 28/7=4 Moving to Node #0,1 Current State: 98:[11, 14, 4], Operations: ['28/7=4'] Exploring Operation: 11-4=7, Resulting Numbers: [14, 7] Generated Node #0,1,0: 98:[14, 7] Operation: 11-4=7 Moving to Node #0,1,0 Current State: 98:[14, 7], Operations: ['28/7=4', '11-4=7'] Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.944444
hs_4
sum_heuristic
[ 45, 31, 38, 67 ]
90
[ "31+38=69", "69-67=2", "45*2=90" ]
Current State: 90:[45, 31, 38, 67], Operations: [] Exploring Operation: 31+38=69, Resulting Numbers: [45, 67, 69] Generated Node #2: [45, 67, 69] from Operation: 31+38=69 Current State: 90:[45, 67, 69], Operations: ['31+38=69'] Exploring Operation: 69-67=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 69-67=2 Current State: 90:[45, 2], Operations: ['31+38=69', '69-67=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[45, 31, 38, 67], Operations: [] Exploring Operation: 67-38=29, Resulting Numbers: [45, 31, 29] Generated Node #0,0: 90:[45, 31, 29] Operation: 67-38=29 Exploring Operation: 67-45=22, Resulting Numbers: [31, 38, 22] Generated Node #0,1: 90:[31, 38, 22] Operation: 67-45=22 Moving to Node #0,0 Current State: 90:[45, 31, 29], Operations: ['67-38=29'] Exploring Operation: 45-31=14, Resulting Numbers: [29, 14] Generated Node #0,0,0: 90:[29, 14] Operation: 45-31=14 Exploring Operation: 31-29=2, Resulting Numbers: [45, 2] Generated Node #0,0,1: 90:[45, 2] Operation: 31-29=2 Moving to Node #0,1 Current State: 90:[31, 38, 22], Operations: ['67-45=22'] Exploring Operation: 38-22=16, Resulting Numbers: [31, 16] Generated Node #0,1,0: 90:[31, 16] Operation: 38-22=16 Exploring Operation: 38-31=7, Resulting Numbers: [22, 7] Generated Node #0,1,1: 90:[22, 7] Operation: 38-31=7 Moving to Node #0,0,1 Current State: 90:[45, 2], Operations: ['67-38=29', '31-29=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[45, 31, 38, 67], Operations: [] Exploring Operation: 67-38=29, Resulting Numbers: [45, 31, 29] Generated Node #0,0: 90:[45, 31, 29] Operation: 67-38=29 Moving to Node #0,0 Current State: 90:[45, 31, 29], Operations: ['67-38=29'] Exploring Operation: 31-29=2, Resulting Numbers: [45, 2] Generated Node #0,0,1: 90:[45, 2] Operation: 31-29=2 Moving to Node #0,0,1 Current State: 90:[45, 2], Operations: ['67-38=29', '31-29=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 48, 44, 66, 30 ]
12
[ "48-30=18", "44*18=792", "792/66=12" ]
Current State: 12:[48, 44, 66, 30], Operations: [] Exploring Operation: 48-30=18, Resulting Numbers: [44, 66, 18] Generated Node #2: [44, 66, 18] from Operation: 48-30=18 Current State: 12:[44, 66, 18], Operations: ['48-30=18'] Exploring Operation: 44*18=792, Resulting Numbers: [66, 792] Generated Node #3: [66, 792] from Operation: 44*18=792 Current State: 12:[66, 792], Operations: ['48-30=18', '44*18=792'] Exploring Operation: 792/66=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[48, 44, 66, 30], Operations: [] Exploring Operation: 66-48=18, Resulting Numbers: [44, 30, 18] Generated Node #0,0: 12:[44, 30, 18] Operation: 66-48=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[44, 30, 18], Operations: ['66-48=18'] Exploring Operation: 44-30=14, Resulting Numbers: [18, 14] Generated Node #0,0,0: 12:[18, 14] Operation: 44-30=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[18, 14], Operations: ['66-48=18', '44-30=14'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 8, 82, 6, 94 ]
26
[ "82-8=74", "6+94=100", "100-74=26" ]
Current State: 26:[8, 82, 6, 94], Operations: [] Exploring Operation: 82-8=74, Resulting Numbers: [6, 94, 74] Generated Node #2: [6, 94, 74] from Operation: 82-8=74 Current State: 26:[6, 94, 74], Operations: ['82-8=74'] Exploring Operation: 6+94=100, Resulting Numbers: [74, 100] Generated Node #3: [74, 100] from Operation: 6+94=100 Current State: 26:[74, 100], Operations: ['82-8=74', '6+94=100'] Exploring Operation: 100-74=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[8, 82, 6, 94], Operations: [] Exploring Operation: 94-82=12, Resulting Numbers: [8, 6, 12] Generated Node #0,0: 26:[8, 6, 12] Operation: 94-82=12 Moving to Node #0,0 Current State: 26:[8, 6, 12], Operations: ['94-82=12'] Exploring Operation: 8-6=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 26:[12, 2] Operation: 8-6=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[12, 2], Operations: ['94-82=12', '8-6=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,26 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
[ 27, 77, 13, 32 ]
40
[ "27+77=104", "104/13=8", "32+8=40" ]
Current State: 40:[27, 77, 13, 32], Operations: [] Exploring Operation: 27+77=104, Resulting Numbers: [13, 32, 104] Generated Node #2: [13, 32, 104] from Operation: 27+77=104 Current State: 40:[13, 32, 104], Operations: ['27+77=104'] Exploring Operation: 104/13=8, Resulting Numbers: [32, 8] Generated Node #3: [32, 8] from Operation: 104/13=8 Current State: 40:[32, 8], Operations: ['27+77=104', '104/13=8'] Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[27, 77, 13, 32], Operations: [] Exploring Operation: 77-32=45, Resulting Numbers: [27, 13, 45] Generated Node #0,0: 40:[27, 13, 45] Operation: 77-32=45 Exploring Operation: 77-27=50, Resulting Numbers: [13, 32, 50] Generated Node #0,1: 40:[13, 32, 50] Operation: 77-27=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[27, 13, 45], Operations: ['77-32=45'] Exploring Operation: 27+13=40, Resulting Numbers: [45, 40] Generated Node #0,0,0: 40:[45, 40] Operation: 27+13=40 Exploring Operation: 45-27=18, Resulting Numbers: [13, 18] Generated Node #0,0,1: 40:[13, 18] Operation: 45-27=18 Moving to Node #0,0,0 Current State: 40:[45, 40], Operations: ['77-32=45', '27+13=40'] Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[13, 18], Operations: ['77-32=45', '45-27=18'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[13, 32, 50], Operations: ['77-27=50'] Exploring Operation: 50-32=18, Resulting Numbers: [13, 18] Generated Node #0,1,0: 40:[13, 18] Operation: 50-32=18 Exploring Operation: 32-13=19, Resulting Numbers: [50, 19] Generated Node #0,1,1: 40:[50, 19] Operation: 32-13=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[13, 18], Operations: ['77-27=50', '50-32=18'] Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,40 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,40 unequal: No Solution No 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: 40:[50, 19], Operations: ['77-27=50', '32-13=19'] Exploring Operation: 50+19=69, Resulting Numbers: [69] 69,40 unequal: No Solution Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,40 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
[ 56, 31, 13, 33 ]
15
[ "33-31=2", "56/2=28", "28-13=15" ]
Current State: 15:[56, 31, 13, 33], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [56, 13, 2] Generated Node #2: [56, 13, 2] from Operation: 33-31=2 Current State: 15:[56, 13, 2], Operations: ['33-31=2'] Exploring Operation: 56/2=28, Resulting Numbers: [13, 28] Generated Node #3: [13, 28] from Operation: 56/2=28 Current State: 15:[13, 28], Operations: ['33-31=2', '56/2=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[56, 31, 13, 33], Operations: [] Exploring Operation: 31-13=18, Resulting Numbers: [56, 33, 18] Generated Node #0,0: 15:[56, 33, 18] Operation: 31-13=18 Exploring Operation: 56-31=25, Resulting Numbers: [13, 33, 25] Generated Node #0,1: 15:[13, 33, 25] Operation: 56-31=25 Exploring Operation: 56-13=43, Resulting Numbers: [31, 33, 43] Generated Node #0,2: 15:[31, 33, 43] Operation: 56-13=43 Exploring Operation: 56-33=23, Resulting Numbers: [31, 13, 23] Generated Node #0,3: 15:[31, 13, 23] Operation: 56-33=23 Exploring Operation: 33-31=2, Resulting Numbers: [56, 13, 2] Generated Node #0,4: 15:[56, 13, 2] Operation: 33-31=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[31, 13, 23], Operations: ['56-33=23'] Exploring Operation: 31+13=44, Resulting Numbers: [23, 44] Generated Node #0,3,0: 15:[23, 44] Operation: 31+13=44 Exploring Operation: 31-23=8, Resulting Numbers: [13, 8] Generated Node #0,3,1: 15:[13, 8] Operation: 31-23=8 Exploring Operation: 31-13=18, Resulting Numbers: [23, 18] Generated Node #0,3,2: 15:[23, 18] Operation: 31-13=18 Exploring Operation: 23-13=10, Resulting Numbers: [31, 10] Generated Node #0,3,3: 15:[31, 10] Operation: 23-13=10 Exploring Operation: 13+23=36, Resulting Numbers: [31, 36] Generated Node #0,3,4: 15:[31, 36] Operation: 13+23=36 Moving to Node #0,3,1 Current State: 15:[13, 8], Operations: ['56-33=23', '31-23=8'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,15 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[23, 18], Operations: ['56-33=23', '31-13=18'] Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,15 unequal: No Solution Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,15 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[31, 10], Operations: ['56-33=23', '23-13=10'] Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,15 unequal: No Solution Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,15 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[23, 44], Operations: ['56-33=23', '31+13=44'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,15 unequal: No Solution Moving to Node #0,3,4 Current State: 15:[31, 36], Operations: ['56-33=23', '13+23=36'] Exploring Operation: 31*36=1116, Resulting Numbers: [1116] 1116,15 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[13, 33, 25], Operations: ['56-31=25'] Exploring Operation: 13+33=46, Resulting Numbers: [25, 46] Generated Node #0,1,0: 15:[25, 46] Operation: 13+33=46 Exploring Operation: 25-13=12, Resulting Numbers: [33, 12] Generated Node #0,1,1: 15:[33, 12] Operation: 25-13=12 Exploring Operation: 33-25=8, Resulting Numbers: [13, 8] Generated Node #0,1,2: 15:[13, 8] Operation: 33-25=8 Exploring Operation: 33-13=20, Resulting Numbers: [25, 20] Generated Node #0,1,3: 15:[25, 20] Operation: 33-13=20 Exploring Operation: 13+25=38, Resulting Numbers: [33, 38] Generated Node #0,1,4: 15:[33, 38] Operation: 13+25=38 Moving to Node #0,1,2 Current State: 15:[13, 8], Operations: ['56-31=25', '33-25=8'] Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,15 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[25, 20], Operations: ['56-31=25', '33-13=20'] Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,15 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[33, 12], Operations: ['56-31=25', '25-13=12'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,15 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[25, 46], Operations: ['56-31=25', '13+33=46'] Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,15 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,15 unequal: No Solution Moving to Node #0,1,4 Current State: 15:[33, 38], Operations: ['56-31=25', '13+25=38'] Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,15 unequal: No Solution No 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: 15:[56, 13, 2], Operations: ['33-31=2'] Exploring Operation: 56+2=58, Resulting Numbers: [13, 58] Generated Node #0,4,0: 15:[13, 58] Operation: 56+2=58 Exploring Operation: 56-2=54, Resulting Numbers: [13, 54] Generated Node #0,4,1: 15:[13, 54] Operation: 56-2=54 Exploring Operation: 56/2=28, Resulting Numbers: [13, 28] Generated Node #0,4,2: 15:[13, 28] Operation: 56/2=28 Exploring Operation: 13+2=15, Resulting Numbers: [56, 15] Generated Node #0,4,3: 15:[56, 15] Operation: 13+2=15 Exploring Operation: 56-13=43, Resulting Numbers: [2, 43] Generated Node #0,4,4: 15:[2, 43] Operation: 56-13=43 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 15:[13, 28], Operations: ['33-31=2', '56/2=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[56, 31, 13, 33], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [56, 13, 2] Generated Node #0,4: 15:[56, 13, 2] Operation: 33-31=2 Moving to Node #0,4 Current State: 15:[56, 13, 2], Operations: ['33-31=2'] Exploring Operation: 56/2=28, Resulting Numbers: [13, 28] Generated Node #0,4,2: 15:[13, 28] Operation: 56/2=28 Moving to Node #0,4,2 Current State: 15:[13, 28], Operations: ['33-31=2', '56/2=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.952257
hs_5
sum_heuristic
[ 45, 35, 5, 25 ]
30
[ "45-35=10", "25-5=20", "10+20=30" ]
Current State: 30:[45, 35, 5, 25], Operations: [] Exploring Operation: 45-35=10, Resulting Numbers: [5, 25, 10] Generated Node #2: [5, 25, 10] from Operation: 45-35=10 Current State: 30:[5, 25, 10], Operations: ['45-35=10'] Exploring Operation: 25-5=20, Resulting Numbers: [10, 20] Generated Node #3: [10, 20] from Operation: 25-5=20 Current State: 30:[10, 20], Operations: ['45-35=10', '25-5=20'] Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[45, 35, 5, 25], Operations: [] Exploring Operation: 45-25=20, Resulting Numbers: [35, 5, 20] Generated Node #0,0: 30:[35, 5, 20] Operation: 45-25=20 Exploring Operation: 45-35=10, Resulting Numbers: [5, 25, 10] Generated Node #0,1: 30:[5, 25, 10] Operation: 45-35=10 Moving to Node #0,1 Current State: 30:[5, 25, 10], Operations: ['45-35=10'] Exploring Operation: 25/5=5, Resulting Numbers: [10, 5] Generated Node #0,1,0: 30:[10, 5] Operation: 25/5=5 Exploring Operation: 5+25=30, Resulting Numbers: [10, 30] Generated Node #0,1,1: 30:[10, 30] Operation: 5+25=30 Moving to Node #0,0 Current State: 30:[35, 5, 20], Operations: ['45-25=20'] Exploring Operation: 35-20=15, Resulting Numbers: [5, 15] Generated Node #0,0,0: 30:[5, 15] Operation: 35-20=15 Exploring Operation: 35-5=30, Resulting Numbers: [20, 30] Generated Node #0,0,1: 30:[20, 30] Operation: 35-5=30 Moving to Node #0,1,0 Current State: 30:[10, 5], Operations: ['45-35=10', '25/5=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[5, 15], Operations: ['45-25=20', '35-20=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[10, 30], Operations: ['45-35=10', '5+25=30'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[20, 30], Operations: ['45-25=20', '35-5=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,30 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 46, 47, 83, 33 ]
49
[ "47-46=1", "83-33=50", "50-1=49" ]
Current State: 49:[46, 47, 83, 33], Operations: [] Exploring Operation: 47-46=1, Resulting Numbers: [83, 33, 1] Generated Node #2: [83, 33, 1] from Operation: 47-46=1 Current State: 49:[83, 33, 1], Operations: ['47-46=1'] Exploring Operation: 83-33=50, Resulting Numbers: [1, 50] Generated Node #3: [1, 50] from Operation: 83-33=50 Current State: 49:[1, 50], Operations: ['47-46=1', '83-33=50'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[46, 47, 83, 33], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [46, 47, 50] Generated Node #0,0: 49:[46, 47, 50] Operation: 83-33=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[46, 47, 50], Operations: ['83-33=50'] Exploring Operation: 50-46=4, Resulting Numbers: [47, 4] Generated Node #0,0,0: 49:[47, 4] Operation: 50-46=4 Moving to Node #0,0,0 Current State: 49:[47, 4], Operations: ['83-33=50', '50-46=4'] Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,49 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, 69, 58, 63 ]
96
[ "69-44=25", "58+63=121", "121-25=96" ]
Current State: 96:[44, 69, 58, 63], Operations: [] Exploring Operation: 69-44=25, Resulting Numbers: [58, 63, 25] Generated Node #2: [58, 63, 25] from Operation: 69-44=25 Current State: 96:[58, 63, 25], Operations: ['69-44=25'] Exploring Operation: 58+63=121, Resulting Numbers: [25, 121] Generated Node #3: [25, 121] from Operation: 58+63=121 Current State: 96:[25, 121], Operations: ['69-44=25', '58+63=121'] Exploring Operation: 121-25=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[44, 69, 58, 63], Operations: [] Exploring Operation: 63-44=19, Resulting Numbers: [69, 58, 19] Generated Node #0,0: 96:[69, 58, 19] Operation: 63-44=19 Exploring Operation: 69-63=6, Resulting Numbers: [44, 58, 6] Generated Node #0,1: 96:[44, 58, 6] Operation: 69-63=6 Exploring Operation: 69-44=25, Resulting Numbers: [58, 63, 25] Generated Node #0,2: 96:[58, 63, 25] Operation: 69-44=25 Exploring Operation: 63-58=5, Resulting Numbers: [44, 69, 5] Generated Node #0,3: 96:[44, 69, 5] Operation: 63-58=5 Exploring Operation: 69-58=11, Resulting Numbers: [44, 63, 11] Generated Node #0,4: 96:[44, 63, 11] Operation: 69-58=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[44, 58, 6], Operations: ['69-63=6'] Exploring Operation: 58-44=14, Resulting Numbers: [6, 14] Generated Node #0,1,0: 96:[6, 14] Operation: 58-44=14 Exploring Operation: 44-6=38, Resulting Numbers: [58, 38] Generated Node #0,1,1: 96:[58, 38] Operation: 44-6=38 Exploring Operation: 58-6=52, Resulting Numbers: [44, 52] Generated Node #0,1,2: 96:[44, 52] Operation: 58-6=52 Exploring Operation: 44+6=50, Resulting Numbers: [58, 50] Generated Node #0,1,3: 96:[58, 50] Operation: 44+6=50 Exploring Operation: 44+58=102, Resulting Numbers: [6, 102] Generated Node #0,1,4: 96:[6, 102] Operation: 44+58=102 Moving to Node #0,1,0 Current State: 96:[6, 14], Operations: ['69-63=6', '58-44=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,96 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,96 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,96 unequal: No Solution Moving to Node #0,1,4 Current State: 96:[6, 102], Operations: ['69-63=6', '44+58=102'] Exploring Operation: 6*102=612, Resulting Numbers: [612] 612,96 unequal: No Solution Exploring Operation: 102/6=17, Resulting Numbers: [17] 17,96 unequal: No Solution Exploring Operation: 102-6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[44, 69, 58, 63], Operations: [] Exploring Operation: 69-63=6, Resulting Numbers: [44, 58, 6] Generated Node #0,1: 96:[44, 58, 6] Operation: 69-63=6 Moving to Node #0,1 Current State: 96:[44, 58, 6], Operations: ['69-63=6'] Exploring Operation: 44+58=102, Resulting Numbers: [6, 102] Generated Node #0,1,4: 96:[6, 102] Operation: 44+58=102 Moving to Node #0,1,4 Current State: 96:[6, 102], Operations: ['69-63=6', '44+58=102'] Exploring Operation: 102-6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 6, 24, 42, 12 ]
29
[ "42/6=7", "24+12=36", "36-7=29" ]
Current State: 29:[6, 24, 42, 12], Operations: [] Exploring Operation: 42/6=7, Resulting Numbers: [24, 12, 7] Generated Node #2: [24, 12, 7] from Operation: 42/6=7 Current State: 29:[24, 12, 7], Operations: ['42/6=7'] Exploring Operation: 24+12=36, Resulting Numbers: [7, 36] Generated Node #3: [7, 36] from Operation: 24+12=36 Current State: 29:[7, 36], Operations: ['42/6=7', '24+12=36'] Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[6, 24, 42, 12], Operations: [] Exploring Operation: 24-6=18, Resulting Numbers: [42, 12, 18] Generated Node #0,0: 29:[42, 12, 18] Operation: 24-6=18 Exploring Operation: 6+24=30, Resulting Numbers: [42, 12, 30] Generated Node #0,1: 29:[42, 12, 30] Operation: 6+24=30 Exploring Operation: 42-12=30, Resulting Numbers: [6, 24, 30] Generated Node #0,2: 29:[6, 24, 30] Operation: 42-12=30 Exploring Operation: 42-6=36, Resulting Numbers: [24, 12, 36] Generated Node #0,3: 29:[24, 12, 36] Operation: 42-6=36 Exploring Operation: 6+12=18, Resulting Numbers: [24, 42, 18] Generated Node #0,4: 29:[24, 42, 18] Operation: 6+12=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[6, 24, 30], Operations: ['42-12=30'] Exploring Operation: 24/6=4, Resulting Numbers: [30, 4] Generated Node #0,2,0: 29:[30, 4] Operation: 24/6=4 Exploring Operation: 6+24=30, Resulting Numbers: [30, 30] Generated Node #0,2,1: 29:[30, 30] Operation: 6+24=30 Exploring Operation: 24-6=18, Resulting Numbers: [30, 18] Generated Node #0,2,2: 29:[30, 18] Operation: 24-6=18 Exploring Operation: 6+30=36, Resulting Numbers: [24, 36] Generated Node #0,2,3: 29:[24, 36] Operation: 6+30=36 Exploring Operation: 30-6=24, Resulting Numbers: [24, 24] Generated Node #0,2,4: 29:[24, 24] Operation: 30-6=24 Moving to Node #0,2,1 Current State: 29:[30, 30], Operations: ['42-12=30', '6+24=30'] Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,29 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,29 unequal: No Solution Moving to Node #0,2,4 Current State: 29:[24, 24], Operations: ['42-12=30', '30-6=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[30, 18], Operations: ['42-12=30', '24-6=18'] Exploring Operation: 30*18=540, Resulting Numbers: [540] 540,29 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[24, 36], Operations: ['42-12=30', '6+30=36'] Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[30, 4], Operations: ['42-12=30', '24/6=4'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,29 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[24, 12, 36], Operations: ['42-6=36'] Exploring Operation: 36-12=24, Resulting Numbers: [24, 24] Generated Node #0,3,0: 29:[24, 24] Operation: 36-12=24 Exploring Operation: 24-12=12, Resulting Numbers: [36, 12] Generated Node #0,3,1: 29:[36, 12] Operation: 24-12=12 Exploring Operation: 36/12=3, Resulting Numbers: [24, 3] Generated Node #0,3,2: 29:[24, 3] Operation: 36/12=3 Exploring Operation: 24+12=36, Resulting Numbers: [36, 36] Generated Node #0,3,3: 29:[36, 36] Operation: 24+12=36 Exploring Operation: 12+36=48, Resulting Numbers: [24, 48] Generated Node #0,3,4: 29:[24, 48] Operation: 12+36=48 Moving to Node #0,3,0 Current State: 29:[24, 24], Operations: ['42-6=36', '36-12=24'] Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,29 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[36, 36], Operations: ['42-6=36', '24+12=36'] Exploring Operation: 36*36=1296, Resulting Numbers: [1296] 1296,29 unequal: No Solution Exploring Operation: 36+36=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 36-36=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 36/36=1, Resulting Numbers: [1] 1,29 unequal: No Solution Moving to Node #0,3,1 Current State: 29:[36, 12], Operations: ['42-6=36', '24-12=12'] Exploring Operation: 36+12=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 36*12=432, Resulting Numbers: [432] 432,29 unequal: No Solution Moving to Node #0,3,4 Current State: 29:[24, 48], Operations: ['42-6=36', '12+36=48'] Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 24*48=1152, Resulting Numbers: [1152] 1152,29 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,29 unequal: No Solution Moving to Node #0,3,2 Current State: 29:[24, 3], Operations: ['42-6=36', '36/12=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 29:[24, 42, 18], Operations: ['6+12=18'] Exploring Operation: 24-18=6, Resulting Numbers: [42, 6] Generated Node #0,4,0: 29:[42, 6] Operation: 24-18=6 Exploring Operation: 42-18=24, Resulting Numbers: [24, 24] Generated Node #0,4,1: 29:[24, 24] Operation: 42-18=24 Exploring Operation: 42-24=18, Resulting Numbers: [18, 18] Generated Node #0,4,2: 29:[18, 18] Operation: 42-24=18 Exploring Operation: 24+18=42, Resulting Numbers: [42, 42] Generated Node #0,4,3: 29:[42, 42] Operation: 24+18=42 Exploring Operation: 42+18=60, Resulting Numbers: [24, 60] Generated Node #0,4,4: 29:[24, 60] Operation: 42+18=60 Moving to Node #0,4,1 Current State: 29:[24, 24], Operations: ['6+12=18', '42-18=24'] Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,29 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,29 unequal: No Solution Moving to Node #0,4,2 Current State: 29:[18, 18], Operations: ['6+12=18', '42-24=18'] Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,29 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,29 unequal: No Solution Moving to Node #0,4,3 Current State: 29:[42, 42], Operations: ['6+12=18', '24+18=42'] Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,29 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,29 unequal: No Solution Moving to Node #0,4,0 Current State: 29:[42, 6], Operations: ['6+12=18', '24-18=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,29 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,29 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,29 unequal: No Solution Moving to Node #0,4,4 Current State: 29:[24, 60], Operations: ['6+12=18', '42+18=60'] Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,29 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[42, 12, 30], Operations: ['6+24=30'] Exploring Operation: 12+30=42, Resulting Numbers: [42, 42] Generated Node #0,1,0: 29:[42, 42] Operation: 12+30=42 Exploring Operation: 30-12=18, Resulting Numbers: [42, 18] Generated Node #0,1,1: 29:[42, 18] Operation: 30-12=18 Exploring Operation: 42-30=12, Resulting Numbers: [12, 12] Generated Node #0,1,2: 29:[12, 12] Operation: 42-30=12 Exploring Operation: 42+12=54, Resulting Numbers: [30, 54] Generated Node #0,1,3: 29:[30, 54] Operation: 42+12=54 Exploring Operation: 42-12=30, Resulting Numbers: [30, 30] Generated Node #0,1,4: 29:[30, 30] Operation: 42-12=30 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 29:[30, 30], Operations: ['6+24=30', '42-12=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[42, 18], Operations: ['6+24=30', '30-12=18'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 42+18=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 42*18=756, Resulting Numbers: [756] 756,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[42, 42], Operations: ['6+24=30', '12+30=42'] Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,29 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 29:[30, 54], Operations: ['6+24=30', '42+12=54'] Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 30*54=1620, Resulting Numbers: [1620] 1620,29 unequal: No Solution Exploring Operation: 30+54=84, Resulting Numbers: [84] 84,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 29:[12, 12], Operations: ['6+24=30', '42-30=12'] Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,29 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[42, 12, 18], Operations: ['24-6=18'] Exploring Operation: 42-18=24, Resulting Numbers: [12, 24] Generated Node #0,0,0: 29:[12, 24] Operation: 42-18=24 Exploring Operation: 18-12=6, Resulting Numbers: [42, 6] Generated Node #0,0,1: 29:[42, 6] Operation: 18-12=6 Exploring Operation: 12+18=30, Resulting Numbers: [42, 30] Generated Node #0,0,2: 29:[42, 30] Operation: 12+18=30 Exploring Operation: 42+12=54, Resulting Numbers: [18, 54] Generated Node #0,0,3: 29:[18, 54] Operation: 42+12=54 Exploring Operation: 42-12=30, Resulting Numbers: [18, 30] Generated Node #0,0,4: 29:[18, 30] Operation: 42-12=30 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 29:[18, 30], Operations: ['24-6=18', '42-12=30'] Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,29 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 29:[42, 30], Operations: ['24-6=18', '12+18=30'] Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[12, 24], Operations: ['24-6=18', '42-18=24'] Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 12*24=288, Resulting Numbers: [288] 288,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[42, 6], Operations: ['24-6=18', '18-12=6'] Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,29 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,29 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 29:[18, 54], Operations: ['24-6=18', '42+12=54'] Exploring Operation: 18*54=972, Resulting Numbers: [972] 972,29 unequal: No Solution Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 93, 41, 15, 6 ]
87
[ "41*15=615", "615-93=522", "522/6=87" ]
Current State: 87:[93, 41, 15, 6], Operations: [] Exploring Operation: 41*15=615, Resulting Numbers: [93, 6, 615] Generated Node #2: [93, 6, 615] from Operation: 41*15=615 Current State: 87:[93, 6, 615], Operations: ['41*15=615'] Exploring Operation: 615-93=522, Resulting Numbers: [6, 522] Generated Node #3: [6, 522] from Operation: 615-93=522 Current State: 87:[6, 522], Operations: ['41*15=615', '615-93=522'] Exploring Operation: 522/6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[93, 41, 15, 6], Operations: [] Exploring Operation: 41-15=26, Resulting Numbers: [93, 6, 26] Generated Node #0,0: 87:[93, 6, 26] Operation: 41-15=26 Exploring Operation: 15*6=90, Resulting Numbers: [93, 41, 90] Generated Node #0,1: 87:[93, 41, 90] Operation: 15*6=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[93, 6, 26], Operations: ['41-15=26'] Exploring Operation: 93-6=87, Resulting Numbers: [26, 87] Generated Node #0,0,0: 87:[26, 87] Operation: 93-6=87 Exploring Operation: 6+26=32, Resulting Numbers: [93, 32] Generated Node #0,0,1: 87:[93, 32] Operation: 6+26=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[26, 87], Operations: ['41-15=26', '93-6=87'] Exploring Operation: 26+87=113, Resulting Numbers: [113] 113,87 unequal: No Solution Exploring Operation: 87-26=61, Resulting Numbers: [61] 61,87 unequal: No Solution No 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: 87:[93, 32], Operations: ['41-15=26', '6+26=32'] Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,87 unequal: No Solution Exploring Operation: 93+32=125, Resulting Numbers: [125] 125,87 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: 87:[93, 41, 90], Operations: ['15*6=90'] Exploring Operation: 93-90=3, Resulting Numbers: [41, 3] Generated Node #0,1,0: 87:[41, 3] Operation: 93-90=3 Exploring Operation: 93-41=52, Resulting Numbers: [90, 52] Generated Node #0,1,1: 87:[90, 52] Operation: 93-41=52 Moving to Node #0,1,0 Current State: 87:[41, 3], Operations: ['15*6=90', '93-90=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[90, 52], Operations: ['15*6=90', '93-41=52'] Exploring Operation: 90+52=142, Resulting Numbers: [142] 142,87 unequal: No Solution Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 34, 10, 96, 33 ]
72
[ "34+10=44", "96*33=3168", "3168/44=72" ]
Current State: 72:[34, 10, 96, 33], Operations: [] Exploring Operation: 34+10=44, Resulting Numbers: [96, 33, 44] Generated Node #2: [96, 33, 44] from Operation: 34+10=44 Current State: 72:[96, 33, 44], Operations: ['34+10=44'] Exploring Operation: 96*33=3168, Resulting Numbers: [44, 3168] Generated Node #3: [44, 3168] from Operation: 96*33=3168 Current State: 72:[44, 3168], Operations: ['34+10=44', '96*33=3168'] Exploring Operation: 3168/44=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[34, 10, 96, 33], Operations: [] Exploring Operation: 96-33=63, Resulting Numbers: [34, 10, 63] Generated Node #0,0: 72:[34, 10, 63] Operation: 96-33=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[34, 10, 63], Operations: ['96-33=63'] Exploring Operation: 10+63=73, Resulting Numbers: [34, 73] Generated Node #0,0,0: 72:[34, 73] Operation: 10+63=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[34, 73], Operations: ['96-33=63', '10+63=73'] Exploring Operation: 73-34=39, Resulting Numbers: [39] 39,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 14, 3, 63, 78 ]
51
[ "14+63=77", "78/3=26", "77-26=51" ]
Current State: 51:[14, 3, 63, 78], Operations: [] Exploring Operation: 14+63=77, Resulting Numbers: [3, 78, 77] Generated Node #2: [3, 78, 77] from Operation: 14+63=77 Current State: 51:[3, 78, 77], Operations: ['14+63=77'] Exploring Operation: 78/3=26, Resulting Numbers: [77, 26] Generated Node #3: [77, 26] from Operation: 78/3=26 Current State: 51:[77, 26], Operations: ['14+63=77', '78/3=26'] Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[14, 3, 63, 78], Operations: [] Exploring Operation: 78-63=15, Resulting Numbers: [14, 3, 15] Generated Node #0,0: 51:[14, 3, 15] Operation: 78-63=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[14, 3, 15], Operations: ['78-63=15'] Exploring Operation: 14+3=17, Resulting Numbers: [15, 17] Generated Node #0,0,0: 51:[15, 17] Operation: 14+3=17 Moving to Node #0,0,0 Current State: 51:[15, 17], Operations: ['78-63=15', '14+3=17'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,51 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
[ 4, 52, 35, 54 ]
76
[ "52/4=13", "35+54=89", "89-13=76" ]
Current State: 76:[4, 52, 35, 54], Operations: [] Exploring Operation: 52/4=13, Resulting Numbers: [35, 54, 13] Generated Node #2: [35, 54, 13] from Operation: 52/4=13 Current State: 76:[35, 54, 13], Operations: ['52/4=13'] Exploring Operation: 35+54=89, Resulting Numbers: [13, 89] Generated Node #3: [13, 89] from Operation: 35+54=89 Current State: 76:[13, 89], Operations: ['52/4=13', '35+54=89'] Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[4, 52, 35, 54], Operations: [] Exploring Operation: 54-35=19, Resulting Numbers: [4, 52, 19] Generated Node #0,0: 76:[4, 52, 19] Operation: 54-35=19 Exploring Operation: 54-52=2, Resulting Numbers: [4, 35, 2] Generated Node #0,1: 76:[4, 35, 2] Operation: 54-52=2 Moving to Node #0,1 Current State: 76:[4, 35, 2], Operations: ['54-52=2'] Exploring Operation: 35+2=37, Resulting Numbers: [4, 37] Generated Node #0,1,0: 76:[4, 37] Operation: 35+2=37 Exploring Operation: 4+35=39, Resulting Numbers: [2, 39] Generated Node #0,1,1: 76:[2, 39] Operation: 4+35=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[4, 37], Operations: ['54-52=2', '35+2=37'] Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 37-4=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:[2, 39], Operations: ['54-52=2', '4+35=39'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,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:[4, 52, 19], Operations: ['54-35=19'] Exploring Operation: 52-19=33, Resulting Numbers: [4, 33] Generated Node #0,0,0: 76:[4, 33] Operation: 52-19=33 Exploring Operation: 52+19=71, Resulting Numbers: [4, 71] Generated Node #0,0,1: 76:[4, 71] Operation: 52+19=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[4, 33], Operations: ['54-35=19', '52-19=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[4, 71], Operations: ['54-35=19', '52+19=71'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,76 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
[ 48, 20, 87, 6 ]
59
[ "48/6=8", "87-20=67", "67-8=59" ]
Current State: 59:[48, 20, 87, 6], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [20, 87, 8] Generated Node #2: [20, 87, 8] from Operation: 48/6=8 Current State: 59:[20, 87, 8], Operations: ['48/6=8'] Exploring Operation: 87-20=67, Resulting Numbers: [8, 67] Generated Node #3: [8, 67] from Operation: 87-20=67 Current State: 59:[8, 67], Operations: ['48/6=8', '87-20=67'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[48, 20, 87, 6], Operations: [] Exploring Operation: 87-20=67, Resulting Numbers: [48, 6, 67] Generated Node #0,0: 59:[48, 6, 67] Operation: 87-20=67 Exploring Operation: 20+6=26, Resulting Numbers: [48, 87, 26] Generated Node #0,1: 59:[48, 87, 26] Operation: 20+6=26 Exploring Operation: 87-6=81, Resulting Numbers: [48, 20, 81] Generated Node #0,2: 59:[48, 20, 81] Operation: 87-6=81 Exploring Operation: 48+6=54, Resulting Numbers: [20, 87, 54] Generated Node #0,3: 59:[20, 87, 54] Operation: 48+6=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[48, 6, 67], Operations: ['87-20=67'] Exploring Operation: 48-6=42, Resulting Numbers: [67, 42] Generated Node #0,0,0: 59:[67, 42] Operation: 48-6=42 Exploring Operation: 6+67=73, Resulting Numbers: [48, 73] Generated Node #0,0,1: 59:[48, 73] Operation: 6+67=73 Exploring Operation: 67-6=61, Resulting Numbers: [48, 61] Generated Node #0,0,2: 59:[48, 61] Operation: 67-6=61 Exploring Operation: 48+6=54, Resulting Numbers: [67, 54] Generated Node #0,0,3: 59:[67, 54] Operation: 48+6=54 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[48, 61], Operations: ['87-20=67', '67-6=61'] Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,59 unequal: No Solution Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,59 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,59 unequal: No Solution No 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: 59:[67, 54], Operations: ['87-20=67', '48+6=54'] Exploring Operation: 67*54=3618, Resulting Numbers: [3618] 3618,59 unequal: No Solution Exploring Operation: 67-54=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 67+54=121, Resulting Numbers: [121] 121,59 unequal: No Solution No 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: 59:[67, 42], Operations: ['87-20=67', '48-6=42'] Exploring Operation: 67+42=109, Resulting Numbers: [109] 109,59 unequal: No Solution Exploring Operation: 67*42=2814, Resulting Numbers: [2814] 2814,59 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,59 unequal: No Solution No 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: 59:[48, 73], Operations: ['87-20=67', '6+67=73'] Exploring Operation: 48+73=121, Resulting Numbers: [121] 121,59 unequal: No Solution Exploring Operation: 48*73=3504, Resulting Numbers: [3504] 3504,59 unequal: No Solution Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,59 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: 59:[48, 87, 26], Operations: ['20+6=26'] Exploring Operation: 87-48=39, Resulting Numbers: [26, 39] Generated Node #0,1,0: 59:[26, 39] Operation: 87-48=39 Exploring Operation: 48-26=22, Resulting Numbers: [87, 22] Generated Node #0,1,1: 59:[87, 22] Operation: 48-26=22 Exploring Operation: 87-26=61, Resulting Numbers: [48, 61] Generated Node #0,1,2: 59:[48, 61] Operation: 87-26=61 Exploring Operation: 48+26=74, Resulting Numbers: [87, 74] Generated Node #0,1,3: 59:[87, 74] Operation: 48+26=74 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[48, 61], Operations: ['20+6=26', '87-26=61'] Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,59 unequal: No Solution Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,59 unequal: No Solution No 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: 59:[87, 74], Operations: ['20+6=26', '48+26=74'] Exploring Operation: 87-74=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 87+74=161, Resulting Numbers: [161] 161,59 unequal: No Solution Exploring Operation: 87*74=6438, Resulting Numbers: [6438] 6438,59 unequal: No Solution No 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: 59:[26, 39], Operations: ['20+6=26', '87-48=39'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 26*39=1014, Resulting Numbers: [1014] 1014,59 unequal: No Solution Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,59 unequal: No Solution No 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: 59:[87, 22], Operations: ['20+6=26', '48-26=22'] Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,59 unequal: No Solution Exploring Operation: 87+22=109, Resulting Numbers: [109] 109,59 unequal: No Solution Exploring Operation: 87*22=1914, Resulting Numbers: [1914] 1914,59 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: 59:[48, 20, 81], Operations: ['87-6=81'] Exploring Operation: 81-20=61, Resulting Numbers: [48, 61] Generated Node #0,2,0: 59:[48, 61] Operation: 81-20=61 Exploring Operation: 48+20=68, Resulting Numbers: [81, 68] Generated Node #0,2,1: 59:[81, 68] Operation: 48+20=68 Exploring Operation: 48-20=28, Resulting Numbers: [81, 28] Generated Node #0,2,2: 59:[81, 28] Operation: 48-20=28 Exploring Operation: 20+81=101, Resulting Numbers: [48, 101] Generated Node #0,2,3: 59:[48, 101] Operation: 20+81=101 Moving to Node #0,2,0 Current State: 59:[48, 61], Operations: ['87-6=81', '81-20=61'] Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,59 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[81, 68], Operations: ['87-6=81', '48+20=68'] Exploring Operation: 81+68=149, Resulting Numbers: [149] 149,59 unequal: No Solution Exploring Operation: 81*68=5508, Resulting Numbers: [5508] 5508,59 unequal: No Solution Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[48, 101], Operations: ['87-6=81', '20+81=101'] Exploring Operation: 48+101=149, Resulting Numbers: [149] 149,59 unequal: No Solution Exploring Operation: 101-48=53, Resulting Numbers: [53] 53,59 unequal: No Solution Exploring Operation: 48*101=4848, Resulting Numbers: [4848] 4848,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[81, 28], Operations: ['87-6=81', '48-20=28'] Exploring Operation: 81*28=2268, Resulting Numbers: [2268] 2268,59 unequal: No Solution Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,59 unequal: No Solution Exploring Operation: 81+28=109, Resulting Numbers: [109] 109,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[20, 87, 54], Operations: ['48+6=54'] Exploring Operation: 20+54=74, Resulting Numbers: [87, 74] Generated Node #0,3,0: 59:[87, 74] Operation: 20+54=74 Exploring Operation: 87-20=67, Resulting Numbers: [54, 67] Generated Node #0,3,1: 59:[54, 67] Operation: 87-20=67 Exploring Operation: 54-20=34, Resulting Numbers: [87, 34] Generated Node #0,3,2: 59:[87, 34] Operation: 54-20=34 Exploring Operation: 20+87=107, Resulting Numbers: [54, 107] Generated Node #0,3,3: 59:[54, 107] Operation: 20+87=107 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[54, 67], Operations: ['48+6=54', '87-20=67'] Exploring Operation: 54+67=121, Resulting Numbers: [121] 121,59 unequal: No Solution Exploring Operation: 67-54=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 54*67=3618, Resulting Numbers: [3618] 3618,59 unequal: No Solution No 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: 59:[87, 74], Operations: ['48+6=54', '20+54=74'] Exploring Operation: 87-74=13, Resulting Numbers: [13] 13,59 unequal: No Solution Exploring Operation: 87+74=161, Resulting Numbers: [161] 161,59 unequal: No Solution Exploring Operation: 87*74=6438, Resulting Numbers: [6438] 6438,59 unequal: No Solution No 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: 59:[87, 34], Operations: ['48+6=54', '54-20=34'] Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,59 unequal: No Solution Exploring Operation: 87*34=2958, Resulting Numbers: [2958] 2958,59 unequal: No Solution Exploring Operation: 87+34=121, Resulting Numbers: [121] 121,59 unequal: No Solution No 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: 59:[54, 107], Operations: ['48+6=54', '20+87=107'] Exploring Operation: 54+107=161, Resulting Numbers: [161] 161,59 unequal: No Solution Exploring Operation: 54*107=5778, Resulting Numbers: [5778] 5778,59 unequal: No Solution Exploring Operation: 107-54=53, Resulting Numbers: [53] 53,59 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
[ 2, 49, 84, 99 ]
36
[ "2+49=51", "99-84=15", "51-15=36" ]
Current State: 36:[2, 49, 84, 99], Operations: [] Exploring Operation: 2+49=51, Resulting Numbers: [84, 99, 51] Generated Node #2: [84, 99, 51] from Operation: 2+49=51 Current State: 36:[84, 99, 51], Operations: ['2+49=51'] Exploring Operation: 99-84=15, Resulting Numbers: [51, 15] Generated Node #3: [51, 15] from Operation: 99-84=15 Current State: 36:[51, 15], Operations: ['2+49=51', '99-84=15'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[2, 49, 84, 99], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [2, 49, 15] Generated Node #0,0: 36:[2, 49, 15] Operation: 99-84=15 Exploring Operation: 84-49=35, Resulting Numbers: [2, 99, 35] Generated Node #0,1: 36:[2, 99, 35] Operation: 84-49=35 Exploring Operation: 99-49=50, Resulting Numbers: [2, 84, 50] Generated Node #0,2: 36:[2, 84, 50] Operation: 99-49=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[2, 49, 15], Operations: ['99-84=15'] Exploring Operation: 2+15=17, Resulting Numbers: [49, 17] Generated Node #0,0,0: 36:[49, 17] Operation: 2+15=17 Exploring Operation: 49-2=47, Resulting Numbers: [15, 47] Generated Node #0,0,1: 36:[15, 47] Operation: 49-2=47 Exploring Operation: 49-15=34, Resulting Numbers: [2, 34] Generated Node #0,0,2: 36:[2, 34] Operation: 49-15=34 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 36:[2, 34], Operations: ['99-84=15', '49-15=34'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,36 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[2, 49, 84, 99], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [2, 49, 15] Generated Node #0,0: 36:[2, 49, 15] Operation: 99-84=15 Moving to Node #0,0 Current State: 36:[2, 49, 15], Operations: ['99-84=15'] Exploring Operation: 49-15=34, Resulting Numbers: [2, 34] Generated Node #0,0,2: 36:[2, 34] Operation: 49-15=34 Moving to Node #0,0,2 Current State: 36:[2, 34], Operations: ['99-84=15', '49-15=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 63, 65, 95, 32 ]
91
[ "63+65=128", "128/32=4", "95-4=91" ]
Current State: 91:[63, 65, 95, 32], Operations: [] Exploring Operation: 63+65=128, Resulting Numbers: [95, 32, 128] Generated Node #2: [95, 32, 128] from Operation: 63+65=128 Current State: 91:[95, 32, 128], Operations: ['63+65=128'] Exploring Operation: 128/32=4, Resulting Numbers: [95, 4] Generated Node #3: [95, 4] from Operation: 128/32=4 Current State: 91:[95, 4], Operations: ['63+65=128', '128/32=4'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[63, 65, 95, 32], Operations: [] Exploring Operation: 63+32=95, Resulting Numbers: [65, 95, 95] Generated Node #0,0: 91:[65, 95, 95] Operation: 63+32=95 Exploring Operation: 65+32=97, Resulting Numbers: [63, 95, 97] Generated Node #0,1: 91:[63, 95, 97] Operation: 65+32=97 Exploring Operation: 63-32=31, Resulting Numbers: [65, 95, 31] Generated Node #0,2: 91:[65, 95, 31] Operation: 63-32=31 Exploring Operation: 65-63=2, Resulting Numbers: [95, 32, 2] Generated Node #0,3: 91:[95, 32, 2] Operation: 65-63=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[95, 32, 2], Operations: ['65-63=2'] Exploring Operation: 32-2=30, Resulting Numbers: [95, 30] Generated Node #0,3,0: 91:[95, 30] Operation: 32-2=30 Exploring Operation: 32/2=16, Resulting Numbers: [95, 16] Generated Node #0,3,1: 91:[95, 16] Operation: 32/2=16 Exploring Operation: 95-2=93, Resulting Numbers: [32, 93] Generated Node #0,3,2: 91:[32, 93] Operation: 95-2=93 Exploring Operation: 95+2=97, Resulting Numbers: [32, 97] Generated Node #0,3,3: 91:[32, 97] Operation: 95+2=97 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 91:[95, 16], Operations: ['65-63=2', '32/2=16'] Exploring Operation: 95*16=1520, Resulting Numbers: [1520] 1520,91 unequal: No Solution Exploring Operation: 95-16=79, Resulting Numbers: [79] 79,91 unequal: No Solution Exploring Operation: 95+16=111, Resulting Numbers: [111] 111,91 unequal: No Solution No 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: 91:[95, 30], Operations: ['65-63=2', '32-2=30'] Exploring Operation: 95-30=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 95+30=125, Resulting Numbers: [125] 125,91 unequal: No Solution Exploring Operation: 95*30=2850, Resulting Numbers: [2850] 2850,91 unequal: No Solution No 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: 91:[32, 93], Operations: ['65-63=2', '95-2=93'] Exploring Operation: 32+93=125, Resulting Numbers: [125] 125,91 unequal: No Solution Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,91 unequal: No Solution Exploring Operation: 32*93=2976, Resulting Numbers: [2976] 2976,91 unequal: No Solution No 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: 91:[32, 97], Operations: ['65-63=2', '95+2=97'] Exploring Operation: 32*97=3104, Resulting Numbers: [3104] 3104,91 unequal: No Solution Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 32+97=129, Resulting Numbers: [129] 129,91 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: 91:[65, 95, 95], Operations: ['63+32=95'] Exploring Operation: 95-95=0, Resulting Numbers: [65, 0] Generated Node #0,0,0: 91:[65, 0] Operation: 95-95=0 Exploring Operation: 95-65=30, Resulting Numbers: [95, 30] Generated Node #0,0,1: 91:[95, 30] Operation: 95-65=30 Exploring Operation: 95-65=30, Resulting Numbers: [95, 30] Generated Node #0,0,2: 91:[95, 30] Operation: 95-65=30 Exploring Operation: 95/95=1, Resulting Numbers: [65, 1] Generated Node #0,0,3: 91:[65, 1] Operation: 95/95=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[95, 30], Operations: ['63+32=95', '95-65=30'] Exploring Operation: 95-30=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 95+30=125, Resulting Numbers: [125] 125,91 unequal: No Solution Exploring Operation: 95*30=2850, Resulting Numbers: [2850] 2850,91 unequal: No Solution No 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: 91:[95, 30], Operations: ['63+32=95', '95-65=30'] Exploring Operation: 95*30=2850, Resulting Numbers: [2850] 2850,91 unequal: No Solution Exploring Operation: 95-30=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 95+30=125, Resulting Numbers: [125] 125,91 unequal: No Solution No 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: 91:[65, 1], Operations: ['63+32=95', '95/95=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,91 unequal: No Solution Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,91 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,91 unequal: No Solution No 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: 91:[65, 0], Operations: ['63+32=95', '95-95=0'] Exploring Operation: 65-0=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 65*0=0, Resulting Numbers: [0] 0,91 unequal: No Solution Exploring Operation: 65+0=65, Resulting Numbers: [65] 65,91 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: 91:[63, 95, 97], Operations: ['65+32=97'] Exploring Operation: 97-95=2, Resulting Numbers: [63, 2] Generated Node #0,1,0: 91:[63, 2] Operation: 97-95=2 Exploring Operation: 97-63=34, Resulting Numbers: [95, 34] Generated Node #0,1,1: 91:[95, 34] Operation: 97-63=34 Exploring Operation: 95-63=32, Resulting Numbers: [97, 32] Generated Node #0,1,2: 91:[97, 32] Operation: 95-63=32 Exploring Operation: 63+95=158, Resulting Numbers: [97, 158] Generated Node #0,1,3: 91:[97, 158] Operation: 63+95=158 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[95, 34], Operations: ['65+32=97', '97-63=34'] Exploring Operation: 95+34=129, Resulting Numbers: [129] 129,91 unequal: No Solution Exploring Operation: 95-34=61, Resulting Numbers: [61] 61,91 unequal: No Solution Exploring Operation: 95*34=3230, Resulting Numbers: [3230] 3230,91 unequal: No Solution No 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: 91:[97, 32], Operations: ['65+32=97', '95-63=32'] Exploring Operation: 97*32=3104, Resulting Numbers: [3104] 3104,91 unequal: No Solution Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,91 unequal: No Solution Exploring Operation: 97+32=129, Resulting Numbers: [129] 129,91 unequal: No Solution No 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: 91:[63, 2], Operations: ['65+32=97', '97-95=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,91 unequal: No Solution Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,91 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,91 unequal: No Solution No 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: 91:[97, 158], Operations: ['65+32=97', '63+95=158'] Exploring Operation: 97*158=15326, Resulting Numbers: [15326] 15326,91 unequal: No Solution Exploring Operation: 158-97=61, Resulting Numbers: [61] 61,91 unequal: No Solution Exploring Operation: 97+158=255, Resulting Numbers: [255] 255,91 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: 91:[65, 95, 31], Operations: ['63-32=31'] Exploring Operation: 95-31=64, Resulting Numbers: [65, 64] Generated Node #0,2,0: 91:[65, 64] Operation: 95-31=64 Exploring Operation: 95-65=30, Resulting Numbers: [31, 30] Generated Node #0,2,1: 91:[31, 30] Operation: 95-65=30 Exploring Operation: 65-31=34, Resulting Numbers: [95, 34] Generated Node #0,2,2: 91:[95, 34] Operation: 65-31=34 Exploring Operation: 65+31=96, Resulting Numbers: [95, 96] Generated Node #0,2,3: 91:[95, 96] Operation: 65+31=96 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 91:[95, 96], Operations: ['63-32=31', '65+31=96'] Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 95*96=9120, Resulting Numbers: [9120] 9120,91 unequal: No Solution Exploring Operation: 95+96=191, Resulting Numbers: [191] 191,91 unequal: No Solution No 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: 91:[95, 34], Operations: ['63-32=31', '65-31=34'] Exploring Operation: 95*34=3230, Resulting Numbers: [3230] 3230,91 unequal: No Solution Exploring Operation: 95-34=61, Resulting Numbers: [61] 61,91 unequal: No Solution Exploring Operation: 95+34=129, Resulting Numbers: [129] 129,91 unequal: No Solution No 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: 91:[31, 30], Operations: ['63-32=31', '95-65=30'] Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 31*30=930, Resulting Numbers: [930] 930,91 unequal: No Solution Exploring Operation: 31+30=61, Resulting Numbers: [61] 61,91 unequal: No Solution No 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: 91:[65, 64], Operations: ['63-32=31', '95-31=64'] Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 65+64=129, Resulting Numbers: [129] 129,91 unequal: No Solution Exploring Operation: 65*64=4160, Resulting Numbers: [4160] 4160,91 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
[ 60, 51, 63, 2 ]
34
[ "63-60=3", "51*2=102", "102/3=34" ]
Current State: 34:[60, 51, 63, 2], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [51, 2, 3] Generated Node #2: [51, 2, 3] from Operation: 63-60=3 Current State: 34:[51, 2, 3], Operations: ['63-60=3'] Exploring Operation: 51*2=102, Resulting Numbers: [3, 102] Generated Node #3: [3, 102] from Operation: 51*2=102 Current State: 34:[3, 102], Operations: ['63-60=3', '51*2=102'] Exploring Operation: 102/3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[60, 51, 63, 2], Operations: [] Exploring Operation: 60-51=9, Resulting Numbers: [63, 2, 9] Generated Node #0,0: 34:[63, 2, 9] Operation: 60-51=9 Exploring Operation: 63-60=3, Resulting Numbers: [51, 2, 3] Generated Node #0,1: 34:[51, 2, 3] Operation: 63-60=3 Exploring Operation: 63-51=12, Resulting Numbers: [60, 2, 12] Generated Node #0,2: 34:[60, 2, 12] Operation: 63-51=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[51, 2, 3], Operations: ['63-60=3'] Exploring Operation: 51-3=48, Resulting Numbers: [2, 48] Generated Node #0,1,0: 34:[2, 48] Operation: 51-3=48 Exploring Operation: 51-2=49, Resulting Numbers: [3, 49] Generated Node #0,1,1: 34:[3, 49] Operation: 51-2=49 Exploring Operation: 51/3=17, Resulting Numbers: [2, 17] Generated Node #0,1,2: 34:[2, 17] Operation: 51/3=17 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 34:[2, 17], Operations: ['63-60=3', '51/3=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[60, 51, 63, 2], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [51, 2, 3] Generated Node #0,1: 34:[51, 2, 3] Operation: 63-60=3 Moving to Node #0,1 Current State: 34:[51, 2, 3], Operations: ['63-60=3'] Exploring Operation: 51/3=17, Resulting Numbers: [2, 17] Generated Node #0,1,2: 34:[2, 17] Operation: 51/3=17 Moving to Node #0,1,2 Current State: 34:[2, 17], Operations: ['63-60=3', '51/3=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 6, 6, 98, 72 ]
100
[ "6*6=36", "72/36=2", "98+2=100" ]
Current State: 100:[6, 6, 98, 72], Operations: [] Exploring Operation: 6*6=36, Resulting Numbers: [98, 72, 36] Generated Node #2: [98, 72, 36] from Operation: 6*6=36 Current State: 100:[98, 72, 36], Operations: ['6*6=36'] Exploring Operation: 72/36=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 72/36=2 Current State: 100:[98, 2], Operations: ['6*6=36', '72/36=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[6, 6, 98, 72], Operations: [] Exploring Operation: 72/6=12, Resulting Numbers: [6, 98, 12] Generated Node #0,0: 100:[6, 98, 12] Operation: 72/6=12 Exploring Operation: 98-72=26, Resulting Numbers: [6, 6, 26] Generated Node #0,1: 100:[6, 6, 26] Operation: 98-72=26 Exploring Operation: 72/6=12, Resulting Numbers: [6, 98, 12] Generated Node #0,2: 100:[6, 98, 12] Operation: 72/6=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[6, 6, 26], Operations: ['98-72=26'] Exploring Operation: 6/6=1, Resulting Numbers: [26, 1] Generated Node #0,1,0: 100:[26, 1] Operation: 6/6=1 Exploring Operation: 26-6=20, Resulting Numbers: [6, 20] Generated Node #0,1,1: 100:[6, 20] Operation: 26-6=20 Exploring Operation: 26-6=20, Resulting Numbers: [6, 20] Generated Node #0,1,2: 100:[6, 20] Operation: 26-6=20 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[6, 20], Operations: ['98-72=26', '26-6=20'] Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,100 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[6, 20], Operations: ['98-72=26', '26-6=20'] Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,100 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[26, 1], Operations: ['98-72=26', '6/6=1'] Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,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:[6, 98, 12], Operations: ['72/6=12'] Exploring Operation: 12-6=6, Resulting Numbers: [98, 6] Generated Node #0,0,0: 100:[98, 6] Operation: 12-6=6 Exploring Operation: 6+12=18, Resulting Numbers: [98, 18] Generated Node #0,0,1: 100:[98, 18] Operation: 6+12=18 Exploring Operation: 12/6=2, Resulting Numbers: [98, 2] Generated Node #0,0,2: 100:[98, 2] Operation: 12/6=2 Moving to Node #0,0,2 Current State: 100:[98, 2], Operations: ['72/6=12', '12/6=2'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[6, 6, 98, 72], Operations: [] Exploring Operation: 72/6=12, Resulting Numbers: [6, 98, 12] Generated Node #0,0: 100:[6, 98, 12] Operation: 72/6=12 Moving to Node #0,0 Current State: 100:[6, 98, 12], Operations: ['72/6=12'] Exploring Operation: 12/6=2, Resulting Numbers: [98, 2] Generated Node #0,0,2: 100:[98, 2] Operation: 12/6=2 Moving to Node #0,0,2 Current State: 100:[98, 2], Operations: ['72/6=12', '12/6=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 62, 19, 60, 54 ]
52
[ "60-54=6", "19*6=114", "114-62=52" ]
Current State: 52:[62, 19, 60, 54], Operations: [] Exploring Operation: 60-54=6, Resulting Numbers: [62, 19, 6] Generated Node #2: [62, 19, 6] from Operation: 60-54=6 Current State: 52:[62, 19, 6], Operations: ['60-54=6'] Exploring Operation: 19*6=114, Resulting Numbers: [62, 114] Generated Node #3: [62, 114] from Operation: 19*6=114 Current State: 52:[62, 114], Operations: ['60-54=6', '19*6=114'] Exploring Operation: 114-62=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[62, 19, 60, 54], Operations: [] Exploring Operation: 62-54=8, Resulting Numbers: [19, 60, 8] Generated Node #0,0: 52:[19, 60, 8] Operation: 62-54=8 Exploring Operation: 62-60=2, Resulting Numbers: [19, 54, 2] Generated Node #0,1: 52:[19, 54, 2] Operation: 62-60=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[19, 54, 2], Operations: ['62-60=2'] Exploring Operation: 54-2=52, Resulting Numbers: [19, 52] Generated Node #0,1,0: 52:[19, 52] Operation: 54-2=52 Exploring Operation: 19-2=17, Resulting Numbers: [54, 17] Generated Node #0,1,1: 52:[54, 17] Operation: 19-2=17 Moving to Node #0,1,0 Current State: 52:[19, 52], Operations: ['62-60=2', '54-2=52'] Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 19+52=71, Resulting Numbers: [71] 71,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[54, 17], Operations: ['62-60=2', '19-2=17'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[19, 60, 8], Operations: ['62-54=8'] Exploring Operation: 60-8=52, Resulting Numbers: [19, 52] Generated Node #0,0,0: 52:[19, 52] Operation: 60-8=52 Exploring Operation: 19+8=27, Resulting Numbers: [60, 27] Generated Node #0,0,1: 52:[60, 27] Operation: 19+8=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[19, 52], Operations: ['62-54=8', '60-8=52'] Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 19+52=71, Resulting Numbers: [71] 71,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[60, 27], Operations: ['62-54=8', '19+8=27'] Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 3, 82, 95, 22 ]
75
[ "82-22=60", "60/3=20", "95-20=75" ]
Current State: 75:[3, 82, 95, 22], Operations: [] Exploring Operation: 82-22=60, Resulting Numbers: [3, 95, 60] Generated Node #2: [3, 95, 60] from Operation: 82-22=60 Current State: 75:[3, 95, 60], Operations: ['82-22=60'] Exploring Operation: 60/3=20, Resulting Numbers: [95, 20] Generated Node #3: [95, 20] from Operation: 60/3=20 Current State: 75:[95, 20], Operations: ['82-22=60', '60/3=20'] Exploring Operation: 95-20=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[3, 82, 95, 22], Operations: [] Exploring Operation: 95-22=73, Resulting Numbers: [3, 82, 73] Generated Node #0,0: 75:[3, 82, 73] Operation: 95-22=73 Exploring Operation: 95-82=13, Resulting Numbers: [3, 22, 13] Generated Node #0,1: 75:[3, 22, 13] Operation: 95-82=13 Moving to Node #0,1 Current State: 75:[3, 22, 13], Operations: ['95-82=13'] Exploring Operation: 3+22=25, Resulting Numbers: [13, 25] Generated Node #0,1,0: 75:[13, 25] Operation: 3+22=25 Exploring Operation: 3+13=16, Resulting Numbers: [22, 16] Generated Node #0,1,1: 75:[22, 16] Operation: 3+13=16 Moving to Node #0,0 Current State: 75:[3, 82, 73], Operations: ['95-22=73'] Exploring Operation: 82-3=79, Resulting Numbers: [73, 79] Generated Node #0,0,0: 75:[73, 79] Operation: 82-3=79 Exploring Operation: 82-73=9, Resulting Numbers: [3, 9] Generated Node #0,0,1: 75:[3, 9] Operation: 82-73=9 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[3, 9], Operations: ['95-22=73', '82-73=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[73, 79], Operations: ['95-22=73', '82-3=79'] Exploring Operation: 79-73=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 73+79=152, Resulting Numbers: [152] 152,75 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: 75:[13, 25], Operations: ['95-82=13', '3+22=25'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[22, 16], Operations: ['95-82=13', '3+13=16'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,75 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 27, 82, 73, 77 ]
41
[ "27+82=109", "73+77=150", "150-109=41" ]
Current State: 41:[27, 82, 73, 77], Operations: [] Exploring Operation: 27+82=109, Resulting Numbers: [73, 77, 109] Generated Node #2: [73, 77, 109] from Operation: 27+82=109 Current State: 41:[73, 77, 109], Operations: ['27+82=109'] Exploring Operation: 73+77=150, Resulting Numbers: [109, 150] Generated Node #3: [109, 150] from Operation: 73+77=150 Current State: 41:[109, 150], Operations: ['27+82=109', '73+77=150'] Exploring Operation: 150-109=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[27, 82, 73, 77], Operations: [] Exploring Operation: 82-27=55, Resulting Numbers: [73, 77, 55] Generated Node #0,0: 41:[73, 77, 55] Operation: 82-27=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[73, 77, 55], Operations: ['82-27=55'] Exploring Operation: 77-73=4, Resulting Numbers: [55, 4] Generated Node #0,0,0: 41:[55, 4] Operation: 77-73=4 Moving to Node #0,0,0 Current State: 41:[55, 4], Operations: ['82-27=55', '77-73=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 54, 10, 15, 56 ]
40
[ "54+56=110", "10*15=150", "150-110=40" ]
Current State: 40:[54, 10, 15, 56], Operations: [] Exploring Operation: 54+56=110, Resulting Numbers: [10, 15, 110] Generated Node #2: [10, 15, 110] from Operation: 54+56=110 Current State: 40:[10, 15, 110], Operations: ['54+56=110'] Exploring Operation: 10*15=150, Resulting Numbers: [110, 150] Generated Node #3: [110, 150] from Operation: 10*15=150 Current State: 40:[110, 150], Operations: ['54+56=110', '10*15=150'] Exploring Operation: 150-110=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[54, 10, 15, 56], Operations: [] Exploring Operation: 54-15=39, Resulting Numbers: [10, 56, 39] Generated Node #0,0: 40:[10, 56, 39] Operation: 54-15=39 Exploring Operation: 56-15=41, Resulting Numbers: [54, 10, 41] Generated Node #0,1: 40:[54, 10, 41] Operation: 56-15=41 Exploring Operation: 56-10=46, Resulting Numbers: [54, 15, 46] Generated Node #0,2: 40:[54, 15, 46] Operation: 56-10=46 Exploring Operation: 56-54=2, Resulting Numbers: [10, 15, 2] Generated Node #0,3: 40:[10, 15, 2] Operation: 56-54=2 Exploring Operation: 54-10=44, Resulting Numbers: [15, 56, 44] Generated Node #0,4: 40:[15, 56, 44] Operation: 54-10=44 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[10, 15, 2], Operations: ['56-54=2'] Exploring Operation: 10*2=20, Resulting Numbers: [15, 20] Generated Node #0,3,0: 40:[15, 20] Operation: 10*2=20 Exploring Operation: 15-10=5, Resulting Numbers: [2, 5] Generated Node #0,3,1: 40:[2, 5] Operation: 15-10=5 Exploring Operation: 15-2=13, Resulting Numbers: [10, 13] Generated Node #0,3,2: 40:[10, 13] Operation: 15-2=13 Exploring Operation: 10+15=25, Resulting Numbers: [2, 25] Generated Node #0,3,3: 40:[2, 25] Operation: 10+15=25 Exploring Operation: 15+2=17, Resulting Numbers: [10, 17] Generated Node #0,3,4: 40:[10, 17] Operation: 15+2=17 Moving to Node #0,3,1 Current State: 40:[2, 5], Operations: ['56-54=2', '15-10=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,40 unequal: No Solution Moving to Node #0,3,4 Current State: 40:[10, 17], Operations: ['56-54=2', '15+2=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,40 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,40 unequal: No Solution Moving to Node #0,3,2 Current State: 40:[10, 13], Operations: ['56-54=2', '15-2=13'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,40 unequal: No Solution Moving to Node #0,3,0 Current State: 40:[15, 20], Operations: ['56-54=2', '10*2=20'] Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,40 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[2, 25], Operations: ['56-54=2', '10+15=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[54, 10, 41], Operations: ['56-15=41'] Exploring Operation: 41-10=31, Resulting Numbers: [54, 31] Generated Node #0,1,0: 40:[54, 31] Operation: 41-10=31 Exploring Operation: 10+41=51, Resulting Numbers: [54, 51] Generated Node #0,1,1: 40:[54, 51] Operation: 10+41=51 Exploring Operation: 54+10=64, Resulting Numbers: [41, 64] Generated Node #0,1,2: 40:[41, 64] Operation: 54+10=64 Exploring Operation: 54-41=13, Resulting Numbers: [10, 13] Generated Node #0,1,3: 40:[10, 13] Operation: 54-41=13 Exploring Operation: 54-10=44, Resulting Numbers: [41, 44] Generated Node #0,1,4: 40:[41, 44] Operation: 54-10=44 Moving to Node #0,1,3 Current State: 40:[10, 13], Operations: ['56-15=41', '54-41=13'] Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,40 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,40 unequal: No Solution Moving to Node #0,1,4 Current State: 40:[41, 44], Operations: ['56-15=41', '54-10=44'] Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,40 unequal: No Solution Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,40 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[54, 31], Operations: ['56-15=41', '41-10=31'] Exploring Operation: 54+31=85, Resulting Numbers: [85] 85,40 unequal: No Solution Exploring Operation: 54*31=1674, Resulting Numbers: [1674] 1674,40 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[54, 51], Operations: ['56-15=41', '10+41=51'] Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 54+51=105, Resulting Numbers: [105] 105,40 unequal: No Solution Exploring Operation: 54*51=2754, Resulting Numbers: [2754] 2754,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[41, 64], Operations: ['56-15=41', '54+10=64'] Exploring Operation: 41+64=105, Resulting Numbers: [105] 105,40 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 41*64=2624, Resulting Numbers: [2624] 2624,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[10, 56, 39], Operations: ['54-15=39'] Exploring Operation: 10+39=49, Resulting Numbers: [56, 49] Generated Node #0,0,0: 40:[56, 49] Operation: 10+39=49 Exploring Operation: 10+56=66, Resulting Numbers: [39, 66] Generated Node #0,0,1: 40:[39, 66] Operation: 10+56=66 Exploring Operation: 56-39=17, Resulting Numbers: [10, 17] Generated Node #0,0,2: 40:[10, 17] Operation: 56-39=17 Exploring Operation: 56-10=46, Resulting Numbers: [39, 46] Generated Node #0,0,3: 40:[39, 46] Operation: 56-10=46 Exploring Operation: 39-10=29, Resulting Numbers: [56, 29] Generated Node #0,0,4: 40:[56, 29] Operation: 39-10=29 Moving to Node #0,0,2 Current State: 40:[10, 17], Operations: ['54-15=39', '56-39=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,40 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[39, 46], Operations: ['54-15=39', '56-10=46'] Exploring Operation: 39+46=85, Resulting Numbers: [85] 85,40 unequal: No Solution Exploring Operation: 39*46=1794, Resulting Numbers: [1794] 1794,40 unequal: No Solution Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[56, 49], Operations: ['54-15=39', '10+39=49'] Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 56+49=105, Resulting Numbers: [105] 105,40 unequal: No Solution Exploring Operation: 56*49=2744, Resulting Numbers: [2744] 2744,40 unequal: No Solution Moving to Node #0,0,4 Current State: 40:[56, 29], Operations: ['54-15=39', '39-10=29'] Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 56*29=1624, Resulting Numbers: [1624] 1624,40 unequal: No Solution Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[39, 66], Operations: ['54-15=39', '10+56=66'] Exploring Operation: 39*66=2574, Resulting Numbers: [2574] 2574,40 unequal: No Solution Exploring Operation: 66-39=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 39+66=105, Resulting Numbers: [105] 105,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[54, 15, 46], Operations: ['56-10=46'] Exploring Operation: 46-15=31, Resulting Numbers: [54, 31] Generated Node #0,2,0: 40:[54, 31] Operation: 46-15=31 Exploring Operation: 54-46=8, Resulting Numbers: [15, 8] Generated Node #0,2,1: 40:[15, 8] Operation: 54-46=8 Exploring Operation: 54-15=39, Resulting Numbers: [46, 39] Generated Node #0,2,2: 40:[46, 39] Operation: 54-15=39 Exploring Operation: 15+46=61, Resulting Numbers: [54, 61] Generated Node #0,2,3: 40:[54, 61] Operation: 15+46=61 Exploring Operation: 54+15=69, Resulting Numbers: [46, 69] Generated Node #0,2,4: 40:[46, 69] Operation: 54+15=69 Moving to Node #0,2,1 Current State: 40:[15, 8], Operations: ['56-10=46', '54-46=8'] Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,40 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[46, 39], Operations: ['56-10=46', '54-15=39'] Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 46+39=85, Resulting Numbers: [85] 85,40 unequal: No Solution Exploring Operation: 46*39=1794, Resulting Numbers: [1794] 1794,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[54, 31], Operations: ['56-10=46', '46-15=31'] Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 54*31=1674, Resulting Numbers: [1674] 1674,40 unequal: No Solution Exploring Operation: 54+31=85, Resulting Numbers: [85] 85,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[54, 61], Operations: ['56-10=46', '15+46=61'] Exploring Operation: 54+61=115, Resulting Numbers: [115] 115,40 unequal: No Solution Exploring Operation: 54*61=3294, Resulting Numbers: [3294] 3294,40 unequal: No Solution Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,40 unequal: No Solution Moving to Node #0,2,4 Current State: 40:[46, 69], Operations: ['56-10=46', '54+15=69'] Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 46+69=115, Resulting Numbers: [115] 115,40 unequal: No Solution Exploring Operation: 46*69=3174, Resulting Numbers: [3174] 3174,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[15, 56, 44], Operations: ['54-10=44'] Exploring Operation: 44-15=29, Resulting Numbers: [56, 29] Generated Node #0,4,0: 40:[56, 29] Operation: 44-15=29 Exploring Operation: 56-44=12, Resulting Numbers: [15, 12] Generated Node #0,4,1: 40:[15, 12] Operation: 56-44=12 Exploring Operation: 15+56=71, Resulting Numbers: [44, 71] Generated Node #0,4,2: 40:[44, 71] Operation: 15+56=71 Exploring Operation: 15+44=59, Resulting Numbers: [56, 59] Generated Node #0,4,3: 40:[56, 59] Operation: 15+44=59 Exploring Operation: 56-15=41, Resulting Numbers: [44, 41] Generated Node #0,4,4: 40:[44, 41] Operation: 56-15=41 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 40:[44, 41], Operations: ['54-10=44', '56-15=41'] Exploring Operation: 44*41=1804, Resulting Numbers: [1804] 1804,40 unequal: No Solution Exploring Operation: 44+41=85, Resulting Numbers: [85] 85,40 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,40 unequal: No Solution No 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: 40:[15, 12], Operations: ['54-10=44', '56-44=12'] Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,40 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,40 unequal: No Solution No 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: 40:[56, 29], Operations: ['54-10=44', '44-15=29'] Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,40 unequal: No Solution Exploring Operation: 56*29=1624, Resulting Numbers: [1624] 1624,40 unequal: No Solution No 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: 40:[44, 71], Operations: ['54-10=44', '15+56=71'] Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 44+71=115, Resulting Numbers: [115] 115,40 unequal: No Solution Exploring Operation: 44*71=3124, Resulting Numbers: [3124] 3124,40 unequal: No Solution No 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: 40:[56, 59], Operations: ['54-10=44', '15+44=59'] Exploring Operation: 56*59=3304, Resulting Numbers: [3304] 3304,40 unequal: No Solution Exploring Operation: 59-56=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 56+59=115, Resulting Numbers: [115] 115,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 6, 4, 65, 2 ]
65
[ "6-4=2", "65+2=67", "67-2=65" ]
Current State: 65:[6, 4, 65, 2], Operations: [] Exploring Operation: 6-4=2, Resulting Numbers: [65, 2, 2] Generated Node #2: [65, 2, 2] from Operation: 6-4=2 Current State: 65:[65, 2, 2], Operations: ['6-4=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,65 equal: Goal Reached Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[6, 4, 65, 2], Operations: [] Exploring Operation: 6-2=4, Resulting Numbers: [4, 65, 4] Generated Node #0,0: 65:[4, 65, 4] Operation: 6-2=4 Exploring Operation: 6*2=12, Resulting Numbers: [4, 65, 12] Generated Node #0,1: 65:[4, 65, 12] Operation: 6*2=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[4, 65, 4], Operations: ['6-2=4'] Exploring Operation: 4+4=8, Resulting Numbers: [65, 8] Generated Node #0,0,0: 65:[65, 8] Operation: 4+4=8 Exploring Operation: 4*4=16, Resulting Numbers: [65, 16] Generated Node #0,0,1: 65:[65, 16] Operation: 4*4=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[65, 8], Operations: ['6-2=4', '4+4=8'] Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 65+8=73, Resulting Numbers: [73] 73,65 unequal: No Solution No 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: 65:[65, 16], Operations: ['6-2=4', '4*4=16'] Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,65 unequal: No Solution Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[4, 65, 12], Operations: ['6*2=12'] Exploring Operation: 4+12=16, Resulting Numbers: [65, 16] Generated Node #0,1,0: 65:[65, 16] Operation: 4+12=16 Exploring Operation: 12/4=3, Resulting Numbers: [65, 3] Generated Node #0,1,1: 65:[65, 3] Operation: 12/4=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[65, 3], Operations: ['6*2=12', '12/4=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,65 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,65 unequal: No Solution No 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: 65:[65, 16], Operations: ['6*2=12', '4+12=16'] Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,65 unequal: No Solution Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,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_2
sum_heuristic
[ 39, 41, 98, 52 ]
48
[ "41-39=2", "98-52=46", "2+46=48" ]
Current State: 48:[39, 41, 98, 52], Operations: [] Exploring Operation: 41-39=2, Resulting Numbers: [98, 52, 2] Generated Node #2: [98, 52, 2] from Operation: 41-39=2 Current State: 48:[98, 52, 2], Operations: ['41-39=2'] Exploring Operation: 98-52=46, Resulting Numbers: [2, 46] Generated Node #3: [2, 46] from Operation: 98-52=46 Current State: 48:[2, 46], Operations: ['41-39=2', '98-52=46'] Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[39, 41, 98, 52], Operations: [] Exploring Operation: 98-52=46, Resulting Numbers: [39, 41, 46] Generated Node #0,0: 48:[39, 41, 46] Operation: 98-52=46 Moving to Node #0,0 Current State: 48:[39, 41, 46], Operations: ['98-52=46'] Exploring Operation: 41-39=2, Resulting Numbers: [46, 2] Generated Node #0,0,0: 48:[46, 2] Operation: 41-39=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[46, 2], Operations: ['98-52=46', '41-39=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[39, 41, 98, 52], Operations: [] Exploring Operation: 98-52=46, Resulting Numbers: [39, 41, 46] Generated Node #0,0: 48:[39, 41, 46] Operation: 98-52=46 Moving to Node #0,0 Current State: 48:[39, 41, 46], Operations: ['98-52=46'] Exploring Operation: 41-39=2, Resulting Numbers: [46, 2] Generated Node #0,0,0: 48:[46, 2] Operation: 41-39=2 Moving to Node #0,0,0 Current State: 48:[46, 2], Operations: ['98-52=46', '41-39=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 23, 46, 42, 78 ]
51
[ "23+46=69", "42+78=120", "120-69=51" ]
Current State: 51:[23, 46, 42, 78], Operations: [] Exploring Operation: 23+46=69, Resulting Numbers: [42, 78, 69] Generated Node #2: [42, 78, 69] from Operation: 23+46=69 Current State: 51:[42, 78, 69], Operations: ['23+46=69'] Exploring Operation: 42+78=120, Resulting Numbers: [69, 120] Generated Node #3: [69, 120] from Operation: 42+78=120 Current State: 51:[69, 120], Operations: ['23+46=69', '42+78=120'] Exploring Operation: 120-69=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[23, 46, 42, 78], Operations: [] Exploring Operation: 78-42=36, Resulting Numbers: [23, 46, 36] Generated Node #0,0: 51:[23, 46, 36] Operation: 78-42=36 Exploring Operation: 78-46=32, Resulting Numbers: [23, 42, 32] Generated Node #0,1: 51:[23, 42, 32] Operation: 78-46=32 Exploring Operation: 78-23=55, Resulting Numbers: [46, 42, 55] Generated Node #0,2: 51:[46, 42, 55] Operation: 78-23=55 Exploring Operation: 42-23=19, Resulting Numbers: [46, 78, 19] Generated Node #0,3: 51:[46, 78, 19] Operation: 42-23=19 Moving to Node #0,2 Current State: 51:[46, 42, 55], Operations: ['78-23=55'] Exploring Operation: 55-42=13, Resulting Numbers: [46, 13] Generated Node #0,2,0: 51:[46, 13] Operation: 55-42=13 Exploring Operation: 46-42=4, Resulting Numbers: [55, 4] Generated Node #0,2,1: 51:[55, 4] Operation: 46-42=4 Exploring Operation: 46+42=88, Resulting Numbers: [55, 88] Generated Node #0,2,2: 51:[55, 88] Operation: 46+42=88 Exploring Operation: 55-46=9, Resulting Numbers: [42, 9] Generated Node #0,2,3: 51:[42, 9] Operation: 55-46=9 Moving to Node #0,0 Current State: 51:[23, 46, 36], Operations: ['78-42=36'] Exploring Operation: 46-36=10, Resulting Numbers: [23, 10] Generated Node #0,0,0: 51:[23, 10] Operation: 46-36=10 Exploring Operation: 36-23=13, Resulting Numbers: [46, 13] Generated Node #0,0,1: 51:[46, 13] Operation: 36-23=13 Exploring Operation: 46/23=2, Resulting Numbers: [36, 2] Generated Node #0,0,2: 51:[36, 2] Operation: 46/23=2 Exploring Operation: 23+36=59, Resulting Numbers: [46, 59] Generated Node #0,0,3: 51:[46, 59] Operation: 23+36=59 Moving to Node #0,1 Current State: 51:[23, 42, 32], Operations: ['78-46=32'] Exploring Operation: 32-23=9, Resulting Numbers: [42, 9] Generated Node #0,1,0: 51:[42, 9] Operation: 32-23=9 Exploring Operation: 42-32=10, Resulting Numbers: [23, 10] Generated Node #0,1,1: 51:[23, 10] Operation: 42-32=10 Exploring Operation: 42-23=19, Resulting Numbers: [32, 19] Generated Node #0,1,2: 51:[32, 19] Operation: 42-23=19 Exploring Operation: 23+32=55, Resulting Numbers: [42, 55] Generated Node #0,1,3: 51:[42, 55] Operation: 23+32=55 Moving to Node #0,3 Current State: 51:[46, 78, 19], Operations: ['42-23=19'] Exploring Operation: 78-19=59, Resulting Numbers: [46, 59] Generated Node #0,3,0: 51:[46, 59] Operation: 78-19=59 Exploring Operation: 46-19=27, Resulting Numbers: [78, 27] Generated Node #0,3,1: 51:[78, 27] Operation: 46-19=27 Exploring Operation: 78-46=32, Resulting Numbers: [19, 32] Generated Node #0,3,2: 51:[19, 32] Operation: 78-46=32 Exploring Operation: 46+19=65, Resulting Numbers: [78, 65] Generated Node #0,3,3: 51:[78, 65] Operation: 46+19=65 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 51:[46, 59], Operations: ['42-23=19', '78-19=59'] Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 46+59=105, Resulting Numbers: [105] 105,51 unequal: No Solution Exploring Operation: 46*59=2714, Resulting Numbers: [2714] 2714,51 unequal: No Solution No 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: 51:[19, 32], Operations: ['42-23=19', '78-46=32'] Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,51 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[23, 46, 42, 78], Operations: [] Exploring Operation: 42-23=19, Resulting Numbers: [46, 78, 19] Generated Node #0,3: 51:[46, 78, 19] Operation: 42-23=19 Moving to Node #0,3 Current State: 51:[46, 78, 19], Operations: ['42-23=19'] Exploring Operation: 78-46=32, Resulting Numbers: [19, 32] Generated Node #0,3,2: 51:[19, 32] Operation: 78-46=32 Moving to Node #0,3,2 Current State: 51:[19, 32], Operations: ['42-23=19', '78-46=32'] Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 72, 86, 95, 65 ]
57
[ "95-86=9", "72/9=8", "65-8=57" ]
Current State: 57:[72, 86, 95, 65], Operations: [] Exploring Operation: 95-86=9, Resulting Numbers: [72, 65, 9] Generated Node #2: [72, 65, 9] from Operation: 95-86=9 Current State: 57:[72, 65, 9], Operations: ['95-86=9'] Exploring Operation: 72/9=8, Resulting Numbers: [65, 8] Generated Node #3: [65, 8] from Operation: 72/9=8 Current State: 57:[65, 8], Operations: ['95-86=9', '72/9=8'] Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[72, 86, 95, 65], Operations: [] Exploring Operation: 95-86=9, Resulting Numbers: [72, 65, 9] Generated Node #0,0: 57:[72, 65, 9] Operation: 95-86=9 Exploring Operation: 86-72=14, Resulting Numbers: [95, 65, 14] Generated Node #0,1: 57:[95, 65, 14] Operation: 86-72=14 Exploring Operation: 86-65=21, Resulting Numbers: [72, 95, 21] Generated Node #0,2: 57:[72, 95, 21] Operation: 86-65=21 Exploring Operation: 95-72=23, Resulting Numbers: [86, 65, 23] Generated Node #0,3: 57:[86, 65, 23] Operation: 95-72=23 Moving to Node #0,0 Current State: 57:[72, 65, 9], Operations: ['95-86=9'] Exploring Operation: 72-9=63, Resulting Numbers: [65, 63] Generated Node #0,0,0: 57:[65, 63] Operation: 72-9=63 Exploring Operation: 65-9=56, Resulting Numbers: [72, 56] Generated Node #0,0,1: 57:[72, 56] Operation: 65-9=56 Exploring Operation: 72-65=7, Resulting Numbers: [9, 7] Generated Node #0,0,2: 57:[9, 7] Operation: 72-65=7 Exploring Operation: 72/9=8, Resulting Numbers: [65, 8] Generated Node #0,0,3: 57:[65, 8] Operation: 72/9=8 Moving to Node #0,3 Current State: 57:[86, 65, 23], Operations: ['95-72=23'] Exploring Operation: 86+23=109, Resulting Numbers: [65, 109] Generated Node #0,3,0: 57:[65, 109] Operation: 86+23=109 Exploring Operation: 86-23=63, Resulting Numbers: [65, 63] Generated Node #0,3,1: 57:[65, 63] Operation: 86-23=63 Exploring Operation: 86-65=21, Resulting Numbers: [23, 21] Generated Node #0,3,2: 57:[23, 21] Operation: 86-65=21 Exploring Operation: 65-23=42, Resulting Numbers: [86, 42] Generated Node #0,3,3: 57:[86, 42] Operation: 65-23=42 Moving to Node #0,1 Current State: 57:[95, 65, 14], Operations: ['86-72=14'] Exploring Operation: 95-14=81, Resulting Numbers: [65, 81] Generated Node #0,1,0: 57:[65, 81] Operation: 95-14=81 Exploring Operation: 65-14=51, Resulting Numbers: [95, 51] Generated Node #0,1,1: 57:[95, 51] Operation: 65-14=51 Exploring Operation: 95-65=30, Resulting Numbers: [14, 30] Generated Node #0,1,2: 57:[14, 30] Operation: 95-65=30 Exploring Operation: 95+14=109, Resulting Numbers: [65, 109] Generated Node #0,1,3: 57:[65, 109] Operation: 95+14=109 Moving to Node #0,2 Current State: 57:[72, 95, 21], Operations: ['86-65=21'] Exploring Operation: 72+21=93, Resulting Numbers: [95, 93] Generated Node #0,2,0: 57:[95, 93] Operation: 72+21=93 Exploring Operation: 95-21=74, Resulting Numbers: [72, 74] Generated Node #0,2,1: 57:[72, 74] Operation: 95-21=74 Exploring Operation: 95-72=23, Resulting Numbers: [21, 23] Generated Node #0,2,2: 57:[21, 23] Operation: 95-72=23 Exploring Operation: 72-21=51, Resulting Numbers: [95, 51] Generated Node #0,2,3: 57:[95, 51] Operation: 72-21=51 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[21, 23], Operations: ['86-65=21', '95-72=23'] Exploring Operation: 21*23=483, Resulting Numbers: [483] 483,57 unequal: No Solution Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[72, 74], Operations: ['86-65=21', '95-21=74'] Exploring Operation: 74-72=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 72*74=5328, Resulting Numbers: [5328] 5328,57 unequal: No Solution Exploring Operation: 72+74=146, Resulting Numbers: [146] 146,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 57:[95, 51], Operations: ['86-65=21', '72-21=51'] Exploring Operation: 95-51=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 95*51=4845, Resulting Numbers: [4845] 4845,57 unequal: No Solution Exploring Operation: 95+51=146, Resulting Numbers: [146] 146,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[95, 93], Operations: ['86-65=21', '72+21=93'] Exploring Operation: 95-93=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 95+93=188, Resulting Numbers: [188] 188,57 unequal: No Solution Exploring Operation: 95*93=8835, Resulting Numbers: [8835] 8835,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 57:[23, 21], Operations: ['95-72=23', '86-65=21'] Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 23*21=483, Resulting Numbers: [483] 483,57 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[9, 7], Operations: ['95-86=9', '72-65=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,57 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,57 unequal: No Solution Moving to Node #0,0,3 Current State: 57:[65, 8], Operations: ['95-86=9', '72/9=8'] Exploring Operation: 65*8=520, Resulting Numbers: [520] 520,57 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[72, 86, 95, 65], Operations: [] Exploring Operation: 95-86=9, Resulting Numbers: [72, 65, 9] Generated Node #0,0: 57:[72, 65, 9] Operation: 95-86=9 Moving to Node #0,0 Current State: 57:[72, 65, 9], Operations: ['95-86=9'] Exploring Operation: 72/9=8, Resulting Numbers: [65, 8] Generated Node #0,0,3: 57:[65, 8] Operation: 72/9=8 Moving to Node #0,0,3 Current State: 57:[65, 8], Operations: ['95-86=9', '72/9=8'] Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.961806
hs_4
mult_heuristic
[ 42, 33, 50, 85 ]
44
[ "42-33=9", "85-50=35", "9+35=44" ]
Current State: 44:[42, 33, 50, 85], Operations: [] Exploring Operation: 42-33=9, Resulting Numbers: [50, 85, 9] Generated Node #2: [50, 85, 9] from Operation: 42-33=9 Current State: 44:[50, 85, 9], Operations: ['42-33=9'] Exploring Operation: 85-50=35, Resulting Numbers: [9, 35] Generated Node #3: [9, 35] from Operation: 85-50=35 Current State: 44:[9, 35], Operations: ['42-33=9', '85-50=35'] Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[42, 33, 50, 85], Operations: [] Exploring Operation: 85-42=43, Resulting Numbers: [33, 50, 43] Generated Node #0,0: 44:[33, 50, 43] Operation: 85-42=43 Exploring Operation: 85-33=52, Resulting Numbers: [42, 50, 52] Generated Node #0,1: 44:[42, 50, 52] Operation: 85-33=52 Moving to Node #0,1 Current State: 44:[42, 50, 52], Operations: ['85-33=52'] Exploring Operation: 52-42=10, Resulting Numbers: [50, 10] Generated Node #0,1,0: 44:[50, 10] Operation: 52-42=10 Exploring Operation: 52-50=2, Resulting Numbers: [42, 2] Generated Node #0,1,1: 44:[42, 2] Operation: 52-50=2 Moving to Node #0,0 Current State: 44:[33, 50, 43], Operations: ['85-42=43'] Exploring Operation: 50-33=17, Resulting Numbers: [43, 17] Generated Node #0,0,0: 44:[43, 17] Operation: 50-33=17 Exploring Operation: 43-33=10, Resulting Numbers: [50, 10] Generated Node #0,0,1: 44:[50, 10] Operation: 43-33=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[43, 17], Operations: ['85-42=43', '50-33=17'] Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,44 unequal: No Solution Exploring Operation: 43+17=60, Resulting Numbers: [60] 60,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[50, 10], Operations: ['85-42=43', '43-33=10'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,44 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: 44:[42, 2], Operations: ['85-33=52', '52-50=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,44 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[42, 33, 50, 85], Operations: [] Exploring Operation: 85-33=52, Resulting Numbers: [42, 50, 52] Generated Node #0,1: 44:[42, 50, 52] Operation: 85-33=52 Moving to Node #0,1 Current State: 44:[42, 50, 52], Operations: ['85-33=52'] Exploring Operation: 52-50=2, Resulting Numbers: [42, 2] Generated Node #0,1,1: 44:[42, 2] Operation: 52-50=2 Moving to Node #0,1,1 Current State: 44:[42, 2], Operations: ['85-33=52', '52-50=2'] Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 87, 19, 77, 86 ]
84
[ "86-77=9", "19*9=171", "171-87=84" ]
Current State: 84:[87, 19, 77, 86], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [87, 19, 9] Generated Node #2: [87, 19, 9] from Operation: 86-77=9 Current State: 84:[87, 19, 9], Operations: ['86-77=9'] Exploring Operation: 19*9=171, Resulting Numbers: [87, 171] Generated Node #3: [87, 171] from Operation: 19*9=171 Current State: 84:[87, 171], Operations: ['86-77=9', '19*9=171'] Exploring Operation: 171-87=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[87, 19, 77, 86], Operations: [] Exploring Operation: 87-86=1, Resulting Numbers: [19, 77, 1] Generated Node #0,0: 84:[19, 77, 1] Operation: 87-86=1 Exploring Operation: 87-77=10, Resulting Numbers: [19, 86, 10] Generated Node #0,1: 84:[19, 86, 10] Operation: 87-77=10 Exploring Operation: 19+77=96, Resulting Numbers: [87, 86, 96] Generated Node #0,2: 84:[87, 86, 96] Operation: 19+77=96 Exploring Operation: 86-77=9, Resulting Numbers: [87, 19, 9] Generated Node #0,3: 84:[87, 19, 9] Operation: 86-77=9 Moving to Node #0,1 Current State: 84:[19, 86, 10], Operations: ['87-77=10'] Exploring Operation: 19-10=9, Resulting Numbers: [86, 9] Generated Node #0,1,0: 84:[86, 9] Operation: 19-10=9 Exploring Operation: 19+10=29, Resulting Numbers: [86, 29] Generated Node #0,1,1: 84:[86, 29] Operation: 19+10=29 Exploring Operation: 86+10=96, Resulting Numbers: [19, 96] Generated Node #0,1,2: 84:[19, 96] Operation: 86+10=96 Exploring Operation: 86-10=76, Resulting Numbers: [19, 76] Generated Node #0,1,3: 84:[19, 76] Operation: 86-10=76 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[86, 29], Operations: ['87-77=10', '19+10=29'] Exploring Operation: 86+29=115, Resulting Numbers: [115] 115,84 unequal: No Solution Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 86*29=2494, Resulting Numbers: [2494] 2494,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[86, 9], Operations: ['87-77=10', '19-10=9'] Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,84 unequal: No Solution Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,84 unequal: No Solution Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 84:[19, 76], Operations: ['87-77=10', '86-10=76'] Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 19*76=1444, Resulting Numbers: [1444] 1444,84 unequal: No Solution Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,84 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[19, 96], Operations: ['87-77=10', '86+10=96'] Exploring Operation: 19*96=1824, Resulting Numbers: [1824] 1824,84 unequal: No Solution Exploring Operation: 19+96=115, Resulting Numbers: [115] 115,84 unequal: No Solution Exploring Operation: 96-19=77, Resulting Numbers: [77] 77,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 84:[87, 19, 9], Operations: ['86-77=9'] Exploring Operation: 19+9=28, Resulting Numbers: [87, 28] Generated Node #0,3,0: 84:[87, 28] Operation: 19+9=28 Exploring Operation: 87+9=96, Resulting Numbers: [19, 96] Generated Node #0,3,1: 84:[19, 96] Operation: 87+9=96 Exploring Operation: 19-9=10, Resulting Numbers: [87, 10] Generated Node #0,3,2: 84:[87, 10] Operation: 19-9=10 Exploring Operation: 87-9=78, Resulting Numbers: [19, 78] Generated Node #0,3,3: 84:[19, 78] Operation: 87-9=78 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[87, 28], Operations: ['86-77=9', '19+9=28'] Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 87*28=2436, Resulting Numbers: [2436] 2436,84 unequal: No Solution Exploring Operation: 87+28=115, Resulting Numbers: [115] 115,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 84:[87, 10], Operations: ['86-77=9', '19-9=10'] Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,84 unequal: No Solution Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,84 unequal: No Solution Exploring Operation: 87*10=870, Resulting Numbers: [870] 870,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 84:[19, 78], Operations: ['86-77=9', '87-9=78'] Exploring Operation: 19*78=1482, Resulting Numbers: [1482] 1482,84 unequal: No Solution Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 19+78=97, Resulting Numbers: [97] 97,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 84:[19, 96], Operations: ['86-77=9', '87+9=96'] Exploring Operation: 96-19=77, Resulting Numbers: [77] 77,84 unequal: No Solution Exploring Operation: 19*96=1824, Resulting Numbers: [1824] 1824,84 unequal: No Solution Exploring Operation: 19+96=115, Resulting Numbers: [115] 115,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 84:[19, 77, 1], Operations: ['87-86=1'] Exploring Operation: 19*1=19, Resulting Numbers: [77, 19] Generated Node #0,0,0: 84:[77, 19] Operation: 19*1=19 Exploring Operation: 19+1=20, Resulting Numbers: [77, 20] Generated Node #0,0,1: 84:[77, 20] Operation: 19+1=20 Exploring Operation: 77+1=78, Resulting Numbers: [19, 78] Generated Node #0,0,2: 84:[19, 78] Operation: 77+1=78 Exploring Operation: 19/1=19, Resulting Numbers: [77, 19] Generated Node #0,0,3: 84:[77, 19] Operation: 19/1=19 Moving to Node #0,2 Current State: 84:[87, 86, 96], Operations: ['19+77=96'] Exploring Operation: 87+86=173, Resulting Numbers: [96, 173] Generated Node #0,2,0: 84:[96, 173] Operation: 87+86=173 Exploring Operation: 96-86=10, Resulting Numbers: [87, 10] Generated Node #0,2,1: 84:[87, 10] Operation: 96-86=10 Exploring Operation: 96-87=9, Resulting Numbers: [86, 9] Generated Node #0,2,2: 84:[86, 9] Operation: 96-87=9 Exploring Operation: 87-86=1, Resulting Numbers: [96, 1] Generated Node #0,2,3: 84:[96, 1] Operation: 87-86=1 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[86, 9], Operations: ['19+77=96', '96-87=9'] Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,84 unequal: No Solution Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,84 unequal: No Solution Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[87, 10], Operations: ['19+77=96', '96-86=10'] Exploring Operation: 87*10=870, Resulting Numbers: [870] 870,84 unequal: No Solution Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,84 unequal: No Solution Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 84:[96, 1], Operations: ['19+77=96', '87-86=1'] Exploring Operation: 96+1=97, Resulting Numbers: [97] 97,84 unequal: No Solution Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,84 unequal: No Solution Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,84 unequal: No Solution Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[96, 173], Operations: ['19+77=96', '87+86=173'] Exploring Operation: 96+173=269, Resulting Numbers: [269] 269,84 unequal: No Solution Exploring Operation: 96*173=16608, Resulting Numbers: [16608] 16608,84 unequal: No Solution Exploring Operation: 173-96=77, Resulting Numbers: [77] 77,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 84:[77, 20], Operations: ['87-86=1', '19+1=20'] Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,84 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[19, 78], Operations: ['87-86=1', '77+1=78'] Exploring Operation: 19+78=97, Resulting Numbers: [97] 97,84 unequal: No Solution Exploring Operation: 19*78=1482, Resulting Numbers: [1482] 1482,84 unequal: No Solution Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,84 unequal: No Solution Moving to Node #0,0,3 Current State: 84:[77, 19], Operations: ['87-86=1', '19/1=19'] Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,84 unequal: No Solution Exploring Operation: 77+19=96, Resulting Numbers: [96] 96,84 unequal: No Solution Exploring Operation: 77*19=1463, Resulting Numbers: [1463] 1463,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[77, 19], Operations: ['87-86=1', '19*1=19'] Exploring Operation: 77+19=96, Resulting Numbers: [96] 96,84 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,84 unequal: No Solution Exploring Operation: 77*19=1463, Resulting Numbers: [1463] 1463,84 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 96, 29, 65, 38 ]
19
[ "96-29=67", "67-65=2", "38/2=19" ]
Current State: 19:[96, 29, 65, 38], Operations: [] Exploring Operation: 96-29=67, Resulting Numbers: [65, 38, 67] Generated Node #2: [65, 38, 67] from Operation: 96-29=67 Current State: 19:[65, 38, 67], Operations: ['96-29=67'] Exploring Operation: 67-65=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 67-65=2 Current State: 19:[38, 2], Operations: ['96-29=67', '67-65=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[96, 29, 65, 38], Operations: [] Exploring Operation: 96-65=31, Resulting Numbers: [29, 38, 31] Generated Node #0,0: 19:[29, 38, 31] Operation: 96-65=31 Exploring Operation: 96-38=58, Resulting Numbers: [29, 65, 58] Generated Node #0,1: 19:[29, 65, 58] Operation: 96-38=58 Exploring Operation: 65-38=27, Resulting Numbers: [96, 29, 27] Generated Node #0,2: 19:[96, 29, 27] Operation: 65-38=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[29, 38, 31], Operations: ['96-65=31'] Exploring Operation: 38-31=7, Resulting Numbers: [29, 7] Generated Node #0,0,0: 19:[29, 7] Operation: 38-31=7 Exploring Operation: 38-29=9, Resulting Numbers: [31, 9] Generated Node #0,0,1: 19:[31, 9] Operation: 38-29=9 Exploring Operation: 31-29=2, Resulting Numbers: [38, 2] Generated Node #0,0,2: 19:[38, 2] Operation: 31-29=2 Moving to Node #0,0,0 Current State: 19:[29, 7], Operations: ['96-65=31', '38-31=7'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[31, 9], Operations: ['96-65=31', '38-29=9'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 31*9=279, Resulting Numbers: [279] 279,19 unequal: No Solution Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[38, 2], Operations: ['96-65=31', '31-29=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[96, 29, 65, 38], Operations: [] Exploring Operation: 96-65=31, Resulting Numbers: [29, 38, 31] Generated Node #0,0: 19:[29, 38, 31] Operation: 96-65=31 Moving to Node #0,0 Current State: 19:[29, 38, 31], Operations: ['96-65=31'] Exploring Operation: 31-29=2, Resulting Numbers: [38, 2] Generated Node #0,0,2: 19:[38, 2] Operation: 31-29=2 Moving to Node #0,0,2 Current State: 19:[38, 2], Operations: ['96-65=31', '31-29=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 59, 35, 31, 38 ]
87
[ "59+35=94", "38-31=7", "94-7=87" ]
Current State: 87:[59, 35, 31, 38], Operations: [] Exploring Operation: 59+35=94, Resulting Numbers: [31, 38, 94] Generated Node #2: [31, 38, 94] from Operation: 59+35=94 Current State: 87:[31, 38, 94], Operations: ['59+35=94'] Exploring Operation: 38-31=7, Resulting Numbers: [94, 7] Generated Node #3: [94, 7] from Operation: 38-31=7 Current State: 87:[94, 7], Operations: ['59+35=94', '38-31=7'] Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[59, 35, 31, 38], Operations: [] Exploring Operation: 59-31=28, Resulting Numbers: [35, 38, 28] Generated Node #0,0: 87:[35, 38, 28] Operation: 59-31=28 Exploring Operation: 59-35=24, Resulting Numbers: [31, 38, 24] Generated Node #0,1: 87:[31, 38, 24] Operation: 59-35=24 Moving to Node #0,0 Current State: 87:[35, 38, 28], Operations: ['59-31=28'] Exploring Operation: 35-28=7, Resulting Numbers: [38, 7] Generated Node #0,0,0: 87:[38, 7] Operation: 35-28=7 Exploring Operation: 38-35=3, Resulting Numbers: [28, 3] Generated Node #0,0,1: 87:[28, 3] Operation: 38-35=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[28, 3], Operations: ['59-31=28', '38-35=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[38, 7], Operations: ['59-31=28', '35-28=7'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 87:[31, 38, 24], Operations: ['59-35=24'] Exploring Operation: 31-24=7, Resulting Numbers: [38, 7] Generated Node #0,1,0: 87:[38, 7] Operation: 31-24=7 Exploring Operation: 38-31=7, Resulting Numbers: [24, 7] Generated Node #0,1,1: 87:[24, 7] Operation: 38-31=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[24, 7], Operations: ['59-35=24', '38-31=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[38, 7], Operations: ['59-35=24', '31-24=7'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 52, 98, 76, 16 ]
14
[ "98-52=46", "76-16=60", "60-46=14" ]
Current State: 14:[52, 98, 76, 16], Operations: [] Exploring Operation: 98-52=46, Resulting Numbers: [76, 16, 46] Generated Node #2: [76, 16, 46] from Operation: 98-52=46 Current State: 14:[76, 16, 46], Operations: ['98-52=46'] Exploring Operation: 76-16=60, Resulting Numbers: [46, 60] Generated Node #3: [46, 60] from Operation: 76-16=60 Current State: 14:[46, 60], Operations: ['98-52=46', '76-16=60'] Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[52, 98, 76, 16], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [52, 16, 22] Generated Node #0,0: 14:[52, 16, 22] Operation: 98-76=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[52, 16, 22], Operations: ['98-76=22'] Exploring Operation: 52-22=30, Resulting Numbers: [16, 30] Generated Node #0,0,0: 14:[16, 30] Operation: 52-22=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[16, 30], Operations: ['98-76=22', '52-22=30'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[52, 98, 76, 16], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [52, 16, 22] Generated Node #0,0: 14:[52, 16, 22] Operation: 98-76=22 Moving to Node #0,0 Current State: 14:[52, 16, 22], Operations: ['98-76=22'] Exploring Operation: 52-22=30, Resulting Numbers: [16, 30] Generated Node #0,0,0: 14:[16, 30] Operation: 52-22=30 Moving to Node #0,0,0 Current State: 14:[16, 30], Operations: ['98-76=22', '52-22=30'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 49, 69, 89, 80 ]
40
[ "49+89=138", "69*80=5520", "5520/138=40" ]
Current State: 40:[49, 69, 89, 80], Operations: [] Exploring Operation: 49+89=138, Resulting Numbers: [69, 80, 138] Generated Node #2: [69, 80, 138] from Operation: 49+89=138 Current State: 40:[69, 80, 138], Operations: ['49+89=138'] Exploring Operation: 69*80=5520, Resulting Numbers: [138, 5520] Generated Node #3: [138, 5520] from Operation: 69*80=5520 Current State: 40:[138, 5520], Operations: ['49+89=138', '69*80=5520'] Exploring Operation: 5520/138=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[49, 69, 89, 80], Operations: [] Exploring Operation: 89-80=9, Resulting Numbers: [49, 69, 9] Generated Node #0,0: 40:[49, 69, 9] Operation: 89-80=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[49, 69, 9], Operations: ['89-80=9'] Exploring Operation: 69-49=20, Resulting Numbers: [9, 20] Generated Node #0,0,0: 40:[9, 20] Operation: 69-49=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[9, 20], Operations: ['89-80=9', '69-49=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,40 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
[ 21, 85, 57, 17 ]
24
[ "85-21=64", "57-17=40", "64-40=24" ]
Current State: 24:[21, 85, 57, 17], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [57, 17, 64] Generated Node #2: [57, 17, 64] from Operation: 85-21=64 Current State: 24:[57, 17, 64], Operations: ['85-21=64'] Exploring Operation: 57-17=40, Resulting Numbers: [64, 40] Generated Node #3: [64, 40] from Operation: 57-17=40 Current State: 24:[64, 40], Operations: ['85-21=64', '57-17=40'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[21, 85, 57, 17], Operations: [] Exploring Operation: 85-17=68, Resulting Numbers: [21, 57, 68] Generated Node #0,0: 24:[21, 57, 68] Operation: 85-17=68 Exploring Operation: 85/17=5, Resulting Numbers: [21, 57, 5] Generated Node #0,1: 24:[21, 57, 5] Operation: 85/17=5 Exploring Operation: 85-57=28, Resulting Numbers: [21, 17, 28] Generated Node #0,2: 24:[21, 17, 28] Operation: 85-57=28 Exploring Operation: 57-21=36, Resulting Numbers: [85, 17, 36] Generated Node #0,3: 24:[85, 17, 36] Operation: 57-21=36 Exploring Operation: 85-21=64, Resulting Numbers: [57, 17, 64] Generated Node #0,4: 24:[57, 17, 64] Operation: 85-21=64 Moving to Node #0,2 Current State: 24:[21, 17, 28], Operations: ['85-57=28'] Exploring Operation: 28-21=7, Resulting Numbers: [17, 7] Generated Node #0,2,0: 24:[17, 7] Operation: 28-21=7 Exploring Operation: 21-17=4, Resulting Numbers: [28, 4] Generated Node #0,2,1: 24:[28, 4] Operation: 21-17=4 Exploring Operation: 17+28=45, Resulting Numbers: [21, 45] Generated Node #0,2,2: 24:[21, 45] Operation: 17+28=45 Exploring Operation: 21+17=38, Resulting Numbers: [28, 38] Generated Node #0,2,3: 24:[28, 38] Operation: 21+17=38 Exploring Operation: 28-17=11, Resulting Numbers: [21, 11] Generated Node #0,2,4: 24:[21, 11] Operation: 28-17=11 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[28, 4], Operations: ['85-57=28', '21-17=4'] Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[21, 85, 57, 17], Operations: [] Exploring Operation: 85-57=28, Resulting Numbers: [21, 17, 28] Generated Node #0,2: 24:[21, 17, 28] Operation: 85-57=28 Moving to Node #0,2 Current State: 24:[21, 17, 28], Operations: ['85-57=28'] Exploring Operation: 21-17=4, Resulting Numbers: [28, 4] Generated Node #0,2,1: 24:[28, 4] Operation: 21-17=4 Moving to Node #0,2,1 Current State: 24:[28, 4], Operations: ['85-57=28', '21-17=4'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 69, 97, 27, 39 ]
39
[ "97-69=28", "28-27=1", "39*1=39" ]
Current State: 39:[69, 97, 27, 39], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [27, 39, 28] Generated Node #2: [27, 39, 28] from Operation: 97-69=28 Current State: 39:[27, 39, 28], Operations: ['97-69=28'] Exploring Operation: 28-27=1, Resulting Numbers: [39, 1] Generated Node #3: [39, 1] from Operation: 28-27=1 Current State: 39:[39, 1], Operations: ['97-69=28', '28-27=1'] Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[69, 97, 27, 39], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [27, 39, 28] Generated Node #0,0: 39:[27, 39, 28] Operation: 97-69=28 Exploring Operation: 97-27=70, Resulting Numbers: [69, 39, 70] Generated Node #0,1: 39:[69, 39, 70] Operation: 97-27=70 Exploring Operation: 69-27=42, Resulting Numbers: [97, 39, 42] Generated Node #0,2: 39:[97, 39, 42] Operation: 69-27=42 Exploring Operation: 97-39=58, Resulting Numbers: [69, 27, 58] Generated Node #0,3: 39:[69, 27, 58] Operation: 97-39=58 Exploring Operation: 69-39=30, Resulting Numbers: [97, 27, 30] Generated Node #0,4: 39:[97, 27, 30] Operation: 69-39=30 Moving to Node #0,0 Current State: 39:[27, 39, 28], Operations: ['97-69=28'] Exploring Operation: 39-27=12, Resulting Numbers: [28, 12] Generated Node #0,0,0: 39:[28, 12] Operation: 39-27=12 Exploring Operation: 27+28=55, Resulting Numbers: [39, 55] Generated Node #0,0,1: 39:[39, 55] Operation: 27+28=55 Exploring Operation: 27+39=66, Resulting Numbers: [28, 66] Generated Node #0,0,2: 39:[28, 66] Operation: 27+39=66 Exploring Operation: 39-28=11, Resulting Numbers: [27, 11] Generated Node #0,0,3: 39:[27, 11] Operation: 39-28=11 Exploring Operation: 28-27=1, Resulting Numbers: [39, 1] Generated Node #0,0,4: 39:[39, 1] Operation: 28-27=1 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 39:[39, 1], Operations: ['97-69=28', '28-27=1'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[69, 97, 27, 39], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [27, 39, 28] Generated Node #0,0: 39:[27, 39, 28] Operation: 97-69=28 Moving to Node #0,0 Current State: 39:[27, 39, 28], Operations: ['97-69=28'] Exploring Operation: 28-27=1, Resulting Numbers: [39, 1] Generated Node #0,0,4: 39:[39, 1] Operation: 28-27=1 Moving to Node #0,0,4 Current State: 39:[39, 1], Operations: ['97-69=28', '28-27=1'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 26, 37, 31, 78 ]
71
[ "78/26=3", "37+31=68", "3+68=71" ]
Current State: 71:[26, 37, 31, 78], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [37, 31, 3] Generated Node #2: [37, 31, 3] from Operation: 78/26=3 Current State: 71:[37, 31, 3], Operations: ['78/26=3'] Exploring Operation: 37+31=68, Resulting Numbers: [3, 68] Generated Node #3: [3, 68] from Operation: 37+31=68 Current State: 71:[3, 68], Operations: ['78/26=3', '37+31=68'] Exploring Operation: 3+68=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[26, 37, 31, 78], Operations: [] Exploring Operation: 26+31=57, Resulting Numbers: [37, 78, 57] Generated Node #0,0: 71:[37, 78, 57] Operation: 26+31=57 Exploring Operation: 37+31=68, Resulting Numbers: [26, 78, 68] Generated Node #0,1: 71:[26, 78, 68] Operation: 37+31=68 Exploring Operation: 26+37=63, Resulting Numbers: [31, 78, 63] Generated Node #0,2: 71:[31, 78, 63] Operation: 26+37=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[37, 78, 57], Operations: ['26+31=57'] Exploring Operation: 78-37=41, Resulting Numbers: [57, 41] Generated Node #0,0,0: 71:[57, 41] Operation: 78-37=41 Exploring Operation: 37+78=115, Resulting Numbers: [57, 115] Generated Node #0,0,1: 71:[57, 115] Operation: 37+78=115 Exploring Operation: 37+57=94, Resulting Numbers: [78, 94] Generated Node #0,0,2: 71:[78, 94] Operation: 37+57=94 Moving to Node #0,0,2 Current State: 71:[78, 94], Operations: ['26+31=57', '37+57=94'] Exploring Operation: 94-78=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 78+94=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 78*94=7332, Resulting Numbers: [7332] 7332,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[57, 41], Operations: ['26+31=57', '78-37=41'] Exploring Operation: 57*41=2337, Resulting Numbers: [2337] 2337,71 unequal: No Solution Exploring Operation: 57+41=98, Resulting Numbers: [98] 98,71 unequal: No Solution Exploring Operation: 57-41=16, Resulting Numbers: [16] 16,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[57, 115], Operations: ['26+31=57', '37+78=115'] Exploring Operation: 115-57=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 57*115=6555, Resulting Numbers: [6555] 6555,71 unequal: No Solution Exploring Operation: 57+115=172, Resulting Numbers: [172] 172,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[26, 78, 68], Operations: ['37+31=68'] Exploring Operation: 78-26=52, Resulting Numbers: [68, 52] Generated Node #0,1,0: 71:[68, 52] Operation: 78-26=52 Exploring Operation: 26+78=104, Resulting Numbers: [68, 104] Generated Node #0,1,1: 71:[68, 104] Operation: 26+78=104 Exploring Operation: 26+68=94, Resulting Numbers: [78, 94] Generated Node #0,1,2: 71:[78, 94] Operation: 26+68=94 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[68, 52], Operations: ['37+31=68', '78-26=52'] Exploring Operation: 68*52=3536, Resulting Numbers: [3536] 3536,71 unequal: No Solution Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 68+52=120, Resulting Numbers: [120] 120,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[78, 94], Operations: ['37+31=68', '26+68=94'] Exploring Operation: 78*94=7332, Resulting Numbers: [7332] 7332,71 unequal: No Solution Exploring Operation: 78+94=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 94-78=16, Resulting Numbers: [16] 16,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[68, 104], Operations: ['37+31=68', '26+78=104'] Exploring Operation: 68*104=7072, Resulting Numbers: [7072] 7072,71 unequal: No Solution Exploring Operation: 68+104=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 104-68=36, Resulting Numbers: [36] 36,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[31, 78, 63], Operations: ['26+37=63'] Exploring Operation: 31+78=109, Resulting Numbers: [63, 109] Generated Node #0,2,0: 71:[63, 109] Operation: 31+78=109 Exploring Operation: 78-31=47, Resulting Numbers: [63, 47] Generated Node #0,2,1: 71:[63, 47] Operation: 78-31=47 Exploring Operation: 31+63=94, Resulting Numbers: [78, 94] Generated Node #0,2,2: 71:[78, 94] Operation: 31+63=94 Moving to Node #0,2,2 Current State: 71:[78, 94], Operations: ['26+37=63', '31+63=94'] Exploring Operation: 78*94=7332, Resulting Numbers: [7332] 7332,71 unequal: No Solution Exploring Operation: 94-78=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 78+94=172, Resulting Numbers: [172] 172,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[63, 47], Operations: ['26+37=63', '78-31=47'] Exploring Operation: 63*47=2961, Resulting Numbers: [2961] 2961,71 unequal: No Solution Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 63+47=110, Resulting Numbers: [110] 110,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[63, 109], Operations: ['26+37=63', '31+78=109'] Exploring Operation: 63*109=6867, Resulting Numbers: [6867] 6867,71 unequal: No Solution Exploring Operation: 63+109=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 109-63=46, Resulting Numbers: [46] 46,71 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
[ 98, 79, 87, 28 ]
78
[ "98-79=19", "87-28=59", "19+59=78" ]
Current State: 78:[98, 79, 87, 28], Operations: [] Exploring Operation: 98-79=19, Resulting Numbers: [87, 28, 19] Generated Node #2: [87, 28, 19] from Operation: 98-79=19 Current State: 78:[87, 28, 19], Operations: ['98-79=19'] Exploring Operation: 87-28=59, Resulting Numbers: [19, 59] Generated Node #3: [19, 59] from Operation: 87-28=59 Current State: 78:[19, 59], Operations: ['98-79=19', '87-28=59'] Exploring Operation: 19+59=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[98, 79, 87, 28], Operations: [] Exploring Operation: 98-87=11, Resulting Numbers: [79, 28, 11] Generated Node #0,0: 78:[79, 28, 11] Operation: 98-87=11 Moving to Node #0,0 Current State: 78:[79, 28, 11], Operations: ['98-87=11'] Exploring Operation: 28+11=39, Resulting Numbers: [79, 39] Generated Node #0,0,0: 78:[79, 39] Operation: 28+11=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[79, 39], Operations: ['98-87=11', '28+11=39'] Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 70, 42, 39, 89 ]
62
[ "70+42=112", "89-39=50", "112-50=62" ]
Current State: 62:[70, 42, 39, 89], Operations: [] Exploring Operation: 70+42=112, Resulting Numbers: [39, 89, 112] Generated Node #2: [39, 89, 112] from Operation: 70+42=112 Current State: 62:[39, 89, 112], Operations: ['70+42=112'] Exploring Operation: 89-39=50, Resulting Numbers: [112, 50] Generated Node #3: [112, 50] from Operation: 89-39=50 Current State: 62:[112, 50], Operations: ['70+42=112', '89-39=50'] Exploring Operation: 112-50=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[70, 42, 39, 89], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [42, 39, 19] Generated Node #0,0: 62:[42, 39, 19] Operation: 89-70=19 Exploring Operation: 89-42=47, Resulting Numbers: [70, 39, 47] Generated Node #0,1: 62:[70, 39, 47] Operation: 89-42=47 Moving to Node #0,0 Current State: 62:[42, 39, 19], Operations: ['89-70=19'] Exploring Operation: 42+19=61, Resulting Numbers: [39, 61] Generated Node #0,0,0: 62:[39, 61] Operation: 42+19=61 Exploring Operation: 42-39=3, Resulting Numbers: [19, 3] Generated Node #0,0,1: 62:[19, 3] Operation: 42-39=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[39, 61], Operations: ['89-70=19', '42+19=61'] Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 39+61=100, Resulting Numbers: [100] 100,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[19, 3], Operations: ['89-70=19', '42-39=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 62:[70, 39, 47], Operations: ['89-42=47'] Exploring Operation: 70-39=31, Resulting Numbers: [47, 31] Generated Node #0,1,0: 62:[47, 31] Operation: 70-39=31 Exploring Operation: 47-39=8, Resulting Numbers: [70, 8] Generated Node #0,1,1: 62:[70, 8] Operation: 47-39=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[70, 8], Operations: ['89-42=47', '47-39=8'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[70, 42, 39, 89], Operations: [] Exploring Operation: 89-42=47, Resulting Numbers: [70, 39, 47] Generated Node #0,1: 62:[70, 39, 47] Operation: 89-42=47 Moving to Node #0,1 Current State: 62:[70, 39, 47], Operations: ['89-42=47'] Exploring Operation: 47-39=8, Resulting Numbers: [70, 8] Generated Node #0,1,1: 62:[70, 8] Operation: 47-39=8 Moving to Node #0,1,1 Current State: 62:[70, 8], Operations: ['89-42=47', '47-39=8'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 14, 5, 92, 83 ]
28
[ "14+5=19", "92-83=9", "19+9=28" ]
Current State: 28:[14, 5, 92, 83], Operations: [] Exploring Operation: 14+5=19, Resulting Numbers: [92, 83, 19] Generated Node #2: [92, 83, 19] from Operation: 14+5=19 Current State: 28:[92, 83, 19], Operations: ['14+5=19'] Exploring Operation: 92-83=9, Resulting Numbers: [19, 9] Generated Node #3: [19, 9] from Operation: 92-83=9 Current State: 28:[19, 9], Operations: ['14+5=19', '92-83=9'] Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[14, 5, 92, 83], Operations: [] Exploring Operation: 92-14=78, Resulting Numbers: [5, 83, 78] Generated Node #0,0: 28:[5, 83, 78] Operation: 92-14=78 Exploring Operation: 92-83=9, Resulting Numbers: [14, 5, 9] Generated Node #0,1: 28:[14, 5, 9] Operation: 92-83=9 Moving to Node #0,1 Current State: 28:[14, 5, 9], Operations: ['92-83=9'] Exploring Operation: 9-5=4, Resulting Numbers: [14, 4] Generated Node #0,1,0: 28:[14, 4] Operation: 9-5=4 Exploring Operation: 5+9=14, Resulting Numbers: [14, 14] Generated Node #0,1,1: 28:[14, 14] Operation: 5+9=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[14, 4], Operations: ['92-83=9', '9-5=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,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,1,1 Current State: 28:[14, 14], Operations: ['92-83=9', '5+9=14'] Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[14, 5, 92, 83], Operations: [] Exploring Operation: 92-83=9, Resulting Numbers: [14, 5, 9] Generated Node #0,1: 28:[14, 5, 9] Operation: 92-83=9 Moving to Node #0,1 Current State: 28:[14, 5, 9], Operations: ['92-83=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14, 14] Generated Node #0,1,1: 28:[14, 14] Operation: 5+9=14 Moving to Node #0,1,1 Current State: 28:[14, 14], Operations: ['92-83=9', '5+9=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 57, 41, 10, 13 ]
13
[ "57-41=16", "13-10=3", "16-3=13" ]
Current State: 13:[57, 41, 10, 13], Operations: [] Exploring Operation: 57-41=16, Resulting Numbers: [10, 13, 16] Generated Node #2: [10, 13, 16] from Operation: 57-41=16 Current State: 13:[10, 13, 16], Operations: ['57-41=16'] Exploring Operation: 13-10=3, Resulting Numbers: [16, 3] Generated Node #3: [16, 3] from Operation: 13-10=3 Current State: 13:[16, 3], Operations: ['57-41=16', '13-10=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[57, 41, 10, 13], Operations: [] Exploring Operation: 57-41=16, Resulting Numbers: [10, 13, 16] Generated Node #0,0: 13:[10, 13, 16] Operation: 57-41=16 Moving to Node #0,0 Current State: 13:[10, 13, 16], Operations: ['57-41=16'] Exploring Operation: 16-10=6, Resulting Numbers: [13, 6] Generated Node #0,0,0: 13:[13, 6] Operation: 16-10=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[13, 6], Operations: ['57-41=16', '16-10=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,13 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
[ 84, 3, 36, 35 ]
12
[ "36*35=1260", "1260/84=15", "15-3=12" ]
Current State: 12:[84, 3, 36, 35], Operations: [] Exploring Operation: 36*35=1260, Resulting Numbers: [84, 3, 1260] Generated Node #2: [84, 3, 1260] from Operation: 36*35=1260 Current State: 12:[84, 3, 1260], Operations: ['36*35=1260'] Exploring Operation: 1260/84=15, Resulting Numbers: [3, 15] Generated Node #3: [3, 15] from Operation: 1260/84=15 Current State: 12:[3, 15], Operations: ['36*35=1260', '1260/84=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[84, 3, 36, 35], Operations: [] Exploring Operation: 84-35=49, Resulting Numbers: [3, 36, 49] Generated Node #0,0: 12:[3, 36, 49] Operation: 84-35=49 Exploring Operation: 84-36=48, Resulting Numbers: [3, 35, 48] Generated Node #0,1: 12:[3, 35, 48] Operation: 84-36=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[3, 35, 48], Operations: ['84-36=48'] Exploring Operation: 48/3=16, Resulting Numbers: [35, 16] Generated Node #0,1,0: 12:[35, 16] Operation: 48/3=16 Exploring Operation: 48-35=13, Resulting Numbers: [3, 13] Generated Node #0,1,1: 12:[3, 13] Operation: 48-35=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[3, 13], Operations: ['84-36=48', '48-35=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[35, 16], Operations: ['84-36=48', '48/3=16'] Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[3, 36, 49], Operations: ['84-35=49'] Exploring Operation: 36/3=12, Resulting Numbers: [49, 12] Generated Node #0,0,0: 12:[49, 12] Operation: 36/3=12 Exploring Operation: 49-36=13, Resulting Numbers: [3, 13] Generated Node #0,0,1: 12:[3, 13] Operation: 49-36=13 Moving to Node #0,0,1 Current State: 12:[3, 13], Operations: ['84-35=49', '49-36=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,12 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[49, 12], Operations: ['84-35=49', '36/3=12'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,12 unequal: No Solution Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 59, 39, 50, 88 ]
51
[ "50-39=11", "88/11=8", "59-8=51" ]
Current State: 51:[59, 39, 50, 88], Operations: [] Exploring Operation: 50-39=11, Resulting Numbers: [59, 88, 11] Generated Node #2: [59, 88, 11] from Operation: 50-39=11 Current State: 51:[59, 88, 11], Operations: ['50-39=11'] Exploring Operation: 88/11=8, Resulting Numbers: [59, 8] Generated Node #3: [59, 8] from Operation: 88/11=8 Current State: 51:[59, 8], Operations: ['50-39=11', '88/11=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[59, 39, 50, 88], Operations: [] Exploring Operation: 88-50=38, Resulting Numbers: [59, 39, 38] Generated Node #0,0: 51:[59, 39, 38] Operation: 88-50=38 Exploring Operation: 88-59=29, Resulting Numbers: [39, 50, 29] Generated Node #0,1: 51:[39, 50, 29] Operation: 88-59=29 Exploring Operation: 59-39=20, Resulting Numbers: [50, 88, 20] Generated Node #0,2: 51:[50, 88, 20] Operation: 59-39=20 Exploring Operation: 88-39=49, Resulting Numbers: [59, 50, 49] Generated Node #0,3: 51:[59, 50, 49] Operation: 88-39=49 Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[59, 50, 49], Operations: ['88-39=49'] Exploring Operation: 50+49=99, Resulting Numbers: [59, 99] Generated Node #0,3,0: 51:[59, 99] Operation: 50+49=99 Exploring Operation: 59-49=10, Resulting Numbers: [50, 10] Generated Node #0,3,1: 51:[50, 10] Operation: 59-49=10 Exploring Operation: 50-49=1, Resulting Numbers: [59, 1] Generated Node #0,3,2: 51:[59, 1] Operation: 50-49=1 Exploring Operation: 59-50=9, Resulting Numbers: [49, 9] Generated Node #0,3,3: 51:[49, 9] Operation: 59-50=9 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 51:[50, 10], Operations: ['88-39=49', '59-49=10'] Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,51 unequal: No Solution Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 50*10=500, Resulting Numbers: [500] 500,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 51:[49, 9], Operations: ['88-39=49', '59-50=9'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,51 unequal: No Solution Exploring Operation: 49*9=441, Resulting Numbers: [441] 441,51 unequal: No Solution Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 51:[59, 1], Operations: ['88-39=49', '50-49=1'] Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 51:[59, 99], Operations: ['88-39=49', '50+49=99'] Exploring Operation: 99-59=40, Resulting Numbers: [40] 40,51 unequal: No Solution Exploring Operation: 59*99=5841, Resulting Numbers: [5841] 5841,51 unequal: No Solution Exploring Operation: 59+99=158, Resulting Numbers: [158] 158,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[39, 50, 29], Operations: ['88-59=29'] Exploring Operation: 50-39=11, Resulting Numbers: [29, 11] Generated Node #0,1,0: 51:[29, 11] Operation: 50-39=11 Exploring Operation: 39-29=10, Resulting Numbers: [50, 10] Generated Node #0,1,1: 51:[50, 10] Operation: 39-29=10 Exploring Operation: 39+29=68, Resulting Numbers: [50, 68] Generated Node #0,1,2: 51:[50, 68] Operation: 39+29=68 Exploring Operation: 50-29=21, Resulting Numbers: [39, 21] Generated Node #0,1,3: 51:[39, 21] Operation: 50-29=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[50, 10], Operations: ['88-59=29', '39-29=10'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,51 unequal: No Solution Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,51 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 50*10=500, Resulting Numbers: [500] 500,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 51:[39, 21], Operations: ['88-59=29', '50-29=21'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,51 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[29, 11], Operations: ['88-59=29', '50-39=11'] Exploring Operation: 29*11=319, Resulting Numbers: [319] 319,51 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 29+11=40, Resulting Numbers: [40] 40,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 51:[50, 68], Operations: ['88-59=29', '39+29=68'] Exploring Operation: 50*68=3400, Resulting Numbers: [3400] 3400,51 unequal: No Solution Exploring Operation: 50+68=118, Resulting Numbers: [118] 118,51 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[59, 39, 38], Operations: ['88-50=38'] Exploring Operation: 39+38=77, Resulting Numbers: [59, 77] Generated Node #0,0,0: 51:[59, 77] Operation: 39+38=77 Exploring Operation: 39-38=1, Resulting Numbers: [59, 1] Generated Node #0,0,1: 51:[59, 1] Operation: 39-38=1 Exploring Operation: 59-38=21, Resulting Numbers: [39, 21] Generated Node #0,0,2: 51:[39, 21] Operation: 59-38=21 Exploring Operation: 59-39=20, Resulting Numbers: [38, 20] Generated Node #0,0,3: 51:[38, 20] Operation: 59-39=20 Moving to Node #0,0,1 Current State: 51:[59, 1], Operations: ['88-50=38', '39-38=1'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,51 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,51 unequal: No Solution Moving to Node #0,0,3 Current State: 51:[38, 20], Operations: ['88-50=38', '59-39=20'] Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,51 unequal: No Solution Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[39, 21], Operations: ['88-50=38', '59-38=21'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,51 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[59, 77], Operations: ['88-50=38', '39+38=77'] Exploring Operation: 59*77=4543, Resulting Numbers: [4543] 4543,51 unequal: No Solution Exploring Operation: 59+77=136, Resulting Numbers: [136] 136,51 unequal: No Solution Exploring Operation: 77-59=18, Resulting Numbers: [18] 18,51 unequal: No Solution No 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: 51:[50, 88, 20], Operations: ['59-39=20'] Exploring Operation: 50-20=30, Resulting Numbers: [88, 30] Generated Node #0,2,0: 51:[88, 30] Operation: 50-20=30 Exploring Operation: 88-50=38, Resulting Numbers: [20, 38] Generated Node #0,2,1: 51:[20, 38] Operation: 88-50=38 Exploring Operation: 50+20=70, Resulting Numbers: [88, 70] Generated Node #0,2,2: 51:[88, 70] Operation: 50+20=70 Exploring Operation: 88-20=68, Resulting Numbers: [50, 68] Generated Node #0,2,3: 51:[50, 68] Operation: 88-20=68 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[20, 38], Operations: ['59-39=20', '88-50=38'] Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,51 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 51:[50, 68], Operations: ['59-39=20', '88-20=68'] Exploring Operation: 50*68=3400, Resulting Numbers: [3400] 3400,51 unequal: No Solution Exploring Operation: 50+68=118, Resulting Numbers: [118] 118,51 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[88, 30], Operations: ['59-39=20', '50-20=30'] Exploring Operation: 88*30=2640, Resulting Numbers: [2640] 2640,51 unequal: No Solution Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 88+30=118, Resulting Numbers: [118] 118,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[88, 70], Operations: ['59-39=20', '50+20=70'] Exploring Operation: 88*70=6160, Resulting Numbers: [6160] 6160,51 unequal: No Solution Exploring Operation: 88-70=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 88+70=158, Resulting Numbers: [158] 158,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 78, 35, 27, 59 ]
41
[ "78*27=2106", "35*59=2065", "2106-2065=41" ]
Current State: 41:[78, 35, 27, 59], Operations: [] Exploring Operation: 78*27=2106, Resulting Numbers: [35, 59, 2106] Generated Node #2: [35, 59, 2106] from Operation: 78*27=2106 Current State: 41:[35, 59, 2106], Operations: ['78*27=2106'] Exploring Operation: 35*59=2065, Resulting Numbers: [2106, 2065] Generated Node #3: [2106, 2065] from Operation: 35*59=2065 Current State: 41:[2106, 2065], Operations: ['78*27=2106', '35*59=2065'] Exploring Operation: 2106-2065=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[78, 35, 27, 59], Operations: [] Exploring Operation: 78-35=43, Resulting Numbers: [27, 59, 43] Generated Node #0,0: 41:[27, 59, 43] Operation: 78-35=43 Exploring Operation: 78-59=19, Resulting Numbers: [35, 27, 19] Generated Node #0,1: 41:[35, 27, 19] Operation: 78-59=19 Exploring Operation: 78-27=51, Resulting Numbers: [35, 59, 51] Generated Node #0,2: 41:[35, 59, 51] Operation: 78-27=51 Exploring Operation: 59-27=32, Resulting Numbers: [78, 35, 32] Generated Node #0,3: 41:[78, 35, 32] Operation: 59-27=32 Moving to Node #0,0 Current State: 41:[27, 59, 43], Operations: ['78-35=43'] Exploring Operation: 59-27=32, Resulting Numbers: [43, 32] Generated Node #0,0,0: 41:[43, 32] Operation: 59-27=32 Exploring Operation: 27+59=86, Resulting Numbers: [43, 86] Generated Node #0,0,1: 41:[43, 86] Operation: 27+59=86 Exploring Operation: 43-27=16, Resulting Numbers: [59, 16] Generated Node #0,0,2: 41:[59, 16] Operation: 43-27=16 Exploring Operation: 59-43=16, Resulting Numbers: [27, 16] Generated Node #0,0,3: 41:[27, 16] Operation: 59-43=16 Moving to Node #0,2 Current State: 41:[35, 59, 51], Operations: ['78-27=51'] Exploring Operation: 51-35=16, Resulting Numbers: [59, 16] Generated Node #0,2,0: 41:[59, 16] Operation: 51-35=16 Exploring Operation: 59-35=24, Resulting Numbers: [51, 24] Generated Node #0,2,1: 41:[51, 24] Operation: 59-35=24 Exploring Operation: 59-51=8, Resulting Numbers: [35, 8] Generated Node #0,2,2: 41:[35, 8] Operation: 59-51=8 Exploring Operation: 35+59=94, Resulting Numbers: [51, 94] Generated Node #0,2,3: 41:[51, 94] Operation: 35+59=94 Moving to Node #0,1 Current State: 41:[35, 27, 19], Operations: ['78-59=19'] Exploring Operation: 35-19=16, Resulting Numbers: [27, 16] Generated Node #0,1,0: 41:[27, 16] Operation: 35-19=16 Exploring Operation: 35+19=54, Resulting Numbers: [27, 54] Generated Node #0,1,1: 41:[27, 54] Operation: 35+19=54 Exploring Operation: 27-19=8, Resulting Numbers: [35, 8] Generated Node #0,1,2: 41:[35, 8] Operation: 27-19=8 Exploring Operation: 27+19=46, Resulting Numbers: [35, 46] Generated Node #0,1,3: 41:[35, 46] Operation: 27+19=46 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[35, 46], Operations: ['78-59=19', '27+19=46'] Exploring Operation: 35+46=81, Resulting Numbers: [81] 81,41 unequal: No Solution Exploring Operation: 35*46=1610, Resulting Numbers: [1610] 1610,41 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,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:[27, 54], Operations: ['78-59=19', '35+19=54'] Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,41 unequal: No Solution Exploring Operation: 27+54=81, Resulting Numbers: [81] 81,41 unequal: No Solution Exploring Operation: 27*54=1458, Resulting Numbers: [1458] 1458,41 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,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,0 Current State: 41:[27, 16], Operations: ['78-59=19', '35-19=16'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,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:[35, 8], Operations: ['78-59=19', '27-19=8'] Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,41 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,41 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: 41:[78, 35, 32], Operations: ['59-27=32'] Exploring Operation: 35+32=67, Resulting Numbers: [78, 67] Generated Node #0,3,0: 41:[78, 67] Operation: 35+32=67 Exploring Operation: 78-35=43, Resulting Numbers: [32, 43] Generated Node #0,3,1: 41:[32, 43] Operation: 78-35=43 Exploring Operation: 78-32=46, Resulting Numbers: [35, 46] Generated Node #0,3,2: 41:[35, 46] Operation: 78-32=46 Exploring Operation: 78+32=110, Resulting Numbers: [35, 110] Generated Node #0,3,3: 41:[35, 110] Operation: 78+32=110 Moving to Node #0,0,0 Current State: 41:[43, 32], Operations: ['78-35=43', '59-27=32'] Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 43+32=75, Resulting Numbers: [75] 75,41 unequal: No Solution Exploring Operation: 43*32=1376, Resulting Numbers: [1376] 1376,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[32, 43], Operations: ['59-27=32', '78-35=43'] Exploring Operation: 32*43=1376, Resulting Numbers: [1376] 1376,41 unequal: No Solution Exploring Operation: 32+43=75, Resulting Numbers: [75] 75,41 unequal: No Solution Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[35, 46], Operations: ['59-27=32', '78-32=46'] Exploring Operation: 35+46=81, Resulting Numbers: [81] 81,41 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 35*46=1610, Resulting Numbers: [1610] 1610,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[51, 24], Operations: ['78-27=51', '59-35=24'] Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,41 unequal: No Solution Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,41 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[35, 8], Operations: ['78-27=51', '59-51=8'] Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,41 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[27, 16], Operations: ['78-35=43', '59-43=16'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[59, 16], Operations: ['78-27=51', '51-35=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,41 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[59, 16], Operations: ['78-35=43', '43-27=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,41 unequal: No Solution Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,41 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[43, 86], Operations: ['78-35=43', '27+59=86'] Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 43+86=129, Resulting Numbers: [129] 129,41 unequal: No Solution Exploring Operation: 43*86=3698, Resulting Numbers: [3698] 3698,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[78, 67], Operations: ['59-27=32', '35+32=67'] Exploring Operation: 78+67=145, Resulting Numbers: [145] 145,41 unequal: No Solution Exploring Operation: 78*67=5226, Resulting Numbers: [5226] 5226,41 unequal: No Solution Exploring Operation: 78-67=11, Resulting Numbers: [11] 11,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[51, 94], Operations: ['78-27=51', '35+59=94'] Exploring Operation: 51+94=145, Resulting Numbers: [145] 145,41 unequal: No Solution Exploring Operation: 51*94=4794, Resulting Numbers: [4794] 4794,41 unequal: No Solution Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[35, 110], Operations: ['59-27=32', '78+32=110'] Exploring Operation: 35+110=145, Resulting Numbers: [145] 145,41 unequal: No Solution Exploring Operation: 35*110=3850, Resulting Numbers: [3850] 3850,41 unequal: No Solution Exploring Operation: 110-35=75, Resulting Numbers: [75] 75,41 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 38, 4, 36, 36 ]
65
[ "38+36=74", "36/4=9", "74-9=65" ]
Current State: 65:[38, 4, 36, 36], Operations: [] Exploring Operation: 38+36=74, Resulting Numbers: [4, 74] Generated Node #2: [4, 74] from Operation: 38+36=74 Current State: 65:[4, 74], Operations: ['38+36=74'] Exploring Operation: 36/4=9, Resulting Numbers: [74, 9] Generated Node #3: [74, 9] from Operation: 36/4=9 Current State: 65:[74, 9], Operations: ['38+36=74', '36/4=9'] Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[38, 4, 36, 36], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [4, 36, 2] Generated Node #0,0: 65:[4, 36, 2] Operation: 38-36=2 Exploring Operation: 38-36=2, Resulting Numbers: [4, 36, 2] Generated Node #0,1: 65:[4, 36, 2] Operation: 38-36=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[4, 36, 2], Operations: ['38-36=2'] Exploring Operation: 36/4=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 65:[2, 9] Operation: 36/4=9 Exploring Operation: 36/2=18, Resulting Numbers: [4, 18] Generated Node #0,0,1: 65:[4, 18] Operation: 36/2=18 Moving to Node #0,0,1 Current State: 65:[4, 18], Operations: ['38-36=2', '36/2=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,65 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[2, 9], Operations: ['38-36=2', '36/4=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[4, 36, 2], Operations: ['38-36=2'] Exploring Operation: 36/4=9, Resulting Numbers: [2, 9] Generated Node #0,1,0: 65:[2, 9] Operation: 36/4=9 Exploring Operation: 36/2=18, Resulting Numbers: [4, 18] Generated Node #0,1,1: 65:[4, 18] Operation: 36/2=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[4, 18], Operations: ['38-36=2', '36/2=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,65 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,65 unequal: No Solution No 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: 65:[2, 9], Operations: ['38-36=2', '36/4=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,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_2
sum_heuristic
[ 82, 2, 6, 1 ]
95
[ "82+1=83", "2*6=12", "83+12=95" ]
Current State: 95:[82, 2, 6, 1], Operations: [] Exploring Operation: 82+1=83, Resulting Numbers: [2, 6, 83] Generated Node #2: [2, 6, 83] from Operation: 82+1=83 Current State: 95:[2, 6, 83], Operations: ['82+1=83'] Exploring Operation: 2*6=12, Resulting Numbers: [83, 12] Generated Node #3: [83, 12] from Operation: 2*6=12 Current State: 95:[83, 12], Operations: ['82+1=83', '2*6=12'] Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[82, 2, 6, 1], Operations: [] Exploring Operation: 82+6=88, Resulting Numbers: [2, 1, 88] Generated Node #0,0: 95:[2, 1, 88] Operation: 82+6=88 Exploring Operation: 82+2=84, Resulting Numbers: [6, 1, 84] Generated Node #0,1: 95:[6, 1, 84] Operation: 82+2=84 Moving to Node #0,0 Current State: 95:[2, 1, 88], Operations: ['82+6=88'] Exploring Operation: 2+88=90, Resulting Numbers: [1, 90] Generated Node #0,0,0: 95:[1, 90] Operation: 2+88=90 Exploring Operation: 2+1=3, Resulting Numbers: [88, 3] Generated Node #0,0,1: 95:[88, 3] Operation: 2+1=3 Moving to Node #0,1 Current State: 95:[6, 1, 84], Operations: ['82+2=84'] Exploring Operation: 6+84=90, Resulting Numbers: [1, 90] Generated Node #0,1,0: 95:[1, 90] Operation: 6+84=90 Exploring Operation: 84/6=14, Resulting Numbers: [1, 14] Generated Node #0,1,1: 95:[1, 14] Operation: 84/6=14 Moving to Node #0,0,0 Current State: 95:[1, 90], Operations: ['82+6=88', '2+88=90'] Exploring Operation: 1+90=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[1, 90], Operations: ['82+2=84', '6+84=90'] Exploring Operation: 1+90=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[88, 3], Operations: ['82+6=88', '2+1=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,95 unequal: No Solution Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[1, 14], Operations: ['82+2=84', '84/6=14'] Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,95 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 7, 96, 45, 8 ]
19
[ "96+45=141", "141-8=133", "133/7=19" ]
Current State: 19:[7, 96, 45, 8], Operations: [] Exploring Operation: 96+45=141, Resulting Numbers: [7, 8, 141] Generated Node #2: [7, 8, 141] from Operation: 96+45=141 Current State: 19:[7, 8, 141], Operations: ['96+45=141'] Exploring Operation: 141-8=133, Resulting Numbers: [7, 133] Generated Node #3: [7, 133] from Operation: 141-8=133 Current State: 19:[7, 133], Operations: ['96+45=141', '141-8=133'] Exploring Operation: 133/7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[7, 96, 45, 8], Operations: [] Exploring Operation: 96-45=51, Resulting Numbers: [7, 8, 51] Generated Node #0,0: 19:[7, 8, 51] Operation: 96-45=51 Exploring Operation: 96/8=12, Resulting Numbers: [7, 45, 12] Generated Node #0,1: 19:[7, 45, 12] Operation: 96/8=12 Exploring Operation: 96-7=89, Resulting Numbers: [45, 8, 89] Generated Node #0,2: 19:[45, 8, 89] Operation: 96-7=89 Moving to Node #0,1 Current State: 19:[7, 45, 12], Operations: ['96/8=12'] Exploring Operation: 45-7=38, Resulting Numbers: [12, 38] Generated Node #0,1,0: 19:[12, 38] Operation: 45-7=38 Exploring Operation: 7+12=19, Resulting Numbers: [45, 19] Generated Node #0,1,1: 19:[45, 19] Operation: 7+12=19 Exploring Operation: 45-12=33, Resulting Numbers: [7, 33] Generated Node #0,1,2: 19:[7, 33] Operation: 45-12=33 Moving to Node #0,0 Current State: 19:[7, 8, 51], Operations: ['96-45=51'] Exploring Operation: 51-8=43, Resulting Numbers: [7, 43] Generated Node #0,0,0: 19:[7, 43] Operation: 51-8=43 Exploring Operation: 7+8=15, Resulting Numbers: [51, 15] Generated Node #0,0,1: 19:[51, 15] Operation: 7+8=15 Exploring Operation: 51-7=44, Resulting Numbers: [8, 44] Generated Node #0,0,2: 19:[8, 44] Operation: 51-7=44 Moving to Node #0,2 Current State: 19:[45, 8, 89], Operations: ['96-7=89'] Exploring Operation: 89-8=81, Resulting Numbers: [45, 81] Generated Node #0,2,0: 19:[45, 81] Operation: 89-8=81 Exploring Operation: 45-8=37, Resulting Numbers: [89, 37] Generated Node #0,2,1: 19:[89, 37] Operation: 45-8=37 Exploring Operation: 89-45=44, Resulting Numbers: [8, 44] Generated Node #0,2,2: 19:[8, 44] Operation: 89-45=44 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[8, 44], Operations: ['96-7=89', '89-45=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,19 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[45, 81], Operations: ['96-7=89', '89-8=81'] Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 45+81=126, Resulting Numbers: [126] 126,19 unequal: No Solution Exploring Operation: 45*81=3645, Resulting Numbers: [3645] 3645,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[89, 37], Operations: ['96-7=89', '45-8=37'] Exploring Operation: 89*37=3293, Resulting Numbers: [3293] 3293,19 unequal: No Solution Exploring Operation: 89+37=126, Resulting Numbers: [126] 126,19 unequal: No Solution Exploring Operation: 89-37=52, Resulting Numbers: [52] 52,19 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: 19:[12, 38], Operations: ['96/8=12', '45-7=38'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,19 unequal: No Solution Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,19 unequal: No Solution Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[7, 33], Operations: ['96/8=12', '45-12=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,19 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[45, 19], Operations: ['96/8=12', '7+12=19'] Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,19 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,19 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[8, 44], Operations: ['96-45=51', '51-7=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,19 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[7, 43], Operations: ['96-45=51', '51-8=43'] Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,19 unequal: No Solution Exploring Operation: 7*43=301, Resulting Numbers: [301] 301,19 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[51, 15], Operations: ['96-45=51', '7+8=15'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,19 unequal: No Solution Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,19 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 95, 3, 51, 47 ]
23
[ "95-3=92", "51-47=4", "92/4=23" ]
Current State: 23:[95, 3, 51, 47], Operations: [] Exploring Operation: 95-3=92, Resulting Numbers: [51, 47, 92] Generated Node #2: [51, 47, 92] from Operation: 95-3=92 Current State: 23:[51, 47, 92], Operations: ['95-3=92'] Exploring Operation: 51-47=4, Resulting Numbers: [92, 4] Generated Node #3: [92, 4] from Operation: 51-47=4 Current State: 23:[92, 4], Operations: ['95-3=92', '51-47=4'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[95, 3, 51, 47], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [95, 47, 17] Generated Node #0,0: 23:[95, 47, 17] Operation: 51/3=17 Exploring Operation: 51-47=4, Resulting Numbers: [95, 3, 4] Generated Node #0,1: 23:[95, 3, 4] Operation: 51-47=4 Exploring Operation: 95-51=44, Resulting Numbers: [3, 47, 44] Generated Node #0,2: 23:[3, 47, 44] Operation: 95-51=44 Exploring Operation: 95-47=48, Resulting Numbers: [3, 51, 48] Generated Node #0,3: 23:[3, 51, 48] Operation: 95-47=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[3, 47, 44], Operations: ['95-51=44'] Exploring Operation: 47-3=44, Resulting Numbers: [44, 44] Generated Node #0,2,0: 23:[44, 44] Operation: 47-3=44 Exploring Operation: 44-3=41, Resulting Numbers: [47, 41] Generated Node #0,2,1: 23:[47, 41] Operation: 44-3=41 Exploring Operation: 47-44=3, Resulting Numbers: [3, 3] Generated Node #0,2,2: 23:[3, 3] Operation: 47-44=3 Exploring Operation: 3+47=50, Resulting Numbers: [44, 50] Generated Node #0,2,3: 23:[44, 50] Operation: 3+47=50 Moving to Node #0,2,2 Current State: 23:[3, 3], Operations: ['95-51=44', '47-44=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[47, 41], Operations: ['95-51=44', '44-3=41'] Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 47*41=1927, Resulting Numbers: [1927] 1927,23 unequal: No Solution Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[44, 44], Operations: ['95-51=44', '47-3=44'] Exploring Operation: 44-44=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,23 unequal: No Solution Exploring Operation: 44/44=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 44*44=1936, Resulting Numbers: [1936] 1936,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[44, 50], Operations: ['95-51=44', '3+47=50'] Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,23 unequal: No Solution Exploring Operation: 44*50=2200, Resulting Numbers: [2200] 2200,23 unequal: No Solution Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[3, 51, 48], Operations: ['95-47=48'] Exploring Operation: 48/3=16, Resulting Numbers: [51, 16] Generated Node #0,3,0: 23:[51, 16] Operation: 48/3=16 Exploring Operation: 51/3=17, Resulting Numbers: [48, 17] Generated Node #0,3,1: 23:[48, 17] Operation: 51/3=17 Exploring Operation: 51-3=48, Resulting Numbers: [48, 48] Generated Node #0,3,2: 23:[48, 48] Operation: 51-3=48 Exploring Operation: 51-48=3, Resulting Numbers: [3, 3] Generated Node #0,3,3: 23:[3, 3] Operation: 51-48=3 Moving to Node #0,3,1 Current State: 23:[48, 17], Operations: ['95-47=48', '51/3=17'] Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,23 unequal: No Solution Exploring Operation: 48*17=816, Resulting Numbers: [816] 816,23 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[51, 16], Operations: ['95-47=48', '48/3=16'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,23 unequal: No Solution Exploring Operation: 51*16=816, Resulting Numbers: [816] 816,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[3, 3], Operations: ['95-47=48', '51-48=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,23 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[48, 48], Operations: ['95-47=48', '51-3=48'] Exploring Operation: 48/48=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 48*48=2304, Resulting Numbers: [2304] 2304,23 unequal: No Solution Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[95, 47, 17], Operations: ['51/3=17'] Exploring Operation: 47-17=30, Resulting Numbers: [95, 30] Generated Node #0,0,0: 23:[95, 30] Operation: 47-17=30 Exploring Operation: 95-47=48, Resulting Numbers: [17, 48] Generated Node #0,0,1: 23:[17, 48] Operation: 95-47=48 Exploring Operation: 95-17=78, Resulting Numbers: [47, 78] Generated Node #0,0,2: 23:[47, 78] Operation: 95-17=78 Exploring Operation: 95+17=112, Resulting Numbers: [47, 112] Generated Node #0,0,3: 23:[47, 112] Operation: 95+17=112 Moving to Node #0,0,1 Current State: 23:[17, 48], Operations: ['51/3=17', '95-47=48'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,23 unequal: No Solution Exploring Operation: 17*48=816, Resulting Numbers: [816] 816,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[47, 78], Operations: ['51/3=17', '95-17=78'] Exploring Operation: 47*78=3666, Resulting Numbers: [3666] 3666,23 unequal: No Solution Exploring Operation: 78-47=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 47+78=125, Resulting Numbers: [125] 125,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[95, 30], Operations: ['51/3=17', '47-17=30'] Exploring Operation: 95*30=2850, Resulting Numbers: [2850] 2850,23 unequal: No Solution Exploring Operation: 95-30=65, Resulting Numbers: [65] 65,23 unequal: No Solution Exploring Operation: 95+30=125, Resulting Numbers: [125] 125,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[47, 112], Operations: ['51/3=17', '95+17=112'] Exploring Operation: 47*112=5264, Resulting Numbers: [5264] 5264,23 unequal: No Solution Exploring Operation: 112-47=65, Resulting Numbers: [65] 65,23 unequal: No Solution Exploring Operation: 47+112=159, Resulting Numbers: [159] 159,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[95, 3, 4], Operations: ['51-47=4'] Exploring Operation: 95-3=92, Resulting Numbers: [4, 92] Generated Node #0,1,0: 23:[4, 92] Operation: 95-3=92 Exploring Operation: 95-4=91, Resulting Numbers: [3, 91] Generated Node #0,1,1: 23:[3, 91] Operation: 95-4=91 Exploring Operation: 3*4=12, Resulting Numbers: [95, 12] Generated Node #0,1,2: 23:[95, 12] Operation: 3*4=12 Exploring Operation: 3+4=7, Resulting Numbers: [95, 7] Generated Node #0,1,3: 23:[95, 7] Operation: 3+4=7 Moving to Node #0,1,2 Current State: 23:[95, 12], Operations: ['51-47=4', '3*4=12'] Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,23 unequal: No Solution Exploring Operation: 95+12=107, Resulting Numbers: [107] 107,23 unequal: No Solution Exploring Operation: 95*12=1140, Resulting Numbers: [1140] 1140,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[3, 91], Operations: ['51-47=4', '95-4=91'] Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,23 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,23 unequal: No Solution Exploring Operation: 3*91=273, Resulting Numbers: [273] 273,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[4, 92], Operations: ['51-47=4', '95-3=92'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[95, 3, 51, 47], Operations: [] Exploring Operation: 51-47=4, Resulting Numbers: [95, 3, 4] Generated Node #0,1: 23:[95, 3, 4] Operation: 51-47=4 Moving to Node #0,1 Current State: 23:[95, 3, 4], Operations: ['51-47=4'] Exploring Operation: 95-3=92, Resulting Numbers: [4, 92] Generated Node #0,1,0: 23:[4, 92] Operation: 95-3=92 Moving to Node #0,1,0 Current State: 23:[4, 92], Operations: ['51-47=4', '95-3=92'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.938368
hs_4
sum_heuristic
[ 56, 33, 24, 22 ]
69
[ "56-33=23", "24+22=46", "23+46=69" ]
Current State: 69:[56, 33, 24, 22], Operations: [] Exploring Operation: 56-33=23, Resulting Numbers: [24, 22, 23] Generated Node #2: [24, 22, 23] from Operation: 56-33=23 Current State: 69:[24, 22, 23], Operations: ['56-33=23'] Exploring Operation: 24+22=46, Resulting Numbers: [23, 46] Generated Node #3: [23, 46] from Operation: 24+22=46 Current State: 69:[23, 46], Operations: ['56-33=23', '24+22=46'] Exploring Operation: 23+46=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[56, 33, 24, 22], Operations: [] Exploring Operation: 56-33=23, Resulting Numbers: [24, 22, 23] Generated Node #0,0: 69:[24, 22, 23] Operation: 56-33=23 Moving to Node #0,0 Current State: 69:[24, 22, 23], Operations: ['56-33=23'] Exploring Operation: 24-22=2, Resulting Numbers: [23, 2] Generated Node #0,0,0: 69:[23, 2] Operation: 24-22=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[23, 2], Operations: ['56-33=23', '24-22=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 44, 42, 91, 22 ]
51
[ "44/22=2", "91-42=49", "2+49=51" ]
Current State: 51:[44, 42, 91, 22], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [42, 91, 2] Generated Node #2: [42, 91, 2] from Operation: 44/22=2 Current State: 51:[42, 91, 2], Operations: ['44/22=2'] Exploring Operation: 91-42=49, Resulting Numbers: [2, 49] Generated Node #3: [2, 49] from Operation: 91-42=49 Current State: 51:[2, 49], Operations: ['44/22=2', '91-42=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[44, 42, 91, 22], Operations: [] Exploring Operation: 91-42=49, Resulting Numbers: [44, 22, 49] Generated Node #0,0: 51:[44, 22, 49] Operation: 91-42=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[44, 22, 49], Operations: ['91-42=49'] Exploring Operation: 44/22=2, Resulting Numbers: [49, 2] Generated Node #0,0,0: 51:[49, 2] Operation: 44/22=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[49, 2], Operations: ['91-42=49', '44/22=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[44, 42, 91, 22], Operations: [] Exploring Operation: 91-42=49, Resulting Numbers: [44, 22, 49] Generated Node #0,0: 51:[44, 22, 49] Operation: 91-42=49 Moving to Node #0,0 Current State: 51:[44, 22, 49], Operations: ['91-42=49'] Exploring Operation: 44/22=2, Resulting Numbers: [49, 2] Generated Node #0,0,0: 51:[49, 2] Operation: 44/22=2 Moving to Node #0,0,0 Current State: 51:[49, 2], Operations: ['91-42=49', '44/22=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 16, 45, 45, 29 ]
14
[ "29-16=13", "45/45=1", "13+1=14" ]
Current State: 14:[16, 45, 45, 29], Operations: [] Exploring Operation: 29-16=13, Resulting Numbers: [45, 45, 13] Generated Node #2: [45, 45, 13] from Operation: 29-16=13 Current State: 14:[45, 45, 13], Operations: ['29-16=13'] Exploring Operation: 45/45=1, Resulting Numbers: [13, 1] Generated Node #3: [13, 1] from Operation: 45/45=1 Current State: 14:[13, 1], Operations: ['29-16=13', '45/45=1'] Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[16, 45, 45, 29], Operations: [] Exploring Operation: 45-45=0, Resulting Numbers: [16, 29, 0] Generated Node #0,0: 14:[16, 29, 0] Operation: 45-45=0 Exploring Operation: 45-29=16, Resulting Numbers: [16, 45, 16] Generated Node #0,1: 14:[16, 45, 16] Operation: 45-29=16 Exploring Operation: 45/45=1, Resulting Numbers: [16, 29, 1] Generated Node #0,2: 14:[16, 29, 1] Operation: 45/45=1 Moving to Node #0,2 Current State: 14:[16, 29, 1], Operations: ['45/45=1'] Exploring Operation: 16-1=15, Resulting Numbers: [29, 15] Generated Node #0,2,0: 14:[29, 15] Operation: 16-1=15 Exploring Operation: 29-1=28, Resulting Numbers: [16, 28] Generated Node #0,2,1: 14:[16, 28] Operation: 29-1=28 Exploring Operation: 29-16=13, Resulting Numbers: [1, 13] Generated Node #0,2,2: 14:[1, 13] Operation: 29-16=13 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[1, 13], Operations: ['45/45=1', '29-16=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[16, 45, 45, 29], Operations: [] Exploring Operation: 45/45=1, Resulting Numbers: [16, 29, 1] Generated Node #0,2: 14:[16, 29, 1] Operation: 45/45=1 Moving to Node #0,2 Current State: 14:[16, 29, 1], Operations: ['45/45=1'] Exploring Operation: 29-16=13, Resulting Numbers: [1, 13] Generated Node #0,2,2: 14:[1, 13] Operation: 29-16=13 Moving to Node #0,2,2 Current State: 14:[1, 13], Operations: ['45/45=1', '29-16=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 4, 72, 17, 29 ]
28
[ "72/4=18", "17+29=46", "46-18=28" ]
Current State: 28:[4, 72, 17, 29], Operations: [] Exploring Operation: 72/4=18, Resulting Numbers: [17, 29, 18] Generated Node #2: [17, 29, 18] from Operation: 72/4=18 Current State: 28:[17, 29, 18], Operations: ['72/4=18'] Exploring Operation: 17+29=46, Resulting Numbers: [18, 46] Generated Node #3: [18, 46] from Operation: 17+29=46 Current State: 28:[18, 46], Operations: ['72/4=18', '17+29=46'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[4, 72, 17, 29], Operations: [] Exploring Operation: 72/4=18, Resulting Numbers: [17, 29, 18] Generated Node #0,0: 28:[17, 29, 18] Operation: 72/4=18 Moving to Node #0,0 Current State: 28:[17, 29, 18], Operations: ['72/4=18'] Exploring Operation: 18-17=1, Resulting Numbers: [29, 1] Generated Node #0,0,0: 28:[29, 1] Operation: 18-17=1 Moving to Node #0,0,0 Current State: 28:[29, 1], Operations: ['72/4=18', '18-17=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[4, 72, 17, 29], Operations: [] Exploring Operation: 72/4=18, Resulting Numbers: [17, 29, 18] Generated Node #0,0: 28:[17, 29, 18] Operation: 72/4=18 Moving to Node #0,0 Current State: 28:[17, 29, 18], Operations: ['72/4=18'] Exploring Operation: 18-17=1, Resulting Numbers: [29, 1] Generated Node #0,0,0: 28:[29, 1] Operation: 18-17=1 Moving to Node #0,0,0 Current State: 28:[29, 1], Operations: ['72/4=18', '18-17=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 11, 59, 32, 22 ]
80
[ "11+59=70", "32-22=10", "70+10=80" ]
Current State: 80:[11, 59, 32, 22], Operations: [] Exploring Operation: 11+59=70, Resulting Numbers: [32, 22, 70] Generated Node #2: [32, 22, 70] from Operation: 11+59=70 Current State: 80:[32, 22, 70], Operations: ['11+59=70'] Exploring Operation: 32-22=10, Resulting Numbers: [70, 10] Generated Node #3: [70, 10] from Operation: 32-22=10 Current State: 80:[70, 10], Operations: ['11+59=70', '32-22=10'] Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[11, 59, 32, 22], Operations: [] Exploring Operation: 59-32=27, Resulting Numbers: [11, 22, 27] Generated Node #0,0: 80:[11, 22, 27] Operation: 59-32=27 Exploring Operation: 59+32=91, Resulting Numbers: [11, 22, 91] Generated Node #0,1: 80:[11, 22, 91] Operation: 59+32=91 Exploring Operation: 59-22=37, Resulting Numbers: [11, 32, 37] Generated Node #0,2: 80:[11, 32, 37] Operation: 59-22=37 Exploring Operation: 59+22=81, Resulting Numbers: [11, 32, 81] Generated Node #0,3: 80:[11, 32, 81] Operation: 59+22=81 Moving to Node #0,0 Current State: 80:[11, 22, 27], Operations: ['59-32=27'] Exploring Operation: 27-11=16, Resulting Numbers: [22, 16] Generated Node #0,0,0: 80:[22, 16] Operation: 27-11=16 Exploring Operation: 27-22=5, Resulting Numbers: [11, 5] Generated Node #0,0,1: 80:[11, 5] Operation: 27-22=5 Exploring Operation: 11+27=38, Resulting Numbers: [22, 38] Generated Node #0,0,2: 80:[22, 38] Operation: 11+27=38 Exploring Operation: 22/11=2, Resulting Numbers: [27, 2] Generated Node #0,0,3: 80:[27, 2] Operation: 22/11=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[11, 5], Operations: ['59-32=27', '27-22=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,80 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[22, 16], Operations: ['59-32=27', '27-11=16'] Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,80 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[22, 38], Operations: ['59-32=27', '11+27=38'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 22*38=836, Resulting Numbers: [836] 836,80 unequal: No Solution Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[27, 2], Operations: ['59-32=27', '22/11=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,80 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: 80:[11, 32, 81], Operations: ['59+22=81'] Exploring Operation: 81-32=49, Resulting Numbers: [11, 49] Generated Node #0,3,0: 80:[11, 49] Operation: 81-32=49 Exploring Operation: 81-11=70, Resulting Numbers: [32, 70] Generated Node #0,3,1: 80:[32, 70] Operation: 81-11=70 Exploring Operation: 32-11=21, Resulting Numbers: [81, 21] Generated Node #0,3,2: 80:[81, 21] Operation: 32-11=21 Exploring Operation: 11+32=43, Resulting Numbers: [81, 43] Generated Node #0,3,3: 80:[81, 43] Operation: 11+32=43 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 80:[81, 21], Operations: ['59+22=81', '32-11=21'] Exploring Operation: 81+21=102, Resulting Numbers: [102] 102,80 unequal: No Solution Exploring Operation: 81-21=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 81*21=1701, Resulting Numbers: [1701] 1701,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,3,3 Current State: 80:[81, 43], Operations: ['59+22=81', '11+32=43'] Exploring Operation: 81*43=3483, Resulting Numbers: [3483] 3483,80 unequal: No Solution Exploring Operation: 81+43=124, Resulting Numbers: [124] 124,80 unequal: No Solution Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,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,3,0 Current State: 80:[11, 49], Operations: ['59+22=81', '81-32=49'] Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,80 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,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,3,1 Current State: 80:[32, 70], Operations: ['59+22=81', '81-11=70'] Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 32+70=102, Resulting Numbers: [102] 102,80 unequal: No Solution Exploring Operation: 32*70=2240, Resulting Numbers: [2240] 2240,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 80:[11, 32, 37], Operations: ['59-22=37'] Exploring Operation: 37-32=5, Resulting Numbers: [11, 5] Generated Node #0,2,0: 80:[11, 5] Operation: 37-32=5 Exploring Operation: 11+32=43, Resulting Numbers: [37, 43] Generated Node #0,2,1: 80:[37, 43] Operation: 11+32=43 Exploring Operation: 32-11=21, Resulting Numbers: [37, 21] Generated Node #0,2,2: 80:[37, 21] Operation: 32-11=21 Exploring Operation: 32+37=69, Resulting Numbers: [11, 69] Generated Node #0,2,3: 80:[11, 69] Operation: 32+37=69 Moving to Node #0,1 Current State: 80:[11, 22, 91], Operations: ['59+32=91'] Exploring Operation: 91-22=69, Resulting Numbers: [11, 69] Generated Node #0,1,0: 80:[11, 69] Operation: 91-22=69 Exploring Operation: 91-11=80, Resulting Numbers: [22, 80] Generated Node #0,1,1: 80:[22, 80] Operation: 91-11=80 Exploring Operation: 22-11=11, Resulting Numbers: [91, 11] Generated Node #0,1,2: 80:[91, 11] Operation: 22-11=11 Exploring Operation: 22/11=2, Resulting Numbers: [91, 2] Generated Node #0,1,3: 80:[91, 2] Operation: 22/11=2 Moving to Node #0,2,0 Current State: 80:[11, 5], Operations: ['59-22=37', '37-32=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[22, 80], Operations: ['59+32=91', '91-11=80'] Exploring Operation: 22*80=1760, Resulting Numbers: [1760] 1760,80 unequal: No Solution Exploring Operation: 22+80=102, Resulting Numbers: [102] 102,80 unequal: No Solution Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[37, 21], Operations: ['59-22=37', '32-11=21'] Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,80 unequal: No Solution Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,80 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[37, 43], Operations: ['59-22=37', '11+32=43'] Exploring Operation: 37*43=1591, Resulting Numbers: [1591] 1591,80 unequal: No Solution Exploring Operation: 37+43=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[11, 59, 32, 22], Operations: [] Exploring Operation: 59-22=37, Resulting Numbers: [11, 32, 37] Generated Node #0,2: 80:[11, 32, 37] Operation: 59-22=37 Moving to Node #0,2 Current State: 80:[11, 32, 37], Operations: ['59-22=37'] Exploring Operation: 11+32=43, Resulting Numbers: [37, 43] Generated Node #0,2,1: 80:[37, 43] Operation: 11+32=43 Moving to Node #0,2,1 Current State: 80:[37, 43], Operations: ['59-22=37', '11+32=43'] Exploring Operation: 37+43=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.948785
hs_4
mult_heuristic
[ 29, 12, 80, 90 ]
27
[ "29-12=17", "90-80=10", "17+10=27" ]
Current State: 27:[29, 12, 80, 90], Operations: [] Exploring Operation: 29-12=17, Resulting Numbers: [80, 90, 17] Generated Node #2: [80, 90, 17] from Operation: 29-12=17 Current State: 27:[80, 90, 17], Operations: ['29-12=17'] Exploring Operation: 90-80=10, Resulting Numbers: [17, 10] Generated Node #3: [17, 10] from Operation: 90-80=10 Current State: 27:[17, 10], Operations: ['29-12=17', '90-80=10'] Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[29, 12, 80, 90], Operations: [] Exploring Operation: 80-29=51, Resulting Numbers: [12, 90, 51] Generated Node #0,0: 27:[12, 90, 51] Operation: 80-29=51 Exploring Operation: 80-12=68, Resulting Numbers: [29, 90, 68] Generated Node #0,1: 27:[29, 90, 68] Operation: 80-12=68 Exploring Operation: 90-80=10, Resulting Numbers: [29, 12, 10] Generated Node #0,2: 27:[29, 12, 10] Operation: 90-80=10 Exploring Operation: 90-12=78, Resulting Numbers: [29, 80, 78] Generated Node #0,3: 27:[29, 80, 78] Operation: 90-12=78 Exploring Operation: 90-29=61, Resulting Numbers: [12, 80, 61] Generated Node #0,4: 27:[12, 80, 61] Operation: 90-29=61 Moving to Node #0,2 Current State: 27:[29, 12, 10], Operations: ['90-80=10'] Exploring Operation: 29-10=19, Resulting Numbers: [12, 19] Generated Node #0,2,0: 27:[12, 19] Operation: 29-10=19 Exploring Operation: 29-12=17, Resulting Numbers: [10, 17] Generated Node #0,2,1: 27:[10, 17] Operation: 29-12=17 Exploring Operation: 29+12=41, Resulting Numbers: [10, 41] Generated Node #0,2,2: 27:[10, 41] Operation: 29+12=41 Exploring Operation: 12+10=22, Resulting Numbers: [29, 22] Generated Node #0,2,3: 27:[29, 22] Operation: 12+10=22 Exploring Operation: 12-10=2, Resulting Numbers: [29, 2] Generated Node #0,2,4: 27:[29, 2] Operation: 12-10=2 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 27:[29, 2], Operations: ['90-80=10', '12-10=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[29, 12, 80, 90], Operations: [] Exploring Operation: 90-80=10, Resulting Numbers: [29, 12, 10] Generated Node #0,2: 27:[29, 12, 10] Operation: 90-80=10 Moving to Node #0,2 Current State: 27:[29, 12, 10], Operations: ['90-80=10'] Exploring Operation: 12-10=2, Resulting Numbers: [29, 2] Generated Node #0,2,4: 27:[29, 2] Operation: 12-10=2 Moving to Node #0,2,4 Current State: 27:[29, 2], Operations: ['90-80=10', '12-10=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 49, 5, 64, 88 ]
85
[ "64-49=15", "15/5=3", "88-3=85" ]
Current State: 85:[49, 5, 64, 88], Operations: [] Exploring Operation: 64-49=15, Resulting Numbers: [5, 88, 15] Generated Node #2: [5, 88, 15] from Operation: 64-49=15 Current State: 85:[5, 88, 15], Operations: ['64-49=15'] Exploring Operation: 15/5=3, Resulting Numbers: [88, 3] Generated Node #3: [88, 3] from Operation: 15/5=3 Current State: 85:[88, 3], Operations: ['64-49=15', '15/5=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[49, 5, 64, 88], Operations: [] Exploring Operation: 88-64=24, Resulting Numbers: [49, 5, 24] Generated Node #0,0: 85:[49, 5, 24] Operation: 88-64=24 Exploring Operation: 64-49=15, Resulting Numbers: [5, 88, 15] Generated Node #0,1: 85:[5, 88, 15] Operation: 64-49=15 Exploring Operation: 88-49=39, Resulting Numbers: [5, 64, 39] Generated Node #0,2: 85:[5, 64, 39] Operation: 88-49=39 Exploring Operation: 49+64=113, Resulting Numbers: [5, 88, 113] Generated Node #0,3: 85:[5, 88, 113] Operation: 49+64=113 Moving to Node #0,1 Current State: 85:[5, 88, 15], Operations: ['64-49=15'] Exploring Operation: 5+15=20, Resulting Numbers: [88, 20] Generated Node #0,1,0: 85:[88, 20] Operation: 5+15=20 Exploring Operation: 88-5=83, Resulting Numbers: [15, 83] Generated Node #0,1,1: 85:[15, 83] Operation: 88-5=83 Exploring Operation: 15/5=3, Resulting Numbers: [88, 3] Generated Node #0,1,2: 85:[88, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [88, 10] Generated Node #0,1,3: 85:[88, 10] Operation: 15-5=10 Moving to Node #0,3 Current State: 85:[5, 88, 113], Operations: ['49+64=113'] Exploring Operation: 113-5=108, Resulting Numbers: [88, 108] Generated Node #0,3,0: 85:[88, 108] Operation: 113-5=108 Exploring Operation: 5+88=93, Resulting Numbers: [113, 93] Generated Node #0,3,1: 85:[113, 93] Operation: 5+88=93 Exploring Operation: 88-5=83, Resulting Numbers: [113, 83] Generated Node #0,3,2: 85:[113, 83] Operation: 88-5=83 Exploring Operation: 113-88=25, Resulting Numbers: [5, 25] Generated Node #0,3,3: 85:[5, 25] Operation: 113-88=25 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 85:[5, 25], Operations: ['49+64=113', '113-88=25'] Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,85 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,85 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,85 unequal: No Solution No 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: 85:[88, 108], Operations: ['49+64=113', '113-5=108'] Exploring Operation: 108-88=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 88+108=196, Resulting Numbers: [196] 196,85 unequal: No Solution Exploring Operation: 88*108=9504, Resulting Numbers: [9504] 9504,85 unequal: No Solution No 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: 85:[113, 83], Operations: ['49+64=113', '88-5=83'] Exploring Operation: 113*83=9379, Resulting Numbers: [9379] 9379,85 unequal: No Solution Exploring Operation: 113+83=196, Resulting Numbers: [196] 196,85 unequal: No Solution Exploring Operation: 113-83=30, Resulting Numbers: [30] 30,85 unequal: No Solution No 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: 85:[113, 93], Operations: ['49+64=113', '5+88=93'] Exploring Operation: 113-93=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 113+93=206, Resulting Numbers: [206] 206,85 unequal: No Solution Exploring Operation: 113*93=10509, Resulting Numbers: [10509] 10509,85 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: 85:[49, 5, 24], Operations: ['88-64=24'] Exploring Operation: 24-5=19, Resulting Numbers: [49, 19] Generated Node #0,0,0: 85:[49, 19] Operation: 24-5=19 Exploring Operation: 49+24=73, Resulting Numbers: [5, 73] Generated Node #0,0,1: 85:[5, 73] Operation: 49+24=73 Exploring Operation: 49-5=44, Resulting Numbers: [24, 44] Generated Node #0,0,2: 85:[24, 44] Operation: 49-5=44 Exploring Operation: 49-24=25, Resulting Numbers: [5, 25] Generated Node #0,0,3: 85:[5, 25] Operation: 49-24=25 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 85:[5, 25], Operations: ['88-64=24', '49-24=25'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,85 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,85 unequal: No Solution No 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: 85:[5, 73], Operations: ['88-64=24', '49+24=73'] Exploring Operation: 5*73=365, Resulting Numbers: [365] 365,85 unequal: No Solution Exploring Operation: 5+73=78, Resulting Numbers: [78] 78,85 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,85 unequal: No Solution No 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: 85:[49, 19], Operations: ['88-64=24', '24-5=19'] Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,85 unequal: No Solution Exploring Operation: 49+19=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 49*19=931, Resulting Numbers: [931] 931,85 unequal: No Solution No 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: 85:[24, 44], Operations: ['88-64=24', '49-5=44'] Exploring Operation: 24*44=1056, Resulting Numbers: [1056] 1056,85 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,85 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: 85:[5, 64, 39], Operations: ['88-49=39'] Exploring Operation: 5+64=69, Resulting Numbers: [39, 69] Generated Node #0,2,0: 85:[39, 69] Operation: 5+64=69 Exploring Operation: 39-5=34, Resulting Numbers: [64, 34] Generated Node #0,2,1: 85:[64, 34] Operation: 39-5=34 Exploring Operation: 64-39=25, Resulting Numbers: [5, 25] Generated Node #0,2,2: 85:[5, 25] Operation: 64-39=25 Exploring Operation: 64+39=103, Resulting Numbers: [5, 103] Generated Node #0,2,3: 85:[5, 103] Operation: 64+39=103 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 85:[5, 25], Operations: ['88-49=39', '64-39=25'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,85 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,85 unequal: No Solution No 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: 85:[5, 103], Operations: ['88-49=39', '64+39=103'] Exploring Operation: 5*103=515, Resulting Numbers: [515] 515,85 unequal: No Solution Exploring Operation: 5+103=108, Resulting Numbers: [108] 108,85 unequal: No Solution Exploring Operation: 103-5=98, Resulting Numbers: [98] 98,85 unequal: No Solution No 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: 85:[39, 69], Operations: ['88-49=39', '5+64=69'] Exploring Operation: 39*69=2691, Resulting Numbers: [2691] 2691,85 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,85 unequal: No Solution Exploring Operation: 39+69=108, Resulting Numbers: [108] 108,85 unequal: No Solution No 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: 85:[64, 34], Operations: ['88-49=39', '39-5=34'] Exploring Operation: 64+34=98, Resulting Numbers: [98] 98,85 unequal: No Solution Exploring Operation: 64*34=2176, Resulting Numbers: [2176] 2176,85 unequal: No Solution Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,85 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: 85:[15, 83], Operations: ['64-49=15', '88-5=83'] Exploring Operation: 15*83=1245, Resulting Numbers: [1245] 1245,85 unequal: No Solution Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 15+83=98, Resulting Numbers: [98] 98,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[88, 3], Operations: ['64-49=15', '15/5=3'] Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,85 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[49, 5, 64, 88], Operations: [] Exploring Operation: 64-49=15, Resulting Numbers: [5, 88, 15] Generated Node #0,1: 85:[5, 88, 15] Operation: 64-49=15 Moving to Node #0,1 Current State: 85:[5, 88, 15], Operations: ['64-49=15'] Exploring Operation: 15/5=3, Resulting Numbers: [88, 3] Generated Node #0,1,2: 85:[88, 3] Operation: 15/5=3 Moving to Node #0,1,2 Current State: 85:[88, 3], Operations: ['64-49=15', '15/5=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.940104
hs_4
sum_heuristic
[ 58, 79, 3, 63 ]
28
[ "79-58=21", "63+21=84", "84/3=28" ]
Current State: 28:[58, 79, 3, 63], Operations: [] Exploring Operation: 79-58=21, Resulting Numbers: [3, 63, 21] Generated Node #2: [3, 63, 21] from Operation: 79-58=21 Current State: 28:[3, 63, 21], Operations: ['79-58=21'] Exploring Operation: 63+21=84, Resulting Numbers: [3, 84] Generated Node #3: [3, 84] from Operation: 63+21=84 Current State: 28:[3, 84], Operations: ['79-58=21', '63+21=84'] Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[58, 79, 3, 63], Operations: [] Exploring Operation: 79-63=16, Resulting Numbers: [58, 3, 16] Generated Node #0,0: 28:[58, 3, 16] Operation: 79-63=16 Exploring Operation: 79-58=21, Resulting Numbers: [3, 63, 21] Generated Node #0,1: 28:[3, 63, 21] Operation: 79-58=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[58, 3, 16], Operations: ['79-63=16'] Exploring Operation: 58-16=42, Resulting Numbers: [3, 42] Generated Node #0,0,0: 28:[3, 42] Operation: 58-16=42 Exploring Operation: 58-3=55, Resulting Numbers: [16, 55] Generated Node #0,0,1: 28:[16, 55] Operation: 58-3=55 Moving to Node #0,0,0 Current State: 28:[3, 42], Operations: ['79-63=16', '58-16=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[16, 55], Operations: ['79-63=16', '58-3=55'] Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 16+55=71, Resulting Numbers: [71] 71,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,1 Current State: 28:[3, 63, 21], Operations: ['79-58=21'] Exploring Operation: 63/21=3, Resulting Numbers: [3, 3] Generated Node #0,1,0: 28:[3, 3] Operation: 63/21=3 Exploring Operation: 63/3=21, Resulting Numbers: [21, 21] Generated Node #0,1,1: 28:[21, 21] Operation: 63/3=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[3, 3], Operations: ['79-58=21', '63/21=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,28 unequal: No Solution No 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: 28:[21, 21], Operations: ['79-58=21', '63/3=21'] Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,28 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
[ 16, 32, 27, 30 ]
50
[ "32-27=5", "16*5=80", "80-30=50" ]
Current State: 50:[16, 32, 27, 30], Operations: [] Exploring Operation: 32-27=5, Resulting Numbers: [16, 30, 5] Generated Node #2: [16, 30, 5] from Operation: 32-27=5 Current State: 50:[16, 30, 5], Operations: ['32-27=5'] Exploring Operation: 16*5=80, Resulting Numbers: [30, 80] Generated Node #3: [30, 80] from Operation: 16*5=80 Current State: 50:[30, 80], Operations: ['32-27=5', '16*5=80'] Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[16, 32, 27, 30], Operations: [] Exploring Operation: 32-16=16, Resulting Numbers: [27, 30, 16] Generated Node #0,0: 50:[27, 30, 16] Operation: 32-16=16 Exploring Operation: 32-27=5, Resulting Numbers: [16, 30, 5] Generated Node #0,1: 50:[16, 30, 5] Operation: 32-27=5 Exploring Operation: 32/16=2, Resulting Numbers: [27, 30, 2] Generated Node #0,2: 50:[27, 30, 2] Operation: 32/16=2 Exploring Operation: 32-30=2, Resulting Numbers: [16, 27, 2] Generated Node #0,3: 50:[16, 27, 2] Operation: 32-30=2 Exploring Operation: 16+32=48, Resulting Numbers: [27, 30, 48] Generated Node #0,4: 50:[27, 30, 48] Operation: 16+32=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[27, 30, 2], Operations: ['32/16=2'] Exploring Operation: 27+30=57, Resulting Numbers: [2, 57] Generated Node #0,2,0: 50:[2, 57] Operation: 27+30=57 Exploring Operation: 30/2=15, Resulting Numbers: [27, 15] Generated Node #0,2,1: 50:[27, 15] Operation: 30/2=15 Exploring Operation: 30-2=28, Resulting Numbers: [27, 28] Generated Node #0,2,2: 50:[27, 28] Operation: 30-2=28 Exploring Operation: 30-27=3, Resulting Numbers: [2, 3] Generated Node #0,2,3: 50:[2, 3] Operation: 30-27=3 Exploring Operation: 27-2=25, Resulting Numbers: [30, 25] Generated Node #0,2,4: 50:[30, 25] Operation: 27-2=25 Moving to Node #0,2,3 Current State: 50:[2, 3], Operations: ['32/16=2', '30-27=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,50 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,50 unequal: No Solution Moving to Node #0,2,4 Current State: 50:[30, 25], Operations: ['32/16=2', '27-2=25'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,50 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[27, 28], Operations: ['32/16=2', '30-2=28'] Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,50 unequal: No Solution Exploring Operation: 27*28=756, Resulting Numbers: [756] 756,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[2, 57], Operations: ['32/16=2', '27+30=57'] Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,50 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[27, 15], Operations: ['32/16=2', '30/2=15'] Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,50 unequal: No Solution Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,50 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 50:[16, 27, 2], Operations: ['32-30=2'] Exploring Operation: 27-16=11, Resulting Numbers: [2, 11] Generated Node #0,3,0: 50:[2, 11] Operation: 27-16=11 Exploring Operation: 16+27=43, Resulting Numbers: [2, 43] Generated Node #0,3,1: 50:[2, 43] Operation: 16+27=43 Exploring Operation: 16/2=8, Resulting Numbers: [27, 8] Generated Node #0,3,2: 50:[27, 8] Operation: 16/2=8 Exploring Operation: 16-2=14, Resulting Numbers: [27, 14] Generated Node #0,3,3: 50:[27, 14] Operation: 16-2=14 Exploring Operation: 27-2=25, Resulting Numbers: [16, 25] Generated Node #0,3,4: 50:[16, 25] Operation: 27-2=25 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 50:[2, 11], Operations: ['32-30=2', '27-16=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 50:[27, 8], Operations: ['32-30=2', '16/2=8'] Exploring Operation: 27*8=216, Resulting Numbers: [216] 216,50 unequal: No Solution Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 50:[27, 14], Operations: ['32-30=2', '16-2=14'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 50:[16, 25], Operations: ['32-30=2', '27-2=25'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,50 unequal: No Solution Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 50:[2, 43], Operations: ['32-30=2', '16+27=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 50:[27, 30, 48], Operations: ['16+32=48'] Exploring Operation: 27+30=57, Resulting Numbers: [48, 57] Generated Node #0,4,0: 50:[48, 57] Operation: 27+30=57 Exploring Operation: 48-30=18, Resulting Numbers: [27, 18] Generated Node #0,4,1: 50:[27, 18] Operation: 48-30=18 Exploring Operation: 30-27=3, Resulting Numbers: [48, 3] Generated Node #0,4,2: 50:[48, 3] Operation: 30-27=3 Exploring Operation: 27+48=75, Resulting Numbers: [30, 75] Generated Node #0,4,3: 50:[30, 75] Operation: 27+48=75 Exploring Operation: 48-27=21, Resulting Numbers: [30, 21] Generated Node #0,4,4: 50:[30, 21] Operation: 48-27=21 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 50:[48, 3], Operations: ['16+32=48', '30-27=3'] Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,50 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 50:[48, 57], Operations: ['16+32=48', '27+30=57'] Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,50 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 50:[27, 18], Operations: ['16+32=48', '48-30=18'] Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,50 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 50:[30, 21], Operations: ['16+32=48', '48-27=21'] Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,50 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 50:[30, 75], Operations: ['16+32=48', '27+48=75'] Exploring Operation: 30+75=105, Resulting Numbers: [105] 105,50 unequal: No Solution Exploring Operation: 30*75=2250, Resulting Numbers: [2250] 2250,50 unequal: No Solution Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[16, 30, 5], Operations: ['32-27=5'] Exploring Operation: 30-16=14, Resulting Numbers: [5, 14] Generated Node #0,1,0: 50:[5, 14] Operation: 30-16=14 Exploring Operation: 30-5=25, Resulting Numbers: [16, 25] Generated Node #0,1,1: 50:[16, 25] Operation: 30-5=25 Exploring Operation: 16-5=11, Resulting Numbers: [30, 11] Generated Node #0,1,2: 50:[30, 11] Operation: 16-5=11 Exploring Operation: 16+30=46, Resulting Numbers: [5, 46] Generated Node #0,1,3: 50:[5, 46] Operation: 16+30=46 Exploring Operation: 30/5=6, Resulting Numbers: [16, 6] Generated Node #0,1,4: 50:[16, 6] Operation: 30/5=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[5, 14], Operations: ['32-27=5', '30-16=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,50 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 50:[5, 46], Operations: ['32-27=5', '16+30=46'] Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,50 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,50 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 50:[16, 25], Operations: ['32-27=5', '30-5=25'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,50 unequal: No Solution Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 50:[30, 11], Operations: ['32-27=5', '16-5=11'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,50 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 50:[16, 6], Operations: ['32-27=5', '30/5=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,50 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,50 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[27, 30, 16], Operations: ['32-16=16'] Exploring Operation: 30+16=46, Resulting Numbers: [27, 46] Generated Node #0,0,0: 50:[27, 46] Operation: 30+16=46 Exploring Operation: 30-27=3, Resulting Numbers: [16, 3] Generated Node #0,0,1: 50:[16, 3] Operation: 30-27=3 Exploring Operation: 27+16=43, Resulting Numbers: [30, 43] Generated Node #0,0,2: 50:[30, 43] Operation: 27+16=43 Exploring Operation: 30-16=14, Resulting Numbers: [27, 14] Generated Node #0,0,3: 50:[27, 14] Operation: 30-16=14 Exploring Operation: 27-16=11, Resulting Numbers: [30, 11] Generated Node #0,0,4: 50:[30, 11] Operation: 27-16=11 Moving to Node #0,0,0 Current State: 50:[27, 46], Operations: ['32-16=16', '30+16=46'] Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 27*46=1242, Resulting Numbers: [1242] 1242,50 unequal: No Solution Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,50 unequal: No Solution Moving to Node #0,0,4 Current State: 50:[30, 11], Operations: ['32-16=16', '27-16=11'] Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,50 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[27, 14], Operations: ['32-16=16', '30-16=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,50 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[16, 3], Operations: ['32-16=16', '30-27=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[30, 43], Operations: ['32-16=16', '27+16=43'] Exploring Operation: 30*43=1290, Resulting Numbers: [1290] 1290,50 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 30+43=73, Resulting Numbers: [73] 73,50 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
[ 51, 22, 45, 11 ]
85
[ "51-22=29", "45+11=56", "29+56=85" ]
Current State: 85:[51, 22, 45, 11], Operations: [] Exploring Operation: 51-22=29, Resulting Numbers: [45, 11, 29] Generated Node #2: [45, 11, 29] from Operation: 51-22=29 Current State: 85:[45, 11, 29], Operations: ['51-22=29'] Exploring Operation: 45+11=56, Resulting Numbers: [29, 56] Generated Node #3: [29, 56] from Operation: 45+11=56 Current State: 85:[29, 56], Operations: ['51-22=29', '45+11=56'] Exploring Operation: 29+56=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[51, 22, 45, 11], Operations: [] Exploring Operation: 51-45=6, Resulting Numbers: [22, 11, 6] Generated Node #0,0: 85:[22, 11, 6] Operation: 51-45=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[22, 11, 6], Operations: ['51-45=6'] Exploring Operation: 22/11=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 85:[6, 2] Operation: 22/11=2 Moving to Node #0,0,0 Current State: 85:[6, 2], Operations: ['51-45=6', '22/11=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,85 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
[ 45, 62, 44, 43 ]
53
[ "45-43=2", "62+44=106", "106/2=53" ]
Current State: 53:[45, 62, 44, 43], Operations: [] Exploring Operation: 45-43=2, Resulting Numbers: [62, 44, 2] Generated Node #2: [62, 44, 2] from Operation: 45-43=2 Current State: 53:[62, 44, 2], Operations: ['45-43=2'] Exploring Operation: 62+44=106, Resulting Numbers: [2, 106] Generated Node #3: [2, 106] from Operation: 62+44=106 Current State: 53:[2, 106], Operations: ['45-43=2', '62+44=106'] Exploring Operation: 106/2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[45, 62, 44, 43], Operations: [] Exploring Operation: 44+43=87, Resulting Numbers: [45, 62, 87] Generated Node #0,0: 53:[45, 62, 87] Operation: 44+43=87 Exploring Operation: 62-43=19, Resulting Numbers: [45, 44, 19] Generated Node #0,1: 53:[45, 44, 19] Operation: 62-43=19 Exploring Operation: 45+43=88, Resulting Numbers: [62, 44, 88] Generated Node #0,2: 53:[62, 44, 88] Operation: 45+43=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[45, 62, 87], Operations: ['44+43=87'] Exploring Operation: 87-45=42, Resulting Numbers: [62, 42] Generated Node #0,0,0: 53:[62, 42] Operation: 87-45=42 Exploring Operation: 62-45=17, Resulting Numbers: [87, 17] Generated Node #0,0,1: 53:[87, 17] Operation: 62-45=17 Exploring Operation: 87-62=25, Resulting Numbers: [45, 25] Generated Node #0,0,2: 53:[45, 25] Operation: 87-62=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[62, 42], Operations: ['44+43=87', '87-45=42'] Exploring Operation: 62*42=2604, Resulting Numbers: [2604] 2604,53 unequal: No Solution Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 62+42=104, Resulting Numbers: [104] 104,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[45, 25], Operations: ['44+43=87', '87-62=25'] Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,53 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,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:[87, 17], Operations: ['44+43=87', '62-45=17'] Exploring Operation: 87-17=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 87*17=1479, Resulting Numbers: [1479] 1479,53 unequal: No Solution Exploring Operation: 87+17=104, Resulting Numbers: [104] 104,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[45, 44, 19], Operations: ['62-43=19'] Exploring Operation: 44+19=63, Resulting Numbers: [45, 63] Generated Node #0,1,0: 53:[45, 63] Operation: 44+19=63 Exploring Operation: 45-19=26, Resulting Numbers: [44, 26] Generated Node #0,1,1: 53:[44, 26] Operation: 45-19=26 Exploring Operation: 45+19=64, Resulting Numbers: [44, 64] Generated Node #0,1,2: 53:[44, 64] Operation: 45+19=64 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[45, 63], Operations: ['62-43=19', '44+19=63'] Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 45*63=2835, Resulting Numbers: [2835] 2835,53 unequal: No Solution Exploring Operation: 45+63=108, Resulting Numbers: [108] 108,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,1,2 Current State: 53:[44, 64], Operations: ['62-43=19', '45+19=64'] Exploring Operation: 44*64=2816, Resulting Numbers: [2816] 2816,53 unequal: No Solution Exploring Operation: 44+64=108, Resulting Numbers: [108] 108,53 unequal: No Solution Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,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,1,1 Current State: 53:[44, 26], Operations: ['62-43=19', '45-19=26'] Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,53 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[62, 44, 88], Operations: ['45+43=88'] Exploring Operation: 88-44=44, Resulting Numbers: [62, 44] Generated Node #0,2,0: 53:[62, 44] Operation: 88-44=44 Exploring Operation: 88-62=26, Resulting Numbers: [44, 26] Generated Node #0,2,1: 53:[44, 26] Operation: 88-62=26 Exploring Operation: 88/44=2, Resulting Numbers: [62, 2] Generated Node #0,2,2: 53:[62, 2] Operation: 88/44=2 Moving to Node #0,2,0 Current State: 53:[62, 44], Operations: ['45+43=88', '88-44=44'] Exploring Operation: 62+44=106, Resulting Numbers: [106] 106,53 unequal: No Solution Exploring Operation: 62*44=2728, Resulting Numbers: [2728] 2728,53 unequal: No Solution Exploring Operation: 62-44=18, Resulting Numbers: [18] 18,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[44, 26], Operations: ['45+43=88', '88-62=26'] Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,53 unequal: No Solution Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[62, 2], Operations: ['45+43=88', '88/44=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,53 unequal: No Solution Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 40, 50, 49, 21 ]
20
[ "40+50=90", "49+21=70", "90-70=20" ]
Current State: 20:[40, 50, 49, 21], Operations: [] Exploring Operation: 40+50=90, Resulting Numbers: [49, 21, 90] Generated Node #2: [49, 21, 90] from Operation: 40+50=90 Current State: 20:[49, 21, 90], Operations: ['40+50=90'] Exploring Operation: 49+21=70, Resulting Numbers: [90, 70] Generated Node #3: [90, 70] from Operation: 49+21=70 Current State: 20:[90, 70], Operations: ['40+50=90', '49+21=70'] Exploring Operation: 90-70=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[40, 50, 49, 21], Operations: [] Exploring Operation: 49-40=9, Resulting Numbers: [50, 21, 9] Generated Node #0,0: 20:[50, 21, 9] Operation: 49-40=9 Exploring Operation: 50-40=10, Resulting Numbers: [49, 21, 10] Generated Node #0,1: 20:[49, 21, 10] Operation: 50-40=10 Exploring Operation: 50-49=1, Resulting Numbers: [40, 21, 1] Generated Node #0,2: 20:[40, 21, 1] Operation: 50-49=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[40, 21, 1], Operations: ['50-49=1'] Exploring Operation: 40-21=19, Resulting Numbers: [1, 19] Generated Node #0,2,0: 20:[1, 19] Operation: 40-21=19 Exploring Operation: 40-1=39, Resulting Numbers: [21, 39] Generated Node #0,2,1: 20:[21, 39] Operation: 40-1=39 Exploring Operation: 21-1=20, Resulting Numbers: [40, 20] Generated Node #0,2,2: 20:[40, 20] Operation: 21-1=20 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[1, 19], Operations: ['50-49=1', '40-21=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[40, 50, 49, 21], Operations: [] Exploring Operation: 50-49=1, Resulting Numbers: [40, 21, 1] Generated Node #0,2: 20:[40, 21, 1] Operation: 50-49=1 Moving to Node #0,2 Current State: 20:[40, 21, 1], Operations: ['50-49=1'] Exploring Operation: 40-21=19, Resulting Numbers: [1, 19] Generated Node #0,2,0: 20:[1, 19] Operation: 40-21=19 Moving to Node #0,2,0 Current State: 20:[1, 19], Operations: ['50-49=1', '40-21=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 99, 71, 43, 70 ]
57
[ "99+71=170", "43+70=113", "170-113=57" ]
Current State: 57:[99, 71, 43, 70], Operations: [] Exploring Operation: 99+71=170, Resulting Numbers: [43, 70, 170] Generated Node #2: [43, 70, 170] from Operation: 99+71=170 Current State: 57:[43, 70, 170], Operations: ['99+71=170'] Exploring Operation: 43+70=113, Resulting Numbers: [170, 113] Generated Node #3: [170, 113] from Operation: 43+70=113 Current State: 57:[170, 113], Operations: ['99+71=170', '43+70=113'] Exploring Operation: 170-113=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[99, 71, 43, 70], Operations: [] Exploring Operation: 99-71=28, Resulting Numbers: [43, 70, 28] Generated Node #0,0: 57:[43, 70, 28] Operation: 99-71=28 Exploring Operation: 99-43=56, Resulting Numbers: [71, 70, 56] Generated Node #0,1: 57:[71, 70, 56] Operation: 99-43=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[71, 70, 56], Operations: ['99-43=56'] Exploring Operation: 71-56=15, Resulting Numbers: [70, 15] Generated Node #0,1,0: 57:[70, 15] Operation: 71-56=15 Exploring Operation: 71-70=1, Resulting Numbers: [56, 1] Generated Node #0,1,1: 57:[56, 1] Operation: 71-70=1 Moving to Node #0,1,1 Current State: 57:[56, 1], Operations: ['99-43=56', '71-70=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,57 unequal: No Solution Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[99, 71, 43, 70], Operations: [] Exploring Operation: 99-43=56, Resulting Numbers: [71, 70, 56] Generated Node #0,1: 57:[71, 70, 56] Operation: 99-43=56 Moving to Node #0,1 Current State: 57:[71, 70, 56], Operations: ['99-43=56'] Exploring Operation: 71-70=1, Resulting Numbers: [56, 1] Generated Node #0,1,1: 57:[56, 1] Operation: 71-70=1 Moving to Node #0,1,1 Current State: 57:[56, 1], Operations: ['99-43=56', '71-70=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 63, 13, 89, 42 ]
84
[ "89-63=26", "26/13=2", "42*2=84" ]
Current State: 84:[63, 13, 89, 42], Operations: [] Exploring Operation: 89-63=26, Resulting Numbers: [13, 42, 26] Generated Node #2: [13, 42, 26] from Operation: 89-63=26 Current State: 84:[13, 42, 26], Operations: ['89-63=26'] Exploring Operation: 26/13=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 26/13=2 Current State: 84:[42, 2], Operations: ['89-63=26', '26/13=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[63, 13, 89, 42], Operations: [] Exploring Operation: 89-63=26, Resulting Numbers: [13, 42, 26] Generated Node #0,0: 84:[13, 42, 26] Operation: 89-63=26 Exploring Operation: 63-42=21, Resulting Numbers: [13, 89, 21] Generated Node #0,1: 84:[13, 89, 21] Operation: 63-42=21 Moving to Node #0,0 Current State: 84:[13, 42, 26], Operations: ['89-63=26'] Exploring Operation: 26-13=13, Resulting Numbers: [42, 13] Generated Node #0,0,0: 84:[42, 13] Operation: 26-13=13 Exploring Operation: 26/13=2, Resulting Numbers: [42, 2] Generated Node #0,0,1: 84:[42, 2] Operation: 26/13=2 Moving to Node #0,1 Current State: 84:[13, 89, 21], Operations: ['63-42=21'] Exploring Operation: 89-13=76, Resulting Numbers: [21, 76] Generated Node #0,1,0: 84:[21, 76] Operation: 89-13=76 Exploring Operation: 21-13=8, Resulting Numbers: [89, 8] Generated Node #0,1,1: 84:[89, 8] Operation: 21-13=8 Moving to Node #0,0,1 Current State: 84:[42, 2], Operations: ['89-63=26', '26/13=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[63, 13, 89, 42], Operations: [] Exploring Operation: 89-63=26, Resulting Numbers: [13, 42, 26] Generated Node #0,0: 84:[13, 42, 26] Operation: 89-63=26 Moving to Node #0,0 Current State: 84:[13, 42, 26], Operations: ['89-63=26'] Exploring Operation: 26/13=2, Resulting Numbers: [42, 2] Generated Node #0,0,1: 84:[42, 2] Operation: 26/13=2 Moving to Node #0,0,1 Current State: 84:[42, 2], Operations: ['89-63=26', '26/13=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 41, 75, 43, 60 ]
51
[ "75-41=34", "60-43=17", "34+17=51" ]
Current State: 51:[41, 75, 43, 60], Operations: [] Exploring Operation: 75-41=34, Resulting Numbers: [43, 60, 34] Generated Node #2: [43, 60, 34] from Operation: 75-41=34 Current State: 51:[43, 60, 34], Operations: ['75-41=34'] Exploring Operation: 60-43=17, Resulting Numbers: [34, 17] Generated Node #3: [34, 17] from Operation: 60-43=17 Current State: 51:[34, 17], Operations: ['75-41=34', '60-43=17'] Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[41, 75, 43, 60], Operations: [] Exploring Operation: 43-41=2, Resulting Numbers: [75, 60, 2] Generated Node #0,0: 51:[75, 60, 2] Operation: 43-41=2 Exploring Operation: 75-41=34, Resulting Numbers: [43, 60, 34] Generated Node #0,1: 51:[43, 60, 34] Operation: 75-41=34 Exploring Operation: 75-60=15, Resulting Numbers: [41, 43, 15] Generated Node #0,2: 51:[41, 43, 15] Operation: 75-60=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[41, 43, 15], Operations: ['75-60=15'] Exploring Operation: 41+15=56, Resulting Numbers: [43, 56] Generated Node #0,2,0: 51:[43, 56] Operation: 41+15=56 Exploring Operation: 43-41=2, Resulting Numbers: [15, 2] Generated Node #0,2,1: 51:[15, 2] Operation: 43-41=2 Exploring Operation: 41-15=26, Resulting Numbers: [43, 26] Generated Node #0,2,2: 51:[43, 26] Operation: 41-15=26 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[15, 2], Operations: ['75-60=15', '43-41=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[43, 56], Operations: ['75-60=15', '41+15=56'] Exploring Operation: 43*56=2408, Resulting Numbers: [2408] 2408,51 unequal: No Solution Exploring Operation: 56-43=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 43+56=99, Resulting Numbers: [99] 99,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[43, 26], Operations: ['75-60=15', '41-15=26'] Exploring Operation: 43*26=1118, Resulting Numbers: [1118] 1118,51 unequal: No Solution Exploring Operation: 43+26=69, Resulting Numbers: [69] 69,51 unequal: No Solution Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[75, 60, 2], Operations: ['43-41=2'] Exploring Operation: 75-60=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 51:[2, 15] Operation: 75-60=15 Exploring Operation: 60-2=58, Resulting Numbers: [75, 58] Generated Node #0,0,1: 51:[75, 58] Operation: 60-2=58 Exploring Operation: 75-2=73, Resulting Numbers: [60, 73] Generated Node #0,0,2: 51:[60, 73] Operation: 75-2=73 Moving to Node #0,0,0 Current State: 51:[2, 15], Operations: ['43-41=2', '75-60=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[75, 58], Operations: ['43-41=2', '60-2=58'] Exploring Operation: 75+58=133, Resulting Numbers: [133] 133,51 unequal: No Solution Exploring Operation: 75-58=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 75*58=4350, Resulting Numbers: [4350] 4350,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[60, 73], Operations: ['43-41=2', '75-2=73'] Exploring Operation: 60+73=133, Resulting Numbers: [133] 133,51 unequal: No Solution Exploring Operation: 60*73=4380, Resulting Numbers: [4380] 4380,51 unequal: No Solution Exploring Operation: 73-60=13, Resulting Numbers: [13] 13,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[43, 60, 34], Operations: ['75-41=34'] Exploring Operation: 60-34=26, Resulting Numbers: [43, 26] Generated Node #0,1,0: 51:[43, 26] Operation: 60-34=26 Exploring Operation: 60-43=17, Resulting Numbers: [34, 17] Generated Node #0,1,1: 51:[34, 17] Operation: 60-43=17 Exploring Operation: 43-34=9, Resulting Numbers: [60, 9] Generated Node #0,1,2: 51:[60, 9] Operation: 43-34=9 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 51:[60, 9], Operations: ['75-41=34', '43-34=9'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[41, 75, 43, 60], Operations: [] Exploring Operation: 75-41=34, Resulting Numbers: [43, 60, 34] Generated Node #0,1: 51:[43, 60, 34] Operation: 75-41=34 Moving to Node #0,1 Current State: 51:[43, 60, 34], Operations: ['75-41=34'] Exploring Operation: 43-34=9, Resulting Numbers: [60, 9] Generated Node #0,1,2: 51:[60, 9] Operation: 43-34=9 Moving to Node #0,1,2 Current State: 51:[60, 9], Operations: ['75-41=34', '43-34=9'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 9, 40, 38, 10 ]
92
[ "9*10=90", "40-38=2", "90+2=92" ]
Current State: 92:[9, 40, 38, 10], Operations: [] Exploring Operation: 9*10=90, Resulting Numbers: [40, 38, 90] Generated Node #2: [40, 38, 90] from Operation: 9*10=90 Current State: 92:[40, 38, 90], Operations: ['9*10=90'] Exploring Operation: 40-38=2, Resulting Numbers: [90, 2] Generated Node #3: [90, 2] from Operation: 40-38=2 Current State: 92:[90, 2], Operations: ['9*10=90', '40-38=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[9, 40, 38, 10], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [9, 10, 2] Generated Node #0,0: 92:[9, 10, 2] Operation: 40-38=2 Exploring Operation: 10-9=1, Resulting Numbers: [40, 38, 1] Generated Node #0,1: 92:[40, 38, 1] Operation: 10-9=1 Exploring Operation: 38+10=48, Resulting Numbers: [9, 40, 48] Generated Node #0,2: 92:[9, 40, 48] Operation: 38+10=48 Exploring Operation: 40/10=4, Resulting Numbers: [9, 38, 4] Generated Node #0,3: 92:[9, 38, 4] Operation: 40/10=4 Exploring Operation: 9+38=47, Resulting Numbers: [40, 10, 47] Generated Node #0,4: 92:[40, 10, 47] Operation: 9+38=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[9, 10, 2], Operations: ['40-38=2'] Exploring Operation: 9+10=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 92:[2, 19] Operation: 9+10=19 Exploring Operation: 10*2=20, Resulting Numbers: [9, 20] Generated Node #0,0,1: 92:[9, 20] Operation: 10*2=20 Exploring Operation: 9*10=90, Resulting Numbers: [2, 90] Generated Node #0,0,2: 92:[2, 90] Operation: 9*10=90 Exploring Operation: 10-9=1, Resulting Numbers: [2, 1] Generated Node #0,0,3: 92:[2, 1] Operation: 10-9=1 Exploring Operation: 10/2=5, Resulting Numbers: [9, 5] Generated Node #0,0,4: 92:[9, 5] Operation: 10/2=5 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 92:[2, 1], Operations: ['40-38=2', '10-9=1'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,92 unequal: No Solution Exploring Operation: 2/1=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,2 Current State: 92:[2, 90], Operations: ['40-38=2', '9*10=90'] Exploring Operation: 2*90=180, Resulting Numbers: [180] 180,92 unequal: No Solution Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[9, 40, 38, 10], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [9, 10, 2] Generated Node #0,0: 92:[9, 10, 2] Operation: 40-38=2 Moving to Node #0,0 Current State: 92:[9, 10, 2], Operations: ['40-38=2'] Exploring Operation: 9*10=90, Resulting Numbers: [2, 90] Generated Node #0,0,2: 92:[2, 90] Operation: 9*10=90 Moving to Node #0,0,2 Current State: 92:[2, 90], Operations: ['40-38=2', '9*10=90'] Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 87, 90, 36, 69 ]
99
[ "90-87=3", "69-36=33", "3*33=99" ]
Current State: 99:[87, 90, 36, 69], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [36, 69, 3] Generated Node #2: [36, 69, 3] from Operation: 90-87=3 Current State: 99:[36, 69, 3], Operations: ['90-87=3'] Exploring Operation: 69-36=33, Resulting Numbers: [3, 33] Generated Node #3: [3, 33] from Operation: 69-36=33 Current State: 99:[3, 33], Operations: ['90-87=3', '69-36=33'] Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[87, 90, 36, 69], Operations: [] Exploring Operation: 90-69=21, Resulting Numbers: [87, 36, 21] Generated Node #0,0: 99:[87, 36, 21] Operation: 90-69=21 Exploring Operation: 87-69=18, Resulting Numbers: [90, 36, 18] Generated Node #0,1: 99:[90, 36, 18] Operation: 87-69=18 Exploring Operation: 69-36=33, Resulting Numbers: [87, 90, 33] Generated Node #0,2: 99:[87, 90, 33] Operation: 69-36=33 Moving to Node #0,1 Current State: 99:[90, 36, 18], Operations: ['87-69=18'] Exploring Operation: 36/18=2, Resulting Numbers: [90, 2] Generated Node #0,1,0: 99:[90, 2] Operation: 36/18=2 Exploring Operation: 90/18=5, Resulting Numbers: [36, 5] Generated Node #0,1,1: 99:[36, 5] Operation: 90/18=5 Exploring Operation: 90+18=108, Resulting Numbers: [36, 108] Generated Node #0,1,2: 99:[36, 108] Operation: 90+18=108 Moving to Node #0,2 Current State: 99:[87, 90, 33], Operations: ['69-36=33'] Exploring Operation: 90-87=3, Resulting Numbers: [33, 3] Generated Node #0,2,0: 99:[33, 3] Operation: 90-87=3 Exploring Operation: 87-33=54, Resulting Numbers: [90, 54] Generated Node #0,2,1: 99:[90, 54] Operation: 87-33=54 Exploring Operation: 87+33=120, Resulting Numbers: [90, 120] Generated Node #0,2,2: 99:[90, 120] Operation: 87+33=120 Moving to Node #0,0 Current State: 99:[87, 36, 21], Operations: ['90-69=21'] Exploring Operation: 36-21=15, Resulting Numbers: [87, 15] Generated Node #0,0,0: 99:[87, 15] Operation: 36-21=15 Exploring Operation: 87+21=108, Resulting Numbers: [36, 108] Generated Node #0,0,1: 99:[36, 108] Operation: 87+21=108 Exploring Operation: 87-36=51, Resulting Numbers: [21, 51] Generated Node #0,0,2: 99:[21, 51] Operation: 87-36=51 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[36, 108], Operations: ['90-69=21', '87+21=108'] Exploring Operation: 108/36=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 36+108=144, Resulting Numbers: [144] 144,99 unequal: No Solution Exploring Operation: 108-36=72, Resulting Numbers: [72] 72,99 unequal: No Solution No 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: 99:[87, 15], Operations: ['90-69=21', '36-21=15'] Exploring Operation: 87*15=1305, Resulting Numbers: [1305] 1305,99 unequal: No Solution Exploring Operation: 87+15=102, Resulting Numbers: [102] 102,99 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,99 unequal: No Solution No 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: 99:[21, 51], Operations: ['90-69=21', '87-36=51'] Exploring Operation: 21+51=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 21*51=1071, Resulting Numbers: [1071] 1071,99 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,99 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: 99:[33, 3], Operations: ['69-36=33', '90-87=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,99 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[87, 90, 36, 69], Operations: [] Exploring Operation: 69-36=33, Resulting Numbers: [87, 90, 33] Generated Node #0,2: 99:[87, 90, 33] Operation: 69-36=33 Moving to Node #0,2 Current State: 99:[87, 90, 33], Operations: ['69-36=33'] Exploring Operation: 90-87=3, Resulting Numbers: [33, 3] Generated Node #0,2,0: 99:[33, 3] Operation: 90-87=3 Moving to Node #0,2,0 Current State: 99:[33, 3], Operations: ['69-36=33', '90-87=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 68, 48, 56, 40 ]
58
[ "68-48=20", "40/20=2", "56+2=58" ]
Current State: 58:[68, 48, 56, 40], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [56, 40, 20] Generated Node #2: [56, 40, 20] from Operation: 68-48=20 Current State: 58:[56, 40, 20], Operations: ['68-48=20'] Exploring Operation: 40/20=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 40/20=2 Current State: 58:[56, 2], Operations: ['68-48=20', '40/20=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[68, 48, 56, 40], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [68, 56, 8] Generated Node #0,0: 58:[68, 56, 8] Operation: 48-40=8 Exploring Operation: 68-40=28, Resulting Numbers: [48, 56, 28] Generated Node #0,1: 58:[48, 56, 28] Operation: 68-40=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[48, 56, 28], Operations: ['68-40=28'] Exploring Operation: 56/28=2, Resulting Numbers: [48, 2] Generated Node #0,1,0: 58:[48, 2] Operation: 56/28=2 Exploring Operation: 56-48=8, Resulting Numbers: [28, 8] Generated Node #0,1,1: 58:[28, 8] Operation: 56-48=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[28, 8], Operations: ['68-40=28', '56-48=8'] Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,58 unequal: No Solution No 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: 58:[48, 2], Operations: ['68-40=28', '56/28=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,58 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,58 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: 58:[68, 56, 8], Operations: ['48-40=8'] Exploring Operation: 68-8=60, Resulting Numbers: [56, 60] Generated Node #0,0,0: 58:[56, 60] Operation: 68-8=60 Exploring Operation: 56/8=7, Resulting Numbers: [68, 7] Generated Node #0,0,1: 58:[68, 7] Operation: 56/8=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[56, 60], Operations: ['48-40=8', '68-8=60'] Exploring Operation: 56+60=116, Resulting Numbers: [116] 116,58 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,58 unequal: No Solution No 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: 58:[68, 7], Operations: ['48-40=8', '56/8=7'] Exploring Operation: 68+7=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,58 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
[ 68, 63, 7, 69 ]
69
[ "68+63=131", "69-7=62", "131-62=69" ]
Current State: 69:[68, 63, 7, 69], Operations: [] Exploring Operation: 68+63=131, Resulting Numbers: [7, 69, 131] Generated Node #2: [7, 69, 131] from Operation: 68+63=131 Current State: 69:[7, 69, 131], Operations: ['68+63=131'] Exploring Operation: 69-7=62, Resulting Numbers: [131, 62] Generated Node #3: [131, 62] from Operation: 69-7=62 Current State: 69:[131, 62], Operations: ['68+63=131', '69-7=62'] Exploring Operation: 131-62=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[68, 63, 7, 69], Operations: [] Exploring Operation: 63+7=70, Resulting Numbers: [68, 69, 70] Generated Node #0,0: 69:[68, 69, 70] Operation: 63+7=70 Moving to Node #0,0 Current State: 69:[68, 69, 70], Operations: ['63+7=70'] Exploring Operation: 70-68=2, Resulting Numbers: [69, 2] Generated Node #0,0,0: 69:[69, 2] Operation: 70-68=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[69, 2], Operations: ['63+7=70', '70-68=2'] Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 20, 26, 14, 43 ]
60
[ "26+14=40", "43-40=3", "20*3=60" ]
Current State: 60:[20, 26, 14, 43], Operations: [] Exploring Operation: 26+14=40, Resulting Numbers: [20, 43, 40] Generated Node #2: [20, 43, 40] from Operation: 26+14=40 Current State: 60:[20, 43, 40], Operations: ['26+14=40'] Exploring Operation: 43-40=3, Resulting Numbers: [20, 3] Generated Node #3: [20, 3] from Operation: 43-40=3 Current State: 60:[20, 3], Operations: ['26+14=40', '43-40=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[20, 26, 14, 43], Operations: [] Exploring Operation: 43-26=17, Resulting Numbers: [20, 14, 17] Generated Node #0,0: 60:[20, 14, 17] Operation: 43-26=17 Exploring Operation: 14+43=57, Resulting Numbers: [20, 26, 57] Generated Node #0,1: 60:[20, 26, 57] Operation: 14+43=57 Exploring Operation: 43-14=29, Resulting Numbers: [20, 26, 29] Generated Node #0,2: 60:[20, 26, 29] Operation: 43-14=29 Moving to Node #0,0 Current State: 60:[20, 14, 17], Operations: ['43-26=17'] Exploring Operation: 20-17=3, Resulting Numbers: [14, 3] Generated Node #0,0,0: 60:[14, 3] Operation: 20-17=3 Exploring Operation: 14+17=31, Resulting Numbers: [20, 31] Generated Node #0,0,1: 60:[20, 31] Operation: 14+17=31 Exploring Operation: 17-14=3, Resulting Numbers: [20, 3] Generated Node #0,0,2: 60:[20, 3] Operation: 17-14=3 Moving to Node #0,2 Current State: 60:[20, 26, 29], Operations: ['43-14=29'] Exploring Operation: 26-20=6, Resulting Numbers: [29, 6] Generated Node #0,2,0: 60:[29, 6] Operation: 26-20=6 Exploring Operation: 29-20=9, Resulting Numbers: [26, 9] Generated Node #0,2,1: 60:[26, 9] Operation: 29-20=9 Exploring Operation: 29-26=3, Resulting Numbers: [20, 3] Generated Node #0,2,2: 60:[20, 3] Operation: 29-26=3 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 60:[20, 3], Operations: ['43-14=29', '29-26=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,60 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[20, 26, 14, 43], Operations: [] Exploring Operation: 43-14=29, Resulting Numbers: [20, 26, 29] Generated Node #0,2: 60:[20, 26, 29] Operation: 43-14=29 Moving to Node #0,2 Current State: 60:[20, 26, 29], Operations: ['43-14=29'] Exploring Operation: 29-26=3, Resulting Numbers: [20, 3] Generated Node #0,2,2: 60:[20, 3] Operation: 29-26=3 Moving to Node #0,2,2 Current State: 60:[20, 3], Operations: ['43-14=29', '29-26=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 76, 30, 50, 61 ]
100
[ "76-61=15", "30*50=1500", "1500/15=100" ]
Current State: 100:[76, 30, 50, 61], Operations: [] Exploring Operation: 76-61=15, Resulting Numbers: [30, 50, 15] Generated Node #2: [30, 50, 15] from Operation: 76-61=15 Current State: 100:[30, 50, 15], Operations: ['76-61=15'] Exploring Operation: 30*50=1500, Resulting Numbers: [15, 1500] Generated Node #3: [15, 1500] from Operation: 30*50=1500 Current State: 100:[15, 1500], Operations: ['76-61=15', '30*50=1500'] Exploring Operation: 1500/15=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[76, 30, 50, 61], Operations: [] Exploring Operation: 76-30=46, Resulting Numbers: [50, 61, 46] Generated Node #0,0: 100:[50, 61, 46] Operation: 76-30=46 Exploring Operation: 76-61=15, Resulting Numbers: [30, 50, 15] Generated Node #0,1: 100:[30, 50, 15] Operation: 76-61=15 Moving to Node #0,1 Current State: 100:[30, 50, 15], Operations: ['76-61=15'] Exploring Operation: 30/15=2, Resulting Numbers: [50, 2] Generated Node #0,1,0: 100:[50, 2] Operation: 30/15=2 Exploring Operation: 50-30=20, Resulting Numbers: [15, 20] Generated Node #0,1,1: 100:[15, 20] Operation: 50-30=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[50, 2], Operations: ['76-61=15', '30/15=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[76, 30, 50, 61], Operations: [] Exploring Operation: 76-61=15, Resulting Numbers: [30, 50, 15] Generated Node #0,1: 100:[30, 50, 15] Operation: 76-61=15 Moving to Node #0,1 Current State: 100:[30, 50, 15], Operations: ['76-61=15'] Exploring Operation: 30/15=2, Resulting Numbers: [50, 2] Generated Node #0,1,0: 100:[50, 2] Operation: 30/15=2 Moving to Node #0,1,0 Current State: 100:[50, 2], Operations: ['76-61=15', '30/15=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 69, 4, 94, 7 ]
83
[ "4+94=98", "98/7=14", "69+14=83" ]
Current State: 83:[69, 4, 94, 7], Operations: [] Exploring Operation: 4+94=98, Resulting Numbers: [69, 7, 98] Generated Node #2: [69, 7, 98] from Operation: 4+94=98 Current State: 83:[69, 7, 98], Operations: ['4+94=98'] Exploring Operation: 98/7=14, Resulting Numbers: [69, 14] Generated Node #3: [69, 14] from Operation: 98/7=14 Current State: 83:[69, 14], Operations: ['4+94=98', '98/7=14'] Exploring Operation: 69+14=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[69, 4, 94, 7], Operations: [] Exploring Operation: 4+7=11, Resulting Numbers: [69, 94, 11] Generated Node #0,0: 83:[69, 94, 11] Operation: 4+7=11 Exploring Operation: 94-4=90, Resulting Numbers: [69, 7, 90] Generated Node #0,1: 83:[69, 7, 90] Operation: 94-4=90 Exploring Operation: 69+7=76, Resulting Numbers: [4, 94, 76] Generated Node #0,2: 83:[4, 94, 76] Operation: 69+7=76 Exploring Operation: 4*7=28, Resulting Numbers: [69, 94, 28] Generated Node #0,3: 83:[69, 94, 28] Operation: 4*7=28 Exploring Operation: 69+4=73, Resulting Numbers: [94, 7, 73] Generated Node #0,4: 83:[94, 7, 73] Operation: 69+4=73 Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[69, 94, 28], Operations: ['4*7=28'] Exploring Operation: 94-69=25, Resulting Numbers: [28, 25] Generated Node #0,3,0: 83:[28, 25] Operation: 94-69=25 Exploring Operation: 69+28=97, Resulting Numbers: [94, 97] Generated Node #0,3,1: 83:[94, 97] Operation: 69+28=97 Exploring Operation: 94-28=66, Resulting Numbers: [69, 66] Generated Node #0,3,2: 83:[69, 66] Operation: 94-28=66 Exploring Operation: 94+28=122, Resulting Numbers: [69, 122] Generated Node #0,3,3: 83:[69, 122] Operation: 94+28=122 Exploring Operation: 69-28=41, Resulting Numbers: [94, 41] Generated Node #0,3,4: 83:[94, 41] Operation: 69-28=41 Moving to Node #0,3,1 Current State: 83:[94, 97], Operations: ['4*7=28', '69+28=97'] Exploring Operation: 94*97=9118, Resulting Numbers: [9118] 9118,83 unequal: No Solution Exploring Operation: 94+97=191, Resulting Numbers: [191] 191,83 unequal: No Solution Exploring Operation: 97-94=3, Resulting Numbers: [3] 3,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[69, 66], Operations: ['4*7=28', '94-28=66'] Exploring Operation: 69*66=4554, Resulting Numbers: [4554] 4554,83 unequal: No Solution Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 69+66=135, Resulting Numbers: [135] 135,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[69, 122], Operations: ['4*7=28', '94+28=122'] Exploring Operation: 69+122=191, Resulting Numbers: [191] 191,83 unequal: No Solution Exploring Operation: 122-69=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 69*122=8418, Resulting Numbers: [8418] 8418,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[94, 41], Operations: ['4*7=28', '69-28=41'] Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 94+41=135, Resulting Numbers: [135] 135,83 unequal: No Solution Exploring Operation: 94*41=3854, Resulting Numbers: [3854] 3854,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[28, 25], Operations: ['4*7=28', '94-69=25'] Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,83 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[69, 94, 11], Operations: ['4+7=11'] Exploring Operation: 94-69=25, Resulting Numbers: [11, 25] Generated Node #0,0,0: 83:[11, 25] Operation: 94-69=25 Exploring Operation: 94+11=105, Resulting Numbers: [69, 105] Generated Node #0,0,1: 83:[69, 105] Operation: 94+11=105 Exploring Operation: 94-11=83, Resulting Numbers: [69, 83] Generated Node #0,0,2: 83:[69, 83] Operation: 94-11=83 Exploring Operation: 69+11=80, Resulting Numbers: [94, 80] Generated Node #0,0,3: 83:[94, 80] Operation: 69+11=80 Exploring Operation: 69-11=58, Resulting Numbers: [94, 58] Generated Node #0,0,4: 83:[94, 58] Operation: 69-11=58 Moving to Node #0,0,2 Current State: 83:[69, 83], Operations: ['4+7=11', '94-11=83'] Exploring Operation: 69*83=5727, Resulting Numbers: [5727] 5727,83 unequal: No Solution Exploring Operation: 83-69=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 69+83=152, Resulting Numbers: [152] 152,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[94, 80], Operations: ['4+7=11', '69+11=80'] Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 94*80=7520, Resulting Numbers: [7520] 7520,83 unequal: No Solution Exploring Operation: 94+80=174, Resulting Numbers: [174] 174,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[69, 105], Operations: ['4+7=11', '94+11=105'] Exploring Operation: 105-69=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 69+105=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 69*105=7245, Resulting Numbers: [7245] 7245,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[94, 58], Operations: ['4+7=11', '69-11=58'] Exploring Operation: 94*58=5452, Resulting Numbers: [5452] 5452,83 unequal: No Solution Exploring Operation: 94-58=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 94+58=152, Resulting Numbers: [152] 152,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[11, 25], Operations: ['4+7=11', '94-69=25'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,83 unequal: No Solution Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[69, 7, 90], Operations: ['94-4=90'] Exploring Operation: 7+90=97, Resulting Numbers: [69, 97] Generated Node #0,1,0: 83:[69, 97] Operation: 7+90=97 Exploring Operation: 90-7=83, Resulting Numbers: [69, 83] Generated Node #0,1,1: 83:[69, 83] Operation: 90-7=83 Exploring Operation: 69+7=76, Resulting Numbers: [90, 76] Generated Node #0,1,2: 83:[90, 76] Operation: 69+7=76 Exploring Operation: 90-69=21, Resulting Numbers: [7, 21] Generated Node #0,1,3: 83:[7, 21] Operation: 90-69=21 Exploring Operation: 69-7=62, Resulting Numbers: [90, 62] Generated Node #0,1,4: 83:[90, 62] Operation: 69-7=62 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[69, 83], Operations: ['94-4=90', '90-7=83'] Exploring Operation: 69*83=5727, Resulting Numbers: [5727] 5727,83 unequal: No Solution Exploring Operation: 69+83=152, Resulting Numbers: [152] 152,83 unequal: No Solution Exploring Operation: 83-69=14, Resulting Numbers: [14] 14,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[90, 76], Operations: ['94-4=90', '69+7=76'] Exploring Operation: 90+76=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 90*76=6840, Resulting Numbers: [6840] 6840,83 unequal: No Solution Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[69, 97], Operations: ['94-4=90', '7+90=97'] Exploring Operation: 69+97=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 69*97=6693, Resulting Numbers: [6693] 6693,83 unequal: No Solution Exploring Operation: 97-69=28, Resulting Numbers: [28] 28,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 83:[90, 62], Operations: ['94-4=90', '69-7=62'] Exploring Operation: 90*62=5580, Resulting Numbers: [5580] 5580,83 unequal: No Solution Exploring Operation: 90-62=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 90+62=152, Resulting Numbers: [152] 152,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 83:[7, 21], Operations: ['94-4=90', '90-69=21'] Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[4, 94, 76], Operations: ['69+7=76'] Exploring Operation: 94-4=90, Resulting Numbers: [76, 90] Generated Node #0,2,0: 83:[76, 90] Operation: 94-4=90 Exploring Operation: 76/4=19, Resulting Numbers: [94, 19] Generated Node #0,2,1: 83:[94, 19] Operation: 76/4=19 Exploring Operation: 76-4=72, Resulting Numbers: [94, 72] Generated Node #0,2,2: 83:[94, 72] Operation: 76-4=72 Exploring Operation: 4+76=80, Resulting Numbers: [94, 80] Generated Node #0,2,3: 83:[94, 80] Operation: 4+76=80 Exploring Operation: 4+94=98, Resulting Numbers: [76, 98] Generated Node #0,2,4: 83:[76, 98] Operation: 4+94=98 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[76, 90], Operations: ['69+7=76', '94-4=90'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 76*90=6840, Resulting Numbers: [6840] 6840,83 unequal: No Solution Exploring Operation: 76+90=166, Resulting Numbers: [166] 166,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 83:[94, 80], Operations: ['69+7=76', '4+76=80'] Exploring Operation: 94*80=7520, Resulting Numbers: [7520] 7520,83 unequal: No Solution Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 94+80=174, Resulting Numbers: [174] 174,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 83:[94, 72], Operations: ['69+7=76', '76-4=72'] Exploring Operation: 94*72=6768, Resulting Numbers: [6768] 6768,83 unequal: No Solution Exploring Operation: 94-72=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 94+72=166, Resulting Numbers: [166] 166,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 83:[76, 98], Operations: ['69+7=76', '4+94=98'] Exploring Operation: 98-76=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 76*98=7448, Resulting Numbers: [7448] 7448,83 unequal: No Solution Exploring Operation: 76+98=174, Resulting Numbers: [174] 174,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[94, 19], Operations: ['69+7=76', '76/4=19'] Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,83 unequal: No Solution Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 83:[94, 7, 73], Operations: ['69+4=73'] Exploring Operation: 94-7=87, Resulting Numbers: [73, 87] Generated Node #0,4,0: 83:[73, 87] Operation: 94-7=87 Exploring Operation: 94+7=101, Resulting Numbers: [73, 101] Generated Node #0,4,1: 83:[73, 101] Operation: 94+7=101 Exploring Operation: 94-73=21, Resulting Numbers: [7, 21] Generated Node #0,4,2: 83:[7, 21] Operation: 94-73=21 Exploring Operation: 7+73=80, Resulting Numbers: [94, 80] Generated Node #0,4,3: 83:[94, 80] Operation: 7+73=80 Exploring Operation: 73-7=66, Resulting Numbers: [94, 66] Generated Node #0,4,4: 83:[94, 66] Operation: 73-7=66 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 83:[73, 87], Operations: ['69+4=73', '94-7=87'] Exploring Operation: 73+87=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 73*87=6351, Resulting Numbers: [6351] 6351,83 unequal: No Solution Exploring Operation: 87-73=14, Resulting Numbers: [14] 14,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 83:[94, 80], Operations: ['69+4=73', '7+73=80'] Exploring Operation: 94+80=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 94*80=7520, Resulting Numbers: [7520] 7520,83 unequal: No Solution Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 83:[73, 101], Operations: ['69+4=73', '94+7=101'] Exploring Operation: 73*101=7373, Resulting Numbers: [7373] 7373,83 unequal: No Solution Exploring Operation: 73+101=174, Resulting Numbers: [174] 174,83 unequal: No Solution Exploring Operation: 101-73=28, Resulting Numbers: [28] 28,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 83:[94, 66], Operations: ['69+4=73', '73-7=66'] Exploring Operation: 94*66=6204, Resulting Numbers: [6204] 6204,83 unequal: No Solution Exploring Operation: 94+66=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 94-66=28, Resulting Numbers: [28] 28,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 83:[7, 21], Operations: ['69+4=73', '94-73=21'] Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 78, 70, 68, 13 ]
12
[ "78/13=6", "70-68=2", "6*2=12" ]
Current State: 12:[78, 70, 68, 13], Operations: [] Exploring Operation: 78/13=6, Resulting Numbers: [70, 68, 6] Generated Node #2: [70, 68, 6] from Operation: 78/13=6 Current State: 12:[70, 68, 6], Operations: ['78/13=6'] Exploring Operation: 70-68=2, Resulting Numbers: [6, 2] Generated Node #3: [6, 2] from Operation: 70-68=2 Current State: 12:[6, 2], Operations: ['78/13=6', '70-68=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[78, 70, 68, 13], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [78, 13, 2] Generated Node #0,0: 12:[78, 13, 2] Operation: 70-68=2 Exploring Operation: 78-70=8, Resulting Numbers: [68, 13, 8] Generated Node #0,1: 12:[68, 13, 8] Operation: 78-70=8 Exploring Operation: 78-68=10, Resulting Numbers: [70, 13, 10] Generated Node #0,2: 12:[70, 13, 10] Operation: 78-68=10 Exploring Operation: 78-13=65, Resulting Numbers: [70, 68, 65] Generated Node #0,3: 12:[70, 68, 65] Operation: 78-13=65 Exploring Operation: 78/13=6, Resulting Numbers: [70, 68, 6] Generated Node #0,4: 12:[70, 68, 6] Operation: 78/13=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[68, 13, 8], Operations: ['78-70=8'] Exploring Operation: 68-8=60, Resulting Numbers: [13, 60] Generated Node #0,1,0: 12:[13, 60] Operation: 68-8=60 Exploring Operation: 68-13=55, Resulting Numbers: [8, 55] Generated Node #0,1,1: 12:[8, 55] Operation: 68-13=55 Exploring Operation: 13-8=5, Resulting Numbers: [68, 5] Generated Node #0,1,2: 12:[68, 5] Operation: 13-8=5 Exploring Operation: 68+8=76, Resulting Numbers: [13, 76] Generated Node #0,1,3: 12:[13, 76] Operation: 68+8=76 Exploring Operation: 13+8=21, Resulting Numbers: [68, 21] Generated Node #0,1,4: 12:[68, 21] Operation: 13+8=21 Moving to Node #0,1,1 Current State: 12:[8, 55], Operations: ['78-70=8', '68-13=55'] Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,12 unequal: No Solution Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,12 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[13, 60], Operations: ['78-70=8', '68-8=60'] Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 13*60=780, Resulting Numbers: [780] 780,12 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[68, 5], Operations: ['78-70=8', '13-8=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,12 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[13, 76], Operations: ['78-70=8', '68+8=76'] Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,12 unequal: No Solution Exploring Operation: 13*76=988, Resulting Numbers: [988] 988,12 unequal: No Solution Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,12 unequal: No Solution Moving to Node #0,1,4 Current State: 12:[68, 21], Operations: ['78-70=8', '13+8=21'] Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 68+21=89, Resulting Numbers: [89] 89,12 unequal: No Solution Exploring Operation: 68*21=1428, Resulting Numbers: [1428] 1428,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[70, 13, 10], Operations: ['78-68=10'] Exploring Operation: 70/10=7, Resulting Numbers: [13, 7] Generated Node #0,2,0: 12:[13, 7] Operation: 70/10=7 Exploring Operation: 70+10=80, Resulting Numbers: [13, 80] Generated Node #0,2,1: 12:[13, 80] Operation: 70+10=80 Exploring Operation: 70-10=60, Resulting Numbers: [13, 60] Generated Node #0,2,2: 12:[13, 60] Operation: 70-10=60 Exploring Operation: 13-10=3, Resulting Numbers: [70, 3] Generated Node #0,2,3: 12:[70, 3] Operation: 13-10=3 Exploring Operation: 70-13=57, Resulting Numbers: [10, 57] Generated Node #0,2,4: 12:[10, 57] Operation: 70-13=57 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[13, 7], Operations: ['78-68=10', '70/10=7'] Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 12:[10, 57], Operations: ['78-68=10', '70-13=57'] Exploring Operation: 10*57=570, Resulting Numbers: [570] 570,12 unequal: No Solution Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,12 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[13, 60], Operations: ['78-68=10', '70-10=60'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,12 unequal: No Solution Exploring Operation: 13*60=780, Resulting Numbers: [780] 780,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 12:[70, 3], Operations: ['78-68=10', '13-10=3'] Exploring Operation: 70*3=210, Resulting Numbers: [210] 210,12 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,12 unequal: No Solution Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 12:[13, 80], Operations: ['78-68=10', '70+10=80'] Exploring Operation: 13+80=93, Resulting Numbers: [93] 93,12 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,12 unequal: No Solution Exploring Operation: 13*80=1040, Resulting Numbers: [1040] 1040,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[78, 13, 2], Operations: ['70-68=2'] Exploring Operation: 78/2=39, Resulting Numbers: [13, 39] Generated Node #0,0,0: 12:[13, 39] Operation: 78/2=39 Exploring Operation: 13-2=11, Resulting Numbers: [78, 11] Generated Node #0,0,1: 12:[78, 11] Operation: 13-2=11 Exploring Operation: 78-2=76, Resulting Numbers: [13, 76] Generated Node #0,0,2: 12:[13, 76] Operation: 78-2=76 Exploring Operation: 78-13=65, Resulting Numbers: [2, 65] Generated Node #0,0,3: 12:[2, 65] Operation: 78-13=65 Exploring Operation: 78/13=6, Resulting Numbers: [2, 6] Generated Node #0,0,4: 12:[2, 6] Operation: 78/13=6 Moving to Node #0,0,4 Current State: 12:[2, 6], Operations: ['70-68=2', '78/13=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[78, 70, 68, 13], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [78, 13, 2] Generated Node #0,0: 12:[78, 13, 2] Operation: 70-68=2 Moving to Node #0,0 Current State: 12:[78, 13, 2], Operations: ['70-68=2'] Exploring Operation: 78/13=6, Resulting Numbers: [2, 6] Generated Node #0,0,4: 12:[2, 6] Operation: 78/13=6 Moving to Node #0,0,4 Current State: 12:[2, 6], Operations: ['70-68=2', '78/13=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.949653
hs_5
mult_heuristic
[ 30, 24, 76, 78 ]
78
[ "78-30=48", "48/24=2", "76+2=78" ]
Current State: 78:[30, 24, 76, 78], Operations: [] Exploring Operation: 78-30=48, Resulting Numbers: [24, 76, 48] Generated Node #2: [24, 76, 48] from Operation: 78-30=48 Current State: 78:[24, 76, 48], Operations: ['78-30=48'] Exploring Operation: 48/24=2, Resulting Numbers: [76, 2] Generated Node #3: [76, 2] from Operation: 48/24=2 Current State: 78:[76, 2], Operations: ['78-30=48', '48/24=2'] Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[30, 24, 76, 78], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [30, 24, 2] Generated Node #0,0: 78:[30, 24, 2] Operation: 78-76=2 Exploring Operation: 76-30=46, Resulting Numbers: [24, 78, 46] Generated Node #0,1: 78:[24, 78, 46] Operation: 76-30=46 Exploring Operation: 30-24=6, Resulting Numbers: [76, 78, 6] Generated Node #0,2: 78:[76, 78, 6] Operation: 30-24=6 Moving to Node #0,2 Current State: 78:[76, 78, 6], Operations: ['30-24=6'] Exploring Operation: 76+6=82, Resulting Numbers: [78, 82] Generated Node #0,2,0: 78:[78, 82] Operation: 76+6=82 Exploring Operation: 78/6=13, Resulting Numbers: [76, 13] Generated Node #0,2,1: 78:[76, 13] Operation: 78/6=13 Exploring Operation: 78-76=2, Resulting Numbers: [6, 2] Generated Node #0,2,2: 78:[6, 2] Operation: 78-76=2 Moving to Node #0,0 Current State: 78:[30, 24, 2], Operations: ['78-76=2'] Exploring Operation: 30-2=28, Resulting Numbers: [24, 28] Generated Node #0,0,0: 78:[24, 28] Operation: 30-2=28 Exploring Operation: 30-24=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 78:[2, 6] Operation: 30-24=6 Exploring Operation: 30/2=15, Resulting Numbers: [24, 15] Generated Node #0,0,2: 78:[24, 15] Operation: 30/2=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[2, 6], Operations: ['78-76=2', '30-24=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[24, 28], Operations: ['78-76=2', '30-2=28'] Exploring Operation: 24*28=672, Resulting Numbers: [672] 672,78 unequal: No Solution Exploring Operation: 24+28=52, Resulting Numbers: [52] 52,78 unequal: No Solution Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[24, 15], Operations: ['78-76=2', '30/2=15'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,78 unequal: No Solution Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,78 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: 78:[24, 78, 46], Operations: ['76-30=46'] Exploring Operation: 24+46=70, Resulting Numbers: [78, 70] Generated Node #0,1,0: 78:[78, 70] Operation: 24+46=70 Exploring Operation: 78-46=32, Resulting Numbers: [24, 32] Generated Node #0,1,1: 78:[24, 32] Operation: 78-46=32 Exploring Operation: 46-24=22, Resulting Numbers: [78, 22] Generated Node #0,1,2: 78:[78, 22] Operation: 46-24=22 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[78, 22], Operations: ['76-30=46', '46-24=22'] Exploring Operation: 78+22=100, Resulting Numbers: [100] 100,78 unequal: No Solution Exploring Operation: 78*22=1716, Resulting Numbers: [1716] 1716,78 unequal: No Solution Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[78, 70], Operations: ['76-30=46', '24+46=70'] Exploring Operation: 78+70=148, Resulting Numbers: [148] 148,78 unequal: No Solution Exploring Operation: 78*70=5460, Resulting Numbers: [5460] 5460,78 unequal: No Solution Exploring Operation: 78-70=8, Resulting Numbers: [8] 8,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[24, 32], Operations: ['76-30=46', '78-46=32'] Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,78 unequal: No Solution Exploring Operation: 24*32=768, Resulting Numbers: [768] 768,78 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,78 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: 78:[6, 2], Operations: ['30-24=6', '78-76=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[76, 13], Operations: ['30-24=6', '78/6=13'] Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,78 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 76*13=988, Resulting Numbers: [988] 988,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[78, 82], Operations: ['30-24=6', '76+6=82'] Exploring Operation: 78+82=160, Resulting Numbers: [160] 160,78 unequal: No Solution Exploring Operation: 78*82=6396, Resulting Numbers: [6396] 6396,78 unequal: No Solution Exploring Operation: 82-78=4, Resulting Numbers: [4] 4,78 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 78, 2, 78, 33 ]
33
[ "78-78=0", "2*0=0", "33+0=33" ]
Current State: 33:[78, 2, 78, 33], Operations: [] Exploring Operation: 78-78=0, Resulting Numbers: [2, 33, 0] Generated Node #2: [2, 33, 0] from Operation: 78-78=0 Current State: 33:[2, 33, 0], Operations: ['78-78=0'] Exploring Operation: 2*0=0, Resulting Numbers: [33, 0] Generated Node #3: [33, 0] from Operation: 2*0=0 Current State: 33:[33, 0], Operations: ['78-78=0', '2*0=0'] Exploring Operation: 33+0=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[78, 2, 78, 33], Operations: [] Exploring Operation: 78/2=39, Resulting Numbers: [78, 33, 39] Generated Node #0,0: 33:[78, 33, 39] Operation: 78/2=39 Exploring Operation: 78/2=39, Resulting Numbers: [78, 33, 39] Generated Node #0,1: 33:[78, 33, 39] Operation: 78/2=39 Exploring Operation: 78-78=0, Resulting Numbers: [2, 33, 0] Generated Node #0,2: 33:[2, 33, 0] Operation: 78-78=0 Exploring Operation: 78/78=1, Resulting Numbers: [2, 33, 1] Generated Node #0,3: 33:[2, 33, 1] Operation: 78/78=1 Moving to Node #0,3 Current State: 33:[2, 33, 1], Operations: ['78/78=1'] Exploring Operation: 2/1=2, Resulting Numbers: [33, 2] Generated Node #0,3,0: 33:[33, 2] Operation: 2/1=2 Exploring Operation: 33*1=33, Resulting Numbers: [2, 33] Generated Node #0,3,1: 33:[2, 33] Operation: 33*1=33 Exploring Operation: 2+1=3, Resulting Numbers: [33, 3] Generated Node #0,3,2: 33:[33, 3] Operation: 2+1=3 Exploring Operation: 2*1=2, Resulting Numbers: [33, 2] Generated Node #0,3,3: 33:[33, 2] Operation: 2*1=2 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 33:[33, 3], Operations: ['78/78=1', '2+1=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,33 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 33:[33, 2], Operations: ['78/78=1', '2/1=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 33:[2, 33], Operations: ['78/78=1', '33*1=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 33:[33, 2], Operations: ['78/78=1', '2*1=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 33:[2, 33, 0], Operations: ['78-78=0'] Exploring Operation: 2-0=2, Resulting Numbers: [33, 2] Generated Node #0,2,0: 33:[33, 2] Operation: 2-0=2 Exploring Operation: 33-0=33, Resulting Numbers: [2, 33] Generated Node #0,2,1: 33:[2, 33] Operation: 33-0=33 Exploring Operation: 2+0=2, Resulting Numbers: [33, 2] Generated Node #0,2,2: 33:[33, 2] Operation: 2+0=2 Exploring Operation: 33+0=33, Resulting Numbers: [2, 33] Generated Node #0,2,3: 33:[2, 33] Operation: 33+0=33 Moving to Node #0,1 Current State: 33:[78, 33, 39], Operations: ['78/2=39'] Exploring Operation: 78-39=39, Resulting Numbers: [33, 39] Generated Node #0,1,0: 33:[33, 39] Operation: 78-39=39 Exploring Operation: 78/39=2, Resulting Numbers: [33, 2] Generated Node #0,1,1: 33:[33, 2] Operation: 78/39=2 Exploring Operation: 39-33=6, Resulting Numbers: [78, 6] Generated Node #0,1,2: 33:[78, 6] Operation: 39-33=6 Exploring Operation: 78-33=45, Resulting Numbers: [39, 45] Generated Node #0,1,3: 33:[39, 45] Operation: 78-33=45 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[33, 2], Operations: ['78/2=39', '78/39=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[33, 39], Operations: ['78/2=39', '78-39=39'] Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,33 unequal: No Solution Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 33:[39, 45], Operations: ['78/2=39', '78-33=45'] Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,33 unequal: No Solution Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,33 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[78, 6], Operations: ['78/2=39', '39-33=6'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,33 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,33 unequal: No Solution Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,33 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,33 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: 33:[78, 33, 39], Operations: ['78/2=39'] Exploring Operation: 78-33=45, Resulting Numbers: [39, 45] Generated Node #0,0,0: 33:[39, 45] Operation: 78-33=45 Exploring Operation: 39-33=6, Resulting Numbers: [78, 6] Generated Node #0,0,1: 33:[78, 6] Operation: 39-33=6 Exploring Operation: 78/39=2, Resulting Numbers: [33, 2] Generated Node #0,0,2: 33:[33, 2] Operation: 78/39=2 Exploring Operation: 78-39=39, Resulting Numbers: [33, 39] Generated Node #0,0,3: 33:[33, 39] Operation: 78-39=39 Moving to Node #0,2,0 Current State: 33:[33, 2], Operations: ['78-78=0', '2-0=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[33, 2], Operations: ['78-78=0', '2+0=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[2, 33], Operations: ['78-78=0', '33-0=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[33, 2], Operations: ['78/2=39', '78/39=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,33 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[2, 33], Operations: ['78-78=0', '33+0=33'] Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[33, 39], Operations: ['78/2=39', '78-39=39'] Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,33 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[39, 45], Operations: ['78/2=39', '78-33=45'] Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,33 unequal: No Solution Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[78, 6], Operations: ['78/2=39', '39-33=6'] Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,33 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,33 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,33 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,33 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 8, 13, 88, 5 ]
89
[ "13-8=5", "5/5=1", "88+1=89" ]
Current State: 89:[8, 13, 88, 5], Operations: [] Exploring Operation: 13-8=5, Resulting Numbers: [88, 5, 5] Generated Node #2: [88, 5, 5] from Operation: 13-8=5 Current State: 89:[88, 5, 5], Operations: ['13-8=5'] Exploring Operation: 5/5=1, Resulting Numbers: [88, 1] Generated Node #3: [88, 1] from Operation: 5/5=1 Current State: 89:[88, 1], Operations: ['13-8=5', '5/5=1'] Exploring Operation: 88+1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[8, 13, 88, 5], Operations: [] Exploring Operation: 8*5=40, Resulting Numbers: [13, 88, 40] Generated Node #0,0: 89:[13, 88, 40] Operation: 8*5=40 Exploring Operation: 8+13=21, Resulting Numbers: [88, 5, 21] Generated Node #0,1: 89:[88, 5, 21] Operation: 8+13=21 Exploring Operation: 13*5=65, Resulting Numbers: [8, 88, 65] Generated Node #0,2: 89:[8, 88, 65] Operation: 13*5=65 Exploring Operation: 8*13=104, Resulting Numbers: [88, 5, 104] Generated Node #0,3: 89:[88, 5, 104] Operation: 8*13=104 Exploring Operation: 8+5=13, Resulting Numbers: [13, 88, 13] Generated Node #0,4: 89:[13, 88, 13] Operation: 8+5=13 Moving to Node #0,3 Current State: 89:[88, 5, 104], Operations: ['8*13=104'] Exploring Operation: 104-88=16, Resulting Numbers: [5, 16] Generated Node #0,3,0: 89:[5, 16] Operation: 104-88=16 Exploring Operation: 5+104=109, Resulting Numbers: [88, 109] Generated Node #0,3,1: 89:[88, 109] Operation: 5+104=109 Exploring Operation: 88+5=93, Resulting Numbers: [104, 93] Generated Node #0,3,2: 89:[104, 93] Operation: 88+5=93 Exploring Operation: 88-5=83, Resulting Numbers: [104, 83] Generated Node #0,3,3: 89:[104, 83] Operation: 88-5=83 Exploring Operation: 104-5=99, Resulting Numbers: [88, 99] Generated Node #0,3,4: 89:[88, 99] Operation: 104-5=99 Moving to Node #0,2 Current State: 89:[8, 88, 65], Operations: ['13*5=65'] Exploring Operation: 8+65=73, Resulting Numbers: [88, 73] Generated Node #0,2,0: 89:[88, 73] Operation: 8+65=73 Exploring Operation: 65-8=57, Resulting Numbers: [88, 57] Generated Node #0,2,1: 89:[88, 57] Operation: 65-8=57 Exploring Operation: 88/8=11, Resulting Numbers: [65, 11] Generated Node #0,2,2: 89:[65, 11] Operation: 88/8=11 Exploring Operation: 88-8=80, Resulting Numbers: [65, 80] Generated Node #0,2,3: 89:[65, 80] Operation: 88-8=80 Exploring Operation: 8+88=96, Resulting Numbers: [65, 96] Generated Node #0,2,4: 89:[65, 96] Operation: 8+88=96 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[88, 73], Operations: ['13*5=65', '8+65=73'] Exploring Operation: 88+73=161, Resulting Numbers: [161] 161,89 unequal: No Solution Exploring Operation: 88-73=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 88*73=6424, Resulting Numbers: [6424] 6424,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 89:[65, 96], Operations: ['13*5=65', '8+88=96'] Exploring Operation: 65+96=161, Resulting Numbers: [161] 161,89 unequal: No Solution Exploring Operation: 65*96=6240, Resulting Numbers: [6240] 6240,89 unequal: No Solution Exploring Operation: 96-65=31, Resulting Numbers: [31] 31,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[88, 57], Operations: ['13*5=65', '65-8=57'] Exploring Operation: 88*57=5016, Resulting Numbers: [5016] 5016,89 unequal: No Solution Exploring Operation: 88+57=145, Resulting Numbers: [145] 145,89 unequal: No Solution Exploring Operation: 88-57=31, Resulting Numbers: [31] 31,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 89:[65, 80], Operations: ['13*5=65', '88-8=80'] Exploring Operation: 65+80=145, Resulting Numbers: [145] 145,89 unequal: No Solution Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 65*80=5200, Resulting Numbers: [5200] 5200,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[65, 11], Operations: ['13*5=65', '88/8=11'] Exploring Operation: 65*11=715, Resulting Numbers: [715] 715,89 unequal: No Solution Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,89 unequal: No Solution Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 89:[13, 88, 40], Operations: ['8*5=40'] Exploring Operation: 88+40=128, Resulting Numbers: [13, 128] Generated Node #0,0,0: 89:[13, 128] Operation: 88+40=128 Exploring Operation: 88-13=75, Resulting Numbers: [40, 75] Generated Node #0,0,1: 89:[40, 75] Operation: 88-13=75 Exploring Operation: 13+40=53, Resulting Numbers: [88, 53] Generated Node #0,0,2: 89:[88, 53] Operation: 13+40=53 Exploring Operation: 40-13=27, Resulting Numbers: [88, 27] Generated Node #0,0,3: 89:[88, 27] Operation: 40-13=27 Exploring Operation: 13+88=101, Resulting Numbers: [40, 101] Generated Node #0,0,4: 89:[40, 101] Operation: 13+88=101 Moving to Node #0,1 Current State: 89:[88, 5, 21], Operations: ['8+13=21'] Exploring Operation: 88+5=93, Resulting Numbers: [21, 93] Generated Node #0,1,0: 89:[21, 93] Operation: 88+5=93 Exploring Operation: 21-5=16, Resulting Numbers: [88, 16] Generated Node #0,1,1: 89:[88, 16] Operation: 21-5=16 Exploring Operation: 5*21=105, Resulting Numbers: [88, 105] Generated Node #0,1,2: 89:[88, 105] Operation: 5*21=105 Exploring Operation: 88-5=83, Resulting Numbers: [21, 83] Generated Node #0,1,3: 89:[21, 83] Operation: 88-5=83 Exploring Operation: 5+21=26, Resulting Numbers: [88, 26] Generated Node #0,1,4: 89:[88, 26] Operation: 5+21=26 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[88, 105], Operations: ['8+13=21', '5*21=105'] Exploring Operation: 88+105=193, Resulting Numbers: [193] 193,89 unequal: No Solution Exploring Operation: 88*105=9240, Resulting Numbers: [9240] 9240,89 unequal: No Solution Exploring Operation: 105-88=17, Resulting Numbers: [17] 17,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 89:[88, 26], Operations: ['8+13=21', '5+21=26'] Exploring Operation: 88*26=2288, Resulting Numbers: [2288] 2288,89 unequal: No Solution Exploring Operation: 88+26=114, Resulting Numbers: [114] 114,89 unequal: No Solution Exploring Operation: 88-26=62, Resulting Numbers: [62] 62,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[21, 93], Operations: ['8+13=21', '88+5=93'] Exploring Operation: 21+93=114, Resulting Numbers: [114] 114,89 unequal: No Solution Exploring Operation: 21*93=1953, Resulting Numbers: [1953] 1953,89 unequal: No Solution Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[88, 16], Operations: ['8+13=21', '21-5=16'] Exploring Operation: 88*16=1408, Resulting Numbers: [1408] 1408,89 unequal: No Solution Exploring Operation: 88-16=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 88+16=104, Resulting Numbers: [104] 104,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 89:[21, 83], Operations: ['8+13=21', '88-5=83'] Exploring Operation: 83-21=62, Resulting Numbers: [62] 62,89 unequal: No Solution Exploring Operation: 21+83=104, Resulting Numbers: [104] 104,89 unequal: No Solution Exploring Operation: 21*83=1743, Resulting Numbers: [1743] 1743,89 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: 89:[13, 88, 13], Operations: ['8+5=13'] Exploring Operation: 13+13=26, Resulting Numbers: [88, 26] Generated Node #0,4,0: 89:[88, 26] Operation: 13+13=26 Exploring Operation: 13/13=1, Resulting Numbers: [88, 1] Generated Node #0,4,1: 89:[88, 1] Operation: 13/13=1 Exploring Operation: 13*13=169, Resulting Numbers: [88, 169] Generated Node #0,4,2: 89:[88, 169] Operation: 13*13=169 Exploring Operation: 13+88=101, Resulting Numbers: [13, 101] Generated Node #0,4,3: 89:[13, 101] Operation: 13+88=101 Exploring Operation: 88+13=101, Resulting Numbers: [13, 101] Generated Node #0,4,4: 89:[13, 101] Operation: 88+13=101 Moving to Node #0,3,4 Current State: 89:[88, 99], Operations: ['8*13=104', '104-5=99'] Exploring Operation: 88+99=187, Resulting Numbers: [187] 187,89 unequal: No Solution Exploring Operation: 99-88=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 88*99=8712, Resulting Numbers: [8712] 8712,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[104, 93], Operations: ['8*13=104', '88+5=93'] Exploring Operation: 104*93=9672, Resulting Numbers: [9672] 9672,89 unequal: No Solution Exploring Operation: 104+93=197, Resulting Numbers: [197] 197,89 unequal: No Solution Exploring Operation: 104-93=11, Resulting Numbers: [11] 11,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[88, 109], Operations: ['8*13=104', '5+104=109'] Exploring Operation: 88+109=197, Resulting Numbers: [197] 197,89 unequal: No Solution Exploring Operation: 88*109=9592, Resulting Numbers: [9592] 9592,89 unequal: No Solution Exploring Operation: 109-88=21, Resulting Numbers: [21] 21,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[104, 83], Operations: ['8*13=104', '88-5=83'] Exploring Operation: 104-83=21, Resulting Numbers: [21] 21,89 unequal: No Solution Exploring Operation: 104*83=8632, Resulting Numbers: [8632] 8632,89 unequal: No Solution Exploring Operation: 104+83=187, Resulting Numbers: [187] 187,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[88, 53], Operations: ['8*5=40', '13+40=53'] Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,89 unequal: No Solution Exploring Operation: 88*53=4664, Resulting Numbers: [4664] 4664,89 unequal: No Solution Exploring Operation: 88+53=141, Resulting Numbers: [141] 141,89 unequal: No Solution Moving to Node #0,0,4 Current State: 89:[40, 101], Operations: ['8*5=40', '13+88=101'] Exploring Operation: 101-40=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 40+101=141, Resulting Numbers: [141] 141,89 unequal: No Solution Exploring Operation: 40*101=4040, Resulting Numbers: [4040] 4040,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[88, 27], Operations: ['8*5=40', '40-13=27'] Exploring Operation: 88+27=115, Resulting Numbers: [115] 115,89 unequal: No Solution Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 88*27=2376, Resulting Numbers: [2376] 2376,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[40, 75], Operations: ['8*5=40', '88-13=75'] Exploring Operation: 40+75=115, Resulting Numbers: [115] 115,89 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,89 unequal: No Solution Exploring Operation: 40*75=3000, Resulting Numbers: [3000] 3000,89 unequal: No Solution Moving to Node #0,4,0 Current State: 89:[88, 26], Operations: ['8+5=13', '13+13=26'] Exploring Operation: 88*26=2288, Resulting Numbers: [2288] 2288,89 unequal: No Solution Exploring Operation: 88+26=114, Resulting Numbers: [114] 114,89 unequal: No Solution Exploring Operation: 88-26=62, Resulting Numbers: [62] 62,89 unequal: No Solution Moving to Node #0,4,2 Current State: 89:[88, 169], Operations: ['8+5=13', '13*13=169'] Exploring Operation: 88*169=14872, Resulting Numbers: [14872] 14872,89 unequal: No Solution Exploring Operation: 169-88=81, Resulting Numbers: [81] 81,89 unequal: No Solution Exploring Operation: 88+169=257, Resulting Numbers: [257] 257,89 unequal: No Solution Moving to Node #0,4,4 Current State: 89:[13, 101], Operations: ['8+5=13', '88+13=101'] Exploring Operation: 101-13=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 13+101=114, Resulting Numbers: [114] 114,89 unequal: No Solution Exploring Operation: 13*101=1313, Resulting Numbers: [1313] 1313,89 unequal: No Solution Moving to Node #0,4,3 Current State: 89:[13, 101], Operations: ['8+5=13', '13+88=101'] Exploring Operation: 101-13=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 13*101=1313, Resulting Numbers: [1313] 1313,89 unequal: No Solution Exploring Operation: 13+101=114, Resulting Numbers: [114] 114,89 unequal: No Solution Moving to Node #0,4,1 Current State: 89:[88, 1], Operations: ['8+5=13', '13/13=1'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 88+1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[8, 13, 88, 5], Operations: [] Exploring Operation: 8+5=13, Resulting Numbers: [13, 88, 13] Generated Node #0,4: 89:[13, 88, 13] Operation: 8+5=13 Moving to Node #0,4 Current State: 89:[13, 88, 13], Operations: ['8+5=13'] Exploring Operation: 13/13=1, Resulting Numbers: [88, 1] Generated Node #0,4,1: 89:[88, 1] Operation: 13/13=1 Moving to Node #0,4,1 Current State: 89:[88, 1], Operations: ['8+5=13', '13/13=1'] Exploring Operation: 88+1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
0.911458
hs_5
mult_heuristic
[ 5, 96, 31, 2 ]
26
[ "96-31=65", "65/5=13", "2*13=26" ]
Current State: 26:[5, 96, 31, 2], Operations: [] Exploring Operation: 96-31=65, Resulting Numbers: [5, 2, 65] Generated Node #2: [5, 2, 65] from Operation: 96-31=65 Current State: 26:[5, 2, 65], Operations: ['96-31=65'] Exploring Operation: 65/5=13, Resulting Numbers: [2, 13] Generated Node #3: [2, 13] from Operation: 65/5=13 Current State: 26:[2, 13], Operations: ['96-31=65', '65/5=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[5, 96, 31, 2], Operations: [] Exploring Operation: 96-31=65, Resulting Numbers: [5, 2, 65] Generated Node #0,0: 26:[5, 2, 65] Operation: 96-31=65 Exploring Operation: 96-5=91, Resulting Numbers: [31, 2, 91] Generated Node #0,1: 26:[31, 2, 91] Operation: 96-5=91 Exploring Operation: 96/2=48, Resulting Numbers: [5, 31, 48] Generated Node #0,2: 26:[5, 31, 48] Operation: 96/2=48 Exploring Operation: 31-5=26, Resulting Numbers: [96, 2, 26] Generated Node #0,3: 26:[96, 2, 26] Operation: 31-5=26 Moving to Node #0,2 Current State: 26:[5, 31, 48], Operations: ['96/2=48'] Exploring Operation: 48-5=43, Resulting Numbers: [31, 43] Generated Node #0,2,0: 26:[31, 43] Operation: 48-5=43 Exploring Operation: 31-5=26, Resulting Numbers: [48, 26] Generated Node #0,2,1: 26:[48, 26] Operation: 31-5=26 Exploring Operation: 48-31=17, Resulting Numbers: [5, 17] Generated Node #0,2,2: 26:[5, 17] Operation: 48-31=17 Exploring Operation: 5+31=36, Resulting Numbers: [48, 36] Generated Node #0,2,3: 26:[48, 36] Operation: 5+31=36 Moving to Node #0,0 Current State: 26:[5, 2, 65], Operations: ['96-31=65'] Exploring Operation: 65/5=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 26:[2, 13] Operation: 65/5=13 Exploring Operation: 5-2=3, Resulting Numbers: [65, 3] Generated Node #0,0,1: 26:[65, 3] Operation: 5-2=3 Exploring Operation: 65-2=63, Resulting Numbers: [5, 63] Generated Node #0,0,2: 26:[5, 63] Operation: 65-2=63 Exploring Operation: 65-5=60, Resulting Numbers: [2, 60] Generated Node #0,0,3: 26:[2, 60] Operation: 65-5=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[2, 13], Operations: ['96-31=65', '65/5=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[5, 96, 31, 2], Operations: [] Exploring Operation: 96-31=65, Resulting Numbers: [5, 2, 65] Generated Node #0,0: 26:[5, 2, 65] Operation: 96-31=65 Moving to Node #0,0 Current State: 26:[5, 2, 65], Operations: ['96-31=65'] Exploring Operation: 65/5=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 26:[2, 13] Operation: 65/5=13 Moving to Node #0,0,0 Current State: 26:[2, 13], Operations: ['96-31=65', '65/5=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 21, 41, 42, 23 ]
40
[ "23-21=2", "41*2=82", "82-42=40" ]
Current State: 40:[21, 41, 42, 23], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [41, 42, 2] Generated Node #2: [41, 42, 2] from Operation: 23-21=2 Current State: 40:[41, 42, 2], Operations: ['23-21=2'] Exploring Operation: 41*2=82, Resulting Numbers: [42, 82] Generated Node #3: [42, 82] from Operation: 41*2=82 Current State: 40:[42, 82], Operations: ['23-21=2', '41*2=82'] Exploring Operation: 82-42=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[21, 41, 42, 23], Operations: [] Exploring Operation: 23-21=2, Resulting Numbers: [41, 42, 2] Generated Node #0,0: 40:[41, 42, 2] Operation: 23-21=2 Exploring Operation: 42-23=19, Resulting Numbers: [21, 41, 19] Generated Node #0,1: 40:[21, 41, 19] Operation: 42-23=19 Exploring Operation: 41-21=20, Resulting Numbers: [42, 23, 20] Generated Node #0,2: 40:[42, 23, 20] Operation: 41-21=20 Exploring Operation: 42/21=2, Resulting Numbers: [41, 23, 2] Generated Node #0,3: 40:[41, 23, 2] Operation: 42/21=2 Moving to Node #0,0 Current State: 40:[41, 42, 2], Operations: ['23-21=2'] Exploring Operation: 42/2=21, Resulting Numbers: [41, 21] Generated Node #0,0,0: 40:[41, 21] Operation: 42/2=21 Exploring Operation: 42-2=40, Resulting Numbers: [41, 40] Generated Node #0,0,1: 40:[41, 40] Operation: 42-2=40 Exploring Operation: 41-2=39, Resulting Numbers: [42, 39] Generated Node #0,0,2: 40:[42, 39] Operation: 41-2=39 Exploring Operation: 42-41=1, Resulting Numbers: [2, 1] Generated Node #0,0,3: 40:[2, 1] Operation: 42-41=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[41, 40], Operations: ['23-21=2', '42-2=40'] Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,40 unequal: No Solution Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 40:[2, 1], Operations: ['23-21=2', '42-41=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[41, 21], Operations: ['23-21=2', '42/2=21'] Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,40 unequal: No Solution Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 40:[42, 39], Operations: ['23-21=2', '41-2=39'] Exploring Operation: 42*39=1638, Resulting Numbers: [1638] 1638,40 unequal: No Solution Exploring Operation: 42+39=81, Resulting Numbers: [81] 81,40 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,40 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: 40:[21, 41, 19], Operations: ['42-23=19'] Exploring Operation: 21+19=40, Resulting Numbers: [41, 40] Generated Node #0,1,0: 40:[41, 40] Operation: 21+19=40 Exploring Operation: 41-19=22, Resulting Numbers: [21, 22] Generated Node #0,1,1: 40:[21, 22] Operation: 41-19=22 Exploring Operation: 41-21=20, Resulting Numbers: [19, 20] Generated Node #0,1,2: 40:[19, 20] Operation: 41-21=20 Exploring Operation: 21-19=2, Resulting Numbers: [41, 2] Generated Node #0,1,3: 40:[41, 2] Operation: 21-19=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[41, 40], Operations: ['42-23=19', '21+19=40'] Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,40 unequal: No Solution Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[19, 20], Operations: ['42-23=19', '41-21=20'] Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,40 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 40:[41, 2], Operations: ['42-23=19', '21-19=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,40 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[21, 22], Operations: ['42-23=19', '41-19=22'] Exploring Operation: 21*22=462, Resulting Numbers: [462] 462,40 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 21+22=43, Resulting Numbers: [43] 43,40 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: 40:[41, 23, 2], Operations: ['42/21=2'] Exploring Operation: 41-2=39, Resulting Numbers: [23, 39] Generated Node #0,3,0: 40:[23, 39] Operation: 41-2=39 Exploring Operation: 23-2=21, Resulting Numbers: [41, 21] Generated Node #0,3,1: 40:[41, 21] Operation: 23-2=21 Exploring Operation: 41-23=18, Resulting Numbers: [2, 18] Generated Node #0,3,2: 40:[2, 18] Operation: 41-23=18 Exploring Operation: 41+2=43, Resulting Numbers: [23, 43] Generated Node #0,3,3: 40:[23, 43] Operation: 41+2=43 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 40:[41, 21], Operations: ['42/21=2', '23-2=21'] Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,40 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 40:[2, 18], Operations: ['42/21=2', '41-23=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 40:[23, 39], Operations: ['42/21=2', '41-2=39'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 23*39=897, Resulting Numbers: [897] 897,40 unequal: No Solution Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 40:[23, 43], Operations: ['42/21=2', '41+2=43'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 23*43=989, Resulting Numbers: [989] 989,40 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: 40:[42, 23, 20], Operations: ['41-21=20'] Exploring Operation: 23-20=3, Resulting Numbers: [42, 3] Generated Node #0,2,0: 40:[42, 3] Operation: 23-20=3 Exploring Operation: 42-20=22, Resulting Numbers: [23, 22] Generated Node #0,2,1: 40:[23, 22] Operation: 42-20=22 Exploring Operation: 23+20=43, Resulting Numbers: [42, 43] Generated Node #0,2,2: 40:[42, 43] Operation: 23+20=43 Exploring Operation: 42-23=19, Resulting Numbers: [20, 19] Generated Node #0,2,3: 40:[20, 19] Operation: 42-23=19 Moving to Node #0,2,3 Current State: 40:[20, 19], Operations: ['41-21=20', '42-23=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,40 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[42, 3], Operations: ['41-21=20', '23-20=3'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,40 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[42, 43], Operations: ['41-21=20', '23+20=43'] Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 42*43=1806, Resulting Numbers: [1806] 1806,40 unequal: No Solution Exploring Operation: 42+43=85, Resulting Numbers: [85] 85,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[23, 22], Operations: ['41-21=20', '42-20=22'] Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 23*22=506, Resulting Numbers: [506] 506,40 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 57, 18, 20, 4 ]
15
[ "57+18=75", "20/4=5", "75/5=15" ]
Current State: 15:[57, 18, 20, 4], Operations: [] Exploring Operation: 57+18=75, Resulting Numbers: [20, 4, 75] Generated Node #2: [20, 4, 75] from Operation: 57+18=75 Current State: 15:[20, 4, 75], Operations: ['57+18=75'] Exploring Operation: 20/4=5, Resulting Numbers: [75, 5] Generated Node #3: [75, 5] from Operation: 20/4=5 Current State: 15:[75, 5], Operations: ['57+18=75', '20/4=5'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[57, 18, 20, 4], Operations: [] Exploring Operation: 20/4=5, Resulting Numbers: [57, 18, 5] Generated Node #0,0: 15:[57, 18, 5] Operation: 20/4=5 Exploring Operation: 57-18=39, Resulting Numbers: [20, 4, 39] Generated Node #0,1: 15:[20, 4, 39] Operation: 57-18=39 Exploring Operation: 20-18=2, Resulting Numbers: [57, 4, 2] Generated Node #0,2: 15:[57, 4, 2] Operation: 20-18=2 Exploring Operation: 57-20=37, Resulting Numbers: [18, 4, 37] Generated Node #0,3: 15:[18, 4, 37] Operation: 57-20=37 Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[18, 4, 37], Operations: ['57-20=37'] Exploring Operation: 37-18=19, Resulting Numbers: [4, 19] Generated Node #0,3,0: 15:[4, 19] Operation: 37-18=19 Exploring Operation: 18+4=22, Resulting Numbers: [37, 22] Generated Node #0,3,1: 15:[37, 22] Operation: 18+4=22 Exploring Operation: 18-4=14, Resulting Numbers: [37, 14] Generated Node #0,3,2: 15:[37, 14] Operation: 18-4=14 Exploring Operation: 37-4=33, Resulting Numbers: [18, 33] Generated Node #0,3,3: 15:[18, 33] Operation: 37-4=33 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 15:[4, 19], Operations: ['57-20=37', '37-18=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[57, 18, 20, 4], Operations: [] Exploring Operation: 57-20=37, Resulting Numbers: [18, 4, 37] Generated Node #0,3: 15:[18, 4, 37] Operation: 57-20=37 Moving to Node #0,3 Current State: 15:[18, 4, 37], Operations: ['57-20=37'] Exploring Operation: 37-18=19, Resulting Numbers: [4, 19] Generated Node #0,3,0: 15:[4, 19] Operation: 37-18=19 Moving to Node #0,3,0 Current State: 15:[4, 19], Operations: ['57-20=37', '37-18=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 29, 43, 46, 49 ]
17
[ "43-29=14", "49-46=3", "14+3=17" ]
Current State: 17:[29, 43, 46, 49], Operations: [] Exploring Operation: 43-29=14, Resulting Numbers: [46, 49, 14] Generated Node #2: [46, 49, 14] from Operation: 43-29=14 Current State: 17:[46, 49, 14], Operations: ['43-29=14'] Exploring Operation: 49-46=3, Resulting Numbers: [14, 3] Generated Node #3: [14, 3] from Operation: 49-46=3 Current State: 17:[14, 3], Operations: ['43-29=14', '49-46=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[29, 43, 46, 49], Operations: [] Exploring Operation: 49-43=6, Resulting Numbers: [29, 46, 6] Generated Node #0,0: 17:[29, 46, 6] Operation: 49-43=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[29, 46, 6], Operations: ['49-43=6'] Exploring Operation: 46-29=17, Resulting Numbers: [6, 17] Generated Node #0,0,0: 17:[6, 17] Operation: 46-29=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[6, 17], Operations: ['49-43=6', '46-29=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 54, 9, 9, 38 ]
15
[ "54-38=16", "9/9=1", "16-1=15" ]
Current State: 15:[54, 9, 9, 38], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [9, 9, 16] Generated Node #2: [9, 9, 16] from Operation: 54-38=16 Current State: 15:[9, 9, 16], Operations: ['54-38=16'] Exploring Operation: 9/9=1, Resulting Numbers: [16, 1] Generated Node #3: [16, 1] from Operation: 9/9=1 Current State: 15:[16, 1], Operations: ['54-38=16', '9/9=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[54, 9, 9, 38], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [9, 38, 6] Generated Node #0,0: 15:[9, 38, 6] Operation: 54/9=6 Exploring Operation: 54/9=6, Resulting Numbers: [9, 38, 6] Generated Node #0,1: 15:[9, 38, 6] Operation: 54/9=6 Exploring Operation: 54-38=16, Resulting Numbers: [9, 9, 16] Generated Node #0,2: 15:[9, 9, 16] Operation: 54-38=16 Moving to Node #0,2 Current State: 15:[9, 9, 16], Operations: ['54-38=16'] Exploring Operation: 9+9=18, Resulting Numbers: [16, 18] Generated Node #0,2,0: 15:[16, 18] Operation: 9+9=18 Exploring Operation: 9/9=1, Resulting Numbers: [16, 1] Generated Node #0,2,1: 15:[16, 1] Operation: 9/9=1 Exploring Operation: 9-9=0, Resulting Numbers: [16, 0] Generated Node #0,2,2: 15:[16, 0] Operation: 9-9=0 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[16, 1], Operations: ['54-38=16', '9/9=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[54, 9, 9, 38], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [9, 9, 16] Generated Node #0,2: 15:[9, 9, 16] Operation: 54-38=16 Moving to Node #0,2 Current State: 15:[9, 9, 16], Operations: ['54-38=16'] Exploring Operation: 9/9=1, Resulting Numbers: [16, 1] Generated Node #0,2,1: 15:[16, 1] Operation: 9/9=1 Moving to Node #0,2,1 Current State: 15:[16, 1], Operations: ['54-38=16', '9/9=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 60, 10, 32, 25 ]
74
[ "32*25=800", "800-60=740", "740/10=74" ]
Current State: 74:[60, 10, 32, 25], Operations: [] Exploring Operation: 32*25=800, Resulting Numbers: [60, 10, 800] Generated Node #2: [60, 10, 800] from Operation: 32*25=800 Current State: 74:[60, 10, 800], Operations: ['32*25=800'] Exploring Operation: 800-60=740, Resulting Numbers: [10, 740] Generated Node #3: [10, 740] from Operation: 800-60=740 Current State: 74:[10, 740], Operations: ['32*25=800', '800-60=740'] Exploring Operation: 740/10=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[60, 10, 32, 25], Operations: [] Exploring Operation: 60-25=35, Resulting Numbers: [10, 32, 35] Generated Node #0,0: 74:[10, 32, 35] Operation: 60-25=35 Moving to Node #0,0 Current State: 74:[10, 32, 35], Operations: ['60-25=35'] Exploring Operation: 10+32=42, Resulting Numbers: [35, 42] Generated Node #0,0,0: 74:[35, 42] Operation: 10+32=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[35, 42], Operations: ['60-25=35', '10+32=42'] Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,74 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
[ 15, 10, 57, 94 ]
30
[ "15*94=1410", "57-10=47", "1410/47=30" ]
Current State: 30:[15, 10, 57, 94], Operations: [] Exploring Operation: 15*94=1410, Resulting Numbers: [10, 57, 1410] Generated Node #2: [10, 57, 1410] from Operation: 15*94=1410 Current State: 30:[10, 57, 1410], Operations: ['15*94=1410'] Exploring Operation: 57-10=47, Resulting Numbers: [1410, 47] Generated Node #3: [1410, 47] from Operation: 57-10=47 Current State: 30:[1410, 47], Operations: ['15*94=1410', '57-10=47'] Exploring Operation: 1410/47=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[15, 10, 57, 94], Operations: [] Exploring Operation: 57-15=42, Resulting Numbers: [10, 94, 42] Generated Node #0,0: 30:[10, 94, 42] Operation: 57-15=42 Exploring Operation: 94-57=37, Resulting Numbers: [15, 10, 37] Generated Node #0,1: 30:[15, 10, 37] Operation: 94-57=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[15, 10, 37], Operations: ['94-57=37'] Exploring Operation: 15-10=5, Resulting Numbers: [37, 5] Generated Node #0,1,0: 30:[37, 5] Operation: 15-10=5 Exploring Operation: 37-10=27, Resulting Numbers: [15, 27] Generated Node #0,1,1: 30:[15, 27] Operation: 37-10=27 Moving to Node #0,1,1 Current State: 30:[15, 27], Operations: ['94-57=37', '37-10=27'] Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[37, 5], Operations: ['94-57=37', '15-10=5'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,30 unequal: No Solution Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,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 Current State: 30:[10, 94, 42], Operations: ['57-15=42'] Exploring Operation: 94-42=52, Resulting Numbers: [10, 52] Generated Node #0,0,0: 30:[10, 52] Operation: 94-42=52 Exploring Operation: 94-10=84, Resulting Numbers: [42, 84] Generated Node #0,0,1: 30:[42, 84] Operation: 94-10=84 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[10, 52], Operations: ['57-15=42', '94-42=52'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 10+52=62, Resulting Numbers: [62] 62,30 unequal: No Solution No 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: 30:[42, 84], Operations: ['57-15=42', '94-10=84'] Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 84/42=2, Resulting Numbers: [2] 2,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 31, 36, 5, 21 ]
93
[ "31+36=67", "5+21=26", "67+26=93" ]
Current State: 93:[31, 36, 5, 21], Operations: [] Exploring Operation: 31+36=67, Resulting Numbers: [5, 21, 67] Generated Node #2: [5, 21, 67] from Operation: 31+36=67 Current State: 93:[5, 21, 67], Operations: ['31+36=67'] Exploring Operation: 5+21=26, Resulting Numbers: [67, 26] Generated Node #3: [67, 26] from Operation: 5+21=26 Current State: 93:[67, 26], Operations: ['31+36=67', '5+21=26'] Exploring Operation: 67+26=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[31, 36, 5, 21], Operations: [] Exploring Operation: 5+21=26, Resulting Numbers: [31, 36, 26] Generated Node #0,0: 93:[31, 36, 26] Operation: 5+21=26 Exploring Operation: 36-5=31, Resulting Numbers: [31, 21, 31] Generated Node #0,1: 93:[31, 21, 31] Operation: 36-5=31 Exploring Operation: 36-31=5, Resulting Numbers: [5, 21, 5] Generated Node #0,2: 93:[5, 21, 5] Operation: 36-31=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[31, 36, 26], Operations: ['5+21=26'] Exploring Operation: 31-26=5, Resulting Numbers: [36, 5] Generated Node #0,0,0: 93:[36, 5] Operation: 31-26=5 Exploring Operation: 36-26=10, Resulting Numbers: [31, 10] Generated Node #0,0,1: 93:[31, 10] Operation: 36-26=10 Exploring Operation: 36-31=5, Resulting Numbers: [26, 5] Generated Node #0,0,2: 93:[26, 5] Operation: 36-31=5 Moving to Node #0,0,0 Current State: 93:[36, 5], Operations: ['5+21=26', '31-26=5'] Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,93 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,93 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[31, 10], Operations: ['5+21=26', '36-26=10'] Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,93 unequal: No Solution Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,93 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[26, 5], Operations: ['5+21=26', '36-31=5'] Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,93 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,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 Current State: 93:[31, 21, 31], Operations: ['36-5=31'] Exploring Operation: 31/31=1, Resulting Numbers: [21, 1] Generated Node #0,1,0: 93:[21, 1] Operation: 31/31=1 Exploring Operation: 31-21=10, Resulting Numbers: [31, 10] Generated Node #0,1,1: 93:[31, 10] Operation: 31-21=10 Exploring Operation: 31-21=10, Resulting Numbers: [31, 10] Generated Node #0,1,2: 93:[31, 10] Operation: 31-21=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[31, 10], Operations: ['36-5=31', '31-21=10'] Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,93 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[31, 10], Operations: ['36-5=31', '31-21=10'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,93 unequal: No Solution Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[21, 1], Operations: ['36-5=31', '31/31=1'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[5, 21, 5], Operations: ['36-31=5'] Exploring Operation: 5/5=1, Resulting Numbers: [21, 1] Generated Node #0,2,0: 93:[21, 1] Operation: 5/5=1 Exploring Operation: 21+5=26, Resulting Numbers: [5, 26] Generated Node #0,2,1: 93:[5, 26] Operation: 21+5=26 Exploring Operation: 5+21=26, Resulting Numbers: [5, 26] Generated Node #0,2,2: 93:[5, 26] Operation: 5+21=26 Moving to Node #0,2,1 Current State: 93:[5, 26], Operations: ['36-31=5', '21+5=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,93 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[5, 26], Operations: ['36-31=5', '5+21=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[21, 1], Operations: ['36-31=5', '5/5=1'] Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,93 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
[ 5, 72, 38, 29 ]
10
[ "5+72=77", "38+29=67", "77-67=10" ]
Current State: 10:[5, 72, 38, 29], Operations: [] Exploring Operation: 5+72=77, Resulting Numbers: [38, 29, 77] Generated Node #2: [38, 29, 77] from Operation: 5+72=77 Current State: 10:[38, 29, 77], Operations: ['5+72=77'] Exploring Operation: 38+29=67, Resulting Numbers: [77, 67] Generated Node #3: [77, 67] from Operation: 38+29=67 Current State: 10:[77, 67], Operations: ['5+72=77', '38+29=67'] Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[5, 72, 38, 29], Operations: [] Exploring Operation: 72-38=34, Resulting Numbers: [5, 29, 34] Generated Node #0,0: 10:[5, 29, 34] Operation: 72-38=34 Exploring Operation: 38-29=9, Resulting Numbers: [5, 72, 9] Generated Node #0,1: 10:[5, 72, 9] Operation: 38-29=9 Exploring Operation: 72-29=43, Resulting Numbers: [5, 38, 43] Generated Node #0,2: 10:[5, 38, 43] Operation: 72-29=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[5, 29, 34], Operations: ['72-38=34'] Exploring Operation: 29-5=24, Resulting Numbers: [34, 24] Generated Node #0,0,0: 10:[34, 24] Operation: 29-5=24 Exploring Operation: 34-5=29, Resulting Numbers: [29, 29] Generated Node #0,0,1: 10:[29, 29] Operation: 34-5=29 Exploring Operation: 34-29=5, Resulting Numbers: [5, 5] Generated Node #0,0,2: 10:[5, 5] Operation: 34-29=5 Moving to Node #0,0,2 Current State: 10:[5, 5], Operations: ['72-38=34', '34-29=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[5, 72, 38, 29], Operations: [] Exploring Operation: 72-38=34, Resulting Numbers: [5, 29, 34] Generated Node #0,0: 10:[5, 29, 34] Operation: 72-38=34 Moving to Node #0,0 Current State: 10:[5, 29, 34], Operations: ['72-38=34'] Exploring Operation: 34-29=5, Resulting Numbers: [5, 5] Generated Node #0,0,2: 10:[5, 5] Operation: 34-29=5 Moving to Node #0,0,2 Current State: 10:[5, 5], Operations: ['72-38=34', '34-29=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 20, 3, 62, 94 ]
92
[ "20*3=60", "94-62=32", "60+32=92" ]
Current State: 92:[20, 3, 62, 94], Operations: [] Exploring Operation: 20*3=60, Resulting Numbers: [62, 94, 60] Generated Node #2: [62, 94, 60] from Operation: 20*3=60 Current State: 92:[62, 94, 60], Operations: ['20*3=60'] Exploring Operation: 94-62=32, Resulting Numbers: [60, 32] Generated Node #3: [60, 32] from Operation: 94-62=32 Current State: 92:[60, 32], Operations: ['20*3=60', '94-62=32'] Exploring Operation: 60+32=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[20, 3, 62, 94], Operations: [] Exploring Operation: 62-20=42, Resulting Numbers: [3, 94, 42] Generated Node #0,0: 92:[3, 94, 42] Operation: 62-20=42 Moving to Node #0,0 Current State: 92:[3, 94, 42], Operations: ['62-20=42'] Exploring Operation: 3+42=45, Resulting Numbers: [94, 45] Generated Node #0,0,0: 92:[94, 45] Operation: 3+42=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[94, 45], Operations: ['62-20=42', '3+42=45'] Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,92 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
[ 99, 63, 47, 20 ]
18
[ "99*20=1980", "63+47=110", "1980/110=18" ]
Current State: 18:[99, 63, 47, 20], Operations: [] Exploring Operation: 99*20=1980, Resulting Numbers: [63, 47, 1980] Generated Node #2: [63, 47, 1980] from Operation: 99*20=1980 Current State: 18:[63, 47, 1980], Operations: ['99*20=1980'] Exploring Operation: 63+47=110, Resulting Numbers: [1980, 110] Generated Node #3: [1980, 110] from Operation: 63+47=110 Current State: 18:[1980, 110], Operations: ['99*20=1980', '63+47=110'] Exploring Operation: 1980/110=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[99, 63, 47, 20], Operations: [] Exploring Operation: 63-47=16, Resulting Numbers: [99, 20, 16] Generated Node #0,0: 18:[99, 20, 16] Operation: 63-47=16 Exploring Operation: 99-63=36, Resulting Numbers: [47, 20, 36] Generated Node #0,1: 18:[47, 20, 36] Operation: 99-63=36 Exploring Operation: 99-47=52, Resulting Numbers: [63, 20, 52] Generated Node #0,2: 18:[63, 20, 52] Operation: 99-47=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[47, 20, 36], Operations: ['99-63=36'] Exploring Operation: 47-20=27, Resulting Numbers: [36, 27] Generated Node #0,1,0: 18:[36, 27] Operation: 47-20=27 Exploring Operation: 36-20=16, Resulting Numbers: [47, 16] Generated Node #0,1,1: 18:[47, 16] Operation: 36-20=16 Exploring Operation: 47-36=11, Resulting Numbers: [20, 11] Generated Node #0,1,2: 18:[20, 11] Operation: 47-36=11 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 18:[20, 11], Operations: ['99-63=36', '47-36=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,18 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 18:[36, 27], Operations: ['99-63=36', '47-20=27'] Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,18 unequal: No Solution Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 18:[47, 16], Operations: ['99-63=36', '36-20=16'] Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,18 unequal: No Solution Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[63, 20, 52], Operations: ['99-47=52'] Exploring Operation: 63-20=43, Resulting Numbers: [52, 43] Generated Node #0,2,0: 18:[52, 43] Operation: 63-20=43 Exploring Operation: 52-20=32, Resulting Numbers: [63, 32] Generated Node #0,2,1: 18:[63, 32] Operation: 52-20=32 Exploring Operation: 63-52=11, Resulting Numbers: [20, 11] Generated Node #0,2,2: 18:[20, 11] Operation: 63-52=11 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 18:[20, 11], Operations: ['99-47=52', '63-52=11'] Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,18 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 18:[52, 43], Operations: ['99-47=52', '63-20=43'] Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 52*43=2236, Resulting Numbers: [2236] 2236,18 unequal: No Solution Exploring Operation: 52+43=95, Resulting Numbers: [95] 95,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 18:[63, 32], Operations: ['99-47=52', '52-20=32'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 63*32=2016, Resulting Numbers: [2016] 2016,18 unequal: No Solution Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[99, 20, 16], Operations: ['63-47=16'] Exploring Operation: 99-16=83, Resulting Numbers: [20, 83] Generated Node #0,0,0: 18:[20, 83] Operation: 99-16=83 Exploring Operation: 99-20=79, Resulting Numbers: [16, 79] Generated Node #0,0,1: 18:[16, 79] Operation: 99-20=79 Exploring Operation: 20-16=4, Resulting Numbers: [99, 4] Generated Node #0,0,2: 18:[99, 4] Operation: 20-16=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 18:[16, 79], Operations: ['63-47=16', '99-20=79'] Exploring Operation: 16*79=1264, Resulting Numbers: [1264] 1264,18 unequal: No Solution Exploring Operation: 16+79=95, Resulting Numbers: [95] 95,18 unequal: No Solution Exploring Operation: 79-16=63, Resulting Numbers: [63] 63,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[20, 83], Operations: ['63-47=16', '99-16=83'] Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,18 unequal: No Solution Exploring Operation: 20*83=1660, Resulting Numbers: [1660] 1660,18 unequal: No Solution Exploring Operation: 20+83=103, Resulting Numbers: [103] 103,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 18:[99, 4], Operations: ['63-47=16', '20-16=4'] Exploring Operation: 99+4=103, Resulting Numbers: [103] 103,18 unequal: No Solution Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,18 unequal: No Solution Exploring Operation: 99*4=396, Resulting Numbers: [396] 396,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 79, 67, 39, 65 ]
59
[ "79+39=118", "67-65=2", "118/2=59" ]
Current State: 59:[79, 67, 39, 65], Operations: [] Exploring Operation: 79+39=118, Resulting Numbers: [67, 65, 118] Generated Node #2: [67, 65, 118] from Operation: 79+39=118 Current State: 59:[67, 65, 118], Operations: ['79+39=118'] Exploring Operation: 67-65=2, Resulting Numbers: [118, 2] Generated Node #3: [118, 2] from Operation: 67-65=2 Current State: 59:[118, 2], Operations: ['79+39=118', '67-65=2'] Exploring Operation: 118/2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[79, 67, 39, 65], Operations: [] Exploring Operation: 65-39=26, Resulting Numbers: [79, 67, 26] Generated Node #0,0: 59:[79, 67, 26] Operation: 65-39=26 Exploring Operation: 67-39=28, Resulting Numbers: [79, 65, 28] Generated Node #0,1: 59:[79, 65, 28] Operation: 67-39=28 Exploring Operation: 79-67=12, Resulting Numbers: [39, 65, 12] Generated Node #0,2: 59:[39, 65, 12] Operation: 79-67=12 Exploring Operation: 79-39=40, Resulting Numbers: [67, 65, 40] Generated Node #0,3: 59:[67, 65, 40] Operation: 79-39=40 Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[67, 65, 40], Operations: ['79-39=40'] Exploring Operation: 67+40=107, Resulting Numbers: [65, 107] Generated Node #0,3,0: 59:[65, 107] Operation: 67+40=107 Exploring Operation: 65-40=25, Resulting Numbers: [67, 25] Generated Node #0,3,1: 59:[67, 25] Operation: 65-40=25 Exploring Operation: 67-40=27, Resulting Numbers: [65, 27] Generated Node #0,3,2: 59:[65, 27] Operation: 67-40=27 Exploring Operation: 65+40=105, Resulting Numbers: [67, 105] Generated Node #0,3,3: 59:[67, 105] Operation: 65+40=105 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 59:[65, 27], Operations: ['79-39=40', '67-40=27'] Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 65*27=1755, Resulting Numbers: [1755] 1755,59 unequal: No Solution Exploring Operation: 65+27=92, Resulting Numbers: [92] 92,59 unequal: No Solution No 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: 59:[67, 25], Operations: ['79-39=40', '65-40=25'] Exploring Operation: 67*25=1675, Resulting Numbers: [1675] 1675,59 unequal: No Solution Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 67+25=92, Resulting Numbers: [92] 92,59 unequal: No Solution No 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: 59:[65, 107], Operations: ['79-39=40', '67+40=107'] Exploring Operation: 65+107=172, Resulting Numbers: [172] 172,59 unequal: No Solution Exploring Operation: 107-65=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 65*107=6955, Resulting Numbers: [6955] 6955,59 unequal: No Solution No 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: 59:[67, 105], Operations: ['79-39=40', '65+40=105'] Exploring Operation: 67+105=172, Resulting Numbers: [172] 172,59 unequal: No Solution Exploring Operation: 105-67=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 67*105=7035, Resulting Numbers: [7035] 7035,59 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: 59:[79, 65, 28], Operations: ['67-39=28'] Exploring Operation: 79-28=51, Resulting Numbers: [65, 51] Generated Node #0,1,0: 59:[65, 51] Operation: 79-28=51 Exploring Operation: 65-28=37, Resulting Numbers: [79, 37] Generated Node #0,1,1: 59:[79, 37] Operation: 65-28=37 Exploring Operation: 65+28=93, Resulting Numbers: [79, 93] Generated Node #0,1,2: 59:[79, 93] Operation: 65+28=93 Exploring Operation: 79+28=107, Resulting Numbers: [65, 107] Generated Node #0,1,3: 59:[65, 107] Operation: 79+28=107 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[65, 51], Operations: ['67-39=28', '79-28=51'] Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 65*51=3315, Resulting Numbers: [3315] 3315,59 unequal: No Solution Exploring Operation: 65+51=116, Resulting Numbers: [116] 116,59 unequal: No Solution No 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: 59:[79, 37], Operations: ['67-39=28', '65-28=37'] Exploring Operation: 79+37=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 79*37=2923, Resulting Numbers: [2923] 2923,59 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,59 unequal: No Solution No 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: 59:[79, 93], Operations: ['67-39=28', '65+28=93'] Exploring Operation: 79*93=7347, Resulting Numbers: [7347] 7347,59 unequal: No Solution Exploring Operation: 79+93=172, Resulting Numbers: [172] 172,59 unequal: No Solution Exploring Operation: 93-79=14, Resulting Numbers: [14] 14,59 unequal: No Solution No 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: 59:[65, 107], Operations: ['67-39=28', '79+28=107'] Exploring Operation: 107-65=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 65*107=6955, Resulting Numbers: [6955] 6955,59 unequal: No Solution Exploring Operation: 65+107=172, Resulting Numbers: [172] 172,59 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: 59:[79, 67, 26], Operations: ['65-39=26'] Exploring Operation: 79-26=53, Resulting Numbers: [67, 53] Generated Node #0,0,0: 59:[67, 53] Operation: 79-26=53 Exploring Operation: 79+26=105, Resulting Numbers: [67, 105] Generated Node #0,0,1: 59:[67, 105] Operation: 79+26=105 Exploring Operation: 67+26=93, Resulting Numbers: [79, 93] Generated Node #0,0,2: 59:[79, 93] Operation: 67+26=93 Exploring Operation: 67-26=41, Resulting Numbers: [79, 41] Generated Node #0,0,3: 59:[79, 41] Operation: 67-26=41 Moving to Node #0,0,0 Current State: 59:[67, 53], Operations: ['65-39=26', '79-26=53'] Exploring Operation: 67*53=3551, Resulting Numbers: [3551] 3551,59 unequal: No Solution Exploring Operation: 67+53=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[79, 41], Operations: ['65-39=26', '67-26=41'] Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 79*41=3239, Resulting Numbers: [3239] 3239,59 unequal: No Solution Exploring Operation: 79+41=120, Resulting Numbers: [120] 120,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[79, 93], Operations: ['65-39=26', '67+26=93'] Exploring Operation: 79+93=172, Resulting Numbers: [172] 172,59 unequal: No Solution Exploring Operation: 93-79=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 79*93=7347, Resulting Numbers: [7347] 7347,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[67, 105], Operations: ['65-39=26', '79+26=105'] Exploring Operation: 105-67=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 67*105=7035, Resulting Numbers: [7035] 7035,59 unequal: No Solution Exploring Operation: 67+105=172, Resulting Numbers: [172] 172,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,2 Current State: 59:[39, 65, 12], Operations: ['79-67=12'] Exploring Operation: 39+12=51, Resulting Numbers: [65, 51] Generated Node #0,2,0: 59:[65, 51] Operation: 39+12=51 Exploring Operation: 65+12=77, Resulting Numbers: [39, 77] Generated Node #0,2,1: 59:[39, 77] Operation: 65+12=77 Exploring Operation: 39-12=27, Resulting Numbers: [65, 27] Generated Node #0,2,2: 59:[65, 27] Operation: 39-12=27 Exploring Operation: 65-12=53, Resulting Numbers: [39, 53] Generated Node #0,2,3: 59:[39, 53] Operation: 65-12=53 Moving to Node #0,2,0 Current State: 59:[65, 51], Operations: ['79-67=12', '39+12=51'] Exploring Operation: 65*51=3315, Resulting Numbers: [3315] 3315,59 unequal: No Solution Exploring Operation: 65+51=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[39, 53], Operations: ['79-67=12', '65-12=53'] Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,59 unequal: No Solution Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[65, 27], Operations: ['79-67=12', '39-12=27'] Exploring Operation: 65+27=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 65*27=1755, Resulting Numbers: [1755] 1755,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[39, 77], Operations: ['79-67=12', '65+12=77'] Exploring Operation: 39+77=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 39*77=3003, Resulting Numbers: [3003] 3003,59 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
[ 9, 86, 41, 27 ]
91
[ "86-9=77", "41-27=14", "77+14=91" ]
Current State: 91:[9, 86, 41, 27], Operations: [] Exploring Operation: 86-9=77, Resulting Numbers: [41, 27, 77] Generated Node #2: [41, 27, 77] from Operation: 86-9=77 Current State: 91:[41, 27, 77], Operations: ['86-9=77'] Exploring Operation: 41-27=14, Resulting Numbers: [77, 14] Generated Node #3: [77, 14] from Operation: 41-27=14 Current State: 91:[77, 14], Operations: ['86-9=77', '41-27=14'] Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[9, 86, 41, 27], Operations: [] Exploring Operation: 41+27=68, Resulting Numbers: [9, 86, 68] Generated Node #0,0: 91:[9, 86, 68] Operation: 41+27=68 Exploring Operation: 41-27=14, Resulting Numbers: [9, 86, 14] Generated Node #0,1: 91:[9, 86, 14] Operation: 41-27=14 Exploring Operation: 27/9=3, Resulting Numbers: [86, 41, 3] Generated Node #0,2: 91:[86, 41, 3] Operation: 27/9=3 Moving to Node #0,1 Current State: 91:[9, 86, 14], Operations: ['41-27=14'] Exploring Operation: 14-9=5, Resulting Numbers: [86, 5] Generated Node #0,1,0: 91:[86, 5] Operation: 14-9=5 Exploring Operation: 9+86=95, Resulting Numbers: [14, 95] Generated Node #0,1,1: 91:[14, 95] Operation: 9+86=95 Exploring Operation: 86+14=100, Resulting Numbers: [9, 100] Generated Node #0,1,2: 91:[9, 100] Operation: 86+14=100 Moving to Node #0,0 Current State: 91:[9, 86, 68], Operations: ['41+27=68'] Exploring Operation: 86-68=18, Resulting Numbers: [9, 18] Generated Node #0,0,0: 91:[9, 18] Operation: 86-68=18 Exploring Operation: 9+68=77, Resulting Numbers: [86, 77] Generated Node #0,0,1: 91:[86, 77] Operation: 9+68=77 Exploring Operation: 9+86=95, Resulting Numbers: [68, 95] Generated Node #0,0,2: 91:[68, 95] Operation: 9+86=95 Moving to Node #0,2 Current State: 91:[86, 41, 3], Operations: ['27/9=3'] Exploring Operation: 86+3=89, Resulting Numbers: [41, 89] Generated Node #0,2,0: 91:[41, 89] Operation: 86+3=89 Exploring Operation: 86-41=45, Resulting Numbers: [3, 45] Generated Node #0,2,1: 91:[3, 45] Operation: 86-41=45 Exploring Operation: 41-3=38, Resulting Numbers: [86, 38] Generated Node #0,2,2: 91:[86, 38] Operation: 41-3=38 Moving to Node #0,1,1 Current State: 91:[14, 95], Operations: ['41-27=14', '9+86=95'] Exploring Operation: 14*95=1330, Resulting Numbers: [1330] 1330,91 unequal: No Solution Exploring Operation: 14+95=109, Resulting Numbers: [109] 109,91 unequal: No Solution Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[86, 5], Operations: ['41-27=14', '14-9=5'] Exploring Operation: 86*5=430, Resulting Numbers: [430] 430,91 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,91 unequal: No Solution Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[9, 86, 41, 27], Operations: [] Exploring Operation: 41-27=14, Resulting Numbers: [9, 86, 14] Generated Node #0,1: 91:[9, 86, 14] Operation: 41-27=14 Moving to Node #0,1 Current State: 91:[9, 86, 14], Operations: ['41-27=14'] Exploring Operation: 14-9=5, Resulting Numbers: [86, 5] Generated Node #0,1,0: 91:[86, 5] Operation: 14-9=5 Moving to Node #0,1,0 Current State: 91:[86, 5], Operations: ['41-27=14', '14-9=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.980903
hs_3
mult_heuristic
[ 46, 2, 8, 40 ]
44
[ "46*2=92", "8+40=48", "92-48=44" ]
Current State: 44:[46, 2, 8, 40], Operations: [] Exploring Operation: 46*2=92, Resulting Numbers: [8, 40, 92] Generated Node #2: [8, 40, 92] from Operation: 46*2=92 Current State: 44:[8, 40, 92], Operations: ['46*2=92'] Exploring Operation: 8+40=48, Resulting Numbers: [92, 48] Generated Node #3: [92, 48] from Operation: 8+40=48 Current State: 44:[92, 48], Operations: ['46*2=92', '8+40=48'] Exploring Operation: 92-48=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[46, 2, 8, 40], Operations: [] Exploring Operation: 8+40=48, Resulting Numbers: [46, 2, 48] Generated Node #0,0: 44:[46, 2, 48] Operation: 8+40=48 Exploring Operation: 8/2=4, Resulting Numbers: [46, 40, 4] Generated Node #0,1: 44:[46, 40, 4] Operation: 8/2=4 Exploring Operation: 46-40=6, Resulting Numbers: [2, 8, 6] Generated Node #0,2: 44:[2, 8, 6] Operation: 46-40=6 Exploring Operation: 40/8=5, Resulting Numbers: [46, 2, 5] Generated Node #0,3: 44:[46, 2, 5] Operation: 40/8=5 Exploring Operation: 46-2=44, Resulting Numbers: [8, 40, 44] Generated Node #0,4: 44:[8, 40, 44] Operation: 46-2=44 Moving to Node #0,3 Current State: 44:[46, 2, 5], Operations: ['40/8=5'] Exploring Operation: 2*5=10, Resulting Numbers: [46, 10] Generated Node #0,3,0: 44:[46, 10] Operation: 2*5=10 Exploring Operation: 46/2=23, Resulting Numbers: [5, 23] Generated Node #0,3,1: 44:[5, 23] Operation: 46/2=23 Exploring Operation: 46-5=41, Resulting Numbers: [2, 41] Generated Node #0,3,2: 44:[2, 41] Operation: 46-5=41 Exploring Operation: 5-2=3, Resulting Numbers: [46, 3] Generated Node #0,3,3: 44:[46, 3] Operation: 5-2=3 Exploring Operation: 46-2=44, Resulting Numbers: [5, 44] Generated Node #0,3,4: 44:[5, 44] Operation: 46-2=44 Moving to Node #0,2 Current State: 44:[2, 8, 6], Operations: ['46-40=6'] Exploring Operation: 8+6=14, Resulting Numbers: [2, 14] Generated Node #0,2,0: 44:[2, 14] Operation: 8+6=14 Exploring Operation: 8-6=2, Resulting Numbers: [2, 2] Generated Node #0,2,1: 44:[2, 2] Operation: 8-6=2 Exploring Operation: 2+8=10, Resulting Numbers: [6, 10] Generated Node #0,2,2: 44:[6, 10] Operation: 2+8=10 Exploring Operation: 8/2=4, Resulting Numbers: [6, 4] Generated Node #0,2,3: 44:[6, 4] Operation: 8/2=4 Exploring Operation: 6-2=4, Resulting Numbers: [8, 4] Generated Node #0,2,4: 44:[8, 4] Operation: 6-2=4 Moving to Node #0,0 Current State: 44:[46, 2, 48], Operations: ['8+40=48'] Exploring Operation: 48-46=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 44:[2, 2] Operation: 48-46=2 Exploring Operation: 48-2=46, Resulting Numbers: [46, 46] Generated Node #0,0,1: 44:[46, 46] Operation: 48-2=46 Exploring Operation: 46-2=44, Resulting Numbers: [48, 44] Generated Node #0,0,2: 44:[48, 44] Operation: 46-2=44 Exploring Operation: 48/2=24, Resulting Numbers: [46, 24] Generated Node #0,0,3: 44:[46, 24] Operation: 48/2=24 Exploring Operation: 46/2=23, Resulting Numbers: [48, 23] Generated Node #0,0,4: 44:[48, 23] Operation: 46/2=23 Moving to Node #0,1 Current State: 44:[46, 40, 4], Operations: ['8/2=4'] Exploring Operation: 40+4=44, Resulting Numbers: [46, 44] Generated Node #0,1,0: 44:[46, 44] Operation: 40+4=44 Exploring Operation: 46+4=50, Resulting Numbers: [40, 50] Generated Node #0,1,1: 44:[40, 50] Operation: 46+4=50 Exploring Operation: 46-4=42, Resulting Numbers: [40, 42] Generated Node #0,1,2: 44:[40, 42] Operation: 46-4=42 Exploring Operation: 46-40=6, Resulting Numbers: [4, 6] Generated Node #0,1,3: 44:[4, 6] Operation: 46-40=6 Exploring Operation: 40/4=10, Resulting Numbers: [46, 10] Generated Node #0,1,4: 44:[46, 10] Operation: 40/4=10 Moving to Node #0,4 Current State: 44:[8, 40, 44], Operations: ['46-2=44'] Exploring Operation: 8+40=48, Resulting Numbers: [44, 48] Generated Node #0,4,0: 44:[44, 48] Operation: 8+40=48 Exploring Operation: 44-40=4, Resulting Numbers: [8, 4] Generated Node #0,4,1: 44:[8, 4] Operation: 44-40=4 Exploring Operation: 40-8=32, Resulting Numbers: [44, 32] Generated Node #0,4,2: 44:[44, 32] Operation: 40-8=32 Exploring Operation: 8+44=52, Resulting Numbers: [40, 52] Generated Node #0,4,3: 44:[40, 52] Operation: 8+44=52 Exploring Operation: 40/8=5, Resulting Numbers: [44, 5] Generated Node #0,4,4: 44:[44, 5] Operation: 40/8=5 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 44:[44, 5], Operations: ['46-2=44', '40/8=5'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,44 unequal: No Solution Exploring Operation: 44*5=220, Resulting Numbers: [220] 220,44 unequal: No Solution Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,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,4,1 Current State: 44:[8, 4], Operations: ['46-2=44', '44-40=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,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,4,0 Current State: 44:[44, 48], Operations: ['46-2=44', '8+40=48'] Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 44+48=92, Resulting Numbers: [92] 92,44 unequal: No Solution Exploring Operation: 44*48=2112, Resulting Numbers: [2112] 2112,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,4,2 Current State: 44:[44, 32], Operations: ['46-2=44', '40-8=32'] Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 44+32=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 44*32=1408, Resulting Numbers: [1408] 1408,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,4,3 Current State: 44:[40, 52], Operations: ['46-2=44', '8+44=52'] Exploring Operation: 40*52=2080, Resulting Numbers: [2080] 2080,44 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 40+52=92, Resulting Numbers: [92] 92,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 44:[2, 2], Operations: ['46-40=6', '8-6=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,44 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[2, 2], Operations: ['8+40=48', '48-46=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,44 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,44 unequal: No Solution Moving to Node #0,3,4 Current State: 44:[5, 44], Operations: ['40/8=5', '46-2=44'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,44 unequal: No Solution Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,44 unequal: No Solution Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[6, 4], Operations: ['46-40=6', '8/2=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[5, 23], Operations: ['40/8=5', '46/2=23'] Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,44 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[46, 44], Operations: ['8/2=4', '40+4=44'] Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 46+44=90, Resulting Numbers: [90] 90,44 unequal: No Solution Exploring Operation: 46*44=2024, Resulting Numbers: [2024] 2024,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[4, 6], Operations: ['8/2=4', '46-40=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[46, 10], Operations: ['40/8=5', '2*5=10'] Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 46+10=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 46*10=460, Resulting Numbers: [460] 460,44 unequal: No Solution Moving to Node #0,1,4 Current State: 44:[46, 10], Operations: ['8/2=4', '40/4=10'] Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 46+10=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 46*10=460, Resulting Numbers: [460] 460,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[46, 3], Operations: ['40/8=5', '5-2=3'] Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,44 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,44 unequal: No Solution Moving to Node #0,2,4 Current State: 44:[8, 4], Operations: ['46-40=6', '6-2=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[6, 10], Operations: ['46-40=6', '2+8=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[2, 41], Operations: ['40/8=5', '46-5=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,44 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[2, 14], Operations: ['46-40=6', '8+6=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,44 unequal: No Solution 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 Moving to Node #0,0,3 Current State: 44:[46, 24], Operations: ['8+40=48', '48/2=24'] Exploring Operation: 46*24=1104, Resulting Numbers: [1104] 1104,44 unequal: No Solution Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,44 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[48, 44], Operations: ['8+40=48', '46-2=44'] Exploring Operation: 48*44=2112, Resulting Numbers: [2112] 2112,44 unequal: No Solution Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,44 unequal: No Solution Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[46, 46], Operations: ['8+40=48', '48-2=46'] Exploring Operation: 46*46=2116, Resulting Numbers: [2116] 2116,44 unequal: No Solution Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,44 unequal: No Solution Exploring Operation: 46-46=0, Resulting Numbers: [0] 0,44 unequal: No Solution Moving to Node #0,0,4 Current State: 44:[48, 23], Operations: ['8+40=48', '46/2=23'] Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,44 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,44 unequal: No Solution Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[40, 42], Operations: ['8/2=4', '46-4=42'] Exploring Operation: 40*42=1680, Resulting Numbers: [1680] 1680,44 unequal: No Solution Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,44 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[40, 50], Operations: ['8/2=4', '46+4=50'] Exploring Operation: 40*50=2000, Resulting Numbers: [2000] 2000,44 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 40+50=90, Resulting Numbers: [90] 90,44 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 51, 14, 13, 55 ]
76
[ "51+55=106", "14*13=182", "182-106=76" ]
Current State: 76:[51, 14, 13, 55], Operations: [] Exploring Operation: 51+55=106, Resulting Numbers: [14, 13, 106] Generated Node #2: [14, 13, 106] from Operation: 51+55=106 Current State: 76:[14, 13, 106], Operations: ['51+55=106'] Exploring Operation: 14*13=182, Resulting Numbers: [106, 182] Generated Node #3: [106, 182] from Operation: 14*13=182 Current State: 76:[106, 182], Operations: ['51+55=106', '14*13=182'] Exploring Operation: 182-106=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[51, 14, 13, 55], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [14, 13, 4] Generated Node #0,0: 76:[14, 13, 4] Operation: 55-51=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[14, 13, 4], Operations: ['55-51=4'] Exploring Operation: 14-13=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 76:[4, 1] Operation: 14-13=1 Moving to Node #0,0,0 Current State: 76:[4, 1], Operations: ['55-51=4', '14-13=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 56, 14, 12, 33 ]
63
[ "56-14=42", "33-12=21", "42+21=63" ]
Current State: 63:[56, 14, 12, 33], Operations: [] Exploring Operation: 56-14=42, Resulting Numbers: [12, 33, 42] Generated Node #2: [12, 33, 42] from Operation: 56-14=42 Current State: 63:[12, 33, 42], Operations: ['56-14=42'] Exploring Operation: 33-12=21, Resulting Numbers: [42, 21] Generated Node #3: [42, 21] from Operation: 33-12=21 Current State: 63:[42, 21], Operations: ['56-14=42', '33-12=21'] Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[56, 14, 12, 33], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [12, 33, 4] Generated Node #0,0: 63:[12, 33, 4] Operation: 56/14=4 Exploring Operation: 33-14=19, Resulting Numbers: [56, 12, 19] Generated Node #0,1: 63:[56, 12, 19] Operation: 33-14=19 Exploring Operation: 56-33=23, Resulting Numbers: [14, 12, 23] Generated Node #0,2: 63:[14, 12, 23] Operation: 56-33=23 Exploring Operation: 33-12=21, Resulting Numbers: [56, 14, 21] Generated Node #0,3: 63:[56, 14, 21] Operation: 33-12=21 Moving to Node #0,2 Current State: 63:[14, 12, 23], Operations: ['56-33=23'] Exploring Operation: 14-12=2, Resulting Numbers: [23, 2] Generated Node #0,2,0: 63:[23, 2] Operation: 14-12=2 Exploring Operation: 14+12=26, Resulting Numbers: [23, 26] Generated Node #0,2,1: 63:[23, 26] Operation: 14+12=26 Exploring Operation: 23-14=9, Resulting Numbers: [12, 9] Generated Node #0,2,2: 63:[12, 9] Operation: 23-14=9 Exploring Operation: 23-12=11, Resulting Numbers: [14, 11] Generated Node #0,2,3: 63:[14, 11] Operation: 23-12=11 Moving to Node #0,3 Current State: 63:[56, 14, 21], Operations: ['33-12=21'] Exploring Operation: 56+14=70, Resulting Numbers: [21, 70] Generated Node #0,3,0: 63:[21, 70] Operation: 56+14=70 Exploring Operation: 21-14=7, Resulting Numbers: [56, 7] Generated Node #0,3,1: 63:[56, 7] Operation: 21-14=7 Exploring Operation: 56+21=77, Resulting Numbers: [14, 77] Generated Node #0,3,2: 63:[14, 77] Operation: 56+21=77 Exploring Operation: 56/14=4, Resulting Numbers: [21, 4] Generated Node #0,3,3: 63:[21, 4] Operation: 56/14=4 Moving to Node #0,1 Current State: 63:[56, 12, 19], Operations: ['33-14=19'] Exploring Operation: 19-12=7, Resulting Numbers: [56, 7] Generated Node #0,1,0: 63:[56, 7] Operation: 19-12=7 Exploring Operation: 56+19=75, Resulting Numbers: [12, 75] Generated Node #0,1,1: 63:[12, 75] Operation: 56+19=75 Exploring Operation: 56+12=68, Resulting Numbers: [19, 68] Generated Node #0,1,2: 63:[19, 68] Operation: 56+12=68 Exploring Operation: 12+19=31, Resulting Numbers: [56, 31] Generated Node #0,1,3: 63:[56, 31] Operation: 12+19=31 Moving to Node #0,0 Current State: 63:[12, 33, 4], Operations: ['56/14=4'] Exploring Operation: 33-4=29, Resulting Numbers: [12, 29] Generated Node #0,0,0: 63:[12, 29] Operation: 33-4=29 Exploring Operation: 33-12=21, Resulting Numbers: [4, 21] Generated Node #0,0,1: 63:[4, 21] Operation: 33-12=21 Exploring Operation: 12/4=3, Resulting Numbers: [33, 3] Generated Node #0,0,2: 63:[33, 3] Operation: 12/4=3 Exploring Operation: 12-4=8, Resulting Numbers: [33, 8] Generated Node #0,0,3: 63:[33, 8] Operation: 12-4=8 Moving to Node #0,3,3 Current State: 63:[21, 4], Operations: ['33-12=21', '56/14=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[4, 21], Operations: ['56/14=4', '33-12=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[23, 2], Operations: ['56-33=23', '14-12=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[12, 9], Operations: ['56-33=23', '23-14=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[56, 7], Operations: ['33-12=21', '21-14=7'] Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[56, 14, 12, 33], Operations: [] Exploring Operation: 33-12=21, Resulting Numbers: [56, 14, 21] Generated Node #0,3: 63:[56, 14, 21] Operation: 33-12=21 Moving to Node #0,3 Current State: 63:[56, 14, 21], Operations: ['33-12=21'] Exploring Operation: 21-14=7, Resulting Numbers: [56, 7] Generated Node #0,3,1: 63:[56, 7] Operation: 21-14=7 Moving to Node #0,3,1 Current State: 63:[56, 7], Operations: ['33-12=21', '21-14=7'] Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
0.967882
hs_4
sum_heuristic
[ 33, 66, 42, 75 ]
67
[ "33+42=75", "75/75=1", "66+1=67" ]
Current State: 67:[33, 66, 42, 75], Operations: [] Exploring Operation: 33+42=75, Resulting Numbers: [66, 75, 75] Generated Node #2: [66, 75, 75] from Operation: 33+42=75 Current State: 67:[66, 75, 75], Operations: ['33+42=75'] Exploring Operation: 75/75=1, Resulting Numbers: [66, 1] Generated Node #3: [66, 1] from Operation: 75/75=1 Current State: 67:[66, 1], Operations: ['33+42=75', '75/75=1'] Exploring Operation: 66+1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[33, 66, 42, 75], Operations: [] Exploring Operation: 33+42=75, Resulting Numbers: [66, 75, 75] Generated Node #0,0: 67:[66, 75, 75] Operation: 33+42=75 Exploring Operation: 75-33=42, Resulting Numbers: [66, 42, 42] Generated Node #0,1: 67:[66, 42, 42] Operation: 75-33=42 Moving to Node #0,0 Current State: 67:[66, 75, 75], Operations: ['33+42=75'] Exploring Operation: 75-66=9, Resulting Numbers: [75, 9] Generated Node #0,0,0: 67:[75, 9] Operation: 75-66=9 Exploring Operation: 75-66=9, Resulting Numbers: [75, 9] Generated Node #0,0,1: 67:[75, 9] Operation: 75-66=9 Moving to Node #0,1 Current State: 67:[66, 42, 42], Operations: ['75-33=42'] Exploring Operation: 66+42=108, Resulting Numbers: [42, 108] Generated Node #0,1,0: 67:[42, 108] Operation: 66+42=108 Exploring Operation: 42+42=84, Resulting Numbers: [66, 84] Generated Node #0,1,1: 67:[66, 84] Operation: 42+42=84 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[66, 84], Operations: ['75-33=42', '42+42=84'] Exploring Operation: 66+84=150, Resulting Numbers: [150] 150,67 unequal: No Solution Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[42, 108], Operations: ['75-33=42', '66+42=108'] Exploring Operation: 42+108=150, Resulting Numbers: [150] 150,67 unequal: No Solution Exploring Operation: 108-42=66, Resulting Numbers: [66] 66,67 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: 67:[75, 9], Operations: ['33+42=75', '75-66=9'] Exploring Operation: 75+9=84, Resulting Numbers: [84] 84,67 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[75, 9], Operations: ['33+42=75', '75-66=9'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 75+9=84, Resulting Numbers: [84] 84,67 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 84, 6, 30, 14 ]
84
[ "84*6=504", "30*14=420", "504-420=84" ]
Current State: 84:[84, 6, 30, 14], Operations: [] Exploring Operation: 84*6=504, Resulting Numbers: [30, 14, 504] Generated Node #2: [30, 14, 504] from Operation: 84*6=504 Current State: 84:[30, 14, 504], Operations: ['84*6=504'] Exploring Operation: 30*14=420, Resulting Numbers: [504, 420] Generated Node #3: [504, 420] from Operation: 30*14=420 Current State: 84:[504, 420], Operations: ['84*6=504', '30*14=420'] Exploring Operation: 504-420=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[84, 6, 30, 14], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [6, 30, 6] Generated Node #0,0: 84:[6, 30, 6] Operation: 84/14=6 Exploring Operation: 84/6=14, Resulting Numbers: [30, 14, 14] Generated Node #0,1: 84:[30, 14, 14] Operation: 84/6=14 Exploring Operation: 30/6=5, Resulting Numbers: [84, 14, 5] Generated Node #0,2: 84:[84, 14, 5] Operation: 30/6=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[84, 14, 5], Operations: ['30/6=5'] Exploring Operation: 14+5=19, Resulting Numbers: [84, 19] Generated Node #0,2,0: 84:[84, 19] Operation: 14+5=19 Exploring Operation: 14-5=9, Resulting Numbers: [84, 9] Generated Node #0,2,1: 84:[84, 9] Operation: 14-5=9 Exploring Operation: 84/14=6, Resulting Numbers: [5, 6] Generated Node #0,2,2: 84:[5, 6] Operation: 84/14=6 Moving to Node #0,2,2 Current State: 84:[5, 6], Operations: ['30/6=5', '84/14=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[84, 19], Operations: ['30/6=5', '14+5=19'] Exploring Operation: 84*19=1596, Resulting Numbers: [1596] 1596,84 unequal: No Solution Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,84 unequal: No Solution Exploring Operation: 84+19=103, Resulting Numbers: [103] 103,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[84, 9], Operations: ['30/6=5', '14-5=9'] Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,84 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[6, 30, 6], Operations: ['84/14=6'] Exploring Operation: 6+6=12, Resulting Numbers: [30, 12] Generated Node #0,0,0: 84:[30, 12] Operation: 6+6=12 Exploring Operation: 30/6=5, Resulting Numbers: [6, 5] Generated Node #0,0,1: 84:[6, 5] Operation: 30/6=5 Exploring Operation: 30/6=5, Resulting Numbers: [6, 5] Generated Node #0,0,2: 84:[6, 5] Operation: 30/6=5 Moving to Node #0,0,1 Current State: 84:[6, 5], Operations: ['84/14=6', '30/6=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[6, 5], Operations: ['84/14=6', '30/6=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[30, 12], Operations: ['84/14=6', '6+6=12'] Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,84 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[30, 14, 14], Operations: ['84/6=14'] Exploring Operation: 30+14=44, Resulting Numbers: [14, 44] Generated Node #0,1,0: 84:[14, 44] Operation: 30+14=44 Exploring Operation: 30-14=16, Resulting Numbers: [14, 16] Generated Node #0,1,1: 84:[14, 16] Operation: 30-14=16 Exploring Operation: 30+14=44, Resulting Numbers: [14, 44] Generated Node #0,1,2: 84:[14, 44] Operation: 30+14=44 Moving to Node #0,1,0 Current State: 84:[14, 44], Operations: ['84/6=14', '30+14=44'] Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,84 unequal: No Solution Exploring Operation: 14*44=616, Resulting Numbers: [616] 616,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[14, 16], Operations: ['84/6=14', '30-14=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,84 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[14, 44], Operations: ['84/6=14', '30+14=44'] Exploring Operation: 14*44=616, Resulting Numbers: [616] 616,84 unequal: No Solution Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,84 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,84 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
[ 41, 84, 20, 52 ]
53
[ "41+84=125", "20+52=72", "125-72=53" ]
Current State: 53:[41, 84, 20, 52], Operations: [] Exploring Operation: 41+84=125, Resulting Numbers: [20, 52, 125] Generated Node #2: [20, 52, 125] from Operation: 41+84=125 Current State: 53:[20, 52, 125], Operations: ['41+84=125'] Exploring Operation: 20+52=72, Resulting Numbers: [125, 72] Generated Node #3: [125, 72] from Operation: 20+52=72 Current State: 53:[125, 72], Operations: ['41+84=125', '20+52=72'] Exploring Operation: 125-72=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[41, 84, 20, 52], Operations: [] Exploring Operation: 41+20=61, Resulting Numbers: [84, 52, 61] Generated Node #0,0: 53:[84, 52, 61] Operation: 41+20=61 Exploring Operation: 84-20=64, Resulting Numbers: [41, 52, 64] Generated Node #0,1: 53:[41, 52, 64] Operation: 84-20=64 Exploring Operation: 20+52=72, Resulting Numbers: [41, 84, 72] Generated Node #0,2: 53:[41, 84, 72] Operation: 20+52=72 Exploring Operation: 41-20=21, Resulting Numbers: [84, 52, 21] Generated Node #0,3: 53:[84, 52, 21] Operation: 41-20=21 Exploring Operation: 84-41=43, Resulting Numbers: [20, 52, 43] Generated Node #0,4: 53:[20, 52, 43] Operation: 84-41=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[41, 52, 64], Operations: ['84-20=64'] Exploring Operation: 41+52=93, Resulting Numbers: [64, 93] Generated Node #0,1,0: 53:[64, 93] Operation: 41+52=93 Exploring Operation: 64-41=23, Resulting Numbers: [52, 23] Generated Node #0,1,1: 53:[52, 23] Operation: 64-41=23 Exploring Operation: 64-52=12, Resulting Numbers: [41, 12] Generated Node #0,1,2: 53:[41, 12] Operation: 64-52=12 Exploring Operation: 41+64=105, Resulting Numbers: [52, 105] Generated Node #0,1,3: 53:[52, 105] Operation: 41+64=105 Exploring Operation: 52-41=11, Resulting Numbers: [64, 11] Generated Node #0,1,4: 53:[64, 11] Operation: 52-41=11 Moving to Node #0,1,1 Current State: 53:[52, 23], Operations: ['84-20=64', '64-41=23'] Exploring Operation: 52+23=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 52*23=1196, Resulting Numbers: [1196] 1196,53 unequal: No Solution Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[64, 93], Operations: ['84-20=64', '41+52=93'] Exploring Operation: 64+93=157, Resulting Numbers: [157] 157,53 unequal: No Solution Exploring Operation: 93-64=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 64*93=5952, Resulting Numbers: [5952] 5952,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[41, 12], Operations: ['84-20=64', '64-52=12'] Exploring Operation: 41*12=492, Resulting Numbers: [492] 492,53 unequal: No Solution Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[41, 84, 20, 52], Operations: [] Exploring Operation: 84-20=64, Resulting Numbers: [41, 52, 64] Generated Node #0,1: 53:[41, 52, 64] Operation: 84-20=64 Moving to Node #0,1 Current State: 53:[41, 52, 64], Operations: ['84-20=64'] Exploring Operation: 64-52=12, Resulting Numbers: [41, 12] Generated Node #0,1,2: 53:[41, 12] Operation: 64-52=12 Moving to Node #0,1,2 Current State: 53:[41, 12], Operations: ['84-20=64', '64-52=12'] Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 26, 94, 50, 5 ]
78
[ "94-26=68", "50/5=10", "68+10=78" ]
Current State: 78:[26, 94, 50, 5], Operations: [] Exploring Operation: 94-26=68, Resulting Numbers: [50, 5, 68] Generated Node #2: [50, 5, 68] from Operation: 94-26=68 Current State: 78:[50, 5, 68], Operations: ['94-26=68'] Exploring Operation: 50/5=10, Resulting Numbers: [68, 10] Generated Node #3: [68, 10] from Operation: 50/5=10 Current State: 78:[68, 10], Operations: ['94-26=68', '50/5=10'] Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[26, 94, 50, 5], Operations: [] Exploring Operation: 94-50=44, Resulting Numbers: [26, 5, 44] Generated Node #0,0: 78:[26, 5, 44] Operation: 94-50=44 Exploring Operation: 26+50=76, Resulting Numbers: [94, 5, 76] Generated Node #0,1: 78:[94, 5, 76] Operation: 26+50=76 Moving to Node #0,0 Current State: 78:[26, 5, 44], Operations: ['94-50=44'] Exploring Operation: 44-26=18, Resulting Numbers: [5, 18] Generated Node #0,0,0: 78:[5, 18] Operation: 44-26=18 Exploring Operation: 44-5=39, Resulting Numbers: [26, 39] Generated Node #0,0,1: 78:[26, 39] Operation: 44-5=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[26, 39], Operations: ['94-50=44', '44-5=39'] Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[5, 18], Operations: ['94-50=44', '44-26=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,78 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: 78:[94, 5, 76], Operations: ['26+50=76'] Exploring Operation: 94-76=18, Resulting Numbers: [5, 18] Generated Node #0,1,0: 78:[5, 18] Operation: 94-76=18 Exploring Operation: 94-5=89, Resulting Numbers: [76, 89] Generated Node #0,1,1: 78:[76, 89] Operation: 94-5=89 Moving to Node #0,1,0 Current State: 78:[5, 18], Operations: ['26+50=76', '94-76=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,78 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[76, 89], Operations: ['26+50=76', '94-5=89'] Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 76+89=165, Resulting Numbers: [165] 165,78 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 2, 27, 4, 35 ]
31
[ "4-2=2", "27+35=62", "62/2=31" ]
Current State: 31:[2, 27, 4, 35], Operations: [] Exploring Operation: 4-2=2, Resulting Numbers: [27, 35, 2] Generated Node #2: [27, 35, 2] from Operation: 4-2=2 Current State: 31:[27, 35, 2], Operations: ['4-2=2'] Exploring Operation: 27+35=62, Resulting Numbers: [2, 62] Generated Node #3: [2, 62] from Operation: 27+35=62 Current State: 31:[2, 62], Operations: ['4-2=2', '27+35=62'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[2, 27, 4, 35], Operations: [] Exploring Operation: 2*4=8, Resulting Numbers: [27, 35, 8] Generated Node #0,0: 31:[27, 35, 8] Operation: 2*4=8 Moving to Node #0,0 Current State: 31:[27, 35, 8], Operations: ['2*4=8'] Exploring Operation: 27+8=35, Resulting Numbers: [35, 35] Generated Node #0,0,0: 31:[35, 35] Operation: 27+8=35 Moving to Node #0,0,0 Current State: 31:[35, 35], Operations: ['2*4=8', '27+8=35'] Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,31 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 60, 38, 69, 76 ]
29
[ "60-38=22", "76-69=7", "22+7=29" ]
Current State: 29:[60, 38, 69, 76], Operations: [] Exploring Operation: 60-38=22, Resulting Numbers: [69, 76, 22] Generated Node #2: [69, 76, 22] from Operation: 60-38=22 Current State: 29:[69, 76, 22], Operations: ['60-38=22'] Exploring Operation: 76-69=7, Resulting Numbers: [22, 7] Generated Node #3: [22, 7] from Operation: 76-69=7 Current State: 29:[22, 7], Operations: ['60-38=22', '76-69=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[60, 38, 69, 76], Operations: [] Exploring Operation: 76-69=7, Resulting Numbers: [60, 38, 7] Generated Node #0,0: 29:[60, 38, 7] Operation: 76-69=7 Exploring Operation: 76-60=16, Resulting Numbers: [38, 69, 16] Generated Node #0,1: 29:[38, 69, 16] Operation: 76-60=16 Exploring Operation: 69-38=31, Resulting Numbers: [60, 76, 31] Generated Node #0,2: 29:[60, 76, 31] Operation: 69-38=31 Exploring Operation: 69-60=9, Resulting Numbers: [38, 76, 9] Generated Node #0,3: 29:[38, 76, 9] Operation: 69-60=9 Moving to Node #0,0 Current State: 29:[60, 38, 7], Operations: ['76-69=7'] Exploring Operation: 38-7=31, Resulting Numbers: [60, 31] Generated Node #0,0,0: 29:[60, 31] Operation: 38-7=31 Exploring Operation: 60-7=53, Resulting Numbers: [38, 53] Generated Node #0,0,1: 29:[38, 53] Operation: 60-7=53 Exploring Operation: 60+7=67, Resulting Numbers: [38, 67] Generated Node #0,0,2: 29:[38, 67] Operation: 60+7=67 Exploring Operation: 60-38=22, Resulting Numbers: [7, 22] Generated Node #0,0,3: 29:[7, 22] Operation: 60-38=22 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 29:[7, 22], Operations: ['76-69=7', '60-38=22'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,29 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[60, 38, 69, 76], Operations: [] Exploring Operation: 76-69=7, Resulting Numbers: [60, 38, 7] Generated Node #0,0: 29:[60, 38, 7] Operation: 76-69=7 Moving to Node #0,0 Current State: 29:[60, 38, 7], Operations: ['76-69=7'] Exploring Operation: 60-38=22, Resulting Numbers: [7, 22] Generated Node #0,0,3: 29:[7, 22] Operation: 60-38=22 Moving to Node #0,0,3 Current State: 29:[7, 22], Operations: ['76-69=7', '60-38=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 50, 19, 8, 75 ]
98
[ "50-19=31", "75-8=67", "31+67=98" ]
Current State: 98:[50, 19, 8, 75], Operations: [] Exploring Operation: 50-19=31, Resulting Numbers: [8, 75, 31] Generated Node #2: [8, 75, 31] from Operation: 50-19=31 Current State: 98:[8, 75, 31], Operations: ['50-19=31'] Exploring Operation: 75-8=67, Resulting Numbers: [31, 67] Generated Node #3: [31, 67] from Operation: 75-8=67 Current State: 98:[31, 67], Operations: ['50-19=31', '75-8=67'] Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[50, 19, 8, 75], Operations: [] Exploring Operation: 8+75=83, Resulting Numbers: [50, 19, 83] Generated Node #0,0: 98:[50, 19, 83] Operation: 8+75=83 Exploring Operation: 75-50=25, Resulting Numbers: [19, 8, 25] Generated Node #0,1: 98:[19, 8, 25] Operation: 75-50=25 Exploring Operation: 75-8=67, Resulting Numbers: [50, 19, 67] Generated Node #0,2: 98:[50, 19, 67] Operation: 75-8=67 Exploring Operation: 75-19=56, Resulting Numbers: [50, 8, 56] Generated Node #0,3: 98:[50, 8, 56] Operation: 75-19=56 Exploring Operation: 19+75=94, Resulting Numbers: [50, 8, 94] Generated Node #0,4: 98:[50, 8, 94] Operation: 19+75=94 Moving to Node #0,4 Current State: 98:[50, 8, 94], Operations: ['19+75=94'] Exploring Operation: 50-8=42, Resulting Numbers: [94, 42] Generated Node #0,4,0: 98:[94, 42] Operation: 50-8=42 Exploring Operation: 94-50=44, Resulting Numbers: [8, 44] Generated Node #0,4,1: 98:[8, 44] Operation: 94-50=44 Exploring Operation: 94-8=86, Resulting Numbers: [50, 86] Generated Node #0,4,2: 98:[50, 86] Operation: 94-8=86 Exploring Operation: 8+94=102, Resulting Numbers: [50, 102] Generated Node #0,4,3: 98:[50, 102] Operation: 8+94=102 Exploring Operation: 50+8=58, Resulting Numbers: [94, 58] Generated Node #0,4,4: 98:[94, 58] Operation: 50+8=58 Moving to Node #0,3 Current State: 98:[50, 8, 56], Operations: ['75-19=56'] Exploring Operation: 56-50=6, Resulting Numbers: [8, 6] Generated Node #0,3,0: 98:[8, 6] Operation: 56-50=6 Exploring Operation: 56/8=7, Resulting Numbers: [50, 7] Generated Node #0,3,1: 98:[50, 7] Operation: 56/8=7 Exploring Operation: 50-8=42, Resulting Numbers: [56, 42] Generated Node #0,3,2: 98:[56, 42] Operation: 50-8=42 Exploring Operation: 50+56=106, Resulting Numbers: [8, 106] Generated Node #0,3,3: 98:[8, 106] Operation: 50+56=106 Exploring Operation: 56-8=48, Resulting Numbers: [50, 48] Generated Node #0,3,4: 98:[50, 48] Operation: 56-8=48 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 98:[50, 7], Operations: ['75-19=56', '56/8=7'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,98 unequal: No Solution Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 98:[8, 6], Operations: ['75-19=56', '56-50=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,98 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 98:[50, 48], Operations: ['75-19=56', '56-8=48'] Exploring Operation: 50*48=2400, Resulting Numbers: [2400] 2400,98 unequal: No Solution Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[50, 19, 8, 75], Operations: [] Exploring Operation: 75-19=56, Resulting Numbers: [50, 8, 56] Generated Node #0,3: 98:[50, 8, 56] Operation: 75-19=56 Moving to Node #0,3 Current State: 98:[50, 8, 56], Operations: ['75-19=56'] Exploring Operation: 56-8=48, Resulting Numbers: [50, 48] Generated Node #0,3,4: 98:[50, 48] Operation: 56-8=48 Moving to Node #0,3,4 Current State: 98:[50, 48], Operations: ['75-19=56', '56-8=48'] Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 53, 72, 58, 28 ]
67
[ "72-53=19", "58+28=86", "86-19=67" ]
Current State: 67:[53, 72, 58, 28], Operations: [] Exploring Operation: 72-53=19, Resulting Numbers: [58, 28, 19] Generated Node #2: [58, 28, 19] from Operation: 72-53=19 Current State: 67:[58, 28, 19], Operations: ['72-53=19'] Exploring Operation: 58+28=86, Resulting Numbers: [19, 86] Generated Node #3: [19, 86] from Operation: 58+28=86 Current State: 67:[19, 86], Operations: ['72-53=19', '58+28=86'] Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[53, 72, 58, 28], Operations: [] Exploring Operation: 53+28=81, Resulting Numbers: [72, 58, 81] Generated Node #0,0: 67:[72, 58, 81] Operation: 53+28=81 Exploring Operation: 72-28=44, Resulting Numbers: [53, 58, 44] Generated Node #0,1: 67:[53, 58, 44] Operation: 72-28=44 Exploring Operation: 58+28=86, Resulting Numbers: [53, 72, 86] Generated Node #0,2: 67:[53, 72, 86] Operation: 58+28=86 Exploring Operation: 53-28=25, Resulting Numbers: [72, 58, 25] Generated Node #0,3: 67:[72, 58, 25] Operation: 53-28=25 Moving to Node #0,0 Current State: 67:[72, 58, 81], Operations: ['53+28=81'] Exploring Operation: 72-58=14, Resulting Numbers: [81, 14] Generated Node #0,0,0: 67:[81, 14] Operation: 72-58=14 Exploring Operation: 72+58=130, Resulting Numbers: [81, 130] Generated Node #0,0,1: 67:[81, 130] Operation: 72+58=130 Exploring Operation: 81-58=23, Resulting Numbers: [72, 23] Generated Node #0,0,2: 67:[72, 23] Operation: 81-58=23 Exploring Operation: 81-72=9, Resulting Numbers: [58, 9] Generated Node #0,0,3: 67:[58, 9] Operation: 81-72=9 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[72, 23], Operations: ['53+28=81', '81-58=23'] Exploring Operation: 72+23=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,67 unequal: No Solution Exploring Operation: 72*23=1656, Resulting Numbers: [1656] 1656,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[81, 14], Operations: ['53+28=81', '72-58=14'] Exploring Operation: 81*14=1134, Resulting Numbers: [1134] 1134,67 unequal: No Solution Exploring Operation: 81+14=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[53, 72, 58, 28], Operations: [] Exploring Operation: 53+28=81, Resulting Numbers: [72, 58, 81] Generated Node #0,0: 67:[72, 58, 81] Operation: 53+28=81 Moving to Node #0,0 Current State: 67:[72, 58, 81], Operations: ['53+28=81'] Exploring Operation: 72-58=14, Resulting Numbers: [81, 14] Generated Node #0,0,0: 67:[81, 14] Operation: 72-58=14 Moving to Node #0,0,0 Current State: 67:[81, 14], Operations: ['53+28=81', '72-58=14'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic