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
[ 29, 18, 74, 78 ]
43
[ "29+18=47", "78-74=4", "47-4=43" ]
Current State: 43:[29, 18, 74, 78], Operations: [] Exploring Operation: 29+18=47, Resulting Numbers: [74, 78, 47] Generated Node #2: [74, 78, 47] from Operation: 29+18=47 Current State: 43:[74, 78, 47], Operations: ['29+18=47'] Exploring Operation: 78-74=4, Resulting Numbers: [47, 4] Generated Node #3: [47, 4] from Operation: 78-74=4 Current State: 43:[47, 4], Operations: ['29+18=47', '78-74=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[29, 18, 74, 78], Operations: [] Exploring Operation: 74-29=45, Resulting Numbers: [18, 78, 45] Generated Node #0,0: 43:[18, 78, 45] Operation: 74-29=45 Exploring Operation: 74-18=56, Resulting Numbers: [29, 78, 56] Generated Node #0,1: 43:[29, 78, 56] Operation: 74-18=56 Exploring Operation: 78-29=49, Resulting Numbers: [18, 74, 49] Generated Node #0,2: 43:[18, 74, 49] Operation: 78-29=49 Moving to Node #0,0 Current State: 43:[18, 78, 45], Operations: ['74-29=45'] Exploring Operation: 78-45=33, Resulting Numbers: [18, 33] Generated Node #0,0,0: 43:[18, 33] Operation: 78-45=33 Exploring Operation: 78-18=60, Resulting Numbers: [45, 60] Generated Node #0,0,1: 43:[45, 60] Operation: 78-18=60 Exploring Operation: 45-18=27, Resulting Numbers: [78, 27] Generated Node #0,0,2: 43:[78, 27] Operation: 45-18=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[45, 60], Operations: ['74-29=45', '78-18=60'] Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,43 unequal: No Solution Exploring Operation: 45*60=2700, Resulting Numbers: [2700] 2700,43 unequal: No Solution Exploring Operation: 45+60=105, Resulting Numbers: [105] 105,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[18, 33], Operations: ['74-29=45', '78-45=33'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,43 unequal: No Solution Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,43 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[78, 27], Operations: ['74-29=45', '45-18=27'] Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,43 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,43 unequal: No Solution Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 43:[29, 78, 56], Operations: ['74-18=56'] Exploring Operation: 56-29=27, Resulting Numbers: [78, 27] Generated Node #0,1,0: 43:[78, 27] Operation: 56-29=27 Exploring Operation: 78-29=49, Resulting Numbers: [56, 49] Generated Node #0,1,1: 43:[56, 49] Operation: 78-29=49 Exploring Operation: 78-56=22, Resulting Numbers: [29, 22] Generated Node #0,1,2: 43:[29, 22] Operation: 78-56=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[56, 49], Operations: ['74-18=56', '78-29=49'] Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,43 unequal: No Solution Exploring Operation: 56+49=105, Resulting Numbers: [105] 105,43 unequal: No Solution Exploring Operation: 56*49=2744, Resulting Numbers: [2744] 2744,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 43:[29, 22], Operations: ['74-18=56', '78-56=22'] Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,43 unequal: No Solution Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,43 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[78, 27], Operations: ['74-18=56', '56-29=27'] Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,43 unequal: No Solution Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,43 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,43 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: 43:[18, 74, 49], Operations: ['78-29=49'] Exploring Operation: 49-18=31, Resulting Numbers: [74, 31] Generated Node #0,2,0: 43:[74, 31] Operation: 49-18=31 Exploring Operation: 74-49=25, Resulting Numbers: [18, 25] Generated Node #0,2,1: 43:[18, 25] Operation: 74-49=25 Exploring Operation: 74-18=56, Resulting Numbers: [49, 56] Generated Node #0,2,2: 43:[49, 56] Operation: 74-18=56 Moving to Node #0,2,2 Current State: 43:[49, 56], Operations: ['78-29=49', '74-18=56'] Exploring Operation: 49+56=105, Resulting Numbers: [105] 105,43 unequal: No Solution Exploring Operation: 49*56=2744, Resulting Numbers: [2744] 2744,43 unequal: No Solution Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[74, 31], Operations: ['78-29=49', '49-18=31'] Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[29, 18, 74, 78], Operations: [] Exploring Operation: 78-29=49, Resulting Numbers: [18, 74, 49] Generated Node #0,2: 43:[18, 74, 49] Operation: 78-29=49 Moving to Node #0,2 Current State: 43:[18, 74, 49], Operations: ['78-29=49'] Exploring Operation: 49-18=31, Resulting Numbers: [74, 31] Generated Node #0,2,0: 43:[74, 31] Operation: 49-18=31 Moving to Node #0,2,0 Current State: 43:[74, 31], Operations: ['78-29=49', '49-18=31'] Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.967014
hs_3
mult_heuristic
[ 95, 95, 83, 7 ]
89
[ "95/95=1", "83+7=90", "90-1=89" ]
Current State: 89:[95, 95, 83, 7], Operations: [] Exploring Operation: 95/95=1, Resulting Numbers: [83, 7, 1] Generated Node #2: [83, 7, 1] from Operation: 95/95=1 Current State: 89:[83, 7, 1], Operations: ['95/95=1'] Exploring Operation: 83+7=90, Resulting Numbers: [1, 90] Generated Node #3: [1, 90] from Operation: 83+7=90 Current State: 89:[1, 90], Operations: ['95/95=1', '83+7=90'] Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[95, 95, 83, 7], Operations: [] Exploring Operation: 95+7=102, Resulting Numbers: [95, 83, 102] Generated Node #0,0: 89:[95, 83, 102] Operation: 95+7=102 Exploring Operation: 95-7=88, Resulting Numbers: [95, 83, 88] Generated Node #0,1: 89:[95, 83, 88] Operation: 95-7=88 Exploring Operation: 83+7=90, Resulting Numbers: [95, 95, 90] Generated Node #0,2: 89:[95, 95, 90] Operation: 83+7=90 Exploring Operation: 95-7=88, Resulting Numbers: [95, 83, 88] Generated Node #0,3: 89:[95, 83, 88] Operation: 95-7=88 Exploring Operation: 95+7=102, Resulting Numbers: [95, 83, 102] Generated Node #0,4: 89:[95, 83, 102] Operation: 95+7=102 Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[95, 83, 88], Operations: ['95-7=88'] Exploring Operation: 95-88=7, Resulting Numbers: [83, 7] Generated Node #0,1,0: 89:[83, 7] Operation: 95-88=7 Exploring Operation: 95+83=178, Resulting Numbers: [88, 178] Generated Node #0,1,1: 89:[88, 178] Operation: 95+83=178 Exploring Operation: 88-83=5, Resulting Numbers: [95, 5] Generated Node #0,1,2: 89:[95, 5] Operation: 88-83=5 Exploring Operation: 83+88=171, Resulting Numbers: [95, 171] Generated Node #0,1,3: 89:[95, 171] Operation: 83+88=171 Exploring Operation: 95-83=12, Resulting Numbers: [88, 12] Generated Node #0,1,4: 89:[88, 12] Operation: 95-83=12 Moving to Node #0,1,4 Current State: 89:[88, 12], Operations: ['95-7=88', '95-83=12'] Exploring Operation: 88*12=1056, Resulting Numbers: [1056] 1056,89 unequal: No Solution Exploring Operation: 88+12=100, Resulting Numbers: [100] 100,89 unequal: No Solution Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[95, 171], Operations: ['95-7=88', '83+88=171'] Exploring Operation: 95+171=266, Resulting Numbers: [266] 266,89 unequal: No Solution Exploring Operation: 95*171=16245, Resulting Numbers: [16245] 16245,89 unequal: No Solution Exploring Operation: 171-95=76, Resulting Numbers: [76] 76,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[83, 7], Operations: ['95-7=88', '95-88=7'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,89 unequal: No Solution Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,89 unequal: No Solution Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[88, 178], Operations: ['95-7=88', '95+83=178'] Exploring Operation: 88*178=15664, Resulting Numbers: [15664] 15664,89 unequal: No Solution Exploring Operation: 88+178=266, Resulting Numbers: [266] 266,89 unequal: No Solution Exploring Operation: 178-88=90, Resulting Numbers: [90] 90,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[95, 5], Operations: ['95-7=88', '88-83=5'] Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,89 unequal: No Solution Exploring Operation: 95*5=475, Resulting Numbers: [475] 475,89 unequal: No Solution Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[95, 95, 90], Operations: ['83+7=90'] Exploring Operation: 95-95=0, Resulting Numbers: [90, 0] Generated Node #0,2,0: 89:[90, 0] Operation: 95-95=0 Exploring Operation: 95/95=1, Resulting Numbers: [90, 1] Generated Node #0,2,1: 89:[90, 1] Operation: 95/95=1 Exploring Operation: 95-90=5, Resulting Numbers: [95, 5] Generated Node #0,2,2: 89:[95, 5] Operation: 95-90=5 Exploring Operation: 95+95=190, Resulting Numbers: [90, 190] Generated Node #0,2,3: 89:[90, 190] Operation: 95+95=190 Exploring Operation: 95-90=5, Resulting Numbers: [95, 5] Generated Node #0,2,4: 89:[95, 5] Operation: 95-90=5 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[90, 1], Operations: ['83+7=90', '95/95=1'] Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[95, 95, 83, 7], Operations: [] Exploring Operation: 83+7=90, Resulting Numbers: [95, 95, 90] Generated Node #0,2: 89:[95, 95, 90] Operation: 83+7=90 Moving to Node #0,2 Current State: 89:[95, 95, 90], Operations: ['83+7=90'] Exploring Operation: 95/95=1, Resulting Numbers: [90, 1] Generated Node #0,2,1: 89:[90, 1] Operation: 95/95=1 Moving to Node #0,2,1 Current State: 89:[90, 1], Operations: ['83+7=90', '95/95=1'] Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 58, 3, 90, 72 ]
56
[ "90-58=32", "72/3=24", "32+24=56" ]
Current State: 56:[58, 3, 90, 72], Operations: [] Exploring Operation: 90-58=32, Resulting Numbers: [3, 72, 32] Generated Node #2: [3, 72, 32] from Operation: 90-58=32 Current State: 56:[3, 72, 32], Operations: ['90-58=32'] Exploring Operation: 72/3=24, Resulting Numbers: [32, 24] Generated Node #3: [32, 24] from Operation: 72/3=24 Current State: 56:[32, 24], Operations: ['90-58=32', '72/3=24'] Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[58, 3, 90, 72], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [58, 72, 30] Generated Node #0,0: 56:[58, 72, 30] Operation: 90/3=30 Exploring Operation: 72-58=14, Resulting Numbers: [3, 90, 14] Generated Node #0,1: 56:[3, 90, 14] Operation: 72-58=14 Exploring Operation: 90-72=18, Resulting Numbers: [58, 3, 18] Generated Node #0,2: 56:[58, 3, 18] Operation: 90-72=18 Exploring Operation: 90-58=32, Resulting Numbers: [3, 72, 32] Generated Node #0,3: 56:[3, 72, 32] Operation: 90-58=32 Moving to Node #0,2 Current State: 56:[58, 3, 18], Operations: ['90-72=18'] Exploring Operation: 18/3=6, Resulting Numbers: [58, 6] Generated Node #0,2,0: 56:[58, 6] Operation: 18/3=6 Exploring Operation: 18-3=15, Resulting Numbers: [58, 15] Generated Node #0,2,1: 56:[58, 15] Operation: 18-3=15 Exploring Operation: 58-3=55, Resulting Numbers: [18, 55] Generated Node #0,2,2: 56:[18, 55] Operation: 58-3=55 Exploring Operation: 3*18=54, Resulting Numbers: [58, 54] Generated Node #0,2,3: 56:[58, 54] Operation: 3*18=54 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[58, 6], Operations: ['90-72=18', '18/3=6'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 58*6=348, Resulting Numbers: [348] 348,56 unequal: No Solution Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[58, 15], Operations: ['90-72=18', '18-3=15'] Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,56 unequal: No Solution Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[58, 54], Operations: ['90-72=18', '3*18=54'] Exploring Operation: 58*54=3132, Resulting Numbers: [3132] 3132,56 unequal: No Solution Exploring Operation: 58+54=112, Resulting Numbers: [112] 112,56 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[18, 55], Operations: ['90-72=18', '58-3=55'] Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 18+55=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 18*55=990, Resulting Numbers: [990] 990,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 56:[58, 72, 30], Operations: ['90/3=30'] Exploring Operation: 58+30=88, Resulting Numbers: [72, 88] Generated Node #0,0,0: 56:[72, 88] Operation: 58+30=88 Exploring Operation: 72-58=14, Resulting Numbers: [30, 14] Generated Node #0,0,1: 56:[30, 14] Operation: 72-58=14 Exploring Operation: 58-30=28, Resulting Numbers: [72, 28] Generated Node #0,0,2: 56:[72, 28] Operation: 58-30=28 Exploring Operation: 72-30=42, Resulting Numbers: [58, 42] Generated Node #0,0,3: 56:[58, 42] Operation: 72-30=42 Moving to Node #0,3 Current State: 56:[3, 72, 32], Operations: ['90-58=32'] Exploring Operation: 72-32=40, Resulting Numbers: [3, 40] Generated Node #0,3,0: 56:[3, 40] Operation: 72-32=40 Exploring Operation: 72-3=69, Resulting Numbers: [32, 69] Generated Node #0,3,1: 56:[32, 69] Operation: 72-3=69 Exploring Operation: 32-3=29, Resulting Numbers: [72, 29] Generated Node #0,3,2: 56:[72, 29] Operation: 32-3=29 Exploring Operation: 72/3=24, Resulting Numbers: [32, 24] Generated Node #0,3,3: 56:[32, 24] Operation: 72/3=24 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[32, 24], Operations: ['90-58=32', '72/3=24'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[58, 3, 90, 72], Operations: [] Exploring Operation: 90-58=32, Resulting Numbers: [3, 72, 32] Generated Node #0,3: 56:[3, 72, 32] Operation: 90-58=32 Moving to Node #0,3 Current State: 56:[3, 72, 32], Operations: ['90-58=32'] Exploring Operation: 72/3=24, Resulting Numbers: [32, 24] Generated Node #0,3,3: 56:[32, 24] Operation: 72/3=24 Moving to Node #0,3,3 Current State: 56:[32, 24], Operations: ['90-58=32', '72/3=24'] Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 83, 92, 43, 45 ]
86
[ "92+43=135", "135/45=3", "83+3=86" ]
Current State: 86:[83, 92, 43, 45], Operations: [] Exploring Operation: 92+43=135, Resulting Numbers: [83, 45, 135] Generated Node #2: [83, 45, 135] from Operation: 92+43=135 Current State: 86:[83, 45, 135], Operations: ['92+43=135'] Exploring Operation: 135/45=3, Resulting Numbers: [83, 3] Generated Node #3: [83, 3] from Operation: 135/45=3 Current State: 86:[83, 3], Operations: ['92+43=135', '135/45=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[83, 92, 43, 45], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [83, 43, 47] Generated Node #0,0: 86:[83, 43, 47] Operation: 92-45=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[83, 43, 47], Operations: ['92-45=47'] Exploring Operation: 47-43=4, Resulting Numbers: [83, 4] Generated Node #0,0,0: 86:[83, 4] Operation: 47-43=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[83, 4], Operations: ['92-45=47', '47-43=4'] Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 61, 49, 20, 24 ]
32
[ "61-49=12", "20+24=44", "44-12=32" ]
Current State: 32:[61, 49, 20, 24], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [20, 24, 12] Generated Node #2: [20, 24, 12] from Operation: 61-49=12 Current State: 32:[20, 24, 12], Operations: ['61-49=12'] Exploring Operation: 20+24=44, Resulting Numbers: [12, 44] Generated Node #3: [12, 44] from Operation: 20+24=44 Current State: 32:[12, 44], Operations: ['61-49=12', '20+24=44'] Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[61, 49, 20, 24], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [20, 24, 12] Generated Node #0,0: 32:[20, 24, 12] Operation: 61-49=12 Exploring Operation: 49-20=29, Resulting Numbers: [61, 24, 29] Generated Node #0,1: 32:[61, 24, 29] Operation: 49-20=29 Exploring Operation: 49-24=25, Resulting Numbers: [61, 20, 25] Generated Node #0,2: 32:[61, 20, 25] Operation: 49-24=25 Exploring Operation: 61-24=37, Resulting Numbers: [49, 20, 37] Generated Node #0,3: 32:[49, 20, 37] Operation: 61-24=37 Exploring Operation: 61-20=41, Resulting Numbers: [49, 24, 41] Generated Node #0,4: 32:[49, 24, 41] Operation: 61-20=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[20, 24, 12], Operations: ['61-49=12'] Exploring Operation: 24/12=2, Resulting Numbers: [20, 2] Generated Node #0,0,0: 32:[20, 2] Operation: 24/12=2 Exploring Operation: 24+12=36, Resulting Numbers: [20, 36] Generated Node #0,0,1: 32:[20, 36] Operation: 24+12=36 Exploring Operation: 24-20=4, Resulting Numbers: [12, 4] Generated Node #0,0,2: 32:[12, 4] Operation: 24-20=4 Exploring Operation: 20-12=8, Resulting Numbers: [24, 8] Generated Node #0,0,3: 32:[24, 8] Operation: 20-12=8 Exploring Operation: 20+12=32, Resulting Numbers: [24, 32] Generated Node #0,0,4: 32:[24, 32] Operation: 20+12=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[20, 2], Operations: ['61-49=12', '24/12=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,32 unequal: No Solution No 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: 32:[12, 4], Operations: ['61-49=12', '24-20=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,32 unequal: No Solution No 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: 32:[20, 36], Operations: ['61-49=12', '24+12=36'] Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,32 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,32 unequal: No Solution No 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: 32:[24, 8], Operations: ['61-49=12', '20-12=8'] Exploring Operation: 24*8=192, Resulting Numbers: [192] 192,32 unequal: No Solution Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[61, 49, 20, 24], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [20, 24, 12] Generated Node #0,0: 32:[20, 24, 12] Operation: 61-49=12 Moving to Node #0,0 Current State: 32:[20, 24, 12], Operations: ['61-49=12'] Exploring Operation: 20-12=8, Resulting Numbers: [24, 8] Generated Node #0,0,3: 32:[24, 8] Operation: 20-12=8 Moving to Node #0,0,3 Current State: 32:[24, 8], Operations: ['61-49=12', '20-12=8'] Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 97, 24, 7, 17 ]
96
[ "24-7=17", "17/17=1", "97-1=96" ]
Current State: 96:[97, 24, 7, 17], Operations: [] Exploring Operation: 24-7=17, Resulting Numbers: [97, 17, 17] Generated Node #2: [97, 17, 17] from Operation: 24-7=17 Current State: 96:[97, 17, 17], Operations: ['24-7=17'] Exploring Operation: 17/17=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 17/17=1 Current State: 96:[97, 1], Operations: ['24-7=17', '17/17=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[97, 24, 7, 17], Operations: [] Exploring Operation: 24+7=31, Resulting Numbers: [97, 17, 31] Generated Node #0,0: 96:[97, 17, 31] Operation: 24+7=31 Exploring Operation: 7+17=24, Resulting Numbers: [97, 24, 24] Generated Node #0,1: 96:[97, 24, 24] Operation: 7+17=24 Exploring Operation: 24-7=17, Resulting Numbers: [97, 17, 17] Generated Node #0,2: 96:[97, 17, 17] Operation: 24-7=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[97, 24, 24], Operations: ['7+17=24'] Exploring Operation: 24-24=0, Resulting Numbers: [97, 0] Generated Node #0,1,0: 96:[97, 0] Operation: 24-24=0 Exploring Operation: 24/24=1, Resulting Numbers: [97, 1] Generated Node #0,1,1: 96:[97, 1] Operation: 24/24=1 Exploring Operation: 24+24=48, Resulting Numbers: [97, 48] Generated Node #0,1,2: 96:[97, 48] Operation: 24+24=48 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 96:[97, 48], Operations: ['7+17=24', '24+24=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,96 unequal: No Solution Exploring Operation: 97*48=4656, Resulting Numbers: [4656] 4656,96 unequal: No Solution No 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: 96:[97, 1], Operations: ['7+17=24', '24/24=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[97, 24, 7, 17], Operations: [] Exploring Operation: 7+17=24, Resulting Numbers: [97, 24, 24] Generated Node #0,1: 96:[97, 24, 24] Operation: 7+17=24 Moving to Node #0,1 Current State: 96:[97, 24, 24], Operations: ['7+17=24'] Exploring Operation: 24/24=1, Resulting Numbers: [97, 1] Generated Node #0,1,1: 96:[97, 1] Operation: 24/24=1 Moving to Node #0,1,1 Current State: 96:[97, 1], Operations: ['7+17=24', '24/24=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 36, 70, 45, 84 ]
35
[ "45*84=3780", "3780/36=105", "105-70=35" ]
Current State: 35:[36, 70, 45, 84], Operations: [] Exploring Operation: 45*84=3780, Resulting Numbers: [36, 70, 3780] Generated Node #2: [36, 70, 3780] from Operation: 45*84=3780 Current State: 35:[36, 70, 3780], Operations: ['45*84=3780'] Exploring Operation: 3780/36=105, Resulting Numbers: [70, 105] Generated Node #3: [70, 105] from Operation: 3780/36=105 Current State: 35:[70, 105], Operations: ['45*84=3780', '3780/36=105'] Exploring Operation: 105-70=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[36, 70, 45, 84], Operations: [] Exploring Operation: 84-70=14, Resulting Numbers: [36, 45, 14] Generated Node #0,0: 35:[36, 45, 14] Operation: 84-70=14 Exploring Operation: 84-45=39, Resulting Numbers: [36, 70, 39] Generated Node #0,1: 35:[36, 70, 39] Operation: 84-45=39 Moving to Node #0,0 Current State: 35:[36, 45, 14], Operations: ['84-70=14'] Exploring Operation: 45-36=9, Resulting Numbers: [14, 9] Generated Node #0,0,0: 35:[14, 9] Operation: 45-36=9 Exploring Operation: 45-14=31, Resulting Numbers: [36, 31] Generated Node #0,0,1: 35:[36, 31] Operation: 45-14=31 Moving to Node #0,1 Current State: 35:[36, 70, 39], Operations: ['84-45=39'] Exploring Operation: 70-39=31, Resulting Numbers: [36, 31] Generated Node #0,1,0: 35:[36, 31] Operation: 70-39=31 Exploring Operation: 70-36=34, Resulting Numbers: [39, 34] Generated Node #0,1,1: 35:[39, 34] Operation: 70-36=34 Moving to Node #0,0,1 Current State: 35:[36, 31], Operations: ['84-70=14', '45-14=31'] Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[36, 31], Operations: ['84-45=39', '70-39=31'] Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[39, 34], Operations: ['84-45=39', '70-36=34'] Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[14, 9], Operations: ['84-70=14', '45-36=9'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,35 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 87, 94, 21, 5 ]
19
[ "94-87=7", "21+5=26", "26-7=19" ]
Current State: 19:[87, 94, 21, 5], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [21, 5, 7] Generated Node #2: [21, 5, 7] from Operation: 94-87=7 Current State: 19:[21, 5, 7], Operations: ['94-87=7'] Exploring Operation: 21+5=26, Resulting Numbers: [7, 26] Generated Node #3: [7, 26] from Operation: 21+5=26 Current State: 19:[7, 26], Operations: ['94-87=7', '21+5=26'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[87, 94, 21, 5], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [21, 5, 7] Generated Node #0,0: 19:[21, 5, 7] Operation: 94-87=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[21, 5, 7], Operations: ['94-87=7'] Exploring Operation: 5+7=12, Resulting Numbers: [21, 12] Generated Node #0,0,0: 19:[21, 12] Operation: 5+7=12 Moving to Node #0,0,0 Current State: 19:[21, 12], Operations: ['94-87=7', '5+7=12'] Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,19 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
[ 81, 98, 32, 67 ]
25
[ "81-67=14", "98/14=7", "32-7=25" ]
Current State: 25:[81, 98, 32, 67], Operations: [] Exploring Operation: 81-67=14, Resulting Numbers: [98, 32, 14] Generated Node #2: [98, 32, 14] from Operation: 81-67=14 Current State: 25:[98, 32, 14], Operations: ['81-67=14'] Exploring Operation: 98/14=7, Resulting Numbers: [32, 7] Generated Node #3: [32, 7] from Operation: 98/14=7 Current State: 25:[32, 7], Operations: ['81-67=14', '98/14=7'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[81, 98, 32, 67], Operations: [] Exploring Operation: 81-67=14, Resulting Numbers: [98, 32, 14] Generated Node #0,0: 25:[98, 32, 14] Operation: 81-67=14 Exploring Operation: 98-67=31, Resulting Numbers: [81, 32, 31] Generated Node #0,1: 25:[81, 32, 31] Operation: 98-67=31 Exploring Operation: 81-32=49, Resulting Numbers: [98, 67, 49] Generated Node #0,2: 25:[98, 67, 49] Operation: 81-32=49 Exploring Operation: 98-81=17, Resulting Numbers: [32, 67, 17] Generated Node #0,3: 25:[32, 67, 17] Operation: 98-81=17 Exploring Operation: 98-32=66, Resulting Numbers: [81, 67, 66] Generated Node #0,4: 25:[81, 67, 66] Operation: 98-32=66 Moving to Node #0,3 Current State: 25:[32, 67, 17], Operations: ['98-81=17'] Exploring Operation: 32+17=49, Resulting Numbers: [67, 49] Generated Node #0,3,0: 25:[67, 49] Operation: 32+17=49 Exploring Operation: 67-17=50, Resulting Numbers: [32, 50] Generated Node #0,3,1: 25:[32, 50] Operation: 67-17=50 Exploring Operation: 67+17=84, Resulting Numbers: [32, 84] Generated Node #0,3,2: 25:[32, 84] Operation: 67+17=84 Exploring Operation: 67-32=35, Resulting Numbers: [17, 35] Generated Node #0,3,3: 25:[17, 35] Operation: 67-32=35 Exploring Operation: 32-17=15, Resulting Numbers: [67, 15] Generated Node #0,3,4: 25:[67, 15] Operation: 32-17=15 Moving to Node #0,1 Current State: 25:[81, 32, 31], Operations: ['98-67=31'] Exploring Operation: 81+32=113, Resulting Numbers: [31, 113] Generated Node #0,1,0: 25:[31, 113] Operation: 81+32=113 Exploring Operation: 81-31=50, Resulting Numbers: [32, 50] Generated Node #0,1,1: 25:[32, 50] Operation: 81-31=50 Exploring Operation: 81-32=49, Resulting Numbers: [31, 49] Generated Node #0,1,2: 25:[31, 49] Operation: 81-32=49 Exploring Operation: 81+31=112, Resulting Numbers: [32, 112] Generated Node #0,1,3: 25:[32, 112] Operation: 81+31=112 Exploring Operation: 32-31=1, Resulting Numbers: [81, 1] Generated Node #0,1,4: 25:[81, 1] Operation: 32-31=1 Moving to Node #0,0 Current State: 25:[98, 32, 14], Operations: ['81-67=14'] Exploring Operation: 98-14=84, Resulting Numbers: [32, 84] Generated Node #0,0,0: 25:[32, 84] Operation: 98-14=84 Exploring Operation: 98+14=112, Resulting Numbers: [32, 112] Generated Node #0,0,1: 25:[32, 112] Operation: 98+14=112 Exploring Operation: 98/14=7, Resulting Numbers: [32, 7] Generated Node #0,0,2: 25:[32, 7] Operation: 98/14=7 Exploring Operation: 98-32=66, Resulting Numbers: [14, 66] Generated Node #0,0,3: 25:[14, 66] Operation: 98-32=66 Exploring Operation: 32-14=18, Resulting Numbers: [98, 18] Generated Node #0,0,4: 25:[98, 18] Operation: 32-14=18 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[32, 7], Operations: ['81-67=14', '98/14=7'] Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,25 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[81, 98, 32, 67], Operations: [] Exploring Operation: 81-67=14, Resulting Numbers: [98, 32, 14] Generated Node #0,0: 25:[98, 32, 14] Operation: 81-67=14 Moving to Node #0,0 Current State: 25:[98, 32, 14], Operations: ['81-67=14'] Exploring Operation: 98/14=7, Resulting Numbers: [32, 7] Generated Node #0,0,2: 25:[32, 7] Operation: 98/14=7 Moving to Node #0,0,2 Current State: 25:[32, 7], Operations: ['81-67=14', '98/14=7'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 92, 91, 91, 99 ]
99
[ "91-91=0", "92*0=0", "99+0=99" ]
Current State: 99:[92, 91, 91, 99], Operations: [] Exploring Operation: 91-91=0, Resulting Numbers: [92, 99, 0] Generated Node #2: [92, 99, 0] from Operation: 91-91=0 Current State: 99:[92, 99, 0], Operations: ['91-91=0'] Exploring Operation: 92*0=0, Resulting Numbers: [99, 0] Generated Node #3: [99, 0] from Operation: 92*0=0 Current State: 99:[99, 0], Operations: ['91-91=0', '92*0=0'] Exploring Operation: 99+0=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[92, 91, 91, 99], Operations: [] Exploring Operation: 91/91=1, Resulting Numbers: [92, 99, 1] Generated Node #0,0: 99:[92, 99, 1] Operation: 91/91=1 Moving to Node #0,0 Current State: 99:[92, 99, 1], Operations: ['91/91=1'] Exploring Operation: 99-92=7, Resulting Numbers: [1, 7] Generated Node #0,0,0: 99:[1, 7] Operation: 99-92=7 Moving to Node #0,0,0 Current State: 99:[1, 7], Operations: ['91/91=1', '99-92=7'] Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,99 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 60, 49, 82, 2 ]
54
[ "60+49=109", "109-82=27", "2*27=54" ]
Current State: 54:[60, 49, 82, 2], Operations: [] Exploring Operation: 60+49=109, Resulting Numbers: [82, 2, 109] Generated Node #2: [82, 2, 109] from Operation: 60+49=109 Current State: 54:[82, 2, 109], Operations: ['60+49=109'] Exploring Operation: 109-82=27, Resulting Numbers: [2, 27] Generated Node #3: [2, 27] from Operation: 109-82=27 Current State: 54:[2, 27], Operations: ['60+49=109', '109-82=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[60, 49, 82, 2], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [49, 2, 22] Generated Node #0,0: 54:[49, 2, 22] Operation: 82-60=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[49, 2, 22], Operations: ['82-60=22'] Exploring Operation: 49-22=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 54:[2, 27] Operation: 49-22=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[2, 27], Operations: ['82-60=22', '49-22=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[60, 49, 82, 2], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [49, 2, 22] Generated Node #0,0: 54:[49, 2, 22] Operation: 82-60=22 Moving to Node #0,0 Current State: 54:[49, 2, 22], Operations: ['82-60=22'] Exploring Operation: 49-22=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 54:[2, 27] Operation: 49-22=27 Moving to Node #0,0,0 Current State: 54:[2, 27], Operations: ['82-60=22', '49-22=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 38, 2, 50, 47 ]
68
[ "47-38=9", "2*9=18", "50+18=68" ]
Current State: 68:[38, 2, 50, 47], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [2, 50, 9] Generated Node #2: [2, 50, 9] from Operation: 47-38=9 Current State: 68:[2, 50, 9], Operations: ['47-38=9'] Exploring Operation: 2*9=18, Resulting Numbers: [50, 18] Generated Node #3: [50, 18] from Operation: 2*9=18 Current State: 68:[50, 18], Operations: ['47-38=9', '2*9=18'] Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[38, 2, 50, 47], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [2, 50, 9] Generated Node #0,0: 68:[2, 50, 9] Operation: 47-38=9 Exploring Operation: 50-38=12, Resulting Numbers: [2, 47, 12] Generated Node #0,1: 68:[2, 47, 12] Operation: 50-38=12 Exploring Operation: 50-47=3, Resulting Numbers: [38, 2, 3] Generated Node #0,2: 68:[38, 2, 3] Operation: 50-47=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[38, 2, 3], Operations: ['50-47=3'] Exploring Operation: 38-3=35, Resulting Numbers: [2, 35] Generated Node #0,2,0: 68:[2, 35] Operation: 38-3=35 Exploring Operation: 38/2=19, Resulting Numbers: [3, 19] Generated Node #0,2,1: 68:[3, 19] Operation: 38/2=19 Exploring Operation: 38-2=36, Resulting Numbers: [3, 36] Generated Node #0,2,2: 68:[3, 36] Operation: 38-2=36 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 68:[2, 35], Operations: ['50-47=3', '38-3=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,68 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,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,2,1 Current State: 68:[3, 19], Operations: ['50-47=3', '38/2=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,68 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,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,2,2 Current State: 68:[3, 36], Operations: ['50-47=3', '38-2=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,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:[2, 47, 12], Operations: ['50-38=12'] Exploring Operation: 47+12=59, Resulting Numbers: [2, 59] Generated Node #0,1,0: 68:[2, 59] Operation: 47+12=59 Exploring Operation: 47-12=35, Resulting Numbers: [2, 35] Generated Node #0,1,1: 68:[2, 35] Operation: 47-12=35 Exploring Operation: 12/2=6, Resulting Numbers: [47, 6] Generated Node #0,1,2: 68:[47, 6] Operation: 12/2=6 Moving to Node #0,1,1 Current State: 68:[2, 35], Operations: ['50-38=12', '47-12=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,68 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[2, 59], Operations: ['50-38=12', '47+12=59'] Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,68 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[47, 6], Operations: ['50-38=12', '12/2=6'] Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,68 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[2, 50, 9], Operations: ['47-38=9'] Exploring Operation: 50/2=25, Resulting Numbers: [9, 25] Generated Node #0,0,0: 68:[9, 25] Operation: 50/2=25 Exploring Operation: 50+9=59, Resulting Numbers: [2, 59] Generated Node #0,0,1: 68:[2, 59] Operation: 50+9=59 Exploring Operation: 50-9=41, Resulting Numbers: [2, 41] Generated Node #0,0,2: 68:[2, 41] Operation: 50-9=41 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[2, 41], Operations: ['47-38=9', '50-9=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,68 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[2, 59], Operations: ['47-38=9', '50+9=59'] Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,68 unequal: No Solution Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,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:[9, 25], Operations: ['47-38=9', '50/2=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 28, 94, 23, 92 ]
53
[ "28+94=122", "92-23=69", "122-69=53" ]
Current State: 53:[28, 94, 23, 92], Operations: [] Exploring Operation: 28+94=122, Resulting Numbers: [23, 92, 122] Generated Node #2: [23, 92, 122] from Operation: 28+94=122 Current State: 53:[23, 92, 122], Operations: ['28+94=122'] Exploring Operation: 92-23=69, Resulting Numbers: [122, 69] Generated Node #3: [122, 69] from Operation: 92-23=69 Current State: 53:[122, 69], Operations: ['28+94=122', '92-23=69'] Exploring Operation: 122-69=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[28, 94, 23, 92], Operations: [] Exploring Operation: 28+23=51, Resulting Numbers: [94, 92, 51] Generated Node #0,0: 53:[94, 92, 51] Operation: 28+23=51 Exploring Operation: 94-28=66, Resulting Numbers: [23, 92, 66] Generated Node #0,1: 53:[23, 92, 66] Operation: 94-28=66 Moving to Node #0,0 Current State: 53:[94, 92, 51], Operations: ['28+23=51'] Exploring Operation: 94-92=2, Resulting Numbers: [51, 2] Generated Node #0,0,0: 53:[51, 2] Operation: 94-92=2 Exploring Operation: 94-51=43, Resulting Numbers: [92, 43] Generated Node #0,0,1: 53:[92, 43] Operation: 94-51=43 Moving to Node #0,1 Current State: 53:[23, 92, 66], Operations: ['94-28=66'] Exploring Operation: 92-23=69, Resulting Numbers: [66, 69] Generated Node #0,1,0: 53:[66, 69] Operation: 92-23=69 Exploring Operation: 66-23=43, Resulting Numbers: [92, 43] Generated Node #0,1,1: 53:[92, 43] Operation: 66-23=43 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[66, 69], Operations: ['94-28=66', '92-23=69'] Exploring Operation: 66+69=135, Resulting Numbers: [135] 135,53 unequal: No Solution Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,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:[92, 43], Operations: ['94-28=66', '66-23=43'] Exploring Operation: 92+43=135, Resulting Numbers: [135] 135,53 unequal: No Solution Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 53:[92, 43], Operations: ['28+23=51', '94-51=43'] Exploring Operation: 92+43=135, Resulting Numbers: [135] 135,53 unequal: No Solution Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[51, 2], Operations: ['28+23=51', '94-92=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,53 unequal: No Solution Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[28, 94, 23, 92], Operations: [] Exploring Operation: 28+23=51, Resulting Numbers: [94, 92, 51] Generated Node #0,0: 53:[94, 92, 51] Operation: 28+23=51 Moving to Node #0,0 Current State: 53:[94, 92, 51], Operations: ['28+23=51'] Exploring Operation: 94-92=2, Resulting Numbers: [51, 2] Generated Node #0,0,0: 53:[51, 2] Operation: 94-92=2 Moving to Node #0,0,0 Current State: 53:[51, 2], Operations: ['28+23=51', '94-92=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 93, 97, 17, 15 ]
83
[ "97-93=4", "17*4=68", "15+68=83" ]
Current State: 83:[93, 97, 17, 15], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [17, 15, 4] Generated Node #2: [17, 15, 4] from Operation: 97-93=4 Current State: 83:[17, 15, 4], Operations: ['97-93=4'] Exploring Operation: 17*4=68, Resulting Numbers: [15, 68] Generated Node #3: [15, 68] from Operation: 17*4=68 Current State: 83:[15, 68], Operations: ['97-93=4', '17*4=68'] Exploring Operation: 15+68=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[93, 97, 17, 15], Operations: [] Exploring Operation: 97-15=82, Resulting Numbers: [93, 17, 82] Generated Node #0,0: 83:[93, 17, 82] Operation: 97-15=82 Exploring Operation: 93-15=78, Resulting Numbers: [97, 17, 78] Generated Node #0,1: 83:[97, 17, 78] Operation: 93-15=78 Exploring Operation: 97-17=80, Resulting Numbers: [93, 15, 80] Generated Node #0,2: 83:[93, 15, 80] Operation: 97-17=80 Exploring Operation: 17+15=32, Resulting Numbers: [93, 97, 32] Generated Node #0,3: 83:[93, 97, 32] Operation: 17+15=32 Moving to Node #0,3 Current State: 83:[93, 97, 32], Operations: ['17+15=32'] Exploring Operation: 93-32=61, Resulting Numbers: [97, 61] Generated Node #0,3,0: 83:[97, 61] Operation: 93-32=61 Exploring Operation: 97-32=65, Resulting Numbers: [93, 65] Generated Node #0,3,1: 83:[93, 65] Operation: 97-32=65 Exploring Operation: 97+32=129, Resulting Numbers: [93, 129] Generated Node #0,3,2: 83:[93, 129] Operation: 97+32=129 Exploring Operation: 93+32=125, Resulting Numbers: [97, 125] Generated Node #0,3,3: 83:[97, 125] Operation: 93+32=125 Moving to Node #0,0 Current State: 83:[93, 17, 82], Operations: ['97-15=82'] Exploring Operation: 82-17=65, Resulting Numbers: [93, 65] Generated Node #0,0,0: 83:[93, 65] Operation: 82-17=65 Exploring Operation: 17+82=99, Resulting Numbers: [93, 99] Generated Node #0,0,1: 83:[93, 99] Operation: 17+82=99 Exploring Operation: 93+17=110, Resulting Numbers: [82, 110] Generated Node #0,0,2: 83:[82, 110] Operation: 93+17=110 Exploring Operation: 93-17=76, Resulting Numbers: [82, 76] Generated Node #0,0,3: 83:[82, 76] Operation: 93-17=76 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[82, 76], Operations: ['97-15=82', '93-17=76'] Exploring Operation: 82+76=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 82-76=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 82*76=6232, Resulting Numbers: [6232] 6232,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[93, 99], Operations: ['97-15=82', '17+82=99'] Exploring Operation: 93+99=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 99-93=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 93*99=9207, Resulting Numbers: [9207] 9207,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[93, 65], Operations: ['97-15=82', '82-17=65'] Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 93*65=6045, Resulting Numbers: [6045] 6045,83 unequal: No Solution Exploring Operation: 93+65=158, Resulting Numbers: [158] 158,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[82, 110], Operations: ['97-15=82', '93+17=110'] Exploring Operation: 82*110=9020, Resulting Numbers: [9020] 9020,83 unequal: No Solution Exploring Operation: 110-82=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 82+110=192, Resulting Numbers: [192] 192,83 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: 83:[93, 15, 80], Operations: ['97-17=80'] Exploring Operation: 15+80=95, Resulting Numbers: [93, 95] Generated Node #0,2,0: 83:[93, 95] Operation: 15+80=95 Exploring Operation: 80-15=65, Resulting Numbers: [93, 65] Generated Node #0,2,1: 83:[93, 65] Operation: 80-15=65 Exploring Operation: 93+15=108, Resulting Numbers: [80, 108] Generated Node #0,2,2: 83:[80, 108] Operation: 93+15=108 Exploring Operation: 93-15=78, Resulting Numbers: [80, 78] Generated Node #0,2,3: 83:[80, 78] Operation: 93-15=78 Moving to Node #0,1 Current State: 83:[97, 17, 78], Operations: ['93-15=78'] Exploring Operation: 97+17=114, Resulting Numbers: [78, 114] Generated Node #0,1,0: 83:[78, 114] Operation: 97+17=114 Exploring Operation: 17+78=95, Resulting Numbers: [97, 95] Generated Node #0,1,1: 83:[97, 95] Operation: 17+78=95 Exploring Operation: 78-17=61, Resulting Numbers: [97, 61] Generated Node #0,1,2: 83:[97, 61] Operation: 78-17=61 Exploring Operation: 97-17=80, Resulting Numbers: [78, 80] Generated Node #0,1,3: 83:[78, 80] Operation: 97-17=80 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[78, 80], Operations: ['93-15=78', '97-17=80'] Exploring Operation: 78+80=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 80-78=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 78*80=6240, Resulting Numbers: [6240] 6240,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[97, 95], Operations: ['93-15=78', '17+78=95'] Exploring Operation: 97+95=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 97-95=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 97*95=9215, Resulting Numbers: [9215] 9215,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[78, 114], Operations: ['93-15=78', '97+17=114'] Exploring Operation: 78+114=192, Resulting Numbers: [192] 192,83 unequal: No Solution Exploring Operation: 114-78=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 78*114=8892, Resulting Numbers: [8892] 8892,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[97, 61], Operations: ['93-15=78', '78-17=61'] Exploring Operation: 97+61=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 97*61=5917, Resulting Numbers: [5917] 5917,83 unequal: No Solution Exploring Operation: 97-61=36, Resulting Numbers: [36] 36,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 83:[80, 78], Operations: ['97-17=80', '93-15=78'] Exploring Operation: 80+78=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 80-78=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 80*78=6240, Resulting Numbers: [6240] 6240,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[93, 95], Operations: ['97-17=80', '15+80=95'] Exploring Operation: 93+95=188, Resulting Numbers: [188] 188,83 unequal: No Solution Exploring Operation: 93*95=8835, Resulting Numbers: [8835] 8835,83 unequal: No Solution Exploring Operation: 95-93=2, Resulting Numbers: [2] 2,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[93, 65], Operations: ['97-17=80', '80-15=65'] Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 93+65=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 93*65=6045, Resulting Numbers: [6045] 6045,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[93, 65], Operations: ['17+15=32', '97-32=65'] Exploring Operation: 93+65=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 93*65=6045, Resulting Numbers: [6045] 6045,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[80, 108], Operations: ['97-17=80', '93+15=108'] Exploring Operation: 80+108=188, Resulting Numbers: [188] 188,83 unequal: No Solution Exploring Operation: 80*108=8640, Resulting Numbers: [8640] 8640,83 unequal: No Solution Exploring Operation: 108-80=28, Resulting Numbers: [28] 28,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[97, 61], Operations: ['17+15=32', '93-32=61'] Exploring Operation: 97+61=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 97*61=5917, Resulting Numbers: [5917] 5917,83 unequal: No Solution Exploring Operation: 97-61=36, Resulting Numbers: [36] 36,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[97, 125], Operations: ['17+15=32', '93+32=125'] Exploring Operation: 125-97=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 97*125=12125, Resulting Numbers: [12125] 12125,83 unequal: No Solution Exploring Operation: 97+125=222, Resulting Numbers: [222] 222,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[93, 129], Operations: ['17+15=32', '97+32=129'] Exploring Operation: 93+129=222, Resulting Numbers: [222] 222,83 unequal: No Solution Exploring Operation: 93*129=11997, Resulting Numbers: [11997] 11997,83 unequal: No Solution Exploring Operation: 129-93=36, Resulting Numbers: [36] 36,83 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 34, 17, 7, 88 ]
97
[ "34/17=2", "7+88=95", "2+95=97" ]
Current State: 97:[34, 17, 7, 88], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [7, 88, 2] Generated Node #2: [7, 88, 2] from Operation: 34/17=2 Current State: 97:[7, 88, 2], Operations: ['34/17=2'] Exploring Operation: 7+88=95, Resulting Numbers: [2, 95] Generated Node #3: [2, 95] from Operation: 7+88=95 Current State: 97:[2, 95], Operations: ['34/17=2', '7+88=95'] Exploring Operation: 2+95=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[34, 17, 7, 88], Operations: [] Exploring Operation: 34+7=41, Resulting Numbers: [17, 88, 41] Generated Node #0,0: 97:[17, 88, 41] Operation: 34+7=41 Exploring Operation: 34+17=51, Resulting Numbers: [7, 88, 51] Generated Node #0,1: 97:[7, 88, 51] Operation: 34+17=51 Exploring Operation: 7+88=95, Resulting Numbers: [34, 17, 95] Generated Node #0,2: 97:[34, 17, 95] Operation: 7+88=95 Exploring Operation: 17+7=24, Resulting Numbers: [34, 88, 24] Generated Node #0,3: 97:[34, 88, 24] Operation: 17+7=24 Exploring Operation: 17*7=119, Resulting Numbers: [34, 88, 119] Generated Node #0,4: 97:[34, 88, 119] Operation: 17*7=119 Start Sub Search at level 1: Moving to Node #0,4 Current State: 97:[34, 88, 119], Operations: ['17*7=119'] Exploring Operation: 34+119=153, Resulting Numbers: [88, 153] Generated Node #0,4,0: 97:[88, 153] Operation: 34+119=153 Exploring Operation: 34+88=122, Resulting Numbers: [119, 122] Generated Node #0,4,1: 97:[119, 122] Operation: 34+88=122 Exploring Operation: 119-34=85, Resulting Numbers: [88, 85] Generated Node #0,4,2: 97:[88, 85] Operation: 119-34=85 Exploring Operation: 119-88=31, Resulting Numbers: [34, 31] Generated Node #0,4,3: 97:[34, 31] Operation: 119-88=31 Exploring Operation: 88-34=54, Resulting Numbers: [119, 54] Generated Node #0,4,4: 97:[119, 54] Operation: 88-34=54 Moving to Node #0,4,2 Current State: 97:[88, 85], Operations: ['17*7=119', '119-34=85'] Exploring Operation: 88*85=7480, Resulting Numbers: [7480] 7480,97 unequal: No Solution Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 88+85=173, Resulting Numbers: [173] 173,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[119, 122], Operations: ['17*7=119', '34+88=122'] Exploring Operation: 119*122=14518, Resulting Numbers: [14518] 14518,97 unequal: No Solution Exploring Operation: 122-119=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 119+122=241, Resulting Numbers: [241] 241,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[88, 153], Operations: ['17*7=119', '34+119=153'] Exploring Operation: 88*153=13464, Resulting Numbers: [13464] 13464,97 unequal: No Solution Exploring Operation: 153-88=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 88+153=241, Resulting Numbers: [241] 241,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[119, 54], Operations: ['17*7=119', '88-34=54'] Exploring Operation: 119-54=65, Resulting Numbers: [65] 65,97 unequal: No Solution Exploring Operation: 119+54=173, Resulting Numbers: [173] 173,97 unequal: No Solution Exploring Operation: 119*54=6426, Resulting Numbers: [6426] 6426,97 unequal: No Solution Moving to Node #0,4,3 Current State: 97:[34, 31], Operations: ['17*7=119', '119-88=31'] Exploring Operation: 34*31=1054, Resulting Numbers: [1054] 1054,97 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 34+31=65, Resulting Numbers: [65] 65,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,0 Current State: 97:[17, 88, 41], Operations: ['34+7=41'] Exploring Operation: 17+88=105, Resulting Numbers: [41, 105] Generated Node #0,0,0: 97:[41, 105] Operation: 17+88=105 Exploring Operation: 41-17=24, Resulting Numbers: [88, 24] Generated Node #0,0,1: 97:[88, 24] Operation: 41-17=24 Exploring Operation: 17+41=58, Resulting Numbers: [88, 58] Generated Node #0,0,2: 97:[88, 58] Operation: 17+41=58 Exploring Operation: 88-17=71, Resulting Numbers: [41, 71] Generated Node #0,0,3: 97:[41, 71] Operation: 88-17=71 Exploring Operation: 88+41=129, Resulting Numbers: [17, 129] Generated Node #0,0,4: 97:[17, 129] Operation: 88+41=129 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[88, 58], Operations: ['34+7=41', '17+41=58'] Exploring Operation: 88*58=5104, Resulting Numbers: [5104] 5104,97 unequal: No Solution Exploring Operation: 88+58=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,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:[41, 105], Operations: ['34+7=41', '17+88=105'] Exploring Operation: 41*105=4305, Resulting Numbers: [4305] 4305,97 unequal: No Solution Exploring Operation: 41+105=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 105-41=64, Resulting Numbers: [64] 64,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,1 Current State: 97:[88, 24], Operations: ['34+7=41', '41-17=24'] Exploring Operation: 88*24=2112, Resulting Numbers: [2112] 2112,97 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,97 unequal: No Solution Exploring Operation: 88+24=112, Resulting Numbers: [112] 112,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,3 Current State: 97:[41, 71], Operations: ['34+7=41', '88-17=71'] Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,97 unequal: No Solution Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,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,4 Current State: 97:[17, 129], Operations: ['34+7=41', '88+41=129'] Exploring Operation: 17+129=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 17*129=2193, Resulting Numbers: [2193] 2193,97 unequal: No Solution Exploring Operation: 129-17=112, Resulting Numbers: [112] 112,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:[7, 88, 51], Operations: ['34+17=51'] Exploring Operation: 51-7=44, Resulting Numbers: [88, 44] Generated Node #0,1,0: 97:[88, 44] Operation: 51-7=44 Exploring Operation: 7+88=95, Resulting Numbers: [51, 95] Generated Node #0,1,1: 97:[51, 95] Operation: 7+88=95 Exploring Operation: 88-7=81, Resulting Numbers: [51, 81] Generated Node #0,1,2: 97:[51, 81] Operation: 88-7=81 Exploring Operation: 88+51=139, Resulting Numbers: [7, 139] Generated Node #0,1,3: 97:[7, 139] Operation: 88+51=139 Exploring Operation: 7+51=58, Resulting Numbers: [88, 58] Generated Node #0,1,4: 97:[88, 58] Operation: 7+51=58 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[51, 95], Operations: ['34+17=51', '7+88=95'] Exploring Operation: 51+95=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 95-51=44, Resulting Numbers: [44] 44,97 unequal: No Solution Exploring Operation: 51*95=4845, Resulting Numbers: [4845] 4845,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,4 Current State: 97:[88, 58], Operations: ['34+17=51', '7+51=58'] Exploring Operation: 88+58=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 88*58=5104, Resulting Numbers: [5104] 5104,97 unequal: No Solution Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,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,0 Current State: 97:[88, 44], Operations: ['34+17=51', '51-7=44'] Exploring Operation: 88*44=3872, Resulting Numbers: [3872] 3872,97 unequal: No Solution Exploring Operation: 88+44=132, Resulting Numbers: [132] 132,97 unequal: No Solution Exploring Operation: 88/44=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 88-44=44, Resulting Numbers: [44] 44,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,2 Current State: 97:[51, 81], Operations: ['34+17=51', '88-7=81'] Exploring Operation: 51+81=132, Resulting Numbers: [132] 132,97 unequal: No Solution Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,97 unequal: No Solution Exploring Operation: 51*81=4131, Resulting Numbers: [4131] 4131,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,3 Current State: 97:[7, 139], Operations: ['34+17=51', '88+51=139'] Exploring Operation: 7*139=973, Resulting Numbers: [973] 973,97 unequal: No Solution Exploring Operation: 7+139=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 139-7=132, Resulting Numbers: [132] 132,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,2 Current State: 97:[34, 17, 95], Operations: ['7+88=95'] Exploring Operation: 95-17=78, Resulting Numbers: [34, 78] Generated Node #0,2,0: 97:[34, 78] Operation: 95-17=78 Exploring Operation: 34-17=17, Resulting Numbers: [95, 17] Generated Node #0,2,1: 97:[95, 17] Operation: 34-17=17 Exploring Operation: 34+17=51, Resulting Numbers: [95, 51] Generated Node #0,2,2: 97:[95, 51] Operation: 34+17=51 Exploring Operation: 17+95=112, Resulting Numbers: [34, 112] Generated Node #0,2,3: 97:[34, 112] Operation: 17+95=112 Exploring Operation: 34/17=2, Resulting Numbers: [95, 2] Generated Node #0,2,4: 97:[95, 2] Operation: 34/17=2 Moving to Node #0,2,2 Current State: 97:[95, 51], Operations: ['7+88=95', '34+17=51'] Exploring Operation: 95*51=4845, Resulting Numbers: [4845] 4845,97 unequal: No Solution Exploring Operation: 95+51=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 95-51=44, Resulting Numbers: [44] 44,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[34, 112], Operations: ['7+88=95', '17+95=112'] Exploring Operation: 34*112=3808, Resulting Numbers: [3808] 3808,97 unequal: No Solution Exploring Operation: 112-34=78, Resulting Numbers: [78] 78,97 unequal: No Solution Exploring Operation: 34+112=146, Resulting Numbers: [146] 146,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[34, 78], Operations: ['7+88=95', '95-17=78'] Exploring Operation: 34*78=2652, Resulting Numbers: [2652] 2652,97 unequal: No Solution Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,97 unequal: No Solution Exploring Operation: 34+78=112, Resulting Numbers: [112] 112,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[95, 17], Operations: ['7+88=95', '34-17=17'] Exploring Operation: 95+17=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 95-17=78, Resulting Numbers: [78] 78,97 unequal: No Solution Exploring Operation: 95*17=1615, Resulting Numbers: [1615] 1615,97 unequal: No Solution Moving to Node #0,2,4 Current State: 97:[95, 2], Operations: ['7+88=95', '34/17=2'] Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,97 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[34, 17, 7, 88], Operations: [] Exploring Operation: 7+88=95, Resulting Numbers: [34, 17, 95] Generated Node #0,2: 97:[34, 17, 95] Operation: 7+88=95 Moving to Node #0,2 Current State: 97:[34, 17, 95], Operations: ['7+88=95'] Exploring Operation: 34/17=2, Resulting Numbers: [95, 2] Generated Node #0,2,4: 97:[95, 2] Operation: 34/17=2 Moving to Node #0,2,4 Current State: 97:[95, 2], Operations: ['7+88=95', '34/17=2'] Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.921875
hs_5
sum_heuristic
[ 95, 84, 48, 6 ]
65
[ "95-84=11", "48+6=54", "11+54=65" ]
Current State: 65:[95, 84, 48, 6], Operations: [] Exploring Operation: 95-84=11, Resulting Numbers: [48, 6, 11] Generated Node #2: [48, 6, 11] from Operation: 95-84=11 Current State: 65:[48, 6, 11], Operations: ['95-84=11'] Exploring Operation: 48+6=54, Resulting Numbers: [11, 54] Generated Node #3: [11, 54] from Operation: 48+6=54 Current State: 65:[11, 54], Operations: ['95-84=11', '48+6=54'] Exploring Operation: 11+54=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[95, 84, 48, 6], Operations: [] Exploring Operation: 95-48=47, Resulting Numbers: [84, 6, 47] Generated Node #0,0: 65:[84, 6, 47] Operation: 95-48=47 Exploring Operation: 84-48=36, Resulting Numbers: [95, 6, 36] Generated Node #0,1: 65:[95, 6, 36] Operation: 84-48=36 Exploring Operation: 48/6=8, Resulting Numbers: [95, 84, 8] Generated Node #0,2: 65:[95, 84, 8] Operation: 48/6=8 Exploring Operation: 95-84=11, Resulting Numbers: [48, 6, 11] Generated Node #0,3: 65:[48, 6, 11] Operation: 95-84=11 Exploring Operation: 84/6=14, Resulting Numbers: [95, 48, 14] Generated Node #0,4: 65:[95, 48, 14] Operation: 84/6=14 Moving to Node #0,3 Current State: 65:[48, 6, 11], Operations: ['95-84=11'] Exploring Operation: 48+6=54, Resulting Numbers: [11, 54] Generated Node #0,3,0: 65:[11, 54] Operation: 48+6=54 Exploring Operation: 6*11=66, Resulting Numbers: [48, 66] Generated Node #0,3,1: 65:[48, 66] Operation: 6*11=66 Exploring Operation: 48/6=8, Resulting Numbers: [11, 8] Generated Node #0,3,2: 65:[11, 8] Operation: 48/6=8 Exploring Operation: 48+11=59, Resulting Numbers: [6, 59] Generated Node #0,3,3: 65:[6, 59] Operation: 48+11=59 Exploring Operation: 11-6=5, Resulting Numbers: [48, 5] Generated Node #0,3,4: 65:[48, 5] Operation: 11-6=5 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 65:[11, 8], Operations: ['95-84=11', '48/6=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,65 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,65 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 65:[6, 59], Operations: ['95-84=11', '48+11=59'] Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[95, 84, 48, 6], Operations: [] Exploring Operation: 95-84=11, Resulting Numbers: [48, 6, 11] Generated Node #0,3: 65:[48, 6, 11] Operation: 95-84=11 Moving to Node #0,3 Current State: 65:[48, 6, 11], Operations: ['95-84=11'] Exploring Operation: 48+11=59, Resulting Numbers: [6, 59] Generated Node #0,3,3: 65:[6, 59] Operation: 48+11=59 Moving to Node #0,3,3 Current State: 65:[6, 59], Operations: ['95-84=11', '48+11=59'] Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 66, 58, 7, 90 ]
75
[ "66-58=8", "90-7=83", "83-8=75" ]
Current State: 75:[66, 58, 7, 90], Operations: [] Exploring Operation: 66-58=8, Resulting Numbers: [7, 90, 8] Generated Node #2: [7, 90, 8] from Operation: 66-58=8 Current State: 75:[7, 90, 8], Operations: ['66-58=8'] Exploring Operation: 90-7=83, Resulting Numbers: [8, 83] Generated Node #3: [8, 83] from Operation: 90-7=83 Current State: 75:[8, 83], Operations: ['66-58=8', '90-7=83'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[66, 58, 7, 90], Operations: [] Exploring Operation: 90-58=32, Resulting Numbers: [66, 7, 32] Generated Node #0,0: 75:[66, 7, 32] Operation: 90-58=32 Exploring Operation: 66-58=8, Resulting Numbers: [7, 90, 8] Generated Node #0,1: 75:[7, 90, 8] Operation: 66-58=8 Exploring Operation: 66+7=73, Resulting Numbers: [58, 90, 73] Generated Node #0,2: 75:[58, 90, 73] Operation: 66+7=73 Exploring Operation: 90-66=24, Resulting Numbers: [58, 7, 24] Generated Node #0,3: 75:[58, 7, 24] Operation: 90-66=24 Moving to Node #0,0 Current State: 75:[66, 7, 32], Operations: ['90-58=32'] Exploring Operation: 66-32=34, Resulting Numbers: [7, 34] Generated Node #0,0,0: 75:[7, 34] Operation: 66-32=34 Exploring Operation: 66+7=73, Resulting Numbers: [32, 73] Generated Node #0,0,1: 75:[32, 73] Operation: 66+7=73 Exploring Operation: 32-7=25, Resulting Numbers: [66, 25] Generated Node #0,0,2: 75:[66, 25] Operation: 32-7=25 Exploring Operation: 66-7=59, Resulting Numbers: [32, 59] Generated Node #0,0,3: 75:[32, 59] Operation: 66-7=59 Moving to Node #0,3 Current State: 75:[58, 7, 24], Operations: ['90-66=24'] Exploring Operation: 58+7=65, Resulting Numbers: [24, 65] Generated Node #0,3,0: 75:[24, 65] Operation: 58+7=65 Exploring Operation: 24-7=17, Resulting Numbers: [58, 17] Generated Node #0,3,1: 75:[58, 17] Operation: 24-7=17 Exploring Operation: 58-24=34, Resulting Numbers: [7, 34] Generated Node #0,3,2: 75:[7, 34] Operation: 58-24=34 Exploring Operation: 58+24=82, Resulting Numbers: [7, 82] Generated Node #0,3,3: 75:[7, 82] Operation: 58+24=82 Moving to Node #0,1 Current State: 75:[7, 90, 8], Operations: ['66-58=8'] Exploring Operation: 8-7=1, Resulting Numbers: [90, 1] Generated Node #0,1,0: 75:[90, 1] Operation: 8-7=1 Exploring Operation: 90-7=83, Resulting Numbers: [8, 83] Generated Node #0,1,1: 75:[8, 83] Operation: 90-7=83 Exploring Operation: 7+8=15, Resulting Numbers: [90, 15] Generated Node #0,1,2: 75:[90, 15] Operation: 7+8=15 Exploring Operation: 90-8=82, Resulting Numbers: [7, 82] Generated Node #0,1,3: 75:[7, 82] Operation: 90-8=82 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 75:[7, 82], Operations: ['66-58=8', '90-8=82'] Exploring Operation: 7*82=574, Resulting Numbers: [574] 574,75 unequal: No Solution Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[66, 58, 7, 90], Operations: [] Exploring Operation: 66-58=8, Resulting Numbers: [7, 90, 8] Generated Node #0,1: 75:[7, 90, 8] Operation: 66-58=8 Moving to Node #0,1 Current State: 75:[7, 90, 8], Operations: ['66-58=8'] Exploring Operation: 90-8=82, Resulting Numbers: [7, 82] Generated Node #0,1,3: 75:[7, 82] Operation: 90-8=82 Moving to Node #0,1,3 Current State: 75:[7, 82], Operations: ['66-58=8', '90-8=82'] Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 21, 14, 82, 4 ]
58
[ "21+14=35", "4*35=140", "140-82=58" ]
Current State: 58:[21, 14, 82, 4], Operations: [] Exploring Operation: 21+14=35, Resulting Numbers: [82, 4, 35] Generated Node #2: [82, 4, 35] from Operation: 21+14=35 Current State: 58:[82, 4, 35], Operations: ['21+14=35'] Exploring Operation: 4*35=140, Resulting Numbers: [82, 140] Generated Node #3: [82, 140] from Operation: 4*35=140 Current State: 58:[82, 140], Operations: ['21+14=35', '4*35=140'] Exploring Operation: 140-82=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[21, 14, 82, 4], Operations: [] Exploring Operation: 82-21=61, Resulting Numbers: [14, 4, 61] Generated Node #0,0: 58:[14, 4, 61] Operation: 82-21=61 Exploring Operation: 82-14=68, Resulting Numbers: [21, 4, 68] Generated Node #0,1: 58:[21, 4, 68] Operation: 82-14=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[14, 4, 61], Operations: ['82-21=61'] Exploring Operation: 14*4=56, Resulting Numbers: [61, 56] Generated Node #0,0,0: 58:[61, 56] Operation: 14*4=56 Exploring Operation: 14-4=10, Resulting Numbers: [61, 10] Generated Node #0,0,1: 58:[61, 10] Operation: 14-4=10 Moving to Node #0,0,0 Current State: 58:[61, 56], Operations: ['82-21=61', '14*4=56'] Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 61+56=117, Resulting Numbers: [117] 117,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[61, 10], Operations: ['82-21=61', '14-4=10'] Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,58 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[21, 4, 68], Operations: ['82-14=68'] Exploring Operation: 68-21=47, Resulting Numbers: [4, 47] Generated Node #0,1,0: 58:[4, 47] Operation: 68-21=47 Exploring Operation: 21+4=25, Resulting Numbers: [68, 25] Generated Node #0,1,1: 58:[68, 25] Operation: 21+4=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[4, 47], Operations: ['82-14=68', '68-21=47'] Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,58 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[68, 25], Operations: ['82-14=68', '21+4=25'] Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,58 unequal: No Solution Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 49, 6, 97, 38 ]
80
[ "49+6=55", "97+38=135", "135-55=80" ]
Current State: 80:[49, 6, 97, 38], Operations: [] Exploring Operation: 49+6=55, Resulting Numbers: [97, 38, 55] Generated Node #2: [97, 38, 55] from Operation: 49+6=55 Current State: 80:[97, 38, 55], Operations: ['49+6=55'] Exploring Operation: 97+38=135, Resulting Numbers: [55, 135] Generated Node #3: [55, 135] from Operation: 97+38=135 Current State: 80:[55, 135], Operations: ['49+6=55', '97+38=135'] Exploring Operation: 135-55=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[49, 6, 97, 38], Operations: [] Exploring Operation: 97-6=91, Resulting Numbers: [49, 38, 91] Generated Node #0,0: 80:[49, 38, 91] Operation: 97-6=91 Exploring Operation: 49-38=11, Resulting Numbers: [6, 97, 11] Generated Node #0,1: 80:[6, 97, 11] Operation: 49-38=11 Exploring Operation: 49-6=43, Resulting Numbers: [97, 38, 43] Generated Node #0,2: 80:[97, 38, 43] Operation: 49-6=43 Exploring Operation: 97-49=48, Resulting Numbers: [6, 38, 48] Generated Node #0,3: 80:[6, 38, 48] Operation: 97-49=48 Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[6, 38, 48], Operations: ['97-49=48'] Exploring Operation: 48-6=42, Resulting Numbers: [38, 42] Generated Node #0,3,0: 80:[38, 42] Operation: 48-6=42 Exploring Operation: 48-38=10, Resulting Numbers: [6, 10] Generated Node #0,3,1: 80:[6, 10] Operation: 48-38=10 Exploring Operation: 48/6=8, Resulting Numbers: [38, 8] Generated Node #0,3,2: 80:[38, 8] Operation: 48/6=8 Exploring Operation: 38+48=86, Resulting Numbers: [6, 86] Generated Node #0,3,3: 80:[6, 86] Operation: 38+48=86 Moving to Node #0,3,1 Current State: 80:[6, 10], Operations: ['97-49=48', '48-38=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[38, 8], Operations: ['97-49=48', '48/6=8'] Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[38, 42], Operations: ['97-49=48', '48-6=42'] Exploring Operation: 38*42=1596, Resulting Numbers: [1596] 1596,80 unequal: No Solution Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[49, 6, 97, 38], Operations: [] Exploring Operation: 97-49=48, Resulting Numbers: [6, 38, 48] Generated Node #0,3: 80:[6, 38, 48] Operation: 97-49=48 Moving to Node #0,3 Current State: 80:[6, 38, 48], Operations: ['97-49=48'] Exploring Operation: 48-6=42, Resulting Numbers: [38, 42] Generated Node #0,3,0: 80:[38, 42] Operation: 48-6=42 Moving to Node #0,3,0 Current State: 80:[38, 42], Operations: ['97-49=48', '48-6=42'] Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 14, 64, 55, 3 ]
26
[ "14+64=78", "55-3=52", "78-52=26" ]
Current State: 26:[14, 64, 55, 3], Operations: [] Exploring Operation: 14+64=78, Resulting Numbers: [55, 3, 78] Generated Node #2: [55, 3, 78] from Operation: 14+64=78 Current State: 26:[55, 3, 78], Operations: ['14+64=78'] Exploring Operation: 55-3=52, Resulting Numbers: [78, 52] Generated Node #3: [78, 52] from Operation: 55-3=52 Current State: 26:[78, 52], Operations: ['14+64=78', '55-3=52'] Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[14, 64, 55, 3], Operations: [] Exploring Operation: 55-3=52, Resulting Numbers: [14, 64, 52] Generated Node #0,0: 26:[14, 64, 52] Operation: 55-3=52 Exploring Operation: 55-14=41, Resulting Numbers: [64, 3, 41] Generated Node #0,1: 26:[64, 3, 41] Operation: 55-14=41 Exploring Operation: 64-14=50, Resulting Numbers: [55, 3, 50] Generated Node #0,2: 26:[55, 3, 50] Operation: 64-14=50 Exploring Operation: 64-3=61, Resulting Numbers: [14, 55, 61] Generated Node #0,3: 26:[14, 55, 61] Operation: 64-3=61 Exploring Operation: 64-55=9, Resulting Numbers: [14, 3, 9] Generated Node #0,4: 26:[14, 3, 9] Operation: 64-55=9 Start Sub Search at level 1: Moving to Node #0,4 Current State: 26:[14, 3, 9], Operations: ['64-55=9'] Exploring Operation: 14-9=5, Resulting Numbers: [3, 5] Generated Node #0,4,0: 26:[3, 5] Operation: 14-9=5 Exploring Operation: 9/3=3, Resulting Numbers: [14, 3] Generated Node #0,4,1: 26:[14, 3] Operation: 9/3=3 Exploring Operation: 3+9=12, Resulting Numbers: [14, 12] Generated Node #0,4,2: 26:[14, 12] Operation: 3+9=12 Exploring Operation: 3*9=27, Resulting Numbers: [14, 27] Generated Node #0,4,3: 26:[14, 27] Operation: 3*9=27 Exploring Operation: 14+9=23, Resulting Numbers: [3, 23] Generated Node #0,4,4: 26:[3, 23] Operation: 14+9=23 Moving to Node #0,4,1 Current State: 26:[14, 3], Operations: ['64-55=9', '9/3=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,26 unequal: No Solution Moving to Node #0,4,3 Current State: 26:[14, 27], Operations: ['64-55=9', '3*9=27'] Exploring Operation: 14*27=378, Resulting Numbers: [378] 378,26 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,26 unequal: No Solution Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,26 unequal: No Solution Moving to Node #0,4,2 Current State: 26:[14, 12], Operations: ['64-55=9', '3+9=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[14, 64, 55, 3], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [14, 3, 9] Generated Node #0,4: 26:[14, 3, 9] Operation: 64-55=9 Moving to Node #0,4 Current State: 26:[14, 3, 9], Operations: ['64-55=9'] Exploring Operation: 3+9=12, Resulting Numbers: [14, 12] Generated Node #0,4,2: 26:[14, 12] Operation: 3+9=12 Moving to Node #0,4,2 Current State: 26:[14, 12], Operations: ['64-55=9', '3+9=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 86, 45, 35, 16 ]
47
[ "86-16=70", "70/35=2", "45+2=47" ]
Current State: 47:[86, 45, 35, 16], Operations: [] Exploring Operation: 86-16=70, Resulting Numbers: [45, 35, 70] Generated Node #2: [45, 35, 70] from Operation: 86-16=70 Current State: 47:[45, 35, 70], Operations: ['86-16=70'] Exploring Operation: 70/35=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 70/35=2 Current State: 47:[45, 2], Operations: ['86-16=70', '70/35=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[86, 45, 35, 16], Operations: [] Exploring Operation: 86-16=70, Resulting Numbers: [45, 35, 70] Generated Node #0,0: 47:[45, 35, 70] Operation: 86-16=70 Exploring Operation: 86-35=51, Resulting Numbers: [45, 16, 51] Generated Node #0,1: 47:[45, 16, 51] Operation: 86-35=51 Moving to Node #0,0 Current State: 47:[45, 35, 70], Operations: ['86-16=70'] Exploring Operation: 70-35=35, Resulting Numbers: [45, 35] Generated Node #0,0,0: 47:[45, 35] Operation: 70-35=35 Exploring Operation: 70-45=25, Resulting Numbers: [35, 25] Generated Node #0,0,1: 47:[35, 25] Operation: 70-45=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[45, 35], Operations: ['86-16=70', '70-35=35'] Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 45+35=80, Resulting Numbers: [80] 80,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,1 Current State: 47:[35, 25], Operations: ['86-16=70', '70-45=25'] Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,47 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,47 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: 47:[45, 16, 51], Operations: ['86-35=51'] Exploring Operation: 51-16=35, Resulting Numbers: [45, 35] Generated Node #0,1,0: 47:[45, 35] Operation: 51-16=35 Exploring Operation: 45+16=61, Resulting Numbers: [51, 61] Generated Node #0,1,1: 47:[51, 61] Operation: 45+16=61 Moving to Node #0,1,0 Current State: 47:[45, 35], Operations: ['86-35=51', '51-16=35'] Exploring Operation: 45+35=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[51, 61], Operations: ['86-35=51', '45+16=61'] Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 51+61=112, Resulting Numbers: [112] 112,47 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 65, 68, 8, 83 ]
27
[ "65+68=133", "83+133=216", "216/8=27" ]
Current State: 27:[65, 68, 8, 83], Operations: [] Exploring Operation: 65+68=133, Resulting Numbers: [8, 83, 133] Generated Node #2: [8, 83, 133] from Operation: 65+68=133 Current State: 27:[8, 83, 133], Operations: ['65+68=133'] Exploring Operation: 83+133=216, Resulting Numbers: [8, 216] Generated Node #3: [8, 216] from Operation: 83+133=216 Current State: 27:[8, 216], Operations: ['65+68=133', '83+133=216'] Exploring Operation: 216/8=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[65, 68, 8, 83], Operations: [] Exploring Operation: 68-8=60, Resulting Numbers: [65, 83, 60] Generated Node #0,0: 27:[65, 83, 60] Operation: 68-8=60 Exploring Operation: 83-68=15, Resulting Numbers: [65, 8, 15] Generated Node #0,1: 27:[65, 8, 15] Operation: 83-68=15 Exploring Operation: 65-8=57, Resulting Numbers: [68, 83, 57] Generated Node #0,2: 27:[68, 83, 57] Operation: 65-8=57 Exploring Operation: 83-65=18, Resulting Numbers: [68, 8, 18] Generated Node #0,3: 27:[68, 8, 18] Operation: 83-65=18 Exploring Operation: 68-65=3, Resulting Numbers: [8, 83, 3] Generated Node #0,4: 27:[8, 83, 3] Operation: 68-65=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[65, 8, 15], Operations: ['83-68=15'] Exploring Operation: 8+15=23, Resulting Numbers: [65, 23] Generated Node #0,1,0: 27:[65, 23] Operation: 8+15=23 Exploring Operation: 65+8=73, Resulting Numbers: [15, 73] Generated Node #0,1,1: 27:[15, 73] Operation: 65+8=73 Exploring Operation: 65-15=50, Resulting Numbers: [8, 50] Generated Node #0,1,2: 27:[8, 50] Operation: 65-15=50 Exploring Operation: 15-8=7, Resulting Numbers: [65, 7] Generated Node #0,1,3: 27:[65, 7] Operation: 15-8=7 Exploring Operation: 65-8=57, Resulting Numbers: [15, 57] Generated Node #0,1,4: 27:[15, 57] Operation: 65-8=57 Moving to Node #0,1,2 Current State: 27:[8, 50], Operations: ['83-68=15', '65-15=50'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 8*50=400, Resulting Numbers: [400] 400,27 unequal: No Solution Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,27 unequal: No Solution Moving to Node #0,1,4 Current State: 27:[15, 57], Operations: ['83-68=15', '65-8=57'] Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 15*57=855, Resulting Numbers: [855] 855,27 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[65, 7], Operations: ['83-68=15', '15-8=7'] Exploring Operation: 65+7=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 65*7=455, Resulting Numbers: [455] 455,27 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[65, 23], Operations: ['83-68=15', '8+15=23'] Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,27 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[15, 73], Operations: ['83-68=15', '65+8=73'] Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 15*73=1095, Resulting Numbers: [1095] 1095,27 unequal: No Solution Exploring Operation: 15+73=88, Resulting Numbers: [88] 88,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[68, 8, 18], Operations: ['83-65=18'] Exploring Operation: 68-18=50, Resulting Numbers: [8, 50] Generated Node #0,3,0: 27:[8, 50] Operation: 68-18=50 Exploring Operation: 18-8=10, Resulting Numbers: [68, 10] Generated Node #0,3,1: 27:[68, 10] Operation: 18-8=10 Exploring Operation: 8+18=26, Resulting Numbers: [68, 26] Generated Node #0,3,2: 27:[68, 26] Operation: 8+18=26 Exploring Operation: 68+8=76, Resulting Numbers: [18, 76] Generated Node #0,3,3: 27:[18, 76] Operation: 68+8=76 Exploring Operation: 68-8=60, Resulting Numbers: [18, 60] Generated Node #0,3,4: 27:[18, 60] Operation: 68-8=60 Moving to Node #0,3,0 Current State: 27:[8, 50], Operations: ['83-65=18', '68-18=50'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 8*50=400, Resulting Numbers: [400] 400,27 unequal: No Solution Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[68, 26], Operations: ['83-65=18', '8+18=26'] Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 68*26=1768, Resulting Numbers: [1768] 1768,27 unequal: No Solution Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,27 unequal: No Solution Moving to Node #0,3,1 Current State: 27:[68, 10], Operations: ['83-65=18', '18-8=10'] Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,27 unequal: No Solution Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,27 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,27 unequal: No Solution Moving to Node #0,3,4 Current State: 27:[18, 60], Operations: ['83-65=18', '68-8=60'] Exploring Operation: 18+60=78, Resulting Numbers: [78] 78,27 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 18*60=1080, Resulting Numbers: [1080] 1080,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[18, 76], Operations: ['83-65=18', '68+8=76'] Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 18+76=94, Resulting Numbers: [94] 94,27 unequal: No Solution Exploring Operation: 18*76=1368, Resulting Numbers: [1368] 1368,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,4 Current State: 27:[8, 83, 3], Operations: ['68-65=3'] Exploring Operation: 8*3=24, Resulting Numbers: [83, 24] Generated Node #0,4,0: 27:[83, 24] Operation: 8*3=24 Exploring Operation: 83-3=80, Resulting Numbers: [8, 80] Generated Node #0,4,1: 27:[8, 80] Operation: 83-3=80 Exploring Operation: 83-8=75, Resulting Numbers: [3, 75] Generated Node #0,4,2: 27:[3, 75] Operation: 83-8=75 Exploring Operation: 8-3=5, Resulting Numbers: [83, 5] Generated Node #0,4,3: 27:[83, 5] Operation: 8-3=5 Exploring Operation: 8+3=11, Resulting Numbers: [83, 11] Generated Node #0,4,4: 27:[83, 11] Operation: 8+3=11 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 27:[3, 75], Operations: ['68-65=3', '83-8=75'] Exploring Operation: 3*75=225, Resulting Numbers: [225] 225,27 unequal: No Solution Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,27 unequal: No Solution No 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: 27:[8, 80], Operations: ['68-65=3', '83-3=80'] Exploring Operation: 8+80=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 8*80=640, Resulting Numbers: [640] 640,27 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,27 unequal: No Solution No 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: 27:[83, 5], Operations: ['68-65=3', '8-3=5'] Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,27 unequal: No Solution Exploring Operation: 83*5=415, Resulting Numbers: [415] 415,27 unequal: No Solution No 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: 27:[83, 11], Operations: ['68-65=3', '8+3=11'] Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,27 unequal: No Solution Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,27 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,27 unequal: No Solution No 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: 27:[83, 24], Operations: ['68-65=3', '8*3=24'] Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,27 unequal: No Solution Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,27 unequal: No Solution Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,27 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: 27:[65, 83, 60], Operations: ['68-8=60'] Exploring Operation: 65+83=148, Resulting Numbers: [60, 148] Generated Node #0,0,0: 27:[60, 148] Operation: 65+83=148 Exploring Operation: 65+60=125, Resulting Numbers: [83, 125] Generated Node #0,0,1: 27:[83, 125] Operation: 65+60=125 Exploring Operation: 83-60=23, Resulting Numbers: [65, 23] Generated Node #0,0,2: 27:[65, 23] Operation: 83-60=23 Exploring Operation: 83-65=18, Resulting Numbers: [60, 18] Generated Node #0,0,3: 27:[60, 18] Operation: 83-65=18 Exploring Operation: 65-60=5, Resulting Numbers: [83, 5] Generated Node #0,0,4: 27:[83, 5] Operation: 65-60=5 Moving to Node #0,0,2 Current State: 27:[65, 23], Operations: ['68-8=60', '83-60=23'] Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[60, 18], Operations: ['68-8=60', '83-65=18'] Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,27 unequal: No Solution Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,27 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,27 unequal: No Solution Moving to Node #0,0,4 Current State: 27:[83, 5], Operations: ['68-8=60', '65-60=5'] Exploring Operation: 83*5=415, Resulting Numbers: [415] 415,27 unequal: No Solution Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[60, 148], Operations: ['68-8=60', '65+83=148'] Exploring Operation: 60+148=208, Resulting Numbers: [208] 208,27 unequal: No Solution Exploring Operation: 148-60=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 60*148=8880, Resulting Numbers: [8880] 8880,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[83, 125], Operations: ['68-8=60', '65+60=125'] Exploring Operation: 83*125=10375, Resulting Numbers: [10375] 10375,27 unequal: No Solution Exploring Operation: 125-83=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 83+125=208, Resulting Numbers: [208] 208,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[68, 83, 57], Operations: ['65-8=57'] Exploring Operation: 68-57=11, Resulting Numbers: [83, 11] Generated Node #0,2,0: 27:[83, 11] Operation: 68-57=11 Exploring Operation: 83-68=15, Resulting Numbers: [57, 15] Generated Node #0,2,1: 27:[57, 15] Operation: 83-68=15 Exploring Operation: 68+57=125, Resulting Numbers: [83, 125] Generated Node #0,2,2: 27:[83, 125] Operation: 68+57=125 Exploring Operation: 68+83=151, Resulting Numbers: [57, 151] Generated Node #0,2,3: 27:[57, 151] Operation: 68+83=151 Exploring Operation: 83-57=26, Resulting Numbers: [68, 26] Generated Node #0,2,4: 27:[68, 26] Operation: 83-57=26 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 27:[57, 15], Operations: ['65-8=57', '83-68=15'] Exploring Operation: 57*15=855, Resulting Numbers: [855] 855,27 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 57+15=72, Resulting Numbers: [72] 72,27 unequal: No Solution No 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: 27:[68, 26], Operations: ['65-8=57', '83-57=26'] Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,27 unequal: No Solution Exploring Operation: 68*26=1768, Resulting Numbers: [1768] 1768,27 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,27 unequal: No Solution No 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: 27:[83, 11], Operations: ['65-8=57', '68-57=11'] Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,27 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,27 unequal: No Solution No 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: 27:[83, 125], Operations: ['65-8=57', '68+57=125'] Exploring Operation: 83*125=10375, Resulting Numbers: [10375] 10375,27 unequal: No Solution Exploring Operation: 125-83=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 83+125=208, Resulting Numbers: [208] 208,27 unequal: No Solution No 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: 27:[57, 151], Operations: ['65-8=57', '68+83=151'] Exploring Operation: 57*151=8607, Resulting Numbers: [8607] 8607,27 unequal: No Solution Exploring Operation: 57+151=208, Resulting Numbers: [208] 208,27 unequal: No Solution Exploring Operation: 151-57=94, Resulting Numbers: [94] 94,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 44, 45, 14, 75 ]
61
[ "45-44=1", "75-14=61", "1*61=61" ]
Current State: 61:[44, 45, 14, 75], Operations: [] Exploring Operation: 45-44=1, Resulting Numbers: [14, 75, 1] Generated Node #2: [14, 75, 1] from Operation: 45-44=1 Current State: 61:[14, 75, 1], Operations: ['45-44=1'] Exploring Operation: 75-14=61, Resulting Numbers: [1, 61] Generated Node #3: [1, 61] from Operation: 75-14=61 Current State: 61:[1, 61], Operations: ['45-44=1', '75-14=61'] Exploring Operation: 1*61=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[44, 45, 14, 75], Operations: [] Exploring Operation: 44+14=58, Resulting Numbers: [45, 75, 58] Generated Node #0,0: 61:[45, 75, 58] Operation: 44+14=58 Exploring Operation: 45-14=31, Resulting Numbers: [44, 75, 31] Generated Node #0,1: 61:[44, 75, 31] Operation: 45-14=31 Exploring Operation: 75-14=61, Resulting Numbers: [44, 45, 61] Generated Node #0,2: 61:[44, 45, 61] Operation: 75-14=61 Exploring Operation: 45+14=59, Resulting Numbers: [44, 75, 59] Generated Node #0,3: 61:[44, 75, 59] Operation: 45+14=59 Exploring Operation: 44-14=30, Resulting Numbers: [45, 75, 30] Generated Node #0,4: 61:[45, 75, 30] Operation: 44-14=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[45, 75, 58], Operations: ['44+14=58'] Exploring Operation: 58-45=13, Resulting Numbers: [75, 13] Generated Node #0,0,0: 61:[75, 13] Operation: 58-45=13 Exploring Operation: 45+58=103, Resulting Numbers: [75, 103] Generated Node #0,0,1: 61:[75, 103] Operation: 45+58=103 Exploring Operation: 75-58=17, Resulting Numbers: [45, 17] Generated Node #0,0,2: 61:[45, 17] Operation: 75-58=17 Exploring Operation: 75-45=30, Resulting Numbers: [58, 30] Generated Node #0,0,3: 61:[58, 30] Operation: 75-45=30 Exploring Operation: 45+75=120, Resulting Numbers: [58, 120] Generated Node #0,0,4: 61:[58, 120] Operation: 45+75=120 Moving to Node #0,0,3 Current State: 61:[58, 30], Operations: ['44+14=58', '75-45=30'] Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 58*30=1740, Resulting Numbers: [1740] 1740,61 unequal: No Solution Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[75, 103], Operations: ['44+14=58', '45+58=103'] Exploring Operation: 103-75=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 75*103=7725, Resulting Numbers: [7725] 7725,61 unequal: No Solution Exploring Operation: 75+103=178, Resulting Numbers: [178] 178,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[45, 17], Operations: ['44+14=58', '75-58=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,61 unequal: No Solution Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[75, 13], Operations: ['44+14=58', '58-45=13'] Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,61 unequal: No Solution Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,61 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[58, 120], Operations: ['44+14=58', '45+75=120'] Exploring Operation: 58+120=178, Resulting Numbers: [178] 178,61 unequal: No Solution Exploring Operation: 120-58=62, Resulting Numbers: [62] 62,61 unequal: No Solution Exploring Operation: 58*120=6960, Resulting Numbers: [6960] 6960,61 unequal: No Solution No 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: 61:[44, 45, 61], Operations: ['75-14=61'] Exploring Operation: 61-44=17, Resulting Numbers: [45, 17] Generated Node #0,2,0: 61:[45, 17] Operation: 61-44=17 Exploring Operation: 45+61=106, Resulting Numbers: [44, 106] Generated Node #0,2,1: 61:[44, 106] Operation: 45+61=106 Exploring Operation: 44+45=89, Resulting Numbers: [61, 89] Generated Node #0,2,2: 61:[61, 89] Operation: 44+45=89 Exploring Operation: 44+61=105, Resulting Numbers: [45, 105] Generated Node #0,2,3: 61:[45, 105] Operation: 44+61=105 Exploring Operation: 45-44=1, Resulting Numbers: [61, 1] Generated Node #0,2,4: 61:[61, 1] Operation: 45-44=1 Moving to Node #0,2,2 Current State: 61:[61, 89], Operations: ['75-14=61', '44+45=89'] Exploring Operation: 61+89=150, Resulting Numbers: [150] 150,61 unequal: No Solution Exploring Operation: 89-61=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 61*89=5429, Resulting Numbers: [5429] 5429,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[45, 105], Operations: ['75-14=61', '44+61=105'] Exploring Operation: 45+105=150, Resulting Numbers: [150] 150,61 unequal: No Solution Exploring Operation: 45*105=4725, Resulting Numbers: [4725] 4725,61 unequal: No Solution Exploring Operation: 105-45=60, Resulting Numbers: [60] 60,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[45, 17], Operations: ['75-14=61', '61-44=17'] Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,61 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[61, 1], Operations: ['75-14=61', '45-44=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[44, 45, 14, 75], Operations: [] Exploring Operation: 75-14=61, Resulting Numbers: [44, 45, 61] Generated Node #0,2: 61:[44, 45, 61] Operation: 75-14=61 Moving to Node #0,2 Current State: 61:[44, 45, 61], Operations: ['75-14=61'] Exploring Operation: 45-44=1, Resulting Numbers: [61, 1] Generated Node #0,2,4: 61:[61, 1] Operation: 45-44=1 Moving to Node #0,2,4 Current State: 61:[61, 1], Operations: ['75-14=61', '45-44=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_5
mult_heuristic
[ 68, 9, 63, 5 ]
15
[ "63/9=7", "68+7=75", "75/5=15" ]
Current State: 15:[68, 9, 63, 5], Operations: [] Exploring Operation: 63/9=7, Resulting Numbers: [68, 5, 7] Generated Node #2: [68, 5, 7] from Operation: 63/9=7 Current State: 15:[68, 5, 7], Operations: ['63/9=7'] Exploring Operation: 68+7=75, Resulting Numbers: [5, 75] Generated Node #3: [5, 75] from Operation: 68+7=75 Current State: 15:[5, 75], Operations: ['63/9=7', '68+7=75'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[68, 9, 63, 5], Operations: [] Exploring Operation: 63/9=7, Resulting Numbers: [68, 5, 7] Generated Node #0,0: 15:[68, 5, 7] Operation: 63/9=7 Exploring Operation: 68-63=5, Resulting Numbers: [9, 5, 5] Generated Node #0,1: 15:[9, 5, 5] Operation: 68-63=5 Exploring Operation: 68-9=59, Resulting Numbers: [63, 5, 59] Generated Node #0,2: 15:[63, 5, 59] Operation: 68-9=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[9, 5, 5], Operations: ['68-63=5'] Exploring Operation: 9+5=14, Resulting Numbers: [5, 14] Generated Node #0,1,0: 15:[5, 14] Operation: 9+5=14 Exploring Operation: 9+5=14, Resulting Numbers: [5, 14] Generated Node #0,1,1: 15:[5, 14] Operation: 9+5=14 Exploring Operation: 9-5=4, Resulting Numbers: [5, 4] Generated Node #0,1,2: 15:[5, 4] Operation: 9-5=4 Moving to Node #0,1,0 Current State: 15:[5, 14], Operations: ['68-63=5', '9+5=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[5, 14], Operations: ['68-63=5', '9+5=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[5, 4], Operations: ['68-63=5', '9-5=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[68, 5, 7], Operations: ['63/9=7'] Exploring Operation: 68-5=63, Resulting Numbers: [7, 63] Generated Node #0,0,0: 15:[7, 63] Operation: 68-5=63 Exploring Operation: 7-5=2, Resulting Numbers: [68, 2] Generated Node #0,0,1: 15:[68, 2] Operation: 7-5=2 Exploring Operation: 68-7=61, Resulting Numbers: [5, 61] Generated Node #0,0,2: 15:[5, 61] Operation: 68-7=61 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 15:[5, 61], Operations: ['63/9=7', '68-7=61'] Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[7, 63], Operations: ['63/9=7', '68-5=63'] Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[68, 2], Operations: ['63/9=7', '7-5=2'] Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,15 unequal: No Solution Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,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,2 Current State: 15:[63, 5, 59], Operations: ['68-9=59'] Exploring Operation: 63-59=4, Resulting Numbers: [5, 4] Generated Node #0,2,0: 15:[5, 4] Operation: 63-59=4 Exploring Operation: 59-5=54, Resulting Numbers: [63, 54] Generated Node #0,2,1: 15:[63, 54] Operation: 59-5=54 Exploring Operation: 63-5=58, Resulting Numbers: [59, 58] Generated Node #0,2,2: 15:[59, 58] Operation: 63-5=58 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[5, 4], Operations: ['68-9=59', '63-59=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,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,2,1 Current State: 15:[63, 54], Operations: ['68-9=59', '59-5=54'] Exploring Operation: 63*54=3402, Resulting Numbers: [3402] 3402,15 unequal: No Solution Exploring Operation: 63+54=117, Resulting Numbers: [117] 117,15 unequal: No Solution Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,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,2,2 Current State: 15:[59, 58], Operations: ['68-9=59', '63-5=58'] Exploring Operation: 59*58=3422, Resulting Numbers: [3422] 3422,15 unequal: No Solution Exploring Operation: 59+58=117, Resulting Numbers: [117] 117,15 unequal: No Solution Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 2, 48, 33, 93 ]
72
[ "93-33=60", "2*60=120", "120-48=72" ]
Current State: 72:[2, 48, 33, 93], Operations: [] Exploring Operation: 93-33=60, Resulting Numbers: [2, 48, 60] Generated Node #2: [2, 48, 60] from Operation: 93-33=60 Current State: 72:[2, 48, 60], Operations: ['93-33=60'] Exploring Operation: 2*60=120, Resulting Numbers: [48, 120] Generated Node #3: [48, 120] from Operation: 2*60=120 Current State: 72:[48, 120], Operations: ['93-33=60', '2*60=120'] Exploring Operation: 120-48=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[2, 48, 33, 93], Operations: [] Exploring Operation: 93-48=45, Resulting Numbers: [2, 33, 45] Generated Node #0,0: 72:[2, 33, 45] Operation: 93-48=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[2, 33, 45], Operations: ['93-48=45'] Exploring Operation: 45-33=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 72:[2, 12] Operation: 45-33=12 Moving to Node #0,0,0 Current State: 72:[2, 12], Operations: ['93-48=45', '45-33=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,72 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
[ 98, 55, 91, 17 ]
31
[ "98-55=43", "91-17=74", "74-43=31" ]
Current State: 31:[98, 55, 91, 17], Operations: [] Exploring Operation: 98-55=43, Resulting Numbers: [91, 17, 43] Generated Node #2: [91, 17, 43] from Operation: 98-55=43 Current State: 31:[91, 17, 43], Operations: ['98-55=43'] Exploring Operation: 91-17=74, Resulting Numbers: [43, 74] Generated Node #3: [43, 74] from Operation: 91-17=74 Current State: 31:[43, 74], Operations: ['98-55=43', '91-17=74'] Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[98, 55, 91, 17], Operations: [] Exploring Operation: 98-17=81, Resulting Numbers: [55, 91, 81] Generated Node #0,0: 31:[55, 91, 81] Operation: 98-17=81 Exploring Operation: 98-55=43, Resulting Numbers: [91, 17, 43] Generated Node #0,1: 31:[91, 17, 43] Operation: 98-55=43 Exploring Operation: 98-91=7, Resulting Numbers: [55, 17, 7] Generated Node #0,2: 31:[55, 17, 7] Operation: 98-91=7 Exploring Operation: 55-17=38, Resulting Numbers: [98, 91, 38] Generated Node #0,3: 31:[98, 91, 38] Operation: 55-17=38 Exploring Operation: 91-55=36, Resulting Numbers: [98, 17, 36] Generated Node #0,4: 31:[98, 17, 36] Operation: 91-55=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[55, 17, 7], Operations: ['98-91=7'] Exploring Operation: 17+7=24, Resulting Numbers: [55, 24] Generated Node #0,2,0: 31:[55, 24] Operation: 17+7=24 Exploring Operation: 55+7=62, Resulting Numbers: [17, 62] Generated Node #0,2,1: 31:[17, 62] Operation: 55+7=62 Exploring Operation: 55-7=48, Resulting Numbers: [17, 48] Generated Node #0,2,2: 31:[17, 48] Operation: 55-7=48 Exploring Operation: 55-17=38, Resulting Numbers: [7, 38] Generated Node #0,2,3: 31:[7, 38] Operation: 55-17=38 Exploring Operation: 17-7=10, Resulting Numbers: [55, 10] Generated Node #0,2,4: 31:[55, 10] Operation: 17-7=10 Moving to Node #0,2,0 Current State: 31:[55, 24], Operations: ['98-91=7', '17+7=24'] Exploring Operation: 55+24=79, Resulting Numbers: [79] 79,31 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[98, 55, 91, 17], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [55, 17, 7] Generated Node #0,2: 31:[55, 17, 7] Operation: 98-91=7 Moving to Node #0,2 Current State: 31:[55, 17, 7], Operations: ['98-91=7'] Exploring Operation: 17+7=24, Resulting Numbers: [55, 24] Generated Node #0,2,0: 31:[55, 24] Operation: 17+7=24 Moving to Node #0,2,0 Current State: 31:[55, 24], Operations: ['98-91=7', '17+7=24'] Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 4, 3, 44, 4 ]
77
[ "4+3=7", "44/4=11", "7*11=77" ]
Current State: 77:[4, 3, 44, 4], Operations: [] Exploring Operation: 4+3=7, Resulting Numbers: [44, 7] Generated Node #2: [44, 7] from Operation: 4+3=7 Current State: 77:[44, 7], Operations: ['4+3=7'] Exploring Operation: 44/4=11, Resulting Numbers: [7, 11] Generated Node #3: [7, 11] from Operation: 44/4=11 Current State: 77:[7, 11], Operations: ['4+3=7', '44/4=11'] Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[4, 3, 44, 4], Operations: [] Exploring Operation: 44/4=11, Resulting Numbers: [4, 3, 11] Generated Node #0,0: 77:[4, 3, 11] Operation: 44/4=11 Exploring Operation: 4+44=48, Resulting Numbers: [3, 4, 48] Generated Node #0,1: 77:[3, 4, 48] Operation: 4+44=48 Exploring Operation: 44/4=11, Resulting Numbers: [3, 4, 11] Generated Node #0,2: 77:[3, 4, 11] Operation: 44/4=11 Exploring Operation: 4+3=7, Resulting Numbers: [44, 4, 7] Generated Node #0,3: 77:[44, 4, 7] Operation: 4+3=7 Moving to Node #0,0 Current State: 77:[4, 3, 11], Operations: ['44/4=11'] Exploring Operation: 11-3=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 77:[4, 8] Operation: 11-3=8 Exploring Operation: 11-4=7, Resulting Numbers: [3, 7] Generated Node #0,0,1: 77:[3, 7] Operation: 11-4=7 Exploring Operation: 4*3=12, Resulting Numbers: [11, 12] Generated Node #0,0,2: 77:[11, 12] Operation: 4*3=12 Exploring Operation: 4+3=7, Resulting Numbers: [11, 7] Generated Node #0,0,3: 77:[11, 7] Operation: 4+3=7 Moving to Node #0,2 Current State: 77:[3, 4, 11], Operations: ['44/4=11'] Exploring Operation: 11-3=8, Resulting Numbers: [4, 8] Generated Node #0,2,0: 77:[4, 8] Operation: 11-3=8 Exploring Operation: 11-4=7, Resulting Numbers: [3, 7] Generated Node #0,2,1: 77:[3, 7] Operation: 11-4=7 Exploring Operation: 3*4=12, Resulting Numbers: [11, 12] Generated Node #0,2,2: 77:[11, 12] Operation: 3*4=12 Exploring Operation: 3+4=7, Resulting Numbers: [11, 7] Generated Node #0,2,3: 77:[11, 7] Operation: 3+4=7 Moving to Node #0,3 Current State: 77:[44, 4, 7], Operations: ['4+3=7'] Exploring Operation: 44-4=40, Resulting Numbers: [7, 40] Generated Node #0,3,0: 77:[7, 40] Operation: 44-4=40 Exploring Operation: 44/4=11, Resulting Numbers: [7, 11] Generated Node #0,3,1: 77:[7, 11] Operation: 44/4=11 Exploring Operation: 44+4=48, Resulting Numbers: [7, 48] Generated Node #0,3,2: 77:[7, 48] Operation: 44+4=48 Exploring Operation: 44+7=51, Resulting Numbers: [4, 51] Generated Node #0,3,3: 77:[4, 51] Operation: 44+7=51 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 77:[7, 11], Operations: ['4+3=7', '44/4=11'] Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[4, 3, 44, 4], Operations: [] Exploring Operation: 4+3=7, Resulting Numbers: [44, 4, 7] Generated Node #0,3: 77:[44, 4, 7] Operation: 4+3=7 Moving to Node #0,3 Current State: 77:[44, 4, 7], Operations: ['4+3=7'] Exploring Operation: 44/4=11, Resulting Numbers: [7, 11] Generated Node #0,3,1: 77:[7, 11] Operation: 44/4=11 Moving to Node #0,3,1 Current State: 77:[7, 11], Operations: ['4+3=7', '44/4=11'] Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 42, 97, 35, 32 ]
52
[ "97-42=55", "35-32=3", "55-3=52" ]
Current State: 52:[42, 97, 35, 32], Operations: [] Exploring Operation: 97-42=55, Resulting Numbers: [35, 32, 55] Generated Node #2: [35, 32, 55] from Operation: 97-42=55 Current State: 52:[35, 32, 55], Operations: ['97-42=55'] Exploring Operation: 35-32=3, Resulting Numbers: [55, 3] Generated Node #3: [55, 3] from Operation: 35-32=3 Current State: 52:[55, 3], Operations: ['97-42=55', '35-32=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[42, 97, 35, 32], Operations: [] Exploring Operation: 97-42=55, Resulting Numbers: [35, 32, 55] Generated Node #0,0: 52:[35, 32, 55] Operation: 97-42=55 Moving to Node #0,0 Current State: 52:[35, 32, 55], Operations: ['97-42=55'] Exploring Operation: 35-32=3, Resulting Numbers: [55, 3] Generated Node #0,0,0: 52:[55, 3] Operation: 35-32=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[55, 3], Operations: ['97-42=55', '35-32=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[42, 97, 35, 32], Operations: [] Exploring Operation: 97-42=55, Resulting Numbers: [35, 32, 55] Generated Node #0,0: 52:[35, 32, 55] Operation: 97-42=55 Moving to Node #0,0 Current State: 52:[35, 32, 55], Operations: ['97-42=55'] Exploring Operation: 35-32=3, Resulting Numbers: [55, 3] Generated Node #0,0,0: 52:[55, 3] Operation: 35-32=3 Moving to Node #0,0,0 Current State: 52:[55, 3], Operations: ['97-42=55', '35-32=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 61, 78, 70, 38 ]
49
[ "78-61=17", "70-38=32", "17+32=49" ]
Current State: 49:[61, 78, 70, 38], Operations: [] Exploring Operation: 78-61=17, Resulting Numbers: [70, 38, 17] Generated Node #2: [70, 38, 17] from Operation: 78-61=17 Current State: 49:[70, 38, 17], Operations: ['78-61=17'] Exploring Operation: 70-38=32, Resulting Numbers: [17, 32] Generated Node #3: [17, 32] from Operation: 70-38=32 Current State: 49:[17, 32], Operations: ['78-61=17', '70-38=32'] Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[61, 78, 70, 38], Operations: [] Exploring Operation: 78-61=17, Resulting Numbers: [70, 38, 17] Generated Node #0,0: 49:[70, 38, 17] Operation: 78-61=17 Exploring Operation: 70-61=9, Resulting Numbers: [78, 38, 9] Generated Node #0,1: 49:[78, 38, 9] Operation: 70-61=9 Exploring Operation: 78-38=40, Resulting Numbers: [61, 70, 40] Generated Node #0,2: 49:[61, 70, 40] Operation: 78-38=40 Exploring Operation: 78-70=8, Resulting Numbers: [61, 38, 8] Generated Node #0,3: 49:[61, 38, 8] Operation: 78-70=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[61, 38, 8], Operations: ['78-70=8'] Exploring Operation: 61-8=53, Resulting Numbers: [38, 53] Generated Node #0,3,0: 49:[38, 53] Operation: 61-8=53 Exploring Operation: 61-38=23, Resulting Numbers: [8, 23] Generated Node #0,3,1: 49:[8, 23] Operation: 61-38=23 Exploring Operation: 61+8=69, Resulting Numbers: [38, 69] Generated Node #0,3,2: 49:[38, 69] Operation: 61+8=69 Exploring Operation: 38+8=46, Resulting Numbers: [61, 46] Generated Node #0,3,3: 49:[61, 46] Operation: 38+8=46 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 49:[38, 53], Operations: ['78-70=8', '61-8=53'] Exploring Operation: 38*53=2014, Resulting Numbers: [2014] 2014,49 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 49:[61, 46], Operations: ['78-70=8', '38+8=46'] Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 61*46=2806, Resulting Numbers: [2806] 2806,49 unequal: No Solution Exploring Operation: 61+46=107, Resulting Numbers: [107] 107,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 49:[8, 23], Operations: ['78-70=8', '61-38=23'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,49 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 49:[38, 69], Operations: ['78-70=8', '61+8=69'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,49 unequal: No Solution Exploring Operation: 38*69=2622, Resulting Numbers: [2622] 2622,49 unequal: No Solution Exploring Operation: 38+69=107, Resulting Numbers: [107] 107,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[70, 38, 17], Operations: ['78-61=17'] Exploring Operation: 70-38=32, Resulting Numbers: [17, 32] Generated Node #0,0,0: 49:[17, 32] Operation: 70-38=32 Exploring Operation: 70-17=53, Resulting Numbers: [38, 53] Generated Node #0,0,1: 49:[38, 53] Operation: 70-17=53 Exploring Operation: 38+17=55, Resulting Numbers: [70, 55] Generated Node #0,0,2: 49:[70, 55] Operation: 38+17=55 Exploring Operation: 38-17=21, Resulting Numbers: [70, 21] Generated Node #0,0,3: 49:[70, 21] Operation: 38-17=21 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[38, 53], Operations: ['78-61=17', '70-17=53'] Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 38*53=2014, Resulting Numbers: [2014] 2014,49 unequal: No Solution Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[17, 32], Operations: ['78-61=17', '70-38=32'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,49 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[61, 78, 70, 38], Operations: [] Exploring Operation: 78-61=17, Resulting Numbers: [70, 38, 17] Generated Node #0,0: 49:[70, 38, 17] Operation: 78-61=17 Moving to Node #0,0 Current State: 49:[70, 38, 17], Operations: ['78-61=17'] Exploring Operation: 70-38=32, Resulting Numbers: [17, 32] Generated Node #0,0,0: 49:[17, 32] Operation: 70-38=32 Moving to Node #0,0,0 Current State: 49:[17, 32], Operations: ['78-61=17', '70-38=32'] Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 3, 2, 86, 94 ]
26
[ "2*86=172", "172-94=78", "78/3=26" ]
Current State: 26:[3, 2, 86, 94], Operations: [] Exploring Operation: 2*86=172, Resulting Numbers: [3, 94, 172] Generated Node #2: [3, 94, 172] from Operation: 2*86=172 Current State: 26:[3, 94, 172], Operations: ['2*86=172'] Exploring Operation: 172-94=78, Resulting Numbers: [3, 78] Generated Node #3: [3, 78] from Operation: 172-94=78 Current State: 26:[3, 78], Operations: ['2*86=172', '172-94=78'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[3, 2, 86, 94], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [3, 94, 43] Generated Node #0,0: 26:[3, 94, 43] Operation: 86/2=43 Exploring Operation: 86-3=83, Resulting Numbers: [2, 94, 83] Generated Node #0,1: 26:[2, 94, 83] Operation: 86-3=83 Exploring Operation: 94-86=8, Resulting Numbers: [3, 2, 8] Generated Node #0,2: 26:[3, 2, 8] Operation: 94-86=8 Exploring Operation: 94/2=47, Resulting Numbers: [3, 86, 47] Generated Node #0,3: 26:[3, 86, 47] Operation: 94/2=47 Exploring Operation: 94-3=91, Resulting Numbers: [2, 86, 91] Generated Node #0,4: 26:[2, 86, 91] Operation: 94-3=91 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[3, 2, 8], Operations: ['94-86=8'] Exploring Operation: 8/2=4, Resulting Numbers: [3, 4] Generated Node #0,2,0: 26:[3, 4] Operation: 8/2=4 Exploring Operation: 3*8=24, Resulting Numbers: [2, 24] Generated Node #0,2,1: 26:[2, 24] Operation: 3*8=24 Exploring Operation: 8-3=5, Resulting Numbers: [2, 5] Generated Node #0,2,2: 26:[2, 5] Operation: 8-3=5 Exploring Operation: 3+8=11, Resulting Numbers: [2, 11] Generated Node #0,2,3: 26:[2, 11] Operation: 3+8=11 Exploring Operation: 2+8=10, Resulting Numbers: [3, 10] Generated Node #0,2,4: 26:[3, 10] Operation: 2+8=10 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 26:[2, 24], Operations: ['94-86=8', '3*8=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,26 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[3, 2, 86, 94], Operations: [] Exploring Operation: 94-86=8, Resulting Numbers: [3, 2, 8] Generated Node #0,2: 26:[3, 2, 8] Operation: 94-86=8 Moving to Node #0,2 Current State: 26:[3, 2, 8], Operations: ['94-86=8'] Exploring Operation: 3*8=24, Resulting Numbers: [2, 24] Generated Node #0,2,1: 26:[2, 24] Operation: 3*8=24 Moving to Node #0,2,1 Current State: 26:[2, 24], Operations: ['94-86=8', '3*8=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 68, 81, 72, 11 ]
36
[ "81-68=13", "13-11=2", "72/2=36" ]
Current State: 36:[68, 81, 72, 11], Operations: [] Exploring Operation: 81-68=13, Resulting Numbers: [72, 11, 13] Generated Node #2: [72, 11, 13] from Operation: 81-68=13 Current State: 36:[72, 11, 13], Operations: ['81-68=13'] Exploring Operation: 13-11=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 13-11=2 Current State: 36:[72, 2], Operations: ['81-68=13', '13-11=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[68, 81, 72, 11], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [81, 11, 4] Generated Node #0,0: 36:[81, 11, 4] Operation: 72-68=4 Exploring Operation: 81-72=9, Resulting Numbers: [68, 11, 9] Generated Node #0,1: 36:[68, 11, 9] Operation: 81-72=9 Exploring Operation: 81-68=13, Resulting Numbers: [72, 11, 13] Generated Node #0,2: 36:[72, 11, 13] Operation: 81-68=13 Moving to Node #0,1 Current State: 36:[68, 11, 9], Operations: ['81-72=9'] Exploring Operation: 11-9=2, Resulting Numbers: [68, 2] Generated Node #0,1,0: 36:[68, 2] Operation: 11-9=2 Exploring Operation: 68-11=57, Resulting Numbers: [9, 57] Generated Node #0,1,1: 36:[9, 57] Operation: 68-11=57 Exploring Operation: 68-9=59, Resulting Numbers: [11, 59] Generated Node #0,1,2: 36:[11, 59] Operation: 68-9=59 Moving to Node #0,2 Current State: 36:[72, 11, 13], Operations: ['81-68=13'] Exploring Operation: 13-11=2, Resulting Numbers: [72, 2] Generated Node #0,2,0: 36:[72, 2] Operation: 13-11=2 Exploring Operation: 72-13=59, Resulting Numbers: [11, 59] Generated Node #0,2,1: 36:[11, 59] Operation: 72-13=59 Exploring Operation: 72-11=61, Resulting Numbers: [13, 61] Generated Node #0,2,2: 36:[13, 61] Operation: 72-11=61 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[11, 59], Operations: ['81-68=13', '72-13=59'] Exploring Operation: 11+59=70, Resulting Numbers: [70] 70,36 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 11*59=649, Resulting Numbers: [649] 649,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[13, 61], Operations: ['81-68=13', '72-11=61'] Exploring Operation: 13+61=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 13*61=793, Resulting Numbers: [793] 793,36 unequal: No Solution Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[72, 2], Operations: ['81-68=13', '13-11=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[68, 81, 72, 11], Operations: [] Exploring Operation: 81-68=13, Resulting Numbers: [72, 11, 13] Generated Node #0,2: 36:[72, 11, 13] Operation: 81-68=13 Moving to Node #0,2 Current State: 36:[72, 11, 13], Operations: ['81-68=13'] Exploring Operation: 13-11=2, Resulting Numbers: [72, 2] Generated Node #0,2,0: 36:[72, 2] Operation: 13-11=2 Moving to Node #0,2,0 Current State: 36:[72, 2], Operations: ['81-68=13', '13-11=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_3
sum_heuristic
[ 75, 42, 73, 25 ]
34
[ "75-73=2", "42-25=17", "2*17=34" ]
Current State: 34:[75, 42, 73, 25], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [42, 25, 2] Generated Node #2: [42, 25, 2] from Operation: 75-73=2 Current State: 34:[42, 25, 2], Operations: ['75-73=2'] Exploring Operation: 42-25=17, Resulting Numbers: [2, 17] Generated Node #3: [2, 17] from Operation: 42-25=17 Current State: 34:[2, 17], Operations: ['75-73=2', '42-25=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[75, 42, 73, 25], Operations: [] Exploring Operation: 73-42=31, Resulting Numbers: [75, 25, 31] Generated Node #0,0: 34:[75, 25, 31] Operation: 73-42=31 Exploring Operation: 75/25=3, Resulting Numbers: [42, 73, 3] Generated Node #0,1: 34:[42, 73, 3] Operation: 75/25=3 Exploring Operation: 75-73=2, Resulting Numbers: [42, 25, 2] Generated Node #0,2: 34:[42, 25, 2] Operation: 75-73=2 Exploring Operation: 75-42=33, Resulting Numbers: [73, 25, 33] Generated Node #0,3: 34:[73, 25, 33] Operation: 75-42=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[42, 25, 2], Operations: ['75-73=2'] Exploring Operation: 42-25=17, Resulting Numbers: [2, 17] Generated Node #0,2,0: 34:[2, 17] Operation: 42-25=17 Exploring Operation: 42/2=21, Resulting Numbers: [25, 21] Generated Node #0,2,1: 34:[25, 21] Operation: 42/2=21 Exploring Operation: 42-2=40, Resulting Numbers: [25, 40] Generated Node #0,2,2: 34:[25, 40] Operation: 42-2=40 Exploring Operation: 25-2=23, Resulting Numbers: [42, 23] Generated Node #0,2,3: 34:[42, 23] Operation: 25-2=23 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 34:[2, 17], Operations: ['75-73=2', '42-25=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[75, 42, 73, 25], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [42, 25, 2] Generated Node #0,2: 34:[42, 25, 2] Operation: 75-73=2 Moving to Node #0,2 Current State: 34:[42, 25, 2], Operations: ['75-73=2'] Exploring Operation: 42-25=17, Resulting Numbers: [2, 17] Generated Node #0,2,0: 34:[2, 17] Operation: 42-25=17 Moving to Node #0,2,0 Current State: 34:[2, 17], Operations: ['75-73=2', '42-25=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 16, 20, 10, 48 ]
30
[ "48-16=32", "20/10=2", "32-2=30" ]
Current State: 30:[16, 20, 10, 48], Operations: [] Exploring Operation: 48-16=32, Resulting Numbers: [20, 10, 32] Generated Node #2: [20, 10, 32] from Operation: 48-16=32 Current State: 30:[20, 10, 32], Operations: ['48-16=32'] Exploring Operation: 20/10=2, Resulting Numbers: [32, 2] Generated Node #3: [32, 2] from Operation: 20/10=2 Current State: 30:[32, 2], Operations: ['48-16=32', '20/10=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[16, 20, 10, 48], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [20, 10, 3] Generated Node #0,0: 30:[20, 10, 3] Operation: 48/16=3 Exploring Operation: 48-20=28, Resulting Numbers: [16, 10, 28] Generated Node #0,1: 30:[16, 10, 28] Operation: 48-20=28 Exploring Operation: 48-16=32, Resulting Numbers: [20, 10, 32] Generated Node #0,2: 30:[20, 10, 32] Operation: 48-16=32 Moving to Node #0,1 Current State: 30:[16, 10, 28], Operations: ['48-20=28'] Exploring Operation: 28-16=12, Resulting Numbers: [10, 12] Generated Node #0,1,0: 30:[10, 12] Operation: 28-16=12 Exploring Operation: 16-10=6, Resulting Numbers: [28, 6] Generated Node #0,1,1: 30:[28, 6] Operation: 16-10=6 Exploring Operation: 28-10=18, Resulting Numbers: [16, 18] Generated Node #0,1,2: 30:[16, 18] Operation: 28-10=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[10, 12], Operations: ['48-20=28', '28-16=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,30 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,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,1,1 Current State: 30:[28, 6], Operations: ['48-20=28', '16-10=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,30 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,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,1,2 Current State: 30:[16, 18], Operations: ['48-20=28', '28-10=18'] Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,30 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: 30:[20, 10, 3], Operations: ['48/16=3'] Exploring Operation: 20+10=30, Resulting Numbers: [3, 30] Generated Node #0,0,0: 30:[3, 30] Operation: 20+10=30 Exploring Operation: 20/10=2, Resulting Numbers: [3, 2] Generated Node #0,0,1: 30:[3, 2] Operation: 20/10=2 Exploring Operation: 20-10=10, Resulting Numbers: [3, 10] Generated Node #0,0,2: 30:[3, 10] Operation: 20-10=10 Moving to Node #0,2 Current State: 30:[20, 10, 32], Operations: ['48-16=32'] Exploring Operation: 20-10=10, Resulting Numbers: [32, 10] Generated Node #0,2,0: 30:[32, 10] Operation: 20-10=10 Exploring Operation: 20/10=2, Resulting Numbers: [32, 2] Generated Node #0,2,1: 30:[32, 2] Operation: 20/10=2 Exploring Operation: 20+10=30, Resulting Numbers: [32, 30] Generated Node #0,2,2: 30:[32, 30] Operation: 20+10=30 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[32, 10], Operations: ['48-16=32', '20-10=10'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,30 unequal: No Solution Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,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,1 Current State: 30:[32, 2], Operations: ['48-16=32', '20/10=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[16, 20, 10, 48], Operations: [] Exploring Operation: 48-16=32, Resulting Numbers: [20, 10, 32] Generated Node #0,2: 30:[20, 10, 32] Operation: 48-16=32 Moving to Node #0,2 Current State: 30:[20, 10, 32], Operations: ['48-16=32'] Exploring Operation: 20/10=2, Resulting Numbers: [32, 2] Generated Node #0,2,1: 30:[32, 2] Operation: 20/10=2 Moving to Node #0,2,1 Current State: 30:[32, 2], Operations: ['48-16=32', '20/10=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_3
mult_heuristic
[ 27, 65, 64, 34 ]
83
[ "64*34=2176", "65+2176=2241", "2241/27=83" ]
Current State: 83:[27, 65, 64, 34], Operations: [] Exploring Operation: 64*34=2176, Resulting Numbers: [27, 65, 2176] Generated Node #2: [27, 65, 2176] from Operation: 64*34=2176 Current State: 83:[27, 65, 2176], Operations: ['64*34=2176'] Exploring Operation: 65+2176=2241, Resulting Numbers: [27, 2241] Generated Node #3: [27, 2241] from Operation: 65+2176=2241 Current State: 83:[27, 2241], Operations: ['64*34=2176', '65+2176=2241'] Exploring Operation: 2241/27=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[27, 65, 64, 34], Operations: [] Exploring Operation: 64+34=98, Resulting Numbers: [27, 65, 98] Generated Node #0,0: 83:[27, 65, 98] Operation: 64+34=98 Exploring Operation: 27+64=91, Resulting Numbers: [65, 34, 91] Generated Node #0,1: 83:[65, 34, 91] Operation: 27+64=91 Exploring Operation: 27+34=61, Resulting Numbers: [65, 64, 61] Generated Node #0,2: 83:[65, 64, 61] Operation: 27+34=61 Exploring Operation: 27+65=92, Resulting Numbers: [64, 34, 92] Generated Node #0,3: 83:[64, 34, 92] Operation: 27+65=92 Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[65, 64, 61], Operations: ['27+34=61'] Exploring Operation: 65-61=4, Resulting Numbers: [64, 4] Generated Node #0,2,0: 83:[64, 4] Operation: 65-61=4 Exploring Operation: 64+61=125, Resulting Numbers: [65, 125] Generated Node #0,2,1: 83:[65, 125] Operation: 64+61=125 Exploring Operation: 65+64=129, Resulting Numbers: [61, 129] Generated Node #0,2,2: 83:[61, 129] Operation: 65+64=129 Exploring Operation: 65+61=126, Resulting Numbers: [64, 126] Generated Node #0,2,3: 83:[64, 126] Operation: 65+61=126 Moving to Node #0,2,1 Current State: 83:[65, 125], Operations: ['27+34=61', '64+61=125'] Exploring Operation: 125-65=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 65*125=8125, Resulting Numbers: [8125] 8125,83 unequal: No Solution Exploring Operation: 65+125=190, Resulting Numbers: [190] 190,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[64, 126], Operations: ['27+34=61', '65+61=126'] Exploring Operation: 64*126=8064, Resulting Numbers: [8064] 8064,83 unequal: No Solution Exploring Operation: 126-64=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 64+126=190, Resulting Numbers: [190] 190,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[61, 129], Operations: ['27+34=61', '65+64=129'] Exploring Operation: 61*129=7869, Resulting Numbers: [7869] 7869,83 unequal: No Solution Exploring Operation: 129-61=68, Resulting Numbers: [68] 68,83 unequal: No Solution Exploring Operation: 61+129=190, Resulting Numbers: [190] 190,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[64, 4], Operations: ['27+34=61', '65-61=4'] Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,83 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 64*4=256, Resulting Numbers: [256] 256,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[65, 34, 91], Operations: ['27+64=91'] Exploring Operation: 34+91=125, Resulting Numbers: [65, 125] Generated Node #0,1,0: 83:[65, 125] Operation: 34+91=125 Exploring Operation: 65-34=31, Resulting Numbers: [91, 31] Generated Node #0,1,1: 83:[91, 31] Operation: 65-34=31 Exploring Operation: 65+34=99, Resulting Numbers: [91, 99] Generated Node #0,1,2: 83:[91, 99] Operation: 65+34=99 Exploring Operation: 91-34=57, Resulting Numbers: [65, 57] Generated Node #0,1,3: 83:[65, 57] Operation: 91-34=57 Moving to Node #0,1,2 Current State: 83:[91, 99], Operations: ['27+64=91', '65+34=99'] Exploring Operation: 99-91=8, Resulting Numbers: [8] 8,83 unequal: No Solution Exploring Operation: 91+99=190, Resulting Numbers: [190] 190,83 unequal: No Solution Exploring Operation: 91*99=9009, Resulting Numbers: [9009] 9009,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[65, 57], Operations: ['27+64=91', '91-34=57'] Exploring Operation: 65*57=3705, Resulting Numbers: [3705] 3705,83 unequal: No Solution Exploring Operation: 65-57=8, Resulting Numbers: [8] 8,83 unequal: No Solution Exploring Operation: 65+57=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[91, 31], Operations: ['27+64=91', '65-34=31'] Exploring Operation: 91+31=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 91*31=2821, Resulting Numbers: [2821] 2821,83 unequal: No Solution Exploring Operation: 91-31=60, Resulting Numbers: [60] 60,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[65, 125], Operations: ['27+64=91', '34+91=125'] Exploring Operation: 65+125=190, Resulting Numbers: [190] 190,83 unequal: No Solution Exploring Operation: 125-65=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 65*125=8125, Resulting Numbers: [8125] 8125,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[64, 34, 92], Operations: ['27+65=92'] Exploring Operation: 64+34=98, Resulting Numbers: [92, 98] Generated Node #0,3,0: 83:[92, 98] Operation: 64+34=98 Exploring Operation: 34+92=126, Resulting Numbers: [64, 126] Generated Node #0,3,1: 83:[64, 126] Operation: 34+92=126 Exploring Operation: 64-34=30, Resulting Numbers: [92, 30] Generated Node #0,3,2: 83:[92, 30] Operation: 64-34=30 Exploring Operation: 92-34=58, Resulting Numbers: [64, 58] Generated Node #0,3,3: 83:[64, 58] Operation: 92-34=58 Moving to Node #0,3,0 Current State: 83:[92, 98], Operations: ['27+65=92', '64+34=98'] Exploring Operation: 92*98=9016, Resulting Numbers: [9016] 9016,83 unequal: No Solution Exploring Operation: 92+98=190, Resulting Numbers: [190] 190,83 unequal: No Solution Exploring Operation: 98-92=6, Resulting Numbers: [6] 6,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[64, 58], Operations: ['27+65=92', '92-34=58'] Exploring Operation: 64+58=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 64*58=3712, Resulting Numbers: [3712] 3712,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[92, 30], Operations: ['27+65=92', '64-34=30'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,83 unequal: No Solution Exploring Operation: 92*30=2760, Resulting Numbers: [2760] 2760,83 unequal: No Solution Exploring Operation: 92+30=122, Resulting Numbers: [122] 122,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[64, 126], Operations: ['27+65=92', '34+92=126'] Exploring Operation: 64+126=190, Resulting Numbers: [190] 190,83 unequal: No Solution Exploring Operation: 64*126=8064, Resulting Numbers: [8064] 8064,83 unequal: No Solution Exploring Operation: 126-64=62, Resulting Numbers: [62] 62,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[27, 65, 98], Operations: ['64+34=98'] Exploring Operation: 27+98=125, Resulting Numbers: [65, 125] Generated Node #0,0,0: 83:[65, 125] Operation: 27+98=125 Exploring Operation: 27+65=92, Resulting Numbers: [98, 92] Generated Node #0,0,1: 83:[98, 92] Operation: 27+65=92 Exploring Operation: 65-27=38, Resulting Numbers: [98, 38] Generated Node #0,0,2: 83:[98, 38] Operation: 65-27=38 Exploring Operation: 98-27=71, Resulting Numbers: [65, 71] Generated Node #0,0,3: 83:[65, 71] Operation: 98-27=71 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[98, 92], Operations: ['64+34=98', '27+65=92'] Exploring Operation: 98-92=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 98*92=9016, Resulting Numbers: [9016] 9016,83 unequal: No Solution Exploring Operation: 98+92=190, Resulting Numbers: [190] 190,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[65, 71], Operations: ['64+34=98', '98-27=71'] Exploring Operation: 65*71=4615, Resulting Numbers: [4615] 4615,83 unequal: No Solution Exploring Operation: 65+71=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[65, 125], Operations: ['64+34=98', '27+98=125'] Exploring Operation: 65*125=8125, Resulting Numbers: [8125] 8125,83 unequal: No Solution Exploring Operation: 125-65=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 65+125=190, Resulting Numbers: [190] 190,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[98, 38], Operations: ['64+34=98', '65-27=38'] Exploring Operation: 98*38=3724, Resulting Numbers: [3724] 3724,83 unequal: No Solution Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 98+38=136, Resulting Numbers: [136] 136,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 52, 63, 25, 5 ]
10
[ "52+63=115", "25*5=125", "125-115=10" ]
Current State: 10:[52, 63, 25, 5], Operations: [] Exploring Operation: 52+63=115, Resulting Numbers: [25, 5, 115] Generated Node #2: [25, 5, 115] from Operation: 52+63=115 Current State: 10:[25, 5, 115], Operations: ['52+63=115'] Exploring Operation: 25*5=125, Resulting Numbers: [115, 125] Generated Node #3: [115, 125] from Operation: 25*5=125 Current State: 10:[115, 125], Operations: ['52+63=115', '25*5=125'] Exploring Operation: 125-115=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[52, 63, 25, 5], Operations: [] Exploring Operation: 25/5=5, Resulting Numbers: [52, 63, 5] Generated Node #0,0: 10:[52, 63, 5] Operation: 25/5=5 Exploring Operation: 63-52=11, Resulting Numbers: [25, 5, 11] Generated Node #0,1: 10:[25, 5, 11] Operation: 63-52=11 Exploring Operation: 63-25=38, Resulting Numbers: [52, 5, 38] Generated Node #0,2: 10:[52, 5, 38] Operation: 63-25=38 Exploring Operation: 52-25=27, Resulting Numbers: [63, 5, 27] Generated Node #0,3: 10:[63, 5, 27] Operation: 52-25=27 Moving to Node #0,1 Current State: 10:[25, 5, 11], Operations: ['63-52=11'] Exploring Operation: 25/5=5, Resulting Numbers: [11, 5] Generated Node #0,1,0: 10:[11, 5] Operation: 25/5=5 Exploring Operation: 11-5=6, Resulting Numbers: [25, 6] Generated Node #0,1,1: 10:[25, 6] Operation: 11-5=6 Exploring Operation: 25-11=14, Resulting Numbers: [5, 14] Generated Node #0,1,2: 10:[5, 14] Operation: 25-11=14 Exploring Operation: 25-5=20, Resulting Numbers: [11, 20] Generated Node #0,1,3: 10:[11, 20] Operation: 25-5=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[11, 5], Operations: ['63-52=11', '25/5=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,10 unequal: No Solution No 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: 10:[5, 14], Operations: ['63-52=11', '25-11=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,10 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,10 unequal: No Solution No 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: 10:[11, 20], Operations: ['63-52=11', '25-5=20'] Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,10 unequal: No Solution No 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: 10:[25, 6], Operations: ['63-52=11', '11-5=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,10 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,10 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: 10:[63, 5, 27], Operations: ['52-25=27'] Exploring Operation: 63-27=36, Resulting Numbers: [5, 36] Generated Node #0,3,0: 10:[5, 36] Operation: 63-27=36 Exploring Operation: 27-5=22, Resulting Numbers: [63, 22] Generated Node #0,3,1: 10:[63, 22] Operation: 27-5=22 Exploring Operation: 63+5=68, Resulting Numbers: [27, 68] Generated Node #0,3,2: 10:[27, 68] Operation: 63+5=68 Exploring Operation: 63-5=58, Resulting Numbers: [27, 58] Generated Node #0,3,3: 10:[27, 58] Operation: 63-5=58 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 10:[5, 36], Operations: ['52-25=27', '63-27=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,10 unequal: No Solution No 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: 10:[63, 22], Operations: ['52-25=27', '27-5=22'] Exploring Operation: 63*22=1386, Resulting Numbers: [1386] 1386,10 unequal: No Solution Exploring Operation: 63+22=85, Resulting Numbers: [85] 85,10 unequal: No Solution Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,10 unequal: No Solution No 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: 10:[27, 58], Operations: ['52-25=27', '63-5=58'] Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,10 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,10 unequal: No Solution No 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: 10:[27, 68], Operations: ['52-25=27', '63+5=68'] Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 27*68=1836, Resulting Numbers: [1836] 1836,10 unequal: No Solution Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,10 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: 10:[52, 5, 38], Operations: ['63-25=38'] Exploring Operation: 52+5=57, Resulting Numbers: [38, 57] Generated Node #0,2,0: 10:[38, 57] Operation: 52+5=57 Exploring Operation: 52-38=14, Resulting Numbers: [5, 14] Generated Node #0,2,1: 10:[5, 14] Operation: 52-38=14 Exploring Operation: 52-5=47, Resulting Numbers: [38, 47] Generated Node #0,2,2: 10:[38, 47] Operation: 52-5=47 Exploring Operation: 38-5=33, Resulting Numbers: [52, 33] Generated Node #0,2,3: 10:[52, 33] Operation: 38-5=33 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[5, 14], Operations: ['63-25=38', '52-38=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,10 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,10 unequal: No Solution No 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: 10:[38, 47], Operations: ['63-25=38', '52-5=47'] Exploring Operation: 38*47=1786, Resulting Numbers: [1786] 1786,10 unequal: No Solution Exploring Operation: 38+47=85, Resulting Numbers: [85] 85,10 unequal: No Solution Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,10 unequal: No Solution No 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: 10:[52, 33], Operations: ['63-25=38', '38-5=33'] Exploring Operation: 52+33=85, Resulting Numbers: [85] 85,10 unequal: No Solution Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 52*33=1716, Resulting Numbers: [1716] 1716,10 unequal: No Solution No 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: 10:[38, 57], Operations: ['63-25=38', '52+5=57'] Exploring Operation: 38+57=95, Resulting Numbers: [95] 95,10 unequal: No Solution Exploring Operation: 38*57=2166, Resulting Numbers: [2166] 2166,10 unequal: No Solution Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,10 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: 10:[52, 63, 5], Operations: ['25/5=5'] Exploring Operation: 63-5=58, Resulting Numbers: [52, 58] Generated Node #0,0,0: 10:[52, 58] Operation: 63-5=58 Exploring Operation: 52-5=47, Resulting Numbers: [63, 47] Generated Node #0,0,1: 10:[63, 47] Operation: 52-5=47 Exploring Operation: 63-52=11, Resulting Numbers: [5, 11] Generated Node #0,0,2: 10:[5, 11] Operation: 63-52=11 Exploring Operation: 52+5=57, Resulting Numbers: [63, 57] Generated Node #0,0,3: 10:[63, 57] Operation: 52+5=57 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 10:[5, 11], Operations: ['25/5=5', '63-52=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,10 unequal: No Solution No 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: 10:[52, 58], Operations: ['25/5=5', '63-5=58'] Exploring Operation: 52*58=3016, Resulting Numbers: [3016] 3016,10 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 52+58=110, Resulting Numbers: [110] 110,10 unequal: No Solution No 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: 10:[63, 47], Operations: ['25/5=5', '52-5=47'] Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 63+47=110, Resulting Numbers: [110] 110,10 unequal: No Solution Exploring Operation: 63*47=2961, Resulting Numbers: [2961] 2961,10 unequal: No Solution No 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: 10:[63, 57], Operations: ['25/5=5', '52+5=57'] Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 63+57=120, Resulting Numbers: [120] 120,10 unequal: No Solution Exploring Operation: 63*57=3591, Resulting Numbers: [3591] 3591,10 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
[ 29, 14, 83, 89 ]
49
[ "29+14=43", "89-83=6", "43+6=49" ]
Current State: 49:[29, 14, 83, 89], Operations: [] Exploring Operation: 29+14=43, Resulting Numbers: [83, 89, 43] Generated Node #2: [83, 89, 43] from Operation: 29+14=43 Current State: 49:[83, 89, 43], Operations: ['29+14=43'] Exploring Operation: 89-83=6, Resulting Numbers: [43, 6] Generated Node #3: [43, 6] from Operation: 89-83=6 Current State: 49:[43, 6], Operations: ['29+14=43', '89-83=6'] Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[29, 14, 83, 89], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [29, 14, 6] Generated Node #0,0: 49:[29, 14, 6] Operation: 89-83=6 Exploring Operation: 29+14=43, Resulting Numbers: [83, 89, 43] Generated Node #0,1: 49:[83, 89, 43] Operation: 29+14=43 Exploring Operation: 83-29=54, Resulting Numbers: [14, 89, 54] Generated Node #0,2: 49:[14, 89, 54] Operation: 83-29=54 Exploring Operation: 89-29=60, Resulting Numbers: [14, 83, 60] Generated Node #0,3: 49:[14, 83, 60] Operation: 89-29=60 Moving to Node #0,0 Current State: 49:[29, 14, 6], Operations: ['89-83=6'] Exploring Operation: 29+14=43, Resulting Numbers: [6, 43] Generated Node #0,0,0: 49:[6, 43] Operation: 29+14=43 Exploring Operation: 29+6=35, Resulting Numbers: [14, 35] Generated Node #0,0,1: 49:[14, 35] Operation: 29+6=35 Exploring Operation: 29-14=15, Resulting Numbers: [6, 15] Generated Node #0,0,2: 49:[6, 15] Operation: 29-14=15 Exploring Operation: 14-6=8, Resulting Numbers: [29, 8] Generated Node #0,0,3: 49:[29, 8] Operation: 14-6=8 Moving to Node #0,3 Current State: 49:[14, 83, 60], Operations: ['89-29=60'] Exploring Operation: 83-14=69, Resulting Numbers: [60, 69] Generated Node #0,3,0: 49:[60, 69] Operation: 83-14=69 Exploring Operation: 83-60=23, Resulting Numbers: [14, 23] Generated Node #0,3,1: 49:[14, 23] Operation: 83-60=23 Exploring Operation: 14+83=97, Resulting Numbers: [60, 97] Generated Node #0,3,2: 49:[60, 97] Operation: 14+83=97 Exploring Operation: 60-14=46, Resulting Numbers: [83, 46] Generated Node #0,3,3: 49:[83, 46] Operation: 60-14=46 Moving to Node #0,2 Current State: 49:[14, 89, 54], Operations: ['83-29=54'] Exploring Operation: 14+89=103, Resulting Numbers: [54, 103] Generated Node #0,2,0: 49:[54, 103] Operation: 14+89=103 Exploring Operation: 89-14=75, Resulting Numbers: [54, 75] Generated Node #0,2,1: 49:[54, 75] Operation: 89-14=75 Exploring Operation: 54-14=40, Resulting Numbers: [89, 40] Generated Node #0,2,2: 49:[89, 40] Operation: 54-14=40 Exploring Operation: 89-54=35, Resulting Numbers: [14, 35] Generated Node #0,2,3: 49:[14, 35] Operation: 89-54=35 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 49:[14, 35], Operations: ['83-29=54', '89-54=35'] Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,49 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[29, 14, 83, 89], Operations: [] Exploring Operation: 83-29=54, Resulting Numbers: [14, 89, 54] Generated Node #0,2: 49:[14, 89, 54] Operation: 83-29=54 Moving to Node #0,2 Current State: 49:[14, 89, 54], Operations: ['83-29=54'] Exploring Operation: 89-54=35, Resulting Numbers: [14, 35] Generated Node #0,2,3: 49:[14, 35] Operation: 89-54=35 Moving to Node #0,2,3 Current State: 49:[14, 35], Operations: ['83-29=54', '89-54=35'] Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 61, 25, 84, 98 ]
72
[ "61+25=86", "98-84=14", "86-14=72" ]
Current State: 72:[61, 25, 84, 98], Operations: [] Exploring Operation: 61+25=86, Resulting Numbers: [84, 98, 86] Generated Node #2: [84, 98, 86] from Operation: 61+25=86 Current State: 72:[84, 98, 86], Operations: ['61+25=86'] Exploring Operation: 98-84=14, Resulting Numbers: [86, 14] Generated Node #3: [86, 14] from Operation: 98-84=14 Current State: 72:[86, 14], Operations: ['61+25=86', '98-84=14'] Exploring Operation: 86-14=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[61, 25, 84, 98], Operations: [] Exploring Operation: 98-84=14, Resulting Numbers: [61, 25, 14] Generated Node #0,0: 72:[61, 25, 14] Operation: 98-84=14 Exploring Operation: 98-61=37, Resulting Numbers: [25, 84, 37] Generated Node #0,1: 72:[25, 84, 37] Operation: 98-61=37 Exploring Operation: 98-25=73, Resulting Numbers: [61, 84, 73] Generated Node #0,2: 72:[61, 84, 73] Operation: 98-25=73 Moving to Node #0,0 Current State: 72:[61, 25, 14], Operations: ['98-84=14'] Exploring Operation: 61-14=47, Resulting Numbers: [25, 47] Generated Node #0,0,0: 72:[25, 47] Operation: 61-14=47 Exploring Operation: 61+14=75, Resulting Numbers: [25, 75] Generated Node #0,0,1: 72:[25, 75] Operation: 61+14=75 Exploring Operation: 61-25=36, Resulting Numbers: [14, 36] Generated Node #0,0,2: 72:[14, 36] Operation: 61-25=36 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[14, 36], Operations: ['98-84=14', '61-25=36'] Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 14*36=504, Resulting Numbers: [504] 504,72 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[25, 75], Operations: ['98-84=14', '61+14=75'] Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 25+75=100, Resulting Numbers: [100] 100,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[25, 47], Operations: ['98-84=14', '61-14=47'] Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[61, 25, 84, 98], Operations: [] Exploring Operation: 98-84=14, Resulting Numbers: [61, 25, 14] Generated Node #0,0: 72:[61, 25, 14] Operation: 98-84=14 Moving to Node #0,0 Current State: 72:[61, 25, 14], Operations: ['98-84=14'] Exploring Operation: 61-14=47, Resulting Numbers: [25, 47] Generated Node #0,0,0: 72:[25, 47] Operation: 61-14=47 Moving to Node #0,0,0 Current State: 72:[25, 47], Operations: ['98-84=14', '61-14=47'] Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 17, 59, 48, 51 ]
14
[ "59-17=42", "51-48=3", "42/3=14" ]
Current State: 14:[17, 59, 48, 51], Operations: [] Exploring Operation: 59-17=42, Resulting Numbers: [48, 51, 42] Generated Node #2: [48, 51, 42] from Operation: 59-17=42 Current State: 14:[48, 51, 42], Operations: ['59-17=42'] Exploring Operation: 51-48=3, Resulting Numbers: [42, 3] Generated Node #3: [42, 3] from Operation: 51-48=3 Current State: 14:[42, 3], Operations: ['59-17=42', '51-48=3'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[17, 59, 48, 51], Operations: [] Exploring Operation: 59-48=11, Resulting Numbers: [17, 51, 11] Generated Node #0,0: 14:[17, 51, 11] Operation: 59-48=11 Exploring Operation: 59-51=8, Resulting Numbers: [17, 48, 8] Generated Node #0,1: 14:[17, 48, 8] Operation: 59-51=8 Exploring Operation: 51-48=3, Resulting Numbers: [17, 59, 3] Generated Node #0,2: 14:[17, 59, 3] Operation: 51-48=3 Moving to Node #0,1 Current State: 14:[17, 48, 8], Operations: ['59-51=8'] Exploring Operation: 48/8=6, Resulting Numbers: [17, 6] Generated Node #0,1,0: 14:[17, 6] Operation: 48/8=6 Exploring Operation: 48-8=40, Resulting Numbers: [17, 40] Generated Node #0,1,1: 14:[17, 40] Operation: 48-8=40 Exploring Operation: 48-17=31, Resulting Numbers: [8, 31] Generated Node #0,1,2: 14:[8, 31] Operation: 48-17=31 Moving to Node #0,0 Current State: 14:[17, 51, 11], Operations: ['59-48=11'] Exploring Operation: 51/17=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 14:[11, 3] Operation: 51/17=3 Exploring Operation: 51-17=34, Resulting Numbers: [11, 34] Generated Node #0,0,1: 14:[11, 34] Operation: 51-17=34 Exploring Operation: 51-11=40, Resulting Numbers: [17, 40] Generated Node #0,0,2: 14:[17, 40] Operation: 51-11=40 Moving to Node #0,2 Current State: 14:[17, 59, 3], Operations: ['51-48=3'] Exploring Operation: 59-17=42, Resulting Numbers: [3, 42] Generated Node #0,2,0: 14:[3, 42] Operation: 59-17=42 Exploring Operation: 17-3=14, Resulting Numbers: [59, 14] Generated Node #0,2,1: 14:[59, 14] Operation: 17-3=14 Exploring Operation: 59-3=56, Resulting Numbers: [17, 56] Generated Node #0,2,2: 14:[17, 56] Operation: 59-3=56 Moving to Node #0,1,0 Current State: 14:[17, 6], Operations: ['59-51=8', '48/8=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[11, 3], Operations: ['59-48=11', '51/17=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[17, 59, 48, 51], Operations: [] Exploring Operation: 59-48=11, Resulting Numbers: [17, 51, 11] Generated Node #0,0: 14:[17, 51, 11] Operation: 59-48=11 Moving to Node #0,0 Current State: 14:[17, 51, 11], Operations: ['59-48=11'] Exploring Operation: 51/17=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 14:[11, 3] Operation: 51/17=3 Moving to Node #0,0,0 Current State: 14:[11, 3], Operations: ['59-48=11', '51/17=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.982639
hs_3
mult_heuristic
[ 45, 26, 85, 27 ]
41
[ "45+26=71", "85+27=112", "112-71=41" ]
Current State: 41:[45, 26, 85, 27], Operations: [] Exploring Operation: 45+26=71, Resulting Numbers: [85, 27, 71] Generated Node #2: [85, 27, 71] from Operation: 45+26=71 Current State: 41:[85, 27, 71], Operations: ['45+26=71'] Exploring Operation: 85+27=112, Resulting Numbers: [71, 112] Generated Node #3: [71, 112] from Operation: 85+27=112 Current State: 41:[71, 112], Operations: ['45+26=71', '85+27=112'] Exploring Operation: 112-71=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[45, 26, 85, 27], Operations: [] Exploring Operation: 85-26=59, Resulting Numbers: [45, 27, 59] Generated Node #0,0: 41:[45, 27, 59] Operation: 85-26=59 Exploring Operation: 85-45=40, Resulting Numbers: [26, 27, 40] Generated Node #0,1: 41:[26, 27, 40] Operation: 85-45=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[26, 27, 40], Operations: ['85-45=40'] Exploring Operation: 26+27=53, Resulting Numbers: [40, 53] Generated Node #0,1,0: 41:[40, 53] Operation: 26+27=53 Exploring Operation: 26+40=66, Resulting Numbers: [27, 66] Generated Node #0,1,1: 41:[27, 66] Operation: 26+40=66 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[40, 53], Operations: ['85-45=40', '26+27=53'] Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[27, 66], Operations: ['85-45=40', '26+40=66'] Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 27+66=93, Resulting Numbers: [93] 93,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[45, 27, 59], Operations: ['85-26=59'] Exploring Operation: 59-27=32, Resulting Numbers: [45, 32] Generated Node #0,0,0: 41:[45, 32] Operation: 59-27=32 Exploring Operation: 45-27=18, Resulting Numbers: [59, 18] Generated Node #0,0,1: 41:[59, 18] Operation: 45-27=18 Moving to Node #0,0,0 Current State: 41:[45, 32], Operations: ['85-26=59', '59-27=32'] Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[59, 18], Operations: ['85-26=59', '45-27=18'] Exploring Operation: 59+18=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[45, 26, 85, 27], Operations: [] Exploring Operation: 85-26=59, Resulting Numbers: [45, 27, 59] Generated Node #0,0: 41:[45, 27, 59] Operation: 85-26=59 Moving to Node #0,0 Current State: 41:[45, 27, 59], Operations: ['85-26=59'] Exploring Operation: 45-27=18, Resulting Numbers: [59, 18] Generated Node #0,0,1: 41:[59, 18] Operation: 45-27=18 Moving to Node #0,0,1 Current State: 41:[59, 18], Operations: ['85-26=59', '45-27=18'] Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 4, 13, 96, 30 ]
14
[ "4*13=52", "96-30=66", "66-52=14" ]
Current State: 14:[4, 13, 96, 30], Operations: [] Exploring Operation: 4*13=52, Resulting Numbers: [96, 30, 52] Generated Node #2: [96, 30, 52] from Operation: 4*13=52 Current State: 14:[96, 30, 52], Operations: ['4*13=52'] Exploring Operation: 96-30=66, Resulting Numbers: [52, 66] Generated Node #3: [52, 66] from Operation: 96-30=66 Current State: 14:[52, 66], Operations: ['4*13=52', '96-30=66'] Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[4, 13, 96, 30], Operations: [] Exploring Operation: 96-30=66, Resulting Numbers: [4, 13, 66] Generated Node #0,0: 14:[4, 13, 66] Operation: 96-30=66 Exploring Operation: 96-13=83, Resulting Numbers: [4, 30, 83] Generated Node #0,1: 14:[4, 30, 83] Operation: 96-13=83 Exploring Operation: 96-4=92, Resulting Numbers: [13, 30, 92] Generated Node #0,2: 14:[13, 30, 92] Operation: 96-4=92 Exploring Operation: 30-13=17, Resulting Numbers: [4, 96, 17] Generated Node #0,3: 14:[4, 96, 17] Operation: 30-13=17 Exploring Operation: 96/4=24, Resulting Numbers: [13, 30, 24] Generated Node #0,4: 14:[13, 30, 24] Operation: 96/4=24 Moving to Node #0,4 Current State: 14:[13, 30, 24], Operations: ['96/4=24'] Exploring Operation: 13+30=43, Resulting Numbers: [24, 43] Generated Node #0,4,0: 14:[24, 43] Operation: 13+30=43 Exploring Operation: 24-13=11, Resulting Numbers: [30, 11] Generated Node #0,4,1: 14:[30, 11] Operation: 24-13=11 Exploring Operation: 30-13=17, Resulting Numbers: [24, 17] Generated Node #0,4,2: 14:[24, 17] Operation: 30-13=17 Exploring Operation: 13+24=37, Resulting Numbers: [30, 37] Generated Node #0,4,3: 14:[30, 37] Operation: 13+24=37 Exploring Operation: 30-24=6, Resulting Numbers: [13, 6] Generated Node #0,4,4: 14:[13, 6] Operation: 30-24=6 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 14:[13, 6], Operations: ['96/4=24', '30-24=6'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,14 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 14:[24, 17], Operations: ['96/4=24', '30-13=17'] Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,14 unequal: No Solution Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 14:[30, 11], Operations: ['96/4=24', '24-13=11'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,14 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,14 unequal: No Solution Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 14:[24, 43], Operations: ['96/4=24', '13+30=43'] Exploring Operation: 24+43=67, Resulting Numbers: [67] 67,14 unequal: No Solution Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,14 unequal: No Solution Exploring Operation: 24*43=1032, Resulting Numbers: [1032] 1032,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 14:[30, 37], Operations: ['96/4=24', '13+24=37'] Exploring Operation: 30*37=1110, Resulting Numbers: [1110] 1110,14 unequal: No Solution Exploring Operation: 30+37=67, Resulting Numbers: [67] 67,14 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,14 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: 14:[4, 13, 66], Operations: ['96-30=66'] Exploring Operation: 13-4=9, Resulting Numbers: [66, 9] Generated Node #0,0,0: 14:[66, 9] Operation: 13-4=9 Exploring Operation: 66-13=53, Resulting Numbers: [4, 53] Generated Node #0,0,1: 14:[4, 53] Operation: 66-13=53 Exploring Operation: 4+13=17, Resulting Numbers: [66, 17] Generated Node #0,0,2: 14:[66, 17] Operation: 4+13=17 Exploring Operation: 66-4=62, Resulting Numbers: [13, 62] Generated Node #0,0,3: 14:[13, 62] Operation: 66-4=62 Exploring Operation: 4+66=70, Resulting Numbers: [13, 70] Generated Node #0,0,4: 14:[13, 70] Operation: 4+66=70 Moving to Node #0,1 Current State: 14:[4, 30, 83], Operations: ['96-13=83'] Exploring Operation: 83-4=79, Resulting Numbers: [30, 79] Generated Node #0,1,0: 14:[30, 79] Operation: 83-4=79 Exploring Operation: 83-30=53, Resulting Numbers: [4, 53] Generated Node #0,1,1: 14:[4, 53] Operation: 83-30=53 Exploring Operation: 4+30=34, Resulting Numbers: [83, 34] Generated Node #0,1,2: 14:[83, 34] Operation: 4+30=34 Exploring Operation: 30-4=26, Resulting Numbers: [83, 26] Generated Node #0,1,3: 14:[83, 26] Operation: 30-4=26 Exploring Operation: 4+83=87, Resulting Numbers: [30, 87] Generated Node #0,1,4: 14:[30, 87] Operation: 4+83=87 Moving to Node #0,3 Current State: 14:[4, 96, 17], Operations: ['30-13=17'] Exploring Operation: 4+96=100, Resulting Numbers: [17, 100] Generated Node #0,3,0: 14:[17, 100] Operation: 4+96=100 Exploring Operation: 17-4=13, Resulting Numbers: [96, 13] Generated Node #0,3,1: 14:[96, 13] Operation: 17-4=13 Exploring Operation: 96-4=92, Resulting Numbers: [17, 92] Generated Node #0,3,2: 14:[17, 92] Operation: 96-4=92 Exploring Operation: 96/4=24, Resulting Numbers: [17, 24] Generated Node #0,3,3: 14:[17, 24] Operation: 96/4=24 Exploring Operation: 96-17=79, Resulting Numbers: [4, 79] Generated Node #0,3,4: 14:[4, 79] Operation: 96-17=79 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[17, 24], Operations: ['30-13=17', '96/4=24'] Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,14 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 14:[4, 79], Operations: ['30-13=17', '96-17=79'] Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,14 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,14 unequal: No Solution Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 14:[17, 92], Operations: ['30-13=17', '96-4=92'] Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,14 unequal: No Solution Exploring Operation: 17+92=109, Resulting Numbers: [109] 109,14 unequal: No Solution Exploring Operation: 17*92=1564, Resulting Numbers: [1564] 1564,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 14:[96, 13], Operations: ['30-13=17', '17-4=13'] Exploring Operation: 96*13=1248, Resulting Numbers: [1248] 1248,14 unequal: No Solution Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,14 unequal: No Solution Exploring Operation: 96+13=109, Resulting Numbers: [109] 109,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 14:[17, 100], Operations: ['30-13=17', '4+96=100'] Exploring Operation: 17+100=117, Resulting Numbers: [117] 117,14 unequal: No Solution Exploring Operation: 17*100=1700, Resulting Numbers: [1700] 1700,14 unequal: No Solution Exploring Operation: 100-17=83, Resulting Numbers: [83] 83,14 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: 14:[13, 30, 92], Operations: ['96-4=92'] Exploring Operation: 92-30=62, Resulting Numbers: [13, 62] Generated Node #0,2,0: 14:[13, 62] Operation: 92-30=62 Exploring Operation: 92-13=79, Resulting Numbers: [30, 79] Generated Node #0,2,1: 14:[30, 79] Operation: 92-13=79 Exploring Operation: 13+92=105, Resulting Numbers: [30, 105] Generated Node #0,2,2: 14:[30, 105] Operation: 13+92=105 Exploring Operation: 30-13=17, Resulting Numbers: [92, 17] Generated Node #0,2,3: 14:[92, 17] Operation: 30-13=17 Exploring Operation: 13+30=43, Resulting Numbers: [92, 43] Generated Node #0,2,4: 14:[92, 43] Operation: 13+30=43 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[13, 62], Operations: ['96-4=92', '92-30=62'] Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 13*62=806, Resulting Numbers: [806] 806,14 unequal: No Solution Exploring Operation: 13+62=75, Resulting Numbers: [75] 75,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[30, 79], Operations: ['96-4=92', '92-13=79'] Exploring Operation: 30+79=109, Resulting Numbers: [109] 109,14 unequal: No Solution Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 30*79=2370, Resulting Numbers: [2370] 2370,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 14:[92, 17], Operations: ['96-4=92', '30-13=17'] Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,14 unequal: No Solution Exploring Operation: 92*17=1564, Resulting Numbers: [1564] 1564,14 unequal: No Solution Exploring Operation: 92+17=109, Resulting Numbers: [109] 109,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[30, 105], Operations: ['96-4=92', '13+92=105'] Exploring Operation: 30*105=3150, Resulting Numbers: [3150] 3150,14 unequal: No Solution Exploring Operation: 30+105=135, Resulting Numbers: [135] 135,14 unequal: No Solution Exploring Operation: 105-30=75, Resulting Numbers: [75] 75,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 14:[92, 43], Operations: ['96-4=92', '13+30=43'] Exploring Operation: 92+43=135, Resulting Numbers: [135] 135,14 unequal: No Solution Exploring Operation: 92*43=3956, Resulting Numbers: [3956] 3956,14 unequal: No Solution Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 14:[4, 53], Operations: ['96-30=66', '66-13=53'] Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,14 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[4, 53], Operations: ['96-13=83', '83-30=53'] Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,14 unequal: No Solution Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,14 unequal: No Solution Moving to Node #0,0,3 Current State: 14:[13, 62], Operations: ['96-30=66', '66-4=62'] Exploring Operation: 13*62=806, Resulting Numbers: [806] 806,14 unequal: No Solution Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 13+62=75, Resulting Numbers: [75] 75,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[66, 9], Operations: ['96-30=66', '13-4=9'] Exploring Operation: 66*9=594, Resulting Numbers: [594] 594,14 unequal: No Solution Exploring Operation: 66+9=75, Resulting Numbers: [75] 75,14 unequal: No Solution Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[66, 17], Operations: ['96-30=66', '4+13=17'] Exploring Operation: 66+17=83, Resulting Numbers: [83] 83,14 unequal: No Solution Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 66*17=1122, Resulting Numbers: [1122] 1122,14 unequal: No Solution Moving to Node #0,0,4 Current State: 14:[13, 70], Operations: ['96-30=66', '4+66=70'] Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,14 unequal: No Solution Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 13*70=910, Resulting Numbers: [910] 910,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[30, 79], Operations: ['96-13=83', '83-4=79'] Exploring Operation: 30+79=109, Resulting Numbers: [109] 109,14 unequal: No Solution Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 30*79=2370, Resulting Numbers: [2370] 2370,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[83, 26], Operations: ['96-13=83', '30-4=26'] Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 83+26=109, Resulting Numbers: [109] 109,14 unequal: No Solution Exploring Operation: 83*26=2158, Resulting Numbers: [2158] 2158,14 unequal: No Solution Moving to Node #0,1,4 Current State: 14:[30, 87], Operations: ['96-13=83', '4+83=87'] Exploring Operation: 30+87=117, Resulting Numbers: [117] 117,14 unequal: No Solution Exploring Operation: 30*87=2610, Resulting Numbers: [2610] 2610,14 unequal: No Solution Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[83, 34], Operations: ['96-13=83', '4+30=34'] Exploring Operation: 83*34=2822, Resulting Numbers: [2822] 2822,14 unequal: No Solution Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 83+34=117, Resulting Numbers: [117] 117,14 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 92, 98, 12, 84 ]
86
[ "98-92=6", "12/6=2", "84+2=86" ]
Current State: 86:[92, 98, 12, 84], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [12, 84, 6] Generated Node #2: [12, 84, 6] from Operation: 98-92=6 Current State: 86:[12, 84, 6], Operations: ['98-92=6'] Exploring Operation: 12/6=2, Resulting Numbers: [84, 2] Generated Node #3: [84, 2] from Operation: 12/6=2 Current State: 86:[84, 2], Operations: ['98-92=6', '12/6=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[92, 98, 12, 84], Operations: [] Exploring Operation: 98-12=86, Resulting Numbers: [92, 84, 86] Generated Node #0,0: 86:[92, 84, 86] Operation: 98-12=86 Moving to Node #0,0 Current State: 86:[92, 84, 86], Operations: ['98-12=86'] Exploring Operation: 92-84=8, Resulting Numbers: [86, 8] Generated Node #0,0,0: 86:[86, 8] Operation: 92-84=8 Moving to Node #0,0,0 Current State: 86:[86, 8], Operations: ['98-12=86', '92-84=8'] Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,86 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 92, 99, 86, 95 ]
39
[ "95-92=3", "99-86=13", "3*13=39" ]
Current State: 39:[92, 99, 86, 95], Operations: [] Exploring Operation: 95-92=3, Resulting Numbers: [99, 86, 3] Generated Node #2: [99, 86, 3] from Operation: 95-92=3 Current State: 39:[99, 86, 3], Operations: ['95-92=3'] Exploring Operation: 99-86=13, Resulting Numbers: [3, 13] Generated Node #3: [3, 13] from Operation: 99-86=13 Current State: 39:[3, 13], Operations: ['95-92=3', '99-86=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[92, 99, 86, 95], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [92, 86, 4] Generated Node #0,0: 39:[92, 86, 4] Operation: 99-95=4 Exploring Operation: 99-86=13, Resulting Numbers: [92, 95, 13] Generated Node #0,1: 39:[92, 95, 13] Operation: 99-86=13 Exploring Operation: 99-92=7, Resulting Numbers: [86, 95, 7] Generated Node #0,2: 39:[86, 95, 7] Operation: 99-92=7 Exploring Operation: 95-92=3, Resulting Numbers: [99, 86, 3] Generated Node #0,3: 39:[99, 86, 3] Operation: 95-92=3 Moving to Node #0,0 Current State: 39:[92, 86, 4], Operations: ['99-95=4'] Exploring Operation: 86-4=82, Resulting Numbers: [92, 82] Generated Node #0,0,0: 39:[92, 82] Operation: 86-4=82 Exploring Operation: 92-4=88, Resulting Numbers: [86, 88] Generated Node #0,0,1: 39:[86, 88] Operation: 92-4=88 Exploring Operation: 92/4=23, Resulting Numbers: [86, 23] Generated Node #0,0,2: 39:[86, 23] Operation: 92/4=23 Exploring Operation: 92-86=6, Resulting Numbers: [4, 6] Generated Node #0,0,3: 39:[4, 6] Operation: 92-86=6 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 39:[4, 6], Operations: ['99-95=4', '92-86=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[86, 23], Operations: ['99-95=4', '92/4=23'] Exploring Operation: 86*23=1978, Resulting Numbers: [1978] 1978,39 unequal: No Solution Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 86+23=109, Resulting Numbers: [109] 109,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[92, 82], Operations: ['99-95=4', '86-4=82'] Exploring Operation: 92-82=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 92+82=174, Resulting Numbers: [174] 174,39 unequal: No Solution Exploring Operation: 92*82=7544, Resulting Numbers: [7544] 7544,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[86, 88], Operations: ['99-95=4', '92-4=88'] Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 86+88=174, Resulting Numbers: [174] 174,39 unequal: No Solution Exploring Operation: 86*88=7568, Resulting Numbers: [7568] 7568,39 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: 39:[99, 86, 3], Operations: ['95-92=3'] Exploring Operation: 86-3=83, Resulting Numbers: [99, 83] Generated Node #0,3,0: 39:[99, 83] Operation: 86-3=83 Exploring Operation: 99-3=96, Resulting Numbers: [86, 96] Generated Node #0,3,1: 39:[86, 96] Operation: 99-3=96 Exploring Operation: 99-86=13, Resulting Numbers: [3, 13] Generated Node #0,3,2: 39:[3, 13] Operation: 99-86=13 Exploring Operation: 99/3=33, Resulting Numbers: [86, 33] Generated Node #0,3,3: 39:[86, 33] Operation: 99/3=33 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 39:[3, 13], Operations: ['95-92=3', '99-86=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[92, 99, 86, 95], Operations: [] Exploring Operation: 95-92=3, Resulting Numbers: [99, 86, 3] Generated Node #0,3: 39:[99, 86, 3] Operation: 95-92=3 Moving to Node #0,3 Current State: 39:[99, 86, 3], Operations: ['95-92=3'] Exploring Operation: 99-86=13, Resulting Numbers: [3, 13] Generated Node #0,3,2: 39:[3, 13] Operation: 99-86=13 Moving to Node #0,3,2 Current State: 39:[3, 13], Operations: ['95-92=3', '99-86=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 98, 18, 5, 2 ]
26
[ "98/2=49", "18+5=23", "49-23=26" ]
Current State: 26:[98, 18, 5, 2], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [18, 5, 49] Generated Node #2: [18, 5, 49] from Operation: 98/2=49 Current State: 26:[18, 5, 49], Operations: ['98/2=49'] Exploring Operation: 18+5=23, Resulting Numbers: [49, 23] Generated Node #3: [49, 23] from Operation: 18+5=23 Current State: 26:[49, 23], Operations: ['98/2=49', '18+5=23'] Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[98, 18, 5, 2], Operations: [] Exploring Operation: 98-5=93, Resulting Numbers: [18, 2, 93] Generated Node #0,0: 26:[18, 2, 93] Operation: 98-5=93 Exploring Operation: 98/2=49, Resulting Numbers: [18, 5, 49] Generated Node #0,1: 26:[18, 5, 49] Operation: 98/2=49 Exploring Operation: 18+5=23, Resulting Numbers: [98, 2, 23] Generated Node #0,2: 26:[98, 2, 23] Operation: 18+5=23 Exploring Operation: 18-5=13, Resulting Numbers: [98, 2, 13] Generated Node #0,3: 26:[98, 2, 13] Operation: 18-5=13 Exploring Operation: 98-18=80, Resulting Numbers: [5, 2, 80] Generated Node #0,4: 26:[5, 2, 80] Operation: 98-18=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[18, 5, 49], Operations: ['98/2=49'] Exploring Operation: 18+5=23, Resulting Numbers: [49, 23] Generated Node #0,1,0: 26:[49, 23] Operation: 18+5=23 Exploring Operation: 5+49=54, Resulting Numbers: [18, 54] Generated Node #0,1,1: 26:[18, 54] Operation: 5+49=54 Exploring Operation: 49-18=31, Resulting Numbers: [5, 31] Generated Node #0,1,2: 26:[5, 31] Operation: 49-18=31 Exploring Operation: 49-5=44, Resulting Numbers: [18, 44] Generated Node #0,1,3: 26:[18, 44] Operation: 49-5=44 Exploring Operation: 18-5=13, Resulting Numbers: [49, 13] Generated Node #0,1,4: 26:[49, 13] Operation: 18-5=13 Moving to Node #0,1,2 Current State: 26:[5, 31], Operations: ['98/2=49', '49-18=31'] Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,26 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[98, 18, 5, 2], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [18, 5, 49] Generated Node #0,1: 26:[18, 5, 49] Operation: 98/2=49 Moving to Node #0,1 Current State: 26:[18, 5, 49], Operations: ['98/2=49'] Exploring Operation: 49-18=31, Resulting Numbers: [5, 31] Generated Node #0,1,2: 26:[5, 31] Operation: 49-18=31 Moving to Node #0,1,2 Current State: 26:[5, 31], Operations: ['98/2=49', '49-18=31'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 51, 54, 61, 15 ]
96
[ "61-51=10", "15*10=150", "150-54=96" ]
Current State: 96:[51, 54, 61, 15], Operations: [] Exploring Operation: 61-51=10, Resulting Numbers: [54, 15, 10] Generated Node #2: [54, 15, 10] from Operation: 61-51=10 Current State: 96:[54, 15, 10], Operations: ['61-51=10'] Exploring Operation: 15*10=150, Resulting Numbers: [54, 150] Generated Node #3: [54, 150] from Operation: 15*10=150 Current State: 96:[54, 150], Operations: ['61-51=10', '15*10=150'] Exploring Operation: 150-54=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[51, 54, 61, 15], Operations: [] Exploring Operation: 61-54=7, Resulting Numbers: [51, 15, 7] Generated Node #0,0: 96:[51, 15, 7] Operation: 61-54=7 Exploring Operation: 61-51=10, Resulting Numbers: [54, 15, 10] Generated Node #0,1: 96:[54, 15, 10] Operation: 61-51=10 Exploring Operation: 61-15=46, Resulting Numbers: [51, 54, 46] Generated Node #0,2: 96:[51, 54, 46] Operation: 61-15=46 Moving to Node #0,0 Current State: 96:[51, 15, 7], Operations: ['61-54=7'] Exploring Operation: 15-7=8, Resulting Numbers: [51, 8] Generated Node #0,0,0: 96:[51, 8] Operation: 15-7=8 Exploring Operation: 51-7=44, Resulting Numbers: [15, 44] Generated Node #0,0,1: 96:[15, 44] Operation: 51-7=44 Exploring Operation: 51-15=36, Resulting Numbers: [7, 36] Generated Node #0,0,2: 96:[7, 36] Operation: 51-15=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[51, 8], Operations: ['61-54=7', '15-7=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,96 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,96 unequal: No Solution No 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: 96:[15, 44], Operations: ['61-54=7', '51-7=44'] Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 15*44=660, Resulting Numbers: [660] 660,96 unequal: No Solution No 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: 96:[7, 36], Operations: ['61-54=7', '51-15=36'] Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,96 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,96 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: 96:[54, 15, 10], Operations: ['61-51=10'] Exploring Operation: 15+10=25, Resulting Numbers: [54, 25] Generated Node #0,1,0: 96:[54, 25] Operation: 15+10=25 Exploring Operation: 15-10=5, Resulting Numbers: [54, 5] Generated Node #0,1,1: 96:[54, 5] Operation: 15-10=5 Exploring Operation: 54-10=44, Resulting Numbers: [15, 44] Generated Node #0,1,2: 96:[15, 44] Operation: 54-10=44 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[15, 44], Operations: ['61-51=10', '54-10=44'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 15*44=660, Resulting Numbers: [660] 660,96 unequal: No Solution Exploring Operation: 15+44=59, Resulting Numbers: [59] 59,96 unequal: No Solution No 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: 96:[54, 25], Operations: ['61-51=10', '15+10=25'] Exploring Operation: 54*25=1350, Resulting Numbers: [1350] 1350,96 unequal: No Solution Exploring Operation: 54+25=79, Resulting Numbers: [79] 79,96 unequal: No Solution Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,96 unequal: No Solution No 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: 96:[54, 5], Operations: ['61-51=10', '15-10=5'] Exploring Operation: 54*5=270, Resulting Numbers: [270] 270,96 unequal: No Solution Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,96 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: 96:[51, 54, 46], Operations: ['61-15=46'] Exploring Operation: 54-46=8, Resulting Numbers: [51, 8] Generated Node #0,2,0: 96:[51, 8] Operation: 54-46=8 Exploring Operation: 51+46=97, Resulting Numbers: [54, 97] Generated Node #0,2,1: 96:[54, 97] Operation: 51+46=97 Exploring Operation: 54-51=3, Resulting Numbers: [46, 3] Generated Node #0,2,2: 96:[46, 3] Operation: 54-51=3 Moving to Node #0,2,2 Current State: 96:[46, 3], Operations: ['61-15=46', '54-51=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[51, 8], Operations: ['61-15=46', '54-46=8'] Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,96 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[54, 97], Operations: ['61-15=46', '51+46=97'] Exploring Operation: 97-54=43, Resulting Numbers: [43] 43,96 unequal: No Solution Exploring Operation: 54*97=5238, Resulting Numbers: [5238] 5238,96 unequal: No Solution Exploring Operation: 54+97=151, Resulting Numbers: [151] 151,96 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 13, 3, 85, 43 ]
67
[ "85-13=72", "72/3=24", "43+24=67" ]
Current State: 67:[13, 3, 85, 43], Operations: [] Exploring Operation: 85-13=72, Resulting Numbers: [3, 43, 72] Generated Node #2: [3, 43, 72] from Operation: 85-13=72 Current State: 67:[3, 43, 72], Operations: ['85-13=72'] Exploring Operation: 72/3=24, Resulting Numbers: [43, 24] Generated Node #3: [43, 24] from Operation: 72/3=24 Current State: 67:[43, 24], Operations: ['85-13=72', '72/3=24'] Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[13, 3, 85, 43], Operations: [] Exploring Operation: 85-13=72, Resulting Numbers: [3, 43, 72] Generated Node #0,0: 67:[3, 43, 72] Operation: 85-13=72 Exploring Operation: 13+43=56, Resulting Numbers: [3, 85, 56] Generated Node #0,1: 67:[3, 85, 56] Operation: 13+43=56 Exploring Operation: 13+3=16, Resulting Numbers: [85, 43, 16] Generated Node #0,2: 67:[85, 43, 16] Operation: 13+3=16 Exploring Operation: 13*3=39, Resulting Numbers: [85, 43, 39] Generated Node #0,3: 67:[85, 43, 39] Operation: 13*3=39 Moving to Node #0,3 Current State: 67:[85, 43, 39], Operations: ['13*3=39'] Exploring Operation: 43+39=82, Resulting Numbers: [85, 82] Generated Node #0,3,0: 67:[85, 82] Operation: 43+39=82 Exploring Operation: 85-43=42, Resulting Numbers: [39, 42] Generated Node #0,3,1: 67:[39, 42] Operation: 85-43=42 Exploring Operation: 85+39=124, Resulting Numbers: [43, 124] Generated Node #0,3,2: 67:[43, 124] Operation: 85+39=124 Exploring Operation: 85-39=46, Resulting Numbers: [43, 46] Generated Node #0,3,3: 67:[43, 46] Operation: 85-39=46 Moving to Node #0,1 Current State: 67:[3, 85, 56], Operations: ['13+43=56'] Exploring Operation: 56-3=53, Resulting Numbers: [85, 53] Generated Node #0,1,0: 67:[85, 53] Operation: 56-3=53 Exploring Operation: 3+56=59, Resulting Numbers: [85, 59] Generated Node #0,1,1: 67:[85, 59] Operation: 3+56=59 Exploring Operation: 85-3=82, Resulting Numbers: [56, 82] Generated Node #0,1,2: 67:[56, 82] Operation: 85-3=82 Exploring Operation: 3+85=88, Resulting Numbers: [56, 88] Generated Node #0,1,3: 67:[56, 88] Operation: 3+85=88 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[85, 59], Operations: ['13+43=56', '3+56=59'] Exploring Operation: 85*59=5015, Resulting Numbers: [5015] 5015,67 unequal: No Solution Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 85+59=144, Resulting Numbers: [144] 144,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:[56, 82], Operations: ['13+43=56', '85-3=82'] Exploring Operation: 56+82=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 56*82=4592, Resulting Numbers: [4592] 4592,67 unequal: No Solution Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[85, 53], Operations: ['13+43=56', '56-3=53'] Exploring Operation: 85-53=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 85+53=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 85*53=4505, Resulting Numbers: [4505] 4505,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:[56, 88], Operations: ['13+43=56', '3+85=88'] Exploring Operation: 88-56=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 56*88=4928, Resulting Numbers: [4928] 4928,67 unequal: No Solution Exploring Operation: 56+88=144, Resulting Numbers: [144] 144,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:[3, 43, 72], Operations: ['85-13=72'] Exploring Operation: 3+72=75, Resulting Numbers: [43, 75] Generated Node #0,0,0: 67:[43, 75] Operation: 3+72=75 Exploring Operation: 43-3=40, Resulting Numbers: [72, 40] Generated Node #0,0,1: 67:[72, 40] Operation: 43-3=40 Exploring Operation: 3+43=46, Resulting Numbers: [72, 46] Generated Node #0,0,2: 67:[72, 46] Operation: 3+43=46 Exploring Operation: 72-3=69, Resulting Numbers: [43, 69] Generated Node #0,0,3: 67:[43, 69] Operation: 72-3=69 Moving to Node #0,2 Current State: 67:[85, 43, 16], Operations: ['13+3=16'] Exploring Operation: 43-16=27, Resulting Numbers: [85, 27] Generated Node #0,2,0: 67:[85, 27] Operation: 43-16=27 Exploring Operation: 43+16=59, Resulting Numbers: [85, 59] Generated Node #0,2,1: 67:[85, 59] Operation: 43+16=59 Exploring Operation: 85-16=69, Resulting Numbers: [43, 69] Generated Node #0,2,2: 67:[43, 69] Operation: 85-16=69 Exploring Operation: 85+16=101, Resulting Numbers: [43, 101] Generated Node #0,2,3: 67:[43, 101] Operation: 85+16=101 Moving to Node #0,0,2 Current State: 67:[72, 46], Operations: ['85-13=72', '3+43=46'] Exploring Operation: 72+46=118, Resulting Numbers: [118] 118,67 unequal: No Solution Exploring Operation: 72*46=3312, Resulting Numbers: [3312] 3312,67 unequal: No Solution Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[43, 69], Operations: ['85-13=72', '72-3=69'] Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 43*69=2967, Resulting Numbers: [2967] 2967,67 unequal: No Solution Exploring Operation: 43+69=112, Resulting Numbers: [112] 112,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[85, 59], Operations: ['13+3=16', '43+16=59'] Exploring Operation: 85+59=144, Resulting Numbers: [144] 144,67 unequal: No Solution Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 85*59=5015, Resulting Numbers: [5015] 5015,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[43, 69], Operations: ['13+3=16', '85-16=69'] Exploring Operation: 43*69=2967, Resulting Numbers: [2967] 2967,67 unequal: No Solution Exploring Operation: 43+69=112, Resulting Numbers: [112] 112,67 unequal: No Solution Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[43, 75], Operations: ['85-13=72', '3+72=75'] Exploring Operation: 75-43=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 43+75=118, Resulting Numbers: [118] 118,67 unequal: No Solution Exploring Operation: 43*75=3225, Resulting Numbers: [3225] 3225,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[72, 40], Operations: ['85-13=72', '43-3=40'] Exploring Operation: 72+40=112, Resulting Numbers: [112] 112,67 unequal: No Solution Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,67 unequal: No Solution Exploring Operation: 72*40=2880, Resulting Numbers: [2880] 2880,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[85, 82], Operations: ['13*3=39', '43+39=82'] Exploring Operation: 85*82=6970, Resulting Numbers: [6970] 6970,67 unequal: No Solution Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 85+82=167, Resulting Numbers: [167] 167,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[43, 46], Operations: ['13*3=39', '85-39=46'] Exploring Operation: 43*46=1978, Resulting Numbers: [1978] 1978,67 unequal: No Solution Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 43+46=89, Resulting Numbers: [89] 89,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[39, 42], Operations: ['13*3=39', '85-43=42'] Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,67 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 39*42=1638, Resulting Numbers: [1638] 1638,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[85, 27], Operations: ['13+3=16', '43-16=27'] Exploring Operation: 85+27=112, Resulting Numbers: [112] 112,67 unequal: No Solution Exploring Operation: 85*27=2295, Resulting Numbers: [2295] 2295,67 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[43, 101], Operations: ['13+3=16', '85+16=101'] Exploring Operation: 101-43=58, Resulting Numbers: [58] 58,67 unequal: No Solution Exploring Operation: 43*101=4343, Resulting Numbers: [4343] 4343,67 unequal: No Solution Exploring Operation: 43+101=144, Resulting Numbers: [144] 144,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[43, 124], Operations: ['13*3=39', '85+39=124'] Exploring Operation: 124-43=81, Resulting Numbers: [81] 81,67 unequal: No Solution Exploring Operation: 43+124=167, Resulting Numbers: [167] 167,67 unequal: No Solution Exploring Operation: 43*124=5332, Resulting Numbers: [5332] 5332,67 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 45, 32, 9, 18 ]
79
[ "45+32=77", "18/9=2", "77+2=79" ]
Current State: 79:[45, 32, 9, 18], Operations: [] Exploring Operation: 45+32=77, Resulting Numbers: [9, 18, 77] Generated Node #2: [9, 18, 77] from Operation: 45+32=77 Current State: 79:[9, 18, 77], Operations: ['45+32=77'] Exploring Operation: 18/9=2, Resulting Numbers: [77, 2] Generated Node #3: [77, 2] from Operation: 18/9=2 Current State: 79:[77, 2], Operations: ['45+32=77', '18/9=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[45, 32, 9, 18], Operations: [] Exploring Operation: 45+32=77, Resulting Numbers: [9, 18, 77] Generated Node #0,0: 79:[9, 18, 77] Operation: 45+32=77 Exploring Operation: 45+9=54, Resulting Numbers: [32, 18, 54] Generated Node #0,1: 79:[32, 18, 54] Operation: 45+9=54 Moving to Node #0,0 Current State: 79:[9, 18, 77], Operations: ['45+32=77'] Exploring Operation: 9+18=27, Resulting Numbers: [77, 27] Generated Node #0,0,0: 79:[77, 27] Operation: 9+18=27 Exploring Operation: 9+77=86, Resulting Numbers: [18, 86] Generated Node #0,0,1: 79:[18, 86] Operation: 9+77=86 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[77, 27], Operations: ['45+32=77', '9+18=27'] Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,79 unequal: No Solution Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[18, 86], Operations: ['45+32=77', '9+77=86'] Exploring Operation: 18+86=104, Resulting Numbers: [104] 104,79 unequal: No Solution Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 79:[32, 18, 54], Operations: ['45+9=54'] Exploring Operation: 32+18=50, Resulting Numbers: [54, 50] Generated Node #0,1,0: 79:[54, 50] Operation: 32+18=50 Exploring Operation: 18+54=72, Resulting Numbers: [32, 72] Generated Node #0,1,1: 79:[32, 72] Operation: 18+54=72 Moving to Node #0,1,0 Current State: 79:[54, 50], Operations: ['45+9=54', '32+18=50'] Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 54+50=104, Resulting Numbers: [104] 104,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[32, 72], Operations: ['45+9=54', '18+54=72'] Exploring Operation: 32+72=104, Resulting Numbers: [104] 104,79 unequal: No Solution Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,79 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 28, 4, 65, 88 ]
20
[ "28+65=93", "93-88=5", "4*5=20" ]
Current State: 20:[28, 4, 65, 88], Operations: [] Exploring Operation: 28+65=93, Resulting Numbers: [4, 88, 93] Generated Node #2: [4, 88, 93] from Operation: 28+65=93 Current State: 20:[4, 88, 93], Operations: ['28+65=93'] Exploring Operation: 93-88=5, Resulting Numbers: [4, 5] Generated Node #3: [4, 5] from Operation: 93-88=5 Current State: 20:[4, 5], Operations: ['28+65=93', '93-88=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[28, 4, 65, 88], Operations: [] Exploring Operation: 65-28=37, Resulting Numbers: [4, 88, 37] Generated Node #0,0: 20:[4, 88, 37] Operation: 65-28=37 Exploring Operation: 88/4=22, Resulting Numbers: [28, 65, 22] Generated Node #0,1: 20:[28, 65, 22] Operation: 88/4=22 Exploring Operation: 88-28=60, Resulting Numbers: [4, 65, 60] Generated Node #0,2: 20:[4, 65, 60] Operation: 88-28=60 Exploring Operation: 88-65=23, Resulting Numbers: [28, 4, 23] Generated Node #0,3: 20:[28, 4, 23] Operation: 88-65=23 Moving to Node #0,3 Current State: 20:[28, 4, 23], Operations: ['88-65=23'] Exploring Operation: 28-4=24, Resulting Numbers: [23, 24] Generated Node #0,3,0: 20:[23, 24] Operation: 28-4=24 Exploring Operation: 28-23=5, Resulting Numbers: [4, 5] Generated Node #0,3,1: 20:[4, 5] Operation: 28-23=5 Exploring Operation: 28/4=7, Resulting Numbers: [23, 7] Generated Node #0,3,2: 20:[23, 7] Operation: 28/4=7 Exploring Operation: 23-4=19, Resulting Numbers: [28, 19] Generated Node #0,3,3: 20:[28, 19] Operation: 23-4=19 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 20:[4, 5], Operations: ['88-65=23', '28-23=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[28, 4, 65, 88], Operations: [] Exploring Operation: 88-65=23, Resulting Numbers: [28, 4, 23] Generated Node #0,3: 20:[28, 4, 23] Operation: 88-65=23 Moving to Node #0,3 Current State: 20:[28, 4, 23], Operations: ['88-65=23'] Exploring Operation: 28-23=5, Resulting Numbers: [4, 5] Generated Node #0,3,1: 20:[4, 5] Operation: 28-23=5 Moving to Node #0,3,1 Current State: 20:[4, 5], Operations: ['88-65=23', '28-23=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 4, 66, 90, 22 ]
49
[ "90-22=68", "68/4=17", "66-17=49" ]
Current State: 49:[4, 66, 90, 22], Operations: [] Exploring Operation: 90-22=68, Resulting Numbers: [4, 66, 68] Generated Node #2: [4, 66, 68] from Operation: 90-22=68 Current State: 49:[4, 66, 68], Operations: ['90-22=68'] Exploring Operation: 68/4=17, Resulting Numbers: [66, 17] Generated Node #3: [66, 17] from Operation: 68/4=17 Current State: 49:[66, 17], Operations: ['90-22=68', '68/4=17'] Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[4, 66, 90, 22], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [4, 90, 3] Generated Node #0,0: 49:[4, 90, 3] Operation: 66/22=3 Exploring Operation: 90-22=68, Resulting Numbers: [4, 66, 68] Generated Node #0,1: 49:[4, 66, 68] Operation: 90-22=68 Exploring Operation: 66-22=44, Resulting Numbers: [4, 90, 44] Generated Node #0,2: 49:[4, 90, 44] Operation: 66-22=44 Exploring Operation: 90-66=24, Resulting Numbers: [4, 22, 24] Generated Node #0,3: 49:[4, 22, 24] Operation: 90-66=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[4, 22, 24], Operations: ['90-66=24'] Exploring Operation: 22+24=46, Resulting Numbers: [4, 46] Generated Node #0,3,0: 49:[4, 46] Operation: 22+24=46 Exploring Operation: 22-4=18, Resulting Numbers: [24, 18] Generated Node #0,3,1: 49:[24, 18] Operation: 22-4=18 Exploring Operation: 24-22=2, Resulting Numbers: [4, 2] Generated Node #0,3,2: 49:[4, 2] Operation: 24-22=2 Exploring Operation: 24/4=6, Resulting Numbers: [22, 6] Generated Node #0,3,3: 49:[22, 6] Operation: 24/4=6 Moving to Node #0,3,0 Current State: 49:[4, 46], Operations: ['90-66=24', '22+24=46'] Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,49 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[4, 2], Operations: ['90-66=24', '24-22=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[22, 6], Operations: ['90-66=24', '24/4=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,49 unequal: No Solution Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,49 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[24, 18], Operations: ['90-66=24', '22-4=18'] Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,49 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[4, 66, 68], Operations: ['90-22=68'] Exploring Operation: 66-4=62, Resulting Numbers: [68, 62] Generated Node #0,1,0: 49:[68, 62] Operation: 66-4=62 Exploring Operation: 68/4=17, Resulting Numbers: [66, 17] Generated Node #0,1,1: 49:[66, 17] Operation: 68/4=17 Exploring Operation: 68-4=64, Resulting Numbers: [66, 64] Generated Node #0,1,2: 49:[66, 64] Operation: 68-4=64 Exploring Operation: 68-66=2, Resulting Numbers: [4, 2] Generated Node #0,1,3: 49:[4, 2] Operation: 68-66=2 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 49:[4, 2], Operations: ['90-22=68', '68-66=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[66, 17], Operations: ['90-22=68', '68/4=17'] Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[4, 66, 90, 22], Operations: [] Exploring Operation: 90-22=68, Resulting Numbers: [4, 66, 68] Generated Node #0,1: 49:[4, 66, 68] Operation: 90-22=68 Moving to Node #0,1 Current State: 49:[4, 66, 68], Operations: ['90-22=68'] Exploring Operation: 68/4=17, Resulting Numbers: [66, 17] Generated Node #0,1,1: 49:[66, 17] Operation: 68/4=17 Moving to Node #0,1,1 Current State: 49:[66, 17], Operations: ['90-22=68', '68/4=17'] Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 24, 77, 4, 60 ]
79
[ "24*4=96", "77-60=17", "96-17=79" ]
Current State: 79:[24, 77, 4, 60], Operations: [] Exploring Operation: 24*4=96, Resulting Numbers: [77, 60, 96] Generated Node #2: [77, 60, 96] from Operation: 24*4=96 Current State: 79:[77, 60, 96], Operations: ['24*4=96'] Exploring Operation: 77-60=17, Resulting Numbers: [96, 17] Generated Node #3: [96, 17] from Operation: 77-60=17 Current State: 79:[96, 17], Operations: ['24*4=96', '77-60=17'] Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[24, 77, 4, 60], Operations: [] Exploring Operation: 4+60=64, Resulting Numbers: [24, 77, 64] Generated Node #0,0: 79:[24, 77, 64] Operation: 4+60=64 Exploring Operation: 24*4=96, Resulting Numbers: [77, 60, 96] Generated Node #0,1: 79:[77, 60, 96] Operation: 24*4=96 Exploring Operation: 77+4=81, Resulting Numbers: [24, 60, 81] Generated Node #0,2: 79:[24, 60, 81] Operation: 77+4=81 Exploring Operation: 24+4=28, Resulting Numbers: [77, 60, 28] Generated Node #0,3: 79:[77, 60, 28] Operation: 24+4=28 Exploring Operation: 24-4=20, Resulting Numbers: [77, 60, 20] Generated Node #0,4: 79:[77, 60, 20] Operation: 24-4=20 Moving to Node #0,1 Current State: 79:[77, 60, 96], Operations: ['24*4=96'] Exploring Operation: 77-60=17, Resulting Numbers: [96, 17] Generated Node #0,1,0: 79:[96, 17] Operation: 77-60=17 Exploring Operation: 60+96=156, Resulting Numbers: [77, 156] Generated Node #0,1,1: 79:[77, 156] Operation: 60+96=156 Exploring Operation: 96-60=36, Resulting Numbers: [77, 36] Generated Node #0,1,2: 79:[77, 36] Operation: 96-60=36 Exploring Operation: 77+60=137, Resulting Numbers: [96, 137] Generated Node #0,1,3: 79:[96, 137] Operation: 77+60=137 Exploring Operation: 96-77=19, Resulting Numbers: [60, 19] Generated Node #0,1,4: 79:[60, 19] Operation: 96-77=19 Moving to Node #0,3 Current State: 79:[77, 60, 28], Operations: ['24+4=28'] Exploring Operation: 77+60=137, Resulting Numbers: [28, 137] Generated Node #0,3,0: 79:[28, 137] Operation: 77+60=137 Exploring Operation: 77-28=49, Resulting Numbers: [60, 49] Generated Node #0,3,1: 79:[60, 49] Operation: 77-28=49 Exploring Operation: 60+28=88, Resulting Numbers: [77, 88] Generated Node #0,3,2: 79:[77, 88] Operation: 60+28=88 Exploring Operation: 77+28=105, Resulting Numbers: [60, 105] Generated Node #0,3,3: 79:[60, 105] Operation: 77+28=105 Exploring Operation: 60-28=32, Resulting Numbers: [77, 32] Generated Node #0,3,4: 79:[77, 32] Operation: 60-28=32 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 79:[77, 88], Operations: ['24+4=28', '60+28=88'] Exploring Operation: 88-77=11, Resulting Numbers: [11] 11,79 unequal: No Solution Exploring Operation: 77+88=165, Resulting Numbers: [165] 165,79 unequal: No Solution Exploring Operation: 77*88=6776, Resulting Numbers: [6776] 6776,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 79:[60, 105], Operations: ['24+4=28', '77+28=105'] Exploring Operation: 60*105=6300, Resulting Numbers: [6300] 6300,79 unequal: No Solution Exploring Operation: 105-60=45, Resulting Numbers: [45] 45,79 unequal: No Solution Exploring Operation: 60+105=165, Resulting Numbers: [165] 165,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 79:[60, 49], Operations: ['24+4=28', '77-28=49'] Exploring Operation: 60+49=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 60*49=2940, Resulting Numbers: [2940] 2940,79 unequal: No Solution Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 79:[77, 32], Operations: ['24+4=28', '60-28=32'] Exploring Operation: 77+32=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 77*32=2464, Resulting Numbers: [2464] 2464,79 unequal: No Solution Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[28, 137], Operations: ['24+4=28', '77+60=137'] Exploring Operation: 28*137=3836, Resulting Numbers: [3836] 3836,79 unequal: No Solution Exploring Operation: 28+137=165, Resulting Numbers: [165] 165,79 unequal: No Solution Exploring Operation: 137-28=109, Resulting Numbers: [109] 109,79 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: 79:[24, 77, 64], Operations: ['4+60=64'] Exploring Operation: 77+64=141, Resulting Numbers: [24, 141] Generated Node #0,0,0: 79:[24, 141] Operation: 77+64=141 Exploring Operation: 24+64=88, Resulting Numbers: [77, 88] Generated Node #0,0,1: 79:[77, 88] Operation: 24+64=88 Exploring Operation: 64-24=40, Resulting Numbers: [77, 40] Generated Node #0,0,2: 79:[77, 40] Operation: 64-24=40 Exploring Operation: 77-24=53, Resulting Numbers: [64, 53] Generated Node #0,0,3: 79:[64, 53] Operation: 77-24=53 Exploring Operation: 24+77=101, Resulting Numbers: [64, 101] Generated Node #0,0,4: 79:[64, 101] Operation: 24+77=101 Moving to Node #0,2 Current State: 79:[24, 60, 81], Operations: ['77+4=81'] Exploring Operation: 81-24=57, Resulting Numbers: [60, 57] Generated Node #0,2,0: 79:[60, 57] Operation: 81-24=57 Exploring Operation: 24+60=84, Resulting Numbers: [81, 84] Generated Node #0,2,1: 79:[81, 84] Operation: 24+60=84 Exploring Operation: 60-24=36, Resulting Numbers: [81, 36] Generated Node #0,2,2: 79:[81, 36] Operation: 60-24=36 Exploring Operation: 24+81=105, Resulting Numbers: [60, 105] Generated Node #0,2,3: 79:[60, 105] Operation: 24+81=105 Exploring Operation: 81-60=21, Resulting Numbers: [24, 21] Generated Node #0,2,4: 79:[24, 21] Operation: 81-60=21 Moving to Node #0,4 Current State: 79:[77, 60, 20], Operations: ['24-4=20'] Exploring Operation: 60/20=3, Resulting Numbers: [77, 3] Generated Node #0,4,0: 79:[77, 3] Operation: 60/20=3 Exploring Operation: 60+20=80, Resulting Numbers: [77, 80] Generated Node #0,4,1: 79:[77, 80] Operation: 60+20=80 Exploring Operation: 77-20=57, Resulting Numbers: [60, 57] Generated Node #0,4,2: 79:[60, 57] Operation: 77-20=57 Exploring Operation: 60-20=40, Resulting Numbers: [77, 40] Generated Node #0,4,3: 79:[77, 40] Operation: 60-20=40 Exploring Operation: 77+20=97, Resulting Numbers: [60, 97] Generated Node #0,4,4: 79:[60, 97] Operation: 77+20=97 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 79:[77, 80], Operations: ['24-4=20', '60+20=80'] Exploring Operation: 77+80=157, Resulting Numbers: [157] 157,79 unequal: No Solution Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 77*80=6160, Resulting Numbers: [6160] 6160,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 79:[60, 97], Operations: ['24-4=20', '77+20=97'] Exploring Operation: 60*97=5820, Resulting Numbers: [5820] 5820,79 unequal: No Solution Exploring Operation: 97-60=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 60+97=157, Resulting Numbers: [157] 157,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 79:[60, 57], Operations: ['24-4=20', '77-20=57'] Exploring Operation: 60+57=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 60*57=3420, Resulting Numbers: [3420] 3420,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 79:[77, 40], Operations: ['24-4=20', '60-20=40'] Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,79 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 79:[77, 3], Operations: ['24-4=20', '60/20=3'] Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,79 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 79:[81, 84], Operations: ['77+4=81', '24+60=84'] Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 81*84=6804, Resulting Numbers: [6804] 6804,79 unequal: No Solution Exploring Operation: 81+84=165, Resulting Numbers: [165] 165,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[77, 88], Operations: ['4+60=64', '24+64=88'] Exploring Operation: 77+88=165, Resulting Numbers: [165] 165,79 unequal: No Solution Exploring Operation: 77*88=6776, Resulting Numbers: [6776] 6776,79 unequal: No Solution Exploring Operation: 88-77=11, Resulting Numbers: [11] 11,79 unequal: No Solution Moving to Node #0,0,4 Current State: 79:[64, 101], Operations: ['4+60=64', '24+77=101'] Exploring Operation: 64*101=6464, Resulting Numbers: [6464] 6464,79 unequal: No Solution Exploring Operation: 101-64=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 64+101=165, Resulting Numbers: [165] 165,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[60, 57], Operations: ['77+4=81', '81-24=57'] Exploring Operation: 60+57=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 60*57=3420, Resulting Numbers: [3420] 3420,79 unequal: No Solution Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[77, 40], Operations: ['4+60=64', '64-24=40'] Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[64, 53], Operations: ['4+60=64', '77-24=53'] Exploring Operation: 64+53=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 64*53=3392, Resulting Numbers: [3392] 3392,79 unequal: No Solution Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[77, 36], Operations: ['24*4=96', '96-60=36'] Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,79 unequal: No Solution Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,79 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[60, 105], Operations: ['77+4=81', '24+81=105'] Exploring Operation: 60*105=6300, Resulting Numbers: [6300] 6300,79 unequal: No Solution Exploring Operation: 60+105=165, Resulting Numbers: [165] 165,79 unequal: No Solution Exploring Operation: 105-60=45, Resulting Numbers: [45] 45,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[81, 36], Operations: ['77+4=81', '60-24=36'] Exploring Operation: 81+36=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 81-36=45, Resulting Numbers: [45] 45,79 unequal: No Solution Exploring Operation: 81*36=2916, Resulting Numbers: [2916] 2916,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[96, 137], Operations: ['24*4=96', '77+60=137'] Exploring Operation: 137-96=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 96*137=13152, Resulting Numbers: [13152] 13152,79 unequal: No Solution Exploring Operation: 96+137=233, Resulting Numbers: [233] 233,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[77, 156], Operations: ['24*4=96', '60+96=156'] Exploring Operation: 77+156=233, Resulting Numbers: [233] 233,79 unequal: No Solution Exploring Operation: 156-77=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[24, 77, 4, 60], Operations: [] Exploring Operation: 24*4=96, Resulting Numbers: [77, 60, 96] Generated Node #0,1: 79:[77, 60, 96] Operation: 24*4=96 Moving to Node #0,1 Current State: 79:[77, 60, 96], Operations: ['24*4=96'] Exploring Operation: 60+96=156, Resulting Numbers: [77, 156] Generated Node #0,1,1: 79:[77, 156] Operation: 60+96=156 Moving to Node #0,1,1 Current State: 79:[77, 156], Operations: ['24*4=96', '60+96=156'] Exploring Operation: 156-77=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
0.916667
hs_5
mult_heuristic
[ 66, 50, 82, 91 ]
33
[ "91-50=41", "66*41=2706", "2706/82=33" ]
Current State: 33:[66, 50, 82, 91], Operations: [] Exploring Operation: 91-50=41, Resulting Numbers: [66, 82, 41] Generated Node #2: [66, 82, 41] from Operation: 91-50=41 Current State: 33:[66, 82, 41], Operations: ['91-50=41'] Exploring Operation: 66*41=2706, Resulting Numbers: [82, 2706] Generated Node #3: [82, 2706] from Operation: 66*41=2706 Current State: 33:[82, 2706], Operations: ['91-50=41', '66*41=2706'] Exploring Operation: 2706/82=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[66, 50, 82, 91], Operations: [] Exploring Operation: 91-50=41, Resulting Numbers: [66, 82, 41] Generated Node #0,0: 33:[66, 82, 41] Operation: 91-50=41 Exploring Operation: 91-66=25, Resulting Numbers: [50, 82, 25] Generated Node #0,1: 33:[50, 82, 25] Operation: 91-66=25 Exploring Operation: 82-66=16, Resulting Numbers: [50, 91, 16] Generated Node #0,2: 33:[50, 91, 16] Operation: 82-66=16 Exploring Operation: 91-82=9, Resulting Numbers: [66, 50, 9] Generated Node #0,3: 33:[66, 50, 9] Operation: 91-82=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[66, 50, 9], Operations: ['91-82=9'] Exploring Operation: 66-9=57, Resulting Numbers: [50, 57] Generated Node #0,3,0: 33:[50, 57] Operation: 66-9=57 Exploring Operation: 66+9=75, Resulting Numbers: [50, 75] Generated Node #0,3,1: 33:[50, 75] Operation: 66+9=75 Exploring Operation: 66-50=16, Resulting Numbers: [9, 16] Generated Node #0,3,2: 33:[9, 16] Operation: 66-50=16 Exploring Operation: 50-9=41, Resulting Numbers: [66, 41] Generated Node #0,3,3: 33:[66, 41] Operation: 50-9=41 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 33:[9, 16], Operations: ['91-82=9', '66-50=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,33 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,33 unequal: No Solution No 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: 33:[50, 57], Operations: ['91-82=9', '66-9=57'] Exploring Operation: 50+57=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 50*57=2850, Resulting Numbers: [2850] 2850,33 unequal: No Solution No 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: 33:[66, 41], Operations: ['91-82=9', '50-9=41'] Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,33 unequal: No Solution Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,33 unequal: No Solution No 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: 33:[50, 75], Operations: ['91-82=9', '66+9=75'] Exploring Operation: 50+75=125, Resulting Numbers: [125] 125,33 unequal: No Solution Exploring Operation: 50*75=3750, Resulting Numbers: [3750] 3750,33 unequal: No Solution Exploring Operation: 75-50=25, Resulting Numbers: [25] 25,33 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: 33:[50, 82, 25], Operations: ['91-66=25'] Exploring Operation: 82-50=32, Resulting Numbers: [25, 32] Generated Node #0,1,0: 33:[25, 32] Operation: 82-50=32 Exploring Operation: 50-25=25, Resulting Numbers: [82, 25] Generated Node #0,1,1: 33:[82, 25] Operation: 50-25=25 Exploring Operation: 82-25=57, Resulting Numbers: [50, 57] Generated Node #0,1,2: 33:[50, 57] Operation: 82-25=57 Exploring Operation: 50/25=2, Resulting Numbers: [82, 2] Generated Node #0,1,3: 33:[82, 2] Operation: 50/25=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[25, 32], Operations: ['91-66=25', '82-50=32'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,33 unequal: No Solution No 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: 33:[50, 57], Operations: ['91-66=25', '82-25=57'] Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,33 unequal: No Solution Exploring Operation: 50+57=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 50*57=2850, Resulting Numbers: [2850] 2850,33 unequal: No Solution No 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: 33:[82, 2], Operations: ['91-66=25', '50/25=2'] Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,33 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,33 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,33 unequal: No Solution No 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: 33:[82, 25], Operations: ['91-66=25', '50-25=25'] Exploring Operation: 82+25=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 82*25=2050, Resulting Numbers: [2050] 2050,33 unequal: No Solution Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,33 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: 33:[50, 91, 16], Operations: ['82-66=16'] Exploring Operation: 91-50=41, Resulting Numbers: [16, 41] Generated Node #0,2,0: 33:[16, 41] Operation: 91-50=41 Exploring Operation: 50+16=66, Resulting Numbers: [91, 66] Generated Node #0,2,1: 33:[91, 66] Operation: 50+16=66 Exploring Operation: 50-16=34, Resulting Numbers: [91, 34] Generated Node #0,2,2: 33:[91, 34] Operation: 50-16=34 Exploring Operation: 91-16=75, Resulting Numbers: [50, 75] Generated Node #0,2,3: 33:[50, 75] Operation: 91-16=75 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 33:[16, 41], Operations: ['82-66=16', '91-50=41'] Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,33 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,33 unequal: No Solution No 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: 33:[91, 34], Operations: ['82-66=16', '50-16=34'] Exploring Operation: 91*34=3094, Resulting Numbers: [3094] 3094,33 unequal: No Solution Exploring Operation: 91+34=125, Resulting Numbers: [125] 125,33 unequal: No Solution Exploring Operation: 91-34=57, Resulting Numbers: [57] 57,33 unequal: No Solution No 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: 33:[50, 75], Operations: ['82-66=16', '91-16=75'] Exploring Operation: 75-50=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 50*75=3750, Resulting Numbers: [3750] 3750,33 unequal: No Solution Exploring Operation: 50+75=125, Resulting Numbers: [125] 125,33 unequal: No Solution No 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: 33:[91, 66], Operations: ['82-66=16', '50+16=66'] Exploring Operation: 91+66=157, Resulting Numbers: [157] 157,33 unequal: No Solution Exploring Operation: 91*66=6006, Resulting Numbers: [6006] 6006,33 unequal: No Solution Exploring Operation: 91-66=25, Resulting Numbers: [25] 25,33 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: 33:[66, 82, 41], Operations: ['91-50=41'] Exploring Operation: 66-41=25, Resulting Numbers: [82, 25] Generated Node #0,0,0: 33:[82, 25] Operation: 66-41=25 Exploring Operation: 82-66=16, Resulting Numbers: [41, 16] Generated Node #0,0,1: 33:[41, 16] Operation: 82-66=16 Exploring Operation: 82-41=41, Resulting Numbers: [66, 41] Generated Node #0,0,2: 33:[66, 41] Operation: 82-41=41 Exploring Operation: 82/41=2, Resulting Numbers: [66, 2] Generated Node #0,0,3: 33:[66, 2] Operation: 82/41=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[41, 16], Operations: ['91-50=41', '82-66=16'] Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,33 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,33 unequal: No Solution No 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: 33:[66, 2], Operations: ['91-50=41', '82/41=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[66, 50, 82, 91], Operations: [] Exploring Operation: 91-50=41, Resulting Numbers: [66, 82, 41] Generated Node #0,0: 33:[66, 82, 41] Operation: 91-50=41 Moving to Node #0,0 Current State: 33:[66, 82, 41], Operations: ['91-50=41'] Exploring Operation: 82/41=2, Resulting Numbers: [66, 2] Generated Node #0,0,3: 33:[66, 2] Operation: 82/41=2 Moving to Node #0,0,3 Current State: 33:[66, 2], Operations: ['91-50=41', '82/41=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.943576
hs_4
sum_heuristic
[ 30, 55, 69, 12 ]
82
[ "55-30=25", "69-12=57", "25+57=82" ]
Current State: 82:[30, 55, 69, 12], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [69, 12, 25] Generated Node #2: [69, 12, 25] from Operation: 55-30=25 Current State: 82:[69, 12, 25], Operations: ['55-30=25'] Exploring Operation: 69-12=57, Resulting Numbers: [25, 57] Generated Node #3: [25, 57] from Operation: 69-12=57 Current State: 82:[25, 57], Operations: ['55-30=25', '69-12=57'] Exploring Operation: 25+57=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[30, 55, 69, 12], Operations: [] Exploring Operation: 30+55=85, Resulting Numbers: [69, 12, 85] Generated Node #0,0: 82:[69, 12, 85] Operation: 30+55=85 Exploring Operation: 69-30=39, Resulting Numbers: [55, 12, 39] Generated Node #0,1: 82:[55, 12, 39] Operation: 69-30=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[69, 12, 85], Operations: ['30+55=85'] Exploring Operation: 69-12=57, Resulting Numbers: [85, 57] Generated Node #0,0,0: 82:[85, 57] Operation: 69-12=57 Exploring Operation: 69+12=81, Resulting Numbers: [85, 81] Generated Node #0,0,1: 82:[85, 81] Operation: 69+12=81 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[85, 81], Operations: ['30+55=85', '69+12=81'] Exploring Operation: 85+81=166, Resulting Numbers: [166] 166,82 unequal: No Solution Exploring Operation: 85-81=4, Resulting Numbers: [4] 4,82 unequal: No Solution No 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: 82:[85, 57], Operations: ['30+55=85', '69-12=57'] Exploring Operation: 85+57=142, Resulting Numbers: [142] 142,82 unequal: No Solution Exploring Operation: 85-57=28, Resulting Numbers: [28] 28,82 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: 82:[55, 12, 39], Operations: ['69-30=39'] Exploring Operation: 55+12=67, Resulting Numbers: [39, 67] Generated Node #0,1,0: 82:[39, 67] Operation: 55+12=67 Exploring Operation: 55-12=43, Resulting Numbers: [39, 43] Generated Node #0,1,1: 82:[39, 43] Operation: 55-12=43 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[39, 43], Operations: ['69-30=39', '55-12=43'] Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[30, 55, 69, 12], Operations: [] Exploring Operation: 69-30=39, Resulting Numbers: [55, 12, 39] Generated Node #0,1: 82:[55, 12, 39] Operation: 69-30=39 Moving to Node #0,1 Current State: 82:[55, 12, 39], Operations: ['69-30=39'] Exploring Operation: 55-12=43, Resulting Numbers: [39, 43] Generated Node #0,1,1: 82:[39, 43] Operation: 55-12=43 Moving to Node #0,1,1 Current State: 82:[39, 43], Operations: ['69-30=39', '55-12=43'] Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 16, 42, 61, 2 ]
22
[ "61-42=19", "2*19=38", "38-16=22" ]
Current State: 22:[16, 42, 61, 2], Operations: [] Exploring Operation: 61-42=19, Resulting Numbers: [16, 2, 19] Generated Node #2: [16, 2, 19] from Operation: 61-42=19 Current State: 22:[16, 2, 19], Operations: ['61-42=19'] Exploring Operation: 2*19=38, Resulting Numbers: [16, 38] Generated Node #3: [16, 38] from Operation: 2*19=38 Current State: 22:[16, 38], Operations: ['61-42=19', '2*19=38'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[16, 42, 61, 2], Operations: [] Exploring Operation: 42/2=21, Resulting Numbers: [16, 61, 21] Generated Node #0,0: 22:[16, 61, 21] Operation: 42/2=21 Exploring Operation: 61-42=19, Resulting Numbers: [16, 2, 19] Generated Node #0,1: 22:[16, 2, 19] Operation: 61-42=19 Exploring Operation: 61-16=45, Resulting Numbers: [42, 2, 45] Generated Node #0,2: 22:[42, 2, 45] Operation: 61-16=45 Exploring Operation: 42-16=26, Resulting Numbers: [61, 2, 26] Generated Node #0,3: 22:[61, 2, 26] Operation: 42-16=26 Moving to Node #0,1 Current State: 22:[16, 2, 19], Operations: ['61-42=19'] Exploring Operation: 2+19=21, Resulting Numbers: [16, 21] Generated Node #0,1,0: 22:[16, 21] Operation: 2+19=21 Exploring Operation: 19-16=3, Resulting Numbers: [2, 3] Generated Node #0,1,1: 22:[2, 3] Operation: 19-16=3 Exploring Operation: 16/2=8, Resulting Numbers: [19, 8] Generated Node #0,1,2: 22:[19, 8] Operation: 16/2=8 Exploring Operation: 16-2=14, Resulting Numbers: [19, 14] Generated Node #0,1,3: 22:[19, 14] Operation: 16-2=14 Moving to Node #0,3 Current State: 22:[61, 2, 26], Operations: ['42-16=26'] Exploring Operation: 26/2=13, Resulting Numbers: [61, 13] Generated Node #0,3,0: 22:[61, 13] Operation: 26/2=13 Exploring Operation: 61-2=59, Resulting Numbers: [26, 59] Generated Node #0,3,1: 22:[26, 59] Operation: 61-2=59 Exploring Operation: 26-2=24, Resulting Numbers: [61, 24] Generated Node #0,3,2: 22:[61, 24] Operation: 26-2=24 Exploring Operation: 61-26=35, Resulting Numbers: [2, 35] Generated Node #0,3,3: 22:[2, 35] Operation: 61-26=35 Moving to Node #0,2 Current State: 22:[42, 2, 45], Operations: ['61-16=45'] Exploring Operation: 45-2=43, Resulting Numbers: [42, 43] Generated Node #0,2,0: 22:[42, 43] Operation: 45-2=43 Exploring Operation: 45-42=3, Resulting Numbers: [2, 3] Generated Node #0,2,1: 22:[2, 3] Operation: 45-42=3 Exploring Operation: 42-2=40, Resulting Numbers: [45, 40] Generated Node #0,2,2: 22:[45, 40] Operation: 42-2=40 Exploring Operation: 42/2=21, Resulting Numbers: [45, 21] Generated Node #0,2,3: 22:[45, 21] Operation: 42/2=21 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[2, 3], Operations: ['61-16=45', '45-42=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,22 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,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,2,3 Current State: 22:[45, 21], Operations: ['61-16=45', '42/2=21'] Exploring Operation: 45*21=945, Resulting Numbers: [945] 945,22 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,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,2,0 Current State: 22:[42, 43], Operations: ['61-16=45', '45-2=43'] Exploring Operation: 42+43=85, Resulting Numbers: [85] 85,22 unequal: No Solution Exploring Operation: 42*43=1806, Resulting Numbers: [1806] 1806,22 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,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,2,2 Current State: 22:[45, 40], Operations: ['61-16=45', '42-2=40'] Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,22 unequal: No Solution Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,22 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,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:[16, 61, 21], Operations: ['42/2=21'] Exploring Operation: 16+21=37, Resulting Numbers: [61, 37] Generated Node #0,0,0: 22:[61, 37] Operation: 16+21=37 Exploring Operation: 61-21=40, Resulting Numbers: [16, 40] Generated Node #0,0,1: 22:[16, 40] Operation: 61-21=40 Exploring Operation: 21-16=5, Resulting Numbers: [61, 5] Generated Node #0,0,2: 22:[61, 5] Operation: 21-16=5 Exploring Operation: 61-16=45, Resulting Numbers: [21, 45] Generated Node #0,0,3: 22:[21, 45] Operation: 61-16=45 Moving to Node #0,1,1 Current State: 22:[2, 3], Operations: ['61-42=19', '19-16=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,22 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[19, 8], Operations: ['61-42=19', '16/2=8'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[16, 21], Operations: ['61-42=19', '2+19=21'] Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,22 unequal: No Solution Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,22 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,22 unequal: No Solution Moving to Node #0,1,3 Current State: 22:[19, 14], Operations: ['61-42=19', '16-2=14'] Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,22 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[2, 35], Operations: ['42-16=26', '61-26=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,22 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[16, 40], Operations: ['42/2=21', '61-21=40'] Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,22 unequal: No Solution Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,22 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[21, 45], Operations: ['42/2=21', '61-16=45'] Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,22 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,22 unequal: No Solution Moving to Node #0,3,1 Current State: 22:[26, 59], Operations: ['42-16=26', '61-2=59'] Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 26*59=1534, Resulting Numbers: [1534] 1534,22 unequal: No Solution Exploring Operation: 26+59=85, Resulting Numbers: [85] 85,22 unequal: No Solution Moving to Node #0,3,0 Current State: 22:[61, 13], Operations: ['42-16=26', '26/2=13'] Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,22 unequal: No Solution Exploring Operation: 61*13=793, Resulting Numbers: [793] 793,22 unequal: No Solution Exploring Operation: 61+13=74, Resulting Numbers: [74] 74,22 unequal: No Solution Moving to Node #0,3,2 Current State: 22:[61, 24], Operations: ['42-16=26', '26-2=24'] Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,22 unequal: No Solution Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,22 unequal: No Solution Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[61, 5], Operations: ['42/2=21', '21-16=5'] Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,22 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,22 unequal: No Solution Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[61, 37], Operations: ['42/2=21', '16+21=37'] Exploring Operation: 61+37=98, Resulting Numbers: [98] 98,22 unequal: No Solution Exploring Operation: 61*37=2257, Resulting Numbers: [2257] 2257,22 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,22 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 68, 48, 22, 30 ]
12
[ "68-48=20", "30-22=8", "20-8=12" ]
Current State: 12:[68, 48, 22, 30], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [22, 30, 20] Generated Node #2: [22, 30, 20] from Operation: 68-48=20 Current State: 12:[22, 30, 20], Operations: ['68-48=20'] Exploring Operation: 30-22=8, Resulting Numbers: [20, 8] Generated Node #3: [20, 8] from Operation: 30-22=8 Current State: 12:[20, 8], Operations: ['68-48=20', '30-22=8'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[68, 48, 22, 30], Operations: [] Exploring Operation: 68-22=46, Resulting Numbers: [48, 30, 46] Generated Node #0,0: 12:[48, 30, 46] Operation: 68-22=46 Exploring Operation: 68-30=38, Resulting Numbers: [48, 22, 38] Generated Node #0,1: 12:[48, 22, 38] Operation: 68-30=38 Exploring Operation: 48-22=26, Resulting Numbers: [68, 30, 26] Generated Node #0,2: 12:[68, 30, 26] Operation: 48-22=26 Exploring Operation: 48-30=18, Resulting Numbers: [68, 22, 18] Generated Node #0,3: 12:[68, 22, 18] Operation: 48-30=18 Exploring Operation: 68-48=20, Resulting Numbers: [22, 30, 20] Generated Node #0,4: 12:[22, 30, 20] Operation: 68-48=20 Start Sub Search at level 1: Moving to Node #0,4 Current State: 12:[22, 30, 20], Operations: ['68-48=20'] Exploring Operation: 22-20=2, Resulting Numbers: [30, 2] Generated Node #0,4,0: 12:[30, 2] Operation: 22-20=2 Exploring Operation: 30-20=10, Resulting Numbers: [22, 10] Generated Node #0,4,1: 12:[22, 10] Operation: 30-20=10 Exploring Operation: 30-22=8, Resulting Numbers: [20, 8] Generated Node #0,4,2: 12:[20, 8] Operation: 30-22=8 Exploring Operation: 22+20=42, Resulting Numbers: [30, 42] Generated Node #0,4,3: 12:[30, 42] Operation: 22+20=42 Exploring Operation: 22+30=52, Resulting Numbers: [20, 52] Generated Node #0,4,4: 12:[20, 52] Operation: 22+30=52 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 12:[20, 8], Operations: ['68-48=20', '30-22=8'] Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,12 unequal: No Solution Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[68, 48, 22, 30], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [22, 30, 20] Generated Node #0,4: 12:[22, 30, 20] Operation: 68-48=20 Moving to Node #0,4 Current State: 12:[22, 30, 20], Operations: ['68-48=20'] Exploring Operation: 30-22=8, Resulting Numbers: [20, 8] Generated Node #0,4,2: 12:[20, 8] Operation: 30-22=8 Moving to Node #0,4,2 Current State: 12:[20, 8], Operations: ['68-48=20', '30-22=8'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 23, 6, 94, 15 ]
96
[ "23-6=17", "94-15=79", "17+79=96" ]
Current State: 96:[23, 6, 94, 15], Operations: [] Exploring Operation: 23-6=17, Resulting Numbers: [94, 15, 17] Generated Node #2: [94, 15, 17] from Operation: 23-6=17 Current State: 96:[94, 15, 17], Operations: ['23-6=17'] Exploring Operation: 94-15=79, Resulting Numbers: [17, 79] Generated Node #3: [17, 79] from Operation: 94-15=79 Current State: 96:[17, 79], Operations: ['23-6=17', '94-15=79'] Exploring Operation: 17+79=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[23, 6, 94, 15], Operations: [] Exploring Operation: 23-15=8, Resulting Numbers: [6, 94, 8] Generated Node #0,0: 96:[6, 94, 8] Operation: 23-15=8 Exploring Operation: 23-6=17, Resulting Numbers: [94, 15, 17] Generated Node #0,1: 96:[94, 15, 17] Operation: 23-6=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[6, 94, 8], Operations: ['23-15=8'] Exploring Operation: 8-6=2, Resulting Numbers: [94, 2] Generated Node #0,0,0: 96:[94, 2] Operation: 8-6=2 Exploring Operation: 6*8=48, Resulting Numbers: [94, 48] Generated Node #0,0,1: 96:[94, 48] Operation: 6*8=48 Moving to Node #0,0,0 Current State: 96:[94, 2], Operations: ['23-15=8', '8-6=2'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[23, 6, 94, 15], Operations: [] Exploring Operation: 23-15=8, Resulting Numbers: [6, 94, 8] Generated Node #0,0: 96:[6, 94, 8] Operation: 23-15=8 Moving to Node #0,0 Current State: 96:[6, 94, 8], Operations: ['23-15=8'] Exploring Operation: 8-6=2, Resulting Numbers: [94, 2] Generated Node #0,0,0: 96:[94, 2] Operation: 8-6=2 Moving to Node #0,0,0 Current State: 96:[94, 2], Operations: ['23-15=8', '8-6=2'] Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 58, 11, 82, 51 ]
38
[ "58+11=69", "82-51=31", "69-31=38" ]
Current State: 38:[58, 11, 82, 51], Operations: [] Exploring Operation: 58+11=69, Resulting Numbers: [82, 51, 69] Generated Node #2: [82, 51, 69] from Operation: 58+11=69 Current State: 38:[82, 51, 69], Operations: ['58+11=69'] Exploring Operation: 82-51=31, Resulting Numbers: [69, 31] Generated Node #3: [69, 31] from Operation: 82-51=31 Current State: 38:[69, 31], Operations: ['58+11=69', '82-51=31'] Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[58, 11, 82, 51], Operations: [] Exploring Operation: 82-58=24, Resulting Numbers: [11, 51, 24] Generated Node #0,0: 38:[11, 51, 24] Operation: 82-58=24 Moving to Node #0,0 Current State: 38:[11, 51, 24], Operations: ['82-58=24'] Exploring Operation: 51-11=40, Resulting Numbers: [24, 40] Generated Node #0,0,0: 38:[24, 40] Operation: 51-11=40 Moving to Node #0,0,0 Current State: 38:[24, 40], Operations: ['82-58=24', '51-11=40'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,38 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 37, 22, 15, 88 ]
48
[ "37+15=52", "88/22=4", "52-4=48" ]
Current State: 48:[37, 22, 15, 88], Operations: [] Exploring Operation: 37+15=52, Resulting Numbers: [22, 88, 52] Generated Node #2: [22, 88, 52] from Operation: 37+15=52 Current State: 48:[22, 88, 52], Operations: ['37+15=52'] Exploring Operation: 88/22=4, Resulting Numbers: [52, 4] Generated Node #3: [52, 4] from Operation: 88/22=4 Current State: 48:[52, 4], Operations: ['37+15=52', '88/22=4'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[37, 22, 15, 88], Operations: [] Exploring Operation: 88-37=51, Resulting Numbers: [22, 15, 51] Generated Node #0,0: 48:[22, 15, 51] Operation: 88-37=51 Moving to Node #0,0 Current State: 48:[22, 15, 51], Operations: ['88-37=51'] Exploring Operation: 22-15=7, Resulting Numbers: [51, 7] Generated Node #0,0,0: 48:[51, 7] Operation: 22-15=7 Moving to Node #0,0,0 Current State: 48:[51, 7], Operations: ['88-37=51', '22-15=7'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,48 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 6, 22, 30, 44 ]
21
[ "22*30=660", "660/44=15", "6+15=21" ]
Current State: 21:[6, 22, 30, 44], Operations: [] Exploring Operation: 22*30=660, Resulting Numbers: [6, 44, 660] Generated Node #2: [6, 44, 660] from Operation: 22*30=660 Current State: 21:[6, 44, 660], Operations: ['22*30=660'] Exploring Operation: 660/44=15, Resulting Numbers: [6, 15] Generated Node #3: [6, 15] from Operation: 660/44=15 Current State: 21:[6, 15], Operations: ['22*30=660', '660/44=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[6, 22, 30, 44], Operations: [] Exploring Operation: 30-22=8, Resulting Numbers: [6, 44, 8] Generated Node #0,0: 21:[6, 44, 8] Operation: 30-22=8 Exploring Operation: 44/22=2, Resulting Numbers: [6, 30, 2] Generated Node #0,1: 21:[6, 30, 2] Operation: 44/22=2 Exploring Operation: 30/6=5, Resulting Numbers: [22, 44, 5] Generated Node #0,2: 21:[22, 44, 5] Operation: 30/6=5 Exploring Operation: 44-22=22, Resulting Numbers: [6, 30, 22] Generated Node #0,3: 21:[6, 30, 22] Operation: 44-22=22 Exploring Operation: 44-30=14, Resulting Numbers: [6, 22, 14] Generated Node #0,4: 21:[6, 22, 14] Operation: 44-30=14 Start Sub Search at level 1: Moving to Node #0,4 Current State: 21:[6, 22, 14], Operations: ['44-30=14'] Exploring Operation: 14-6=8, Resulting Numbers: [22, 8] Generated Node #0,4,0: 21:[22, 8] Operation: 14-6=8 Exploring Operation: 6+22=28, Resulting Numbers: [14, 28] Generated Node #0,4,1: 21:[14, 28] Operation: 6+22=28 Exploring Operation: 22-14=8, Resulting Numbers: [6, 8] Generated Node #0,4,2: 21:[6, 8] Operation: 22-14=8 Exploring Operation: 22-6=16, Resulting Numbers: [14, 16] Generated Node #0,4,3: 21:[14, 16] Operation: 22-6=16 Exploring Operation: 6+14=20, Resulting Numbers: [22, 20] Generated Node #0,4,4: 21:[22, 20] Operation: 6+14=20 Moving to Node #0,4,0 Current State: 21:[22, 8], Operations: ['44-30=14', '14-6=8'] Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,21 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,21 unequal: No Solution Moving to Node #0,4,4 Current State: 21:[22, 20], Operations: ['44-30=14', '6+14=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 22*20=440, Resulting Numbers: [440] 440,21 unequal: No Solution Moving to Node #0,4,2 Current State: 21:[6, 8], Operations: ['44-30=14', '22-14=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,21 unequal: No Solution Moving to Node #0,4,3 Current State: 21:[14, 16], Operations: ['44-30=14', '22-6=16'] Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,21 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,21 unequal: No Solution Moving to Node #0,4,1 Current State: 21:[14, 28], Operations: ['44-30=14', '6+22=28'] Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,21 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[6, 30, 2], Operations: ['44/22=2'] Exploring Operation: 30/2=15, Resulting Numbers: [6, 15] Generated Node #0,1,0: 21:[6, 15] Operation: 30/2=15 Exploring Operation: 6/2=3, Resulting Numbers: [30, 3] Generated Node #0,1,1: 21:[30, 3] Operation: 6/2=3 Exploring Operation: 30-2=28, Resulting Numbers: [6, 28] Generated Node #0,1,2: 21:[6, 28] Operation: 30-2=28 Exploring Operation: 30/6=5, Resulting Numbers: [2, 5] Generated Node #0,1,3: 21:[2, 5] Operation: 30/6=5 Exploring Operation: 30-6=24, Resulting Numbers: [2, 24] Generated Node #0,1,4: 21:[2, 24] Operation: 30-6=24 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 21:[2, 5], Operations: ['44/22=2', '30/6=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 21:[2, 24], Operations: ['44/22=2', '30-6=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,21 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 21:[6, 15], Operations: ['44/22=2', '30/2=15'] Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,21 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,21 unequal: No Solution Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[6, 22, 30, 44], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [6, 30, 2] Generated Node #0,1: 21:[6, 30, 2] Operation: 44/22=2 Moving to Node #0,1 Current State: 21:[6, 30, 2], Operations: ['44/22=2'] Exploring Operation: 30/2=15, Resulting Numbers: [6, 15] Generated Node #0,1,0: 21:[6, 15] Operation: 30/2=15 Moving to Node #0,1,0 Current State: 21:[6, 15], Operations: ['44/22=2', '30/2=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 10, 89, 71, 74 ]
58
[ "89+71=160", "160/10=16", "74-16=58" ]
Current State: 58:[10, 89, 71, 74], Operations: [] Exploring Operation: 89+71=160, Resulting Numbers: [10, 74, 160] Generated Node #2: [10, 74, 160] from Operation: 89+71=160 Current State: 58:[10, 74, 160], Operations: ['89+71=160'] Exploring Operation: 160/10=16, Resulting Numbers: [74, 16] Generated Node #3: [74, 16] from Operation: 160/10=16 Current State: 58:[74, 16], Operations: ['89+71=160', '160/10=16'] Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[10, 89, 71, 74], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [10, 74, 18] Generated Node #0,0: 58:[10, 74, 18] Operation: 89-71=18 Exploring Operation: 89-74=15, Resulting Numbers: [10, 71, 15] Generated Node #0,1: 58:[10, 71, 15] Operation: 89-74=15 Moving to Node #0,1 Current State: 58:[10, 71, 15], Operations: ['89-74=15'] Exploring Operation: 71-15=56, Resulting Numbers: [10, 56] Generated Node #0,1,0: 58:[10, 56] Operation: 71-15=56 Exploring Operation: 71-10=61, Resulting Numbers: [15, 61] Generated Node #0,1,1: 58:[15, 61] Operation: 71-10=61 Moving to Node #0,0 Current State: 58:[10, 74, 18], Operations: ['89-71=18'] Exploring Operation: 74-18=56, Resulting Numbers: [10, 56] Generated Node #0,0,0: 58:[10, 56] Operation: 74-18=56 Exploring Operation: 74-10=64, Resulting Numbers: [18, 64] Generated Node #0,0,1: 58:[18, 64] Operation: 74-10=64 Moving to Node #0,1,0 Current State: 58:[10, 56], Operations: ['89-74=15', '71-15=56'] Exploring Operation: 10+56=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[10, 56], Operations: ['89-71=18', '74-18=56'] Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 10+56=66, Resulting Numbers: [66] 66,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[15, 61], Operations: ['89-74=15', '71-10=61'] Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 15+61=76, Resulting Numbers: [76] 76,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[18, 64], Operations: ['89-71=18', '74-10=64'] Exploring Operation: 18+64=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,58 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 93, 15, 27, 59 ]
76
[ "93+15=108", "59-27=32", "108-32=76" ]
Current State: 76:[93, 15, 27, 59], Operations: [] Exploring Operation: 93+15=108, Resulting Numbers: [27, 59, 108] Generated Node #2: [27, 59, 108] from Operation: 93+15=108 Current State: 76:[27, 59, 108], Operations: ['93+15=108'] Exploring Operation: 59-27=32, Resulting Numbers: [108, 32] Generated Node #3: [108, 32] from Operation: 59-27=32 Current State: 76:[108, 32], Operations: ['93+15=108', '59-27=32'] Exploring Operation: 108-32=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[93, 15, 27, 59], Operations: [] Exploring Operation: 15+59=74, Resulting Numbers: [93, 27, 74] Generated Node #0,0: 76:[93, 27, 74] Operation: 15+59=74 Exploring Operation: 93-15=78, Resulting Numbers: [27, 59, 78] Generated Node #0,1: 76:[27, 59, 78] Operation: 93-15=78 Exploring Operation: 93-59=34, Resulting Numbers: [15, 27, 34] Generated Node #0,2: 76:[15, 27, 34] Operation: 93-59=34 Moving to Node #0,2 Current State: 76:[15, 27, 34], Operations: ['93-59=34'] Exploring Operation: 15+27=42, Resulting Numbers: [34, 42] Generated Node #0,2,0: 76:[34, 42] Operation: 15+27=42 Exploring Operation: 34-15=19, Resulting Numbers: [27, 19] Generated Node #0,2,1: 76:[27, 19] Operation: 34-15=19 Exploring Operation: 34-27=7, Resulting Numbers: [15, 7] Generated Node #0,2,2: 76:[15, 7] Operation: 34-27=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[15, 7], Operations: ['93-59=34', '34-27=7'] Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,76 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[34, 42], Operations: ['93-59=34', '15+27=42'] Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,76 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[93, 15, 27, 59], Operations: [] Exploring Operation: 93-59=34, Resulting Numbers: [15, 27, 34] Generated Node #0,2: 76:[15, 27, 34] Operation: 93-59=34 Moving to Node #0,2 Current State: 76:[15, 27, 34], Operations: ['93-59=34'] Exploring Operation: 15+27=42, Resulting Numbers: [34, 42] Generated Node #0,2,0: 76:[34, 42] Operation: 15+27=42 Moving to Node #0,2,0 Current State: 76:[34, 42], Operations: ['93-59=34', '15+27=42'] Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 41, 7, 55, 96 ]
89
[ "41+7=48", "96-55=41", "48+41=89" ]
Current State: 89:[41, 7, 55, 96], Operations: [] Exploring Operation: 41+7=48, Resulting Numbers: [55, 96, 48] Generated Node #2: [55, 96, 48] from Operation: 41+7=48 Current State: 89:[55, 96, 48], Operations: ['41+7=48'] Exploring Operation: 96-55=41, Resulting Numbers: [48, 41] Generated Node #3: [48, 41] from Operation: 96-55=41 Current State: 89:[48, 41], Operations: ['41+7=48', '96-55=41'] Exploring Operation: 48+41=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[41, 7, 55, 96], Operations: [] Exploring Operation: 41+7=48, Resulting Numbers: [55, 96, 48] Generated Node #0,0: 89:[55, 96, 48] Operation: 41+7=48 Moving to Node #0,0 Current State: 89:[55, 96, 48], Operations: ['41+7=48'] Exploring Operation: 55+48=103, Resulting Numbers: [96, 103] Generated Node #0,0,0: 89:[96, 103] Operation: 55+48=103 Moving to Node #0,0,0 Current State: 89:[96, 103], Operations: ['41+7=48', '55+48=103'] Exploring Operation: 103-96=7, Resulting Numbers: [7] 7,89 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 71, 59, 72, 25 ]
34
[ "72-71=1", "59-25=34", "1*34=34" ]
Current State: 34:[71, 59, 72, 25], Operations: [] Exploring Operation: 72-71=1, Resulting Numbers: [59, 25, 1] Generated Node #2: [59, 25, 1] from Operation: 72-71=1 Current State: 34:[59, 25, 1], Operations: ['72-71=1'] Exploring Operation: 59-25=34, Resulting Numbers: [1, 34] Generated Node #3: [1, 34] from Operation: 59-25=34 Current State: 34:[1, 34], Operations: ['72-71=1', '59-25=34'] Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[71, 59, 72, 25], Operations: [] Exploring Operation: 72-59=13, Resulting Numbers: [71, 25, 13] Generated Node #0,0: 34:[71, 25, 13] Operation: 72-59=13 Exploring Operation: 72-71=1, Resulting Numbers: [59, 25, 1] Generated Node #0,1: 34:[59, 25, 1] Operation: 72-71=1 Moving to Node #0,1 Current State: 34:[59, 25, 1], Operations: ['72-71=1'] Exploring Operation: 59-1=58, Resulting Numbers: [25, 58] Generated Node #0,1,0: 34:[25, 58] Operation: 59-1=58 Exploring Operation: 59-25=34, Resulting Numbers: [1, 34] Generated Node #0,1,1: 34:[1, 34] Operation: 59-25=34 Moving to Node #0,0 Current State: 34:[71, 25, 13], Operations: ['72-59=13'] Exploring Operation: 71-13=58, Resulting Numbers: [25, 58] Generated Node #0,0,0: 34:[25, 58] Operation: 71-13=58 Exploring Operation: 71-25=46, Resulting Numbers: [13, 46] Generated Node #0,0,1: 34:[13, 46] Operation: 71-25=46 Moving to Node #0,1,1 Current State: 34:[1, 34], Operations: ['72-71=1', '59-25=34'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[71, 59, 72, 25], Operations: [] Exploring Operation: 72-71=1, Resulting Numbers: [59, 25, 1] Generated Node #0,1: 34:[59, 25, 1] Operation: 72-71=1 Moving to Node #0,1 Current State: 34:[59, 25, 1], Operations: ['72-71=1'] Exploring Operation: 59-25=34, Resulting Numbers: [1, 34] Generated Node #0,1,1: 34:[1, 34] Operation: 59-25=34 Moving to Node #0,1,1 Current State: 34:[1, 34], Operations: ['72-71=1', '59-25=34'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 61, 99, 39, 3 ]
51
[ "99-61=38", "39/3=13", "38+13=51" ]
Current State: 51:[61, 99, 39, 3], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [39, 3, 38] Generated Node #2: [39, 3, 38] from Operation: 99-61=38 Current State: 51:[39, 3, 38], Operations: ['99-61=38'] Exploring Operation: 39/3=13, Resulting Numbers: [38, 13] Generated Node #3: [38, 13] from Operation: 39/3=13 Current State: 51:[38, 13], Operations: ['99-61=38', '39/3=13'] Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[61, 99, 39, 3], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [39, 3, 38] Generated Node #0,0: 51:[39, 3, 38] Operation: 99-61=38 Exploring Operation: 99-39=60, Resulting Numbers: [61, 3, 60] Generated Node #0,1: 51:[61, 3, 60] Operation: 99-39=60 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[61, 3, 60], Operations: ['99-39=60'] Exploring Operation: 61-60=1, Resulting Numbers: [3, 1] Generated Node #0,1,0: 51:[3, 1] Operation: 61-60=1 Exploring Operation: 60/3=20, Resulting Numbers: [61, 20] Generated Node #0,1,1: 51:[61, 20] Operation: 60/3=20 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[3, 1], Operations: ['99-39=60', '61-60=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[61, 20], Operations: ['99-39=60', '60/3=20'] Exploring Operation: 61+20=81, Resulting Numbers: [81] 81,51 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[39, 3, 38], Operations: ['99-61=38'] Exploring Operation: 39-38=1, Resulting Numbers: [3, 1] Generated Node #0,0,0: 51:[3, 1] Operation: 39-38=1 Exploring Operation: 39/3=13, Resulting Numbers: [38, 13] Generated Node #0,0,1: 51:[38, 13] Operation: 39/3=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[3, 1], Operations: ['99-61=38', '39-38=1'] Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[38, 13], Operations: ['99-61=38', '39/3=13'] Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[61, 99, 39, 3], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [39, 3, 38] Generated Node #0,0: 51:[39, 3, 38] Operation: 99-61=38 Moving to Node #0,0 Current State: 51:[39, 3, 38], Operations: ['99-61=38'] Exploring Operation: 39/3=13, Resulting Numbers: [38, 13] Generated Node #0,0,1: 51:[38, 13] Operation: 39/3=13 Moving to Node #0,0,1 Current State: 51:[38, 13], Operations: ['99-61=38', '39/3=13'] Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 56, 5, 20, 24 ]
47
[ "56-5=51", "24-20=4", "51-4=47" ]
Current State: 47:[56, 5, 20, 24], Operations: [] Exploring Operation: 56-5=51, Resulting Numbers: [20, 24, 51] Generated Node #2: [20, 24, 51] from Operation: 56-5=51 Current State: 47:[20, 24, 51], Operations: ['56-5=51'] Exploring Operation: 24-20=4, Resulting Numbers: [51, 4] Generated Node #3: [51, 4] from Operation: 24-20=4 Current State: 47:[51, 4], Operations: ['56-5=51', '24-20=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[56, 5, 20, 24], Operations: [] Exploring Operation: 56-5=51, Resulting Numbers: [20, 24, 51] Generated Node #0,0: 47:[20, 24, 51] Operation: 56-5=51 Moving to Node #0,0 Current State: 47:[20, 24, 51], Operations: ['56-5=51'] Exploring Operation: 20+24=44, Resulting Numbers: [51, 44] Generated Node #0,0,0: 47:[51, 44] Operation: 20+24=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[51, 44], Operations: ['56-5=51', '20+24=44'] Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 77, 48, 99, 21 ]
70
[ "48+99=147", "147/21=7", "77-7=70" ]
Current State: 70:[77, 48, 99, 21], Operations: [] Exploring Operation: 48+99=147, Resulting Numbers: [77, 21, 147] Generated Node #2: [77, 21, 147] from Operation: 48+99=147 Current State: 70:[77, 21, 147], Operations: ['48+99=147'] Exploring Operation: 147/21=7, Resulting Numbers: [77, 7] Generated Node #3: [77, 7] from Operation: 147/21=7 Current State: 70:[77, 7], Operations: ['48+99=147', '147/21=7'] Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[77, 48, 99, 21], Operations: [] Exploring Operation: 99-48=51, Resulting Numbers: [77, 21, 51] Generated Node #0,0: 70:[77, 21, 51] Operation: 99-48=51 Exploring Operation: 48+21=69, Resulting Numbers: [77, 99, 69] Generated Node #0,1: 70:[77, 99, 69] Operation: 48+21=69 Exploring Operation: 99-77=22, Resulting Numbers: [48, 21, 22] Generated Node #0,2: 70:[48, 21, 22] Operation: 99-77=22 Exploring Operation: 99-21=78, Resulting Numbers: [77, 48, 78] Generated Node #0,3: 70:[77, 48, 78] Operation: 99-21=78 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[48, 21, 22], Operations: ['99-77=22'] Exploring Operation: 48+21=69, Resulting Numbers: [22, 69] Generated Node #0,2,0: 70:[22, 69] Operation: 48+21=69 Exploring Operation: 48+22=70, Resulting Numbers: [21, 70] Generated Node #0,2,1: 70:[21, 70] Operation: 48+22=70 Exploring Operation: 22-21=1, Resulting Numbers: [48, 1] Generated Node #0,2,2: 70:[48, 1] Operation: 22-21=1 Exploring Operation: 48-21=27, Resulting Numbers: [22, 27] Generated Node #0,2,3: 70:[22, 27] Operation: 48-21=27 Moving to Node #0,2,1 Current State: 70:[21, 70], Operations: ['99-77=22', '48+22=70'] Exploring Operation: 21*70=1470, Resulting Numbers: [1470] 1470,70 unequal: No Solution Exploring Operation: 21+70=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[22, 69], Operations: ['99-77=22', '48+21=69'] Exploring Operation: 22*69=1518, Resulting Numbers: [1518] 1518,70 unequal: No Solution Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[48, 1], Operations: ['99-77=22', '22-21=1'] Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,70 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[22, 27], Operations: ['99-77=22', '48-21=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,70 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,70 unequal: No Solution No 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: 70:[77, 48, 78], Operations: ['99-21=78'] Exploring Operation: 77-48=29, Resulting Numbers: [78, 29] Generated Node #0,3,0: 70:[78, 29] Operation: 77-48=29 Exploring Operation: 77+48=125, Resulting Numbers: [78, 125] Generated Node #0,3,1: 70:[78, 125] Operation: 77+48=125 Exploring Operation: 78-77=1, Resulting Numbers: [48, 1] Generated Node #0,3,2: 70:[48, 1] Operation: 78-77=1 Exploring Operation: 78-48=30, Resulting Numbers: [77, 30] Generated Node #0,3,3: 70:[77, 30] Operation: 78-48=30 Moving to Node #0,3,3 Current State: 70:[77, 30], Operations: ['99-21=78', '78-48=30'] Exploring Operation: 77+30=107, Resulting Numbers: [107] 107,70 unequal: No Solution Exploring Operation: 77*30=2310, Resulting Numbers: [2310] 2310,70 unequal: No Solution Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[48, 1], Operations: ['99-21=78', '78-77=1'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,70 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[78, 29], Operations: ['99-21=78', '77-48=29'] Exploring Operation: 78*29=2262, Resulting Numbers: [2262] 2262,70 unequal: No Solution Exploring Operation: 78-29=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 78+29=107, Resulting Numbers: [107] 107,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[78, 125], Operations: ['99-21=78', '77+48=125'] Exploring Operation: 78*125=9750, Resulting Numbers: [9750] 9750,70 unequal: No Solution Exploring Operation: 78+125=203, Resulting Numbers: [203] 203,70 unequal: No Solution Exploring Operation: 125-78=47, Resulting Numbers: [47] 47,70 unequal: No Solution No 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:[77, 21, 51], Operations: ['99-48=51'] Exploring Operation: 77-51=26, Resulting Numbers: [21, 26] Generated Node #0,0,0: 70:[21, 26] Operation: 77-51=26 Exploring Operation: 21+51=72, Resulting Numbers: [77, 72] Generated Node #0,0,1: 70:[77, 72] Operation: 21+51=72 Exploring Operation: 51-21=30, Resulting Numbers: [77, 30] Generated Node #0,0,2: 70:[77, 30] Operation: 51-21=30 Exploring Operation: 77-21=56, Resulting Numbers: [51, 56] Generated Node #0,0,3: 70:[51, 56] Operation: 77-21=56 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[77, 72], Operations: ['99-48=51', '21+51=72'] Exploring Operation: 77-72=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 77+72=149, Resulting Numbers: [149] 149,70 unequal: No Solution Exploring Operation: 77*72=5544, Resulting Numbers: [5544] 5544,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,2 Current State: 70:[77, 30], Operations: ['99-48=51', '51-21=30'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,70 unequal: No Solution Exploring Operation: 77+30=107, Resulting Numbers: [107] 107,70 unequal: No Solution Exploring Operation: 77*30=2310, Resulting Numbers: [2310] 2310,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:[21, 26], Operations: ['99-48=51', '77-51=26'] Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,70 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,70 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,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,3 Current State: 70:[51, 56], Operations: ['99-48=51', '77-21=56'] Exploring Operation: 51+56=107, Resulting Numbers: [107] 107,70 unequal: No Solution Exploring Operation: 51*56=2856, Resulting Numbers: [2856] 2856,70 unequal: No Solution Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[77, 99, 69], Operations: ['48+21=69'] Exploring Operation: 77+69=146, Resulting Numbers: [99, 146] Generated Node #0,1,0: 70:[99, 146] Operation: 77+69=146 Exploring Operation: 77-69=8, Resulting Numbers: [99, 8] Generated Node #0,1,1: 70:[99, 8] Operation: 77-69=8 Exploring Operation: 99-69=30, Resulting Numbers: [77, 30] Generated Node #0,1,2: 70:[77, 30] Operation: 99-69=30 Exploring Operation: 99-77=22, Resulting Numbers: [69, 22] Generated Node #0,1,3: 70:[69, 22] Operation: 99-77=22 Moving to Node #0,1,3 Current State: 70:[69, 22], Operations: ['48+21=69', '99-77=22'] Exploring Operation: 69*22=1518, Resulting Numbers: [1518] 1518,70 unequal: No Solution Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[77, 30], Operations: ['48+21=69', '99-69=30'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,70 unequal: No Solution Exploring Operation: 77*30=2310, Resulting Numbers: [2310] 2310,70 unequal: No Solution Exploring Operation: 77+30=107, Resulting Numbers: [107] 107,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[99, 8], Operations: ['48+21=69', '77-69=8'] Exploring Operation: 99*8=792, Resulting Numbers: [792] 792,70 unequal: No Solution Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 99+8=107, Resulting Numbers: [107] 107,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[99, 146], Operations: ['48+21=69', '77+69=146'] Exploring Operation: 99+146=245, Resulting Numbers: [245] 245,70 unequal: No Solution Exploring Operation: 146-99=47, Resulting Numbers: [47] 47,70 unequal: No Solution Exploring Operation: 99*146=14454, Resulting Numbers: [14454] 14454,70 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
[ 13, 7, 26, 22 ]
31
[ "26/13=2", "7+22=29", "2+29=31" ]
Current State: 31:[13, 7, 26, 22], Operations: [] Exploring Operation: 26/13=2, Resulting Numbers: [7, 22, 2] Generated Node #2: [7, 22, 2] from Operation: 26/13=2 Current State: 31:[7, 22, 2], Operations: ['26/13=2'] Exploring Operation: 7+22=29, Resulting Numbers: [2, 29] Generated Node #3: [2, 29] from Operation: 7+22=29 Current State: 31:[2, 29], Operations: ['26/13=2', '7+22=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[13, 7, 26, 22], Operations: [] Exploring Operation: 7+22=29, Resulting Numbers: [13, 26, 29] Generated Node #0,0: 31:[13, 26, 29] Operation: 7+22=29 Exploring Operation: 13+7=20, Resulting Numbers: [26, 22, 20] Generated Node #0,1: 31:[26, 22, 20] Operation: 13+7=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[13, 26, 29], Operations: ['7+22=29'] Exploring Operation: 13+29=42, Resulting Numbers: [26, 42] Generated Node #0,0,0: 31:[26, 42] Operation: 13+29=42 Exploring Operation: 13+26=39, Resulting Numbers: [29, 39] Generated Node #0,0,1: 31:[29, 39] Operation: 13+26=39 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[29, 39], Operations: ['7+22=29', '13+26=39'] Exploring Operation: 29+39=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,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,0,0 Current State: 31:[26, 42], Operations: ['7+22=29', '13+29=42'] Exploring Operation: 26+42=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,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:[26, 22, 20], Operations: ['13+7=20'] Exploring Operation: 26+20=46, Resulting Numbers: [22, 46] Generated Node #0,1,0: 31:[22, 46] Operation: 26+20=46 Exploring Operation: 22+20=42, Resulting Numbers: [26, 42] Generated Node #0,1,1: 31:[26, 42] Operation: 22+20=42 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[26, 42], Operations: ['13+7=20', '22+20=42'] Exploring Operation: 26+42=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,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:[22, 46], Operations: ['13+7=20', '26+20=46'] Exploring Operation: 22+46=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,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 No solution found.
0
hs_2
sum_heuristic
[ 7, 25, 74, 10 ]
70
[ "74-25=49", "49/7=7", "10*7=70" ]
Current State: 70:[7, 25, 74, 10], Operations: [] Exploring Operation: 74-25=49, Resulting Numbers: [7, 10, 49] Generated Node #2: [7, 10, 49] from Operation: 74-25=49 Current State: 70:[7, 10, 49], Operations: ['74-25=49'] Exploring Operation: 49/7=7, Resulting Numbers: [10, 7] Generated Node #3: [10, 7] from Operation: 49/7=7 Current State: 70:[10, 7], Operations: ['74-25=49', '49/7=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[7, 25, 74, 10], Operations: [] Exploring Operation: 25+10=35, Resulting Numbers: [7, 74, 35] Generated Node #0,0: 70:[7, 74, 35] Operation: 25+10=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[7, 74, 35], Operations: ['25+10=35'] Exploring Operation: 74-7=67, Resulting Numbers: [35, 67] Generated Node #0,0,0: 70:[35, 67] Operation: 74-7=67 Moving to Node #0,0,0 Current State: 70:[35, 67], Operations: ['25+10=35', '74-7=67'] Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 88, 84, 36, 62 ]
94
[ "88-84=4", "36+62=98", "98-4=94" ]
Current State: 94:[88, 84, 36, 62], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [36, 62, 4] Generated Node #2: [36, 62, 4] from Operation: 88-84=4 Current State: 94:[36, 62, 4], Operations: ['88-84=4'] Exploring Operation: 36+62=98, Resulting Numbers: [4, 98] Generated Node #3: [4, 98] from Operation: 36+62=98 Current State: 94:[4, 98], Operations: ['88-84=4', '36+62=98'] Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[88, 84, 36, 62], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [36, 62, 4] Generated Node #0,0: 94:[36, 62, 4] Operation: 88-84=4 Exploring Operation: 84-36=48, Resulting Numbers: [88, 62, 48] Generated Node #0,1: 94:[88, 62, 48] Operation: 84-36=48 Exploring Operation: 88-36=52, Resulting Numbers: [84, 62, 52] Generated Node #0,2: 94:[84, 62, 52] Operation: 88-36=52 Exploring Operation: 36+62=98, Resulting Numbers: [88, 84, 98] Generated Node #0,3: 94:[88, 84, 98] Operation: 36+62=98 Moving to Node #0,3 Current State: 94:[88, 84, 98], Operations: ['36+62=98'] Exploring Operation: 98-88=10, Resulting Numbers: [84, 10] Generated Node #0,3,0: 94:[84, 10] Operation: 98-88=10 Exploring Operation: 88+84=172, Resulting Numbers: [98, 172] Generated Node #0,3,1: 94:[98, 172] Operation: 88+84=172 Exploring Operation: 98-84=14, Resulting Numbers: [88, 14] Generated Node #0,3,2: 94:[88, 14] Operation: 98-84=14 Exploring Operation: 88-84=4, Resulting Numbers: [98, 4] Generated Node #0,3,3: 94:[98, 4] Operation: 88-84=4 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 94:[98, 4], Operations: ['36+62=98', '88-84=4'] Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[88, 84, 36, 62], Operations: [] Exploring Operation: 36+62=98, Resulting Numbers: [88, 84, 98] Generated Node #0,3: 94:[88, 84, 98] Operation: 36+62=98 Moving to Node #0,3 Current State: 94:[88, 84, 98], Operations: ['36+62=98'] Exploring Operation: 88-84=4, Resulting Numbers: [98, 4] Generated Node #0,3,3: 94:[98, 4] Operation: 88-84=4 Moving to Node #0,3,3 Current State: 94:[98, 4], Operations: ['36+62=98', '88-84=4'] Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 30, 15, 59, 6 ]
68
[ "30-15=15", "59-6=53", "15+53=68" ]
Current State: 68:[30, 15, 59, 6], Operations: [] Exploring Operation: 30-15=15, Resulting Numbers: [59, 6, 15] Generated Node #2: [59, 6, 15] from Operation: 30-15=15 Current State: 68:[59, 6, 15], Operations: ['30-15=15'] Exploring Operation: 59-6=53, Resulting Numbers: [15, 53] Generated Node #3: [15, 53] from Operation: 59-6=53 Current State: 68:[15, 53], Operations: ['30-15=15', '59-6=53'] Exploring Operation: 15+53=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[30, 15, 59, 6], Operations: [] Exploring Operation: 30/6=5, Resulting Numbers: [15, 59, 5] Generated Node #0,0: 68:[15, 59, 5] Operation: 30/6=5 Exploring Operation: 59+6=65, Resulting Numbers: [30, 15, 65] Generated Node #0,1: 68:[30, 15, 65] Operation: 59+6=65 Exploring Operation: 59-30=29, Resulting Numbers: [15, 6, 29] Generated Node #0,2: 68:[15, 6, 29] Operation: 59-30=29 Exploring Operation: 30/15=2, Resulting Numbers: [59, 6, 2] Generated Node #0,3: 68:[59, 6, 2] Operation: 30/15=2 Moving to Node #0,1 Current State: 68:[30, 15, 65], Operations: ['59+6=65'] Exploring Operation: 30-15=15, Resulting Numbers: [65, 15] Generated Node #0,1,0: 68:[65, 15] Operation: 30-15=15 Exploring Operation: 65-30=35, Resulting Numbers: [15, 35] Generated Node #0,1,1: 68:[15, 35] Operation: 65-30=35 Exploring Operation: 30+15=45, Resulting Numbers: [65, 45] Generated Node #0,1,2: 68:[65, 45] Operation: 30+15=45 Exploring Operation: 30/15=2, Resulting Numbers: [65, 2] Generated Node #0,1,3: 68:[65, 2] Operation: 30/15=2 Moving to Node #0,2 Current State: 68:[15, 6, 29], Operations: ['59-30=29'] Exploring Operation: 15+6=21, Resulting Numbers: [29, 21] Generated Node #0,2,0: 68:[29, 21] Operation: 15+6=21 Exploring Operation: 29-6=23, Resulting Numbers: [15, 23] Generated Node #0,2,1: 68:[15, 23] Operation: 29-6=23 Exploring Operation: 6+29=35, Resulting Numbers: [15, 35] Generated Node #0,2,2: 68:[15, 35] Operation: 6+29=35 Exploring Operation: 29-15=14, Resulting Numbers: [6, 14] Generated Node #0,2,3: 68:[6, 14] Operation: 29-15=14 Moving to Node #0,3 Current State: 68:[59, 6, 2], Operations: ['30/15=2'] Exploring Operation: 59+2=61, Resulting Numbers: [6, 61] Generated Node #0,3,0: 68:[6, 61] Operation: 59+2=61 Exploring Operation: 6/2=3, Resulting Numbers: [59, 3] Generated Node #0,3,1: 68:[59, 3] Operation: 6/2=3 Exploring Operation: 6-2=4, Resulting Numbers: [59, 4] Generated Node #0,3,2: 68:[59, 4] Operation: 6-2=4 Exploring Operation: 59+6=65, Resulting Numbers: [2, 65] Generated Node #0,3,3: 68:[2, 65] Operation: 59+6=65 Moving to Node #0,0 Current State: 68:[15, 59, 5], Operations: ['30/6=5'] Exploring Operation: 59-15=44, Resulting Numbers: [5, 44] Generated Node #0,0,0: 68:[5, 44] Operation: 59-15=44 Exploring Operation: 59+5=64, Resulting Numbers: [15, 64] Generated Node #0,0,1: 68:[15, 64] Operation: 59+5=64 Exploring Operation: 15+59=74, Resulting Numbers: [5, 74] Generated Node #0,0,2: 68:[5, 74] Operation: 15+59=74 Exploring Operation: 15/5=3, Resulting Numbers: [59, 3] Generated Node #0,0,3: 68:[59, 3] Operation: 15/5=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[15, 64], Operations: ['30/6=5', '59+5=64'] Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,68 unequal: No Solution Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,68 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,68 unequal: No Solution No 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: 68:[5, 74], Operations: ['30/6=5', '15+59=74'] Exploring Operation: 5*74=370, Resulting Numbers: [370] 370,68 unequal: No Solution Exploring Operation: 5+74=79, Resulting Numbers: [79] 79,68 unequal: No Solution Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,68 unequal: No Solution No 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: 68:[59, 3], Operations: ['30/6=5', '15/5=3'] Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,68 unequal: No Solution No 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: 68:[5, 44], Operations: ['30/6=5', '59-15=44'] Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,68 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,68 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: 68:[15, 35], Operations: ['59+6=65', '65-30=35'] Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 15*35=525, Resulting Numbers: [525] 525,68 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[65, 2], Operations: ['59+6=65', '30/15=2'] Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,68 unequal: No Solution Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,68 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[15, 35], Operations: ['59-30=29', '6+29=35'] Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 15*35=525, Resulting Numbers: [525] 525,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[2, 65], Operations: ['30/15=2', '59+6=65'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,68 unequal: No Solution Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[65, 15], Operations: ['59+6=65', '30-15=15'] Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,68 unequal: No Solution Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,68 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,68 unequal: No Solution Moving to Node #0,2,3 Current State: 68:[6, 14], Operations: ['59-30=29', '29-15=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,68 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[15, 23], Operations: ['59-30=29', '29-6=23'] Exploring Operation: 15*23=345, Resulting Numbers: [345] 345,68 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 15+23=38, Resulting Numbers: [38] 38,68 unequal: No Solution Moving to Node #0,3,2 Current State: 68:[59, 4], Operations: ['30/15=2', '6-2=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,68 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,68 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,68 unequal: No Solution Moving to Node #0,3,0 Current State: 68:[6, 61], Operations: ['30/15=2', '59+2=61'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,68 unequal: No Solution Exploring Operation: 6*61=366, Resulting Numbers: [366] 366,68 unequal: No Solution Exploring Operation: 6+61=67, Resulting Numbers: [67] 67,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[29, 21], Operations: ['59-30=29', '15+6=21'] Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,68 unequal: No Solution Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,68 unequal: No Solution Moving to Node #0,3,1 Current State: 68:[59, 3], Operations: ['30/15=2', '6/2=3'] Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[65, 45], Operations: ['59+6=65', '30+15=45'] Exploring Operation: 65-45=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 65+45=110, Resulting Numbers: [110] 110,68 unequal: No Solution Exploring Operation: 65*45=2925, Resulting Numbers: [2925] 2925,68 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 54, 30, 24, 44 ]
21
[ "54-44=10", "30/10=3", "24-3=21" ]
Current State: 21:[54, 30, 24, 44], Operations: [] Exploring Operation: 54-44=10, Resulting Numbers: [30, 24, 10] Generated Node #2: [30, 24, 10] from Operation: 54-44=10 Current State: 21:[30, 24, 10], Operations: ['54-44=10'] Exploring Operation: 30/10=3, Resulting Numbers: [24, 3] Generated Node #3: [24, 3] from Operation: 30/10=3 Current State: 21:[24, 3], Operations: ['54-44=10', '30/10=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[54, 30, 24, 44], Operations: [] Exploring Operation: 54-30=24, Resulting Numbers: [24, 44, 24] Generated Node #0,0: 21:[24, 44, 24] Operation: 54-30=24 Exploring Operation: 54-44=10, Resulting Numbers: [30, 24, 10] Generated Node #0,1: 21:[30, 24, 10] Operation: 54-44=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[30, 24, 10], Operations: ['54-44=10'] Exploring Operation: 30-24=6, Resulting Numbers: [10, 6] Generated Node #0,1,0: 21:[10, 6] Operation: 30-24=6 Exploring Operation: 30/10=3, Resulting Numbers: [24, 3] Generated Node #0,1,1: 21:[24, 3] Operation: 30/10=3 Moving to Node #0,1,1 Current State: 21:[24, 3], Operations: ['54-44=10', '30/10=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[54, 30, 24, 44], Operations: [] Exploring Operation: 54-44=10, Resulting Numbers: [30, 24, 10] Generated Node #0,1: 21:[30, 24, 10] Operation: 54-44=10 Moving to Node #0,1 Current State: 21:[30, 24, 10], Operations: ['54-44=10'] Exploring Operation: 30/10=3, Resulting Numbers: [24, 3] Generated Node #0,1,1: 21:[24, 3] Operation: 30/10=3 Moving to Node #0,1,1 Current State: 21:[24, 3], Operations: ['54-44=10', '30/10=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 7, 18, 54, 13 ]
46
[ "54/18=3", "13*3=39", "7+39=46" ]
Current State: 46:[7, 18, 54, 13], Operations: [] Exploring Operation: 54/18=3, Resulting Numbers: [7, 13, 3] Generated Node #2: [7, 13, 3] from Operation: 54/18=3 Current State: 46:[7, 13, 3], Operations: ['54/18=3'] Exploring Operation: 13*3=39, Resulting Numbers: [7, 39] Generated Node #3: [7, 39] from Operation: 13*3=39 Current State: 46:[7, 39], Operations: ['54/18=3', '13*3=39'] Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[7, 18, 54, 13], Operations: [] Exploring Operation: 7+13=20, Resulting Numbers: [18, 54, 20] Generated Node #0,0: 46:[18, 54, 20] Operation: 7+13=20 Exploring Operation: 54-13=41, Resulting Numbers: [7, 18, 41] Generated Node #0,1: 46:[7, 18, 41] Operation: 54-13=41 Exploring Operation: 54-7=47, Resulting Numbers: [18, 13, 47] Generated Node #0,2: 46:[18, 13, 47] Operation: 54-7=47 Exploring Operation: 54/18=3, Resulting Numbers: [7, 13, 3] Generated Node #0,3: 46:[7, 13, 3] Operation: 54/18=3 Exploring Operation: 18-13=5, Resulting Numbers: [7, 54, 5] Generated Node #0,4: 46:[7, 54, 5] Operation: 18-13=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[7, 18, 41], Operations: ['54-13=41'] Exploring Operation: 7+18=25, Resulting Numbers: [41, 25] Generated Node #0,1,0: 46:[41, 25] Operation: 7+18=25 Exploring Operation: 41-7=34, Resulting Numbers: [18, 34] Generated Node #0,1,1: 46:[18, 34] Operation: 41-7=34 Exploring Operation: 7+41=48, Resulting Numbers: [18, 48] Generated Node #0,1,2: 46:[18, 48] Operation: 7+41=48 Exploring Operation: 41-18=23, Resulting Numbers: [7, 23] Generated Node #0,1,3: 46:[7, 23] Operation: 41-18=23 Exploring Operation: 18-7=11, Resulting Numbers: [41, 11] Generated Node #0,1,4: 46:[41, 11] Operation: 18-7=11 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 46:[7, 23], Operations: ['54-13=41', '41-18=23'] Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,46 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,46 unequal: No Solution No 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: 46:[41, 25], Operations: ['54-13=41', '7+18=25'] Exploring Operation: 41+25=66, Resulting Numbers: [66] 66,46 unequal: No Solution Exploring Operation: 41*25=1025, Resulting Numbers: [1025] 1025,46 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,46 unequal: No Solution No 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: 46:[18, 48], Operations: ['54-13=41', '7+41=48'] Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,46 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,46 unequal: No Solution No 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: 46:[41, 11], Operations: ['54-13=41', '18-7=11'] Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,46 unequal: No Solution Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,46 unequal: No Solution No 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: 46:[18, 34], Operations: ['54-13=41', '41-7=34'] Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,46 unequal: No Solution Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,46 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: 46:[18, 54, 20], Operations: ['7+13=20'] Exploring Operation: 54/18=3, Resulting Numbers: [20, 3] Generated Node #0,0,0: 46:[20, 3] Operation: 54/18=3 Exploring Operation: 54-20=34, Resulting Numbers: [18, 34] Generated Node #0,0,1: 46:[18, 34] Operation: 54-20=34 Exploring Operation: 54-18=36, Resulting Numbers: [20, 36] Generated Node #0,0,2: 46:[20, 36] Operation: 54-18=36 Exploring Operation: 18+20=38, Resulting Numbers: [54, 38] Generated Node #0,0,3: 46:[54, 38] Operation: 18+20=38 Exploring Operation: 20-18=2, Resulting Numbers: [54, 2] Generated Node #0,0,4: 46:[54, 2] Operation: 20-18=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[20, 3], Operations: ['7+13=20', '54/18=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,46 unequal: No Solution No 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: 46:[54, 2], Operations: ['7+13=20', '20-18=2'] Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,46 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,46 unequal: No Solution No 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: 46:[20, 36], Operations: ['7+13=20', '54-18=36'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,46 unequal: No Solution No 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: 46:[18, 34], Operations: ['7+13=20', '54-20=34'] Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,46 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,46 unequal: No Solution No 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: 46:[54, 38], Operations: ['7+13=20', '18+20=38'] Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 54+38=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 54*38=2052, Resulting Numbers: [2052] 2052,46 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: 46:[18, 13, 47], Operations: ['54-7=47'] Exploring Operation: 47-13=34, Resulting Numbers: [18, 34] Generated Node #0,2,0: 46:[18, 34] Operation: 47-13=34 Exploring Operation: 18-13=5, Resulting Numbers: [47, 5] Generated Node #0,2,1: 46:[47, 5] Operation: 18-13=5 Exploring Operation: 13+47=60, Resulting Numbers: [18, 60] Generated Node #0,2,2: 46:[18, 60] Operation: 13+47=60 Exploring Operation: 47-18=29, Resulting Numbers: [13, 29] Generated Node #0,2,3: 46:[13, 29] Operation: 47-18=29 Exploring Operation: 18+13=31, Resulting Numbers: [47, 31] Generated Node #0,2,4: 46:[47, 31] Operation: 18+13=31 Moving to Node #0,2,1 Current State: 46:[47, 5], Operations: ['54-7=47', '18-13=5'] Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,46 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,46 unequal: No Solution Moving to Node #0,2,4 Current State: 46:[47, 31], Operations: ['54-7=47', '18+13=31'] Exploring Operation: 47*31=1457, Resulting Numbers: [1457] 1457,46 unequal: No Solution Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[18, 34], Operations: ['54-7=47', '47-13=34'] Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,46 unequal: No Solution Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[13, 29], Operations: ['54-7=47', '47-18=29'] Exploring Operation: 13+29=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 13*29=377, Resulting Numbers: [377] 377,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[18, 60], Operations: ['54-7=47', '13+47=60'] Exploring Operation: 18+60=78, Resulting Numbers: [78] 78,46 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 18*60=1080, Resulting Numbers: [1080] 1080,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[7, 13, 3], Operations: ['54/18=3'] Exploring Operation: 7*3=21, Resulting Numbers: [13, 21] Generated Node #0,3,0: 46:[13, 21] Operation: 7*3=21 Exploring Operation: 13+3=16, Resulting Numbers: [7, 16] Generated Node #0,3,1: 46:[7, 16] Operation: 13+3=16 Exploring Operation: 7-3=4, Resulting Numbers: [13, 4] Generated Node #0,3,2: 46:[13, 4] Operation: 7-3=4 Exploring Operation: 7+13=20, Resulting Numbers: [3, 20] Generated Node #0,3,3: 46:[3, 20] Operation: 7+13=20 Exploring Operation: 13-7=6, Resulting Numbers: [3, 6] Generated Node #0,3,4: 46:[3, 6] Operation: 13-7=6 Moving to Node #0,3,3 Current State: 46:[3, 20], Operations: ['54/18=3', '7+13=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,46 unequal: No Solution Moving to Node #0,3,4 Current State: 46:[3, 6], Operations: ['54/18=3', '13-7=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[13, 21], Operations: ['54/18=3', '7*3=21'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,46 unequal: No Solution Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[7, 16], Operations: ['54/18=3', '13+3=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[13, 4], Operations: ['54/18=3', '7-3=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[7, 54, 5], Operations: ['18-13=5'] Exploring Operation: 7+54=61, Resulting Numbers: [5, 61] Generated Node #0,4,0: 46:[5, 61] Operation: 7+54=61 Exploring Operation: 7-5=2, Resulting Numbers: [54, 2] Generated Node #0,4,1: 46:[54, 2] Operation: 7-5=2 Exploring Operation: 54-5=49, Resulting Numbers: [7, 49] Generated Node #0,4,2: 46:[7, 49] Operation: 54-5=49 Exploring Operation: 54-7=47, Resulting Numbers: [5, 47] Generated Node #0,4,3: 46:[5, 47] Operation: 54-7=47 Exploring Operation: 7+5=12, Resulting Numbers: [54, 12] Generated Node #0,4,4: 46:[54, 12] Operation: 7+5=12 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 46:[5, 47], Operations: ['18-13=5', '54-7=47'] Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 5*47=235, Resulting Numbers: [235] 235,46 unequal: No Solution No 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: 46:[54, 2], Operations: ['18-13=5', '7-5=2'] Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,46 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,46 unequal: No Solution No 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: 46:[7, 49], Operations: ['18-13=5', '54-5=49'] Exploring Operation: 7*49=343, Resulting Numbers: [343] 343,46 unequal: No Solution Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,46 unequal: No Solution No 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: 46:[5, 61], Operations: ['18-13=5', '7+54=61'] Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,46 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,46 unequal: No Solution No 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: 46:[54, 12], Operations: ['18-13=5', '7+5=12'] Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,46 unequal: No Solution Exploring Operation: 54*12=648, Resulting Numbers: [648] 648,46 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
[ 92, 55, 37, 95 ]
89
[ "92+55=147", "95-37=58", "147-58=89" ]
Current State: 89:[92, 55, 37, 95], Operations: [] Exploring Operation: 92+55=147, Resulting Numbers: [37, 95, 147] Generated Node #2: [37, 95, 147] from Operation: 92+55=147 Current State: 89:[37, 95, 147], Operations: ['92+55=147'] Exploring Operation: 95-37=58, Resulting Numbers: [147, 58] Generated Node #3: [147, 58] from Operation: 95-37=58 Current State: 89:[147, 58], Operations: ['92+55=147', '95-37=58'] Exploring Operation: 147-58=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[92, 55, 37, 95], Operations: [] Exploring Operation: 55+37=92, Resulting Numbers: [92, 95, 92] Generated Node #0,0: 89:[92, 95, 92] Operation: 55+37=92 Exploring Operation: 95-37=58, Resulting Numbers: [92, 55, 58] Generated Node #0,1: 89:[92, 55, 58] Operation: 95-37=58 Moving to Node #0,0 Current State: 89:[92, 95, 92], Operations: ['55+37=92'] Exploring Operation: 95-92=3, Resulting Numbers: [92, 3] Generated Node #0,0,0: 89:[92, 3] Operation: 95-92=3 Exploring Operation: 95-92=3, Resulting Numbers: [92, 3] Generated Node #0,0,1: 89:[92, 3] Operation: 95-92=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[92, 3], Operations: ['55+37=92', '95-92=3'] Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,89 unequal: No Solution Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[92, 55, 37, 95], Operations: [] Exploring Operation: 55+37=92, Resulting Numbers: [92, 95, 92] Generated Node #0,0: 89:[92, 95, 92] Operation: 55+37=92 Moving to Node #0,0 Current State: 89:[92, 95, 92], Operations: ['55+37=92'] Exploring Operation: 95-92=3, Resulting Numbers: [92, 3] Generated Node #0,0,0: 89:[92, 3] Operation: 95-92=3 Moving to Node #0,0,0 Current State: 89:[92, 3], Operations: ['55+37=92', '95-92=3'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 91, 96, 75, 41 ]
35
[ "91-75=16", "96/16=6", "41-6=35" ]
Current State: 35:[91, 96, 75, 41], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [96, 41, 16] Generated Node #2: [96, 41, 16] from Operation: 91-75=16 Current State: 35:[96, 41, 16], Operations: ['91-75=16'] Exploring Operation: 96/16=6, Resulting Numbers: [41, 6] Generated Node #3: [41, 6] from Operation: 96/16=6 Current State: 35:[41, 6], Operations: ['91-75=16', '96/16=6'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[91, 96, 75, 41], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [91, 41, 21] Generated Node #0,0: 35:[91, 41, 21] Operation: 96-75=21 Exploring Operation: 91-75=16, Resulting Numbers: [96, 41, 16] Generated Node #0,1: 35:[96, 41, 16] Operation: 91-75=16 Exploring Operation: 96-91=5, Resulting Numbers: [75, 41, 5] Generated Node #0,2: 35:[75, 41, 5] Operation: 96-91=5 Moving to Node #0,2 Current State: 35:[75, 41, 5], Operations: ['96-91=5'] Exploring Operation: 75-5=70, Resulting Numbers: [41, 70] Generated Node #0,2,0: 35:[41, 70] Operation: 75-5=70 Exploring Operation: 75/5=15, Resulting Numbers: [41, 15] Generated Node #0,2,1: 35:[41, 15] Operation: 75/5=15 Exploring Operation: 75-41=34, Resulting Numbers: [5, 34] Generated Node #0,2,2: 35:[5, 34] Operation: 75-41=34 Moving to Node #0,0 Current State: 35:[91, 41, 21], Operations: ['96-75=21'] Exploring Operation: 91-41=50, Resulting Numbers: [21, 50] Generated Node #0,0,0: 35:[21, 50] Operation: 91-41=50 Exploring Operation: 41-21=20, Resulting Numbers: [91, 20] Generated Node #0,0,1: 35:[91, 20] Operation: 41-21=20 Exploring Operation: 91-21=70, Resulting Numbers: [41, 70] Generated Node #0,0,2: 35:[41, 70] Operation: 91-21=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[21, 50], Operations: ['96-75=21', '91-41=50'] Exploring Operation: 21*50=1050, Resulting Numbers: [1050] 1050,35 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 21+50=71, Resulting Numbers: [71] 71,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 35:[41, 70], Operations: ['96-75=21', '91-21=70'] Exploring Operation: 41*70=2870, Resulting Numbers: [2870] 2870,35 unequal: No Solution Exploring Operation: 41+70=111, Resulting Numbers: [111] 111,35 unequal: No Solution Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[91, 20], Operations: ['96-75=21', '41-21=20'] Exploring Operation: 91+20=111, Resulting Numbers: [111] 111,35 unequal: No Solution Exploring Operation: 91*20=1820, Resulting Numbers: [1820] 1820,35 unequal: No Solution Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,35 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: 35:[96, 41, 16], Operations: ['91-75=16'] Exploring Operation: 96-41=55, Resulting Numbers: [16, 55] Generated Node #0,1,0: 35:[16, 55] Operation: 96-41=55 Exploring Operation: 96/16=6, Resulting Numbers: [41, 6] Generated Node #0,1,1: 35:[41, 6] Operation: 96/16=6 Exploring Operation: 96-16=80, Resulting Numbers: [41, 80] Generated Node #0,1,2: 35:[41, 80] Operation: 96-16=80 Moving to Node #0,2,2 Current State: 35:[5, 34], Operations: ['96-91=5', '75-41=34'] Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,35 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[41, 6], Operations: ['91-75=16', '96/16=6'] Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,35 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[91, 96, 75, 41], Operations: [] Exploring Operation: 91-75=16, Resulting Numbers: [96, 41, 16] Generated Node #0,1: 35:[96, 41, 16] Operation: 91-75=16 Moving to Node #0,1 Current State: 35:[96, 41, 16], Operations: ['91-75=16'] Exploring Operation: 96/16=6, Resulting Numbers: [41, 6] Generated Node #0,1,1: 35:[41, 6] Operation: 96/16=6 Moving to Node #0,1,1 Current State: 35:[41, 6], Operations: ['91-75=16', '96/16=6'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.973958
hs_3
mult_heuristic
[ 22, 82, 44, 63 ]
41
[ "82-22=60", "63-44=19", "60-19=41" ]
Current State: 41:[22, 82, 44, 63], Operations: [] Exploring Operation: 82-22=60, Resulting Numbers: [44, 63, 60] Generated Node #2: [44, 63, 60] from Operation: 82-22=60 Current State: 41:[44, 63, 60], Operations: ['82-22=60'] Exploring Operation: 63-44=19, Resulting Numbers: [60, 19] Generated Node #3: [60, 19] from Operation: 63-44=19 Current State: 41:[60, 19], Operations: ['82-22=60', '63-44=19'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[22, 82, 44, 63], Operations: [] Exploring Operation: 82-22=60, Resulting Numbers: [44, 63, 60] Generated Node #0,0: 41:[44, 63, 60] Operation: 82-22=60 Moving to Node #0,0 Current State: 41:[44, 63, 60], Operations: ['82-22=60'] Exploring Operation: 63-44=19, Resulting Numbers: [60, 19] Generated Node #0,0,0: 41:[60, 19] Operation: 63-44=19 Moving to Node #0,0,0 Current State: 41:[60, 19], Operations: ['82-22=60', '63-44=19'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[22, 82, 44, 63], Operations: [] Exploring Operation: 82-22=60, Resulting Numbers: [44, 63, 60] Generated Node #0,0: 41:[44, 63, 60] Operation: 82-22=60 Moving to Node #0,0 Current State: 41:[44, 63, 60], Operations: ['82-22=60'] Exploring Operation: 63-44=19, Resulting Numbers: [60, 19] Generated Node #0,0,0: 41:[60, 19] Operation: 63-44=19 Moving to Node #0,0,0 Current State: 41:[60, 19], Operations: ['82-22=60', '63-44=19'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 75, 71, 71, 63 ]
12
[ "75+71=146", "71+63=134", "146-134=12" ]
Current State: 12:[75, 71, 71, 63], Operations: [] Exploring Operation: 75+71=146, Resulting Numbers: [63, 146] Generated Node #2: [63, 146] from Operation: 75+71=146 Current State: 12:[63, 146], Operations: ['75+71=146'] Exploring Operation: 71+63=134, Resulting Numbers: [146, 134] Generated Node #3: [146, 134] from Operation: 71+63=134 Current State: 12:[146, 134], Operations: ['75+71=146', '71+63=134'] Exploring Operation: 146-134=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[75, 71, 71, 63], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [71, 63, 4] Generated Node #0,0: 12:[71, 63, 4] Operation: 75-71=4 Exploring Operation: 75-71=4, Resulting Numbers: [71, 63, 4] Generated Node #0,1: 12:[71, 63, 4] Operation: 75-71=4 Moving to Node #0,0 Current State: 12:[71, 63, 4], Operations: ['75-71=4'] Exploring Operation: 71-4=67, Resulting Numbers: [63, 67] Generated Node #0,0,0: 12:[63, 67] Operation: 71-4=67 Exploring Operation: 71-63=8, Resulting Numbers: [4, 8] Generated Node #0,0,1: 12:[4, 8] Operation: 71-63=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[4, 8], Operations: ['75-71=4', '71-63=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[75, 71, 71, 63], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [71, 63, 4] Generated Node #0,0: 12:[71, 63, 4] Operation: 75-71=4 Moving to Node #0,0 Current State: 12:[71, 63, 4], Operations: ['75-71=4'] Exploring Operation: 71-63=8, Resulting Numbers: [4, 8] Generated Node #0,0,1: 12:[4, 8] Operation: 71-63=8 Moving to Node #0,0,1 Current State: 12:[4, 8], Operations: ['75-71=4', '71-63=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 11, 5, 31, 16 ]
90
[ "11-5=6", "31-16=15", "6*15=90" ]
Current State: 90:[11, 5, 31, 16], Operations: [] Exploring Operation: 11-5=6, Resulting Numbers: [31, 16, 6] Generated Node #2: [31, 16, 6] from Operation: 11-5=6 Current State: 90:[31, 16, 6], Operations: ['11-5=6'] Exploring Operation: 31-16=15, Resulting Numbers: [6, 15] Generated Node #3: [6, 15] from Operation: 31-16=15 Current State: 90:[6, 15], Operations: ['11-5=6', '31-16=15'] Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[11, 5, 31, 16], Operations: [] Exploring Operation: 16-11=5, Resulting Numbers: [5, 31, 5] Generated Node #0,0: 90:[5, 31, 5] Operation: 16-11=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[5, 31, 5], Operations: ['16-11=5'] Exploring Operation: 5+5=10, Resulting Numbers: [31, 10] Generated Node #0,0,0: 90:[31, 10] Operation: 5+5=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[31, 10], Operations: ['16-11=5', '5+5=10'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 43, 52, 54, 24 ]
30
[ "52-43=9", "54/9=6", "24+6=30" ]
Current State: 30:[43, 52, 54, 24], Operations: [] Exploring Operation: 52-43=9, Resulting Numbers: [54, 24, 9] Generated Node #2: [54, 24, 9] from Operation: 52-43=9 Current State: 30:[54, 24, 9], Operations: ['52-43=9'] Exploring Operation: 54/9=6, Resulting Numbers: [24, 6] Generated Node #3: [24, 6] from Operation: 54/9=6 Current State: 30:[24, 6], Operations: ['52-43=9', '54/9=6'] Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[43, 52, 54, 24], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [43, 24, 2] Generated Node #0,0: 30:[43, 24, 2] Operation: 54-52=2 Exploring Operation: 54-43=11, Resulting Numbers: [52, 24, 11] Generated Node #0,1: 30:[52, 24, 11] Operation: 54-43=11 Moving to Node #0,0 Current State: 30:[43, 24, 2], Operations: ['54-52=2'] Exploring Operation: 24/2=12, Resulting Numbers: [43, 12] Generated Node #0,0,0: 30:[43, 12] Operation: 24/2=12 Exploring Operation: 43-24=19, Resulting Numbers: [2, 19] Generated Node #0,0,1: 30:[2, 19] Operation: 43-24=19 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[2, 19], Operations: ['54-52=2', '43-24=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,30 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,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:[43, 12], Operations: ['54-52=2', '24/2=12'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,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:[52, 24, 11], Operations: ['54-43=11'] Exploring Operation: 52-11=41, Resulting Numbers: [24, 41] Generated Node #0,1,0: 30:[24, 41] Operation: 52-11=41 Exploring Operation: 52-24=28, Resulting Numbers: [11, 28] Generated Node #0,1,1: 30:[11, 28] Operation: 52-24=28 Moving to Node #0,1,1 Current State: 30:[11, 28], Operations: ['54-43=11', '52-24=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[24, 41], Operations: ['54-43=11', '52-11=41'] Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,30 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,30 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 94, 63, 30, 10 ]
40
[ "94-10=84", "30*84=2520", "2520/63=40" ]
Current State: 40:[94, 63, 30, 10], Operations: [] Exploring Operation: 94-10=84, Resulting Numbers: [63, 30, 84] Generated Node #2: [63, 30, 84] from Operation: 94-10=84 Current State: 40:[63, 30, 84], Operations: ['94-10=84'] Exploring Operation: 30*84=2520, Resulting Numbers: [63, 2520] Generated Node #3: [63, 2520] from Operation: 30*84=2520 Current State: 40:[63, 2520], Operations: ['94-10=84', '30*84=2520'] Exploring Operation: 2520/63=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[94, 63, 30, 10], Operations: [] Exploring Operation: 94-63=31, Resulting Numbers: [30, 10, 31] Generated Node #0,0: 40:[30, 10, 31] Operation: 94-63=31 Exploring Operation: 94-10=84, Resulting Numbers: [63, 30, 84] Generated Node #0,1: 40:[63, 30, 84] Operation: 94-10=84 Exploring Operation: 63-30=33, Resulting Numbers: [94, 10, 33] Generated Node #0,2: 40:[94, 10, 33] Operation: 63-30=33 Exploring Operation: 94-30=64, Resulting Numbers: [63, 10, 64] Generated Node #0,3: 40:[63, 10, 64] Operation: 94-30=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[30, 10, 31], Operations: ['94-63=31'] Exploring Operation: 30-10=20, Resulting Numbers: [31, 20] Generated Node #0,0,0: 40:[31, 20] Operation: 30-10=20 Exploring Operation: 30/10=3, Resulting Numbers: [31, 3] Generated Node #0,0,1: 40:[31, 3] Operation: 30/10=3 Exploring Operation: 30+10=40, Resulting Numbers: [31, 40] Generated Node #0,0,2: 40:[31, 40] Operation: 30+10=40 Exploring Operation: 31-30=1, Resulting Numbers: [10, 1] Generated Node #0,0,3: 40:[10, 1] Operation: 31-30=1 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 40:[10, 1], Operations: ['94-63=31', '31-30=1'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,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:[31, 20], Operations: ['94-63=31', '30-10=20'] Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,40 unequal: No Solution Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,40 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,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:[31, 40], Operations: ['94-63=31', '30+10=40'] Exploring Operation: 31*40=1240, Resulting Numbers: [1240] 1240,40 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 31+40=71, Resulting Numbers: [71] 71,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:[31, 3], Operations: ['94-63=31', '30/10=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,40 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,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,3 Current State: 40:[63, 10, 64], Operations: ['94-30=64'] Exploring Operation: 63-10=53, Resulting Numbers: [64, 53] Generated Node #0,3,0: 40:[64, 53] Operation: 63-10=53 Exploring Operation: 63+10=73, Resulting Numbers: [64, 73] Generated Node #0,3,1: 40:[64, 73] Operation: 63+10=73 Exploring Operation: 64-10=54, Resulting Numbers: [63, 54] Generated Node #0,3,2: 40:[63, 54] Operation: 64-10=54 Exploring Operation: 64-63=1, Resulting Numbers: [10, 1] Generated Node #0,3,3: 40:[10, 1] Operation: 64-63=1 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 40:[10, 1], Operations: ['94-30=64', '64-63=1'] Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,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,3,0 Current State: 40:[64, 53], Operations: ['94-30=64', '63-10=53'] Exploring Operation: 64*53=3392, Resulting Numbers: [3392] 3392,40 unequal: No Solution Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 64+53=117, Resulting Numbers: [117] 117,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,3,2 Current State: 40:[63, 54], Operations: ['94-30=64', '64-10=54'] Exploring Operation: 63+54=117, Resulting Numbers: [117] 117,40 unequal: No Solution Exploring Operation: 63*54=3402, Resulting Numbers: [3402] 3402,40 unequal: No Solution Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,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,3,1 Current State: 40:[64, 73], Operations: ['94-30=64', '63+10=73'] Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 64+73=137, Resulting Numbers: [137] 137,40 unequal: No Solution Exploring Operation: 64*73=4672, Resulting Numbers: [4672] 4672,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:[94, 10, 33], Operations: ['63-30=33'] Exploring Operation: 33-10=23, Resulting Numbers: [94, 23] Generated Node #0,2,0: 40:[94, 23] Operation: 33-10=23 Exploring Operation: 94-10=84, Resulting Numbers: [33, 84] Generated Node #0,2,1: 40:[33, 84] Operation: 94-10=84 Exploring Operation: 94-33=61, Resulting Numbers: [10, 61] Generated Node #0,2,2: 40:[10, 61] Operation: 94-33=61 Exploring Operation: 10+33=43, Resulting Numbers: [94, 43] Generated Node #0,2,3: 40:[94, 43] Operation: 10+33=43 Moving to Node #0,2,2 Current State: 40:[10, 61], Operations: ['63-30=33', '94-33=61'] Exploring Operation: 10+61=71, Resulting Numbers: [71] 71,40 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,40 unequal: No Solution Exploring Operation: 10*61=610, Resulting Numbers: [610] 610,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[33, 84], Operations: ['63-30=33', '94-10=84'] Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,40 unequal: No Solution Exploring Operation: 33+84=117, Resulting Numbers: [117] 117,40 unequal: No Solution Exploring Operation: 33*84=2772, Resulting Numbers: [2772] 2772,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[94, 43], Operations: ['63-30=33', '10+33=43'] Exploring Operation: 94*43=4042, Resulting Numbers: [4042] 4042,40 unequal: No Solution Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,40 unequal: No Solution Exploring Operation: 94+43=137, Resulting Numbers: [137] 137,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[94, 23], Operations: ['63-30=33', '33-10=23'] Exploring Operation: 94+23=117, Resulting Numbers: [117] 117,40 unequal: No Solution Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,40 unequal: No Solution Exploring Operation: 94*23=2162, Resulting Numbers: [2162] 2162,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[63, 30, 84], Operations: ['94-10=84'] Exploring Operation: 63-30=33, Resulting Numbers: [84, 33] Generated Node #0,1,0: 40:[84, 33] Operation: 63-30=33 Exploring Operation: 84-63=21, Resulting Numbers: [30, 21] Generated Node #0,1,1: 40:[30, 21] Operation: 84-63=21 Exploring Operation: 63+30=93, Resulting Numbers: [84, 93] Generated Node #0,1,2: 40:[84, 93] Operation: 63+30=93 Exploring Operation: 84-30=54, Resulting Numbers: [63, 54] Generated Node #0,1,3: 40:[63, 54] Operation: 84-30=54 Moving to Node #0,1,1 Current State: 40:[30, 21], Operations: ['94-10=84', '84-63=21'] Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,40 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,40 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[63, 54], Operations: ['94-10=84', '84-30=54'] Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 63+54=117, Resulting Numbers: [117] 117,40 unequal: No Solution Exploring Operation: 63*54=3402, Resulting Numbers: [3402] 3402,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[84, 33], Operations: ['94-10=84', '63-30=33'] Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,40 unequal: No Solution Exploring Operation: 84+33=117, Resulting Numbers: [117] 117,40 unequal: No Solution Exploring Operation: 84*33=2772, Resulting Numbers: [2772] 2772,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[84, 93], Operations: ['94-10=84', '63+30=93'] Exploring Operation: 84*93=7812, Resulting Numbers: [7812] 7812,40 unequal: No Solution Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 84+93=177, Resulting Numbers: [177] 177,40 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
[ 2, 5, 23, 67 ]
16
[ "2*23=46", "67-5=62", "62-46=16" ]
Current State: 16:[2, 5, 23, 67], Operations: [] Exploring Operation: 2*23=46, Resulting Numbers: [5, 67, 46] Generated Node #2: [5, 67, 46] from Operation: 2*23=46 Current State: 16:[5, 67, 46], Operations: ['2*23=46'] Exploring Operation: 67-5=62, Resulting Numbers: [46, 62] Generated Node #3: [46, 62] from Operation: 67-5=62 Current State: 16:[46, 62], Operations: ['2*23=46', '67-5=62'] Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[2, 5, 23, 67], Operations: [] Exploring Operation: 67-23=44, Resulting Numbers: [2, 5, 44] Generated Node #0,0: 16:[2, 5, 44] Operation: 67-23=44 Exploring Operation: 23-5=18, Resulting Numbers: [2, 67, 18] Generated Node #0,1: 16:[2, 67, 18] Operation: 23-5=18 Moving to Node #0,0 Current State: 16:[2, 5, 44], Operations: ['67-23=44'] Exploring Operation: 44-5=39, Resulting Numbers: [2, 39] Generated Node #0,0,0: 16:[2, 39] Operation: 44-5=39 Exploring Operation: 44/2=22, Resulting Numbers: [5, 22] Generated Node #0,0,1: 16:[5, 22] Operation: 44/2=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[5, 22], Operations: ['67-23=44', '44/2=22'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[2, 39], Operations: ['67-23=44', '44-5=39'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,16 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: 16:[2, 67, 18], Operations: ['23-5=18'] Exploring Operation: 67-2=65, Resulting Numbers: [18, 65] Generated Node #0,1,0: 16:[18, 65] Operation: 67-2=65 Exploring Operation: 67-18=49, Resulting Numbers: [2, 49] Generated Node #0,1,1: 16:[2, 49] Operation: 67-18=49 Moving to Node #0,1,1 Current State: 16:[2, 49], Operations: ['23-5=18', '67-18=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,16 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[18, 65], Operations: ['23-5=18', '67-2=65'] Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,16 unequal: No Solution Exploring Operation: 18+65=83, Resulting Numbers: [83] 83,16 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 88, 9, 7, 80 ]
10
[ "88+9=97", "7+80=87", "97-87=10" ]
Current State: 10:[88, 9, 7, 80], Operations: [] Exploring Operation: 88+9=97, Resulting Numbers: [7, 80, 97] Generated Node #2: [7, 80, 97] from Operation: 88+9=97 Current State: 10:[7, 80, 97], Operations: ['88+9=97'] Exploring Operation: 7+80=87, Resulting Numbers: [97, 87] Generated Node #3: [97, 87] from Operation: 7+80=87 Current State: 10:[97, 87], Operations: ['88+9=97', '7+80=87'] Exploring Operation: 97-87=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[88, 9, 7, 80], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [9, 7, 8] Generated Node #0,0: 10:[9, 7, 8] Operation: 88-80=8 Exploring Operation: 80-9=71, Resulting Numbers: [88, 7, 71] Generated Node #0,1: 10:[88, 7, 71] Operation: 80-9=71 Exploring Operation: 88-9=79, Resulting Numbers: [7, 80, 79] Generated Node #0,2: 10:[7, 80, 79] Operation: 88-9=79 Exploring Operation: 88-7=81, Resulting Numbers: [9, 80, 81] Generated Node #0,3: 10:[9, 80, 81] Operation: 88-7=81 Moving to Node #0,0 Current State: 10:[9, 7, 8], Operations: ['88-80=8'] Exploring Operation: 7+8=15, Resulting Numbers: [9, 15] Generated Node #0,0,0: 10:[9, 15] Operation: 7+8=15 Exploring Operation: 9-7=2, Resulting Numbers: [8, 2] Generated Node #0,0,1: 10:[8, 2] Operation: 9-7=2 Exploring Operation: 8-7=1, Resulting Numbers: [9, 1] Generated Node #0,0,2: 10:[9, 1] Operation: 8-7=1 Exploring Operation: 9-8=1, Resulting Numbers: [7, 1] Generated Node #0,0,3: 10:[7, 1] Operation: 9-8=1 Moving to Node #0,2 Current State: 10:[7, 80, 79], Operations: ['88-9=79'] Exploring Operation: 79-7=72, Resulting Numbers: [80, 72] Generated Node #0,2,0: 10:[80, 72] Operation: 79-7=72 Exploring Operation: 7+80=87, Resulting Numbers: [79, 87] Generated Node #0,2,1: 10:[79, 87] Operation: 7+80=87 Exploring Operation: 80-7=73, Resulting Numbers: [79, 73] Generated Node #0,2,2: 10:[79, 73] Operation: 80-7=73 Exploring Operation: 80-79=1, Resulting Numbers: [7, 1] Generated Node #0,2,3: 10:[7, 1] Operation: 80-79=1 Moving to Node #0,1 Current State: 10:[88, 7, 71], Operations: ['80-9=71'] Exploring Operation: 88+7=95, Resulting Numbers: [71, 95] Generated Node #0,1,0: 10:[71, 95] Operation: 88+7=95 Exploring Operation: 88-71=17, Resulting Numbers: [7, 17] Generated Node #0,1,1: 10:[7, 17] Operation: 88-71=17 Exploring Operation: 88-7=81, Resulting Numbers: [71, 81] Generated Node #0,1,2: 10:[71, 81] Operation: 88-7=81 Exploring Operation: 71-7=64, Resulting Numbers: [88, 64] Generated Node #0,1,3: 10:[88, 64] Operation: 71-7=64 Moving to Node #0,3 Current State: 10:[9, 80, 81], Operations: ['88-7=81'] Exploring Operation: 80-9=71, Resulting Numbers: [81, 71] Generated Node #0,3,0: 10:[81, 71] Operation: 80-9=71 Exploring Operation: 81-80=1, Resulting Numbers: [9, 1] Generated Node #0,3,1: 10:[9, 1] Operation: 81-80=1 Exploring Operation: 81-9=72, Resulting Numbers: [80, 72] Generated Node #0,3,2: 10:[80, 72] Operation: 81-9=72 Exploring Operation: 81/9=9, Resulting Numbers: [80, 9] Generated Node #0,3,3: 10:[80, 9] Operation: 81/9=9 Moving to Node #0,0,1 Current State: 10:[8, 2], Operations: ['88-80=8', '9-7=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[88, 9, 7, 80], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [9, 7, 8] Generated Node #0,0: 10:[9, 7, 8] Operation: 88-80=8 Moving to Node #0,0 Current State: 10:[9, 7, 8], Operations: ['88-80=8'] Exploring Operation: 9-7=2, Resulting Numbers: [8, 2] Generated Node #0,0,1: 10:[8, 2] Operation: 9-7=2 Moving to Node #0,0,1 Current State: 10:[8, 2], Operations: ['88-80=8', '9-7=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.975694
hs_4
mult_heuristic
[ 89, 72, 39, 43 ]
21
[ "89-72=17", "43-39=4", "17+4=21" ]
Current State: 21:[89, 72, 39, 43], Operations: [] Exploring Operation: 89-72=17, Resulting Numbers: [39, 43, 17] Generated Node #2: [39, 43, 17] from Operation: 89-72=17 Current State: 21:[39, 43, 17], Operations: ['89-72=17'] Exploring Operation: 43-39=4, Resulting Numbers: [17, 4] Generated Node #3: [17, 4] from Operation: 43-39=4 Current State: 21:[17, 4], Operations: ['89-72=17', '43-39=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[89, 72, 39, 43], Operations: [] Exploring Operation: 89-43=46, Resulting Numbers: [72, 39, 46] Generated Node #0,0: 21:[72, 39, 46] Operation: 89-43=46 Exploring Operation: 89-72=17, Resulting Numbers: [39, 43, 17] Generated Node #0,1: 21:[39, 43, 17] Operation: 89-72=17 Exploring Operation: 72-43=29, Resulting Numbers: [89, 39, 29] Generated Node #0,2: 21:[89, 39, 29] Operation: 72-43=29 Moving to Node #0,1 Current State: 21:[39, 43, 17], Operations: ['89-72=17'] Exploring Operation: 43-39=4, Resulting Numbers: [17, 4] Generated Node #0,1,0: 21:[17, 4] Operation: 43-39=4 Exploring Operation: 43-17=26, Resulting Numbers: [39, 26] Generated Node #0,1,1: 21:[39, 26] Operation: 43-17=26 Exploring Operation: 39-17=22, Resulting Numbers: [43, 22] Generated Node #0,1,2: 21:[43, 22] Operation: 39-17=22 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[17, 4], Operations: ['89-72=17', '43-39=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,21 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[89, 72, 39, 43], Operations: [] Exploring Operation: 89-72=17, Resulting Numbers: [39, 43, 17] Generated Node #0,1: 21:[39, 43, 17] Operation: 89-72=17 Moving to Node #0,1 Current State: 21:[39, 43, 17], Operations: ['89-72=17'] Exploring Operation: 43-39=4, Resulting Numbers: [17, 4] Generated Node #0,1,0: 21:[17, 4] Operation: 43-39=4 Moving to Node #0,1,0 Current State: 21:[17, 4], Operations: ['89-72=17', '43-39=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 68, 60, 63, 6 ]
15
[ "68-60=8", "6*8=48", "63-48=15" ]
Current State: 15:[68, 60, 63, 6], Operations: [] Exploring Operation: 68-60=8, Resulting Numbers: [63, 6, 8] Generated Node #2: [63, 6, 8] from Operation: 68-60=8 Current State: 15:[63, 6, 8], Operations: ['68-60=8'] Exploring Operation: 6*8=48, Resulting Numbers: [63, 48] Generated Node #3: [63, 48] from Operation: 6*8=48 Current State: 15:[63, 48], Operations: ['68-60=8', '6*8=48'] Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[68, 60, 63, 6], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [60, 6, 5] Generated Node #0,0: 15:[60, 6, 5] Operation: 68-63=5 Exploring Operation: 68-6=62, Resulting Numbers: [60, 63, 62] Generated Node #0,1: 15:[60, 63, 62] Operation: 68-6=62 Exploring Operation: 68-60=8, Resulting Numbers: [63, 6, 8] Generated Node #0,2: 15:[63, 6, 8] Operation: 68-60=8 Exploring Operation: 60/6=10, Resulting Numbers: [68, 63, 10] Generated Node #0,3: 15:[68, 63, 10] Operation: 60/6=10 Exploring Operation: 63-60=3, Resulting Numbers: [68, 6, 3] Generated Node #0,4: 15:[68, 6, 3] Operation: 63-60=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[60, 6, 5], Operations: ['68-63=5'] Exploring Operation: 6-5=1, Resulting Numbers: [60, 1] Generated Node #0,0,0: 15:[60, 1] Operation: 6-5=1 Exploring Operation: 60/6=10, Resulting Numbers: [5, 10] Generated Node #0,0,1: 15:[5, 10] Operation: 60/6=10 Exploring Operation: 60-5=55, Resulting Numbers: [6, 55] Generated Node #0,0,2: 15:[6, 55] Operation: 60-5=55 Exploring Operation: 60-6=54, Resulting Numbers: [5, 54] Generated Node #0,0,3: 15:[5, 54] Operation: 60-6=54 Exploring Operation: 60/5=12, Resulting Numbers: [6, 12] Generated Node #0,0,4: 15:[6, 12] Operation: 60/5=12 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 15:[6, 12], Operations: ['68-63=5', '60/5=12'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,15 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 12/6=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,0,1 Current State: 15:[5, 10], Operations: ['68-63=5', '60/6=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[68, 60, 63, 6], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [60, 6, 5] Generated Node #0,0: 15:[60, 6, 5] Operation: 68-63=5 Moving to Node #0,0 Current State: 15:[60, 6, 5], Operations: ['68-63=5'] Exploring Operation: 60/6=10, Resulting Numbers: [5, 10] Generated Node #0,0,1: 15:[5, 10] Operation: 60/6=10 Moving to Node #0,0,1 Current State: 15:[5, 10], Operations: ['68-63=5', '60/6=10'] Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 56, 11, 14, 28 ]
25
[ "56+11=67", "14+28=42", "67-42=25" ]
Current State: 25:[56, 11, 14, 28], Operations: [] Exploring Operation: 56+11=67, Resulting Numbers: [14, 28, 67] Generated Node #2: [14, 28, 67] from Operation: 56+11=67 Current State: 25:[14, 28, 67], Operations: ['56+11=67'] Exploring Operation: 14+28=42, Resulting Numbers: [67, 42] Generated Node #3: [67, 42] from Operation: 14+28=42 Current State: 25:[67, 42], Operations: ['56+11=67', '14+28=42'] Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[56, 11, 14, 28], Operations: [] Exploring Operation: 56-14=42, Resulting Numbers: [11, 28, 42] Generated Node #0,0: 25:[11, 28, 42] Operation: 56-14=42 Exploring Operation: 56/28=2, Resulting Numbers: [11, 14, 2] Generated Node #0,1: 25:[11, 14, 2] Operation: 56/28=2 Exploring Operation: 56/14=4, Resulting Numbers: [11, 28, 4] Generated Node #0,2: 25:[11, 28, 4] Operation: 56/14=4 Exploring Operation: 56-28=28, Resulting Numbers: [11, 14, 28] Generated Node #0,3: 25:[11, 14, 28] Operation: 56-28=28 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[11, 28, 4], Operations: ['56/14=4'] Exploring Operation: 28-11=17, Resulting Numbers: [4, 17] Generated Node #0,2,0: 25:[4, 17] Operation: 28-11=17 Exploring Operation: 28-4=24, Resulting Numbers: [11, 24] Generated Node #0,2,1: 25:[11, 24] Operation: 28-4=24 Exploring Operation: 11-4=7, Resulting Numbers: [28, 7] Generated Node #0,2,2: 25:[28, 7] Operation: 11-4=7 Exploring Operation: 28/4=7, Resulting Numbers: [11, 7] Generated Node #0,2,3: 25:[11, 7] Operation: 28/4=7 Moving to Node #0,2,2 Current State: 25:[28, 7], Operations: ['56/14=4', '11-4=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,25 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[11, 24], Operations: ['56/14=4', '28-4=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,25 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,25 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[11, 7], Operations: ['56/14=4', '28/4=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,25 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[4, 17], Operations: ['56/14=4', '28-11=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,25 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,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:[11, 14, 2], Operations: ['56/28=2'] Exploring Operation: 11+14=25, Resulting Numbers: [2, 25] Generated Node #0,1,0: 25:[2, 25] Operation: 11+14=25 Exploring Operation: 14-11=3, Resulting Numbers: [2, 3] Generated Node #0,1,1: 25:[2, 3] Operation: 14-11=3 Exploring Operation: 14/2=7, Resulting Numbers: [11, 7] Generated Node #0,1,2: 25:[11, 7] Operation: 14/2=7 Exploring Operation: 14*2=28, Resulting Numbers: [11, 28] Generated Node #0,1,3: 25:[11, 28] Operation: 14*2=28 Moving to Node #0,1,0 Current State: 25:[2, 25], Operations: ['56/28=2', '11+14=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,25 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[2, 3], Operations: ['56/28=2', '14-11=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[11, 7], Operations: ['56/28=2', '14/2=7'] Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[11, 28], Operations: ['56/28=2', '14*2=28'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,25 unequal: No Solution Exploring Operation: 11*28=308, Resulting Numbers: [308] 308,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:[11, 14, 28], Operations: ['56-28=28'] Exploring Operation: 14-11=3, Resulting Numbers: [28, 3] Generated Node #0,3,0: 25:[28, 3] Operation: 14-11=3 Exploring Operation: 11+14=25, Resulting Numbers: [28, 25] Generated Node #0,3,1: 25:[28, 25] Operation: 11+14=25 Exploring Operation: 28-14=14, Resulting Numbers: [11, 14] Generated Node #0,3,2: 25:[11, 14] Operation: 28-14=14 Exploring Operation: 28/14=2, Resulting Numbers: [11, 2] Generated Node #0,3,3: 25:[11, 2] Operation: 28/14=2 Moving to Node #0,3,1 Current State: 25:[28, 25], Operations: ['56-28=28', '11+14=25'] Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[28, 3], Operations: ['56-28=28', '14-11=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[56, 11, 14, 28], Operations: [] Exploring Operation: 56-28=28, Resulting Numbers: [11, 14, 28] Generated Node #0,3: 25:[11, 14, 28] Operation: 56-28=28 Moving to Node #0,3 Current State: 25:[11, 14, 28], Operations: ['56-28=28'] Exploring Operation: 14-11=3, Resulting Numbers: [28, 3] Generated Node #0,3,0: 25:[28, 3] Operation: 14-11=3 Moving to Node #0,3,0 Current State: 25:[28, 3], Operations: ['56-28=28', '14-11=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
mult_heuristic
[ 12, 80, 78, 12 ]
80
[ "12-12=0", "78*0=0", "80+0=80" ]
Current State: 80:[12, 80, 78, 12], Operations: [] Exploring Operation: 12-12=0, Resulting Numbers: [80, 78, 0] Generated Node #2: [80, 78, 0] from Operation: 12-12=0 Current State: 80:[80, 78, 0], Operations: ['12-12=0'] Exploring Operation: 78*0=0, Resulting Numbers: [80, 0] Generated Node #3: [80, 0] from Operation: 78*0=0 Current State: 80:[80, 0], Operations: ['12-12=0', '78*0=0'] Exploring Operation: 80+0=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[12, 80, 78, 12], Operations: [] Exploring Operation: 12-12=0, Resulting Numbers: [80, 78, 0] Generated Node #0,0: 80:[80, 78, 0] Operation: 12-12=0 Exploring Operation: 12/12=1, Resulting Numbers: [80, 78, 1] Generated Node #0,1: 80:[80, 78, 1] Operation: 12/12=1 Exploring Operation: 80-78=2, Resulting Numbers: [12, 12, 2] Generated Node #0,2: 80:[12, 12, 2] Operation: 80-78=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[80, 78, 1], Operations: ['12/12=1'] Exploring Operation: 78+1=79, Resulting Numbers: [80, 79] Generated Node #0,1,0: 80:[80, 79] Operation: 78+1=79 Exploring Operation: 80-78=2, Resulting Numbers: [1, 2] Generated Node #0,1,1: 80:[1, 2] Operation: 80-78=2 Exploring Operation: 80*1=80, Resulting Numbers: [78, 80] Generated Node #0,1,2: 80:[78, 80] Operation: 80*1=80 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[80, 79], Operations: ['12/12=1', '78+1=79'] Exploring Operation: 80-79=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 80*79=6320, Resulting Numbers: [6320] 6320,80 unequal: No Solution Exploring Operation: 80+79=159, Resulting Numbers: [159] 159,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[1, 2], Operations: ['12/12=1', '80-78=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[78, 80], Operations: ['12/12=1', '80*1=80'] Exploring Operation: 78+80=158, Resulting Numbers: [158] 158,80 unequal: No Solution Exploring Operation: 80-78=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 78*80=6240, Resulting Numbers: [6240] 6240,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[80, 78, 0], Operations: ['12-12=0'] Exploring Operation: 80-78=2, Resulting Numbers: [0, 2] Generated Node #0,0,0: 80:[0, 2] Operation: 80-78=2 Exploring Operation: 80+0=80, Resulting Numbers: [78, 80] Generated Node #0,0,1: 80:[78, 80] Operation: 80+0=80 Exploring Operation: 80-0=80, Resulting Numbers: [78, 80] Generated Node #0,0,2: 80:[78, 80] Operation: 80-0=80 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[0, 2], Operations: ['12-12=0', '80-78=2'] Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 0*2=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 0+2=2, Resulting Numbers: [2] 2,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[78, 80], Operations: ['12-12=0', '80+0=80'] Exploring Operation: 80-78=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 78*80=6240, Resulting Numbers: [6240] 6240,80 unequal: No Solution Exploring Operation: 78+80=158, Resulting Numbers: [158] 158,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[78, 80], Operations: ['12-12=0', '80-0=80'] Exploring Operation: 80-78=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 78*80=6240, Resulting Numbers: [6240] 6240,80 unequal: No Solution Exploring Operation: 78+80=158, Resulting Numbers: [158] 158,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[12, 12, 2], Operations: ['80-78=2'] Exploring Operation: 12-12=0, Resulting Numbers: [2, 0] Generated Node #0,2,0: 80:[2, 0] Operation: 12-12=0 Exploring Operation: 12-2=10, Resulting Numbers: [12, 10] Generated Node #0,2,1: 80:[12, 10] Operation: 12-2=10 Exploring Operation: 12/12=1, Resulting Numbers: [2, 1] Generated Node #0,2,2: 80:[2, 1] Operation: 12/12=1 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 80:[2, 1], Operations: ['80-78=2', '12/12=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[2, 0], Operations: ['80-78=2', '12-12=0'] Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 2+0=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 80:[12, 10], Operations: ['80-78=2', '12-2=10'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,80 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 60, 15, 22, 36 ]
56
[ "60/15=4", "36-22=14", "4*14=56" ]
Current State: 56:[60, 15, 22, 36], Operations: [] Exploring Operation: 60/15=4, Resulting Numbers: [22, 36, 4] Generated Node #2: [22, 36, 4] from Operation: 60/15=4 Current State: 56:[22, 36, 4], Operations: ['60/15=4'] Exploring Operation: 36-22=14, Resulting Numbers: [4, 14] Generated Node #3: [4, 14] from Operation: 36-22=14 Current State: 56:[4, 14], Operations: ['60/15=4', '36-22=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[60, 15, 22, 36], Operations: [] Exploring Operation: 22-15=7, Resulting Numbers: [60, 36, 7] Generated Node #0,0: 56:[60, 36, 7] Operation: 22-15=7 Exploring Operation: 36-22=14, Resulting Numbers: [60, 15, 14] Generated Node #0,1: 56:[60, 15, 14] Operation: 36-22=14 Exploring Operation: 60/15=4, Resulting Numbers: [22, 36, 4] Generated Node #0,2: 56:[22, 36, 4] Operation: 60/15=4 Exploring Operation: 22+36=58, Resulting Numbers: [60, 15, 58] Generated Node #0,3: 56:[60, 15, 58] Operation: 22+36=58 Exploring Operation: 60-36=24, Resulting Numbers: [15, 22, 24] Generated Node #0,4: 56:[15, 22, 24] Operation: 60-36=24 Moving to Node #0,1 Current State: 56:[60, 15, 14], Operations: ['36-22=14'] Exploring Operation: 60/15=4, Resulting Numbers: [14, 4] Generated Node #0,1,0: 56:[14, 4] Operation: 60/15=4 Exploring Operation: 60-14=46, Resulting Numbers: [15, 46] Generated Node #0,1,1: 56:[15, 46] Operation: 60-14=46 Exploring Operation: 15-14=1, Resulting Numbers: [60, 1] Generated Node #0,1,2: 56:[60, 1] Operation: 15-14=1 Exploring Operation: 15+14=29, Resulting Numbers: [60, 29] Generated Node #0,1,3: 56:[60, 29] Operation: 15+14=29 Exploring Operation: 60-15=45, Resulting Numbers: [14, 45] Generated Node #0,1,4: 56:[14, 45] Operation: 60-15=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[14, 4], Operations: ['36-22=14', '60/15=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[60, 15, 22, 36], Operations: [] Exploring Operation: 36-22=14, Resulting Numbers: [60, 15, 14] Generated Node #0,1: 56:[60, 15, 14] Operation: 36-22=14 Moving to Node #0,1 Current State: 56:[60, 15, 14], Operations: ['36-22=14'] Exploring Operation: 60/15=4, Resulting Numbers: [14, 4] Generated Node #0,1,0: 56:[14, 4] Operation: 60/15=4 Moving to Node #0,1,0 Current State: 56:[14, 4], Operations: ['36-22=14', '60/15=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 32, 75, 76, 78 ]
91
[ "78-76=2", "32/2=16", "75+16=91" ]
Current State: 91:[32, 75, 76, 78], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [32, 75, 2] Generated Node #2: [32, 75, 2] from Operation: 78-76=2 Current State: 91:[32, 75, 2], Operations: ['78-76=2'] Exploring Operation: 32/2=16, Resulting Numbers: [75, 16] Generated Node #3: [75, 16] from Operation: 32/2=16 Current State: 91:[75, 16], Operations: ['78-76=2', '32/2=16'] Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[32, 75, 76, 78], Operations: [] Exploring Operation: 76-75=1, Resulting Numbers: [32, 78, 1] Generated Node #0,0: 91:[32, 78, 1] Operation: 76-75=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[32, 78, 1], Operations: ['76-75=1'] Exploring Operation: 32+78=110, Resulting Numbers: [1, 110] Generated Node #0,0,0: 91:[1, 110] Operation: 32+78=110 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[1, 110], Operations: ['76-75=1', '32+78=110'] Exploring Operation: 110-1=109, Resulting Numbers: [109] 109,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 44, 53, 96, 75 ]
74
[ "44+53=97", "96+75=171", "171-97=74" ]
Current State: 74:[44, 53, 96, 75], Operations: [] Exploring Operation: 44+53=97, Resulting Numbers: [96, 75, 97] Generated Node #2: [96, 75, 97] from Operation: 44+53=97 Current State: 74:[96, 75, 97], Operations: ['44+53=97'] Exploring Operation: 96+75=171, Resulting Numbers: [97, 171] Generated Node #3: [97, 171] from Operation: 96+75=171 Current State: 74:[97, 171], Operations: ['44+53=97', '96+75=171'] Exploring Operation: 171-97=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[44, 53, 96, 75], Operations: [] Exploring Operation: 75-44=31, Resulting Numbers: [53, 96, 31] Generated Node #0,0: 74:[53, 96, 31] Operation: 75-44=31 Exploring Operation: 96-44=52, Resulting Numbers: [53, 75, 52] Generated Node #0,1: 74:[53, 75, 52] Operation: 96-44=52 Exploring Operation: 53-44=9, Resulting Numbers: [96, 75, 9] Generated Node #0,2: 74:[96, 75, 9] Operation: 53-44=9 Exploring Operation: 96-75=21, Resulting Numbers: [44, 53, 21] Generated Node #0,3: 74:[44, 53, 21] Operation: 96-75=21 Exploring Operation: 96-53=43, Resulting Numbers: [44, 75, 43] Generated Node #0,4: 74:[44, 75, 43] Operation: 96-53=43 Moving to Node #0,4 Current State: 74:[44, 75, 43], Operations: ['96-53=43'] Exploring Operation: 75-43=32, Resulting Numbers: [44, 32] Generated Node #0,4,0: 74:[44, 32] Operation: 75-43=32 Exploring Operation: 44+43=87, Resulting Numbers: [75, 87] Generated Node #0,4,1: 74:[75, 87] Operation: 44+43=87 Exploring Operation: 44-43=1, Resulting Numbers: [75, 1] Generated Node #0,4,2: 74:[75, 1] Operation: 44-43=1 Exploring Operation: 75-44=31, Resulting Numbers: [43, 31] Generated Node #0,4,3: 74:[43, 31] Operation: 75-44=31 Exploring Operation: 44+75=119, Resulting Numbers: [43, 119] Generated Node #0,4,4: 74:[43, 119] Operation: 44+75=119 Moving to Node #0,2 Current State: 74:[96, 75, 9], Operations: ['53-44=9'] Exploring Operation: 96-9=87, Resulting Numbers: [75, 87] Generated Node #0,2,0: 74:[75, 87] Operation: 96-9=87 Exploring Operation: 96+9=105, Resulting Numbers: [75, 105] Generated Node #0,2,1: 74:[75, 105] Operation: 96+9=105 Exploring Operation: 75-9=66, Resulting Numbers: [96, 66] Generated Node #0,2,2: 74:[96, 66] Operation: 75-9=66 Exploring Operation: 75+9=84, Resulting Numbers: [96, 84] Generated Node #0,2,3: 74:[96, 84] Operation: 75+9=84 Exploring Operation: 96-75=21, Resulting Numbers: [9, 21] Generated Node #0,2,4: 74:[9, 21] Operation: 96-75=21 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[75, 87], Operations: ['53-44=9', '96-9=87'] Exploring Operation: 75+87=162, Resulting Numbers: [162] 162,74 unequal: No Solution Exploring Operation: 75*87=6525, Resulting Numbers: [6525] 6525,74 unequal: No Solution Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 74:[9, 21], Operations: ['53-44=9', '96-75=21'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,74 unequal: No Solution Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,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:[96, 66], Operations: ['53-44=9', '75-9=66'] Exploring Operation: 96*66=6336, Resulting Numbers: [6336] 6336,74 unequal: No Solution Exploring Operation: 96+66=162, Resulting Numbers: [162] 162,74 unequal: No Solution Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,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:[75, 105], Operations: ['53-44=9', '96+9=105'] Exploring Operation: 105-75=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 75+105=180, Resulting Numbers: [180] 180,74 unequal: No Solution Exploring Operation: 75*105=7875, Resulting Numbers: [7875] 7875,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 74:[96, 84], Operations: ['53-44=9', '75+9=84'] Exploring Operation: 96-84=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 96+84=180, Resulting Numbers: [180] 180,74 unequal: No Solution Exploring Operation: 96*84=8064, Resulting Numbers: [8064] 8064,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:[53, 75, 52], Operations: ['96-44=52'] Exploring Operation: 75-52=23, Resulting Numbers: [53, 23] Generated Node #0,1,0: 74:[53, 23] Operation: 75-52=23 Exploring Operation: 53+75=128, Resulting Numbers: [52, 128] Generated Node #0,1,1: 74:[52, 128] Operation: 53+75=128 Exploring Operation: 75-53=22, Resulting Numbers: [52, 22] Generated Node #0,1,2: 74:[52, 22] Operation: 75-53=22 Exploring Operation: 53+52=105, Resulting Numbers: [75, 105] Generated Node #0,1,3: 74:[75, 105] Operation: 53+52=105 Exploring Operation: 53-52=1, Resulting Numbers: [75, 1] Generated Node #0,1,4: 74:[75, 1] Operation: 53-52=1 Moving to Node #0,3 Current State: 74:[44, 53, 21], Operations: ['96-75=21'] Exploring Operation: 53-21=32, Resulting Numbers: [44, 32] Generated Node #0,3,0: 74:[44, 32] Operation: 53-21=32 Exploring Operation: 44-21=23, Resulting Numbers: [53, 23] Generated Node #0,3,1: 74:[53, 23] Operation: 44-21=23 Exploring Operation: 53-44=9, Resulting Numbers: [21, 9] Generated Node #0,3,2: 74:[21, 9] Operation: 53-44=9 Exploring Operation: 53+21=74, Resulting Numbers: [44, 74] Generated Node #0,3,3: 74:[44, 74] Operation: 53+21=74 Exploring Operation: 44+21=65, Resulting Numbers: [53, 65] Generated Node #0,3,4: 74:[53, 65] Operation: 44+21=65 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[44, 74], Operations: ['96-75=21', '53+21=74'] Exploring Operation: 44+74=118, Resulting Numbers: [118] 118,74 unequal: No Solution Exploring Operation: 44*74=3256, Resulting Numbers: [3256] 3256,74 unequal: No Solution Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,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,0 Current State: 74:[44, 32], Operations: ['96-75=21', '53-21=32'] Exploring Operation: 44+32=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 44*32=1408, Resulting Numbers: [1408] 1408,74 unequal: No Solution Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[21, 9], Operations: ['96-75=21', '53-44=9'] Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,74 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,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:[53, 65], Operations: ['96-75=21', '44+21=65'] Exploring Operation: 53+65=118, Resulting Numbers: [118] 118,74 unequal: No Solution Exploring Operation: 65-53=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 53*65=3445, Resulting Numbers: [3445] 3445,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:[53, 23], Operations: ['96-75=21', '44-21=23'] Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 53+23=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 53*23=1219, Resulting Numbers: [1219] 1219,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:[53, 96, 31], Operations: ['75-44=31'] Exploring Operation: 53-31=22, Resulting Numbers: [96, 22] Generated Node #0,0,0: 74:[96, 22] Operation: 53-31=22 Exploring Operation: 53+31=84, Resulting Numbers: [96, 84] Generated Node #0,0,1: 74:[96, 84] Operation: 53+31=84 Exploring Operation: 96+31=127, Resulting Numbers: [53, 127] Generated Node #0,0,2: 74:[53, 127] Operation: 96+31=127 Exploring Operation: 96-53=43, Resulting Numbers: [31, 43] Generated Node #0,0,3: 74:[31, 43] Operation: 96-53=43 Exploring Operation: 96-31=65, Resulting Numbers: [53, 65] Generated Node #0,0,4: 74:[53, 65] Operation: 96-31=65 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[31, 43], Operations: ['75-44=31', '96-53=43'] Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[44, 53, 96, 75], Operations: [] Exploring Operation: 75-44=31, Resulting Numbers: [53, 96, 31] Generated Node #0,0: 74:[53, 96, 31] Operation: 75-44=31 Moving to Node #0,0 Current State: 74:[53, 96, 31], Operations: ['75-44=31'] Exploring Operation: 96-53=43, Resulting Numbers: [31, 43] Generated Node #0,0,3: 74:[31, 43] Operation: 96-53=43 Moving to Node #0,0,3 Current State: 74:[31, 43], Operations: ['75-44=31', '96-53=43'] Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.943576
hs_5
mult_heuristic
[ 5, 4, 51, 59 ]
44
[ "59-51=8", "5*8=40", "4+40=44" ]
Current State: 44:[5, 4, 51, 59], Operations: [] Exploring Operation: 59-51=8, Resulting Numbers: [5, 4, 8] Generated Node #2: [5, 4, 8] from Operation: 59-51=8 Current State: 44:[5, 4, 8], Operations: ['59-51=8'] Exploring Operation: 5*8=40, Resulting Numbers: [4, 40] Generated Node #3: [4, 40] from Operation: 5*8=40 Current State: 44:[4, 40], Operations: ['59-51=8', '5*8=40'] Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[5, 4, 51, 59], Operations: [] Exploring Operation: 51-4=47, Resulting Numbers: [5, 59, 47] Generated Node #0,0: 44:[5, 59, 47] Operation: 51-4=47 Exploring Operation: 59-51=8, Resulting Numbers: [5, 4, 8] Generated Node #0,1: 44:[5, 4, 8] Operation: 59-51=8 Exploring Operation: 59-4=55, Resulting Numbers: [5, 51, 55] Generated Node #0,2: 44:[5, 51, 55] Operation: 59-4=55 Exploring Operation: 51-5=46, Resulting Numbers: [4, 59, 46] Generated Node #0,3: 44:[4, 59, 46] Operation: 51-5=46 Exploring Operation: 59-5=54, Resulting Numbers: [4, 51, 54] Generated Node #0,4: 44:[4, 51, 54] Operation: 59-5=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[5, 4, 8], Operations: ['59-51=8'] Exploring Operation: 8-5=3, Resulting Numbers: [4, 3] Generated Node #0,1,0: 44:[4, 3] Operation: 8-5=3 Exploring Operation: 4+8=12, Resulting Numbers: [5, 12] Generated Node #0,1,1: 44:[5, 12] Operation: 4+8=12 Exploring Operation: 8-4=4, Resulting Numbers: [5, 4] Generated Node #0,1,2: 44:[5, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [5, 2] Generated Node #0,1,3: 44:[5, 2] Operation: 8/4=2 Exploring Operation: 5+8=13, Resulting Numbers: [4, 13] Generated Node #0,1,4: 44:[4, 13] Operation: 5+8=13 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[4, 3], Operations: ['59-51=8', '8-5=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 44:[5, 4], Operations: ['59-51=8', '8-4=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 44:[5, 2], Operations: ['59-51=8', '8/4=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[5, 12], Operations: ['59-51=8', '4+8=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,44 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 44:[4, 13], Operations: ['59-51=8', '5+8=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,44 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,44 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: 44:[4, 59, 46], Operations: ['51-5=46'] Exploring Operation: 4+59=63, Resulting Numbers: [46, 63] Generated Node #0,3,0: 44:[46, 63] Operation: 4+59=63 Exploring Operation: 4+46=50, Resulting Numbers: [59, 50] Generated Node #0,3,1: 44:[59, 50] Operation: 4+46=50 Exploring Operation: 59-46=13, Resulting Numbers: [4, 13] Generated Node #0,3,2: 44:[4, 13] Operation: 59-46=13 Exploring Operation: 59-4=55, Resulting Numbers: [46, 55] Generated Node #0,3,3: 44:[46, 55] Operation: 59-4=55 Exploring Operation: 46-4=42, Resulting Numbers: [59, 42] Generated Node #0,3,4: 44:[59, 42] Operation: 46-4=42 Moving to Node #0,3,2 Current State: 44:[4, 13], Operations: ['51-5=46', '59-46=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[46, 55], Operations: ['51-5=46', '59-4=55'] Exploring Operation: 46+55=101, Resulting Numbers: [101] 101,44 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 46*55=2530, Resulting Numbers: [2530] 2530,44 unequal: No Solution Moving to Node #0,3,4 Current State: 44:[59, 42], Operations: ['51-5=46', '46-4=42'] Exploring Operation: 59*42=2478, Resulting Numbers: [2478] 2478,44 unequal: No Solution Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 59+42=101, Resulting Numbers: [101] 101,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[46, 63], Operations: ['51-5=46', '4+59=63'] Exploring Operation: 46*63=2898, Resulting Numbers: [2898] 2898,44 unequal: No Solution Exploring Operation: 63-46=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 46+63=109, Resulting Numbers: [109] 109,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[59, 50], Operations: ['51-5=46', '4+46=50'] Exploring Operation: 59+50=109, Resulting Numbers: [109] 109,44 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 59*50=2950, Resulting Numbers: [2950] 2950,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 44:[4, 51, 54], Operations: ['59-5=54'] Exploring Operation: 4+54=58, Resulting Numbers: [51, 58] Generated Node #0,4,0: 44:[51, 58] Operation: 4+54=58 Exploring Operation: 54-4=50, Resulting Numbers: [51, 50] Generated Node #0,4,1: 44:[51, 50] Operation: 54-4=50 Exploring Operation: 51-4=47, Resulting Numbers: [54, 47] Generated Node #0,4,2: 44:[54, 47] Operation: 51-4=47 Exploring Operation: 4+51=55, Resulting Numbers: [54, 55] Generated Node #0,4,3: 44:[54, 55] Operation: 4+51=55 Exploring Operation: 54-51=3, Resulting Numbers: [4, 3] Generated Node #0,4,4: 44:[4, 3] Operation: 54-51=3 Moving to Node #0,4,4 Current State: 44:[4, 3], Operations: ['59-5=54', '54-51=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,44 unequal: No Solution Moving to Node #0,4,2 Current State: 44:[54, 47], Operations: ['59-5=54', '51-4=47'] Exploring Operation: 54+47=101, Resulting Numbers: [101] 101,44 unequal: No Solution Exploring Operation: 54*47=2538, Resulting Numbers: [2538] 2538,44 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,44 unequal: No Solution Moving to Node #0,4,1 Current State: 44:[51, 50], Operations: ['59-5=54', '54-4=50'] Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,44 unequal: No Solution Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,44 unequal: No Solution Moving to Node #0,4,0 Current State: 44:[51, 58], Operations: ['59-5=54', '4+54=58'] Exploring Operation: 51*58=2958, Resulting Numbers: [2958] 2958,44 unequal: No Solution Exploring Operation: 51+58=109, Resulting Numbers: [109] 109,44 unequal: No Solution Exploring Operation: 58-51=7, Resulting Numbers: [7] 7,44 unequal: No Solution Moving to Node #0,4,3 Current State: 44:[54, 55], Operations: ['59-5=54', '4+51=55'] Exploring Operation: 54+55=109, Resulting Numbers: [109] 109,44 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 54*55=2970, Resulting Numbers: [2970] 2970,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[5, 59, 47], Operations: ['51-4=47'] Exploring Operation: 5+47=52, Resulting Numbers: [59, 52] Generated Node #0,0,0: 44:[59, 52] Operation: 5+47=52 Exploring Operation: 47-5=42, Resulting Numbers: [59, 42] Generated Node #0,0,1: 44:[59, 42] Operation: 47-5=42 Exploring Operation: 59-5=54, Resulting Numbers: [47, 54] Generated Node #0,0,2: 44:[47, 54] Operation: 59-5=54 Exploring Operation: 59-47=12, Resulting Numbers: [5, 12] Generated Node #0,0,3: 44:[5, 12] Operation: 59-47=12 Exploring Operation: 5+59=64, Resulting Numbers: [47, 64] Generated Node #0,0,4: 44:[47, 64] Operation: 5+59=64 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 44:[5, 12], Operations: ['51-4=47', '59-47=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,44 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[47, 54], Operations: ['51-4=47', '59-5=54'] Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 47*54=2538, Resulting Numbers: [2538] 2538,44 unequal: No Solution Exploring Operation: 47+54=101, Resulting Numbers: [101] 101,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[59, 42], Operations: ['51-4=47', '47-5=42'] Exploring Operation: 59*42=2478, Resulting Numbers: [2478] 2478,44 unequal: No Solution Exploring Operation: 59+42=101, Resulting Numbers: [101] 101,44 unequal: No Solution Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[59, 52], Operations: ['51-4=47', '5+47=52'] Exploring Operation: 59*52=3068, Resulting Numbers: [3068] 3068,44 unequal: No Solution Exploring Operation: 59-52=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 59+52=111, Resulting Numbers: [111] 111,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 44:[47, 64], Operations: ['51-4=47', '5+59=64'] Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,44 unequal: No Solution Exploring Operation: 47*64=3008, Resulting Numbers: [3008] 3008,44 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: 44:[5, 51, 55], Operations: ['59-4=55'] Exploring Operation: 51-5=46, Resulting Numbers: [55, 46] Generated Node #0,2,0: 44:[55, 46] Operation: 51-5=46 Exploring Operation: 55-5=50, Resulting Numbers: [51, 50] Generated Node #0,2,1: 44:[51, 50] Operation: 55-5=50 Exploring Operation: 55-51=4, Resulting Numbers: [5, 4] Generated Node #0,2,2: 44:[5, 4] Operation: 55-51=4 Exploring Operation: 5+51=56, Resulting Numbers: [55, 56] Generated Node #0,2,3: 44:[55, 56] Operation: 5+51=56 Exploring Operation: 55/5=11, Resulting Numbers: [51, 11] Generated Node #0,2,4: 44:[51, 11] Operation: 55/5=11 Moving to Node #0,2,2 Current State: 44:[5, 4], Operations: ['59-4=55', '55-51=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,44 unequal: No Solution Moving to Node #0,2,4 Current State: 44:[51, 11], Operations: ['59-4=55', '55/5=11'] Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,44 unequal: No Solution Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[55, 46], Operations: ['59-4=55', '51-5=46'] Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,44 unequal: No Solution Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,44 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[51, 50], Operations: ['59-4=55', '55-5=50'] Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,44 unequal: No Solution Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[55, 56], Operations: ['59-4=55', '5+51=56'] Exploring Operation: 55*56=3080, Resulting Numbers: [3080] 3080,44 unequal: No Solution Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 55+56=111, Resulting Numbers: [111] 111,44 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
[ 27, 67, 91, 77 ]
54
[ "67-27=40", "91-77=14", "40+14=54" ]
Current State: 54:[27, 67, 91, 77], Operations: [] Exploring Operation: 67-27=40, Resulting Numbers: [91, 77, 40] Generated Node #2: [91, 77, 40] from Operation: 67-27=40 Current State: 54:[91, 77, 40], Operations: ['67-27=40'] Exploring Operation: 91-77=14, Resulting Numbers: [40, 14] Generated Node #3: [40, 14] from Operation: 91-77=14 Current State: 54:[40, 14], Operations: ['67-27=40', '91-77=14'] Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[27, 67, 91, 77], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [27, 67, 14] Generated Node #0,0: 54:[27, 67, 14] Operation: 91-77=14 Exploring Operation: 77-67=10, Resulting Numbers: [27, 91, 10] Generated Node #0,1: 54:[27, 91, 10] Operation: 77-67=10 Exploring Operation: 91-67=24, Resulting Numbers: [27, 77, 24] Generated Node #0,2: 54:[27, 77, 24] Operation: 91-67=24 Moving to Node #0,0 Current State: 54:[27, 67, 14], Operations: ['91-77=14'] Exploring Operation: 67-27=40, Resulting Numbers: [14, 40] Generated Node #0,0,0: 54:[14, 40] Operation: 67-27=40 Exploring Operation: 67-14=53, Resulting Numbers: [27, 53] Generated Node #0,0,1: 54:[27, 53] Operation: 67-14=53 Exploring Operation: 27-14=13, Resulting Numbers: [67, 13] Generated Node #0,0,2: 54:[67, 13] Operation: 27-14=13 Moving to Node #0,2 Current State: 54:[27, 77, 24], Operations: ['91-67=24'] Exploring Operation: 27-24=3, Resulting Numbers: [77, 3] Generated Node #0,2,0: 54:[77, 3] Operation: 27-24=3 Exploring Operation: 77-24=53, Resulting Numbers: [27, 53] Generated Node #0,2,1: 54:[27, 53] Operation: 77-24=53 Exploring Operation: 77-27=50, Resulting Numbers: [24, 50] Generated Node #0,2,2: 54:[24, 50] Operation: 77-27=50 Moving to Node #0,1 Current State: 54:[27, 91, 10], Operations: ['77-67=10'] Exploring Operation: 27-10=17, Resulting Numbers: [91, 17] Generated Node #0,1,0: 54:[91, 17] Operation: 27-10=17 Exploring Operation: 91-27=64, Resulting Numbers: [10, 64] Generated Node #0,1,1: 54:[10, 64] Operation: 91-27=64 Exploring Operation: 91-10=81, Resulting Numbers: [27, 81] Generated Node #0,1,2: 54:[27, 81] Operation: 91-10=81 Moving to Node #0,0,1 Current State: 54:[27, 53], Operations: ['91-77=14', '67-14=53'] Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 27+53=80, Resulting Numbers: [80] 80,54 unequal: No Solution Exploring Operation: 27*53=1431, Resulting Numbers: [1431] 1431,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[27, 53], Operations: ['91-67=24', '77-24=53'] Exploring Operation: 27*53=1431, Resulting Numbers: [1431] 1431,54 unequal: No Solution Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 27+53=80, Resulting Numbers: [80] 80,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[24, 50], Operations: ['91-67=24', '77-27=50'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 24+50=74, Resulting Numbers: [74] 74,54 unequal: No Solution Exploring Operation: 24*50=1200, Resulting Numbers: [1200] 1200,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[10, 64], Operations: ['77-67=10', '91-27=64'] Exploring Operation: 10+64=74, Resulting Numbers: [74] 74,54 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[27, 67, 91, 77], Operations: [] Exploring Operation: 77-67=10, Resulting Numbers: [27, 91, 10] Generated Node #0,1: 54:[27, 91, 10] Operation: 77-67=10 Moving to Node #0,1 Current State: 54:[27, 91, 10], Operations: ['77-67=10'] Exploring Operation: 91-27=64, Resulting Numbers: [10, 64] Generated Node #0,1,1: 54:[10, 64] Operation: 91-27=64 Moving to Node #0,1,1 Current State: 54:[10, 64], Operations: ['77-67=10', '91-27=64'] Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 87, 84, 99, 11 ]
85
[ "87-84=3", "99-11=88", "88-3=85" ]
Current State: 85:[87, 84, 99, 11], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [99, 11, 3] Generated Node #2: [99, 11, 3] from Operation: 87-84=3 Current State: 85:[99, 11, 3], Operations: ['87-84=3'] Exploring Operation: 99-11=88, Resulting Numbers: [3, 88] Generated Node #3: [3, 88] from Operation: 99-11=88 Current State: 85:[3, 88], Operations: ['87-84=3', '99-11=88'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[87, 84, 99, 11], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [87, 11, 15] Generated Node #0,0: 85:[87, 11, 15] Operation: 99-84=15 Exploring Operation: 99/11=9, Resulting Numbers: [87, 84, 9] Generated Node #0,1: 85:[87, 84, 9] Operation: 99/11=9 Exploring Operation: 99-11=88, Resulting Numbers: [87, 84, 88] Generated Node #0,2: 85:[87, 84, 88] Operation: 99-11=88 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[87, 84, 88], Operations: ['99-11=88'] Exploring Operation: 87-84=3, Resulting Numbers: [88, 3] Generated Node #0,2,0: 85:[88, 3] Operation: 87-84=3 Exploring Operation: 88-84=4, Resulting Numbers: [87, 4] Generated Node #0,2,1: 85:[87, 4] Operation: 88-84=4 Exploring Operation: 88-87=1, Resulting Numbers: [84, 1] Generated Node #0,2,2: 85:[84, 1] Operation: 88-87=1 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[87, 4], Operations: ['99-11=88', '88-84=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,85 unequal: No Solution Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,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,2,0 Current State: 85:[88, 3], Operations: ['99-11=88', '87-84=3'] Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,85 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[87, 84, 99, 11], Operations: [] Exploring Operation: 99-11=88, Resulting Numbers: [87, 84, 88] Generated Node #0,2: 85:[87, 84, 88] Operation: 99-11=88 Moving to Node #0,2 Current State: 85:[87, 84, 88], Operations: ['99-11=88'] Exploring Operation: 87-84=3, Resulting Numbers: [88, 3] Generated Node #0,2,0: 85:[88, 3] Operation: 87-84=3 Moving to Node #0,2,0 Current State: 85:[88, 3], Operations: ['99-11=88', '87-84=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 57, 84, 56, 42 ]
71
[ "84-57=27", "56+42=98", "98-27=71" ]
Current State: 71:[57, 84, 56, 42], Operations: [] Exploring Operation: 84-57=27, Resulting Numbers: [56, 42, 27] Generated Node #2: [56, 42, 27] from Operation: 84-57=27 Current State: 71:[56, 42, 27], Operations: ['84-57=27'] Exploring Operation: 56+42=98, Resulting Numbers: [27, 98] Generated Node #3: [27, 98] from Operation: 56+42=98 Current State: 71:[27, 98], Operations: ['84-57=27', '56+42=98'] Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[57, 84, 56, 42], Operations: [] Exploring Operation: 56+42=98, Resulting Numbers: [57, 84, 98] Generated Node #0,0: 71:[57, 84, 98] Operation: 56+42=98 Exploring Operation: 57-42=15, Resulting Numbers: [84, 56, 15] Generated Node #0,1: 71:[84, 56, 15] Operation: 57-42=15 Exploring Operation: 57+56=113, Resulting Numbers: [84, 42, 113] Generated Node #0,2: 71:[84, 42, 113] Operation: 57+56=113 Exploring Operation: 84-42=42, Resulting Numbers: [57, 56, 42] Generated Node #0,3: 71:[57, 56, 42] Operation: 84-42=42 Exploring Operation: 57+42=99, Resulting Numbers: [84, 56, 99] Generated Node #0,4: 71:[84, 56, 99] Operation: 57+42=99 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[57, 84, 98], Operations: ['56+42=98'] Exploring Operation: 98-84=14, Resulting Numbers: [57, 14] Generated Node #0,0,0: 71:[57, 14] Operation: 98-84=14 Exploring Operation: 98-57=41, Resulting Numbers: [84, 41] Generated Node #0,0,1: 71:[84, 41] Operation: 98-57=41 Exploring Operation: 57+84=141, Resulting Numbers: [98, 141] Generated Node #0,0,2: 71:[98, 141] Operation: 57+84=141 Exploring Operation: 57+98=155, Resulting Numbers: [84, 155] Generated Node #0,0,3: 71:[84, 155] Operation: 57+98=155 Exploring Operation: 84-57=27, Resulting Numbers: [98, 27] Generated Node #0,0,4: 71:[98, 27] Operation: 84-57=27 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[84, 41], Operations: ['56+42=98', '98-57=41'] Exploring Operation: 84+41=125, Resulting Numbers: [125] 125,71 unequal: No Solution Exploring Operation: 84*41=3444, Resulting Numbers: [3444] 3444,71 unequal: No Solution Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,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:[57, 14], Operations: ['56+42=98', '98-84=14'] Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[57, 84, 56, 42], Operations: [] Exploring Operation: 56+42=98, Resulting Numbers: [57, 84, 98] Generated Node #0,0: 71:[57, 84, 98] Operation: 56+42=98 Moving to Node #0,0 Current State: 71:[57, 84, 98], Operations: ['56+42=98'] Exploring Operation: 98-84=14, Resulting Numbers: [57, 14] Generated Node #0,0,0: 71:[57, 14] Operation: 98-84=14 Moving to Node #0,0,0 Current State: 71:[57, 14], Operations: ['56+42=98', '98-84=14'] Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 1, 14, 42, 39 ]
16
[ "14-1=13", "42-39=3", "13+3=16" ]
Current State: 16:[1, 14, 42, 39], Operations: [] Exploring Operation: 14-1=13, Resulting Numbers: [42, 39, 13] Generated Node #2: [42, 39, 13] from Operation: 14-1=13 Current State: 16:[42, 39, 13], Operations: ['14-1=13'] Exploring Operation: 42-39=3, Resulting Numbers: [13, 3] Generated Node #3: [13, 3] from Operation: 42-39=3 Current State: 16:[13, 3], Operations: ['14-1=13', '42-39=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[1, 14, 42, 39], Operations: [] Exploring Operation: 42-39=3, Resulting Numbers: [1, 14, 3] Generated Node #0,0: 16:[1, 14, 3] Operation: 42-39=3 Exploring Operation: 42/14=3, Resulting Numbers: [1, 39, 3] Generated Node #0,1: 16:[1, 39, 3] Operation: 42/14=3 Moving to Node #0,0 Current State: 16:[1, 14, 3], Operations: ['42-39=3'] Exploring Operation: 1+14=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 16:[3, 15] Operation: 1+14=15 Exploring Operation: 1+3=4, Resulting Numbers: [14, 4] Generated Node #0,0,1: 16:[14, 4] Operation: 1+3=4 Moving to Node #0,1 Current State: 16:[1, 39, 3], Operations: ['42/14=3'] Exploring Operation: 39-3=36, Resulting Numbers: [1, 36] Generated Node #0,1,0: 16:[1, 36] Operation: 39-3=36 Exploring Operation: 39/3=13, Resulting Numbers: [1, 13] Generated Node #0,1,1: 16:[1, 13] Operation: 39/3=13 Moving to Node #0,0,0 Current State: 16:[3, 15], Operations: ['42-39=3', '1+14=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[14, 4], Operations: ['42-39=3', '1+3=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[1, 13], Operations: ['42/14=3', '39/3=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[1, 36], Operations: ['42/14=3', '39-3=36'] Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,16 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 53, 59, 8, 43 ]
55
[ "59-43=16", "16/8=2", "53+2=55" ]
Current State: 55:[53, 59, 8, 43], Operations: [] Exploring Operation: 59-43=16, Resulting Numbers: [53, 8, 16] Generated Node #2: [53, 8, 16] from Operation: 59-43=16 Current State: 55:[53, 8, 16], Operations: ['59-43=16'] Exploring Operation: 16/8=2, Resulting Numbers: [53, 2] Generated Node #3: [53, 2] from Operation: 16/8=2 Current State: 55:[53, 2], Operations: ['59-43=16', '16/8=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[53, 59, 8, 43], Operations: [] Exploring Operation: 8+43=51, Resulting Numbers: [53, 59, 51] Generated Node #0,0: 55:[53, 59, 51] Operation: 8+43=51 Exploring Operation: 59-43=16, Resulting Numbers: [53, 8, 16] Generated Node #0,1: 55:[53, 8, 16] Operation: 59-43=16 Exploring Operation: 53-43=10, Resulting Numbers: [59, 8, 10] Generated Node #0,2: 55:[59, 8, 10] Operation: 53-43=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[59, 8, 10], Operations: ['53-43=10'] Exploring Operation: 59-8=51, Resulting Numbers: [10, 51] Generated Node #0,2,0: 55:[10, 51] Operation: 59-8=51 Exploring Operation: 10-8=2, Resulting Numbers: [59, 2] Generated Node #0,2,1: 55:[59, 2] Operation: 10-8=2 Exploring Operation: 59-10=49, Resulting Numbers: [8, 49] Generated Node #0,2,2: 55:[8, 49] Operation: 59-10=49 Moving to Node #0,2,0 Current State: 55:[10, 51], Operations: ['53-43=10', '59-8=51'] Exploring Operation: 10+51=61, Resulting Numbers: [61] 61,55 unequal: No Solution Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 10*51=510, Resulting Numbers: [510] 510,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[59, 2], Operations: ['53-43=10', '10-8=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,55 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[8, 49], Operations: ['53-43=10', '59-10=49'] Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[53, 59, 51], Operations: ['8+43=51'] Exploring Operation: 59-51=8, Resulting Numbers: [53, 8] Generated Node #0,0,0: 55:[53, 8] Operation: 59-51=8 Exploring Operation: 59-53=6, Resulting Numbers: [51, 6] Generated Node #0,0,1: 55:[51, 6] Operation: 59-53=6 Exploring Operation: 53-51=2, Resulting Numbers: [59, 2] Generated Node #0,0,2: 55:[59, 2] Operation: 53-51=2 Moving to Node #0,0,0 Current State: 55:[53, 8], Operations: ['8+43=51', '59-51=8'] Exploring Operation: 53+8=61, Resulting Numbers: [61] 61,55 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 53*8=424, Resulting Numbers: [424] 424,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[51, 6], Operations: ['8+43=51', '59-53=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,55 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[59, 2], Operations: ['8+43=51', '53-51=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,55 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[53, 8, 16], Operations: ['59-43=16'] Exploring Operation: 53+8=61, Resulting Numbers: [16, 61] Generated Node #0,1,0: 55:[16, 61] Operation: 53+8=61 Exploring Operation: 16/8=2, Resulting Numbers: [53, 2] Generated Node #0,1,1: 55:[53, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [53, 8] Generated Node #0,1,2: 55:[53, 8] Operation: 16-8=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 55:[53, 2], Operations: ['59-43=16', '16/8=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[53, 59, 8, 43], Operations: [] Exploring Operation: 59-43=16, Resulting Numbers: [53, 8, 16] Generated Node #0,1: 55:[53, 8, 16] Operation: 59-43=16 Moving to Node #0,1 Current State: 55:[53, 8, 16], Operations: ['59-43=16'] Exploring Operation: 16/8=2, Resulting Numbers: [53, 2] Generated Node #0,1,1: 55:[53, 2] Operation: 16/8=2 Moving to Node #0,1,1 Current State: 55:[53, 2], Operations: ['59-43=16', '16/8=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 10, 73, 51, 35 ]
99
[ "10+73=83", "51-35=16", "83+16=99" ]
Current State: 99:[10, 73, 51, 35], Operations: [] Exploring Operation: 10+73=83, Resulting Numbers: [51, 35, 83] Generated Node #2: [51, 35, 83] from Operation: 10+73=83 Current State: 99:[51, 35, 83], Operations: ['10+73=83'] Exploring Operation: 51-35=16, Resulting Numbers: [83, 16] Generated Node #3: [83, 16] from Operation: 51-35=16 Current State: 99:[83, 16], Operations: ['10+73=83', '51-35=16'] Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[10, 73, 51, 35], Operations: [] Exploring Operation: 73-51=22, Resulting Numbers: [10, 35, 22] Generated Node #0,0: 99:[10, 35, 22] Operation: 73-51=22 Exploring Operation: 73-35=38, Resulting Numbers: [10, 51, 38] Generated Node #0,1: 99:[10, 51, 38] Operation: 73-35=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[10, 35, 22], Operations: ['73-51=22'] Exploring Operation: 10+22=32, Resulting Numbers: [35, 32] Generated Node #0,0,0: 99:[35, 32] Operation: 10+22=32 Exploring Operation: 22-10=12, Resulting Numbers: [35, 12] Generated Node #0,0,1: 99:[35, 12] Operation: 22-10=12 Moving to Node #0,0,0 Current State: 99:[35, 32], Operations: ['73-51=22', '10+22=32'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[35, 12], Operations: ['73-51=22', '22-10=12'] Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,99 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[10, 51, 38], Operations: ['73-35=38'] Exploring Operation: 51-38=13, Resulting Numbers: [10, 13] Generated Node #0,1,0: 99:[10, 13] Operation: 51-38=13 Exploring Operation: 51+38=89, Resulting Numbers: [10, 89] Generated Node #0,1,1: 99:[10, 89] Operation: 51+38=89 Moving to Node #0,1,0 Current State: 99:[10, 13], Operations: ['73-35=38', '51-38=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,99 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[10, 89], Operations: ['73-35=38', '51+38=89'] Exploring Operation: 10+89=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[10, 73, 51, 35], Operations: [] Exploring Operation: 73-35=38, Resulting Numbers: [10, 51, 38] Generated Node #0,1: 99:[10, 51, 38] Operation: 73-35=38 Moving to Node #0,1 Current State: 99:[10, 51, 38], Operations: ['73-35=38'] Exploring Operation: 51+38=89, Resulting Numbers: [10, 89] Generated Node #0,1,1: 99:[10, 89] Operation: 51+38=89 Moving to Node #0,1,1 Current State: 99:[10, 89], Operations: ['73-35=38', '51+38=89'] Exploring Operation: 10+89=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 92, 7, 30, 21 ]
17
[ "30-7=23", "92/23=4", "21-4=17" ]
Current State: 17:[92, 7, 30, 21], Operations: [] Exploring Operation: 30-7=23, Resulting Numbers: [92, 21, 23] Generated Node #2: [92, 21, 23] from Operation: 30-7=23 Current State: 17:[92, 21, 23], Operations: ['30-7=23'] Exploring Operation: 92/23=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 92/23=4 Current State: 17:[21, 4], Operations: ['30-7=23', '92/23=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[92, 7, 30, 21], Operations: [] Exploring Operation: 92-21=71, Resulting Numbers: [7, 30, 71] Generated Node #0,0: 17:[7, 30, 71] Operation: 92-21=71 Exploring Operation: 92-30=62, Resulting Numbers: [7, 21, 62] Generated Node #0,1: 17:[7, 21, 62] Operation: 92-30=62 Exploring Operation: 92-7=85, Resulting Numbers: [30, 21, 85] Generated Node #0,2: 17:[30, 21, 85] Operation: 92-7=85 Exploring Operation: 30-7=23, Resulting Numbers: [92, 21, 23] Generated Node #0,3: 17:[92, 21, 23] Operation: 30-7=23 Moving to Node #0,1 Current State: 17:[7, 21, 62], Operations: ['92-30=62'] Exploring Operation: 62-21=41, Resulting Numbers: [7, 41] Generated Node #0,1,0: 17:[7, 41] Operation: 62-21=41 Exploring Operation: 7+21=28, Resulting Numbers: [62, 28] Generated Node #0,1,1: 17:[62, 28] Operation: 7+21=28 Exploring Operation: 21-7=14, Resulting Numbers: [62, 14] Generated Node #0,1,2: 17:[62, 14] Operation: 21-7=14 Exploring Operation: 62-7=55, Resulting Numbers: [21, 55] Generated Node #0,1,3: 17:[21, 55] Operation: 62-7=55 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[7, 41], Operations: ['92-30=62', '62-21=41'] Exploring Operation: 7*41=287, Resulting Numbers: [287] 287,17 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,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,1,3 Current State: 17:[21, 55], Operations: ['92-30=62', '62-7=55'] Exploring Operation: 21*55=1155, Resulting Numbers: [1155] 1155,17 unequal: No Solution Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 21+55=76, Resulting Numbers: [76] 76,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,1,2 Current State: 17:[62, 14], Operations: ['92-30=62', '21-7=14'] Exploring Operation: 62*14=868, Resulting Numbers: [868] 868,17 unequal: No Solution Exploring Operation: 62+14=76, Resulting Numbers: [76] 76,17 unequal: No Solution Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,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,1,1 Current State: 17:[62, 28], Operations: ['92-30=62', '7+21=28'] Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,17 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 62*28=1736, Resulting Numbers: [1736] 1736,17 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: 17:[7, 30, 71], Operations: ['92-21=71'] Exploring Operation: 71-30=41, Resulting Numbers: [7, 41] Generated Node #0,0,0: 17:[7, 41] Operation: 71-30=41 Exploring Operation: 71-7=64, Resulting Numbers: [30, 64] Generated Node #0,0,1: 17:[30, 64] Operation: 71-7=64 Exploring Operation: 7+30=37, Resulting Numbers: [71, 37] Generated Node #0,0,2: 17:[71, 37] Operation: 7+30=37 Exploring Operation: 30-7=23, Resulting Numbers: [71, 23] Generated Node #0,0,3: 17:[71, 23] Operation: 30-7=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[7, 41], Operations: ['92-21=71', '71-30=41'] Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 7*41=287, Resulting Numbers: [287] 287,17 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,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,1 Current State: 17:[30, 64], Operations: ['92-21=71', '71-7=64'] Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,17 unequal: No Solution Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,17 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,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,3 Current State: 17:[71, 23], Operations: ['92-21=71', '30-7=23'] Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 71*23=1633, Resulting Numbers: [1633] 1633,17 unequal: No Solution Exploring Operation: 71+23=94, Resulting Numbers: [94] 94,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,2 Current State: 17:[71, 37], Operations: ['92-21=71', '7+30=37'] Exploring Operation: 71*37=2627, Resulting Numbers: [2627] 2627,17 unequal: No Solution Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 71+37=108, Resulting Numbers: [108] 108,17 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: 17:[92, 21, 23], Operations: ['30-7=23'] Exploring Operation: 92-21=71, Resulting Numbers: [23, 71] Generated Node #0,3,0: 17:[23, 71] Operation: 92-21=71 Exploring Operation: 23-21=2, Resulting Numbers: [92, 2] Generated Node #0,3,1: 17:[92, 2] Operation: 23-21=2 Exploring Operation: 92/23=4, Resulting Numbers: [21, 4] Generated Node #0,3,2: 17:[21, 4] Operation: 92/23=4 Exploring Operation: 92-23=69, Resulting Numbers: [21, 69] Generated Node #0,3,3: 17:[21, 69] Operation: 92-23=69 Moving to Node #0,2 Current State: 17:[30, 21, 85], Operations: ['92-7=85'] Exploring Operation: 85-21=64, Resulting Numbers: [30, 64] Generated Node #0,2,0: 17:[30, 64] Operation: 85-21=64 Exploring Operation: 30+21=51, Resulting Numbers: [85, 51] Generated Node #0,2,1: 17:[85, 51] Operation: 30+21=51 Exploring Operation: 85-30=55, Resulting Numbers: [21, 55] Generated Node #0,2,2: 17:[21, 55] Operation: 85-30=55 Exploring Operation: 30-21=9, Resulting Numbers: [85, 9] Generated Node #0,2,3: 17:[85, 9] Operation: 30-21=9 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[21, 55], Operations: ['92-7=85', '85-30=55'] Exploring Operation: 21+55=76, Resulting Numbers: [76] 76,17 unequal: No Solution Exploring Operation: 21*55=1155, Resulting Numbers: [1155] 1155,17 unequal: No Solution Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,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,2,0 Current State: 17:[30, 64], Operations: ['92-7=85', '85-21=64'] Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,17 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,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,2,3 Current State: 17:[85, 9], Operations: ['92-7=85', '30-21=9'] Exploring Operation: 85*9=765, Resulting Numbers: [765] 765,17 unequal: No Solution Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,17 unequal: No Solution Exploring Operation: 85+9=94, Resulting Numbers: [94] 94,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,2,1 Current State: 17:[85, 51], Operations: ['92-7=85', '30+21=51'] Exploring Operation: 85*51=4335, Resulting Numbers: [4335] 4335,17 unequal: No Solution Exploring Operation: 85+51=136, Resulting Numbers: [136] 136,17 unequal: No Solution Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 17:[21, 4], Operations: ['30-7=23', '92/23=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[92, 7, 30, 21], Operations: [] Exploring Operation: 30-7=23, Resulting Numbers: [92, 21, 23] Generated Node #0,3: 17:[92, 21, 23] Operation: 30-7=23 Moving to Node #0,3 Current State: 17:[92, 21, 23], Operations: ['30-7=23'] Exploring Operation: 92/23=4, Resulting Numbers: [21, 4] Generated Node #0,3,2: 17:[21, 4] Operation: 92/23=4 Moving to Node #0,3,2 Current State: 17:[21, 4], Operations: ['30-7=23', '92/23=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.946181
hs_4
mult_heuristic
[ 7, 70, 2, 76 ]
43
[ "70/7=10", "76+10=86", "86/2=43" ]
Current State: 43:[7, 70, 2, 76], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [2, 76, 10] Generated Node #2: [2, 76, 10] from Operation: 70/7=10 Current State: 43:[2, 76, 10], Operations: ['70/7=10'] Exploring Operation: 76+10=86, Resulting Numbers: [2, 86] Generated Node #3: [2, 86] from Operation: 76+10=86 Current State: 43:[2, 86], Operations: ['70/7=10', '76+10=86'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[7, 70, 2, 76], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [7, 76, 35] Generated Node #0,0: 43:[7, 76, 35] Operation: 70/2=35 Exploring Operation: 76/2=38, Resulting Numbers: [7, 70, 38] Generated Node #0,1: 43:[7, 70, 38] Operation: 76/2=38 Exploring Operation: 7*2=14, Resulting Numbers: [70, 76, 14] Generated Node #0,2: 43:[70, 76, 14] Operation: 7*2=14 Moving to Node #0,1 Current State: 43:[7, 70, 38], Operations: ['76/2=38'] Exploring Operation: 70/7=10, Resulting Numbers: [38, 10] Generated Node #0,1,0: 43:[38, 10] Operation: 70/7=10 Exploring Operation: 70-7=63, Resulting Numbers: [38, 63] Generated Node #0,1,1: 43:[38, 63] Operation: 70-7=63 Exploring Operation: 7+38=45, Resulting Numbers: [70, 45] Generated Node #0,1,2: 43:[70, 45] Operation: 7+38=45 Moving to Node #0,0 Current State: 43:[7, 76, 35], Operations: ['70/2=35'] Exploring Operation: 76-7=69, Resulting Numbers: [35, 69] Generated Node #0,0,0: 43:[35, 69] Operation: 76-7=69 Exploring Operation: 76-35=41, Resulting Numbers: [7, 41] Generated Node #0,0,1: 43:[7, 41] Operation: 76-35=41 Exploring Operation: 7+35=42, Resulting Numbers: [76, 42] Generated Node #0,0,2: 43:[76, 42] Operation: 7+35=42 Moving to Node #0,2 Current State: 43:[70, 76, 14], Operations: ['7*2=14'] Exploring Operation: 70-14=56, Resulting Numbers: [76, 56] Generated Node #0,2,0: 43:[76, 56] Operation: 70-14=56 Exploring Operation: 76-14=62, Resulting Numbers: [70, 62] Generated Node #0,2,1: 43:[70, 62] Operation: 76-14=62 Exploring Operation: 76-70=6, Resulting Numbers: [14, 6] Generated Node #0,2,2: 43:[14, 6] Operation: 76-70=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 43:[76, 56], Operations: ['7*2=14', '70-14=56'] Exploring Operation: 76*56=4256, Resulting Numbers: [4256] 4256,43 unequal: No Solution Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 76+56=132, Resulting Numbers: [132] 132,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[70, 62], Operations: ['7*2=14', '76-14=62'] Exploring Operation: 70*62=4340, Resulting Numbers: [4340] 4340,43 unequal: No Solution Exploring Operation: 70+62=132, Resulting Numbers: [132] 132,43 unequal: No Solution Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 43:[14, 6], Operations: ['7*2=14', '76-70=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,43 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: 43:[38, 63], Operations: ['76/2=38', '70-7=63'] Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 38*63=2394, Resulting Numbers: [2394] 2394,43 unequal: No Solution Exploring Operation: 38+63=101, Resulting Numbers: [101] 101,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[70, 45], Operations: ['76/2=38', '7+38=45'] Exploring Operation: 70*45=3150, Resulting Numbers: [3150] 3150,43 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 70+45=115, Resulting Numbers: [115] 115,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[76, 42], Operations: ['70/2=35', '7+35=42'] Exploring Operation: 76+42=118, Resulting Numbers: [118] 118,43 unequal: No Solution Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 76*42=3192, Resulting Numbers: [3192] 3192,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[35, 69], Operations: ['70/2=35', '76-7=69'] Exploring Operation: 35+69=104, Resulting Numbers: [104] 104,43 unequal: No Solution Exploring Operation: 35*69=2415, Resulting Numbers: [2415] 2415,43 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[7, 41], Operations: ['70/2=35', '76-35=41'] Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 7*41=287, Resulting Numbers: [287] 287,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[38, 10], Operations: ['76/2=38', '70/7=10'] Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,43 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,43 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 49, 29, 33, 5 ]
49
[ "33-29=4", "5-4=1", "49*1=49" ]
Current State: 49:[49, 29, 33, 5], Operations: [] Exploring Operation: 33-29=4, Resulting Numbers: [49, 5, 4] Generated Node #2: [49, 5, 4] from Operation: 33-29=4 Current State: 49:[49, 5, 4], Operations: ['33-29=4'] Exploring Operation: 5-4=1, Resulting Numbers: [49, 1] Generated Node #3: [49, 1] from Operation: 5-4=1 Current State: 49:[49, 1], Operations: ['33-29=4', '5-4=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[49, 29, 33, 5], Operations: [] Exploring Operation: 29+33=62, Resulting Numbers: [49, 5, 62] Generated Node #0,0: 49:[49, 5, 62] Operation: 29+33=62 Exploring Operation: 49-29=20, Resulting Numbers: [33, 5, 20] Generated Node #0,1: 49:[33, 5, 20] Operation: 49-29=20 Exploring Operation: 33-29=4, Resulting Numbers: [49, 5, 4] Generated Node #0,2: 49:[49, 5, 4] Operation: 33-29=4 Moving to Node #0,2 Current State: 49:[49, 5, 4], Operations: ['33-29=4'] Exploring Operation: 49-4=45, Resulting Numbers: [5, 45] Generated Node #0,2,0: 49:[5, 45] Operation: 49-4=45 Exploring Operation: 5+4=9, Resulting Numbers: [49, 9] Generated Node #0,2,1: 49:[49, 9] Operation: 5+4=9 Exploring Operation: 49+4=53, Resulting Numbers: [5, 53] Generated Node #0,2,2: 49:[5, 53] Operation: 49+4=53 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[49, 9], Operations: ['33-29=4', '5+4=9'] Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,49 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 49*9=441, Resulting Numbers: [441] 441,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[5, 45], Operations: ['33-29=4', '49-4=45'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[5, 53], Operations: ['33-29=4', '49+4=53'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 5*53=265, Resulting Numbers: [265] 265,49 unequal: No Solution Exploring Operation: 5+53=58, Resulting Numbers: [58] 58,49 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: 49:[49, 5, 62], Operations: ['29+33=62'] Exploring Operation: 62-5=57, Resulting Numbers: [49, 57] Generated Node #0,0,0: 49:[49, 57] Operation: 62-5=57 Exploring Operation: 49+5=54, Resulting Numbers: [62, 54] Generated Node #0,0,1: 49:[62, 54] Operation: 49+5=54 Exploring Operation: 62-49=13, Resulting Numbers: [5, 13] Generated Node #0,0,2: 49:[5, 13] Operation: 62-49=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[49, 57], Operations: ['29+33=62', '62-5=57'] Exploring Operation: 49*57=2793, Resulting Numbers: [2793] 2793,49 unequal: No Solution Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 49+57=106, Resulting Numbers: [106] 106,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[5, 13], Operations: ['29+33=62', '62-49=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[62, 54], Operations: ['29+33=62', '49+5=54'] Exploring Operation: 62+54=116, Resulting Numbers: [116] 116,49 unequal: No Solution Exploring Operation: 62*54=3348, Resulting Numbers: [3348] 3348,49 unequal: No Solution Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,49 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: 49:[33, 5, 20], Operations: ['49-29=20'] Exploring Operation: 20/5=4, Resulting Numbers: [33, 4] Generated Node #0,1,0: 49:[33, 4] Operation: 20/5=4 Exploring Operation: 33+20=53, Resulting Numbers: [5, 53] Generated Node #0,1,1: 49:[5, 53] Operation: 33+20=53 Exploring Operation: 33-20=13, Resulting Numbers: [5, 13] Generated Node #0,1,2: 49:[5, 13] Operation: 33-20=13 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[5, 53], Operations: ['49-29=20', '33+20=53'] Exploring Operation: 5+53=58, Resulting Numbers: [58] 58,49 unequal: No Solution Exploring Operation: 5*53=265, Resulting Numbers: [265] 265,49 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 49:[5, 13], Operations: ['49-29=20', '33-20=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[33, 4], Operations: ['49-29=20', '20/5=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,49 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,49 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
[ 16, 84, 23, 53 ]
41
[ "23-16=7", "84/7=12", "53-12=41" ]
Current State: 41:[16, 84, 23, 53], Operations: [] Exploring Operation: 23-16=7, Resulting Numbers: [84, 53, 7] Generated Node #2: [84, 53, 7] from Operation: 23-16=7 Current State: 41:[84, 53, 7], Operations: ['23-16=7'] Exploring Operation: 84/7=12, Resulting Numbers: [53, 12] Generated Node #3: [53, 12] from Operation: 84/7=12 Current State: 41:[53, 12], Operations: ['23-16=7', '84/7=12'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[16, 84, 23, 53], Operations: [] Exploring Operation: 84-53=31, Resulting Numbers: [16, 23, 31] Generated Node #0,0: 41:[16, 23, 31] Operation: 84-53=31 Exploring Operation: 84-16=68, Resulting Numbers: [23, 53, 68] Generated Node #0,1: 41:[23, 53, 68] Operation: 84-16=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[16, 23, 31], Operations: ['84-53=31'] Exploring Operation: 16+31=47, Resulting Numbers: [23, 47] Generated Node #0,0,0: 41:[23, 47] Operation: 16+31=47 Exploring Operation: 16+23=39, Resulting Numbers: [31, 39] Generated Node #0,0,1: 41:[31, 39] Operation: 16+23=39 Moving to Node #0,0,1 Current State: 41:[31, 39], Operations: ['84-53=31', '16+23=39'] Exploring Operation: 31+39=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[23, 47], Operations: ['84-53=31', '16+31=47'] Exploring Operation: 23+47=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[23, 53, 68], Operations: ['84-16=68'] Exploring Operation: 53-23=30, Resulting Numbers: [68, 30] Generated Node #0,1,0: 41:[68, 30] Operation: 53-23=30 Exploring Operation: 68-23=45, Resulting Numbers: [53, 45] Generated Node #0,1,1: 41:[53, 45] Operation: 68-23=45 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[53, 45], Operations: ['84-16=68', '68-23=45'] Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,41 unequal: No Solution Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[68, 30], Operations: ['84-16=68', '53-23=30'] Exploring Operation: 68+30=98, Resulting Numbers: [98] 98,41 unequal: No Solution Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 25, 41, 9, 78 ]
76
[ "41+9=50", "50/25=2", "78-2=76" ]
Current State: 76:[25, 41, 9, 78], Operations: [] Exploring Operation: 41+9=50, Resulting Numbers: [25, 78, 50] Generated Node #2: [25, 78, 50] from Operation: 41+9=50 Current State: 76:[25, 78, 50], Operations: ['41+9=50'] Exploring Operation: 50/25=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 50/25=2 Current State: 76:[78, 2], Operations: ['41+9=50', '50/25=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[25, 41, 9, 78], Operations: [] Exploring Operation: 25-9=16, Resulting Numbers: [41, 78, 16] Generated Node #0,0: 76:[41, 78, 16] Operation: 25-9=16 Exploring Operation: 25+9=34, Resulting Numbers: [41, 78, 34] Generated Node #0,1: 76:[41, 78, 34] Operation: 25+9=34 Moving to Node #0,0 Current State: 76:[41, 78, 16], Operations: ['25-9=16'] Exploring Operation: 78-41=37, Resulting Numbers: [16, 37] Generated Node #0,0,0: 76:[16, 37] Operation: 78-41=37 Exploring Operation: 41-16=25, Resulting Numbers: [78, 25] Generated Node #0,0,1: 76:[78, 25] Operation: 41-16=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[16, 37], Operations: ['25-9=16', '78-41=37'] Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,76 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[78, 25], Operations: ['25-9=16', '41-16=25'] Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,76 unequal: No Solution Exploring Operation: 78+25=103, Resulting Numbers: [103] 103,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 76:[41, 78, 34], Operations: ['25+9=34'] Exploring Operation: 41+34=75, Resulting Numbers: [78, 75] Generated Node #0,1,0: 76:[78, 75] Operation: 41+34=75 Exploring Operation: 78-41=37, Resulting Numbers: [34, 37] Generated Node #0,1,1: 76:[34, 37] Operation: 78-41=37 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[78, 75], Operations: ['25+9=34', '41+34=75'] Exploring Operation: 78+75=153, Resulting Numbers: [153] 153,76 unequal: No Solution Exploring Operation: 78-75=3, Resulting Numbers: [3] 3,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[34, 37], Operations: ['25+9=34', '78-41=37'] Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 2, 5, 33, 82 ]
81
[ "2+82=84", "5*33=165", "165-84=81" ]
Current State: 81:[2, 5, 33, 82], Operations: [] Exploring Operation: 2+82=84, Resulting Numbers: [5, 33, 84] Generated Node #2: [5, 33, 84] from Operation: 2+82=84 Current State: 81:[5, 33, 84], Operations: ['2+82=84'] Exploring Operation: 5*33=165, Resulting Numbers: [84, 165] Generated Node #3: [84, 165] from Operation: 5*33=165 Current State: 81:[84, 165], Operations: ['2+82=84', '5*33=165'] Exploring Operation: 165-84=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[2, 5, 33, 82], Operations: [] Exploring Operation: 33-5=28, Resulting Numbers: [2, 82, 28] Generated Node #0,0: 81:[2, 82, 28] Operation: 33-5=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[2, 82, 28], Operations: ['33-5=28'] Exploring Operation: 82-2=80, Resulting Numbers: [28, 80] Generated Node #0,0,0: 81:[28, 80] Operation: 82-2=80 Moving to Node #0,0,0 Current State: 81:[28, 80], Operations: ['33-5=28', '82-2=80'] Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 20, 56, 8, 9 ]
77
[ "20+56=76", "9-8=1", "76+1=77" ]
Current State: 77:[20, 56, 8, 9], Operations: [] Exploring Operation: 20+56=76, Resulting Numbers: [8, 9, 76] Generated Node #2: [8, 9, 76] from Operation: 20+56=76 Current State: 77:[8, 9, 76], Operations: ['20+56=76'] Exploring Operation: 9-8=1, Resulting Numbers: [76, 1] Generated Node #3: [76, 1] from Operation: 9-8=1 Current State: 77:[76, 1], Operations: ['20+56=76', '9-8=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[20, 56, 8, 9], Operations: [] Exploring Operation: 20+56=76, Resulting Numbers: [8, 9, 76] Generated Node #0,0: 77:[8, 9, 76] Operation: 20+56=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[8, 9, 76], Operations: ['20+56=76'] Exploring Operation: 8*9=72, Resulting Numbers: [76, 72] Generated Node #0,0,0: 77:[76, 72] Operation: 8*9=72 Moving to Node #0,0,0 Current State: 77:[76, 72], Operations: ['20+56=76', '8*9=72'] Exploring Operation: 76-72=4, Resulting Numbers: [4] 4,77 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