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
[ 63, 2, 83, 92 ]
38
[ "63+83=146", "2*92=184", "184-146=38" ]
Current State: 38:[63, 2, 83, 92], Operations: [] Exploring Operation: 63+83=146, Resulting Numbers: [2, 92, 146] Generated Node #2: [2, 92, 146] from Operation: 63+83=146 Current State: 38:[2, 92, 146], Operations: ['63+83=146'] Exploring Operation: 2*92=184, Resulting Numbers: [146, 184] Generated Node #3: [146, 184] from Operation: 2*92=184 Current State: 38:[146, 184], Operations: ['63+83=146', '2*92=184'] Exploring Operation: 184-146=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[63, 2, 83, 92], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [63, 83, 46] Generated Node #0,0: 38:[63, 83, 46] Operation: 92/2=46 Exploring Operation: 92-63=29, Resulting Numbers: [2, 83, 29] Generated Node #0,1: 38:[2, 83, 29] Operation: 92-63=29 Exploring Operation: 83-63=20, Resulting Numbers: [2, 92, 20] Generated Node #0,2: 38:[2, 92, 20] Operation: 83-63=20 Exploring Operation: 92-83=9, Resulting Numbers: [63, 2, 9] Generated Node #0,3: 38:[63, 2, 9] Operation: 92-83=9 Moving to Node #0,3 Current State: 38:[63, 2, 9], Operations: ['92-83=9'] Exploring Operation: 63-9=54, Resulting Numbers: [2, 54] Generated Node #0,3,0: 38:[2, 54] Operation: 63-9=54 Exploring Operation: 2*9=18, Resulting Numbers: [63, 18] Generated Node #0,3,1: 38:[63, 18] Operation: 2*9=18 Exploring Operation: 63-2=61, Resulting Numbers: [9, 61] Generated Node #0,3,2: 38:[9, 61] Operation: 63-2=61 Exploring Operation: 63/9=7, Resulting Numbers: [2, 7] Generated Node #0,3,3: 38:[2, 7] Operation: 63/9=7 Moving to Node #0,1 Current State: 38:[2, 83, 29], Operations: ['92-63=29'] Exploring Operation: 83-29=54, Resulting Numbers: [2, 54] Generated Node #0,1,0: 38:[2, 54] Operation: 83-29=54 Exploring Operation: 83-2=81, Resulting Numbers: [29, 81] Generated Node #0,1,1: 38:[29, 81] Operation: 83-2=81 Exploring Operation: 2+29=31, Resulting Numbers: [83, 31] Generated Node #0,1,2: 38:[83, 31] Operation: 2+29=31 Exploring Operation: 29-2=27, Resulting Numbers: [83, 27] Generated Node #0,1,3: 38:[83, 27] Operation: 29-2=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[2, 54], Operations: ['92-63=29', '83-29=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,38 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,38 unequal: No Solution Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,38 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,38 unequal: No Solution No 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: 38:[29, 81], Operations: ['92-63=29', '83-2=81'] Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 29*81=2349, Resulting Numbers: [2349] 2349,38 unequal: No Solution Exploring Operation: 29+81=110, Resulting Numbers: [110] 110,38 unequal: No Solution No 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: 38:[83, 31], Operations: ['92-63=29', '2+29=31'] Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 83+31=114, Resulting Numbers: [114] 114,38 unequal: No Solution Exploring Operation: 83*31=2573, Resulting Numbers: [2573] 2573,38 unequal: No Solution No 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: 38:[83, 27], Operations: ['92-63=29', '29-2=27'] Exploring Operation: 83*27=2241, Resulting Numbers: [2241] 2241,38 unequal: No Solution Exploring Operation: 83+27=110, Resulting Numbers: [110] 110,38 unequal: No Solution Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,38 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: 38:[2, 92, 20], Operations: ['83-63=20'] Exploring Operation: 92-2=90, Resulting Numbers: [20, 90] Generated Node #0,2,0: 38:[20, 90] Operation: 92-2=90 Exploring Operation: 92-20=72, Resulting Numbers: [2, 72] Generated Node #0,2,1: 38:[2, 72] Operation: 92-20=72 Exploring Operation: 92/2=46, Resulting Numbers: [20, 46] Generated Node #0,2,2: 38:[20, 46] Operation: 92/2=46 Exploring Operation: 20-2=18, Resulting Numbers: [92, 18] Generated Node #0,2,3: 38:[92, 18] Operation: 20-2=18 Moving to Node #0,0 Current State: 38:[63, 83, 46], Operations: ['92/2=46'] Exploring Operation: 63-46=17, Resulting Numbers: [83, 17] Generated Node #0,0,0: 38:[83, 17] Operation: 63-46=17 Exploring Operation: 83-63=20, Resulting Numbers: [46, 20] Generated Node #0,0,1: 38:[46, 20] Operation: 83-63=20 Exploring Operation: 63+83=146, Resulting Numbers: [46, 146] Generated Node #0,0,2: 38:[46, 146] Operation: 63+83=146 Exploring Operation: 83-46=37, Resulting Numbers: [63, 37] Generated Node #0,0,3: 38:[63, 37] Operation: 83-46=37 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[46, 20], Operations: ['92/2=46', '83-63=20'] Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,38 unequal: No Solution No 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: 38:[63, 37], Operations: ['92/2=46', '83-46=37'] Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,38 unequal: No Solution Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,38 unequal: No Solution No 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: 38:[83, 17], Operations: ['92/2=46', '63-46=17'] Exploring Operation: 83*17=1411, Resulting Numbers: [1411] 1411,38 unequal: No Solution Exploring Operation: 83+17=100, Resulting Numbers: [100] 100,38 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,38 unequal: No Solution No 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: 38:[46, 146], Operations: ['92/2=46', '63+83=146'] Exploring Operation: 146-46=100, Resulting Numbers: [100] 100,38 unequal: No Solution Exploring Operation: 46*146=6716, Resulting Numbers: [6716] 6716,38 unequal: No Solution Exploring Operation: 46+146=192, Resulting Numbers: [192] 192,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 38:[2, 7], Operations: ['92-83=9', '63/9=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,38 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[20, 46], Operations: ['83-63=20', '92/2=46'] Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 20+46=66, Resulting Numbers: [66] 66,38 unequal: No Solution Exploring Operation: 20*46=920, Resulting Numbers: [920] 920,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[2, 54], Operations: ['92-83=9', '63-9=54'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,38 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,38 unequal: No Solution Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,38 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,38 unequal: No Solution Moving to Node #0,3,1 Current State: 38:[63, 18], Operations: ['92-83=9', '2*9=18'] Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 63*18=1134, Resulting Numbers: [1134] 1134,38 unequal: No Solution Exploring Operation: 63+18=81, Resulting Numbers: [81] 81,38 unequal: No Solution Moving to Node #0,3,2 Current State: 38:[9, 61], Operations: ['92-83=9', '63-2=61'] Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 9*61=549, Resulting Numbers: [549] 549,38 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[2, 72], Operations: ['83-63=20', '92-20=72'] Exploring Operation: 2*72=144, Resulting Numbers: [144] 144,38 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,38 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,38 unequal: No Solution Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[20, 90], Operations: ['83-63=20', '92-2=90'] Exploring Operation: 20*90=1800, Resulting Numbers: [1800] 1800,38 unequal: No Solution Exploring Operation: 20+90=110, Resulting Numbers: [110] 110,38 unequal: No Solution Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[92, 18], Operations: ['83-63=20', '20-2=18'] Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,38 unequal: No Solution Exploring Operation: 92*18=1656, Resulting Numbers: [1656] 1656,38 unequal: No Solution Exploring Operation: 92+18=110, Resulting Numbers: [110] 110,38 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 18, 10, 45, 67 ]
40
[ "18+45=63", "67-63=4", "10*4=40" ]
Current State: 40:[18, 10, 45, 67], Operations: [] Exploring Operation: 18+45=63, Resulting Numbers: [10, 67, 63] Generated Node #2: [10, 67, 63] from Operation: 18+45=63 Current State: 40:[10, 67, 63], Operations: ['18+45=63'] Exploring Operation: 67-63=4, Resulting Numbers: [10, 4] Generated Node #3: [10, 4] from Operation: 67-63=4 Current State: 40:[10, 4], Operations: ['18+45=63', '67-63=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[18, 10, 45, 67], Operations: [] Exploring Operation: 67-45=22, Resulting Numbers: [18, 10, 22] Generated Node #0,0: 40:[18, 10, 22] Operation: 67-45=22 Moving to Node #0,0 Current State: 40:[18, 10, 22], Operations: ['67-45=22'] Exploring Operation: 18+22=40, Resulting Numbers: [10, 40] Generated Node #0,0,0: 40:[10, 40] Operation: 18+22=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[10, 40], Operations: ['67-45=22', '18+22=40'] Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 21, 63, 7, 10 ]
77
[ "21-7=14", "10*14=140", "140-63=77" ]
Current State: 77:[21, 63, 7, 10], Operations: [] Exploring Operation: 21-7=14, Resulting Numbers: [63, 10, 14] Generated Node #2: [63, 10, 14] from Operation: 21-7=14 Current State: 77:[63, 10, 14], Operations: ['21-7=14'] Exploring Operation: 10*14=140, Resulting Numbers: [63, 140] Generated Node #3: [63, 140] from Operation: 10*14=140 Current State: 77:[63, 140], Operations: ['21-7=14', '10*14=140'] Exploring Operation: 140-63=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[21, 63, 7, 10], Operations: [] Exploring Operation: 21+63=84, Resulting Numbers: [7, 10, 84] Generated Node #0,0: 77:[7, 10, 84] Operation: 21+63=84 Exploring Operation: 63/21=3, Resulting Numbers: [7, 10, 3] Generated Node #0,1: 77:[7, 10, 3] Operation: 63/21=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[7, 10, 3], Operations: ['63/21=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7, 7] Generated Node #0,1,0: 77:[7, 7] Operation: 10-3=7 Exploring Operation: 7+3=10, Resulting Numbers: [10, 10] Generated Node #0,1,1: 77:[10, 10] Operation: 7+3=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[7, 7], Operations: ['63/21=3', '10-3=7'] Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,77 unequal: No Solution No 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: 77:[10, 10], Operations: ['63/21=3', '7+3=10'] Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,77 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,77 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: 77:[7, 10, 84], Operations: ['21+63=84'] Exploring Operation: 84-7=77, Resulting Numbers: [10, 77] Generated Node #0,0,0: 77:[10, 77] Operation: 84-7=77 Exploring Operation: 84/7=12, Resulting Numbers: [10, 12] Generated Node #0,0,1: 77:[10, 12] Operation: 84/7=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[10, 77], Operations: ['21+63=84', '84-7=77'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 10+77=87, Resulting Numbers: [87] 87,77 unequal: No Solution No 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: 77:[10, 12], Operations: ['21+63=84', '84/7=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,77 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
[ 20, 1, 41, 38 ]
57
[ "20-1=19", "41-38=3", "19*3=57" ]
Current State: 57:[20, 1, 41, 38], Operations: [] Exploring Operation: 20-1=19, Resulting Numbers: [41, 38, 19] Generated Node #2: [41, 38, 19] from Operation: 20-1=19 Current State: 57:[41, 38, 19], Operations: ['20-1=19'] Exploring Operation: 41-38=3, Resulting Numbers: [19, 3] Generated Node #3: [19, 3] from Operation: 41-38=3 Current State: 57:[19, 3], Operations: ['20-1=19', '41-38=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[20, 1, 41, 38], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [20, 1, 3] Generated Node #0,0: 57:[20, 1, 3] Operation: 41-38=3 Moving to Node #0,0 Current State: 57:[20, 1, 3], Operations: ['41-38=3'] Exploring Operation: 20-1=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 57:[3, 19] Operation: 20-1=19 Moving to Node #0,0,0 Current State: 57:[3, 19], Operations: ['41-38=3', '20-1=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[20, 1, 41, 38], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [20, 1, 3] Generated Node #0,0: 57:[20, 1, 3] Operation: 41-38=3 Moving to Node #0,0 Current State: 57:[20, 1, 3], Operations: ['41-38=3'] Exploring Operation: 20-1=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 57:[3, 19] Operation: 20-1=19 Moving to Node #0,0,0 Current State: 57:[3, 19], Operations: ['41-38=3', '20-1=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 14, 47, 89, 26 ]
29
[ "89-47=42", "42/14=3", "26+3=29" ]
Current State: 29:[14, 47, 89, 26], Operations: [] Exploring Operation: 89-47=42, Resulting Numbers: [14, 26, 42] Generated Node #2: [14, 26, 42] from Operation: 89-47=42 Current State: 29:[14, 26, 42], Operations: ['89-47=42'] Exploring Operation: 42/14=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 42/14=3 Current State: 29:[26, 3], Operations: ['89-47=42', '42/14=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[14, 47, 89, 26], Operations: [] Exploring Operation: 89-26=63, Resulting Numbers: [14, 47, 63] Generated Node #0,0: 29:[14, 47, 63] Operation: 89-26=63 Exploring Operation: 89-14=75, Resulting Numbers: [47, 26, 75] Generated Node #0,1: 29:[47, 26, 75] Operation: 89-14=75 Exploring Operation: 47-14=33, Resulting Numbers: [89, 26, 33] Generated Node #0,2: 29:[89, 26, 33] Operation: 47-14=33 Exploring Operation: 47-26=21, Resulting Numbers: [14, 89, 21] Generated Node #0,3: 29:[14, 89, 21] Operation: 47-26=21 Exploring Operation: 89-47=42, Resulting Numbers: [14, 26, 42] Generated Node #0,4: 29:[14, 26, 42] Operation: 89-47=42 Start Sub Search at level 1: Moving to Node #0,4 Current State: 29:[14, 26, 42], Operations: ['89-47=42'] Exploring Operation: 42-26=16, Resulting Numbers: [14, 16] Generated Node #0,4,0: 29:[14, 16] Operation: 42-26=16 Exploring Operation: 42-14=28, Resulting Numbers: [26, 28] Generated Node #0,4,1: 29:[26, 28] Operation: 42-14=28 Exploring Operation: 14+26=40, Resulting Numbers: [42, 40] Generated Node #0,4,2: 29:[42, 40] Operation: 14+26=40 Exploring Operation: 26-14=12, Resulting Numbers: [42, 12] Generated Node #0,4,3: 29:[42, 12] Operation: 26-14=12 Exploring Operation: 42/14=3, Resulting Numbers: [26, 3] Generated Node #0,4,4: 29:[26, 3] Operation: 42/14=3 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 29:[26, 28], Operations: ['89-47=42', '42-14=28'] Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,29 unequal: No Solution Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 26*28=728, Resulting Numbers: [728] 728,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 29:[42, 40], Operations: ['89-47=42', '14+26=40'] Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,29 unequal: No Solution Exploring Operation: 42*40=1680, Resulting Numbers: [1680] 1680,29 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 29:[14, 16], Operations: ['89-47=42', '42-26=16'] Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 29:[26, 3], Operations: ['89-47=42', '42/14=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,29 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[14, 47, 89, 26], Operations: [] Exploring Operation: 89-47=42, Resulting Numbers: [14, 26, 42] Generated Node #0,4: 29:[14, 26, 42] Operation: 89-47=42 Moving to Node #0,4 Current State: 29:[14, 26, 42], Operations: ['89-47=42'] Exploring Operation: 42/14=3, Resulting Numbers: [26, 3] Generated Node #0,4,4: 29:[26, 3] Operation: 42/14=3 Moving to Node #0,4,4 Current State: 29:[26, 3], Operations: ['89-47=42', '42/14=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 8, 60, 19, 13 ]
35
[ "13-8=5", "19*5=95", "95-60=35" ]
Current State: 35:[8, 60, 19, 13], Operations: [] Exploring Operation: 13-8=5, Resulting Numbers: [60, 19, 5] Generated Node #2: [60, 19, 5] from Operation: 13-8=5 Current State: 35:[60, 19, 5], Operations: ['13-8=5'] Exploring Operation: 19*5=95, Resulting Numbers: [60, 95] Generated Node #3: [60, 95] from Operation: 19*5=95 Current State: 35:[60, 95], Operations: ['13-8=5', '19*5=95'] Exploring Operation: 95-60=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[8, 60, 19, 13], Operations: [] Exploring Operation: 19+13=32, Resulting Numbers: [8, 60, 32] Generated Node #0,0: 35:[8, 60, 32] Operation: 19+13=32 Exploring Operation: 60-13=47, Resulting Numbers: [8, 19, 47] Generated Node #0,1: 35:[8, 19, 47] Operation: 60-13=47 Exploring Operation: 19-13=6, Resulting Numbers: [8, 60, 6] Generated Node #0,2: 35:[8, 60, 6] Operation: 19-13=6 Exploring Operation: 60-8=52, Resulting Numbers: [19, 13, 52] Generated Node #0,3: 35:[19, 13, 52] Operation: 60-8=52 Exploring Operation: 60-19=41, Resulting Numbers: [8, 13, 41] Generated Node #0,4: 35:[8, 13, 41] Operation: 60-19=41 Start Sub Search at level 1: Moving to Node #0,4 Current State: 35:[8, 13, 41], Operations: ['60-19=41'] Exploring Operation: 13-8=5, Resulting Numbers: [41, 5] Generated Node #0,4,0: 35:[41, 5] Operation: 13-8=5 Exploring Operation: 8+13=21, Resulting Numbers: [41, 21] Generated Node #0,4,1: 35:[41, 21] Operation: 8+13=21 Exploring Operation: 8+41=49, Resulting Numbers: [13, 49] Generated Node #0,4,2: 35:[13, 49] Operation: 8+41=49 Exploring Operation: 41-8=33, Resulting Numbers: [13, 33] Generated Node #0,4,3: 35:[13, 33] Operation: 41-8=33 Exploring Operation: 41-13=28, Resulting Numbers: [8, 28] Generated Node #0,4,4: 35:[8, 28] Operation: 41-13=28 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 35:[41, 5], Operations: ['60-19=41', '13-8=5'] Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 41*5=205, Resulting Numbers: [205] 205,35 unequal: No Solution Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 35:[13, 33], Operations: ['60-19=41', '41-8=33'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 13+33=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 13*33=429, Resulting Numbers: [429] 429,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 35:[8, 28], Operations: ['60-19=41', '41-13=28'] Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,35 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 35:[41, 21], Operations: ['60-19=41', '8+13=21'] Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 35:[13, 49], Operations: ['60-19=41', '8+41=49'] Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,35 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,35 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: 35:[8, 19, 47], Operations: ['60-13=47'] Exploring Operation: 8+47=55, Resulting Numbers: [19, 55] Generated Node #0,1,0: 35:[19, 55] Operation: 8+47=55 Exploring Operation: 47-8=39, Resulting Numbers: [19, 39] Generated Node #0,1,1: 35:[19, 39] Operation: 47-8=39 Exploring Operation: 8+19=27, Resulting Numbers: [47, 27] Generated Node #0,1,2: 35:[47, 27] Operation: 8+19=27 Exploring Operation: 47-19=28, Resulting Numbers: [8, 28] Generated Node #0,1,3: 35:[8, 28] Operation: 47-19=28 Exploring Operation: 19-8=11, Resulting Numbers: [47, 11] Generated Node #0,1,4: 35:[47, 11] Operation: 19-8=11 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 35:[8, 28], Operations: ['60-13=47', '47-19=28'] Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[19, 39], Operations: ['60-13=47', '47-8=39'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,35 unequal: No Solution Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 35:[47, 11], Operations: ['60-13=47', '19-8=11'] Exploring Operation: 47*11=517, Resulting Numbers: [517] 517,35 unequal: No Solution Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 47+11=58, Resulting Numbers: [58] 58,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 35:[47, 27], Operations: ['60-13=47', '8+19=27'] Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,35 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[19, 55], Operations: ['60-13=47', '8+47=55'] Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 19+55=74, Resulting Numbers: [74] 74,35 unequal: No Solution Exploring Operation: 19*55=1045, Resulting Numbers: [1045] 1045,35 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: 35:[8, 60, 6], Operations: ['19-13=6'] Exploring Operation: 60-6=54, Resulting Numbers: [8, 54] Generated Node #0,2,0: 35:[8, 54] Operation: 60-6=54 Exploring Operation: 8-6=2, Resulting Numbers: [60, 2] Generated Node #0,2,1: 35:[60, 2] Operation: 8-6=2 Exploring Operation: 8+6=14, Resulting Numbers: [60, 14] Generated Node #0,2,2: 35:[60, 14] Operation: 8+6=14 Exploring Operation: 60/6=10, Resulting Numbers: [8, 10] Generated Node #0,2,3: 35:[8, 10] Operation: 60/6=10 Exploring Operation: 60-8=52, Resulting Numbers: [6, 52] Generated Node #0,2,4: 35:[6, 52] Operation: 60-8=52 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 35:[8, 10], Operations: ['19-13=6', '60/6=10'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,35 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 35:[6, 52], Operations: ['19-13=6', '60-8=52'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 6*52=312, Resulting Numbers: [312] 312,35 unequal: No Solution Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 35:[8, 54], Operations: ['19-13=6', '60-6=54'] Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[60, 2], Operations: ['19-13=6', '8-6=2'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,35 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 60*2=120, Resulting Numbers: [120] 120,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 35:[60, 14], Operations: ['19-13=6', '8+6=14'] Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,35 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,35 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: 35:[8, 60, 32], Operations: ['19+13=32'] Exploring Operation: 60-32=28, Resulting Numbers: [8, 28] Generated Node #0,0,0: 35:[8, 28] Operation: 60-32=28 Exploring Operation: 8+60=68, Resulting Numbers: [32, 68] Generated Node #0,0,1: 35:[32, 68] Operation: 8+60=68 Exploring Operation: 8+32=40, Resulting Numbers: [60, 40] Generated Node #0,0,2: 35:[60, 40] Operation: 8+32=40 Exploring Operation: 60-8=52, Resulting Numbers: [32, 52] Generated Node #0,0,3: 35:[32, 52] Operation: 60-8=52 Exploring Operation: 32/8=4, Resulting Numbers: [60, 4] Generated Node #0,0,4: 35:[60, 4] Operation: 32/8=4 Moving to Node #0,0,0 Current State: 35:[8, 28], Operations: ['19+13=32', '60-32=28'] Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[32, 52], Operations: ['19+13=32', '60-8=52'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,35 unequal: No Solution Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,35 unequal: No Solution Moving to Node #0,0,4 Current State: 35:[60, 4], Operations: ['19+13=32', '32/8=4'] Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,35 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,35 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[60, 40], Operations: ['19+13=32', '8+32=40'] Exploring Operation: 60*40=2400, Resulting Numbers: [2400] 2400,35 unequal: No Solution Exploring Operation: 60+40=100, Resulting Numbers: [100] 100,35 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[32, 68], Operations: ['19+13=32', '8+60=68'] Exploring Operation: 32*68=2176, Resulting Numbers: [2176] 2176,35 unequal: No Solution Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 32+68=100, Resulting Numbers: [100] 100,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[19, 13, 52], Operations: ['60-8=52'] Exploring Operation: 19-13=6, Resulting Numbers: [52, 6] Generated Node #0,3,0: 35:[52, 6] Operation: 19-13=6 Exploring Operation: 52/13=4, Resulting Numbers: [19, 4] Generated Node #0,3,1: 35:[19, 4] Operation: 52/13=4 Exploring Operation: 52-13=39, Resulting Numbers: [19, 39] Generated Node #0,3,2: 35:[19, 39] Operation: 52-13=39 Exploring Operation: 52-19=33, Resulting Numbers: [13, 33] Generated Node #0,3,3: 35:[13, 33] Operation: 52-19=33 Exploring Operation: 19+13=32, Resulting Numbers: [52, 32] Generated Node #0,3,4: 35:[52, 32] Operation: 19+13=32 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 35:[13, 33], Operations: ['60-8=52', '52-19=33'] Exploring Operation: 13*33=429, Resulting Numbers: [429] 429,35 unequal: No Solution Exploring Operation: 13+33=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 35:[19, 4], Operations: ['60-8=52', '52/13=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 35:[19, 39], Operations: ['60-8=52', '52-13=39'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,35 unequal: No Solution Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 35:[52, 6], Operations: ['60-8=52', '19-13=6'] Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,35 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,35 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 35:[52, 32], Operations: ['60-8=52', '19+13=32'] Exploring Operation: 52*32=1664, Resulting Numbers: [1664] 1664,35 unequal: No Solution Exploring Operation: 52+32=84, Resulting Numbers: [84] 84,35 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,35 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
[ 14, 9, 25, 51 ]
74
[ "14-9=5", "25*5=125", "125-51=74" ]
Current State: 74:[14, 9, 25, 51], Operations: [] Exploring Operation: 14-9=5, Resulting Numbers: [25, 51, 5] Generated Node #2: [25, 51, 5] from Operation: 14-9=5 Current State: 74:[25, 51, 5], Operations: ['14-9=5'] Exploring Operation: 25*5=125, Resulting Numbers: [51, 125] Generated Node #3: [51, 125] from Operation: 25*5=125 Current State: 74:[51, 125], Operations: ['14-9=5', '25*5=125'] Exploring Operation: 125-51=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[14, 9, 25, 51], Operations: [] Exploring Operation: 14+25=39, Resulting Numbers: [9, 51, 39] Generated Node #0,0: 74:[9, 51, 39] Operation: 14+25=39 Exploring Operation: 51-14=37, Resulting Numbers: [9, 25, 37] Generated Node #0,1: 74:[9, 25, 37] Operation: 51-14=37 Exploring Operation: 14-9=5, Resulting Numbers: [25, 51, 5] Generated Node #0,2: 74:[25, 51, 5] Operation: 14-9=5 Exploring Operation: 14+51=65, Resulting Numbers: [9, 25, 65] Generated Node #0,3: 74:[9, 25, 65] Operation: 14+51=65 Exploring Operation: 25+51=76, Resulting Numbers: [14, 9, 76] Generated Node #0,4: 74:[14, 9, 76] Operation: 25+51=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[9, 25, 37], Operations: ['51-14=37'] Exploring Operation: 25-9=16, Resulting Numbers: [37, 16] Generated Node #0,1,0: 74:[37, 16] Operation: 25-9=16 Exploring Operation: 9+25=34, Resulting Numbers: [37, 34] Generated Node #0,1,1: 74:[37, 34] Operation: 9+25=34 Exploring Operation: 25+37=62, Resulting Numbers: [9, 62] Generated Node #0,1,2: 74:[9, 62] Operation: 25+37=62 Exploring Operation: 37-25=12, Resulting Numbers: [9, 12] Generated Node #0,1,3: 74:[9, 12] Operation: 37-25=12 Exploring Operation: 9+37=46, Resulting Numbers: [25, 46] Generated Node #0,1,4: 74:[25, 46] Operation: 9+37=46 Moving to Node #0,1,1 Current State: 74:[37, 34], Operations: ['51-14=37', '9+25=34'] Exploring Operation: 37+34=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 37*34=1258, Resulting Numbers: [1258] 1258,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[37, 16], Operations: ['51-14=37', '25-9=16'] Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 37*16=592, Resulting Numbers: [592] 592,74 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[9, 12], Operations: ['51-14=37', '37-25=12'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,74 unequal: No Solution Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[9, 62], Operations: ['51-14=37', '25+37=62'] Exploring Operation: 9*62=558, Resulting Numbers: [558] 558,74 unequal: No Solution Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 9+62=71, Resulting Numbers: [71] 71,74 unequal: No Solution Moving to Node #0,1,4 Current State: 74:[25, 46], Operations: ['51-14=37', '9+37=46'] Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,74 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,74 unequal: No Solution Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 74:[14, 9, 76], Operations: ['25+51=76'] Exploring Operation: 14-9=5, Resulting Numbers: [76, 5] Generated Node #0,4,0: 74:[76, 5] Operation: 14-9=5 Exploring Operation: 14+76=90, Resulting Numbers: [9, 90] Generated Node #0,4,1: 74:[9, 90] Operation: 14+76=90 Exploring Operation: 14+9=23, Resulting Numbers: [76, 23] Generated Node #0,4,2: 74:[76, 23] Operation: 14+9=23 Exploring Operation: 76-14=62, Resulting Numbers: [9, 62] Generated Node #0,4,3: 74:[9, 62] Operation: 76-14=62 Exploring Operation: 76-9=67, Resulting Numbers: [14, 67] Generated Node #0,4,4: 74:[14, 67] Operation: 76-9=67 Moving to Node #0,4,0 Current State: 74:[76, 5], Operations: ['25+51=76', '14-9=5'] Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 76*5=380, Resulting Numbers: [380] 380,74 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,74 unequal: No Solution Moving to Node #0,4,2 Current State: 74:[76, 23], Operations: ['25+51=76', '14+9=23'] Exploring Operation: 76*23=1748, Resulting Numbers: [1748] 1748,74 unequal: No Solution Exploring Operation: 76+23=99, Resulting Numbers: [99] 99,74 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,4,3 Current State: 74:[9, 62], Operations: ['25+51=76', '76-14=62'] Exploring Operation: 9*62=558, Resulting Numbers: [558] 558,74 unequal: No Solution Exploring Operation: 9+62=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,4,4 Current State: 74:[14, 67], Operations: ['25+51=76', '76-9=67'] Exploring Operation: 14*67=938, Resulting Numbers: [938] 938,74 unequal: No Solution Exploring Operation: 14+67=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,4,1 Current State: 74:[9, 90], Operations: ['25+51=76', '14+76=90'] Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 9*90=810, Resulting Numbers: [810] 810,74 unequal: No Solution Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 9+90=99, Resulting Numbers: [99] 99,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[9, 51, 39], Operations: ['14+25=39'] Exploring Operation: 39-9=30, Resulting Numbers: [51, 30] Generated Node #0,0,0: 74:[51, 30] Operation: 39-9=30 Exploring Operation: 51+39=90, Resulting Numbers: [9, 90] Generated Node #0,0,1: 74:[9, 90] Operation: 51+39=90 Exploring Operation: 9+51=60, Resulting Numbers: [39, 60] Generated Node #0,0,2: 74:[39, 60] Operation: 9+51=60 Exploring Operation: 51-9=42, Resulting Numbers: [39, 42] Generated Node #0,0,3: 74:[39, 42] Operation: 51-9=42 Exploring Operation: 51-39=12, Resulting Numbers: [9, 12] Generated Node #0,0,4: 74:[9, 12] Operation: 51-39=12 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[39, 42], Operations: ['14+25=39', '51-9=42'] Exploring Operation: 39*42=1638, Resulting Numbers: [1638] 1638,74 unequal: No Solution Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,74 unequal: No Solution No 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: 74:[39, 60], Operations: ['14+25=39', '9+51=60'] Exploring Operation: 39*60=2340, Resulting Numbers: [2340] 2340,74 unequal: No Solution Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,74 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,74 unequal: No Solution No 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: 74:[9, 12], Operations: ['14+25=39', '51-39=12'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,74 unequal: No Solution Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,74 unequal: No Solution No 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: 74:[51, 30], Operations: ['14+25=39', '39-9=30'] Exploring Operation: 51+30=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,74 unequal: No Solution Exploring Operation: 51*30=1530, Resulting Numbers: [1530] 1530,74 unequal: No Solution No 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: 74:[9, 90], Operations: ['14+25=39', '51+39=90'] Exploring Operation: 9+90=99, Resulting Numbers: [99] 99,74 unequal: No Solution Exploring Operation: 9*90=810, Resulting Numbers: [810] 810,74 unequal: No Solution Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,74 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: 74:[9, 25, 65], Operations: ['14+51=65'] Exploring Operation: 25-9=16, Resulting Numbers: [65, 16] Generated Node #0,3,0: 74:[65, 16] Operation: 25-9=16 Exploring Operation: 9+25=34, Resulting Numbers: [65, 34] Generated Node #0,3,1: 74:[65, 34] Operation: 9+25=34 Exploring Operation: 65-25=40, Resulting Numbers: [9, 40] Generated Node #0,3,2: 74:[9, 40] Operation: 65-25=40 Exploring Operation: 9+65=74, Resulting Numbers: [25, 74] Generated Node #0,3,3: 74:[25, 74] Operation: 9+65=74 Exploring Operation: 25+65=90, Resulting Numbers: [9, 90] Generated Node #0,3,4: 74:[9, 90] Operation: 25+65=90 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 74:[9, 40], Operations: ['14+51=65', '65-25=40'] Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,74 unequal: No Solution No 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: 74:[65, 34], Operations: ['14+51=65', '9+25=34'] Exploring Operation: 65*34=2210, Resulting Numbers: [2210] 2210,74 unequal: No Solution Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,74 unequal: No Solution No 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: 74:[25, 74], Operations: ['14+51=65', '9+65=74'] Exploring Operation: 25*74=1850, Resulting Numbers: [1850] 1850,74 unequal: No Solution Exploring Operation: 25+74=99, Resulting Numbers: [99] 99,74 unequal: No Solution Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,74 unequal: No Solution No 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: 74:[65, 16], Operations: ['14+51=65', '25-9=16'] Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 65*16=1040, Resulting Numbers: [1040] 1040,74 unequal: No Solution Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 74:[9, 90], Operations: ['14+51=65', '25+65=90'] Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 9*90=810, Resulting Numbers: [810] 810,74 unequal: No Solution Exploring Operation: 9+90=99, Resulting Numbers: [99] 99,74 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: 74:[25, 51, 5], Operations: ['14-9=5'] Exploring Operation: 25/5=5, Resulting Numbers: [51, 5] Generated Node #0,2,0: 74:[51, 5] Operation: 25/5=5 Exploring Operation: 25+5=30, Resulting Numbers: [51, 30] Generated Node #0,2,1: 74:[51, 30] Operation: 25+5=30 Exploring Operation: 51-25=26, Resulting Numbers: [5, 26] Generated Node #0,2,2: 74:[5, 26] Operation: 51-25=26 Exploring Operation: 25+51=76, Resulting Numbers: [5, 76] Generated Node #0,2,3: 74:[5, 76] Operation: 25+51=76 Exploring Operation: 51-5=46, Resulting Numbers: [25, 46] Generated Node #0,2,4: 74:[25, 46] Operation: 51-5=46 Moving to Node #0,2,3 Current State: 74:[5, 76], Operations: ['14-9=5', '25+51=76'] Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,74 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[5, 26], Operations: ['14-9=5', '51-25=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,74 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[51, 5], Operations: ['14-9=5', '25/5=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,74 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[51, 30], Operations: ['14-9=5', '25+5=30'] Exploring Operation: 51+30=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 51*30=1530, Resulting Numbers: [1530] 1530,74 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,74 unequal: No Solution Moving to Node #0,2,4 Current State: 74:[25, 46], Operations: ['14-9=5', '51-5=46'] Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,74 unequal: No Solution Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 11, 84, 55, 12 ]
77
[ "55/11=5", "84-12=72", "5+72=77" ]
Current State: 77:[11, 84, 55, 12], Operations: [] Exploring Operation: 55/11=5, Resulting Numbers: [84, 12, 5] Generated Node #2: [84, 12, 5] from Operation: 55/11=5 Current State: 77:[84, 12, 5], Operations: ['55/11=5'] Exploring Operation: 84-12=72, Resulting Numbers: [5, 72] Generated Node #3: [5, 72] from Operation: 84-12=72 Current State: 77:[5, 72], Operations: ['55/11=5', '84-12=72'] Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[11, 84, 55, 12], Operations: [] Exploring Operation: 55/11=5, Resulting Numbers: [84, 12, 5] Generated Node #0,0: 77:[84, 12, 5] Operation: 55/11=5 Exploring Operation: 55+12=67, Resulting Numbers: [11, 84, 67] Generated Node #0,1: 77:[11, 84, 67] Operation: 55+12=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[84, 12, 5], Operations: ['55/11=5'] Exploring Operation: 84/12=7, Resulting Numbers: [5, 7] Generated Node #0,0,0: 77:[5, 7] Operation: 84/12=7 Exploring Operation: 84-5=79, Resulting Numbers: [12, 79] Generated Node #0,0,1: 77:[12, 79] Operation: 84-5=79 Moving to Node #0,0,0 Current State: 77:[5, 7], Operations: ['55/11=5', '84/12=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[12, 79], Operations: ['55/11=5', '84-5=79'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 12+79=91, Resulting Numbers: [91] 91,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[11, 84, 67], Operations: ['55+12=67'] Exploring Operation: 84-67=17, Resulting Numbers: [11, 17] Generated Node #0,1,0: 77:[11, 17] Operation: 84-67=17 Exploring Operation: 11+67=78, Resulting Numbers: [84, 78] Generated Node #0,1,1: 77:[84, 78] Operation: 11+67=78 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[11, 17], Operations: ['55+12=67', '84-67=17'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,77 unequal: No Solution No 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: 77:[84, 78], Operations: ['55+12=67', '11+67=78'] Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 84+78=162, Resulting Numbers: [162] 162,77 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
[ 16, 22, 79, 18 ]
77
[ "79-16=63", "22*63=1386", "1386/18=77" ]
Current State: 77:[16, 22, 79, 18], Operations: [] Exploring Operation: 79-16=63, Resulting Numbers: [22, 18, 63] Generated Node #2: [22, 18, 63] from Operation: 79-16=63 Current State: 77:[22, 18, 63], Operations: ['79-16=63'] Exploring Operation: 22*63=1386, Resulting Numbers: [18, 1386] Generated Node #3: [18, 1386] from Operation: 22*63=1386 Current State: 77:[18, 1386], Operations: ['79-16=63', '22*63=1386'] Exploring Operation: 1386/18=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[16, 22, 79, 18], Operations: [] Exploring Operation: 22-16=6, Resulting Numbers: [79, 18, 6] Generated Node #0,0: 77:[79, 18, 6] Operation: 22-16=6 Moving to Node #0,0 Current State: 77:[79, 18, 6], Operations: ['22-16=6'] Exploring Operation: 18-6=12, Resulting Numbers: [79, 12] Generated Node #0,0,0: 77:[79, 12] Operation: 18-6=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[79, 12], Operations: ['22-16=6', '18-6=12'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,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
mult_heuristic
[ 84, 80, 29, 36 ]
68
[ "36-29=7", "84/7=12", "80-12=68" ]
Current State: 68:[84, 80, 29, 36], Operations: [] Exploring Operation: 36-29=7, Resulting Numbers: [84, 80, 7] Generated Node #2: [84, 80, 7] from Operation: 36-29=7 Current State: 68:[84, 80, 7], Operations: ['36-29=7'] Exploring Operation: 84/7=12, Resulting Numbers: [80, 12] Generated Node #3: [80, 12] from Operation: 84/7=12 Current State: 68:[80, 12], Operations: ['36-29=7', '84/7=12'] Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[84, 80, 29, 36], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [29, 36, 4] Generated Node #0,0: 68:[29, 36, 4] Operation: 84-80=4 Exploring Operation: 84-29=55, Resulting Numbers: [80, 36, 55] Generated Node #0,1: 68:[80, 36, 55] Operation: 84-29=55 Exploring Operation: 84-36=48, Resulting Numbers: [80, 29, 48] Generated Node #0,2: 68:[80, 29, 48] Operation: 84-36=48 Moving to Node #0,0 Current State: 68:[29, 36, 4], Operations: ['84-80=4'] Exploring Operation: 36-29=7, Resulting Numbers: [4, 7] Generated Node #0,0,0: 68:[4, 7] Operation: 36-29=7 Exploring Operation: 29+4=33, Resulting Numbers: [36, 33] Generated Node #0,0,1: 68:[36, 33] Operation: 29+4=33 Exploring Operation: 29+36=65, Resulting Numbers: [4, 65] Generated Node #0,0,2: 68:[4, 65] Operation: 29+36=65 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[4, 7], Operations: ['84-80=4', '36-29=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,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,1 Current State: 68:[36, 33], Operations: ['84-80=4', '29+4=33'] Exploring Operation: 36*33=1188, Resulting Numbers: [1188] 1188,68 unequal: No Solution Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,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:[4, 65], Operations: ['84-80=4', '29+36=65'] Exploring Operation: 4+65=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 4*65=260, Resulting Numbers: [260] 260,68 unequal: No Solution Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,68 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: 68:[80, 36, 55], Operations: ['84-29=55'] Exploring Operation: 80-36=44, Resulting Numbers: [55, 44] Generated Node #0,1,0: 68:[55, 44] Operation: 80-36=44 Exploring Operation: 80-55=25, Resulting Numbers: [36, 25] Generated Node #0,1,1: 68:[36, 25] Operation: 80-55=25 Exploring Operation: 55-36=19, Resulting Numbers: [80, 19] Generated Node #0,1,2: 68:[80, 19] Operation: 55-36=19 Moving to Node #0,2 Current State: 68:[80, 29, 48], Operations: ['84-36=48'] Exploring Operation: 29+48=77, Resulting Numbers: [80, 77] Generated Node #0,2,0: 68:[80, 77] Operation: 29+48=77 Exploring Operation: 48-29=19, Resulting Numbers: [80, 19] Generated Node #0,2,1: 68:[80, 19] Operation: 48-29=19 Exploring Operation: 80-48=32, Resulting Numbers: [29, 32] Generated Node #0,2,2: 68:[29, 32] Operation: 80-48=32 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[29, 32], Operations: ['84-36=48', '80-48=32'] Exploring Operation: 29+32=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 29*32=928, Resulting Numbers: [928] 928,68 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,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,2,1 Current State: 68:[80, 19], Operations: ['84-36=48', '48-29=19'] Exploring Operation: 80+19=99, Resulting Numbers: [99] 99,68 unequal: No Solution Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 80*19=1520, Resulting Numbers: [1520] 1520,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,2,0 Current State: 68:[80, 77], Operations: ['84-36=48', '29+48=77'] Exploring Operation: 80+77=157, Resulting Numbers: [157] 157,68 unequal: No Solution Exploring Operation: 80*77=6160, Resulting Numbers: [6160] 6160,68 unequal: No Solution Exploring Operation: 80-77=3, Resulting Numbers: [3] 3,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:[36, 25], Operations: ['84-29=55', '80-55=25'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,68 unequal: No Solution Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[80, 19], Operations: ['84-29=55', '55-36=19'] Exploring Operation: 80+19=99, Resulting Numbers: [99] 99,68 unequal: No Solution Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 80*19=1520, Resulting Numbers: [1520] 1520,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[55, 44], Operations: ['84-29=55', '80-36=44'] Exploring Operation: 55*44=2420, Resulting Numbers: [2420] 2420,68 unequal: No Solution Exploring Operation: 55+44=99, Resulting Numbers: [99] 99,68 unequal: No Solution Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,68 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 70, 59, 51, 34 ]
86
[ "70+59=129", "34*129=4386", "4386/51=86" ]
Current State: 86:[70, 59, 51, 34], Operations: [] Exploring Operation: 70+59=129, Resulting Numbers: [51, 34, 129] Generated Node #2: [51, 34, 129] from Operation: 70+59=129 Current State: 86:[51, 34, 129], Operations: ['70+59=129'] Exploring Operation: 34*129=4386, Resulting Numbers: [51, 4386] Generated Node #3: [51, 4386] from Operation: 34*129=4386 Current State: 86:[51, 4386], Operations: ['70+59=129', '34*129=4386'] Exploring Operation: 4386/51=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[70, 59, 51, 34], Operations: [] Exploring Operation: 70-59=11, Resulting Numbers: [51, 34, 11] Generated Node #0,0: 86:[51, 34, 11] Operation: 70-59=11 Exploring Operation: 70-34=36, Resulting Numbers: [59, 51, 36] Generated Node #0,1: 86:[59, 51, 36] Operation: 70-34=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[51, 34, 11], Operations: ['70-59=11'] Exploring Operation: 34+11=45, Resulting Numbers: [51, 45] Generated Node #0,0,0: 86:[51, 45] Operation: 34+11=45 Exploring Operation: 51+34=85, Resulting Numbers: [11, 85] Generated Node #0,0,1: 86:[11, 85] Operation: 51+34=85 Moving to Node #0,0,0 Current State: 86:[51, 45], Operations: ['70-59=11', '34+11=45'] Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[11, 85], Operations: ['70-59=11', '51+34=85'] Exploring Operation: 11+85=96, Resulting Numbers: [96] 96,86 unequal: No Solution Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[59, 51, 36], Operations: ['70-34=36'] Exploring Operation: 59-51=8, Resulting Numbers: [36, 8] Generated Node #0,1,0: 86:[36, 8] Operation: 59-51=8 Exploring Operation: 59+36=95, Resulting Numbers: [51, 95] Generated Node #0,1,1: 86:[51, 95] Operation: 59+36=95 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[36, 8], Operations: ['70-34=36', '59-51=8'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[51, 95], Operations: ['70-34=36', '59+36=95'] Exploring Operation: 51+95=146, Resulting Numbers: [146] 146,86 unequal: No Solution Exploring Operation: 95-51=44, Resulting Numbers: [44] 44,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_2
sum_heuristic
[ 1, 23, 47, 10 ]
33
[ "1+23=24", "47+10=57", "57-24=33" ]
Current State: 33:[1, 23, 47, 10], Operations: [] Exploring Operation: 1+23=24, Resulting Numbers: [47, 10, 24] Generated Node #2: [47, 10, 24] from Operation: 1+23=24 Current State: 33:[47, 10, 24], Operations: ['1+23=24'] Exploring Operation: 47+10=57, Resulting Numbers: [24, 57] Generated Node #3: [24, 57] from Operation: 47+10=57 Current State: 33:[24, 57], Operations: ['1+23=24', '47+10=57'] Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[1, 23, 47, 10], Operations: [] Exploring Operation: 47-23=24, Resulting Numbers: [1, 10, 24] Generated Node #0,0: 33:[1, 10, 24] Operation: 47-23=24 Exploring Operation: 23+10=33, Resulting Numbers: [1, 47, 33] Generated Node #0,1: 33:[1, 47, 33] Operation: 23+10=33 Moving to Node #0,0 Current State: 33:[1, 10, 24], Operations: ['47-23=24'] Exploring Operation: 10+24=34, Resulting Numbers: [1, 34] Generated Node #0,0,0: 33:[1, 34] Operation: 10+24=34 Exploring Operation: 24-10=14, Resulting Numbers: [1, 14] Generated Node #0,0,1: 33:[1, 14] Operation: 24-10=14 Moving to Node #0,1 Current State: 33:[1, 47, 33], Operations: ['23+10=33'] Exploring Operation: 47-1=46, Resulting Numbers: [33, 46] Generated Node #0,1,0: 33:[33, 46] Operation: 47-1=46 Exploring Operation: 47-33=14, Resulting Numbers: [1, 14] Generated Node #0,1,1: 33:[1, 14] Operation: 47-33=14 Moving to Node #0,0,0 Current State: 33:[1, 34], Operations: ['47-23=24', '10+24=34'] Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[1, 23, 47, 10], Operations: [] Exploring Operation: 47-23=24, Resulting Numbers: [1, 10, 24] Generated Node #0,0: 33:[1, 10, 24] Operation: 47-23=24 Moving to Node #0,0 Current State: 33:[1, 10, 24], Operations: ['47-23=24'] Exploring Operation: 10+24=34, Resulting Numbers: [1, 34] Generated Node #0,0,0: 33:[1, 34] Operation: 10+24=34 Moving to Node #0,0,0 Current State: 33:[1, 34], Operations: ['47-23=24', '10+24=34'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 77, 1, 1, 56 ]
20
[ "77*1=77", "1+56=57", "77-57=20" ]
Current State: 20:[77, 1, 1, 56], Operations: [] Exploring Operation: 77*1=77, Resulting Numbers: [56, 77] Generated Node #2: [56, 77] from Operation: 77*1=77 Current State: 20:[56, 77], Operations: ['77*1=77'] Exploring Operation: 1+56=57, Resulting Numbers: [77, 57] Generated Node #3: [77, 57] from Operation: 1+56=57 Current State: 20:[77, 57], Operations: ['77*1=77', '1+56=57'] Exploring Operation: 77-57=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[77, 1, 1, 56], Operations: [] Exploring Operation: 77-56=21, Resulting Numbers: [1, 1, 21] Generated Node #0,0: 20:[1, 1, 21] Operation: 77-56=21 Exploring Operation: 77-1=76, Resulting Numbers: [1, 56, 76] Generated Node #0,1: 20:[1, 56, 76] Operation: 77-1=76 Exploring Operation: 77-1=76, Resulting Numbers: [1, 56, 76] Generated Node #0,2: 20:[1, 56, 76] Operation: 77-1=76 Moving to Node #0,0 Current State: 20:[1, 1, 21], Operations: ['77-56=21'] Exploring Operation: 21-1=20, Resulting Numbers: [1, 20] Generated Node #0,0,0: 20:[1, 20] Operation: 21-1=20 Exploring Operation: 1+1=2, Resulting Numbers: [21, 2] Generated Node #0,0,1: 20:[21, 2] Operation: 1+1=2 Exploring Operation: 21-1=20, Resulting Numbers: [1, 20] Generated Node #0,0,2: 20:[1, 20] Operation: 21-1=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[1, 20], Operations: ['77-56=21', '21-1=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[77, 1, 1, 56], Operations: [] Exploring Operation: 77-56=21, Resulting Numbers: [1, 1, 21] Generated Node #0,0: 20:[1, 1, 21] Operation: 77-56=21 Moving to Node #0,0 Current State: 20:[1, 1, 21], Operations: ['77-56=21'] Exploring Operation: 21-1=20, Resulting Numbers: [1, 20] Generated Node #0,0,0: 20:[1, 20] Operation: 21-1=20 Moving to Node #0,0,0 Current State: 20:[1, 20], Operations: ['77-56=21', '21-1=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 99, 4, 44, 87 ]
36
[ "99-4=95", "44+87=131", "131-95=36" ]
Current State: 36:[99, 4, 44, 87], Operations: [] Exploring Operation: 99-4=95, Resulting Numbers: [44, 87, 95] Generated Node #2: [44, 87, 95] from Operation: 99-4=95 Current State: 36:[44, 87, 95], Operations: ['99-4=95'] Exploring Operation: 44+87=131, Resulting Numbers: [95, 131] Generated Node #3: [95, 131] from Operation: 44+87=131 Current State: 36:[95, 131], Operations: ['99-4=95', '44+87=131'] Exploring Operation: 131-95=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[99, 4, 44, 87], Operations: [] Exploring Operation: 99-87=12, Resulting Numbers: [4, 44, 12] Generated Node #0,0: 36:[4, 44, 12] Operation: 99-87=12 Moving to Node #0,0 Current State: 36:[4, 44, 12], Operations: ['99-87=12'] Exploring Operation: 44/4=11, Resulting Numbers: [12, 11] Generated Node #0,0,0: 36:[12, 11] Operation: 44/4=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[12, 11], Operations: ['99-87=12', '44/4=11'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,36 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
[ 66, 23, 13, 40 ]
16
[ "66-23=43", "40-13=27", "43-27=16" ]
Current State: 16:[66, 23, 13, 40], Operations: [] Exploring Operation: 66-23=43, Resulting Numbers: [13, 40, 43] Generated Node #2: [13, 40, 43] from Operation: 66-23=43 Current State: 16:[13, 40, 43], Operations: ['66-23=43'] Exploring Operation: 40-13=27, Resulting Numbers: [43, 27] Generated Node #3: [43, 27] from Operation: 40-13=27 Current State: 16:[43, 27], Operations: ['66-23=43', '40-13=27'] Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[66, 23, 13, 40], Operations: [] Exploring Operation: 66-40=26, Resulting Numbers: [23, 13, 26] Generated Node #0,0: 16:[23, 13, 26] Operation: 66-40=26 Exploring Operation: 66-23=43, Resulting Numbers: [13, 40, 43] Generated Node #0,1: 16:[13, 40, 43] Operation: 66-23=43 Exploring Operation: 40-23=17, Resulting Numbers: [66, 13, 17] Generated Node #0,2: 16:[66, 13, 17] Operation: 40-23=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[23, 13, 26], Operations: ['66-40=26'] Exploring Operation: 26-13=13, Resulting Numbers: [23, 13] Generated Node #0,0,0: 16:[23, 13] Operation: 26-13=13 Exploring Operation: 26-23=3, Resulting Numbers: [13, 3] Generated Node #0,0,1: 16:[13, 3] Operation: 26-23=3 Exploring Operation: 26/13=2, Resulting Numbers: [23, 2] Generated Node #0,0,2: 16:[23, 2] Operation: 26/13=2 Moving to Node #0,0,1 Current State: 16:[13, 3], Operations: ['66-40=26', '26-23=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[66, 23, 13, 40], Operations: [] Exploring Operation: 66-40=26, Resulting Numbers: [23, 13, 26] Generated Node #0,0: 16:[23, 13, 26] Operation: 66-40=26 Moving to Node #0,0 Current State: 16:[23, 13, 26], Operations: ['66-40=26'] Exploring Operation: 26-23=3, Resulting Numbers: [13, 3] Generated Node #0,0,1: 16:[13, 3] Operation: 26-23=3 Moving to Node #0,0,1 Current State: 16:[13, 3], Operations: ['66-40=26', '26-23=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 44, 11, 11, 95 ]
29
[ "44+11=55", "95-11=84", "84-55=29" ]
Current State: 29:[44, 11, 11, 95], Operations: [] Exploring Operation: 44+11=55, Resulting Numbers: [95, 55] Generated Node #2: [95, 55] from Operation: 44+11=55 Current State: 29:[95, 55], Operations: ['44+11=55'] Exploring Operation: 95-11=84, Resulting Numbers: [55, 84] Generated Node #3: [55, 84] from Operation: 95-11=84 Current State: 29:[55, 84], Operations: ['44+11=55', '95-11=84'] Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[44, 11, 11, 95], Operations: [] Exploring Operation: 44-11=33, Resulting Numbers: [11, 95, 33] Generated Node #0,0: 29:[11, 95, 33] Operation: 44-11=33 Exploring Operation: 95-44=51, Resulting Numbers: [11, 11, 51] Generated Node #0,1: 29:[11, 11, 51] Operation: 95-44=51 Exploring Operation: 44-11=33, Resulting Numbers: [11, 95, 33] Generated Node #0,2: 29:[11, 95, 33] Operation: 44-11=33 Exploring Operation: 11+11=22, Resulting Numbers: [44, 95, 22] Generated Node #0,3: 29:[44, 95, 22] Operation: 11+11=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[11, 11, 51], Operations: ['95-44=51'] Exploring Operation: 51-11=40, Resulting Numbers: [11, 40] Generated Node #0,1,0: 29:[11, 40] Operation: 51-11=40 Exploring Operation: 51-11=40, Resulting Numbers: [11, 40] Generated Node #0,1,1: 29:[11, 40] Operation: 51-11=40 Exploring Operation: 11/11=1, Resulting Numbers: [51, 1] Generated Node #0,1,2: 29:[51, 1] Operation: 11/11=1 Exploring Operation: 11+11=22, Resulting Numbers: [51, 22] Generated Node #0,1,3: 29:[51, 22] Operation: 11+11=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[11, 40], Operations: ['95-44=51', '51-11=40'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[44, 11, 11, 95], Operations: [] Exploring Operation: 95-44=51, Resulting Numbers: [11, 11, 51] Generated Node #0,1: 29:[11, 11, 51] Operation: 95-44=51 Moving to Node #0,1 Current State: 29:[11, 11, 51], Operations: ['95-44=51'] Exploring Operation: 51-11=40, Resulting Numbers: [11, 40] Generated Node #0,1,0: 29:[11, 40] Operation: 51-11=40 Moving to Node #0,1,0 Current State: 29:[11, 40], Operations: ['95-44=51', '51-11=40'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 8, 13, 51, 46 ]
53
[ "51-46=5", "8*5=40", "13+40=53" ]
Current State: 53:[8, 13, 51, 46], Operations: [] Exploring Operation: 51-46=5, Resulting Numbers: [8, 13, 5] Generated Node #2: [8, 13, 5] from Operation: 51-46=5 Current State: 53:[8, 13, 5], Operations: ['51-46=5'] Exploring Operation: 8*5=40, Resulting Numbers: [13, 40] Generated Node #3: [13, 40] from Operation: 8*5=40 Current State: 53:[13, 40], Operations: ['51-46=5', '8*5=40'] Exploring Operation: 13+40=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[8, 13, 51, 46], Operations: [] Exploring Operation: 8+46=54, Resulting Numbers: [13, 51, 54] Generated Node #0,0: 53:[13, 51, 54] Operation: 8+46=54 Exploring Operation: 8+51=59, Resulting Numbers: [13, 46, 59] Generated Node #0,1: 53:[13, 46, 59] Operation: 8+51=59 Exploring Operation: 8+13=21, Resulting Numbers: [51, 46, 21] Generated Node #0,2: 53:[51, 46, 21] Operation: 8+13=21 Moving to Node #0,2 Current State: 53:[51, 46, 21], Operations: ['8+13=21'] Exploring Operation: 46+21=67, Resulting Numbers: [51, 67] Generated Node #0,2,0: 53:[51, 67] Operation: 46+21=67 Exploring Operation: 51-21=30, Resulting Numbers: [46, 30] Generated Node #0,2,1: 53:[46, 30] Operation: 51-21=30 Exploring Operation: 51+21=72, Resulting Numbers: [46, 72] Generated Node #0,2,2: 53:[46, 72] Operation: 51+21=72 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[51, 67], Operations: ['8+13=21', '46+21=67'] Exploring Operation: 51+67=118, Resulting Numbers: [118] 118,53 unequal: No Solution Exploring Operation: 67-51=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 51*67=3417, Resulting Numbers: [3417] 3417,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[46, 72], Operations: ['8+13=21', '51+21=72'] Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,53 unequal: No Solution Exploring Operation: 46+72=118, Resulting Numbers: [118] 118,53 unequal: No Solution Exploring Operation: 46*72=3312, Resulting Numbers: [3312] 3312,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[46, 30], Operations: ['8+13=21', '51-21=30'] Exploring Operation: 46*30=1380, Resulting Numbers: [1380] 1380,53 unequal: No Solution Exploring Operation: 46+30=76, Resulting Numbers: [76] 76,53 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,53 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: 53:[13, 51, 54], Operations: ['8+46=54'] Exploring Operation: 51-13=38, Resulting Numbers: [54, 38] Generated Node #0,0,0: 53:[54, 38] Operation: 51-13=38 Exploring Operation: 13+51=64, Resulting Numbers: [54, 64] Generated Node #0,0,1: 53:[54, 64] Operation: 13+51=64 Exploring Operation: 54-13=41, Resulting Numbers: [51, 41] Generated Node #0,0,2: 53:[51, 41] Operation: 54-13=41 Moving to Node #0,1 Current State: 53:[13, 46, 59], Operations: ['8+51=59'] Exploring Operation: 13+46=59, Resulting Numbers: [59, 59] Generated Node #0,1,0: 53:[59, 59] Operation: 13+46=59 Exploring Operation: 46-13=33, Resulting Numbers: [59, 33] Generated Node #0,1,1: 53:[59, 33] Operation: 46-13=33 Exploring Operation: 59-13=46, Resulting Numbers: [46, 46] Generated Node #0,1,2: 53:[46, 46] Operation: 59-13=46 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[59, 59], Operations: ['8+51=59', '13+46=59'] Exploring Operation: 59/59=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 59+59=118, Resulting Numbers: [118] 118,53 unequal: No Solution Exploring Operation: 59-59=0, Resulting Numbers: [0] 0,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,2 Current State: 53:[46, 46], Operations: ['8+51=59', '59-13=46'] Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,53 unequal: No Solution Exploring Operation: 46-46=0, Resulting Numbers: [0] 0,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:[59, 33], Operations: ['8+51=59', '46-13=33'] Exploring Operation: 59+33=92, Resulting Numbers: [92] 92,53 unequal: No Solution Exploring Operation: 59*33=1947, Resulting Numbers: [1947] 1947,53 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,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:[54, 64], Operations: ['8+46=54', '13+51=64'] Exploring Operation: 54*64=3456, Resulting Numbers: [3456] 3456,53 unequal: No Solution Exploring Operation: 54+64=118, Resulting Numbers: [118] 118,53 unequal: No Solution Exploring Operation: 64-54=10, Resulting Numbers: [10] 10,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[51, 41], Operations: ['8+46=54', '54-13=41'] Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,53 unequal: No Solution Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,53 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[54, 38], Operations: ['8+46=54', '51-13=38'] Exploring Operation: 54+38=92, Resulting Numbers: [92] 92,53 unequal: No Solution Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 54*38=2052, Resulting Numbers: [2052] 2052,53 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 70, 24, 22, 98 ]
88
[ "70+24=94", "98-94=4", "22*4=88" ]
Current State: 88:[70, 24, 22, 98], Operations: [] Exploring Operation: 70+24=94, Resulting Numbers: [22, 98, 94] Generated Node #2: [22, 98, 94] from Operation: 70+24=94 Current State: 88:[22, 98, 94], Operations: ['70+24=94'] Exploring Operation: 98-94=4, Resulting Numbers: [22, 4] Generated Node #3: [22, 4] from Operation: 98-94=4 Current State: 88:[22, 4], Operations: ['70+24=94', '98-94=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[70, 24, 22, 98], Operations: [] Exploring Operation: 70+24=94, Resulting Numbers: [22, 98, 94] Generated Node #0,0: 88:[22, 98, 94] Operation: 70+24=94 Exploring Operation: 70-24=46, Resulting Numbers: [22, 98, 46] Generated Node #0,1: 88:[22, 98, 46] Operation: 70-24=46 Exploring Operation: 98-70=28, Resulting Numbers: [24, 22, 28] Generated Node #0,2: 88:[24, 22, 28] Operation: 98-70=28 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[24, 22, 28], Operations: ['98-70=28'] Exploring Operation: 28-24=4, Resulting Numbers: [22, 4] Generated Node #0,2,0: 88:[22, 4] Operation: 28-24=4 Exploring Operation: 28-22=6, Resulting Numbers: [24, 6] Generated Node #0,2,1: 88:[24, 6] Operation: 28-22=6 Exploring Operation: 24-22=2, Resulting Numbers: [28, 2] Generated Node #0,2,2: 88:[28, 2] Operation: 24-22=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[22, 4], Operations: ['98-70=28', '28-24=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[70, 24, 22, 98], Operations: [] Exploring Operation: 98-70=28, Resulting Numbers: [24, 22, 28] Generated Node #0,2: 88:[24, 22, 28] Operation: 98-70=28 Moving to Node #0,2 Current State: 88:[24, 22, 28], Operations: ['98-70=28'] Exploring Operation: 28-24=4, Resulting Numbers: [22, 4] Generated Node #0,2,0: 88:[22, 4] Operation: 28-24=4 Moving to Node #0,2,0 Current State: 88:[22, 4], Operations: ['98-70=28', '28-24=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 93, 6, 44, 8 ]
60
[ "6*44=264", "264/8=33", "93-33=60" ]
Current State: 60:[93, 6, 44, 8], Operations: [] Exploring Operation: 6*44=264, Resulting Numbers: [93, 8, 264] Generated Node #2: [93, 8, 264] from Operation: 6*44=264 Current State: 60:[93, 8, 264], Operations: ['6*44=264'] Exploring Operation: 264/8=33, Resulting Numbers: [93, 33] Generated Node #3: [93, 33] from Operation: 264/8=33 Current State: 60:[93, 33], Operations: ['6*44=264', '264/8=33'] Exploring Operation: 93-33=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[93, 6, 44, 8], Operations: [] Exploring Operation: 44-8=36, Resulting Numbers: [93, 6, 36] Generated Node #0,0: 60:[93, 6, 36] Operation: 44-8=36 Exploring Operation: 93-44=49, Resulting Numbers: [6, 8, 49] Generated Node #0,1: 60:[6, 8, 49] Operation: 93-44=49 Exploring Operation: 44+8=52, Resulting Numbers: [93, 6, 52] Generated Node #0,2: 60:[93, 6, 52] Operation: 44+8=52 Exploring Operation: 93-8=85, Resulting Numbers: [6, 44, 85] Generated Node #0,3: 60:[6, 44, 85] Operation: 93-8=85 Moving to Node #0,1 Current State: 60:[6, 8, 49], Operations: ['93-44=49'] Exploring Operation: 49-8=41, Resulting Numbers: [6, 41] Generated Node #0,1,0: 60:[6, 41] Operation: 49-8=41 Exploring Operation: 8-6=2, Resulting Numbers: [49, 2] Generated Node #0,1,1: 60:[49, 2] Operation: 8-6=2 Exploring Operation: 6+49=55, Resulting Numbers: [8, 55] Generated Node #0,1,2: 60:[8, 55] Operation: 6+49=55 Exploring Operation: 8+49=57, Resulting Numbers: [6, 57] Generated Node #0,1,3: 60:[6, 57] Operation: 8+49=57 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 60:[6, 57], Operations: ['93-44=49', '8+49=57'] Exploring Operation: 6*57=342, Resulting Numbers: [342] 342,60 unequal: No Solution Exploring Operation: 6+57=63, Resulting Numbers: [63] 63,60 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 60:[8, 55], Operations: ['93-44=49', '6+49=55'] Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,60 unequal: No Solution Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,60 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[6, 41], Operations: ['93-44=49', '49-8=41'] Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[49, 2], Operations: ['93-44=49', '8-6=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,60 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,60 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: 60:[6, 44, 85], Operations: ['93-8=85'] Exploring Operation: 44-6=38, Resulting Numbers: [85, 38] Generated Node #0,3,0: 60:[85, 38] Operation: 44-6=38 Exploring Operation: 6+44=50, Resulting Numbers: [85, 50] Generated Node #0,3,1: 60:[85, 50] Operation: 6+44=50 Exploring Operation: 85-44=41, Resulting Numbers: [6, 41] Generated Node #0,3,2: 60:[6, 41] Operation: 85-44=41 Exploring Operation: 85-6=79, Resulting Numbers: [44, 79] Generated Node #0,3,3: 60:[44, 79] Operation: 85-6=79 Moving to Node #0,0 Current State: 60:[93, 6, 36], Operations: ['44-8=36'] Exploring Operation: 36-6=30, Resulting Numbers: [93, 30] Generated Node #0,0,0: 60:[93, 30] Operation: 36-6=30 Exploring Operation: 36/6=6, Resulting Numbers: [93, 6] Generated Node #0,0,1: 60:[93, 6] Operation: 36/6=6 Exploring Operation: 93-6=87, Resulting Numbers: [36, 87] Generated Node #0,0,2: 60:[36, 87] Operation: 93-6=87 Exploring Operation: 93-36=57, Resulting Numbers: [6, 57] Generated Node #0,0,3: 60:[6, 57] Operation: 93-36=57 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 60:[6, 57], Operations: ['44-8=36', '93-36=57'] Exploring Operation: 6*57=342, Resulting Numbers: [342] 342,60 unequal: No Solution Exploring Operation: 6+57=63, Resulting Numbers: [63] 63,60 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[93, 30], Operations: ['44-8=36', '36-6=30'] Exploring Operation: 93-30=63, Resulting Numbers: [63] 63,60 unequal: No Solution Exploring Operation: 93*30=2790, Resulting Numbers: [2790] 2790,60 unequal: No Solution Exploring Operation: 93+30=123, Resulting Numbers: [123] 123,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[93, 6], Operations: ['44-8=36', '36/6=6'] Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,60 unequal: No Solution Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 93*6=558, Resulting Numbers: [558] 558,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 60:[36, 87], Operations: ['44-8=36', '93-6=87'] Exploring Operation: 36+87=123, Resulting Numbers: [123] 123,60 unequal: No Solution Exploring Operation: 36*87=3132, Resulting Numbers: [3132] 3132,60 unequal: No Solution Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,60 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: 60:[93, 6, 52], Operations: ['44+8=52'] Exploring Operation: 93-6=87, Resulting Numbers: [52, 87] Generated Node #0,2,0: 60:[52, 87] Operation: 93-6=87 Exploring Operation: 93+6=99, Resulting Numbers: [52, 99] Generated Node #0,2,1: 60:[52, 99] Operation: 93+6=99 Exploring Operation: 93-52=41, Resulting Numbers: [6, 41] Generated Node #0,2,2: 60:[6, 41] Operation: 93-52=41 Exploring Operation: 6+52=58, Resulting Numbers: [93, 58] Generated Node #0,2,3: 60:[93, 58] Operation: 6+52=58 Moving to Node #0,3,2 Current State: 60:[6, 41], Operations: ['93-8=85', '85-44=41'] Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,60 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[6, 41], Operations: ['44+8=52', '93-52=41'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,60 unequal: No Solution Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[44, 79], Operations: ['93-8=85', '85-6=79'] Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 44*79=3476, Resulting Numbers: [3476] 3476,60 unequal: No Solution Exploring Operation: 44+79=123, Resulting Numbers: [123] 123,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[85, 38], Operations: ['93-8=85', '44-6=38'] Exploring Operation: 85*38=3230, Resulting Numbers: [3230] 3230,60 unequal: No Solution Exploring Operation: 85+38=123, Resulting Numbers: [123] 123,60 unequal: No Solution Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[52, 87], Operations: ['44+8=52', '93-6=87'] Exploring Operation: 52+87=139, Resulting Numbers: [139] 139,60 unequal: No Solution Exploring Operation: 52*87=4524, Resulting Numbers: [4524] 4524,60 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[85, 50], Operations: ['93-8=85', '6+44=50'] Exploring Operation: 85-50=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 85*50=4250, Resulting Numbers: [4250] 4250,60 unequal: No Solution Exploring Operation: 85+50=135, Resulting Numbers: [135] 135,60 unequal: No Solution Moving to Node #0,2,3 Current State: 60:[93, 58], Operations: ['44+8=52', '6+52=58'] Exploring Operation: 93+58=151, Resulting Numbers: [151] 151,60 unequal: No Solution Exploring Operation: 93-58=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 93*58=5394, Resulting Numbers: [5394] 5394,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[52, 99], Operations: ['44+8=52', '93+6=99'] Exploring Operation: 52*99=5148, Resulting Numbers: [5148] 5148,60 unequal: No Solution Exploring Operation: 52+99=151, Resulting Numbers: [151] 151,60 unequal: No Solution Exploring Operation: 99-52=47, Resulting Numbers: [47] 47,60 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 11, 46, 17, 26 ]
53
[ "26-17=9", "11*9=99", "99-46=53" ]
Current State: 53:[11, 46, 17, 26], Operations: [] Exploring Operation: 26-17=9, Resulting Numbers: [11, 46, 9] Generated Node #2: [11, 46, 9] from Operation: 26-17=9 Current State: 53:[11, 46, 9], Operations: ['26-17=9'] Exploring Operation: 11*9=99, Resulting Numbers: [46, 99] Generated Node #3: [46, 99] from Operation: 11*9=99 Current State: 53:[46, 99], Operations: ['26-17=9', '11*9=99'] Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[11, 46, 17, 26], Operations: [] Exploring Operation: 11+17=28, Resulting Numbers: [46, 26, 28] Generated Node #0,0: 53:[46, 26, 28] Operation: 11+17=28 Exploring Operation: 11+26=37, Resulting Numbers: [46, 17, 37] Generated Node #0,1: 53:[46, 17, 37] Operation: 11+26=37 Moving to Node #0,0 Current State: 53:[46, 26, 28], Operations: ['11+17=28'] Exploring Operation: 26+28=54, Resulting Numbers: [46, 54] Generated Node #0,0,0: 53:[46, 54] Operation: 26+28=54 Exploring Operation: 46+26=72, Resulting Numbers: [28, 72] Generated Node #0,0,1: 53:[28, 72] Operation: 46+26=72 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[46, 54], Operations: ['11+17=28', '26+28=54'] Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[28, 72], Operations: ['11+17=28', '46+26=72'] Exploring Operation: 28+72=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 53:[46, 17, 37], Operations: ['11+26=37'] Exploring Operation: 17+37=54, Resulting Numbers: [46, 54] Generated Node #0,1,0: 53:[46, 54] Operation: 17+37=54 Exploring Operation: 46+17=63, Resulting Numbers: [37, 63] Generated Node #0,1,1: 53:[37, 63] Operation: 46+17=63 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[46, 54], Operations: ['11+26=37', '17+37=54'] Exploring Operation: 46+54=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[37, 63], Operations: ['11+26=37', '46+17=63'] Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,53 unequal: No Solution Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,53 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
[ 5, 85, 31, 2 ]
44
[ "5*2=10", "85-31=54", "54-10=44" ]
Current State: 44:[5, 85, 31, 2], Operations: [] Exploring Operation: 5*2=10, Resulting Numbers: [85, 31, 10] Generated Node #2: [85, 31, 10] from Operation: 5*2=10 Current State: 44:[85, 31, 10], Operations: ['5*2=10'] Exploring Operation: 85-31=54, Resulting Numbers: [10, 54] Generated Node #3: [10, 54] from Operation: 85-31=54 Current State: 44:[10, 54], Operations: ['5*2=10', '85-31=54'] Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[5, 85, 31, 2], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [31, 2, 17] Generated Node #0,0: 44:[31, 2, 17] Operation: 85/5=17 Exploring Operation: 85-31=54, Resulting Numbers: [5, 2, 54] Generated Node #0,1: 44:[5, 2, 54] Operation: 85-31=54 Moving to Node #0,1 Current State: 44:[5, 2, 54], Operations: ['85-31=54'] Exploring Operation: 54-5=49, Resulting Numbers: [2, 49] Generated Node #0,1,0: 44:[2, 49] Operation: 54-5=49 Exploring Operation: 54/2=27, Resulting Numbers: [5, 27] Generated Node #0,1,1: 44:[5, 27] Operation: 54/2=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[2, 49], Operations: ['85-31=54', '54-5=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,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,1,1 Current State: 44:[5, 27], Operations: ['85-31=54', '54/2=27'] Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,44 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: 44:[31, 2, 17], Operations: ['85/5=17'] Exploring Operation: 31+17=48, Resulting Numbers: [2, 48] Generated Node #0,0,0: 44:[2, 48] Operation: 31+17=48 Exploring Operation: 31-17=14, Resulting Numbers: [2, 14] Generated Node #0,0,1: 44:[2, 14] Operation: 31-17=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[2, 14], Operations: ['85/5=17', '31-17=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,44 unequal: No Solution No 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: 44:[2, 48], Operations: ['85/5=17', '31+17=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,44 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
[ 72, 3, 57, 16 ]
33
[ "72-57=15", "3*16=48", "48-15=33" ]
Current State: 33:[72, 3, 57, 16], Operations: [] Exploring Operation: 72-57=15, Resulting Numbers: [3, 16, 15] Generated Node #2: [3, 16, 15] from Operation: 72-57=15 Current State: 33:[3, 16, 15], Operations: ['72-57=15'] Exploring Operation: 3*16=48, Resulting Numbers: [15, 48] Generated Node #3: [15, 48] from Operation: 3*16=48 Current State: 33:[15, 48], Operations: ['72-57=15', '3*16=48'] Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[72, 3, 57, 16], Operations: [] Exploring Operation: 72/3=24, Resulting Numbers: [57, 16, 24] Generated Node #0,0: 33:[57, 16, 24] Operation: 72/3=24 Exploring Operation: 72-57=15, Resulting Numbers: [3, 16, 15] Generated Node #0,1: 33:[3, 16, 15] Operation: 72-57=15 Moving to Node #0,1 Current State: 33:[3, 16, 15], Operations: ['72-57=15'] Exploring Operation: 16+15=31, Resulting Numbers: [3, 31] Generated Node #0,1,0: 33:[3, 31] Operation: 16+15=31 Exploring Operation: 16-15=1, Resulting Numbers: [3, 1] Generated Node #0,1,1: 33:[3, 1] Operation: 16-15=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[3, 31], Operations: ['72-57=15', '16+15=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[3, 1], Operations: ['72-57=15', '16-15=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 33:[57, 16, 24], Operations: ['72/3=24'] Exploring Operation: 57-16=41, Resulting Numbers: [24, 41] Generated Node #0,0,0: 33:[24, 41] Operation: 57-16=41 Exploring Operation: 57-24=33, Resulting Numbers: [16, 33] Generated Node #0,0,1: 33:[16, 33] Operation: 57-24=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[16, 33], Operations: ['72/3=24', '57-24=33'] Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,33 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[24, 41], Operations: ['72/3=24', '57-16=41'] Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,33 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
[ 85, 58, 67, 30 ]
64
[ "85-58=27", "67-30=37", "27+37=64" ]
Current State: 64:[85, 58, 67, 30], Operations: [] Exploring Operation: 85-58=27, Resulting Numbers: [67, 30, 27] Generated Node #2: [67, 30, 27] from Operation: 85-58=27 Current State: 64:[67, 30, 27], Operations: ['85-58=27'] Exploring Operation: 67-30=37, Resulting Numbers: [27, 37] Generated Node #3: [27, 37] from Operation: 67-30=37 Current State: 64:[27, 37], Operations: ['85-58=27', '67-30=37'] Exploring Operation: 27+37=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[85, 58, 67, 30], Operations: [] Exploring Operation: 85-58=27, Resulting Numbers: [67, 30, 27] Generated Node #0,0: 64:[67, 30, 27] Operation: 85-58=27 Moving to Node #0,0 Current State: 64:[67, 30, 27], Operations: ['85-58=27'] Exploring Operation: 30-27=3, Resulting Numbers: [67, 3] Generated Node #0,0,0: 64:[67, 3] Operation: 30-27=3 Moving to Node #0,0,0 Current State: 64:[67, 3], Operations: ['85-58=27', '30-27=3'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[85, 58, 67, 30], Operations: [] Exploring Operation: 85-58=27, Resulting Numbers: [67, 30, 27] Generated Node #0,0: 64:[67, 30, 27] Operation: 85-58=27 Moving to Node #0,0 Current State: 64:[67, 30, 27], Operations: ['85-58=27'] Exploring Operation: 30-27=3, Resulting Numbers: [67, 3] Generated Node #0,0,0: 64:[67, 3] Operation: 30-27=3 Moving to Node #0,0,0 Current State: 64:[67, 3], Operations: ['85-58=27', '30-27=3'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 62, 11, 60, 72 ]
74
[ "60+72=132", "132/11=12", "62+12=74" ]
Current State: 74:[62, 11, 60, 72], Operations: [] Exploring Operation: 60+72=132, Resulting Numbers: [62, 11, 132] Generated Node #2: [62, 11, 132] from Operation: 60+72=132 Current State: 74:[62, 11, 132], Operations: ['60+72=132'] Exploring Operation: 132/11=12, Resulting Numbers: [62, 12] Generated Node #3: [62, 12] from Operation: 132/11=12 Current State: 74:[62, 12], Operations: ['60+72=132', '132/11=12'] Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[62, 11, 60, 72], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [11, 72, 2] Generated Node #0,0: 74:[11, 72, 2] Operation: 62-60=2 Exploring Operation: 11+60=71, Resulting Numbers: [62, 72, 71] Generated Node #0,1: 74:[62, 72, 71] Operation: 11+60=71 Exploring Operation: 62+11=73, Resulting Numbers: [60, 72, 73] Generated Node #0,2: 74:[60, 72, 73] Operation: 62+11=73 Exploring Operation: 60-11=49, Resulting Numbers: [62, 72, 49] Generated Node #0,3: 74:[62, 72, 49] Operation: 60-11=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[11, 72, 2], Operations: ['62-60=2'] Exploring Operation: 11-2=9, Resulting Numbers: [72, 9] Generated Node #0,0,0: 74:[72, 9] Operation: 11-2=9 Exploring Operation: 11+72=83, Resulting Numbers: [2, 83] Generated Node #0,0,1: 74:[2, 83] Operation: 11+72=83 Exploring Operation: 72+2=74, Resulting Numbers: [11, 74] Generated Node #0,0,2: 74:[11, 74] Operation: 72+2=74 Exploring Operation: 72/2=36, Resulting Numbers: [11, 36] Generated Node #0,0,3: 74:[11, 36] Operation: 72/2=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[72, 9], Operations: ['62-60=2', '11-2=9'] Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 72*9=648, Resulting Numbers: [648] 648,74 unequal: No Solution Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,74 unequal: No Solution No 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: 74:[2, 83], Operations: ['62-60=2', '11+72=83'] Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,74 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 2*83=166, Resulting Numbers: [166] 166,74 unequal: No Solution No 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: 74:[11, 74], Operations: ['62-60=2', '72+2=74'] Exploring Operation: 11+74=85, Resulting Numbers: [85] 85,74 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 11*74=814, Resulting Numbers: [814] 814,74 unequal: No Solution No 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: 74:[11, 36], Operations: ['62-60=2', '72/2=36'] Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,74 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: 74:[62, 72, 71], Operations: ['11+60=71'] Exploring Operation: 72-71=1, Resulting Numbers: [62, 1] Generated Node #0,1,0: 74:[62, 1] Operation: 72-71=1 Exploring Operation: 72-62=10, Resulting Numbers: [71, 10] Generated Node #0,1,1: 74:[71, 10] Operation: 72-62=10 Exploring Operation: 62+71=133, Resulting Numbers: [72, 133] Generated Node #0,1,2: 74:[72, 133] Operation: 62+71=133 Exploring Operation: 71-62=9, Resulting Numbers: [72, 9] Generated Node #0,1,3: 74:[72, 9] Operation: 71-62=9 Moving to Node #0,1,3 Current State: 74:[72, 9], Operations: ['11+60=71', '71-62=9'] Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 72*9=648, Resulting Numbers: [648] 648,74 unequal: No Solution Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[71, 10], Operations: ['11+60=71', '72-62=10'] Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 71*10=710, Resulting Numbers: [710] 710,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[62, 1], Operations: ['11+60=71', '72-71=1'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[72, 133], Operations: ['11+60=71', '62+71=133'] Exploring Operation: 72*133=9576, Resulting Numbers: [9576] 9576,74 unequal: No Solution Exploring Operation: 133-72=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 72+133=205, Resulting Numbers: [205] 205,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 Current State: 74:[60, 72, 73], Operations: ['62+11=73'] Exploring Operation: 60+72=132, Resulting Numbers: [73, 132] Generated Node #0,2,0: 74:[73, 132] Operation: 60+72=132 Exploring Operation: 73-60=13, Resulting Numbers: [72, 13] Generated Node #0,2,1: 74:[72, 13] Operation: 73-60=13 Exploring Operation: 73-72=1, Resulting Numbers: [60, 1] Generated Node #0,2,2: 74:[60, 1] Operation: 73-72=1 Exploring Operation: 72-60=12, Resulting Numbers: [73, 12] Generated Node #0,2,3: 74:[73, 12] Operation: 72-60=12 Moving to Node #0,2,3 Current State: 74:[73, 12], Operations: ['62+11=73', '72-60=12'] Exploring Operation: 73*12=876, Resulting Numbers: [876] 876,74 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[72, 13], Operations: ['62+11=73', '73-60=13'] Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,74 unequal: No Solution Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,74 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[60, 1], Operations: ['62+11=73', '73-72=1'] Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 60+1=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 60*1=60, Resulting Numbers: [60] 60,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[73, 132], Operations: ['62+11=73', '60+72=132'] Exploring Operation: 132-73=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 73+132=205, Resulting Numbers: [205] 205,74 unequal: No Solution Exploring Operation: 73*132=9636, Resulting Numbers: [9636] 9636,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 Current State: 74:[62, 72, 49], Operations: ['60-11=49'] Exploring Operation: 72-49=23, Resulting Numbers: [62, 23] Generated Node #0,3,0: 74:[62, 23] Operation: 72-49=23 Exploring Operation: 62+49=111, Resulting Numbers: [72, 111] Generated Node #0,3,1: 74:[72, 111] Operation: 62+49=111 Exploring Operation: 62-49=13, Resulting Numbers: [72, 13] Generated Node #0,3,2: 74:[72, 13] Operation: 62-49=13 Exploring Operation: 72-62=10, Resulting Numbers: [49, 10] Generated Node #0,3,3: 74:[49, 10] Operation: 72-62=10 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 74:[72, 13], Operations: ['60-11=49', '62-49=13'] Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,74 unequal: No Solution Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,74 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,74 unequal: No Solution No 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: 74:[49, 10], Operations: ['60-11=49', '72-62=10'] Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,74 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,74 unequal: No Solution No 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: 74:[62, 23], Operations: ['60-11=49', '72-49=23'] Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,74 unequal: No Solution Exploring Operation: 62*23=1426, Resulting Numbers: [1426] 1426,74 unequal: No Solution Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,74 unequal: No Solution No 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: 74:[72, 111], Operations: ['60-11=49', '62+49=111'] Exploring Operation: 111-72=39, Resulting Numbers: [39] 39,74 unequal: No Solution Exploring Operation: 72*111=7992, Resulting Numbers: [7992] 7992,74 unequal: No Solution Exploring Operation: 72+111=183, Resulting Numbers: [183] 183,74 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
[ 40, 41, 23, 71 ]
95
[ "41-40=1", "23+71=94", "1+94=95" ]
Current State: 95:[40, 41, 23, 71], Operations: [] Exploring Operation: 41-40=1, Resulting Numbers: [23, 71, 1] Generated Node #2: [23, 71, 1] from Operation: 41-40=1 Current State: 95:[23, 71, 1], Operations: ['41-40=1'] Exploring Operation: 23+71=94, Resulting Numbers: [1, 94] Generated Node #3: [1, 94] from Operation: 23+71=94 Current State: 95:[1, 94], Operations: ['41-40=1', '23+71=94'] Exploring Operation: 1+94=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[40, 41, 23, 71], Operations: [] Exploring Operation: 41-40=1, Resulting Numbers: [23, 71, 1] Generated Node #0,0: 95:[23, 71, 1] Operation: 41-40=1 Exploring Operation: 71-41=30, Resulting Numbers: [40, 23, 30] Generated Node #0,1: 95:[40, 23, 30] Operation: 71-41=30 Moving to Node #0,0 Current State: 95:[23, 71, 1], Operations: ['41-40=1'] Exploring Operation: 23+71=94, Resulting Numbers: [1, 94] Generated Node #0,0,0: 95:[1, 94] Operation: 23+71=94 Exploring Operation: 23-1=22, Resulting Numbers: [71, 22] Generated Node #0,0,1: 95:[71, 22] Operation: 23-1=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[1, 94], Operations: ['41-40=1', '23+71=94'] Exploring Operation: 1+94=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[40, 41, 23, 71], Operations: [] Exploring Operation: 41-40=1, Resulting Numbers: [23, 71, 1] Generated Node #0,0: 95:[23, 71, 1] Operation: 41-40=1 Moving to Node #0,0 Current State: 95:[23, 71, 1], Operations: ['41-40=1'] Exploring Operation: 23+71=94, Resulting Numbers: [1, 94] Generated Node #0,0,0: 95:[1, 94] Operation: 23+71=94 Moving to Node #0,0,0 Current State: 95:[1, 94], Operations: ['41-40=1', '23+71=94'] Exploring Operation: 1+94=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 75, 83, 9, 71 ]
25
[ "83-9=74", "74-71=3", "75/3=25" ]
Current State: 25:[75, 83, 9, 71], Operations: [] Exploring Operation: 83-9=74, Resulting Numbers: [75, 71, 74] Generated Node #2: [75, 71, 74] from Operation: 83-9=74 Current State: 25:[75, 71, 74], Operations: ['83-9=74'] Exploring Operation: 74-71=3, Resulting Numbers: [75, 3] Generated Node #3: [75, 3] from Operation: 74-71=3 Current State: 25:[75, 3], Operations: ['83-9=74', '74-71=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[75, 83, 9, 71], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [83, 9, 4] Generated Node #0,0: 25:[83, 9, 4] Operation: 75-71=4 Exploring Operation: 83-75=8, Resulting Numbers: [9, 71, 8] Generated Node #0,1: 25:[9, 71, 8] Operation: 83-75=8 Exploring Operation: 83-71=12, Resulting Numbers: [75, 9, 12] Generated Node #0,2: 25:[75, 9, 12] Operation: 83-71=12 Exploring Operation: 75-9=66, Resulting Numbers: [83, 71, 66] Generated Node #0,3: 25:[83, 71, 66] Operation: 75-9=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[9, 71, 8], Operations: ['83-75=8'] Exploring Operation: 71-8=63, Resulting Numbers: [9, 63] Generated Node #0,1,0: 25:[9, 63] Operation: 71-8=63 Exploring Operation: 9+8=17, Resulting Numbers: [71, 17] Generated Node #0,1,1: 25:[71, 17] Operation: 9+8=17 Exploring Operation: 71-9=62, Resulting Numbers: [8, 62] Generated Node #0,1,2: 25:[8, 62] Operation: 71-9=62 Exploring Operation: 9-8=1, Resulting Numbers: [71, 1] Generated Node #0,1,3: 25:[71, 1] Operation: 9-8=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[8, 62], Operations: ['83-75=8', '71-9=62'] Exploring Operation: 8*62=496, Resulting Numbers: [496] 496,25 unequal: No Solution Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[9, 63], Operations: ['83-75=8', '71-8=63'] Exploring Operation: 9*63=567, Resulting Numbers: [567] 567,25 unequal: No Solution Exploring Operation: 9+63=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 25:[71, 1], Operations: ['83-75=8', '9-8=1'] Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 71+1=72, Resulting Numbers: [72] 72,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[71, 17], Operations: ['83-75=8', '9+8=17'] Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,25 unequal: No Solution Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,25 unequal: No Solution Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[75, 9, 12], Operations: ['83-71=12'] Exploring Operation: 9+12=21, Resulting Numbers: [75, 21] Generated Node #0,2,0: 25:[75, 21] Operation: 9+12=21 Exploring Operation: 75-12=63, Resulting Numbers: [9, 63] Generated Node #0,2,1: 25:[9, 63] Operation: 75-12=63 Exploring Operation: 75-9=66, Resulting Numbers: [12, 66] Generated Node #0,2,2: 25:[12, 66] Operation: 75-9=66 Exploring Operation: 12-9=3, Resulting Numbers: [75, 3] Generated Node #0,2,3: 25:[75, 3] Operation: 12-9=3 Moving to Node #0,2,1 Current State: 25:[9, 63], Operations: ['83-71=12', '75-12=63'] Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,25 unequal: No Solution Exploring Operation: 9+63=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 9*63=567, Resulting Numbers: [567] 567,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[12, 66], Operations: ['83-71=12', '75-9=66'] Exploring Operation: 12*66=792, Resulting Numbers: [792] 792,25 unequal: No Solution Exploring Operation: 12+66=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[75, 3], Operations: ['83-71=12', '12-9=3'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[75, 83, 9, 71], Operations: [] Exploring Operation: 83-71=12, Resulting Numbers: [75, 9, 12] Generated Node #0,2: 25:[75, 9, 12] Operation: 83-71=12 Moving to Node #0,2 Current State: 25:[75, 9, 12], Operations: ['83-71=12'] Exploring Operation: 12-9=3, Resulting Numbers: [75, 3] Generated Node #0,2,3: 25:[75, 3] Operation: 12-9=3 Moving to Node #0,2,3 Current State: 25:[75, 3], Operations: ['83-71=12', '12-9=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_4
sum_heuristic
[ 58, 12, 34, 68 ]
36
[ "58+12=70", "68-34=34", "70-34=36" ]
Current State: 36:[58, 12, 34, 68], Operations: [] Exploring Operation: 58+12=70, Resulting Numbers: [34, 68, 70] Generated Node #2: [34, 68, 70] from Operation: 58+12=70 Current State: 36:[34, 68, 70], Operations: ['58+12=70'] Exploring Operation: 68-34=34, Resulting Numbers: [70, 34] Generated Node #3: [70, 34] from Operation: 68-34=34 Current State: 36:[70, 34], Operations: ['58+12=70', '68-34=34'] Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[58, 12, 34, 68], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [58, 12, 2] Generated Node #0,0: 36:[58, 12, 2] Operation: 68/34=2 Exploring Operation: 68-58=10, Resulting Numbers: [12, 34, 10] Generated Node #0,1: 36:[12, 34, 10] Operation: 68-58=10 Moving to Node #0,1 Current State: 36:[12, 34, 10], Operations: ['68-58=10'] Exploring Operation: 12-10=2, Resulting Numbers: [34, 2] Generated Node #0,1,0: 36:[34, 2] Operation: 12-10=2 Exploring Operation: 34-12=22, Resulting Numbers: [10, 22] Generated Node #0,1,1: 36:[10, 22] Operation: 34-12=22 Moving to Node #0,0 Current State: 36:[58, 12, 2], Operations: ['68/34=2'] Exploring Operation: 58/2=29, Resulting Numbers: [12, 29] Generated Node #0,0,0: 36:[12, 29] Operation: 58/2=29 Exploring Operation: 58-12=46, Resulting Numbers: [2, 46] Generated Node #0,0,1: 36:[2, 46] Operation: 58-12=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[12, 29], Operations: ['68/34=2', '58/2=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,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,0,1 Current State: 36:[2, 46], Operations: ['68/34=2', '58-12=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,36 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 36:[34, 2], Operations: ['68-58=10', '12-10=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[58, 12, 34, 68], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [12, 34, 10] Generated Node #0,1: 36:[12, 34, 10] Operation: 68-58=10 Moving to Node #0,1 Current State: 36:[12, 34, 10], Operations: ['68-58=10'] Exploring Operation: 12-10=2, Resulting Numbers: [34, 2] Generated Node #0,1,0: 36:[34, 2] Operation: 12-10=2 Moving to Node #0,1,0 Current State: 36:[34, 2], Operations: ['68-58=10', '12-10=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 6, 43, 99, 19 ]
69
[ "6+43=49", "99+19=118", "118-49=69" ]
Current State: 69:[6, 43, 99, 19], Operations: [] Exploring Operation: 6+43=49, Resulting Numbers: [99, 19, 49] Generated Node #2: [99, 19, 49] from Operation: 6+43=49 Current State: 69:[99, 19, 49], Operations: ['6+43=49'] Exploring Operation: 99+19=118, Resulting Numbers: [49, 118] Generated Node #3: [49, 118] from Operation: 99+19=118 Current State: 69:[49, 118], Operations: ['6+43=49', '99+19=118'] Exploring Operation: 118-49=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[6, 43, 99, 19], Operations: [] Exploring Operation: 43-6=37, Resulting Numbers: [99, 19, 37] Generated Node #0,0: 69:[99, 19, 37] Operation: 43-6=37 Exploring Operation: 43+19=62, Resulting Numbers: [6, 99, 62] Generated Node #0,1: 69:[6, 99, 62] Operation: 43+19=62 Exploring Operation: 99-43=56, Resulting Numbers: [6, 19, 56] Generated Node #0,2: 69:[6, 19, 56] Operation: 99-43=56 Exploring Operation: 99-19=80, Resulting Numbers: [6, 43, 80] Generated Node #0,3: 69:[6, 43, 80] Operation: 99-19=80 Exploring Operation: 43-19=24, Resulting Numbers: [6, 99, 24] Generated Node #0,4: 69:[6, 99, 24] Operation: 43-19=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[6, 19, 56], Operations: ['99-43=56'] Exploring Operation: 56-19=37, Resulting Numbers: [6, 37] Generated Node #0,2,0: 69:[6, 37] Operation: 56-19=37 Exploring Operation: 19+56=75, Resulting Numbers: [6, 75] Generated Node #0,2,1: 69:[6, 75] Operation: 19+56=75 Exploring Operation: 6+19=25, Resulting Numbers: [56, 25] Generated Node #0,2,2: 69:[56, 25] Operation: 6+19=25 Exploring Operation: 6+56=62, Resulting Numbers: [19, 62] Generated Node #0,2,3: 69:[19, 62] Operation: 6+56=62 Exploring Operation: 19-6=13, Resulting Numbers: [56, 13] Generated Node #0,2,4: 69:[56, 13] Operation: 19-6=13 Moving to Node #0,2,1 Current State: 69:[6, 75], Operations: ['99-43=56', '19+56=75'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[6, 43, 99, 19], Operations: [] Exploring Operation: 99-43=56, Resulting Numbers: [6, 19, 56] Generated Node #0,2: 69:[6, 19, 56] Operation: 99-43=56 Moving to Node #0,2 Current State: 69:[6, 19, 56], Operations: ['99-43=56'] Exploring Operation: 19+56=75, Resulting Numbers: [6, 75] Generated Node #0,2,1: 69:[6, 75] Operation: 19+56=75 Moving to Node #0,2,1 Current State: 69:[6, 75], Operations: ['99-43=56', '19+56=75'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 65, 69, 6, 95 ]
71
[ "69-65=4", "6*4=24", "95-24=71" ]
Current State: 71:[65, 69, 6, 95], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [6, 95, 4] Generated Node #2: [6, 95, 4] from Operation: 69-65=4 Current State: 71:[6, 95, 4], Operations: ['69-65=4'] Exploring Operation: 6*4=24, Resulting Numbers: [95, 24] Generated Node #3: [95, 24] from Operation: 6*4=24 Current State: 71:[95, 24], Operations: ['69-65=4', '6*4=24'] Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[65, 69, 6, 95], Operations: [] Exploring Operation: 65-6=59, Resulting Numbers: [69, 95, 59] Generated Node #0,0: 71:[69, 95, 59] Operation: 65-6=59 Exploring Operation: 65+6=71, Resulting Numbers: [69, 95, 71] Generated Node #0,1: 71:[69, 95, 71] Operation: 65+6=71 Exploring Operation: 95-6=89, Resulting Numbers: [65, 69, 89] Generated Node #0,2: 71:[65, 69, 89] Operation: 95-6=89 Exploring Operation: 69+6=75, Resulting Numbers: [65, 95, 75] Generated Node #0,3: 71:[65, 95, 75] Operation: 69+6=75 Exploring Operation: 69-6=63, Resulting Numbers: [65, 95, 63] Generated Node #0,4: 71:[65, 95, 63] Operation: 69-6=63 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[69, 95, 71], Operations: ['65+6=71'] Exploring Operation: 69+95=164, Resulting Numbers: [71, 164] Generated Node #0,1,0: 71:[71, 164] Operation: 69+95=164 Exploring Operation: 95-71=24, Resulting Numbers: [69, 24] Generated Node #0,1,1: 71:[69, 24] Operation: 95-71=24 Exploring Operation: 69+71=140, Resulting Numbers: [95, 140] Generated Node #0,1,2: 71:[95, 140] Operation: 69+71=140 Exploring Operation: 71-69=2, Resulting Numbers: [95, 2] Generated Node #0,1,3: 71:[95, 2] Operation: 71-69=2 Exploring Operation: 95-69=26, Resulting Numbers: [71, 26] Generated Node #0,1,4: 71:[71, 26] Operation: 95-69=26 Moving to Node #0,1,4 Current State: 71:[71, 26], Operations: ['65+6=71', '95-69=26'] Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,71 unequal: No Solution Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[69, 24], Operations: ['65+6=71', '95-71=24'] Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,71 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[71, 164], Operations: ['65+6=71', '69+95=164'] Exploring Operation: 164-71=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 71+164=235, Resulting Numbers: [235] 235,71 unequal: No Solution Exploring Operation: 71*164=11644, Resulting Numbers: [11644] 11644,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[95, 140], Operations: ['65+6=71', '69+71=140'] Exploring Operation: 95+140=235, Resulting Numbers: [235] 235,71 unequal: No Solution Exploring Operation: 95*140=13300, Resulting Numbers: [13300] 13300,71 unequal: No Solution Exploring Operation: 140-95=45, Resulting Numbers: [45] 45,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[95, 2], Operations: ['65+6=71', '71-69=2'] Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,71 unequal: No Solution Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,71 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[65, 69, 89], Operations: ['95-6=89'] Exploring Operation: 69-65=4, Resulting Numbers: [89, 4] Generated Node #0,2,0: 71:[89, 4] Operation: 69-65=4 Exploring Operation: 65+69=134, Resulting Numbers: [89, 134] Generated Node #0,2,1: 71:[89, 134] Operation: 65+69=134 Exploring Operation: 65+89=154, Resulting Numbers: [69, 154] Generated Node #0,2,2: 71:[69, 154] Operation: 65+89=154 Exploring Operation: 89-65=24, Resulting Numbers: [69, 24] Generated Node #0,2,3: 71:[69, 24] Operation: 89-65=24 Exploring Operation: 89-69=20, Resulting Numbers: [65, 20] Generated Node #0,2,4: 71:[65, 20] Operation: 89-69=20 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 71:[69, 24], Operations: ['95-6=89', '89-65=24'] Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,71 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 71:[65, 20], Operations: ['95-6=89', '89-69=20'] Exploring Operation: 65+20=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 65*20=1300, Resulting Numbers: [1300] 1300,71 unequal: No Solution Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[89, 134], Operations: ['95-6=89', '65+69=134'] Exploring Operation: 134-89=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 89+134=223, Resulting Numbers: [223] 223,71 unequal: No Solution Exploring Operation: 89*134=11926, Resulting Numbers: [11926] 11926,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[89, 4], Operations: ['95-6=89', '69-65=4'] Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 89*4=356, Resulting Numbers: [356] 356,71 unequal: No Solution Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[69, 154], Operations: ['95-6=89', '65+89=154'] Exploring Operation: 69+154=223, Resulting Numbers: [223] 223,71 unequal: No Solution Exploring Operation: 69*154=10626, Resulting Numbers: [10626] 10626,71 unequal: No Solution Exploring Operation: 154-69=85, Resulting Numbers: [85] 85,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[65, 95, 75], Operations: ['69+6=75'] Exploring Operation: 65+75=140, Resulting Numbers: [95, 140] Generated Node #0,3,0: 71:[95, 140] Operation: 65+75=140 Exploring Operation: 95-65=30, Resulting Numbers: [75, 30] Generated Node #0,3,1: 71:[75, 30] Operation: 95-65=30 Exploring Operation: 75-65=10, Resulting Numbers: [95, 10] Generated Node #0,3,2: 71:[95, 10] Operation: 75-65=10 Exploring Operation: 95-75=20, Resulting Numbers: [65, 20] Generated Node #0,3,3: 71:[65, 20] Operation: 95-75=20 Exploring Operation: 65+95=160, Resulting Numbers: [75, 160] Generated Node #0,3,4: 71:[75, 160] Operation: 65+95=160 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 71:[75, 30], Operations: ['69+6=75', '95-65=30'] Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 75+30=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 75*30=2250, Resulting Numbers: [2250] 2250,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 71:[65, 20], Operations: ['69+6=75', '95-75=20'] Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 65*20=1300, Resulting Numbers: [1300] 1300,71 unequal: No Solution Exploring Operation: 65+20=85, Resulting Numbers: [85] 85,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 71:[95, 10], Operations: ['69+6=75', '75-65=10'] Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 95+10=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 95*10=950, Resulting Numbers: [950] 950,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 71:[95, 140], Operations: ['69+6=75', '65+75=140'] Exploring Operation: 140-95=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 95+140=235, Resulting Numbers: [235] 235,71 unequal: No Solution Exploring Operation: 95*140=13300, Resulting Numbers: [13300] 13300,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 71:[75, 160], Operations: ['69+6=75', '65+95=160'] Exploring Operation: 75+160=235, Resulting Numbers: [235] 235,71 unequal: No Solution Exploring Operation: 160-75=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 75*160=12000, Resulting Numbers: [12000] 12000,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[69, 95, 59], Operations: ['65-6=59'] Exploring Operation: 95+59=154, Resulting Numbers: [69, 154] Generated Node #0,0,0: 71:[69, 154] Operation: 95+59=154 Exploring Operation: 95-59=36, Resulting Numbers: [69, 36] Generated Node #0,0,1: 71:[69, 36] Operation: 95-59=36 Exploring Operation: 95-69=26, Resulting Numbers: [59, 26] Generated Node #0,0,2: 71:[59, 26] Operation: 95-69=26 Exploring Operation: 69-59=10, Resulting Numbers: [95, 10] Generated Node #0,0,3: 71:[95, 10] Operation: 69-59=10 Exploring Operation: 69+59=128, Resulting Numbers: [95, 128] Generated Node #0,0,4: 71:[95, 128] Operation: 69+59=128 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[69, 36], Operations: ['65-6=59', '95-59=36'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 69*36=2484, Resulting Numbers: [2484] 2484,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[59, 26], Operations: ['65-6=59', '95-69=26'] Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 59*26=1534, Resulting Numbers: [1534] 1534,71 unequal: No Solution Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,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,4 Current State: 71:[95, 128], Operations: ['65-6=59', '69+59=128'] Exploring Operation: 95+128=223, Resulting Numbers: [223] 223,71 unequal: No Solution Exploring Operation: 128-95=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 95*128=12160, Resulting Numbers: [12160] 12160,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:[69, 154], Operations: ['65-6=59', '95+59=154'] Exploring Operation: 69*154=10626, Resulting Numbers: [10626] 10626,71 unequal: No Solution Exploring Operation: 69+154=223, Resulting Numbers: [223] 223,71 unequal: No Solution Exploring Operation: 154-69=85, Resulting Numbers: [85] 85,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 71:[95, 10], Operations: ['65-6=59', '69-59=10'] Exploring Operation: 95+10=105, Resulting Numbers: [105] 105,71 unequal: No Solution Exploring Operation: 95*10=950, Resulting Numbers: [950] 950,71 unequal: No Solution Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 71:[65, 95, 63], Operations: ['69-6=63'] Exploring Operation: 65+63=128, Resulting Numbers: [95, 128] Generated Node #0,4,0: 71:[95, 128] Operation: 65+63=128 Exploring Operation: 95+63=158, Resulting Numbers: [65, 158] Generated Node #0,4,1: 71:[65, 158] Operation: 95+63=158 Exploring Operation: 65-63=2, Resulting Numbers: [95, 2] Generated Node #0,4,2: 71:[95, 2] Operation: 65-63=2 Exploring Operation: 95-63=32, Resulting Numbers: [65, 32] Generated Node #0,4,3: 71:[65, 32] Operation: 95-63=32 Exploring Operation: 95-65=30, Resulting Numbers: [63, 30] Generated Node #0,4,4: 71:[63, 30] Operation: 95-65=30 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 71:[65, 32], Operations: ['69-6=63', '95-63=32'] Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 65*32=2080, Resulting Numbers: [2080] 2080,71 unequal: No Solution Exploring Operation: 65+32=97, Resulting Numbers: [97] 97,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,4,4 Current State: 71:[63, 30], Operations: ['69-6=63', '95-65=30'] Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 63*30=1890, Resulting Numbers: [1890] 1890,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,4,0 Current State: 71:[95, 128], Operations: ['69-6=63', '65+63=128'] Exploring Operation: 95*128=12160, Resulting Numbers: [12160] 12160,71 unequal: No Solution Exploring Operation: 95+128=223, Resulting Numbers: [223] 223,71 unequal: No Solution Exploring Operation: 128-95=33, Resulting Numbers: [33] 33,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,4,1 Current State: 71:[65, 158], Operations: ['69-6=63', '95+63=158'] Exploring Operation: 65+158=223, Resulting Numbers: [223] 223,71 unequal: No Solution Exploring Operation: 65*158=10270, Resulting Numbers: [10270] 10270,71 unequal: No Solution Exploring Operation: 158-65=93, Resulting Numbers: [93] 93,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,4,2 Current State: 71:[95, 2], Operations: ['69-6=63', '65-63=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,71 unequal: No Solution Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 38, 3, 63, 59 ]
70
[ "59-38=21", "21/3=7", "63+7=70" ]
Current State: 70:[38, 3, 63, 59], Operations: [] Exploring Operation: 59-38=21, Resulting Numbers: [3, 63, 21] Generated Node #2: [3, 63, 21] from Operation: 59-38=21 Current State: 70:[3, 63, 21], Operations: ['59-38=21'] Exploring Operation: 21/3=7, Resulting Numbers: [63, 7] Generated Node #3: [63, 7] from Operation: 21/3=7 Current State: 70:[63, 7], Operations: ['59-38=21', '21/3=7'] Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[38, 3, 63, 59], Operations: [] Exploring Operation: 59-38=21, Resulting Numbers: [3, 63, 21] Generated Node #0,0: 70:[3, 63, 21] Operation: 59-38=21 Exploring Operation: 63-59=4, Resulting Numbers: [38, 3, 4] Generated Node #0,1: 70:[38, 3, 4] Operation: 63-59=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[38, 3, 4], Operations: ['63-59=4'] Exploring Operation: 38-3=35, Resulting Numbers: [4, 35] Generated Node #0,1,0: 70:[4, 35] Operation: 38-3=35 Exploring Operation: 38-4=34, Resulting Numbers: [3, 34] Generated Node #0,1,1: 70:[3, 34] Operation: 38-4=34 Moving to Node #0,1,0 Current State: 70:[4, 35], Operations: ['63-59=4', '38-3=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[3, 34], Operations: ['63-59=4', '38-4=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,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:[3, 63, 21], Operations: ['59-38=21'] Exploring Operation: 63/21=3, Resulting Numbers: [3, 3] Generated Node #0,0,0: 70:[3, 3] Operation: 63/21=3 Exploring Operation: 21/3=7, Resulting Numbers: [63, 7] Generated Node #0,0,1: 70:[63, 7] Operation: 21/3=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[3, 3], Operations: ['59-38=21', '63/21=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[63, 7], Operations: ['59-38=21', '21/3=7'] Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[38, 3, 63, 59], Operations: [] Exploring Operation: 59-38=21, Resulting Numbers: [3, 63, 21] Generated Node #0,0: 70:[3, 63, 21] Operation: 59-38=21 Moving to Node #0,0 Current State: 70:[3, 63, 21], Operations: ['59-38=21'] Exploring Operation: 21/3=7, Resulting Numbers: [63, 7] Generated Node #0,0,1: 70:[63, 7] Operation: 21/3=7 Moving to Node #0,0,1 Current State: 70:[63, 7], Operations: ['59-38=21', '21/3=7'] Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 87, 84, 89, 19 ]
36
[ "87-84=3", "89+19=108", "108/3=36" ]
Current State: 36:[87, 84, 89, 19], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [89, 19, 3] Generated Node #2: [89, 19, 3] from Operation: 87-84=3 Current State: 36:[89, 19, 3], Operations: ['87-84=3'] Exploring Operation: 89+19=108, Resulting Numbers: [3, 108] Generated Node #3: [3, 108] from Operation: 89+19=108 Current State: 36:[3, 108], Operations: ['87-84=3', '89+19=108'] Exploring Operation: 108/3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[87, 84, 89, 19], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [89, 19, 3] Generated Node #0,0: 36:[89, 19, 3] Operation: 87-84=3 Exploring Operation: 89-84=5, Resulting Numbers: [87, 19, 5] Generated Node #0,1: 36:[87, 19, 5] Operation: 89-84=5 Exploring Operation: 89-87=2, Resulting Numbers: [84, 19, 2] Generated Node #0,2: 36:[84, 19, 2] Operation: 89-87=2 Exploring Operation: 84-19=65, Resulting Numbers: [87, 89, 65] Generated Node #0,3: 36:[87, 89, 65] Operation: 84-19=65 Exploring Operation: 87-19=68, Resulting Numbers: [84, 89, 68] Generated Node #0,4: 36:[84, 89, 68] Operation: 87-19=68 Moving to Node #0,2 Current State: 36:[84, 19, 2], Operations: ['89-87=2'] Exploring Operation: 19-2=17, Resulting Numbers: [84, 17] Generated Node #0,2,0: 36:[84, 17] Operation: 19-2=17 Exploring Operation: 84/2=42, Resulting Numbers: [19, 42] Generated Node #0,2,1: 36:[19, 42] Operation: 84/2=42 Exploring Operation: 84-2=82, Resulting Numbers: [19, 82] Generated Node #0,2,2: 36:[19, 82] Operation: 84-2=82 Exploring Operation: 19*2=38, Resulting Numbers: [84, 38] Generated Node #0,2,3: 36:[84, 38] Operation: 19*2=38 Exploring Operation: 84-19=65, Resulting Numbers: [2, 65] Generated Node #0,2,4: 36:[2, 65] Operation: 84-19=65 Moving to Node #0,1 Current State: 36:[87, 19, 5], Operations: ['89-84=5'] Exploring Operation: 19+5=24, Resulting Numbers: [87, 24] Generated Node #0,1,0: 36:[87, 24] Operation: 19+5=24 Exploring Operation: 87+5=92, Resulting Numbers: [19, 92] Generated Node #0,1,1: 36:[19, 92] Operation: 87+5=92 Exploring Operation: 19-5=14, Resulting Numbers: [87, 14] Generated Node #0,1,2: 36:[87, 14] Operation: 19-5=14 Exploring Operation: 87-19=68, Resulting Numbers: [5, 68] Generated Node #0,1,3: 36:[5, 68] Operation: 87-19=68 Exploring Operation: 87-5=82, Resulting Numbers: [19, 82] Generated Node #0,1,4: 36:[19, 82] Operation: 87-5=82 Moving to Node #0,0 Current State: 36:[89, 19, 3], Operations: ['87-84=3'] Exploring Operation: 19+3=22, Resulting Numbers: [89, 22] Generated Node #0,0,0: 36:[89, 22] Operation: 19+3=22 Exploring Operation: 89-3=86, Resulting Numbers: [19, 86] Generated Node #0,0,1: 36:[19, 86] Operation: 89-3=86 Exploring Operation: 89+3=92, Resulting Numbers: [19, 92] Generated Node #0,0,2: 36:[19, 92] Operation: 89+3=92 Exploring Operation: 89-19=70, Resulting Numbers: [3, 70] Generated Node #0,0,3: 36:[3, 70] Operation: 89-19=70 Exploring Operation: 19-3=16, Resulting Numbers: [89, 16] Generated Node #0,0,4: 36:[89, 16] Operation: 19-3=16 Moving to Node #0,3 Current State: 36:[87, 89, 65], Operations: ['84-19=65'] Exploring Operation: 87+89=176, Resulting Numbers: [65, 176] Generated Node #0,3,0: 36:[65, 176] Operation: 87+89=176 Exploring Operation: 89-65=24, Resulting Numbers: [87, 24] Generated Node #0,3,1: 36:[87, 24] Operation: 89-65=24 Exploring Operation: 89-87=2, Resulting Numbers: [65, 2] Generated Node #0,3,2: 36:[65, 2] Operation: 89-87=2 Exploring Operation: 87+65=152, Resulting Numbers: [89, 152] Generated Node #0,3,3: 36:[89, 152] Operation: 87+65=152 Exploring Operation: 87-65=22, Resulting Numbers: [89, 22] Generated Node #0,3,4: 36:[89, 22] Operation: 87-65=22 Moving to Node #0,4 Current State: 36:[84, 89, 68], Operations: ['87-19=68'] Exploring Operation: 84+89=173, Resulting Numbers: [68, 173] Generated Node #0,4,0: 36:[68, 173] Operation: 84+89=173 Exploring Operation: 84-68=16, Resulting Numbers: [89, 16] Generated Node #0,4,1: 36:[89, 16] Operation: 84-68=16 Exploring Operation: 89-68=21, Resulting Numbers: [84, 21] Generated Node #0,4,2: 36:[84, 21] Operation: 89-68=21 Exploring Operation: 89-84=5, Resulting Numbers: [68, 5] Generated Node #0,4,3: 36:[68, 5] Operation: 89-84=5 Exploring Operation: 84+68=152, Resulting Numbers: [89, 152] Generated Node #0,4,4: 36:[89, 152] Operation: 84+68=152 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 36:[68, 5], Operations: ['87-19=68', '89-84=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,36 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,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,4,2 Current State: 36:[84, 21], Operations: ['87-19=68', '89-68=21'] Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,36 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 84*21=1764, Resulting Numbers: [1764] 1764,36 unequal: No Solution Exploring Operation: 84+21=105, Resulting Numbers: [105] 105,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,4,1 Current State: 36:[89, 16], Operations: ['87-19=68', '84-68=16'] Exploring Operation: 89+16=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 89*16=1424, Resulting Numbers: [1424] 1424,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,4,0 Current State: 36:[68, 173], Operations: ['87-19=68', '84+89=173'] Exploring Operation: 68+173=241, Resulting Numbers: [241] 241,36 unequal: No Solution Exploring Operation: 68*173=11764, Resulting Numbers: [11764] 11764,36 unequal: No Solution Exploring Operation: 173-68=105, Resulting Numbers: [105] 105,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,4,4 Current State: 36:[89, 152], Operations: ['87-19=68', '84+68=152'] Exploring Operation: 89+152=241, Resulting Numbers: [241] 241,36 unequal: No Solution Exploring Operation: 152-89=63, Resulting Numbers: [63] 63,36 unequal: No Solution Exploring Operation: 89*152=13528, Resulting Numbers: [13528] 13528,36 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: 36:[19, 42], Operations: ['89-87=2', '84/2=42'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 19+42=61, Resulting Numbers: [61] 61,36 unequal: No Solution Exploring Operation: 19*42=798, Resulting Numbers: [798] 798,36 unequal: No Solution Moving to Node #0,2,4 Current State: 36:[2, 65], Operations: ['89-87=2', '84-19=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,36 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[65, 2], Operations: ['84-19=65', '89-87=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,36 unequal: No Solution Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[5, 68], Operations: ['89-84=5', '87-19=68'] Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 5*68=340, Resulting Numbers: [340] 340,36 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[3, 70], Operations: ['87-84=3', '89-19=70'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,36 unequal: No Solution Moving to Node #0,1,4 Current State: 36:[19, 82], Operations: ['89-84=5', '87-5=82'] Exploring Operation: 19*82=1558, Resulting Numbers: [1558] 1558,36 unequal: No Solution Exploring Operation: 19+82=101, Resulting Numbers: [101] 101,36 unequal: No Solution Exploring Operation: 82-19=63, Resulting Numbers: [63] 63,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[19, 82], Operations: ['89-87=2', '84-2=82'] Exploring Operation: 19*82=1558, Resulting Numbers: [1558] 1558,36 unequal: No Solution Exploring Operation: 82-19=63, Resulting Numbers: [63] 63,36 unequal: No Solution Exploring Operation: 19+82=101, Resulting Numbers: [101] 101,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[84, 17], Operations: ['89-87=2', '19-2=17'] Exploring Operation: 84+17=101, Resulting Numbers: [101] 101,36 unequal: No Solution Exploring Operation: 84*17=1428, Resulting Numbers: [1428] 1428,36 unequal: No Solution Exploring Operation: 84-17=67, Resulting Numbers: [67] 67,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[84, 38], Operations: ['89-87=2', '19*2=38'] Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,36 unequal: No Solution Exploring Operation: 84+38=122, Resulting Numbers: [122] 122,36 unequal: No Solution Exploring Operation: 84*38=3192, Resulting Numbers: [3192] 3192,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[19, 86], Operations: ['87-84=3', '89-3=86'] Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 19+86=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 19*86=1634, Resulting Numbers: [1634] 1634,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[87, 14], Operations: ['89-84=5', '19-5=14'] Exploring Operation: 87*14=1218, Resulting Numbers: [1218] 1218,36 unequal: No Solution Exploring Operation: 87+14=101, Resulting Numbers: [101] 101,36 unequal: No Solution Exploring Operation: 87-14=73, Resulting Numbers: [73] 73,36 unequal: No Solution Moving to Node #0,0,4 Current State: 36:[89, 16], Operations: ['87-84=3', '19-3=16'] Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 89+16=105, Resulting Numbers: [105] 105,36 unequal: No Solution Exploring Operation: 89*16=1424, Resulting Numbers: [1424] 1424,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[19, 92], Operations: ['87-84=3', '89+3=92'] Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 19*92=1748, Resulting Numbers: [1748] 1748,36 unequal: No Solution Exploring Operation: 19+92=111, Resulting Numbers: [111] 111,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[89, 22], Operations: ['84-19=65', '87-65=22'] Exploring Operation: 89*22=1958, Resulting Numbers: [1958] 1958,36 unequal: No Solution Exploring Operation: 89+22=111, Resulting Numbers: [111] 111,36 unequal: No Solution Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[87, 24], Operations: ['84-19=65', '89-65=24'] Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,36 unequal: No Solution Exploring Operation: 87*24=2088, Resulting Numbers: [2088] 2088,36 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[19, 92], Operations: ['89-84=5', '87+5=92'] Exploring Operation: 19+92=111, Resulting Numbers: [111] 111,36 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 19*92=1748, Resulting Numbers: [1748] 1748,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[89, 22], Operations: ['87-84=3', '19+3=22'] Exploring Operation: 89+22=111, Resulting Numbers: [111] 111,36 unequal: No Solution Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 89*22=1958, Resulting Numbers: [1958] 1958,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[87, 24], Operations: ['89-84=5', '19+5=24'] Exploring Operation: 87*24=2088, Resulting Numbers: [2088] 2088,36 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,36 unequal: No Solution Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[65, 176], Operations: ['84-19=65', '87+89=176'] Exploring Operation: 176-65=111, Resulting Numbers: [111] 111,36 unequal: No Solution Exploring Operation: 65*176=11440, Resulting Numbers: [11440] 11440,36 unequal: No Solution Exploring Operation: 65+176=241, Resulting Numbers: [241] 241,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[89, 152], Operations: ['84-19=65', '87+65=152'] Exploring Operation: 152-89=63, Resulting Numbers: [63] 63,36 unequal: No Solution Exploring Operation: 89+152=241, Resulting Numbers: [241] 241,36 unequal: No Solution Exploring Operation: 89*152=13528, Resulting Numbers: [13528] 13528,36 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 10, 67, 73, 5 ]
61
[ "10*67=670", "670/5=134", "134-73=61" ]
Current State: 61:[10, 67, 73, 5], Operations: [] Exploring Operation: 10*67=670, Resulting Numbers: [73, 5, 670] Generated Node #2: [73, 5, 670] from Operation: 10*67=670 Current State: 61:[73, 5, 670], Operations: ['10*67=670'] Exploring Operation: 670/5=134, Resulting Numbers: [73, 134] Generated Node #3: [73, 134] from Operation: 670/5=134 Current State: 61:[73, 134], Operations: ['10*67=670', '670/5=134'] Exploring Operation: 134-73=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[10, 67, 73, 5], Operations: [] Exploring Operation: 10+5=15, Resulting Numbers: [67, 73, 15] Generated Node #0,0: 61:[67, 73, 15] Operation: 10+5=15 Exploring Operation: 73-10=63, Resulting Numbers: [67, 5, 63] Generated Node #0,1: 61:[67, 5, 63] Operation: 73-10=63 Exploring Operation: 10*5=50, Resulting Numbers: [67, 73, 50] Generated Node #0,2: 61:[67, 73, 50] Operation: 10*5=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[67, 73, 50], Operations: ['10*5=50'] Exploring Operation: 73-50=23, Resulting Numbers: [67, 23] Generated Node #0,2,0: 61:[67, 23] Operation: 73-50=23 Exploring Operation: 73-67=6, Resulting Numbers: [50, 6] Generated Node #0,2,1: 61:[50, 6] Operation: 73-67=6 Exploring Operation: 67-50=17, Resulting Numbers: [73, 17] Generated Node #0,2,2: 61:[73, 17] Operation: 67-50=17 Moving to Node #0,2,0 Current State: 61:[67, 23], Operations: ['10*5=50', '73-50=23'] Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,61 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[73, 17], Operations: ['10*5=50', '67-50=17'] Exploring Operation: 73*17=1241, Resulting Numbers: [1241] 1241,61 unequal: No Solution Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,61 unequal: No Solution Exploring Operation: 73+17=90, Resulting Numbers: [90] 90,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[50, 6], Operations: ['10*5=50', '73-67=6'] Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,61 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,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,0 Current State: 61:[67, 73, 15], Operations: ['10+5=15'] Exploring Operation: 67-15=52, Resulting Numbers: [73, 52] Generated Node #0,0,0: 61:[73, 52] Operation: 67-15=52 Exploring Operation: 73-15=58, Resulting Numbers: [67, 58] Generated Node #0,0,1: 61:[67, 58] Operation: 73-15=58 Exploring Operation: 67+15=82, Resulting Numbers: [73, 82] Generated Node #0,0,2: 61:[73, 82] Operation: 67+15=82 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[67, 58], Operations: ['10+5=15', '73-15=58'] Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,61 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,61 unequal: No Solution Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,61 unequal: No Solution No 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: 61:[73, 52], Operations: ['10+5=15', '67-15=52'] Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,61 unequal: No Solution Exploring Operation: 73*52=3796, Resulting Numbers: [3796] 3796,61 unequal: No Solution Exploring Operation: 73+52=125, Resulting Numbers: [125] 125,61 unequal: No Solution No 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: 61:[73, 82], Operations: ['10+5=15', '67+15=82'] Exploring Operation: 82-73=9, Resulting Numbers: [9] 9,61 unequal: No Solution Exploring Operation: 73+82=155, Resulting Numbers: [155] 155,61 unequal: No Solution Exploring Operation: 73*82=5986, Resulting Numbers: [5986] 5986,61 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: 61:[67, 5, 63], Operations: ['73-10=63'] Exploring Operation: 63-5=58, Resulting Numbers: [67, 58] Generated Node #0,1,0: 61:[67, 58] Operation: 63-5=58 Exploring Operation: 67-5=62, Resulting Numbers: [63, 62] Generated Node #0,1,1: 61:[63, 62] Operation: 67-5=62 Exploring Operation: 67+5=72, Resulting Numbers: [63, 72] Generated Node #0,1,2: 61:[63, 72] Operation: 67+5=72 Moving to Node #0,1,1 Current State: 61:[63, 62], Operations: ['73-10=63', '67-5=62'] Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 63*62=3906, Resulting Numbers: [3906] 3906,61 unequal: No Solution Exploring Operation: 63+62=125, Resulting Numbers: [125] 125,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[67, 58], Operations: ['73-10=63', '63-5=58'] Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,61 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,61 unequal: No Solution Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[63, 72], Operations: ['73-10=63', '67+5=72'] Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,61 unequal: No Solution Exploring Operation: 63*72=4536, Resulting Numbers: [4536] 4536,61 unequal: No Solution Exploring Operation: 63+72=135, Resulting Numbers: [135] 135,61 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
[ 52, 2, 93, 61 ]
81
[ "93-52=41", "2*61=122", "122-41=81" ]
Current State: 81:[52, 2, 93, 61], Operations: [] Exploring Operation: 93-52=41, Resulting Numbers: [2, 61, 41] Generated Node #2: [2, 61, 41] from Operation: 93-52=41 Current State: 81:[2, 61, 41], Operations: ['93-52=41'] Exploring Operation: 2*61=122, Resulting Numbers: [41, 122] Generated Node #3: [41, 122] from Operation: 2*61=122 Current State: 81:[41, 122], Operations: ['93-52=41', '2*61=122'] Exploring Operation: 122-41=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[52, 2, 93, 61], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [93, 61, 26] Generated Node #0,0: 81:[93, 61, 26] Operation: 52/2=26 Exploring Operation: 52+61=113, Resulting Numbers: [2, 93, 113] Generated Node #0,1: 81:[2, 93, 113] Operation: 52+61=113 Exploring Operation: 93-61=32, Resulting Numbers: [52, 2, 32] Generated Node #0,2: 81:[52, 2, 32] Operation: 93-61=32 Exploring Operation: 61-52=9, Resulting Numbers: [2, 93, 9] Generated Node #0,3: 81:[2, 93, 9] Operation: 61-52=9 Exploring Operation: 93-52=41, Resulting Numbers: [2, 61, 41] Generated Node #0,4: 81:[2, 61, 41] Operation: 93-52=41 Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[2, 93, 9], Operations: ['61-52=9'] Exploring Operation: 9-2=7, Resulting Numbers: [93, 7] Generated Node #0,3,0: 81:[93, 7] Operation: 9-2=7 Exploring Operation: 2+93=95, Resulting Numbers: [9, 95] Generated Node #0,3,1: 81:[9, 95] Operation: 2+93=95 Exploring Operation: 93-2=91, Resulting Numbers: [9, 91] Generated Node #0,3,2: 81:[9, 91] Operation: 93-2=91 Exploring Operation: 93-9=84, Resulting Numbers: [2, 84] Generated Node #0,3,3: 81:[2, 84] Operation: 93-9=84 Exploring Operation: 2+9=11, Resulting Numbers: [93, 11] Generated Node #0,3,4: 81:[93, 11] Operation: 2+9=11 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 81:[2, 84], Operations: ['61-52=9', '93-9=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,81 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 2*84=168, Resulting Numbers: [168] 168,81 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,81 unequal: No Solution No 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: 81:[9, 91], Operations: ['61-52=9', '93-2=91'] Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 9*91=819, Resulting Numbers: [819] 819,81 unequal: No Solution Exploring Operation: 9+91=100, Resulting Numbers: [100] 100,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 81:[93, 7], Operations: ['61-52=9', '9-2=7'] Exploring Operation: 93-7=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 93+7=100, Resulting Numbers: [100] 100,81 unequal: No Solution Exploring Operation: 93*7=651, Resulting Numbers: [651] 651,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 81:[9, 95], Operations: ['61-52=9', '2+93=95'] Exploring Operation: 9*95=855, Resulting Numbers: [855] 855,81 unequal: No Solution Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 9+95=104, Resulting Numbers: [104] 104,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 81:[93, 11], Operations: ['61-52=9', '2+9=11'] Exploring Operation: 93+11=104, Resulting Numbers: [104] 104,81 unequal: No Solution Exploring Operation: 93*11=1023, Resulting Numbers: [1023] 1023,81 unequal: No Solution Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[52, 2, 32], Operations: ['93-61=32'] Exploring Operation: 52-2=50, Resulting Numbers: [32, 50] Generated Node #0,2,0: 81:[32, 50] Operation: 52-2=50 Exploring Operation: 52*2=104, Resulting Numbers: [32, 104] Generated Node #0,2,1: 81:[32, 104] Operation: 52*2=104 Exploring Operation: 52+32=84, Resulting Numbers: [2, 84] Generated Node #0,2,2: 81:[2, 84] Operation: 52+32=84 Exploring Operation: 52-32=20, Resulting Numbers: [2, 20] Generated Node #0,2,3: 81:[2, 20] Operation: 52-32=20 Exploring Operation: 52/2=26, Resulting Numbers: [32, 26] Generated Node #0,2,4: 81:[32, 26] Operation: 52/2=26 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 81:[2, 84], Operations: ['93-61=32', '52+32=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,81 unequal: No Solution Exploring Operation: 2*84=168, Resulting Numbers: [168] 168,81 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 81:[32, 26], Operations: ['93-61=32', '52/2=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,81 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 81:[2, 20], Operations: ['93-61=32', '52-32=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,81 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[32, 50], Operations: ['93-61=32', '52-2=50'] Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,81 unequal: No Solution Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,81 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 81:[32, 104], Operations: ['93-61=32', '52*2=104'] Exploring Operation: 32*104=3328, Resulting Numbers: [3328] 3328,81 unequal: No Solution Exploring Operation: 32+104=136, Resulting Numbers: [136] 136,81 unequal: No Solution Exploring Operation: 104-32=72, Resulting Numbers: [72] 72,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[93, 61, 26], Operations: ['52/2=26'] Exploring Operation: 93-26=67, Resulting Numbers: [61, 67] Generated Node #0,0,0: 81:[61, 67] Operation: 93-26=67 Exploring Operation: 93+26=119, Resulting Numbers: [61, 119] Generated Node #0,0,1: 81:[61, 119] Operation: 93+26=119 Exploring Operation: 61-26=35, Resulting Numbers: [93, 35] Generated Node #0,0,2: 81:[93, 35] Operation: 61-26=35 Exploring Operation: 93-61=32, Resulting Numbers: [26, 32] Generated Node #0,0,3: 81:[26, 32] Operation: 93-61=32 Exploring Operation: 61+26=87, Resulting Numbers: [93, 87] Generated Node #0,0,4: 81:[93, 87] Operation: 61+26=87 Moving to Node #0,0,3 Current State: 81:[26, 32], Operations: ['52/2=26', '93-61=32'] Exploring Operation: 26*32=832, Resulting Numbers: [832] 832,81 unequal: No Solution Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,81 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,81 unequal: No Solution Moving to Node #0,0,4 Current State: 81:[93, 87], Operations: ['52/2=26', '61+26=87'] Exploring Operation: 93-87=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 93*87=8091, Resulting Numbers: [8091] 8091,81 unequal: No Solution Exploring Operation: 93+87=180, Resulting Numbers: [180] 180,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[93, 35], Operations: ['52/2=26', '61-26=35'] Exploring Operation: 93*35=3255, Resulting Numbers: [3255] 3255,81 unequal: No Solution Exploring Operation: 93+35=128, Resulting Numbers: [128] 128,81 unequal: No Solution Exploring Operation: 93-35=58, Resulting Numbers: [58] 58,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[61, 67], Operations: ['52/2=26', '93-26=67'] Exploring Operation: 61+67=128, Resulting Numbers: [128] 128,81 unequal: No Solution Exploring Operation: 61*67=4087, Resulting Numbers: [4087] 4087,81 unequal: No Solution Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[61, 119], Operations: ['52/2=26', '93+26=119'] Exploring Operation: 61*119=7259, Resulting Numbers: [7259] 7259,81 unequal: No Solution Exploring Operation: 119-61=58, Resulting Numbers: [58] 58,81 unequal: No Solution Exploring Operation: 61+119=180, Resulting Numbers: [180] 180,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 81:[2, 61, 41], Operations: ['93-52=41'] Exploring Operation: 2*41=82, Resulting Numbers: [61, 82] Generated Node #0,4,0: 81:[61, 82] Operation: 2*41=82 Exploring Operation: 61-41=20, Resulting Numbers: [2, 20] Generated Node #0,4,1: 81:[2, 20] Operation: 61-41=20 Exploring Operation: 41-2=39, Resulting Numbers: [61, 39] Generated Node #0,4,2: 81:[61, 39] Operation: 41-2=39 Exploring Operation: 2+61=63, Resulting Numbers: [41, 63] Generated Node #0,4,3: 81:[41, 63] Operation: 2+61=63 Exploring Operation: 61+41=102, Resulting Numbers: [2, 102] Generated Node #0,4,4: 81:[2, 102] Operation: 61+41=102 Moving to Node #0,4,1 Current State: 81:[2, 20], Operations: ['93-52=41', '61-41=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,81 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,81 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,81 unequal: No Solution Moving to Node #0,4,0 Current State: 81:[61, 82], Operations: ['93-52=41', '2*41=82'] Exploring Operation: 61+82=143, Resulting Numbers: [143] 143,81 unequal: No Solution Exploring Operation: 82-61=21, Resulting Numbers: [21] 21,81 unequal: No Solution Exploring Operation: 61*82=5002, Resulting Numbers: [5002] 5002,81 unequal: No Solution Moving to Node #0,4,4 Current State: 81:[2, 102], Operations: ['93-52=41', '61+41=102'] Exploring Operation: 102/2=51, Resulting Numbers: [51] 51,81 unequal: No Solution Exploring Operation: 2*102=204, Resulting Numbers: [204] 204,81 unequal: No Solution Exploring Operation: 2+102=104, Resulting Numbers: [104] 104,81 unequal: No Solution Exploring Operation: 102-2=100, Resulting Numbers: [100] 100,81 unequal: No Solution Moving to Node #0,4,2 Current State: 81:[61, 39], Operations: ['93-52=41', '41-2=39'] Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,81 unequal: No Solution Exploring Operation: 61+39=100, Resulting Numbers: [100] 100,81 unequal: No Solution Exploring Operation: 61*39=2379, Resulting Numbers: [2379] 2379,81 unequal: No Solution Moving to Node #0,4,3 Current State: 81:[41, 63], Operations: ['93-52=41', '2+61=63'] Exploring Operation: 41*63=2583, Resulting Numbers: [2583] 2583,81 unequal: No Solution Exploring Operation: 41+63=104, Resulting Numbers: [104] 104,81 unequal: No Solution Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[2, 93, 113], Operations: ['52+61=113'] Exploring Operation: 113-2=111, Resulting Numbers: [93, 111] Generated Node #0,1,0: 81:[93, 111] Operation: 113-2=111 Exploring Operation: 2+93=95, Resulting Numbers: [113, 95] Generated Node #0,1,1: 81:[113, 95] Operation: 2+93=95 Exploring Operation: 93-2=91, Resulting Numbers: [113, 91] Generated Node #0,1,2: 81:[113, 91] Operation: 93-2=91 Exploring Operation: 113-93=20, Resulting Numbers: [2, 20] Generated Node #0,1,3: 81:[2, 20] Operation: 113-93=20 Exploring Operation: 2+113=115, Resulting Numbers: [93, 115] Generated Node #0,1,4: 81:[93, 115] Operation: 2+113=115 Moving to Node #0,1,3 Current State: 81:[2, 20], Operations: ['52+61=113', '113-93=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,81 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[113, 91], Operations: ['52+61=113', '93-2=91'] Exploring Operation: 113-91=22, Resulting Numbers: [22] 22,81 unequal: No Solution Exploring Operation: 113+91=204, Resulting Numbers: [204] 204,81 unequal: No Solution Exploring Operation: 113*91=10283, Resulting Numbers: [10283] 10283,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[93, 111], Operations: ['52+61=113', '113-2=111'] Exploring Operation: 111-93=18, Resulting Numbers: [18] 18,81 unequal: No Solution Exploring Operation: 93+111=204, Resulting Numbers: [204] 204,81 unequal: No Solution Exploring Operation: 93*111=10323, Resulting Numbers: [10323] 10323,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[113, 95], Operations: ['52+61=113', '2+93=95'] Exploring Operation: 113+95=208, Resulting Numbers: [208] 208,81 unequal: No Solution Exploring Operation: 113*95=10735, Resulting Numbers: [10735] 10735,81 unequal: No Solution Exploring Operation: 113-95=18, Resulting Numbers: [18] 18,81 unequal: No Solution Moving to Node #0,1,4 Current State: 81:[93, 115], Operations: ['52+61=113', '2+113=115'] Exploring Operation: 93*115=10695, Resulting Numbers: [10695] 10695,81 unequal: No Solution Exploring Operation: 115-93=22, Resulting Numbers: [22] 22,81 unequal: No Solution Exploring Operation: 93+115=208, Resulting Numbers: [208] 208,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 5, 47, 46, 2 ]
37
[ "47-2=45", "45/5=9", "46-9=37" ]
Current State: 37:[5, 47, 46, 2], Operations: [] Exploring Operation: 47-2=45, Resulting Numbers: [5, 46, 45] Generated Node #2: [5, 46, 45] from Operation: 47-2=45 Current State: 37:[5, 46, 45], Operations: ['47-2=45'] Exploring Operation: 45/5=9, Resulting Numbers: [46, 9] Generated Node #3: [46, 9] from Operation: 45/5=9 Current State: 37:[46, 9], Operations: ['47-2=45', '45/5=9'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[5, 47, 46, 2], Operations: [] Exploring Operation: 5*2=10, Resulting Numbers: [47, 46, 10] Generated Node #0,0: 37:[47, 46, 10] Operation: 5*2=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[47, 46, 10], Operations: ['5*2=10'] Exploring Operation: 47-10=37, Resulting Numbers: [46, 37] Generated Node #0,0,0: 37:[46, 37] Operation: 47-10=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[46, 37], Operations: ['5*2=10', '47-10=37'] Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 16, 1, 76, 50 ]
41
[ "16-1=15", "76-50=26", "15+26=41" ]
Current State: 41:[16, 1, 76, 50], Operations: [] Exploring Operation: 16-1=15, Resulting Numbers: [76, 50, 15] Generated Node #2: [76, 50, 15] from Operation: 16-1=15 Current State: 41:[76, 50, 15], Operations: ['16-1=15'] Exploring Operation: 76-50=26, Resulting Numbers: [15, 26] Generated Node #3: [15, 26] from Operation: 76-50=26 Current State: 41:[15, 26], Operations: ['16-1=15', '76-50=26'] Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[16, 1, 76, 50], Operations: [] Exploring Operation: 16+1=17, Resulting Numbers: [76, 50, 17] Generated Node #0,0: 41:[76, 50, 17] Operation: 16+1=17 Exploring Operation: 76-16=60, Resulting Numbers: [1, 50, 60] Generated Node #0,1: 41:[1, 50, 60] Operation: 76-16=60 Exploring Operation: 50-1=49, Resulting Numbers: [16, 76, 49] Generated Node #0,2: 41:[16, 76, 49] Operation: 50-1=49 Exploring Operation: 76-1=75, Resulting Numbers: [16, 50, 75] Generated Node #0,3: 41:[16, 50, 75] Operation: 76-1=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[76, 50, 17], Operations: ['16+1=17'] Exploring Operation: 76-50=26, Resulting Numbers: [17, 26] Generated Node #0,0,0: 41:[17, 26] Operation: 76-50=26 Exploring Operation: 76-17=59, Resulting Numbers: [50, 59] Generated Node #0,0,1: 41:[50, 59] Operation: 76-17=59 Exploring Operation: 76+17=93, Resulting Numbers: [50, 93] Generated Node #0,0,2: 41:[50, 93] Operation: 76+17=93 Exploring Operation: 50-17=33, Resulting Numbers: [76, 33] Generated Node #0,0,3: 41:[76, 33] Operation: 50-17=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[50, 59], Operations: ['16+1=17', '76-17=59'] Exploring Operation: 50*59=2950, Resulting Numbers: [2950] 2950,41 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 50+59=109, Resulting Numbers: [109] 109,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[17, 26], Operations: ['16+1=17', '76-50=26'] Exploring Operation: 17*26=442, Resulting Numbers: [442] 442,41 unequal: No Solution Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 41:[76, 33], Operations: ['16+1=17', '50-17=33'] Exploring Operation: 76+33=109, Resulting Numbers: [109] 109,41 unequal: No Solution Exploring Operation: 76*33=2508, Resulting Numbers: [2508] 2508,41 unequal: No Solution Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[50, 93], Operations: ['16+1=17', '76+17=93'] Exploring Operation: 50+93=143, Resulting Numbers: [143] 143,41 unequal: No Solution Exploring Operation: 93-50=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 50*93=4650, Resulting Numbers: [4650] 4650,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,1 Current State: 41:[1, 50, 60], Operations: ['76-16=60'] Exploring Operation: 1*50=50, Resulting Numbers: [60, 50] Generated Node #0,1,0: 41:[60, 50] Operation: 1*50=50 Exploring Operation: 50-1=49, Resulting Numbers: [60, 49] Generated Node #0,1,1: 41:[60, 49] Operation: 50-1=49 Exploring Operation: 60-1=59, Resulting Numbers: [50, 59] Generated Node #0,1,2: 41:[50, 59] Operation: 60-1=59 Exploring Operation: 50/1=50, Resulting Numbers: [60, 50] Generated Node #0,1,3: 41:[60, 50] Operation: 50/1=50 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[60, 49], Operations: ['76-16=60', '50-1=49'] Exploring Operation: 60*49=2940, Resulting Numbers: [2940] 2940,41 unequal: No Solution Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 60+49=109, Resulting Numbers: [109] 109,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[50, 59], Operations: ['76-16=60', '60-1=59'] Exploring Operation: 50+59=109, Resulting Numbers: [109] 109,41 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 50*59=2950, Resulting Numbers: [2950] 2950,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:[60, 50], Operations: ['76-16=60', '1*50=50'] Exploring Operation: 60+50=110, Resulting Numbers: [110] 110,41 unequal: No Solution Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 60*50=3000, Resulting Numbers: [3000] 3000,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 41:[60, 50], Operations: ['76-16=60', '50/1=50'] Exploring Operation: 60+50=110, Resulting Numbers: [110] 110,41 unequal: No Solution Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 60*50=3000, Resulting Numbers: [3000] 3000,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[16, 76, 49], Operations: ['50-1=49'] Exploring Operation: 76-49=27, Resulting Numbers: [16, 27] Generated Node #0,2,0: 41:[16, 27] Operation: 76-49=27 Exploring Operation: 76-16=60, Resulting Numbers: [49, 60] Generated Node #0,2,1: 41:[49, 60] Operation: 76-16=60 Exploring Operation: 16+76=92, Resulting Numbers: [49, 92] Generated Node #0,2,2: 41:[49, 92] Operation: 16+76=92 Exploring Operation: 49-16=33, Resulting Numbers: [76, 33] Generated Node #0,2,3: 41:[76, 33] Operation: 49-16=33 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 41:[49, 60], Operations: ['50-1=49', '76-16=60'] Exploring Operation: 49*60=2940, Resulting Numbers: [2940] 2940,41 unequal: No Solution Exploring Operation: 49+60=109, Resulting Numbers: [109] 109,41 unequal: No Solution Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[16, 27], Operations: ['50-1=49', '76-49=27'] Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 16*27=432, Resulting Numbers: [432] 432,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 41:[76, 33], Operations: ['50-1=49', '49-16=33'] Exploring Operation: 76+33=109, Resulting Numbers: [109] 109,41 unequal: No Solution Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 76*33=2508, Resulting Numbers: [2508] 2508,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 41:[49, 92], Operations: ['50-1=49', '16+76=92'] Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 49+92=141, Resulting Numbers: [141] 141,41 unequal: No Solution Exploring Operation: 49*92=4508, Resulting Numbers: [4508] 4508,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[16, 50, 75], Operations: ['76-1=75'] Exploring Operation: 16+50=66, Resulting Numbers: [75, 66] Generated Node #0,3,0: 41:[75, 66] Operation: 16+50=66 Exploring Operation: 75-16=59, Resulting Numbers: [50, 59] Generated Node #0,3,1: 41:[50, 59] Operation: 75-16=59 Exploring Operation: 50-16=34, Resulting Numbers: [75, 34] Generated Node #0,3,2: 41:[75, 34] Operation: 50-16=34 Exploring Operation: 75-50=25, Resulting Numbers: [16, 25] Generated Node #0,3,3: 41:[16, 25] Operation: 75-50=25 Moving to Node #0,3,1 Current State: 41:[50, 59], Operations: ['76-1=75', '75-16=59'] Exploring Operation: 50+59=109, Resulting Numbers: [109] 109,41 unequal: No Solution Exploring Operation: 50*59=2950, Resulting Numbers: [2950] 2950,41 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[16, 25], Operations: ['76-1=75', '75-50=25'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,41 unequal: No Solution Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[16, 1, 76, 50], Operations: [] Exploring Operation: 76-1=75, Resulting Numbers: [16, 50, 75] Generated Node #0,3: 41:[16, 50, 75] Operation: 76-1=75 Moving to Node #0,3 Current State: 41:[16, 50, 75], Operations: ['76-1=75'] Exploring Operation: 75-50=25, Resulting Numbers: [16, 25] Generated Node #0,3,3: 41:[16, 25] Operation: 75-50=25 Moving to Node #0,3,3 Current State: 41:[16, 25], Operations: ['76-1=75', '75-50=25'] Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.942708
hs_4
mult_heuristic
[ 89, 93, 8, 2 ]
16
[ "93-89=4", "8/2=4", "4*4=16" ]
Current State: 16:[89, 93, 8, 2], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [8, 2, 4] Generated Node #2: [8, 2, 4] from Operation: 93-89=4 Current State: 16:[8, 2, 4], Operations: ['93-89=4'] Exploring Operation: 8/2=4, Resulting Numbers: [4, 4] Generated Node #3: [4, 4] from Operation: 8/2=4 Current State: 16:[4, 4], Operations: ['93-89=4', '8/2=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[89, 93, 8, 2], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [8, 2, 4] Generated Node #0,0: 16:[8, 2, 4] Operation: 93-89=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[8, 2, 4], Operations: ['93-89=4'] Exploring Operation: 8*2=16, Resulting Numbers: [4, 16] Generated Node #0,0,0: 16:[4, 16] Operation: 8*2=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[4, 16], Operations: ['93-89=4', '8*2=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 79, 12, 76, 16 ]
36
[ "79-76=3", "16*3=48", "48-12=36" ]
Current State: 36:[79, 12, 76, 16], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [12, 16, 3] Generated Node #2: [12, 16, 3] from Operation: 79-76=3 Current State: 36:[12, 16, 3], Operations: ['79-76=3'] Exploring Operation: 16*3=48, Resulting Numbers: [12, 48] Generated Node #3: [12, 48] from Operation: 16*3=48 Current State: 36:[12, 48], Operations: ['79-76=3', '16*3=48'] Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[79, 12, 76, 16], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [12, 16, 3] Generated Node #0,0: 36:[12, 16, 3] Operation: 79-76=3 Moving to Node #0,0 Current State: 36:[12, 16, 3], Operations: ['79-76=3'] Exploring Operation: 16-12=4, Resulting Numbers: [3, 4] Generated Node #0,0,0: 36:[3, 4] Operation: 16-12=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[3, 4], Operations: ['79-76=3', '16-12=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 4, 68, 27, 69 ]
41
[ "68+27=95", "69+95=164", "164/4=41" ]
Current State: 41:[4, 68, 27, 69], Operations: [] Exploring Operation: 68+27=95, Resulting Numbers: [4, 69, 95] Generated Node #2: [4, 69, 95] from Operation: 68+27=95 Current State: 41:[4, 69, 95], Operations: ['68+27=95'] Exploring Operation: 69+95=164, Resulting Numbers: [4, 164] Generated Node #3: [4, 164] from Operation: 69+95=164 Current State: 41:[4, 164], Operations: ['68+27=95', '69+95=164'] Exploring Operation: 164/4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[4, 68, 27, 69], Operations: [] Exploring Operation: 68-4=64, Resulting Numbers: [27, 69, 64] Generated Node #0,0: 41:[27, 69, 64] Operation: 68-4=64 Exploring Operation: 69-4=65, Resulting Numbers: [68, 27, 65] Generated Node #0,1: 41:[68, 27, 65] Operation: 69-4=65 Exploring Operation: 4+27=31, Resulting Numbers: [68, 69, 31] Generated Node #0,2: 41:[68, 69, 31] Operation: 4+27=31 Moving to Node #0,0 Current State: 41:[27, 69, 64], Operations: ['68-4=64'] Exploring Operation: 64-27=37, Resulting Numbers: [69, 37] Generated Node #0,0,0: 41:[69, 37] Operation: 64-27=37 Exploring Operation: 69-27=42, Resulting Numbers: [64, 42] Generated Node #0,0,1: 41:[64, 42] Operation: 69-27=42 Exploring Operation: 69-64=5, Resulting Numbers: [27, 5] Generated Node #0,0,2: 41:[27, 5] Operation: 69-64=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[64, 42], Operations: ['68-4=64', '69-27=42'] Exploring Operation: 64-42=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 64+42=106, Resulting Numbers: [106] 106,41 unequal: No Solution Exploring Operation: 64*42=2688, Resulting Numbers: [2688] 2688,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[69, 37], Operations: ['68-4=64', '64-27=37'] Exploring Operation: 69-37=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 69+37=106, Resulting Numbers: [106] 106,41 unequal: No Solution Exploring Operation: 69*37=2553, Resulting Numbers: [2553] 2553,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[27, 5], Operations: ['68-4=64', '69-64=5'] Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,41 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 41:[68, 27, 65], Operations: ['69-4=65'] Exploring Operation: 68-27=41, Resulting Numbers: [65, 41] Generated Node #0,1,0: 41:[65, 41] Operation: 68-27=41 Exploring Operation: 68-65=3, Resulting Numbers: [27, 3] Generated Node #0,1,1: 41:[27, 3] Operation: 68-65=3 Exploring Operation: 65-27=38, Resulting Numbers: [68, 38] Generated Node #0,1,2: 41:[68, 38] Operation: 65-27=38 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[65, 41], Operations: ['69-4=65', '68-27=41'] Exploring Operation: 65*41=2665, Resulting Numbers: [2665] 2665,41 unequal: No Solution Exploring Operation: 65+41=106, Resulting Numbers: [106] 106,41 unequal: No Solution Exploring Operation: 65-41=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,2 Current State: 41:[68, 38], Operations: ['69-4=65', '65-27=38'] Exploring Operation: 68+38=106, Resulting Numbers: [106] 106,41 unequal: No Solution Exploring Operation: 68*38=2584, Resulting Numbers: [2584] 2584,41 unequal: No Solution Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[27, 3], Operations: ['69-4=65', '68-65=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 41:[68, 69, 31], Operations: ['4+27=31'] Exploring Operation: 68-31=37, Resulting Numbers: [69, 37] Generated Node #0,2,0: 41:[69, 37] Operation: 68-31=37 Exploring Operation: 69-31=38, Resulting Numbers: [68, 38] Generated Node #0,2,1: 41:[68, 38] Operation: 69-31=38 Exploring Operation: 69-68=1, Resulting Numbers: [31, 1] Generated Node #0,2,2: 41:[31, 1] Operation: 69-68=1 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[68, 38], Operations: ['4+27=31', '69-31=38'] Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 68+38=106, Resulting Numbers: [106] 106,41 unequal: No Solution Exploring Operation: 68*38=2584, Resulting Numbers: [2584] 2584,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,2,0 Current State: 41:[69, 37], Operations: ['4+27=31', '68-31=37'] Exploring Operation: 69-37=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 69*37=2553, Resulting Numbers: [2553] 2553,41 unequal: No Solution Exploring Operation: 69+37=106, Resulting Numbers: [106] 106,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,2,2 Current State: 41:[31, 1], Operations: ['4+27=31', '69-68=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,41 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
[ 18, 86, 30, 32 ]
10
[ "18*30=540", "86-32=54", "540/54=10" ]
Current State: 10:[18, 86, 30, 32], Operations: [] Exploring Operation: 18*30=540, Resulting Numbers: [86, 32, 540] Generated Node #2: [86, 32, 540] from Operation: 18*30=540 Current State: 10:[86, 32, 540], Operations: ['18*30=540'] Exploring Operation: 86-32=54, Resulting Numbers: [540, 54] Generated Node #3: [540, 54] from Operation: 86-32=54 Current State: 10:[540, 54], Operations: ['18*30=540', '86-32=54'] Exploring Operation: 540/54=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[18, 86, 30, 32], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [18, 86, 2] Generated Node #0,0: 10:[18, 86, 2] Operation: 32-30=2 Exploring Operation: 86-30=56, Resulting Numbers: [18, 32, 56] Generated Node #0,1: 10:[18, 32, 56] Operation: 86-30=56 Exploring Operation: 86-32=54, Resulting Numbers: [18, 30, 54] Generated Node #0,2: 10:[18, 30, 54] Operation: 86-32=54 Exploring Operation: 86-18=68, Resulting Numbers: [30, 32, 68] Generated Node #0,3: 10:[30, 32, 68] Operation: 86-18=68 Moving to Node #0,2 Current State: 10:[18, 30, 54], Operations: ['86-32=54'] Exploring Operation: 54/18=3, Resulting Numbers: [30, 3] Generated Node #0,2,0: 10:[30, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [30, 36] Generated Node #0,2,1: 10:[30, 36] Operation: 54-18=36 Exploring Operation: 30-18=12, Resulting Numbers: [54, 12] Generated Node #0,2,2: 10:[54, 12] Operation: 30-18=12 Exploring Operation: 54-30=24, Resulting Numbers: [18, 24] Generated Node #0,2,3: 10:[18, 24] Operation: 54-30=24 Moving to Node #0,1 Current State: 10:[18, 32, 56], Operations: ['86-30=56'] Exploring Operation: 18+32=50, Resulting Numbers: [56, 50] Generated Node #0,1,0: 10:[56, 50] Operation: 18+32=50 Exploring Operation: 32-18=14, Resulting Numbers: [56, 14] Generated Node #0,1,1: 10:[56, 14] Operation: 32-18=14 Exploring Operation: 56-32=24, Resulting Numbers: [18, 24] Generated Node #0,1,2: 10:[18, 24] Operation: 56-32=24 Exploring Operation: 56-18=38, Resulting Numbers: [32, 38] Generated Node #0,1,3: 10:[32, 38] Operation: 56-18=38 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[18, 24], Operations: ['86-30=56', '56-32=24'] Exploring Operation: 18*24=432, Resulting Numbers: [432] 432,10 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,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:[56, 14], Operations: ['86-30=56', '32-18=14'] Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,10 unequal: No Solution Exploring Operation: 56*14=784, Resulting Numbers: [784] 784,10 unequal: No Solution Exploring Operation: 56+14=70, Resulting Numbers: [70] 70,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:[32, 38], Operations: ['86-30=56', '56-18=38'] Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,10 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,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,0 Current State: 10:[56, 50], Operations: ['86-30=56', '18+32=50'] Exploring Operation: 56+50=106, Resulting Numbers: [106] 106,10 unequal: No Solution Exploring Operation: 56*50=2800, Resulting Numbers: [2800] 2800,10 unequal: No Solution Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,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:[18, 86, 2], Operations: ['32-30=2'] Exploring Operation: 18/2=9, Resulting Numbers: [86, 9] Generated Node #0,0,0: 10:[86, 9] Operation: 18/2=9 Exploring Operation: 86-18=68, Resulting Numbers: [2, 68] Generated Node #0,0,1: 10:[2, 68] Operation: 86-18=68 Exploring Operation: 18-2=16, Resulting Numbers: [86, 16] Generated Node #0,0,2: 10:[86, 16] Operation: 18-2=16 Exploring Operation: 86/2=43, Resulting Numbers: [18, 43] Generated Node #0,0,3: 10:[18, 43] Operation: 86/2=43 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 10:[18, 43], Operations: ['32-30=2', '86/2=43'] Exploring Operation: 18+43=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 18*43=774, Resulting Numbers: [774] 774,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:[2, 68], Operations: ['32-30=2', '86-18=68'] Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,10 unequal: No Solution Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,10 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,10 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,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:[86, 9], Operations: ['32-30=2', '18/2=9'] Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,10 unequal: No Solution Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,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,2 Current State: 10:[86, 16], Operations: ['32-30=2', '18-2=16'] Exploring Operation: 86*16=1376, Resulting Numbers: [1376] 1376,10 unequal: No Solution Exploring Operation: 86+16=102, Resulting Numbers: [102] 102,10 unequal: No Solution Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,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:[30, 32, 68], Operations: ['86-18=68'] Exploring Operation: 30+32=62, Resulting Numbers: [68, 62] Generated Node #0,3,0: 10:[68, 62] Operation: 30+32=62 Exploring Operation: 68-30=38, Resulting Numbers: [32, 38] Generated Node #0,3,1: 10:[32, 38] Operation: 68-30=38 Exploring Operation: 32-30=2, Resulting Numbers: [68, 2] Generated Node #0,3,2: 10:[68, 2] Operation: 32-30=2 Exploring Operation: 68-32=36, Resulting Numbers: [30, 36] Generated Node #0,3,3: 10:[30, 36] Operation: 68-32=36 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 10:[30, 36], Operations: ['86-18=68', '68-32=36'] Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,10 unequal: No Solution Exploring Operation: 30*36=1080, Resulting Numbers: [1080] 1080,10 unequal: No Solution Exploring Operation: 36-30=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,3,1 Current State: 10:[32, 38], Operations: ['86-18=68', '68-30=38'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,10 unequal: No Solution Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,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:[68, 2], Operations: ['86-18=68', '32-30=2'] Exploring Operation: 68*2=136, Resulting Numbers: [136] 136,10 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,10 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,10 unequal: No Solution Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,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,0 Current State: 10:[68, 62], Operations: ['86-18=68', '30+32=62'] Exploring Operation: 68+62=130, Resulting Numbers: [130] 130,10 unequal: No Solution Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 68*62=4216, Resulting Numbers: [4216] 4216,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 10:[30, 3], Operations: ['86-32=54', '54/18=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[18, 86, 30, 32], Operations: [] Exploring Operation: 86-32=54, Resulting Numbers: [18, 30, 54] Generated Node #0,2: 10:[18, 30, 54] Operation: 86-32=54 Moving to Node #0,2 Current State: 10:[18, 30, 54], Operations: ['86-32=54'] Exploring Operation: 54/18=3, Resulting Numbers: [30, 3] Generated Node #0,2,0: 10:[30, 3] Operation: 54/18=3 Moving to Node #0,2,0 Current State: 10:[30, 3], Operations: ['86-32=54', '54/18=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.944444
hs_4
sum_heuristic
[ 55, 87, 67, 37 ]
38
[ "55+87=142", "67+37=104", "142-104=38" ]
Current State: 38:[55, 87, 67, 37], Operations: [] Exploring Operation: 55+87=142, Resulting Numbers: [67, 37, 142] Generated Node #2: [67, 37, 142] from Operation: 55+87=142 Current State: 38:[67, 37, 142], Operations: ['55+87=142'] Exploring Operation: 67+37=104, Resulting Numbers: [142, 104] Generated Node #3: [142, 104] from Operation: 67+37=104 Current State: 38:[142, 104], Operations: ['55+87=142', '67+37=104'] Exploring Operation: 142-104=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[55, 87, 67, 37], Operations: [] Exploring Operation: 87-37=50, Resulting Numbers: [55, 67, 50] Generated Node #0,0: 38:[55, 67, 50] Operation: 87-37=50 Exploring Operation: 87-55=32, Resulting Numbers: [67, 37, 32] Generated Node #0,1: 38:[67, 37, 32] Operation: 87-55=32 Exploring Operation: 67-37=30, Resulting Numbers: [55, 87, 30] Generated Node #0,2: 38:[55, 87, 30] Operation: 67-37=30 Exploring Operation: 87-67=20, Resulting Numbers: [55, 37, 20] Generated Node #0,3: 38:[55, 37, 20] Operation: 87-67=20 Exploring Operation: 67-55=12, Resulting Numbers: [87, 37, 12] Generated Node #0,4: 38:[87, 37, 12] Operation: 67-55=12 Moving to Node #0,3 Current State: 38:[55, 37, 20], Operations: ['87-67=20'] Exploring Operation: 37+20=57, Resulting Numbers: [55, 57] Generated Node #0,3,0: 38:[55, 57] Operation: 37+20=57 Exploring Operation: 55-20=35, Resulting Numbers: [37, 35] Generated Node #0,3,1: 38:[37, 35] Operation: 55-20=35 Exploring Operation: 55+20=75, Resulting Numbers: [37, 75] Generated Node #0,3,2: 38:[37, 75] Operation: 55+20=75 Exploring Operation: 37-20=17, Resulting Numbers: [55, 17] Generated Node #0,3,3: 38:[55, 17] Operation: 37-20=17 Exploring Operation: 55-37=18, Resulting Numbers: [20, 18] Generated Node #0,3,4: 38:[20, 18] Operation: 55-37=18 Moving to Node #0,1 Current State: 38:[67, 37, 32], Operations: ['87-55=32'] Exploring Operation: 67-37=30, Resulting Numbers: [32, 30] Generated Node #0,1,0: 38:[32, 30] Operation: 67-37=30 Exploring Operation: 67-32=35, Resulting Numbers: [37, 35] Generated Node #0,1,1: 38:[37, 35] Operation: 67-32=35 Exploring Operation: 37-32=5, Resulting Numbers: [67, 5] Generated Node #0,1,2: 38:[67, 5] Operation: 37-32=5 Exploring Operation: 67+32=99, Resulting Numbers: [37, 99] Generated Node #0,1,3: 38:[37, 99] Operation: 67+32=99 Exploring Operation: 37+32=69, Resulting Numbers: [67, 69] Generated Node #0,1,4: 38:[67, 69] Operation: 37+32=69 Moving to Node #0,4 Current State: 38:[87, 37, 12], Operations: ['67-55=12'] Exploring Operation: 37-12=25, Resulting Numbers: [87, 25] Generated Node #0,4,0: 38:[87, 25] Operation: 37-12=25 Exploring Operation: 87-12=75, Resulting Numbers: [37, 75] Generated Node #0,4,1: 38:[37, 75] Operation: 87-12=75 Exploring Operation: 87+12=99, Resulting Numbers: [37, 99] Generated Node #0,4,2: 38:[37, 99] Operation: 87+12=99 Exploring Operation: 37+12=49, Resulting Numbers: [87, 49] Generated Node #0,4,3: 38:[87, 49] Operation: 37+12=49 Exploring Operation: 87-37=50, Resulting Numbers: [12, 50] Generated Node #0,4,4: 38:[12, 50] Operation: 87-37=50 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 38:[12, 50], Operations: ['67-55=12', '87-37=50'] Exploring Operation: 12+50=62, Resulting Numbers: [62] 62,38 unequal: No Solution Exploring Operation: 12*50=600, Resulting Numbers: [600] 600,38 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[55, 87, 67, 37], Operations: [] Exploring Operation: 67-55=12, Resulting Numbers: [87, 37, 12] Generated Node #0,4: 38:[87, 37, 12] Operation: 67-55=12 Moving to Node #0,4 Current State: 38:[87, 37, 12], Operations: ['67-55=12'] Exploring Operation: 87-37=50, Resulting Numbers: [12, 50] Generated Node #0,4,4: 38:[12, 50] Operation: 87-37=50 Moving to Node #0,4,4 Current State: 38:[12, 50], Operations: ['67-55=12', '87-37=50'] Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 37, 85, 35, 60 ]
61
[ "37*60=2220", "2220-85=2135", "2135/35=61" ]
Current State: 61:[37, 85, 35, 60], Operations: [] Exploring Operation: 37*60=2220, Resulting Numbers: [85, 35, 2220] Generated Node #2: [85, 35, 2220] from Operation: 37*60=2220 Current State: 61:[85, 35, 2220], Operations: ['37*60=2220'] Exploring Operation: 2220-85=2135, Resulting Numbers: [35, 2135] Generated Node #3: [35, 2135] from Operation: 2220-85=2135 Current State: 61:[35, 2135], Operations: ['37*60=2220', '2220-85=2135'] Exploring Operation: 2135/35=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[37, 85, 35, 60], Operations: [] Exploring Operation: 37+35=72, Resulting Numbers: [85, 60, 72] Generated Node #0,0: 61:[85, 60, 72] Operation: 37+35=72 Exploring Operation: 85-35=50, Resulting Numbers: [37, 60, 50] Generated Node #0,1: 61:[37, 60, 50] Operation: 85-35=50 Exploring Operation: 35+60=95, Resulting Numbers: [37, 85, 95] Generated Node #0,2: 61:[37, 85, 95] Operation: 35+60=95 Exploring Operation: 85-37=48, Resulting Numbers: [35, 60, 48] Generated Node #0,3: 61:[35, 60, 48] Operation: 85-37=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[85, 60, 72], Operations: ['37+35=72'] Exploring Operation: 72-60=12, Resulting Numbers: [85, 12] Generated Node #0,0,0: 61:[85, 12] Operation: 72-60=12 Exploring Operation: 85-72=13, Resulting Numbers: [60, 13] Generated Node #0,0,1: 61:[60, 13] Operation: 85-72=13 Exploring Operation: 85+60=145, Resulting Numbers: [72, 145] Generated Node #0,0,2: 61:[72, 145] Operation: 85+60=145 Exploring Operation: 85-60=25, Resulting Numbers: [72, 25] Generated Node #0,0,3: 61:[72, 25] Operation: 85-60=25 Moving to Node #0,0,3 Current State: 61:[72, 25], Operations: ['37+35=72', '85-60=25'] Exploring Operation: 72*25=1800, Resulting Numbers: [1800] 1800,61 unequal: No Solution Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[60, 13], Operations: ['37+35=72', '85-72=13'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,61 unequal: No Solution Exploring Operation: 60*13=780, Resulting Numbers: [780] 780,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[85, 12], Operations: ['37+35=72', '72-60=12'] Exploring Operation: 85+12=97, Resulting Numbers: [97] 97,61 unequal: No Solution Exploring Operation: 85*12=1020, Resulting Numbers: [1020] 1020,61 unequal: No Solution Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[72, 145], Operations: ['37+35=72', '85+60=145'] Exploring Operation: 72+145=217, Resulting Numbers: [217] 217,61 unequal: No Solution Exploring Operation: 72*145=10440, Resulting Numbers: [10440] 10440,61 unequal: No Solution Exploring Operation: 145-72=73, Resulting Numbers: [73] 73,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,1 Current State: 61:[37, 60, 50], Operations: ['85-35=50'] Exploring Operation: 60-37=23, Resulting Numbers: [50, 23] Generated Node #0,1,0: 61:[50, 23] Operation: 60-37=23 Exploring Operation: 37+60=97, Resulting Numbers: [50, 97] Generated Node #0,1,1: 61:[50, 97] Operation: 37+60=97 Exploring Operation: 37+50=87, Resulting Numbers: [60, 87] Generated Node #0,1,2: 61:[60, 87] Operation: 37+50=87 Exploring Operation: 50-37=13, Resulting Numbers: [60, 13] Generated Node #0,1,3: 61:[60, 13] Operation: 50-37=13 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 61:[60, 87], Operations: ['85-35=50', '37+50=87'] Exploring Operation: 60*87=5220, Resulting Numbers: [5220] 5220,61 unequal: No Solution Exploring Operation: 87-60=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 60+87=147, Resulting Numbers: [147] 147,61 unequal: No Solution No 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: 61:[50, 97], Operations: ['85-35=50', '37+60=97'] Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 50+97=147, Resulting Numbers: [147] 147,61 unequal: No Solution Exploring Operation: 50*97=4850, Resulting Numbers: [4850] 4850,61 unequal: No Solution No 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: 61:[50, 23], Operations: ['85-35=50', '60-37=23'] Exploring Operation: 50+23=73, Resulting Numbers: [73] 73,61 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 50*23=1150, Resulting Numbers: [1150] 1150,61 unequal: No Solution No 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: 61:[60, 13], Operations: ['85-35=50', '50-37=13'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 60*13=780, Resulting Numbers: [780] 780,61 unequal: No Solution Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,61 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: 61:[35, 60, 48], Operations: ['85-37=48'] Exploring Operation: 60-35=25, Resulting Numbers: [48, 25] Generated Node #0,3,0: 61:[48, 25] Operation: 60-35=25 Exploring Operation: 35+48=83, Resulting Numbers: [60, 83] Generated Node #0,3,1: 61:[60, 83] Operation: 35+48=83 Exploring Operation: 35+60=95, Resulting Numbers: [48, 95] Generated Node #0,3,2: 61:[48, 95] Operation: 35+60=95 Exploring Operation: 48-35=13, Resulting Numbers: [60, 13] Generated Node #0,3,3: 61:[60, 13] Operation: 48-35=13 Moving to Node #0,3,1 Current State: 61:[60, 83], Operations: ['85-37=48', '35+48=83'] Exploring Operation: 60*83=4980, Resulting Numbers: [4980] 4980,61 unequal: No Solution Exploring Operation: 83-60=23, Resulting Numbers: [23] 23,61 unequal: No Solution Exploring Operation: 60+83=143, Resulting Numbers: [143] 143,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[48, 95], Operations: ['85-37=48', '35+60=95'] Exploring Operation: 95-48=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 48*95=4560, Resulting Numbers: [4560] 4560,61 unequal: No Solution Exploring Operation: 48+95=143, Resulting Numbers: [143] 143,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[60, 13], Operations: ['85-37=48', '48-35=13'] Exploring Operation: 60*13=780, Resulting Numbers: [780] 780,61 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[48, 25], Operations: ['85-37=48', '60-35=25'] Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,61 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,61 unequal: No Solution Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,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:[37, 85, 95], Operations: ['35+60=95'] Exploring Operation: 95-85=10, Resulting Numbers: [37, 10] Generated Node #0,2,0: 61:[37, 10] Operation: 95-85=10 Exploring Operation: 85-37=48, Resulting Numbers: [95, 48] Generated Node #0,2,1: 61:[95, 48] Operation: 85-37=48 Exploring Operation: 95-37=58, Resulting Numbers: [85, 58] Generated Node #0,2,2: 61:[85, 58] Operation: 95-37=58 Exploring Operation: 37+85=122, Resulting Numbers: [95, 122] Generated Node #0,2,3: 61:[95, 122] Operation: 37+85=122 Moving to Node #0,2,2 Current State: 61:[85, 58], Operations: ['35+60=95', '95-37=58'] Exploring Operation: 85+58=143, Resulting Numbers: [143] 143,61 unequal: No Solution Exploring Operation: 85*58=4930, Resulting Numbers: [4930] 4930,61 unequal: No Solution Exploring Operation: 85-58=27, Resulting Numbers: [27] 27,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[95, 48], Operations: ['35+60=95', '85-37=48'] Exploring Operation: 95*48=4560, Resulting Numbers: [4560] 4560,61 unequal: No Solution Exploring Operation: 95+48=143, Resulting Numbers: [143] 143,61 unequal: No Solution Exploring Operation: 95-48=47, Resulting Numbers: [47] 47,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[37, 10], Operations: ['35+60=95', '95-85=10'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[95, 122], Operations: ['35+60=95', '37+85=122'] Exploring Operation: 95*122=11590, Resulting Numbers: [11590] 11590,61 unequal: No Solution Exploring Operation: 95+122=217, Resulting Numbers: [217] 217,61 unequal: No Solution Exploring Operation: 122-95=27, Resulting Numbers: [27] 27,61 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
[ 26, 1, 23, 23 ]
20
[ "26*1=26", "23+23=46", "46-26=20" ]
Current State: 20:[26, 1, 23, 23], Operations: [] Exploring Operation: 26*1=26, Resulting Numbers: [23, 23, 26] Generated Node #2: [23, 23, 26] from Operation: 26*1=26 Current State: 20:[23, 23, 26], Operations: ['26*1=26'] Exploring Operation: 23+23=46, Resulting Numbers: [26, 46] Generated Node #3: [26, 46] from Operation: 23+23=46 Current State: 20:[26, 46], Operations: ['26*1=26', '23+23=46'] Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[26, 1, 23, 23], Operations: [] Exploring Operation: 26-23=3, Resulting Numbers: [1, 23, 3] Generated Node #0,0: 20:[1, 23, 3] Operation: 26-23=3 Exploring Operation: 26-23=3, Resulting Numbers: [1, 23, 3] Generated Node #0,1: 20:[1, 23, 3] Operation: 26-23=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[1, 23, 3], Operations: ['26-23=3'] Exploring Operation: 23-1=22, Resulting Numbers: [3, 22] Generated Node #0,0,0: 20:[3, 22] Operation: 23-1=22 Exploring Operation: 23-3=20, Resulting Numbers: [1, 20] Generated Node #0,0,1: 20:[1, 20] Operation: 23-3=20 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 20:[1, 20], Operations: ['26-23=3', '23-3=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[26, 1, 23, 23], Operations: [] Exploring Operation: 26-23=3, Resulting Numbers: [1, 23, 3] Generated Node #0,0: 20:[1, 23, 3] Operation: 26-23=3 Moving to Node #0,0 Current State: 20:[1, 23, 3], Operations: ['26-23=3'] Exploring Operation: 23-3=20, Resulting Numbers: [1, 20] Generated Node #0,0,1: 20:[1, 20] Operation: 23-3=20 Moving to Node #0,0,1 Current State: 20:[1, 20], Operations: ['26-23=3', '23-3=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 26, 90, 10, 77 ]
20
[ "26*10=260", "90-77=13", "260/13=20" ]
Current State: 20:[26, 90, 10, 77], Operations: [] Exploring Operation: 26*10=260, Resulting Numbers: [90, 77, 260] Generated Node #2: [90, 77, 260] from Operation: 26*10=260 Current State: 20:[90, 77, 260], Operations: ['26*10=260'] Exploring Operation: 90-77=13, Resulting Numbers: [260, 13] Generated Node #3: [260, 13] from Operation: 90-77=13 Current State: 20:[260, 13], Operations: ['26*10=260', '90-77=13'] Exploring Operation: 260/13=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[26, 90, 10, 77], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [26, 77, 9] Generated Node #0,0: 20:[26, 77, 9] Operation: 90/10=9 Exploring Operation: 90-77=13, Resulting Numbers: [26, 10, 13] Generated Node #0,1: 20:[26, 10, 13] Operation: 90-77=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[26, 10, 13], Operations: ['90-77=13'] Exploring Operation: 26-13=13, Resulting Numbers: [10, 13] Generated Node #0,1,0: 20:[10, 13] Operation: 26-13=13 Exploring Operation: 26/13=2, Resulting Numbers: [10, 2] Generated Node #0,1,1: 20:[10, 2] Operation: 26/13=2 Moving to Node #0,1,1 Current State: 20:[10, 2], Operations: ['90-77=13', '26/13=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[26, 90, 10, 77], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [26, 10, 13] Generated Node #0,1: 20:[26, 10, 13] Operation: 90-77=13 Moving to Node #0,1 Current State: 20:[26, 10, 13], Operations: ['90-77=13'] Exploring Operation: 26/13=2, Resulting Numbers: [10, 2] Generated Node #0,1,1: 20:[10, 2] Operation: 26/13=2 Moving to Node #0,1,1 Current State: 20:[10, 2], Operations: ['90-77=13', '26/13=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 62, 46, 31, 64 ]
49
[ "62-46=16", "64-31=33", "16+33=49" ]
Current State: 49:[62, 46, 31, 64], Operations: [] Exploring Operation: 62-46=16, Resulting Numbers: [31, 64, 16] Generated Node #2: [31, 64, 16] from Operation: 62-46=16 Current State: 49:[31, 64, 16], Operations: ['62-46=16'] Exploring Operation: 64-31=33, Resulting Numbers: [16, 33] Generated Node #3: [16, 33] from Operation: 64-31=33 Current State: 49:[16, 33], Operations: ['62-46=16', '64-31=33'] Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[62, 46, 31, 64], Operations: [] Exploring Operation: 46-31=15, Resulting Numbers: [62, 64, 15] Generated Node #0,0: 49:[62, 64, 15] Operation: 46-31=15 Exploring Operation: 64-31=33, Resulting Numbers: [62, 46, 33] Generated Node #0,1: 49:[62, 46, 33] Operation: 64-31=33 Exploring Operation: 62/31=2, Resulting Numbers: [46, 64, 2] Generated Node #0,2: 49:[46, 64, 2] Operation: 62/31=2 Exploring Operation: 64-62=2, Resulting Numbers: [46, 31, 2] Generated Node #0,3: 49:[46, 31, 2] Operation: 64-62=2 Exploring Operation: 62-31=31, Resulting Numbers: [46, 64, 31] Generated Node #0,4: 49:[46, 64, 31] Operation: 62-31=31 Moving to Node #0,2 Current State: 49:[46, 64, 2], Operations: ['62/31=2'] Exploring Operation: 64+2=66, Resulting Numbers: [46, 66] Generated Node #0,2,0: 49:[46, 66] Operation: 64+2=66 Exploring Operation: 46+2=48, Resulting Numbers: [64, 48] Generated Node #0,2,1: 49:[64, 48] Operation: 46+2=48 Exploring Operation: 64-46=18, Resulting Numbers: [2, 18] Generated Node #0,2,2: 49:[2, 18] Operation: 64-46=18 Exploring Operation: 64-2=62, Resulting Numbers: [46, 62] Generated Node #0,2,3: 49:[46, 62] Operation: 64-2=62 Exploring Operation: 46-2=44, Resulting Numbers: [64, 44] Generated Node #0,2,4: 49:[64, 44] Operation: 46-2=44 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[64, 48], Operations: ['62/31=2', '46+2=48'] Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 64*48=3072, Resulting Numbers: [3072] 3072,49 unequal: No Solution Exploring Operation: 64+48=112, Resulting Numbers: [112] 112,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:[2, 18], Operations: ['62/31=2', '64-46=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,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,3 Current State: 49:[46, 62], Operations: ['62/31=2', '64-2=62'] Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 46+62=108, Resulting Numbers: [108] 108,49 unequal: No Solution Exploring Operation: 46*62=2852, Resulting Numbers: [2852] 2852,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:[46, 66], Operations: ['62/31=2', '64+2=66'] Exploring Operation: 46+66=112, Resulting Numbers: [112] 112,49 unequal: No Solution Exploring Operation: 66-46=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 46*66=3036, Resulting Numbers: [3036] 3036,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,4 Current State: 49:[64, 44], Operations: ['62/31=2', '46-2=44'] Exploring Operation: 64+44=108, Resulting Numbers: [108] 108,49 unequal: No Solution Exploring Operation: 64*44=2816, Resulting Numbers: [2816] 2816,49 unequal: No Solution Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,49 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: 49:[46, 31, 2], Operations: ['64-62=2'] Exploring Operation: 46+2=48, Resulting Numbers: [31, 48] Generated Node #0,3,0: 49:[31, 48] Operation: 46+2=48 Exploring Operation: 31*2=62, Resulting Numbers: [46, 62] Generated Node #0,3,1: 49:[46, 62] Operation: 31*2=62 Exploring Operation: 31+2=33, Resulting Numbers: [46, 33] Generated Node #0,3,2: 49:[46, 33] Operation: 31+2=33 Exploring Operation: 46-2=44, Resulting Numbers: [31, 44] Generated Node #0,3,3: 49:[31, 44] Operation: 46-2=44 Exploring Operation: 46-31=15, Resulting Numbers: [2, 15] Generated Node #0,3,4: 49:[2, 15] Operation: 46-31=15 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 49:[2, 15], Operations: ['64-62=2', '46-31=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,49 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,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,3,1 Current State: 49:[46, 62], Operations: ['64-62=2', '31*2=62'] Exploring Operation: 46*62=2852, Resulting Numbers: [2852] 2852,49 unequal: No Solution Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 46+62=108, Resulting Numbers: [108] 108,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,3,0 Current State: 49:[31, 48], Operations: ['64-62=2', '46+2=48'] Exploring Operation: 31*48=1488, Resulting Numbers: [1488] 1488,49 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 31+48=79, Resulting Numbers: [79] 79,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,3,2 Current State: 49:[46, 33], Operations: ['64-62=2', '31+2=33'] Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,49 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 46*33=1518, Resulting Numbers: [1518] 1518,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,3,3 Current State: 49:[31, 44], Operations: ['64-62=2', '46-2=44'] Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 31+44=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 31*44=1364, Resulting Numbers: [1364] 1364,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:[62, 46, 33], Operations: ['64-31=33'] Exploring Operation: 46+33=79, Resulting Numbers: [62, 79] Generated Node #0,1,0: 49:[62, 79] Operation: 46+33=79 Exploring Operation: 62-46=16, Resulting Numbers: [33, 16] Generated Node #0,1,1: 49:[33, 16] Operation: 62-46=16 Exploring Operation: 46-33=13, Resulting Numbers: [62, 13] Generated Node #0,1,2: 49:[62, 13] Operation: 46-33=13 Exploring Operation: 62+33=95, Resulting Numbers: [46, 95] Generated Node #0,1,3: 49:[46, 95] Operation: 62+33=95 Exploring Operation: 62-33=29, Resulting Numbers: [46, 29] Generated Node #0,1,4: 49:[46, 29] Operation: 62-33=29 Moving to Node #0,0 Current State: 49:[62, 64, 15], Operations: ['46-31=15'] Exploring Operation: 64-62=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 49:[15, 2] Operation: 64-62=2 Exploring Operation: 64-15=49, Resulting Numbers: [62, 49] Generated Node #0,0,1: 49:[62, 49] Operation: 64-15=49 Exploring Operation: 62+15=77, Resulting Numbers: [64, 77] Generated Node #0,0,2: 49:[64, 77] Operation: 62+15=77 Exploring Operation: 62-15=47, Resulting Numbers: [64, 47] Generated Node #0,0,3: 49:[64, 47] Operation: 62-15=47 Exploring Operation: 64+15=79, Resulting Numbers: [62, 79] Generated Node #0,0,4: 49:[62, 79] Operation: 64+15=79 Moving to Node #0,4 Current State: 49:[46, 64, 31], Operations: ['62-31=31'] Exploring Operation: 64-46=18, Resulting Numbers: [31, 18] Generated Node #0,4,0: 49:[31, 18] Operation: 64-46=18 Exploring Operation: 46+31=77, Resulting Numbers: [64, 77] Generated Node #0,4,1: 49:[64, 77] Operation: 46+31=77 Exploring Operation: 64-31=33, Resulting Numbers: [46, 33] Generated Node #0,4,2: 49:[46, 33] Operation: 64-31=33 Exploring Operation: 64+31=95, Resulting Numbers: [46, 95] Generated Node #0,4,3: 49:[46, 95] Operation: 64+31=95 Exploring Operation: 46-31=15, Resulting Numbers: [64, 15] Generated Node #0,4,4: 49:[64, 15] Operation: 46-31=15 Moving to Node #0,0,0 Current State: 49:[15, 2], Operations: ['46-31=15', '64-62=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,49 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[62, 49], Operations: ['46-31=15', '64-15=49'] Exploring Operation: 62+49=111, Resulting Numbers: [111] 111,49 unequal: No Solution Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 62*49=3038, Resulting Numbers: [3038] 3038,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[64, 47], Operations: ['46-31=15', '62-15=47'] Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 64*47=3008, Resulting Numbers: [3008] 3008,49 unequal: No Solution Exploring Operation: 64+47=111, Resulting Numbers: [111] 111,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[62, 13], Operations: ['64-31=33', '46-33=13'] Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[62, 46, 31, 64], Operations: [] Exploring Operation: 64-31=33, Resulting Numbers: [62, 46, 33] Generated Node #0,1: 49:[62, 46, 33] Operation: 64-31=33 Moving to Node #0,1 Current State: 49:[62, 46, 33], Operations: ['64-31=33'] Exploring Operation: 46-33=13, Resulting Numbers: [62, 13] Generated Node #0,1,2: 49:[62, 13] Operation: 46-33=13 Moving to Node #0,1,2 Current State: 49:[62, 13], Operations: ['64-31=33', '46-33=13'] Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.934896
hs_5
mult_heuristic
[ 61, 22, 64, 62 ]
78
[ "61-22=39", "64-62=2", "39*2=78" ]
Current State: 78:[61, 22, 64, 62], Operations: [] Exploring Operation: 61-22=39, Resulting Numbers: [64, 62, 39] Generated Node #2: [64, 62, 39] from Operation: 61-22=39 Current State: 78:[64, 62, 39], Operations: ['61-22=39'] Exploring Operation: 64-62=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 64-62=2 Current State: 78:[39, 2], Operations: ['61-22=39', '64-62=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[61, 22, 64, 62], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [22, 62, 3] Generated Node #0,0: 78:[22, 62, 3] Operation: 64-61=3 Exploring Operation: 62-61=1, Resulting Numbers: [22, 64, 1] Generated Node #0,1: 78:[22, 64, 1] Operation: 62-61=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[22, 64, 1], Operations: ['62-61=1'] Exploring Operation: 64-22=42, Resulting Numbers: [1, 42] Generated Node #0,1,0: 78:[1, 42] Operation: 64-22=42 Exploring Operation: 22+64=86, Resulting Numbers: [1, 86] Generated Node #0,1,1: 78:[1, 86] Operation: 22+64=86 Moving to Node #0,1,0 Current State: 78:[1, 42], Operations: ['62-61=1', '64-22=42'] Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[1, 86], Operations: ['62-61=1', '22+64=86'] Exploring Operation: 1*86=86, Resulting Numbers: [86] 86,78 unequal: No Solution Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[22, 62, 3], Operations: ['64-61=3'] Exploring Operation: 62-22=40, Resulting Numbers: [3, 40] Generated Node #0,0,0: 78:[3, 40] Operation: 62-22=40 Exploring Operation: 22+62=84, Resulting Numbers: [3, 84] Generated Node #0,0,1: 78:[3, 84] Operation: 22+62=84 Moving to Node #0,0,0 Current State: 78:[3, 40], Operations: ['64-61=3', '62-22=40'] Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[3, 84], Operations: ['64-61=3', '22+62=84'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,78 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 11, 49, 35, 74 ]
77
[ "49-11=38", "74-35=39", "38+39=77" ]
Current State: 77:[11, 49, 35, 74], Operations: [] Exploring Operation: 49-11=38, Resulting Numbers: [35, 74, 38] Generated Node #2: [35, 74, 38] from Operation: 49-11=38 Current State: 77:[35, 74, 38], Operations: ['49-11=38'] Exploring Operation: 74-35=39, Resulting Numbers: [38, 39] Generated Node #3: [38, 39] from Operation: 74-35=39 Current State: 77:[38, 39], Operations: ['49-11=38', '74-35=39'] Exploring Operation: 38+39=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[11, 49, 35, 74], Operations: [] Exploring Operation: 11+49=60, Resulting Numbers: [35, 74, 60] Generated Node #0,0: 77:[35, 74, 60] Operation: 11+49=60 Exploring Operation: 35-11=24, Resulting Numbers: [49, 74, 24] Generated Node #0,1: 77:[49, 74, 24] Operation: 35-11=24 Exploring Operation: 49+35=84, Resulting Numbers: [11, 74, 84] Generated Node #0,2: 77:[11, 74, 84] Operation: 49+35=84 Exploring Operation: 49-35=14, Resulting Numbers: [11, 74, 14] Generated Node #0,3: 77:[11, 74, 14] Operation: 49-35=14 Exploring Operation: 74-49=25, Resulting Numbers: [11, 35, 25] Generated Node #0,4: 77:[11, 35, 25] Operation: 74-49=25 Moving to Node #0,3 Current State: 77:[11, 74, 14], Operations: ['49-35=14'] Exploring Operation: 11+14=25, Resulting Numbers: [74, 25] Generated Node #0,3,0: 77:[74, 25] Operation: 11+14=25 Exploring Operation: 11+74=85, Resulting Numbers: [14, 85] Generated Node #0,3,1: 77:[14, 85] Operation: 11+74=85 Exploring Operation: 14-11=3, Resulting Numbers: [74, 3] Generated Node #0,3,2: 77:[74, 3] Operation: 14-11=3 Exploring Operation: 74+14=88, Resulting Numbers: [11, 88] Generated Node #0,3,3: 77:[11, 88] Operation: 74+14=88 Exploring Operation: 74-11=63, Resulting Numbers: [14, 63] Generated Node #0,3,4: 77:[14, 63] Operation: 74-11=63 Moving to Node #0,2 Current State: 77:[11, 74, 84], Operations: ['49+35=84'] Exploring Operation: 11+84=95, Resulting Numbers: [74, 95] Generated Node #0,2,0: 77:[74, 95] Operation: 11+84=95 Exploring Operation: 11+74=85, Resulting Numbers: [84, 85] Generated Node #0,2,1: 77:[84, 85] Operation: 11+74=85 Exploring Operation: 74-11=63, Resulting Numbers: [84, 63] Generated Node #0,2,2: 77:[84, 63] Operation: 74-11=63 Exploring Operation: 84-74=10, Resulting Numbers: [11, 10] Generated Node #0,2,3: 77:[11, 10] Operation: 84-74=10 Exploring Operation: 84-11=73, Resulting Numbers: [74, 73] Generated Node #0,2,4: 77:[74, 73] Operation: 84-11=73 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[11, 10], Operations: ['49+35=84', '84-74=10'] Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,77 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 77:[74, 73], Operations: ['49+35=84', '84-11=73'] Exploring Operation: 74+73=147, Resulting Numbers: [147] 147,77 unequal: No Solution Exploring Operation: 74*73=5402, Resulting Numbers: [5402] 5402,77 unequal: No Solution Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[84, 85], Operations: ['49+35=84', '11+74=85'] Exploring Operation: 84*85=7140, Resulting Numbers: [7140] 7140,77 unequal: No Solution Exploring Operation: 84+85=169, Resulting Numbers: [169] 169,77 unequal: No Solution Exploring Operation: 85-84=1, Resulting Numbers: [1] 1,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[74, 95], Operations: ['49+35=84', '11+84=95'] Exploring Operation: 95-74=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 74*95=7030, Resulting Numbers: [7030] 7030,77 unequal: No Solution Exploring Operation: 74+95=169, Resulting Numbers: [169] 169,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[84, 63], Operations: ['49+35=84', '74-11=63'] Exploring Operation: 84+63=147, Resulting Numbers: [147] 147,77 unequal: No Solution Exploring Operation: 84-63=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 84*63=5292, Resulting Numbers: [5292] 5292,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 77:[11, 35, 25], Operations: ['74-49=25'] Exploring Operation: 35+25=60, Resulting Numbers: [11, 60] Generated Node #0,4,0: 77:[11, 60] Operation: 35+25=60 Exploring Operation: 35-25=10, Resulting Numbers: [11, 10] Generated Node #0,4,1: 77:[11, 10] Operation: 35-25=10 Exploring Operation: 25-11=14, Resulting Numbers: [35, 14] Generated Node #0,4,2: 77:[35, 14] Operation: 25-11=14 Exploring Operation: 11+35=46, Resulting Numbers: [25, 46] Generated Node #0,4,3: 77:[25, 46] Operation: 11+35=46 Exploring Operation: 35-11=24, Resulting Numbers: [25, 24] Generated Node #0,4,4: 77:[25, 24] Operation: 35-11=24 Moving to Node #0,0 Current State: 77:[35, 74, 60], Operations: ['11+49=60'] Exploring Operation: 35+60=95, Resulting Numbers: [74, 95] Generated Node #0,0,0: 77:[74, 95] Operation: 35+60=95 Exploring Operation: 74-60=14, Resulting Numbers: [35, 14] Generated Node #0,0,1: 77:[35, 14] Operation: 74-60=14 Exploring Operation: 35+74=109, Resulting Numbers: [60, 109] Generated Node #0,0,2: 77:[60, 109] Operation: 35+74=109 Exploring Operation: 60-35=25, Resulting Numbers: [74, 25] Generated Node #0,0,3: 77:[74, 25] Operation: 60-35=25 Exploring Operation: 74-35=39, Resulting Numbers: [60, 39] Generated Node #0,0,4: 77:[60, 39] Operation: 74-35=39 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[74, 25], Operations: ['11+49=60', '60-35=25'] Exploring Operation: 74+25=99, Resulting Numbers: [99] 99,77 unequal: No Solution Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,77 unequal: No Solution Exploring Operation: 74*25=1850, Resulting Numbers: [1850] 1850,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[74, 95], Operations: ['11+49=60', '35+60=95'] Exploring Operation: 95-74=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 74*95=7030, Resulting Numbers: [7030] 7030,77 unequal: No Solution Exploring Operation: 74+95=169, Resulting Numbers: [169] 169,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[35, 14], Operations: ['11+49=60', '74-60=14'] Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,77 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 77:[60, 39], Operations: ['11+49=60', '74-35=39'] Exploring Operation: 60+39=99, Resulting Numbers: [99] 99,77 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 60*39=2340, Resulting Numbers: [2340] 2340,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[60, 109], Operations: ['11+49=60', '35+74=109'] Exploring Operation: 60+109=169, Resulting Numbers: [169] 169,77 unequal: No Solution Exploring Operation: 60*109=6540, Resulting Numbers: [6540] 6540,77 unequal: No Solution Exploring Operation: 109-60=49, Resulting Numbers: [49] 49,77 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: 77:[49, 74, 24], Operations: ['35-11=24'] Exploring Operation: 74-24=50, Resulting Numbers: [49, 50] Generated Node #0,1,0: 77:[49, 50] Operation: 74-24=50 Exploring Operation: 74+24=98, Resulting Numbers: [49, 98] Generated Node #0,1,1: 77:[49, 98] Operation: 74+24=98 Exploring Operation: 49+24=73, Resulting Numbers: [74, 73] Generated Node #0,1,2: 77:[74, 73] Operation: 49+24=73 Exploring Operation: 74-49=25, Resulting Numbers: [24, 25] Generated Node #0,1,3: 77:[24, 25] Operation: 74-49=25 Exploring Operation: 49-24=25, Resulting Numbers: [74, 25] Generated Node #0,1,4: 77:[74, 25] Operation: 49-24=25 Moving to Node #0,4,1 Current State: 77:[11, 10], Operations: ['74-49=25', '35-25=10'] Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,77 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[74, 3], Operations: ['49-35=14', '14-11=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[11, 49, 35, 74], Operations: [] Exploring Operation: 49-35=14, Resulting Numbers: [11, 74, 14] Generated Node #0,3: 77:[11, 74, 14] Operation: 49-35=14 Moving to Node #0,3 Current State: 77:[11, 74, 14], Operations: ['49-35=14'] Exploring Operation: 14-11=3, Resulting Numbers: [74, 3] Generated Node #0,3,2: 77:[74, 3] Operation: 14-11=3 Moving to Node #0,3,2 Current State: 77:[74, 3], Operations: ['49-35=14', '14-11=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.940972
hs_5
sum_heuristic
[ 43, 4, 8, 2 ]
63
[ "43+4=47", "8*2=16", "47+16=63" ]
Current State: 63:[43, 4, 8, 2], Operations: [] Exploring Operation: 43+4=47, Resulting Numbers: [8, 2, 47] Generated Node #2: [8, 2, 47] from Operation: 43+4=47 Current State: 63:[8, 2, 47], Operations: ['43+4=47'] Exploring Operation: 8*2=16, Resulting Numbers: [47, 16] Generated Node #3: [47, 16] from Operation: 8*2=16 Current State: 63:[47, 16], Operations: ['43+4=47', '8*2=16'] Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[43, 4, 8, 2], Operations: [] Exploring Operation: 43+8=51, Resulting Numbers: [4, 2, 51] Generated Node #0,0: 63:[4, 2, 51] Operation: 43+8=51 Exploring Operation: 43+4=47, Resulting Numbers: [8, 2, 47] Generated Node #0,1: 63:[8, 2, 47] Operation: 43+4=47 Exploring Operation: 43-8=35, Resulting Numbers: [4, 2, 35] Generated Node #0,2: 63:[4, 2, 35] Operation: 43-8=35 Moving to Node #0,0 Current State: 63:[4, 2, 51], Operations: ['43+8=51'] Exploring Operation: 4+2=6, Resulting Numbers: [51, 6] Generated Node #0,0,0: 63:[51, 6] Operation: 4+2=6 Exploring Operation: 2+51=53, Resulting Numbers: [4, 53] Generated Node #0,0,1: 63:[4, 53] Operation: 2+51=53 Exploring Operation: 4+51=55, Resulting Numbers: [2, 55] Generated Node #0,0,2: 63:[2, 55] Operation: 4+51=55 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[2, 55], Operations: ['43+8=51', '4+51=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,63 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,63 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[4, 53], Operations: ['43+8=51', '2+51=53'] Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,63 unequal: No Solution Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,63 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[51, 6], Operations: ['43+8=51', '4+2=6'] Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,63 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,63 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,63 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: 63:[4, 2, 35], Operations: ['43-8=35'] Exploring Operation: 35-2=33, Resulting Numbers: [4, 33] Generated Node #0,2,0: 63:[4, 33] Operation: 35-2=33 Exploring Operation: 2*35=70, Resulting Numbers: [4, 70] Generated Node #0,2,1: 63:[4, 70] Operation: 2*35=70 Exploring Operation: 35-4=31, Resulting Numbers: [2, 31] Generated Node #0,2,2: 63:[2, 31] Operation: 35-4=31 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[4, 70], Operations: ['43-8=35', '2*35=70'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,63 unequal: No Solution Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 63:[2, 31], Operations: ['43-8=35', '35-4=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[4, 33], Operations: ['43-8=35', '35-2=33'] Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,63 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: 63:[8, 2, 47], Operations: ['43+4=47'] Exploring Operation: 8+2=10, Resulting Numbers: [47, 10] Generated Node #0,1,0: 63:[47, 10] Operation: 8+2=10 Exploring Operation: 8+47=55, Resulting Numbers: [2, 55] Generated Node #0,1,1: 63:[2, 55] Operation: 8+47=55 Exploring Operation: 2+47=49, Resulting Numbers: [8, 49] Generated Node #0,1,2: 63:[8, 49] Operation: 2+47=49 Moving to Node #0,1,1 Current State: 63:[2, 55], Operations: ['43+4=47', '8+47=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,63 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,63 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[8, 49], Operations: ['43+4=47', '2+47=49'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,63 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,63 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[47, 10], Operations: ['43+4=47', '8+2=10'] Exploring Operation: 47+10=57, Resulting Numbers: [57] 57,63 unequal: No Solution Exploring Operation: 47*10=470, Resulting Numbers: [470] 470,63 unequal: No Solution Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,63 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 87, 40, 42, 18 ]
71
[ "87-40=47", "42-18=24", "47+24=71" ]
Current State: 71:[87, 40, 42, 18], Operations: [] Exploring Operation: 87-40=47, Resulting Numbers: [42, 18, 47] Generated Node #2: [42, 18, 47] from Operation: 87-40=47 Current State: 71:[42, 18, 47], Operations: ['87-40=47'] Exploring Operation: 42-18=24, Resulting Numbers: [47, 24] Generated Node #3: [47, 24] from Operation: 42-18=24 Current State: 71:[47, 24], Operations: ['87-40=47', '42-18=24'] Exploring Operation: 47+24=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[87, 40, 42, 18], Operations: [] Exploring Operation: 87-18=69, Resulting Numbers: [40, 42, 69] Generated Node #0,0: 71:[40, 42, 69] Operation: 87-18=69 Exploring Operation: 40+18=58, Resulting Numbers: [87, 42, 58] Generated Node #0,1: 71:[87, 42, 58] Operation: 40+18=58 Exploring Operation: 42+18=60, Resulting Numbers: [87, 40, 60] Generated Node #0,2: 71:[87, 40, 60] Operation: 42+18=60 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[87, 42, 58], Operations: ['40+18=58'] Exploring Operation: 42+58=100, Resulting Numbers: [87, 100] Generated Node #0,1,0: 71:[87, 100] Operation: 42+58=100 Exploring Operation: 87+42=129, Resulting Numbers: [58, 129] Generated Node #0,1,1: 71:[58, 129] Operation: 87+42=129 Exploring Operation: 87-42=45, Resulting Numbers: [58, 45] Generated Node #0,1,2: 71:[58, 45] Operation: 87-42=45 Moving to Node #0,1,2 Current State: 71:[58, 45], Operations: ['40+18=58', '87-42=45'] Exploring Operation: 58*45=2610, Resulting Numbers: [2610] 2610,71 unequal: No Solution Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 58+45=103, Resulting Numbers: [103] 103,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[87, 100], Operations: ['40+18=58', '42+58=100'] Exploring Operation: 100-87=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 87+100=187, Resulting Numbers: [187] 187,71 unequal: No Solution Exploring Operation: 87*100=8700, Resulting Numbers: [8700] 8700,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[58, 129], Operations: ['40+18=58', '87+42=129'] Exploring Operation: 129-58=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[87, 40, 42, 18], Operations: [] Exploring Operation: 40+18=58, Resulting Numbers: [87, 42, 58] Generated Node #0,1: 71:[87, 42, 58] Operation: 40+18=58 Moving to Node #0,1 Current State: 71:[87, 42, 58], Operations: ['40+18=58'] Exploring Operation: 87+42=129, Resulting Numbers: [58, 129] Generated Node #0,1,1: 71:[58, 129] Operation: 87+42=129 Moving to Node #0,1,1 Current State: 71:[58, 129], Operations: ['40+18=58', '87+42=129'] Exploring Operation: 129-58=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 22, 44, 67, 48 ]
29
[ "44/22=2", "48*2=96", "96-67=29" ]
Current State: 29:[22, 44, 67, 48], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [67, 48, 2] Generated Node #2: [67, 48, 2] from Operation: 44/22=2 Current State: 29:[67, 48, 2], Operations: ['44/22=2'] Exploring Operation: 48*2=96, Resulting Numbers: [67, 96] Generated Node #3: [67, 96] from Operation: 48*2=96 Current State: 29:[67, 96], Operations: ['44/22=2', '48*2=96'] Exploring Operation: 96-67=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[22, 44, 67, 48], Operations: [] Exploring Operation: 67-22=45, Resulting Numbers: [44, 48, 45] Generated Node #0,0: 29:[44, 48, 45] Operation: 67-22=45 Exploring Operation: 48-22=26, Resulting Numbers: [44, 67, 26] Generated Node #0,1: 29:[44, 67, 26] Operation: 48-22=26 Exploring Operation: 67-48=19, Resulting Numbers: [22, 44, 19] Generated Node #0,2: 29:[22, 44, 19] Operation: 67-48=19 Exploring Operation: 67-44=23, Resulting Numbers: [22, 48, 23] Generated Node #0,3: 29:[22, 48, 23] Operation: 67-44=23 Moving to Node #0,2 Current State: 29:[22, 44, 19], Operations: ['67-48=19'] Exploring Operation: 44/22=2, Resulting Numbers: [19, 2] Generated Node #0,2,0: 29:[19, 2] Operation: 44/22=2 Exploring Operation: 22+19=41, Resulting Numbers: [44, 41] Generated Node #0,2,1: 29:[44, 41] Operation: 22+19=41 Exploring Operation: 44-19=25, Resulting Numbers: [22, 25] Generated Node #0,2,2: 29:[22, 25] Operation: 44-19=25 Exploring Operation: 44-22=22, Resulting Numbers: [19, 22] Generated Node #0,2,3: 29:[19, 22] Operation: 44-22=22 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[22, 25], Operations: ['67-48=19', '44-19=25'] Exploring Operation: 22*25=550, Resulting Numbers: [550] 550,29 unequal: No Solution Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,29 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 29:[19, 22], Operations: ['67-48=19', '44-22=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,29 unequal: No Solution Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,29 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[44, 41], Operations: ['67-48=19', '22+19=41'] Exploring Operation: 44*41=1804, Resulting Numbers: [1804] 1804,29 unequal: No Solution Exploring Operation: 44+41=85, Resulting Numbers: [85] 85,29 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[19, 2], Operations: ['67-48=19', '44/22=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,29 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: 29:[22, 48, 23], Operations: ['67-44=23'] Exploring Operation: 48-23=25, Resulting Numbers: [22, 25] Generated Node #0,3,0: 29:[22, 25] Operation: 48-23=25 Exploring Operation: 48-22=26, Resulting Numbers: [23, 26] Generated Node #0,3,1: 29:[23, 26] Operation: 48-22=26 Exploring Operation: 22+48=70, Resulting Numbers: [23, 70] Generated Node #0,3,2: 29:[23, 70] Operation: 22+48=70 Exploring Operation: 22+23=45, Resulting Numbers: [48, 45] Generated Node #0,3,3: 29:[48, 45] Operation: 22+23=45 Moving to Node #0,0 Current State: 29:[44, 48, 45], Operations: ['67-22=45'] Exploring Operation: 48-44=4, Resulting Numbers: [45, 4] Generated Node #0,0,0: 29:[45, 4] Operation: 48-44=4 Exploring Operation: 45-44=1, Resulting Numbers: [48, 1] Generated Node #0,0,1: 29:[48, 1] Operation: 45-44=1 Exploring Operation: 44+48=92, Resulting Numbers: [45, 92] Generated Node #0,0,2: 29:[45, 92] Operation: 44+48=92 Exploring Operation: 48-45=3, Resulting Numbers: [44, 3] Generated Node #0,0,3: 29:[44, 3] Operation: 48-45=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[45, 4], Operations: ['67-22=45', '48-44=4'] Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,29 unequal: No Solution Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 29:[44, 3], Operations: ['67-22=45', '48-45=3'] Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,29 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,29 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[48, 1], Operations: ['67-22=45', '45-44=1'] Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,29 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[45, 92], Operations: ['67-22=45', '44+48=92'] Exploring Operation: 92-45=47, Resulting Numbers: [47] 47,29 unequal: No Solution Exploring Operation: 45+92=137, Resulting Numbers: [137] 137,29 unequal: No Solution Exploring Operation: 45*92=4140, Resulting Numbers: [4140] 4140,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 29:[44, 67, 26], Operations: ['48-22=26'] Exploring Operation: 67-44=23, Resulting Numbers: [26, 23] Generated Node #0,1,0: 29:[26, 23] Operation: 67-44=23 Exploring Operation: 67-26=41, Resulting Numbers: [44, 41] Generated Node #0,1,1: 29:[44, 41] Operation: 67-26=41 Exploring Operation: 44-26=18, Resulting Numbers: [67, 18] Generated Node #0,1,2: 29:[67, 18] Operation: 44-26=18 Exploring Operation: 44+26=70, Resulting Numbers: [67, 70] Generated Node #0,1,3: 29:[67, 70] Operation: 44+26=70 Moving to Node #0,3,1 Current State: 29:[23, 26], Operations: ['67-44=23', '48-22=26'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[26, 23], Operations: ['48-22=26', '67-44=23'] Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,29 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,29 unequal: No Solution Moving to Node #0,3,0 Current State: 29:[22, 25], Operations: ['67-44=23', '48-23=25'] Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,29 unequal: No Solution Exploring Operation: 22*25=550, Resulting Numbers: [550] 550,29 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[44, 41], Operations: ['48-22=26', '67-26=41'] Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 44*41=1804, Resulting Numbers: [1804] 1804,29 unequal: No Solution Exploring Operation: 44+41=85, Resulting Numbers: [85] 85,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[48, 45], Operations: ['67-44=23', '22+23=45'] Exploring Operation: 48*45=2160, Resulting Numbers: [2160] 2160,29 unequal: No Solution Exploring Operation: 48+45=93, Resulting Numbers: [93] 93,29 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,29 unequal: No Solution Moving to Node #0,3,2 Current State: 29:[23, 70], Operations: ['67-44=23', '22+48=70'] Exploring Operation: 23+70=93, Resulting Numbers: [93] 93,29 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,29 unequal: No Solution Exploring Operation: 23*70=1610, Resulting Numbers: [1610] 1610,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[67, 18], Operations: ['48-22=26', '44-26=18'] Exploring Operation: 67+18=85, Resulting Numbers: [85] 85,29 unequal: No Solution Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 67*18=1206, Resulting Numbers: [1206] 1206,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[67, 70], Operations: ['48-22=26', '44+26=70'] Exploring Operation: 67+70=137, Resulting Numbers: [137] 137,29 unequal: No Solution Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 67*70=4690, Resulting Numbers: [4690] 4690,29 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 19, 2, 5, 68 ]
88
[ "19+5=24", "68-24=44", "2*44=88" ]
Current State: 88:[19, 2, 5, 68], Operations: [] Exploring Operation: 19+5=24, Resulting Numbers: [2, 68, 24] Generated Node #2: [2, 68, 24] from Operation: 19+5=24 Current State: 88:[2, 68, 24], Operations: ['19+5=24'] Exploring Operation: 68-24=44, Resulting Numbers: [2, 44] Generated Node #3: [2, 44] from Operation: 68-24=44 Current State: 88:[2, 44], Operations: ['19+5=24', '68-24=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[19, 2, 5, 68], Operations: [] Exploring Operation: 19+68=87, Resulting Numbers: [2, 5, 87] Generated Node #0,0: 88:[2, 5, 87] Operation: 19+68=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[2, 5, 87], Operations: ['19+68=87'] Exploring Operation: 2+5=7, Resulting Numbers: [87, 7] Generated Node #0,0,0: 88:[87, 7] Operation: 2+5=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[87, 7], Operations: ['19+68=87', '2+5=7'] Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,88 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
[ 15, 36, 1, 59 ]
37
[ "36-15=21", "59-1=58", "58-21=37" ]
Current State: 37:[15, 36, 1, 59], Operations: [] Exploring Operation: 36-15=21, Resulting Numbers: [1, 59, 21] Generated Node #2: [1, 59, 21] from Operation: 36-15=21 Current State: 37:[1, 59, 21], Operations: ['36-15=21'] Exploring Operation: 59-1=58, Resulting Numbers: [21, 58] Generated Node #3: [21, 58] from Operation: 59-1=58 Current State: 37:[21, 58], Operations: ['36-15=21', '59-1=58'] Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[15, 36, 1, 59], Operations: [] Exploring Operation: 15+1=16, Resulting Numbers: [36, 59, 16] Generated Node #0,0: 37:[36, 59, 16] Operation: 15+1=16 Exploring Operation: 59-15=44, Resulting Numbers: [36, 1, 44] Generated Node #0,1: 37:[36, 1, 44] Operation: 59-15=44 Moving to Node #0,0 Current State: 37:[36, 59, 16], Operations: ['15+1=16'] Exploring Operation: 59-36=23, Resulting Numbers: [16, 23] Generated Node #0,0,0: 37:[16, 23] Operation: 59-36=23 Exploring Operation: 59-16=43, Resulting Numbers: [36, 43] Generated Node #0,0,1: 37:[36, 43] Operation: 59-16=43 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[36, 43], Operations: ['15+1=16', '59-16=43'] Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[16, 23], Operations: ['15+1=16', '59-36=23'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,37 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: 37:[36, 1, 44], Operations: ['59-15=44'] Exploring Operation: 44-1=43, Resulting Numbers: [36, 43] Generated Node #0,1,0: 37:[36, 43] Operation: 44-1=43 Exploring Operation: 36+1=37, Resulting Numbers: [44, 37] Generated Node #0,1,1: 37:[44, 37] Operation: 36+1=37 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[36, 43], Operations: ['59-15=44', '44-1=43'] Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,37 unequal: No Solution Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[44, 37], Operations: ['59-15=44', '36+1=37'] Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,37 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,37 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
[ 37, 39, 58, 23 ]
70
[ "39-37=2", "58-23=35", "2*35=70" ]
Current State: 70:[37, 39, 58, 23], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [58, 23, 2] Generated Node #2: [58, 23, 2] from Operation: 39-37=2 Current State: 70:[58, 23, 2], Operations: ['39-37=2'] Exploring Operation: 58-23=35, Resulting Numbers: [2, 35] Generated Node #3: [2, 35] from Operation: 58-23=35 Current State: 70:[2, 35], Operations: ['39-37=2', '58-23=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[37, 39, 58, 23], Operations: [] Exploring Operation: 58-23=35, Resulting Numbers: [37, 39, 35] Generated Node #0,0: 70:[37, 39, 35] Operation: 58-23=35 Exploring Operation: 37-23=14, Resulting Numbers: [39, 58, 14] Generated Node #0,1: 70:[39, 58, 14] Operation: 37-23=14 Moving to Node #0,0 Current State: 70:[37, 39, 35], Operations: ['58-23=35'] Exploring Operation: 39-37=2, Resulting Numbers: [35, 2] Generated Node #0,0,0: 70:[35, 2] Operation: 39-37=2 Exploring Operation: 39-35=4, Resulting Numbers: [37, 4] Generated Node #0,0,1: 70:[37, 4] Operation: 39-35=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[35, 2], Operations: ['58-23=35', '39-37=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[37, 39, 58, 23], Operations: [] Exploring Operation: 58-23=35, Resulting Numbers: [37, 39, 35] Generated Node #0,0: 70:[37, 39, 35] Operation: 58-23=35 Moving to Node #0,0 Current State: 70:[37, 39, 35], Operations: ['58-23=35'] Exploring Operation: 39-37=2, Resulting Numbers: [35, 2] Generated Node #0,0,0: 70:[35, 2] Operation: 39-37=2 Moving to Node #0,0,0 Current State: 70:[35, 2], Operations: ['58-23=35', '39-37=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 37, 30, 30, 43 ]
43
[ "30-30=0", "37*0=0", "43+0=43" ]
Current State: 43:[37, 30, 30, 43], Operations: [] Exploring Operation: 30-30=0, Resulting Numbers: [37, 43, 0] Generated Node #2: [37, 43, 0] from Operation: 30-30=0 Current State: 43:[37, 43, 0], Operations: ['30-30=0'] Exploring Operation: 37*0=0, Resulting Numbers: [43, 0] Generated Node #3: [43, 0] from Operation: 37*0=0 Current State: 43:[43, 0], Operations: ['30-30=0', '37*0=0'] Exploring Operation: 43+0=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[37, 30, 30, 43], Operations: [] Exploring Operation: 30+30=60, Resulting Numbers: [37, 43, 60] Generated Node #0,0: 43:[37, 43, 60] Operation: 30+30=60 Exploring Operation: 37+30=67, Resulting Numbers: [30, 43, 67] Generated Node #0,1: 43:[30, 43, 67] Operation: 37+30=67 Exploring Operation: 37+30=67, Resulting Numbers: [30, 43, 67] Generated Node #0,2: 43:[30, 43, 67] Operation: 37+30=67 Moving to Node #0,0 Current State: 43:[37, 43, 60], Operations: ['30+30=60'] Exploring Operation: 60-37=23, Resulting Numbers: [43, 23] Generated Node #0,0,0: 43:[43, 23] Operation: 60-37=23 Exploring Operation: 60-43=17, Resulting Numbers: [37, 17] Generated Node #0,0,1: 43:[37, 17] Operation: 60-43=17 Exploring Operation: 37+43=80, Resulting Numbers: [60, 80] Generated Node #0,0,2: 43:[60, 80] Operation: 37+43=80 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[43, 23], Operations: ['30+30=60', '60-37=23'] Exploring Operation: 43*23=989, Resulting Numbers: [989] 989,43 unequal: No Solution Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,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,1 Current State: 43:[37, 17], Operations: ['30+30=60', '60-43=17'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,43 unequal: No Solution Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,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:[60, 80], Operations: ['30+30=60', '37+43=80'] Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 60*80=4800, Resulting Numbers: [4800] 4800,43 unequal: No Solution Exploring Operation: 60+80=140, Resulting Numbers: [140] 140,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:[30, 43, 67], Operations: ['37+30=67'] Exploring Operation: 67-30=37, Resulting Numbers: [43, 37] Generated Node #0,1,0: 43:[43, 37] Operation: 67-30=37 Exploring Operation: 67-43=24, Resulting Numbers: [30, 24] Generated Node #0,1,1: 43:[30, 24] Operation: 67-43=24 Exploring Operation: 30+43=73, Resulting Numbers: [67, 73] Generated Node #0,1,2: 43:[67, 73] Operation: 30+43=73 Moving to Node #0,2 Current State: 43:[30, 43, 67], Operations: ['37+30=67'] Exploring Operation: 67-30=37, Resulting Numbers: [43, 37] Generated Node #0,2,0: 43:[43, 37] Operation: 67-30=37 Exploring Operation: 67-43=24, Resulting Numbers: [30, 24] Generated Node #0,2,1: 43:[30, 24] Operation: 67-43=24 Exploring Operation: 30+43=73, Resulting Numbers: [67, 73] Generated Node #0,2,2: 43:[67, 73] Operation: 30+43=73 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 43:[43, 37], Operations: ['37+30=67', '67-30=37'] Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 43*37=1591, Resulting Numbers: [1591] 1591,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:[30, 24], Operations: ['37+30=67', '67-43=24'] Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,43 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,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:[67, 73], Operations: ['37+30=67', '30+43=73'] Exploring Operation: 67+73=140, Resulting Numbers: [140] 140,43 unequal: No Solution Exploring Operation: 67*73=4891, Resulting Numbers: [4891] 4891,43 unequal: No Solution Exploring Operation: 73-67=6, Resulting Numbers: [6] 6,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 43:[43, 37], Operations: ['37+30=67', '67-30=37'] Exploring Operation: 43*37=1591, Resulting Numbers: [1591] 1591,43 unequal: No Solution Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[30, 24], Operations: ['37+30=67', '67-43=24'] Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,43 unequal: No Solution Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,43 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[67, 73], Operations: ['37+30=67', '30+43=73'] Exploring Operation: 67+73=140, Resulting Numbers: [140] 140,43 unequal: No Solution Exploring Operation: 67*73=4891, Resulting Numbers: [4891] 4891,43 unequal: No Solution Exploring Operation: 73-67=6, Resulting Numbers: [6] 6,43 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 88, 91, 89, 53 ]
33
[ "91-88=3", "89-53=36", "36-3=33" ]
Current State: 33:[88, 91, 89, 53], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [89, 53, 3] Generated Node #2: [89, 53, 3] from Operation: 91-88=3 Current State: 33:[89, 53, 3], Operations: ['91-88=3'] Exploring Operation: 89-53=36, Resulting Numbers: [3, 36] Generated Node #3: [3, 36] from Operation: 89-53=36 Current State: 33:[3, 36], Operations: ['91-88=3', '89-53=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[88, 91, 89, 53], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [89, 53, 3] Generated Node #0,0: 33:[89, 53, 3] Operation: 91-88=3 Exploring Operation: 91-89=2, Resulting Numbers: [88, 53, 2] Generated Node #0,1: 33:[88, 53, 2] Operation: 91-89=2 Exploring Operation: 89-88=1, Resulting Numbers: [91, 53, 1] Generated Node #0,2: 33:[91, 53, 1] Operation: 89-88=1 Exploring Operation: 88-53=35, Resulting Numbers: [91, 89, 35] Generated Node #0,3: 33:[91, 89, 35] Operation: 88-53=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[89, 53, 3], Operations: ['91-88=3'] Exploring Operation: 89-53=36, Resulting Numbers: [3, 36] Generated Node #0,0,0: 33:[3, 36] Operation: 89-53=36 Exploring Operation: 53-3=50, Resulting Numbers: [89, 50] Generated Node #0,0,1: 33:[89, 50] Operation: 53-3=50 Exploring Operation: 89+3=92, Resulting Numbers: [53, 92] Generated Node #0,0,2: 33:[53, 92] Operation: 89+3=92 Exploring Operation: 89-3=86, Resulting Numbers: [53, 86] Generated Node #0,0,3: 33:[53, 86] Operation: 89-3=86 Moving to Node #0,0,0 Current State: 33:[3, 36], Operations: ['91-88=3', '89-53=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[88, 91, 89, 53], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [89, 53, 3] Generated Node #0,0: 33:[89, 53, 3] Operation: 91-88=3 Moving to Node #0,0 Current State: 33:[89, 53, 3], Operations: ['91-88=3'] Exploring Operation: 89-53=36, Resulting Numbers: [3, 36] Generated Node #0,0,0: 33:[3, 36] Operation: 89-53=36 Moving to Node #0,0,0 Current State: 33:[3, 36], Operations: ['91-88=3', '89-53=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 75, 58, 71, 12 ]
42
[ "75-58=17", "71-12=59", "59-17=42" ]
Current State: 42:[75, 58, 71, 12], Operations: [] Exploring Operation: 75-58=17, Resulting Numbers: [71, 12, 17] Generated Node #2: [71, 12, 17] from Operation: 75-58=17 Current State: 42:[71, 12, 17], Operations: ['75-58=17'] Exploring Operation: 71-12=59, Resulting Numbers: [17, 59] Generated Node #3: [17, 59] from Operation: 71-12=59 Current State: 42:[17, 59], Operations: ['75-58=17', '71-12=59'] Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[75, 58, 71, 12], Operations: [] Exploring Operation: 71-58=13, Resulting Numbers: [75, 12, 13] Generated Node #0,0: 42:[75, 12, 13] Operation: 71-58=13 Exploring Operation: 75-71=4, Resulting Numbers: [58, 12, 4] Generated Node #0,1: 42:[58, 12, 4] Operation: 75-71=4 Exploring Operation: 58-12=46, Resulting Numbers: [75, 71, 46] Generated Node #0,2: 42:[75, 71, 46] Operation: 58-12=46 Exploring Operation: 75-58=17, Resulting Numbers: [71, 12, 17] Generated Node #0,3: 42:[71, 12, 17] Operation: 75-58=17 Exploring Operation: 75-12=63, Resulting Numbers: [58, 71, 63] Generated Node #0,4: 42:[58, 71, 63] Operation: 75-12=63 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[58, 12, 4], Operations: ['75-71=4'] Exploring Operation: 58-4=54, Resulting Numbers: [12, 54] Generated Node #0,1,0: 42:[12, 54] Operation: 58-4=54 Exploring Operation: 58-12=46, Resulting Numbers: [4, 46] Generated Node #0,1,1: 42:[4, 46] Operation: 58-12=46 Exploring Operation: 12/4=3, Resulting Numbers: [58, 3] Generated Node #0,1,2: 42:[58, 3] Operation: 12/4=3 Exploring Operation: 12+4=16, Resulting Numbers: [58, 16] Generated Node #0,1,3: 42:[58, 16] Operation: 12+4=16 Exploring Operation: 12-4=8, Resulting Numbers: [58, 8] Generated Node #0,1,4: 42:[58, 8] Operation: 12-4=8 Moving to Node #0,1,1 Current State: 42:[4, 46], Operations: ['75-71=4', '58-12=46'] Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,42 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[75, 58, 71, 12], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [58, 12, 4] Generated Node #0,1: 42:[58, 12, 4] Operation: 75-71=4 Moving to Node #0,1 Current State: 42:[58, 12, 4], Operations: ['75-71=4'] Exploring Operation: 58-12=46, Resulting Numbers: [4, 46] Generated Node #0,1,1: 42:[4, 46] Operation: 58-12=46 Moving to Node #0,1,1 Current State: 42:[4, 46], Operations: ['75-71=4', '58-12=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 49, 57, 40, 14 ]
80
[ "49+57=106", "40-14=26", "106-26=80" ]
Current State: 80:[49, 57, 40, 14], Operations: [] Exploring Operation: 49+57=106, Resulting Numbers: [40, 14, 106] Generated Node #2: [40, 14, 106] from Operation: 49+57=106 Current State: 80:[40, 14, 106], Operations: ['49+57=106'] Exploring Operation: 40-14=26, Resulting Numbers: [106, 26] Generated Node #3: [106, 26] from Operation: 40-14=26 Current State: 80:[106, 26], Operations: ['49+57=106', '40-14=26'] Exploring Operation: 106-26=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[49, 57, 40, 14], Operations: [] Exploring Operation: 49-40=9, Resulting Numbers: [57, 14, 9] Generated Node #0,0: 80:[57, 14, 9] Operation: 49-40=9 Exploring Operation: 57-14=43, Resulting Numbers: [49, 40, 43] Generated Node #0,1: 80:[49, 40, 43] Operation: 57-14=43 Exploring Operation: 57-40=17, Resulting Numbers: [49, 14, 17] Generated Node #0,2: 80:[49, 14, 17] Operation: 57-40=17 Exploring Operation: 57-49=8, Resulting Numbers: [40, 14, 8] Generated Node #0,3: 80:[40, 14, 8] Operation: 57-49=8 Exploring Operation: 57+14=71, Resulting Numbers: [49, 40, 71] Generated Node #0,4: 80:[49, 40, 71] Operation: 57+14=71 Moving to Node #0,3 Current State: 80:[40, 14, 8], Operations: ['57-49=8'] Exploring Operation: 14+8=22, Resulting Numbers: [40, 22] Generated Node #0,3,0: 80:[40, 22] Operation: 14+8=22 Exploring Operation: 40+8=48, Resulting Numbers: [14, 48] Generated Node #0,3,1: 80:[14, 48] Operation: 40+8=48 Exploring Operation: 40/8=5, Resulting Numbers: [14, 5] Generated Node #0,3,2: 80:[14, 5] Operation: 40/8=5 Exploring Operation: 40-14=26, Resulting Numbers: [8, 26] Generated Node #0,3,3: 80:[8, 26] Operation: 40-14=26 Exploring Operation: 14-8=6, Resulting Numbers: [40, 6] Generated Node #0,3,4: 80:[40, 6] Operation: 14-8=6 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 80:[40, 6], Operations: ['57-49=8', '14-8=6'] Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,80 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 80:[40, 22], Operations: ['57-49=8', '14+8=22'] Exploring Operation: 40*22=880, Resulting Numbers: [880] 880,80 unequal: No Solution Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 80:[14, 5], Operations: ['57-49=8', '40/8=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 80:[8, 26], Operations: ['57-49=8', '40-14=26'] Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,80 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 80:[14, 48], Operations: ['57-49=8', '40+8=48'] Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 14*48=672, Resulting Numbers: [672] 672,80 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 80:[49, 14, 17], Operations: ['57-40=17'] Exploring Operation: 17-14=3, Resulting Numbers: [49, 3] Generated Node #0,2,0: 80:[49, 3] Operation: 17-14=3 Exploring Operation: 49+17=66, Resulting Numbers: [14, 66] Generated Node #0,2,1: 80:[14, 66] Operation: 49+17=66 Exploring Operation: 49-14=35, Resulting Numbers: [17, 35] Generated Node #0,2,2: 80:[17, 35] Operation: 49-14=35 Exploring Operation: 49+14=63, Resulting Numbers: [17, 63] Generated Node #0,2,3: 80:[17, 63] Operation: 49+14=63 Exploring Operation: 49-17=32, Resulting Numbers: [14, 32] Generated Node #0,2,4: 80:[14, 32] Operation: 49-17=32 Moving to Node #0,1 Current State: 80:[49, 40, 43], Operations: ['57-14=43'] Exploring Operation: 49-40=9, Resulting Numbers: [43, 9] Generated Node #0,1,0: 80:[43, 9] Operation: 49-40=9 Exploring Operation: 49+40=89, Resulting Numbers: [43, 89] Generated Node #0,1,1: 80:[43, 89] Operation: 49+40=89 Exploring Operation: 49+43=92, Resulting Numbers: [40, 92] Generated Node #0,1,2: 80:[40, 92] Operation: 49+43=92 Exploring Operation: 49-43=6, Resulting Numbers: [40, 6] Generated Node #0,1,3: 80:[40, 6] Operation: 49-43=6 Exploring Operation: 43-40=3, Resulting Numbers: [49, 3] Generated Node #0,1,4: 80:[49, 3] Operation: 43-40=3 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[40, 6], Operations: ['57-14=43', '49-43=6'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,80 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[43, 9], Operations: ['57-14=43', '49-40=9'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 43*9=387, Resulting Numbers: [387] 387,80 unequal: No Solution Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 80:[49, 3], Operations: ['57-14=43', '43-40=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,80 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[43, 89], Operations: ['57-14=43', '49+40=89'] Exploring Operation: 43*89=3827, Resulting Numbers: [3827] 3827,80 unequal: No Solution Exploring Operation: 89-43=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 43+89=132, Resulting Numbers: [132] 132,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[40, 92], Operations: ['57-14=43', '49+43=92'] Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 40+92=132, Resulting Numbers: [132] 132,80 unequal: No Solution Exploring Operation: 40*92=3680, Resulting Numbers: [3680] 3680,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 80:[49, 40, 71], Operations: ['57+14=71'] Exploring Operation: 71-40=31, Resulting Numbers: [49, 31] Generated Node #0,4,0: 80:[49, 31] Operation: 71-40=31 Exploring Operation: 49-40=9, Resulting Numbers: [71, 9] Generated Node #0,4,1: 80:[71, 9] Operation: 49-40=9 Exploring Operation: 49+40=89, Resulting Numbers: [71, 89] Generated Node #0,4,2: 80:[71, 89] Operation: 49+40=89 Exploring Operation: 49+71=120, Resulting Numbers: [40, 120] Generated Node #0,4,3: 80:[40, 120] Operation: 49+71=120 Exploring Operation: 71-49=22, Resulting Numbers: [40, 22] Generated Node #0,4,4: 80:[40, 22] Operation: 71-49=22 Moving to Node #0,0 Current State: 80:[57, 14, 9], Operations: ['49-40=9'] Exploring Operation: 57+9=66, Resulting Numbers: [14, 66] Generated Node #0,0,0: 80:[14, 66] Operation: 57+9=66 Exploring Operation: 57-9=48, Resulting Numbers: [14, 48] Generated Node #0,0,1: 80:[14, 48] Operation: 57-9=48 Exploring Operation: 57+14=71, Resulting Numbers: [9, 71] Generated Node #0,0,2: 80:[9, 71] Operation: 57+14=71 Exploring Operation: 14-9=5, Resulting Numbers: [57, 5] Generated Node #0,0,3: 80:[57, 5] Operation: 14-9=5 Exploring Operation: 57-14=43, Resulting Numbers: [9, 43] Generated Node #0,0,4: 80:[9, 43] Operation: 57-14=43 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 80:[9, 43], Operations: ['49-40=9', '57-14=43'] Exploring Operation: 9*43=387, Resulting Numbers: [387] 387,80 unequal: No Solution Exploring Operation: 9+43=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[14, 48], Operations: ['49-40=9', '57-9=48'] Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 14*48=672, Resulting Numbers: [672] 672,80 unequal: No Solution Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[9, 71], Operations: ['49-40=9', '57+14=71'] Exploring Operation: 9+71=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[49, 57, 40, 14], Operations: [] Exploring Operation: 49-40=9, Resulting Numbers: [57, 14, 9] Generated Node #0,0: 80:[57, 14, 9] Operation: 49-40=9 Moving to Node #0,0 Current State: 80:[57, 14, 9], Operations: ['49-40=9'] Exploring Operation: 57+14=71, Resulting Numbers: [9, 71] Generated Node #0,0,2: 80:[9, 71] Operation: 57+14=71 Moving to Node #0,0,2 Current State: 80:[9, 71], Operations: ['49-40=9', '57+14=71'] Exploring Operation: 9+71=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.938368
hs_5
sum_heuristic
[ 50, 69, 8, 75 ]
68
[ "69+75=144", "144/8=18", "50+18=68" ]
Current State: 68:[50, 69, 8, 75], Operations: [] Exploring Operation: 69+75=144, Resulting Numbers: [50, 8, 144] Generated Node #2: [50, 8, 144] from Operation: 69+75=144 Current State: 68:[50, 8, 144], Operations: ['69+75=144'] Exploring Operation: 144/8=18, Resulting Numbers: [50, 18] Generated Node #3: [50, 18] from Operation: 144/8=18 Current State: 68:[50, 18], Operations: ['69+75=144', '144/8=18'] Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[50, 69, 8, 75], Operations: [] Exploring Operation: 69-50=19, Resulting Numbers: [8, 75, 19] Generated Node #0,0: 68:[8, 75, 19] Operation: 69-50=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[8, 75, 19], Operations: ['69-50=19'] Exploring Operation: 75-8=67, Resulting Numbers: [19, 67] Generated Node #0,0,0: 68:[19, 67] Operation: 75-8=67 Moving to Node #0,0,0 Current State: 68:[19, 67], Operations: ['69-50=19', '75-8=67'] Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,68 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
[ 21, 18, 5, 56 ]
41
[ "21-18=3", "5*3=15", "56-15=41" ]
Current State: 41:[21, 18, 5, 56], Operations: [] Exploring Operation: 21-18=3, Resulting Numbers: [5, 56, 3] Generated Node #2: [5, 56, 3] from Operation: 21-18=3 Current State: 41:[5, 56, 3], Operations: ['21-18=3'] Exploring Operation: 5*3=15, Resulting Numbers: [56, 15] Generated Node #3: [56, 15] from Operation: 5*3=15 Current State: 41:[56, 15], Operations: ['21-18=3', '5*3=15'] Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[21, 18, 5, 56], Operations: [] Exploring Operation: 56-5=51, Resulting Numbers: [21, 18, 51] Generated Node #0,0: 41:[21, 18, 51] Operation: 56-5=51 Exploring Operation: 21+5=26, Resulting Numbers: [18, 56, 26] Generated Node #0,1: 41:[18, 56, 26] Operation: 21+5=26 Exploring Operation: 18+5=23, Resulting Numbers: [21, 56, 23] Generated Node #0,2: 41:[21, 56, 23] Operation: 18+5=23 Exploring Operation: 21+18=39, Resulting Numbers: [5, 56, 39] Generated Node #0,3: 41:[5, 56, 39] Operation: 21+18=39 Moving to Node #0,0 Current State: 41:[21, 18, 51], Operations: ['56-5=51'] Exploring Operation: 51-21=30, Resulting Numbers: [18, 30] Generated Node #0,0,0: 41:[18, 30] Operation: 51-21=30 Exploring Operation: 21-18=3, Resulting Numbers: [51, 3] Generated Node #0,0,1: 41:[51, 3] Operation: 21-18=3 Exploring Operation: 51-18=33, Resulting Numbers: [21, 33] Generated Node #0,0,2: 41:[21, 33] Operation: 51-18=33 Exploring Operation: 21+18=39, Resulting Numbers: [51, 39] Generated Node #0,0,3: 41:[51, 39] Operation: 21+18=39 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 41:[51, 39], Operations: ['56-5=51', '21+18=39'] Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 51*39=1989, Resulting Numbers: [1989] 1989,41 unequal: No Solution Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[21, 33], Operations: ['56-5=51', '51-18=33'] Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,41 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[18, 30], Operations: ['56-5=51', '51-21=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[51, 3], Operations: ['56-5=51', '21-18=3'] Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 51*3=153, Resulting Numbers: [153] 153,41 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 41:[21, 56, 23], Operations: ['18+5=23'] Exploring Operation: 21+56=77, Resulting Numbers: [23, 77] Generated Node #0,2,0: 41:[23, 77] Operation: 21+56=77 Exploring Operation: 56-21=35, Resulting Numbers: [23, 35] Generated Node #0,2,1: 41:[23, 35] Operation: 56-21=35 Exploring Operation: 56-23=33, Resulting Numbers: [21, 33] Generated Node #0,2,2: 41:[21, 33] Operation: 56-23=33 Exploring Operation: 21+23=44, Resulting Numbers: [56, 44] Generated Node #0,2,3: 41:[56, 44] Operation: 21+23=44 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[56, 44], Operations: ['18+5=23', '21+23=44'] Exploring Operation: 56*44=2464, Resulting Numbers: [2464] 2464,41 unequal: No Solution Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 56+44=100, Resulting Numbers: [100] 100,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,2,1 Current State: 41:[23, 35], Operations: ['18+5=23', '56-21=35'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 23*35=805, Resulting Numbers: [805] 805,41 unequal: No Solution Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,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,2,2 Current State: 41:[21, 33], Operations: ['18+5=23', '56-23=33'] Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,41 unequal: No Solution Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,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,2,0 Current State: 41:[23, 77], Operations: ['18+5=23', '21+56=77'] Exploring Operation: 23*77=1771, Resulting Numbers: [1771] 1771,41 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 23+77=100, Resulting Numbers: [100] 100,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 41:[18, 56, 26], Operations: ['21+5=26'] Exploring Operation: 18+26=44, Resulting Numbers: [56, 44] Generated Node #0,1,0: 41:[56, 44] Operation: 18+26=44 Exploring Operation: 18+56=74, Resulting Numbers: [26, 74] Generated Node #0,1,1: 41:[26, 74] Operation: 18+56=74 Exploring Operation: 56-18=38, Resulting Numbers: [26, 38] Generated Node #0,1,2: 41:[26, 38] Operation: 56-18=38 Exploring Operation: 56-26=30, Resulting Numbers: [18, 30] Generated Node #0,1,3: 41:[18, 30] Operation: 56-26=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[56, 44], Operations: ['21+5=26', '18+26=44'] Exploring Operation: 56+44=100, Resulting Numbers: [100] 100,41 unequal: No Solution Exploring Operation: 56*44=2464, Resulting Numbers: [2464] 2464,41 unequal: No Solution Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[26, 38], Operations: ['21+5=26', '56-18=38'] Exploring Operation: 26+38=64, Resulting Numbers: [64] 64,41 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 26*38=988, Resulting Numbers: [988] 988,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,3 Current State: 41:[18, 30], Operations: ['21+5=26', '56-26=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[26, 74], Operations: ['21+5=26', '18+56=74'] Exploring Operation: 26*74=1924, Resulting Numbers: [1924] 1924,41 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 26+74=100, Resulting Numbers: [100] 100,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 41:[5, 56, 39], Operations: ['21+18=39'] Exploring Operation: 5+39=44, Resulting Numbers: [56, 44] Generated Node #0,3,0: 41:[56, 44] Operation: 5+39=44 Exploring Operation: 5+56=61, Resulting Numbers: [39, 61] Generated Node #0,3,1: 41:[39, 61] Operation: 5+56=61 Exploring Operation: 56-5=51, Resulting Numbers: [39, 51] Generated Node #0,3,2: 41:[39, 51] Operation: 56-5=51 Exploring Operation: 39-5=34, Resulting Numbers: [56, 34] Generated Node #0,3,3: 41:[56, 34] Operation: 39-5=34 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 41:[39, 51], Operations: ['21+18=39', '56-5=51'] Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 39+51=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 39*51=1989, Resulting Numbers: [1989] 1989,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,3,0 Current State: 41:[56, 44], Operations: ['21+18=39', '5+39=44'] Exploring Operation: 56+44=100, Resulting Numbers: [100] 100,41 unequal: No Solution Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 56*44=2464, Resulting Numbers: [2464] 2464,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,3,1 Current State: 41:[39, 61], Operations: ['21+18=39', '5+56=61'] Exploring Operation: 39*61=2379, Resulting Numbers: [2379] 2379,41 unequal: No Solution Exploring Operation: 39+61=100, Resulting Numbers: [100] 100,41 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,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,3,3 Current State: 41:[56, 34], Operations: ['21+18=39', '39-5=34'] Exploring Operation: 56*34=1904, Resulting Numbers: [1904] 1904,41 unequal: No Solution Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,41 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
[ 99, 26, 84, 24 ]
30
[ "99-84=15", "26-24=2", "15*2=30" ]
Current State: 30:[99, 26, 84, 24], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [26, 24, 15] Generated Node #2: [26, 24, 15] from Operation: 99-84=15 Current State: 30:[26, 24, 15], Operations: ['99-84=15'] Exploring Operation: 26-24=2, Resulting Numbers: [15, 2] Generated Node #3: [15, 2] from Operation: 26-24=2 Current State: 30:[15, 2], Operations: ['99-84=15', '26-24=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[99, 26, 84, 24], Operations: [] Exploring Operation: 99-26=73, Resulting Numbers: [84, 24, 73] Generated Node #0,0: 30:[84, 24, 73] Operation: 99-26=73 Exploring Operation: 99-84=15, Resulting Numbers: [26, 24, 15] Generated Node #0,1: 30:[26, 24, 15] Operation: 99-84=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[26, 24, 15], Operations: ['99-84=15'] Exploring Operation: 24-15=9, Resulting Numbers: [26, 9] Generated Node #0,1,0: 30:[26, 9] Operation: 24-15=9 Exploring Operation: 26-24=2, Resulting Numbers: [15, 2] Generated Node #0,1,1: 30:[15, 2] Operation: 26-24=2 Moving to Node #0,1,1 Current State: 30:[15, 2], Operations: ['99-84=15', '26-24=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,30 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[99, 26, 84, 24], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [26, 24, 15] Generated Node #0,1: 30:[26, 24, 15] Operation: 99-84=15 Moving to Node #0,1 Current State: 30:[26, 24, 15], Operations: ['99-84=15'] Exploring Operation: 26-24=2, Resulting Numbers: [15, 2] Generated Node #0,1,1: 30:[15, 2] Operation: 26-24=2 Moving to Node #0,1,1 Current State: 30:[15, 2], Operations: ['99-84=15', '26-24=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 2, 72, 4, 18 ]
69
[ "2+4=6", "18/6=3", "72-3=69" ]
Current State: 69:[2, 72, 4, 18], Operations: [] Exploring Operation: 2+4=6, Resulting Numbers: [72, 18, 6] Generated Node #2: [72, 18, 6] from Operation: 2+4=6 Current State: 69:[72, 18, 6], Operations: ['2+4=6'] Exploring Operation: 18/6=3, Resulting Numbers: [72, 3] Generated Node #3: [72, 3] from Operation: 18/6=3 Current State: 69:[72, 3], Operations: ['2+4=6', '18/6=3'] Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[2, 72, 4, 18], Operations: [] Exploring Operation: 72-4=68, Resulting Numbers: [2, 18, 68] Generated Node #0,0: 69:[2, 18, 68] Operation: 72-4=68 Exploring Operation: 2+18=20, Resulting Numbers: [72, 4, 20] Generated Node #0,1: 69:[72, 4, 20] Operation: 2+18=20 Exploring Operation: 4+18=22, Resulting Numbers: [2, 72, 22] Generated Node #0,2: 69:[2, 72, 22] Operation: 4+18=22 Exploring Operation: 72/18=4, Resulting Numbers: [2, 4, 4] Generated Node #0,3: 69:[2, 4, 4] Operation: 72/18=4 Exploring Operation: 72-2=70, Resulting Numbers: [4, 18, 70] Generated Node #0,4: 69:[4, 18, 70] Operation: 72-2=70 Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[2, 4, 4], Operations: ['72/18=4'] Exploring Operation: 4-2=2, Resulting Numbers: [4, 2] Generated Node #0,3,0: 69:[4, 2] Operation: 4-2=2 Exploring Operation: 4/4=1, Resulting Numbers: [2, 1] Generated Node #0,3,1: 69:[2, 1] Operation: 4/4=1 Exploring Operation: 4/2=2, Resulting Numbers: [4, 2] Generated Node #0,3,2: 69:[4, 2] Operation: 4/2=2 Exploring Operation: 4/2=2, Resulting Numbers: [4, 2] Generated Node #0,3,3: 69:[4, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [4, 2] Generated Node #0,3,4: 69:[4, 2] Operation: 4-2=2 Moving to Node #0,3,0 Current State: 69:[4, 2], Operations: ['72/18=4', '4-2=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[4, 2], Operations: ['72/18=4', '4/2=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,69 unequal: No Solution Moving to Node #0,3,2 Current State: 69:[4, 2], Operations: ['72/18=4', '4/2=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,69 unequal: No Solution Moving to Node #0,3,4 Current State: 69:[4, 2], Operations: ['72/18=4', '4-2=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[2, 1], Operations: ['72/18=4', '4/4=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[2, 72, 22], Operations: ['4+18=22'] Exploring Operation: 22/2=11, Resulting Numbers: [72, 11] Generated Node #0,2,0: 69:[72, 11] Operation: 22/2=11 Exploring Operation: 22-2=20, Resulting Numbers: [72, 20] Generated Node #0,2,1: 69:[72, 20] Operation: 22-2=20 Exploring Operation: 72-2=70, Resulting Numbers: [22, 70] Generated Node #0,2,2: 69:[22, 70] Operation: 72-2=70 Exploring Operation: 2+72=74, Resulting Numbers: [22, 74] Generated Node #0,2,3: 69:[22, 74] Operation: 2+72=74 Exploring Operation: 2+22=24, Resulting Numbers: [72, 24] Generated Node #0,2,4: 69:[72, 24] Operation: 2+22=24 Moving to Node #0,2,2 Current State: 69:[22, 70], Operations: ['4+18=22', '72-2=70'] Exploring Operation: 22+70=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 22*70=1540, Resulting Numbers: [1540] 1540,69 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,69 unequal: No Solution Moving to Node #0,2,4 Current State: 69:[72, 24], Operations: ['4+18=22', '2+22=24'] Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 72+24=96, Resulting Numbers: [96] 96,69 unequal: No Solution Exploring Operation: 72*24=1728, Resulting Numbers: [1728] 1728,69 unequal: No Solution Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[72, 20], Operations: ['4+18=22', '22-2=20'] Exploring Operation: 72*20=1440, Resulting Numbers: [1440] 1440,69 unequal: No Solution Exploring Operation: 72+20=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[22, 74], Operations: ['4+18=22', '2+72=74'] Exploring Operation: 22+74=96, Resulting Numbers: [96] 96,69 unequal: No Solution Exploring Operation: 22*74=1628, Resulting Numbers: [1628] 1628,69 unequal: No Solution Exploring Operation: 74-22=52, Resulting Numbers: [52] 52,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[72, 11], Operations: ['4+18=22', '22/2=11'] Exploring Operation: 72*11=792, Resulting Numbers: [792] 792,69 unequal: No Solution Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,69 unequal: No Solution Exploring Operation: 72+11=83, Resulting Numbers: [83] 83,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[2, 18, 68], Operations: ['72-4=68'] Exploring Operation: 2+18=20, Resulting Numbers: [68, 20] Generated Node #0,0,0: 69:[68, 20] Operation: 2+18=20 Exploring Operation: 2+68=70, Resulting Numbers: [18, 70] Generated Node #0,0,1: 69:[18, 70] Operation: 2+68=70 Exploring Operation: 68-2=66, Resulting Numbers: [18, 66] Generated Node #0,0,2: 69:[18, 66] Operation: 68-2=66 Exploring Operation: 18-2=16, Resulting Numbers: [68, 16] Generated Node #0,0,3: 69:[68, 16] Operation: 18-2=16 Exploring Operation: 18/2=9, Resulting Numbers: [68, 9] Generated Node #0,0,4: 69:[68, 9] Operation: 18/2=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[68, 20], Operations: ['72-4=68', '2+18=20'] Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 68*20=1360, Resulting Numbers: [1360] 1360,69 unequal: No Solution Exploring Operation: 68+20=88, Resulting Numbers: [88] 88,69 unequal: No Solution No 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: 69:[18, 70], Operations: ['72-4=68', '2+68=70'] Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,69 unequal: No Solution Exploring Operation: 18+70=88, Resulting Numbers: [88] 88,69 unequal: No Solution Exploring Operation: 18*70=1260, Resulting Numbers: [1260] 1260,69 unequal: No Solution No 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: 69:[68, 9], Operations: ['72-4=68', '18/2=9'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,69 unequal: No Solution Exploring Operation: 68*9=612, Resulting Numbers: [612] 612,69 unequal: No Solution Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,69 unequal: No Solution No 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: 69:[18, 66], Operations: ['72-4=68', '68-2=66'] Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 18*66=1188, Resulting Numbers: [1188] 1188,69 unequal: No Solution No 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: 69:[68, 16], Operations: ['72-4=68', '18-2=16'] Exploring Operation: 68+16=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,69 unequal: No Solution Exploring Operation: 68*16=1088, Resulting Numbers: [1088] 1088,69 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: 69:[72, 4, 20], Operations: ['2+18=20'] Exploring Operation: 72-4=68, Resulting Numbers: [20, 68] Generated Node #0,1,0: 69:[20, 68] Operation: 72-4=68 Exploring Operation: 72+4=76, Resulting Numbers: [20, 76] Generated Node #0,1,1: 69:[20, 76] Operation: 72+4=76 Exploring Operation: 4+20=24, Resulting Numbers: [72, 24] Generated Node #0,1,2: 69:[72, 24] Operation: 4+20=24 Exploring Operation: 72/4=18, Resulting Numbers: [20, 18] Generated Node #0,1,3: 69:[20, 18] Operation: 72/4=18 Exploring Operation: 20/4=5, Resulting Numbers: [72, 5] Generated Node #0,1,4: 69:[72, 5] Operation: 20/4=5 Moving to Node #0,1,0 Current State: 69:[20, 68], Operations: ['2+18=20', '72-4=68'] Exploring Operation: 20*68=1360, Resulting Numbers: [1360] 1360,69 unequal: No Solution Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 20+68=88, Resulting Numbers: [88] 88,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[72, 24], Operations: ['2+18=20', '4+20=24'] Exploring Operation: 72*24=1728, Resulting Numbers: [1728] 1728,69 unequal: No Solution Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 72+24=96, Resulting Numbers: [96] 96,69 unequal: No Solution Moving to Node #0,1,4 Current State: 69:[72, 5], Operations: ['2+18=20', '20/4=5'] Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,69 unequal: No Solution Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,69 unequal: No Solution Exploring Operation: 72*5=360, Resulting Numbers: [360] 360,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[20, 18], Operations: ['2+18=20', '72/4=18'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,69 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[20, 76], Operations: ['2+18=20', '72+4=76'] Exploring Operation: 20+76=96, Resulting Numbers: [96] 96,69 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 20*76=1520, Resulting Numbers: [1520] 1520,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 69:[4, 18, 70], Operations: ['72-2=70'] Exploring Operation: 18-4=14, Resulting Numbers: [70, 14] Generated Node #0,4,0: 69:[70, 14] Operation: 18-4=14 Exploring Operation: 4+18=22, Resulting Numbers: [70, 22] Generated Node #0,4,1: 69:[70, 22] Operation: 4+18=22 Exploring Operation: 4+70=74, Resulting Numbers: [18, 74] Generated Node #0,4,2: 69:[18, 74] Operation: 4+70=74 Exploring Operation: 4*18=72, Resulting Numbers: [70, 72] Generated Node #0,4,3: 69:[70, 72] Operation: 4*18=72 Exploring Operation: 70-4=66, Resulting Numbers: [18, 66] Generated Node #0,4,4: 69:[18, 66] Operation: 70-4=66 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 69:[70, 22], Operations: ['72-2=70', '4+18=22'] Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,69 unequal: No Solution Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,69 unequal: No Solution No 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: 69:[70, 72], Operations: ['72-2=70', '4*18=72'] Exploring Operation: 70*72=5040, Resulting Numbers: [5040] 5040,69 unequal: No Solution Exploring Operation: 72-70=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 70+72=142, Resulting Numbers: [142] 142,69 unequal: No Solution No 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: 69:[18, 66], Operations: ['72-2=70', '70-4=66'] Exploring Operation: 18*66=1188, Resulting Numbers: [1188] 1188,69 unequal: No Solution Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,69 unequal: No Solution No 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: 69:[70, 14], Operations: ['72-2=70', '18-4=14'] Exploring Operation: 70+14=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 70/14=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 70*14=980, Resulting Numbers: [980] 980,69 unequal: No Solution Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,69 unequal: No Solution No 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: 69:[18, 74], Operations: ['72-2=70', '4+70=74'] Exploring Operation: 18+74=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 18*74=1332, Resulting Numbers: [1332] 1332,69 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
[ 8, 62, 46, 49 ]
73
[ "8+62=70", "49-46=3", "70+3=73" ]
Current State: 73:[8, 62, 46, 49], Operations: [] Exploring Operation: 8+62=70, Resulting Numbers: [46, 49, 70] Generated Node #2: [46, 49, 70] from Operation: 8+62=70 Current State: 73:[46, 49, 70], Operations: ['8+62=70'] Exploring Operation: 49-46=3, Resulting Numbers: [70, 3] Generated Node #3: [70, 3] from Operation: 49-46=3 Current State: 73:[70, 3], Operations: ['8+62=70', '49-46=3'] Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[8, 62, 46, 49], Operations: [] Exploring Operation: 8+62=70, Resulting Numbers: [46, 49, 70] Generated Node #0,0: 73:[46, 49, 70] Operation: 8+62=70 Exploring Operation: 8+46=54, Resulting Numbers: [62, 49, 54] Generated Node #0,1: 73:[62, 49, 54] Operation: 8+46=54 Exploring Operation: 62-8=54, Resulting Numbers: [46, 49, 54] Generated Node #0,2: 73:[46, 49, 54] Operation: 62-8=54 Exploring Operation: 8+49=57, Resulting Numbers: [62, 46, 57] Generated Node #0,3: 73:[62, 46, 57] Operation: 8+49=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[46, 49, 70], Operations: ['8+62=70'] Exploring Operation: 49-46=3, Resulting Numbers: [70, 3] Generated Node #0,0,0: 73:[70, 3] Operation: 49-46=3 Exploring Operation: 70-46=24, Resulting Numbers: [49, 24] Generated Node #0,0,1: 73:[49, 24] Operation: 70-46=24 Exploring Operation: 46+49=95, Resulting Numbers: [70, 95] Generated Node #0,0,2: 73:[70, 95] Operation: 46+49=95 Exploring Operation: 46+70=116, Resulting Numbers: [49, 116] Generated Node #0,0,3: 73:[49, 116] Operation: 46+70=116 Moving to Node #0,0,2 Current State: 73:[70, 95], Operations: ['8+62=70', '46+49=95'] Exploring Operation: 70+95=165, Resulting Numbers: [165] 165,73 unequal: No Solution Exploring Operation: 95-70=25, Resulting Numbers: [25] 25,73 unequal: No Solution Exploring Operation: 70*95=6650, Resulting Numbers: [6650] 6650,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[49, 116], Operations: ['8+62=70', '46+70=116'] Exploring Operation: 116-49=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 49*116=5684, Resulting Numbers: [5684] 5684,73 unequal: No Solution Exploring Operation: 49+116=165, Resulting Numbers: [165] 165,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[49, 24], Operations: ['8+62=70', '70-46=24'] Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,73 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[8, 62, 46, 49], Operations: [] Exploring Operation: 8+62=70, Resulting Numbers: [46, 49, 70] Generated Node #0,0: 73:[46, 49, 70] Operation: 8+62=70 Moving to Node #0,0 Current State: 73:[46, 49, 70], Operations: ['8+62=70'] Exploring Operation: 70-46=24, Resulting Numbers: [49, 24] Generated Node #0,0,1: 73:[49, 24] Operation: 70-46=24 Moving to Node #0,0,1 Current State: 73:[49, 24], Operations: ['8+62=70', '70-46=24'] Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 39, 28, 97, 2 ]
72
[ "97-39=58", "28/2=14", "58+14=72" ]
Current State: 72:[39, 28, 97, 2], Operations: [] Exploring Operation: 97-39=58, Resulting Numbers: [28, 2, 58] Generated Node #2: [28, 2, 58] from Operation: 97-39=58 Current State: 72:[28, 2, 58], Operations: ['97-39=58'] Exploring Operation: 28/2=14, Resulting Numbers: [58, 14] Generated Node #3: [58, 14] from Operation: 28/2=14 Current State: 72:[58, 14], Operations: ['97-39=58', '28/2=14'] Exploring Operation: 58+14=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[39, 28, 97, 2], Operations: [] Exploring Operation: 97-28=69, Resulting Numbers: [39, 2, 69] Generated Node #0,0: 72:[39, 2, 69] Operation: 97-28=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[39, 2, 69], Operations: ['97-28=69'] Exploring Operation: 39-2=37, Resulting Numbers: [69, 37] Generated Node #0,0,0: 72:[69, 37] Operation: 39-2=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[69, 37], Operations: ['97-28=69', '39-2=37'] Exploring Operation: 69-37=32, Resulting Numbers: [32] 32,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 37, 7, 60, 11 ]
93
[ "37+7=44", "60-11=49", "44+49=93" ]
Current State: 93:[37, 7, 60, 11], Operations: [] Exploring Operation: 37+7=44, Resulting Numbers: [60, 11, 44] Generated Node #2: [60, 11, 44] from Operation: 37+7=44 Current State: 93:[60, 11, 44], Operations: ['37+7=44'] Exploring Operation: 60-11=49, Resulting Numbers: [44, 49] Generated Node #3: [44, 49] from Operation: 60-11=49 Current State: 93:[44, 49], Operations: ['37+7=44', '60-11=49'] Exploring Operation: 44+49=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[37, 7, 60, 11], Operations: [] Exploring Operation: 60-11=49, Resulting Numbers: [37, 7, 49] Generated Node #0,0: 93:[37, 7, 49] Operation: 60-11=49 Exploring Operation: 37+60=97, Resulting Numbers: [7, 11, 97] Generated Node #0,1: 93:[7, 11, 97] Operation: 37+60=97 Exploring Operation: 60-37=23, Resulting Numbers: [7, 11, 23] Generated Node #0,2: 93:[7, 11, 23] Operation: 60-37=23 Moving to Node #0,1 Current State: 93:[7, 11, 97], Operations: ['37+60=97'] Exploring Operation: 11-7=4, Resulting Numbers: [97, 4] Generated Node #0,1,0: 93:[97, 4] Operation: 11-7=4 Exploring Operation: 97-7=90, Resulting Numbers: [11, 90] Generated Node #0,1,1: 93:[11, 90] Operation: 97-7=90 Exploring Operation: 97-11=86, Resulting Numbers: [7, 86] Generated Node #0,1,2: 93:[7, 86] Operation: 97-11=86 Moving to Node #0,2 Current State: 93:[7, 11, 23], Operations: ['60-37=23'] Exploring Operation: 11-7=4, Resulting Numbers: [23, 4] Generated Node #0,2,0: 93:[23, 4] Operation: 11-7=4 Exploring Operation: 11+23=34, Resulting Numbers: [7, 34] Generated Node #0,2,1: 93:[7, 34] Operation: 11+23=34 Exploring Operation: 7+23=30, Resulting Numbers: [11, 30] Generated Node #0,2,2: 93:[11, 30] Operation: 7+23=30 Moving to Node #0,0 Current State: 93:[37, 7, 49], Operations: ['60-11=49'] Exploring Operation: 37+49=86, Resulting Numbers: [7, 86] Generated Node #0,0,0: 93:[7, 86] Operation: 37+49=86 Exploring Operation: 49/7=7, Resulting Numbers: [37, 7] Generated Node #0,0,1: 93:[37, 7] Operation: 49/7=7 Exploring Operation: 49-37=12, Resulting Numbers: [7, 12] Generated Node #0,0,2: 93:[7, 12] Operation: 49-37=12 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[37, 7], Operations: ['60-11=49', '49/7=7'] Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,93 unequal: No Solution Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[7, 86], Operations: ['60-11=49', '37+49=86'] Exploring Operation: 7*86=602, Resulting Numbers: [602] 602,93 unequal: No Solution Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,93 unequal: No Solution Exploring Operation: 7+86=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[37, 7, 60, 11], Operations: [] Exploring Operation: 60-11=49, Resulting Numbers: [37, 7, 49] Generated Node #0,0: 93:[37, 7, 49] Operation: 60-11=49 Moving to Node #0,0 Current State: 93:[37, 7, 49], Operations: ['60-11=49'] Exploring Operation: 37+49=86, Resulting Numbers: [7, 86] Generated Node #0,0,0: 93:[7, 86] Operation: 37+49=86 Moving to Node #0,0,0 Current State: 93:[7, 86], Operations: ['60-11=49', '37+49=86'] Exploring Operation: 7+86=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_3
mult_heuristic
[ 14, 40, 11, 28 ]
18
[ "28/14=2", "11*2=22", "40-22=18" ]
Current State: 18:[14, 40, 11, 28], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [40, 11, 2] Generated Node #2: [40, 11, 2] from Operation: 28/14=2 Current State: 18:[40, 11, 2], Operations: ['28/14=2'] Exploring Operation: 11*2=22, Resulting Numbers: [40, 22] Generated Node #3: [40, 22] from Operation: 11*2=22 Current State: 18:[40, 22], Operations: ['28/14=2', '11*2=22'] Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[14, 40, 11, 28], Operations: [] Exploring Operation: 40-28=12, Resulting Numbers: [14, 11, 12] Generated Node #0,0: 18:[14, 11, 12] Operation: 40-28=12 Moving to Node #0,0 Current State: 18:[14, 11, 12], Operations: ['40-28=12'] Exploring Operation: 14-12=2, Resulting Numbers: [11, 2] Generated Node #0,0,0: 18:[11, 2] Operation: 14-12=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[11, 2], Operations: ['40-28=12', '14-12=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,18 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
[ 14, 2, 9, 45 ]
47
[ "14/2=7", "9+45=54", "54-7=47" ]
Current State: 47:[14, 2, 9, 45], Operations: [] Exploring Operation: 14/2=7, Resulting Numbers: [9, 45, 7] Generated Node #2: [9, 45, 7] from Operation: 14/2=7 Current State: 47:[9, 45, 7], Operations: ['14/2=7'] Exploring Operation: 9+45=54, Resulting Numbers: [7, 54] Generated Node #3: [7, 54] from Operation: 9+45=54 Current State: 47:[7, 54], Operations: ['14/2=7', '9+45=54'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[14, 2, 9, 45], Operations: [] Exploring Operation: 14+2=16, Resulting Numbers: [9, 45, 16] Generated Node #0,0: 47:[9, 45, 16] Operation: 14+2=16 Exploring Operation: 14*2=28, Resulting Numbers: [9, 45, 28] Generated Node #0,1: 47:[9, 45, 28] Operation: 14*2=28 Exploring Operation: 2*9=18, Resulting Numbers: [14, 45, 18] Generated Node #0,2: 47:[14, 45, 18] Operation: 2*9=18 Moving to Node #0,1 Current State: 47:[9, 45, 28], Operations: ['14*2=28'] Exploring Operation: 45-9=36, Resulting Numbers: [28, 36] Generated Node #0,1,0: 47:[28, 36] Operation: 45-9=36 Exploring Operation: 9+45=54, Resulting Numbers: [28, 54] Generated Node #0,1,1: 47:[28, 54] Operation: 9+45=54 Exploring Operation: 9+28=37, Resulting Numbers: [45, 37] Generated Node #0,1,2: 47:[45, 37] Operation: 9+28=37 Moving to Node #0,2 Current State: 47:[14, 45, 18], Operations: ['2*9=18'] Exploring Operation: 14+18=32, Resulting Numbers: [45, 32] Generated Node #0,2,0: 47:[45, 32] Operation: 14+18=32 Exploring Operation: 14+45=59, Resulting Numbers: [18, 59] Generated Node #0,2,1: 47:[18, 59] Operation: 14+45=59 Exploring Operation: 45-14=31, Resulting Numbers: [18, 31] Generated Node #0,2,2: 47:[18, 31] Operation: 45-14=31 Moving to Node #0,0 Current State: 47:[9, 45, 16], Operations: ['14+2=16'] Exploring Operation: 45-9=36, Resulting Numbers: [16, 36] Generated Node #0,0,0: 47:[16, 36] Operation: 45-9=36 Exploring Operation: 9+16=25, Resulting Numbers: [45, 25] Generated Node #0,0,1: 47:[45, 25] Operation: 9+16=25 Exploring Operation: 9+45=54, Resulting Numbers: [16, 54] Generated Node #0,0,2: 47:[16, 54] Operation: 9+45=54 Moving to Node #0,1,2 Current State: 47:[45, 37], Operations: ['14*2=28', '9+28=37'] Exploring Operation: 45+37=82, Resulting Numbers: [82] 82,47 unequal: No Solution Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 45*37=1665, Resulting Numbers: [1665] 1665,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[45, 32], Operations: ['2*9=18', '14+18=32'] Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,47 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[45, 25], Operations: ['14+2=16', '9+16=25'] Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,47 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[28, 54], Operations: ['14*2=28', '9+45=54'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,47 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[28, 36], Operations: ['14*2=28', '45-9=36'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[16, 54], Operations: ['14+2=16', '9+45=54'] Exploring Operation: 16*54=864, Resulting Numbers: [864] 864,47 unequal: No Solution Exploring Operation: 16+54=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[18, 59], Operations: ['2*9=18', '14+45=59'] Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,47 unequal: No Solution Exploring Operation: 18+59=77, Resulting Numbers: [77] 77,47 unequal: No Solution Exploring Operation: 18*59=1062, Resulting Numbers: [1062] 1062,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[16, 36], Operations: ['14+2=16', '45-9=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,47 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[18, 31], Operations: ['2*9=18', '45-14=31'] Exploring Operation: 18*31=558, Resulting Numbers: [558] 558,47 unequal: No Solution Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,47 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,47 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 92, 73, 55, 36 ]
33
[ "92+73=165", "165/55=3", "36-3=33" ]
Current State: 33:[92, 73, 55, 36], Operations: [] Exploring Operation: 92+73=165, Resulting Numbers: [55, 36, 165] Generated Node #2: [55, 36, 165] from Operation: 92+73=165 Current State: 33:[55, 36, 165], Operations: ['92+73=165'] Exploring Operation: 165/55=3, Resulting Numbers: [36, 3] Generated Node #3: [36, 3] from Operation: 165/55=3 Current State: 33:[36, 3], Operations: ['92+73=165', '165/55=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[92, 73, 55, 36], Operations: [] Exploring Operation: 92-73=19, Resulting Numbers: [55, 36, 19] Generated Node #0,0: 33:[55, 36, 19] Operation: 92-73=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[55, 36, 19], Operations: ['92-73=19'] Exploring Operation: 55-19=36, Resulting Numbers: [36, 36] Generated Node #0,0,0: 33:[36, 36] Operation: 55-19=36 Moving to Node #0,0,0 Current State: 33:[36, 36], Operations: ['92-73=19', '55-19=36'] Exploring Operation: 36/36=1, Resulting Numbers: [1] 1,33 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
[ 7, 89, 92, 41 ]
70
[ "92+41=133", "133/7=19", "89-19=70" ]
Current State: 70:[7, 89, 92, 41], Operations: [] Exploring Operation: 92+41=133, Resulting Numbers: [7, 89, 133] Generated Node #2: [7, 89, 133] from Operation: 92+41=133 Current State: 70:[7, 89, 133], Operations: ['92+41=133'] Exploring Operation: 133/7=19, Resulting Numbers: [89, 19] Generated Node #3: [89, 19] from Operation: 133/7=19 Current State: 70:[89, 19], Operations: ['92+41=133', '133/7=19'] Exploring Operation: 89-19=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[7, 89, 92, 41], Operations: [] Exploring Operation: 89-7=82, Resulting Numbers: [92, 41, 82] Generated Node #0,0: 70:[92, 41, 82] Operation: 89-7=82 Exploring Operation: 89-41=48, Resulting Numbers: [7, 92, 48] Generated Node #0,1: 70:[7, 92, 48] Operation: 89-41=48 Exploring Operation: 92-41=51, Resulting Numbers: [7, 89, 51] Generated Node #0,2: 70:[7, 89, 51] Operation: 92-41=51 Exploring Operation: 92-7=85, Resulting Numbers: [89, 41, 85] Generated Node #0,3: 70:[89, 41, 85] Operation: 92-7=85 Exploring Operation: 92-89=3, Resulting Numbers: [7, 41, 3] Generated Node #0,4: 70:[7, 41, 3] Operation: 92-89=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 70:[7, 41, 3], Operations: ['92-89=3'] Exploring Operation: 41-3=38, Resulting Numbers: [7, 38] Generated Node #0,4,0: 70:[7, 38] Operation: 41-3=38 Exploring Operation: 7-3=4, Resulting Numbers: [41, 4] Generated Node #0,4,1: 70:[41, 4] Operation: 7-3=4 Exploring Operation: 7+3=10, Resulting Numbers: [41, 10] Generated Node #0,4,2: 70:[41, 10] Operation: 7+3=10 Exploring Operation: 41-7=34, Resulting Numbers: [3, 34] Generated Node #0,4,3: 70:[3, 34] Operation: 41-7=34 Exploring Operation: 41+3=44, Resulting Numbers: [7, 44] Generated Node #0,4,4: 70:[7, 44] Operation: 41+3=44 Moving to Node #0,4,3 Current State: 70:[3, 34], Operations: ['92-89=3', '41-7=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,70 unequal: No Solution Moving to Node #0,4,0 Current State: 70:[7, 38], Operations: ['92-89=3', '41-3=38'] Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,70 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,70 unequal: No Solution Moving to Node #0,4,2 Current State: 70:[41, 10], Operations: ['92-89=3', '7+3=10'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,70 unequal: No Solution Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,70 unequal: No Solution Moving to Node #0,4,1 Current State: 70:[41, 4], Operations: ['92-89=3', '7-3=4'] Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,70 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,70 unequal: No Solution Moving to Node #0,4,4 Current State: 70:[7, 44], Operations: ['92-89=3', '41+3=44'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,70 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,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,1 Current State: 70:[7, 92, 48], Operations: ['89-41=48'] Exploring Operation: 48-7=41, Resulting Numbers: [92, 41] Generated Node #0,1,0: 70:[92, 41] Operation: 48-7=41 Exploring Operation: 7+48=55, Resulting Numbers: [92, 55] Generated Node #0,1,1: 70:[92, 55] Operation: 7+48=55 Exploring Operation: 7+92=99, Resulting Numbers: [48, 99] Generated Node #0,1,2: 70:[48, 99] Operation: 7+92=99 Exploring Operation: 92-7=85, Resulting Numbers: [48, 85] Generated Node #0,1,3: 70:[48, 85] Operation: 92-7=85 Exploring Operation: 92-48=44, Resulting Numbers: [7, 44] Generated Node #0,1,4: 70:[7, 44] Operation: 92-48=44 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 70:[7, 44], Operations: ['89-41=48', '92-48=44'] Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,70 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[92, 41], Operations: ['89-41=48', '48-7=41'] Exploring Operation: 92+41=133, Resulting Numbers: [133] 133,70 unequal: No Solution Exploring Operation: 92*41=3772, Resulting Numbers: [3772] 3772,70 unequal: No Solution Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 70:[48, 85], Operations: ['89-41=48', '92-7=85'] Exploring Operation: 48*85=4080, Resulting Numbers: [4080] 4080,70 unequal: No Solution Exploring Operation: 48+85=133, Resulting Numbers: [133] 133,70 unequal: No Solution Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[92, 55], Operations: ['89-41=48', '7+48=55'] Exploring Operation: 92*55=5060, Resulting Numbers: [5060] 5060,70 unequal: No Solution Exploring Operation: 92+55=147, Resulting Numbers: [147] 147,70 unequal: No Solution Exploring Operation: 92-55=37, Resulting Numbers: [37] 37,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[48, 99], Operations: ['89-41=48', '7+92=99'] Exploring Operation: 48+99=147, Resulting Numbers: [147] 147,70 unequal: No Solution Exploring Operation: 99-48=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 48*99=4752, Resulting Numbers: [4752] 4752,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,2 Current State: 70:[7, 89, 51], Operations: ['92-41=51'] Exploring Operation: 89-7=82, Resulting Numbers: [51, 82] Generated Node #0,2,0: 70:[51, 82] Operation: 89-7=82 Exploring Operation: 51-7=44, Resulting Numbers: [89, 44] Generated Node #0,2,1: 70:[89, 44] Operation: 51-7=44 Exploring Operation: 7+89=96, Resulting Numbers: [51, 96] Generated Node #0,2,2: 70:[51, 96] Operation: 7+89=96 Exploring Operation: 7+51=58, Resulting Numbers: [89, 58] Generated Node #0,2,3: 70:[89, 58] Operation: 7+51=58 Exploring Operation: 89-51=38, Resulting Numbers: [7, 38] Generated Node #0,2,4: 70:[7, 38] Operation: 89-51=38 Moving to Node #0,2,4 Current State: 70:[7, 38], Operations: ['92-41=51', '89-51=38'] Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,70 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[89, 44], Operations: ['92-41=51', '51-7=44'] Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,70 unequal: No Solution Exploring Operation: 89*44=3916, Resulting Numbers: [3916] 3916,70 unequal: No Solution Exploring Operation: 89+44=133, Resulting Numbers: [133] 133,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[51, 82], Operations: ['92-41=51', '89-7=82'] Exploring Operation: 51+82=133, Resulting Numbers: [133] 133,70 unequal: No Solution Exploring Operation: 51*82=4182, Resulting Numbers: [4182] 4182,70 unequal: No Solution Exploring Operation: 82-51=31, Resulting Numbers: [31] 31,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[89, 58], Operations: ['92-41=51', '7+51=58'] Exploring Operation: 89+58=147, Resulting Numbers: [147] 147,70 unequal: No Solution Exploring Operation: 89*58=5162, Resulting Numbers: [5162] 5162,70 unequal: No Solution Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[51, 96], Operations: ['92-41=51', '7+89=96'] Exploring Operation: 51*96=4896, Resulting Numbers: [4896] 4896,70 unequal: No Solution Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,70 unequal: No Solution Exploring Operation: 51+96=147, Resulting Numbers: [147] 147,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:[92, 41, 82], Operations: ['89-7=82'] Exploring Operation: 82/41=2, Resulting Numbers: [92, 2] Generated Node #0,0,0: 70:[92, 2] Operation: 82/41=2 Exploring Operation: 92+41=133, Resulting Numbers: [82, 133] Generated Node #0,0,1: 70:[82, 133] Operation: 92+41=133 Exploring Operation: 92-82=10, Resulting Numbers: [41, 10] Generated Node #0,0,2: 70:[41, 10] Operation: 92-82=10 Exploring Operation: 82-41=41, Resulting Numbers: [92, 41] Generated Node #0,0,3: 70:[92, 41] Operation: 82-41=41 Exploring Operation: 92-41=51, Resulting Numbers: [82, 51] Generated Node #0,0,4: 70:[82, 51] Operation: 92-41=51 Moving to Node #0,0,2 Current State: 70:[41, 10], Operations: ['89-7=82', '92-82=10'] Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,70 unequal: No Solution Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[92, 2], Operations: ['89-7=82', '82/41=2'] Exploring Operation: 92*2=184, Resulting Numbers: [184] 184,70 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,70 unequal: No Solution Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[92, 41], Operations: ['89-7=82', '82-41=41'] Exploring Operation: 92+41=133, Resulting Numbers: [133] 133,70 unequal: No Solution Exploring Operation: 92*41=3772, Resulting Numbers: [3772] 3772,70 unequal: No Solution Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,70 unequal: No Solution Moving to Node #0,0,4 Current State: 70:[82, 51], Operations: ['89-7=82', '92-41=51'] Exploring Operation: 82+51=133, Resulting Numbers: [133] 133,70 unequal: No Solution Exploring Operation: 82-51=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 82*51=4182, Resulting Numbers: [4182] 4182,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[82, 133], Operations: ['89-7=82', '92+41=133'] Exploring Operation: 133-82=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 82+133=215, Resulting Numbers: [215] 215,70 unequal: No Solution Exploring Operation: 82*133=10906, Resulting Numbers: [10906] 10906,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:[89, 41, 85], Operations: ['92-7=85'] Exploring Operation: 89-85=4, Resulting Numbers: [41, 4] Generated Node #0,3,0: 70:[41, 4] Operation: 89-85=4 Exploring Operation: 89-41=48, Resulting Numbers: [85, 48] Generated Node #0,3,1: 70:[85, 48] Operation: 89-41=48 Exploring Operation: 41+85=126, Resulting Numbers: [89, 126] Generated Node #0,3,2: 70:[89, 126] Operation: 41+85=126 Exploring Operation: 85-41=44, Resulting Numbers: [89, 44] Generated Node #0,3,3: 70:[89, 44] Operation: 85-41=44 Exploring Operation: 89+41=130, Resulting Numbers: [85, 130] Generated Node #0,3,4: 70:[85, 130] Operation: 89+41=130 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 70:[41, 4], Operations: ['92-7=85', '89-85=4'] Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,70 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,70 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,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,3,1 Current State: 70:[85, 48], Operations: ['92-7=85', '89-41=48'] Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 85+48=133, Resulting Numbers: [133] 133,70 unequal: No Solution Exploring Operation: 85*48=4080, Resulting Numbers: [4080] 4080,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,3,3 Current State: 70:[89, 44], Operations: ['92-7=85', '85-41=44'] Exploring Operation: 89+44=133, Resulting Numbers: [133] 133,70 unequal: No Solution Exploring Operation: 89*44=3916, Resulting Numbers: [3916] 3916,70 unequal: No Solution Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,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,3,2 Current State: 70:[89, 126], Operations: ['92-7=85', '41+85=126'] Exploring Operation: 89*126=11214, Resulting Numbers: [11214] 11214,70 unequal: No Solution Exploring Operation: 89+126=215, Resulting Numbers: [215] 215,70 unequal: No Solution Exploring Operation: 126-89=37, Resulting Numbers: [37] 37,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,3,4 Current State: 70:[85, 130], Operations: ['92-7=85', '89+41=130'] Exploring Operation: 130-85=45, Resulting Numbers: [45] 45,70 unequal: No Solution Exploring Operation: 85+130=215, Resulting Numbers: [215] 215,70 unequal: No Solution Exploring Operation: 85*130=11050, Resulting Numbers: [11050] 11050,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 62, 28, 39, 77 ]
55
[ "39-28=11", "77/11=7", "62-7=55" ]
Current State: 55:[62, 28, 39, 77], Operations: [] Exploring Operation: 39-28=11, Resulting Numbers: [62, 77, 11] Generated Node #2: [62, 77, 11] from Operation: 39-28=11 Current State: 55:[62, 77, 11], Operations: ['39-28=11'] Exploring Operation: 77/11=7, Resulting Numbers: [62, 7] Generated Node #3: [62, 7] from Operation: 77/11=7 Current State: 55:[62, 7], Operations: ['39-28=11', '77/11=7'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[62, 28, 39, 77], Operations: [] Exploring Operation: 77-28=49, Resulting Numbers: [62, 39, 49] Generated Node #0,0: 55:[62, 39, 49] Operation: 77-28=49 Exploring Operation: 39-28=11, Resulting Numbers: [62, 77, 11] Generated Node #0,1: 55:[62, 77, 11] Operation: 39-28=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[62, 39, 49], Operations: ['77-28=49'] Exploring Operation: 62-39=23, Resulting Numbers: [49, 23] Generated Node #0,0,0: 55:[49, 23] Operation: 62-39=23 Exploring Operation: 49-39=10, Resulting Numbers: [62, 10] Generated Node #0,0,1: 55:[62, 10] Operation: 49-39=10 Moving to Node #0,0,1 Current State: 55:[62, 10], Operations: ['77-28=49', '49-39=10'] Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,55 unequal: No Solution Exploring Operation: 62+10=72, Resulting Numbers: [72] 72,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[49, 23], Operations: ['77-28=49', '62-39=23'] Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,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:[62, 77, 11], Operations: ['39-28=11'] Exploring Operation: 77-62=15, Resulting Numbers: [11, 15] Generated Node #0,1,0: 55:[11, 15] Operation: 77-62=15 Exploring Operation: 77/11=7, Resulting Numbers: [62, 7] Generated Node #0,1,1: 55:[62, 7] Operation: 77/11=7 Moving to Node #0,1,0 Current State: 55:[11, 15], Operations: ['39-28=11', '77-62=15'] Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[62, 7], Operations: ['39-28=11', '77/11=7'] Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,55 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[62, 28, 39, 77], Operations: [] Exploring Operation: 39-28=11, Resulting Numbers: [62, 77, 11] Generated Node #0,1: 55:[62, 77, 11] Operation: 39-28=11 Moving to Node #0,1 Current State: 55:[62, 77, 11], Operations: ['39-28=11'] Exploring Operation: 77/11=7, Resulting Numbers: [62, 7] Generated Node #0,1,1: 55:[62, 7] Operation: 77/11=7 Moving to Node #0,1,1 Current State: 55:[62, 7], Operations: ['39-28=11', '77/11=7'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 84, 24, 86, 19 ]
10
[ "86-84=2", "24-19=5", "2*5=10" ]
Current State: 10:[84, 24, 86, 19], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [24, 19, 2] Generated Node #2: [24, 19, 2] from Operation: 86-84=2 Current State: 10:[24, 19, 2], Operations: ['86-84=2'] Exploring Operation: 24-19=5, Resulting Numbers: [2, 5] Generated Node #3: [2, 5] from Operation: 24-19=5 Current State: 10:[2, 5], Operations: ['86-84=2', '24-19=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[84, 24, 86, 19], Operations: [] Exploring Operation: 84-24=60, Resulting Numbers: [86, 19, 60] Generated Node #0,0: 10:[86, 19, 60] Operation: 84-24=60 Exploring Operation: 86-24=62, Resulting Numbers: [84, 19, 62] Generated Node #0,1: 10:[84, 19, 62] Operation: 86-24=62 Exploring Operation: 86-84=2, Resulting Numbers: [24, 19, 2] Generated Node #0,2: 10:[24, 19, 2] Operation: 86-84=2 Moving to Node #0,2 Current State: 10:[24, 19, 2], Operations: ['86-84=2'] Exploring Operation: 24/2=12, Resulting Numbers: [19, 12] Generated Node #0,2,0: 10:[19, 12] Operation: 24/2=12 Exploring Operation: 24-2=22, Resulting Numbers: [19, 22] Generated Node #0,2,1: 10:[19, 22] Operation: 24-2=22 Exploring Operation: 24-19=5, Resulting Numbers: [2, 5] Generated Node #0,2,2: 10:[2, 5] Operation: 24-19=5 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[2, 5], Operations: ['86-84=2', '24-19=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[84, 24, 86, 19], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [24, 19, 2] Generated Node #0,2: 10:[24, 19, 2] Operation: 86-84=2 Moving to Node #0,2 Current State: 10:[24, 19, 2], Operations: ['86-84=2'] Exploring Operation: 24-19=5, Resulting Numbers: [2, 5] Generated Node #0,2,2: 10:[2, 5] Operation: 24-19=5 Moving to Node #0,2,2 Current State: 10:[2, 5], Operations: ['86-84=2', '24-19=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 2, 38, 75, 70 ]
41
[ "38-2=36", "75-70=5", "36+5=41" ]
Current State: 41:[2, 38, 75, 70], Operations: [] Exploring Operation: 38-2=36, Resulting Numbers: [75, 70, 36] Generated Node #2: [75, 70, 36] from Operation: 38-2=36 Current State: 41:[75, 70, 36], Operations: ['38-2=36'] Exploring Operation: 75-70=5, Resulting Numbers: [36, 5] Generated Node #3: [36, 5] from Operation: 75-70=5 Current State: 41:[36, 5], Operations: ['38-2=36', '75-70=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[2, 38, 75, 70], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [38, 75, 35] Generated Node #0,0: 41:[38, 75, 35] Operation: 70/2=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[38, 75, 35], Operations: ['70/2=35'] Exploring Operation: 75-35=40, Resulting Numbers: [38, 40] Generated Node #0,0,0: 41:[38, 40] Operation: 75-35=40 Moving to Node #0,0,0 Current State: 41:[38, 40], Operations: ['70/2=35', '75-35=40'] Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 71, 36, 39, 18 ]
56
[ "71-36=35", "39-18=21", "35+21=56" ]
Current State: 56:[71, 36, 39, 18], Operations: [] Exploring Operation: 71-36=35, Resulting Numbers: [39, 18, 35] Generated Node #2: [39, 18, 35] from Operation: 71-36=35 Current State: 56:[39, 18, 35], Operations: ['71-36=35'] Exploring Operation: 39-18=21, Resulting Numbers: [35, 21] Generated Node #3: [35, 21] from Operation: 39-18=21 Current State: 56:[35, 21], Operations: ['71-36=35', '39-18=21'] Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[71, 36, 39, 18], Operations: [] Exploring Operation: 71-39=32, Resulting Numbers: [36, 18, 32] Generated Node #0,0: 56:[36, 18, 32] Operation: 71-39=32 Exploring Operation: 39+18=57, Resulting Numbers: [71, 36, 57] Generated Node #0,1: 56:[71, 36, 57] Operation: 39+18=57 Exploring Operation: 71-36=35, Resulting Numbers: [39, 18, 35] Generated Node #0,2: 56:[39, 18, 35] Operation: 71-36=35 Exploring Operation: 71-18=53, Resulting Numbers: [36, 39, 53] Generated Node #0,3: 56:[36, 39, 53] Operation: 71-18=53 Exploring Operation: 39-36=3, Resulting Numbers: [71, 18, 3] Generated Node #0,4: 56:[71, 18, 3] Operation: 39-36=3 Moving to Node #0,0 Current State: 56:[36, 18, 32], Operations: ['71-39=32'] Exploring Operation: 36/18=2, Resulting Numbers: [32, 2] Generated Node #0,0,0: 56:[32, 2] Operation: 36/18=2 Exploring Operation: 32-18=14, Resulting Numbers: [36, 14] Generated Node #0,0,1: 56:[36, 14] Operation: 32-18=14 Exploring Operation: 36-32=4, Resulting Numbers: [18, 4] Generated Node #0,0,2: 56:[18, 4] Operation: 36-32=4 Exploring Operation: 36-18=18, Resulting Numbers: [32, 18] Generated Node #0,0,3: 56:[32, 18] Operation: 36-18=18 Exploring Operation: 36+18=54, Resulting Numbers: [32, 54] Generated Node #0,0,4: 56:[32, 54] Operation: 36+18=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[32, 2], Operations: ['71-39=32', '36/18=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[18, 4], Operations: ['71-39=32', '36-32=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 56:[32, 54], Operations: ['71-39=32', '36+18=54'] Exploring Operation: 32+54=86, Resulting Numbers: [86] 86,56 unequal: No Solution Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 32*54=1728, Resulting Numbers: [1728] 1728,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[36, 14], Operations: ['71-39=32', '32-18=14'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,56 unequal: No Solution Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[32, 18], Operations: ['71-39=32', '36-18=18'] Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 56:[71, 18, 3], Operations: ['39-36=3'] Exploring Operation: 71-3=68, Resulting Numbers: [18, 68] Generated Node #0,4,0: 56:[18, 68] Operation: 71-3=68 Exploring Operation: 71-18=53, Resulting Numbers: [3, 53] Generated Node #0,4,1: 56:[3, 53] Operation: 71-18=53 Exploring Operation: 18-3=15, Resulting Numbers: [71, 15] Generated Node #0,4,2: 56:[71, 15] Operation: 18-3=15 Exploring Operation: 18/3=6, Resulting Numbers: [71, 6] Generated Node #0,4,3: 56:[71, 6] Operation: 18/3=6 Exploring Operation: 18*3=54, Resulting Numbers: [71, 54] Generated Node #0,4,4: 56:[71, 54] Operation: 18*3=54 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 56:[3, 53], Operations: ['39-36=3', '71-18=53'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[71, 36, 39, 18], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [71, 18, 3] Generated Node #0,4: 56:[71, 18, 3] Operation: 39-36=3 Moving to Node #0,4 Current State: 56:[71, 18, 3], Operations: ['39-36=3'] Exploring Operation: 71-18=53, Resulting Numbers: [3, 53] Generated Node #0,4,1: 56:[3, 53] Operation: 71-18=53 Moving to Node #0,4,1 Current State: 56:[3, 53], Operations: ['39-36=3', '71-18=53'] Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 23, 46, 65, 74 ]
70
[ "23+46=69", "65+74=139", "139-69=70" ]
Current State: 70:[23, 46, 65, 74], Operations: [] Exploring Operation: 23+46=69, Resulting Numbers: [65, 74, 69] Generated Node #2: [65, 74, 69] from Operation: 23+46=69 Current State: 70:[65, 74, 69], Operations: ['23+46=69'] Exploring Operation: 65+74=139, Resulting Numbers: [69, 139] Generated Node #3: [69, 139] from Operation: 65+74=139 Current State: 70:[69, 139], Operations: ['23+46=69', '65+74=139'] Exploring Operation: 139-69=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[23, 46, 65, 74], Operations: [] Exploring Operation: 74-46=28, Resulting Numbers: [23, 65, 28] Generated Node #0,0: 70:[23, 65, 28] Operation: 74-46=28 Exploring Operation: 46/23=2, Resulting Numbers: [65, 74, 2] Generated Node #0,1: 70:[65, 74, 2] Operation: 46/23=2 Exploring Operation: 46-23=23, Resulting Numbers: [65, 74, 23] Generated Node #0,2: 70:[65, 74, 23] Operation: 46-23=23 Exploring Operation: 23+46=69, Resulting Numbers: [65, 74, 69] Generated Node #0,3: 70:[65, 74, 69] Operation: 23+46=69 Exploring Operation: 65-46=19, Resulting Numbers: [23, 74, 19] Generated Node #0,4: 70:[23, 74, 19] Operation: 65-46=19 Moving to Node #0,1 Current State: 70:[65, 74, 2], Operations: ['46/23=2'] Exploring Operation: 74/2=37, Resulting Numbers: [65, 37] Generated Node #0,1,0: 70:[65, 37] Operation: 74/2=37 Exploring Operation: 74-65=9, Resulting Numbers: [2, 9] Generated Node #0,1,1: 70:[2, 9] Operation: 74-65=9 Exploring Operation: 65-2=63, Resulting Numbers: [74, 63] Generated Node #0,1,2: 70:[74, 63] Operation: 65-2=63 Exploring Operation: 74-2=72, Resulting Numbers: [65, 72] Generated Node #0,1,3: 70:[65, 72] Operation: 74-2=72 Exploring Operation: 65+2=67, Resulting Numbers: [74, 67] Generated Node #0,1,4: 70:[74, 67] Operation: 65+2=67 Moving to Node #0,3 Current State: 70:[65, 74, 69], Operations: ['23+46=69'] Exploring Operation: 65+69=134, Resulting Numbers: [74, 134] Generated Node #0,3,0: 70:[74, 134] Operation: 65+69=134 Exploring Operation: 74-69=5, Resulting Numbers: [65, 5] Generated Node #0,3,1: 70:[65, 5] Operation: 74-69=5 Exploring Operation: 69-65=4, Resulting Numbers: [74, 4] Generated Node #0,3,2: 70:[74, 4] Operation: 69-65=4 Exploring Operation: 74-65=9, Resulting Numbers: [69, 9] Generated Node #0,3,3: 70:[69, 9] Operation: 74-65=9 Exploring Operation: 65+74=139, Resulting Numbers: [69, 139] Generated Node #0,3,4: 70:[69, 139] Operation: 65+74=139 Moving to Node #0,2 Current State: 70:[65, 74, 23], Operations: ['46-23=23'] Exploring Operation: 74-23=51, Resulting Numbers: [65, 51] Generated Node #0,2,0: 70:[65, 51] Operation: 74-23=51 Exploring Operation: 74+23=97, Resulting Numbers: [65, 97] Generated Node #0,2,1: 70:[65, 97] Operation: 74+23=97 Exploring Operation: 65+23=88, Resulting Numbers: [74, 88] Generated Node #0,2,2: 70:[74, 88] Operation: 65+23=88 Exploring Operation: 65-23=42, Resulting Numbers: [74, 42] Generated Node #0,2,3: 70:[74, 42] Operation: 65-23=42 Exploring Operation: 74-65=9, Resulting Numbers: [23, 9] Generated Node #0,2,4: 70:[23, 9] Operation: 74-65=9 Moving to Node #0,4 Current State: 70:[23, 74, 19], Operations: ['65-46=19'] Exploring Operation: 74-23=51, Resulting Numbers: [19, 51] Generated Node #0,4,0: 70:[19, 51] Operation: 74-23=51 Exploring Operation: 74-19=55, Resulting Numbers: [23, 55] Generated Node #0,4,1: 70:[23, 55] Operation: 74-19=55 Exploring Operation: 23+19=42, Resulting Numbers: [74, 42] Generated Node #0,4,2: 70:[74, 42] Operation: 23+19=42 Exploring Operation: 23-19=4, Resulting Numbers: [74, 4] Generated Node #0,4,3: 70:[74, 4] Operation: 23-19=4 Exploring Operation: 23+74=97, Resulting Numbers: [19, 97] Generated Node #0,4,4: 70:[19, 97] Operation: 23+74=97 Moving to Node #0,0 Current State: 70:[23, 65, 28], Operations: ['74-46=28'] Exploring Operation: 65-23=42, Resulting Numbers: [28, 42] Generated Node #0,0,0: 70:[28, 42] Operation: 65-23=42 Exploring Operation: 23+28=51, Resulting Numbers: [65, 51] Generated Node #0,0,1: 70:[65, 51] Operation: 23+28=51 Exploring Operation: 23+65=88, Resulting Numbers: [28, 88] Generated Node #0,0,2: 70:[28, 88] Operation: 23+65=88 Exploring Operation: 65-28=37, Resulting Numbers: [23, 37] Generated Node #0,0,3: 70:[23, 37] Operation: 65-28=37 Exploring Operation: 28-23=5, Resulting Numbers: [65, 5] Generated Node #0,0,4: 70:[65, 5] Operation: 28-23=5 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 70:[65, 5], Operations: ['74-46=28', '28-23=5'] Exploring Operation: 65*5=325, Resulting Numbers: [325] 325,70 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[23, 46, 65, 74], Operations: [] Exploring Operation: 74-46=28, Resulting Numbers: [23, 65, 28] Generated Node #0,0: 70:[23, 65, 28] Operation: 74-46=28 Moving to Node #0,0 Current State: 70:[23, 65, 28], Operations: ['74-46=28'] Exploring Operation: 28-23=5, Resulting Numbers: [65, 5] Generated Node #0,0,4: 70:[65, 5] Operation: 28-23=5 Moving to Node #0,0,4 Current State: 70:[65, 5], Operations: ['74-46=28', '28-23=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 97, 1, 88, 98 ]
86
[ "97-1=96", "98-88=10", "96-10=86" ]
Current State: 86:[97, 1, 88, 98], Operations: [] Exploring Operation: 97-1=96, Resulting Numbers: [88, 98, 96] Generated Node #2: [88, 98, 96] from Operation: 97-1=96 Current State: 86:[88, 98, 96], Operations: ['97-1=96'] Exploring Operation: 98-88=10, Resulting Numbers: [96, 10] Generated Node #3: [96, 10] from Operation: 98-88=10 Current State: 86:[96, 10], Operations: ['97-1=96', '98-88=10'] Exploring Operation: 96-10=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[97, 1, 88, 98], Operations: [] Exploring Operation: 98-97=1, Resulting Numbers: [1, 88, 1] Generated Node #0,0: 86:[1, 88, 1] Operation: 98-97=1 Exploring Operation: 98-88=10, Resulting Numbers: [97, 1, 10] Generated Node #0,1: 86:[97, 1, 10] Operation: 98-88=10 Exploring Operation: 97-88=9, Resulting Numbers: [1, 98, 9] Generated Node #0,2: 86:[1, 98, 9] Operation: 97-88=9 Moving to Node #0,0 Current State: 86:[1, 88, 1], Operations: ['98-97=1'] Exploring Operation: 88-1=87, Resulting Numbers: [1, 87] Generated Node #0,0,0: 86:[1, 87] Operation: 88-1=87 Exploring Operation: 1+1=2, Resulting Numbers: [88, 2] Generated Node #0,0,1: 86:[88, 2] Operation: 1+1=2 Exploring Operation: 88-1=87, Resulting Numbers: [1, 87] Generated Node #0,0,2: 86:[1, 87] Operation: 88-1=87 Moving to Node #0,1 Current State: 86:[97, 1, 10], Operations: ['98-88=10'] Exploring Operation: 97-10=87, Resulting Numbers: [1, 87] Generated Node #0,1,0: 86:[1, 87] Operation: 97-10=87 Exploring Operation: 10-1=9, Resulting Numbers: [97, 9] Generated Node #0,1,1: 86:[97, 9] Operation: 10-1=9 Exploring Operation: 97-1=96, Resulting Numbers: [10, 96] Generated Node #0,1,2: 86:[10, 96] Operation: 97-1=96 Moving to Node #0,2 Current State: 86:[1, 98, 9], Operations: ['97-88=9'] Exploring Operation: 9-1=8, Resulting Numbers: [98, 8] Generated Node #0,2,0: 86:[98, 8] Operation: 9-1=8 Exploring Operation: 98-9=89, Resulting Numbers: [1, 89] Generated Node #0,2,1: 86:[1, 89] Operation: 98-9=89 Exploring Operation: 98-1=97, Resulting Numbers: [9, 97] Generated Node #0,2,2: 86:[9, 97] Operation: 98-1=97 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[1, 89], Operations: ['97-88=9', '98-9=89'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,86 unequal: No Solution Exploring Operation: 1*89=89, Resulting Numbers: [89] 89,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[98, 8], Operations: ['97-88=9', '9-1=8'] Exploring Operation: 98-8=90, Resulting Numbers: [90] 90,86 unequal: No Solution Exploring Operation: 98*8=784, Resulting Numbers: [784] 784,86 unequal: No Solution Exploring Operation: 98+8=106, Resulting Numbers: [106] 106,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[9, 97], Operations: ['97-88=9', '98-1=97'] Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,86 unequal: No Solution Exploring Operation: 9*97=873, Resulting Numbers: [873] 873,86 unequal: No Solution Exploring Operation: 9+97=106, Resulting Numbers: [106] 106,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 86:[1, 87], Operations: ['98-97=1', '88-1=87'] Exploring Operation: 1*87=87, Resulting Numbers: [87] 87,86 unequal: No Solution Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,86 unequal: No Solution Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[97, 1, 88, 98], Operations: [] Exploring Operation: 98-97=1, Resulting Numbers: [1, 88, 1] Generated Node #0,0: 86:[1, 88, 1] Operation: 98-97=1 Moving to Node #0,0 Current State: 86:[1, 88, 1], Operations: ['98-97=1'] Exploring Operation: 88-1=87, Resulting Numbers: [1, 87] Generated Node #0,0,0: 86:[1, 87] Operation: 88-1=87 Moving to Node #0,0,0 Current State: 86:[1, 87], Operations: ['98-97=1', '88-1=87'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.975694
hs_3
mult_heuristic
[ 91, 14, 77, 4 ]
24
[ "91+14=105", "77+4=81", "105-81=24" ]
Current State: 24:[91, 14, 77, 4], Operations: [] Exploring Operation: 91+14=105, Resulting Numbers: [77, 4, 105] Generated Node #2: [77, 4, 105] from Operation: 91+14=105 Current State: 24:[77, 4, 105], Operations: ['91+14=105'] Exploring Operation: 77+4=81, Resulting Numbers: [105, 81] Generated Node #3: [105, 81] from Operation: 77+4=81 Current State: 24:[105, 81], Operations: ['91+14=105', '77+4=81'] Exploring Operation: 105-81=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[91, 14, 77, 4], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [14, 4, 14] Generated Node #0,0: 24:[14, 4, 14] Operation: 91-77=14 Exploring Operation: 77-4=73, Resulting Numbers: [91, 14, 73] Generated Node #0,1: 24:[91, 14, 73] Operation: 77-4=73 Exploring Operation: 77-14=63, Resulting Numbers: [91, 4, 63] Generated Node #0,2: 24:[91, 4, 63] Operation: 77-14=63 Exploring Operation: 91-4=87, Resulting Numbers: [14, 77, 87] Generated Node #0,3: 24:[14, 77, 87] Operation: 91-4=87 Exploring Operation: 91-14=77, Resulting Numbers: [77, 4, 77] Generated Node #0,4: 24:[77, 4, 77] Operation: 91-14=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[14, 4, 14], Operations: ['91-77=14'] Exploring Operation: 14+14=28, Resulting Numbers: [4, 28] Generated Node #0,0,0: 24:[4, 28] Operation: 14+14=28 Exploring Operation: 14-14=0, Resulting Numbers: [4, 0] Generated Node #0,0,1: 24:[4, 0] Operation: 14-14=0 Exploring Operation: 14/14=1, Resulting Numbers: [4, 1] Generated Node #0,0,2: 24:[4, 1] Operation: 14/14=1 Exploring Operation: 14-4=10, Resulting Numbers: [14, 10] Generated Node #0,0,3: 24:[14, 10] Operation: 14-4=10 Exploring Operation: 14-4=10, Resulting Numbers: [14, 10] Generated Node #0,0,4: 24:[14, 10] Operation: 14-4=10 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 24:[4, 1], Operations: ['91-77=14', '14/14=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[4, 0], Operations: ['91-77=14', '14-14=0'] Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[4, 28], Operations: ['91-77=14', '14+14=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,24 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[91, 14, 77, 4], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [14, 4, 14] Generated Node #0,0: 24:[14, 4, 14] Operation: 91-77=14 Moving to Node #0,0 Current State: 24:[14, 4, 14], Operations: ['91-77=14'] Exploring Operation: 14+14=28, Resulting Numbers: [4, 28] Generated Node #0,0,0: 24:[4, 28] Operation: 14+14=28 Moving to Node #0,0,0 Current State: 24:[4, 28], Operations: ['91-77=14', '14+14=28'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 36, 52, 59, 68 ]
97
[ "36+52=88", "68-59=9", "88+9=97" ]
Current State: 97:[36, 52, 59, 68], Operations: [] Exploring Operation: 36+52=88, Resulting Numbers: [59, 68, 88] Generated Node #2: [59, 68, 88] from Operation: 36+52=88 Current State: 97:[59, 68, 88], Operations: ['36+52=88'] Exploring Operation: 68-59=9, Resulting Numbers: [88, 9] Generated Node #3: [88, 9] from Operation: 68-59=9 Current State: 97:[88, 9], Operations: ['36+52=88', '68-59=9'] Exploring Operation: 88+9=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[36, 52, 59, 68], Operations: [] Exploring Operation: 36+59=95, Resulting Numbers: [52, 68, 95] Generated Node #0,0: 97:[52, 68, 95] Operation: 36+59=95 Exploring Operation: 36+52=88, Resulting Numbers: [59, 68, 88] Generated Node #0,1: 97:[59, 68, 88] Operation: 36+52=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[52, 68, 95], Operations: ['36+59=95'] Exploring Operation: 52+68=120, Resulting Numbers: [95, 120] Generated Node #0,0,0: 97:[95, 120] Operation: 52+68=120 Exploring Operation: 52+95=147, Resulting Numbers: [68, 147] Generated Node #0,0,1: 97:[68, 147] Operation: 52+95=147 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[95, 120], Operations: ['36+59=95', '52+68=120'] Exploring Operation: 95+120=215, Resulting Numbers: [215] 215,97 unequal: No Solution Exploring Operation: 120-95=25, Resulting Numbers: [25] 25,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:[68, 147], Operations: ['36+59=95', '52+95=147'] Exploring Operation: 68+147=215, Resulting Numbers: [215] 215,97 unequal: No Solution Exploring Operation: 147-68=79, Resulting Numbers: [79] 79,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:[59, 68, 88], Operations: ['36+52=88'] Exploring Operation: 59+68=127, Resulting Numbers: [88, 127] Generated Node #0,1,0: 97:[88, 127] Operation: 59+68=127 Exploring Operation: 59+88=147, Resulting Numbers: [68, 147] Generated Node #0,1,1: 97:[68, 147] Operation: 59+88=147 Moving to Node #0,1,0 Current State: 97:[88, 127], Operations: ['36+52=88', '59+68=127'] Exploring Operation: 88+127=215, Resulting Numbers: [215] 215,97 unequal: No Solution Exploring Operation: 127-88=39, Resulting Numbers: [39] 39,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[68, 147], Operations: ['36+52=88', '59+88=147'] Exploring Operation: 147-68=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 68+147=215, Resulting Numbers: [215] 215,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 60, 24, 97, 49 ]
11
[ "60-49=11", "24+97=121", "121/11=11" ]
Current State: 11:[60, 24, 97, 49], Operations: [] Exploring Operation: 60-49=11, Resulting Numbers: [24, 97, 11] Generated Node #2: [24, 97, 11] from Operation: 60-49=11 Current State: 11:[24, 97, 11], Operations: ['60-49=11'] Exploring Operation: 24+97=121, Resulting Numbers: [11, 121] Generated Node #3: [11, 121] from Operation: 24+97=121 Current State: 11:[11, 121], Operations: ['60-49=11', '24+97=121'] Exploring Operation: 121/11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[60, 24, 97, 49], Operations: [] Exploring Operation: 97-60=37, Resulting Numbers: [24, 49, 37] Generated Node #0,0: 11:[24, 49, 37] Operation: 97-60=37 Exploring Operation: 97-49=48, Resulting Numbers: [60, 24, 48] Generated Node #0,1: 11:[60, 24, 48] Operation: 97-49=48 Exploring Operation: 60-49=11, Resulting Numbers: [24, 97, 11] Generated Node #0,2: 11:[24, 97, 11] Operation: 60-49=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[24, 49, 37], Operations: ['97-60=37'] Exploring Operation: 49-37=12, Resulting Numbers: [24, 12] Generated Node #0,0,0: 11:[24, 12] Operation: 49-37=12 Exploring Operation: 49-24=25, Resulting Numbers: [37, 25] Generated Node #0,0,1: 11:[37, 25] Operation: 49-24=25 Exploring Operation: 37-24=13, Resulting Numbers: [49, 13] Generated Node #0,0,2: 11:[49, 13] Operation: 37-24=13 Moving to Node #0,0,0 Current State: 11:[24, 12], Operations: ['97-60=37', '49-37=12'] Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[37, 25], Operations: ['97-60=37', '49-24=25'] Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,11 unequal: No Solution Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,11 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[49, 13], Operations: ['97-60=37', '37-24=13'] Exploring Operation: 49*13=637, Resulting Numbers: [637] 637,11 unequal: No Solution Exploring Operation: 49+13=62, Resulting Numbers: [62] 62,11 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[60, 24, 48], Operations: ['97-49=48'] Exploring Operation: 60-48=12, Resulting Numbers: [24, 12] Generated Node #0,1,0: 11:[24, 12] Operation: 60-48=12 Exploring Operation: 48/24=2, Resulting Numbers: [60, 2] Generated Node #0,1,1: 11:[60, 2] Operation: 48/24=2 Exploring Operation: 60-24=36, Resulting Numbers: [48, 36] Generated Node #0,1,2: 11:[48, 36] Operation: 60-24=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[24, 12], Operations: ['97-49=48', '60-48=12'] Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,11 unequal: No Solution No 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: 11:[60, 2], Operations: ['97-49=48', '48/24=2'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,11 unequal: No Solution Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,11 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,11 unequal: No Solution No 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: 11:[48, 36], Operations: ['97-49=48', '60-24=36'] Exploring Operation: 48+36=84, Resulting Numbers: [84] 84,11 unequal: No Solution Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 48*36=1728, Resulting Numbers: [1728] 1728,11 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: 11:[24, 97, 11], Operations: ['60-49=11'] Exploring Operation: 97-11=86, Resulting Numbers: [24, 86] Generated Node #0,2,0: 11:[24, 86] Operation: 97-11=86 Exploring Operation: 97-24=73, Resulting Numbers: [11, 73] Generated Node #0,2,1: 11:[11, 73] Operation: 97-24=73 Exploring Operation: 24-11=13, Resulting Numbers: [97, 13] Generated Node #0,2,2: 11:[97, 13] Operation: 24-11=13 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 11:[11, 73], Operations: ['60-49=11', '97-24=73'] Exploring Operation: 11+73=84, Resulting Numbers: [84] 84,11 unequal: No Solution Exploring Operation: 11*73=803, Resulting Numbers: [803] 803,11 unequal: No Solution Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,11 unequal: No Solution No 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: 11:[24, 86], Operations: ['60-49=11', '97-11=86'] Exploring Operation: 24*86=2064, Resulting Numbers: [2064] 2064,11 unequal: No Solution Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,11 unequal: No Solution Exploring Operation: 24+86=110, Resulting Numbers: [110] 110,11 unequal: No Solution No 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: 11:[97, 13], Operations: ['60-49=11', '24-11=13'] Exploring Operation: 97+13=110, Resulting Numbers: [110] 110,11 unequal: No Solution Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,11 unequal: No Solution Exploring Operation: 97*13=1261, Resulting Numbers: [1261] 1261,11 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
[ 71, 79, 76, 30 ]
19
[ "79-76=3", "30*3=90", "90-71=19" ]
Current State: 19:[71, 79, 76, 30], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [71, 30, 3] Generated Node #2: [71, 30, 3] from Operation: 79-76=3 Current State: 19:[71, 30, 3], Operations: ['79-76=3'] Exploring Operation: 30*3=90, Resulting Numbers: [71, 90] Generated Node #3: [71, 90] from Operation: 30*3=90 Current State: 19:[71, 90], Operations: ['79-76=3', '30*3=90'] Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[71, 79, 76, 30], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [76, 30, 8] Generated Node #0,0: 19:[76, 30, 8] Operation: 79-71=8 Exploring Operation: 79-76=3, Resulting Numbers: [71, 30, 3] Generated Node #0,1: 19:[71, 30, 3] Operation: 79-76=3 Exploring Operation: 76-71=5, Resulting Numbers: [79, 30, 5] Generated Node #0,2: 19:[79, 30, 5] Operation: 76-71=5 Moving to Node #0,0 Current State: 19:[76, 30, 8], Operations: ['79-71=8'] Exploring Operation: 76-8=68, Resulting Numbers: [30, 68] Generated Node #0,0,0: 19:[30, 68] Operation: 76-8=68 Exploring Operation: 76-30=46, Resulting Numbers: [8, 46] Generated Node #0,0,1: 19:[8, 46] Operation: 76-30=46 Exploring Operation: 30-8=22, Resulting Numbers: [76, 22] Generated Node #0,0,2: 19:[76, 22] Operation: 30-8=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[8, 46], Operations: ['79-71=8', '76-30=46'] Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,19 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[30, 68], Operations: ['79-71=8', '76-8=68'] Exploring Operation: 30+68=98, Resulting Numbers: [98] 98,19 unequal: No Solution Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 30*68=2040, Resulting Numbers: [2040] 2040,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[76, 22], Operations: ['79-71=8', '30-8=22'] Exploring Operation: 76*22=1672, Resulting Numbers: [1672] 1672,19 unequal: No Solution Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 76+22=98, Resulting Numbers: [98] 98,19 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: 19:[71, 30, 3], Operations: ['79-76=3'] Exploring Operation: 71-30=41, Resulting Numbers: [3, 41] Generated Node #0,1,0: 19:[3, 41] Operation: 71-30=41 Exploring Operation: 30-3=27, Resulting Numbers: [71, 27] Generated Node #0,1,1: 19:[71, 27] Operation: 30-3=27 Exploring Operation: 71-3=68, Resulting Numbers: [30, 68] Generated Node #0,1,2: 19:[30, 68] Operation: 71-3=68 Moving to Node #0,2 Current State: 19:[79, 30, 5], Operations: ['76-71=5'] Exploring Operation: 79-30=49, Resulting Numbers: [5, 49] Generated Node #0,2,0: 19:[5, 49] Operation: 79-30=49 Exploring Operation: 79-5=74, Resulting Numbers: [30, 74] Generated Node #0,2,1: 19:[30, 74] Operation: 79-5=74 Exploring Operation: 30-5=25, Resulting Numbers: [79, 25] Generated Node #0,2,2: 19:[79, 25] Operation: 30-5=25 Moving to Node #0,1,0 Current State: 19:[3, 41], Operations: ['79-76=3', '71-30=41'] Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,19 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[5, 49], Operations: ['76-71=5', '79-30=49'] Exploring Operation: 5*49=245, Resulting Numbers: [245] 245,19 unequal: No Solution Exploring Operation: 5+49=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[30, 68], Operations: ['79-76=3', '71-3=68'] Exploring Operation: 30+68=98, Resulting Numbers: [98] 98,19 unequal: No Solution Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 30*68=2040, Resulting Numbers: [2040] 2040,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[71, 27], Operations: ['79-76=3', '30-3=27'] Exploring Operation: 71+27=98, Resulting Numbers: [98] 98,19 unequal: No Solution Exploring Operation: 71*27=1917, Resulting Numbers: [1917] 1917,19 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[79, 25], Operations: ['76-71=5', '30-5=25'] Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,19 unequal: No Solution Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[30, 74], Operations: ['76-71=5', '79-5=74'] Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 30*74=2220, Resulting Numbers: [2220] 2220,19 unequal: No Solution Exploring Operation: 30+74=104, Resulting Numbers: [104] 104,19 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 49, 31, 35, 65 ]
82
[ "49-31=18", "35+65=100", "100-18=82" ]
Current State: 82:[49, 31, 35, 65], Operations: [] Exploring Operation: 49-31=18, Resulting Numbers: [35, 65, 18] Generated Node #2: [35, 65, 18] from Operation: 49-31=18 Current State: 82:[35, 65, 18], Operations: ['49-31=18'] Exploring Operation: 35+65=100, Resulting Numbers: [18, 100] Generated Node #3: [18, 100] from Operation: 35+65=100 Current State: 82:[18, 100], Operations: ['49-31=18', '35+65=100'] Exploring Operation: 100-18=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[49, 31, 35, 65], Operations: [] Exploring Operation: 65-31=34, Resulting Numbers: [49, 35, 34] Generated Node #0,0: 82:[49, 35, 34] Operation: 65-31=34 Moving to Node #0,0 Current State: 82:[49, 35, 34], Operations: ['65-31=34'] Exploring Operation: 49+34=83, Resulting Numbers: [35, 83] Generated Node #0,0,0: 82:[35, 83] Operation: 49+34=83 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[35, 83], Operations: ['65-31=34', '49+34=83'] Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,82 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
[ 36, 35, 93, 30 ]
87
[ "35-30=5", "36*5=180", "180-93=87" ]
Current State: 87:[36, 35, 93, 30], Operations: [] Exploring Operation: 35-30=5, Resulting Numbers: [36, 93, 5] Generated Node #2: [36, 93, 5] from Operation: 35-30=5 Current State: 87:[36, 93, 5], Operations: ['35-30=5'] Exploring Operation: 36*5=180, Resulting Numbers: [93, 180] Generated Node #3: [93, 180] from Operation: 36*5=180 Current State: 87:[93, 180], Operations: ['35-30=5', '36*5=180'] Exploring Operation: 180-93=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[36, 35, 93, 30], Operations: [] Exploring Operation: 36-30=6, Resulting Numbers: [35, 93, 6] Generated Node #0,0: 87:[35, 93, 6] Operation: 36-30=6 Exploring Operation: 36-35=1, Resulting Numbers: [93, 30, 1] Generated Node #0,1: 87:[93, 30, 1] Operation: 36-35=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[93, 30, 1], Operations: ['36-35=1'] Exploring Operation: 93-1=92, Resulting Numbers: [30, 92] Generated Node #0,1,0: 87:[30, 92] Operation: 93-1=92 Exploring Operation: 30-1=29, Resulting Numbers: [93, 29] Generated Node #0,1,1: 87:[93, 29] Operation: 30-1=29 Moving to Node #0,1,0 Current State: 87:[30, 92], Operations: ['36-35=1', '93-1=92'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 30+92=122, Resulting Numbers: [122] 122,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[93, 29], Operations: ['36-35=1', '30-1=29'] Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 93+29=122, Resulting Numbers: [122] 122,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[35, 93, 6], Operations: ['36-30=6'] Exploring Operation: 35-6=29, Resulting Numbers: [93, 29] Generated Node #0,0,0: 87:[93, 29] Operation: 35-6=29 Exploring Operation: 93-6=87, Resulting Numbers: [35, 87] Generated Node #0,0,1: 87:[35, 87] Operation: 93-6=87 Moving to Node #0,0,0 Current State: 87:[93, 29], Operations: ['36-30=6', '35-6=29'] Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,87 unequal: No Solution Exploring Operation: 93+29=122, Resulting Numbers: [122] 122,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[35, 87], Operations: ['36-30=6', '93-6=87'] Exploring Operation: 35+87=122, Resulting Numbers: [122] 122,87 unequal: No Solution Exploring Operation: 87-35=52, Resulting Numbers: [52] 52,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 29, 3, 15, 59 ]
45
[ "29+15=44", "59-44=15", "3*15=45" ]
Current State: 45:[29, 3, 15, 59], Operations: [] Exploring Operation: 29+15=44, Resulting Numbers: [3, 59, 44] Generated Node #2: [3, 59, 44] from Operation: 29+15=44 Current State: 45:[3, 59, 44], Operations: ['29+15=44'] Exploring Operation: 59-44=15, Resulting Numbers: [3, 15] Generated Node #3: [3, 15] from Operation: 59-44=15 Current State: 45:[3, 15], Operations: ['29+15=44', '59-44=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[29, 3, 15, 59], Operations: [] Exploring Operation: 29-15=14, Resulting Numbers: [3, 59, 14] Generated Node #0,0: 45:[3, 59, 14] Operation: 29-15=14 Exploring Operation: 59-15=44, Resulting Numbers: [29, 3, 44] Generated Node #0,1: 45:[29, 3, 44] Operation: 59-15=44 Exploring Operation: 59-29=30, Resulting Numbers: [3, 15, 30] Generated Node #0,2: 45:[3, 15, 30] Operation: 59-29=30 Exploring Operation: 29+15=44, Resulting Numbers: [3, 59, 44] Generated Node #0,3: 45:[3, 59, 44] Operation: 29+15=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[3, 59, 14], Operations: ['29-15=14'] Exploring Operation: 14-3=11, Resulting Numbers: [59, 11] Generated Node #0,0,0: 45:[59, 11] Operation: 14-3=11 Exploring Operation: 3+14=17, Resulting Numbers: [59, 17] Generated Node #0,0,1: 45:[59, 17] Operation: 3+14=17 Exploring Operation: 59-3=56, Resulting Numbers: [14, 56] Generated Node #0,0,2: 45:[14, 56] Operation: 59-3=56 Exploring Operation: 59-14=45, Resulting Numbers: [3, 45] Generated Node #0,0,3: 45:[3, 45] Operation: 59-14=45 Moving to Node #0,0,3 Current State: 45:[3, 45], Operations: ['29-15=14', '59-14=45'] Exploring Operation: 3*45=135, Resulting Numbers: [135] 135,45 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[14, 56], Operations: ['29-15=14', '59-3=56'] Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 14+56=70, Resulting Numbers: [70] 70,45 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 14*56=784, Resulting Numbers: [784] 784,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[59, 17], Operations: ['29-15=14', '3+14=17'] Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 59+17=76, Resulting Numbers: [76] 76,45 unequal: No Solution Exploring Operation: 59*17=1003, Resulting Numbers: [1003] 1003,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[59, 11], Operations: ['29-15=14', '14-3=11'] Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,45 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[29, 3, 44], Operations: ['59-15=44'] Exploring Operation: 29-3=26, Resulting Numbers: [44, 26] Generated Node #0,1,0: 45:[44, 26] Operation: 29-3=26 Exploring Operation: 44-29=15, Resulting Numbers: [3, 15] Generated Node #0,1,1: 45:[3, 15] Operation: 44-29=15 Exploring Operation: 3+44=47, Resulting Numbers: [29, 47] Generated Node #0,1,2: 45:[29, 47] Operation: 3+44=47 Exploring Operation: 29+3=32, Resulting Numbers: [44, 32] Generated Node #0,1,3: 45:[44, 32] Operation: 29+3=32 Moving to Node #0,1,1 Current State: 45:[3, 15], Operations: ['59-15=44', '44-29=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[29, 3, 15, 59], Operations: [] Exploring Operation: 59-15=44, Resulting Numbers: [29, 3, 44] Generated Node #0,1: 45:[29, 3, 44] Operation: 59-15=44 Moving to Node #0,1 Current State: 45:[29, 3, 44], Operations: ['59-15=44'] Exploring Operation: 44-29=15, Resulting Numbers: [3, 15] Generated Node #0,1,1: 45:[3, 15] Operation: 44-29=15 Moving to Node #0,1,1 Current State: 45:[3, 15], Operations: ['59-15=44', '44-29=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 56, 57, 5, 5 ]
56
[ "5-5=0", "57*0=0", "56+0=56" ]
Current State: 56:[56, 57, 5, 5], Operations: [] Exploring Operation: 5-5=0, Resulting Numbers: [56, 57, 0] Generated Node #2: [56, 57, 0] from Operation: 5-5=0 Current State: 56:[56, 57, 0], Operations: ['5-5=0'] Exploring Operation: 57*0=0, Resulting Numbers: [56, 0] Generated Node #3: [56, 0] from Operation: 57*0=0 Current State: 56:[56, 0], Operations: ['5-5=0', '57*0=0'] Exploring Operation: 56+0=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[56, 57, 5, 5], Operations: [] Exploring Operation: 5/5=1, Resulting Numbers: [56, 57, 1] Generated Node #0,0: 56:[56, 57, 1] Operation: 5/5=1 Exploring Operation: 57-56=1, Resulting Numbers: [5, 5, 1] Generated Node #0,1: 56:[5, 5, 1] Operation: 57-56=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[56, 57, 1], Operations: ['5/5=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56, 56] Generated Node #0,0,0: 56:[56, 56] Operation: 57-1=56 Exploring Operation: 56*1=56, Resulting Numbers: [57, 56] Generated Node #0,0,1: 56:[57, 56] Operation: 56*1=56 Moving to Node #0,0,0 Current State: 56:[56, 56], Operations: ['5/5=1', '57-1=56'] Exploring Operation: 56/56=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 56-56=0, Resulting Numbers: [0] 0,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[57, 56], Operations: ['5/5=1', '56*1=56'] Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 57+56=113, Resulting Numbers: [113] 113,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[5, 5, 1], Operations: ['57-56=1'] Exploring Operation: 5-1=4, Resulting Numbers: [5, 4] Generated Node #0,1,0: 56:[5, 4] Operation: 5-1=4 Exploring Operation: 5-1=4, Resulting Numbers: [5, 4] Generated Node #0,1,1: 56:[5, 4] Operation: 5-1=4 Moving to Node #0,1,0 Current State: 56:[5, 4], Operations: ['57-56=1', '5-1=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[5, 4], Operations: ['57-56=1', '5-1=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,56 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
[ 18, 78, 84, 93 ]
81
[ "18+78=96", "84+93=177", "177-96=81" ]
Current State: 81:[18, 78, 84, 93], Operations: [] Exploring Operation: 18+78=96, Resulting Numbers: [84, 93, 96] Generated Node #2: [84, 93, 96] from Operation: 18+78=96 Current State: 81:[84, 93, 96], Operations: ['18+78=96'] Exploring Operation: 84+93=177, Resulting Numbers: [96, 177] Generated Node #3: [96, 177] from Operation: 84+93=177 Current State: 81:[96, 177], Operations: ['18+78=96', '84+93=177'] Exploring Operation: 177-96=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[18, 78, 84, 93], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [18, 93, 6] Generated Node #0,0: 81:[18, 93, 6] Operation: 84-78=6 Exploring Operation: 93-18=75, Resulting Numbers: [78, 84, 75] Generated Node #0,1: 81:[78, 84, 75] Operation: 93-18=75 Exploring Operation: 93-84=9, Resulting Numbers: [18, 78, 9] Generated Node #0,2: 81:[18, 78, 9] Operation: 93-84=9 Exploring Operation: 93-78=15, Resulting Numbers: [18, 84, 15] Generated Node #0,3: 81:[18, 84, 15] Operation: 93-78=15 Exploring Operation: 18+78=96, Resulting Numbers: [84, 93, 96] Generated Node #0,4: 81:[84, 93, 96] Operation: 18+78=96 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[78, 84, 75], Operations: ['93-18=75'] Exploring Operation: 78-75=3, Resulting Numbers: [84, 3] Generated Node #0,1,0: 81:[84, 3] Operation: 78-75=3 Exploring Operation: 84-78=6, Resulting Numbers: [75, 6] Generated Node #0,1,1: 81:[75, 6] Operation: 84-78=6 Exploring Operation: 84-75=9, Resulting Numbers: [78, 9] Generated Node #0,1,2: 81:[78, 9] Operation: 84-75=9 Exploring Operation: 84+75=159, Resulting Numbers: [78, 159] Generated Node #0,1,3: 81:[78, 159] Operation: 84+75=159 Exploring Operation: 78+75=153, Resulting Numbers: [84, 153] Generated Node #0,1,4: 81:[84, 153] Operation: 78+75=153 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[84, 3], Operations: ['93-18=75', '78-75=3'] Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,81 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,81 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[18, 78, 84, 93], Operations: [] Exploring Operation: 93-18=75, Resulting Numbers: [78, 84, 75] Generated Node #0,1: 81:[78, 84, 75] Operation: 93-18=75 Moving to Node #0,1 Current State: 81:[78, 84, 75], Operations: ['93-18=75'] Exploring Operation: 78-75=3, Resulting Numbers: [84, 3] Generated Node #0,1,0: 81:[84, 3] Operation: 78-75=3 Moving to Node #0,1,0 Current State: 81:[84, 3], Operations: ['93-18=75', '78-75=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 63, 48, 6, 9 ]
18
[ "63-48=15", "9-6=3", "15+3=18" ]
Current State: 18:[63, 48, 6, 9], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [6, 9, 15] Generated Node #2: [6, 9, 15] from Operation: 63-48=15 Current State: 18:[6, 9, 15], Operations: ['63-48=15'] Exploring Operation: 9-6=3, Resulting Numbers: [15, 3] Generated Node #3: [15, 3] from Operation: 9-6=3 Current State: 18:[15, 3], Operations: ['63-48=15', '9-6=3'] Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[63, 48, 6, 9], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [6, 9, 15] Generated Node #0,0: 18:[6, 9, 15] Operation: 63-48=15 Exploring Operation: 48/6=8, Resulting Numbers: [63, 9, 8] Generated Node #0,1: 18:[63, 9, 8] Operation: 48/6=8 Exploring Operation: 63/9=7, Resulting Numbers: [48, 6, 7] Generated Node #0,2: 18:[48, 6, 7] Operation: 63/9=7 Moving to Node #0,0 Current State: 18:[6, 9, 15], Operations: ['63-48=15'] Exploring Operation: 15-6=9, Resulting Numbers: [9, 9] Generated Node #0,0,0: 18:[9, 9] Operation: 15-6=9 Exploring Operation: 9-6=3, Resulting Numbers: [15, 3] Generated Node #0,0,1: 18:[15, 3] Operation: 9-6=3 Exploring Operation: 15-9=6, Resulting Numbers: [6, 6] Generated Node #0,0,2: 18:[6, 6] Operation: 15-9=6 Moving to Node #0,2 Current State: 18:[48, 6, 7], Operations: ['63/9=7'] Exploring Operation: 48-7=41, Resulting Numbers: [6, 41] Generated Node #0,2,0: 18:[6, 41] Operation: 48-7=41 Exploring Operation: 48-6=42, Resulting Numbers: [7, 42] Generated Node #0,2,1: 18:[7, 42] Operation: 48-6=42 Exploring Operation: 48/6=8, Resulting Numbers: [7, 8] Generated Node #0,2,2: 18:[7, 8] Operation: 48/6=8 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[7, 8], Operations: ['63/9=7', '48/6=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[6, 41], Operations: ['63/9=7', '48-7=41'] Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,18 unequal: No Solution Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,18 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[7, 42], Operations: ['63/9=7', '48-6=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,18 unequal: No Solution Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 18:[63, 9, 8], Operations: ['48/6=8'] Exploring Operation: 63/9=7, Resulting Numbers: [8, 7] Generated Node #0,1,0: 18:[8, 7] Operation: 63/9=7 Exploring Operation: 63-9=54, Resulting Numbers: [8, 54] Generated Node #0,1,1: 18:[8, 54] Operation: 63-9=54 Exploring Operation: 63-8=55, Resulting Numbers: [9, 55] Generated Node #0,1,2: 18:[9, 55] Operation: 63-8=55 Moving to Node #0,0,0 Current State: 18:[9, 9], Operations: ['63-48=15', '15-6=9'] Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[63, 48, 6, 9], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [6, 9, 15] Generated Node #0,0: 18:[6, 9, 15] Operation: 63-48=15 Moving to Node #0,0 Current State: 18:[6, 9, 15], Operations: ['63-48=15'] Exploring Operation: 15-6=9, Resulting Numbers: [9, 9] Generated Node #0,0,0: 18:[9, 9] Operation: 15-6=9 Moving to Node #0,0,0 Current State: 18:[9, 9], Operations: ['63-48=15', '15-6=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 85, 11, 99, 75 ]
72
[ "85+11=96", "99-75=24", "96-24=72" ]
Current State: 72:[85, 11, 99, 75], Operations: [] Exploring Operation: 85+11=96, Resulting Numbers: [99, 75, 96] Generated Node #2: [99, 75, 96] from Operation: 85+11=96 Current State: 72:[99, 75, 96], Operations: ['85+11=96'] Exploring Operation: 99-75=24, Resulting Numbers: [96, 24] Generated Node #3: [96, 24] from Operation: 99-75=24 Current State: 72:[96, 24], Operations: ['85+11=96', '99-75=24'] Exploring Operation: 96-24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[85, 11, 99, 75], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [11, 75, 14] Generated Node #0,0: 72:[11, 75, 14] Operation: 99-85=14 Exploring Operation: 99-75=24, Resulting Numbers: [85, 11, 24] Generated Node #0,1: 72:[85, 11, 24] Operation: 99-75=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[11, 75, 14], Operations: ['99-85=14'] Exploring Operation: 14-11=3, Resulting Numbers: [75, 3] Generated Node #0,0,0: 72:[75, 3] Operation: 14-11=3 Exploring Operation: 11+14=25, Resulting Numbers: [75, 25] Generated Node #0,0,1: 72:[75, 25] Operation: 11+14=25 Moving to Node #0,0,0 Current State: 72:[75, 3], Operations: ['99-85=14', '14-11=3'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[85, 11, 99, 75], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [11, 75, 14] Generated Node #0,0: 72:[11, 75, 14] Operation: 99-85=14 Moving to Node #0,0 Current State: 72:[11, 75, 14], Operations: ['99-85=14'] Exploring Operation: 14-11=3, Resulting Numbers: [75, 3] Generated Node #0,0,0: 72:[75, 3] Operation: 14-11=3 Moving to Node #0,0,0 Current State: 72:[75, 3], Operations: ['99-85=14', '14-11=3'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 31, 10, 90, 8 ]
57
[ "31+10=41", "90+8=98", "98-41=57" ]
Current State: 57:[31, 10, 90, 8], Operations: [] Exploring Operation: 31+10=41, Resulting Numbers: [90, 8, 41] Generated Node #2: [90, 8, 41] from Operation: 31+10=41 Current State: 57:[90, 8, 41], Operations: ['31+10=41'] Exploring Operation: 90+8=98, Resulting Numbers: [41, 98] Generated Node #3: [41, 98] from Operation: 90+8=98 Current State: 57:[41, 98], Operations: ['31+10=41', '90+8=98'] Exploring Operation: 98-41=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[31, 10, 90, 8], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [31, 8, 9] Generated Node #0,0: 57:[31, 8, 9] Operation: 90/10=9 Exploring Operation: 90-10=80, Resulting Numbers: [31, 8, 80] Generated Node #0,1: 57:[31, 8, 80] Operation: 90-10=80 Exploring Operation: 90-31=59, Resulting Numbers: [10, 8, 59] Generated Node #0,2: 57:[10, 8, 59] Operation: 90-31=59 Exploring Operation: 31-10=21, Resulting Numbers: [90, 8, 21] Generated Node #0,3: 57:[90, 8, 21] Operation: 31-10=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[10, 8, 59], Operations: ['90-31=59'] Exploring Operation: 59-10=49, Resulting Numbers: [8, 49] Generated Node #0,2,0: 57:[8, 49] Operation: 59-10=49 Exploring Operation: 59-8=51, Resulting Numbers: [10, 51] Generated Node #0,2,1: 57:[10, 51] Operation: 59-8=51 Exploring Operation: 10-8=2, Resulting Numbers: [59, 2] Generated Node #0,2,2: 57:[59, 2] Operation: 10-8=2 Exploring Operation: 10+8=18, Resulting Numbers: [59, 18] Generated Node #0,2,3: 57:[59, 18] Operation: 10+8=18 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 57:[59, 2], Operations: ['90-31=59', '10-8=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[31, 10, 90, 8], Operations: [] Exploring Operation: 90-31=59, Resulting Numbers: [10, 8, 59] Generated Node #0,2: 57:[10, 8, 59] Operation: 90-31=59 Moving to Node #0,2 Current State: 57:[10, 8, 59], Operations: ['90-31=59'] Exploring Operation: 10-8=2, Resulting Numbers: [59, 2] Generated Node #0,2,2: 57:[59, 2] Operation: 10-8=2 Moving to Node #0,2,2 Current State: 57:[59, 2], Operations: ['90-31=59', '10-8=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 14, 88, 20, 10 ]
37
[ "88-14=74", "20/10=2", "74/2=37" ]
Current State: 37:[14, 88, 20, 10], Operations: [] Exploring Operation: 88-14=74, Resulting Numbers: [20, 10, 74] Generated Node #2: [20, 10, 74] from Operation: 88-14=74 Current State: 37:[20, 10, 74], Operations: ['88-14=74'] Exploring Operation: 20/10=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 20/10=2 Current State: 37:[74, 2], Operations: ['88-14=74', '20/10=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[14, 88, 20, 10], Operations: [] Exploring Operation: 88-14=74, Resulting Numbers: [20, 10, 74] Generated Node #0,0: 37:[20, 10, 74] Operation: 88-14=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[20, 10, 74], Operations: ['88-14=74'] Exploring Operation: 20+10=30, Resulting Numbers: [74, 30] Generated Node #0,0,0: 37:[74, 30] Operation: 20+10=30 Moving to Node #0,0,0 Current State: 37:[74, 30], Operations: ['88-14=74', '20+10=30'] Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 29, 76, 51, 53 ]
49
[ "76-29=47", "53-51=2", "47+2=49" ]
Current State: 49:[29, 76, 51, 53], Operations: [] Exploring Operation: 76-29=47, Resulting Numbers: [51, 53, 47] Generated Node #2: [51, 53, 47] from Operation: 76-29=47 Current State: 49:[51, 53, 47], Operations: ['76-29=47'] Exploring Operation: 53-51=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 53-51=2 Current State: 49:[47, 2], Operations: ['76-29=47', '53-51=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[29, 76, 51, 53], Operations: [] Exploring Operation: 51-29=22, Resulting Numbers: [76, 53, 22] Generated Node #0,0: 49:[76, 53, 22] Operation: 51-29=22 Exploring Operation: 76-53=23, Resulting Numbers: [29, 51, 23] Generated Node #0,1: 49:[29, 51, 23] Operation: 76-53=23 Exploring Operation: 76-29=47, Resulting Numbers: [51, 53, 47] Generated Node #0,2: 49:[51, 53, 47] Operation: 76-29=47 Exploring Operation: 76-51=25, Resulting Numbers: [29, 53, 25] Generated Node #0,3: 49:[29, 53, 25] Operation: 76-51=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[51, 53, 47], Operations: ['76-29=47'] Exploring Operation: 53-51=2, Resulting Numbers: [47, 2] Generated Node #0,2,0: 49:[47, 2] Operation: 53-51=2 Exploring Operation: 51-47=4, Resulting Numbers: [53, 4] Generated Node #0,2,1: 49:[53, 4] Operation: 51-47=4 Exploring Operation: 51+47=98, Resulting Numbers: [53, 98] Generated Node #0,2,2: 49:[53, 98] Operation: 51+47=98 Exploring Operation: 53-47=6, Resulting Numbers: [51, 6] Generated Node #0,2,3: 49:[51, 6] Operation: 53-47=6 Moving to Node #0,2,3 Current State: 49:[51, 6], Operations: ['76-29=47', '53-47=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,49 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[53, 4], Operations: ['76-29=47', '51-47=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[29, 76, 51, 53], Operations: [] Exploring Operation: 76-29=47, Resulting Numbers: [51, 53, 47] Generated Node #0,2: 49:[51, 53, 47] Operation: 76-29=47 Moving to Node #0,2 Current State: 49:[51, 53, 47], Operations: ['76-29=47'] Exploring Operation: 51-47=4, Resulting Numbers: [53, 4] Generated Node #0,2,1: 49:[53, 4] Operation: 51-47=4 Moving to Node #0,2,1 Current State: 49:[53, 4], Operations: ['76-29=47', '51-47=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 15, 75, 63, 15 ]
58
[ "15*63=945", "945-75=870", "870/15=58" ]
Current State: 58:[15, 75, 63, 15], Operations: [] Exploring Operation: 15*63=945, Resulting Numbers: [75, 945] Generated Node #2: [75, 945] from Operation: 15*63=945 Current State: 58:[75, 945], Operations: ['15*63=945'] Exploring Operation: 945-75=870, Resulting Numbers: [870] 870,58 equal: Goal Reached Exploring Operation: 870/15=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[15, 75, 63, 15], Operations: [] Exploring Operation: 75-15=60, Resulting Numbers: [63, 15, 60] Generated Node #0,0: 58:[63, 15, 60] Operation: 75-15=60 Exploring Operation: 75-15=60, Resulting Numbers: [15, 63, 60] Generated Node #0,1: 58:[15, 63, 60] Operation: 75-15=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[63, 15, 60], Operations: ['75-15=60'] Exploring Operation: 63-15=48, Resulting Numbers: [60, 48] Generated Node #0,0,0: 58:[60, 48] Operation: 63-15=48 Exploring Operation: 60/15=4, Resulting Numbers: [63, 4] Generated Node #0,0,1: 58:[63, 4] Operation: 60/15=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[63, 4], Operations: ['75-15=60', '60/15=4'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,58 unequal: No Solution Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[60, 48], Operations: ['75-15=60', '63-15=48'] Exploring Operation: 60+48=108, Resulting Numbers: [108] 108,58 unequal: No Solution Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[15, 63, 60], Operations: ['75-15=60'] Exploring Operation: 60/15=4, Resulting Numbers: [63, 4] Generated Node #0,1,0: 58:[63, 4] Operation: 60/15=4 Exploring Operation: 63-15=48, Resulting Numbers: [60, 48] Generated Node #0,1,1: 58:[60, 48] Operation: 63-15=48 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[63, 4], Operations: ['75-15=60', '60/15=4'] Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,58 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,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:[60, 48], Operations: ['75-15=60', '63-15=48'] Exploring Operation: 60+48=108, Resulting Numbers: [108] 108,58 unequal: No Solution Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,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
mult_heuristic
[ 82, 65, 78, 89 ]
96
[ "82-78=4", "89-65=24", "4*24=96" ]
Current State: 96:[82, 65, 78, 89], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [65, 89, 4] Generated Node #2: [65, 89, 4] from Operation: 82-78=4 Current State: 96:[65, 89, 4], Operations: ['82-78=4'] Exploring Operation: 89-65=24, Resulting Numbers: [4, 24] Generated Node #3: [4, 24] from Operation: 89-65=24 Current State: 96:[4, 24], Operations: ['82-78=4', '89-65=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[82, 65, 78, 89], Operations: [] Exploring Operation: 89-78=11, Resulting Numbers: [82, 65, 11] Generated Node #0,0: 96:[82, 65, 11] Operation: 89-78=11 Exploring Operation: 82-78=4, Resulting Numbers: [65, 89, 4] Generated Node #0,1: 96:[65, 89, 4] Operation: 82-78=4 Exploring Operation: 78-65=13, Resulting Numbers: [82, 89, 13] Generated Node #0,2: 96:[82, 89, 13] Operation: 78-65=13 Exploring Operation: 89-65=24, Resulting Numbers: [82, 78, 24] Generated Node #0,3: 96:[82, 78, 24] Operation: 89-65=24 Exploring Operation: 82-65=17, Resulting Numbers: [78, 89, 17] Generated Node #0,4: 96:[78, 89, 17] Operation: 82-65=17 Moving to Node #0,2 Current State: 96:[82, 89, 13], Operations: ['78-65=13'] Exploring Operation: 82+13=95, Resulting Numbers: [89, 95] Generated Node #0,2,0: 96:[89, 95] Operation: 82+13=95 Exploring Operation: 89-13=76, Resulting Numbers: [82, 76] Generated Node #0,2,1: 96:[82, 76] Operation: 89-13=76 Exploring Operation: 89+13=102, Resulting Numbers: [82, 102] Generated Node #0,2,2: 96:[82, 102] Operation: 89+13=102 Exploring Operation: 89-82=7, Resulting Numbers: [13, 7] Generated Node #0,2,3: 96:[13, 7] Operation: 89-82=7 Exploring Operation: 82-13=69, Resulting Numbers: [89, 69] Generated Node #0,2,4: 96:[89, 69] Operation: 82-13=69 Moving to Node #0,1 Current State: 96:[65, 89, 4], Operations: ['82-78=4'] Exploring Operation: 89-4=85, Resulting Numbers: [65, 85] Generated Node #0,1,0: 96:[65, 85] Operation: 89-4=85 Exploring Operation: 65+4=69, Resulting Numbers: [89, 69] Generated Node #0,1,1: 96:[89, 69] Operation: 65+4=69 Exploring Operation: 89-65=24, Resulting Numbers: [4, 24] Generated Node #0,1,2: 96:[4, 24] Operation: 89-65=24 Exploring Operation: 89+4=93, Resulting Numbers: [65, 93] Generated Node #0,1,3: 96:[65, 93] Operation: 89+4=93 Exploring Operation: 65-4=61, Resulting Numbers: [89, 61] Generated Node #0,1,4: 96:[89, 61] Operation: 65-4=61 Moving to Node #0,4 Current State: 96:[78, 89, 17], Operations: ['82-65=17'] Exploring Operation: 89+17=106, Resulting Numbers: [78, 106] Generated Node #0,4,0: 96:[78, 106] Operation: 89+17=106 Exploring Operation: 89-78=11, Resulting Numbers: [17, 11] Generated Node #0,4,1: 96:[17, 11] Operation: 89-78=11 Exploring Operation: 78+17=95, Resulting Numbers: [89, 95] Generated Node #0,4,2: 96:[89, 95] Operation: 78+17=95 Exploring Operation: 89-17=72, Resulting Numbers: [78, 72] Generated Node #0,4,3: 96:[78, 72] Operation: 89-17=72 Exploring Operation: 78-17=61, Resulting Numbers: [89, 61] Generated Node #0,4,4: 96:[89, 61] Operation: 78-17=61 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 96:[17, 11], Operations: ['82-65=17', '89-78=11'] Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,96 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,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,4,2 Current State: 96:[89, 95], Operations: ['82-65=17', '78+17=95'] Exploring Operation: 89*95=8455, Resulting Numbers: [8455] 8455,96 unequal: No Solution Exploring Operation: 95-89=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 89+95=184, Resulting Numbers: [184] 184,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,4,4 Current State: 96:[89, 61], Operations: ['82-65=17', '78-17=61'] Exploring Operation: 89*61=5429, Resulting Numbers: [5429] 5429,96 unequal: No Solution Exploring Operation: 89-61=28, Resulting Numbers: [28] 28,96 unequal: No Solution Exploring Operation: 89+61=150, Resulting Numbers: [150] 150,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,4,0 Current State: 96:[78, 106], Operations: ['82-65=17', '89+17=106'] Exploring Operation: 78+106=184, Resulting Numbers: [184] 184,96 unequal: No Solution Exploring Operation: 106-78=28, Resulting Numbers: [28] 28,96 unequal: No Solution Exploring Operation: 78*106=8268, Resulting Numbers: [8268] 8268,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,4,3 Current State: 96:[78, 72], Operations: ['82-65=17', '89-17=72'] Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,96 unequal: No Solution Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,96 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: 96:[82, 65, 11], Operations: ['89-78=11'] Exploring Operation: 65-11=54, Resulting Numbers: [82, 54] Generated Node #0,0,0: 96:[82, 54] Operation: 65-11=54 Exploring Operation: 82+11=93, Resulting Numbers: [65, 93] Generated Node #0,0,1: 96:[65, 93] Operation: 82+11=93 Exploring Operation: 82-11=71, Resulting Numbers: [65, 71] Generated Node #0,0,2: 96:[65, 71] Operation: 82-11=71 Exploring Operation: 65+11=76, Resulting Numbers: [82, 76] Generated Node #0,0,3: 96:[82, 76] Operation: 65+11=76 Exploring Operation: 82-65=17, Resulting Numbers: [11, 17] Generated Node #0,0,4: 96:[11, 17] Operation: 82-65=17 Moving to Node #0,3 Current State: 96:[82, 78, 24], Operations: ['89-65=24'] Exploring Operation: 82-24=58, Resulting Numbers: [78, 58] Generated Node #0,3,0: 96:[78, 58] Operation: 82-24=58 Exploring Operation: 78+24=102, Resulting Numbers: [82, 102] Generated Node #0,3,1: 96:[82, 102] Operation: 78+24=102 Exploring Operation: 82+24=106, Resulting Numbers: [78, 106] Generated Node #0,3,2: 96:[78, 106] Operation: 82+24=106 Exploring Operation: 78-24=54, Resulting Numbers: [82, 54] Generated Node #0,3,3: 96:[82, 54] Operation: 78-24=54 Exploring Operation: 82-78=4, Resulting Numbers: [24, 4] Generated Node #0,3,4: 96:[24, 4] Operation: 82-78=4 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 96:[24, 4], Operations: ['89-65=24', '82-78=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,96 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[82, 65, 78, 89], Operations: [] Exploring Operation: 89-65=24, Resulting Numbers: [82, 78, 24] Generated Node #0,3: 96:[82, 78, 24] Operation: 89-65=24 Moving to Node #0,3 Current State: 96:[82, 78, 24], Operations: ['89-65=24'] Exploring Operation: 82-78=4, Resulting Numbers: [24, 4] Generated Node #0,3,4: 96:[24, 4] Operation: 82-78=4 Moving to Node #0,3,4 Current State: 96:[24, 4], Operations: ['89-65=24', '82-78=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_5
sum_heuristic
[ 74, 42, 52, 3 ]
56
[ "74+42=116", "52+116=168", "168/3=56" ]
Current State: 56:[74, 42, 52, 3], Operations: [] Exploring Operation: 74+42=116, Resulting Numbers: [52, 3, 116] Generated Node #2: [52, 3, 116] from Operation: 74+42=116 Current State: 56:[52, 3, 116], Operations: ['74+42=116'] Exploring Operation: 52+116=168, Resulting Numbers: [3, 168] Generated Node #3: [3, 168] from Operation: 52+116=168 Current State: 56:[3, 168], Operations: ['74+42=116', '52+116=168'] Exploring Operation: 168/3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[74, 42, 52, 3], Operations: [] Exploring Operation: 42/3=14, Resulting Numbers: [74, 52, 14] Generated Node #0,0: 56:[74, 52, 14] Operation: 42/3=14 Exploring Operation: 74-52=22, Resulting Numbers: [42, 3, 22] Generated Node #0,1: 56:[42, 3, 22] Operation: 74-52=22 Exploring Operation: 74-42=32, Resulting Numbers: [52, 3, 32] Generated Node #0,2: 56:[52, 3, 32] Operation: 74-42=32 Exploring Operation: 52-42=10, Resulting Numbers: [74, 3, 10] Generated Node #0,3: 56:[74, 3, 10] Operation: 52-42=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[52, 3, 32], Operations: ['74-42=32'] Exploring Operation: 52+3=55, Resulting Numbers: [32, 55] Generated Node #0,2,0: 56:[32, 55] Operation: 52+3=55 Exploring Operation: 52-3=49, Resulting Numbers: [32, 49] Generated Node #0,2,1: 56:[32, 49] Operation: 52-3=49 Exploring Operation: 52-32=20, Resulting Numbers: [3, 20] Generated Node #0,2,2: 56:[3, 20] Operation: 52-32=20 Exploring Operation: 32-3=29, Resulting Numbers: [52, 29] Generated Node #0,2,3: 56:[52, 29] Operation: 32-3=29 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[32, 55], Operations: ['74-42=32', '52+3=55'] Exploring Operation: 32*55=1760, Resulting Numbers: [1760] 1760,56 unequal: No Solution Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 32+55=87, Resulting Numbers: [87] 87,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 56:[52, 29], Operations: ['74-42=32', '32-3=29'] Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,56 unequal: No Solution Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,56 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 56:[3, 20], Operations: ['74-42=32', '52-32=20'] Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 56:[32, 49], Operations: ['74-42=32', '52-3=49'] Exploring Operation: 32*49=1568, Resulting Numbers: [1568] 1568,56 unequal: No Solution Exploring Operation: 32+49=81, Resulting Numbers: [81] 81,56 unequal: No Solution Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[42, 3, 22], Operations: ['74-52=22'] Exploring Operation: 42-22=20, Resulting Numbers: [3, 20] Generated Node #0,1,0: 56:[3, 20] Operation: 42-22=20 Exploring Operation: 42+3=45, Resulting Numbers: [22, 45] Generated Node #0,1,1: 56:[22, 45] Operation: 42+3=45 Exploring Operation: 42/3=14, Resulting Numbers: [22, 14] Generated Node #0,1,2: 56:[22, 14] Operation: 42/3=14 Exploring Operation: 42+22=64, Resulting Numbers: [3, 64] Generated Node #0,1,3: 56:[3, 64] Operation: 42+22=64 Moving to Node #0,1,2 Current State: 56:[22, 14], Operations: ['74-52=22', '42/3=14'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 22*14=308, Resulting Numbers: [308] 308,56 unequal: No Solution Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[3, 20], Operations: ['74-52=22', '42-22=20'] Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[3, 64], Operations: ['74-52=22', '42+22=64'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 3*64=192, Resulting Numbers: [192] 192,56 unequal: No Solution Exploring Operation: 3+64=67, Resulting Numbers: [67] 67,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[22, 45], Operations: ['74-52=22', '42+3=45'] Exploring Operation: 22+45=67, Resulting Numbers: [67] 67,56 unequal: No Solution Exploring Operation: 22*45=990, Resulting Numbers: [990] 990,56 unequal: No Solution Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,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,3 Current State: 56:[74, 3, 10], Operations: ['52-42=10'] Exploring Operation: 74-3=71, Resulting Numbers: [10, 71] Generated Node #0,3,0: 56:[10, 71] Operation: 74-3=71 Exploring Operation: 74-10=64, Resulting Numbers: [3, 64] Generated Node #0,3,1: 56:[3, 64] Operation: 74-10=64 Exploring Operation: 3+10=13, Resulting Numbers: [74, 13] Generated Node #0,3,2: 56:[74, 13] Operation: 3+10=13 Exploring Operation: 10-3=7, Resulting Numbers: [74, 7] Generated Node #0,3,3: 56:[74, 7] Operation: 10-3=7 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 56:[3, 64], Operations: ['52-42=10', '74-10=64'] Exploring Operation: 3+64=67, Resulting Numbers: [67] 67,56 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 3*64=192, Resulting Numbers: [192] 192,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 56:[10, 71], Operations: ['52-42=10', '74-3=71'] Exploring Operation: 10+71=81, Resulting Numbers: [81] 81,56 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,56 unequal: No Solution Exploring Operation: 10*71=710, Resulting Numbers: [710] 710,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 56:[74, 7], Operations: ['52-42=10', '10-3=7'] Exploring Operation: 74*7=518, Resulting Numbers: [518] 518,56 unequal: No Solution Exploring Operation: 74+7=81, Resulting Numbers: [81] 81,56 unequal: No Solution Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 56:[74, 13], Operations: ['52-42=10', '3+10=13'] Exploring Operation: 74+13=87, Resulting Numbers: [87] 87,56 unequal: No Solution Exploring Operation: 74*13=962, Resulting Numbers: [962] 962,56 unequal: No Solution Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[74, 52, 14], Operations: ['42/3=14'] Exploring Operation: 74-14=60, Resulting Numbers: [52, 60] Generated Node #0,0,0: 56:[52, 60] Operation: 74-14=60 Exploring Operation: 74-52=22, Resulting Numbers: [14, 22] Generated Node #0,0,1: 56:[14, 22] Operation: 74-52=22 Exploring Operation: 52-14=38, Resulting Numbers: [74, 38] Generated Node #0,0,2: 56:[74, 38] Operation: 52-14=38 Exploring Operation: 52+14=66, Resulting Numbers: [74, 66] Generated Node #0,0,3: 56:[74, 66] Operation: 52+14=66 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[14, 22], Operations: ['42/3=14', '74-52=22'] Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,56 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[52, 60], Operations: ['42/3=14', '74-14=60'] Exploring Operation: 52+60=112, Resulting Numbers: [112] 112,56 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 52*60=3120, Resulting Numbers: [3120] 3120,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[74, 38], Operations: ['42/3=14', '52-14=38'] Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 74+38=112, Resulting Numbers: [112] 112,56 unequal: No Solution Exploring Operation: 74*38=2812, Resulting Numbers: [2812] 2812,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 56:[74, 66], Operations: ['42/3=14', '52+14=66'] Exploring Operation: 74+66=140, Resulting Numbers: [140] 140,56 unequal: No Solution Exploring Operation: 74*66=4884, Resulting Numbers: [4884] 4884,56 unequal: No Solution Exploring Operation: 74-66=8, Resulting Numbers: [8] 8,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 6, 45, 19, 21 ]
41
[ "45-6=39", "21-19=2", "39+2=41" ]
Current State: 41:[6, 45, 19, 21], Operations: [] Exploring Operation: 45-6=39, Resulting Numbers: [19, 21, 39] Generated Node #2: [19, 21, 39] from Operation: 45-6=39 Current State: 41:[19, 21, 39], Operations: ['45-6=39'] Exploring Operation: 21-19=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 21-19=2 Current State: 41:[39, 2], Operations: ['45-6=39', '21-19=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[6, 45, 19, 21], Operations: [] Exploring Operation: 6+45=51, Resulting Numbers: [19, 21, 51] Generated Node #0,0: 41:[19, 21, 51] Operation: 6+45=51 Exploring Operation: 45-6=39, Resulting Numbers: [19, 21, 39] Generated Node #0,1: 41:[19, 21, 39] Operation: 45-6=39 Exploring Operation: 19+21=40, Resulting Numbers: [6, 45, 40] Generated Node #0,2: 41:[6, 45, 40] Operation: 19+21=40 Exploring Operation: 6+19=25, Resulting Numbers: [45, 21, 25] Generated Node #0,3: 41:[45, 21, 25] Operation: 6+19=25 Exploring Operation: 6+21=27, Resulting Numbers: [45, 19, 27] Generated Node #0,4: 41:[45, 19, 27] Operation: 6+21=27 Moving to Node #0,2 Current State: 41:[6, 45, 40], Operations: ['19+21=40'] Exploring Operation: 40-6=34, Resulting Numbers: [45, 34] Generated Node #0,2,0: 41:[45, 34] Operation: 40-6=34 Exploring Operation: 6+45=51, Resulting Numbers: [40, 51] Generated Node #0,2,1: 41:[40, 51] Operation: 6+45=51 Exploring Operation: 45-40=5, Resulting Numbers: [6, 5] Generated Node #0,2,2: 41:[6, 5] Operation: 45-40=5 Exploring Operation: 6+40=46, Resulting Numbers: [45, 46] Generated Node #0,2,3: 41:[45, 46] Operation: 6+40=46 Exploring Operation: 45-6=39, Resulting Numbers: [40, 39] Generated Node #0,2,4: 41:[40, 39] Operation: 45-6=39 Moving to Node #0,4 Current State: 41:[45, 19, 27], Operations: ['6+21=27'] Exploring Operation: 45-27=18, Resulting Numbers: [19, 18] Generated Node #0,4,0: 41:[19, 18] Operation: 45-27=18 Exploring Operation: 19+27=46, Resulting Numbers: [45, 46] Generated Node #0,4,1: 41:[45, 46] Operation: 19+27=46 Exploring Operation: 45-19=26, Resulting Numbers: [27, 26] Generated Node #0,4,2: 41:[27, 26] Operation: 45-19=26 Exploring Operation: 27-19=8, Resulting Numbers: [45, 8] Generated Node #0,4,3: 41:[45, 8] Operation: 27-19=8 Exploring Operation: 45+19=64, Resulting Numbers: [27, 64] Generated Node #0,4,4: 41:[27, 64] Operation: 45+19=64 Moving to Node #0,3 Current State: 41:[45, 21, 25], Operations: ['6+19=25'] Exploring Operation: 45+21=66, Resulting Numbers: [25, 66] Generated Node #0,3,0: 41:[25, 66] Operation: 45+21=66 Exploring Operation: 45-21=24, Resulting Numbers: [25, 24] Generated Node #0,3,1: 41:[25, 24] Operation: 45-21=24 Exploring Operation: 21+25=46, Resulting Numbers: [45, 46] Generated Node #0,3,2: 41:[45, 46] Operation: 21+25=46 Exploring Operation: 45-25=20, Resulting Numbers: [21, 20] Generated Node #0,3,3: 41:[21, 20] Operation: 45-25=20 Exploring Operation: 25-21=4, Resulting Numbers: [45, 4] Generated Node #0,3,4: 41:[45, 4] Operation: 25-21=4 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 41:[45, 46], Operations: ['6+19=25', '21+25=46'] Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 45*46=2070, Resulting Numbers: [2070] 2070,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,3,1 Current State: 41:[25, 24], Operations: ['6+19=25', '45-21=24'] Exploring Operation: 25*24=600, Resulting Numbers: [600] 600,41 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,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,3,0 Current State: 41:[25, 66], Operations: ['6+19=25', '45+21=66'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[6, 45, 19, 21], Operations: [] Exploring Operation: 6+19=25, Resulting Numbers: [45, 21, 25] Generated Node #0,3: 41:[45, 21, 25] Operation: 6+19=25 Moving to Node #0,3 Current State: 41:[45, 21, 25], Operations: ['6+19=25'] Exploring Operation: 45+21=66, Resulting Numbers: [25, 66] Generated Node #0,3,0: 41:[25, 66] Operation: 45+21=66 Moving to Node #0,3,0 Current State: 41:[25, 66], Operations: ['6+19=25', '45+21=66'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_5
mult_heuristic
[ 55, 69, 39, 48 ]
52
[ "69+48=117", "117/39=3", "55-3=52" ]
Current State: 52:[55, 69, 39, 48], Operations: [] Exploring Operation: 69+48=117, Resulting Numbers: [55, 39, 117] Generated Node #2: [55, 39, 117] from Operation: 69+48=117 Current State: 52:[55, 39, 117], Operations: ['69+48=117'] Exploring Operation: 117/39=3, Resulting Numbers: [55, 3] Generated Node #3: [55, 3] from Operation: 117/39=3 Current State: 52:[55, 3], Operations: ['69+48=117', '117/39=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[55, 69, 39, 48], Operations: [] Exploring Operation: 69-48=21, Resulting Numbers: [55, 39, 21] Generated Node #0,0: 52:[55, 39, 21] Operation: 69-48=21 Exploring Operation: 69-39=30, Resulting Numbers: [55, 48, 30] Generated Node #0,1: 52:[55, 48, 30] Operation: 69-39=30 Exploring Operation: 69-55=14, Resulting Numbers: [39, 48, 14] Generated Node #0,2: 52:[39, 48, 14] Operation: 69-55=14 Exploring Operation: 55-39=16, Resulting Numbers: [69, 48, 16] Generated Node #0,3: 52:[69, 48, 16] Operation: 55-39=16 Exploring Operation: 48-39=9, Resulting Numbers: [55, 69, 9] Generated Node #0,4: 52:[55, 69, 9] Operation: 48-39=9 Moving to Node #0,1 Current State: 52:[55, 48, 30], Operations: ['69-39=30'] Exploring Operation: 55-48=7, Resulting Numbers: [30, 7] Generated Node #0,1,0: 52:[30, 7] Operation: 55-48=7 Exploring Operation: 55-30=25, Resulting Numbers: [48, 25] Generated Node #0,1,1: 52:[48, 25] Operation: 55-30=25 Exploring Operation: 48+30=78, Resulting Numbers: [55, 78] Generated Node #0,1,2: 52:[55, 78] Operation: 48+30=78 Exploring Operation: 55+30=85, Resulting Numbers: [48, 85] Generated Node #0,1,3: 52:[48, 85] Operation: 55+30=85 Exploring Operation: 48-30=18, Resulting Numbers: [55, 18] Generated Node #0,1,4: 52:[55, 18] Operation: 48-30=18 Moving to Node #0,2 Current State: 52:[39, 48, 14], Operations: ['69-55=14'] Exploring Operation: 48-14=34, Resulting Numbers: [39, 34] Generated Node #0,2,0: 52:[39, 34] Operation: 48-14=34 Exploring Operation: 39+14=53, Resulting Numbers: [48, 53] Generated Node #0,2,1: 52:[48, 53] Operation: 39+14=53 Exploring Operation: 48+14=62, Resulting Numbers: [39, 62] Generated Node #0,2,2: 52:[39, 62] Operation: 48+14=62 Exploring Operation: 39-14=25, Resulting Numbers: [48, 25] Generated Node #0,2,3: 52:[48, 25] Operation: 39-14=25 Exploring Operation: 48-39=9, Resulting Numbers: [14, 9] Generated Node #0,2,4: 52:[14, 9] Operation: 48-39=9 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 52:[48, 53], Operations: ['69-55=14', '39+14=53'] Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,52 unequal: No Solution Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 52:[48, 25], Operations: ['69-55=14', '39-14=25'] Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,52 unequal: No Solution Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 52:[14, 9], Operations: ['69-55=14', '48-39=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,52 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[39, 34], Operations: ['69-55=14', '48-14=34'] Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,52 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,52 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[39, 62], Operations: ['69-55=14', '48+14=62'] Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 39*62=2418, Resulting Numbers: [2418] 2418,52 unequal: No Solution Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,52 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: 52:[55, 39, 21], Operations: ['69-48=21'] Exploring Operation: 39+21=60, Resulting Numbers: [55, 60] Generated Node #0,0,0: 52:[55, 60] Operation: 39+21=60 Exploring Operation: 55-39=16, Resulting Numbers: [21, 16] Generated Node #0,0,1: 52:[21, 16] Operation: 55-39=16 Exploring Operation: 39-21=18, Resulting Numbers: [55, 18] Generated Node #0,0,2: 52:[55, 18] Operation: 39-21=18 Exploring Operation: 55-21=34, Resulting Numbers: [39, 34] Generated Node #0,0,3: 52:[39, 34] Operation: 55-21=34 Exploring Operation: 55+21=76, Resulting Numbers: [39, 76] Generated Node #0,0,4: 52:[39, 76] Operation: 55+21=76 Moving to Node #0,3 Current State: 52:[69, 48, 16], Operations: ['55-39=16'] Exploring Operation: 48+16=64, Resulting Numbers: [69, 64] Generated Node #0,3,0: 52:[69, 64] Operation: 48+16=64 Exploring Operation: 69-16=53, Resulting Numbers: [48, 53] Generated Node #0,3,1: 52:[48, 53] Operation: 69-16=53 Exploring Operation: 48-16=32, Resulting Numbers: [69, 32] Generated Node #0,3,2: 52:[69, 32] Operation: 48-16=32 Exploring Operation: 69-48=21, Resulting Numbers: [16, 21] Generated Node #0,3,3: 52:[16, 21] Operation: 69-48=21 Exploring Operation: 48/16=3, Resulting Numbers: [69, 3] Generated Node #0,3,4: 52:[69, 3] Operation: 48/16=3 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 52:[48, 53], Operations: ['55-39=16', '69-16=53'] Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,52 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[16, 21], Operations: ['55-39=16', '69-48=21'] Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,52 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 52:[69, 3], Operations: ['55-39=16', '48/16=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,52 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[69, 32], Operations: ['55-39=16', '48-16=32'] Exploring Operation: 69+32=101, Resulting Numbers: [101] 101,52 unequal: No Solution Exploring Operation: 69*32=2208, Resulting Numbers: [2208] 2208,52 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 52:[69, 64], Operations: ['55-39=16', '48+16=64'] Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 69+64=133, Resulting Numbers: [133] 133,52 unequal: No Solution Exploring Operation: 69*64=4416, Resulting Numbers: [4416] 4416,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 52:[55, 69, 9], Operations: ['48-39=9'] Exploring Operation: 69-55=14, Resulting Numbers: [9, 14] Generated Node #0,4,0: 52:[9, 14] Operation: 69-55=14 Exploring Operation: 69-9=60, Resulting Numbers: [55, 60] Generated Node #0,4,1: 52:[55, 60] Operation: 69-9=60 Exploring Operation: 69+9=78, Resulting Numbers: [55, 78] Generated Node #0,4,2: 52:[55, 78] Operation: 69+9=78 Exploring Operation: 55-9=46, Resulting Numbers: [69, 46] Generated Node #0,4,3: 52:[69, 46] Operation: 55-9=46 Exploring Operation: 55+9=64, Resulting Numbers: [69, 64] Generated Node #0,4,4: 52:[69, 64] Operation: 55+9=64 Moving to Node #0,1,1 Current State: 52:[48, 25], Operations: ['69-39=30', '55-30=25'] Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,52 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,52 unequal: No Solution Moving to Node #0,4,0 Current State: 52:[9, 14], Operations: ['48-39=9', '69-55=14'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[30, 7], Operations: ['69-39=30', '55-48=7'] Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,52 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,52 unequal: No Solution Moving to Node #0,1,4 Current State: 52:[55, 18], Operations: ['69-39=30', '48-30=18'] Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 55+18=73, Resulting Numbers: [73] 73,52 unequal: No Solution Exploring Operation: 55*18=990, Resulting Numbers: [990] 990,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[55, 18], Operations: ['69-48=21', '39-21=18'] Exploring Operation: 55*18=990, Resulting Numbers: [990] 990,52 unequal: No Solution Exploring Operation: 55+18=73, Resulting Numbers: [73] 73,52 unequal: No Solution Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[21, 16], Operations: ['69-48=21', '55-39=16'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,52 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,52 unequal: No Solution Moving to Node #0,4,1 Current State: 52:[55, 60], Operations: ['48-39=9', '69-9=60'] Exploring Operation: 55*60=3300, Resulting Numbers: [3300] 3300,52 unequal: No Solution Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,52 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[55, 60], Operations: ['69-48=21', '39+21=60'] Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,52 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 55*60=3300, Resulting Numbers: [3300] 3300,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[39, 34], Operations: ['69-48=21', '55-21=34'] Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,52 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,52 unequal: No Solution Moving to Node #0,4,3 Current State: 52:[69, 46], Operations: ['48-39=9', '55-9=46'] Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,52 unequal: No Solution Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,52 unequal: No Solution Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,52 unequal: No Solution Moving to Node #0,4,4 Current State: 52:[69, 64], Operations: ['48-39=9', '55+9=64'] Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 69+64=133, Resulting Numbers: [133] 133,52 unequal: No Solution Exploring Operation: 69*64=4416, Resulting Numbers: [4416] 4416,52 unequal: No Solution Moving to Node #0,4,2 Current State: 52:[55, 78], Operations: ['48-39=9', '69+9=78'] Exploring Operation: 55*78=4290, Resulting Numbers: [4290] 4290,52 unequal: No Solution Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 55+78=133, Resulting Numbers: [133] 133,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[55, 78], Operations: ['69-39=30', '48+30=78'] Exploring Operation: 55*78=4290, Resulting Numbers: [4290] 4290,52 unequal: No Solution Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 55+78=133, Resulting Numbers: [133] 133,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[39, 76], Operations: ['69-48=21', '55+21=76'] Exploring Operation: 39*76=2964, Resulting Numbers: [2964] 2964,52 unequal: No Solution Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 39+76=115, Resulting Numbers: [115] 115,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[48, 85], Operations: ['69-39=30', '55+30=85'] Exploring Operation: 48*85=4080, Resulting Numbers: [4080] 4080,52 unequal: No Solution Exploring Operation: 48+85=133, Resulting Numbers: [133] 133,52 unequal: No Solution Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,52 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 84, 16, 19, 15 ]
39
[ "19-16=3", "15*3=45", "84-45=39" ]
Current State: 39:[84, 16, 19, 15], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [84, 15, 3] Generated Node #2: [84, 15, 3] from Operation: 19-16=3 Current State: 39:[84, 15, 3], Operations: ['19-16=3'] Exploring Operation: 15*3=45, Resulting Numbers: [84, 45] Generated Node #3: [84, 45] from Operation: 15*3=45 Current State: 39:[84, 45], Operations: ['19-16=3', '15*3=45'] Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[84, 16, 19, 15], Operations: [] Exploring Operation: 84-19=65, Resulting Numbers: [16, 15, 65] Generated Node #0,0: 39:[16, 15, 65] Operation: 84-19=65 Exploring Operation: 84-16=68, Resulting Numbers: [19, 15, 68] Generated Node #0,1: 39:[19, 15, 68] Operation: 84-16=68 Exploring Operation: 19-16=3, Resulting Numbers: [84, 15, 3] Generated Node #0,2: 39:[84, 15, 3] Operation: 19-16=3 Exploring Operation: 84-15=69, Resulting Numbers: [16, 19, 69] Generated Node #0,3: 39:[16, 19, 69] Operation: 84-15=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[16, 15, 65], Operations: ['84-19=65'] Exploring Operation: 65-16=49, Resulting Numbers: [15, 49] Generated Node #0,0,0: 39:[15, 49] Operation: 65-16=49 Exploring Operation: 65-15=50, Resulting Numbers: [16, 50] Generated Node #0,0,1: 39:[16, 50] Operation: 65-15=50 Exploring Operation: 16-15=1, Resulting Numbers: [65, 1] Generated Node #0,0,2: 39:[65, 1] Operation: 16-15=1 Exploring Operation: 16+15=31, Resulting Numbers: [65, 31] Generated Node #0,0,3: 39:[65, 31] Operation: 16+15=31 Moving to Node #0,0,0 Current State: 39:[15, 49], Operations: ['84-19=65', '65-16=49'] Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,39 unequal: No Solution Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[16, 50], Operations: ['84-19=65', '65-15=50'] Exploring Operation: 16+50=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 16*50=800, Resulting Numbers: [800] 800,39 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[65, 1], Operations: ['84-19=65', '16-15=1'] Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,39 unequal: No Solution Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[65, 31], Operations: ['84-19=65', '16+15=31'] Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 65*31=2015, Resulting Numbers: [2015] 2015,39 unequal: No Solution Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,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,1 Current State: 39:[19, 15, 68], Operations: ['84-16=68'] Exploring Operation: 19-15=4, Resulting Numbers: [68, 4] Generated Node #0,1,0: 39:[68, 4] Operation: 19-15=4 Exploring Operation: 68-19=49, Resulting Numbers: [15, 49] Generated Node #0,1,1: 39:[15, 49] Operation: 68-19=49 Exploring Operation: 68-15=53, Resulting Numbers: [19, 53] Generated Node #0,1,2: 39:[19, 53] Operation: 68-15=53 Exploring Operation: 19+15=34, Resulting Numbers: [68, 34] Generated Node #0,1,3: 39:[68, 34] Operation: 19+15=34 Moving to Node #0,1,1 Current State: 39:[15, 49], Operations: ['84-16=68', '68-19=49'] Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,39 unequal: No Solution Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[19, 53], Operations: ['84-16=68', '68-15=53'] Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,39 unequal: No Solution Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[68, 4], Operations: ['84-16=68', '19-15=4'] Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 68*4=272, Resulting Numbers: [272] 272,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[68, 34], Operations: ['84-16=68', '19+15=34'] Exploring Operation: 68*34=2312, Resulting Numbers: [2312] 2312,39 unequal: No Solution Exploring Operation: 68+34=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 68/34=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 68-34=34, Resulting Numbers: [34] 34,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[16, 19, 69], Operations: ['84-15=69'] Exploring Operation: 69-19=50, Resulting Numbers: [16, 50] Generated Node #0,3,0: 39:[16, 50] Operation: 69-19=50 Exploring Operation: 69-16=53, Resulting Numbers: [19, 53] Generated Node #0,3,1: 39:[19, 53] Operation: 69-16=53 Exploring Operation: 16+19=35, Resulting Numbers: [69, 35] Generated Node #0,3,2: 39:[69, 35] Operation: 16+19=35 Exploring Operation: 19-16=3, Resulting Numbers: [69, 3] Generated Node #0,3,3: 39:[69, 3] Operation: 19-16=3 Moving to Node #0,3,0 Current State: 39:[16, 50], Operations: ['84-15=69', '69-19=50'] Exploring Operation: 16+50=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 16*50=800, Resulting Numbers: [800] 800,39 unequal: No Solution Moving to Node #0,3,1 Current State: 39:[19, 53], Operations: ['84-15=69', '69-16=53'] Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,39 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[69, 3], Operations: ['84-15=69', '19-16=3'] Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,39 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[69, 35], Operations: ['84-15=69', '16+19=35'] Exploring Operation: 69+35=104, Resulting Numbers: [104] 104,39 unequal: No Solution Exploring Operation: 69*35=2415, Resulting Numbers: [2415] 2415,39 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[84, 15, 3], Operations: ['19-16=3'] Exploring Operation: 84/3=28, Resulting Numbers: [15, 28] Generated Node #0,2,0: 39:[15, 28] Operation: 84/3=28 Exploring Operation: 84-3=81, Resulting Numbers: [15, 81] Generated Node #0,2,1: 39:[15, 81] Operation: 84-3=81 Exploring Operation: 15-3=12, Resulting Numbers: [84, 12] Generated Node #0,2,2: 39:[84, 12] Operation: 15-3=12 Exploring Operation: 84-15=69, Resulting Numbers: [3, 69] Generated Node #0,2,3: 39:[3, 69] Operation: 84-15=69 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 39:[15, 28], Operations: ['19-16=3', '84/3=28'] Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,39 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,39 unequal: No Solution No 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: 39:[3, 69], Operations: ['19-16=3', '84-15=69'] Exploring Operation: 3*69=207, Resulting Numbers: [207] 207,39 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 3+69=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,39 unequal: No Solution No 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: 39:[15, 81], Operations: ['19-16=3', '84-3=81'] Exploring Operation: 15+81=96, Resulting Numbers: [96] 96,39 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 15*81=1215, Resulting Numbers: [1215] 1215,39 unequal: No Solution No 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: 39:[84, 12], Operations: ['19-16=3', '15-3=12'] Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,39 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 93, 72, 87, 47 ]
19
[ "93-72=21", "87-47=40", "40-21=19" ]
Current State: 19:[93, 72, 87, 47], Operations: [] Exploring Operation: 93-72=21, Resulting Numbers: [87, 47, 21] Generated Node #2: [87, 47, 21] from Operation: 93-72=21 Current State: 19:[87, 47, 21], Operations: ['93-72=21'] Exploring Operation: 87-47=40, Resulting Numbers: [21, 40] Generated Node #3: [21, 40] from Operation: 87-47=40 Current State: 19:[21, 40], Operations: ['93-72=21', '87-47=40'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[93, 72, 87, 47], Operations: [] Exploring Operation: 93-72=21, Resulting Numbers: [87, 47, 21] Generated Node #0,0: 19:[87, 47, 21] Operation: 93-72=21 Exploring Operation: 93-87=6, Resulting Numbers: [72, 47, 6] Generated Node #0,1: 19:[72, 47, 6] Operation: 93-87=6 Moving to Node #0,1 Current State: 19:[72, 47, 6], Operations: ['93-87=6'] Exploring Operation: 72-47=25, Resulting Numbers: [6, 25] Generated Node #0,1,0: 19:[6, 25] Operation: 72-47=25 Exploring Operation: 72/6=12, Resulting Numbers: [47, 12] Generated Node #0,1,1: 19:[47, 12] Operation: 72/6=12 Moving to Node #0,0 Current State: 19:[87, 47, 21], Operations: ['93-72=21'] Exploring Operation: 87-21=66, Resulting Numbers: [47, 66] Generated Node #0,0,0: 19:[47, 66] Operation: 87-21=66 Exploring Operation: 87-47=40, Resulting Numbers: [21, 40] Generated Node #0,0,1: 19:[21, 40] Operation: 87-47=40 Moving to Node #0,1,0 Current State: 19:[6, 25], Operations: ['93-87=6', '72-47=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[93, 72, 87, 47], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [72, 47, 6] Generated Node #0,1: 19:[72, 47, 6] Operation: 93-87=6 Moving to Node #0,1 Current State: 19:[72, 47, 6], Operations: ['93-87=6'] Exploring Operation: 72-47=25, Resulting Numbers: [6, 25] Generated Node #0,1,0: 19:[6, 25] Operation: 72-47=25 Moving to Node #0,1,0 Current State: 19:[6, 25], Operations: ['93-87=6', '72-47=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 14, 65, 97, 75 ]
87
[ "65+75=140", "140/14=10", "97-10=87" ]
Current State: 87:[14, 65, 97, 75], Operations: [] Exploring Operation: 65+75=140, Resulting Numbers: [14, 97, 140] Generated Node #2: [14, 97, 140] from Operation: 65+75=140 Current State: 87:[14, 97, 140], Operations: ['65+75=140'] Exploring Operation: 140/14=10, Resulting Numbers: [97, 10] Generated Node #3: [97, 10] from Operation: 140/14=10 Current State: 87:[97, 10], Operations: ['65+75=140', '140/14=10'] Exploring Operation: 97-10=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[14, 65, 97, 75], Operations: [] Exploring Operation: 97-65=32, Resulting Numbers: [14, 75, 32] Generated Node #0,0: 87:[14, 75, 32] Operation: 97-65=32 Exploring Operation: 75-65=10, Resulting Numbers: [14, 97, 10] Generated Node #0,1: 87:[14, 97, 10] Operation: 75-65=10 Moving to Node #0,0 Current State: 87:[14, 75, 32], Operations: ['97-65=32'] Exploring Operation: 14+75=89, Resulting Numbers: [32, 89] Generated Node #0,0,0: 87:[32, 89] Operation: 14+75=89 Exploring Operation: 32-14=18, Resulting Numbers: [75, 18] Generated Node #0,0,1: 87:[75, 18] Operation: 32-14=18 Moving to Node #0,1 Current State: 87:[14, 97, 10], Operations: ['75-65=10'] Exploring Operation: 97-14=83, Resulting Numbers: [10, 83] Generated Node #0,1,0: 87:[10, 83] Operation: 97-14=83 Exploring Operation: 14-10=4, Resulting Numbers: [97, 4] Generated Node #0,1,1: 87:[97, 4] Operation: 14-10=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[10, 83], Operations: ['75-65=10', '97-14=83'] Exploring Operation: 10+83=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[97, 4], Operations: ['75-65=10', '14-10=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 87:[32, 89], Operations: ['97-65=32', '14+75=89'] Exploring Operation: 32+89=121, Resulting Numbers: [121] 121,87 unequal: No Solution Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[75, 18], Operations: ['97-65=32', '32-14=18'] Exploring Operation: 75+18=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,87 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 93, 53, 4, 47 ]
62
[ "93*4=372", "53-47=6", "372/6=62" ]
Current State: 62:[93, 53, 4, 47], Operations: [] Exploring Operation: 93*4=372, Resulting Numbers: [53, 47, 372] Generated Node #2: [53, 47, 372] from Operation: 93*4=372 Current State: 62:[53, 47, 372], Operations: ['93*4=372'] Exploring Operation: 53-47=6, Resulting Numbers: [372, 6] Generated Node #3: [372, 6] from Operation: 53-47=6 Current State: 62:[372, 6], Operations: ['93*4=372', '53-47=6'] Exploring Operation: 372/6=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[93, 53, 4, 47], Operations: [] Exploring Operation: 93-53=40, Resulting Numbers: [4, 47, 40] Generated Node #0,0: 62:[4, 47, 40] Operation: 93-53=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[4, 47, 40], Operations: ['93-53=40'] Exploring Operation: 47-40=7, Resulting Numbers: [4, 7] Generated Node #0,0,0: 62:[4, 7] Operation: 47-40=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[4, 7], Operations: ['93-53=40', '47-40=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,62 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
[ 27, 5, 62, 78 ]
97
[ "62-27=35", "5*35=175", "175-78=97" ]
Current State: 97:[27, 5, 62, 78], Operations: [] Exploring Operation: 62-27=35, Resulting Numbers: [5, 78, 35] Generated Node #2: [5, 78, 35] from Operation: 62-27=35 Current State: 97:[5, 78, 35], Operations: ['62-27=35'] Exploring Operation: 5*35=175, Resulting Numbers: [78, 175] Generated Node #3: [78, 175] from Operation: 5*35=175 Current State: 97:[78, 175], Operations: ['62-27=35', '5*35=175'] Exploring Operation: 175-78=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[27, 5, 62, 78], Operations: [] Exploring Operation: 27+5=32, Resulting Numbers: [62, 78, 32] Generated Node #0,0: 97:[62, 78, 32] Operation: 27+5=32 Exploring Operation: 27*5=135, Resulting Numbers: [62, 78, 135] Generated Node #0,1: 97:[62, 78, 135] Operation: 27*5=135 Moving to Node #0,1 Current State: 97:[62, 78, 135], Operations: ['27*5=135'] Exploring Operation: 135-62=73, Resulting Numbers: [78, 73] Generated Node #0,1,0: 97:[78, 73] Operation: 135-62=73 Exploring Operation: 135-78=57, Resulting Numbers: [62, 57] Generated Node #0,1,1: 97:[62, 57] Operation: 135-78=57 Moving to Node #0,0 Current State: 97:[62, 78, 32], Operations: ['27+5=32'] Exploring Operation: 62+32=94, Resulting Numbers: [78, 94] Generated Node #0,0,0: 97:[78, 94] Operation: 62+32=94 Exploring Operation: 78+32=110, Resulting Numbers: [62, 110] Generated Node #0,0,1: 97:[62, 110] Operation: 78+32=110 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[78, 94], Operations: ['27+5=32', '62+32=94'] Exploring Operation: 94-78=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 78+94=172, Resulting Numbers: [172] 172,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,1 Current State: 97:[62, 110], Operations: ['27+5=32', '78+32=110'] Exploring Operation: 62+110=172, Resulting Numbers: [172] 172,97 unequal: No Solution Exploring Operation: 110-62=48, Resulting Numbers: [48] 48,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 97:[78, 73], Operations: ['27*5=135', '135-62=73'] Exploring Operation: 78+73=151, Resulting Numbers: [151] 151,97 unequal: No Solution Exploring Operation: 78-73=5, Resulting Numbers: [5] 5,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[62, 57], Operations: ['27*5=135', '135-78=57'] Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,97 unequal: No Solution Exploring Operation: 62+57=119, Resulting Numbers: [119] 119,97 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 3, 42, 54, 64 ]
49
[ "42-3=39", "64-54=10", "39+10=49" ]
Current State: 49:[3, 42, 54, 64], Operations: [] Exploring Operation: 42-3=39, Resulting Numbers: [54, 64, 39] Generated Node #2: [54, 64, 39] from Operation: 42-3=39 Current State: 49:[54, 64, 39], Operations: ['42-3=39'] Exploring Operation: 64-54=10, Resulting Numbers: [39, 10] Generated Node #3: [39, 10] from Operation: 64-54=10 Current State: 49:[39, 10], Operations: ['42-3=39', '64-54=10'] Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[3, 42, 54, 64], Operations: [] Exploring Operation: 3+42=45, Resulting Numbers: [54, 64, 45] Generated Node #0,0: 49:[54, 64, 45] Operation: 3+42=45 Exploring Operation: 54-3=51, Resulting Numbers: [42, 64, 51] Generated Node #0,1: 49:[42, 64, 51] Operation: 54-3=51 Exploring Operation: 64-54=10, Resulting Numbers: [3, 42, 10] Generated Node #0,2: 49:[3, 42, 10] Operation: 64-54=10 Exploring Operation: 64-3=61, Resulting Numbers: [42, 54, 61] Generated Node #0,3: 49:[42, 54, 61] Operation: 64-3=61 Exploring Operation: 54-42=12, Resulting Numbers: [3, 64, 12] Generated Node #0,4: 49:[3, 64, 12] Operation: 54-42=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[3, 42, 10], Operations: ['64-54=10'] Exploring Operation: 42/3=14, Resulting Numbers: [10, 14] Generated Node #0,2,0: 49:[10, 14] Operation: 42/3=14 Exploring Operation: 42+10=52, Resulting Numbers: [3, 52] Generated Node #0,2,1: 49:[3, 52] Operation: 42+10=52 Exploring Operation: 42-3=39, Resulting Numbers: [10, 39] Generated Node #0,2,2: 49:[10, 39] Operation: 42-3=39 Exploring Operation: 10-3=7, Resulting Numbers: [42, 7] Generated Node #0,2,3: 49:[42, 7] Operation: 10-3=7 Exploring Operation: 3+42=45, Resulting Numbers: [10, 45] Generated Node #0,2,4: 49:[10, 45] Operation: 3+42=45 Moving to Node #0,2,1 Current State: 49:[3, 52], Operations: ['64-54=10', '42+10=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[3, 42, 54, 64], Operations: [] Exploring Operation: 64-54=10, Resulting Numbers: [3, 42, 10] Generated Node #0,2: 49:[3, 42, 10] Operation: 64-54=10 Moving to Node #0,2 Current State: 49:[3, 42, 10], Operations: ['64-54=10'] Exploring Operation: 42+10=52, Resulting Numbers: [3, 52] Generated Node #0,2,1: 49:[3, 52] Operation: 42+10=52 Moving to Node #0,2,1 Current State: 49:[3, 52], Operations: ['64-54=10', '42+10=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 46, 39, 1, 8 ]
93
[ "46+39=85", "1*8=8", "85+8=93" ]
Current State: 93:[46, 39, 1, 8], Operations: [] Exploring Operation: 46+39=85, Resulting Numbers: [1, 8, 85] Generated Node #2: [1, 8, 85] from Operation: 46+39=85 Current State: 93:[1, 8, 85], Operations: ['46+39=85'] Exploring Operation: 1*8=8, Resulting Numbers: [85, 8] Generated Node #3: [85, 8] from Operation: 1*8=8 Current State: 93:[85, 8], Operations: ['46+39=85', '1*8=8'] Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[46, 39, 1, 8], Operations: [] Exploring Operation: 46-8=38, Resulting Numbers: [39, 1, 38] Generated Node #0,0: 93:[39, 1, 38] Operation: 46-8=38 Exploring Operation: 39-8=31, Resulting Numbers: [46, 1, 31] Generated Node #0,1: 93:[46, 1, 31] Operation: 39-8=31 Exploring Operation: 46-1=45, Resulting Numbers: [39, 8, 45] Generated Node #0,2: 93:[39, 8, 45] Operation: 46-1=45 Exploring Operation: 46+39=85, Resulting Numbers: [1, 8, 85] Generated Node #0,3: 93:[1, 8, 85] Operation: 46+39=85 Exploring Operation: 46-39=7, Resulting Numbers: [1, 8, 7] Generated Node #0,4: 93:[1, 8, 7] Operation: 46-39=7 Start Sub Search at level 1: Moving to Node #0,4 Current State: 93:[1, 8, 7], Operations: ['46-39=7'] Exploring Operation: 1*8=8, Resulting Numbers: [7, 8] Generated Node #0,4,0: 93:[7, 8] Operation: 1*8=8 Exploring Operation: 8-7=1, Resulting Numbers: [1, 1] Generated Node #0,4,1: 93:[1, 1] Operation: 8-7=1 Exploring Operation: 8/1=8, Resulting Numbers: [7, 8] Generated Node #0,4,2: 93:[7, 8] Operation: 8/1=8 Exploring Operation: 8-1=7, Resulting Numbers: [7, 7] Generated Node #0,4,3: 93:[7, 7] Operation: 8-1=7 Exploring Operation: 7-1=6, Resulting Numbers: [8, 6] Generated Node #0,4,4: 93:[8, 6] Operation: 7-1=6 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 93:[1, 1], Operations: ['46-39=7', '8-7=1'] Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,93 unequal: No Solution Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,93 unequal: No Solution Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 93:[7, 7], Operations: ['46-39=7', '8-1=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,93 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,93 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 93:[8, 6], Operations: ['46-39=7', '7-1=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 93:[7, 8], Operations: ['46-39=7', '1*8=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,93 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 93:[7, 8], Operations: ['46-39=7', '8/1=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[1, 8, 85], Operations: ['46+39=85'] Exploring Operation: 8+85=93, Resulting Numbers: [1, 93] Generated Node #0,3,0: 93:[1, 93] Operation: 8+85=93 Exploring Operation: 8/1=8, Resulting Numbers: [85, 8] Generated Node #0,3,1: 93:[85, 8] Operation: 8/1=8 Exploring Operation: 1+85=86, Resulting Numbers: [8, 86] Generated Node #0,3,2: 93:[8, 86] Operation: 1+85=86 Exploring Operation: 8-1=7, Resulting Numbers: [85, 7] Generated Node #0,3,3: 93:[85, 7] Operation: 8-1=7 Exploring Operation: 1*8=8, Resulting Numbers: [85, 8] Generated Node #0,3,4: 93:[85, 8] Operation: 1*8=8 Moving to Node #0,3,0 Current State: 93:[1, 93], Operations: ['46+39=85', '8+85=93'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,93 unequal: No Solution Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[46, 39, 1, 8], Operations: [] Exploring Operation: 46+39=85, Resulting Numbers: [1, 8, 85] Generated Node #0,3: 93:[1, 8, 85] Operation: 46+39=85 Moving to Node #0,3 Current State: 93:[1, 8, 85], Operations: ['46+39=85'] Exploring Operation: 8+85=93, Resulting Numbers: [1, 93] Generated Node #0,3,0: 93:[1, 93] Operation: 8+85=93 Moving to Node #0,3,0 Current State: 93:[1, 93], Operations: ['46+39=85', '8+85=93'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 51, 99, 62, 91 ]
82
[ "62-51=11", "99/11=9", "91-9=82" ]
Current State: 82:[51, 99, 62, 91], Operations: [] Exploring Operation: 62-51=11, Resulting Numbers: [99, 91, 11] Generated Node #2: [99, 91, 11] from Operation: 62-51=11 Current State: 82:[99, 91, 11], Operations: ['62-51=11'] Exploring Operation: 99/11=9, Resulting Numbers: [91, 9] Generated Node #3: [91, 9] from Operation: 99/11=9 Current State: 82:[91, 9], Operations: ['62-51=11', '99/11=9'] Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[51, 99, 62, 91], Operations: [] Exploring Operation: 99-62=37, Resulting Numbers: [51, 91, 37] Generated Node #0,0: 82:[51, 91, 37] Operation: 99-62=37 Exploring Operation: 62-51=11, Resulting Numbers: [99, 91, 11] Generated Node #0,1: 82:[99, 91, 11] Operation: 62-51=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[51, 91, 37], Operations: ['99-62=37'] Exploring Operation: 91-51=40, Resulting Numbers: [37, 40] Generated Node #0,0,0: 82:[37, 40] Operation: 91-51=40 Exploring Operation: 51+37=88, Resulting Numbers: [91, 88] Generated Node #0,0,1: 82:[91, 88] Operation: 51+37=88 Moving to Node #0,0,0 Current State: 82:[37, 40], Operations: ['99-62=37', '91-51=40'] Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 37+40=77, Resulting Numbers: [77] 77,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[91, 88], Operations: ['99-62=37', '51+37=88'] Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 91+88=179, Resulting Numbers: [179] 179,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[99, 91, 11], Operations: ['62-51=11'] Exploring Operation: 99-11=88, Resulting Numbers: [91, 88] Generated Node #0,1,0: 82:[91, 88] Operation: 99-11=88 Exploring Operation: 99-91=8, Resulting Numbers: [11, 8] Generated Node #0,1,1: 82:[11, 8] Operation: 99-91=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[91, 88], Operations: ['62-51=11', '99-11=88'] Exploring Operation: 91+88=179, Resulting Numbers: [179] 179,82 unequal: No Solution Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,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,1,1 Current State: 82:[11, 8], Operations: ['62-51=11', '99-91=8'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,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 No solution found.
0
hs_2
sum_heuristic