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
[ 17, 31, 91, 1 ]
44
[ "17+31=48", "91+1=92", "92-48=44" ]
Current State: 44:[17, 31, 91, 1], Operations: [] Exploring Operation: 17+31=48, Resulting Numbers: [91, 1, 48] Generated Node #2: [91, 1, 48] from Operation: 17+31=48 Current State: 44:[91, 1, 48], Operations: ['17+31=48'] Exploring Operation: 91+1=92, Resulting Numbers: [48, 92] Generated Node #3: [48, 92] from Operation: 91+1=92 Current State: 44:[48, 92], Operations: ['17+31=48', '91+1=92'] Exploring Operation: 92-48=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[17, 31, 91, 1], Operations: [] Exploring Operation: 91-31=60, Resulting Numbers: [17, 1, 60] Generated Node #0,0: 44:[17, 1, 60] Operation: 91-31=60 Moving to Node #0,0 Current State: 44:[17, 1, 60], Operations: ['91-31=60'] Exploring Operation: 60-17=43, Resulting Numbers: [1, 43] Generated Node #0,0,0: 44:[1, 43] Operation: 60-17=43 Moving to Node #0,0,0 Current State: 44:[1, 43], Operations: ['91-31=60', '60-17=43'] Exploring Operation: 1+43=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[17, 31, 91, 1], Operations: [] Exploring Operation: 91-31=60, Resulting Numbers: [17, 1, 60] Generated Node #0,0: 44:[17, 1, 60] Operation: 91-31=60 Moving to Node #0,0 Current State: 44:[17, 1, 60], Operations: ['91-31=60'] Exploring Operation: 60-17=43, Resulting Numbers: [1, 43] Generated Node #0,0,0: 44:[1, 43] Operation: 60-17=43 Moving to Node #0,0,0 Current State: 44:[1, 43], Operations: ['91-31=60', '60-17=43'] Exploring Operation: 1+43=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 7, 10, 91, 77 ]
74
[ "91/7=13", "10+77=87", "87-13=74" ]
Current State: 74:[7, 10, 91, 77], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [10, 77, 13] Generated Node #2: [10, 77, 13] from Operation: 91/7=13 Current State: 74:[10, 77, 13], Operations: ['91/7=13'] Exploring Operation: 10+77=87, Resulting Numbers: [13, 87] Generated Node #3: [13, 87] from Operation: 10+77=87 Current State: 74:[13, 87], Operations: ['91/7=13', '10+77=87'] Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[7, 10, 91, 77], Operations: [] Exploring Operation: 91-7=84, Resulting Numbers: [10, 77, 84] Generated Node #0,0: 74:[10, 77, 84] Operation: 91-7=84 Exploring Operation: 91/7=13, Resulting Numbers: [10, 77, 13] Generated Node #0,1: 74:[10, 77, 13] Operation: 91/7=13 Exploring Operation: 91-10=81, Resulting Numbers: [7, 77, 81] Generated Node #0,2: 74:[7, 77, 81] Operation: 91-10=81 Exploring Operation: 10-7=3, Resulting Numbers: [91, 77, 3] Generated Node #0,3: 74:[91, 77, 3] Operation: 10-7=3 Exploring Operation: 7*10=70, Resulting Numbers: [91, 77, 70] Generated Node #0,4: 74:[91, 77, 70] Operation: 7*10=70 Moving to Node #0,2 Current State: 74:[7, 77, 81], Operations: ['91-10=81'] Exploring Operation: 81-77=4, Resulting Numbers: [7, 4] Generated Node #0,2,0: 74:[7, 4] Operation: 81-77=4 Exploring Operation: 77/7=11, Resulting Numbers: [81, 11] Generated Node #0,2,1: 74:[81, 11] Operation: 77/7=11 Exploring Operation: 77-7=70, Resulting Numbers: [81, 70] Generated Node #0,2,2: 74:[81, 70] Operation: 77-7=70 Exploring Operation: 81-7=74, Resulting Numbers: [77, 74] Generated Node #0,2,3: 74:[77, 74] Operation: 81-7=74 Exploring Operation: 7+77=84, Resulting Numbers: [81, 84] Generated Node #0,2,4: 74:[81, 84] Operation: 7+77=84 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 74:[77, 74], Operations: ['91-10=81', '81-7=74'] Exploring Operation: 77+74=151, Resulting Numbers: [151] 151,74 unequal: No Solution Exploring Operation: 77*74=5698, Resulting Numbers: [5698] 5698,74 unequal: No Solution Exploring Operation: 77-74=3, Resulting Numbers: [3] 3,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[7, 4], Operations: ['91-10=81', '81-77=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,74 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[81, 70], Operations: ['91-10=81', '77-7=70'] Exploring Operation: 81+70=151, Resulting Numbers: [151] 151,74 unequal: No Solution Exploring Operation: 81*70=5670, Resulting Numbers: [5670] 5670,74 unequal: No Solution Exploring Operation: 81-70=11, Resulting Numbers: [11] 11,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[81, 11], Operations: ['91-10=81', '77/7=11'] Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 81+11=92, Resulting Numbers: [92] 92,74 unequal: No Solution Exploring Operation: 81*11=891, Resulting Numbers: [891] 891,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 74:[81, 84], Operations: ['91-10=81', '7+77=84'] Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 81+84=165, Resulting Numbers: [165] 165,74 unequal: No Solution Exploring Operation: 81*84=6804, Resulting Numbers: [6804] 6804,74 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: 74:[91, 77, 3], Operations: ['10-7=3'] Exploring Operation: 91-77=14, Resulting Numbers: [3, 14] Generated Node #0,3,0: 74:[3, 14] Operation: 91-77=14 Exploring Operation: 77+3=80, Resulting Numbers: [91, 80] Generated Node #0,3,1: 74:[91, 80] Operation: 77+3=80 Exploring Operation: 91+3=94, Resulting Numbers: [77, 94] Generated Node #0,3,2: 74:[77, 94] Operation: 91+3=94 Exploring Operation: 77-3=74, Resulting Numbers: [91, 74] Generated Node #0,3,3: 74:[91, 74] Operation: 77-3=74 Exploring Operation: 91-3=88, Resulting Numbers: [77, 88] Generated Node #0,3,4: 74:[77, 88] Operation: 91-3=88 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[3, 14], Operations: ['10-7=3', '91-77=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[91, 74], Operations: ['10-7=3', '77-3=74'] Exploring Operation: 91-74=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 91+74=165, Resulting Numbers: [165] 165,74 unequal: No Solution Exploring Operation: 91*74=6734, Resulting Numbers: [6734] 6734,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 74:[77, 88], Operations: ['10-7=3', '91-3=88'] Exploring Operation: 77*88=6776, Resulting Numbers: [6776] 6776,74 unequal: No Solution Exploring Operation: 88-77=11, Resulting Numbers: [11] 11,74 unequal: No Solution Exploring Operation: 77+88=165, Resulting Numbers: [165] 165,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[91, 80], Operations: ['10-7=3', '77+3=80'] Exploring Operation: 91*80=7280, Resulting Numbers: [7280] 7280,74 unequal: No Solution Exploring Operation: 91+80=171, Resulting Numbers: [171] 171,74 unequal: No Solution Exploring Operation: 91-80=11, Resulting Numbers: [11] 11,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[77, 94], Operations: ['10-7=3', '91+3=94'] Exploring Operation: 77+94=171, Resulting Numbers: [171] 171,74 unequal: No Solution Exploring Operation: 77*94=7238, Resulting Numbers: [7238] 7238,74 unequal: No Solution Exploring Operation: 94-77=17, Resulting Numbers: [17] 17,74 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: 74:[10, 77, 84], Operations: ['91-7=84'] Exploring Operation: 84-10=74, Resulting Numbers: [77, 74] Generated Node #0,0,0: 74:[77, 74] Operation: 84-10=74 Exploring Operation: 10+84=94, Resulting Numbers: [77, 94] Generated Node #0,0,1: 74:[77, 94] Operation: 10+84=94 Exploring Operation: 77-10=67, Resulting Numbers: [84, 67] Generated Node #0,0,2: 74:[84, 67] Operation: 77-10=67 Exploring Operation: 10+77=87, Resulting Numbers: [84, 87] Generated Node #0,0,3: 74:[84, 87] Operation: 10+77=87 Exploring Operation: 84-77=7, Resulting Numbers: [10, 7] Generated Node #0,0,4: 74:[10, 7] Operation: 84-77=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[77, 74], Operations: ['91-7=84', '84-10=74'] Exploring Operation: 77+74=151, Resulting Numbers: [151] 151,74 unequal: No Solution Exploring Operation: 77-74=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 77*74=5698, Resulting Numbers: [5698] 5698,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 74:[10, 7], Operations: ['91-7=84', '84-77=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[84, 67], Operations: ['91-7=84', '77-10=67'] Exploring Operation: 84-67=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 84+67=151, Resulting Numbers: [151] 151,74 unequal: No Solution Exploring Operation: 84*67=5628, Resulting Numbers: [5628] 5628,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[77, 94], Operations: ['91-7=84', '10+84=94'] Exploring Operation: 94-77=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 77*94=7238, Resulting Numbers: [7238] 7238,74 unequal: No Solution Exploring Operation: 77+94=171, Resulting Numbers: [171] 171,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[84, 87], Operations: ['91-7=84', '10+77=87'] Exploring Operation: 84*87=7308, Resulting Numbers: [7308] 7308,74 unequal: No Solution Exploring Operation: 87-84=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 84+87=171, Resulting Numbers: [171] 171,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 74:[10, 77, 13], Operations: ['91/7=13'] Exploring Operation: 77-13=64, Resulting Numbers: [10, 64] Generated Node #0,1,0: 74:[10, 64] Operation: 77-13=64 Exploring Operation: 13-10=3, Resulting Numbers: [77, 3] Generated Node #0,1,1: 74:[77, 3] Operation: 13-10=3 Exploring Operation: 10+77=87, Resulting Numbers: [13, 87] Generated Node #0,1,2: 74:[13, 87] Operation: 10+77=87 Exploring Operation: 10+13=23, Resulting Numbers: [77, 23] Generated Node #0,1,3: 74:[77, 23] Operation: 10+13=23 Exploring Operation: 77-10=67, Resulting Numbers: [13, 67] Generated Node #0,1,4: 74:[13, 67] Operation: 77-10=67 Moving to Node #0,4 Current State: 74:[91, 77, 70], Operations: ['7*10=70'] Exploring Operation: 77-70=7, Resulting Numbers: [91, 7] Generated Node #0,4,0: 74:[91, 7] Operation: 77-70=7 Exploring Operation: 91-77=14, Resulting Numbers: [70, 14] Generated Node #0,4,1: 74:[70, 14] Operation: 91-77=14 Exploring Operation: 91-70=21, Resulting Numbers: [77, 21] Generated Node #0,4,2: 74:[77, 21] Operation: 91-70=21 Exploring Operation: 77+70=147, Resulting Numbers: [91, 147] Generated Node #0,4,3: 74:[91, 147] Operation: 77+70=147 Exploring Operation: 91+70=161, Resulting Numbers: [77, 161] Generated Node #0,4,4: 74:[77, 161] Operation: 91+70=161 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 74:[70, 14], Operations: ['7*10=70', '91-77=14'] Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,74 unequal: No Solution Exploring Operation: 70+14=84, Resulting Numbers: [84] 84,74 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,74 unequal: No Solution Exploring Operation: 70*14=980, Resulting Numbers: [980] 980,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 74:[77, 21], Operations: ['7*10=70', '91-70=21'] Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,74 unequal: No Solution Exploring Operation: 77*21=1617, Resulting Numbers: [1617] 1617,74 unequal: No Solution Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 74:[91, 7], Operations: ['7*10=70', '77-70=7'] Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,74 unequal: No Solution Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,74 unequal: No Solution Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,74 unequal: No Solution Exploring Operation: 91*7=637, Resulting Numbers: [637] 637,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 74:[91, 147], Operations: ['7*10=70', '77+70=147'] Exploring Operation: 147-91=56, Resulting Numbers: [56] 56,74 unequal: No Solution Exploring Operation: 91+147=238, Resulting Numbers: [238] 238,74 unequal: No Solution Exploring Operation: 91*147=13377, Resulting Numbers: [13377] 13377,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 74:[77, 161], Operations: ['7*10=70', '91+70=161'] Exploring Operation: 77*161=12397, Resulting Numbers: [12397] 12397,74 unequal: No Solution Exploring Operation: 161-77=84, Resulting Numbers: [84] 84,74 unequal: No Solution Exploring Operation: 77+161=238, Resulting Numbers: [238] 238,74 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: 74:[77, 3], Operations: ['91/7=13', '13-10=3'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[7, 10, 91, 77], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [10, 77, 13] Generated Node #0,1: 74:[10, 77, 13] Operation: 91/7=13 Moving to Node #0,1 Current State: 74:[10, 77, 13], Operations: ['91/7=13'] Exploring Operation: 13-10=3, Resulting Numbers: [77, 3] Generated Node #0,1,1: 74:[77, 3] Operation: 13-10=3 Moving to Node #0,1,1 Current State: 74:[77, 3], Operations: ['91/7=13', '13-10=3'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.915799
hs_5
mult_heuristic
[ 10, 18, 8, 61 ]
45
[ "18-10=8", "61-8=53", "53-8=45" ]
Current State: 45:[10, 18, 8, 61], Operations: [] Exploring Operation: 18-10=8, Resulting Numbers: [8, 61, 8] Generated Node #2: [8, 61, 8] from Operation: 18-10=8 Current State: 45:[8, 61, 8], Operations: ['18-10=8'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,45 equal: Goal Reached Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[10, 18, 8, 61], Operations: [] Exploring Operation: 61-8=53, Resulting Numbers: [10, 18, 53] Generated Node #0,0: 45:[10, 18, 53] Operation: 61-8=53 Exploring Operation: 18-10=8, Resulting Numbers: [8, 61, 8] Generated Node #0,1: 45:[8, 61, 8] Operation: 18-10=8 Exploring Operation: 61-18=43, Resulting Numbers: [10, 8, 43] Generated Node #0,2: 45:[10, 8, 43] Operation: 61-18=43 Exploring Operation: 61-10=51, Resulting Numbers: [18, 8, 51] Generated Node #0,3: 45:[18, 8, 51] Operation: 61-10=51 Moving to Node #0,2 Current State: 45:[10, 8, 43], Operations: ['61-18=43'] Exploring Operation: 10+43=53, Resulting Numbers: [8, 53] Generated Node #0,2,0: 45:[8, 53] Operation: 10+43=53 Exploring Operation: 8+43=51, Resulting Numbers: [10, 51] Generated Node #0,2,1: 45:[10, 51] Operation: 8+43=51 Exploring Operation: 10-8=2, Resulting Numbers: [43, 2] Generated Node #0,2,2: 45:[43, 2] Operation: 10-8=2 Exploring Operation: 10+8=18, Resulting Numbers: [43, 18] Generated Node #0,2,3: 45:[43, 18] Operation: 10+8=18 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[43, 2], Operations: ['61-18=43', '10-8=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,45 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,45 unequal: No Solution Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[10, 18, 8, 61], Operations: [] Exploring Operation: 61-18=43, Resulting Numbers: [10, 8, 43] Generated Node #0,2: 45:[10, 8, 43] Operation: 61-18=43 Moving to Node #0,2 Current State: 45:[10, 8, 43], Operations: ['61-18=43'] Exploring Operation: 10-8=2, Resulting Numbers: [43, 2] Generated Node #0,2,2: 45:[43, 2] Operation: 10-8=2 Moving to Node #0,2,2 Current State: 45:[43, 2], Operations: ['61-18=43', '10-8=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 3, 4, 23, 12 ]
85
[ "3*23=69", "4+12=16", "69+16=85" ]
Current State: 85:[3, 4, 23, 12], Operations: [] Exploring Operation: 3*23=69, Resulting Numbers: [4, 12, 69] Generated Node #2: [4, 12, 69] from Operation: 3*23=69 Current State: 85:[4, 12, 69], Operations: ['3*23=69'] Exploring Operation: 4+12=16, Resulting Numbers: [69, 16] Generated Node #3: [69, 16] from Operation: 4+12=16 Current State: 85:[69, 16], Operations: ['3*23=69', '4+12=16'] Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[3, 4, 23, 12], Operations: [] Exploring Operation: 3+12=15, Resulting Numbers: [4, 23, 15] Generated Node #0,0: 85:[4, 23, 15] Operation: 3+12=15 Exploring Operation: 23-3=20, Resulting Numbers: [4, 12, 20] Generated Node #0,1: 85:[4, 12, 20] Operation: 23-3=20 Exploring Operation: 12/3=4, Resulting Numbers: [4, 23, 4] Generated Node #0,2: 85:[4, 23, 4] Operation: 12/3=4 Exploring Operation: 23-4=19, Resulting Numbers: [3, 12, 19] Generated Node #0,3: 85:[3, 12, 19] Operation: 23-4=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[4, 23, 4], Operations: ['12/3=4'] Exploring Operation: 4*23=92, Resulting Numbers: [4, 92] Generated Node #0,2,0: 85:[4, 92] Operation: 4*23=92 Exploring Operation: 4*4=16, Resulting Numbers: [23, 16] Generated Node #0,2,1: 85:[23, 16] Operation: 4*4=16 Exploring Operation: 23-4=19, Resulting Numbers: [4, 19] Generated Node #0,2,2: 85:[4, 19] Operation: 23-4=19 Exploring Operation: 23-4=19, Resulting Numbers: [4, 19] Generated Node #0,2,3: 85:[4, 19] Operation: 23-4=19 Moving to Node #0,2,2 Current State: 85:[4, 19], Operations: ['12/3=4', '23-4=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,85 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[4, 19], Operations: ['12/3=4', '23-4=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,85 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[23, 16], Operations: ['12/3=4', '4*4=16'] Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,85 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[4, 92], Operations: ['12/3=4', '4*23=92'] Exploring Operation: 4*92=368, Resulting Numbers: [368] 368,85 unequal: No Solution Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,85 unequal: No Solution Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,85 unequal: No Solution Exploring Operation: 4+92=96, Resulting Numbers: [96] 96,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 Current State: 85:[4, 23, 15], Operations: ['3+12=15'] Exploring Operation: 23-15=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 85:[4, 8] Operation: 23-15=8 Exploring Operation: 4*23=92, Resulting Numbers: [15, 92] Generated Node #0,0,1: 85:[15, 92] Operation: 4*23=92 Exploring Operation: 23-4=19, Resulting Numbers: [15, 19] Generated Node #0,0,2: 85:[15, 19] Operation: 23-4=19 Exploring Operation: 4+15=19, Resulting Numbers: [23, 19] Generated Node #0,0,3: 85:[23, 19] Operation: 4+15=19 Moving to Node #0,0,0 Current State: 85:[4, 8], Operations: ['3+12=15', '23-15=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,85 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[15, 19], Operations: ['3+12=15', '23-4=19'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,85 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,85 unequal: No Solution Moving to Node #0,0,3 Current State: 85:[23, 19], Operations: ['3+12=15', '4+15=19'] Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,85 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[15, 92], Operations: ['3+12=15', '4*23=92'] Exploring Operation: 15+92=107, Resulting Numbers: [107] 107,85 unequal: No Solution Exploring Operation: 15*92=1380, Resulting Numbers: [1380] 1380,85 unequal: No Solution Exploring Operation: 92-15=77, Resulting Numbers: [77] 77,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,1 Current State: 85:[4, 12, 20], Operations: ['23-3=20'] Exploring Operation: 20-12=8, Resulting Numbers: [4, 8] Generated Node #0,1,0: 85:[4, 8] Operation: 20-12=8 Exploring Operation: 20/4=5, Resulting Numbers: [12, 5] Generated Node #0,1,1: 85:[12, 5] Operation: 20/4=5 Exploring Operation: 4+12=16, Resulting Numbers: [20, 16] Generated Node #0,1,2: 85:[20, 16] Operation: 4+12=16 Exploring Operation: 12/4=3, Resulting Numbers: [20, 3] Generated Node #0,1,3: 85:[20, 3] Operation: 12/4=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[4, 8], Operations: ['23-3=20', '20-12=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,85 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,85 unequal: No Solution No 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: 85:[20, 16], Operations: ['23-3=20', '4+12=16'] Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,85 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,85 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,85 unequal: No Solution No 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: 85:[12, 5], Operations: ['23-3=20', '20/4=5'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,85 unequal: No Solution No 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: 85:[20, 3], Operations: ['23-3=20', '12/4=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,85 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[3, 12, 19], Operations: ['23-4=19'] Exploring Operation: 3+12=15, Resulting Numbers: [19, 15] Generated Node #0,3,0: 85:[19, 15] Operation: 3+12=15 Exploring Operation: 19-12=7, Resulting Numbers: [3, 7] Generated Node #0,3,1: 85:[3, 7] Operation: 19-12=7 Exploring Operation: 12-3=9, Resulting Numbers: [19, 9] Generated Node #0,3,2: 85:[19, 9] Operation: 12-3=9 Exploring Operation: 12/3=4, Resulting Numbers: [19, 4] Generated Node #0,3,3: 85:[19, 4] Operation: 12/3=4 Moving to Node #0,3,3 Current State: 85:[19, 4], Operations: ['23-4=19', '12/3=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,85 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,85 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,85 unequal: No Solution Moving to Node #0,3,1 Current State: 85:[3, 7], Operations: ['23-4=19', '19-12=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,85 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,85 unequal: No Solution Moving to Node #0,3,0 Current State: 85:[19, 15], Operations: ['23-4=19', '3+12=15'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,85 unequal: No Solution Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[19, 9], Operations: ['23-4=19', '12-3=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,85 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 83, 40, 94, 3 ]
47
[ "83-3=80", "40*94=3760", "3760/80=47" ]
Current State: 47:[83, 40, 94, 3], Operations: [] Exploring Operation: 83-3=80, Resulting Numbers: [40, 94, 80] Generated Node #2: [40, 94, 80] from Operation: 83-3=80 Current State: 47:[40, 94, 80], Operations: ['83-3=80'] Exploring Operation: 40*94=3760, Resulting Numbers: [80, 3760] Generated Node #3: [80, 3760] from Operation: 40*94=3760 Current State: 47:[80, 3760], Operations: ['83-3=80', '40*94=3760'] Exploring Operation: 3760/80=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[83, 40, 94, 3], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [40, 3, 11] Generated Node #0,0: 47:[40, 3, 11] Operation: 94-83=11 Exploring Operation: 83-3=80, Resulting Numbers: [40, 94, 80] Generated Node #0,1: 47:[40, 94, 80] Operation: 83-3=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[40, 3, 11], Operations: ['94-83=11'] Exploring Operation: 3*11=33, Resulting Numbers: [40, 33] Generated Node #0,0,0: 47:[40, 33] Operation: 3*11=33 Exploring Operation: 40+3=43, Resulting Numbers: [11, 43] Generated Node #0,0,1: 47:[11, 43] Operation: 40+3=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[40, 33], Operations: ['94-83=11', '3*11=33'] Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,47 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[11, 43], Operations: ['94-83=11', '40+3=43'] Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,47 unequal: No Solution Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[40, 94, 80], Operations: ['83-3=80'] Exploring Operation: 94-80=14, Resulting Numbers: [40, 14] Generated Node #0,1,0: 47:[40, 14] Operation: 94-80=14 Exploring Operation: 94-40=54, Resulting Numbers: [80, 54] Generated Node #0,1,1: 47:[80, 54] Operation: 94-40=54 Moving to Node #0,1,0 Current State: 47:[40, 14], Operations: ['83-3=80', '94-80=14'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[80, 54], Operations: ['83-3=80', '94-40=54'] Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 80+54=134, Resulting Numbers: [134] 134,47 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
[ 77, 45, 3, 73 ]
95
[ "77+73=150", "150/3=50", "45+50=95" ]
Current State: 95:[77, 45, 3, 73], Operations: [] Exploring Operation: 77+73=150, Resulting Numbers: [45, 3, 150] Generated Node #2: [45, 3, 150] from Operation: 77+73=150 Current State: 95:[45, 3, 150], Operations: ['77+73=150'] Exploring Operation: 150/3=50, Resulting Numbers: [45, 50] Generated Node #3: [45, 50] from Operation: 150/3=50 Current State: 95:[45, 50], Operations: ['77+73=150', '150/3=50'] Exploring Operation: 45+50=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[77, 45, 3, 73], Operations: [] Exploring Operation: 77-73=4, Resulting Numbers: [45, 3, 4] Generated Node #0,0: 95:[45, 3, 4] Operation: 77-73=4 Exploring Operation: 73-45=28, Resulting Numbers: [77, 3, 28] Generated Node #0,1: 95:[77, 3, 28] Operation: 73-45=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[45, 3, 4], Operations: ['77-73=4'] Exploring Operation: 45-3=42, Resulting Numbers: [4, 42] Generated Node #0,0,0: 95:[4, 42] Operation: 45-3=42 Exploring Operation: 45/3=15, Resulting Numbers: [4, 15] Generated Node #0,0,1: 95:[4, 15] Operation: 45/3=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[4, 15], Operations: ['77-73=4', '45/3=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,95 unequal: No Solution No 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: 95:[4, 42], Operations: ['77-73=4', '45-3=42'] Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,95 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,95 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: 95:[77, 3, 28], Operations: ['73-45=28'] Exploring Operation: 77+28=105, Resulting Numbers: [3, 105] Generated Node #0,1,0: 95:[3, 105] Operation: 77+28=105 Exploring Operation: 77+3=80, Resulting Numbers: [28, 80] Generated Node #0,1,1: 95:[28, 80] Operation: 77+3=80 Moving to Node #0,1,0 Current State: 95:[3, 105], Operations: ['73-45=28', '77+28=105'] Exploring Operation: 3+105=108, Resulting Numbers: [108] 108,95 unequal: No Solution Exploring Operation: 105-3=102, Resulting Numbers: [102] 102,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[28, 80], Operations: ['73-45=28', '77+3=80'] Exploring Operation: 28+80=108, Resulting Numbers: [108] 108,95 unequal: No Solution Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,95 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
[ 21, 5, 3, 74 ]
94
[ "5+3=8", "21*8=168", "168-74=94" ]
Current State: 94:[21, 5, 3, 74], Operations: [] Exploring Operation: 5+3=8, Resulting Numbers: [21, 74, 8] Generated Node #2: [21, 74, 8] from Operation: 5+3=8 Current State: 94:[21, 74, 8], Operations: ['5+3=8'] Exploring Operation: 21*8=168, Resulting Numbers: [74, 168] Generated Node #3: [74, 168] from Operation: 21*8=168 Current State: 94:[74, 168], Operations: ['5+3=8', '21*8=168'] Exploring Operation: 168-74=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[21, 5, 3, 74], Operations: [] Exploring Operation: 21/3=7, Resulting Numbers: [5, 74, 7] Generated Node #0,0: 94:[5, 74, 7] Operation: 21/3=7 Exploring Operation: 74-21=53, Resulting Numbers: [5, 3, 53] Generated Node #0,1: 94:[5, 3, 53] Operation: 74-21=53 Exploring Operation: 21*5=105, Resulting Numbers: [3, 74, 105] Generated Node #0,2: 94:[3, 74, 105] Operation: 21*5=105 Exploring Operation: 21-5=16, Resulting Numbers: [3, 74, 16] Generated Node #0,3: 94:[3, 74, 16] Operation: 21-5=16 Exploring Operation: 21+74=95, Resulting Numbers: [5, 3, 95] Generated Node #0,4: 94:[5, 3, 95] Operation: 21+74=95 Moving to Node #0,4 Current State: 94:[5, 3, 95], Operations: ['21+74=95'] Exploring Operation: 95-5=90, Resulting Numbers: [3, 90] Generated Node #0,4,0: 94:[3, 90] Operation: 95-5=90 Exploring Operation: 5-3=2, Resulting Numbers: [95, 2] Generated Node #0,4,1: 94:[95, 2] Operation: 5-3=2 Exploring Operation: 5+3=8, Resulting Numbers: [95, 8] Generated Node #0,4,2: 94:[95, 8] Operation: 5+3=8 Exploring Operation: 95-3=92, Resulting Numbers: [5, 92] Generated Node #0,4,3: 94:[5, 92] Operation: 95-3=92 Exploring Operation: 5+95=100, Resulting Numbers: [3, 100] Generated Node #0,4,4: 94:[3, 100] Operation: 5+95=100 Moving to Node #0,1 Current State: 94:[5, 3, 53], Operations: ['74-21=53'] Exploring Operation: 5+3=8, Resulting Numbers: [53, 8] Generated Node #0,1,0: 94:[53, 8] Operation: 5+3=8 Exploring Operation: 53-5=48, Resulting Numbers: [3, 48] Generated Node #0,1,1: 94:[3, 48] Operation: 53-5=48 Exploring Operation: 5+53=58, Resulting Numbers: [3, 58] Generated Node #0,1,2: 94:[3, 58] Operation: 5+53=58 Exploring Operation: 53-3=50, Resulting Numbers: [5, 50] Generated Node #0,1,3: 94:[5, 50] Operation: 53-3=50 Exploring Operation: 5-3=2, Resulting Numbers: [53, 2] Generated Node #0,1,4: 94:[53, 2] Operation: 5-3=2 Moving to Node #0,0 Current State: 94:[5, 74, 7], Operations: ['21/3=7'] Exploring Operation: 7-5=2, Resulting Numbers: [74, 2] Generated Node #0,0,0: 94:[74, 2] Operation: 7-5=2 Exploring Operation: 74-5=69, Resulting Numbers: [7, 69] Generated Node #0,0,1: 94:[7, 69] Operation: 74-5=69 Exploring Operation: 5+74=79, Resulting Numbers: [7, 79] Generated Node #0,0,2: 94:[7, 79] Operation: 5+74=79 Exploring Operation: 74-7=67, Resulting Numbers: [5, 67] Generated Node #0,0,3: 94:[5, 67] Operation: 74-7=67 Exploring Operation: 74+7=81, Resulting Numbers: [5, 81] Generated Node #0,0,4: 94:[5, 81] Operation: 74+7=81 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 94:[5, 81], Operations: ['21/3=7', '74+7=81'] Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,94 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,94 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[74, 2], Operations: ['21/3=7', '7-5=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,94 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,94 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,94 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[7, 79], Operations: ['21/3=7', '5+74=79'] Exploring Operation: 7*79=553, Resulting Numbers: [553] 553,94 unequal: No Solution Exploring Operation: 7+79=86, Resulting Numbers: [86] 86,94 unequal: No Solution Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 94:[5, 67], Operations: ['21/3=7', '74-7=67'] Exploring Operation: 5*67=335, Resulting Numbers: [335] 335,94 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,94 unequal: No Solution Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[7, 69], Operations: ['21/3=7', '74-5=69'] Exploring Operation: 7+69=76, Resulting Numbers: [76] 76,94 unequal: No Solution Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,94 unequal: No Solution Exploring Operation: 7*69=483, Resulting Numbers: [483] 483,94 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: 94:[3, 74, 105], Operations: ['21*5=105'] Exploring Operation: 105-74=31, Resulting Numbers: [3, 31] Generated Node #0,2,0: 94:[3, 31] Operation: 105-74=31 Exploring Operation: 105-3=102, Resulting Numbers: [74, 102] Generated Node #0,2,1: 94:[74, 102] Operation: 105-3=102 Exploring Operation: 3+74=77, Resulting Numbers: [105, 77] Generated Node #0,2,2: 94:[105, 77] Operation: 3+74=77 Exploring Operation: 105/3=35, Resulting Numbers: [74, 35] Generated Node #0,2,3: 94:[74, 35] Operation: 105/3=35 Exploring Operation: 74-3=71, Resulting Numbers: [105, 71] Generated Node #0,2,4: 94:[105, 71] Operation: 74-3=71 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[3, 31], Operations: ['21*5=105', '105-74=31'] Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,94 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[74, 102], Operations: ['21*5=105', '105-3=102'] Exploring Operation: 74*102=7548, Resulting Numbers: [7548] 7548,94 unequal: No Solution Exploring Operation: 74+102=176, Resulting Numbers: [176] 176,94 unequal: No Solution Exploring Operation: 102-74=28, Resulting Numbers: [28] 28,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[105, 77], Operations: ['21*5=105', '3+74=77'] Exploring Operation: 105*77=8085, Resulting Numbers: [8085] 8085,94 unequal: No Solution Exploring Operation: 105-77=28, Resulting Numbers: [28] 28,94 unequal: No Solution Exploring Operation: 105+77=182, Resulting Numbers: [182] 182,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[74, 35], Operations: ['21*5=105', '105/3=35'] Exploring Operation: 74*35=2590, Resulting Numbers: [2590] 2590,94 unequal: No Solution Exploring Operation: 74+35=109, Resulting Numbers: [109] 109,94 unequal: No Solution Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 94:[105, 71], Operations: ['21*5=105', '74-3=71'] Exploring Operation: 105-71=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 105+71=176, Resulting Numbers: [176] 176,94 unequal: No Solution Exploring Operation: 105*71=7455, Resulting Numbers: [7455] 7455,94 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: 94:[3, 74, 16], Operations: ['21-5=16'] Exploring Operation: 74-16=58, Resulting Numbers: [3, 58] Generated Node #0,3,0: 94:[3, 58] Operation: 74-16=58 Exploring Operation: 3+74=77, Resulting Numbers: [16, 77] Generated Node #0,3,1: 94:[16, 77] Operation: 3+74=77 Exploring Operation: 16-3=13, Resulting Numbers: [74, 13] Generated Node #0,3,2: 94:[74, 13] Operation: 16-3=13 Exploring Operation: 74+16=90, Resulting Numbers: [3, 90] Generated Node #0,3,3: 94:[3, 90] Operation: 74+16=90 Exploring Operation: 3*16=48, Resulting Numbers: [74, 48] Generated Node #0,3,4: 94:[74, 48] Operation: 3*16=48 Moving to Node #0,4,1 Current State: 94:[95, 2], Operations: ['21+74=95', '5-3=2'] Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,94 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,94 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[3, 48], Operations: ['74-21=53', '53-5=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,94 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,94 unequal: No Solution Moving to Node #0,4,3 Current State: 94:[5, 92], Operations: ['21+74=95', '95-3=92'] Exploring Operation: 5+92=97, Resulting Numbers: [97] 97,94 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 5*92=460, Resulting Numbers: [460] 460,94 unequal: No Solution Moving to Node #0,4,0 Current State: 94:[3, 90], Operations: ['21+74=95', '95-5=90'] Exploring Operation: 3*90=270, Resulting Numbers: [270] 270,94 unequal: No Solution Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,94 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 3+90=93, Resulting Numbers: [93] 93,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[3, 90], Operations: ['21-5=16', '74+16=90'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,94 unequal: No Solution Exploring Operation: 3*90=270, Resulting Numbers: [270] 270,94 unequal: No Solution Exploring Operation: 3+90=93, Resulting Numbers: [93] 93,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[5, 50], Operations: ['74-21=53', '53-3=50'] Exploring Operation: 5+50=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 5*50=250, Resulting Numbers: [250] 250,94 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,94 unequal: No Solution Moving to Node #0,1,4 Current State: 94:[53, 2], Operations: ['74-21=53', '5-3=2'] Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,94 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,94 unequal: No Solution Moving to Node #0,4,4 Current State: 94:[3, 100], Operations: ['21+74=95', '5+95=100'] Exploring Operation: 3+100=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 3*100=300, Resulting Numbers: [300] 300,94 unequal: No Solution Exploring Operation: 100-3=97, Resulting Numbers: [97] 97,94 unequal: No Solution Moving to Node #0,4,2 Current State: 94:[95, 8], Operations: ['21+74=95', '5+3=8'] Exploring Operation: 95+8=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 95*8=760, Resulting Numbers: [760] 760,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[3, 58], Operations: ['21-5=16', '74-16=58'] Exploring Operation: 3*58=174, Resulting Numbers: [174] 174,94 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[3, 58], Operations: ['74-21=53', '5+53=58'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,94 unequal: No Solution Exploring Operation: 3*58=174, Resulting Numbers: [174] 174,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[53, 8], Operations: ['74-21=53', '5+3=8'] Exploring Operation: 53*8=424, Resulting Numbers: [424] 424,94 unequal: No Solution Exploring Operation: 53+8=61, Resulting Numbers: [61] 61,94 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,94 unequal: No Solution Moving to Node #0,3,4 Current State: 94:[74, 48], Operations: ['21-5=16', '3*16=48'] Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,94 unequal: No Solution Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,94 unequal: No Solution Exploring Operation: 74*48=3552, Resulting Numbers: [3552] 3552,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[16, 77], Operations: ['21-5=16', '3+74=77'] Exploring Operation: 16+77=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,94 unequal: No Solution Exploring Operation: 16*77=1232, Resulting Numbers: [1232] 1232,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[74, 13], Operations: ['21-5=16', '16-3=13'] Exploring Operation: 74*13=962, Resulting Numbers: [962] 962,94 unequal: No Solution Exploring Operation: 74+13=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,94 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 47, 1, 68, 1 ]
26
[ "1+1=2", "47*2=94", "94-68=26" ]
Current State: 26:[47, 1, 68, 1], Operations: [] Exploring Operation: 1+1=2, Resulting Numbers: [47, 68, 2] Generated Node #2: [47, 68, 2] from Operation: 1+1=2 Current State: 26:[47, 68, 2], Operations: ['1+1=2'] Exploring Operation: 47*2=94, Resulting Numbers: [68, 94] Generated Node #3: [68, 94] from Operation: 47*2=94 Current State: 26:[68, 94], Operations: ['1+1=2', '47*2=94'] Exploring Operation: 94-68=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[47, 1, 68, 1], Operations: [] Exploring Operation: 47-1=46, Resulting Numbers: [1, 68, 46] Generated Node #0,0: 26:[1, 68, 46] Operation: 47-1=46 Exploring Operation: 68-47=21, Resulting Numbers: [1, 1, 21] Generated Node #0,1: 26:[1, 1, 21] Operation: 68-47=21 Exploring Operation: 47-1=46, Resulting Numbers: [68, 1, 46] Generated Node #0,2: 26:[68, 1, 46] Operation: 47-1=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[1, 1, 21], Operations: ['68-47=21'] Exploring Operation: 1+21=22, Resulting Numbers: [1, 22] Generated Node #0,1,0: 26:[1, 22] Operation: 1+21=22 Exploring Operation: 1+1=2, Resulting Numbers: [21, 2] Generated Node #0,1,1: 26:[21, 2] Operation: 1+1=2 Exploring Operation: 1+21=22, Resulting Numbers: [1, 22] Generated Node #0,1,2: 26:[1, 22] Operation: 1+21=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 26:[1, 22], Operations: ['68-47=21', '1+21=22'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 26:[21, 2], Operations: ['68-47=21', '1+1=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 26:[1, 22], Operations: ['68-47=21', '1+21=22'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[1, 68, 46], Operations: ['47-1=46'] Exploring Operation: 68-46=22, Resulting Numbers: [1, 22] Generated Node #0,0,0: 26:[1, 22] Operation: 68-46=22 Exploring Operation: 46-1=45, Resulting Numbers: [68, 45] Generated Node #0,0,1: 26:[68, 45] Operation: 46-1=45 Exploring Operation: 68-1=67, Resulting Numbers: [46, 67] Generated Node #0,0,2: 26:[46, 67] Operation: 68-1=67 Moving to Node #0,0,0 Current State: 26:[1, 22], Operations: ['47-1=46', '68-46=22'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[68, 45], Operations: ['47-1=46', '46-1=45'] Exploring Operation: 68+45=113, Resulting Numbers: [113] 113,26 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 68*45=3060, Resulting Numbers: [3060] 3060,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[46, 67], Operations: ['47-1=46', '68-1=67'] Exploring Operation: 46*67=3082, Resulting Numbers: [3082] 3082,26 unequal: No Solution Exploring Operation: 46+67=113, Resulting Numbers: [113] 113,26 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[68, 1, 46], Operations: ['47-1=46'] Exploring Operation: 68-46=22, Resulting Numbers: [1, 22] Generated Node #0,2,0: 26:[1, 22] Operation: 68-46=22 Exploring Operation: 68-1=67, Resulting Numbers: [46, 67] Generated Node #0,2,1: 26:[46, 67] Operation: 68-1=67 Exploring Operation: 46-1=45, Resulting Numbers: [68, 45] Generated Node #0,2,2: 26:[68, 45] Operation: 46-1=45 Moving to Node #0,2,0 Current State: 26:[1, 22], Operations: ['47-1=46', '68-46=22'] Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[46, 67], Operations: ['47-1=46', '68-1=67'] Exploring Operation: 46*67=3082, Resulting Numbers: [3082] 3082,26 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,26 unequal: No Solution Exploring Operation: 46+67=113, Resulting Numbers: [113] 113,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[68, 45], Operations: ['47-1=46', '46-1=45'] Exploring Operation: 68+45=113, Resulting Numbers: [113] 113,26 unequal: No Solution Exploring Operation: 68*45=3060, Resulting Numbers: [3060] 3060,26 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 16, 59, 87, 17 ]
61
[ "59-16=43", "87+17=104", "104-43=61" ]
Current State: 61:[16, 59, 87, 17], Operations: [] Exploring Operation: 59-16=43, Resulting Numbers: [87, 17, 43] Generated Node #2: [87, 17, 43] from Operation: 59-16=43 Current State: 61:[87, 17, 43], Operations: ['59-16=43'] Exploring Operation: 87+17=104, Resulting Numbers: [43, 104] Generated Node #3: [43, 104] from Operation: 87+17=104 Current State: 61:[43, 104], Operations: ['59-16=43', '87+17=104'] Exploring Operation: 104-43=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[16, 59, 87, 17], Operations: [] Exploring Operation: 87-16=71, Resulting Numbers: [59, 17, 71] Generated Node #0,0: 61:[59, 17, 71] Operation: 87-16=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[59, 17, 71], Operations: ['87-16=71'] Exploring Operation: 71-17=54, Resulting Numbers: [59, 54] Generated Node #0,0,0: 61:[59, 54] Operation: 71-17=54 Moving to Node #0,0,0 Current State: 61:[59, 54], Operations: ['87-16=71', '71-17=54'] Exploring Operation: 59+54=113, Resulting Numbers: [113] 113,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 16, 40, 76, 95 ]
30
[ "40-16=24", "95*24=2280", "2280/76=30" ]
Current State: 30:[16, 40, 76, 95], Operations: [] Exploring Operation: 40-16=24, Resulting Numbers: [76, 95, 24] Generated Node #2: [76, 95, 24] from Operation: 40-16=24 Current State: 30:[76, 95, 24], Operations: ['40-16=24'] Exploring Operation: 95*24=2280, Resulting Numbers: [76, 2280] Generated Node #3: [76, 2280] from Operation: 95*24=2280 Current State: 30:[76, 2280], Operations: ['40-16=24', '95*24=2280'] Exploring Operation: 2280/76=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[16, 40, 76, 95], Operations: [] Exploring Operation: 95-76=19, Resulting Numbers: [16, 40, 19] Generated Node #0,0: 30:[16, 40, 19] Operation: 95-76=19 Exploring Operation: 76-40=36, Resulting Numbers: [16, 95, 36] Generated Node #0,1: 30:[16, 95, 36] Operation: 76-40=36 Exploring Operation: 95-40=55, Resulting Numbers: [16, 76, 55] Generated Node #0,2: 30:[16, 76, 55] Operation: 95-40=55 Moving to Node #0,0 Current State: 30:[16, 40, 19], Operations: ['95-76=19'] Exploring Operation: 19-16=3, Resulting Numbers: [40, 3] Generated Node #0,0,0: 30:[40, 3] Operation: 19-16=3 Exploring Operation: 40-16=24, Resulting Numbers: [19, 24] Generated Node #0,0,1: 30:[19, 24] Operation: 40-16=24 Exploring Operation: 40-19=21, Resulting Numbers: [16, 21] Generated Node #0,0,2: 30:[16, 21] Operation: 40-19=21 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[16, 21], Operations: ['95-76=19', '40-19=21'] Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,30 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,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,0 Current State: 30:[40, 3], Operations: ['95-76=19', '19-16=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[19, 24], Operations: ['95-76=19', '40-16=24'] Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 30:[16, 95, 36], Operations: ['76-40=36'] Exploring Operation: 36-16=20, Resulting Numbers: [95, 20] Generated Node #0,1,0: 30:[95, 20] Operation: 36-16=20 Exploring Operation: 95-36=59, Resulting Numbers: [16, 59] Generated Node #0,1,1: 30:[16, 59] Operation: 95-36=59 Exploring Operation: 95-16=79, Resulting Numbers: [36, 79] Generated Node #0,1,2: 30:[36, 79] Operation: 95-16=79 Moving to Node #0,2 Current State: 30:[16, 76, 55], Operations: ['95-40=55'] Exploring Operation: 76-16=60, Resulting Numbers: [55, 60] Generated Node #0,2,0: 30:[55, 60] Operation: 76-16=60 Exploring Operation: 76-55=21, Resulting Numbers: [16, 21] Generated Node #0,2,1: 30:[16, 21] Operation: 76-55=21 Exploring Operation: 55-16=39, Resulting Numbers: [76, 39] Generated Node #0,2,2: 30:[76, 39] Operation: 55-16=39 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[16, 21], Operations: ['95-40=55', '76-55=21'] Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,30 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[55, 60], Operations: ['95-40=55', '76-16=60'] Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,30 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 55*60=3300, Resulting Numbers: [3300] 3300,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[76, 39], Operations: ['95-40=55', '55-16=39'] Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 76*39=2964, Resulting Numbers: [2964] 2964,30 unequal: No Solution Exploring Operation: 76+39=115, Resulting Numbers: [115] 115,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 30:[16, 59], Operations: ['76-40=36', '95-36=59'] Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,30 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[36, 79], Operations: ['76-40=36', '95-16=79'] Exploring Operation: 36+79=115, Resulting Numbers: [115] 115,30 unequal: No Solution Exploring Operation: 36*79=2844, Resulting Numbers: [2844] 2844,30 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[95, 20], Operations: ['76-40=36', '36-16=20'] Exploring Operation: 95*20=1900, Resulting Numbers: [1900] 1900,30 unequal: No Solution Exploring Operation: 95+20=115, Resulting Numbers: [115] 115,30 unequal: No Solution Exploring Operation: 95-20=75, Resulting Numbers: [75] 75,30 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 54, 86, 96, 56 ]
53
[ "86-54=32", "96/32=3", "56-3=53" ]
Current State: 53:[54, 86, 96, 56], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [96, 56, 32] Generated Node #2: [96, 56, 32] from Operation: 86-54=32 Current State: 53:[96, 56, 32], Operations: ['86-54=32'] Exploring Operation: 96/32=3, Resulting Numbers: [56, 3] Generated Node #3: [56, 3] from Operation: 96/32=3 Current State: 53:[56, 3], Operations: ['86-54=32', '96/32=3'] Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[54, 86, 96, 56], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [54, 56, 10] Generated Node #0,0: 53:[54, 56, 10] Operation: 96-86=10 Exploring Operation: 96-54=42, Resulting Numbers: [86, 56, 42] Generated Node #0,1: 53:[86, 56, 42] Operation: 96-54=42 Exploring Operation: 86-56=30, Resulting Numbers: [54, 96, 30] Generated Node #0,2: 53:[54, 96, 30] Operation: 86-56=30 Exploring Operation: 96-56=40, Resulting Numbers: [54, 86, 40] Generated Node #0,3: 53:[54, 86, 40] Operation: 96-56=40 Exploring Operation: 86-54=32, Resulting Numbers: [96, 56, 32] Generated Node #0,4: 53:[96, 56, 32] Operation: 86-54=32 Moving to Node #0,0 Current State: 53:[54, 56, 10], Operations: ['96-86=10'] Exploring Operation: 54+10=64, Resulting Numbers: [56, 64] Generated Node #0,0,0: 53:[56, 64] Operation: 54+10=64 Exploring Operation: 56-54=2, Resulting Numbers: [10, 2] Generated Node #0,0,1: 53:[10, 2] Operation: 56-54=2 Exploring Operation: 56-10=46, Resulting Numbers: [54, 46] Generated Node #0,0,2: 53:[54, 46] Operation: 56-10=46 Exploring Operation: 54-10=44, Resulting Numbers: [56, 44] Generated Node #0,0,3: 53:[56, 44] Operation: 54-10=44 Exploring Operation: 56+10=66, Resulting Numbers: [54, 66] Generated Node #0,0,4: 53:[54, 66] Operation: 56+10=66 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[54, 46], Operations: ['96-86=10', '56-10=46'] Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,53 unequal: No Solution Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[56, 44], Operations: ['96-86=10', '54-10=44'] Exploring Operation: 56+44=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 56*44=2464, Resulting Numbers: [2464] 2464,53 unequal: No Solution Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[56, 64], Operations: ['96-86=10', '54+10=64'] Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 53:[54, 66], Operations: ['96-86=10', '56+10=66'] Exploring Operation: 54+66=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 54*66=3564, Resulting Numbers: [3564] 3564,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[10, 2], Operations: ['96-86=10', '56-54=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,53 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: 53:[54, 86, 40], Operations: ['96-56=40'] Exploring Operation: 54+40=94, Resulting Numbers: [86, 94] Generated Node #0,3,0: 53:[86, 94] Operation: 54+40=94 Exploring Operation: 86-54=32, Resulting Numbers: [40, 32] Generated Node #0,3,1: 53:[40, 32] Operation: 86-54=32 Exploring Operation: 86-40=46, Resulting Numbers: [54, 46] Generated Node #0,3,2: 53:[54, 46] Operation: 86-40=46 Exploring Operation: 54-40=14, Resulting Numbers: [86, 14] Generated Node #0,3,3: 53:[86, 14] Operation: 54-40=14 Exploring Operation: 86+40=126, Resulting Numbers: [54, 126] Generated Node #0,3,4: 53:[54, 126] Operation: 86+40=126 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 53:[54, 46], Operations: ['96-56=40', '86-40=46'] Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,53 unequal: No Solution Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 53:[40, 32], Operations: ['96-56=40', '86-54=32'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 53:[86, 14], Operations: ['96-56=40', '54-40=14'] Exploring Operation: 86*14=1204, Resulting Numbers: [1204] 1204,53 unequal: No Solution Exploring Operation: 86+14=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 86-14=72, Resulting Numbers: [72] 72,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[86, 94], Operations: ['96-56=40', '54+40=94'] Exploring Operation: 86*94=8084, Resulting Numbers: [8084] 8084,53 unequal: No Solution Exploring Operation: 86+94=180, Resulting Numbers: [180] 180,53 unequal: No Solution Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 53:[54, 126], Operations: ['96-56=40', '86+40=126'] Exploring Operation: 54*126=6804, Resulting Numbers: [6804] 6804,53 unequal: No Solution Exploring Operation: 126-54=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 54+126=180, Resulting Numbers: [180] 180,53 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: 53:[86, 56, 42], Operations: ['96-54=42'] Exploring Operation: 86+42=128, Resulting Numbers: [56, 128] Generated Node #0,1,0: 53:[56, 128] Operation: 86+42=128 Exploring Operation: 56-42=14, Resulting Numbers: [86, 14] Generated Node #0,1,1: 53:[86, 14] Operation: 56-42=14 Exploring Operation: 86-42=44, Resulting Numbers: [56, 44] Generated Node #0,1,2: 53:[56, 44] Operation: 86-42=44 Exploring Operation: 86-56=30, Resulting Numbers: [42, 30] Generated Node #0,1,3: 53:[42, 30] Operation: 86-56=30 Exploring Operation: 56+42=98, Resulting Numbers: [86, 98] Generated Node #0,1,4: 53:[86, 98] Operation: 56+42=98 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[56, 44], Operations: ['96-54=42', '86-42=44'] Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 56+44=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 56*44=2464, Resulting Numbers: [2464] 2464,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 53:[42, 30], Operations: ['96-54=42', '86-56=30'] Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[86, 14], Operations: ['96-54=42', '56-42=14'] Exploring Operation: 86-14=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 86*14=1204, Resulting Numbers: [1204] 1204,53 unequal: No Solution Exploring Operation: 86+14=100, Resulting Numbers: [100] 100,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[56, 128], Operations: ['96-54=42', '86+42=128'] Exploring Operation: 128-56=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 56+128=184, Resulting Numbers: [184] 184,53 unequal: No Solution Exploring Operation: 56*128=7168, Resulting Numbers: [7168] 7168,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 53:[86, 98], Operations: ['96-54=42', '56+42=98'] Exploring Operation: 86+98=184, Resulting Numbers: [184] 184,53 unequal: No Solution Exploring Operation: 86*98=8428, Resulting Numbers: [8428] 8428,53 unequal: No Solution Exploring Operation: 98-86=12, Resulting Numbers: [12] 12,53 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: 53:[54, 96, 30], Operations: ['86-56=30'] Exploring Operation: 96+30=126, Resulting Numbers: [54, 126] Generated Node #0,2,0: 53:[54, 126] Operation: 96+30=126 Exploring Operation: 54+30=84, Resulting Numbers: [96, 84] Generated Node #0,2,1: 53:[96, 84] Operation: 54+30=84 Exploring Operation: 96-30=66, Resulting Numbers: [54, 66] Generated Node #0,2,2: 53:[54, 66] Operation: 96-30=66 Exploring Operation: 96-54=42, Resulting Numbers: [30, 42] Generated Node #0,2,3: 53:[30, 42] Operation: 96-54=42 Exploring Operation: 54-30=24, Resulting Numbers: [96, 24] Generated Node #0,2,4: 53:[96, 24] Operation: 54-30=24 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[54, 66], Operations: ['86-56=30', '96-30=66'] Exploring Operation: 54+66=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 54*66=3564, Resulting Numbers: [3564] 3564,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 53:[30, 42], Operations: ['86-56=30', '96-54=42'] Exploring Operation: 30*42=1260, Resulting Numbers: [1260] 1260,53 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 30+42=72, Resulting Numbers: [72] 72,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 53:[96, 24], Operations: ['86-56=30', '54-30=24'] Exploring Operation: 96-24=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 96*24=2304, Resulting Numbers: [2304] 2304,53 unequal: No Solution Exploring Operation: 96+24=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 96/24=4, Resulting Numbers: [4] 4,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[54, 126], Operations: ['86-56=30', '96+30=126'] Exploring Operation: 54*126=6804, Resulting Numbers: [6804] 6804,53 unequal: No Solution Exploring Operation: 126-54=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 54+126=180, Resulting Numbers: [180] 180,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[96, 84], Operations: ['86-56=30', '54+30=84'] Exploring Operation: 96*84=8064, Resulting Numbers: [8064] 8064,53 unequal: No Solution Exploring Operation: 96+84=180, Resulting Numbers: [180] 180,53 unequal: No Solution Exploring Operation: 96-84=12, Resulting Numbers: [12] 12,53 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: 53:[96, 56, 32], Operations: ['86-54=32'] Exploring Operation: 96/32=3, Resulting Numbers: [56, 3] Generated Node #0,4,0: 53:[56, 3] Operation: 96/32=3 Exploring Operation: 56-32=24, Resulting Numbers: [96, 24] Generated Node #0,4,1: 53:[96, 24] Operation: 56-32=24 Exploring Operation: 96+32=128, Resulting Numbers: [56, 128] Generated Node #0,4,2: 53:[56, 128] Operation: 96+32=128 Exploring Operation: 96-32=64, Resulting Numbers: [56, 64] Generated Node #0,4,3: 53:[56, 64] Operation: 96-32=64 Exploring Operation: 96-56=40, Resulting Numbers: [32, 40] Generated Node #0,4,4: 53:[32, 40] Operation: 96-56=40 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 53:[56, 64], Operations: ['86-54=32', '96-32=64'] Exploring Operation: 64-56=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 56*64=3584, Resulting Numbers: [3584] 3584,53 unequal: No Solution Exploring Operation: 56+64=120, Resulting Numbers: [120] 120,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 53:[32, 40], Operations: ['86-54=32', '96-56=40'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,53 unequal: No Solution Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 53:[56, 3], Operations: ['86-54=32', '96/32=3'] Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[54, 86, 96, 56], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [96, 56, 32] Generated Node #0,4: 53:[96, 56, 32] Operation: 86-54=32 Moving to Node #0,4 Current State: 53:[96, 56, 32], Operations: ['86-54=32'] Exploring Operation: 96/32=3, Resulting Numbers: [56, 3] Generated Node #0,4,0: 53:[56, 3] Operation: 96/32=3 Moving to Node #0,4,0 Current State: 53:[56, 3], Operations: ['86-54=32', '96/32=3'] Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.91059
hs_5
mult_heuristic
[ 32, 6, 29, 16 ]
78
[ "32-29=3", "16-3=13", "6*13=78" ]
Current State: 78:[32, 6, 29, 16], Operations: [] Exploring Operation: 32-29=3, Resulting Numbers: [6, 16, 3] Generated Node #2: [6, 16, 3] from Operation: 32-29=3 Current State: 78:[6, 16, 3], Operations: ['32-29=3'] Exploring Operation: 16-3=13, Resulting Numbers: [6, 13] Generated Node #3: [6, 13] from Operation: 16-3=13 Current State: 78:[6, 13], Operations: ['32-29=3', '16-3=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[32, 6, 29, 16], Operations: [] Exploring Operation: 32-29=3, Resulting Numbers: [6, 16, 3] Generated Node #0,0: 78:[6, 16, 3] Operation: 32-29=3 Exploring Operation: 32-6=26, Resulting Numbers: [29, 16, 26] Generated Node #0,1: 78:[29, 16, 26] Operation: 32-6=26 Exploring Operation: 32/16=2, Resulting Numbers: [6, 29, 2] Generated Node #0,2: 78:[6, 29, 2] Operation: 32/16=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[6, 16, 3], Operations: ['32-29=3'] Exploring Operation: 16-6=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 78:[3, 10] Operation: 16-6=10 Exploring Operation: 6-3=3, Resulting Numbers: [16, 3] Generated Node #0,0,1: 78:[16, 3] Operation: 6-3=3 Exploring Operation: 16-3=13, Resulting Numbers: [6, 13] Generated Node #0,0,2: 78:[6, 13] Operation: 16-3=13 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[6, 13], Operations: ['32-29=3', '16-3=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[32, 6, 29, 16], Operations: [] Exploring Operation: 32-29=3, Resulting Numbers: [6, 16, 3] Generated Node #0,0: 78:[6, 16, 3] Operation: 32-29=3 Moving to Node #0,0 Current State: 78:[6, 16, 3], Operations: ['32-29=3'] Exploring Operation: 16-3=13, Resulting Numbers: [6, 13] Generated Node #0,0,2: 78:[6, 13] Operation: 16-3=13 Moving to Node #0,0,2 Current State: 78:[6, 13], Operations: ['32-29=3', '16-3=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 85, 63, 55, 24 ]
88
[ "63-55=8", "24/8=3", "85+3=88" ]
Current State: 88:[85, 63, 55, 24], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [85, 24, 8] Generated Node #2: [85, 24, 8] from Operation: 63-55=8 Current State: 88:[85, 24, 8], Operations: ['63-55=8'] Exploring Operation: 24/8=3, Resulting Numbers: [85, 3] Generated Node #3: [85, 3] from Operation: 24/8=3 Current State: 88:[85, 3], Operations: ['63-55=8', '24/8=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[85, 63, 55, 24], Operations: [] Exploring Operation: 63-24=39, Resulting Numbers: [85, 55, 39] Generated Node #0,0: 88:[85, 55, 39] Operation: 63-24=39 Exploring Operation: 63+24=87, Resulting Numbers: [85, 55, 87] Generated Node #0,1: 88:[85, 55, 87] Operation: 63+24=87 Exploring Operation: 85-55=30, Resulting Numbers: [63, 24, 30] Generated Node #0,2: 88:[63, 24, 30] Operation: 85-55=30 Exploring Operation: 85-63=22, Resulting Numbers: [55, 24, 22] Generated Node #0,3: 88:[55, 24, 22] Operation: 85-63=22 Exploring Operation: 63-55=8, Resulting Numbers: [85, 24, 8] Generated Node #0,4: 88:[85, 24, 8] Operation: 63-55=8 Start Sub Search at level 1: Moving to Node #0,4 Current State: 88:[85, 24, 8], Operations: ['63-55=8'] Exploring Operation: 24-8=16, Resulting Numbers: [85, 16] Generated Node #0,4,0: 88:[85, 16] Operation: 24-8=16 Exploring Operation: 24+8=32, Resulting Numbers: [85, 32] Generated Node #0,4,1: 88:[85, 32] Operation: 24+8=32 Exploring Operation: 24/8=3, Resulting Numbers: [85, 3] Generated Node #0,4,2: 88:[85, 3] Operation: 24/8=3 Exploring Operation: 85+8=93, Resulting Numbers: [24, 93] Generated Node #0,4,3: 88:[24, 93] Operation: 85+8=93 Exploring Operation: 85-8=77, Resulting Numbers: [24, 77] Generated Node #0,4,4: 88:[24, 77] Operation: 85-8=77 Moving to Node #0,4,2 Current State: 88:[85, 3], Operations: ['63-55=8', '24/8=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[85, 63, 55, 24], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [85, 24, 8] Generated Node #0,4: 88:[85, 24, 8] Operation: 63-55=8 Moving to Node #0,4 Current State: 88:[85, 24, 8], Operations: ['63-55=8'] Exploring Operation: 24/8=3, Resulting Numbers: [85, 3] Generated Node #0,4,2: 88:[85, 3] Operation: 24/8=3 Moving to Node #0,4,2 Current State: 88:[85, 3], Operations: ['63-55=8', '24/8=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 38, 11, 41, 54 ]
29
[ "41-38=3", "54/3=18", "11+18=29" ]
Current State: 29:[38, 11, 41, 54], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [11, 54, 3] Generated Node #2: [11, 54, 3] from Operation: 41-38=3 Current State: 29:[11, 54, 3], Operations: ['41-38=3'] Exploring Operation: 54/3=18, Resulting Numbers: [11, 18] Generated Node #3: [11, 18] from Operation: 54/3=18 Current State: 29:[11, 18], Operations: ['41-38=3', '54/3=18'] Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[38, 11, 41, 54], Operations: [] Exploring Operation: 41-11=30, Resulting Numbers: [38, 54, 30] Generated Node #0,0: 29:[38, 54, 30] Operation: 41-11=30 Exploring Operation: 38-11=27, Resulting Numbers: [41, 54, 27] Generated Node #0,1: 29:[41, 54, 27] Operation: 38-11=27 Exploring Operation: 54-11=43, Resulting Numbers: [38, 41, 43] Generated Node #0,2: 29:[38, 41, 43] Operation: 54-11=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[38, 54, 30], Operations: ['41-11=30'] Exploring Operation: 38-30=8, Resulting Numbers: [54, 8] Generated Node #0,0,0: 29:[54, 8] Operation: 38-30=8 Exploring Operation: 54-38=16, Resulting Numbers: [30, 16] Generated Node #0,0,1: 29:[30, 16] Operation: 54-38=16 Exploring Operation: 54-30=24, Resulting Numbers: [38, 24] Generated Node #0,0,2: 29:[38, 24] Operation: 54-30=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[30, 16], Operations: ['41-11=30', '54-38=16'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,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:[38, 24], Operations: ['41-11=30', '54-30=24'] Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,29 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,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:[54, 8], Operations: ['41-11=30', '38-30=8'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,29 unequal: No Solution Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,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,2 Current State: 29:[38, 41, 43], Operations: ['54-11=43'] Exploring Operation: 41-38=3, Resulting Numbers: [43, 3] Generated Node #0,2,0: 29:[43, 3] Operation: 41-38=3 Exploring Operation: 43-38=5, Resulting Numbers: [41, 5] Generated Node #0,2,1: 29:[41, 5] Operation: 43-38=5 Exploring Operation: 43-41=2, Resulting Numbers: [38, 2] Generated Node #0,2,2: 29:[38, 2] Operation: 43-41=2 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 29:[41, 5], Operations: ['54-11=43', '43-38=5'] Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 41*5=205, Resulting Numbers: [205] 205,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,2,2 Current State: 29:[38, 2], Operations: ['54-11=43', '43-41=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,29 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,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,2,0 Current State: 29:[43, 3], Operations: ['54-11=43', '41-38=3'] Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,29 unequal: No Solution Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,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,1 Current State: 29:[41, 54, 27], Operations: ['38-11=27'] Exploring Operation: 54-41=13, Resulting Numbers: [27, 13] Generated Node #0,1,0: 29:[27, 13] Operation: 54-41=13 Exploring Operation: 54-27=27, Resulting Numbers: [41, 27] Generated Node #0,1,1: 29:[41, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [41, 2] Generated Node #0,1,2: 29:[41, 2] Operation: 54/27=2 Moving to Node #0,1,1 Current State: 29:[41, 27], Operations: ['38-11=27', '54-27=27'] Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,29 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[27, 13], Operations: ['38-11=27', '54-41=13'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[41, 2], Operations: ['38-11=27', '54/27=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,29 unequal: No Solution Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,29 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,29 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
[ 59, 32, 11, 87 ]
47
[ "32*87=2784", "2784-11=2773", "2773/59=47" ]
Current State: 47:[59, 32, 11, 87], Operations: [] Exploring Operation: 32*87=2784, Resulting Numbers: [59, 11, 2784] Generated Node #2: [59, 11, 2784] from Operation: 32*87=2784 Current State: 47:[59, 11, 2784], Operations: ['32*87=2784'] Exploring Operation: 2784-11=2773, Resulting Numbers: [59, 2773] Generated Node #3: [59, 2773] from Operation: 2784-11=2773 Current State: 47:[59, 2773], Operations: ['32*87=2784', '2784-11=2773'] Exploring Operation: 2773/59=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[59, 32, 11, 87], Operations: [] Exploring Operation: 87-32=55, Resulting Numbers: [59, 11, 55] Generated Node #0,0: 47:[59, 11, 55] Operation: 87-32=55 Exploring Operation: 59-11=48, Resulting Numbers: [32, 87, 48] Generated Node #0,1: 47:[32, 87, 48] Operation: 59-11=48 Exploring Operation: 32+11=43, Resulting Numbers: [59, 87, 43] Generated Node #0,2: 47:[59, 87, 43] Operation: 32+11=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[59, 11, 55], Operations: ['87-32=55'] Exploring Operation: 55-11=44, Resulting Numbers: [59, 44] Generated Node #0,0,0: 47:[59, 44] Operation: 55-11=44 Exploring Operation: 59+11=70, Resulting Numbers: [55, 70] Generated Node #0,0,1: 47:[55, 70] Operation: 59+11=70 Exploring Operation: 59-11=48, Resulting Numbers: [55, 48] Generated Node #0,0,2: 47:[55, 48] Operation: 59-11=48 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[55, 48], Operations: ['87-32=55', '59-11=48'] Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,47 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,47 unequal: No Solution Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[59, 44], Operations: ['87-32=55', '55-11=44'] Exploring Operation: 59*44=2596, Resulting Numbers: [2596] 2596,47 unequal: No Solution Exploring Operation: 59+44=103, Resulting Numbers: [103] 103,47 unequal: No Solution Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[55, 70], Operations: ['87-32=55', '59+11=70'] Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 55+70=125, Resulting Numbers: [125] 125,47 unequal: No Solution Exploring Operation: 55*70=3850, Resulting Numbers: [3850] 3850,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[32, 87, 48], Operations: ['59-11=48'] Exploring Operation: 87-32=55, Resulting Numbers: [48, 55] Generated Node #0,1,0: 47:[48, 55] Operation: 87-32=55 Exploring Operation: 87-48=39, Resulting Numbers: [32, 39] Generated Node #0,1,1: 47:[32, 39] Operation: 87-48=39 Exploring Operation: 48-32=16, Resulting Numbers: [87, 16] Generated Node #0,1,2: 47:[87, 16] Operation: 48-32=16 Moving to Node #0,1,0 Current State: 47:[48, 55], Operations: ['59-11=48', '87-32=55'] Exploring Operation: 48+55=103, Resulting Numbers: [103] 103,47 unequal: No Solution Exploring Operation: 48*55=2640, Resulting Numbers: [2640] 2640,47 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[32, 39], Operations: ['59-11=48', '87-48=39'] Exploring Operation: 32*39=1248, Resulting Numbers: [1248] 1248,47 unequal: No Solution Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[87, 16], Operations: ['59-11=48', '48-32=16'] Exploring Operation: 87*16=1392, Resulting Numbers: [1392] 1392,47 unequal: No Solution Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 87+16=103, Resulting Numbers: [103] 103,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[59, 87, 43], Operations: ['32+11=43'] Exploring Operation: 87-59=28, Resulting Numbers: [43, 28] Generated Node #0,2,0: 47:[43, 28] Operation: 87-59=28 Exploring Operation: 87-43=44, Resulting Numbers: [59, 44] Generated Node #0,2,1: 47:[59, 44] Operation: 87-43=44 Exploring Operation: 59-43=16, Resulting Numbers: [87, 16] Generated Node #0,2,2: 47:[87, 16] Operation: 59-43=16 Moving to Node #0,2,1 Current State: 47:[59, 44], Operations: ['32+11=43', '87-43=44'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 59*44=2596, Resulting Numbers: [2596] 2596,47 unequal: No Solution Exploring Operation: 59+44=103, Resulting Numbers: [103] 103,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[43, 28], Operations: ['32+11=43', '87-59=28'] Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,47 unequal: No Solution Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[87, 16], Operations: ['32+11=43', '59-43=16'] Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 87*16=1392, Resulting Numbers: [1392] 1392,47 unequal: No Solution Exploring Operation: 87+16=103, Resulting Numbers: [103] 103,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 27, 71, 51, 37 ]
47
[ "71+37=108", "108/27=4", "51-4=47" ]
Current State: 47:[27, 71, 51, 37], Operations: [] Exploring Operation: 71+37=108, Resulting Numbers: [27, 51, 108] Generated Node #2: [27, 51, 108] from Operation: 71+37=108 Current State: 47:[27, 51, 108], Operations: ['71+37=108'] Exploring Operation: 108/27=4, Resulting Numbers: [51, 4] Generated Node #3: [51, 4] from Operation: 108/27=4 Current State: 47:[51, 4], Operations: ['71+37=108', '108/27=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[27, 71, 51, 37], Operations: [] Exploring Operation: 71-37=34, Resulting Numbers: [27, 51, 34] Generated Node #0,0: 47:[27, 51, 34] Operation: 71-37=34 Exploring Operation: 71-27=44, Resulting Numbers: [51, 37, 44] Generated Node #0,1: 47:[51, 37, 44] Operation: 71-27=44 Exploring Operation: 27+37=64, Resulting Numbers: [71, 51, 64] Generated Node #0,2: 47:[71, 51, 64] Operation: 27+37=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[51, 37, 44], Operations: ['71-27=44'] Exploring Operation: 51+37=88, Resulting Numbers: [44, 88] Generated Node #0,1,0: 47:[44, 88] Operation: 51+37=88 Exploring Operation: 37+44=81, Resulting Numbers: [51, 81] Generated Node #0,1,1: 47:[51, 81] Operation: 37+44=81 Exploring Operation: 51-37=14, Resulting Numbers: [44, 14] Generated Node #0,1,2: 47:[44, 14] Operation: 51-37=14 Moving to Node #0,1,2 Current State: 47:[44, 14], Operations: ['71-27=44', '51-37=14'] Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,47 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[51, 81], Operations: ['71-27=44', '37+44=81'] Exploring Operation: 51+81=132, Resulting Numbers: [132] 132,47 unequal: No Solution Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 51*81=4131, Resulting Numbers: [4131] 4131,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[44, 88], Operations: ['71-27=44', '51+37=88'] Exploring Operation: 44+88=132, Resulting Numbers: [132] 132,47 unequal: No Solution Exploring Operation: 88/44=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 88-44=44, Resulting Numbers: [44] 44,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[27, 51, 34], Operations: ['71-37=34'] Exploring Operation: 27+34=61, Resulting Numbers: [51, 61] Generated Node #0,0,0: 47:[51, 61] Operation: 27+34=61 Exploring Operation: 27+51=78, Resulting Numbers: [34, 78] Generated Node #0,0,1: 47:[34, 78] Operation: 27+51=78 Exploring Operation: 51-27=24, Resulting Numbers: [34, 24] Generated Node #0,0,2: 47:[34, 24] Operation: 51-27=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[51, 61], Operations: ['71-37=34', '27+34=61'] Exploring Operation: 51+61=112, Resulting Numbers: [112] 112,47 unequal: No Solution Exploring Operation: 51*61=3111, Resulting Numbers: [3111] 3111,47 unequal: No Solution Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[34, 24], Operations: ['71-37=34', '51-27=24'] Exploring Operation: 34+24=58, Resulting Numbers: [58] 58,47 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 34*24=816, Resulting Numbers: [816] 816,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[34, 78], Operations: ['71-37=34', '27+51=78'] Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 34+78=112, Resulting Numbers: [112] 112,47 unequal: No Solution Exploring Operation: 34*78=2652, Resulting Numbers: [2652] 2652,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[71, 51, 64], Operations: ['27+37=64'] Exploring Operation: 64-51=13, Resulting Numbers: [71, 13] Generated Node #0,2,0: 47:[71, 13] Operation: 64-51=13 Exploring Operation: 71-64=7, Resulting Numbers: [51, 7] Generated Node #0,2,1: 47:[51, 7] Operation: 71-64=7 Exploring Operation: 71-51=20, Resulting Numbers: [64, 20] Generated Node #0,2,2: 47:[64, 20] Operation: 71-51=20 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[51, 7], Operations: ['27+37=64', '71-64=7'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 51*7=357, Resulting Numbers: [357] 357,47 unequal: No Solution Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[64, 20], Operations: ['27+37=64', '71-51=20'] Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,47 unequal: No Solution Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,47 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[71, 13], Operations: ['27+37=64', '64-51=13'] Exploring Operation: 71+13=84, Resulting Numbers: [84] 84,47 unequal: No Solution Exploring Operation: 71-13=58, Resulting Numbers: [58] 58,47 unequal: No Solution Exploring Operation: 71*13=923, Resulting Numbers: [923] 923,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 2, 93, 94, 27 ]
56
[ "94-93=1", "27+1=28", "2*28=56" ]
Current State: 56:[2, 93, 94, 27], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [2, 27, 1] Generated Node #2: [2, 27, 1] from Operation: 94-93=1 Current State: 56:[2, 27, 1], Operations: ['94-93=1'] Exploring Operation: 27+1=28, Resulting Numbers: [2, 28] Generated Node #3: [2, 28] from Operation: 27+1=28 Current State: 56:[2, 28], Operations: ['94-93=1', '27+1=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[2, 93, 94, 27], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [2, 94, 66] Generated Node #0,0: 56:[2, 94, 66] Operation: 93-27=66 Exploring Operation: 94/2=47, Resulting Numbers: [93, 27, 47] Generated Node #0,1: 56:[93, 27, 47] Operation: 94/2=47 Exploring Operation: 94-27=67, Resulting Numbers: [2, 93, 67] Generated Node #0,2: 56:[2, 93, 67] Operation: 94-27=67 Exploring Operation: 94-93=1, Resulting Numbers: [2, 27, 1] Generated Node #0,3: 56:[2, 27, 1] Operation: 94-93=1 Moving to Node #0,3 Current State: 56:[2, 27, 1], Operations: ['94-93=1'] Exploring Operation: 27+1=28, Resulting Numbers: [2, 28] Generated Node #0,3,0: 56:[2, 28] Operation: 27+1=28 Exploring Operation: 2*1=2, Resulting Numbers: [27, 2] Generated Node #0,3,1: 56:[27, 2] Operation: 2*1=2 Exploring Operation: 27*1=27, Resulting Numbers: [2, 27] Generated Node #0,3,2: 56:[2, 27] Operation: 27*1=27 Exploring Operation: 2/1=2, Resulting Numbers: [27, 2] Generated Node #0,3,3: 56:[27, 2] Operation: 2/1=2 Moving to Node #0,1 Current State: 56:[93, 27, 47], Operations: ['94/2=47'] Exploring Operation: 47-27=20, Resulting Numbers: [93, 20] Generated Node #0,1,0: 56:[93, 20] Operation: 47-27=20 Exploring Operation: 27+47=74, Resulting Numbers: [93, 74] Generated Node #0,1,1: 56:[93, 74] Operation: 27+47=74 Exploring Operation: 93-47=46, Resulting Numbers: [27, 46] Generated Node #0,1,2: 56:[27, 46] Operation: 93-47=46 Exploring Operation: 93-27=66, Resulting Numbers: [47, 66] Generated Node #0,1,3: 56:[47, 66] Operation: 93-27=66 Moving to Node #0,2 Current State: 56:[2, 93, 67], Operations: ['94-27=67'] Exploring Operation: 2+93=95, Resulting Numbers: [67, 95] Generated Node #0,2,0: 56:[67, 95] Operation: 2+93=95 Exploring Operation: 93-67=26, Resulting Numbers: [2, 26] Generated Node #0,2,1: 56:[2, 26] Operation: 93-67=26 Exploring Operation: 93-2=91, Resulting Numbers: [67, 91] Generated Node #0,2,2: 56:[67, 91] Operation: 93-2=91 Exploring Operation: 67-2=65, Resulting Numbers: [93, 65] Generated Node #0,2,3: 56:[93, 65] Operation: 67-2=65 Moving to Node #0,0 Current State: 56:[2, 94, 66], Operations: ['93-27=66'] Exploring Operation: 94-66=28, Resulting Numbers: [2, 28] Generated Node #0,0,0: 56:[2, 28] Operation: 94-66=28 Exploring Operation: 66/2=33, Resulting Numbers: [94, 33] Generated Node #0,0,1: 56:[94, 33] Operation: 66/2=33 Exploring Operation: 94-2=92, Resulting Numbers: [66, 92] Generated Node #0,0,2: 56:[66, 92] Operation: 94-2=92 Exploring Operation: 94/2=47, Resulting Numbers: [66, 47] Generated Node #0,0,3: 56:[66, 47] Operation: 94/2=47 Moving to Node #0,3,0 Current State: 56:[2, 28], Operations: ['94-93=1', '27+1=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[2, 93, 94, 27], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [2, 27, 1] Generated Node #0,3: 56:[2, 27, 1] Operation: 94-93=1 Moving to Node #0,3 Current State: 56:[2, 27, 1], Operations: ['94-93=1'] Exploring Operation: 27+1=28, Resulting Numbers: [2, 28] Generated Node #0,3,0: 56:[2, 28] Operation: 27+1=28 Moving to Node #0,3,0 Current State: 56:[2, 28], Operations: ['94-93=1', '27+1=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.975694
hs_4
mult_heuristic
[ 11, 5, 50, 12 ]
99
[ "50-11=39", "5*12=60", "39+60=99" ]
Current State: 99:[11, 5, 50, 12], Operations: [] Exploring Operation: 50-11=39, Resulting Numbers: [5, 12, 39] Generated Node #2: [5, 12, 39] from Operation: 50-11=39 Current State: 99:[5, 12, 39], Operations: ['50-11=39'] Exploring Operation: 5*12=60, Resulting Numbers: [39, 60] Generated Node #3: [39, 60] from Operation: 5*12=60 Current State: 99:[39, 60], Operations: ['50-11=39', '5*12=60'] Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[11, 5, 50, 12], Operations: [] Exploring Operation: 50/5=10, Resulting Numbers: [11, 12, 10] Generated Node #0,0: 99:[11, 12, 10] Operation: 50/5=10 Moving to Node #0,0 Current State: 99:[11, 12, 10], Operations: ['50/5=10'] Exploring Operation: 12-10=2, Resulting Numbers: [11, 2] Generated Node #0,0,0: 99:[11, 2] Operation: 12-10=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[11, 2], Operations: ['50/5=10', '12-10=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 2, 79, 76, 80 ]
78
[ "2+76=78", "80-79=1", "78*1=78" ]
Current State: 78:[2, 79, 76, 80], Operations: [] Exploring Operation: 2+76=78, Resulting Numbers: [79, 80, 78] Generated Node #2: [79, 80, 78] from Operation: 2+76=78 Current State: 78:[79, 80, 78], Operations: ['2+76=78'] Exploring Operation: 80-79=1, Resulting Numbers: [78, 1] Generated Node #3: [78, 1] from Operation: 80-79=1 Current State: 78:[78, 1], Operations: ['2+76=78', '80-79=1'] Exploring Operation: 78*1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[2, 79, 76, 80], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [2, 80, 3] Generated Node #0,0: 78:[2, 80, 3] Operation: 79-76=3 Exploring Operation: 80-76=4, Resulting Numbers: [2, 79, 4] Generated Node #0,1: 78:[2, 79, 4] Operation: 80-76=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[2, 80, 3], Operations: ['79-76=3'] Exploring Operation: 80/2=40, Resulting Numbers: [3, 40] Generated Node #0,0,0: 78:[3, 40] Operation: 80/2=40 Exploring Operation: 80-2=78, Resulting Numbers: [3, 78] Generated Node #0,0,1: 78:[3, 78] Operation: 80-2=78 Moving to Node #0,0,1 Current State: 78:[3, 78], Operations: ['79-76=3', '80-2=78'] Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,78 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[3, 40], Operations: ['79-76=3', '80/2=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,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 Current State: 78:[2, 79, 4], Operations: ['80-76=4'] Exploring Operation: 2+4=6, Resulting Numbers: [79, 6] Generated Node #0,1,0: 78:[79, 6] Operation: 2+4=6 Exploring Operation: 4-2=2, Resulting Numbers: [79, 2] Generated Node #0,1,1: 78:[79, 2] Operation: 4-2=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[79, 6], Operations: ['80-76=4', '2+4=6'] Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,78 unequal: No Solution Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,78 unequal: No Solution No 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: 78:[79, 2], Operations: ['80-76=4', '4-2=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,78 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,78 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
[ 42, 11, 88, 98 ]
41
[ "42-11=31", "98-88=10", "31+10=41" ]
Current State: 41:[42, 11, 88, 98], Operations: [] Exploring Operation: 42-11=31, Resulting Numbers: [88, 98, 31] Generated Node #2: [88, 98, 31] from Operation: 42-11=31 Current State: 41:[88, 98, 31], Operations: ['42-11=31'] Exploring Operation: 98-88=10, Resulting Numbers: [31, 10] Generated Node #3: [31, 10] from Operation: 98-88=10 Current State: 41:[31, 10], Operations: ['42-11=31', '98-88=10'] Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[42, 11, 88, 98], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [42, 98, 8] Generated Node #0,0: 41:[42, 98, 8] Operation: 88/11=8 Exploring Operation: 88-42=46, Resulting Numbers: [11, 98, 46] Generated Node #0,1: 41:[11, 98, 46] Operation: 88-42=46 Exploring Operation: 98-88=10, Resulting Numbers: [42, 11, 10] Generated Node #0,2: 41:[42, 11, 10] Operation: 98-88=10 Exploring Operation: 98-42=56, Resulting Numbers: [11, 88, 56] Generated Node #0,3: 41:[11, 88, 56] Operation: 98-42=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[42, 11, 10], Operations: ['98-88=10'] Exploring Operation: 42-11=31, Resulting Numbers: [10, 31] Generated Node #0,2,0: 41:[10, 31] Operation: 42-11=31 Exploring Operation: 42-10=32, Resulting Numbers: [11, 32] Generated Node #0,2,1: 41:[11, 32] Operation: 42-10=32 Exploring Operation: 42+10=52, Resulting Numbers: [11, 52] Generated Node #0,2,2: 41:[11, 52] Operation: 42+10=52 Exploring Operation: 11+10=21, Resulting Numbers: [42, 21] Generated Node #0,2,3: 41:[42, 21] Operation: 11+10=21 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 41:[42, 21], Operations: ['98-88=10', '11+10=21'] Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 42*21=882, Resulting Numbers: [882] 882,41 unequal: No Solution Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 41:[11, 32], Operations: ['98-88=10', '42-10=32'] Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 11*32=352, Resulting Numbers: [352] 352,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[10, 31], Operations: ['98-88=10', '42-11=31'] Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,41 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[42, 11, 88, 98], Operations: [] Exploring Operation: 98-88=10, Resulting Numbers: [42, 11, 10] Generated Node #0,2: 41:[42, 11, 10] Operation: 98-88=10 Moving to Node #0,2 Current State: 41:[42, 11, 10], Operations: ['98-88=10'] Exploring Operation: 42-11=31, Resulting Numbers: [10, 31] Generated Node #0,2,0: 41:[10, 31] Operation: 42-11=31 Moving to Node #0,2,0 Current State: 41:[10, 31], Operations: ['98-88=10', '42-11=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 43, 33, 97, 32 ]
41
[ "97-33=64", "64/32=2", "43-2=41" ]
Current State: 41:[43, 33, 97, 32], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [43, 32, 64] Generated Node #2: [43, 32, 64] from Operation: 97-33=64 Current State: 41:[43, 32, 64], Operations: ['97-33=64'] Exploring Operation: 64/32=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 64/32=2 Current State: 41:[43, 2], Operations: ['97-33=64', '64/32=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[43, 33, 97, 32], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [43, 32, 64] Generated Node #0,0: 41:[43, 32, 64] Operation: 97-33=64 Exploring Operation: 33+32=65, Resulting Numbers: [43, 97, 65] Generated Node #0,1: 41:[43, 97, 65] Operation: 33+32=65 Exploring Operation: 97-43=54, Resulting Numbers: [33, 32, 54] Generated Node #0,2: 41:[33, 32, 54] Operation: 97-43=54 Exploring Operation: 97-32=65, Resulting Numbers: [43, 33, 65] Generated Node #0,3: 41:[43, 33, 65] Operation: 97-32=65 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[33, 32, 54], Operations: ['97-43=54'] Exploring Operation: 33-32=1, Resulting Numbers: [54, 1] Generated Node #0,2,0: 41:[54, 1] Operation: 33-32=1 Exploring Operation: 54-33=21, Resulting Numbers: [32, 21] Generated Node #0,2,1: 41:[32, 21] Operation: 54-33=21 Exploring Operation: 54-32=22, Resulting Numbers: [33, 22] Generated Node #0,2,2: 41:[33, 22] Operation: 54-32=22 Exploring Operation: 33+32=65, Resulting Numbers: [54, 65] Generated Node #0,2,3: 41:[54, 65] Operation: 33+32=65 Moving to Node #0,2,2 Current State: 41:[33, 22], Operations: ['97-43=54', '54-32=22'] Exploring Operation: 33*22=726, Resulting Numbers: [726] 726,41 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[32, 21], Operations: ['97-43=54', '54-33=21'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[54, 65], Operations: ['97-43=54', '33+32=65'] Exploring Operation: 54*65=3510, Resulting Numbers: [3510] 3510,41 unequal: No Solution Exploring Operation: 54+65=119, Resulting Numbers: [119] 119,41 unequal: No Solution Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[54, 1], Operations: ['97-43=54', '33-32=1'] Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[43, 32, 64], Operations: ['97-33=64'] Exploring Operation: 64-43=21, Resulting Numbers: [32, 21] Generated Node #0,0,0: 41:[32, 21] Operation: 64-43=21 Exploring Operation: 64-32=32, Resulting Numbers: [43, 32] Generated Node #0,0,1: 41:[43, 32] Operation: 64-32=32 Exploring Operation: 64/32=2, Resulting Numbers: [43, 2] Generated Node #0,0,2: 41:[43, 2] Operation: 64/32=2 Exploring Operation: 43-32=11, Resulting Numbers: [64, 11] Generated Node #0,0,3: 41:[64, 11] Operation: 43-32=11 Moving to Node #0,0,1 Current State: 41:[43, 32], Operations: ['97-33=64', '64-32=32'] 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 Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[32, 21], Operations: ['97-33=64', '64-43=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,41 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[43, 2], Operations: ['97-33=64', '64/32=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,41 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,41 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[43, 33, 97, 32], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [43, 32, 64] Generated Node #0,0: 41:[43, 32, 64] Operation: 97-33=64 Moving to Node #0,0 Current State: 41:[43, 32, 64], Operations: ['97-33=64'] Exploring Operation: 64/32=2, Resulting Numbers: [43, 2] Generated Node #0,0,2: 41:[43, 2] Operation: 64/32=2 Moving to Node #0,0,2 Current State: 41:[43, 2], Operations: ['97-33=64', '64/32=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
mult_heuristic
[ 20, 23, 86, 88 ]
17
[ "88-86=2", "20*2=40", "40-23=17" ]
Current State: 17:[20, 23, 86, 88], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [20, 23, 2] Generated Node #2: [20, 23, 2] from Operation: 88-86=2 Current State: 17:[20, 23, 2], Operations: ['88-86=2'] Exploring Operation: 20*2=40, Resulting Numbers: [23, 40] Generated Node #3: [23, 40] from Operation: 20*2=40 Current State: 17:[23, 40], Operations: ['88-86=2', '20*2=40'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[20, 23, 86, 88], Operations: [] Exploring Operation: 86-23=63, Resulting Numbers: [20, 88, 63] Generated Node #0,0: 17:[20, 88, 63] Operation: 86-23=63 Exploring Operation: 88-86=2, Resulting Numbers: [20, 23, 2] Generated Node #0,1: 17:[20, 23, 2] Operation: 88-86=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[20, 23, 2], Operations: ['88-86=2'] Exploring Operation: 20-2=18, Resulting Numbers: [23, 18] Generated Node #0,1,0: 17:[23, 18] Operation: 20-2=18 Exploring Operation: 23-2=21, Resulting Numbers: [20, 21] Generated Node #0,1,1: 17:[20, 21] Operation: 23-2=21 Moving to Node #0,1,0 Current State: 17:[23, 18], Operations: ['88-86=2', '20-2=18'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[20, 21], Operations: ['88-86=2', '23-2=21'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[20, 88, 63], Operations: ['86-23=63'] Exploring Operation: 88-20=68, Resulting Numbers: [63, 68] Generated Node #0,0,0: 17:[63, 68] Operation: 88-20=68 Exploring Operation: 88-63=25, Resulting Numbers: [20, 25] Generated Node #0,0,1: 17:[20, 25] Operation: 88-63=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[20, 25], Operations: ['86-23=63', '88-63=25'] Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[63, 68], Operations: ['86-23=63', '88-20=68'] Exploring Operation: 63+68=131, Resulting Numbers: [131] 131,17 unequal: No Solution Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,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_2
sum_heuristic
[ 2, 54, 73, 5 ]
25
[ "54-2=52", "73+52=125", "125/5=25" ]
Current State: 25:[2, 54, 73, 5], Operations: [] Exploring Operation: 54-2=52, Resulting Numbers: [73, 5, 52] Generated Node #2: [73, 5, 52] from Operation: 54-2=52 Current State: 25:[73, 5, 52], Operations: ['54-2=52'] Exploring Operation: 73+52=125, Resulting Numbers: [5, 125] Generated Node #3: [5, 125] from Operation: 73+52=125 Current State: 25:[5, 125], Operations: ['54-2=52', '73+52=125'] Exploring Operation: 125/5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[2, 54, 73, 5], Operations: [] Exploring Operation: 73-54=19, Resulting Numbers: [2, 5, 19] Generated Node #0,0: 25:[2, 5, 19] Operation: 73-54=19 Exploring Operation: 54-2=52, Resulting Numbers: [73, 5, 52] Generated Node #0,1: 25:[73, 5, 52] Operation: 54-2=52 Exploring Operation: 54-5=49, Resulting Numbers: [2, 73, 49] Generated Node #0,2: 25:[2, 73, 49] Operation: 54-5=49 Exploring Operation: 73-2=71, Resulting Numbers: [54, 5, 71] Generated Node #0,3: 25:[54, 5, 71] Operation: 73-2=71 Exploring Operation: 54/2=27, Resulting Numbers: [73, 5, 27] Generated Node #0,4: 25:[73, 5, 27] Operation: 54/2=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[2, 5, 19], Operations: ['73-54=19'] Exploring Operation: 5-2=3, Resulting Numbers: [19, 3] Generated Node #0,0,0: 25:[19, 3] Operation: 5-2=3 Exploring Operation: 19-2=17, Resulting Numbers: [5, 17] Generated Node #0,0,1: 25:[5, 17] Operation: 19-2=17 Exploring Operation: 2+5=7, Resulting Numbers: [19, 7] Generated Node #0,0,2: 25:[19, 7] Operation: 2+5=7 Exploring Operation: 2+19=21, Resulting Numbers: [5, 21] Generated Node #0,0,3: 25:[5, 21] Operation: 2+19=21 Exploring Operation: 5+19=24, Resulting Numbers: [2, 24] Generated Node #0,0,4: 25:[2, 24] Operation: 5+19=24 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 25:[5, 21], Operations: ['73-54=19', '2+19=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,25 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 25:[2, 24], Operations: ['73-54=19', '5+19=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[19, 3], Operations: ['73-54=19', '5-2=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[5, 17], Operations: ['73-54=19', '19-2=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 25:[19, 7], Operations: ['73-54=19', '2+5=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,25 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 25:[73, 5, 27], Operations: ['54/2=27'] Exploring Operation: 73-27=46, Resulting Numbers: [5, 46] Generated Node #0,4,0: 25:[5, 46] Operation: 73-27=46 Exploring Operation: 27-5=22, Resulting Numbers: [73, 22] Generated Node #0,4,1: 25:[73, 22] Operation: 27-5=22 Exploring Operation: 5+27=32, Resulting Numbers: [73, 32] Generated Node #0,4,2: 25:[73, 32] Operation: 5+27=32 Exploring Operation: 73-5=68, Resulting Numbers: [27, 68] Generated Node #0,4,3: 25:[27, 68] Operation: 73-5=68 Exploring Operation: 73+5=78, Resulting Numbers: [27, 78] Generated Node #0,4,4: 25:[27, 78] Operation: 73+5=78 Moving to Node #0,4,0 Current State: 25:[5, 46], Operations: ['54/2=27', '73-27=46'] Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,25 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,25 unequal: No Solution Moving to Node #0,4,3 Current State: 25:[27, 68], Operations: ['54/2=27', '73-5=68'] Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,25 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 27*68=1836, Resulting Numbers: [1836] 1836,25 unequal: No Solution Moving to Node #0,4,1 Current State: 25:[73, 22], Operations: ['54/2=27', '27-5=22'] Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 73*22=1606, Resulting Numbers: [1606] 1606,25 unequal: No Solution Exploring Operation: 73+22=95, Resulting Numbers: [95] 95,25 unequal: No Solution Moving to Node #0,4,2 Current State: 25:[73, 32], Operations: ['54/2=27', '5+27=32'] Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 73+32=105, Resulting Numbers: [105] 105,25 unequal: No Solution Exploring Operation: 73*32=2336, Resulting Numbers: [2336] 2336,25 unequal: No Solution Moving to Node #0,4,4 Current State: 25:[27, 78], Operations: ['54/2=27', '73+5=78'] Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 27+78=105, Resulting Numbers: [105] 105,25 unequal: No Solution Exploring Operation: 27*78=2106, Resulting Numbers: [2106] 2106,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[73, 5, 52], Operations: ['54-2=52'] Exploring Operation: 73-5=68, Resulting Numbers: [52, 68] Generated Node #0,1,0: 25:[52, 68] Operation: 73-5=68 Exploring Operation: 5+52=57, Resulting Numbers: [73, 57] Generated Node #0,1,1: 25:[73, 57] Operation: 5+52=57 Exploring Operation: 73+5=78, Resulting Numbers: [52, 78] Generated Node #0,1,2: 25:[52, 78] Operation: 73+5=78 Exploring Operation: 73-52=21, Resulting Numbers: [5, 21] Generated Node #0,1,3: 25:[5, 21] Operation: 73-52=21 Exploring Operation: 52-5=47, Resulting Numbers: [73, 47] Generated Node #0,1,4: 25:[73, 47] Operation: 52-5=47 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 25:[5, 21], Operations: ['54-2=52', '73-52=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[52, 68], Operations: ['54-2=52', '73-5=68'] Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 52*68=3536, Resulting Numbers: [3536] 3536,25 unequal: No Solution Exploring Operation: 52+68=120, Resulting Numbers: [120] 120,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 25:[73, 47], Operations: ['54-2=52', '52-5=47'] Exploring Operation: 73+47=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 73*47=3431, Resulting Numbers: [3431] 3431,25 unequal: No Solution Exploring Operation: 73-47=26, Resulting Numbers: [26] 26,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[73, 57], Operations: ['54-2=52', '5+52=57'] Exploring Operation: 73+57=130, Resulting Numbers: [130] 130,25 unequal: No Solution Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 73*57=4161, Resulting Numbers: [4161] 4161,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[52, 78], Operations: ['54-2=52', '73+5=78'] Exploring Operation: 52+78=130, Resulting Numbers: [130] 130,25 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 52*78=4056, Resulting Numbers: [4056] 4056,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[2, 73, 49], Operations: ['54-5=49'] Exploring Operation: 73-49=24, Resulting Numbers: [2, 24] Generated Node #0,2,0: 25:[2, 24] Operation: 73-49=24 Exploring Operation: 73-2=71, Resulting Numbers: [49, 71] Generated Node #0,2,1: 25:[49, 71] Operation: 73-2=71 Exploring Operation: 49-2=47, Resulting Numbers: [73, 47] Generated Node #0,2,2: 25:[73, 47] Operation: 49-2=47 Exploring Operation: 2+73=75, Resulting Numbers: [49, 75] Generated Node #0,2,3: 25:[49, 75] Operation: 2+73=75 Exploring Operation: 2+49=51, Resulting Numbers: [73, 51] Generated Node #0,2,4: 25:[73, 51] Operation: 2+49=51 Moving to Node #0,2,0 Current State: 25:[2, 24], Operations: ['54-5=49', '73-49=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[73, 47], Operations: ['54-5=49', '49-2=47'] Exploring Operation: 73+47=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 73-47=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 73*47=3431, Resulting Numbers: [3431] 3431,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[49, 71], Operations: ['54-5=49', '73-2=71'] Exploring Operation: 49*71=3479, Resulting Numbers: [3479] 3479,25 unequal: No Solution Exploring Operation: 49+71=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[49, 75], Operations: ['54-5=49', '2+73=75'] Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 49+75=124, Resulting Numbers: [124] 124,25 unequal: No Solution Exploring Operation: 49*75=3675, Resulting Numbers: [3675] 3675,25 unequal: No Solution Moving to Node #0,2,4 Current State: 25:[73, 51], Operations: ['54-5=49', '2+49=51'] Exploring Operation: 73*51=3723, Resulting Numbers: [3723] 3723,25 unequal: No Solution Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 73+51=124, Resulting Numbers: [124] 124,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[54, 5, 71], Operations: ['73-2=71'] Exploring Operation: 54-5=49, Resulting Numbers: [71, 49] Generated Node #0,3,0: 25:[71, 49] Operation: 54-5=49 Exploring Operation: 71-54=17, Resulting Numbers: [5, 17] Generated Node #0,3,1: 25:[5, 17] Operation: 71-54=17 Exploring Operation: 5+71=76, Resulting Numbers: [54, 76] Generated Node #0,3,2: 25:[54, 76] Operation: 5+71=76 Exploring Operation: 71-5=66, Resulting Numbers: [54, 66] Generated Node #0,3,3: 25:[54, 66] Operation: 71-5=66 Exploring Operation: 54+5=59, Resulting Numbers: [71, 59] Generated Node #0,3,4: 25:[71, 59] Operation: 54+5=59 Moving to Node #0,3,1 Current State: 25:[5, 17], Operations: ['73-2=71', '71-54=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[54, 66], Operations: ['73-2=71', '71-5=66'] Exploring Operation: 54+66=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 54*66=3564, Resulting Numbers: [3564] 3564,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[71, 49], Operations: ['73-2=71', '54-5=49'] Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 71+49=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 71*49=3479, Resulting Numbers: [3479] 3479,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[54, 76], Operations: ['73-2=71', '5+71=76'] Exploring Operation: 54*76=4104, Resulting Numbers: [4104] 4104,25 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 54+76=130, Resulting Numbers: [130] 130,25 unequal: No Solution Moving to Node #0,3,4 Current State: 25:[71, 59], Operations: ['73-2=71', '54+5=59'] Exploring Operation: 71*59=4189, Resulting Numbers: [4189] 4189,25 unequal: No Solution Exploring Operation: 71+59=130, Resulting Numbers: [130] 130,25 unequal: No Solution Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,25 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
[ 84, 90, 68, 70 ]
40
[ "84*90=7560", "7560/70=108", "108-68=40" ]
Current State: 40:[84, 90, 68, 70], Operations: [] Exploring Operation: 84*90=7560, Resulting Numbers: [68, 70, 7560] Generated Node #2: [68, 70, 7560] from Operation: 84*90=7560 Current State: 40:[68, 70, 7560], Operations: ['84*90=7560'] Exploring Operation: 7560/70=108, Resulting Numbers: [68, 108] Generated Node #3: [68, 108] from Operation: 7560/70=108 Current State: 40:[68, 108], Operations: ['84*90=7560', '7560/70=108'] Exploring Operation: 108-68=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[84, 90, 68, 70], Operations: [] Exploring Operation: 90-68=22, Resulting Numbers: [84, 70, 22] Generated Node #0,0: 40:[84, 70, 22] Operation: 90-68=22 Exploring Operation: 90-84=6, Resulting Numbers: [68, 70, 6] Generated Node #0,1: 40:[68, 70, 6] Operation: 90-84=6 Exploring Operation: 84-70=14, Resulting Numbers: [90, 68, 14] Generated Node #0,2: 40:[90, 68, 14] Operation: 84-70=14 Exploring Operation: 90-70=20, Resulting Numbers: [84, 68, 20] Generated Node #0,3: 40:[84, 68, 20] Operation: 90-70=20 Exploring Operation: 84-68=16, Resulting Numbers: [90, 70, 16] Generated Node #0,4: 40:[90, 70, 16] Operation: 84-68=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[68, 70, 6], Operations: ['90-84=6'] Exploring Operation: 70-68=2, Resulting Numbers: [6, 2] Generated Node #0,1,0: 40:[6, 2] Operation: 70-68=2 Exploring Operation: 70+6=76, Resulting Numbers: [68, 76] Generated Node #0,1,1: 40:[68, 76] Operation: 70+6=76 Exploring Operation: 68-6=62, Resulting Numbers: [70, 62] Generated Node #0,1,2: 40:[70, 62] Operation: 68-6=62 Exploring Operation: 68+6=74, Resulting Numbers: [70, 74] Generated Node #0,1,3: 40:[70, 74] Operation: 68+6=74 Exploring Operation: 70-6=64, Resulting Numbers: [68, 64] Generated Node #0,1,4: 40:[68, 64] Operation: 70-6=64 Moving to Node #0,1,0 Current State: 40:[6, 2], Operations: ['90-84=6', '70-68=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,40 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,40 unequal: No Solution Moving to Node #0,1,4 Current State: 40:[68, 64], Operations: ['90-84=6', '70-6=64'] Exploring Operation: 68+64=132, Resulting Numbers: [132] 132,40 unequal: No Solution Exploring Operation: 68-64=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 68*64=4352, Resulting Numbers: [4352] 4352,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[70, 62], Operations: ['90-84=6', '68-6=62'] Exploring Operation: 70+62=132, Resulting Numbers: [132] 132,40 unequal: No Solution Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 70*62=4340, Resulting Numbers: [4340] 4340,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[68, 76], Operations: ['90-84=6', '70+6=76'] Exploring Operation: 76-68=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 68+76=144, Resulting Numbers: [144] 144,40 unequal: No Solution Exploring Operation: 68*76=5168, Resulting Numbers: [5168] 5168,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[70, 74], Operations: ['90-84=6', '68+6=74'] Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 70*74=5180, Resulting Numbers: [5180] 5180,40 unequal: No Solution Exploring Operation: 70+74=144, Resulting Numbers: [144] 144,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 Current State: 40:[84, 68, 20], Operations: ['90-70=20'] Exploring Operation: 68+20=88, Resulting Numbers: [84, 88] Generated Node #0,3,0: 40:[84, 88] Operation: 68+20=88 Exploring Operation: 68-20=48, Resulting Numbers: [84, 48] Generated Node #0,3,1: 40:[84, 48] Operation: 68-20=48 Exploring Operation: 84-68=16, Resulting Numbers: [20, 16] Generated Node #0,3,2: 40:[20, 16] Operation: 84-68=16 Exploring Operation: 84-20=64, Resulting Numbers: [68, 64] Generated Node #0,3,3: 40:[68, 64] Operation: 84-20=64 Exploring Operation: 84+20=104, Resulting Numbers: [68, 104] Generated Node #0,3,4: 40:[68, 104] Operation: 84+20=104 Moving to Node #0,3,2 Current State: 40:[20, 16], Operations: ['90-70=20', '84-68=16'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,40 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[68, 64], Operations: ['90-70=20', '84-20=64'] Exploring Operation: 68+64=132, Resulting Numbers: [132] 132,40 unequal: No Solution Exploring Operation: 68*64=4352, Resulting Numbers: [4352] 4352,40 unequal: No Solution Exploring Operation: 68-64=4, Resulting Numbers: [4] 4,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[84, 48], Operations: ['90-70=20', '68-20=48'] Exploring Operation: 84+48=132, Resulting Numbers: [132] 132,40 unequal: No Solution Exploring Operation: 84*48=4032, Resulting Numbers: [4032] 4032,40 unequal: No Solution Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,40 unequal: No Solution Moving to Node #0,3,0 Current State: 40:[84, 88], Operations: ['90-70=20', '68+20=88'] Exploring Operation: 84+88=172, Resulting Numbers: [172] 172,40 unequal: No Solution Exploring Operation: 84*88=7392, Resulting Numbers: [7392] 7392,40 unequal: No Solution Exploring Operation: 88-84=4, Resulting Numbers: [4] 4,40 unequal: No Solution Moving to Node #0,3,4 Current State: 40:[68, 104], Operations: ['90-70=20', '84+20=104'] Exploring Operation: 68+104=172, Resulting Numbers: [172] 172,40 unequal: No Solution Exploring Operation: 104-68=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 68*104=7072, Resulting Numbers: [7072] 7072,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:[84, 70, 22], Operations: ['90-68=22'] Exploring Operation: 84-22=62, Resulting Numbers: [70, 62] Generated Node #0,0,0: 40:[70, 62] Operation: 84-22=62 Exploring Operation: 70+22=92, Resulting Numbers: [84, 92] Generated Node #0,0,1: 40:[84, 92] Operation: 70+22=92 Exploring Operation: 70-22=48, Resulting Numbers: [84, 48] Generated Node #0,0,2: 40:[84, 48] Operation: 70-22=48 Exploring Operation: 84+22=106, Resulting Numbers: [70, 106] Generated Node #0,0,3: 40:[70, 106] Operation: 84+22=106 Exploring Operation: 84-70=14, Resulting Numbers: [22, 14] Generated Node #0,0,4: 40:[22, 14] Operation: 84-70=14 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 40:[22, 14], Operations: ['90-68=22', '84-70=14'] Exploring Operation: 22*14=308, Resulting Numbers: [308] 308,40 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,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,0,0 Current State: 40:[70, 62], Operations: ['90-68=22', '84-22=62'] Exploring Operation: 70+62=132, Resulting Numbers: [132] 132,40 unequal: No Solution Exploring Operation: 70*62=4340, Resulting Numbers: [4340] 4340,40 unequal: No Solution Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,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,0,2 Current State: 40:[84, 48], Operations: ['90-68=22', '70-22=48'] Exploring Operation: 84*48=4032, Resulting Numbers: [4032] 4032,40 unequal: No Solution Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 84+48=132, Resulting Numbers: [132] 132,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,0,1 Current State: 40:[84, 92], Operations: ['90-68=22', '70+22=92'] Exploring Operation: 84+92=176, Resulting Numbers: [176] 176,40 unequal: No Solution Exploring Operation: 92-84=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 84*92=7728, Resulting Numbers: [7728] 7728,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,0,3 Current State: 40:[70, 106], Operations: ['90-68=22', '84+22=106'] Exploring Operation: 106-70=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 70+106=176, Resulting Numbers: [176] 176,40 unequal: No Solution Exploring Operation: 70*106=7420, Resulting Numbers: [7420] 7420,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[90, 68, 14], Operations: ['84-70=14'] Exploring Operation: 90+14=104, Resulting Numbers: [68, 104] Generated Node #0,2,0: 40:[68, 104] Operation: 90+14=104 Exploring Operation: 68-14=54, Resulting Numbers: [90, 54] Generated Node #0,2,1: 40:[90, 54] Operation: 68-14=54 Exploring Operation: 68+14=82, Resulting Numbers: [90, 82] Generated Node #0,2,2: 40:[90, 82] Operation: 68+14=82 Exploring Operation: 90-68=22, Resulting Numbers: [14, 22] Generated Node #0,2,3: 40:[14, 22] Operation: 90-68=22 Exploring Operation: 90-14=76, Resulting Numbers: [68, 76] Generated Node #0,2,4: 40:[68, 76] Operation: 90-14=76 Moving to Node #0,2,3 Current State: 40:[14, 22], Operations: ['84-70=14', '90-68=22'] Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,40 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,40 unequal: No Solution Moving to Node #0,2,4 Current State: 40:[68, 76], Operations: ['84-70=14', '90-14=76'] Exploring Operation: 68+76=144, Resulting Numbers: [144] 144,40 unequal: No Solution Exploring Operation: 76-68=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 68*76=5168, Resulting Numbers: [5168] 5168,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[90, 54], Operations: ['84-70=14', '68-14=54'] Exploring Operation: 90*54=4860, Resulting Numbers: [4860] 4860,40 unequal: No Solution Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 90+54=144, Resulting Numbers: [144] 144,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[68, 104], Operations: ['84-70=14', '90+14=104'] Exploring Operation: 68*104=7072, Resulting Numbers: [7072] 7072,40 unequal: No Solution Exploring Operation: 68+104=172, Resulting Numbers: [172] 172,40 unequal: No Solution Exploring Operation: 104-68=36, Resulting Numbers: [36] 36,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[90, 82], Operations: ['84-70=14', '68+14=82'] Exploring Operation: 90+82=172, Resulting Numbers: [172] 172,40 unequal: No Solution Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 90*82=7380, Resulting Numbers: [7380] 7380,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:[90, 70, 16], Operations: ['84-68=16'] Exploring Operation: 90-16=74, Resulting Numbers: [70, 74] Generated Node #0,4,0: 40:[70, 74] Operation: 90-16=74 Exploring Operation: 90-70=20, Resulting Numbers: [16, 20] Generated Node #0,4,1: 40:[16, 20] Operation: 90-70=20 Exploring Operation: 70-16=54, Resulting Numbers: [90, 54] Generated Node #0,4,2: 40:[90, 54] Operation: 70-16=54 Exploring Operation: 90+16=106, Resulting Numbers: [70, 106] Generated Node #0,4,3: 40:[70, 106] Operation: 90+16=106 Exploring Operation: 70+16=86, Resulting Numbers: [90, 86] Generated Node #0,4,4: 40:[90, 86] Operation: 70+16=86 Moving to Node #0,4,1 Current State: 40:[16, 20], Operations: ['84-68=16', '90-70=20'] Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,40 unequal: No Solution Moving to Node #0,4,2 Current State: 40:[90, 54], Operations: ['84-68=16', '70-16=54'] Exploring Operation: 90+54=144, Resulting Numbers: [144] 144,40 unequal: No Solution Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 90*54=4860, Resulting Numbers: [4860] 4860,40 unequal: No Solution Moving to Node #0,4,0 Current State: 40:[70, 74], Operations: ['84-68=16', '90-16=74'] Exploring Operation: 70+74=144, Resulting Numbers: [144] 144,40 unequal: No Solution Exploring Operation: 70*74=5180, Resulting Numbers: [5180] 5180,40 unequal: No Solution Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,40 unequal: No Solution Moving to Node #0,4,3 Current State: 40:[70, 106], Operations: ['84-68=16', '90+16=106'] Exploring Operation: 106-70=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 70+106=176, Resulting Numbers: [176] 176,40 unequal: No Solution Exploring Operation: 70*106=7420, Resulting Numbers: [7420] 7420,40 unequal: No Solution Moving to Node #0,4,4 Current State: 40:[90, 86], Operations: ['84-68=16', '70+16=86'] Exploring Operation: 90*86=7740, Resulting Numbers: [7740] 7740,40 unequal: No Solution Exploring Operation: 90+86=176, Resulting Numbers: [176] 176,40 unequal: No Solution Exploring Operation: 90-86=4, Resulting Numbers: [4] 4,40 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
[ 56, 30, 38, 7 ]
71
[ "56-30=26", "38+7=45", "26+45=71" ]
Current State: 71:[56, 30, 38, 7], Operations: [] Exploring Operation: 56-30=26, Resulting Numbers: [38, 7, 26] Generated Node #2: [38, 7, 26] from Operation: 56-30=26 Current State: 71:[38, 7, 26], Operations: ['56-30=26'] Exploring Operation: 38+7=45, Resulting Numbers: [26, 45] Generated Node #3: [26, 45] from Operation: 38+7=45 Current State: 71:[26, 45], Operations: ['56-30=26', '38+7=45'] Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[56, 30, 38, 7], Operations: [] Exploring Operation: 30+38=68, Resulting Numbers: [56, 7, 68] Generated Node #0,0: 71:[56, 7, 68] Operation: 30+38=68 Exploring Operation: 56+7=63, Resulting Numbers: [30, 38, 63] Generated Node #0,1: 71:[30, 38, 63] Operation: 56+7=63 Exploring Operation: 30+7=37, Resulting Numbers: [56, 38, 37] Generated Node #0,2: 71:[56, 38, 37] Operation: 30+7=37 Exploring Operation: 38+7=45, Resulting Numbers: [56, 30, 45] Generated Node #0,3: 71:[56, 30, 45] Operation: 38+7=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[56, 7, 68], Operations: ['30+38=68'] Exploring Operation: 56-7=49, Resulting Numbers: [68, 49] Generated Node #0,0,0: 71:[68, 49] Operation: 56-7=49 Exploring Operation: 56+7=63, Resulting Numbers: [68, 63] Generated Node #0,0,1: 71:[68, 63] Operation: 56+7=63 Exploring Operation: 7+68=75, Resulting Numbers: [56, 75] Generated Node #0,0,2: 71:[56, 75] Operation: 7+68=75 Exploring Operation: 68-7=61, Resulting Numbers: [56, 61] Generated Node #0,0,3: 71:[56, 61] Operation: 68-7=61 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[68, 63], Operations: ['30+38=68', '56+7=63'] Exploring Operation: 68*63=4284, Resulting Numbers: [4284] 4284,71 unequal: No Solution Exploring Operation: 68+63=131, Resulting Numbers: [131] 131,71 unequal: No Solution Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,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,0,2 Current State: 71:[56, 75], Operations: ['30+38=68', '7+68=75'] Exploring Operation: 56*75=4200, Resulting Numbers: [4200] 4200,71 unequal: No Solution Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 56+75=131, Resulting Numbers: [131] 131,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,0,0 Current State: 71:[68, 49], Operations: ['30+38=68', '56-7=49'] Exploring Operation: 68*49=3332, Resulting Numbers: [3332] 3332,71 unequal: No Solution Exploring Operation: 68-49=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 68+49=117, Resulting Numbers: [117] 117,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,0,3 Current State: 71:[56, 61], Operations: ['30+38=68', '68-7=61'] Exploring Operation: 56*61=3416, Resulting Numbers: [3416] 3416,71 unequal: No Solution Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,71 unequal: No Solution Exploring Operation: 56+61=117, Resulting Numbers: [117] 117,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,1 Current State: 71:[30, 38, 63], Operations: ['56+7=63'] Exploring Operation: 30+63=93, Resulting Numbers: [38, 93] Generated Node #0,1,0: 71:[38, 93] Operation: 30+63=93 Exploring Operation: 63-30=33, Resulting Numbers: [38, 33] Generated Node #0,1,1: 71:[38, 33] Operation: 63-30=33 Exploring Operation: 30+38=68, Resulting Numbers: [63, 68] Generated Node #0,1,2: 71:[63, 68] Operation: 30+38=68 Exploring Operation: 38-30=8, Resulting Numbers: [63, 8] Generated Node #0,1,3: 71:[63, 8] Operation: 38-30=8 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[63, 68], Operations: ['56+7=63', '30+38=68'] Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,71 unequal: No Solution Exploring Operation: 63*68=4284, Resulting Numbers: [4284] 4284,71 unequal: No Solution Exploring Operation: 63+68=131, Resulting Numbers: [131] 131,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,0 Current State: 71:[38, 93], Operations: ['56+7=63', '30+63=93'] Exploring Operation: 38*93=3534, Resulting Numbers: [3534] 3534,71 unequal: No Solution Exploring Operation: 93-38=55, Resulting Numbers: [55] 55,71 unequal: No Solution Exploring Operation: 38+93=131, Resulting Numbers: [131] 131,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:[38, 33], Operations: ['56+7=63', '63-30=33'] Exploring Operation: 38*33=1254, Resulting Numbers: [1254] 1254,71 unequal: No Solution Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[56, 30, 38, 7], Operations: [] Exploring Operation: 56+7=63, Resulting Numbers: [30, 38, 63] Generated Node #0,1: 71:[30, 38, 63] Operation: 56+7=63 Moving to Node #0,1 Current State: 71:[30, 38, 63], Operations: ['56+7=63'] Exploring Operation: 63-30=33, Resulting Numbers: [38, 33] Generated Node #0,1,1: 71:[38, 33] Operation: 63-30=33 Moving to Node #0,1,1 Current State: 71:[38, 33], Operations: ['56+7=63', '63-30=33'] Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 68, 10, 81, 71 ]
37
[ "71-68=3", "81/3=27", "10+27=37" ]
Current State: 37:[68, 10, 81, 71], Operations: [] Exploring Operation: 71-68=3, Resulting Numbers: [10, 81, 3] Generated Node #2: [10, 81, 3] from Operation: 71-68=3 Current State: 37:[10, 81, 3], Operations: ['71-68=3'] Exploring Operation: 81/3=27, Resulting Numbers: [10, 27] Generated Node #3: [10, 27] from Operation: 81/3=27 Current State: 37:[10, 27], Operations: ['71-68=3', '81/3=27'] Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[68, 10, 81, 71], Operations: [] Exploring Operation: 81-68=13, Resulting Numbers: [10, 71, 13] Generated Node #0,0: 37:[10, 71, 13] Operation: 81-68=13 Exploring Operation: 68-10=58, Resulting Numbers: [81, 71, 58] Generated Node #0,1: 37:[81, 71, 58] Operation: 68-10=58 Exploring Operation: 81-71=10, Resulting Numbers: [68, 10, 10] Generated Node #0,2: 37:[68, 10, 10] Operation: 81-71=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[10, 71, 13], Operations: ['81-68=13'] Exploring Operation: 71-10=61, Resulting Numbers: [13, 61] Generated Node #0,0,0: 37:[13, 61] Operation: 71-10=61 Exploring Operation: 71-13=58, Resulting Numbers: [10, 58] Generated Node #0,0,1: 37:[10, 58] Operation: 71-13=58 Exploring Operation: 10+13=23, Resulting Numbers: [71, 23] Generated Node #0,0,2: 37:[71, 23] Operation: 10+13=23 Moving to Node #0,0,0 Current State: 37:[13, 61], Operations: ['81-68=13', '71-10=61'] Exploring Operation: 13*61=793, Resulting Numbers: [793] 793,37 unequal: No Solution Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 13+61=74, Resulting Numbers: [74] 74,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[10, 58], Operations: ['81-68=13', '71-13=58'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 10*58=580, Resulting Numbers: [580] 580,37 unequal: No Solution Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[71, 23], Operations: ['81-68=13', '10+13=23'] Exploring Operation: 71+23=94, Resulting Numbers: [94] 94,37 unequal: No Solution Exploring Operation: 71*23=1633, Resulting Numbers: [1633] 1633,37 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[68, 10, 10], Operations: ['81-71=10'] Exploring Operation: 68-10=58, Resulting Numbers: [10, 58] Generated Node #0,2,0: 37:[10, 58] Operation: 68-10=58 Exploring Operation: 68-10=58, Resulting Numbers: [10, 58] Generated Node #0,2,1: 37:[10, 58] Operation: 68-10=58 Exploring Operation: 10+10=20, Resulting Numbers: [68, 20] Generated Node #0,2,2: 37:[68, 20] Operation: 10+10=20 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[10, 58], Operations: ['81-71=10', '68-10=58'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 10*58=580, Resulting Numbers: [580] 580,37 unequal: No Solution Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[10, 58], Operations: ['81-71=10', '68-10=58'] Exploring Operation: 10*58=580, Resulting Numbers: [580] 580,37 unequal: No Solution Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[68, 20], Operations: ['81-71=10', '10+10=20'] Exploring Operation: 68+20=88, Resulting Numbers: [88] 88,37 unequal: No Solution Exploring Operation: 68*20=1360, Resulting Numbers: [1360] 1360,37 unequal: No Solution Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[81, 71, 58], Operations: ['68-10=58'] Exploring Operation: 71-58=13, Resulting Numbers: [81, 13] Generated Node #0,1,0: 37:[81, 13] Operation: 71-58=13 Exploring Operation: 81-58=23, Resulting Numbers: [71, 23] Generated Node #0,1,1: 37:[71, 23] Operation: 81-58=23 Exploring Operation: 81-71=10, Resulting Numbers: [58, 10] Generated Node #0,1,2: 37:[58, 10] Operation: 81-71=10 Moving to Node #0,1,1 Current State: 37:[71, 23], Operations: ['68-10=58', '81-58=23'] Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 71+23=94, Resulting Numbers: [94] 94,37 unequal: No Solution Exploring Operation: 71*23=1633, Resulting Numbers: [1633] 1633,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[58, 10], Operations: ['68-10=58', '81-71=10'] Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,37 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[81, 13], Operations: ['68-10=58', '71-58=13'] Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 81*13=1053, Resulting Numbers: [1053] 1053,37 unequal: No Solution Exploring Operation: 81+13=94, Resulting Numbers: [94] 94,37 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
[ 29, 4, 92, 3 ]
31
[ "29+92=121", "3+121=124", "124/4=31" ]
Current State: 31:[29, 4, 92, 3], Operations: [] Exploring Operation: 29+92=121, Resulting Numbers: [4, 3, 121] Generated Node #2: [4, 3, 121] from Operation: 29+92=121 Current State: 31:[4, 3, 121], Operations: ['29+92=121'] Exploring Operation: 3+121=124, Resulting Numbers: [4, 124] Generated Node #3: [4, 124] from Operation: 3+121=124 Current State: 31:[4, 124], Operations: ['29+92=121', '3+121=124'] Exploring Operation: 124/4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[29, 4, 92, 3], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [29, 3, 23] Generated Node #0,0: 31:[29, 3, 23] Operation: 92/4=23 Exploring Operation: 92-29=63, Resulting Numbers: [4, 3, 63] Generated Node #0,1: 31:[4, 3, 63] Operation: 92-29=63 Exploring Operation: 4+3=7, Resulting Numbers: [29, 92, 7] Generated Node #0,2: 31:[29, 92, 7] Operation: 4+3=7 Exploring Operation: 92-4=88, Resulting Numbers: [29, 3, 88] Generated Node #0,3: 31:[29, 3, 88] Operation: 92-4=88 Exploring Operation: 4*3=12, Resulting Numbers: [29, 92, 12] Generated Node #0,4: 31:[29, 92, 12] Operation: 4*3=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[29, 3, 23], Operations: ['92/4=23'] Exploring Operation: 23-3=20, Resulting Numbers: [29, 20] Generated Node #0,0,0: 31:[29, 20] Operation: 23-3=20 Exploring Operation: 29-3=26, Resulting Numbers: [23, 26] Generated Node #0,0,1: 31:[23, 26] Operation: 29-3=26 Exploring Operation: 3*23=69, Resulting Numbers: [29, 69] Generated Node #0,0,2: 31:[29, 69] Operation: 3*23=69 Exploring Operation: 29+3=32, Resulting Numbers: [23, 32] Generated Node #0,0,3: 31:[23, 32] Operation: 29+3=32 Exploring Operation: 3+23=26, Resulting Numbers: [29, 26] Generated Node #0,0,4: 31:[29, 26] Operation: 3+23=26 Moving to Node #0,0,4 Current State: 31:[29, 26], Operations: ['92/4=23', '3+23=26'] Exploring Operation: 29*26=754, Resulting Numbers: [754] 754,31 unequal: No Solution Exploring Operation: 29+26=55, Resulting Numbers: [55] 55,31 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[23, 32], Operations: ['92/4=23', '29+3=32'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 23*32=736, Resulting Numbers: [736] 736,31 unequal: No Solution Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[29, 20], Operations: ['92/4=23', '23-3=20'] Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,31 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[23, 26], Operations: ['92/4=23', '29-3=26'] Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,31 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,31 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[29, 69], Operations: ['92/4=23', '3*23=69'] Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 29+69=98, Resulting Numbers: [98] 98,31 unequal: No Solution Exploring Operation: 29*69=2001, Resulting Numbers: [2001] 2001,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 31:[29, 92, 12], Operations: ['4*3=12'] Exploring Operation: 29+12=41, Resulting Numbers: [92, 41] Generated Node #0,4,0: 31:[92, 41] Operation: 29+12=41 Exploring Operation: 29-12=17, Resulting Numbers: [92, 17] Generated Node #0,4,1: 31:[92, 17] Operation: 29-12=17 Exploring Operation: 92-12=80, Resulting Numbers: [29, 80] Generated Node #0,4,2: 31:[29, 80] Operation: 92-12=80 Exploring Operation: 92+12=104, Resulting Numbers: [29, 104] Generated Node #0,4,3: 31:[29, 104] Operation: 92+12=104 Exploring Operation: 92-29=63, Resulting Numbers: [12, 63] Generated Node #0,4,4: 31:[12, 63] Operation: 92-29=63 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 31:[29, 80], Operations: ['4*3=12', '92-12=80'] Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 29+80=109, Resulting Numbers: [109] 109,31 unequal: No Solution Exploring Operation: 29*80=2320, Resulting Numbers: [2320] 2320,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 31:[12, 63], Operations: ['4*3=12', '92-29=63'] Exploring Operation: 12*63=756, Resulting Numbers: [756] 756,31 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 12+63=75, Resulting Numbers: [75] 75,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 31:[92, 41], Operations: ['4*3=12', '29+12=41'] Exploring Operation: 92+41=133, Resulting Numbers: [133] 133,31 unequal: No Solution Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 92*41=3772, Resulting Numbers: [3772] 3772,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 31:[92, 17], Operations: ['4*3=12', '29-12=17'] Exploring Operation: 92+17=109, Resulting Numbers: [109] 109,31 unequal: No Solution Exploring Operation: 92*17=1564, Resulting Numbers: [1564] 1564,31 unequal: No Solution Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 31:[29, 104], Operations: ['4*3=12', '92+12=104'] Exploring Operation: 29+104=133, Resulting Numbers: [133] 133,31 unequal: No Solution Exploring Operation: 104-29=75, Resulting Numbers: [75] 75,31 unequal: No Solution Exploring Operation: 29*104=3016, Resulting Numbers: [3016] 3016,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[4, 3, 63], Operations: ['92-29=63'] Exploring Operation: 4+3=7, Resulting Numbers: [63, 7] Generated Node #0,1,0: 31:[63, 7] Operation: 4+3=7 Exploring Operation: 4*3=12, Resulting Numbers: [63, 12] Generated Node #0,1,1: 31:[63, 12] Operation: 4*3=12 Exploring Operation: 63-4=59, Resulting Numbers: [3, 59] Generated Node #0,1,2: 31:[3, 59] Operation: 63-4=59 Exploring Operation: 63-3=60, Resulting Numbers: [4, 60] Generated Node #0,1,3: 31:[4, 60] Operation: 63-3=60 Exploring Operation: 63/3=21, Resulting Numbers: [4, 21] Generated Node #0,1,4: 31:[4, 21] Operation: 63/3=21 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 31:[4, 21], Operations: ['92-29=63', '63/3=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,31 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,31 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[63, 12], Operations: ['92-29=63', '4*3=12'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,31 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[63, 7], Operations: ['92-29=63', '4+3=7'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 63*7=441, Resulting Numbers: [441] 441,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[3, 59], Operations: ['92-29=63', '63-4=59'] Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,31 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 31:[4, 60], Operations: ['92-29=63', '63-3=60'] Exploring Operation: 4*60=240, Resulting Numbers: [240] 240,31 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[29, 92, 7], Operations: ['4+3=7'] Exploring Operation: 92-7=85, Resulting Numbers: [29, 85] Generated Node #0,2,0: 31:[29, 85] Operation: 92-7=85 Exploring Operation: 29-7=22, Resulting Numbers: [92, 22] Generated Node #0,2,1: 31:[92, 22] Operation: 29-7=22 Exploring Operation: 29+7=36, Resulting Numbers: [92, 36] Generated Node #0,2,2: 31:[92, 36] Operation: 29+7=36 Exploring Operation: 92+7=99, Resulting Numbers: [29, 99] Generated Node #0,2,3: 31:[29, 99] Operation: 92+7=99 Exploring Operation: 92-29=63, Resulting Numbers: [7, 63] Generated Node #0,2,4: 31:[7, 63] Operation: 92-29=63 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[29, 85], Operations: ['4+3=7', '92-7=85'] Exploring Operation: 85-29=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 29*85=2465, Resulting Numbers: [2465] 2465,31 unequal: No Solution Exploring Operation: 29+85=114, Resulting Numbers: [114] 114,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 31:[7, 63], Operations: ['4+3=7', '92-29=63'] Exploring Operation: 7*63=441, Resulting Numbers: [441] 441,31 unequal: No Solution Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[92, 36], Operations: ['4+3=7', '29+7=36'] Exploring Operation: 92*36=3312, Resulting Numbers: [3312] 3312,31 unequal: No Solution Exploring Operation: 92+36=128, Resulting Numbers: [128] 128,31 unequal: No Solution Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[92, 22], Operations: ['4+3=7', '29-7=22'] Exploring Operation: 92+22=114, Resulting Numbers: [114] 114,31 unequal: No Solution Exploring Operation: 92-22=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 92*22=2024, Resulting Numbers: [2024] 2024,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 31:[29, 99], Operations: ['4+3=7', '92+7=99'] Exploring Operation: 29*99=2871, Resulting Numbers: [2871] 2871,31 unequal: No Solution Exploring Operation: 99-29=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 29+99=128, Resulting Numbers: [128] 128,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[29, 3, 88], Operations: ['92-4=88'] Exploring Operation: 29+3=32, Resulting Numbers: [88, 32] Generated Node #0,3,0: 31:[88, 32] Operation: 29+3=32 Exploring Operation: 3+88=91, Resulting Numbers: [29, 91] Generated Node #0,3,1: 31:[29, 91] Operation: 3+88=91 Exploring Operation: 88-29=59, Resulting Numbers: [3, 59] Generated Node #0,3,2: 31:[3, 59] Operation: 88-29=59 Exploring Operation: 29-3=26, Resulting Numbers: [88, 26] Generated Node #0,3,3: 31:[88, 26] Operation: 29-3=26 Exploring Operation: 88-3=85, Resulting Numbers: [29, 85] Generated Node #0,3,4: 31:[29, 85] Operation: 88-3=85 Moving to Node #0,3,2 Current State: 31:[3, 59], Operations: ['92-4=88', '88-29=59'] Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,31 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,31 unequal: No Solution Moving to Node #0,3,4 Current State: 31:[29, 85], Operations: ['92-4=88', '88-3=85'] Exploring Operation: 85-29=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 29*85=2465, Resulting Numbers: [2465] 2465,31 unequal: No Solution Exploring Operation: 29+85=114, Resulting Numbers: [114] 114,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[88, 32], Operations: ['92-4=88', '29+3=32'] Exploring Operation: 88*32=2816, Resulting Numbers: [2816] 2816,31 unequal: No Solution Exploring Operation: 88+32=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 88-32=56, Resulting Numbers: [56] 56,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[29, 91], Operations: ['92-4=88', '3+88=91'] Exploring Operation: 91-29=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 29+91=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 29*91=2639, Resulting Numbers: [2639] 2639,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[88, 26], Operations: ['92-4=88', '29-3=26'] Exploring Operation: 88-26=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 88*26=2288, Resulting Numbers: [2288] 2288,31 unequal: No Solution Exploring Operation: 88+26=114, Resulting Numbers: [114] 114,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 99, 52, 5, 67 ]
100
[ "99-52=47", "67-47=20", "5*20=100" ]
Current State: 100:[99, 52, 5, 67], Operations: [] Exploring Operation: 99-52=47, Resulting Numbers: [5, 67, 47] Generated Node #2: [5, 67, 47] from Operation: 99-52=47 Current State: 100:[5, 67, 47], Operations: ['99-52=47'] Exploring Operation: 67-47=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 67-47=20 Current State: 100:[5, 20], Operations: ['99-52=47', '67-47=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[99, 52, 5, 67], Operations: [] Exploring Operation: 99-67=32, Resulting Numbers: [52, 5, 32] Generated Node #0,0: 100:[52, 5, 32] Operation: 99-67=32 Exploring Operation: 67-5=62, Resulting Numbers: [99, 52, 62] Generated Node #0,1: 100:[99, 52, 62] Operation: 67-5=62 Exploring Operation: 67-52=15, Resulting Numbers: [99, 5, 15] Generated Node #0,2: 100:[99, 5, 15] Operation: 67-52=15 Exploring Operation: 52+67=119, Resulting Numbers: [99, 5, 119] Generated Node #0,3: 100:[99, 5, 119] Operation: 52+67=119 Exploring Operation: 99-52=47, Resulting Numbers: [5, 67, 47] Generated Node #0,4: 100:[5, 67, 47] Operation: 99-52=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[99, 5, 15], Operations: ['67-52=15'] Exploring Operation: 15/5=3, Resulting Numbers: [99, 3] Generated Node #0,2,0: 100:[99, 3] Operation: 15/5=3 Exploring Operation: 99+5=104, Resulting Numbers: [15, 104] Generated Node #0,2,1: 100:[15, 104] Operation: 99+5=104 Exploring Operation: 15-5=10, Resulting Numbers: [99, 10] Generated Node #0,2,2: 100:[99, 10] Operation: 15-5=10 Exploring Operation: 5+15=20, Resulting Numbers: [99, 20] Generated Node #0,2,3: 100:[99, 20] Operation: 5+15=20 Exploring Operation: 99-5=94, Resulting Numbers: [15, 94] Generated Node #0,2,4: 100:[15, 94] Operation: 99-5=94 Moving to Node #0,2,2 Current State: 100:[99, 10], Operations: ['67-52=15', '15-5=10'] Exploring Operation: 99-10=89, Resulting Numbers: [89] 89,100 unequal: No Solution Exploring Operation: 99+10=109, Resulting Numbers: [109] 109,100 unequal: No Solution Exploring Operation: 99*10=990, Resulting Numbers: [990] 990,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[99, 20], Operations: ['67-52=15', '5+15=20'] Exploring Operation: 99*20=1980, Resulting Numbers: [1980] 1980,100 unequal: No Solution Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 99+20=119, Resulting Numbers: [119] 119,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[99, 3], Operations: ['67-52=15', '15/5=3'] Exploring Operation: 99*3=297, Resulting Numbers: [297] 297,100 unequal: No Solution Exploring Operation: 99+3=102, Resulting Numbers: [102] 102,100 unequal: No Solution Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,100 unequal: No Solution Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[15, 104], Operations: ['67-52=15', '99+5=104'] Exploring Operation: 104-15=89, Resulting Numbers: [89] 89,100 unequal: No Solution Exploring Operation: 15*104=1560, Resulting Numbers: [1560] 1560,100 unequal: No Solution Exploring Operation: 15+104=119, Resulting Numbers: [119] 119,100 unequal: No Solution Moving to Node #0,2,4 Current State: 100:[15, 94], Operations: ['67-52=15', '99-5=94'] Exploring Operation: 15+94=109, Resulting Numbers: [109] 109,100 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 15*94=1410, Resulting Numbers: [1410] 1410,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[52, 5, 32], Operations: ['99-67=32'] Exploring Operation: 32-5=27, Resulting Numbers: [52, 27] Generated Node #0,0,0: 100:[52, 27] Operation: 32-5=27 Exploring Operation: 52-32=20, Resulting Numbers: [5, 20] Generated Node #0,0,1: 100:[5, 20] Operation: 52-32=20 Exploring Operation: 5+32=37, Resulting Numbers: [52, 37] Generated Node #0,0,2: 100:[52, 37] Operation: 5+32=37 Exploring Operation: 52+5=57, Resulting Numbers: [32, 57] Generated Node #0,0,3: 100:[32, 57] Operation: 52+5=57 Exploring Operation: 52-5=47, Resulting Numbers: [32, 47] Generated Node #0,0,4: 100:[32, 47] Operation: 52-5=47 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[5, 20], Operations: ['99-67=32', '52-32=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,100 unequal: No Solution Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[99, 52, 5, 67], Operations: [] Exploring Operation: 99-67=32, Resulting Numbers: [52, 5, 32] Generated Node #0,0: 100:[52, 5, 32] Operation: 99-67=32 Moving to Node #0,0 Current State: 100:[52, 5, 32], Operations: ['99-67=32'] Exploring Operation: 52-32=20, Resulting Numbers: [5, 20] Generated Node #0,0,1: 100:[5, 20] Operation: 52-32=20 Moving to Node #0,0,1 Current State: 100:[5, 20], Operations: ['99-67=32', '52-32=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 24, 75, 17, 61 ]
32
[ "75+61=136", "136/17=8", "24+8=32" ]
Current State: 32:[24, 75, 17, 61], Operations: [] Exploring Operation: 75+61=136, Resulting Numbers: [24, 17, 136] Generated Node #2: [24, 17, 136] from Operation: 75+61=136 Current State: 32:[24, 17, 136], Operations: ['75+61=136'] Exploring Operation: 136/17=8, Resulting Numbers: [24, 8] Generated Node #3: [24, 8] from Operation: 136/17=8 Current State: 32:[24, 8], Operations: ['75+61=136', '136/17=8'] Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[24, 75, 17, 61], Operations: [] Exploring Operation: 61-24=37, Resulting Numbers: [75, 17, 37] Generated Node #0,0: 32:[75, 17, 37] Operation: 61-24=37 Exploring Operation: 75-61=14, Resulting Numbers: [24, 17, 14] Generated Node #0,1: 32:[24, 17, 14] Operation: 75-61=14 Exploring Operation: 75-24=51, Resulting Numbers: [17, 61, 51] Generated Node #0,2: 32:[17, 61, 51] Operation: 75-24=51 Moving to Node #0,1 Current State: 32:[24, 17, 14], Operations: ['75-61=14'] Exploring Operation: 24-14=10, Resulting Numbers: [17, 10] Generated Node #0,1,0: 32:[17, 10] Operation: 24-14=10 Exploring Operation: 24-17=7, Resulting Numbers: [14, 7] Generated Node #0,1,1: 32:[14, 7] Operation: 24-17=7 Exploring Operation: 24+14=38, Resulting Numbers: [17, 38] Generated Node #0,1,2: 32:[17, 38] Operation: 24+14=38 Moving to Node #0,0 Current State: 32:[75, 17, 37], Operations: ['61-24=37'] Exploring Operation: 75-37=38, Resulting Numbers: [17, 38] Generated Node #0,0,0: 32:[17, 38] Operation: 75-37=38 Exploring Operation: 75-17=58, Resulting Numbers: [37, 58] Generated Node #0,0,1: 32:[37, 58] Operation: 75-17=58 Exploring Operation: 37-17=20, Resulting Numbers: [75, 20] Generated Node #0,0,2: 32:[75, 20] Operation: 37-17=20 Moving to Node #0,2 Current State: 32:[17, 61, 51], Operations: ['75-24=51'] Exploring Operation: 61-51=10, Resulting Numbers: [17, 10] Generated Node #0,2,0: 32:[17, 10] Operation: 61-51=10 Exploring Operation: 61-17=44, Resulting Numbers: [51, 44] Generated Node #0,2,1: 32:[51, 44] Operation: 61-17=44 Exploring Operation: 51/17=3, Resulting Numbers: [61, 3] Generated Node #0,2,2: 32:[61, 3] Operation: 51/17=3 Moving to Node #0,1,0 Current State: 32:[17, 10], Operations: ['75-61=14', '24-14=10'] Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[17, 10], Operations: ['75-24=51', '61-51=10'] Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,32 unequal: No Solution Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[14, 7], Operations: ['75-61=14', '24-17=7'] Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[17, 38], Operations: ['75-61=14', '24+14=38'] Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,32 unequal: No Solution Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[17, 38], Operations: ['61-24=37', '75-37=38'] Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,32 unequal: No Solution Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[61, 3], Operations: ['75-24=51', '51/17=3'] Exploring Operation: 61*3=183, Resulting Numbers: [183] 183,32 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,32 unequal: No Solution Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[51, 44], Operations: ['75-24=51', '61-17=44'] Exploring Operation: 51+44=95, Resulting Numbers: [95] 95,32 unequal: No Solution Exploring Operation: 51*44=2244, Resulting Numbers: [2244] 2244,32 unequal: No Solution Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[37, 58], Operations: ['61-24=37', '75-17=58'] Exploring Operation: 37*58=2146, Resulting Numbers: [2146] 2146,32 unequal: No Solution Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,32 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[75, 20], Operations: ['61-24=37', '37-17=20'] Exploring Operation: 75*20=1500, Resulting Numbers: [1500] 1500,32 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,32 unequal: No Solution Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,32 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 77, 36, 86, 61 ]
75
[ "36+86=122", "122/61=2", "77-2=75" ]
Current State: 75:[77, 36, 86, 61], Operations: [] Exploring Operation: 36+86=122, Resulting Numbers: [77, 61, 122] Generated Node #2: [77, 61, 122] from Operation: 36+86=122 Current State: 75:[77, 61, 122], Operations: ['36+86=122'] Exploring Operation: 122/61=2, Resulting Numbers: [77, 2] Generated Node #3: [77, 2] from Operation: 122/61=2 Current State: 75:[77, 2], Operations: ['36+86=122', '122/61=2'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[77, 36, 86, 61], Operations: [] Exploring Operation: 61-36=25, Resulting Numbers: [77, 86, 25] Generated Node #0,0: 75:[77, 86, 25] Operation: 61-36=25 Exploring Operation: 77-61=16, Resulting Numbers: [36, 86, 16] Generated Node #0,1: 75:[36, 86, 16] Operation: 77-61=16 Exploring Operation: 86-61=25, Resulting Numbers: [77, 36, 25] Generated Node #0,2: 75:[77, 36, 25] Operation: 86-61=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[77, 86, 25], Operations: ['61-36=25'] Exploring Operation: 86-25=61, Resulting Numbers: [77, 61] Generated Node #0,0,0: 75:[77, 61] Operation: 86-25=61 Exploring Operation: 86-77=9, Resulting Numbers: [25, 9] Generated Node #0,0,1: 75:[25, 9] Operation: 86-77=9 Exploring Operation: 77-25=52, Resulting Numbers: [86, 52] Generated Node #0,0,2: 75:[86, 52] Operation: 77-25=52 Moving to Node #0,0,1 Current State: 75:[25, 9], Operations: ['61-36=25', '86-77=9'] Exploring Operation: 25*9=225, Resulting Numbers: [225] 225,75 unequal: No Solution Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[77, 61], Operations: ['61-36=25', '86-25=61'] Exploring Operation: 77*61=4697, Resulting Numbers: [4697] 4697,75 unequal: No Solution Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 77+61=138, Resulting Numbers: [138] 138,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[86, 52], Operations: ['61-36=25', '77-25=52'] Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 86*52=4472, Resulting Numbers: [4472] 4472,75 unequal: No Solution Exploring Operation: 86+52=138, Resulting Numbers: [138] 138,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[77, 36, 25], Operations: ['86-61=25'] Exploring Operation: 36-25=11, Resulting Numbers: [77, 11] Generated Node #0,2,0: 75:[77, 11] Operation: 36-25=11 Exploring Operation: 36+25=61, Resulting Numbers: [77, 61] Generated Node #0,2,1: 75:[77, 61] Operation: 36+25=61 Exploring Operation: 77-36=41, Resulting Numbers: [25, 41] Generated Node #0,2,2: 75:[25, 41] Operation: 77-36=41 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 75:[77, 11], Operations: ['86-61=25', '36-25=11'] Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,75 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,75 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,75 unequal: No Solution No 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: 75:[77, 61], Operations: ['86-61=25', '36+25=61'] Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 77*61=4697, Resulting Numbers: [4697] 4697,75 unequal: No Solution Exploring Operation: 77+61=138, Resulting Numbers: [138] 138,75 unequal: No Solution No 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: 75:[25, 41], Operations: ['86-61=25', '77-36=41'] Exploring Operation: 25+41=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 25*41=1025, Resulting Numbers: [1025] 1025,75 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,75 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: 75:[36, 86, 16], Operations: ['77-61=16'] Exploring Operation: 86-36=50, Resulting Numbers: [16, 50] Generated Node #0,1,0: 75:[16, 50] Operation: 86-36=50 Exploring Operation: 86-16=70, Resulting Numbers: [36, 70] Generated Node #0,1,1: 75:[36, 70] Operation: 86-16=70 Exploring Operation: 36-16=20, Resulting Numbers: [86, 20] Generated Node #0,1,2: 75:[86, 20] Operation: 36-16=20 Moving to Node #0,1,1 Current State: 75:[36, 70], Operations: ['77-61=16', '86-16=70'] Exploring Operation: 36*70=2520, Resulting Numbers: [2520] 2520,75 unequal: No Solution Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 36+70=106, Resulting Numbers: [106] 106,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[86, 20], Operations: ['77-61=16', '36-16=20'] Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,75 unequal: No Solution Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,75 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[16, 50], Operations: ['77-61=16', '86-36=50'] Exploring Operation: 16+50=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 16*50=800, Resulting Numbers: [800] 800,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 22, 1, 13, 83 ]
73
[ "22+1=23", "13+83=96", "96-23=73" ]
Current State: 73:[22, 1, 13, 83], Operations: [] Exploring Operation: 22+1=23, Resulting Numbers: [13, 83, 23] Generated Node #2: [13, 83, 23] from Operation: 22+1=23 Current State: 73:[13, 83, 23], Operations: ['22+1=23'] Exploring Operation: 13+83=96, Resulting Numbers: [23, 96] Generated Node #3: [23, 96] from Operation: 13+83=96 Current State: 73:[23, 96], Operations: ['22+1=23', '13+83=96'] Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[22, 1, 13, 83], Operations: [] Exploring Operation: 22+1=23, Resulting Numbers: [13, 83, 23] Generated Node #0,0: 73:[13, 83, 23] Operation: 22+1=23 Exploring Operation: 22+13=35, Resulting Numbers: [1, 83, 35] Generated Node #0,1: 73:[1, 83, 35] Operation: 22+13=35 Exploring Operation: 1+13=14, Resulting Numbers: [22, 83, 14] Generated Node #0,2: 73:[22, 83, 14] Operation: 1+13=14 Exploring Operation: 83-1=82, Resulting Numbers: [22, 13, 82] Generated Node #0,3: 73:[22, 13, 82] Operation: 83-1=82 Moving to Node #0,0 Current State: 73:[13, 83, 23], Operations: ['22+1=23'] Exploring Operation: 13+23=36, Resulting Numbers: [83, 36] Generated Node #0,0,0: 73:[83, 36] Operation: 13+23=36 Exploring Operation: 13+83=96, Resulting Numbers: [23, 96] Generated Node #0,0,1: 73:[23, 96] Operation: 13+83=96 Exploring Operation: 83-13=70, Resulting Numbers: [23, 70] Generated Node #0,0,2: 73:[23, 70] Operation: 83-13=70 Exploring Operation: 23-13=10, Resulting Numbers: [83, 10] Generated Node #0,0,3: 73:[83, 10] Operation: 23-13=10 Moving to Node #0,2 Current State: 73:[22, 83, 14], Operations: ['1+13=14'] Exploring Operation: 83-14=69, Resulting Numbers: [22, 69] Generated Node #0,2,0: 73:[22, 69] Operation: 83-14=69 Exploring Operation: 22-14=8, Resulting Numbers: [83, 8] Generated Node #0,2,1: 73:[83, 8] Operation: 22-14=8 Exploring Operation: 83-22=61, Resulting Numbers: [14, 61] Generated Node #0,2,2: 73:[14, 61] Operation: 83-22=61 Exploring Operation: 22+14=36, Resulting Numbers: [83, 36] Generated Node #0,2,3: 73:[83, 36] Operation: 22+14=36 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[83, 36], Operations: ['1+13=14', '22+14=36'] Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,73 unequal: No Solution Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[22, 69], Operations: ['1+13=14', '83-14=69'] Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,73 unequal: No Solution Exploring Operation: 22*69=1518, Resulting Numbers: [1518] 1518,73 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[14, 61], Operations: ['1+13=14', '83-22=61'] Exploring Operation: 14*61=854, Resulting Numbers: [854] 854,73 unequal: No Solution Exploring Operation: 14+61=75, Resulting Numbers: [75] 75,73 unequal: No Solution Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[83, 8], Operations: ['1+13=14', '22-14=8'] Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,73 unequal: No Solution Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,73 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 73:[1, 83, 35], Operations: ['22+13=35'] Exploring Operation: 1+35=36, Resulting Numbers: [83, 36] Generated Node #0,1,0: 73:[83, 36] Operation: 1+35=36 Exploring Operation: 1*83=83, Resulting Numbers: [35, 83] Generated Node #0,1,1: 73:[35, 83] Operation: 1*83=83 Exploring Operation: 83-1=82, Resulting Numbers: [35, 82] Generated Node #0,1,2: 73:[35, 82] Operation: 83-1=82 Exploring Operation: 83/1=83, Resulting Numbers: [35, 83] Generated Node #0,1,3: 73:[35, 83] Operation: 83/1=83 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[83, 36], Operations: ['22+13=35', '1+35=36'] Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,73 unequal: No Solution Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[35, 82], Operations: ['22+13=35', '83-1=82'] Exploring Operation: 35*82=2870, Resulting Numbers: [2870] 2870,73 unequal: No Solution Exploring Operation: 35+82=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[35, 83], Operations: ['22+13=35', '1*83=83'] Exploring Operation: 35+83=118, Resulting Numbers: [118] 118,73 unequal: No Solution Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 35*83=2905, Resulting Numbers: [2905] 2905,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[35, 83], Operations: ['22+13=35', '83/1=83'] Exploring Operation: 35+83=118, Resulting Numbers: [118] 118,73 unequal: No Solution Exploring Operation: 35*83=2905, Resulting Numbers: [2905] 2905,73 unequal: No Solution Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,73 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: 73:[22, 13, 82], Operations: ['83-1=82'] Exploring Operation: 82-22=60, Resulting Numbers: [13, 60] Generated Node #0,3,0: 73:[13, 60] Operation: 82-22=60 Exploring Operation: 22+13=35, Resulting Numbers: [82, 35] Generated Node #0,3,1: 73:[82, 35] Operation: 22+13=35 Exploring Operation: 82-13=69, Resulting Numbers: [22, 69] Generated Node #0,3,2: 73:[22, 69] Operation: 82-13=69 Exploring Operation: 22-13=9, Resulting Numbers: [82, 9] Generated Node #0,3,3: 73:[82, 9] Operation: 22-13=9 Moving to Node #0,0,0 Current State: 73:[83, 36], Operations: ['22+1=23', '13+23=36'] Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,73 unequal: No Solution Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,73 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[82, 35], Operations: ['83-1=82', '22+13=35'] Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 82*35=2870, Resulting Numbers: [2870] 2870,73 unequal: No Solution Exploring Operation: 82+35=117, Resulting Numbers: [117] 117,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[23, 70], Operations: ['22+1=23', '83-13=70'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 23*70=1610, Resulting Numbers: [1610] 1610,73 unequal: No Solution Exploring Operation: 23+70=93, Resulting Numbers: [93] 93,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[22, 69], Operations: ['83-1=82', '82-13=69'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 22*69=1518, Resulting Numbers: [1518] 1518,73 unequal: No Solution Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[23, 96], Operations: ['22+1=23', '13+83=96'] Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[22, 1, 13, 83], Operations: [] Exploring Operation: 22+1=23, Resulting Numbers: [13, 83, 23] Generated Node #0,0: 73:[13, 83, 23] Operation: 22+1=23 Moving to Node #0,0 Current State: 73:[13, 83, 23], Operations: ['22+1=23'] Exploring Operation: 13+83=96, Resulting Numbers: [23, 96] Generated Node #0,0,1: 73:[23, 96] Operation: 13+83=96 Moving to Node #0,0,1 Current State: 73:[23, 96], Operations: ['22+1=23', '13+83=96'] Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
0.947049
hs_4
sum_heuristic
[ 25, 82, 86, 3 ]
13
[ "86-82=4", "3*4=12", "25-12=13" ]
Current State: 13:[25, 82, 86, 3], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [25, 3, 4] Generated Node #2: [25, 3, 4] from Operation: 86-82=4 Current State: 13:[25, 3, 4], Operations: ['86-82=4'] Exploring Operation: 3*4=12, Resulting Numbers: [25, 12] Generated Node #3: [25, 12] from Operation: 3*4=12 Current State: 13:[25, 12], Operations: ['86-82=4', '3*4=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[25, 82, 86, 3], Operations: [] Exploring Operation: 86-25=61, Resulting Numbers: [82, 3, 61] Generated Node #0,0: 13:[82, 3, 61] Operation: 86-25=61 Exploring Operation: 82-25=57, Resulting Numbers: [86, 3, 57] Generated Node #0,1: 13:[86, 3, 57] Operation: 82-25=57 Exploring Operation: 25-3=22, Resulting Numbers: [82, 86, 22] Generated Node #0,2: 13:[82, 86, 22] Operation: 25-3=22 Exploring Operation: 86-82=4, Resulting Numbers: [25, 3, 4] Generated Node #0,3: 13:[25, 3, 4] Operation: 86-82=4 Exploring Operation: 82-3=79, Resulting Numbers: [25, 86, 79] Generated Node #0,4: 13:[25, 86, 79] Operation: 82-3=79 Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[25, 3, 4], Operations: ['86-82=4'] Exploring Operation: 25+3=28, Resulting Numbers: [4, 28] Generated Node #0,3,0: 13:[4, 28] Operation: 25+3=28 Exploring Operation: 25-3=22, Resulting Numbers: [4, 22] Generated Node #0,3,1: 13:[4, 22] Operation: 25-3=22 Exploring Operation: 25-4=21, Resulting Numbers: [3, 21] Generated Node #0,3,2: 13:[3, 21] Operation: 25-4=21 Exploring Operation: 3*4=12, Resulting Numbers: [25, 12] Generated Node #0,3,3: 13:[25, 12] Operation: 3*4=12 Exploring Operation: 3+4=7, Resulting Numbers: [25, 7] Generated Node #0,3,4: 13:[25, 7] Operation: 3+4=7 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 13:[25, 12], Operations: ['86-82=4', '3*4=12'] Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,13 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[25, 82, 86, 3], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [25, 3, 4] Generated Node #0,3: 13:[25, 3, 4] Operation: 86-82=4 Moving to Node #0,3 Current State: 13:[25, 3, 4], Operations: ['86-82=4'] Exploring Operation: 3*4=12, Resulting Numbers: [25, 12] Generated Node #0,3,3: 13:[25, 12] Operation: 3*4=12 Moving to Node #0,3,3 Current State: 13:[25, 12], Operations: ['86-82=4', '3*4=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 3, 80, 32, 30 ]
81
[ "3+80=83", "32-30=2", "83-2=81" ]
Current State: 81:[3, 80, 32, 30], Operations: [] Exploring Operation: 3+80=83, Resulting Numbers: [32, 30, 83] Generated Node #2: [32, 30, 83] from Operation: 3+80=83 Current State: 81:[32, 30, 83], Operations: ['3+80=83'] Exploring Operation: 32-30=2, Resulting Numbers: [83, 2] Generated Node #3: [83, 2] from Operation: 32-30=2 Current State: 81:[83, 2], Operations: ['3+80=83', '32-30=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[3, 80, 32, 30], Operations: [] Exploring Operation: 3+80=83, Resulting Numbers: [32, 30, 83] Generated Node #0,0: 81:[32, 30, 83] Operation: 3+80=83 Exploring Operation: 30-3=27, Resulting Numbers: [80, 32, 27] Generated Node #0,1: 81:[80, 32, 27] Operation: 30-3=27 Exploring Operation: 32-3=29, Resulting Numbers: [80, 30, 29] Generated Node #0,2: 81:[80, 30, 29] Operation: 32-3=29 Exploring Operation: 30/3=10, Resulting Numbers: [80, 32, 10] Generated Node #0,3: 81:[80, 32, 10] Operation: 30/3=10 Exploring Operation: 32-30=2, Resulting Numbers: [3, 80, 2] Generated Node #0,4: 81:[3, 80, 2] Operation: 32-30=2 Moving to Node #0,4 Current State: 81:[3, 80, 2], Operations: ['32-30=2'] Exploring Operation: 80-2=78, Resulting Numbers: [3, 78] Generated Node #0,4,0: 81:[3, 78] Operation: 80-2=78 Exploring Operation: 3-2=1, Resulting Numbers: [80, 1] Generated Node #0,4,1: 81:[80, 1] Operation: 3-2=1 Exploring Operation: 3+2=5, Resulting Numbers: [80, 5] Generated Node #0,4,2: 81:[80, 5] Operation: 3+2=5 Exploring Operation: 80+2=82, Resulting Numbers: [3, 82] Generated Node #0,4,3: 81:[3, 82] Operation: 80+2=82 Exploring Operation: 3+80=83, Resulting Numbers: [2, 83] Generated Node #0,4,4: 81:[2, 83] Operation: 3+80=83 Moving to Node #0,2 Current State: 81:[80, 30, 29], Operations: ['32-3=29'] Exploring Operation: 80-29=51, Resulting Numbers: [30, 51] Generated Node #0,2,0: 81:[30, 51] Operation: 80-29=51 Exploring Operation: 80-30=50, Resulting Numbers: [29, 50] Generated Node #0,2,1: 81:[29, 50] Operation: 80-30=50 Exploring Operation: 80+30=110, Resulting Numbers: [29, 110] Generated Node #0,2,2: 81:[29, 110] Operation: 80+30=110 Exploring Operation: 30+29=59, Resulting Numbers: [80, 59] Generated Node #0,2,3: 81:[80, 59] Operation: 30+29=59 Exploring Operation: 30-29=1, Resulting Numbers: [80, 1] Generated Node #0,2,4: 81:[80, 1] Operation: 30-29=1 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 81:[80, 1], Operations: ['32-3=29', '30-29=1'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,81 unequal: No Solution Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[3, 80, 32, 30], Operations: [] Exploring Operation: 32-3=29, Resulting Numbers: [80, 30, 29] Generated Node #0,2: 81:[80, 30, 29] Operation: 32-3=29 Moving to Node #0,2 Current State: 81:[80, 30, 29], Operations: ['32-3=29'] Exploring Operation: 30-29=1, Resulting Numbers: [80, 1] Generated Node #0,2,4: 81:[80, 1] Operation: 30-29=1 Moving to Node #0,2,4 Current State: 81:[80, 1], Operations: ['32-3=29', '30-29=1'] Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 10, 20, 91, 9 ]
79
[ "10+91=101", "20*9=180", "180-101=79" ]
Current State: 79:[10, 20, 91, 9], Operations: [] Exploring Operation: 10+91=101, Resulting Numbers: [20, 9, 101] Generated Node #2: [20, 9, 101] from Operation: 10+91=101 Current State: 79:[20, 9, 101], Operations: ['10+91=101'] Exploring Operation: 20*9=180, Resulting Numbers: [101, 180] Generated Node #3: [101, 180] from Operation: 20*9=180 Current State: 79:[101, 180], Operations: ['10+91=101', '20*9=180'] Exploring Operation: 180-101=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[10, 20, 91, 9], Operations: [] Exploring Operation: 10+20=30, Resulting Numbers: [91, 9, 30] Generated Node #0,0: 79:[91, 9, 30] Operation: 10+20=30 Exploring Operation: 10*9=90, Resulting Numbers: [20, 91, 90] Generated Node #0,1: 79:[20, 91, 90] Operation: 10*9=90 Exploring Operation: 91-10=81, Resulting Numbers: [20, 9, 81] Generated Node #0,2: 79:[20, 9, 81] Operation: 91-10=81 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[20, 91, 90], Operations: ['10*9=90'] Exploring Operation: 91-20=71, Resulting Numbers: [90, 71] Generated Node #0,1,0: 79:[90, 71] Operation: 91-20=71 Exploring Operation: 90-20=70, Resulting Numbers: [91, 70] Generated Node #0,1,1: 79:[91, 70] Operation: 90-20=70 Exploring Operation: 20+91=111, Resulting Numbers: [90, 111] Generated Node #0,1,2: 79:[90, 111] Operation: 20+91=111 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[90, 71], Operations: ['10*9=90', '91-20=71'] Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,79 unequal: No Solution Exploring Operation: 90*71=6390, Resulting Numbers: [6390] 6390,79 unequal: No Solution Exploring Operation: 90+71=161, Resulting Numbers: [161] 161,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[91, 70], Operations: ['10*9=90', '90-20=70'] Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 91*70=6370, Resulting Numbers: [6370] 6370,79 unequal: No Solution Exploring Operation: 91+70=161, Resulting Numbers: [161] 161,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[90, 111], Operations: ['10*9=90', '20+91=111'] Exploring Operation: 90+111=201, Resulting Numbers: [201] 201,79 unequal: No Solution Exploring Operation: 111-90=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 90*111=9990, Resulting Numbers: [9990] 9990,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[91, 9, 30], Operations: ['10+20=30'] Exploring Operation: 9+30=39, Resulting Numbers: [91, 39] Generated Node #0,0,0: 79:[91, 39] Operation: 9+30=39 Exploring Operation: 91+9=100, Resulting Numbers: [30, 100] Generated Node #0,0,1: 79:[30, 100] Operation: 91+9=100 Exploring Operation: 91-9=82, Resulting Numbers: [30, 82] Generated Node #0,0,2: 79:[30, 82] Operation: 91-9=82 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[91, 39], Operations: ['10+20=30', '9+30=39'] Exploring Operation: 91*39=3549, Resulting Numbers: [3549] 3549,79 unequal: No Solution Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 91+39=130, Resulting Numbers: [130] 130,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[30, 82], Operations: ['10+20=30', '91-9=82'] Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 30*82=2460, Resulting Numbers: [2460] 2460,79 unequal: No Solution Exploring Operation: 30+82=112, Resulting Numbers: [112] 112,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[30, 100], Operations: ['10+20=30', '91+9=100'] Exploring Operation: 30+100=130, Resulting Numbers: [130] 130,79 unequal: No Solution Exploring Operation: 30*100=3000, Resulting Numbers: [3000] 3000,79 unequal: No Solution Exploring Operation: 100-30=70, Resulting Numbers: [70] 70,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[20, 9, 81], Operations: ['91-10=81'] Exploring Operation: 20-9=11, Resulting Numbers: [81, 11] Generated Node #0,2,0: 79:[81, 11] Operation: 20-9=11 Exploring Operation: 20+9=29, Resulting Numbers: [81, 29] Generated Node #0,2,1: 79:[81, 29] Operation: 20+9=29 Exploring Operation: 81-9=72, Resulting Numbers: [20, 72] Generated Node #0,2,2: 79:[20, 72] Operation: 81-9=72 Moving to Node #0,2,1 Current State: 79:[81, 29], Operations: ['91-10=81', '20+9=29'] Exploring Operation: 81+29=110, Resulting Numbers: [110] 110,79 unequal: No Solution Exploring Operation: 81*29=2349, Resulting Numbers: [2349] 2349,79 unequal: No Solution Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[20, 72], Operations: ['91-10=81', '81-9=72'] Exploring Operation: 20+72=92, Resulting Numbers: [92] 92,79 unequal: No Solution Exploring Operation: 20*72=1440, Resulting Numbers: [1440] 1440,79 unequal: No Solution Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[81, 11], Operations: ['91-10=81', '20-9=11'] Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,79 unequal: No Solution Exploring Operation: 81*11=891, Resulting Numbers: [891] 891,79 unequal: No Solution Exploring Operation: 81+11=92, Resulting Numbers: [92] 92,79 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
[ 66, 96, 77, 33 ]
52
[ "66+96=162", "77+33=110", "162-110=52" ]
Current State: 52:[66, 96, 77, 33], Operations: [] Exploring Operation: 66+96=162, Resulting Numbers: [77, 33, 162] Generated Node #2: [77, 33, 162] from Operation: 66+96=162 Current State: 52:[77, 33, 162], Operations: ['66+96=162'] Exploring Operation: 77+33=110, Resulting Numbers: [162, 110] Generated Node #3: [162, 110] from Operation: 77+33=110 Current State: 52:[162, 110], Operations: ['66+96=162', '77+33=110'] Exploring Operation: 162-110=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[66, 96, 77, 33], Operations: [] Exploring Operation: 96-77=19, Resulting Numbers: [66, 33, 19] Generated Node #0,0: 52:[66, 33, 19] Operation: 96-77=19 Moving to Node #0,0 Current State: 52:[66, 33, 19], Operations: ['96-77=19'] Exploring Operation: 66/33=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 52:[19, 2] Operation: 66/33=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[19, 2], Operations: ['96-77=19', '66/33=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 27, 79, 93, 4 ]
70
[ "79+93=172", "172/4=43", "27+43=70" ]
Current State: 70:[27, 79, 93, 4], Operations: [] Exploring Operation: 79+93=172, Resulting Numbers: [27, 4, 172] Generated Node #2: [27, 4, 172] from Operation: 79+93=172 Current State: 70:[27, 4, 172], Operations: ['79+93=172'] Exploring Operation: 172/4=43, Resulting Numbers: [27, 43] Generated Node #3: [27, 43] from Operation: 172/4=43 Current State: 70:[27, 43], Operations: ['79+93=172', '172/4=43'] Exploring Operation: 27+43=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[27, 79, 93, 4], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [79, 4, 66] Generated Node #0,0: 70:[79, 4, 66] Operation: 93-27=66 Exploring Operation: 93-79=14, Resulting Numbers: [27, 4, 14] Generated Node #0,1: 70:[27, 4, 14] Operation: 93-79=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[27, 4, 14], Operations: ['93-79=14'] Exploring Operation: 27+4=31, Resulting Numbers: [14, 31] Generated Node #0,1,0: 70:[14, 31] Operation: 27+4=31 Exploring Operation: 27-14=13, Resulting Numbers: [4, 13] Generated Node #0,1,1: 70:[4, 13] Operation: 27-14=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[4, 13], Operations: ['93-79=14', '27-14=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[14, 31], Operations: ['93-79=14', '27+4=31'] Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,70 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[79, 4, 66], Operations: ['93-27=66'] Exploring Operation: 79-4=75, Resulting Numbers: [66, 75] Generated Node #0,0,0: 70:[66, 75] Operation: 79-4=75 Exploring Operation: 79-66=13, Resulting Numbers: [4, 13] Generated Node #0,0,1: 70:[4, 13] Operation: 79-66=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[4, 13], Operations: ['93-27=66', '79-66=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[66, 75], Operations: ['93-27=66', '79-4=75'] Exploring Operation: 66+75=141, Resulting Numbers: [141] 141,70 unequal: No Solution Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 54, 45, 27, 34 ]
62
[ "54/27=2", "34/2=17", "45+17=62" ]
Current State: 62:[54, 45, 27, 34], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [45, 34, 2] Generated Node #2: [45, 34, 2] from Operation: 54/27=2 Current State: 62:[45, 34, 2], Operations: ['54/27=2'] Exploring Operation: 34/2=17, Resulting Numbers: [45, 17] Generated Node #3: [45, 17] from Operation: 34/2=17 Current State: 62:[45, 17], Operations: ['54/27=2', '34/2=17'] Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[54, 45, 27, 34], Operations: [] Exploring Operation: 54-27=27, Resulting Numbers: [45, 34, 27] Generated Node #0,0: 62:[45, 34, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [45, 34, 2] Generated Node #0,1: 62:[45, 34, 2] Operation: 54/27=2 Exploring Operation: 45+27=72, Resulting Numbers: [54, 34, 72] Generated Node #0,2: 62:[54, 34, 72] Operation: 45+27=72 Exploring Operation: 54-45=9, Resulting Numbers: [27, 34, 9] Generated Node #0,3: 62:[27, 34, 9] Operation: 54-45=9 Moving to Node #0,3 Current State: 62:[27, 34, 9], Operations: ['54-45=9'] Exploring Operation: 27+34=61, Resulting Numbers: [9, 61] Generated Node #0,3,0: 62:[9, 61] Operation: 27+34=61 Exploring Operation: 27+9=36, Resulting Numbers: [34, 36] Generated Node #0,3,1: 62:[34, 36] Operation: 27+9=36 Exploring Operation: 34-9=25, Resulting Numbers: [27, 25] Generated Node #0,3,2: 62:[27, 25] Operation: 34-9=25 Exploring Operation: 27/9=3, Resulting Numbers: [34, 3] Generated Node #0,3,3: 62:[34, 3] Operation: 27/9=3 Moving to Node #0,1 Current State: 62:[45, 34, 2], Operations: ['54/27=2'] Exploring Operation: 45+34=79, Resulting Numbers: [2, 79] Generated Node #0,1,0: 62:[2, 79] Operation: 45+34=79 Exploring Operation: 45-2=43, Resulting Numbers: [34, 43] Generated Node #0,1,1: 62:[34, 43] Operation: 45-2=43 Exploring Operation: 34-2=32, Resulting Numbers: [45, 32] Generated Node #0,1,2: 62:[45, 32] Operation: 34-2=32 Exploring Operation: 45-34=11, Resulting Numbers: [2, 11] Generated Node #0,1,3: 62:[2, 11] Operation: 45-34=11 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 62:[2, 11], Operations: ['54/27=2', '45-34=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[34, 43], Operations: ['54/27=2', '45-2=43'] Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,62 unequal: No Solution Exploring Operation: 34*43=1462, Resulting Numbers: [1462] 1462,62 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[45, 32], Operations: ['54/27=2', '34-2=32'] Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,62 unequal: No Solution Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[2, 79], Operations: ['54/27=2', '45+34=79'] Exploring Operation: 2*79=158, Resulting Numbers: [158] 158,62 unequal: No Solution Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,62 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 62:[54, 34, 72], Operations: ['45+27=72'] Exploring Operation: 54-34=20, Resulting Numbers: [72, 20] Generated Node #0,2,0: 62:[72, 20] Operation: 54-34=20 Exploring Operation: 72-34=38, Resulting Numbers: [54, 38] Generated Node #0,2,1: 62:[54, 38] Operation: 72-34=38 Exploring Operation: 54+34=88, Resulting Numbers: [72, 88] Generated Node #0,2,2: 62:[72, 88] Operation: 54+34=88 Exploring Operation: 72-54=18, Resulting Numbers: [34, 18] Generated Node #0,2,3: 62:[34, 18] Operation: 72-54=18 Moving to Node #0,0 Current State: 62:[45, 34, 27], Operations: ['54-27=27'] Exploring Operation: 34+27=61, Resulting Numbers: [45, 61] Generated Node #0,0,0: 62:[45, 61] Operation: 34+27=61 Exploring Operation: 45+27=72, Resulting Numbers: [34, 72] Generated Node #0,0,1: 62:[34, 72] Operation: 45+27=72 Exploring Operation: 45-27=18, Resulting Numbers: [34, 18] Generated Node #0,0,2: 62:[34, 18] Operation: 45-27=18 Exploring Operation: 45-34=11, Resulting Numbers: [27, 11] Generated Node #0,0,3: 62:[27, 11] Operation: 45-34=11 Moving to Node #0,3,3 Current State: 62:[34, 3], Operations: ['54-45=9', '27/9=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,62 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[34, 36], Operations: ['54-45=9', '27+9=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,62 unequal: No Solution Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,62 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[9, 61], Operations: ['54-45=9', '27+34=61'] Exploring Operation: 9*61=549, Resulting Numbers: [549] 549,62 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,62 unequal: No Solution Moving to Node #0,3,2 Current State: 62:[27, 25], Operations: ['54-45=9', '34-9=25'] Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 27+25=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 27*25=675, Resulting Numbers: [675] 675,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[27, 11], Operations: ['54-27=27', '45-34=11'] Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,62 unequal: No Solution Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[34, 72], Operations: ['54-27=27', '45+27=72'] Exploring Operation: 34+72=106, Resulting Numbers: [106] 106,62 unequal: No Solution Exploring Operation: 34*72=2448, Resulting Numbers: [2448] 2448,62 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[54, 38], Operations: ['45+27=72', '72-34=38'] Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,62 unequal: No Solution Exploring Operation: 54+38=92, Resulting Numbers: [92] 92,62 unequal: No Solution Exploring Operation: 54*38=2052, Resulting Numbers: [2052] 2052,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[45, 61], Operations: ['54-27=27', '34+27=61'] Exploring Operation: 45+61=106, Resulting Numbers: [106] 106,62 unequal: No Solution Exploring Operation: 45*61=2745, Resulting Numbers: [2745] 2745,62 unequal: No Solution Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[34, 18], Operations: ['45+27=72', '72-54=18'] Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,62 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,62 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[34, 18], Operations: ['54-27=27', '45-27=18'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,62 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[72, 20], Operations: ['45+27=72', '54-34=20'] Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 72+20=92, Resulting Numbers: [92] 92,62 unequal: No Solution Exploring Operation: 72*20=1440, Resulting Numbers: [1440] 1440,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[72, 88], Operations: ['45+27=72', '54+34=88'] Exploring Operation: 88-72=16, Resulting Numbers: [16] 16,62 unequal: No Solution Exploring Operation: 72+88=160, Resulting Numbers: [160] 160,62 unequal: No Solution Exploring Operation: 72*88=6336, Resulting Numbers: [6336] 6336,62 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 36, 90, 73, 73 ]
54
[ "90-36=54", "73-73=0", "54+0=54" ]
Current State: 54:[36, 90, 73, 73], Operations: [] Exploring Operation: 90-36=54, Resulting Numbers: [73, 73, 54] Generated Node #2: [73, 73, 54] from Operation: 90-36=54 Current State: 54:[73, 73, 54], Operations: ['90-36=54'] Exploring Operation: 73-73=0, Resulting Numbers: [54, 0] Generated Node #3: [54, 0] from Operation: 73-73=0 Current State: 54:[54, 0], Operations: ['90-36=54', '73-73=0'] Exploring Operation: 54+0=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[36, 90, 73, 73], Operations: [] Exploring Operation: 90-73=17, Resulting Numbers: [36, 73, 17] Generated Node #0,0: 54:[36, 73, 17] Operation: 90-73=17 Exploring Operation: 90-73=17, Resulting Numbers: [36, 73, 17] Generated Node #0,1: 54:[36, 73, 17] Operation: 90-73=17 Moving to Node #0,0 Current State: 54:[36, 73, 17], Operations: ['90-73=17'] Exploring Operation: 73-17=56, Resulting Numbers: [36, 56] Generated Node #0,0,0: 54:[36, 56] Operation: 73-17=56 Exploring Operation: 73-36=37, Resulting Numbers: [17, 37] Generated Node #0,0,1: 54:[17, 37] Operation: 73-36=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[36, 56], Operations: ['90-73=17', '73-17=56'] Exploring Operation: 56-36=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 36+56=92, Resulting Numbers: [92] 92,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[17, 37], Operations: ['90-73=17', '73-36=37'] Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[36, 90, 73, 73], Operations: [] Exploring Operation: 90-73=17, Resulting Numbers: [36, 73, 17] Generated Node #0,0: 54:[36, 73, 17] Operation: 90-73=17 Moving to Node #0,0 Current State: 54:[36, 73, 17], Operations: ['90-73=17'] Exploring Operation: 73-36=37, Resulting Numbers: [17, 37] Generated Node #0,0,1: 54:[17, 37] Operation: 73-36=37 Moving to Node #0,0,1 Current State: 54:[17, 37], Operations: ['90-73=17', '73-36=37'] Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 26, 21, 58, 2 ]
24
[ "26-21=5", "58/2=29", "29-5=24" ]
Current State: 24:[26, 21, 58, 2], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [58, 2, 5] Generated Node #2: [58, 2, 5] from Operation: 26-21=5 Current State: 24:[58, 2, 5], Operations: ['26-21=5'] Exploring Operation: 58/2=29, Resulting Numbers: [5, 29] Generated Node #3: [5, 29] from Operation: 58/2=29 Current State: 24:[5, 29], Operations: ['26-21=5', '58/2=29'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[26, 21, 58, 2], Operations: [] Exploring Operation: 58-26=32, Resulting Numbers: [21, 2, 32] Generated Node #0,0: 24:[21, 2, 32] Operation: 58-26=32 Exploring Operation: 58-21=37, Resulting Numbers: [26, 2, 37] Generated Node #0,1: 24:[26, 2, 37] Operation: 58-21=37 Exploring Operation: 58/2=29, Resulting Numbers: [26, 21, 29] Generated Node #0,2: 24:[26, 21, 29] Operation: 58/2=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[26, 21, 29], Operations: ['58/2=29'] Exploring Operation: 29-26=3, Resulting Numbers: [21, 3] Generated Node #0,2,0: 24:[21, 3] Operation: 29-26=3 Exploring Operation: 26-21=5, Resulting Numbers: [29, 5] Generated Node #0,2,1: 24:[29, 5] Operation: 26-21=5 Exploring Operation: 29-21=8, Resulting Numbers: [26, 8] Generated Node #0,2,2: 24:[26, 8] Operation: 29-21=8 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 24:[26, 8], Operations: ['58/2=29', '29-21=8'] Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,24 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,24 unequal: No Solution No 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: 24:[21, 3], Operations: ['58/2=29', '29-26=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[26, 21, 58, 2], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [26, 21, 29] Generated Node #0,2: 24:[26, 21, 29] Operation: 58/2=29 Moving to Node #0,2 Current State: 24:[26, 21, 29], Operations: ['58/2=29'] Exploring Operation: 29-26=3, Resulting Numbers: [21, 3] Generated Node #0,2,0: 24:[21, 3] Operation: 29-26=3 Moving to Node #0,2,0 Current State: 24:[21, 3], Operations: ['58/2=29', '29-26=3'] Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 3, 6, 44, 99 ]
27
[ "3*44=132", "6+99=105", "132-105=27" ]
Current State: 27:[3, 6, 44, 99], Operations: [] Exploring Operation: 3*44=132, Resulting Numbers: [6, 99, 132] Generated Node #2: [6, 99, 132] from Operation: 3*44=132 Current State: 27:[6, 99, 132], Operations: ['3*44=132'] Exploring Operation: 6+99=105, Resulting Numbers: [132, 105] Generated Node #3: [132, 105] from Operation: 6+99=105 Current State: 27:[132, 105], Operations: ['3*44=132', '6+99=105'] Exploring Operation: 132-105=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[3, 6, 44, 99], Operations: [] Exploring Operation: 99-44=55, Resulting Numbers: [3, 6, 55] Generated Node #0,0: 27:[3, 6, 55] Operation: 99-44=55 Exploring Operation: 44-6=38, Resulting Numbers: [3, 99, 38] Generated Node #0,1: 27:[3, 99, 38] Operation: 44-6=38 Exploring Operation: 99/3=33, Resulting Numbers: [6, 44, 33] Generated Node #0,2: 27:[6, 44, 33] Operation: 99/3=33 Moving to Node #0,2 Current State: 27:[6, 44, 33], Operations: ['99/3=33'] Exploring Operation: 44-33=11, Resulting Numbers: [6, 11] Generated Node #0,2,0: 27:[6, 11] Operation: 44-33=11 Exploring Operation: 33-6=27, Resulting Numbers: [44, 27] Generated Node #0,2,1: 27:[44, 27] Operation: 33-6=27 Exploring Operation: 44-6=38, Resulting Numbers: [33, 38] Generated Node #0,2,2: 27:[33, 38] Operation: 44-6=38 Moving to Node #0,0 Current State: 27:[3, 6, 55], Operations: ['99-44=55'] Exploring Operation: 6-3=3, Resulting Numbers: [55, 3] Generated Node #0,0,0: 27:[55, 3] Operation: 6-3=3 Exploring Operation: 55-6=49, Resulting Numbers: [3, 49] Generated Node #0,0,1: 27:[3, 49] Operation: 55-6=49 Exploring Operation: 3+6=9, Resulting Numbers: [55, 9] Generated Node #0,0,2: 27:[55, 9] Operation: 3+6=9 Moving to Node #0,1 Current State: 27:[3, 99, 38], Operations: ['44-6=38'] Exploring Operation: 99/3=33, Resulting Numbers: [38, 33] Generated Node #0,1,0: 27:[38, 33] Operation: 99/3=33 Exploring Operation: 99-3=96, Resulting Numbers: [38, 96] Generated Node #0,1,1: 27:[38, 96] Operation: 99-3=96 Exploring Operation: 99-38=61, Resulting Numbers: [3, 61] Generated Node #0,1,2: 27:[3, 61] Operation: 99-38=61 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[38, 33], Operations: ['44-6=38', '99/3=33'] Exploring Operation: 38*33=1254, Resulting Numbers: [1254] 1254,27 unequal: No Solution Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,27 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[3, 61], Operations: ['44-6=38', '99-38=61'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[38, 96], Operations: ['44-6=38', '99-3=96'] Exploring Operation: 96-38=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 38*96=3648, Resulting Numbers: [3648] 3648,27 unequal: No Solution Exploring Operation: 38+96=134, Resulting Numbers: [134] 134,27 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: 27:[6, 11], Operations: ['99/3=33', '44-33=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[33, 38], Operations: ['99/3=33', '44-6=38'] Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,27 unequal: No Solution Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[44, 27], Operations: ['99/3=33', '33-6=27'] Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,27 unequal: No Solution Exploring Operation: 44*27=1188, Resulting Numbers: [1188] 1188,27 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[3, 49], Operations: ['99-44=55', '55-6=49'] Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 3*49=147, Resulting Numbers: [147] 147,27 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[55, 3], Operations: ['99-44=55', '6-3=3'] Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,27 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[55, 9], Operations: ['99-44=55', '3+6=9'] Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,27 unequal: No Solution Exploring Operation: 55*9=495, Resulting Numbers: [495] 495,27 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 76, 15, 4, 99 ]
97
[ "99-15=84", "84/4=21", "76+21=97" ]
Current State: 97:[76, 15, 4, 99], Operations: [] Exploring Operation: 99-15=84, Resulting Numbers: [76, 4, 84] Generated Node #2: [76, 4, 84] from Operation: 99-15=84 Current State: 97:[76, 4, 84], Operations: ['99-15=84'] Exploring Operation: 84/4=21, Resulting Numbers: [76, 21] Generated Node #3: [76, 21] from Operation: 84/4=21 Current State: 97:[76, 21], Operations: ['99-15=84', '84/4=21'] Exploring Operation: 76+21=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[76, 15, 4, 99], Operations: [] Exploring Operation: 76+15=91, Resulting Numbers: [4, 99, 91] Generated Node #0,0: 97:[4, 99, 91] Operation: 76+15=91 Exploring Operation: 76+4=80, Resulting Numbers: [15, 99, 80] Generated Node #0,1: 97:[15, 99, 80] Operation: 76+4=80 Exploring Operation: 15*4=60, Resulting Numbers: [76, 99, 60] Generated Node #0,2: 97:[76, 99, 60] Operation: 15*4=60 Exploring Operation: 15+4=19, Resulting Numbers: [76, 99, 19] Generated Node #0,3: 97:[76, 99, 19] Operation: 15+4=19 Exploring Operation: 99-4=95, Resulting Numbers: [76, 15, 95] Generated Node #0,4: 97:[76, 15, 95] Operation: 99-4=95 Moving to Node #0,2 Current State: 97:[76, 99, 60], Operations: ['15*4=60'] Exploring Operation: 76+60=136, Resulting Numbers: [99, 136] Generated Node #0,2,0: 97:[99, 136] Operation: 76+60=136 Exploring Operation: 99+60=159, Resulting Numbers: [76, 159] Generated Node #0,2,1: 97:[76, 159] Operation: 99+60=159 Exploring Operation: 76-60=16, Resulting Numbers: [99, 16] Generated Node #0,2,2: 97:[99, 16] Operation: 76-60=16 Exploring Operation: 99-76=23, Resulting Numbers: [60, 23] Generated Node #0,2,3: 97:[60, 23] Operation: 99-76=23 Exploring Operation: 99-60=39, Resulting Numbers: [76, 39] Generated Node #0,2,4: 97:[76, 39] Operation: 99-60=39 Moving to Node #0,1 Current State: 97:[15, 99, 80], Operations: ['76+4=80'] Exploring Operation: 99-15=84, Resulting Numbers: [80, 84] Generated Node #0,1,0: 97:[80, 84] Operation: 99-15=84 Exploring Operation: 80-15=65, Resulting Numbers: [99, 65] Generated Node #0,1,1: 97:[99, 65] Operation: 80-15=65 Exploring Operation: 15+99=114, Resulting Numbers: [80, 114] Generated Node #0,1,2: 97:[80, 114] Operation: 15+99=114 Exploring Operation: 99-80=19, Resulting Numbers: [15, 19] Generated Node #0,1,3: 97:[15, 19] Operation: 99-80=19 Exploring Operation: 15+80=95, Resulting Numbers: [99, 95] Generated Node #0,1,4: 97:[99, 95] Operation: 15+80=95 Moving to Node #0,0 Current State: 97:[4, 99, 91], Operations: ['76+15=91'] Exploring Operation: 4+91=95, Resulting Numbers: [99, 95] Generated Node #0,0,0: 97:[99, 95] Operation: 4+91=95 Exploring Operation: 4+99=103, Resulting Numbers: [91, 103] Generated Node #0,0,1: 97:[91, 103] Operation: 4+99=103 Exploring Operation: 99-4=95, Resulting Numbers: [91, 95] Generated Node #0,0,2: 97:[91, 95] Operation: 99-4=95 Exploring Operation: 99-91=8, Resulting Numbers: [4, 8] Generated Node #0,0,3: 97:[4, 8] Operation: 99-91=8 Exploring Operation: 91-4=87, Resulting Numbers: [99, 87] Generated Node #0,0,4: 97:[99, 87] Operation: 91-4=87 Moving to Node #0,3 Current State: 97:[76, 99, 19], Operations: ['15+4=19'] Exploring Operation: 99-19=80, Resulting Numbers: [76, 80] Generated Node #0,3,0: 97:[76, 80] Operation: 99-19=80 Exploring Operation: 76-19=57, Resulting Numbers: [99, 57] Generated Node #0,3,1: 97:[99, 57] Operation: 76-19=57 Exploring Operation: 99+19=118, Resulting Numbers: [76, 118] Generated Node #0,3,2: 97:[76, 118] Operation: 99+19=118 Exploring Operation: 76/19=4, Resulting Numbers: [99, 4] Generated Node #0,3,3: 97:[99, 4] Operation: 76/19=4 Exploring Operation: 76+19=95, Resulting Numbers: [99, 95] Generated Node #0,3,4: 97:[99, 95] Operation: 76+19=95 Moving to Node #0,4 Current State: 97:[76, 15, 95], Operations: ['99-4=95'] Exploring Operation: 95-15=80, Resulting Numbers: [76, 80] Generated Node #0,4,0: 97:[76, 80] Operation: 95-15=80 Exploring Operation: 15+95=110, Resulting Numbers: [76, 110] Generated Node #0,4,1: 97:[76, 110] Operation: 15+95=110 Exploring Operation: 76+95=171, Resulting Numbers: [15, 171] Generated Node #0,4,2: 97:[15, 171] Operation: 76+95=171 Exploring Operation: 76+15=91, Resulting Numbers: [95, 91] Generated Node #0,4,3: 97:[95, 91] Operation: 76+15=91 Exploring Operation: 76-15=61, Resulting Numbers: [95, 61] Generated Node #0,4,4: 97:[95, 61] Operation: 76-15=61 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 97:[95, 91], Operations: ['99-4=95', '76+15=91'] Exploring Operation: 95*91=8645, Resulting Numbers: [8645] 8645,97 unequal: No Solution Exploring Operation: 95+91=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 95-91=4, Resulting Numbers: [4] 4,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 97:[76, 110], Operations: ['99-4=95', '15+95=110'] Exploring Operation: 76*110=8360, Resulting Numbers: [8360] 8360,97 unequal: No Solution Exploring Operation: 76+110=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 110-76=34, Resulting Numbers: [34] 34,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 97:[76, 80], Operations: ['99-4=95', '95-15=80'] Exploring Operation: 80-76=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 76*80=6080, Resulting Numbers: [6080] 6080,97 unequal: No Solution Exploring Operation: 76+80=156, Resulting Numbers: [156] 156,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 97:[95, 61], Operations: ['99-4=95', '76-15=61'] Exploring Operation: 95*61=5795, Resulting Numbers: [5795] 5795,97 unequal: No Solution Exploring Operation: 95+61=156, Resulting Numbers: [156] 156,97 unequal: No Solution Exploring Operation: 95-61=34, Resulting Numbers: [34] 34,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 97:[15, 171], Operations: ['99-4=95', '76+95=171'] Exploring Operation: 171-15=156, Resulting Numbers: [156] 156,97 unequal: No Solution Exploring Operation: 15+171=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 15*171=2565, Resulting Numbers: [2565] 2565,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 97:[99, 95], Operations: ['76+4=80', '15+80=95'] Exploring Operation: 99*95=9405, Resulting Numbers: [9405] 9405,97 unequal: No Solution Exploring Operation: 99-95=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 99+95=194, Resulting Numbers: [194] 194,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[99, 95], Operations: ['76+15=91', '4+91=95'] Exploring Operation: 99+95=194, Resulting Numbers: [194] 194,97 unequal: No Solution Exploring Operation: 99-95=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 99*95=9405, Resulting Numbers: [9405] 9405,97 unequal: No Solution Moving to Node #0,3,4 Current State: 97:[99, 95], Operations: ['15+4=19', '76+19=95'] Exploring Operation: 99-95=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 99+95=194, Resulting Numbers: [194] 194,97 unequal: No Solution Exploring Operation: 99*95=9405, Resulting Numbers: [9405] 9405,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[91, 95], Operations: ['76+15=91', '99-4=95'] Exploring Operation: 95-91=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 91+95=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 91*95=8645, Resulting Numbers: [8645] 8645,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[99, 87], Operations: ['76+15=91', '91-4=87'] Exploring Operation: 99*87=8613, Resulting Numbers: [8613] 8613,97 unequal: No Solution Exploring Operation: 99+87=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 99-87=12, Resulting Numbers: [12] 12,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[91, 103], Operations: ['76+15=91', '4+99=103'] Exploring Operation: 91*103=9373, Resulting Numbers: [9373] 9373,97 unequal: No Solution Exploring Operation: 91+103=194, Resulting Numbers: [194] 194,97 unequal: No Solution Exploring Operation: 103-91=12, Resulting Numbers: [12] 12,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[80, 84], Operations: ['76+4=80', '99-15=84'] Exploring Operation: 84-80=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 80*84=6720, Resulting Numbers: [6720] 6720,97 unequal: No Solution Exploring Operation: 80+84=164, Resulting Numbers: [164] 164,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[99, 65], Operations: ['76+4=80', '80-15=65'] Exploring Operation: 99+65=164, Resulting Numbers: [164] 164,97 unequal: No Solution Exploring Operation: 99*65=6435, Resulting Numbers: [6435] 6435,97 unequal: No Solution Exploring Operation: 99-65=34, Resulting Numbers: [34] 34,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[80, 114], Operations: ['76+4=80', '15+99=114'] Exploring Operation: 80*114=9120, Resulting Numbers: [9120] 9120,97 unequal: No Solution Exploring Operation: 114-80=34, Resulting Numbers: [34] 34,97 unequal: No Solution Exploring Operation: 80+114=194, Resulting Numbers: [194] 194,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[76, 80], Operations: ['15+4=19', '99-19=80'] Exploring Operation: 80-76=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 76+80=156, Resulting Numbers: [156] 156,97 unequal: No Solution Exploring Operation: 76*80=6080, Resulting Numbers: [6080] 6080,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[99, 136], Operations: ['15*4=60', '76+60=136'] Exploring Operation: 136-99=37, Resulting Numbers: [37] 37,97 unequal: No Solution Exploring Operation: 99+136=235, Resulting Numbers: [235] 235,97 unequal: No Solution Exploring Operation: 99*136=13464, Resulting Numbers: [13464] 13464,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[76, 118], Operations: ['15+4=19', '99+19=118'] Exploring Operation: 76+118=194, Resulting Numbers: [194] 194,97 unequal: No Solution Exploring Operation: 76*118=8968, Resulting Numbers: [8968] 8968,97 unequal: No Solution Exploring Operation: 118-76=42, Resulting Numbers: [42] 42,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[99, 57], Operations: ['15+4=19', '76-19=57'] Exploring Operation: 99*57=5643, Resulting Numbers: [5643] 5643,97 unequal: No Solution Exploring Operation: 99+57=156, Resulting Numbers: [156] 156,97 unequal: No Solution Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,97 unequal: No Solution Moving to Node #0,2,4 Current State: 97:[76, 39], Operations: ['15*4=60', '99-60=39'] Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,97 unequal: No Solution Exploring Operation: 76+39=115, Resulting Numbers: [115] 115,97 unequal: No Solution Exploring Operation: 76*39=2964, Resulting Numbers: [2964] 2964,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[76, 159], Operations: ['15*4=60', '99+60=159'] Exploring Operation: 76*159=12084, Resulting Numbers: [12084] 12084,97 unequal: No Solution Exploring Operation: 159-76=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 76+159=235, Resulting Numbers: [235] 235,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[99, 16], Operations: ['15*4=60', '76-60=16'] Exploring Operation: 99-16=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 99*16=1584, Resulting Numbers: [1584] 1584,97 unequal: No Solution Exploring Operation: 99+16=115, Resulting Numbers: [115] 115,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[99, 4], Operations: ['15+4=19', '76/19=4'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 99*4=396, Resulting Numbers: [396] 396,97 unequal: No Solution Exploring Operation: 99+4=103, Resulting Numbers: [103] 103,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[60, 23], Operations: ['15*4=60', '99-76=23'] Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,97 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,97 unequal: No Solution Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[15, 19], Operations: ['76+4=80', '99-80=19'] Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,97 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[4, 8], Operations: ['76+15=91', '99-91=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,97 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,97 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,97 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 47, 96, 76, 75 ]
50
[ "96-47=49", "76-75=1", "49+1=50" ]
Current State: 50:[47, 96, 76, 75], Operations: [] Exploring Operation: 96-47=49, Resulting Numbers: [76, 75, 49] Generated Node #2: [76, 75, 49] from Operation: 96-47=49 Current State: 50:[76, 75, 49], Operations: ['96-47=49'] Exploring Operation: 76-75=1, Resulting Numbers: [49, 1] Generated Node #3: [49, 1] from Operation: 76-75=1 Current State: 50:[49, 1], Operations: ['96-47=49', '76-75=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[47, 96, 76, 75], Operations: [] Exploring Operation: 76-75=1, Resulting Numbers: [47, 96, 1] Generated Node #0,0: 50:[47, 96, 1] Operation: 76-75=1 Exploring Operation: 96-47=49, Resulting Numbers: [76, 75, 49] Generated Node #0,1: 50:[76, 75, 49] Operation: 96-47=49 Exploring Operation: 96-76=20, Resulting Numbers: [47, 75, 20] Generated Node #0,2: 50:[47, 75, 20] Operation: 96-76=20 Exploring Operation: 96-75=21, Resulting Numbers: [47, 76, 21] Generated Node #0,3: 50:[47, 76, 21] Operation: 96-75=21 Exploring Operation: 76-47=29, Resulting Numbers: [96, 75, 29] Generated Node #0,4: 50:[96, 75, 29] Operation: 76-47=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[47, 75, 20], Operations: ['96-76=20'] Exploring Operation: 47+20=67, Resulting Numbers: [75, 67] Generated Node #0,2,0: 50:[75, 67] Operation: 47+20=67 Exploring Operation: 75-47=28, Resulting Numbers: [20, 28] Generated Node #0,2,1: 50:[20, 28] Operation: 75-47=28 Exploring Operation: 75+20=95, Resulting Numbers: [47, 95] Generated Node #0,2,2: 50:[47, 95] Operation: 75+20=95 Exploring Operation: 47-20=27, Resulting Numbers: [75, 27] Generated Node #0,2,3: 50:[75, 27] Operation: 47-20=27 Exploring Operation: 75-20=55, Resulting Numbers: [47, 55] Generated Node #0,2,4: 50:[47, 55] Operation: 75-20=55 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 50:[20, 28], Operations: ['96-76=20', '75-47=28'] Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,50 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 50:[47, 55], Operations: ['96-76=20', '75-20=55'] Exploring Operation: 47*55=2585, Resulting Numbers: [2585] 2585,50 unequal: No Solution Exploring Operation: 47+55=102, Resulting Numbers: [102] 102,50 unequal: No Solution Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 50:[75, 27], Operations: ['96-76=20', '47-20=27'] Exploring Operation: 75+27=102, Resulting Numbers: [102] 102,50 unequal: No Solution Exploring Operation: 75*27=2025, Resulting Numbers: [2025] 2025,50 unequal: No Solution Exploring Operation: 75-27=48, Resulting Numbers: [48] 48,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 50:[75, 67], Operations: ['96-76=20', '47+20=67'] Exploring Operation: 75+67=142, Resulting Numbers: [142] 142,50 unequal: No Solution Exploring Operation: 75*67=5025, Resulting Numbers: [5025] 5025,50 unequal: No Solution Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 50:[47, 95], Operations: ['96-76=20', '75+20=95'] Exploring Operation: 47*95=4465, Resulting Numbers: [4465] 4465,50 unequal: No Solution Exploring Operation: 47+95=142, Resulting Numbers: [142] 142,50 unequal: No Solution Exploring Operation: 95-47=48, Resulting Numbers: [48] 48,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,3 Current State: 50:[47, 76, 21], Operations: ['96-75=21'] Exploring Operation: 76-47=29, Resulting Numbers: [21, 29] Generated Node #0,3,0: 50:[21, 29] Operation: 76-47=29 Exploring Operation: 76+21=97, Resulting Numbers: [47, 97] Generated Node #0,3,1: 50:[47, 97] Operation: 76+21=97 Exploring Operation: 76-21=55, Resulting Numbers: [47, 55] Generated Node #0,3,2: 50:[47, 55] Operation: 76-21=55 Exploring Operation: 47+21=68, Resulting Numbers: [76, 68] Generated Node #0,3,3: 50:[76, 68] Operation: 47+21=68 Exploring Operation: 47-21=26, Resulting Numbers: [76, 26] Generated Node #0,3,4: 50:[76, 26] Operation: 47-21=26 Moving to Node #0,3,0 Current State: 50:[21, 29], Operations: ['96-75=21', '76-47=29'] Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[47, 96, 76, 75], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [47, 76, 21] Generated Node #0,3: 50:[47, 76, 21] Operation: 96-75=21 Moving to Node #0,3 Current State: 50:[47, 76, 21], Operations: ['96-75=21'] Exploring Operation: 76-47=29, Resulting Numbers: [21, 29] Generated Node #0,3,0: 50:[21, 29] Operation: 76-47=29 Moving to Node #0,3,0 Current State: 50:[21, 29], Operations: ['96-75=21', '76-47=29'] Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 13, 78, 87, 26 ]
48
[ "13*78=1014", "1014/26=39", "87-39=48" ]
Current State: 48:[13, 78, 87, 26], Operations: [] Exploring Operation: 13*78=1014, Resulting Numbers: [87, 26, 1014] Generated Node #2: [87, 26, 1014] from Operation: 13*78=1014 Current State: 48:[87, 26, 1014], Operations: ['13*78=1014'] Exploring Operation: 1014/26=39, Resulting Numbers: [87, 39] Generated Node #3: [87, 39] from Operation: 1014/26=39 Current State: 48:[87, 39], Operations: ['13*78=1014', '1014/26=39'] Exploring Operation: 87-39=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[13, 78, 87, 26], Operations: [] Exploring Operation: 87-78=9, Resulting Numbers: [13, 26, 9] Generated Node #0,0: 48:[13, 26, 9] Operation: 87-78=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[13, 26, 9], Operations: ['87-78=9'] Exploring Operation: 26/13=2, Resulting Numbers: [9, 2] Generated Node #0,0,0: 48:[9, 2] Operation: 26/13=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[9, 2], Operations: ['87-78=9', '26/13=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 42, 34, 29, 7 ]
57
[ "42-29=13", "7*13=91", "91-34=57" ]
Current State: 57:[42, 34, 29, 7], Operations: [] Exploring Operation: 42-29=13, Resulting Numbers: [34, 7, 13] Generated Node #2: [34, 7, 13] from Operation: 42-29=13 Current State: 57:[34, 7, 13], Operations: ['42-29=13'] Exploring Operation: 7*13=91, Resulting Numbers: [34, 91] Generated Node #3: [34, 91] from Operation: 7*13=91 Current State: 57:[34, 91], Operations: ['42-29=13', '7*13=91'] Exploring Operation: 91-34=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[42, 34, 29, 7], Operations: [] Exploring Operation: 42-34=8, Resulting Numbers: [29, 7, 8] Generated Node #0,0: 57:[29, 7, 8] Operation: 42-34=8 Exploring Operation: 34-29=5, Resulting Numbers: [42, 7, 5] Generated Node #0,1: 57:[42, 7, 5] Operation: 34-29=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[29, 7, 8], Operations: ['42-34=8'] Exploring Operation: 29-7=22, Resulting Numbers: [8, 22] Generated Node #0,0,0: 57:[8, 22] Operation: 29-7=22 Exploring Operation: 29-8=21, Resulting Numbers: [7, 21] Generated Node #0,0,1: 57:[7, 21] Operation: 29-8=21 Moving to Node #0,0,1 Current State: 57:[7, 21], Operations: ['42-34=8', '29-8=21'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,57 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[8, 22], Operations: ['42-34=8', '29-7=22'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,57 unequal: No Solution Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[42, 7, 5], Operations: ['34-29=5'] Exploring Operation: 42/7=6, Resulting Numbers: [5, 6] Generated Node #0,1,0: 57:[5, 6] Operation: 42/7=6 Exploring Operation: 42+7=49, Resulting Numbers: [5, 49] Generated Node #0,1,1: 57:[5, 49] Operation: 42+7=49 Moving to Node #0,1,0 Current State: 57:[5, 6], Operations: ['34-29=5', '42/7=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,57 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[5, 49], Operations: ['34-29=5', '42+7=49'] Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 5+49=54, Resulting Numbers: [54] 54,57 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
[ 44, 4, 14, 91 ]
29
[ "44+4=48", "91-14=77", "77-48=29" ]
Current State: 29:[44, 4, 14, 91], Operations: [] Exploring Operation: 44+4=48, Resulting Numbers: [14, 91, 48] Generated Node #2: [14, 91, 48] from Operation: 44+4=48 Current State: 29:[14, 91, 48], Operations: ['44+4=48'] Exploring Operation: 91-14=77, Resulting Numbers: [48, 77] Generated Node #3: [48, 77] from Operation: 91-14=77 Current State: 29:[48, 77], Operations: ['44+4=48', '91-14=77'] Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[44, 4, 14, 91], Operations: [] Exploring Operation: 4+14=18, Resulting Numbers: [44, 91, 18] Generated Node #0,0: 29:[44, 91, 18] Operation: 4+14=18 Exploring Operation: 91-4=87, Resulting Numbers: [44, 14, 87] Generated Node #0,1: 29:[44, 14, 87] Operation: 91-4=87 Exploring Operation: 91-44=47, Resulting Numbers: [4, 14, 47] Generated Node #0,2: 29:[4, 14, 47] Operation: 91-44=47 Exploring Operation: 44-4=40, Resulting Numbers: [14, 91, 40] Generated Node #0,3: 29:[14, 91, 40] Operation: 44-4=40 Exploring Operation: 44-14=30, Resulting Numbers: [4, 91, 30] Generated Node #0,4: 29:[4, 91, 30] Operation: 44-14=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[4, 14, 47], Operations: ['91-44=47'] Exploring Operation: 14-4=10, Resulting Numbers: [47, 10] Generated Node #0,2,0: 29:[47, 10] Operation: 14-4=10 Exploring Operation: 47-4=43, Resulting Numbers: [14, 43] Generated Node #0,2,1: 29:[14, 43] Operation: 47-4=43 Exploring Operation: 47-14=33, Resulting Numbers: [4, 33] Generated Node #0,2,2: 29:[4, 33] Operation: 47-14=33 Exploring Operation: 4+14=18, Resulting Numbers: [47, 18] Generated Node #0,2,3: 29:[47, 18] Operation: 4+14=18 Exploring Operation: 4+47=51, Resulting Numbers: [14, 51] Generated Node #0,2,4: 29:[14, 51] Operation: 4+47=51 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 29:[14, 43], Operations: ['91-44=47', '47-4=43'] Exploring Operation: 14*43=602, Resulting Numbers: [602] 602,29 unequal: No Solution Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,29 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[44, 4, 14, 91], Operations: [] Exploring Operation: 91-44=47, Resulting Numbers: [4, 14, 47] Generated Node #0,2: 29:[4, 14, 47] Operation: 91-44=47 Moving to Node #0,2 Current State: 29:[4, 14, 47], Operations: ['91-44=47'] Exploring Operation: 47-4=43, Resulting Numbers: [14, 43] Generated Node #0,2,1: 29:[14, 43] Operation: 47-4=43 Moving to Node #0,2,1 Current State: 29:[14, 43], Operations: ['91-44=47', '47-4=43'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 49, 20, 33, 21 ]
97
[ "49*33=1617", "1617/21=77", "20+77=97" ]
Current State: 97:[49, 20, 33, 21], Operations: [] Exploring Operation: 49*33=1617, Resulting Numbers: [20, 21, 1617] Generated Node #2: [20, 21, 1617] from Operation: 49*33=1617 Current State: 97:[20, 21, 1617], Operations: ['49*33=1617'] Exploring Operation: 1617/21=77, Resulting Numbers: [20, 77] Generated Node #3: [20, 77] from Operation: 1617/21=77 Current State: 97:[20, 77], Operations: ['49*33=1617', '1617/21=77'] Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[49, 20, 33, 21], Operations: [] Exploring Operation: 49+33=82, Resulting Numbers: [20, 21, 82] Generated Node #0,0: 97:[20, 21, 82] Operation: 49+33=82 Exploring Operation: 49+20=69, Resulting Numbers: [33, 21, 69] Generated Node #0,1: 97:[33, 21, 69] Operation: 49+20=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[20, 21, 82], Operations: ['49+33=82'] Exploring Operation: 20+82=102, Resulting Numbers: [21, 102] Generated Node #0,0,0: 97:[21, 102] Operation: 20+82=102 Exploring Operation: 20+21=41, Resulting Numbers: [82, 41] Generated Node #0,0,1: 97:[82, 41] Operation: 20+21=41 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[82, 41], Operations: ['49+33=82', '20+21=41'] Exploring Operation: 82+41=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[21, 102], Operations: ['49+33=82', '20+82=102'] Exploring Operation: 21+102=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 102-21=81, Resulting Numbers: [81] 81,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[33, 21, 69], Operations: ['49+20=69'] Exploring Operation: 33+21=54, Resulting Numbers: [69, 54] Generated Node #0,1,0: 97:[69, 54] Operation: 33+21=54 Exploring Operation: 21+69=90, Resulting Numbers: [33, 90] Generated Node #0,1,1: 97:[33, 90] Operation: 21+69=90 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[69, 54], Operations: ['49+20=69', '33+21=54'] Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[33, 90], Operations: ['49+20=69', '21+69=90'] Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 33+90=123, Resulting Numbers: [123] 123,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 7, 58, 67, 65 ]
36
[ "67-65=2", "58/2=29", "7+29=36" ]
Current State: 36:[7, 58, 67, 65], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [7, 58, 2] Generated Node #2: [7, 58, 2] from Operation: 67-65=2 Current State: 36:[7, 58, 2], Operations: ['67-65=2'] Exploring Operation: 58/2=29, Resulting Numbers: [7, 29] Generated Node #3: [7, 29] from Operation: 58/2=29 Current State: 36:[7, 29], Operations: ['67-65=2', '58/2=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[7, 58, 67, 65], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [7, 58, 2] Generated Node #0,0: 36:[7, 58, 2] Operation: 67-65=2 Moving to Node #0,0 Current State: 36:[7, 58, 2], Operations: ['67-65=2'] Exploring Operation: 58/2=29, Resulting Numbers: [7, 29] Generated Node #0,0,0: 36:[7, 29] Operation: 58/2=29 Moving to Node #0,0,0 Current State: 36:[7, 29], Operations: ['67-65=2', '58/2=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[7, 58, 67, 65], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [7, 58, 2] Generated Node #0,0: 36:[7, 58, 2] Operation: 67-65=2 Moving to Node #0,0 Current State: 36:[7, 58, 2], Operations: ['67-65=2'] Exploring Operation: 58/2=29, Resulting Numbers: [7, 29] Generated Node #0,0,0: 36:[7, 29] Operation: 58/2=29 Moving to Node #0,0,0 Current State: 36:[7, 29], Operations: ['67-65=2', '58/2=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 2, 92, 28, 10 ]
59
[ "10/2=5", "92-28=64", "64-5=59" ]
Current State: 59:[2, 92, 28, 10], Operations: [] Exploring Operation: 10/2=5, Resulting Numbers: [92, 28, 5] Generated Node #2: [92, 28, 5] from Operation: 10/2=5 Current State: 59:[92, 28, 5], Operations: ['10/2=5'] Exploring Operation: 92-28=64, Resulting Numbers: [5, 64] Generated Node #3: [5, 64] from Operation: 92-28=64 Current State: 59:[5, 64], Operations: ['10/2=5', '92-28=64'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[2, 92, 28, 10], Operations: [] Exploring Operation: 2*28=56, Resulting Numbers: [92, 10, 56] Generated Node #0,0: 59:[92, 10, 56] Operation: 2*28=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[92, 10, 56], Operations: ['2*28=56'] Exploring Operation: 92-10=82, Resulting Numbers: [56, 82] Generated Node #0,0,0: 59:[56, 82] Operation: 92-10=82 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[56, 82], Operations: ['2*28=56', '92-10=82'] Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,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_1
mult_heuristic
[ 72, 27, 95, 26 ]
24
[ "72-27=45", "95-26=69", "69-45=24" ]
Current State: 24:[72, 27, 95, 26], Operations: [] Exploring Operation: 72-27=45, Resulting Numbers: [95, 26, 45] Generated Node #2: [95, 26, 45] from Operation: 72-27=45 Current State: 24:[95, 26, 45], Operations: ['72-27=45'] Exploring Operation: 95-26=69, Resulting Numbers: [45, 69] Generated Node #3: [45, 69] from Operation: 95-26=69 Current State: 24:[45, 69], Operations: ['72-27=45', '95-26=69'] Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[72, 27, 95, 26], Operations: [] Exploring Operation: 95-72=23, Resulting Numbers: [27, 26, 23] Generated Node #0,0: 24:[27, 26, 23] Operation: 95-72=23 Moving to Node #0,0 Current State: 24:[27, 26, 23], Operations: ['95-72=23'] Exploring Operation: 27-26=1, Resulting Numbers: [23, 1] Generated Node #0,0,0: 24:[23, 1] Operation: 27-26=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[23, 1], Operations: ['95-72=23', '27-26=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[72, 27, 95, 26], Operations: [] Exploring Operation: 95-72=23, Resulting Numbers: [27, 26, 23] Generated Node #0,0: 24:[27, 26, 23] Operation: 95-72=23 Moving to Node #0,0 Current State: 24:[27, 26, 23], Operations: ['95-72=23'] Exploring Operation: 27-26=1, Resulting Numbers: [23, 1] Generated Node #0,0,0: 24:[23, 1] Operation: 27-26=1 Moving to Node #0,0,0 Current State: 24:[23, 1], Operations: ['95-72=23', '27-26=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 21, 11, 43, 17 ]
87
[ "21-17=4", "11*4=44", "43+44=87" ]
Current State: 87:[21, 11, 43, 17], Operations: [] Exploring Operation: 21-17=4, Resulting Numbers: [11, 43, 4] Generated Node #2: [11, 43, 4] from Operation: 21-17=4 Current State: 87:[11, 43, 4], Operations: ['21-17=4'] Exploring Operation: 11*4=44, Resulting Numbers: [43, 44] Generated Node #3: [43, 44] from Operation: 11*4=44 Current State: 87:[43, 44], Operations: ['21-17=4', '11*4=44'] Exploring Operation: 43+44=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[21, 11, 43, 17], Operations: [] Exploring Operation: 43-17=26, Resulting Numbers: [21, 11, 26] Generated Node #0,0: 87:[21, 11, 26] Operation: 43-17=26 Exploring Operation: 17-11=6, Resulting Numbers: [21, 43, 6] Generated Node #0,1: 87:[21, 43, 6] Operation: 17-11=6 Exploring Operation: 11+17=28, Resulting Numbers: [21, 43, 28] Generated Node #0,2: 87:[21, 43, 28] Operation: 11+17=28 Exploring Operation: 43-11=32, Resulting Numbers: [21, 17, 32] Generated Node #0,3: 87:[21, 17, 32] Operation: 43-11=32 Exploring Operation: 21-17=4, Resulting Numbers: [11, 43, 4] Generated Node #0,4: 87:[11, 43, 4] Operation: 21-17=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[21, 11, 26], Operations: ['43-17=26'] Exploring Operation: 21+11=32, Resulting Numbers: [26, 32] Generated Node #0,0,0: 87:[26, 32] Operation: 21+11=32 Exploring Operation: 26-11=15, Resulting Numbers: [21, 15] Generated Node #0,0,1: 87:[21, 15] Operation: 26-11=15 Exploring Operation: 21-11=10, Resulting Numbers: [26, 10] Generated Node #0,0,2: 87:[26, 10] Operation: 21-11=10 Exploring Operation: 26-21=5, Resulting Numbers: [11, 5] Generated Node #0,0,3: 87:[11, 5] Operation: 26-21=5 Exploring Operation: 11+26=37, Resulting Numbers: [21, 37] Generated Node #0,0,4: 87:[21, 37] Operation: 11+26=37 Moving to Node #0,0,0 Current State: 87:[26, 32], Operations: ['43-17=26', '21+11=32'] Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,87 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 26*32=832, Resulting Numbers: [832] 832,87 unequal: No Solution Moving to Node #0,0,3 Current State: 87:[11, 5], Operations: ['43-17=26', '26-21=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,87 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[26, 10], Operations: ['43-17=26', '21-11=10'] Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,87 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,87 unequal: No Solution Moving to Node #0,0,4 Current State: 87:[21, 37], Operations: ['43-17=26', '11+26=37'] Exploring Operation: 21*37=777, Resulting Numbers: [777] 777,87 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[21, 15], Operations: ['43-17=26', '26-11=15'] Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,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,2 Current State: 87:[21, 43, 28], Operations: ['11+17=28'] Exploring Operation: 43-21=22, Resulting Numbers: [28, 22] Generated Node #0,2,0: 87:[28, 22] Operation: 43-21=22 Exploring Operation: 28-21=7, Resulting Numbers: [43, 7] Generated Node #0,2,1: 87:[43, 7] Operation: 28-21=7 Exploring Operation: 43+28=71, Resulting Numbers: [21, 71] Generated Node #0,2,2: 87:[21, 71] Operation: 43+28=71 Exploring Operation: 21+43=64, Resulting Numbers: [28, 64] Generated Node #0,2,3: 87:[28, 64] Operation: 21+43=64 Exploring Operation: 43-28=15, Resulting Numbers: [21, 15] Generated Node #0,2,4: 87:[21, 15] Operation: 43-28=15 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[28, 22], Operations: ['11+17=28', '43-21=22'] Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,87 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 28*22=616, Resulting Numbers: [616] 616,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,2,1 Current State: 87:[43, 7], Operations: ['11+17=28', '28-21=7'] Exploring Operation: 43*7=301, Resulting Numbers: [301] 301,87 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,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,2,4 Current State: 87:[21, 15], Operations: ['11+17=28', '43-28=15'] Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,87 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,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,2,2 Current State: 87:[21, 71], Operations: ['11+17=28', '43+28=71'] Exploring Operation: 21+71=92, Resulting Numbers: [92] 92,87 unequal: No Solution Exploring Operation: 21*71=1491, Resulting Numbers: [1491] 1491,87 unequal: No Solution Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,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,2,3 Current State: 87:[28, 64], Operations: ['11+17=28', '21+43=64'] Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,87 unequal: No Solution Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,87 unequal: No Solution Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,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,3 Current State: 87:[21, 17, 32], Operations: ['43-11=32'] Exploring Operation: 21-17=4, Resulting Numbers: [32, 4] Generated Node #0,3,0: 87:[32, 4] Operation: 21-17=4 Exploring Operation: 17+32=49, Resulting Numbers: [21, 49] Generated Node #0,3,1: 87:[21, 49] Operation: 17+32=49 Exploring Operation: 32-21=11, Resulting Numbers: [17, 11] Generated Node #0,3,2: 87:[17, 11] Operation: 32-21=11 Exploring Operation: 32-17=15, Resulting Numbers: [21, 15] Generated Node #0,3,3: 87:[21, 15] Operation: 32-17=15 Exploring Operation: 21+17=38, Resulting Numbers: [32, 38] Generated Node #0,3,4: 87:[32, 38] Operation: 21+17=38 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 87:[32, 4], Operations: ['43-11=32', '21-17=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,87 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,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,3,4 Current State: 87:[32, 38], Operations: ['43-11=32', '21+17=38'] Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,87 unequal: No Solution Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,87 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,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,3,2 Current State: 87:[17, 11], Operations: ['43-11=32', '32-21=11'] Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,87 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,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,3,3 Current State: 87:[21, 15], Operations: ['43-11=32', '32-17=15'] Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,87 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,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,3,1 Current State: 87:[21, 49], Operations: ['43-11=32', '17+32=49'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,87 unequal: No Solution Exploring Operation: 21*49=1029, Resulting Numbers: [1029] 1029,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,4 Current State: 87:[11, 43, 4], Operations: ['21-17=4'] Exploring Operation: 11+43=54, Resulting Numbers: [4, 54] Generated Node #0,4,0: 87:[4, 54] Operation: 11+43=54 Exploring Operation: 11-4=7, Resulting Numbers: [43, 7] Generated Node #0,4,1: 87:[43, 7] Operation: 11-4=7 Exploring Operation: 11+4=15, Resulting Numbers: [43, 15] Generated Node #0,4,2: 87:[43, 15] Operation: 11+4=15 Exploring Operation: 43-11=32, Resulting Numbers: [4, 32] Generated Node #0,4,3: 87:[4, 32] Operation: 43-11=32 Exploring Operation: 43-4=39, Resulting Numbers: [11, 39] Generated Node #0,4,4: 87:[11, 39] Operation: 43-4=39 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 87:[4, 32], Operations: ['21-17=4', '43-11=32'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 4*32=128, Resulting Numbers: [128] 128,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,4,1 Current State: 87:[43, 7], Operations: ['21-17=4', '11-4=7'] Exploring Operation: 43*7=301, Resulting Numbers: [301] 301,87 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,87 unequal: No Solution Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,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,4,4 Current State: 87:[11, 39], Operations: ['21-17=4', '43-4=39'] Exploring Operation: 11*39=429, Resulting Numbers: [429] 429,87 unequal: No Solution Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,87 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,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,4,0 Current State: 87:[4, 54], Operations: ['21-17=4', '11+43=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,87 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,87 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,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,4,2 Current State: 87:[43, 15], Operations: ['21-17=4', '11+4=15'] Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 43+15=58, Resulting Numbers: [58] 58,87 unequal: No Solution Exploring Operation: 43*15=645, Resulting Numbers: [645] 645,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:[21, 43, 6], Operations: ['17-11=6'] Exploring Operation: 21-6=15, Resulting Numbers: [43, 15] Generated Node #0,1,0: 87:[43, 15] Operation: 21-6=15 Exploring Operation: 43-21=22, Resulting Numbers: [6, 22] Generated Node #0,1,1: 87:[6, 22] Operation: 43-21=22 Exploring Operation: 43-6=37, Resulting Numbers: [21, 37] Generated Node #0,1,2: 87:[21, 37] Operation: 43-6=37 Exploring Operation: 21+43=64, Resulting Numbers: [6, 64] Generated Node #0,1,3: 87:[6, 64] Operation: 21+43=64 Exploring Operation: 21+6=27, Resulting Numbers: [43, 27] Generated Node #0,1,4: 87:[43, 27] Operation: 21+6=27 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[6, 22], Operations: ['17-11=6', '43-21=22'] Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,87 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,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,1,2 Current State: 87:[21, 37], Operations: ['17-11=6', '43-6=37'] Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,87 unequal: No Solution Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,87 unequal: No Solution Exploring Operation: 21*37=777, Resulting Numbers: [777] 777,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,1,4 Current State: 87:[43, 27], Operations: ['17-11=6', '21+6=27'] Exploring Operation: 43*27=1161, Resulting Numbers: [1161] 1161,87 unequal: No Solution Exploring Operation: 43+27=70, Resulting Numbers: [70] 70,87 unequal: No Solution Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,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,1,0 Current State: 87:[43, 15], Operations: ['17-11=6', '21-6=15'] Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 43+15=58, Resulting Numbers: [58] 58,87 unequal: No Solution Exploring Operation: 43*15=645, Resulting Numbers: [645] 645,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,1,3 Current State: 87:[6, 64], Operations: ['17-11=6', '21+43=64'] Exploring Operation: 6*64=384, Resulting Numbers: [384] 384,87 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,87 unequal: No Solution Exploring Operation: 6+64=70, Resulting Numbers: [70] 70,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 No solution found.
0
hs_5
mult_heuristic
[ 2, 50, 57, 26 ]
58
[ "50/2=25", "57+26=83", "83-25=58" ]
Current State: 58:[2, 50, 57, 26], Operations: [] Exploring Operation: 50/2=25, Resulting Numbers: [57, 26, 25] Generated Node #2: [57, 26, 25] from Operation: 50/2=25 Current State: 58:[57, 26, 25], Operations: ['50/2=25'] Exploring Operation: 57+26=83, Resulting Numbers: [25, 83] Generated Node #3: [25, 83] from Operation: 57+26=83 Current State: 58:[25, 83], Operations: ['50/2=25', '57+26=83'] Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[2, 50, 57, 26], Operations: [] Exploring Operation: 50/2=25, Resulting Numbers: [57, 26, 25] Generated Node #0,0: 58:[57, 26, 25] Operation: 50/2=25 Exploring Operation: 57-50=7, Resulting Numbers: [2, 26, 7] Generated Node #0,1: 58:[2, 26, 7] Operation: 57-50=7 Exploring Operation: 50-26=24, Resulting Numbers: [2, 57, 24] Generated Node #0,2: 58:[2, 57, 24] Operation: 50-26=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[2, 57, 24], Operations: ['50-26=24'] Exploring Operation: 2+24=26, Resulting Numbers: [57, 26] Generated Node #0,2,0: 58:[57, 26] Operation: 2+24=26 Exploring Operation: 57-24=33, Resulting Numbers: [2, 33] Generated Node #0,2,1: 58:[2, 33] Operation: 57-24=33 Exploring Operation: 2+57=59, Resulting Numbers: [24, 59] Generated Node #0,2,2: 58:[24, 59] Operation: 2+57=59 Moving to Node #0,2,0 Current State: 58:[57, 26], Operations: ['50-26=24', '2+24=26'] Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 57*26=1482, Resulting Numbers: [1482] 1482,58 unequal: No Solution Exploring Operation: 57+26=83, Resulting Numbers: [83] 83,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[2, 33], Operations: ['50-26=24', '57-24=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[24, 59], Operations: ['50-26=24', '2+57=59'] Exploring Operation: 24*59=1416, Resulting Numbers: [1416] 1416,58 unequal: No Solution Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,58 unequal: No Solution Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[57, 26, 25], Operations: ['50/2=25'] Exploring Operation: 57-25=32, Resulting Numbers: [26, 32] Generated Node #0,0,0: 58:[26, 32] Operation: 57-25=32 Exploring Operation: 26-25=1, Resulting Numbers: [57, 1] Generated Node #0,0,1: 58:[57, 1] Operation: 26-25=1 Exploring Operation: 57-26=31, Resulting Numbers: [25, 31] Generated Node #0,0,2: 58:[25, 31] Operation: 57-26=31 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[57, 1], Operations: ['50/2=25', '26-25=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[2, 50, 57, 26], Operations: [] Exploring Operation: 50/2=25, Resulting Numbers: [57, 26, 25] Generated Node #0,0: 58:[57, 26, 25] Operation: 50/2=25 Moving to Node #0,0 Current State: 58:[57, 26, 25], Operations: ['50/2=25'] Exploring Operation: 26-25=1, Resulting Numbers: [57, 1] Generated Node #0,0,1: 58:[57, 1] Operation: 26-25=1 Moving to Node #0,0,1 Current State: 58:[57, 1], Operations: ['50/2=25', '26-25=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 40, 25, 2, 11 ]
43
[ "40+25=65", "2*11=22", "65-22=43" ]
Current State: 43:[40, 25, 2, 11], Operations: [] Exploring Operation: 40+25=65, Resulting Numbers: [2, 11, 65] Generated Node #2: [2, 11, 65] from Operation: 40+25=65 Current State: 43:[2, 11, 65], Operations: ['40+25=65'] Exploring Operation: 2*11=22, Resulting Numbers: [65, 22] Generated Node #3: [65, 22] from Operation: 2*11=22 Current State: 43:[65, 22], Operations: ['40+25=65', '2*11=22'] Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[40, 25, 2, 11], Operations: [] Exploring Operation: 25*2=50, Resulting Numbers: [40, 11, 50] Generated Node #0,0: 43:[40, 11, 50] Operation: 25*2=50 Moving to Node #0,0 Current State: 43:[40, 11, 50], Operations: ['25*2=50'] Exploring Operation: 50-11=39, Resulting Numbers: [40, 39] Generated Node #0,0,0: 43:[40, 39] Operation: 50-11=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[40, 39], Operations: ['25*2=50', '50-11=39'] Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,43 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
[ 96, 17, 45, 12 ]
91
[ "96*17=1632", "1632/12=136", "136-45=91" ]
Current State: 91:[96, 17, 45, 12], Operations: [] Exploring Operation: 96*17=1632, Resulting Numbers: [45, 12, 1632] Generated Node #2: [45, 12, 1632] from Operation: 96*17=1632 Current State: 91:[45, 12, 1632], Operations: ['96*17=1632'] Exploring Operation: 1632/12=136, Resulting Numbers: [45, 136] Generated Node #3: [45, 136] from Operation: 1632/12=136 Current State: 91:[45, 136], Operations: ['96*17=1632', '1632/12=136'] Exploring Operation: 136-45=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[96, 17, 45, 12], Operations: [] Exploring Operation: 45-12=33, Resulting Numbers: [96, 17, 33] Generated Node #0,0: 91:[96, 17, 33] Operation: 45-12=33 Exploring Operation: 45-17=28, Resulting Numbers: [96, 12, 28] Generated Node #0,1: 91:[96, 12, 28] Operation: 45-17=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[96, 12, 28], Operations: ['45-17=28'] Exploring Operation: 96/12=8, Resulting Numbers: [28, 8] Generated Node #0,1,0: 91:[28, 8] Operation: 96/12=8 Exploring Operation: 28-12=16, Resulting Numbers: [96, 16] Generated Node #0,1,1: 91:[96, 16] Operation: 28-12=16 Moving to Node #0,1,1 Current State: 91:[96, 16], Operations: ['45-17=28', '28-12=16'] Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 96/16=6, Resulting Numbers: [6] 6,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[28, 8], Operations: ['45-17=28', '96/12=8'] Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,91 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[96, 17, 33], Operations: ['45-12=33'] Exploring Operation: 33-17=16, Resulting Numbers: [96, 16] Generated Node #0,0,0: 91:[96, 16] Operation: 33-17=16 Exploring Operation: 96-17=79, Resulting Numbers: [33, 79] Generated Node #0,0,1: 91:[33, 79] Operation: 96-17=79 Moving to Node #0,0,0 Current State: 91:[96, 16], Operations: ['45-12=33', '33-17=16'] Exploring Operation: 96/16=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[33, 79], Operations: ['45-12=33', '96-17=79'] Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,91 unequal: No Solution Exploring Operation: 33+79=112, Resulting Numbers: [112] 112,91 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, 80, 8, 4 ]
89
[ "61+8=69", "80/4=20", "69+20=89" ]
Current State: 89:[61, 80, 8, 4], Operations: [] Exploring Operation: 61+8=69, Resulting Numbers: [80, 4, 69] Generated Node #2: [80, 4, 69] from Operation: 61+8=69 Current State: 89:[80, 4, 69], Operations: ['61+8=69'] Exploring Operation: 80/4=20, Resulting Numbers: [69, 20] Generated Node #3: [69, 20] from Operation: 80/4=20 Current State: 89:[69, 20], Operations: ['61+8=69', '80/4=20'] Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[61, 80, 8, 4], Operations: [] Exploring Operation: 8*4=32, Resulting Numbers: [61, 80, 32] Generated Node #0,0: 89:[61, 80, 32] Operation: 8*4=32 Exploring Operation: 61+8=69, Resulting Numbers: [80, 4, 69] Generated Node #0,1: 89:[80, 4, 69] Operation: 61+8=69 Moving to Node #0,0 Current State: 89:[61, 80, 32], Operations: ['8*4=32'] Exploring Operation: 61+32=93, Resulting Numbers: [80, 93] Generated Node #0,0,0: 89:[80, 93] Operation: 61+32=93 Exploring Operation: 80+32=112, Resulting Numbers: [61, 112] Generated Node #0,0,1: 89:[61, 112] Operation: 80+32=112 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[80, 93], Operations: ['8*4=32', '61+32=93'] Exploring Operation: 93-80=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 80+93=173, Resulting Numbers: [173] 173,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[61, 112], Operations: ['8*4=32', '80+32=112'] Exploring Operation: 61+112=173, Resulting Numbers: [173] 173,89 unequal: No Solution Exploring Operation: 112-61=51, Resulting Numbers: [51] 51,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 89:[80, 4, 69], Operations: ['61+8=69'] Exploring Operation: 4+69=73, Resulting Numbers: [80, 73] Generated Node #0,1,0: 89:[80, 73] Operation: 4+69=73 Exploring Operation: 80+4=84, Resulting Numbers: [69, 84] Generated Node #0,1,1: 89:[69, 84] Operation: 80+4=84 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[80, 73], Operations: ['61+8=69', '4+69=73'] Exploring Operation: 80+73=153, Resulting Numbers: [153] 153,89 unequal: No Solution Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,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:[69, 84], Operations: ['61+8=69', '80+4=84'] Exploring Operation: 84-69=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 69+84=153, Resulting Numbers: [153] 153,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 64, 44, 27, 23 ]
30
[ "64-44=20", "27+23=50", "50-20=30" ]
Current State: 30:[64, 44, 27, 23], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [27, 23, 20] Generated Node #2: [27, 23, 20] from Operation: 64-44=20 Current State: 30:[27, 23, 20], Operations: ['64-44=20'] Exploring Operation: 27+23=50, Resulting Numbers: [20, 50] Generated Node #3: [20, 50] from Operation: 27+23=50 Current State: 30:[20, 50], Operations: ['64-44=20', '27+23=50'] Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[64, 44, 27, 23], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [27, 23, 20] Generated Node #0,0: 30:[27, 23, 20] Operation: 64-44=20 Moving to Node #0,0 Current State: 30:[27, 23, 20], Operations: ['64-44=20'] Exploring Operation: 23-20=3, Resulting Numbers: [27, 3] Generated Node #0,0,0: 30:[27, 3] Operation: 23-20=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[27, 3], Operations: ['64-44=20', '23-20=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[64, 44, 27, 23], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [27, 23, 20] Generated Node #0,0: 30:[27, 23, 20] Operation: 64-44=20 Moving to Node #0,0 Current State: 30:[27, 23, 20], Operations: ['64-44=20'] Exploring Operation: 23-20=3, Resulting Numbers: [27, 3] Generated Node #0,0,0: 30:[27, 3] Operation: 23-20=3 Moving to Node #0,0,0 Current State: 30:[27, 3], Operations: ['64-44=20', '23-20=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 24, 3, 53, 15 ]
67
[ "24/3=8", "15*8=120", "120-53=67" ]
Current State: 67:[24, 3, 53, 15], Operations: [] Exploring Operation: 24/3=8, Resulting Numbers: [53, 15, 8] Generated Node #2: [53, 15, 8] from Operation: 24/3=8 Current State: 67:[53, 15, 8], Operations: ['24/3=8'] Exploring Operation: 15*8=120, Resulting Numbers: [53, 120] Generated Node #3: [53, 120] from Operation: 15*8=120 Current State: 67:[53, 120], Operations: ['24/3=8', '15*8=120'] Exploring Operation: 120-53=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[24, 3, 53, 15], Operations: [] Exploring Operation: 24+3=27, Resulting Numbers: [53, 15, 27] Generated Node #0,0: 67:[53, 15, 27] Operation: 24+3=27 Exploring Operation: 24+15=39, Resulting Numbers: [3, 53, 39] Generated Node #0,1: 67:[3, 53, 39] Operation: 24+15=39 Exploring Operation: 3*15=45, Resulting Numbers: [24, 53, 45] Generated Node #0,2: 67:[24, 53, 45] Operation: 3*15=45 Exploring Operation: 3+53=56, Resulting Numbers: [24, 15, 56] Generated Node #0,3: 67:[24, 15, 56] Operation: 3+53=56 Exploring Operation: 24*3=72, Resulting Numbers: [53, 15, 72] Generated Node #0,4: 67:[53, 15, 72] Operation: 24*3=72 Moving to Node #0,4 Current State: 67:[53, 15, 72], Operations: ['24*3=72'] Exploring Operation: 72-53=19, Resulting Numbers: [15, 19] Generated Node #0,4,0: 67:[15, 19] Operation: 72-53=19 Exploring Operation: 15+72=87, Resulting Numbers: [53, 87] Generated Node #0,4,1: 67:[53, 87] Operation: 15+72=87 Exploring Operation: 72-15=57, Resulting Numbers: [53, 57] Generated Node #0,4,2: 67:[53, 57] Operation: 72-15=57 Exploring Operation: 53+15=68, Resulting Numbers: [72, 68] Generated Node #0,4,3: 67:[72, 68] Operation: 53+15=68 Exploring Operation: 53-15=38, Resulting Numbers: [72, 38] Generated Node #0,4,4: 67:[72, 38] Operation: 53-15=38 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 67:[72, 68], Operations: ['24*3=72', '53+15=68'] Exploring Operation: 72*68=4896, Resulting Numbers: [4896] 4896,67 unequal: No Solution Exploring Operation: 72+68=140, Resulting Numbers: [140] 140,67 unequal: No Solution Exploring Operation: 72-68=4, Resulting Numbers: [4] 4,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,4,2 Current State: 67:[53, 57], Operations: ['24*3=72', '72-15=57'] Exploring Operation: 53+57=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 53*57=3021, Resulting Numbers: [3021] 3021,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,4,1 Current State: 67:[53, 87], Operations: ['24*3=72', '15+72=87'] Exploring Operation: 53+87=140, Resulting Numbers: [140] 140,67 unequal: No Solution Exploring Operation: 53*87=4611, Resulting Numbers: [4611] 4611,67 unequal: No Solution Exploring Operation: 87-53=34, Resulting Numbers: [34] 34,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,4,4 Current State: 67:[72, 38], Operations: ['24*3=72', '53-15=38'] Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 72*38=2736, Resulting Numbers: [2736] 2736,67 unequal: No Solution Exploring Operation: 72+38=110, Resulting Numbers: [110] 110,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,4,0 Current State: 67:[15, 19], Operations: ['24*3=72', '72-53=19'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,67 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: 67:[24, 53, 45], Operations: ['3*15=45'] Exploring Operation: 53-24=29, Resulting Numbers: [45, 29] Generated Node #0,2,0: 67:[45, 29] Operation: 53-24=29 Exploring Operation: 45-24=21, Resulting Numbers: [53, 21] Generated Node #0,2,1: 67:[53, 21] Operation: 45-24=21 Exploring Operation: 53+45=98, Resulting Numbers: [24, 98] Generated Node #0,2,2: 67:[24, 98] Operation: 53+45=98 Exploring Operation: 24+53=77, Resulting Numbers: [45, 77] Generated Node #0,2,3: 67:[45, 77] Operation: 24+53=77 Exploring Operation: 24+45=69, Resulting Numbers: [53, 69] Generated Node #0,2,4: 67:[53, 69] Operation: 24+45=69 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 67:[53, 69], Operations: ['3*15=45', '24+45=69'] Exploring Operation: 53+69=122, Resulting Numbers: [122] 122,67 unequal: No Solution Exploring Operation: 53*69=3657, Resulting Numbers: [3657] 3657,67 unequal: No Solution Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 67:[45, 77], Operations: ['3*15=45', '24+53=77'] Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 45+77=122, Resulting Numbers: [122] 122,67 unequal: No Solution Exploring Operation: 45*77=3465, Resulting Numbers: [3465] 3465,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[45, 29], Operations: ['3*15=45', '53-24=29'] Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,67 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[53, 21], Operations: ['3*15=45', '45-24=21'] Exploring Operation: 53*21=1113, Resulting Numbers: [1113] 1113,67 unequal: No Solution Exploring Operation: 53+21=74, Resulting Numbers: [74] 74,67 unequal: No Solution Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[24, 98], Operations: ['3*15=45', '53+45=98'] Exploring Operation: 24+98=122, Resulting Numbers: [122] 122,67 unequal: No Solution Exploring Operation: 24*98=2352, Resulting Numbers: [2352] 2352,67 unequal: No Solution Exploring Operation: 98-24=74, Resulting Numbers: [74] 74,67 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: 67:[53, 15, 27], Operations: ['24+3=27'] Exploring Operation: 27-15=12, Resulting Numbers: [53, 12] Generated Node #0,0,0: 67:[53, 12] Operation: 27-15=12 Exploring Operation: 53+15=68, Resulting Numbers: [27, 68] Generated Node #0,0,1: 67:[27, 68] Operation: 53+15=68 Exploring Operation: 53+27=80, Resulting Numbers: [15, 80] Generated Node #0,0,2: 67:[15, 80] Operation: 53+27=80 Exploring Operation: 15+27=42, Resulting Numbers: [53, 42] Generated Node #0,0,3: 67:[53, 42] Operation: 15+27=42 Exploring Operation: 53-15=38, Resulting Numbers: [27, 38] Generated Node #0,0,4: 67:[27, 38] Operation: 53-15=38 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 67:[53, 42], Operations: ['24+3=27', '15+27=42'] Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 53*42=2226, Resulting Numbers: [2226] 2226,67 unequal: No Solution Exploring Operation: 53+42=95, Resulting Numbers: [95] 95,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,1 Current State: 67:[27, 68], Operations: ['24+3=27', '53+15=68'] Exploring Operation: 27*68=1836, Resulting Numbers: [1836] 1836,67 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,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,2 Current State: 67:[15, 80], Operations: ['24+3=27', '53+27=80'] Exploring Operation: 15*80=1200, Resulting Numbers: [1200] 1200,67 unequal: No Solution Exploring Operation: 15+80=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,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:[53, 12], Operations: ['24+3=27', '27-15=12'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 53*12=636, Resulting Numbers: [636] 636,67 unequal: No Solution Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,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,4 Current State: 67:[27, 38], Operations: ['24+3=27', '53-15=38'] Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,67 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: 67:[3, 53, 39], Operations: ['24+15=39'] Exploring Operation: 3+53=56, Resulting Numbers: [39, 56] Generated Node #0,1,0: 67:[39, 56] Operation: 3+53=56 Exploring Operation: 3+39=42, Resulting Numbers: [53, 42] Generated Node #0,1,1: 67:[53, 42] Operation: 3+39=42 Exploring Operation: 3*39=117, Resulting Numbers: [53, 117] Generated Node #0,1,2: 67:[53, 117] Operation: 3*39=117 Exploring Operation: 39-3=36, Resulting Numbers: [53, 36] Generated Node #0,1,3: 67:[53, 36] Operation: 39-3=36 Exploring Operation: 53-3=50, Resulting Numbers: [39, 50] Generated Node #0,1,4: 67:[39, 50] Operation: 53-3=50 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[39, 56], Operations: ['24+15=39', '3+53=56'] Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,67 unequal: No Solution Exploring Operation: 39+56=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 39*56=2184, Resulting Numbers: [2184] 2184,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,1 Current State: 67:[53, 42], Operations: ['24+15=39', '3+39=42'] Exploring Operation: 53+42=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 53*42=2226, Resulting Numbers: [2226] 2226,67 unequal: No Solution Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,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,3 Current State: 67:[53, 36], Operations: ['24+15=39', '39-3=36'] Exploring Operation: 53+36=89, Resulting Numbers: [89] 89,67 unequal: No Solution Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,67 unequal: No Solution Exploring Operation: 53*36=1908, Resulting Numbers: [1908] 1908,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,4 Current State: 67:[39, 50], Operations: ['24+15=39', '53-3=50'] Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,67 unequal: No Solution Exploring Operation: 39+50=89, Resulting Numbers: [89] 89,67 unequal: No Solution Exploring Operation: 39*50=1950, Resulting Numbers: [1950] 1950,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,2 Current State: 67:[53, 117], Operations: ['24+15=39', '3*39=117'] Exploring Operation: 53*117=6201, Resulting Numbers: [6201] 6201,67 unequal: No Solution Exploring Operation: 117-53=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 53+117=170, Resulting Numbers: [170] 170,67 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: 67:[24, 15, 56], Operations: ['3+53=56'] Exploring Operation: 24+56=80, Resulting Numbers: [15, 80] Generated Node #0,3,0: 67:[15, 80] Operation: 24+56=80 Exploring Operation: 24-15=9, Resulting Numbers: [56, 9] Generated Node #0,3,1: 67:[56, 9] Operation: 24-15=9 Exploring Operation: 24+15=39, Resulting Numbers: [56, 39] Generated Node #0,3,2: 67:[56, 39] Operation: 24+15=39 Exploring Operation: 15+56=71, Resulting Numbers: [24, 71] Generated Node #0,3,3: 67:[24, 71] Operation: 15+56=71 Exploring Operation: 56-15=41, Resulting Numbers: [24, 41] Generated Node #0,3,4: 67:[24, 41] Operation: 56-15=41 Moving to Node #0,3,2 Current State: 67:[56, 39], Operations: ['3+53=56', '24+15=39'] Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,67 unequal: No Solution Exploring Operation: 56+39=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 56*39=2184, Resulting Numbers: [2184] 2184,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[24, 71], Operations: ['3+53=56', '15+56=71'] Exploring Operation: 24+71=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,67 unequal: No Solution Exploring Operation: 24*71=1704, Resulting Numbers: [1704] 1704,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[15, 80], Operations: ['3+53=56', '24+56=80'] Exploring Operation: 15*80=1200, Resulting Numbers: [1200] 1200,67 unequal: No Solution Exploring Operation: 15+80=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[56, 9], Operations: ['3+53=56', '24-15=9'] Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,67 unequal: No Solution Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,67 unequal: No Solution Moving to Node #0,3,4 Current State: 67:[24, 41], Operations: ['3+53=56', '56-15=41'] Exploring Operation: 24*41=984, Resulting Numbers: [984] 984,67 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,67 unequal: No Solution Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,67 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 65, 57, 61, 94 ]
33
[ "65+57=122", "61+94=155", "155-122=33" ]
Current State: 33:[65, 57, 61, 94], Operations: [] Exploring Operation: 65+57=122, Resulting Numbers: [61, 94, 122] Generated Node #2: [61, 94, 122] from Operation: 65+57=122 Current State: 33:[61, 94, 122], Operations: ['65+57=122'] Exploring Operation: 61+94=155, Resulting Numbers: [122, 155] Generated Node #3: [122, 155] from Operation: 61+94=155 Current State: 33:[122, 155], Operations: ['65+57=122', '61+94=155'] Exploring Operation: 155-122=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[65, 57, 61, 94], Operations: [] Exploring Operation: 94-65=29, Resulting Numbers: [57, 61, 29] Generated Node #0,0: 33:[57, 61, 29] Operation: 94-65=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[57, 61, 29], Operations: ['94-65=29'] Exploring Operation: 61-57=4, Resulting Numbers: [29, 4] Generated Node #0,0,0: 33:[29, 4] Operation: 61-57=4 Moving to Node #0,0,0 Current State: 33:[29, 4], Operations: ['94-65=29', '61-57=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[65, 57, 61, 94], Operations: [] Exploring Operation: 94-65=29, Resulting Numbers: [57, 61, 29] Generated Node #0,0: 33:[57, 61, 29] Operation: 94-65=29 Moving to Node #0,0 Current State: 33:[57, 61, 29], Operations: ['94-65=29'] Exploring Operation: 61-57=4, Resulting Numbers: [29, 4] Generated Node #0,0,0: 33:[29, 4] Operation: 61-57=4 Moving to Node #0,0,0 Current State: 33:[29, 4], Operations: ['94-65=29', '61-57=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 16, 33, 48, 34 ]
66
[ "48-16=32", "34-32=2", "33*2=66" ]
Current State: 66:[16, 33, 48, 34], Operations: [] Exploring Operation: 48-16=32, Resulting Numbers: [33, 34, 32] Generated Node #2: [33, 34, 32] from Operation: 48-16=32 Current State: 66:[33, 34, 32], Operations: ['48-16=32'] Exploring Operation: 34-32=2, Resulting Numbers: [33, 2] Generated Node #3: [33, 2] from Operation: 34-32=2 Current State: 66:[33, 2], Operations: ['48-16=32', '34-32=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[16, 33, 48, 34], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [33, 34, 3] Generated Node #0,0: 66:[33, 34, 3] Operation: 48/16=3 Moving to Node #0,0 Current State: 66:[33, 34, 3], Operations: ['48/16=3'] Exploring Operation: 33+34=67, Resulting Numbers: [3, 67] Generated Node #0,0,0: 66:[3, 67] Operation: 33+34=67 Moving to Node #0,0,0 Current State: 66:[3, 67], Operations: ['48/16=3', '33+34=67'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,66 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 3, 21, 48, 19 ]
72
[ "3*48=144", "21-19=2", "144/2=72" ]
Current State: 72:[3, 21, 48, 19], Operations: [] Exploring Operation: 3*48=144, Resulting Numbers: [21, 19, 144] Generated Node #2: [21, 19, 144] from Operation: 3*48=144 Current State: 72:[21, 19, 144], Operations: ['3*48=144'] Exploring Operation: 21-19=2, Resulting Numbers: [144, 2] Generated Node #3: [144, 2] from Operation: 21-19=2 Current State: 72:[144, 2], Operations: ['3*48=144', '21-19=2'] Exploring Operation: 144/2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[3, 21, 48, 19], Operations: [] Exploring Operation: 21+48=69, Resulting Numbers: [3, 19, 69] Generated Node #0,0: 72:[3, 19, 69] Operation: 21+48=69 Exploring Operation: 48-21=27, Resulting Numbers: [3, 19, 27] Generated Node #0,1: 72:[3, 19, 27] Operation: 48-21=27 Exploring Operation: 48/3=16, Resulting Numbers: [21, 19, 16] Generated Node #0,2: 72:[21, 19, 16] Operation: 48/3=16 Moving to Node #0,0 Current State: 72:[3, 19, 69], Operations: ['21+48=69'] Exploring Operation: 3+19=22, Resulting Numbers: [69, 22] Generated Node #0,0,0: 72:[69, 22] Operation: 3+19=22 Exploring Operation: 69/3=23, Resulting Numbers: [19, 23] Generated Node #0,0,1: 72:[19, 23] Operation: 69/3=23 Exploring Operation: 3+69=72, Resulting Numbers: [19, 72] Generated Node #0,0,2: 72:[19, 72] Operation: 3+69=72 Moving to Node #0,1 Current State: 72:[3, 19, 27], Operations: ['48-21=27'] Exploring Operation: 27/3=9, Resulting Numbers: [19, 9] Generated Node #0,1,0: 72:[19, 9] Operation: 27/3=9 Exploring Operation: 27-3=24, Resulting Numbers: [19, 24] Generated Node #0,1,1: 72:[19, 24] Operation: 27-3=24 Exploring Operation: 27-19=8, Resulting Numbers: [3, 8] Generated Node #0,1,2: 72:[3, 8] Operation: 27-19=8 Moving to Node #0,2 Current State: 72:[21, 19, 16], Operations: ['48/3=16'] Exploring Operation: 21-19=2, Resulting Numbers: [16, 2] Generated Node #0,2,0: 72:[16, 2] Operation: 21-19=2 Exploring Operation: 21+16=37, Resulting Numbers: [19, 37] Generated Node #0,2,1: 72:[19, 37] Operation: 21+16=37 Exploring Operation: 21-16=5, Resulting Numbers: [19, 5] Generated Node #0,2,2: 72:[19, 5] Operation: 21-16=5 Moving to Node #0,1,2 Current State: 72:[3, 8], Operations: ['48-21=27', '27-19=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,72 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[19, 24], Operations: ['48-21=27', '27-3=24'] Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,72 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,72 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[19, 72], Operations: ['21+48=69', '3+69=72'] Exploring Operation: 19*72=1368, Resulting Numbers: [1368] 1368,72 unequal: No Solution Exploring Operation: 19+72=91, Resulting Numbers: [91] 91,72 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[19, 9], Operations: ['48-21=27', '27/3=9'] Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,72 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,72 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[16, 2], Operations: ['48/3=16', '21-19=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[19, 37], Operations: ['48/3=16', '21+16=37'] Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,72 unequal: No Solution Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,72 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[19, 23], Operations: ['21+48=69', '69/3=23'] Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,72 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,72 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[19, 5], Operations: ['48/3=16', '21-16=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,72 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[69, 22], Operations: ['21+48=69', '3+19=22'] Exploring Operation: 69*22=1518, Resulting Numbers: [1518] 1518,72 unequal: No Solution Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,72 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,72 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 88, 8, 88, 76 ]
54
[ "88+88=176", "176/8=22", "76-22=54" ]
Current State: 54:[88, 8, 88, 76], Operations: [] Exploring Operation: 88+88=176, Resulting Numbers: [8, 76, 176] Generated Node #2: [8, 76, 176] from Operation: 88+88=176 Current State: 54:[8, 76, 176], Operations: ['88+88=176'] Exploring Operation: 176/8=22, Resulting Numbers: [76, 22] Generated Node #3: [76, 22] from Operation: 176/8=22 Current State: 54:[76, 22], Operations: ['88+88=176', '176/8=22'] Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[88, 8, 88, 76], Operations: [] Exploring Operation: 88/88=1, Resulting Numbers: [8, 76, 1] Generated Node #0,0: 54:[8, 76, 1] Operation: 88/88=1 Moving to Node #0,0 Current State: 54:[8, 76, 1], Operations: ['88/88=1'] Exploring Operation: 76-8=68, Resulting Numbers: [1, 68] Generated Node #0,0,0: 54:[1, 68] Operation: 76-8=68 Moving to Node #0,0,0 Current State: 54:[1, 68], Operations: ['88/88=1', '76-8=68'] Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,54 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 16, 50, 9, 39 ]
64
[ "50-16=34", "39-9=30", "34+30=64" ]
Current State: 64:[16, 50, 9, 39], Operations: [] Exploring Operation: 50-16=34, Resulting Numbers: [9, 39, 34] Generated Node #2: [9, 39, 34] from Operation: 50-16=34 Current State: 64:[9, 39, 34], Operations: ['50-16=34'] Exploring Operation: 39-9=30, Resulting Numbers: [34, 30] Generated Node #3: [34, 30] from Operation: 39-9=30 Current State: 64:[34, 30], Operations: ['50-16=34', '39-9=30'] Exploring Operation: 34+30=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[16, 50, 9, 39], Operations: [] Exploring Operation: 50-39=11, Resulting Numbers: [16, 9, 11] Generated Node #0,0: 64:[16, 9, 11] Operation: 50-39=11 Moving to Node #0,0 Current State: 64:[16, 9, 11], Operations: ['50-39=11'] Exploring Operation: 11-9=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 64:[16, 2] Operation: 11-9=2 Moving to Node #0,0,0 Current State: 64:[16, 2], Operations: ['50-39=11', '11-9=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,64 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 59, 31, 74, 72 ]
56
[ "59+31=90", "74+72=146", "146-90=56" ]
Current State: 56:[59, 31, 74, 72], Operations: [] Exploring Operation: 59+31=90, Resulting Numbers: [74, 72, 90] Generated Node #2: [74, 72, 90] from Operation: 59+31=90 Current State: 56:[74, 72, 90], Operations: ['59+31=90'] Exploring Operation: 74+72=146, Resulting Numbers: [90, 146] Generated Node #3: [90, 146] from Operation: 74+72=146 Current State: 56:[90, 146], Operations: ['59+31=90', '74+72=146'] Exploring Operation: 146-90=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[59, 31, 74, 72], Operations: [] Exploring Operation: 74-59=15, Resulting Numbers: [31, 72, 15] Generated Node #0,0: 56:[31, 72, 15] Operation: 74-59=15 Exploring Operation: 74-72=2, Resulting Numbers: [59, 31, 2] Generated Node #0,1: 56:[59, 31, 2] Operation: 74-72=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[59, 31, 2], Operations: ['74-72=2'] Exploring Operation: 59-2=57, Resulting Numbers: [31, 57] Generated Node #0,1,0: 56:[31, 57] Operation: 59-2=57 Exploring Operation: 59-31=28, Resulting Numbers: [2, 28] Generated Node #0,1,1: 56:[2, 28] Operation: 59-31=28 Moving to Node #0,1,1 Current State: 56:[2, 28], Operations: ['74-72=2', '59-31=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[59, 31, 74, 72], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [59, 31, 2] Generated Node #0,1: 56:[59, 31, 2] Operation: 74-72=2 Moving to Node #0,1 Current State: 56:[59, 31, 2], Operations: ['74-72=2'] Exploring Operation: 59-31=28, Resulting Numbers: [2, 28] Generated Node #0,1,1: 56:[2, 28] Operation: 59-31=28 Moving to Node #0,1,1 Current State: 56:[2, 28], Operations: ['74-72=2', '59-31=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 95, 4, 94, 72 ]
68
[ "95-94=1", "72-4=68", "1*68=68" ]
Current State: 68:[95, 4, 94, 72], Operations: [] Exploring Operation: 95-94=1, Resulting Numbers: [4, 72, 1] Generated Node #2: [4, 72, 1] from Operation: 95-94=1 Current State: 68:[4, 72, 1], Operations: ['95-94=1'] Exploring Operation: 72-4=68, Resulting Numbers: [1, 68] Generated Node #3: [1, 68] from Operation: 72-4=68 Current State: 68:[1, 68], Operations: ['95-94=1', '72-4=68'] Exploring Operation: 1*68=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[95, 4, 94, 72], Operations: [] Exploring Operation: 95-72=23, Resulting Numbers: [4, 94, 23] Generated Node #0,0: 68:[4, 94, 23] Operation: 95-72=23 Exploring Operation: 95-94=1, Resulting Numbers: [4, 72, 1] Generated Node #0,1: 68:[4, 72, 1] Operation: 95-94=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[4, 72, 1], Operations: ['95-94=1'] Exploring Operation: 72-4=68, Resulting Numbers: [1, 68] Generated Node #0,1,0: 68:[1, 68] Operation: 72-4=68 Exploring Operation: 72/4=18, Resulting Numbers: [1, 18] Generated Node #0,1,1: 68:[1, 18] Operation: 72/4=18 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[1, 68], Operations: ['95-94=1', '72-4=68'] Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[95, 4, 94, 72], Operations: [] Exploring Operation: 95-94=1, Resulting Numbers: [4, 72, 1] Generated Node #0,1: 68:[4, 72, 1] Operation: 95-94=1 Moving to Node #0,1 Current State: 68:[4, 72, 1], Operations: ['95-94=1'] Exploring Operation: 72-4=68, Resulting Numbers: [1, 68] Generated Node #0,1,0: 68:[1, 68] Operation: 72-4=68 Moving to Node #0,1,0 Current State: 68:[1, 68], Operations: ['95-94=1', '72-4=68'] Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 65, 64, 33, 24 ]
23
[ "64*33=2112", "2112/24=88", "88-65=23" ]
Current State: 23:[65, 64, 33, 24], Operations: [] Exploring Operation: 64*33=2112, Resulting Numbers: [65, 24, 2112] Generated Node #2: [65, 24, 2112] from Operation: 64*33=2112 Current State: 23:[65, 24, 2112], Operations: ['64*33=2112'] Exploring Operation: 2112/24=88, Resulting Numbers: [65, 88] Generated Node #3: [65, 88] from Operation: 2112/24=88 Current State: 23:[65, 88], Operations: ['64*33=2112', '2112/24=88'] Exploring Operation: 88-65=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[65, 64, 33, 24], Operations: [] Exploring Operation: 65-64=1, Resulting Numbers: [33, 24, 1] Generated Node #0,0: 23:[33, 24, 1] Operation: 65-64=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[33, 24, 1], Operations: ['65-64=1'] Exploring Operation: 33-1=32, Resulting Numbers: [24, 32] Generated Node #0,0,0: 23:[24, 32] Operation: 33-1=32 Moving to Node #0,0,0 Current State: 23:[24, 32], Operations: ['65-64=1', '33-1=32'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 38, 26, 30, 4 ]
28
[ "38-30=8", "8/4=2", "26+2=28" ]
Current State: 28:[38, 26, 30, 4], Operations: [] Exploring Operation: 38-30=8, Resulting Numbers: [26, 4, 8] Generated Node #2: [26, 4, 8] from Operation: 38-30=8 Current State: 28:[26, 4, 8], Operations: ['38-30=8'] Exploring Operation: 8/4=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 8/4=2 Current State: 28:[26, 2], Operations: ['38-30=8', '8/4=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[38, 26, 30, 4], Operations: [] Exploring Operation: 38-26=12, Resulting Numbers: [30, 4, 12] Generated Node #0,0: 28:[30, 4, 12] Operation: 38-26=12 Exploring Operation: 38-30=8, Resulting Numbers: [26, 4, 8] Generated Node #0,1: 28:[26, 4, 8] Operation: 38-30=8 Exploring Operation: 38-4=34, Resulting Numbers: [26, 30, 34] Generated Node #0,2: 28:[26, 30, 34] Operation: 38-4=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[26, 4, 8], Operations: ['38-30=8'] Exploring Operation: 8-4=4, Resulting Numbers: [26, 4] Generated Node #0,1,0: 28:[26, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [26, 2] Generated Node #0,1,1: 28:[26, 2] Operation: 8/4=2 Exploring Operation: 26+4=30, Resulting Numbers: [8, 30] Generated Node #0,1,2: 28:[8, 30] Operation: 26+4=30 Moving to Node #0,1,0 Current State: 28:[26, 4], Operations: ['38-30=8', '8-4=4'] Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,28 unequal: No Solution Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[26, 2], Operations: ['38-30=8', '8/4=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[38, 26, 30, 4], Operations: [] Exploring Operation: 38-30=8, Resulting Numbers: [26, 4, 8] Generated Node #0,1: 28:[26, 4, 8] Operation: 38-30=8 Moving to Node #0,1 Current State: 28:[26, 4, 8], Operations: ['38-30=8'] Exploring Operation: 8/4=2, Resulting Numbers: [26, 2] Generated Node #0,1,1: 28:[26, 2] Operation: 8/4=2 Moving to Node #0,1,1 Current State: 28:[26, 2], Operations: ['38-30=8', '8/4=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 76, 2, 34, 86 ]
31
[ "76+34=110", "110/2=55", "86-55=31" ]
Current State: 31:[76, 2, 34, 86], Operations: [] Exploring Operation: 76+34=110, Resulting Numbers: [2, 86, 110] Generated Node #2: [2, 86, 110] from Operation: 76+34=110 Current State: 31:[2, 86, 110], Operations: ['76+34=110'] Exploring Operation: 110/2=55, Resulting Numbers: [86, 55] Generated Node #3: [86, 55] from Operation: 110/2=55 Current State: 31:[86, 55], Operations: ['76+34=110', '110/2=55'] Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[76, 2, 34, 86], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [76, 34, 43] Generated Node #0,0: 31:[76, 34, 43] Operation: 86/2=43 Exploring Operation: 86-76=10, Resulting Numbers: [2, 34, 10] Generated Node #0,1: 31:[2, 34, 10] Operation: 86-76=10 Moving to Node #0,1 Current State: 31:[2, 34, 10], Operations: ['86-76=10'] Exploring Operation: 34-2=32, Resulting Numbers: [10, 32] Generated Node #0,1,0: 31:[10, 32] Operation: 34-2=32 Exploring Operation: 2*10=20, Resulting Numbers: [34, 20] Generated Node #0,1,1: 31:[34, 20] Operation: 2*10=20 Moving to Node #0,0 Current State: 31:[76, 34, 43], Operations: ['86/2=43'] Exploring Operation: 76-34=42, Resulting Numbers: [43, 42] Generated Node #0,0,0: 31:[43, 42] Operation: 76-34=42 Exploring Operation: 76-43=33, Resulting Numbers: [34, 33] Generated Node #0,0,1: 31:[34, 33] Operation: 76-43=33 Moving to Node #0,0,1 Current State: 31:[34, 33], Operations: ['86/2=43', '76-43=33'] Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[34, 20], Operations: ['86-76=10', '2*10=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[10, 32], Operations: ['86-76=10', '34-2=32'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[43, 42], Operations: ['86/2=43', '76-34=42'] Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,31 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 10, 35, 85, 28 ]
60
[ "85-10=75", "28*75=2100", "2100/35=60" ]
Current State: 60:[10, 35, 85, 28], Operations: [] Exploring Operation: 85-10=75, Resulting Numbers: [35, 28, 75] Generated Node #2: [35, 28, 75] from Operation: 85-10=75 Current State: 60:[35, 28, 75], Operations: ['85-10=75'] Exploring Operation: 28*75=2100, Resulting Numbers: [35, 2100] Generated Node #3: [35, 2100] from Operation: 28*75=2100 Current State: 60:[35, 2100], Operations: ['85-10=75', '28*75=2100'] Exploring Operation: 2100/35=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[10, 35, 85, 28], Operations: [] Exploring Operation: 85-35=50, Resulting Numbers: [10, 28, 50] Generated Node #0,0: 60:[10, 28, 50] Operation: 85-35=50 Exploring Operation: 85-28=57, Resulting Numbers: [10, 35, 57] Generated Node #0,1: 60:[10, 35, 57] Operation: 85-28=57 Moving to Node #0,1 Current State: 60:[10, 35, 57], Operations: ['85-28=57'] Exploring Operation: 35-10=25, Resulting Numbers: [57, 25] Generated Node #0,1,0: 60:[57, 25] Operation: 35-10=25 Exploring Operation: 57-35=22, Resulting Numbers: [10, 22] Generated Node #0,1,1: 60:[10, 22] Operation: 57-35=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[10, 22], Operations: ['85-28=57', '57-35=22'] Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 10+22=32, Resulting Numbers: [32] 32,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[57, 25], Operations: ['85-28=57', '35-10=25'] Exploring Operation: 57+25=82, Resulting Numbers: [82] 82,60 unequal: No Solution Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,60 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: 60:[10, 28, 50], Operations: ['85-35=50'] Exploring Operation: 50/10=5, Resulting Numbers: [28, 5] Generated Node #0,0,0: 60:[28, 5] Operation: 50/10=5 Exploring Operation: 10+50=60, Resulting Numbers: [28, 60] Generated Node #0,0,1: 60:[28, 60] Operation: 10+50=60 Moving to Node #0,0,0 Current State: 60:[28, 5], Operations: ['85-35=50', '50/10=5'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,60 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[28, 60], Operations: ['85-35=50', '10+50=60'] Exploring Operation: 28+60=88, Resulting Numbers: [88] 88,60 unequal: No Solution Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,60 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 74, 11, 66, 66 ]
48
[ "74-66=8", "66/11=6", "8*6=48" ]
Current State: 48:[74, 11, 66, 66], Operations: [] Exploring Operation: 74-66=8, Resulting Numbers: [11, 8] Generated Node #2: [11, 8] from Operation: 74-66=8 Current State: 48:[11, 8], Operations: ['74-66=8'] Exploring Operation: 66/11=6, Resulting Numbers: [8, 6] Generated Node #3: [8, 6] from Operation: 66/11=6 Current State: 48:[8, 6], Operations: ['74-66=8', '66/11=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[74, 11, 66, 66], Operations: [] Exploring Operation: 74-66=8, Resulting Numbers: [11, 66, 8] Generated Node #0,0: 48:[11, 66, 8] Operation: 74-66=8 Exploring Operation: 74-66=8, Resulting Numbers: [11, 66, 8] Generated Node #0,1: 48:[11, 66, 8] Operation: 74-66=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[11, 66, 8], Operations: ['74-66=8'] Exploring Operation: 66-11=55, Resulting Numbers: [8, 55] Generated Node #0,0,0: 48:[8, 55] Operation: 66-11=55 Exploring Operation: 66/11=6, Resulting Numbers: [8, 6] Generated Node #0,0,1: 48:[8, 6] Operation: 66/11=6 Moving to Node #0,0,1 Current State: 48:[8, 6], Operations: ['74-66=8', '66/11=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[74, 11, 66, 66], Operations: [] Exploring Operation: 74-66=8, Resulting Numbers: [11, 66, 8] Generated Node #0,0: 48:[11, 66, 8] Operation: 74-66=8 Moving to Node #0,0 Current State: 48:[11, 66, 8], Operations: ['74-66=8'] Exploring Operation: 66/11=6, Resulting Numbers: [8, 6] Generated Node #0,0,1: 48:[8, 6] Operation: 66/11=6 Moving to Node #0,0,1 Current State: 48:[8, 6], Operations: ['74-66=8', '66/11=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 33, 64, 62, 46 ]
81
[ "33+64=97", "62-46=16", "97-16=81" ]
Current State: 81:[33, 64, 62, 46], Operations: [] Exploring Operation: 33+64=97, Resulting Numbers: [62, 46, 97] Generated Node #2: [62, 46, 97] from Operation: 33+64=97 Current State: 81:[62, 46, 97], Operations: ['33+64=97'] Exploring Operation: 62-46=16, Resulting Numbers: [97, 16] Generated Node #3: [97, 16] from Operation: 62-46=16 Current State: 81:[97, 16], Operations: ['33+64=97', '62-46=16'] Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[33, 64, 62, 46], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [33, 46, 2] Generated Node #0,0: 81:[33, 46, 2] Operation: 64-62=2 Moving to Node #0,0 Current State: 81:[33, 46, 2], Operations: ['64-62=2'] Exploring Operation: 33+46=79, Resulting Numbers: [2, 79] Generated Node #0,0,0: 81:[2, 79] Operation: 33+46=79 Moving to Node #0,0,0 Current State: 81:[2, 79], Operations: ['64-62=2', '33+46=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[33, 64, 62, 46], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [33, 46, 2] Generated Node #0,0: 81:[33, 46, 2] Operation: 64-62=2 Moving to Node #0,0 Current State: 81:[33, 46, 2], Operations: ['64-62=2'] Exploring Operation: 33+46=79, Resulting Numbers: [2, 79] Generated Node #0,0,0: 81:[2, 79] Operation: 33+46=79 Moving to Node #0,0,0 Current State: 81:[2, 79], Operations: ['64-62=2', '33+46=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 9, 81, 21, 38 ]
68
[ "81/9=9", "21+38=59", "9+59=68" ]
Current State: 68:[9, 81, 21, 38], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [21, 38, 9] Generated Node #2: [21, 38, 9] from Operation: 81/9=9 Current State: 68:[21, 38, 9], Operations: ['81/9=9'] Exploring Operation: 21+38=59, Resulting Numbers: [9, 59] Generated Node #3: [9, 59] from Operation: 21+38=59 Current State: 68:[9, 59], Operations: ['81/9=9', '21+38=59'] Exploring Operation: 9+59=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[9, 81, 21, 38], Operations: [] Exploring Operation: 81-9=72, Resulting Numbers: [21, 38, 72] Generated Node #0,0: 68:[21, 38, 72] Operation: 81-9=72 Exploring Operation: 81/9=9, Resulting Numbers: [21, 38, 9] Generated Node #0,1: 68:[21, 38, 9] Operation: 81/9=9 Exploring Operation: 81-21=60, Resulting Numbers: [9, 38, 60] Generated Node #0,2: 68:[9, 38, 60] Operation: 81-21=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[21, 38, 72], Operations: ['81-9=72'] Exploring Operation: 21+38=59, Resulting Numbers: [72, 59] Generated Node #0,0,0: 68:[72, 59] Operation: 21+38=59 Exploring Operation: 38-21=17, Resulting Numbers: [72, 17] Generated Node #0,0,1: 68:[72, 17] Operation: 38-21=17 Exploring Operation: 72-38=34, Resulting Numbers: [21, 34] Generated Node #0,0,2: 68:[21, 34] Operation: 72-38=34 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[72, 17], Operations: ['81-9=72', '38-21=17'] Exploring Operation: 72*17=1224, Resulting Numbers: [1224] 1224,68 unequal: No Solution Exploring Operation: 72+17=89, Resulting Numbers: [89] 89,68 unequal: No Solution Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[21, 34], Operations: ['81-9=72', '72-38=34'] Exploring Operation: 21*34=714, Resulting Numbers: [714] 714,68 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 21+34=55, Resulting Numbers: [55] 55,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[72, 59], Operations: ['81-9=72', '21+38=59'] Exploring Operation: 72+59=131, Resulting Numbers: [131] 131,68 unequal: No Solution Exploring Operation: 72*59=4248, Resulting Numbers: [4248] 4248,68 unequal: No Solution Exploring Operation: 72-59=13, Resulting Numbers: [13] 13,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[21, 38, 9], Operations: ['81/9=9'] Exploring Operation: 21+9=30, Resulting Numbers: [38, 30] Generated Node #0,1,0: 68:[38, 30] Operation: 21+9=30 Exploring Operation: 38-21=17, Resulting Numbers: [9, 17] Generated Node #0,1,1: 68:[9, 17] Operation: 38-21=17 Exploring Operation: 21-9=12, Resulting Numbers: [38, 12] Generated Node #0,1,2: 68:[38, 12] Operation: 21-9=12 Moving to Node #0,1,1 Current State: 68:[9, 17], Operations: ['81/9=9', '38-21=17'] Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,68 unequal: No Solution Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[38, 30], Operations: ['81/9=9', '21+9=30'] Exploring Operation: 38+30=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[9, 81, 21, 38], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [21, 38, 9] Generated Node #0,1: 68:[21, 38, 9] Operation: 81/9=9 Moving to Node #0,1 Current State: 68:[21, 38, 9], Operations: ['81/9=9'] Exploring Operation: 21+9=30, Resulting Numbers: [38, 30] Generated Node #0,1,0: 68:[38, 30] Operation: 21+9=30 Moving to Node #0,1,0 Current State: 68:[38, 30], Operations: ['81/9=9', '21+9=30'] Exploring Operation: 38+30=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 32, 20, 8, 10 ]
42
[ "32+8=40", "20/10=2", "40+2=42" ]
Current State: 42:[32, 20, 8, 10], Operations: [] Exploring Operation: 32+8=40, Resulting Numbers: [20, 10, 40] Generated Node #2: [20, 10, 40] from Operation: 32+8=40 Current State: 42:[20, 10, 40], Operations: ['32+8=40'] Exploring Operation: 20/10=2, Resulting Numbers: [40, 2] Generated Node #3: [40, 2] from Operation: 20/10=2 Current State: 42:[40, 2], Operations: ['32+8=40', '20/10=2'] Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[32, 20, 8, 10], Operations: [] Exploring Operation: 32-20=12, Resulting Numbers: [8, 10, 12] Generated Node #0,0: 42:[8, 10, 12] Operation: 32-20=12 Exploring Operation: 32+10=42, Resulting Numbers: [20, 8, 42] Generated Node #0,1: 42:[20, 8, 42] Operation: 32+10=42 Exploring Operation: 32/8=4, Resulting Numbers: [20, 10, 4] Generated Node #0,2: 42:[20, 10, 4] Operation: 32/8=4 Exploring Operation: 32-10=22, Resulting Numbers: [20, 8, 22] Generated Node #0,3: 42:[20, 8, 22] Operation: 32-10=22 Moving to Node #0,1 Current State: 42:[20, 8, 42], Operations: ['32+10=42'] Exploring Operation: 42-20=22, Resulting Numbers: [8, 22] Generated Node #0,1,0: 42:[8, 22] Operation: 42-20=22 Exploring Operation: 8+42=50, Resulting Numbers: [20, 50] Generated Node #0,1,1: 42:[20, 50] Operation: 8+42=50 Exploring Operation: 20-8=12, Resulting Numbers: [42, 12] Generated Node #0,1,2: 42:[42, 12] Operation: 20-8=12 Exploring Operation: 20+8=28, Resulting Numbers: [42, 28] Generated Node #0,1,3: 42:[42, 28] Operation: 20+8=28 Moving to Node #0,3 Current State: 42:[20, 8, 22], Operations: ['32-10=22'] Exploring Operation: 22-8=14, Resulting Numbers: [20, 14] Generated Node #0,3,0: 42:[20, 14] Operation: 22-8=14 Exploring Operation: 22-20=2, Resulting Numbers: [8, 2] Generated Node #0,3,1: 42:[8, 2] Operation: 22-20=2 Exploring Operation: 20-8=12, Resulting Numbers: [22, 12] Generated Node #0,3,2: 42:[22, 12] Operation: 20-8=12 Exploring Operation: 20+22=42, Resulting Numbers: [8, 42] Generated Node #0,3,3: 42:[8, 42] Operation: 20+22=42 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 42:[20, 14], Operations: ['32-10=22', '22-8=14'] Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,42 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 42:[8, 2], Operations: ['32-10=22', '22-20=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 42:[8, 42], Operations: ['32-10=22', '20+22=42'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,42 unequal: No Solution Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 42:[22, 12], Operations: ['32-10=22', '20-8=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,42 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 42:[20, 10, 4], Operations: ['32/8=4'] Exploring Operation: 10+4=14, Resulting Numbers: [20, 14] Generated Node #0,2,0: 42:[20, 14] Operation: 10+4=14 Exploring Operation: 20/10=2, Resulting Numbers: [4, 2] Generated Node #0,2,1: 42:[4, 2] Operation: 20/10=2 Exploring Operation: 10*4=40, Resulting Numbers: [20, 40] Generated Node #0,2,2: 42:[20, 40] Operation: 10*4=40 Exploring Operation: 10-4=6, Resulting Numbers: [20, 6] Generated Node #0,2,3: 42:[20, 6] Operation: 10-4=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[20, 14], Operations: ['32/8=4', '10+4=14'] Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,42 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[4, 2], Operations: ['32/8=4', '20/10=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[20, 6], Operations: ['32/8=4', '10-4=6'] Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,42 unequal: No Solution Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[20, 40], Operations: ['32/8=4', '10*4=40'] Exploring Operation: 20+40=60, Resulting Numbers: [60] 60,42 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 20*40=800, Resulting Numbers: [800] 800,42 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,42 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: 42:[8, 10, 12], Operations: ['32-20=12'] Exploring Operation: 10-8=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 42:[12, 2] Operation: 10-8=2 Exploring Operation: 10+12=22, Resulting Numbers: [8, 22] Generated Node #0,0,1: 42:[8, 22] Operation: 10+12=22 Exploring Operation: 12-10=2, Resulting Numbers: [8, 2] Generated Node #0,0,2: 42:[8, 2] Operation: 12-10=2 Exploring Operation: 8+12=20, Resulting Numbers: [10, 20] Generated Node #0,0,3: 42:[10, 20] Operation: 8+12=20 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[8, 2], Operations: ['32-20=12', '12-10=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[12, 2], Operations: ['32-20=12', '10-8=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[8, 22], Operations: ['32-20=12', '10+12=22'] Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,42 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 42:[10, 20], Operations: ['32-20=12', '8+12=20'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,42 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: 42:[8, 22], Operations: ['32+10=42', '42-20=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[42, 12], Operations: ['32+10=42', '20-8=12'] Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,42 unequal: No Solution Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[42, 28], Operations: ['32+10=42', '20+8=28'] Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,42 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[20, 50], Operations: ['32+10=42', '8+42=50'] Exploring Operation: 20+50=70, Resulting Numbers: [70] 70,42 unequal: No Solution Exploring Operation: 20*50=1000, Resulting Numbers: [1000] 1000,42 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,42 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 61, 98, 64, 14 ]
81
[ "61+98=159", "64+14=78", "159-78=81" ]
Current State: 81:[61, 98, 64, 14], Operations: [] Exploring Operation: 61+98=159, Resulting Numbers: [64, 14, 159] Generated Node #2: [64, 14, 159] from Operation: 61+98=159 Current State: 81:[64, 14, 159], Operations: ['61+98=159'] Exploring Operation: 64+14=78, Resulting Numbers: [159, 78] Generated Node #3: [159, 78] from Operation: 64+14=78 Current State: 81:[159, 78], Operations: ['61+98=159', '64+14=78'] Exploring Operation: 159-78=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[61, 98, 64, 14], Operations: [] Exploring Operation: 98-64=34, Resulting Numbers: [61, 14, 34] Generated Node #0,0: 81:[61, 14, 34] Operation: 98-64=34 Exploring Operation: 61+14=75, Resulting Numbers: [98, 64, 75] Generated Node #0,1: 81:[98, 64, 75] Operation: 61+14=75 Exploring Operation: 64-61=3, Resulting Numbers: [98, 14, 3] Generated Node #0,2: 81:[98, 14, 3] Operation: 64-61=3 Exploring Operation: 98-61=37, Resulting Numbers: [64, 14, 37] Generated Node #0,3: 81:[64, 14, 37] Operation: 98-61=37 Exploring Operation: 98/14=7, Resulting Numbers: [61, 64, 7] Generated Node #0,4: 81:[61, 64, 7] Operation: 98/14=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[98, 14, 3], Operations: ['64-61=3'] Exploring Operation: 98-3=95, Resulting Numbers: [14, 95] Generated Node #0,2,0: 81:[14, 95] Operation: 98-3=95 Exploring Operation: 98/14=7, Resulting Numbers: [3, 7] Generated Node #0,2,1: 81:[3, 7] Operation: 98/14=7 Exploring Operation: 98-14=84, Resulting Numbers: [3, 84] Generated Node #0,2,2: 81:[3, 84] Operation: 98-14=84 Exploring Operation: 98+3=101, Resulting Numbers: [14, 101] Generated Node #0,2,3: 81:[14, 101] Operation: 98+3=101 Exploring Operation: 14-3=11, Resulting Numbers: [98, 11] Generated Node #0,2,4: 81:[98, 11] Operation: 14-3=11 Moving to Node #0,2,1 Current State: 81:[3, 7], Operations: ['64-61=3', '98/14=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,81 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[3, 84], Operations: ['64-61=3', '98-14=84'] Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,81 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[61, 98, 64, 14], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [98, 14, 3] Generated Node #0,2: 81:[98, 14, 3] Operation: 64-61=3 Moving to Node #0,2 Current State: 81:[98, 14, 3], Operations: ['64-61=3'] Exploring Operation: 98-14=84, Resulting Numbers: [3, 84] Generated Node #0,2,2: 81:[3, 84] Operation: 98-14=84 Moving to Node #0,2,2 Current State: 81:[3, 84], Operations: ['64-61=3', '98-14=84'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 7, 8, 36, 6 ]
15
[ "7+8=15", "36-6=30", "30-15=15" ]
Current State: 15:[7, 8, 36, 6], Operations: [] Exploring Operation: 7+8=15, Resulting Numbers: [36, 6, 15] Generated Node #2: [36, 6, 15] from Operation: 7+8=15 Current State: 15:[36, 6, 15], Operations: ['7+8=15'] Exploring Operation: 36-6=30, Resulting Numbers: [15, 30] Generated Node #3: [15, 30] from Operation: 36-6=30 Current State: 15:[15, 30], Operations: ['7+8=15', '36-6=30'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[7, 8, 36, 6], Operations: [] Exploring Operation: 36-7=29, Resulting Numbers: [8, 6, 29] Generated Node #0,0: 15:[8, 6, 29] Operation: 36-7=29 Exploring Operation: 36/6=6, Resulting Numbers: [7, 8, 6] Generated Node #0,1: 15:[7, 8, 6] Operation: 36/6=6 Exploring Operation: 36-6=30, Resulting Numbers: [7, 8, 30] Generated Node #0,2: 15:[7, 8, 30] Operation: 36-6=30 Exploring Operation: 36-8=28, Resulting Numbers: [7, 6, 28] Generated Node #0,3: 15:[7, 6, 28] Operation: 36-8=28 Exploring Operation: 7+8=15, Resulting Numbers: [36, 6, 15] Generated Node #0,4: 15:[36, 6, 15] Operation: 7+8=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[7, 8, 6], Operations: ['36/6=6'] Exploring Operation: 7+6=13, Resulting Numbers: [8, 13] Generated Node #0,1,0: 15:[8, 13] Operation: 7+6=13 Exploring Operation: 8-7=1, Resulting Numbers: [6, 1] Generated Node #0,1,1: 15:[6, 1] Operation: 8-7=1 Exploring Operation: 8-6=2, Resulting Numbers: [7, 2] Generated Node #0,1,2: 15:[7, 2] Operation: 8-6=2 Exploring Operation: 8+6=14, Resulting Numbers: [7, 14] Generated Node #0,1,3: 15:[7, 14] Operation: 8+6=14 Exploring Operation: 7+8=15, Resulting Numbers: [6, 15] Generated Node #0,1,4: 15:[6, 15] Operation: 7+8=15 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 15:[6, 15], Operations: ['36/6=6', '7+8=15'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[6, 1], Operations: ['36/6=6', '8-7=1'] Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 15:[7, 2], Operations: ['36/6=6', '8-6=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 15:[7, 14], Operations: ['36/6=6', '8+6=14'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[8, 13], Operations: ['36/6=6', '7+6=13'] Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,15 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[7, 6, 28], Operations: ['36-8=28'] Exploring Operation: 28/7=4, Resulting Numbers: [6, 4] Generated Node #0,3,0: 15:[6, 4] Operation: 28/7=4 Exploring Operation: 7+6=13, Resulting Numbers: [28, 13] Generated Node #0,3,1: 15:[28, 13] Operation: 7+6=13 Exploring Operation: 7-6=1, Resulting Numbers: [28, 1] Generated Node #0,3,2: 15:[28, 1] Operation: 7-6=1 Exploring Operation: 28-6=22, Resulting Numbers: [7, 22] Generated Node #0,3,3: 15:[7, 22] Operation: 28-6=22 Exploring Operation: 28-7=21, Resulting Numbers: [6, 21] Generated Node #0,3,4: 15:[6, 21] Operation: 28-7=21 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 15:[6, 4], Operations: ['36-8=28', '28/7=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 15:[6, 21], Operations: ['36-8=28', '28-7=21'] Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,15 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[7, 8, 36, 6], Operations: [] Exploring Operation: 36-8=28, Resulting Numbers: [7, 6, 28] Generated Node #0,3: 15:[7, 6, 28] Operation: 36-8=28 Moving to Node #0,3 Current State: 15:[7, 6, 28], Operations: ['36-8=28'] Exploring Operation: 28-7=21, Resulting Numbers: [6, 21] Generated Node #0,3,4: 15:[6, 21] Operation: 28-7=21 Moving to Node #0,3,4 Current State: 15:[6, 21], Operations: ['36-8=28', '28-7=21'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 27, 51, 86, 21 ]
13
[ "27+51=78", "86-21=65", "78-65=13" ]
Current State: 13:[27, 51, 86, 21], Operations: [] Exploring Operation: 27+51=78, Resulting Numbers: [86, 21, 78] Generated Node #2: [86, 21, 78] from Operation: 27+51=78 Current State: 13:[86, 21, 78], Operations: ['27+51=78'] Exploring Operation: 86-21=65, Resulting Numbers: [78, 65] Generated Node #3: [78, 65] from Operation: 86-21=65 Current State: 13:[78, 65], Operations: ['27+51=78', '86-21=65'] Exploring Operation: 78-65=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[27, 51, 86, 21], Operations: [] Exploring Operation: 86-51=35, Resulting Numbers: [27, 21, 35] Generated Node #0,0: 13:[27, 21, 35] Operation: 86-51=35 Exploring Operation: 86-27=59, Resulting Numbers: [51, 21, 59] Generated Node #0,1: 13:[51, 21, 59] Operation: 86-27=59 Exploring Operation: 51-27=24, Resulting Numbers: [86, 21, 24] Generated Node #0,2: 13:[86, 21, 24] Operation: 51-27=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[27, 21, 35], Operations: ['86-51=35'] Exploring Operation: 27-21=6, Resulting Numbers: [35, 6] Generated Node #0,0,0: 13:[35, 6] Operation: 27-21=6 Exploring Operation: 35-27=8, Resulting Numbers: [21, 8] Generated Node #0,0,1: 13:[21, 8] Operation: 35-27=8 Exploring Operation: 35-21=14, Resulting Numbers: [27, 14] Generated Node #0,0,2: 13:[27, 14] Operation: 35-21=14 Moving to Node #0,0,1 Current State: 13:[21, 8], Operations: ['86-51=35', '35-27=8'] Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[27, 51, 86, 21], Operations: [] Exploring Operation: 86-51=35, Resulting Numbers: [27, 21, 35] Generated Node #0,0: 13:[27, 21, 35] Operation: 86-51=35 Moving to Node #0,0 Current State: 13:[27, 21, 35], Operations: ['86-51=35'] Exploring Operation: 35-27=8, Resulting Numbers: [21, 8] Generated Node #0,0,1: 13:[21, 8] Operation: 35-27=8 Moving to Node #0,0,1 Current State: 13:[21, 8], Operations: ['86-51=35', '35-27=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 37, 79, 58, 40 ]
38
[ "37+79=116", "116/58=2", "40-2=38" ]
Current State: 38:[37, 79, 58, 40], Operations: [] Exploring Operation: 37+79=116, Resulting Numbers: [58, 40, 116] Generated Node #2: [58, 40, 116] from Operation: 37+79=116 Current State: 38:[58, 40, 116], Operations: ['37+79=116'] Exploring Operation: 116/58=2, Resulting Numbers: [40, 2] Generated Node #3: [40, 2] from Operation: 116/58=2 Current State: 38:[40, 2], Operations: ['37+79=116', '116/58=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[37, 79, 58, 40], Operations: [] Exploring Operation: 79-58=21, Resulting Numbers: [37, 40, 21] Generated Node #0,0: 38:[37, 40, 21] Operation: 79-58=21 Exploring Operation: 79-40=39, Resulting Numbers: [37, 58, 39] Generated Node #0,1: 38:[37, 58, 39] Operation: 79-40=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[37, 40, 21], Operations: ['79-58=21'] Exploring Operation: 40-21=19, Resulting Numbers: [37, 19] Generated Node #0,0,0: 38:[37, 19] Operation: 40-21=19 Exploring Operation: 40-37=3, Resulting Numbers: [21, 3] Generated Node #0,0,1: 38:[21, 3] Operation: 40-37=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[37, 19], Operations: ['79-58=21', '40-21=19'] Exploring Operation: 37+19=56, Resulting Numbers: [56] 56,38 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[21, 3], Operations: ['79-58=21', '40-37=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[37, 58, 39], Operations: ['79-40=39'] Exploring Operation: 58-37=21, Resulting Numbers: [39, 21] Generated Node #0,1,0: 38:[39, 21] Operation: 58-37=21 Exploring Operation: 58-39=19, Resulting Numbers: [37, 19] Generated Node #0,1,1: 38:[37, 19] Operation: 58-39=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[37, 19], Operations: ['79-40=39', '58-39=19'] Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 37+19=56, Resulting Numbers: [56] 56,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[39, 21], Operations: ['79-40=39', '58-37=21'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 80, 50, 12, 90 ]
12
[ "80*90=7200", "50*12=600", "7200/600=12" ]
Current State: 12:[80, 50, 12, 90], Operations: [] Exploring Operation: 80*90=7200, Resulting Numbers: [50, 12, 7200] Generated Node #2: [50, 12, 7200] from Operation: 80*90=7200 Current State: 12:[50, 12, 7200], Operations: ['80*90=7200'] Exploring Operation: 50*12=600, Resulting Numbers: [7200, 600] Generated Node #3: [7200, 600] from Operation: 50*12=600 Current State: 12:[7200, 600], Operations: ['80*90=7200', '50*12=600'] Exploring Operation: 7200/600=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[80, 50, 12, 90], Operations: [] Exploring Operation: 90-80=10, Resulting Numbers: [50, 12, 10] Generated Node #0,0: 12:[50, 12, 10] Operation: 90-80=10 Exploring Operation: 90-50=40, Resulting Numbers: [80, 12, 40] Generated Node #0,1: 12:[80, 12, 40] Operation: 90-50=40 Exploring Operation: 80-50=30, Resulting Numbers: [12, 90, 30] Generated Node #0,2: 12:[12, 90, 30] Operation: 80-50=30 Exploring Operation: 80-12=68, Resulting Numbers: [50, 90, 68] Generated Node #0,3: 12:[50, 90, 68] Operation: 80-12=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[50, 12, 10], Operations: ['90-80=10'] Exploring Operation: 50/10=5, Resulting Numbers: [12, 5] Generated Node #0,0,0: 12:[12, 5] Operation: 50/10=5 Exploring Operation: 12-10=2, Resulting Numbers: [50, 2] Generated Node #0,0,1: 12:[50, 2] Operation: 12-10=2 Exploring Operation: 50-12=38, Resulting Numbers: [10, 38] Generated Node #0,0,2: 12:[10, 38] Operation: 50-12=38 Exploring Operation: 50-10=40, Resulting Numbers: [12, 40] Generated Node #0,0,3: 12:[12, 40] Operation: 50-10=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[12, 5], Operations: ['90-80=10', '50/10=5'] Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,12 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,12 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 12:[10, 38], Operations: ['90-80=10', '50-12=38'] Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,12 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 12:[12, 40], Operations: ['90-80=10', '50-10=40'] Exploring Operation: 12+40=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 12*40=480, Resulting Numbers: [480] 480,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[50, 2], Operations: ['90-80=10', '12-10=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,12 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[80, 12, 40], Operations: ['90-50=40'] Exploring Operation: 80/40=2, Resulting Numbers: [12, 2] Generated Node #0,1,0: 12:[12, 2] Operation: 80/40=2 Exploring Operation: 80-12=68, Resulting Numbers: [40, 68] Generated Node #0,1,1: 12:[40, 68] Operation: 80-12=68 Exploring Operation: 40-12=28, Resulting Numbers: [80, 28] Generated Node #0,1,2: 12:[80, 28] Operation: 40-12=28 Exploring Operation: 80-40=40, Resulting Numbers: [12, 40] Generated Node #0,1,3: 12:[12, 40] Operation: 80-40=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[12, 2], Operations: ['90-50=40', '80/40=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,12 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 12/2=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,1,3 Current State: 12:[12, 40], Operations: ['90-50=40', '80-40=40'] Exploring Operation: 12*40=480, Resulting Numbers: [480] 480,12 unequal: No Solution Exploring Operation: 12+40=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[40, 68], Operations: ['90-50=40', '80-12=68'] Exploring Operation: 40*68=2720, Resulting Numbers: [2720] 2720,12 unequal: No Solution Exploring Operation: 40+68=108, Resulting Numbers: [108] 108,12 unequal: No Solution Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 12:[80, 28], Operations: ['90-50=40', '40-12=28'] Exploring Operation: 80*28=2240, Resulting Numbers: [2240] 2240,12 unequal: No Solution Exploring Operation: 80+28=108, Resulting Numbers: [108] 108,12 unequal: No Solution Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[12, 90, 30], Operations: ['80-50=30'] Exploring Operation: 90-12=78, Resulting Numbers: [30, 78] Generated Node #0,2,0: 12:[30, 78] Operation: 90-12=78 Exploring Operation: 90-30=60, Resulting Numbers: [12, 60] Generated Node #0,2,1: 12:[12, 60] Operation: 90-30=60 Exploring Operation: 90/30=3, Resulting Numbers: [12, 3] Generated Node #0,2,2: 12:[12, 3] Operation: 90/30=3 Exploring Operation: 30-12=18, Resulting Numbers: [90, 18] Generated Node #0,2,3: 12:[90, 18] Operation: 30-12=18 Moving to Node #0,2,2 Current State: 12:[12, 3], Operations: ['80-50=30', '90/30=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[12, 60], Operations: ['80-50=30', '90-30=60'] Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 12+60=72, Resulting Numbers: [72] 72,12 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 12*60=720, Resulting Numbers: [720] 720,12 unequal: No Solution Moving to Node #0,2,3 Current State: 12:[90, 18], Operations: ['80-50=30', '30-12=18'] Exploring Operation: 90+18=108, Resulting Numbers: [108] 108,12 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,12 unequal: No Solution Exploring Operation: 90*18=1620, Resulting Numbers: [1620] 1620,12 unequal: No Solution Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[30, 78], Operations: ['80-50=30', '90-12=78'] Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 30+78=108, Resulting Numbers: [108] 108,12 unequal: No Solution Exploring Operation: 30*78=2340, Resulting Numbers: [2340] 2340,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[50, 90, 68], Operations: ['80-12=68'] Exploring Operation: 90-50=40, Resulting Numbers: [68, 40] Generated Node #0,3,0: 12:[68, 40] Operation: 90-50=40 Exploring Operation: 68-50=18, Resulting Numbers: [90, 18] Generated Node #0,3,1: 12:[90, 18] Operation: 68-50=18 Exploring Operation: 90-68=22, Resulting Numbers: [50, 22] Generated Node #0,3,2: 12:[50, 22] Operation: 90-68=22 Exploring Operation: 50+90=140, Resulting Numbers: [68, 140] Generated Node #0,3,3: 12:[68, 140] Operation: 50+90=140 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 12:[50, 22], Operations: ['80-12=68', '90-68=22'] Exploring Operation: 50*22=1100, Resulting Numbers: [1100] 1100,12 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 50+22=72, Resulting Numbers: [72] 72,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,3,0 Current State: 12:[68, 40], Operations: ['80-12=68', '90-50=40'] Exploring Operation: 68*40=2720, Resulting Numbers: [2720] 2720,12 unequal: No Solution Exploring Operation: 68+40=108, Resulting Numbers: [108] 108,12 unequal: No Solution Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,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,3,1 Current State: 12:[90, 18], Operations: ['80-12=68', '68-50=18'] Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,12 unequal: No Solution Exploring Operation: 90*18=1620, Resulting Numbers: [1620] 1620,12 unequal: No Solution Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 90+18=108, Resulting Numbers: [108] 108,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,3,3 Current State: 12:[68, 140], Operations: ['80-12=68', '50+90=140'] Exploring Operation: 140-68=72, Resulting Numbers: [72] 72,12 unequal: No Solution Exploring Operation: 68*140=9520, Resulting Numbers: [9520] 9520,12 unequal: No Solution Exploring Operation: 68+140=208, Resulting Numbers: [208] 208,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_4
mult_heuristic
[ 78, 73, 20, 34 ]
38
[ "78-73=5", "20/5=4", "34+4=38" ]
Current State: 38:[78, 73, 20, 34], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [20, 34, 5] Generated Node #2: [20, 34, 5] from Operation: 78-73=5 Current State: 38:[20, 34, 5], Operations: ['78-73=5'] Exploring Operation: 20/5=4, Resulting Numbers: [34, 4] Generated Node #3: [34, 4] from Operation: 20/5=4 Current State: 38:[34, 4], Operations: ['78-73=5', '20/5=4'] Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[78, 73, 20, 34], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [20, 34, 5] Generated Node #0,0: 38:[20, 34, 5] Operation: 78-73=5 Exploring Operation: 78-34=44, Resulting Numbers: [73, 20, 44] Generated Node #0,1: 38:[73, 20, 44] Operation: 78-34=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[20, 34, 5], Operations: ['78-73=5'] Exploring Operation: 34+5=39, Resulting Numbers: [20, 39] Generated Node #0,0,0: 38:[20, 39] Operation: 34+5=39 Exploring Operation: 20/5=4, Resulting Numbers: [34, 4] Generated Node #0,0,1: 38:[34, 4] Operation: 20/5=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[20, 39], Operations: ['78-73=5', '34+5=39'] Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,38 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[34, 4], Operations: ['78-73=5', '20/5=4'] Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[78, 73, 20, 34], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [20, 34, 5] Generated Node #0,0: 38:[20, 34, 5] Operation: 78-73=5 Moving to Node #0,0 Current State: 38:[20, 34, 5], Operations: ['78-73=5'] Exploring Operation: 20/5=4, Resulting Numbers: [34, 4] Generated Node #0,0,1: 38:[34, 4] Operation: 20/5=4 Moving to Node #0,0,1 Current State: 38:[34, 4], Operations: ['78-73=5', '20/5=4'] Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 3, 33, 78, 87 ]
22
[ "78+87=165", "165/3=55", "55-33=22" ]
Current State: 22:[3, 33, 78, 87], Operations: [] Exploring Operation: 78+87=165, Resulting Numbers: [3, 33, 165] Generated Node #2: [3, 33, 165] from Operation: 78+87=165 Current State: 22:[3, 33, 165], Operations: ['78+87=165'] Exploring Operation: 165/3=55, Resulting Numbers: [33, 55] Generated Node #3: [33, 55] from Operation: 165/3=55 Current State: 22:[33, 55], Operations: ['78+87=165', '165/3=55'] Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[3, 33, 78, 87], Operations: [] Exploring Operation: 87-33=54, Resulting Numbers: [3, 78, 54] Generated Node #0,0: 22:[3, 78, 54] Operation: 87-33=54 Exploring Operation: 78/3=26, Resulting Numbers: [33, 87, 26] Generated Node #0,1: 22:[33, 87, 26] Operation: 78/3=26 Exploring Operation: 78-33=45, Resulting Numbers: [3, 87, 45] Generated Node #0,2: 22:[3, 87, 45] Operation: 78-33=45 Exploring Operation: 87/3=29, Resulting Numbers: [33, 78, 29] Generated Node #0,3: 22:[33, 78, 29] Operation: 87/3=29 Exploring Operation: 87-78=9, Resulting Numbers: [3, 33, 9] Generated Node #0,4: 22:[3, 33, 9] Operation: 87-78=9 Moving to Node #0,4 Current State: 22:[3, 33, 9], Operations: ['87-78=9'] Exploring Operation: 33-3=30, Resulting Numbers: [9, 30] Generated Node #0,4,0: 22:[9, 30] Operation: 33-3=30 Exploring Operation: 33-9=24, Resulting Numbers: [3, 24] Generated Node #0,4,1: 22:[3, 24] Operation: 33-9=24 Exploring Operation: 9/3=3, Resulting Numbers: [33, 3] Generated Node #0,4,2: 22:[33, 3] Operation: 9/3=3 Exploring Operation: 33/3=11, Resulting Numbers: [9, 11] Generated Node #0,4,3: 22:[9, 11] Operation: 33/3=11 Exploring Operation: 3+9=12, Resulting Numbers: [33, 12] Generated Node #0,4,4: 22:[33, 12] Operation: 3+9=12 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 22:[9, 11], Operations: ['87-78=9', '33/3=11'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,22 unequal: No Solution No 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: 22:[3, 24], Operations: ['87-78=9', '33-9=24'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,22 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,22 unequal: No Solution No 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: 22:[9, 30], Operations: ['87-78=9', '33-3=30'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,22 unequal: No Solution Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,22 unequal: No Solution No 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: 22:[33, 3], Operations: ['87-78=9', '9/3=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,22 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 22:[33, 12], Operations: ['87-78=9', '3+9=12'] Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,22 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,22 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: 22:[33, 78, 29], Operations: ['87/3=29'] Exploring Operation: 33+78=111, Resulting Numbers: [29, 111] Generated Node #0,3,0: 22:[29, 111] Operation: 33+78=111 Exploring Operation: 78-29=49, Resulting Numbers: [33, 49] Generated Node #0,3,1: 22:[33, 49] Operation: 78-29=49 Exploring Operation: 33-29=4, Resulting Numbers: [78, 4] Generated Node #0,3,2: 22:[78, 4] Operation: 33-29=4 Exploring Operation: 33+29=62, Resulting Numbers: [78, 62] Generated Node #0,3,3: 22:[78, 62] Operation: 33+29=62 Exploring Operation: 78-33=45, Resulting Numbers: [29, 45] Generated Node #0,3,4: 22:[29, 45] Operation: 78-33=45 Moving to Node #0,1 Current State: 22:[33, 87, 26], Operations: ['78/3=26'] Exploring Operation: 33+87=120, Resulting Numbers: [26, 120] Generated Node #0,1,0: 22:[26, 120] Operation: 33+87=120 Exploring Operation: 87-33=54, Resulting Numbers: [26, 54] Generated Node #0,1,1: 22:[26, 54] Operation: 87-33=54 Exploring Operation: 33+26=59, Resulting Numbers: [87, 59] Generated Node #0,1,2: 22:[87, 59] Operation: 33+26=59 Exploring Operation: 87-26=61, Resulting Numbers: [33, 61] Generated Node #0,1,3: 22:[33, 61] Operation: 87-26=61 Exploring Operation: 33-26=7, Resulting Numbers: [87, 7] Generated Node #0,1,4: 22:[87, 7] Operation: 33-26=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[26, 54], Operations: ['78/3=26', '87-33=54'] Exploring Operation: 26+54=80, Resulting Numbers: [80] 80,22 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,22 unequal: No Solution Exploring Operation: 26*54=1404, Resulting Numbers: [1404] 1404,22 unequal: No Solution No 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: 22:[33, 61], Operations: ['78/3=26', '87-26=61'] Exploring Operation: 33*61=2013, Resulting Numbers: [2013] 2013,22 unequal: No Solution Exploring Operation: 33+61=94, Resulting Numbers: [94] 94,22 unequal: No Solution Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,22 unequal: No Solution No 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: 22:[87, 7], Operations: ['78/3=26', '33-26=7'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,22 unequal: No Solution Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,22 unequal: No Solution Exploring Operation: 87*7=609, Resulting Numbers: [609] 609,22 unequal: No Solution No 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: 22:[26, 120], Operations: ['78/3=26', '33+87=120'] Exploring Operation: 26*120=3120, Resulting Numbers: [3120] 3120,22 unequal: No Solution Exploring Operation: 120-26=94, Resulting Numbers: [94] 94,22 unequal: No Solution Exploring Operation: 26+120=146, Resulting Numbers: [146] 146,22 unequal: No Solution No 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: 22:[87, 59], Operations: ['78/3=26', '33+26=59'] Exploring Operation: 87+59=146, Resulting Numbers: [146] 146,22 unequal: No Solution Exploring Operation: 87-59=28, Resulting Numbers: [28] 28,22 unequal: No Solution Exploring Operation: 87*59=5133, Resulting Numbers: [5133] 5133,22 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: 22:[3, 78, 54], Operations: ['87-33=54'] Exploring Operation: 54/3=18, Resulting Numbers: [78, 18] Generated Node #0,0,0: 22:[78, 18] Operation: 54/3=18 Exploring Operation: 78-3=75, Resulting Numbers: [54, 75] Generated Node #0,0,1: 22:[54, 75] Operation: 78-3=75 Exploring Operation: 54-3=51, Resulting Numbers: [78, 51] Generated Node #0,0,2: 22:[78, 51] Operation: 54-3=51 Exploring Operation: 78-54=24, Resulting Numbers: [3, 24] Generated Node #0,0,3: 22:[3, 24] Operation: 78-54=24 Exploring Operation: 78/3=26, Resulting Numbers: [54, 26] Generated Node #0,0,4: 22:[54, 26] Operation: 78/3=26 Moving to Node #0,2 Current State: 22:[3, 87, 45], Operations: ['78-33=45'] Exploring Operation: 45/3=15, Resulting Numbers: [87, 15] Generated Node #0,2,0: 22:[87, 15] Operation: 45/3=15 Exploring Operation: 87/3=29, Resulting Numbers: [45, 29] Generated Node #0,2,1: 22:[45, 29] Operation: 87/3=29 Exploring Operation: 87-3=84, Resulting Numbers: [45, 84] Generated Node #0,2,2: 22:[45, 84] Operation: 87-3=84 Exploring Operation: 87-45=42, Resulting Numbers: [3, 42] Generated Node #0,2,3: 22:[3, 42] Operation: 87-45=42 Exploring Operation: 45-3=42, Resulting Numbers: [87, 42] Generated Node #0,2,4: 22:[87, 42] Operation: 45-3=42 Moving to Node #0,0,3 Current State: 22:[3, 24], Operations: ['87-33=54', '78-54=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,22 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,22 unequal: No Solution Moving to Node #0,2,3 Current State: 22:[3, 42], Operations: ['78-33=45', '87-45=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,22 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,22 unequal: No Solution Moving to Node #0,3,4 Current State: 22:[29, 45], Operations: ['87/3=29', '78-33=45'] Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 29*45=1305, Resulting Numbers: [1305] 1305,22 unequal: No Solution Exploring Operation: 29+45=74, Resulting Numbers: [74] 74,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[45, 29], Operations: ['78-33=45', '87/3=29'] Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,22 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,22 unequal: No Solution Moving to Node #0,0,4 Current State: 22:[54, 26], Operations: ['87-33=54', '78/3=26'] Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,22 unequal: No Solution Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,22 unequal: No Solution Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,22 unequal: No Solution Moving to Node #0,3,1 Current State: 22:[33, 49], Operations: ['87/3=29', '78-29=49'] Exploring Operation: 33*49=1617, Resulting Numbers: [1617] 1617,22 unequal: No Solution Exploring Operation: 33+49=82, Resulting Numbers: [82] 82,22 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,22 unequal: No Solution Moving to Node #0,3,2 Current State: 22:[78, 4], Operations: ['87/3=29', '33-29=4'] Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,22 unequal: No Solution Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,22 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[78, 18], Operations: ['87-33=54', '54/3=18'] Exploring Operation: 78+18=96, Resulting Numbers: [96] 96,22 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,22 unequal: No Solution Exploring Operation: 78*18=1404, Resulting Numbers: [1404] 1404,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[87, 15], Operations: ['78-33=45', '45/3=15'] Exploring Operation: 87*15=1305, Resulting Numbers: [1305] 1305,22 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,22 unequal: No Solution Exploring Operation: 87+15=102, Resulting Numbers: [102] 102,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[45, 84], Operations: ['78-33=45', '87-3=84'] Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 45+84=129, Resulting Numbers: [129] 129,22 unequal: No Solution Exploring Operation: 45*84=3780, Resulting Numbers: [3780] 3780,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[78, 51], Operations: ['87-33=54', '54-3=51'] Exploring Operation: 78-51=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 78+51=129, Resulting Numbers: [129] 129,22 unequal: No Solution Exploring Operation: 78*51=3978, Resulting Numbers: [3978] 3978,22 unequal: No Solution Moving to Node #0,2,4 Current State: 22:[87, 42], Operations: ['78-33=45', '45-3=42'] Exploring Operation: 87+42=129, Resulting Numbers: [129] 129,22 unequal: No Solution Exploring Operation: 87*42=3654, Resulting Numbers: [3654] 3654,22 unequal: No Solution Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[54, 75], Operations: ['87-33=54', '78-3=75'] Exploring Operation: 54+75=129, Resulting Numbers: [129] 129,22 unequal: No Solution Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 54*75=4050, Resulting Numbers: [4050] 4050,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[78, 62], Operations: ['87/3=29', '33+29=62'] Exploring Operation: 78*62=4836, Resulting Numbers: [4836] 4836,22 unequal: No Solution Exploring Operation: 78-62=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 78+62=140, Resulting Numbers: [140] 140,22 unequal: No Solution Moving to Node #0,3,0 Current State: 22:[29, 111], Operations: ['87/3=29', '33+78=111'] Exploring Operation: 29+111=140, Resulting Numbers: [140] 140,22 unequal: No Solution Exploring Operation: 29*111=3219, Resulting Numbers: [3219] 3219,22 unequal: No Solution Exploring Operation: 111-29=82, Resulting Numbers: [82] 82,22 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 26, 5, 3, 5 ]
98
[ "26+5=31", "3*31=93", "5+93=98" ]
Current State: 98:[26, 5, 3, 5], Operations: [] Exploring Operation: 26+5=31, Resulting Numbers: [3, 31] Generated Node #2: [3, 31] from Operation: 26+5=31 Current State: 98:[3, 31], Operations: ['26+5=31'] Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,98 equal: Goal Reached Exploring Operation: 5+93=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[26, 5, 3, 5], Operations: [] Exploring Operation: 26-5=21, Resulting Numbers: [3, 5, 21] Generated Node #0,0: 98:[3, 5, 21] Operation: 26-5=21 Exploring Operation: 26-5=21, Resulting Numbers: [5, 3, 21] Generated Node #0,1: 98:[5, 3, 21] Operation: 26-5=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[3, 5, 21], Operations: ['26-5=21'] Exploring Operation: 21-5=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 98:[3, 16] Operation: 21-5=16 Exploring Operation: 21/3=7, Resulting Numbers: [5, 7] Generated Node #0,0,1: 98:[5, 7] Operation: 21/3=7 Moving to Node #0,0,1 Current State: 98:[5, 7], Operations: ['26-5=21', '21/3=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,98 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[3, 16], Operations: ['26-5=21', '21-5=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 3*16=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,1 Current State: 98:[5, 3, 21], Operations: ['26-5=21'] Exploring Operation: 21/3=7, Resulting Numbers: [5, 7] Generated Node #0,1,0: 98:[5, 7] Operation: 21/3=7 Exploring Operation: 21-5=16, Resulting Numbers: [3, 16] Generated Node #0,1,1: 98:[3, 16] Operation: 21-5=16 Moving to Node #0,1,0 Current State: 98:[5, 7], Operations: ['26-5=21', '21/3=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[3, 16], Operations: ['26-5=21', '21-5=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,98 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
[ 75, 27, 69, 66 ]
99
[ "75+27=102", "69-66=3", "102-3=99" ]
Current State: 99:[75, 27, 69, 66], Operations: [] Exploring Operation: 75+27=102, Resulting Numbers: [69, 66, 102] Generated Node #2: [69, 66, 102] from Operation: 75+27=102 Current State: 99:[69, 66, 102], Operations: ['75+27=102'] Exploring Operation: 69-66=3, Resulting Numbers: [102, 3] Generated Node #3: [102, 3] from Operation: 69-66=3 Current State: 99:[102, 3], Operations: ['75+27=102', '69-66=3'] Exploring Operation: 102-3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[75, 27, 69, 66], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [27, 69, 9] Generated Node #0,0: 99:[27, 69, 9] Operation: 75-66=9 Exploring Operation: 75-69=6, Resulting Numbers: [27, 66, 6] Generated Node #0,1: 99:[27, 66, 6] Operation: 75-69=6 Exploring Operation: 69-66=3, Resulting Numbers: [75, 27, 3] Generated Node #0,2: 99:[75, 27, 3] Operation: 69-66=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[75, 27, 3], Operations: ['69-66=3'] Exploring Operation: 75+27=102, Resulting Numbers: [3, 102] Generated Node #0,2,0: 99:[3, 102] Operation: 75+27=102 Exploring Operation: 75/3=25, Resulting Numbers: [27, 25] Generated Node #0,2,1: 99:[27, 25] Operation: 75/3=25 Exploring Operation: 75-27=48, Resulting Numbers: [3, 48] Generated Node #0,2,2: 99:[3, 48] Operation: 75-27=48 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 99:[3, 102], Operations: ['69-66=3', '75+27=102'] Exploring Operation: 3+102=105, Resulting Numbers: [105] 105,99 unequal: No Solution Exploring Operation: 102-3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[75, 27, 69, 66], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [75, 27, 3] Generated Node #0,2: 99:[75, 27, 3] Operation: 69-66=3 Moving to Node #0,2 Current State: 99:[75, 27, 3], Operations: ['69-66=3'] Exploring Operation: 75+27=102, Resulting Numbers: [3, 102] Generated Node #0,2,0: 99:[3, 102] Operation: 75+27=102 Moving to Node #0,2,0 Current State: 99:[3, 102], Operations: ['69-66=3', '75+27=102'] Exploring Operation: 102-3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 25, 69, 28, 77 ]
61
[ "69-25=44", "28+77=105", "105-44=61" ]
Current State: 61:[25, 69, 28, 77], Operations: [] Exploring Operation: 69-25=44, Resulting Numbers: [28, 77, 44] Generated Node #2: [28, 77, 44] from Operation: 69-25=44 Current State: 61:[28, 77, 44], Operations: ['69-25=44'] Exploring Operation: 28+77=105, Resulting Numbers: [44, 105] Generated Node #3: [44, 105] from Operation: 28+77=105 Current State: 61:[44, 105], Operations: ['69-25=44', '28+77=105'] Exploring Operation: 105-44=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[25, 69, 28, 77], Operations: [] Exploring Operation: 77-25=52, Resulting Numbers: [69, 28, 52] Generated Node #0,0: 61:[69, 28, 52] Operation: 77-25=52 Exploring Operation: 77-28=49, Resulting Numbers: [25, 69, 49] Generated Node #0,1: 61:[25, 69, 49] Operation: 77-28=49 Exploring Operation: 25+28=53, Resulting Numbers: [69, 77, 53] Generated Node #0,2: 61:[69, 77, 53] Operation: 25+28=53 Exploring Operation: 69-25=44, Resulting Numbers: [28, 77, 44] Generated Node #0,3: 61:[28, 77, 44] Operation: 69-25=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[69, 77, 53], Operations: ['25+28=53'] Exploring Operation: 69-53=16, Resulting Numbers: [77, 16] Generated Node #0,2,0: 61:[77, 16] Operation: 69-53=16 Exploring Operation: 77-69=8, Resulting Numbers: [53, 8] Generated Node #0,2,1: 61:[53, 8] Operation: 77-69=8 Exploring Operation: 77-53=24, Resulting Numbers: [69, 24] Generated Node #0,2,2: 61:[69, 24] Operation: 77-53=24 Exploring Operation: 69+53=122, Resulting Numbers: [77, 122] Generated Node #0,2,3: 61:[77, 122] Operation: 69+53=122 Moving to Node #0,2,2 Current State: 61:[69, 24], Operations: ['25+28=53', '77-53=24'] Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,61 unequal: No Solution Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,61 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[53, 8], Operations: ['25+28=53', '77-69=8'] Exploring Operation: 53*8=424, Resulting Numbers: [424] 424,61 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,61 unequal: No Solution Exploring Operation: 53+8=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[25, 69, 28, 77], Operations: [] Exploring Operation: 25+28=53, Resulting Numbers: [69, 77, 53] Generated Node #0,2: 61:[69, 77, 53] Operation: 25+28=53 Moving to Node #0,2 Current State: 61:[69, 77, 53], Operations: ['25+28=53'] Exploring Operation: 77-69=8, Resulting Numbers: [53, 8] Generated Node #0,2,1: 61:[53, 8] Operation: 77-69=8 Moving to Node #0,2,1 Current State: 61:[53, 8], Operations: ['25+28=53', '77-69=8'] Exploring Operation: 53+8=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 15, 37, 3, 14 ]
69
[ "15+37=52", "3+14=17", "52+17=69" ]
Current State: 69:[15, 37, 3, 14], Operations: [] Exploring Operation: 15+37=52, Resulting Numbers: [3, 14, 52] Generated Node #2: [3, 14, 52] from Operation: 15+37=52 Current State: 69:[3, 14, 52], Operations: ['15+37=52'] Exploring Operation: 3+14=17, Resulting Numbers: [52, 17] Generated Node #3: [52, 17] from Operation: 3+14=17 Current State: 69:[52, 17], Operations: ['15+37=52', '3+14=17'] Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[15, 37, 3, 14], Operations: [] Exploring Operation: 37-15=22, Resulting Numbers: [3, 14, 22] Generated Node #0,0: 69:[3, 14, 22] Operation: 37-15=22 Exploring Operation: 37-14=23, Resulting Numbers: [15, 3, 23] Generated Node #0,1: 69:[15, 3, 23] Operation: 37-14=23 Moving to Node #0,1 Current State: 69:[15, 3, 23], Operations: ['37-14=23'] Exploring Operation: 15+3=18, Resulting Numbers: [23, 18] Generated Node #0,1,0: 69:[23, 18] Operation: 15+3=18 Exploring Operation: 15/3=5, Resulting Numbers: [23, 5] Generated Node #0,1,1: 69:[23, 5] Operation: 15/3=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 69:[23, 5], Operations: ['37-14=23', '15/3=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,69 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[23, 18], Operations: ['37-14=23', '15+3=18'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,69 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: 69:[3, 14, 22], Operations: ['37-15=22'] Exploring Operation: 22-14=8, Resulting Numbers: [3, 8] Generated Node #0,0,0: 69:[3, 8] Operation: 22-14=8 Exploring Operation: 3+14=17, Resulting Numbers: [22, 17] Generated Node #0,0,1: 69:[22, 17] Operation: 3+14=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[3, 8], Operations: ['37-15=22', '22-14=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[22, 17], Operations: ['37-15=22', '3+14=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,69 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,69 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
[ 4, 45, 15, 61 ]
35
[ "45-4=41", "15+61=76", "76-41=35" ]
Current State: 35:[4, 45, 15, 61], Operations: [] Exploring Operation: 45-4=41, Resulting Numbers: [15, 61, 41] Generated Node #2: [15, 61, 41] from Operation: 45-4=41 Current State: 35:[15, 61, 41], Operations: ['45-4=41'] Exploring Operation: 15+61=76, Resulting Numbers: [41, 76] Generated Node #3: [41, 76] from Operation: 15+61=76 Current State: 35:[41, 76], Operations: ['45-4=41', '15+61=76'] Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[4, 45, 15, 61], Operations: [] Exploring Operation: 61-15=46, Resulting Numbers: [4, 45, 46] Generated Node #0,0: 35:[4, 45, 46] Operation: 61-15=46 Exploring Operation: 61-45=16, Resulting Numbers: [4, 15, 16] Generated Node #0,1: 35:[4, 15, 16] Operation: 61-45=16 Exploring Operation: 45/15=3, Resulting Numbers: [4, 61, 3] Generated Node #0,2: 35:[4, 61, 3] Operation: 45/15=3 Exploring Operation: 45-15=30, Resulting Numbers: [4, 61, 30] Generated Node #0,3: 35:[4, 61, 30] Operation: 45-15=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[4, 15, 16], Operations: ['61-45=16'] Exploring Operation: 15-4=11, Resulting Numbers: [16, 11] Generated Node #0,1,0: 35:[16, 11] Operation: 15-4=11 Exploring Operation: 16-15=1, Resulting Numbers: [4, 1] Generated Node #0,1,1: 35:[4, 1] Operation: 16-15=1 Exploring Operation: 15+16=31, Resulting Numbers: [4, 31] Generated Node #0,1,2: 35:[4, 31] Operation: 15+16=31 Exploring Operation: 16/4=4, Resulting Numbers: [15, 4] Generated Node #0,1,3: 35:[15, 4] Operation: 16/4=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[4, 1], Operations: ['61-45=16', '16-15=1'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 35:[4, 31], Operations: ['61-45=16', '15+16=31'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,35 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[4, 45, 15, 61], Operations: [] Exploring Operation: 61-45=16, Resulting Numbers: [4, 15, 16] Generated Node #0,1: 35:[4, 15, 16] Operation: 61-45=16 Moving to Node #0,1 Current State: 35:[4, 15, 16], Operations: ['61-45=16'] Exploring Operation: 15+16=31, Resulting Numbers: [4, 31] Generated Node #0,1,2: 35:[4, 31] Operation: 15+16=31 Moving to Node #0,1,2 Current State: 35:[4, 31], Operations: ['61-45=16', '15+16=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 11, 80, 16, 25 ]
45
[ "16-11=5", "25*5=125", "125-80=45" ]
Current State: 45:[11, 80, 16, 25], Operations: [] Exploring Operation: 16-11=5, Resulting Numbers: [80, 25, 5] Generated Node #2: [80, 25, 5] from Operation: 16-11=5 Current State: 45:[80, 25, 5], Operations: ['16-11=5'] Exploring Operation: 25*5=125, Resulting Numbers: [80, 125] Generated Node #3: [80, 125] from Operation: 25*5=125 Current State: 45:[80, 125], Operations: ['16-11=5', '25*5=125'] Exploring Operation: 125-80=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[11, 80, 16, 25], Operations: [] Exploring Operation: 80/16=5, Resulting Numbers: [11, 25, 5] Generated Node #0,0: 45:[11, 25, 5] Operation: 80/16=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[11, 25, 5], Operations: ['80/16=5'] Exploring Operation: 25-11=14, Resulting Numbers: [5, 14] Generated Node #0,0,0: 45:[5, 14] Operation: 25-11=14 Moving to Node #0,0,0 Current State: 45:[5, 14], Operations: ['80/16=5', '25-11=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 63, 81, 59, 64 ]
65
[ "63-59=4", "64/4=16", "81-16=65" ]
Current State: 65:[63, 81, 59, 64], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [81, 64, 4] Generated Node #2: [81, 64, 4] from Operation: 63-59=4 Current State: 65:[81, 64, 4], Operations: ['63-59=4'] Exploring Operation: 64/4=16, Resulting Numbers: [81, 16] Generated Node #3: [81, 16] from Operation: 64/4=16 Current State: 65:[81, 16], Operations: ['63-59=4', '64/4=16'] Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[63, 81, 59, 64], Operations: [] Exploring Operation: 81-63=18, Resulting Numbers: [59, 64, 18] Generated Node #0,0: 65:[59, 64, 18] Operation: 81-63=18 Exploring Operation: 81-59=22, Resulting Numbers: [63, 64, 22] Generated Node #0,1: 65:[63, 64, 22] Operation: 81-59=22 Moving to Node #0,0 Current State: 65:[59, 64, 18], Operations: ['81-63=18'] Exploring Operation: 64-59=5, Resulting Numbers: [18, 5] Generated Node #0,0,0: 65:[18, 5] Operation: 64-59=5 Exploring Operation: 59+18=77, Resulting Numbers: [64, 77] Generated Node #0,0,1: 65:[64, 77] Operation: 59+18=77 Moving to Node #0,1 Current State: 65:[63, 64, 22], Operations: ['81-59=22'] Exploring Operation: 63+22=85, Resulting Numbers: [64, 85] Generated Node #0,1,0: 65:[64, 85] Operation: 63+22=85 Exploring Operation: 64-63=1, Resulting Numbers: [22, 1] Generated Node #0,1,1: 65:[22, 1] Operation: 64-63=1 Moving to Node #0,0,0 Current State: 65:[18, 5], Operations: ['81-63=18', '64-59=5'] Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[22, 1], Operations: ['81-59=22', '64-63=1'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[64, 77], Operations: ['81-63=18', '59+18=77'] Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 64+77=141, Resulting Numbers: [141] 141,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[64, 85], Operations: ['81-59=22', '63+22=85'] Exploring Operation: 64+85=149, Resulting Numbers: [149] 149,65 unequal: No Solution Exploring Operation: 85-64=21, Resulting Numbers: [21] 21,65 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 35, 73, 14, 98 ]
46
[ "73-35=38", "98-14=84", "84-38=46" ]
Current State: 46:[35, 73, 14, 98], Operations: [] Exploring Operation: 73-35=38, Resulting Numbers: [14, 98, 38] Generated Node #2: [14, 98, 38] from Operation: 73-35=38 Current State: 46:[14, 98, 38], Operations: ['73-35=38'] Exploring Operation: 98-14=84, Resulting Numbers: [38, 84] Generated Node #3: [38, 84] from Operation: 98-14=84 Current State: 46:[38, 84], Operations: ['73-35=38', '98-14=84'] Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[35, 73, 14, 98], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [35, 14, 25] Generated Node #0,0: 46:[35, 14, 25] Operation: 98-73=25 Exploring Operation: 98/14=7, Resulting Numbers: [35, 73, 7] Generated Node #0,1: 46:[35, 73, 7] Operation: 98/14=7 Exploring Operation: 98-35=63, Resulting Numbers: [73, 14, 63] Generated Node #0,2: 46:[73, 14, 63] Operation: 98-35=63 Exploring Operation: 73-14=59, Resulting Numbers: [35, 98, 59] Generated Node #0,3: 46:[35, 98, 59] Operation: 73-14=59 Exploring Operation: 73-35=38, Resulting Numbers: [14, 98, 38] Generated Node #0,4: 46:[14, 98, 38] Operation: 73-35=38 Moving to Node #0,0 Current State: 46:[35, 14, 25], Operations: ['98-73=25'] Exploring Operation: 35-25=10, Resulting Numbers: [14, 10] Generated Node #0,0,0: 46:[14, 10] Operation: 35-25=10 Exploring Operation: 35-14=21, Resulting Numbers: [25, 21] Generated Node #0,0,1: 46:[25, 21] Operation: 35-14=21 Exploring Operation: 35+14=49, Resulting Numbers: [25, 49] Generated Node #0,0,2: 46:[25, 49] Operation: 35+14=49 Exploring Operation: 25-14=11, Resulting Numbers: [35, 11] Generated Node #0,0,3: 46:[35, 11] Operation: 25-14=11 Exploring Operation: 14+25=39, Resulting Numbers: [35, 39] Generated Node #0,0,4: 46:[35, 39] Operation: 14+25=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[25, 21], Operations: ['98-73=25', '35-14=21'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,46 unequal: No Solution Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[35, 73, 14, 98], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [35, 14, 25] Generated Node #0,0: 46:[35, 14, 25] Operation: 98-73=25 Moving to Node #0,0 Current State: 46:[35, 14, 25], Operations: ['98-73=25'] Exploring Operation: 35-14=21, Resulting Numbers: [25, 21] Generated Node #0,0,1: 46:[25, 21] Operation: 35-14=21 Moving to Node #0,0,1 Current State: 46:[25, 21], Operations: ['98-73=25', '35-14=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 29, 22, 52, 34 ]
35
[ "29+22=51", "52+34=86", "86-51=35" ]
Current State: 35:[29, 22, 52, 34], Operations: [] Exploring Operation: 29+22=51, Resulting Numbers: [52, 34, 51] Generated Node #2: [52, 34, 51] from Operation: 29+22=51 Current State: 35:[52, 34, 51], Operations: ['29+22=51'] Exploring Operation: 52+34=86, Resulting Numbers: [51, 86] Generated Node #3: [51, 86] from Operation: 52+34=86 Current State: 35:[51, 86], Operations: ['29+22=51', '52+34=86'] Exploring Operation: 86-51=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[29, 22, 52, 34], Operations: [] Exploring Operation: 29-22=7, Resulting Numbers: [52, 34, 7] Generated Node #0,0: 35:[52, 34, 7] Operation: 29-22=7 Exploring Operation: 52-22=30, Resulting Numbers: [29, 34, 30] Generated Node #0,1: 35:[29, 34, 30] Operation: 52-22=30 Moving to Node #0,1 Current State: 35:[29, 34, 30], Operations: ['52-22=30'] Exploring Operation: 30-29=1, Resulting Numbers: [34, 1] Generated Node #0,1,0: 35:[34, 1] Operation: 30-29=1 Exploring Operation: 34-29=5, Resulting Numbers: [30, 5] Generated Node #0,1,1: 35:[30, 5] Operation: 34-29=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[34, 1], Operations: ['52-22=30', '30-29=1'] Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[29, 22, 52, 34], Operations: [] Exploring Operation: 52-22=30, Resulting Numbers: [29, 34, 30] Generated Node #0,1: 35:[29, 34, 30] Operation: 52-22=30 Moving to Node #0,1 Current State: 35:[29, 34, 30], Operations: ['52-22=30'] Exploring Operation: 30-29=1, Resulting Numbers: [34, 1] Generated Node #0,1,0: 35:[34, 1] Operation: 30-29=1 Moving to Node #0,1,0 Current State: 35:[34, 1], Operations: ['52-22=30', '30-29=1'] Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 56, 28, 14, 94 ]
52
[ "56-28=28", "94-14=80", "80-28=52" ]
Current State: 52:[56, 28, 14, 94], Operations: [] Exploring Operation: 56-28=28, Resulting Numbers: [14, 94, 28] Generated Node #2: [14, 94, 28] from Operation: 56-28=28 Current State: 52:[14, 94, 28], Operations: ['56-28=28'] Exploring Operation: 94-14=80, Resulting Numbers: [28, 80] Generated Node #3: [28, 80] from Operation: 94-14=80 Current State: 52:[28, 80], Operations: ['56-28=28', '94-14=80'] Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[56, 28, 14, 94], Operations: [] Exploring Operation: 94-56=38, Resulting Numbers: [28, 14, 38] Generated Node #0,0: 52:[28, 14, 38] Operation: 94-56=38 Exploring Operation: 94-28=66, Resulting Numbers: [56, 14, 66] Generated Node #0,1: 52:[56, 14, 66] Operation: 94-28=66 Exploring Operation: 94-14=80, Resulting Numbers: [56, 28, 80] Generated Node #0,2: 52:[56, 28, 80] Operation: 94-14=80 Moving to Node #0,0 Current State: 52:[28, 14, 38], Operations: ['94-56=38'] Exploring Operation: 38-14=24, Resulting Numbers: [28, 24] Generated Node #0,0,0: 52:[28, 24] Operation: 38-14=24 Exploring Operation: 14+38=52, Resulting Numbers: [28, 52] Generated Node #0,0,1: 52:[28, 52] Operation: 14+38=52 Exploring Operation: 38-28=10, Resulting Numbers: [14, 10] Generated Node #0,0,2: 52:[14, 10] Operation: 38-28=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[28, 52], Operations: ['94-56=38', '14+38=52'] Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 28+52=80, Resulting Numbers: [80] 80,52 unequal: No Solution Exploring Operation: 28*52=1456, Resulting Numbers: [1456] 1456,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,0 Current State: 52:[28, 24], Operations: ['94-56=38', '38-14=24'] Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[56, 28, 14, 94], Operations: [] Exploring Operation: 94-56=38, Resulting Numbers: [28, 14, 38] Generated Node #0,0: 52:[28, 14, 38] Operation: 94-56=38 Moving to Node #0,0 Current State: 52:[28, 14, 38], Operations: ['94-56=38'] Exploring Operation: 38-14=24, Resulting Numbers: [28, 24] Generated Node #0,0,0: 52:[28, 24] Operation: 38-14=24 Moving to Node #0,0,0 Current State: 52:[28, 24], Operations: ['94-56=38', '38-14=24'] Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 54, 38, 13, 5 ]
71
[ "38-13=25", "5*25=125", "125-54=71" ]
Current State: 71:[54, 38, 13, 5], Operations: [] Exploring Operation: 38-13=25, Resulting Numbers: [54, 5, 25] Generated Node #2: [54, 5, 25] from Operation: 38-13=25 Current State: 71:[54, 5, 25], Operations: ['38-13=25'] Exploring Operation: 5*25=125, Resulting Numbers: [54, 125] Generated Node #3: [54, 125] from Operation: 5*25=125 Current State: 71:[54, 125], Operations: ['38-13=25', '5*25=125'] Exploring Operation: 125-54=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[54, 38, 13, 5], Operations: [] Exploring Operation: 38+5=43, Resulting Numbers: [54, 13, 43] Generated Node #0,0: 71:[54, 13, 43] Operation: 38+5=43 Exploring Operation: 13*5=65, Resulting Numbers: [54, 38, 65] Generated Node #0,1: 71:[54, 38, 65] Operation: 13*5=65 Exploring Operation: 54+13=67, Resulting Numbers: [38, 5, 67] Generated Node #0,2: 71:[38, 5, 67] Operation: 54+13=67 Exploring Operation: 38+13=51, Resulting Numbers: [54, 5, 51] Generated Node #0,3: 71:[54, 5, 51] Operation: 38+13=51 Exploring Operation: 54+5=59, Resulting Numbers: [38, 13, 59] Generated Node #0,4: 71:[38, 13, 59] Operation: 54+5=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[54, 38, 65], Operations: ['13*5=65'] Exploring Operation: 54+65=119, Resulting Numbers: [38, 119] Generated Node #0,1,0: 71:[38, 119] Operation: 54+65=119 Exploring Operation: 65-38=27, Resulting Numbers: [54, 27] Generated Node #0,1,1: 71:[54, 27] Operation: 65-38=27 Exploring Operation: 54+38=92, Resulting Numbers: [65, 92] Generated Node #0,1,2: 71:[65, 92] Operation: 54+38=92 Exploring Operation: 54-38=16, Resulting Numbers: [65, 16] Generated Node #0,1,3: 71:[65, 16] Operation: 54-38=16 Exploring Operation: 38+65=103, Resulting Numbers: [54, 103] Generated Node #0,1,4: 71:[54, 103] Operation: 38+65=103 Moving to Node #0,1,2 Current State: 71:[65, 92], Operations: ['13*5=65', '54+38=92'] Exploring Operation: 92-65=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 65*92=5980, Resulting Numbers: [5980] 5980,71 unequal: No Solution Exploring Operation: 65+92=157, Resulting Numbers: [157] 157,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[54, 103], Operations: ['13*5=65', '38+65=103'] Exploring Operation: 54*103=5562, Resulting Numbers: [5562] 5562,71 unequal: No Solution Exploring Operation: 54+103=157, Resulting Numbers: [157] 157,71 unequal: No Solution Exploring Operation: 103-54=49, Resulting Numbers: [49] 49,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[54, 27], Operations: ['13*5=65', '65-38=27'] Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 54+27=81, Resulting Numbers: [81] 81,71 unequal: No Solution Exploring Operation: 54*27=1458, Resulting Numbers: [1458] 1458,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[65, 16], Operations: ['13*5=65', '54-38=16'] Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,71 unequal: No Solution Exploring Operation: 65*16=1040, Resulting Numbers: [1040] 1040,71 unequal: No Solution Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[38, 119], Operations: ['13*5=65', '54+65=119'] Exploring Operation: 119-38=81, Resulting Numbers: [81] 81,71 unequal: No Solution Exploring Operation: 38*119=4522, Resulting Numbers: [4522] 4522,71 unequal: No Solution Exploring Operation: 38+119=157, Resulting Numbers: [157] 157,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[54, 13, 43], Operations: ['38+5=43'] Exploring Operation: 54-13=41, Resulting Numbers: [43, 41] Generated Node #0,0,0: 71:[43, 41] Operation: 54-13=41 Exploring Operation: 43-13=30, Resulting Numbers: [54, 30] Generated Node #0,0,1: 71:[54, 30] Operation: 43-13=30 Exploring Operation: 13+43=56, Resulting Numbers: [54, 56] Generated Node #0,0,2: 71:[54, 56] Operation: 13+43=56 Exploring Operation: 54+13=67, Resulting Numbers: [43, 67] Generated Node #0,0,3: 71:[43, 67] Operation: 54+13=67 Exploring Operation: 54+43=97, Resulting Numbers: [13, 97] Generated Node #0,0,4: 71:[13, 97] Operation: 54+43=97 Moving to Node #0,0,2 Current State: 71:[54, 56], Operations: ['38+5=43', '13+43=56'] Exploring Operation: 54*56=3024, Resulting Numbers: [3024] 3024,71 unequal: No Solution Exploring Operation: 54+56=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[43, 67], Operations: ['38+5=43', '54+13=67'] Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[43, 41], Operations: ['38+5=43', '54-13=41'] Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,71 unequal: No Solution Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[54, 30], Operations: ['38+5=43', '43-13=30'] Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 54*30=1620, Resulting Numbers: [1620] 1620,71 unequal: No Solution Exploring Operation: 54+30=84, Resulting Numbers: [84] 84,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[13, 97], Operations: ['38+5=43', '54+43=97'] Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 13+97=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 13*97=1261, Resulting Numbers: [1261] 1261,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[38, 5, 67], Operations: ['54+13=67'] Exploring Operation: 5+67=72, Resulting Numbers: [38, 72] Generated Node #0,2,0: 71:[38, 72] Operation: 5+67=72 Exploring Operation: 67-5=62, Resulting Numbers: [38, 62] Generated Node #0,2,1: 71:[38, 62] Operation: 67-5=62 Exploring Operation: 38-5=33, Resulting Numbers: [67, 33] Generated Node #0,2,2: 71:[67, 33] Operation: 38-5=33 Exploring Operation: 38+67=105, Resulting Numbers: [5, 105] Generated Node #0,2,3: 71:[5, 105] Operation: 38+67=105 Exploring Operation: 38+5=43, Resulting Numbers: [67, 43] Generated Node #0,2,4: 71:[67, 43] Operation: 38+5=43 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 71:[67, 43], Operations: ['54+13=67', '38+5=43'] Exploring Operation: 67*43=2881, Resulting Numbers: [2881] 2881,71 unequal: No Solution Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 67+43=110, Resulting Numbers: [110] 110,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[38, 72], Operations: ['54+13=67', '5+67=72'] Exploring Operation: 38+72=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 38*72=2736, Resulting Numbers: [2736] 2736,71 unequal: No Solution Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[38, 62], Operations: ['54+13=67', '67-5=62'] Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[67, 33], Operations: ['54+13=67', '38-5=33'] Exploring Operation: 67*33=2211, Resulting Numbers: [2211] 2211,71 unequal: No Solution Exploring Operation: 67+33=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 71:[5, 105], Operations: ['54+13=67', '38+67=105'] Exploring Operation: 5*105=525, Resulting Numbers: [525] 525,71 unequal: No Solution Exploring Operation: 5+105=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 105/5=21, Resulting Numbers: [21] 21,71 unequal: No Solution Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,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,3 Current State: 71:[54, 5, 51], Operations: ['38+13=51'] Exploring Operation: 51-5=46, Resulting Numbers: [54, 46] Generated Node #0,3,0: 71:[54, 46] Operation: 51-5=46 Exploring Operation: 54-5=49, Resulting Numbers: [51, 49] Generated Node #0,3,1: 71:[51, 49] Operation: 54-5=49 Exploring Operation: 5+51=56, Resulting Numbers: [54, 56] Generated Node #0,3,2: 71:[54, 56] Operation: 5+51=56 Exploring Operation: 54+5=59, Resulting Numbers: [51, 59] Generated Node #0,3,3: 71:[51, 59] Operation: 54+5=59 Exploring Operation: 54+51=105, Resulting Numbers: [5, 105] Generated Node #0,3,4: 71:[5, 105] Operation: 54+51=105 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 71:[54, 56], Operations: ['38+13=51', '5+51=56'] Exploring Operation: 54*56=3024, Resulting Numbers: [3024] 3024,71 unequal: No Solution Exploring Operation: 54+56=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 71:[51, 59], Operations: ['38+13=51', '54+5=59'] Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 51+59=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 51*59=3009, Resulting Numbers: [3009] 3009,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 71:[54, 46], Operations: ['38+13=51', '51-5=46'] Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,71 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 71:[51, 49], Operations: ['38+13=51', '54-5=49'] Exploring Operation: 51*49=2499, Resulting Numbers: [2499] 2499,71 unequal: No Solution Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 71:[5, 105], Operations: ['38+13=51', '54+51=105'] Exploring Operation: 105-5=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 5*105=525, Resulting Numbers: [525] 525,71 unequal: No Solution Exploring Operation: 5+105=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 105/5=21, Resulting Numbers: [21] 21,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 71:[38, 13, 59], Operations: ['54+5=59'] Exploring Operation: 59-13=46, Resulting Numbers: [38, 46] Generated Node #0,4,0: 71:[38, 46] Operation: 59-13=46 Exploring Operation: 38+13=51, Resulting Numbers: [59, 51] Generated Node #0,4,1: 71:[59, 51] Operation: 38+13=51 Exploring Operation: 13+59=72, Resulting Numbers: [38, 72] Generated Node #0,4,2: 71:[38, 72] Operation: 13+59=72 Exploring Operation: 38-13=25, Resulting Numbers: [59, 25] Generated Node #0,4,3: 71:[59, 25] Operation: 38-13=25 Exploring Operation: 38+59=97, Resulting Numbers: [13, 97] Generated Node #0,4,4: 71:[13, 97] Operation: 38+59=97 Moving to Node #0,4,1 Current State: 71:[59, 51], Operations: ['54+5=59', '38+13=51'] Exploring Operation: 59+51=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 59*51=3009, Resulting Numbers: [3009] 3009,71 unequal: No Solution Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[38, 72], Operations: ['54+5=59', '13+59=72'] Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 38+72=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 38*72=2736, Resulting Numbers: [2736] 2736,71 unequal: No Solution Moving to Node #0,4,0 Current State: 71:[38, 46], Operations: ['54+5=59', '59-13=46'] Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,71 unequal: No Solution Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,71 unequal: No Solution Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[59, 25], Operations: ['54+5=59', '38-13=25'] Exploring Operation: 59+25=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 59*25=1475, Resulting Numbers: [1475] 1475,71 unequal: No Solution Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,71 unequal: No Solution Moving to Node #0,4,4 Current State: 71:[13, 97], Operations: ['54+5=59', '38+59=97'] Exploring Operation: 13*97=1261, Resulting Numbers: [1261] 1261,71 unequal: No Solution Exploring Operation: 13+97=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,71 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
[ 38, 80, 34, 14 ]
70
[ "38+80=118", "34+14=48", "118-48=70" ]
Current State: 70:[38, 80, 34, 14], Operations: [] Exploring Operation: 38+80=118, Resulting Numbers: [34, 14, 118] Generated Node #2: [34, 14, 118] from Operation: 38+80=118 Current State: 70:[34, 14, 118], Operations: ['38+80=118'] Exploring Operation: 34+14=48, Resulting Numbers: [118, 48] Generated Node #3: [118, 48] from Operation: 34+14=48 Current State: 70:[118, 48], Operations: ['38+80=118', '34+14=48'] Exploring Operation: 118-48=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[38, 80, 34, 14], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [80, 14, 4] Generated Node #0,0: 70:[80, 14, 4] Operation: 38-34=4 Exploring Operation: 80-38=42, Resulting Numbers: [34, 14, 42] Generated Node #0,1: 70:[34, 14, 42] Operation: 80-38=42 Exploring Operation: 80-14=66, Resulting Numbers: [38, 34, 66] Generated Node #0,2: 70:[38, 34, 66] Operation: 80-14=66 Moving to Node #0,1 Current State: 70:[34, 14, 42], Operations: ['80-38=42'] Exploring Operation: 42/14=3, Resulting Numbers: [34, 3] Generated Node #0,1,0: 70:[34, 3] Operation: 42/14=3 Exploring Operation: 42-34=8, Resulting Numbers: [14, 8] Generated Node #0,1,1: 70:[14, 8] Operation: 42-34=8 Exploring Operation: 34+42=76, Resulting Numbers: [14, 76] Generated Node #0,1,2: 70:[14, 76] Operation: 34+42=76 Moving to Node #0,2 Current State: 70:[38, 34, 66], Operations: ['80-14=66'] Exploring Operation: 66-34=32, Resulting Numbers: [38, 32] Generated Node #0,2,0: 70:[38, 32] Operation: 66-34=32 Exploring Operation: 38+34=72, Resulting Numbers: [66, 72] Generated Node #0,2,1: 70:[66, 72] Operation: 38+34=72 Exploring Operation: 38-34=4, Resulting Numbers: [66, 4] Generated Node #0,2,2: 70:[66, 4] Operation: 38-34=4 Moving to Node #0,0 Current State: 70:[80, 14, 4], Operations: ['38-34=4'] Exploring Operation: 80-14=66, Resulting Numbers: [4, 66] Generated Node #0,0,0: 70:[4, 66] Operation: 80-14=66 Exploring Operation: 80/4=20, Resulting Numbers: [14, 20] Generated Node #0,0,1: 70:[14, 20] Operation: 80/4=20 Exploring Operation: 80-4=76, Resulting Numbers: [14, 76] Generated Node #0,0,2: 70:[14, 76] Operation: 80-4=76 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[4, 66], Operations: ['38-34=4', '80-14=66'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[38, 80, 34, 14], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [80, 14, 4] Generated Node #0,0: 70:[80, 14, 4] Operation: 38-34=4 Moving to Node #0,0 Current State: 70:[80, 14, 4], Operations: ['38-34=4'] Exploring Operation: 80-14=66, Resulting Numbers: [4, 66] Generated Node #0,0,0: 70:[4, 66] Operation: 80-14=66 Moving to Node #0,0,0 Current State: 70:[4, 66], Operations: ['38-34=4', '80-14=66'] Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 81, 80, 15, 27 ]
12
[ "81-80=1", "27-15=12", "1*12=12" ]
Current State: 12:[81, 80, 15, 27], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [15, 27, 1] Generated Node #2: [15, 27, 1] from Operation: 81-80=1 Current State: 12:[15, 27, 1], Operations: ['81-80=1'] Exploring Operation: 27-15=12, Resulting Numbers: [1, 12] Generated Node #3: [1, 12] from Operation: 27-15=12 Current State: 12:[1, 12], Operations: ['81-80=1', '27-15=12'] Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[81, 80, 15, 27], Operations: [] Exploring Operation: 81-15=66, Resulting Numbers: [80, 27, 66] Generated Node #0,0: 12:[80, 27, 66] Operation: 81-15=66 Exploring Operation: 81/27=3, Resulting Numbers: [80, 15, 3] Generated Node #0,1: 12:[80, 15, 3] Operation: 81/27=3 Exploring Operation: 80-27=53, Resulting Numbers: [81, 15, 53] Generated Node #0,2: 12:[81, 15, 53] Operation: 80-27=53 Exploring Operation: 81-27=54, Resulting Numbers: [80, 15, 54] Generated Node #0,3: 12:[80, 15, 54] Operation: 81-27=54 Exploring Operation: 81-80=1, Resulting Numbers: [15, 27, 1] Generated Node #0,4: 12:[15, 27, 1] Operation: 81-80=1 Moving to Node #0,4 Current State: 12:[15, 27, 1], Operations: ['81-80=1'] Exploring Operation: 27-15=12, Resulting Numbers: [1, 12] Generated Node #0,4,0: 12:[1, 12] Operation: 27-15=12 Exploring Operation: 15-1=14, Resulting Numbers: [27, 14] Generated Node #0,4,1: 12:[27, 14] Operation: 15-1=14 Exploring Operation: 27-1=26, Resulting Numbers: [15, 26] Generated Node #0,4,2: 12:[15, 26] Operation: 27-1=26 Exploring Operation: 15*1=15, Resulting Numbers: [27, 15] Generated Node #0,4,3: 12:[27, 15] Operation: 15*1=15 Exploring Operation: 15/1=15, Resulting Numbers: [27, 15] Generated Node #0,4,4: 12:[27, 15] Operation: 15/1=15 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 12:[1, 12], Operations: ['81-80=1', '27-15=12'] Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[81, 80, 15, 27], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [15, 27, 1] Generated Node #0,4: 12:[15, 27, 1] Operation: 81-80=1 Moving to Node #0,4 Current State: 12:[15, 27, 1], Operations: ['81-80=1'] Exploring Operation: 27-15=12, Resulting Numbers: [1, 12] Generated Node #0,4,0: 12:[1, 12] Operation: 27-15=12 Moving to Node #0,4,0 Current State: 12:[1, 12], Operations: ['81-80=1', '27-15=12'] Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 20, 84, 32, 4 ]
36
[ "84-20=64", "32-4=28", "64-28=36" ]
Current State: 36:[20, 84, 32, 4], Operations: [] Exploring Operation: 84-20=64, Resulting Numbers: [32, 4, 64] Generated Node #2: [32, 4, 64] from Operation: 84-20=64 Current State: 36:[32, 4, 64], Operations: ['84-20=64'] Exploring Operation: 32-4=28, Resulting Numbers: [64, 28] Generated Node #3: [64, 28] from Operation: 32-4=28 Current State: 36:[64, 28], Operations: ['84-20=64', '32-4=28'] Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[20, 84, 32, 4], Operations: [] Exploring Operation: 84-4=80, Resulting Numbers: [20, 32, 80] Generated Node #0,0: 36:[20, 32, 80] Operation: 84-4=80 Exploring Operation: 84-20=64, Resulting Numbers: [32, 4, 64] Generated Node #0,1: 36:[32, 4, 64] Operation: 84-20=64 Exploring Operation: 84/4=21, Resulting Numbers: [20, 32, 21] Generated Node #0,2: 36:[20, 32, 21] Operation: 84/4=21 Exploring Operation: 32-20=12, Resulting Numbers: [84, 4, 12] Generated Node #0,3: 36:[84, 4, 12] Operation: 32-20=12 Exploring Operation: 84-32=52, Resulting Numbers: [20, 4, 52] Generated Node #0,4: 36:[20, 4, 52] Operation: 84-32=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[20, 32, 21], Operations: ['84/4=21'] Exploring Operation: 32-20=12, Resulting Numbers: [21, 12] Generated Node #0,2,0: 36:[21, 12] Operation: 32-20=12 Exploring Operation: 20+32=52, Resulting Numbers: [21, 52] Generated Node #0,2,1: 36:[21, 52] Operation: 20+32=52 Exploring Operation: 20+21=41, Resulting Numbers: [32, 41] Generated Node #0,2,2: 36:[32, 41] Operation: 20+21=41 Exploring Operation: 21-20=1, Resulting Numbers: [32, 1] Generated Node #0,2,3: 36:[32, 1] Operation: 21-20=1 Exploring Operation: 32-21=11, Resulting Numbers: [20, 11] Generated Node #0,2,4: 36:[20, 11] Operation: 32-21=11 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[21, 12], Operations: ['84/4=21', '32-20=12'] Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,36 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 36:[20, 11], Operations: ['84/4=21', '32-21=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 36:[32, 1], Operations: ['84/4=21', '21-20=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,36 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 36:[32, 41], Operations: ['84/4=21', '20+21=41'] Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 32*41=1312, Resulting Numbers: [1312] 1312,36 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 36:[21, 52], Operations: ['84/4=21', '20+32=52'] Exploring Operation: 21+52=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 21*52=1092, Resulting Numbers: [1092] 1092,36 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 36:[20, 4, 52], Operations: ['84-32=52'] Exploring Operation: 20-4=16, Resulting Numbers: [52, 16] Generated Node #0,4,0: 36:[52, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [52, 5] Generated Node #0,4,1: 36:[52, 5] Operation: 20/4=5 Exploring Operation: 52-20=32, Resulting Numbers: [4, 32] Generated Node #0,4,2: 36:[4, 32] Operation: 52-20=32 Exploring Operation: 52-4=48, Resulting Numbers: [20, 48] Generated Node #0,4,3: 36:[20, 48] Operation: 52-4=48 Exploring Operation: 52/4=13, Resulting Numbers: [20, 13] Generated Node #0,4,4: 36:[20, 13] Operation: 52/4=13 Moving to Node #0,4,4 Current State: 36:[20, 13], Operations: ['84-32=52', '52/4=13'] Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,36 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,36 unequal: No Solution Moving to Node #0,4,2 Current State: 36:[4, 32], Operations: ['84-32=52', '52-20=32'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,36 unequal: No Solution Exploring Operation: 4*32=128, Resulting Numbers: [128] 128,36 unequal: No Solution Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[20, 84, 32, 4], Operations: [] Exploring Operation: 84-32=52, Resulting Numbers: [20, 4, 52] Generated Node #0,4: 36:[20, 4, 52] Operation: 84-32=52 Moving to Node #0,4 Current State: 36:[20, 4, 52], Operations: ['84-32=52'] Exploring Operation: 52-20=32, Resulting Numbers: [4, 32] Generated Node #0,4,2: 36:[4, 32] Operation: 52-20=32 Moving to Node #0,4,2 Current State: 36:[4, 32], Operations: ['84-32=52', '52-20=32'] Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 88, 77, 45, 25 ]
59
[ "88-77=11", "45+25=70", "70-11=59" ]
Current State: 59:[88, 77, 45, 25], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [45, 25, 11] Generated Node #2: [45, 25, 11] from Operation: 88-77=11 Current State: 59:[45, 25, 11], Operations: ['88-77=11'] Exploring Operation: 45+25=70, Resulting Numbers: [11, 70] Generated Node #3: [11, 70] from Operation: 45+25=70 Current State: 59:[11, 70], Operations: ['88-77=11', '45+25=70'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[88, 77, 45, 25], Operations: [] Exploring Operation: 45+25=70, Resulting Numbers: [88, 77, 70] Generated Node #0,0: 59:[88, 77, 70] Operation: 45+25=70 Exploring Operation: 88-25=63, Resulting Numbers: [77, 45, 63] Generated Node #0,1: 59:[77, 45, 63] Operation: 88-25=63 Exploring Operation: 77-25=52, Resulting Numbers: [88, 45, 52] Generated Node #0,2: 59:[88, 45, 52] Operation: 77-25=52 Moving to Node #0,1 Current State: 59:[77, 45, 63], Operations: ['88-25=63'] Exploring Operation: 77-63=14, Resulting Numbers: [45, 14] Generated Node #0,1,0: 59:[45, 14] Operation: 77-63=14 Exploring Operation: 63-45=18, Resulting Numbers: [77, 18] Generated Node #0,1,1: 59:[77, 18] Operation: 63-45=18 Exploring Operation: 77-45=32, Resulting Numbers: [63, 32] Generated Node #0,1,2: 59:[63, 32] Operation: 77-45=32 Moving to Node #0,2 Current State: 59:[88, 45, 52], Operations: ['77-25=52'] Exploring Operation: 88-52=36, Resulting Numbers: [45, 36] Generated Node #0,2,0: 59:[45, 36] Operation: 88-52=36 Exploring Operation: 88-45=43, Resulting Numbers: [52, 43] Generated Node #0,2,1: 59:[52, 43] Operation: 88-45=43 Exploring Operation: 45+52=97, Resulting Numbers: [88, 97] Generated Node #0,2,2: 59:[88, 97] Operation: 45+52=97 Moving to Node #0,0 Current State: 59:[88, 77, 70], Operations: ['45+25=70'] Exploring Operation: 88-70=18, Resulting Numbers: [77, 18] Generated Node #0,0,0: 59:[77, 18] Operation: 88-70=18 Exploring Operation: 77-70=7, Resulting Numbers: [88, 7] Generated Node #0,0,1: 59:[88, 7] Operation: 77-70=7 Exploring Operation: 88-77=11, Resulting Numbers: [70, 11] Generated Node #0,0,2: 59:[70, 11] Operation: 88-77=11 Moving to Node #0,2,1 Current State: 59:[52, 43], Operations: ['77-25=52', '88-45=43'] Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 52+43=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 52*43=2236, Resulting Numbers: [2236] 2236,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[63, 32], Operations: ['88-25=63', '77-45=32'] Exploring Operation: 63*32=2016, Resulting Numbers: [2016] 2016,59 unequal: No Solution Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[45, 36], Operations: ['77-25=52', '88-52=36'] Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,59 unequal: No Solution Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,59 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[77, 18], Operations: ['88-25=63', '63-45=18'] Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[88, 77, 45, 25], Operations: [] Exploring Operation: 88-25=63, Resulting Numbers: [77, 45, 63] Generated Node #0,1: 59:[77, 45, 63] Operation: 88-25=63 Moving to Node #0,1 Current State: 59:[77, 45, 63], Operations: ['88-25=63'] Exploring Operation: 63-45=18, Resulting Numbers: [77, 18] Generated Node #0,1,1: 59:[77, 18] Operation: 63-45=18 Moving to Node #0,1,1 Current State: 59:[77, 18], Operations: ['88-25=63', '63-45=18'] Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 83, 21, 73, 35 ]
24
[ "83-21=62", "73-35=38", "62-38=24" ]
Current State: 24:[83, 21, 73, 35], Operations: [] Exploring Operation: 83-21=62, Resulting Numbers: [73, 35, 62] Generated Node #2: [73, 35, 62] from Operation: 83-21=62 Current State: 24:[73, 35, 62], Operations: ['83-21=62'] Exploring Operation: 73-35=38, Resulting Numbers: [62, 38] Generated Node #3: [62, 38] from Operation: 73-35=38 Current State: 24:[62, 38], Operations: ['83-21=62', '73-35=38'] Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[83, 21, 73, 35], Operations: [] Exploring Operation: 83-73=10, Resulting Numbers: [21, 35, 10] Generated Node #0,0: 24:[21, 35, 10] Operation: 83-73=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[21, 35, 10], Operations: ['83-73=10'] Exploring Operation: 35-21=14, Resulting Numbers: [10, 14] Generated Node #0,0,0: 24:[10, 14] Operation: 35-21=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[10, 14], Operations: ['83-73=10', '35-21=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[83, 21, 73, 35], Operations: [] Exploring Operation: 83-73=10, Resulting Numbers: [21, 35, 10] Generated Node #0,0: 24:[21, 35, 10] Operation: 83-73=10 Moving to Node #0,0 Current State: 24:[21, 35, 10], Operations: ['83-73=10'] Exploring Operation: 35-21=14, Resulting Numbers: [10, 14] Generated Node #0,0,0: 24:[10, 14] Operation: 35-21=14 Moving to Node #0,0,0 Current State: 24:[10, 14], Operations: ['83-73=10', '35-21=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 17, 3, 72, 1 ]
40
[ "17-1=16", "72/3=24", "16+24=40" ]
Current State: 40:[17, 3, 72, 1], Operations: [] Exploring Operation: 17-1=16, Resulting Numbers: [3, 72, 16] Generated Node #2: [3, 72, 16] from Operation: 17-1=16 Current State: 40:[3, 72, 16], Operations: ['17-1=16'] Exploring Operation: 72/3=24, Resulting Numbers: [16, 24] Generated Node #3: [16, 24] from Operation: 72/3=24 Current State: 40:[16, 24], Operations: ['17-1=16', '72/3=24'] Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[17, 3, 72, 1], Operations: [] Exploring Operation: 72-17=55, Resulting Numbers: [3, 1, 55] Generated Node #0,0: 40:[3, 1, 55] Operation: 72-17=55 Exploring Operation: 17+3=20, Resulting Numbers: [72, 1, 20] Generated Node #0,1: 40:[72, 1, 20] Operation: 17+3=20 Exploring Operation: 72/3=24, Resulting Numbers: [17, 1, 24] Generated Node #0,2: 40:[17, 1, 24] Operation: 72/3=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[17, 1, 24], Operations: ['72/3=24'] Exploring Operation: 17+24=41, Resulting Numbers: [1, 41] Generated Node #0,2,0: 40:[1, 41] Operation: 17+24=41 Exploring Operation: 24-17=7, Resulting Numbers: [1, 7] Generated Node #0,2,1: 40:[1, 7] Operation: 24-17=7 Exploring Operation: 17+1=18, Resulting Numbers: [24, 18] Generated Node #0,2,2: 40:[24, 18] Operation: 17+1=18 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[1, 41], Operations: ['72/3=24', '17+24=41'] Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[17, 3, 72, 1], Operations: [] Exploring Operation: 72/3=24, Resulting Numbers: [17, 1, 24] Generated Node #0,2: 40:[17, 1, 24] Operation: 72/3=24 Moving to Node #0,2 Current State: 40:[17, 1, 24], Operations: ['72/3=24'] Exploring Operation: 17+24=41, Resulting Numbers: [1, 41] Generated Node #0,2,0: 40:[1, 41] Operation: 17+24=41 Moving to Node #0,2,0 Current State: 40:[1, 41], Operations: ['72/3=24', '17+24=41'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 61, 62, 79, 86 ]
42
[ "61+62=123", "79+86=165", "165-123=42" ]
Current State: 42:[61, 62, 79, 86], Operations: [] Exploring Operation: 61+62=123, Resulting Numbers: [79, 86, 123] Generated Node #2: [79, 86, 123] from Operation: 61+62=123 Current State: 42:[79, 86, 123], Operations: ['61+62=123'] Exploring Operation: 79+86=165, Resulting Numbers: [123, 165] Generated Node #3: [123, 165] from Operation: 79+86=165 Current State: 42:[123, 165], Operations: ['61+62=123', '79+86=165'] Exploring Operation: 165-123=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[61, 62, 79, 86], Operations: [] Exploring Operation: 86-62=24, Resulting Numbers: [61, 79, 24] Generated Node #0,0: 42:[61, 79, 24] Operation: 86-62=24 Exploring Operation: 86-79=7, Resulting Numbers: [61, 62, 7] Generated Node #0,1: 42:[61, 62, 7] Operation: 86-79=7 Exploring Operation: 86-61=25, Resulting Numbers: [62, 79, 25] Generated Node #0,2: 42:[62, 79, 25] Operation: 86-61=25 Moving to Node #0,1 Current State: 42:[61, 62, 7], Operations: ['86-79=7'] Exploring Operation: 61-7=54, Resulting Numbers: [62, 54] Generated Node #0,1,0: 42:[62, 54] Operation: 61-7=54 Exploring Operation: 62-61=1, Resulting Numbers: [7, 1] Generated Node #0,1,1: 42:[7, 1] Operation: 62-61=1 Exploring Operation: 62-7=55, Resulting Numbers: [61, 55] Generated Node #0,1,2: 42:[61, 55] Operation: 62-7=55 Moving to Node #0,0 Current State: 42:[61, 79, 24], Operations: ['86-62=24'] Exploring Operation: 79-24=55, Resulting Numbers: [61, 55] Generated Node #0,0,0: 42:[61, 55] Operation: 79-24=55 Exploring Operation: 79-61=18, Resulting Numbers: [24, 18] Generated Node #0,0,1: 42:[24, 18] Operation: 79-61=18 Exploring Operation: 61-24=37, Resulting Numbers: [79, 37] Generated Node #0,0,2: 42:[79, 37] Operation: 61-24=37 Moving to Node #0,2 Current State: 42:[62, 79, 25], Operations: ['86-61=25'] Exploring Operation: 79-62=17, Resulting Numbers: [25, 17] Generated Node #0,2,0: 42:[25, 17] Operation: 79-62=17 Exploring Operation: 79-25=54, Resulting Numbers: [62, 54] Generated Node #0,2,1: 42:[62, 54] Operation: 79-25=54 Exploring Operation: 62-25=37, Resulting Numbers: [79, 37] Generated Node #0,2,2: 42:[79, 37] Operation: 62-25=37 Moving to Node #0,1,1 Current State: 42:[7, 1], Operations: ['86-79=7', '62-61=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[24, 18], Operations: ['86-62=24', '79-61=18'] Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,42 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[61, 62, 79, 86], Operations: [] Exploring Operation: 86-62=24, Resulting Numbers: [61, 79, 24] Generated Node #0,0: 42:[61, 79, 24] Operation: 86-62=24 Moving to Node #0,0 Current State: 42:[61, 79, 24], Operations: ['86-62=24'] Exploring Operation: 79-61=18, Resulting Numbers: [24, 18] Generated Node #0,0,1: 42:[24, 18] Operation: 79-61=18 Moving to Node #0,0,1 Current State: 42:[24, 18], Operations: ['86-62=24', '79-61=18'] Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.980903
hs_3
sum_heuristic
[ 21, 63, 22, 2 ]
16
[ "63/21=3", "2*3=6", "22-6=16" ]
Current State: 16:[21, 63, 22, 2], Operations: [] Exploring Operation: 63/21=3, Resulting Numbers: [22, 2, 3] Generated Node #2: [22, 2, 3] from Operation: 63/21=3 Current State: 16:[22, 2, 3], Operations: ['63/21=3'] Exploring Operation: 2*3=6, Resulting Numbers: [22, 6] Generated Node #3: [22, 6] from Operation: 2*3=6 Current State: 16:[22, 6], Operations: ['63/21=3', '2*3=6'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[21, 63, 22, 2], Operations: [] Exploring Operation: 63-21=42, Resulting Numbers: [22, 2, 42] Generated Node #0,0: 16:[22, 2, 42] Operation: 63-21=42 Exploring Operation: 63/21=3, Resulting Numbers: [22, 2, 3] Generated Node #0,1: 16:[22, 2, 3] Operation: 63/21=3 Exploring Operation: 22-21=1, Resulting Numbers: [63, 2, 1] Generated Node #0,2: 16:[63, 2, 1] Operation: 22-21=1 Exploring Operation: 63-22=41, Resulting Numbers: [21, 2, 41] Generated Node #0,3: 16:[21, 2, 41] Operation: 63-22=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[22, 2, 3], Operations: ['63/21=3'] Exploring Operation: 22-2=20, Resulting Numbers: [3, 20] Generated Node #0,1,0: 16:[3, 20] Operation: 22-2=20 Exploring Operation: 22/2=11, Resulting Numbers: [3, 11] Generated Node #0,1,1: 16:[3, 11] Operation: 22/2=11 Exploring Operation: 22-3=19, Resulting Numbers: [2, 19] Generated Node #0,1,2: 16:[2, 19] Operation: 22-3=19 Exploring Operation: 2+3=5, Resulting Numbers: [22, 5] Generated Node #0,1,3: 16:[22, 5] Operation: 2+3=5 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 16:[2, 19], Operations: ['63/21=3', '22-3=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[3, 11], Operations: ['63/21=3', '22/2=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,16 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[3, 20], Operations: ['63/21=3', '22-2=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 16:[22, 5], Operations: ['63/21=3', '2+3=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[21, 2, 41], Operations: ['63-22=41'] Exploring Operation: 21-2=19, Resulting Numbers: [41, 19] Generated Node #0,3,0: 16:[41, 19] Operation: 21-2=19 Exploring Operation: 21+2=23, Resulting Numbers: [41, 23] Generated Node #0,3,1: 16:[41, 23] Operation: 21+2=23 Exploring Operation: 41-21=20, Resulting Numbers: [2, 20] Generated Node #0,3,2: 16:[2, 20] Operation: 41-21=20 Exploring Operation: 41-2=39, Resulting Numbers: [21, 39] Generated Node #0,3,3: 16:[21, 39] Operation: 41-2=39 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 16:[2, 20], Operations: ['63-22=41', '41-21=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,16 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 16:[41, 19], Operations: ['63-22=41', '21-2=19'] Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 41*19=779, Resulting Numbers: [779] 779,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 16:[21, 39], Operations: ['63-22=41', '41-2=39'] Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,16 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 16:[41, 23], Operations: ['63-22=41', '21+2=23'] Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,16 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[22, 2, 42], Operations: ['63-21=42'] Exploring Operation: 42-22=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 16:[2, 20] Operation: 42-22=20 Exploring Operation: 42/2=21, Resulting Numbers: [22, 21] Generated Node #0,0,1: 16:[22, 21] Operation: 42/2=21 Exploring Operation: 22-2=20, Resulting Numbers: [42, 20] Generated Node #0,0,2: 16:[42, 20] Operation: 22-2=20 Exploring Operation: 22/2=11, Resulting Numbers: [42, 11] Generated Node #0,0,3: 16:[42, 11] Operation: 22/2=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[2, 20], Operations: ['63-21=42', '42-22=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[22, 21], Operations: ['63-21=42', '42/2=21'] Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 16:[42, 11], Operations: ['63-21=42', '22/2=11'] Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,16 unequal: No Solution Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,16 unequal: No Solution Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 16:[42, 20], Operations: ['63-21=42', '22-2=20'] Exploring Operation: 42*20=840, Resulting Numbers: [840] 840,16 unequal: No Solution Exploring Operation: 42+20=62, Resulting Numbers: [62] 62,16 unequal: No Solution Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[63, 2, 1], Operations: ['22-21=1'] Exploring Operation: 63-1=62, Resulting Numbers: [2, 62] Generated Node #0,2,0: 16:[2, 62] Operation: 63-1=62 Exploring Operation: 63*1=63, Resulting Numbers: [2, 63] Generated Node #0,2,1: 16:[2, 63] Operation: 63*1=63 Exploring Operation: 63/1=63, Resulting Numbers: [2, 63] Generated Node #0,2,2: 16:[2, 63] Operation: 63/1=63 Exploring Operation: 63-2=61, Resulting Numbers: [1, 61] Generated Node #0,2,3: 16:[1, 61] Operation: 63-2=61 Moving to Node #0,2,0 Current State: 16:[2, 62], Operations: ['22-21=1', '63-1=62'] Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,16 unequal: No Solution Exploring Operation: 2*62=124, Resulting Numbers: [124] 124,16 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,16 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[1, 61], Operations: ['22-21=1', '63-2=61'] Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 1+61=62, Resulting Numbers: [62] 62,16 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 1*61=61, Resulting Numbers: [61] 61,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[2, 63], Operations: ['22-21=1', '63/1=63'] Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,16 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[2, 63], Operations: ['22-21=1', '63*1=63'] Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,16 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 47, 55, 47, 3 ]
42
[ "55-47=8", "47+3=50", "50-8=42" ]
Current State: 42:[47, 55, 47, 3], Operations: [] Exploring Operation: 55-47=8, Resulting Numbers: [3, 8] Generated Node #2: [3, 8] from Operation: 55-47=8 Current State: 42:[3, 8], Operations: ['55-47=8'] Exploring Operation: 47+3=50, Resulting Numbers: [8, 50] Generated Node #3: [8, 50] from Operation: 47+3=50 Current State: 42:[8, 50], Operations: ['55-47=8', '47+3=50'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[47, 55, 47, 3], Operations: [] Exploring Operation: 55-47=8, Resulting Numbers: [47, 3, 8] Generated Node #0,0: 42:[47, 3, 8] Operation: 55-47=8 Exploring Operation: 55-47=8, Resulting Numbers: [47, 3, 8] Generated Node #0,1: 42:[47, 3, 8] Operation: 55-47=8 Moving to Node #0,0 Current State: 42:[47, 3, 8], Operations: ['55-47=8'] Exploring Operation: 47-8=39, Resulting Numbers: [3, 39] Generated Node #0,0,0: 42:[3, 39] Operation: 47-8=39 Exploring Operation: 47-3=44, Resulting Numbers: [8, 44] Generated Node #0,0,1: 42:[8, 44] Operation: 47-3=44 Moving to Node #0,1 Current State: 42:[47, 3, 8], Operations: ['55-47=8'] Exploring Operation: 47-8=39, Resulting Numbers: [3, 39] Generated Node #0,1,0: 42:[3, 39] Operation: 47-8=39 Exploring Operation: 47-3=44, Resulting Numbers: [8, 44] Generated Node #0,1,1: 42:[8, 44] Operation: 47-3=44 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[3, 39], Operations: ['55-47=8', '47-8=39'] Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[47, 55, 47, 3], Operations: [] Exploring Operation: 55-47=8, Resulting Numbers: [47, 3, 8] Generated Node #0,1: 42:[47, 3, 8] Operation: 55-47=8 Moving to Node #0,1 Current State: 42:[47, 3, 8], Operations: ['55-47=8'] Exploring Operation: 47-8=39, Resulting Numbers: [3, 39] Generated Node #0,1,0: 42:[3, 39] Operation: 47-8=39 Moving to Node #0,1,0 Current State: 42:[3, 39], Operations: ['55-47=8', '47-8=39'] Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 19, 29, 20, 78 ]
93
[ "29-20=9", "19*9=171", "171-78=93" ]
Current State: 93:[19, 29, 20, 78], Operations: [] Exploring Operation: 29-20=9, Resulting Numbers: [19, 78, 9] Generated Node #2: [19, 78, 9] from Operation: 29-20=9 Current State: 93:[19, 78, 9], Operations: ['29-20=9'] Exploring Operation: 19*9=171, Resulting Numbers: [78, 171] Generated Node #3: [78, 171] from Operation: 19*9=171 Current State: 93:[78, 171], Operations: ['29-20=9', '19*9=171'] Exploring Operation: 171-78=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[19, 29, 20, 78], Operations: [] Exploring Operation: 19+20=39, Resulting Numbers: [29, 78, 39] Generated Node #0,0: 93:[29, 78, 39] Operation: 19+20=39 Exploring Operation: 20+78=98, Resulting Numbers: [19, 29, 98] Generated Node #0,1: 93:[19, 29, 98] Operation: 20+78=98 Exploring Operation: 19+78=97, Resulting Numbers: [29, 20, 97] Generated Node #0,2: 93:[29, 20, 97] Operation: 19+78=97 Exploring Operation: 20-19=1, Resulting Numbers: [29, 78, 1] Generated Node #0,3: 93:[29, 78, 1] Operation: 20-19=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[29, 20, 97], Operations: ['19+78=97'] Exploring Operation: 20+97=117, Resulting Numbers: [29, 117] Generated Node #0,2,0: 93:[29, 117] Operation: 20+97=117 Exploring Operation: 97-20=77, Resulting Numbers: [29, 77] Generated Node #0,2,1: 93:[29, 77] Operation: 97-20=77 Exploring Operation: 29-20=9, Resulting Numbers: [97, 9] Generated Node #0,2,2: 93:[97, 9] Operation: 29-20=9 Exploring Operation: 29+20=49, Resulting Numbers: [97, 49] Generated Node #0,2,3: 93:[97, 49] Operation: 29+20=49 Moving to Node #0,2,2 Current State: 93:[97, 9], Operations: ['19+78=97', '29-20=9'] Exploring Operation: 97*9=873, Resulting Numbers: [873] 873,93 unequal: No Solution Exploring Operation: 97+9=106, Resulting Numbers: [106] 106,93 unequal: No Solution Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[29, 77], Operations: ['19+78=97', '97-20=77'] Exploring Operation: 29+77=106, Resulting Numbers: [106] 106,93 unequal: No Solution Exploring Operation: 77-29=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 29*77=2233, Resulting Numbers: [2233] 2233,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[97, 49], Operations: ['19+78=97', '29+20=49'] Exploring Operation: 97-49=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 97*49=4753, Resulting Numbers: [4753] 4753,93 unequal: No Solution Exploring Operation: 97+49=146, Resulting Numbers: [146] 146,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[29, 117], Operations: ['19+78=97', '20+97=117'] Exploring Operation: 29+117=146, Resulting Numbers: [146] 146,93 unequal: No Solution Exploring Operation: 117-29=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 29*117=3393, Resulting Numbers: [3393] 3393,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:[19, 29, 98], Operations: ['20+78=98'] Exploring Operation: 19+98=117, Resulting Numbers: [29, 117] Generated Node #0,1,0: 93:[29, 117] Operation: 19+98=117 Exploring Operation: 19+29=48, Resulting Numbers: [98, 48] Generated Node #0,1,1: 93:[98, 48] Operation: 19+29=48 Exploring Operation: 29-19=10, Resulting Numbers: [98, 10] Generated Node #0,1,2: 93:[98, 10] Operation: 29-19=10 Exploring Operation: 98-19=79, Resulting Numbers: [29, 79] Generated Node #0,1,3: 93:[29, 79] Operation: 98-19=79 Moving to Node #0,1,2 Current State: 93:[98, 10], Operations: ['20+78=98', '29-19=10'] Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,93 unequal: No Solution Exploring Operation: 98*10=980, Resulting Numbers: [980] 980,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[29, 79], Operations: ['20+78=98', '98-19=79'] Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 29+79=108, Resulting Numbers: [108] 108,93 unequal: No Solution Exploring Operation: 29*79=2291, Resulting Numbers: [2291] 2291,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[98, 48], Operations: ['20+78=98', '19+29=48'] Exploring Operation: 98+48=146, Resulting Numbers: [146] 146,93 unequal: No Solution Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 98*48=4704, Resulting Numbers: [4704] 4704,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[29, 117], Operations: ['20+78=98', '19+98=117'] Exploring Operation: 29+117=146, Resulting Numbers: [146] 146,93 unequal: No Solution Exploring Operation: 29*117=3393, Resulting Numbers: [3393] 3393,93 unequal: No Solution Exploring Operation: 117-29=88, Resulting Numbers: [88] 88,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[29, 78, 1], Operations: ['20-19=1'] Exploring Operation: 78+1=79, Resulting Numbers: [29, 79] Generated Node #0,3,0: 93:[29, 79] Operation: 78+1=79 Exploring Operation: 29*1=29, Resulting Numbers: [78, 29] Generated Node #0,3,1: 93:[78, 29] Operation: 29*1=29 Exploring Operation: 29+1=30, Resulting Numbers: [78, 30] Generated Node #0,3,2: 93:[78, 30] Operation: 29+1=30 Exploring Operation: 29+78=107, Resulting Numbers: [1, 107] Generated Node #0,3,3: 93:[1, 107] Operation: 29+78=107 Moving to Node #0,3,0 Current State: 93:[29, 79], Operations: ['20-19=1', '78+1=79'] Exploring Operation: 29*79=2291, Resulting Numbers: [2291] 2291,93 unequal: No Solution Exploring Operation: 29+79=108, Resulting Numbers: [108] 108,93 unequal: No Solution Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[1, 107], Operations: ['20-19=1', '29+78=107'] Exploring Operation: 1*107=107, Resulting Numbers: [107] 107,93 unequal: No Solution Exploring Operation: 107-1=106, Resulting Numbers: [106] 106,93 unequal: No Solution Exploring Operation: 1+107=108, Resulting Numbers: [108] 108,93 unequal: No Solution Exploring Operation: 107/1=107, Resulting Numbers: [107] 107,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[78, 30], Operations: ['20-19=1', '29+1=30'] Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 78+30=108, Resulting Numbers: [108] 108,93 unequal: No Solution Exploring Operation: 78*30=2340, Resulting Numbers: [2340] 2340,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[78, 29], Operations: ['20-19=1', '29*1=29'] Exploring Operation: 78*29=2262, Resulting Numbers: [2262] 2262,93 unequal: No Solution Exploring Operation: 78-29=49, Resulting Numbers: [49] 49,93 unequal: No Solution Exploring Operation: 78+29=107, Resulting Numbers: [107] 107,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,0 Current State: 93:[29, 78, 39], Operations: ['19+20=39'] Exploring Operation: 29+78=107, Resulting Numbers: [39, 107] Generated Node #0,0,0: 93:[39, 107] Operation: 29+78=107 Exploring Operation: 78-39=39, Resulting Numbers: [29, 39] Generated Node #0,0,1: 93:[29, 39] Operation: 78-39=39 Exploring Operation: 39-29=10, Resulting Numbers: [78, 10] Generated Node #0,0,2: 93:[78, 10] Operation: 39-29=10 Exploring Operation: 78/39=2, Resulting Numbers: [29, 2] Generated Node #0,0,3: 93:[29, 2] Operation: 78/39=2 Moving to Node #0,0,3 Current State: 93:[29, 2], Operations: ['19+20=39', '78/39=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[29, 39], Operations: ['19+20=39', '78-39=39'] Exploring Operation: 29*39=1131, Resulting Numbers: [1131] 1131,93 unequal: No Solution Exploring Operation: 29+39=68, Resulting Numbers: [68] 68,93 unequal: No Solution Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[78, 10], Operations: ['19+20=39', '39-29=10'] Exploring Operation: 78*10=780, Resulting Numbers: [780] 780,93 unequal: No Solution Exploring Operation: 78+10=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[39, 107], Operations: ['19+20=39', '29+78=107'] Exploring Operation: 39*107=4173, Resulting Numbers: [4173] 4173,93 unequal: No Solution Exploring Operation: 107-39=68, Resulting Numbers: [68] 68,93 unequal: No Solution Exploring Operation: 39+107=146, Resulting Numbers: [146] 146,93 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
[ 3, 65, 3, 29 ]
30
[ "65-3=62", "3+29=32", "62-32=30" ]
Current State: 30:[3, 65, 3, 29], Operations: [] Exploring Operation: 65-3=62, Resulting Numbers: [29, 62] Generated Node #2: [29, 62] from Operation: 65-3=62 Current State: 30:[29, 62], Operations: ['65-3=62'] Exploring Operation: 3+29=32, Resulting Numbers: [62, 32] Generated Node #3: [62, 32] from Operation: 3+29=32 Current State: 30:[62, 32], Operations: ['65-3=62', '3+29=32'] Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[3, 65, 3, 29], Operations: [] Exploring Operation: 65-3=62, Resulting Numbers: [3, 29, 62] Generated Node #0,0: 30:[3, 29, 62] Operation: 65-3=62 Exploring Operation: 3+3=6, Resulting Numbers: [65, 29, 6] Generated Node #0,1: 30:[65, 29, 6] Operation: 3+3=6 Exploring Operation: 65-3=62, Resulting Numbers: [3, 29, 62] Generated Node #0,2: 30:[3, 29, 62] Operation: 65-3=62 Exploring Operation: 3*3=9, Resulting Numbers: [65, 29, 9] Generated Node #0,3: 30:[65, 29, 9] Operation: 3*3=9 Exploring Operation: 65-29=36, Resulting Numbers: [3, 3, 36] Generated Node #0,4: 30:[3, 3, 36] Operation: 65-29=36 Moving to Node #0,4 Current State: 30:[3, 3, 36], Operations: ['65-29=36'] Exploring Operation: 36-3=33, Resulting Numbers: [3, 33] Generated Node #0,4,0: 30:[3, 33] Operation: 36-3=33 Exploring Operation: 36/3=12, Resulting Numbers: [3, 12] Generated Node #0,4,1: 30:[3, 12] Operation: 36/3=12 Exploring Operation: 36-3=33, Resulting Numbers: [3, 33] Generated Node #0,4,2: 30:[3, 33] Operation: 36-3=33 Exploring Operation: 36/3=12, Resulting Numbers: [3, 12] Generated Node #0,4,3: 30:[3, 12] Operation: 36/3=12 Exploring Operation: 3+3=6, Resulting Numbers: [36, 6] Generated Node #0,4,4: 30:[36, 6] Operation: 3+3=6 Moving to Node #0,2 Current State: 30:[3, 29, 62], Operations: ['65-3=62'] Exploring Operation: 62-3=59, Resulting Numbers: [29, 59] Generated Node #0,2,0: 30:[29, 59] Operation: 62-3=59 Exploring Operation: 3+29=32, Resulting Numbers: [62, 32] Generated Node #0,2,1: 30:[62, 32] Operation: 3+29=32 Exploring Operation: 62-29=33, Resulting Numbers: [3, 33] Generated Node #0,2,2: 30:[3, 33] Operation: 62-29=33 Exploring Operation: 3+62=65, Resulting Numbers: [29, 65] Generated Node #0,2,3: 30:[29, 65] Operation: 3+62=65 Exploring Operation: 29-3=26, Resulting Numbers: [62, 26] Generated Node #0,2,4: 30:[62, 26] Operation: 29-3=26 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[3, 33], Operations: ['65-3=62', '62-29=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,30 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,30 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[3, 65, 3, 29], Operations: [] Exploring Operation: 65-3=62, Resulting Numbers: [3, 29, 62] Generated Node #0,2: 30:[3, 29, 62] Operation: 65-3=62 Moving to Node #0,2 Current State: 30:[3, 29, 62], Operations: ['65-3=62'] Exploring Operation: 62-29=33, Resulting Numbers: [3, 33] Generated Node #0,2,2: 30:[3, 33] Operation: 62-29=33 Moving to Node #0,2,2 Current State: 30:[3, 33], Operations: ['65-3=62', '62-29=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic