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
[ 32, 70, 42, 48 ]
96
[ "32+70=102", "48-42=6", "102-6=96" ]
Current State: 96:[32, 70, 42, 48], Operations: [] Exploring Operation: 32+70=102, Resulting Numbers: [42, 48, 102] Generated Node #2: [42, 48, 102] from Operation: 32+70=102 Current State: 96:[42, 48, 102], Operations: ['32+70=102'] Exploring Operation: 48-42=6, Resulting Numbers: [102, 6] Generated Node #3: [102, 6] from Operation: 48-42=6 Current State: 96:[102, 6], Operations: ['32+70=102', '48-42=6'] Exploring Operation: 102-6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[32, 70, 42, 48], Operations: [] Exploring Operation: 70-48=22, Resulting Numbers: [32, 42, 22] Generated Node #0,0: 96:[32, 42, 22] Operation: 70-48=22 Exploring Operation: 70-42=28, Resulting Numbers: [32, 48, 28] Generated Node #0,1: 96:[32, 48, 28] Operation: 70-42=28 Moving to Node #0,1 Current State: 96:[32, 48, 28], Operations: ['70-42=28'] Exploring Operation: 32-28=4, Resulting Numbers: [48, 4] Generated Node #0,1,0: 96:[48, 4] Operation: 32-28=4 Exploring Operation: 48-32=16, Resulting Numbers: [28, 16] Generated Node #0,1,1: 96:[28, 16] Operation: 48-32=16 Moving to Node #0,0 Current State: 96:[32, 42, 22], Operations: ['70-48=22'] Exploring Operation: 42-22=20, Resulting Numbers: [32, 20] Generated Node #0,0,0: 96:[32, 20] Operation: 42-22=20 Exploring Operation: 42-32=10, Resulting Numbers: [22, 10] Generated Node #0,0,1: 96:[22, 10] Operation: 42-32=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[32, 20], Operations: ['70-48=22', '42-22=20'] Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 32+20=52, Resulting Numbers: [52] 52,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[22, 10], Operations: ['70-48=22', '42-32=10'] Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,96 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: 96:[48, 4], Operations: ['70-42=28', '32-28=4'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[28, 16], Operations: ['70-42=28', '48-32=16'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,96 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 85, 70, 84, 4 ]
74
[ "85-84=1", "70+4=74", "1*74=74" ]
Current State: 74:[85, 70, 84, 4], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [70, 4, 1] Generated Node #2: [70, 4, 1] from Operation: 85-84=1 Current State: 74:[70, 4, 1], Operations: ['85-84=1'] Exploring Operation: 70+4=74, Resulting Numbers: [1, 74] Generated Node #3: [1, 74] from Operation: 70+4=74 Current State: 74:[1, 74], Operations: ['85-84=1', '70+4=74'] Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[85, 70, 84, 4], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [70, 4, 1] Generated Node #0,0: 74:[70, 4, 1] Operation: 85-84=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[70, 4, 1], Operations: ['85-84=1'] Exploring Operation: 70+4=74, Resulting Numbers: [1, 74] Generated Node #0,0,0: 74:[1, 74] Operation: 70+4=74 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[1, 74], Operations: ['85-84=1', '70+4=74'] Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[85, 70, 84, 4], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [70, 4, 1] Generated Node #0,0: 74:[70, 4, 1] Operation: 85-84=1 Moving to Node #0,0 Current State: 74:[70, 4, 1], Operations: ['85-84=1'] Exploring Operation: 70+4=74, Resulting Numbers: [1, 74] Generated Node #0,0,0: 74:[1, 74] Operation: 70+4=74 Moving to Node #0,0,0 Current State: 74:[1, 74], Operations: ['85-84=1', '70+4=74'] Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 35, 9, 3, 33 ]
21
[ "35-9=26", "33-26=7", "3*7=21" ]
Current State: 21:[35, 9, 3, 33], Operations: [] Exploring Operation: 35-9=26, Resulting Numbers: [3, 33, 26] Generated Node #2: [3, 33, 26] from Operation: 35-9=26 Current State: 21:[3, 33, 26], Operations: ['35-9=26'] Exploring Operation: 33-26=7, Resulting Numbers: [3, 7] Generated Node #3: [3, 7] from Operation: 33-26=7 Current State: 21:[3, 7], Operations: ['35-9=26', '33-26=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[35, 9, 3, 33], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [9, 3, 2] Generated Node #0,0: 21:[9, 3, 2] Operation: 35-33=2 Exploring Operation: 35-9=26, Resulting Numbers: [3, 33, 26] Generated Node #0,1: 21:[3, 33, 26] Operation: 35-9=26 Exploring Operation: 33/3=11, Resulting Numbers: [35, 9, 11] Generated Node #0,2: 21:[35, 9, 11] Operation: 33/3=11 Exploring Operation: 33-9=24, Resulting Numbers: [35, 3, 24] Generated Node #0,3: 21:[35, 3, 24] Operation: 33-9=24 Exploring Operation: 35-3=32, Resulting Numbers: [9, 33, 32] Generated Node #0,4: 21:[9, 33, 32] Operation: 35-3=32 Moving to Node #0,0 Current State: 21:[9, 3, 2], Operations: ['35-33=2'] Exploring Operation: 9-3=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 21:[2, 6] Operation: 9-3=6 Exploring Operation: 9-2=7, Resulting Numbers: [3, 7] Generated Node #0,0,1: 21:[3, 7] Operation: 9-2=7 Exploring Operation: 9*2=18, Resulting Numbers: [3, 18] Generated Node #0,0,2: 21:[3, 18] Operation: 9*2=18 Exploring Operation: 3*2=6, Resulting Numbers: [9, 6] Generated Node #0,0,3: 21:[9, 6] Operation: 3*2=6 Exploring Operation: 9/3=3, Resulting Numbers: [2, 3] Generated Node #0,0,4: 21:[2, 3] Operation: 9/3=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[3, 7], Operations: ['35-33=2', '9-2=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[35, 9, 3, 33], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [9, 3, 2] Generated Node #0,0: 21:[9, 3, 2] Operation: 35-33=2 Moving to Node #0,0 Current State: 21:[9, 3, 2], Operations: ['35-33=2'] Exploring Operation: 9-2=7, Resulting Numbers: [3, 7] Generated Node #0,0,1: 21:[3, 7] Operation: 9-2=7 Moving to Node #0,0,1 Current State: 21:[3, 7], Operations: ['35-33=2', '9-2=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 34, 77, 17, 95 ]
59
[ "34*77=2618", "2618/17=154", "154-95=59" ]
Current State: 59:[34, 77, 17, 95], Operations: [] Exploring Operation: 34*77=2618, Resulting Numbers: [17, 95, 2618] Generated Node #2: [17, 95, 2618] from Operation: 34*77=2618 Current State: 59:[17, 95, 2618], Operations: ['34*77=2618'] Exploring Operation: 2618/17=154, Resulting Numbers: [95, 154] Generated Node #3: [95, 154] from Operation: 2618/17=154 Current State: 59:[95, 154], Operations: ['34*77=2618', '2618/17=154'] Exploring Operation: 154-95=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[34, 77, 17, 95], Operations: [] Exploring Operation: 34+17=51, Resulting Numbers: [77, 95, 51] Generated Node #0,0: 59:[77, 95, 51] Operation: 34+17=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[77, 95, 51], Operations: ['34+17=51'] Exploring Operation: 95-51=44, Resulting Numbers: [77, 44] Generated Node #0,0,0: 59:[77, 44] Operation: 95-51=44 Moving to Node #0,0,0 Current State: 59:[77, 44], Operations: ['34+17=51', '95-51=44'] Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,59 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
[ 64, 43, 6, 48 ]
14
[ "64+6=70", "48-43=5", "70/5=14" ]
Current State: 14:[64, 43, 6, 48], Operations: [] Exploring Operation: 64+6=70, Resulting Numbers: [43, 48, 70] Generated Node #2: [43, 48, 70] from Operation: 64+6=70 Current State: 14:[43, 48, 70], Operations: ['64+6=70'] Exploring Operation: 48-43=5, Resulting Numbers: [70, 5] Generated Node #3: [70, 5] from Operation: 48-43=5 Current State: 14:[70, 5], Operations: ['64+6=70', '48-43=5'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[64, 43, 6, 48], Operations: [] Exploring Operation: 64-48=16, Resulting Numbers: [43, 6, 16] Generated Node #0,0: 14:[43, 6, 16] Operation: 64-48=16 Moving to Node #0,0 Current State: 14:[43, 6, 16], Operations: ['64-48=16'] Exploring Operation: 43-16=27, Resulting Numbers: [6, 27] Generated Node #0,0,0: 14:[6, 27] Operation: 43-16=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[6, 27], Operations: ['64-48=16', '43-16=27'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,14 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
[ 78, 43, 24, 41 ]
52
[ "78-43=35", "41-24=17", "35+17=52" ]
Current State: 52:[78, 43, 24, 41], Operations: [] Exploring Operation: 78-43=35, Resulting Numbers: [24, 41, 35] Generated Node #2: [24, 41, 35] from Operation: 78-43=35 Current State: 52:[24, 41, 35], Operations: ['78-43=35'] Exploring Operation: 41-24=17, Resulting Numbers: [35, 17] Generated Node #3: [35, 17] from Operation: 41-24=17 Current State: 52:[35, 17], Operations: ['78-43=35', '41-24=17'] Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[78, 43, 24, 41], Operations: [] Exploring Operation: 78-41=37, Resulting Numbers: [43, 24, 37] Generated Node #0,0: 52:[43, 24, 37] Operation: 78-41=37 Exploring Operation: 78-24=54, Resulting Numbers: [43, 41, 54] Generated Node #0,1: 52:[43, 41, 54] Operation: 78-24=54 Exploring Operation: 78-43=35, Resulting Numbers: [24, 41, 35] Generated Node #0,2: 52:[24, 41, 35] Operation: 78-43=35 Exploring Operation: 41-24=17, Resulting Numbers: [78, 43, 17] Generated Node #0,3: 52:[78, 43, 17] Operation: 41-24=17 Exploring Operation: 43-41=2, Resulting Numbers: [78, 24, 2] Generated Node #0,4: 52:[78, 24, 2] Operation: 43-41=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[43, 24, 37], Operations: ['78-41=37'] Exploring Operation: 43+24=67, Resulting Numbers: [37, 67] Generated Node #0,0,0: 52:[37, 67] Operation: 43+24=67 Exploring Operation: 37-24=13, Resulting Numbers: [43, 13] Generated Node #0,0,1: 52:[43, 13] Operation: 37-24=13 Exploring Operation: 24+37=61, Resulting Numbers: [43, 61] Generated Node #0,0,2: 52:[43, 61] Operation: 24+37=61 Exploring Operation: 43-24=19, Resulting Numbers: [37, 19] Generated Node #0,0,3: 52:[37, 19] Operation: 43-24=19 Exploring Operation: 43-37=6, Resulting Numbers: [24, 6] Generated Node #0,0,4: 52:[24, 6] Operation: 43-37=6 Moving to Node #0,0,4 Current State: 52:[24, 6], Operations: ['78-41=37', '43-37=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,52 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[43, 13], Operations: ['78-41=37', '37-24=13'] Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,52 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,52 unequal: No Solution Exploring Operation: 43*13=559, Resulting Numbers: [559] 559,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[37, 19], Operations: ['78-41=37', '43-24=19'] Exploring Operation: 37+19=56, Resulting Numbers: [56] 56,52 unequal: No Solution Exploring Operation: 37*19=703, Resulting Numbers: [703] 703,52 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[43, 61], Operations: ['78-41=37', '24+37=61'] Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 43*61=2623, Resulting Numbers: [2623] 2623,52 unequal: No Solution Exploring Operation: 43+61=104, Resulting Numbers: [104] 104,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[37, 67], Operations: ['78-41=37', '43+24=67'] Exploring Operation: 37+67=104, Resulting Numbers: [104] 104,52 unequal: No Solution Exploring Operation: 37*67=2479, Resulting Numbers: [2479] 2479,52 unequal: No Solution Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,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,1 Current State: 52:[43, 41, 54], Operations: ['78-24=54'] Exploring Operation: 54-41=13, Resulting Numbers: [43, 13] Generated Node #0,1,0: 52:[43, 13] Operation: 54-41=13 Exploring Operation: 41+54=95, Resulting Numbers: [43, 95] Generated Node #0,1,1: 52:[43, 95] Operation: 41+54=95 Exploring Operation: 54-43=11, Resulting Numbers: [41, 11] Generated Node #0,1,2: 52:[41, 11] Operation: 54-43=11 Exploring Operation: 43+41=84, Resulting Numbers: [54, 84] Generated Node #0,1,3: 52:[54, 84] Operation: 43+41=84 Exploring Operation: 43-41=2, Resulting Numbers: [54, 2] Generated Node #0,1,4: 52:[54, 2] Operation: 43-41=2 Moving to Node #0,1,4 Current State: 52:[54, 2], Operations: ['78-24=54', '43-41=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,52 unequal: No Solution Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[78, 43, 24, 41], Operations: [] Exploring Operation: 78-24=54, Resulting Numbers: [43, 41, 54] Generated Node #0,1: 52:[43, 41, 54] Operation: 78-24=54 Moving to Node #0,1 Current State: 52:[43, 41, 54], Operations: ['78-24=54'] Exploring Operation: 43-41=2, Resulting Numbers: [54, 2] Generated Node #0,1,4: 52:[54, 2] Operation: 43-41=2 Moving to Node #0,1,4 Current State: 52:[54, 2], Operations: ['78-24=54', '43-41=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 55, 66, 95, 10 ]
83
[ "66*10=660", "660/55=12", "95-12=83" ]
Current State: 83:[55, 66, 95, 10], Operations: [] Exploring Operation: 66*10=660, Resulting Numbers: [55, 95, 660] Generated Node #2: [55, 95, 660] from Operation: 66*10=660 Current State: 83:[55, 95, 660], Operations: ['66*10=660'] Exploring Operation: 660/55=12, Resulting Numbers: [95, 12] Generated Node #3: [95, 12] from Operation: 660/55=12 Current State: 83:[95, 12], Operations: ['66*10=660', '660/55=12'] Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[55, 66, 95, 10], Operations: [] Exploring Operation: 55+10=65, Resulting Numbers: [66, 95, 65] Generated Node #0,0: 83:[66, 95, 65] Operation: 55+10=65 Exploring Operation: 66+10=76, Resulting Numbers: [55, 95, 76] Generated Node #0,1: 83:[55, 95, 76] Operation: 66+10=76 Moving to Node #0,0 Current State: 83:[66, 95, 65], Operations: ['55+10=65'] Exploring Operation: 95-65=30, Resulting Numbers: [66, 30] Generated Node #0,0,0: 83:[66, 30] Operation: 95-65=30 Exploring Operation: 66+65=131, Resulting Numbers: [95, 131] Generated Node #0,0,1: 83:[95, 131] Operation: 66+65=131 Moving to Node #0,1 Current State: 83:[55, 95, 76], Operations: ['66+10=76'] Exploring Operation: 95-55=40, Resulting Numbers: [76, 40] Generated Node #0,1,0: 83:[76, 40] Operation: 95-55=40 Exploring Operation: 55+76=131, Resulting Numbers: [95, 131] Generated Node #0,1,1: 83:[95, 131] Operation: 55+76=131 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[76, 40], Operations: ['66+10=76', '95-55=40'] Exploring Operation: 76-40=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 76+40=116, Resulting Numbers: [116] 116,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[95, 131], Operations: ['66+10=76', '55+76=131'] Exploring Operation: 95+131=226, Resulting Numbers: [226] 226,83 unequal: No Solution Exploring Operation: 131-95=36, Resulting Numbers: [36] 36,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 83:[95, 131], Operations: ['55+10=65', '66+65=131'] Exploring Operation: 131-95=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 95+131=226, Resulting Numbers: [226] 226,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[66, 30], Operations: ['55+10=65', '95-65=30'] Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,83 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 29, 52, 3, 47 ]
82
[ "29*3=87", "52-47=5", "87-5=82" ]
Current State: 82:[29, 52, 3, 47], Operations: [] Exploring Operation: 29*3=87, Resulting Numbers: [52, 47, 87] Generated Node #2: [52, 47, 87] from Operation: 29*3=87 Current State: 82:[52, 47, 87], Operations: ['29*3=87'] Exploring Operation: 52-47=5, Resulting Numbers: [87, 5] Generated Node #3: [87, 5] from Operation: 52-47=5 Current State: 82:[87, 5], Operations: ['29*3=87', '52-47=5'] Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[29, 52, 3, 47], Operations: [] Exploring Operation: 52-47=5, Resulting Numbers: [29, 3, 5] Generated Node #0,0: 82:[29, 3, 5] Operation: 52-47=5 Exploring Operation: 29+47=76, Resulting Numbers: [52, 3, 76] Generated Node #0,1: 82:[52, 3, 76] Operation: 29+47=76 Exploring Operation: 29*3=87, Resulting Numbers: [52, 47, 87] Generated Node #0,2: 82:[52, 47, 87] Operation: 29*3=87 Exploring Operation: 29+52=81, Resulting Numbers: [3, 47, 81] Generated Node #0,3: 82:[3, 47, 81] Operation: 29+52=81 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[3, 47, 81], Operations: ['29+52=81'] Exploring Operation: 81-47=34, Resulting Numbers: [3, 34] Generated Node #0,3,0: 82:[3, 34] Operation: 81-47=34 Exploring Operation: 3+81=84, Resulting Numbers: [47, 84] Generated Node #0,3,1: 82:[47, 84] Operation: 3+81=84 Exploring Operation: 47-3=44, Resulting Numbers: [81, 44] Generated Node #0,3,2: 82:[81, 44] Operation: 47-3=44 Exploring Operation: 3+47=50, Resulting Numbers: [81, 50] Generated Node #0,3,3: 82:[81, 50] Operation: 3+47=50 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 82:[81, 44], Operations: ['29+52=81', '47-3=44'] Exploring Operation: 81+44=125, Resulting Numbers: [125] 125,82 unequal: No Solution Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 81*44=3564, Resulting Numbers: [3564] 3564,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,3,0 Current State: 82:[3, 34], Operations: ['29+52=81', '81-47=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,82 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,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,3,1 Current State: 82:[47, 84], Operations: ['29+52=81', '3+81=84'] Exploring Operation: 84-47=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 47+84=131, Resulting Numbers: [131] 131,82 unequal: No Solution Exploring Operation: 47*84=3948, Resulting Numbers: [3948] 3948,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,3,3 Current State: 82:[81, 50], Operations: ['29+52=81', '3+47=50'] Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,82 unequal: No Solution Exploring Operation: 81+50=131, Resulting Numbers: [131] 131,82 unequal: No Solution Exploring Operation: 81*50=4050, Resulting Numbers: [4050] 4050,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[29, 3, 5], Operations: ['52-47=5'] Exploring Operation: 29+3=32, Resulting Numbers: [5, 32] Generated Node #0,0,0: 82:[5, 32] Operation: 29+3=32 Exploring Operation: 5-3=2, Resulting Numbers: [29, 2] Generated Node #0,0,1: 82:[29, 2] Operation: 5-3=2 Exploring Operation: 29*3=87, Resulting Numbers: [5, 87] Generated Node #0,0,2: 82:[5, 87] Operation: 29*3=87 Exploring Operation: 29+5=34, Resulting Numbers: [3, 34] Generated Node #0,0,3: 82:[3, 34] Operation: 29+5=34 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[5, 87], Operations: ['52-47=5', '29*3=87'] Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,82 unequal: No Solution Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[29, 52, 3, 47], Operations: [] Exploring Operation: 52-47=5, Resulting Numbers: [29, 3, 5] Generated Node #0,0: 82:[29, 3, 5] Operation: 52-47=5 Moving to Node #0,0 Current State: 82:[29, 3, 5], Operations: ['52-47=5'] Exploring Operation: 29*3=87, Resulting Numbers: [5, 87] Generated Node #0,0,2: 82:[5, 87] Operation: 29*3=87 Moving to Node #0,0,2 Current State: 82:[5, 87], Operations: ['52-47=5', '29*3=87'] Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 50, 3, 33, 19 ]
67
[ "50+3=53", "33-19=14", "53+14=67" ]
Current State: 67:[50, 3, 33, 19], Operations: [] Exploring Operation: 50+3=53, Resulting Numbers: [33, 19, 53] Generated Node #2: [33, 19, 53] from Operation: 50+3=53 Current State: 67:[33, 19, 53], Operations: ['50+3=53'] Exploring Operation: 33-19=14, Resulting Numbers: [53, 14] Generated Node #3: [53, 14] from Operation: 33-19=14 Current State: 67:[53, 14], Operations: ['50+3=53', '33-19=14'] Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[50, 3, 33, 19], Operations: [] Exploring Operation: 3+33=36, Resulting Numbers: [50, 19, 36] Generated Node #0,0: 67:[50, 19, 36] Operation: 3+33=36 Exploring Operation: 50+3=53, Resulting Numbers: [33, 19, 53] Generated Node #0,1: 67:[33, 19, 53] Operation: 50+3=53 Exploring Operation: 3*19=57, Resulting Numbers: [50, 33, 57] Generated Node #0,2: 67:[50, 33, 57] Operation: 3*19=57 Moving to Node #0,2 Current State: 67:[50, 33, 57], Operations: ['3*19=57'] Exploring Operation: 33+57=90, Resulting Numbers: [50, 90] Generated Node #0,2,0: 67:[50, 90] Operation: 33+57=90 Exploring Operation: 50+33=83, Resulting Numbers: [57, 83] Generated Node #0,2,1: 67:[57, 83] Operation: 50+33=83 Exploring Operation: 50-33=17, Resulting Numbers: [57, 17] Generated Node #0,2,2: 67:[57, 17] Operation: 50-33=17 Moving to Node #0,0 Current State: 67:[50, 19, 36], Operations: ['3+33=36'] Exploring Operation: 50+19=69, Resulting Numbers: [36, 69] Generated Node #0,0,0: 67:[36, 69] Operation: 50+19=69 Exploring Operation: 50-19=31, Resulting Numbers: [36, 31] Generated Node #0,0,1: 67:[36, 31] Operation: 50-19=31 Exploring Operation: 19+36=55, Resulting Numbers: [50, 55] Generated Node #0,0,2: 67:[50, 55] Operation: 19+36=55 Moving to Node #0,1 Current State: 67:[33, 19, 53], Operations: ['50+3=53'] Exploring Operation: 33+19=52, Resulting Numbers: [53, 52] Generated Node #0,1,0: 67:[53, 52] Operation: 33+19=52 Exploring Operation: 19+53=72, Resulting Numbers: [33, 72] Generated Node #0,1,1: 67:[33, 72] Operation: 19+53=72 Exploring Operation: 33-19=14, Resulting Numbers: [53, 14] Generated Node #0,1,2: 67:[53, 14] Operation: 33-19=14 Moving to Node #0,2,1 Current State: 67:[57, 83], Operations: ['3*19=57', '50+33=83'] Exploring Operation: 57*83=4731, Resulting Numbers: [4731] 4731,67 unequal: No Solution Exploring Operation: 83-57=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 57+83=140, Resulting Numbers: [140] 140,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[53, 52], Operations: ['50+3=53', '33+19=52'] Exploring Operation: 53*52=2756, Resulting Numbers: [2756] 2756,67 unequal: No Solution Exploring Operation: 53+52=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[50, 55], Operations: ['3+33=36', '19+36=55'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 50+55=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 50*55=2750, Resulting Numbers: [2750] 2750,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[36, 69], Operations: ['3+33=36', '50+19=69'] Exploring Operation: 36+69=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 36*69=2484, Resulting Numbers: [2484] 2484,67 unequal: No Solution Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[33, 72], Operations: ['50+3=53', '19+53=72'] Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 33*72=2376, Resulting Numbers: [2376] 2376,67 unequal: No Solution Exploring Operation: 33+72=105, Resulting Numbers: [105] 105,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[50, 90], Operations: ['3*19=57', '33+57=90'] Exploring Operation: 50*90=4500, Resulting Numbers: [4500] 4500,67 unequal: No Solution Exploring Operation: 50+90=140, Resulting Numbers: [140] 140,67 unequal: No Solution Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[57, 17], Operations: ['3*19=57', '50-33=17'] Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,67 unequal: No Solution Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,67 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[53, 14], Operations: ['50+3=53', '33-19=14'] Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[50, 3, 33, 19], Operations: [] Exploring Operation: 50+3=53, Resulting Numbers: [33, 19, 53] Generated Node #0,1: 67:[33, 19, 53] Operation: 50+3=53 Moving to Node #0,1 Current State: 67:[33, 19, 53], Operations: ['50+3=53'] Exploring Operation: 33-19=14, Resulting Numbers: [53, 14] Generated Node #0,1,2: 67:[53, 14] Operation: 33-19=14 Moving to Node #0,1,2 Current State: 67:[53, 14], Operations: ['50+3=53', '33-19=14'] Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
0.966146
hs_3
mult_heuristic
[ 27, 40, 42, 85 ]
24
[ "27+40=67", "85-42=43", "67-43=24" ]
Current State: 24:[27, 40, 42, 85], Operations: [] Exploring Operation: 27+40=67, Resulting Numbers: [42, 85, 67] Generated Node #2: [42, 85, 67] from Operation: 27+40=67 Current State: 24:[42, 85, 67], Operations: ['27+40=67'] Exploring Operation: 85-42=43, Resulting Numbers: [67, 43] Generated Node #3: [67, 43] from Operation: 85-42=43 Current State: 24:[67, 43], Operations: ['27+40=67', '85-42=43'] Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[27, 40, 42, 85], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [27, 42, 45] Generated Node #0,0: 24:[27, 42, 45] Operation: 85-40=45 Exploring Operation: 40-27=13, Resulting Numbers: [42, 85, 13] Generated Node #0,1: 24:[42, 85, 13] Operation: 40-27=13 Exploring Operation: 42-40=2, Resulting Numbers: [27, 85, 2] Generated Node #0,2: 24:[27, 85, 2] Operation: 42-40=2 Exploring Operation: 85-42=43, Resulting Numbers: [27, 40, 43] Generated Node #0,3: 24:[27, 40, 43] Operation: 85-42=43 Exploring Operation: 85-27=58, Resulting Numbers: [40, 42, 58] Generated Node #0,4: 24:[40, 42, 58] Operation: 85-27=58 Moving to Node #0,3 Current State: 24:[27, 40, 43], Operations: ['85-42=43'] Exploring Operation: 43-27=16, Resulting Numbers: [40, 16] Generated Node #0,3,0: 24:[40, 16] Operation: 43-27=16 Exploring Operation: 40-27=13, Resulting Numbers: [43, 13] Generated Node #0,3,1: 24:[43, 13] Operation: 40-27=13 Exploring Operation: 43-40=3, Resulting Numbers: [27, 3] Generated Node #0,3,2: 24:[27, 3] Operation: 43-40=3 Exploring Operation: 27+43=70, Resulting Numbers: [40, 70] Generated Node #0,3,3: 24:[40, 70] Operation: 27+43=70 Exploring Operation: 27+40=67, Resulting Numbers: [43, 67] Generated Node #0,3,4: 24:[43, 67] Operation: 27+40=67 Moving to Node #0,0 Current State: 24:[27, 42, 45], Operations: ['85-40=45'] Exploring Operation: 45-42=3, Resulting Numbers: [27, 3] Generated Node #0,0,0: 24:[27, 3] Operation: 45-42=3 Exploring Operation: 42-27=15, Resulting Numbers: [45, 15] Generated Node #0,0,1: 24:[45, 15] Operation: 42-27=15 Exploring Operation: 45-27=18, Resulting Numbers: [42, 18] Generated Node #0,0,2: 24:[42, 18] Operation: 45-27=18 Exploring Operation: 27+42=69, Resulting Numbers: [45, 69] Generated Node #0,0,3: 24:[45, 69] Operation: 27+42=69 Exploring Operation: 27+45=72, Resulting Numbers: [42, 72] Generated Node #0,0,4: 24:[42, 72] Operation: 27+45=72 Moving to Node #0,2 Current State: 24:[27, 85, 2], Operations: ['42-40=2'] Exploring Operation: 85+2=87, Resulting Numbers: [27, 87] Generated Node #0,2,0: 24:[27, 87] Operation: 85+2=87 Exploring Operation: 85-27=58, Resulting Numbers: [2, 58] Generated Node #0,2,1: 24:[2, 58] Operation: 85-27=58 Exploring Operation: 85-2=83, Resulting Numbers: [27, 83] Generated Node #0,2,2: 24:[27, 83] Operation: 85-2=83 Exploring Operation: 27-2=25, Resulting Numbers: [85, 25] Generated Node #0,2,3: 24:[85, 25] Operation: 27-2=25 Exploring Operation: 27+2=29, Resulting Numbers: [85, 29] Generated Node #0,2,4: 24:[85, 29] Operation: 27+2=29 Moving to Node #0,4 Current State: 24:[40, 42, 58], Operations: ['85-27=58'] Exploring Operation: 40+58=98, Resulting Numbers: [42, 98] Generated Node #0,4,0: 24:[42, 98] Operation: 40+58=98 Exploring Operation: 58-42=16, Resulting Numbers: [40, 16] Generated Node #0,4,1: 24:[40, 16] Operation: 58-42=16 Exploring Operation: 42-40=2, Resulting Numbers: [58, 2] Generated Node #0,4,2: 24:[58, 2] Operation: 42-40=2 Exploring Operation: 58-40=18, Resulting Numbers: [42, 18] Generated Node #0,4,3: 24:[42, 18] Operation: 58-40=18 Exploring Operation: 40+42=82, Resulting Numbers: [58, 82] Generated Node #0,4,4: 24:[58, 82] Operation: 40+42=82 Moving to Node #0,1 Current State: 24:[42, 85, 13], Operations: ['40-27=13'] Exploring Operation: 85+13=98, Resulting Numbers: [42, 98] Generated Node #0,1,0: 24:[42, 98] Operation: 85+13=98 Exploring Operation: 85-13=72, Resulting Numbers: [42, 72] Generated Node #0,1,1: 24:[42, 72] Operation: 85-13=72 Exploring Operation: 85-42=43, Resulting Numbers: [13, 43] Generated Node #0,1,2: 24:[13, 43] Operation: 85-42=43 Exploring Operation: 42-13=29, Resulting Numbers: [85, 29] Generated Node #0,1,3: 24:[85, 29] Operation: 42-13=29 Exploring Operation: 42+13=55, Resulting Numbers: [85, 55] Generated Node #0,1,4: 24:[85, 55] Operation: 42+13=55 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[13, 43], Operations: ['40-27=13', '85-42=43'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,24 unequal: No Solution Exploring Operation: 13*43=559, Resulting Numbers: [559] 559,24 unequal: No Solution No 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: 24:[42, 72], Operations: ['40-27=13', '85-13=72'] Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 42*72=3024, Resulting Numbers: [3024] 3024,24 unequal: No Solution Exploring Operation: 42+72=114, Resulting Numbers: [114] 114,24 unequal: No Solution No 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: 24:[85, 29], Operations: ['40-27=13', '42-13=29'] Exploring Operation: 85-29=56, Resulting Numbers: [56] 56,24 unequal: No Solution Exploring Operation: 85*29=2465, Resulting Numbers: [2465] 2465,24 unequal: No Solution Exploring Operation: 85+29=114, Resulting Numbers: [114] 114,24 unequal: No Solution No 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: 24:[42, 98], Operations: ['40-27=13', '85+13=98'] Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,24 unequal: No Solution Exploring Operation: 42+98=140, Resulting Numbers: [140] 140,24 unequal: No Solution Exploring Operation: 42*98=4116, Resulting Numbers: [4116] 4116,24 unequal: No Solution No 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: 24:[85, 55], Operations: ['40-27=13', '42+13=55'] Exploring Operation: 85*55=4675, Resulting Numbers: [4675] 4675,24 unequal: No Solution Exploring Operation: 85+55=140, Resulting Numbers: [140] 140,24 unequal: No Solution Exploring Operation: 85-55=30, Resulting Numbers: [30] 30,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 24:[27, 3], Operations: ['85-42=43', '43-40=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,24 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[27, 40, 42, 85], Operations: [] Exploring Operation: 85-42=43, Resulting Numbers: [27, 40, 43] Generated Node #0,3: 24:[27, 40, 43] Operation: 85-42=43 Moving to Node #0,3 Current State: 24:[27, 40, 43], Operations: ['85-42=43'] Exploring Operation: 43-40=3, Resulting Numbers: [27, 3] Generated Node #0,3,2: 24:[27, 3] Operation: 43-40=3 Moving to Node #0,3,2 Current State: 24:[27, 3], Operations: ['85-42=43', '43-40=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.955729
hs_5
sum_heuristic
[ 5, 92, 61, 68 ]
46
[ "5+61=66", "68-66=2", "92/2=46" ]
Current State: 46:[5, 92, 61, 68], Operations: [] Exploring Operation: 5+61=66, Resulting Numbers: [92, 68, 66] Generated Node #2: [92, 68, 66] from Operation: 5+61=66 Current State: 46:[92, 68, 66], Operations: ['5+61=66'] Exploring Operation: 68-66=2, Resulting Numbers: [92, 2] Generated Node #3: [92, 2] from Operation: 68-66=2 Current State: 46:[92, 2], Operations: ['5+61=66', '68-66=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[5, 92, 61, 68], Operations: [] Exploring Operation: 92-5=87, Resulting Numbers: [61, 68, 87] Generated Node #0,0: 46:[61, 68, 87] Operation: 92-5=87 Exploring Operation: 92-61=31, Resulting Numbers: [5, 68, 31] Generated Node #0,1: 46:[5, 68, 31] Operation: 92-61=31 Exploring Operation: 68-61=7, Resulting Numbers: [5, 92, 7] Generated Node #0,2: 46:[5, 92, 7] Operation: 68-61=7 Exploring Operation: 92-68=24, Resulting Numbers: [5, 61, 24] Generated Node #0,3: 46:[5, 61, 24] Operation: 92-68=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[5, 61, 24], Operations: ['92-68=24'] Exploring Operation: 61-5=56, Resulting Numbers: [24, 56] Generated Node #0,3,0: 46:[24, 56] Operation: 61-5=56 Exploring Operation: 24-5=19, Resulting Numbers: [61, 19] Generated Node #0,3,1: 46:[61, 19] Operation: 24-5=19 Exploring Operation: 5+61=66, Resulting Numbers: [24, 66] Generated Node #0,3,2: 46:[24, 66] Operation: 5+61=66 Exploring Operation: 61-24=37, Resulting Numbers: [5, 37] Generated Node #0,3,3: 46:[5, 37] Operation: 61-24=37 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 46:[24, 56], Operations: ['92-68=24', '61-5=56'] Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 24+56=80, Resulting Numbers: [80] 80,46 unequal: No Solution Exploring Operation: 24*56=1344, Resulting Numbers: [1344] 1344,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 46:[5, 37], Operations: ['92-68=24', '61-24=37'] Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 46:[61, 19], Operations: ['92-68=24', '24-5=19'] Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 61*19=1159, Resulting Numbers: [1159] 1159,46 unequal: No Solution Exploring Operation: 61+19=80, Resulting Numbers: [80] 80,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 46:[24, 66], Operations: ['92-68=24', '5+61=66'] Exploring Operation: 24+66=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 24*66=1584, Resulting Numbers: [1584] 1584,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[5, 68, 31], Operations: ['92-61=31'] Exploring Operation: 5+31=36, Resulting Numbers: [68, 36] Generated Node #0,1,0: 46:[68, 36] Operation: 5+31=36 Exploring Operation: 68-5=63, Resulting Numbers: [31, 63] Generated Node #0,1,1: 46:[31, 63] Operation: 68-5=63 Exploring Operation: 68-31=37, Resulting Numbers: [5, 37] Generated Node #0,1,2: 46:[5, 37] Operation: 68-31=37 Exploring Operation: 31-5=26, Resulting Numbers: [68, 26] Generated Node #0,1,3: 46:[68, 26] Operation: 31-5=26 Moving to Node #0,1,2 Current State: 46:[5, 37], Operations: ['92-61=31', '68-31=37'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[68, 26], Operations: ['92-61=31', '31-5=26'] Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,46 unequal: No Solution Exploring Operation: 68*26=1768, Resulting Numbers: [1768] 1768,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[31, 63], Operations: ['92-61=31', '68-5=63'] Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 31*63=1953, Resulting Numbers: [1953] 1953,46 unequal: No Solution Exploring Operation: 31+63=94, Resulting Numbers: [94] 94,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[68, 36], Operations: ['92-61=31', '5+31=36'] Exploring Operation: 68+36=104, Resulting Numbers: [104] 104,46 unequal: No Solution Exploring Operation: 68*36=2448, Resulting Numbers: [2448] 2448,46 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[5, 92, 7], Operations: ['68-61=7'] Exploring Operation: 7-5=2, Resulting Numbers: [92, 2] Generated Node #0,2,0: 46:[92, 2] Operation: 7-5=2 Exploring Operation: 92-5=87, Resulting Numbers: [7, 87] Generated Node #0,2,1: 46:[7, 87] Operation: 92-5=87 Exploring Operation: 92-7=85, Resulting Numbers: [5, 85] Generated Node #0,2,2: 46:[5, 85] Operation: 92-7=85 Exploring Operation: 5+92=97, Resulting Numbers: [7, 97] Generated Node #0,2,3: 46:[7, 97] Operation: 5+92=97 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 46:[5, 85], Operations: ['68-61=7', '92-7=85'] Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 5*85=425, Resulting Numbers: [425] 425,46 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[92, 2], Operations: ['68-61=7', '7-5=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[5, 92, 61, 68], Operations: [] Exploring Operation: 68-61=7, Resulting Numbers: [5, 92, 7] Generated Node #0,2: 46:[5, 92, 7] Operation: 68-61=7 Moving to Node #0,2 Current State: 46:[5, 92, 7], Operations: ['68-61=7'] Exploring Operation: 7-5=2, Resulting Numbers: [92, 2] Generated Node #0,2,0: 46:[92, 2] Operation: 7-5=2 Moving to Node #0,2,0 Current State: 46:[92, 2], Operations: ['68-61=7', '7-5=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.956597
hs_4
sum_heuristic
[ 83, 15, 44, 5 ]
42
[ "83-44=39", "15/5=3", "39+3=42" ]
Current State: 42:[83, 15, 44, 5], Operations: [] Exploring Operation: 83-44=39, Resulting Numbers: [15, 5, 39] Generated Node #2: [15, 5, 39] from Operation: 83-44=39 Current State: 42:[15, 5, 39], Operations: ['83-44=39'] Exploring Operation: 15/5=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 15/5=3 Current State: 42:[39, 3], Operations: ['83-44=39', '15/5=3'] Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[83, 15, 44, 5], Operations: [] Exploring Operation: 83-15=68, Resulting Numbers: [44, 5, 68] Generated Node #0,0: 42:[44, 5, 68] Operation: 83-15=68 Exploring Operation: 83-44=39, Resulting Numbers: [15, 5, 39] Generated Node #0,1: 42:[15, 5, 39] Operation: 83-44=39 Exploring Operation: 83-5=78, Resulting Numbers: [15, 44, 78] Generated Node #0,2: 42:[15, 44, 78] Operation: 83-5=78 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[15, 5, 39], Operations: ['83-44=39'] Exploring Operation: 15/5=3, Resulting Numbers: [39, 3] Generated Node #0,1,0: 42:[39, 3] Operation: 15/5=3 Exploring Operation: 15+5=20, Resulting Numbers: [39, 20] Generated Node #0,1,1: 42:[39, 20] Operation: 15+5=20 Exploring Operation: 5+39=44, Resulting Numbers: [15, 44] Generated Node #0,1,2: 42:[15, 44] Operation: 5+39=44 Moving to Node #0,1,0 Current State: 42:[39, 3], Operations: ['83-44=39', '15/5=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[83, 15, 44, 5], Operations: [] Exploring Operation: 83-44=39, Resulting Numbers: [15, 5, 39] Generated Node #0,1: 42:[15, 5, 39] Operation: 83-44=39 Moving to Node #0,1 Current State: 42:[15, 5, 39], Operations: ['83-44=39'] Exploring Operation: 15/5=3, Resulting Numbers: [39, 3] Generated Node #0,1,0: 42:[39, 3] Operation: 15/5=3 Moving to Node #0,1,0 Current State: 42:[39, 3], Operations: ['83-44=39', '15/5=3'] Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 17, 58, 19, 97 ]
57
[ "17*58=986", "97+986=1083", "1083/19=57" ]
Current State: 57:[17, 58, 19, 97], Operations: [] Exploring Operation: 17*58=986, Resulting Numbers: [19, 97, 986] Generated Node #2: [19, 97, 986] from Operation: 17*58=986 Current State: 57:[19, 97, 986], Operations: ['17*58=986'] Exploring Operation: 97+986=1083, Resulting Numbers: [19, 1083] Generated Node #3: [19, 1083] from Operation: 97+986=1083 Current State: 57:[19, 1083], Operations: ['17*58=986', '97+986=1083'] Exploring Operation: 1083/19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[17, 58, 19, 97], Operations: [] Exploring Operation: 97-58=39, Resulting Numbers: [17, 19, 39] Generated Node #0,0: 57:[17, 19, 39] Operation: 97-58=39 Exploring Operation: 97-19=78, Resulting Numbers: [17, 58, 78] Generated Node #0,1: 57:[17, 58, 78] Operation: 97-19=78 Exploring Operation: 97-17=80, Resulting Numbers: [58, 19, 80] Generated Node #0,2: 57:[58, 19, 80] Operation: 97-17=80 Moving to Node #0,0 Current State: 57:[17, 19, 39], Operations: ['97-58=39'] Exploring Operation: 39-17=22, Resulting Numbers: [19, 22] Generated Node #0,0,0: 57:[19, 22] Operation: 39-17=22 Exploring Operation: 19+39=58, Resulting Numbers: [17, 58] Generated Node #0,0,1: 57:[17, 58] Operation: 19+39=58 Exploring Operation: 17+39=56, Resulting Numbers: [19, 56] Generated Node #0,0,2: 57:[19, 56] Operation: 17+39=56 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[19, 56], Operations: ['97-58=39', '17+39=56'] Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 19*56=1064, Resulting Numbers: [1064] 1064,57 unequal: No Solution Exploring Operation: 19+56=75, Resulting Numbers: [75] 75,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[19, 22], Operations: ['97-58=39', '39-17=22'] Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,57 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[17, 58], Operations: ['97-58=39', '19+39=58'] Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 17+58=75, Resulting Numbers: [75] 75,57 unequal: No Solution Exploring Operation: 17*58=986, Resulting Numbers: [986] 986,57 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: 57:[17, 58, 78], Operations: ['97-19=78'] Exploring Operation: 78-17=61, Resulting Numbers: [58, 61] Generated Node #0,1,0: 57:[58, 61] Operation: 78-17=61 Exploring Operation: 78-58=20, Resulting Numbers: [17, 20] Generated Node #0,1,1: 57:[17, 20] Operation: 78-58=20 Exploring Operation: 58-17=41, Resulting Numbers: [78, 41] Generated Node #0,1,2: 57:[78, 41] Operation: 58-17=41 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[17, 20], Operations: ['97-19=78', '78-58=20'] Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[58, 61], Operations: ['97-19=78', '78-17=61'] Exploring Operation: 58+61=119, Resulting Numbers: [119] 119,57 unequal: No Solution Exploring Operation: 58*61=3538, Resulting Numbers: [3538] 3538,57 unequal: No Solution Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 57:[78, 41], Operations: ['97-19=78', '58-17=41'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,57 unequal: No Solution Exploring Operation: 78*41=3198, Resulting Numbers: [3198] 3198,57 unequal: No Solution Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,57 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: 57:[58, 19, 80], Operations: ['97-17=80'] Exploring Operation: 80-58=22, Resulting Numbers: [19, 22] Generated Node #0,2,0: 57:[19, 22] Operation: 80-58=22 Exploring Operation: 58-19=39, Resulting Numbers: [80, 39] Generated Node #0,2,1: 57:[80, 39] Operation: 58-19=39 Exploring Operation: 80-19=61, Resulting Numbers: [58, 61] Generated Node #0,2,2: 57:[58, 61] Operation: 80-19=61 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[19, 22], Operations: ['97-17=80', '80-58=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[58, 61], Operations: ['97-17=80', '80-19=61'] Exploring Operation: 58*61=3538, Resulting Numbers: [3538] 3538,57 unequal: No Solution Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 58+61=119, Resulting Numbers: [119] 119,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[80, 39], Operations: ['97-17=80', '58-19=39'] Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 80+39=119, Resulting Numbers: [119] 119,57 unequal: No Solution Exploring Operation: 80*39=3120, Resulting Numbers: [3120] 3120,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 17, 55, 32, 85 ]
79
[ "55-17=38", "32+85=117", "117-38=79" ]
Current State: 79:[17, 55, 32, 85], Operations: [] Exploring Operation: 55-17=38, Resulting Numbers: [32, 85, 38] Generated Node #2: [32, 85, 38] from Operation: 55-17=38 Current State: 79:[32, 85, 38], Operations: ['55-17=38'] Exploring Operation: 32+85=117, Resulting Numbers: [38, 117] Generated Node #3: [38, 117] from Operation: 32+85=117 Current State: 79:[38, 117], Operations: ['55-17=38', '32+85=117'] Exploring Operation: 117-38=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[17, 55, 32, 85], Operations: [] Exploring Operation: 17+55=72, Resulting Numbers: [32, 85, 72] Generated Node #0,0: 79:[32, 85, 72] Operation: 17+55=72 Exploring Operation: 17+32=49, Resulting Numbers: [55, 85, 49] Generated Node #0,1: 79:[55, 85, 49] Operation: 17+32=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[32, 85, 72], Operations: ['17+55=72'] Exploring Operation: 85-32=53, Resulting Numbers: [72, 53] Generated Node #0,0,0: 79:[72, 53] Operation: 85-32=53 Exploring Operation: 32+72=104, Resulting Numbers: [85, 104] Generated Node #0,0,1: 79:[85, 104] Operation: 32+72=104 Moving to Node #0,0,1 Current State: 79:[85, 104], Operations: ['17+55=72', '32+72=104'] Exploring Operation: 85+104=189, Resulting Numbers: [189] 189,79 unequal: No Solution Exploring Operation: 104-85=19, Resulting Numbers: [19] 19,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[72, 53], Operations: ['17+55=72', '85-32=53'] Exploring Operation: 72+53=125, Resulting Numbers: [125] 125,79 unequal: No Solution Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[55, 85, 49], Operations: ['17+32=49'] Exploring Operation: 85-49=36, Resulting Numbers: [55, 36] Generated Node #0,1,0: 79:[55, 36] Operation: 85-49=36 Exploring Operation: 55+49=104, Resulting Numbers: [85, 104] Generated Node #0,1,1: 79:[85, 104] Operation: 55+49=104 Moving to Node #0,1,1 Current State: 79:[85, 104], Operations: ['17+32=49', '55+49=104'] Exploring Operation: 104-85=19, Resulting Numbers: [19] 19,79 unequal: No Solution Exploring Operation: 85+104=189, Resulting Numbers: [189] 189,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[55, 36], Operations: ['17+32=49', '85-49=36'] Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,79 unequal: No Solution Exploring Operation: 55+36=91, Resulting Numbers: [91] 91,79 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
[ 55, 8, 55, 71 ]
73
[ "71-55=16", "8*16=128", "128-55=73" ]
Current State: 73:[55, 8, 55, 71], Operations: [] Exploring Operation: 71-55=16, Resulting Numbers: [8, 16] Generated Node #2: [8, 16] from Operation: 71-55=16 Current State: 73:[8, 16], Operations: ['71-55=16'] Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,73 equal: Goal Reached Exploring Operation: 128-55=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[55, 8, 55, 71], Operations: [] Exploring Operation: 55+8=63, Resulting Numbers: [55, 71, 63] Generated Node #0,0: 73:[55, 71, 63] Operation: 55+8=63 Exploring Operation: 8+55=63, Resulting Numbers: [55, 71, 63] Generated Node #0,1: 73:[55, 71, 63] Operation: 8+55=63 Moving to Node #0,0 Current State: 73:[55, 71, 63], Operations: ['55+8=63'] Exploring Operation: 55+63=118, Resulting Numbers: [71, 118] Generated Node #0,0,0: 73:[71, 118] Operation: 55+63=118 Exploring Operation: 55+71=126, Resulting Numbers: [63, 126] Generated Node #0,0,1: 73:[63, 126] Operation: 55+71=126 Moving to Node #0,1 Current State: 73:[55, 71, 63], Operations: ['8+55=63'] Exploring Operation: 55+63=118, Resulting Numbers: [71, 118] Generated Node #0,1,0: 73:[71, 118] Operation: 55+63=118 Exploring Operation: 55+71=126, Resulting Numbers: [63, 126] Generated Node #0,1,1: 73:[63, 126] Operation: 55+71=126 Moving to Node #0,0,0 Current State: 73:[71, 118], Operations: ['55+8=63', '55+63=118'] Exploring Operation: 71+118=189, Resulting Numbers: [189] 189,73 unequal: No Solution Exploring Operation: 118-71=47, Resulting Numbers: [47] 47,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[71, 118], Operations: ['8+55=63', '55+63=118'] Exploring Operation: 118-71=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 71+118=189, Resulting Numbers: [189] 189,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[63, 126], Operations: ['55+8=63', '55+71=126'] Exploring Operation: 126/63=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 126-63=63, Resulting Numbers: [63] 63,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[63, 126], Operations: ['8+55=63', '55+71=126'] Exploring Operation: 126-63=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 126/63=2, Resulting Numbers: [2] 2,73 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 15, 38, 79, 14 ]
12
[ "15+38=53", "79-14=65", "65-53=12" ]
Current State: 12:[15, 38, 79, 14], Operations: [] Exploring Operation: 15+38=53, Resulting Numbers: [79, 14, 53] Generated Node #2: [79, 14, 53] from Operation: 15+38=53 Current State: 12:[79, 14, 53], Operations: ['15+38=53'] Exploring Operation: 79-14=65, Resulting Numbers: [53, 65] Generated Node #3: [53, 65] from Operation: 79-14=65 Current State: 12:[53, 65], Operations: ['15+38=53', '79-14=65'] Exploring Operation: 65-53=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[15, 38, 79, 14], Operations: [] Exploring Operation: 38-14=24, Resulting Numbers: [15, 79, 24] Generated Node #0,0: 12:[15, 79, 24] Operation: 38-14=24 Exploring Operation: 79-14=65, Resulting Numbers: [15, 38, 65] Generated Node #0,1: 12:[15, 38, 65] Operation: 79-14=65 Exploring Operation: 38-15=23, Resulting Numbers: [79, 14, 23] Generated Node #0,2: 12:[79, 14, 23] Operation: 38-15=23 Exploring Operation: 79-38=41, Resulting Numbers: [15, 14, 41] Generated Node #0,3: 12:[15, 14, 41] Operation: 79-38=41 Exploring Operation: 79-15=64, Resulting Numbers: [38, 14, 64] Generated Node #0,4: 12:[38, 14, 64] Operation: 79-15=64 Moving to Node #0,3 Current State: 12:[15, 14, 41], Operations: ['79-38=41'] Exploring Operation: 15-14=1, Resulting Numbers: [41, 1] Generated Node #0,3,0: 12:[41, 1] Operation: 15-14=1 Exploring Operation: 41-14=27, Resulting Numbers: [15, 27] Generated Node #0,3,1: 12:[15, 27] Operation: 41-14=27 Exploring Operation: 15+41=56, Resulting Numbers: [14, 56] Generated Node #0,3,2: 12:[14, 56] Operation: 15+41=56 Exploring Operation: 15+14=29, Resulting Numbers: [41, 29] Generated Node #0,3,3: 12:[41, 29] Operation: 15+14=29 Exploring Operation: 41-15=26, Resulting Numbers: [14, 26] Generated Node #0,3,4: 12:[14, 26] Operation: 41-15=26 Moving to Node #0,4 Current State: 12:[38, 14, 64], Operations: ['79-15=64'] Exploring Operation: 38+64=102, Resulting Numbers: [14, 102] Generated Node #0,4,0: 12:[14, 102] Operation: 38+64=102 Exploring Operation: 38-14=24, Resulting Numbers: [64, 24] Generated Node #0,4,1: 12:[64, 24] Operation: 38-14=24 Exploring Operation: 38+14=52, Resulting Numbers: [64, 52] Generated Node #0,4,2: 12:[64, 52] Operation: 38+14=52 Exploring Operation: 64-14=50, Resulting Numbers: [38, 50] Generated Node #0,4,3: 12:[38, 50] Operation: 64-14=50 Exploring Operation: 64-38=26, Resulting Numbers: [14, 26] Generated Node #0,4,4: 12:[14, 26] Operation: 64-38=26 Moving to Node #0,2 Current State: 12:[79, 14, 23], Operations: ['38-15=23'] Exploring Operation: 79-23=56, Resulting Numbers: [14, 56] Generated Node #0,2,0: 12:[14, 56] Operation: 79-23=56 Exploring Operation: 23-14=9, Resulting Numbers: [79, 9] Generated Node #0,2,1: 12:[79, 9] Operation: 23-14=9 Exploring Operation: 79-14=65, Resulting Numbers: [23, 65] Generated Node #0,2,2: 12:[23, 65] Operation: 79-14=65 Exploring Operation: 79+23=102, Resulting Numbers: [14, 102] Generated Node #0,2,3: 12:[14, 102] Operation: 79+23=102 Exploring Operation: 79+14=93, Resulting Numbers: [23, 93] Generated Node #0,2,4: 12:[23, 93] Operation: 79+14=93 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[14, 56], Operations: ['38-15=23', '79-23=56'] Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 14+56=70, Resulting Numbers: [70] 70,12 unequal: No Solution Exploring Operation: 14*56=784, Resulting Numbers: [784] 784,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[23, 65], Operations: ['38-15=23', '79-14=65'] Exploring Operation: 23+65=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 23*65=1495, Resulting Numbers: [1495] 1495,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[79, 9], Operations: ['38-15=23', '23-14=9'] Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,12 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,12 unequal: No Solution Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 12:[14, 102], Operations: ['38-15=23', '79+23=102'] Exploring Operation: 102-14=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 14+102=116, Resulting Numbers: [116] 116,12 unequal: No Solution Exploring Operation: 14*102=1428, Resulting Numbers: [1428] 1428,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 12:[23, 93], Operations: ['38-15=23', '79+14=93'] Exploring Operation: 23+93=116, Resulting Numbers: [116] 116,12 unequal: No Solution Exploring Operation: 23*93=2139, Resulting Numbers: [2139] 2139,12 unequal: No Solution Exploring Operation: 93-23=70, Resulting Numbers: [70] 70,12 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: 12:[15, 79, 24], Operations: ['38-14=24'] Exploring Operation: 79-24=55, Resulting Numbers: [15, 55] Generated Node #0,0,0: 12:[15, 55] Operation: 79-24=55 Exploring Operation: 15+24=39, Resulting Numbers: [79, 39] Generated Node #0,0,1: 12:[79, 39] Operation: 15+24=39 Exploring Operation: 79-15=64, Resulting Numbers: [24, 64] Generated Node #0,0,2: 12:[24, 64] Operation: 79-15=64 Exploring Operation: 15+79=94, Resulting Numbers: [24, 94] Generated Node #0,0,3: 12:[24, 94] Operation: 15+79=94 Exploring Operation: 24-15=9, Resulting Numbers: [79, 9] Generated Node #0,0,4: 12:[79, 9] Operation: 24-15=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[15, 55], Operations: ['38-14=24', '79-24=55'] Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 15*55=825, Resulting Numbers: [825] 825,12 unequal: No Solution Exploring Operation: 15+55=70, Resulting Numbers: [70] 70,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[24, 64], Operations: ['38-14=24', '79-15=64'] Exploring Operation: 24+64=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 24*64=1536, Resulting Numbers: [1536] 1536,12 unequal: No Solution Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 12:[79, 9], Operations: ['38-14=24', '24-15=9'] Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,12 unequal: No Solution Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[79, 39], Operations: ['38-14=24', '15+24=39'] Exploring Operation: 79+39=118, Resulting Numbers: [118] 118,12 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 79*39=3081, Resulting Numbers: [3081] 3081,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 12:[24, 94], Operations: ['38-14=24', '15+79=94'] Exploring Operation: 24*94=2256, Resulting Numbers: [2256] 2256,12 unequal: No Solution Exploring Operation: 24+94=118, Resulting Numbers: [118] 118,12 unequal: No Solution Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,12 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: 12:[15, 38, 65], Operations: ['79-14=65'] Exploring Operation: 65-15=50, Resulting Numbers: [38, 50] Generated Node #0,1,0: 12:[38, 50] Operation: 65-15=50 Exploring Operation: 15+65=80, Resulting Numbers: [38, 80] Generated Node #0,1,1: 12:[38, 80] Operation: 15+65=80 Exploring Operation: 38-15=23, Resulting Numbers: [65, 23] Generated Node #0,1,2: 12:[65, 23] Operation: 38-15=23 Exploring Operation: 15+38=53, Resulting Numbers: [65, 53] Generated Node #0,1,3: 12:[65, 53] Operation: 15+38=53 Exploring Operation: 65-38=27, Resulting Numbers: [15, 27] Generated Node #0,1,4: 12:[15, 27] Operation: 65-38=27 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 12:[15, 27], Operations: ['79-14=65', '65-38=27'] Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[15, 38, 79, 14], Operations: [] Exploring Operation: 79-14=65, Resulting Numbers: [15, 38, 65] Generated Node #0,1: 12:[15, 38, 65] Operation: 79-14=65 Moving to Node #0,1 Current State: 12:[15, 38, 65], Operations: ['79-14=65'] Exploring Operation: 65-38=27, Resulting Numbers: [15, 27] Generated Node #0,1,4: 12:[15, 27] Operation: 65-38=27 Moving to Node #0,1,4 Current State: 12:[15, 27], Operations: ['79-14=65', '65-38=27'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_5
mult_heuristic
[ 3, 69, 43, 27 ]
51
[ "69-43=26", "3*26=78", "78-27=51" ]
Current State: 51:[3, 69, 43, 27], Operations: [] Exploring Operation: 69-43=26, Resulting Numbers: [3, 27, 26] Generated Node #2: [3, 27, 26] from Operation: 69-43=26 Current State: 51:[3, 27, 26], Operations: ['69-43=26'] Exploring Operation: 3*26=78, Resulting Numbers: [27, 78] Generated Node #3: [27, 78] from Operation: 3*26=78 Current State: 51:[27, 78], Operations: ['69-43=26', '3*26=78'] Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[3, 69, 43, 27], Operations: [] Exploring Operation: 69-27=42, Resulting Numbers: [3, 43, 42] Generated Node #0,0: 51:[3, 43, 42] Operation: 69-27=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[3, 43, 42], Operations: ['69-27=42'] Exploring Operation: 43-42=1, Resulting Numbers: [3, 1] Generated Node #0,0,0: 51:[3, 1] Operation: 43-42=1 Moving to Node #0,0,0 Current State: 51:[3, 1], Operations: ['69-27=42', '43-42=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 62, 19, 41, 64 ]
30
[ "64-62=2", "19+41=60", "60/2=30" ]
Current State: 30:[62, 19, 41, 64], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [19, 41, 2] Generated Node #2: [19, 41, 2] from Operation: 64-62=2 Current State: 30:[19, 41, 2], Operations: ['64-62=2'] Exploring Operation: 19+41=60, Resulting Numbers: [2, 60] Generated Node #3: [2, 60] from Operation: 19+41=60 Current State: 30:[2, 60], Operations: ['64-62=2', '19+41=60'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[62, 19, 41, 64], Operations: [] Exploring Operation: 64-41=23, Resulting Numbers: [62, 19, 23] Generated Node #0,0: 30:[62, 19, 23] Operation: 64-41=23 Exploring Operation: 64-62=2, Resulting Numbers: [19, 41, 2] Generated Node #0,1: 30:[19, 41, 2] Operation: 64-62=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[19, 41, 2], Operations: ['64-62=2'] Exploring Operation: 41-19=22, Resulting Numbers: [2, 22] Generated Node #0,1,0: 30:[2, 22] Operation: 41-19=22 Exploring Operation: 19-2=17, Resulting Numbers: [41, 17] Generated Node #0,1,1: 30:[41, 17] Operation: 19-2=17 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[2, 22], Operations: ['64-62=2', '41-19=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 30:[41, 17], Operations: ['64-62=2', '19-2=17'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[62, 19, 23], Operations: ['64-41=23'] Exploring Operation: 62-19=43, Resulting Numbers: [23, 43] Generated Node #0,0,0: 30:[23, 43] Operation: 62-19=43 Exploring Operation: 62-23=39, Resulting Numbers: [19, 39] Generated Node #0,0,1: 30:[19, 39] Operation: 62-23=39 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 30:[19, 39], Operations: ['64-41=23', '62-23=39'] Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,30 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[23, 43], Operations: ['64-41=23', '62-19=43'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 55, 37, 38, 26 ]
80
[ "55+37=92", "38-26=12", "92-12=80" ]
Current State: 80:[55, 37, 38, 26], Operations: [] Exploring Operation: 55+37=92, Resulting Numbers: [38, 26, 92] Generated Node #2: [38, 26, 92] from Operation: 55+37=92 Current State: 80:[38, 26, 92], Operations: ['55+37=92'] Exploring Operation: 38-26=12, Resulting Numbers: [92, 12] Generated Node #3: [92, 12] from Operation: 38-26=12 Current State: 80:[92, 12], Operations: ['55+37=92', '38-26=12'] Exploring Operation: 92-12=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[55, 37, 38, 26], Operations: [] Exploring Operation: 55+26=81, Resulting Numbers: [37, 38, 81] Generated Node #0,0: 80:[37, 38, 81] Operation: 55+26=81 Exploring Operation: 55-38=17, Resulting Numbers: [37, 26, 17] Generated Node #0,1: 80:[37, 26, 17] Operation: 55-38=17 Exploring Operation: 55-37=18, Resulting Numbers: [38, 26, 18] Generated Node #0,2: 80:[38, 26, 18] Operation: 55-37=18 Moving to Node #0,0 Current State: 80:[37, 38, 81], Operations: ['55+26=81'] Exploring Operation: 37+38=75, Resulting Numbers: [81, 75] Generated Node #0,0,0: 80:[81, 75] Operation: 37+38=75 Exploring Operation: 38-37=1, Resulting Numbers: [81, 1] Generated Node #0,0,1: 80:[81, 1] Operation: 38-37=1 Exploring Operation: 81-37=44, Resulting Numbers: [38, 44] Generated Node #0,0,2: 80:[38, 44] Operation: 81-37=44 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[81, 1], Operations: ['55+26=81', '38-37=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[55, 37, 38, 26], Operations: [] Exploring Operation: 55+26=81, Resulting Numbers: [37, 38, 81] Generated Node #0,0: 80:[37, 38, 81] Operation: 55+26=81 Moving to Node #0,0 Current State: 80:[37, 38, 81], Operations: ['55+26=81'] Exploring Operation: 38-37=1, Resulting Numbers: [81, 1] Generated Node #0,0,1: 80:[81, 1] Operation: 38-37=1 Moving to Node #0,0,1 Current State: 80:[81, 1], Operations: ['55+26=81', '38-37=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 8, 16, 93, 59 ]
94
[ "8*16=128", "93-59=34", "128-34=94" ]
Current State: 94:[8, 16, 93, 59], Operations: [] Exploring Operation: 8*16=128, Resulting Numbers: [93, 59, 128] Generated Node #2: [93, 59, 128] from Operation: 8*16=128 Current State: 94:[93, 59, 128], Operations: ['8*16=128'] Exploring Operation: 93-59=34, Resulting Numbers: [128, 34] Generated Node #3: [128, 34] from Operation: 93-59=34 Current State: 94:[128, 34], Operations: ['8*16=128', '93-59=34'] Exploring Operation: 128-34=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[8, 16, 93, 59], Operations: [] Exploring Operation: 59-16=43, Resulting Numbers: [8, 93, 43] Generated Node #0,0: 94:[8, 93, 43] Operation: 59-16=43 Exploring Operation: 16/8=2, Resulting Numbers: [93, 59, 2] Generated Node #0,1: 94:[93, 59, 2] Operation: 16/8=2 Moving to Node #0,0 Current State: 94:[8, 93, 43], Operations: ['59-16=43'] Exploring Operation: 8+43=51, Resulting Numbers: [93, 51] Generated Node #0,0,0: 94:[93, 51] Operation: 8+43=51 Exploring Operation: 93-43=50, Resulting Numbers: [8, 50] Generated Node #0,0,1: 94:[8, 50] Operation: 93-43=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[93, 51], Operations: ['59-16=43', '8+43=51'] Exploring Operation: 93-51=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 93+51=144, Resulting Numbers: [144] 144,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[8, 50], Operations: ['59-16=43', '93-43=50'] Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,94 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,94 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: 94:[93, 59, 2], Operations: ['16/8=2'] Exploring Operation: 93-59=34, Resulting Numbers: [2, 34] Generated Node #0,1,0: 94:[2, 34] Operation: 93-59=34 Exploring Operation: 59-2=57, Resulting Numbers: [93, 57] Generated Node #0,1,1: 94:[93, 57] Operation: 59-2=57 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[93, 57], Operations: ['16/8=2', '59-2=57'] Exploring Operation: 93+57=150, Resulting Numbers: [150] 150,94 unequal: No Solution Exploring Operation: 93-57=36, Resulting Numbers: [36] 36,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[2, 34], Operations: ['16/8=2', '93-59=34'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,94 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
[ 33, 4, 68, 14 ]
83
[ "33-4=29", "68-14=54", "29+54=83" ]
Current State: 83:[33, 4, 68, 14], Operations: [] Exploring Operation: 33-4=29, Resulting Numbers: [68, 14, 29] Generated Node #2: [68, 14, 29] from Operation: 33-4=29 Current State: 83:[68, 14, 29], Operations: ['33-4=29'] Exploring Operation: 68-14=54, Resulting Numbers: [29, 54] Generated Node #3: [29, 54] from Operation: 68-14=54 Current State: 83:[29, 54], Operations: ['33-4=29', '68-14=54'] Exploring Operation: 29+54=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[33, 4, 68, 14], Operations: [] Exploring Operation: 4*14=56, Resulting Numbers: [33, 68, 56] Generated Node #0,0: 83:[33, 68, 56] Operation: 4*14=56 Exploring Operation: 33+4=37, Resulting Numbers: [68, 14, 37] Generated Node #0,1: 83:[68, 14, 37] Operation: 33+4=37 Exploring Operation: 33+14=47, Resulting Numbers: [4, 68, 47] Generated Node #0,2: 83:[4, 68, 47] Operation: 33+14=47 Moving to Node #0,0 Current State: 83:[33, 68, 56], Operations: ['4*14=56'] Exploring Operation: 33+56=89, Resulting Numbers: [68, 89] Generated Node #0,0,0: 83:[68, 89] Operation: 33+56=89 Exploring Operation: 33+68=101, Resulting Numbers: [56, 101] Generated Node #0,0,1: 83:[56, 101] Operation: 33+68=101 Exploring Operation: 68-33=35, Resulting Numbers: [56, 35] Generated Node #0,0,2: 83:[56, 35] Operation: 68-33=35 Moving to Node #0,1 Current State: 83:[68, 14, 37], Operations: ['33+4=37'] Exploring Operation: 68-14=54, Resulting Numbers: [37, 54] Generated Node #0,1,0: 83:[37, 54] Operation: 68-14=54 Exploring Operation: 68+14=82, Resulting Numbers: [37, 82] Generated Node #0,1,1: 83:[37, 82] Operation: 68+14=82 Exploring Operation: 14+37=51, Resulting Numbers: [68, 51] Generated Node #0,1,2: 83:[68, 51] Operation: 14+37=51 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[37, 82], Operations: ['33+4=37', '68+14=82'] Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,83 unequal: No Solution Exploring Operation: 37*82=3034, Resulting Numbers: [3034] 3034,83 unequal: No Solution Exploring Operation: 37+82=119, Resulting Numbers: [119] 119,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[68, 51], Operations: ['33+4=37', '14+37=51'] Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 68+51=119, Resulting Numbers: [119] 119,83 unequal: No Solution Exploring Operation: 68*51=3468, Resulting Numbers: [3468] 3468,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[37, 54], Operations: ['33+4=37', '68-14=54'] Exploring Operation: 37*54=1998, Resulting Numbers: [1998] 1998,83 unequal: No Solution Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 37+54=91, Resulting Numbers: [91] 91,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 83:[4, 68, 47], Operations: ['33+14=47'] Exploring Operation: 4+68=72, Resulting Numbers: [47, 72] Generated Node #0,2,0: 83:[47, 72] Operation: 4+68=72 Exploring Operation: 4+47=51, Resulting Numbers: [68, 51] Generated Node #0,2,1: 83:[68, 51] Operation: 4+47=51 Exploring Operation: 68-4=64, Resulting Numbers: [47, 64] Generated Node #0,2,2: 83:[47, 64] Operation: 68-4=64 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[47, 72], Operations: ['33+14=47', '4+68=72'] Exploring Operation: 47*72=3384, Resulting Numbers: [3384] 3384,83 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 47+72=119, Resulting Numbers: [119] 119,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[68, 51], Operations: ['33+14=47', '4+47=51'] Exploring Operation: 68+51=119, Resulting Numbers: [119] 119,83 unequal: No Solution Exploring Operation: 68*51=3468, Resulting Numbers: [3468] 3468,83 unequal: No Solution Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[47, 64], Operations: ['33+14=47', '68-4=64'] Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 47*64=3008, Resulting Numbers: [3008] 3008,83 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: 83:[68, 89], Operations: ['4*14=56', '33+56=89'] Exploring Operation: 68+89=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 68*89=6052, Resulting Numbers: [6052] 6052,83 unequal: No Solution Exploring Operation: 89-68=21, Resulting Numbers: [21] 21,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[56, 101], Operations: ['4*14=56', '33+68=101'] Exploring Operation: 101-56=45, Resulting Numbers: [45] 45,83 unequal: No Solution Exploring Operation: 56*101=5656, Resulting Numbers: [5656] 5656,83 unequal: No Solution Exploring Operation: 56+101=157, Resulting Numbers: [157] 157,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[56, 35], Operations: ['4*14=56', '68-33=35'] Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 56+35=91, Resulting Numbers: [91] 91,83 unequal: No Solution Exploring Operation: 56*35=1960, Resulting Numbers: [1960] 1960,83 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 55, 27, 4, 61 ]
25
[ "55+27=82", "61-4=57", "82-57=25" ]
Current State: 25:[55, 27, 4, 61], Operations: [] Exploring Operation: 55+27=82, Resulting Numbers: [4, 61, 82] Generated Node #2: [4, 61, 82] from Operation: 55+27=82 Current State: 25:[4, 61, 82], Operations: ['55+27=82'] Exploring Operation: 61-4=57, Resulting Numbers: [82, 57] Generated Node #3: [82, 57] from Operation: 61-4=57 Current State: 25:[82, 57], Operations: ['55+27=82', '61-4=57'] Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[55, 27, 4, 61], Operations: [] Exploring Operation: 55-27=28, Resulting Numbers: [4, 61, 28] Generated Node #0,0: 25:[4, 61, 28] Operation: 55-27=28 Exploring Operation: 55-4=51, Resulting Numbers: [27, 61, 51] Generated Node #0,1: 25:[27, 61, 51] Operation: 55-4=51 Exploring Operation: 61-27=34, Resulting Numbers: [55, 4, 34] Generated Node #0,2: 25:[55, 4, 34] Operation: 61-27=34 Exploring Operation: 61-55=6, Resulting Numbers: [27, 4, 6] Generated Node #0,3: 25:[27, 4, 6] Operation: 61-55=6 Moving to Node #0,3 Current State: 25:[27, 4, 6], Operations: ['61-55=6'] Exploring Operation: 27-4=23, Resulting Numbers: [6, 23] Generated Node #0,3,0: 25:[6, 23] Operation: 27-4=23 Exploring Operation: 6-4=2, Resulting Numbers: [27, 2] Generated Node #0,3,1: 25:[27, 2] Operation: 6-4=2 Exploring Operation: 4*6=24, Resulting Numbers: [27, 24] Generated Node #0,3,2: 25:[27, 24] Operation: 4*6=24 Exploring Operation: 27-6=21, Resulting Numbers: [4, 21] Generated Node #0,3,3: 25:[4, 21] Operation: 27-6=21 Moving to Node #0,2 Current State: 25:[55, 4, 34], Operations: ['61-27=34'] Exploring Operation: 55-4=51, Resulting Numbers: [34, 51] Generated Node #0,2,0: 25:[34, 51] Operation: 55-4=51 Exploring Operation: 55+4=59, Resulting Numbers: [34, 59] Generated Node #0,2,1: 25:[34, 59] Operation: 55+4=59 Exploring Operation: 55-34=21, Resulting Numbers: [4, 21] Generated Node #0,2,2: 25:[4, 21] Operation: 55-34=21 Exploring Operation: 34-4=30, Resulting Numbers: [55, 30] Generated Node #0,2,3: 25:[55, 30] Operation: 34-4=30 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[4, 21], Operations: ['61-27=34', '55-34=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[55, 27, 4, 61], Operations: [] Exploring Operation: 61-27=34, Resulting Numbers: [55, 4, 34] Generated Node #0,2: 25:[55, 4, 34] Operation: 61-27=34 Moving to Node #0,2 Current State: 25:[55, 4, 34], Operations: ['61-27=34'] Exploring Operation: 55-34=21, Resulting Numbers: [4, 21] Generated Node #0,2,2: 25:[4, 21] Operation: 55-34=21 Moving to Node #0,2,2 Current State: 25:[4, 21], Operations: ['61-27=34', '55-34=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 62, 30, 88, 20 ]
24
[ "62+30=92", "88-20=68", "92-68=24" ]
Current State: 24:[62, 30, 88, 20], Operations: [] Exploring Operation: 62+30=92, Resulting Numbers: [88, 20, 92] Generated Node #2: [88, 20, 92] from Operation: 62+30=92 Current State: 24:[88, 20, 92], Operations: ['62+30=92'] Exploring Operation: 88-20=68, Resulting Numbers: [92, 68] Generated Node #3: [92, 68] from Operation: 88-20=68 Current State: 24:[92, 68], Operations: ['62+30=92', '88-20=68'] Exploring Operation: 92-68=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[62, 30, 88, 20], Operations: [] Exploring Operation: 88-30=58, Resulting Numbers: [62, 20, 58] Generated Node #0,0: 24:[62, 20, 58] Operation: 88-30=58 Exploring Operation: 62-30=32, Resulting Numbers: [88, 20, 32] Generated Node #0,1: 24:[88, 20, 32] Operation: 62-30=32 Exploring Operation: 62-20=42, Resulting Numbers: [30, 88, 42] Generated Node #0,2: 24:[30, 88, 42] Operation: 62-20=42 Exploring Operation: 88-62=26, Resulting Numbers: [30, 20, 26] Generated Node #0,3: 24:[30, 20, 26] Operation: 88-62=26 Start Sub Search at level 1: Moving to Node #0,3 Current State: 24:[30, 20, 26], Operations: ['88-62=26'] Exploring Operation: 30-26=4, Resulting Numbers: [20, 4] Generated Node #0,3,0: 24:[20, 4] Operation: 30-26=4 Exploring Operation: 30+20=50, Resulting Numbers: [26, 50] Generated Node #0,3,1: 24:[26, 50] Operation: 30+20=50 Exploring Operation: 26-20=6, Resulting Numbers: [30, 6] Generated Node #0,3,2: 24:[30, 6] Operation: 26-20=6 Exploring Operation: 30-20=10, Resulting Numbers: [26, 10] Generated Node #0,3,3: 24:[26, 10] Operation: 30-20=10 Moving to Node #0,3,0 Current State: 24:[20, 4], Operations: ['88-62=26', '30-26=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,24 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[62, 30, 88, 20], Operations: [] Exploring Operation: 88-62=26, Resulting Numbers: [30, 20, 26] Generated Node #0,3: 24:[30, 20, 26] Operation: 88-62=26 Moving to Node #0,3 Current State: 24:[30, 20, 26], Operations: ['88-62=26'] Exploring Operation: 30-26=4, Resulting Numbers: [20, 4] Generated Node #0,3,0: 24:[20, 4] Operation: 30-26=4 Moving to Node #0,3,0 Current State: 24:[20, 4], Operations: ['88-62=26', '30-26=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 63, 37, 61, 44 ]
59
[ "63-61=2", "44/2=22", "37+22=59" ]
Current State: 59:[63, 37, 61, 44], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [37, 44, 2] Generated Node #2: [37, 44, 2] from Operation: 63-61=2 Current State: 59:[37, 44, 2], Operations: ['63-61=2'] Exploring Operation: 44/2=22, Resulting Numbers: [37, 22] Generated Node #3: [37, 22] from Operation: 44/2=22 Current State: 59:[37, 22], Operations: ['63-61=2', '44/2=22'] Exploring Operation: 37+22=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[63, 37, 61, 44], Operations: [] Exploring Operation: 63+37=100, Resulting Numbers: [61, 44, 100] Generated Node #0,0: 59:[61, 44, 100] Operation: 63+37=100 Exploring Operation: 61-37=24, Resulting Numbers: [63, 44, 24] Generated Node #0,1: 59:[63, 44, 24] Operation: 61-37=24 Exploring Operation: 63-37=26, Resulting Numbers: [61, 44, 26] Generated Node #0,2: 59:[61, 44, 26] Operation: 63-37=26 Exploring Operation: 37+44=81, Resulting Numbers: [63, 61, 81] Generated Node #0,3: 59:[63, 61, 81] Operation: 37+44=81 Moving to Node #0,3 Current State: 59:[63, 61, 81], Operations: ['37+44=81'] Exploring Operation: 81-63=18, Resulting Numbers: [61, 18] Generated Node #0,3,0: 59:[61, 18] Operation: 81-63=18 Exploring Operation: 63+61=124, Resulting Numbers: [81, 124] Generated Node #0,3,1: 59:[81, 124] Operation: 63+61=124 Exploring Operation: 63-61=2, Resulting Numbers: [81, 2] Generated Node #0,3,2: 59:[81, 2] Operation: 63-61=2 Exploring Operation: 81-61=20, Resulting Numbers: [63, 20] Generated Node #0,3,3: 59:[63, 20] Operation: 81-61=20 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[61, 18], Operations: ['37+44=81', '81-63=18'] Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 61*18=1098, Resulting Numbers: [1098] 1098,59 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[63, 20], Operations: ['37+44=81', '81-61=20'] Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,59 unequal: No Solution Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,59 unequal: No Solution Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[81, 2], Operations: ['37+44=81', '63-61=2'] Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,59 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 81*2=162, Resulting Numbers: [162] 162,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[81, 124], Operations: ['37+44=81', '63+61=124'] Exploring Operation: 81*124=10044, Resulting Numbers: [10044] 10044,59 unequal: No Solution Exploring Operation: 81+124=205, Resulting Numbers: [205] 205,59 unequal: No Solution Exploring Operation: 124-81=43, Resulting Numbers: [43] 43,59 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: 59:[61, 44, 26], Operations: ['63-37=26'] Exploring Operation: 44-26=18, Resulting Numbers: [61, 18] Generated Node #0,2,0: 59:[61, 18] Operation: 44-26=18 Exploring Operation: 61+26=87, Resulting Numbers: [44, 87] Generated Node #0,2,1: 59:[44, 87] Operation: 61+26=87 Exploring Operation: 61-26=35, Resulting Numbers: [44, 35] Generated Node #0,2,2: 59:[44, 35] Operation: 61-26=35 Exploring Operation: 44+26=70, Resulting Numbers: [61, 70] Generated Node #0,2,3: 59:[61, 70] Operation: 44+26=70 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 59:[61, 70], Operations: ['63-37=26', '44+26=70'] Exploring Operation: 61*70=4270, Resulting Numbers: [4270] 4270,59 unequal: No Solution Exploring Operation: 61+70=131, Resulting Numbers: [131] 131,59 unequal: No Solution Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[44, 35], Operations: ['63-37=26', '61-26=35'] Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,59 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[61, 18], Operations: ['63-37=26', '44-26=18'] Exploring Operation: 61*18=1098, Resulting Numbers: [1098] 1098,59 unequal: No Solution Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[44, 87], Operations: ['63-37=26', '61+26=87'] Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,59 unequal: No Solution Exploring Operation: 44+87=131, Resulting Numbers: [131] 131,59 unequal: No Solution Exploring Operation: 44*87=3828, Resulting Numbers: [3828] 3828,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[63, 44, 24], Operations: ['61-37=24'] Exploring Operation: 44-24=20, Resulting Numbers: [63, 20] Generated Node #0,1,0: 59:[63, 20] Operation: 44-24=20 Exploring Operation: 44+24=68, Resulting Numbers: [63, 68] Generated Node #0,1,1: 59:[63, 68] Operation: 44+24=68 Exploring Operation: 63-24=39, Resulting Numbers: [44, 39] Generated Node #0,1,2: 59:[44, 39] Operation: 63-24=39 Exploring Operation: 63+24=87, Resulting Numbers: [44, 87] Generated Node #0,1,3: 59:[44, 87] Operation: 63+24=87 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[63, 68], Operations: ['61-37=24', '44+24=68'] Exploring Operation: 63+68=131, Resulting Numbers: [131] 131,59 unequal: No Solution Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 63*68=4284, Resulting Numbers: [4284] 4284,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[44, 39], Operations: ['61-37=24', '63-24=39'] Exploring Operation: 44+39=83, Resulting Numbers: [83] 83,59 unequal: No Solution Exploring Operation: 44*39=1716, Resulting Numbers: [1716] 1716,59 unequal: No Solution Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[63, 20], Operations: ['61-37=24', '44-24=20'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,59 unequal: No Solution Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,59 unequal: No Solution Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[44, 87], Operations: ['61-37=24', '63+24=87'] Exploring Operation: 44+87=131, Resulting Numbers: [131] 131,59 unequal: No Solution Exploring Operation: 44*87=3828, Resulting Numbers: [3828] 3828,59 unequal: No Solution Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,59 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: 59:[61, 44, 100], Operations: ['63+37=100'] Exploring Operation: 61+44=105, Resulting Numbers: [100, 105] Generated Node #0,0,0: 59:[100, 105] Operation: 61+44=105 Exploring Operation: 61-44=17, Resulting Numbers: [100, 17] Generated Node #0,0,1: 59:[100, 17] Operation: 61-44=17 Exploring Operation: 100-61=39, Resulting Numbers: [44, 39] Generated Node #0,0,2: 59:[44, 39] Operation: 100-61=39 Exploring Operation: 100-44=56, Resulting Numbers: [61, 56] Generated Node #0,0,3: 59:[61, 56] Operation: 100-44=56 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[61, 56], Operations: ['63+37=100', '100-44=56'] Exploring Operation: 61+56=117, Resulting Numbers: [117] 117,59 unequal: No Solution Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 61*56=3416, Resulting Numbers: [3416] 3416,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[44, 39], Operations: ['63+37=100', '100-61=39'] Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 44*39=1716, Resulting Numbers: [1716] 1716,59 unequal: No Solution Exploring Operation: 44+39=83, Resulting Numbers: [83] 83,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[100, 17], Operations: ['63+37=100', '61-44=17'] Exploring Operation: 100*17=1700, Resulting Numbers: [1700] 1700,59 unequal: No Solution Exploring Operation: 100+17=117, Resulting Numbers: [117] 117,59 unequal: No Solution Exploring Operation: 100-17=83, Resulting Numbers: [83] 83,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[100, 105], Operations: ['63+37=100', '61+44=105'] Exploring Operation: 100+105=205, Resulting Numbers: [205] 205,59 unequal: No Solution Exploring Operation: 105-100=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 100*105=10500, Resulting Numbers: [10500] 10500,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 57, 54, 10, 23 ]
39
[ "57-54=3", "23-10=13", "3*13=39" ]
Current State: 39:[57, 54, 10, 23], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [10, 23, 3] Generated Node #2: [10, 23, 3] from Operation: 57-54=3 Current State: 39:[10, 23, 3], Operations: ['57-54=3'] Exploring Operation: 23-10=13, Resulting Numbers: [3, 13] Generated Node #3: [3, 13] from Operation: 23-10=13 Current State: 39:[3, 13], Operations: ['57-54=3', '23-10=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[57, 54, 10, 23], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [10, 23, 3] Generated Node #0,0: 39:[10, 23, 3] Operation: 57-54=3 Exploring Operation: 54-23=31, Resulting Numbers: [57, 10, 31] Generated Node #0,1: 39:[57, 10, 31] Operation: 54-23=31 Exploring Operation: 57-23=34, Resulting Numbers: [54, 10, 34] Generated Node #0,2: 39:[54, 10, 34] Operation: 57-23=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[10, 23, 3], Operations: ['57-54=3'] Exploring Operation: 10+23=33, Resulting Numbers: [3, 33] Generated Node #0,0,0: 39:[3, 33] Operation: 10+23=33 Exploring Operation: 10+3=13, Resulting Numbers: [23, 13] Generated Node #0,0,1: 39:[23, 13] Operation: 10+3=13 Exploring Operation: 23-10=13, Resulting Numbers: [3, 13] Generated Node #0,0,2: 39:[3, 13] Operation: 23-10=13 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 39:[3, 13], Operations: ['57-54=3', '23-10=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[57, 54, 10, 23], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [10, 23, 3] Generated Node #0,0: 39:[10, 23, 3] Operation: 57-54=3 Moving to Node #0,0 Current State: 39:[10, 23, 3], Operations: ['57-54=3'] Exploring Operation: 23-10=13, Resulting Numbers: [3, 13] Generated Node #0,0,2: 39:[3, 13] Operation: 23-10=13 Moving to Node #0,0,2 Current State: 39:[3, 13], Operations: ['57-54=3', '23-10=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 51, 67, 44, 7 ]
21
[ "67-51=16", "44-7=37", "37-16=21" ]
Current State: 21:[51, 67, 44, 7], Operations: [] Exploring Operation: 67-51=16, Resulting Numbers: [44, 7, 16] Generated Node #2: [44, 7, 16] from Operation: 67-51=16 Current State: 21:[44, 7, 16], Operations: ['67-51=16'] Exploring Operation: 44-7=37, Resulting Numbers: [16, 37] Generated Node #3: [16, 37] from Operation: 44-7=37 Current State: 21:[16, 37], Operations: ['67-51=16', '44-7=37'] Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[51, 67, 44, 7], Operations: [] Exploring Operation: 51-7=44, Resulting Numbers: [67, 44, 44] Generated Node #0,0: 21:[67, 44, 44] Operation: 51-7=44 Exploring Operation: 51-44=7, Resulting Numbers: [67, 7, 7] Generated Node #0,1: 21:[67, 7, 7] Operation: 51-44=7 Exploring Operation: 67-51=16, Resulting Numbers: [44, 7, 16] Generated Node #0,2: 21:[44, 7, 16] Operation: 67-51=16 Exploring Operation: 67-44=23, Resulting Numbers: [51, 7, 23] Generated Node #0,3: 21:[51, 7, 23] Operation: 67-44=23 Moving to Node #0,2 Current State: 21:[44, 7, 16], Operations: ['67-51=16'] Exploring Operation: 7+16=23, Resulting Numbers: [44, 23] Generated Node #0,2,0: 21:[44, 23] Operation: 7+16=23 Exploring Operation: 44-16=28, Resulting Numbers: [7, 28] Generated Node #0,2,1: 21:[7, 28] Operation: 44-16=28 Exploring Operation: 44-7=37, Resulting Numbers: [16, 37] Generated Node #0,2,2: 21:[16, 37] Operation: 44-7=37 Exploring Operation: 16-7=9, Resulting Numbers: [44, 9] Generated Node #0,2,3: 21:[44, 9] Operation: 16-7=9 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[7, 28], Operations: ['67-51=16', '44-16=28'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[51, 67, 44, 7], Operations: [] Exploring Operation: 67-51=16, Resulting Numbers: [44, 7, 16] Generated Node #0,2: 21:[44, 7, 16] Operation: 67-51=16 Moving to Node #0,2 Current State: 21:[44, 7, 16], Operations: ['67-51=16'] Exploring Operation: 44-16=28, Resulting Numbers: [7, 28] Generated Node #0,2,1: 21:[7, 28] Operation: 44-16=28 Moving to Node #0,2,1 Current State: 21:[7, 28], Operations: ['67-51=16', '44-16=28'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 35, 39, 24, 47 ]
53
[ "39-35=4", "24/4=6", "47+6=53" ]
Current State: 53:[35, 39, 24, 47], Operations: [] Exploring Operation: 39-35=4, Resulting Numbers: [24, 47, 4] Generated Node #2: [24, 47, 4] from Operation: 39-35=4 Current State: 53:[24, 47, 4], Operations: ['39-35=4'] Exploring Operation: 24/4=6, Resulting Numbers: [47, 6] Generated Node #3: [47, 6] from Operation: 24/4=6 Current State: 53:[47, 6], Operations: ['39-35=4', '24/4=6'] Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[35, 39, 24, 47], Operations: [] Exploring Operation: 39+24=63, Resulting Numbers: [35, 47, 63] Generated Node #0,0: 53:[35, 47, 63] Operation: 39+24=63 Exploring Operation: 35+24=59, Resulting Numbers: [39, 47, 59] Generated Node #0,1: 53:[39, 47, 59] Operation: 35+24=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[39, 47, 59], Operations: ['35+24=59'] Exploring Operation: 59-39=20, Resulting Numbers: [47, 20] Generated Node #0,1,0: 53:[47, 20] Operation: 59-39=20 Exploring Operation: 39+47=86, Resulting Numbers: [59, 86] Generated Node #0,1,1: 53:[59, 86] Operation: 39+47=86 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[47, 20], Operations: ['35+24=59', '59-39=20'] Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[59, 86], Operations: ['35+24=59', '39+47=86'] Exploring Operation: 59+86=145, Resulting Numbers: [145] 145,53 unequal: No Solution Exploring Operation: 86-59=27, Resulting Numbers: [27] 27,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[35, 47, 63], Operations: ['39+24=63'] Exploring Operation: 35+47=82, Resulting Numbers: [63, 82] Generated Node #0,0,0: 53:[63, 82] Operation: 35+47=82 Exploring Operation: 63-35=28, Resulting Numbers: [47, 28] Generated Node #0,0,1: 53:[47, 28] Operation: 63-35=28 Moving to Node #0,0,1 Current State: 53:[47, 28], Operations: ['39+24=63', '63-35=28'] Exploring Operation: 47+28=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[63, 82], Operations: ['39+24=63', '35+47=82'] Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 63+82=145, Resulting Numbers: [145] 145,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
sum_heuristic
[ 4, 94, 88, 17 ]
98
[ "94-88=6", "17*6=102", "102-4=98" ]
Current State: 98:[4, 94, 88, 17], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [4, 17, 6] Generated Node #2: [4, 17, 6] from Operation: 94-88=6 Current State: 98:[4, 17, 6], Operations: ['94-88=6'] Exploring Operation: 17*6=102, Resulting Numbers: [4, 102] Generated Node #3: [4, 102] from Operation: 17*6=102 Current State: 98:[4, 102], Operations: ['94-88=6', '17*6=102'] Exploring Operation: 102-4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[4, 94, 88, 17], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [4, 17, 6] Generated Node #0,0: 98:[4, 17, 6] Operation: 94-88=6 Moving to Node #0,0 Current State: 98:[4, 17, 6], Operations: ['94-88=6'] Exploring Operation: 17-4=13, Resulting Numbers: [6, 13] Generated Node #0,0,0: 98:[6, 13] Operation: 17-4=13 Moving to Node #0,0,0 Current State: 98:[6, 13], Operations: ['94-88=6', '17-4=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,98 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 58, 27, 10, 57 ]
78
[ "58-27=31", "57-10=47", "31+47=78" ]
Current State: 78:[58, 27, 10, 57], Operations: [] Exploring Operation: 58-27=31, Resulting Numbers: [10, 57, 31] Generated Node #2: [10, 57, 31] from Operation: 58-27=31 Current State: 78:[10, 57, 31], Operations: ['58-27=31'] Exploring Operation: 57-10=47, Resulting Numbers: [31, 47] Generated Node #3: [31, 47] from Operation: 57-10=47 Current State: 78:[31, 47], Operations: ['58-27=31', '57-10=47'] Exploring Operation: 31+47=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[58, 27, 10, 57], Operations: [] Exploring Operation: 58+27=85, Resulting Numbers: [10, 57, 85] Generated Node #0,0: 78:[10, 57, 85] Operation: 58+27=85 Exploring Operation: 58-57=1, Resulting Numbers: [27, 10, 1] Generated Node #0,1: 78:[27, 10, 1] Operation: 58-57=1 Exploring Operation: 58-27=31, Resulting Numbers: [10, 57, 31] Generated Node #0,2: 78:[10, 57, 31] Operation: 58-27=31 Exploring Operation: 57-27=30, Resulting Numbers: [58, 10, 30] Generated Node #0,3: 78:[58, 10, 30] Operation: 57-27=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[27, 10, 1], Operations: ['58-57=1'] Exploring Operation: 10+1=11, Resulting Numbers: [27, 11] Generated Node #0,1,0: 78:[27, 11] Operation: 10+1=11 Exploring Operation: 27*1=27, Resulting Numbers: [10, 27] Generated Node #0,1,1: 78:[10, 27] Operation: 27*1=27 Exploring Operation: 27+10=37, Resulting Numbers: [1, 37] Generated Node #0,1,2: 78:[1, 37] Operation: 27+10=37 Exploring Operation: 27-1=26, Resulting Numbers: [10, 26] Generated Node #0,1,3: 78:[10, 26] Operation: 27-1=26 Moving to Node #0,1,0 Current State: 78:[27, 11], Operations: ['58-57=1', '10+1=11'] Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,78 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[10, 26], Operations: ['58-57=1', '27-1=26'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[1, 37], Operations: ['58-57=1', '27+10=37'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 1*37=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[10, 27], Operations: ['58-57=1', '27*1=27'] Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,78 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,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,2 Current State: 78:[10, 57, 31], Operations: ['58-27=31'] Exploring Operation: 57-10=47, Resulting Numbers: [31, 47] Generated Node #0,2,0: 78:[31, 47] Operation: 57-10=47 Exploring Operation: 57-31=26, Resulting Numbers: [10, 26] Generated Node #0,2,1: 78:[10, 26] Operation: 57-31=26 Exploring Operation: 10+57=67, Resulting Numbers: [31, 67] Generated Node #0,2,2: 78:[31, 67] Operation: 10+57=67 Exploring Operation: 57+31=88, Resulting Numbers: [10, 88] Generated Node #0,2,3: 78:[10, 88] Operation: 57+31=88 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[10, 26], Operations: ['58-27=31', '57-31=26'] Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,78 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 78:[31, 47], Operations: ['58-27=31', '57-10=47'] Exploring Operation: 31*47=1457, Resulting Numbers: [1457] 1457,78 unequal: No Solution Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 31+47=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[58, 27, 10, 57], Operations: [] Exploring Operation: 58-27=31, Resulting Numbers: [10, 57, 31] Generated Node #0,2: 78:[10, 57, 31] Operation: 58-27=31 Moving to Node #0,2 Current State: 78:[10, 57, 31], Operations: ['58-27=31'] Exploring Operation: 57-10=47, Resulting Numbers: [31, 47] Generated Node #0,2,0: 78:[31, 47] Operation: 57-10=47 Moving to Node #0,2,0 Current State: 78:[31, 47], Operations: ['58-27=31', '57-10=47'] Exploring Operation: 31+47=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 26, 16, 12, 10 ]
48
[ "26+10=36", "16*36=576", "576/12=48" ]
Current State: 48:[26, 16, 12, 10], Operations: [] Exploring Operation: 26+10=36, Resulting Numbers: [16, 12, 36] Generated Node #2: [16, 12, 36] from Operation: 26+10=36 Current State: 48:[16, 12, 36], Operations: ['26+10=36'] Exploring Operation: 16*36=576, Resulting Numbers: [12, 576] Generated Node #3: [12, 576] from Operation: 16*36=576 Current State: 48:[12, 576], Operations: ['26+10=36', '16*36=576'] Exploring Operation: 576/12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[26, 16, 12, 10], Operations: [] Exploring Operation: 16-10=6, Resulting Numbers: [26, 12, 6] Generated Node #0,0: 48:[26, 12, 6] Operation: 16-10=6 Exploring Operation: 26-10=16, Resulting Numbers: [16, 12, 16] Generated Node #0,1: 48:[16, 12, 16] Operation: 26-10=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[16, 12, 16], Operations: ['26-10=16'] Exploring Operation: 16-12=4, Resulting Numbers: [16, 4] Generated Node #0,1,0: 48:[16, 4] Operation: 16-12=4 Exploring Operation: 16-12=4, Resulting Numbers: [16, 4] Generated Node #0,1,1: 48:[16, 4] Operation: 16-12=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[16, 4], Operations: ['26-10=16', '16-12=4'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[16, 4], Operations: ['26-10=16', '16-12=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[26, 12, 6], Operations: ['16-10=6'] Exploring Operation: 12-6=6, Resulting Numbers: [26, 6] Generated Node #0,0,0: 48:[26, 6] Operation: 12-6=6 Exploring Operation: 26-12=14, Resulting Numbers: [6, 14] Generated Node #0,0,1: 48:[6, 14] Operation: 26-12=14 Moving to Node #0,0,0 Current State: 48:[26, 6], Operations: ['16-10=6', '12-6=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[6, 14], Operations: ['16-10=6', '26-12=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,48 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
[ 21, 81, 23, 2 ]
95
[ "81-23=58", "2*58=116", "116-21=95" ]
Current State: 95:[21, 81, 23, 2], Operations: [] Exploring Operation: 81-23=58, Resulting Numbers: [21, 2, 58] Generated Node #2: [21, 2, 58] from Operation: 81-23=58 Current State: 95:[21, 2, 58], Operations: ['81-23=58'] Exploring Operation: 2*58=116, Resulting Numbers: [21, 116] Generated Node #3: [21, 116] from Operation: 2*58=116 Current State: 95:[21, 116], Operations: ['81-23=58', '2*58=116'] Exploring Operation: 116-21=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[21, 81, 23, 2], Operations: [] Exploring Operation: 21+81=102, Resulting Numbers: [23, 2, 102] Generated Node #0,0: 95:[23, 2, 102] Operation: 21+81=102 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[23, 2, 102], Operations: ['21+81=102'] Exploring Operation: 23-2=21, Resulting Numbers: [102, 21] Generated Node #0,0,0: 95:[102, 21] Operation: 23-2=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[102, 21], Operations: ['21+81=102', '23-2=21'] Exploring Operation: 102-21=81, Resulting Numbers: [81] 81,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 21, 27, 16, 63 ]
25
[ "21*27=567", "567/63=9", "16+9=25" ]
Current State: 25:[21, 27, 16, 63], Operations: [] Exploring Operation: 21*27=567, Resulting Numbers: [16, 63, 567] Generated Node #2: [16, 63, 567] from Operation: 21*27=567 Current State: 25:[16, 63, 567], Operations: ['21*27=567'] Exploring Operation: 567/63=9, Resulting Numbers: [16, 9] Generated Node #3: [16, 9] from Operation: 567/63=9 Current State: 25:[16, 9], Operations: ['21*27=567', '567/63=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[21, 27, 16, 63], Operations: [] Exploring Operation: 63-21=42, Resulting Numbers: [27, 16, 42] Generated Node #0,0: 25:[27, 16, 42] Operation: 63-21=42 Exploring Operation: 63-27=36, Resulting Numbers: [21, 16, 36] Generated Node #0,1: 25:[21, 16, 36] Operation: 63-27=36 Exploring Operation: 63/21=3, Resulting Numbers: [27, 16, 3] Generated Node #0,2: 25:[27, 16, 3] Operation: 63/21=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[27, 16, 3], Operations: ['63/21=3'] Exploring Operation: 27-3=24, Resulting Numbers: [16, 24] Generated Node #0,2,0: 25:[16, 24] Operation: 27-3=24 Exploring Operation: 27-16=11, Resulting Numbers: [3, 11] Generated Node #0,2,1: 25:[3, 11] Operation: 27-16=11 Exploring Operation: 16+3=19, Resulting Numbers: [27, 19] Generated Node #0,2,2: 25:[27, 19] Operation: 16+3=19 Moving to Node #0,2,1 Current State: 25:[3, 11], Operations: ['63/21=3', '27-16=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[27, 19], Operations: ['63/21=3', '16+3=19'] Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 27*19=513, Resulting Numbers: [513] 513,25 unequal: No Solution Exploring Operation: 27+19=46, Resulting Numbers: [46] 46,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[16, 24], Operations: ['63/21=3', '27-3=24'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 16*24=384, Resulting Numbers: [384] 384,25 unequal: No Solution Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[21, 16, 36], Operations: ['63-27=36'] Exploring Operation: 36-21=15, Resulting Numbers: [16, 15] Generated Node #0,1,0: 25:[16, 15] Operation: 36-21=15 Exploring Operation: 21-16=5, Resulting Numbers: [36, 5] Generated Node #0,1,1: 25:[36, 5] Operation: 21-16=5 Exploring Operation: 36-16=20, Resulting Numbers: [21, 20] Generated Node #0,1,2: 25:[21, 20] Operation: 36-16=20 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[21, 20], Operations: ['63-27=36', '36-16=20'] Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,25 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,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:[36, 5], Operations: ['63-27=36', '21-16=5'] Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,25 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,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:[16, 15], Operations: ['63-27=36', '36-21=15'] Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,25 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,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,0 Current State: 25:[27, 16, 42], Operations: ['63-21=42'] Exploring Operation: 42-16=26, Resulting Numbers: [27, 26] Generated Node #0,0,0: 25:[27, 26] Operation: 42-16=26 Exploring Operation: 42-27=15, Resulting Numbers: [16, 15] Generated Node #0,0,1: 25:[16, 15] Operation: 42-27=15 Exploring Operation: 27-16=11, Resulting Numbers: [42, 11] Generated Node #0,0,2: 25:[42, 11] Operation: 27-16=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[27, 26], Operations: ['63-21=42', '42-16=26'] Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 27*26=702, Resulting Numbers: [702] 702,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[16, 15], Operations: ['63-21=42', '42-27=15'] Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,25 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 25:[42, 11], Operations: ['63-21=42', '27-16=11'] Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,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 No solution found.
0
hs_3
mult_heuristic
[ 15, 40, 37, 24 ]
87
[ "40-37=3", "24*3=72", "15+72=87" ]
Current State: 87:[15, 40, 37, 24], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [15, 24, 3] Generated Node #2: [15, 24, 3] from Operation: 40-37=3 Current State: 87:[15, 24, 3], Operations: ['40-37=3'] Exploring Operation: 24*3=72, Resulting Numbers: [15, 72] Generated Node #3: [15, 72] from Operation: 24*3=72 Current State: 87:[15, 72], Operations: ['40-37=3', '24*3=72'] Exploring Operation: 15+72=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[15, 40, 37, 24], Operations: [] Exploring Operation: 40-15=25, Resulting Numbers: [37, 24, 25] Generated Node #0,0: 87:[37, 24, 25] Operation: 40-15=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[37, 24, 25], Operations: ['40-15=25'] Exploring Operation: 25-24=1, Resulting Numbers: [37, 1] Generated Node #0,0,0: 87:[37, 1] Operation: 25-24=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[37, 1], Operations: ['40-15=25', '25-24=1'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 91, 72, 85, 98 ]
79
[ "98-85=13", "91/13=7", "72+7=79" ]
Current State: 79:[91, 72, 85, 98], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [91, 72, 13] Generated Node #2: [91, 72, 13] from Operation: 98-85=13 Current State: 79:[91, 72, 13], Operations: ['98-85=13'] Exploring Operation: 91/13=7, Resulting Numbers: [72, 7] Generated Node #3: [72, 7] from Operation: 91/13=7 Current State: 79:[72, 7], Operations: ['98-85=13', '91/13=7'] Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[91, 72, 85, 98], Operations: [] Exploring Operation: 91-72=19, Resulting Numbers: [85, 98, 19] Generated Node #0,0: 79:[85, 98, 19] Operation: 91-72=19 Exploring Operation: 98-91=7, Resulting Numbers: [72, 85, 7] Generated Node #0,1: 79:[72, 85, 7] Operation: 98-91=7 Exploring Operation: 98-72=26, Resulting Numbers: [91, 85, 26] Generated Node #0,2: 79:[91, 85, 26] Operation: 98-72=26 Moving to Node #0,2 Current State: 79:[91, 85, 26], Operations: ['98-72=26'] Exploring Operation: 91+26=117, Resulting Numbers: [85, 117] Generated Node #0,2,0: 79:[85, 117] Operation: 91+26=117 Exploring Operation: 91-26=65, Resulting Numbers: [85, 65] Generated Node #0,2,1: 79:[85, 65] Operation: 91-26=65 Exploring Operation: 85-26=59, Resulting Numbers: [91, 59] Generated Node #0,2,2: 79:[91, 59] Operation: 85-26=59 Moving to Node #0,0 Current State: 79:[85, 98, 19], Operations: ['91-72=19'] Exploring Operation: 85-19=66, Resulting Numbers: [98, 66] Generated Node #0,0,0: 79:[98, 66] Operation: 85-19=66 Exploring Operation: 85+19=104, Resulting Numbers: [98, 104] Generated Node #0,0,1: 79:[98, 104] Operation: 85+19=104 Exploring Operation: 98-19=79, Resulting Numbers: [85, 79] Generated Node #0,0,2: 79:[85, 79] Operation: 98-19=79 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[85, 79], Operations: ['91-72=19', '98-19=79'] Exploring Operation: 85-79=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 85*79=6715, Resulting Numbers: [6715] 6715,79 unequal: No Solution Exploring Operation: 85+79=164, Resulting Numbers: [164] 164,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[98, 66], Operations: ['91-72=19', '85-19=66'] Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 98+66=164, Resulting Numbers: [164] 164,79 unequal: No Solution Exploring Operation: 98*66=6468, Resulting Numbers: [6468] 6468,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[98, 104], Operations: ['91-72=19', '85+19=104'] Exploring Operation: 98*104=10192, Resulting Numbers: [10192] 10192,79 unequal: No Solution Exploring Operation: 98+104=202, Resulting Numbers: [202] 202,79 unequal: No Solution Exploring Operation: 104-98=6, Resulting Numbers: [6] 6,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 79:[72, 85, 7], Operations: ['98-91=7'] Exploring Operation: 72+7=79, Resulting Numbers: [85, 79] Generated Node #0,1,0: 79:[85, 79] Operation: 72+7=79 Exploring Operation: 85-7=78, Resulting Numbers: [72, 78] Generated Node #0,1,1: 79:[72, 78] Operation: 85-7=78 Exploring Operation: 72-7=65, Resulting Numbers: [85, 65] Generated Node #0,1,2: 79:[85, 65] Operation: 72-7=65 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[85, 79], Operations: ['98-91=7', '72+7=79'] Exploring Operation: 85-79=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 85*79=6715, Resulting Numbers: [6715] 6715,79 unequal: No Solution Exploring Operation: 85+79=164, Resulting Numbers: [164] 164,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[72, 78], Operations: ['98-91=7', '85-7=78'] Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 72+78=150, Resulting Numbers: [150] 150,79 unequal: No Solution Exploring Operation: 72*78=5616, Resulting Numbers: [5616] 5616,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[85, 65], Operations: ['98-91=7', '72-7=65'] Exploring Operation: 85+65=150, Resulting Numbers: [150] 150,79 unequal: No Solution Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 85*65=5525, Resulting Numbers: [5525] 5525,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 79:[85, 65], Operations: ['98-72=26', '91-26=65'] Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 85+65=150, Resulting Numbers: [150] 150,79 unequal: No Solution Exploring Operation: 85*65=5525, Resulting Numbers: [5525] 5525,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[91, 59], Operations: ['98-72=26', '85-26=59'] Exploring Operation: 91+59=150, Resulting Numbers: [150] 150,79 unequal: No Solution Exploring Operation: 91-59=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 91*59=5369, Resulting Numbers: [5369] 5369,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[85, 117], Operations: ['98-72=26', '91+26=117'] Exploring Operation: 85+117=202, Resulting Numbers: [202] 202,79 unequal: No Solution Exploring Operation: 85*117=9945, Resulting Numbers: [9945] 9945,79 unequal: No Solution Exploring Operation: 117-85=32, Resulting Numbers: [32] 32,79 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 68, 86, 90, 41 ]
31
[ "86-68=18", "90-41=49", "49-18=31" ]
Current State: 31:[68, 86, 90, 41], Operations: [] Exploring Operation: 86-68=18, Resulting Numbers: [90, 41, 18] Generated Node #2: [90, 41, 18] from Operation: 86-68=18 Current State: 31:[90, 41, 18], Operations: ['86-68=18'] Exploring Operation: 90-41=49, Resulting Numbers: [18, 49] Generated Node #3: [18, 49] from Operation: 90-41=49 Current State: 31:[18, 49], Operations: ['86-68=18', '90-41=49'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[68, 86, 90, 41], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [68, 41, 4] Generated Node #0,0: 31:[68, 41, 4] Operation: 90-86=4 Exploring Operation: 90-68=22, Resulting Numbers: [86, 41, 22] Generated Node #0,1: 31:[86, 41, 22] Operation: 90-68=22 Moving to Node #0,0 Current State: 31:[68, 41, 4], Operations: ['90-86=4'] Exploring Operation: 68-41=27, Resulting Numbers: [4, 27] Generated Node #0,0,0: 31:[4, 27] Operation: 68-41=27 Exploring Operation: 68/4=17, Resulting Numbers: [41, 17] Generated Node #0,0,1: 31:[41, 17] Operation: 68/4=17 Moving to Node #0,1 Current State: 31:[86, 41, 22], Operations: ['90-68=22'] Exploring Operation: 86-22=64, Resulting Numbers: [41, 64] Generated Node #0,1,0: 31:[41, 64] Operation: 86-22=64 Exploring Operation: 86-41=45, Resulting Numbers: [22, 45] Generated Node #0,1,1: 31:[22, 45] Operation: 86-41=45 Moving to Node #0,1,1 Current State: 31:[22, 45], Operations: ['90-68=22', '86-41=45'] Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 22+45=67, Resulting Numbers: [67] 67,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[41, 17], Operations: ['90-86=4', '68/4=17'] Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,31 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[4, 27], Operations: ['90-86=4', '68-41=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[68, 86, 90, 41], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [68, 41, 4] Generated Node #0,0: 31:[68, 41, 4] Operation: 90-86=4 Moving to Node #0,0 Current State: 31:[68, 41, 4], Operations: ['90-86=4'] Exploring Operation: 68-41=27, Resulting Numbers: [4, 27] Generated Node #0,0,0: 31:[4, 27] Operation: 68-41=27 Moving to Node #0,0,0 Current State: 31:[4, 27], Operations: ['90-86=4', '68-41=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 3, 11, 66, 50 ]
61
[ "66/3=22", "50-11=39", "22+39=61" ]
Current State: 61:[3, 11, 66, 50], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [11, 50, 22] Generated Node #2: [11, 50, 22] from Operation: 66/3=22 Current State: 61:[11, 50, 22], Operations: ['66/3=22'] Exploring Operation: 50-11=39, Resulting Numbers: [22, 39] Generated Node #3: [22, 39] from Operation: 50-11=39 Current State: 61:[22, 39], Operations: ['66/3=22', '50-11=39'] Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[3, 11, 66, 50], Operations: [] Exploring Operation: 66-3=63, Resulting Numbers: [11, 50, 63] Generated Node #0,0: 61:[11, 50, 63] Operation: 66-3=63 Exploring Operation: 3+11=14, Resulting Numbers: [66, 50, 14] Generated Node #0,1: 61:[66, 50, 14] Operation: 3+11=14 Exploring Operation: 3*11=33, Resulting Numbers: [66, 50, 33] Generated Node #0,2: 61:[66, 50, 33] Operation: 3*11=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[66, 50, 33], Operations: ['3*11=33'] Exploring Operation: 66-33=33, Resulting Numbers: [50, 33] Generated Node #0,2,0: 61:[50, 33] Operation: 66-33=33 Exploring Operation: 66+33=99, Resulting Numbers: [50, 99] Generated Node #0,2,1: 61:[50, 99] Operation: 66+33=99 Exploring Operation: 50+33=83, Resulting Numbers: [66, 83] Generated Node #0,2,2: 61:[66, 83] Operation: 50+33=83 Moving to Node #0,2,2 Current State: 61:[66, 83], Operations: ['3*11=33', '50+33=83'] Exploring Operation: 83-66=17, Resulting Numbers: [17] 17,61 unequal: No Solution Exploring Operation: 66*83=5478, Resulting Numbers: [5478] 5478,61 unequal: No Solution Exploring Operation: 66+83=149, Resulting Numbers: [149] 149,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[50, 33], Operations: ['3*11=33', '66-33=33'] Exploring Operation: 50+33=83, Resulting Numbers: [83] 83,61 unequal: No Solution Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,61 unequal: No Solution Exploring Operation: 50*33=1650, Resulting Numbers: [1650] 1650,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[50, 99], Operations: ['3*11=33', '66+33=99'] Exploring Operation: 99-50=49, Resulting Numbers: [49] 49,61 unequal: No Solution Exploring Operation: 50+99=149, Resulting Numbers: [149] 149,61 unequal: No Solution Exploring Operation: 50*99=4950, Resulting Numbers: [4950] 4950,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:[11, 50, 63], Operations: ['66-3=63'] Exploring Operation: 11+50=61, Resulting Numbers: [63, 61] Generated Node #0,0,0: 61:[63, 61] Operation: 11+50=61 Exploring Operation: 63-11=52, Resulting Numbers: [50, 52] Generated Node #0,0,1: 61:[50, 52] Operation: 63-11=52 Exploring Operation: 50-11=39, Resulting Numbers: [63, 39] Generated Node #0,0,2: 61:[63, 39] Operation: 50-11=39 Moving to Node #0,0,0 Current State: 61:[63, 61], Operations: ['66-3=63', '11+50=61'] Exploring Operation: 63*61=3843, Resulting Numbers: [3843] 3843,61 unequal: No Solution Exploring Operation: 63+61=124, Resulting Numbers: [124] 124,61 unequal: No Solution Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[50, 52], Operations: ['66-3=63', '63-11=52'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 50+52=102, Resulting Numbers: [102] 102,61 unequal: No Solution Exploring Operation: 50*52=2600, Resulting Numbers: [2600] 2600,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[63, 39], Operations: ['66-3=63', '50-11=39'] Exploring Operation: 63+39=102, Resulting Numbers: [102] 102,61 unequal: No Solution Exploring Operation: 63*39=2457, Resulting Numbers: [2457] 2457,61 unequal: No Solution Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,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:[66, 50, 14], Operations: ['3+11=14'] Exploring Operation: 50+14=64, Resulting Numbers: [66, 64] Generated Node #0,1,0: 61:[66, 64] Operation: 50+14=64 Exploring Operation: 66-14=52, Resulting Numbers: [50, 52] Generated Node #0,1,1: 61:[50, 52] Operation: 66-14=52 Exploring Operation: 66+14=80, Resulting Numbers: [50, 80] Generated Node #0,1,2: 61:[50, 80] Operation: 66+14=80 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[66, 64], Operations: ['3+11=14', '50+14=64'] Exploring Operation: 66*64=4224, Resulting Numbers: [4224] 4224,61 unequal: No Solution Exploring Operation: 66+64=130, Resulting Numbers: [130] 130,61 unequal: No Solution Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,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, 52], Operations: ['3+11=14', '66-14=52'] Exploring Operation: 50+52=102, Resulting Numbers: [102] 102,61 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 50*52=2600, Resulting Numbers: [2600] 2600,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,2 Current State: 61:[50, 80], Operations: ['3+11=14', '66+14=80'] Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 50*80=4000, Resulting Numbers: [4000] 4000,61 unequal: No Solution Exploring Operation: 50+80=130, Resulting Numbers: [130] 130,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 No solution found.
0
hs_3
sum_heuristic
[ 4, 38, 53, 6 ]
29
[ "4*53=212", "212-38=174", "174/6=29" ]
Current State: 29:[4, 38, 53, 6], Operations: [] Exploring Operation: 4*53=212, Resulting Numbers: [38, 6, 212] Generated Node #2: [38, 6, 212] from Operation: 4*53=212 Current State: 29:[38, 6, 212], Operations: ['4*53=212'] Exploring Operation: 212-38=174, Resulting Numbers: [6, 174] Generated Node #3: [6, 174] from Operation: 212-38=174 Current State: 29:[6, 174], Operations: ['4*53=212', '212-38=174'] Exploring Operation: 174/6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[4, 38, 53, 6], Operations: [] Exploring Operation: 4*6=24, Resulting Numbers: [38, 53, 24] Generated Node #0,0: 29:[38, 53, 24] Operation: 4*6=24 Moving to Node #0,0 Current State: 29:[38, 53, 24], Operations: ['4*6=24'] Exploring Operation: 53-24=29, Resulting Numbers: [38, 29] Generated Node #0,0,0: 29:[38, 29] Operation: 53-24=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[38, 29], Operations: ['4*6=24', '53-24=29'] Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 64, 60, 3, 37 ]
79
[ "64+37=101", "60*3=180", "180-101=79" ]
Current State: 79:[64, 60, 3, 37], Operations: [] Exploring Operation: 64+37=101, Resulting Numbers: [60, 3, 101] Generated Node #2: [60, 3, 101] from Operation: 64+37=101 Current State: 79:[60, 3, 101], Operations: ['64+37=101'] Exploring Operation: 60*3=180, Resulting Numbers: [101, 180] Generated Node #3: [101, 180] from Operation: 60*3=180 Current State: 79:[101, 180], Operations: ['64+37=101', '60*3=180'] Exploring Operation: 180-101=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[64, 60, 3, 37], Operations: [] Exploring Operation: 60+3=63, Resulting Numbers: [64, 37, 63] Generated Node #0,0: 79:[64, 37, 63] Operation: 60+3=63 Exploring Operation: 3+37=40, Resulting Numbers: [64, 60, 40] Generated Node #0,1: 79:[64, 60, 40] Operation: 3+37=40 Exploring Operation: 64+3=67, Resulting Numbers: [60, 37, 67] Generated Node #0,2: 79:[60, 37, 67] Operation: 64+3=67 Exploring Operation: 3*37=111, Resulting Numbers: [64, 60, 111] Generated Node #0,3: 79:[64, 60, 111] Operation: 3*37=111 Moving to Node #0,3 Current State: 79:[64, 60, 111], Operations: ['3*37=111'] Exploring Operation: 111-64=47, Resulting Numbers: [60, 47] Generated Node #0,3,0: 79:[60, 47] Operation: 111-64=47 Exploring Operation: 64+60=124, Resulting Numbers: [111, 124] Generated Node #0,3,1: 79:[111, 124] Operation: 64+60=124 Exploring Operation: 64-60=4, Resulting Numbers: [111, 4] Generated Node #0,3,2: 79:[111, 4] Operation: 64-60=4 Exploring Operation: 111-60=51, Resulting Numbers: [64, 51] Generated Node #0,3,3: 79:[64, 51] Operation: 111-60=51 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 79:[64, 51], Operations: ['3*37=111', '111-60=51'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,79 unequal: No Solution Exploring Operation: 64+51=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 64*51=3264, Resulting Numbers: [3264] 3264,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[60, 47], Operations: ['3*37=111', '111-64=47'] Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,79 unequal: No Solution Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,79 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 79:[111, 124], Operations: ['3*37=111', '64+60=124'] Exploring Operation: 111+124=235, Resulting Numbers: [235] 235,79 unequal: No Solution Exploring Operation: 111*124=13764, Resulting Numbers: [13764] 13764,79 unequal: No Solution Exploring Operation: 124-111=13, Resulting Numbers: [13] 13,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 79:[111, 4], Operations: ['3*37=111', '64-60=4'] Exploring Operation: 111+4=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 111-4=107, Resulting Numbers: [107] 107,79 unequal: No Solution Exploring Operation: 111*4=444, Resulting Numbers: [444] 444,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 79:[64, 60, 40], Operations: ['3+37=40'] Exploring Operation: 60-40=20, Resulting Numbers: [64, 20] Generated Node #0,1,0: 79:[64, 20] Operation: 60-40=20 Exploring Operation: 64-40=24, Resulting Numbers: [60, 24] Generated Node #0,1,1: 79:[60, 24] Operation: 64-40=24 Exploring Operation: 60+40=100, Resulting Numbers: [64, 100] Generated Node #0,1,2: 79:[64, 100] Operation: 60+40=100 Exploring Operation: 64+40=104, Resulting Numbers: [60, 104] Generated Node #0,1,3: 79:[60, 104] Operation: 64+40=104 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[64, 100], Operations: ['3+37=40', '60+40=100'] Exploring Operation: 100-64=36, Resulting Numbers: [36] 36,79 unequal: No Solution Exploring Operation: 64+100=164, Resulting Numbers: [164] 164,79 unequal: No Solution Exploring Operation: 64*100=6400, Resulting Numbers: [6400] 6400,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 79:[60, 104], Operations: ['3+37=40', '64+40=104'] Exploring Operation: 104-60=44, Resulting Numbers: [44] 44,79 unequal: No Solution Exploring Operation: 60*104=6240, Resulting Numbers: [6240] 6240,79 unequal: No Solution Exploring Operation: 60+104=164, Resulting Numbers: [164] 164,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[64, 20], Operations: ['3+37=40', '60-40=20'] Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,79 unequal: No Solution Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,79 unequal: No Solution Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[60, 24], Operations: ['3+37=40', '64-40=24'] Exploring Operation: 60*24=1440, Resulting Numbers: [1440] 1440,79 unequal: No Solution Exploring Operation: 60+24=84, Resulting Numbers: [84] 84,79 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 79:[64, 37, 63], Operations: ['60+3=63'] Exploring Operation: 37+63=100, Resulting Numbers: [64, 100] Generated Node #0,0,0: 79:[64, 100] Operation: 37+63=100 Exploring Operation: 64-37=27, Resulting Numbers: [63, 27] Generated Node #0,0,1: 79:[63, 27] Operation: 64-37=27 Exploring Operation: 64+37=101, Resulting Numbers: [63, 101] Generated Node #0,0,2: 79:[63, 101] Operation: 64+37=101 Exploring Operation: 63-37=26, Resulting Numbers: [64, 26] Generated Node #0,0,3: 79:[64, 26] Operation: 63-37=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[64, 100], Operations: ['60+3=63', '37+63=100'] Exploring Operation: 64*100=6400, Resulting Numbers: [6400] 6400,79 unequal: No Solution Exploring Operation: 64+100=164, Resulting Numbers: [164] 164,79 unequal: No Solution Exploring Operation: 100-64=36, Resulting Numbers: [36] 36,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[63, 101], Operations: ['60+3=63', '64+37=101'] Exploring Operation: 63*101=6363, Resulting Numbers: [6363] 6363,79 unequal: No Solution Exploring Operation: 63+101=164, Resulting Numbers: [164] 164,79 unequal: No Solution Exploring Operation: 101-63=38, Resulting Numbers: [38] 38,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[63, 27], Operations: ['60+3=63', '64-37=27'] Exploring Operation: 63+27=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 63*27=1701, Resulting Numbers: [1701] 1701,79 unequal: No Solution Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 79:[64, 26], Operations: ['60+3=63', '63-37=26'] Exploring Operation: 64*26=1664, Resulting Numbers: [1664] 1664,79 unequal: No Solution Exploring Operation: 64+26=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,79 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: 79:[60, 37, 67], Operations: ['64+3=67'] Exploring Operation: 37+67=104, Resulting Numbers: [60, 104] Generated Node #0,2,0: 79:[60, 104] Operation: 37+67=104 Exploring Operation: 67-37=30, Resulting Numbers: [60, 30] Generated Node #0,2,1: 79:[60, 30] Operation: 67-37=30 Exploring Operation: 60-37=23, Resulting Numbers: [67, 23] Generated Node #0,2,2: 79:[67, 23] Operation: 60-37=23 Exploring Operation: 60+37=97, Resulting Numbers: [67, 97] Generated Node #0,2,3: 79:[67, 97] Operation: 60+37=97 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[67, 97], Operations: ['64+3=67', '60+37=97'] Exploring Operation: 67*97=6499, Resulting Numbers: [6499] 6499,79 unequal: No Solution Exploring Operation: 67+97=164, Resulting Numbers: [164] 164,79 unequal: No Solution Exploring Operation: 97-67=30, Resulting Numbers: [30] 30,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[60, 104], Operations: ['64+3=67', '37+67=104'] Exploring Operation: 60+104=164, Resulting Numbers: [164] 164,79 unequal: No Solution Exploring Operation: 60*104=6240, Resulting Numbers: [6240] 6240,79 unequal: No Solution Exploring Operation: 104-60=44, Resulting Numbers: [44] 44,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[60, 30], Operations: ['64+3=67', '67-37=30'] Exploring Operation: 60*30=1800, Resulting Numbers: [1800] 1800,79 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[67, 23], Operations: ['64+3=67', '60-37=23'] Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,79 unequal: No Solution Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,79 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
[ 13, 75, 29, 79 ]
23
[ "79-75=4", "13*4=52", "52-29=23" ]
Current State: 23:[13, 75, 29, 79], Operations: [] Exploring Operation: 79-75=4, Resulting Numbers: [13, 29, 4] Generated Node #2: [13, 29, 4] from Operation: 79-75=4 Current State: 23:[13, 29, 4], Operations: ['79-75=4'] Exploring Operation: 13*4=52, Resulting Numbers: [29, 52] Generated Node #3: [29, 52] from Operation: 13*4=52 Current State: 23:[29, 52], Operations: ['79-75=4', '13*4=52'] Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[13, 75, 29, 79], Operations: [] Exploring Operation: 79-75=4, Resulting Numbers: [13, 29, 4] Generated Node #0,0: 23:[13, 29, 4] Operation: 79-75=4 Exploring Operation: 75-29=46, Resulting Numbers: [13, 79, 46] Generated Node #0,1: 23:[13, 79, 46] Operation: 75-29=46 Exploring Operation: 79-29=50, Resulting Numbers: [13, 75, 50] Generated Node #0,2: 23:[13, 75, 50] Operation: 79-29=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[13, 29, 4], Operations: ['79-75=4'] Exploring Operation: 13-4=9, Resulting Numbers: [29, 9] Generated Node #0,0,0: 23:[29, 9] Operation: 13-4=9 Exploring Operation: 29-4=25, Resulting Numbers: [13, 25] Generated Node #0,0,1: 23:[13, 25] Operation: 29-4=25 Exploring Operation: 13+4=17, Resulting Numbers: [29, 17] Generated Node #0,0,2: 23:[29, 17] Operation: 13+4=17 Moving to Node #0,0,1 Current State: 23:[13, 25], Operations: ['79-75=4', '29-4=25'] Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,23 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[29, 17], Operations: ['79-75=4', '13+4=17'] Exploring Operation: 29+17=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 29*17=493, Resulting Numbers: [493] 493,23 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[29, 9], Operations: ['79-75=4', '13-4=9'] Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,23 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[13, 79, 46], Operations: ['75-29=46'] Exploring Operation: 79-46=33, Resulting Numbers: [13, 33] Generated Node #0,1,0: 23:[13, 33] Operation: 79-46=33 Exploring Operation: 79-13=66, Resulting Numbers: [46, 66] Generated Node #0,1,1: 23:[46, 66] Operation: 79-13=66 Exploring Operation: 46-13=33, Resulting Numbers: [79, 33] Generated Node #0,1,2: 23:[79, 33] Operation: 46-13=33 Moving to Node #0,1,0 Current State: 23:[13, 33], Operations: ['75-29=46', '79-46=33'] Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 13*33=429, Resulting Numbers: [429] 429,23 unequal: No Solution Exploring Operation: 13+33=46, Resulting Numbers: [46] 46,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[46, 66], Operations: ['75-29=46', '79-13=66'] Exploring Operation: 66-46=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 46*66=3036, Resulting Numbers: [3036] 3036,23 unequal: No Solution Exploring Operation: 46+66=112, Resulting Numbers: [112] 112,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[79, 33], Operations: ['75-29=46', '46-13=33'] Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,23 unequal: No Solution Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,23 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[13, 75, 50], Operations: ['79-29=50'] Exploring Operation: 75-13=62, Resulting Numbers: [50, 62] Generated Node #0,2,0: 23:[50, 62] Operation: 75-13=62 Exploring Operation: 50-13=37, Resulting Numbers: [75, 37] Generated Node #0,2,1: 23:[75, 37] Operation: 50-13=37 Exploring Operation: 75-50=25, Resulting Numbers: [13, 25] Generated Node #0,2,2: 23:[13, 25] Operation: 75-50=25 Moving to Node #0,2,2 Current State: 23:[13, 25], Operations: ['79-29=50', '75-50=25'] Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,23 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[50, 62], Operations: ['79-29=50', '75-13=62'] Exploring Operation: 50*62=3100, Resulting Numbers: [3100] 3100,23 unequal: No Solution Exploring Operation: 50+62=112, Resulting Numbers: [112] 112,23 unequal: No Solution Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[75, 37], Operations: ['79-29=50', '50-13=37'] Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,23 unequal: No Solution Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 56, 5, 38, 64 ]
74
[ "64-38=26", "5*26=130", "130-56=74" ]
Current State: 74:[56, 5, 38, 64], Operations: [] Exploring Operation: 64-38=26, Resulting Numbers: [56, 5, 26] Generated Node #2: [56, 5, 26] from Operation: 64-38=26 Current State: 74:[56, 5, 26], Operations: ['64-38=26'] Exploring Operation: 5*26=130, Resulting Numbers: [56, 130] Generated Node #3: [56, 130] from Operation: 5*26=130 Current State: 74:[56, 130], Operations: ['64-38=26', '5*26=130'] Exploring Operation: 130-56=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[56, 5, 38, 64], Operations: [] Exploring Operation: 5+64=69, Resulting Numbers: [56, 38, 69] Generated Node #0,0: 74:[56, 38, 69] Operation: 5+64=69 Exploring Operation: 56-5=51, Resulting Numbers: [38, 64, 51] Generated Node #0,1: 74:[38, 64, 51] Operation: 56-5=51 Exploring Operation: 64-56=8, Resulting Numbers: [5, 38, 8] Generated Node #0,2: 74:[5, 38, 8] Operation: 64-56=8 Exploring Operation: 56+5=61, Resulting Numbers: [38, 64, 61] Generated Node #0,3: 74:[38, 64, 61] Operation: 56+5=61 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[5, 38, 8], Operations: ['64-56=8'] Exploring Operation: 38-8=30, Resulting Numbers: [5, 30] Generated Node #0,2,0: 74:[5, 30] Operation: 38-8=30 Exploring Operation: 5*8=40, Resulting Numbers: [38, 40] Generated Node #0,2,1: 74:[38, 40] Operation: 5*8=40 Exploring Operation: 8-5=3, Resulting Numbers: [38, 3] Generated Node #0,2,2: 74:[38, 3] Operation: 8-5=3 Exploring Operation: 38-5=33, Resulting Numbers: [8, 33] Generated Node #0,2,3: 74:[8, 33] Operation: 38-5=33 Moving to Node #0,2,2 Current State: 74:[38, 3], Operations: ['64-56=8', '8-5=3'] Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,74 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[38, 40], Operations: ['64-56=8', '5*8=40'] Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,74 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[8, 33], Operations: ['64-56=8', '38-5=33'] Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[5, 30], Operations: ['64-56=8', '38-8=30'] Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,74 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,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:[56, 38, 69], Operations: ['5+64=69'] Exploring Operation: 69-56=13, Resulting Numbers: [38, 13] Generated Node #0,0,0: 74:[38, 13] Operation: 69-56=13 Exploring Operation: 56-38=18, Resulting Numbers: [69, 18] Generated Node #0,0,1: 74:[69, 18] Operation: 56-38=18 Exploring Operation: 69-38=31, Resulting Numbers: [56, 31] Generated Node #0,0,2: 74:[56, 31] Operation: 69-38=31 Exploring Operation: 56+38=94, Resulting Numbers: [69, 94] Generated Node #0,0,3: 74:[69, 94] Operation: 56+38=94 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[38, 13], Operations: ['5+64=69', '69-56=13'] Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,74 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,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:[69, 18], Operations: ['5+64=69', '56-38=18'] Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,74 unequal: No Solution Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,74 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,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:[56, 31], Operations: ['5+64=69', '69-38=31'] Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,74 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,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:[69, 94], Operations: ['5+64=69', '56+38=94'] Exploring Operation: 94-69=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 69+94=163, Resulting Numbers: [163] 163,74 unequal: No Solution Exploring Operation: 69*94=6486, Resulting Numbers: [6486] 6486,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:[38, 64, 61], Operations: ['56+5=61'] Exploring Operation: 64-38=26, Resulting Numbers: [61, 26] Generated Node #0,3,0: 74:[61, 26] Operation: 64-38=26 Exploring Operation: 64-61=3, Resulting Numbers: [38, 3] Generated Node #0,3,1: 74:[38, 3] Operation: 64-61=3 Exploring Operation: 38+61=99, Resulting Numbers: [64, 99] Generated Node #0,3,2: 74:[64, 99] Operation: 38+61=99 Exploring Operation: 61-38=23, Resulting Numbers: [64, 23] Generated Node #0,3,3: 74:[64, 23] Operation: 61-38=23 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 74:[38, 3], Operations: ['56+5=61', '64-61=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,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:[61, 26], Operations: ['56+5=61', '64-38=26'] Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 61*26=1586, Resulting Numbers: [1586] 1586,74 unequal: No Solution Exploring Operation: 61+26=87, Resulting Numbers: [87] 87,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:[64, 23], Operations: ['56+5=61', '61-38=23'] Exploring Operation: 64*23=1472, Resulting Numbers: [1472] 1472,74 unequal: No Solution Exploring Operation: 64+23=87, Resulting Numbers: [87] 87,74 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,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,2 Current State: 74:[64, 99], Operations: ['56+5=61', '38+61=99'] Exploring Operation: 64*99=6336, Resulting Numbers: [6336] 6336,74 unequal: No Solution Exploring Operation: 99-64=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 64+99=163, Resulting Numbers: [163] 163,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:[38, 64, 51], Operations: ['56-5=51'] Exploring Operation: 38+51=89, Resulting Numbers: [64, 89] Generated Node #0,1,0: 74:[64, 89] Operation: 38+51=89 Exploring Operation: 64-38=26, Resulting Numbers: [51, 26] Generated Node #0,1,1: 74:[51, 26] Operation: 64-38=26 Exploring Operation: 64-51=13, Resulting Numbers: [38, 13] Generated Node #0,1,2: 74:[38, 13] Operation: 64-51=13 Exploring Operation: 51-38=13, Resulting Numbers: [64, 13] Generated Node #0,1,3: 74:[64, 13] Operation: 51-38=13 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 74:[38, 13], Operations: ['56-5=51', '64-51=13'] Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,74 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,74 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,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,1,3 Current State: 74:[64, 13], Operations: ['56-5=51', '51-38=13'] Exploring Operation: 64+13=77, Resulting Numbers: [77] 77,74 unequal: No Solution Exploring Operation: 64*13=832, Resulting Numbers: [832] 832,74 unequal: No Solution Exploring Operation: 64-13=51, Resulting Numbers: [51] 51,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,1,0 Current State: 74:[64, 89], Operations: ['56-5=51', '38+51=89'] Exploring Operation: 64+89=153, Resulting Numbers: [153] 153,74 unequal: No Solution Exploring Operation: 64*89=5696, Resulting Numbers: [5696] 5696,74 unequal: No Solution Exploring Operation: 89-64=25, Resulting Numbers: [25] 25,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,1,1 Current State: 74:[51, 26], Operations: ['56-5=51', '64-38=26'] Exploring Operation: 51*26=1326, Resulting Numbers: [1326] 1326,74 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 51+26=77, Resulting Numbers: [77] 77,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
[ 71, 88, 77, 51 ]
31
[ "71+88=159", "77+51=128", "159-128=31" ]
Current State: 31:[71, 88, 77, 51], Operations: [] Exploring Operation: 71+88=159, Resulting Numbers: [77, 51, 159] Generated Node #2: [77, 51, 159] from Operation: 71+88=159 Current State: 31:[77, 51, 159], Operations: ['71+88=159'] Exploring Operation: 77+51=128, Resulting Numbers: [159, 128] Generated Node #3: [159, 128] from Operation: 77+51=128 Current State: 31:[159, 128], Operations: ['71+88=159', '77+51=128'] Exploring Operation: 159-128=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[71, 88, 77, 51], Operations: [] Exploring Operation: 88-71=17, Resulting Numbers: [77, 51, 17] Generated Node #0,0: 31:[77, 51, 17] Operation: 88-71=17 Exploring Operation: 88-77=11, Resulting Numbers: [71, 51, 11] Generated Node #0,1: 31:[71, 51, 11] Operation: 88-77=11 Exploring Operation: 77-71=6, Resulting Numbers: [88, 51, 6] Generated Node #0,2: 31:[88, 51, 6] Operation: 77-71=6 Exploring Operation: 88-51=37, Resulting Numbers: [71, 77, 37] Generated Node #0,3: 31:[71, 77, 37] Operation: 88-51=37 Moving to Node #0,0 Current State: 31:[77, 51, 17], Operations: ['88-71=17'] Exploring Operation: 77-17=60, Resulting Numbers: [51, 60] Generated Node #0,0,0: 31:[51, 60] Operation: 77-17=60 Exploring Operation: 77-51=26, Resulting Numbers: [17, 26] Generated Node #0,0,1: 31:[17, 26] Operation: 77-51=26 Exploring Operation: 51/17=3, Resulting Numbers: [77, 3] Generated Node #0,0,2: 31:[77, 3] Operation: 51/17=3 Exploring Operation: 51-17=34, Resulting Numbers: [77, 34] Generated Node #0,0,3: 31:[77, 34] Operation: 51-17=34 Moving to Node #0,1 Current State: 31:[71, 51, 11], Operations: ['88-77=11'] Exploring Operation: 71-51=20, Resulting Numbers: [11, 20] Generated Node #0,1,0: 31:[11, 20] Operation: 71-51=20 Exploring Operation: 51-11=40, Resulting Numbers: [71, 40] Generated Node #0,1,1: 31:[71, 40] Operation: 51-11=40 Exploring Operation: 71+11=82, Resulting Numbers: [51, 82] Generated Node #0,1,2: 31:[51, 82] Operation: 71+11=82 Exploring Operation: 71-11=60, Resulting Numbers: [51, 60] Generated Node #0,1,3: 31:[51, 60] Operation: 71-11=60 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[11, 20], Operations: ['88-77=11', '71-51=20'] Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,31 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[71, 88, 77, 51], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [71, 51, 11] Generated Node #0,1: 31:[71, 51, 11] Operation: 88-77=11 Moving to Node #0,1 Current State: 31:[71, 51, 11], Operations: ['88-77=11'] Exploring Operation: 71-51=20, Resulting Numbers: [11, 20] Generated Node #0,1,0: 31:[11, 20] Operation: 71-51=20 Moving to Node #0,1,0 Current State: 31:[11, 20], Operations: ['88-77=11', '71-51=20'] Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 63, 92, 97, 66 ]
15
[ "66-63=3", "97-92=5", "3*5=15" ]
Current State: 15:[63, 92, 97, 66], Operations: [] Exploring Operation: 66-63=3, Resulting Numbers: [92, 97, 3] Generated Node #2: [92, 97, 3] from Operation: 66-63=3 Current State: 15:[92, 97, 3], Operations: ['66-63=3'] Exploring Operation: 97-92=5, Resulting Numbers: [3, 5] Generated Node #3: [3, 5] from Operation: 97-92=5 Current State: 15:[3, 5], Operations: ['66-63=3', '97-92=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[63, 92, 97, 66], Operations: [] Exploring Operation: 92-66=26, Resulting Numbers: [63, 97, 26] Generated Node #0,0: 15:[63, 97, 26] Operation: 92-66=26 Exploring Operation: 97-92=5, Resulting Numbers: [63, 66, 5] Generated Node #0,1: 15:[63, 66, 5] Operation: 97-92=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[63, 66, 5], Operations: ['97-92=5'] Exploring Operation: 63-5=58, Resulting Numbers: [66, 58] Generated Node #0,1,0: 15:[66, 58] Operation: 63-5=58 Exploring Operation: 66-63=3, Resulting Numbers: [5, 3] Generated Node #0,1,1: 15:[5, 3] Operation: 66-63=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[5, 3], Operations: ['97-92=5', '66-63=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[63, 92, 97, 66], Operations: [] Exploring Operation: 97-92=5, Resulting Numbers: [63, 66, 5] Generated Node #0,1: 15:[63, 66, 5] Operation: 97-92=5 Moving to Node #0,1 Current State: 15:[63, 66, 5], Operations: ['97-92=5'] Exploring Operation: 66-63=3, Resulting Numbers: [5, 3] Generated Node #0,1,1: 15:[5, 3] Operation: 66-63=3 Moving to Node #0,1,1 Current State: 15:[5, 3], Operations: ['97-92=5', '66-63=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 1, 25, 75, 89 ]
40
[ "1+25=26", "89-75=14", "26+14=40" ]
Current State: 40:[1, 25, 75, 89], Operations: [] Exploring Operation: 1+25=26, Resulting Numbers: [75, 89, 26] Generated Node #2: [75, 89, 26] from Operation: 1+25=26 Current State: 40:[75, 89, 26], Operations: ['1+25=26'] Exploring Operation: 89-75=14, Resulting Numbers: [26, 14] Generated Node #3: [26, 14] from Operation: 89-75=14 Current State: 40:[26, 14], Operations: ['1+25=26', '89-75=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[1, 25, 75, 89], Operations: [] Exploring Operation: 89-75=14, Resulting Numbers: [1, 25, 14] Generated Node #0,0: 40:[1, 25, 14] Operation: 89-75=14 Exploring Operation: 75-25=50, Resulting Numbers: [1, 89, 50] Generated Node #0,1: 40:[1, 89, 50] Operation: 75-25=50 Exploring Operation: 89-25=64, Resulting Numbers: [1, 75, 64] Generated Node #0,2: 40:[1, 75, 64] Operation: 89-25=64 Exploring Operation: 75/25=3, Resulting Numbers: [1, 89, 3] Generated Node #0,3: 40:[1, 89, 3] Operation: 75/25=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[1, 25, 14], Operations: ['89-75=14'] Exploring Operation: 14-1=13, Resulting Numbers: [25, 13] Generated Node #0,0,0: 40:[25, 13] Operation: 14-1=13 Exploring Operation: 25-1=24, Resulting Numbers: [14, 24] Generated Node #0,0,1: 40:[14, 24] Operation: 25-1=24 Exploring Operation: 25-14=11, Resulting Numbers: [1, 11] Generated Node #0,0,2: 40:[1, 11] Operation: 25-14=11 Exploring Operation: 25+14=39, Resulting Numbers: [1, 39] Generated Node #0,0,3: 40:[1, 39] Operation: 25+14=39 Moving to Node #0,0,2 Current State: 40:[1, 11], Operations: ['89-75=14', '25-14=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,40 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[1, 39], Operations: ['89-75=14', '25+14=39'] Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[1, 25, 75, 89], Operations: [] Exploring Operation: 89-75=14, Resulting Numbers: [1, 25, 14] Generated Node #0,0: 40:[1, 25, 14] Operation: 89-75=14 Moving to Node #0,0 Current State: 40:[1, 25, 14], Operations: ['89-75=14'] Exploring Operation: 25+14=39, Resulting Numbers: [1, 39] Generated Node #0,0,3: 40:[1, 39] Operation: 25+14=39 Moving to Node #0,0,3 Current State: 40:[1, 39], Operations: ['89-75=14', '25+14=39'] Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 54, 98, 99, 57 ]
65
[ "57-54=3", "99/3=33", "98-33=65" ]
Current State: 65:[54, 98, 99, 57], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [98, 99, 3] Generated Node #2: [98, 99, 3] from Operation: 57-54=3 Current State: 65:[98, 99, 3], Operations: ['57-54=3'] Exploring Operation: 99/3=33, Resulting Numbers: [98, 33] Generated Node #3: [98, 33] from Operation: 99/3=33 Current State: 65:[98, 33], Operations: ['57-54=3', '99/3=33'] Exploring Operation: 98-33=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[54, 98, 99, 57], Operations: [] Exploring Operation: 99-54=45, Resulting Numbers: [98, 57, 45] Generated Node #0,0: 65:[98, 57, 45] Operation: 99-54=45 Exploring Operation: 99-98=1, Resulting Numbers: [54, 57, 1] Generated Node #0,1: 65:[54, 57, 1] Operation: 99-98=1 Moving to Node #0,1 Current State: 65:[54, 57, 1], Operations: ['99-98=1'] Exploring Operation: 54+1=55, Resulting Numbers: [57, 55] Generated Node #0,1,0: 65:[57, 55] Operation: 54+1=55 Exploring Operation: 57-54=3, Resulting Numbers: [1, 3] Generated Node #0,1,1: 65:[1, 3] Operation: 57-54=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[1, 3], Operations: ['99-98=1', '57-54=3'] Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[57, 55], Operations: ['99-98=1', '54+1=55'] Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,65 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: 65:[98, 57, 45], Operations: ['99-54=45'] Exploring Operation: 57-45=12, Resulting Numbers: [98, 12] Generated Node #0,0,0: 65:[98, 12] Operation: 57-45=12 Exploring Operation: 98-45=53, Resulting Numbers: [57, 53] Generated Node #0,0,1: 65:[57, 53] Operation: 98-45=53 Moving to Node #0,0,1 Current State: 65:[57, 53], Operations: ['99-54=45', '98-45=53'] Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 57+53=110, Resulting Numbers: [110] 110,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[98, 12], Operations: ['99-54=45', '57-45=12'] Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,65 unequal: No Solution Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,65 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 54, 54, 85, 72 ]
63
[ "54*85=4590", "4590-54=4536", "4536/72=63" ]
Current State: 63:[54, 54, 85, 72], Operations: [] Exploring Operation: 54*85=4590, Resulting Numbers: [72, 4590] Generated Node #2: [72, 4590] from Operation: 54*85=4590 Current State: 63:[72, 4590], Operations: ['54*85=4590'] Exploring Operation: 4590-54=4536, Resulting Numbers: [72, 4536] Generated Node #3: [72, 4536] from Operation: 4590-54=4536 Current State: 63:[72, 4536], Operations: ['54*85=4590', '4590-54=4536'] Exploring Operation: 4536/72=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[54, 54, 85, 72], Operations: [] Exploring Operation: 85-72=13, Resulting Numbers: [54, 54, 13] Generated Node #0,0: 63:[54, 54, 13] Operation: 85-72=13 Moving to Node #0,0 Current State: 63:[54, 54, 13], Operations: ['85-72=13'] Exploring Operation: 54/54=1, Resulting Numbers: [13, 1] Generated Node #0,0,0: 63:[13, 1] Operation: 54/54=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[13, 1], Operations: ['85-72=13', '54/54=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,63 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
[ 3, 7, 49, 82 ]
46
[ "7+49=56", "82+56=138", "138/3=46" ]
Current State: 46:[3, 7, 49, 82], Operations: [] Exploring Operation: 7+49=56, Resulting Numbers: [3, 82, 56] Generated Node #2: [3, 82, 56] from Operation: 7+49=56 Current State: 46:[3, 82, 56], Operations: ['7+49=56'] Exploring Operation: 82+56=138, Resulting Numbers: [3, 138] Generated Node #3: [3, 138] from Operation: 82+56=138 Current State: 46:[3, 138], Operations: ['7+49=56', '82+56=138'] Exploring Operation: 138/3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[3, 7, 49, 82], Operations: [] Exploring Operation: 82-49=33, Resulting Numbers: [3, 7, 33] Generated Node #0,0: 46:[3, 7, 33] Operation: 82-49=33 Moving to Node #0,0 Current State: 46:[3, 7, 33], Operations: ['82-49=33'] Exploring Operation: 33-7=26, Resulting Numbers: [3, 26] Generated Node #0,0,0: 46:[3, 26] Operation: 33-7=26 Moving to Node #0,0,0 Current State: 46:[3, 26], Operations: ['82-49=33', '33-7=26'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,46 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 15, 53, 57, 96 ]
36
[ "57-53=4", "15*4=60", "96-60=36" ]
Current State: 36:[15, 53, 57, 96], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [15, 96, 4] Generated Node #2: [15, 96, 4] from Operation: 57-53=4 Current State: 36:[15, 96, 4], Operations: ['57-53=4'] Exploring Operation: 15*4=60, Resulting Numbers: [96, 60] Generated Node #3: [96, 60] from Operation: 15*4=60 Current State: 36:[96, 60], Operations: ['57-53=4', '15*4=60'] Exploring Operation: 96-60=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[15, 53, 57, 96], Operations: [] Exploring Operation: 96-57=39, Resulting Numbers: [15, 53, 39] Generated Node #0,0: 36:[15, 53, 39] Operation: 96-57=39 Moving to Node #0,0 Current State: 36:[15, 53, 39], Operations: ['96-57=39'] Exploring Operation: 53-15=38, Resulting Numbers: [39, 38] Generated Node #0,0,0: 36:[39, 38] Operation: 53-15=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[39, 38], Operations: ['96-57=39', '53-15=38'] Exploring Operation: 39-38=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
[ 50, 61, 34, 59 ]
14
[ "61-50=11", "59-34=25", "25-11=14" ]
Current State: 14:[50, 61, 34, 59], Operations: [] Exploring Operation: 61-50=11, Resulting Numbers: [34, 59, 11] Generated Node #2: [34, 59, 11] from Operation: 61-50=11 Current State: 14:[34, 59, 11], Operations: ['61-50=11'] Exploring Operation: 59-34=25, Resulting Numbers: [11, 25] Generated Node #3: [11, 25] from Operation: 59-34=25 Current State: 14:[11, 25], Operations: ['61-50=11', '59-34=25'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[50, 61, 34, 59], Operations: [] Exploring Operation: 61-34=27, Resulting Numbers: [50, 59, 27] Generated Node #0,0: 14:[50, 59, 27] Operation: 61-34=27 Exploring Operation: 61-59=2, Resulting Numbers: [50, 34, 2] Generated Node #0,1: 14:[50, 34, 2] Operation: 61-59=2 Exploring Operation: 61-50=11, Resulting Numbers: [34, 59, 11] Generated Node #0,2: 14:[34, 59, 11] Operation: 61-50=11 Exploring Operation: 59-50=9, Resulting Numbers: [61, 34, 9] Generated Node #0,3: 14:[61, 34, 9] Operation: 59-50=9 Exploring Operation: 50-34=16, Resulting Numbers: [61, 59, 16] Generated Node #0,4: 14:[61, 59, 16] Operation: 50-34=16 Moving to Node #0,1 Current State: 14:[50, 34, 2], Operations: ['61-59=2'] Exploring Operation: 34/2=17, Resulting Numbers: [50, 17] Generated Node #0,1,0: 14:[50, 17] Operation: 34/2=17 Exploring Operation: 50-34=16, Resulting Numbers: [2, 16] Generated Node #0,1,1: 14:[2, 16] Operation: 50-34=16 Exploring Operation: 50/2=25, Resulting Numbers: [34, 25] Generated Node #0,1,2: 14:[34, 25] Operation: 50/2=25 Exploring Operation: 34-2=32, Resulting Numbers: [50, 32] Generated Node #0,1,3: 14:[50, 32] Operation: 34-2=32 Exploring Operation: 50-2=48, Resulting Numbers: [34, 48] Generated Node #0,1,4: 14:[34, 48] Operation: 50-2=48 Moving to Node #0,2 Current State: 14:[34, 59, 11], Operations: ['61-50=11'] Exploring Operation: 59-11=48, Resulting Numbers: [34, 48] Generated Node #0,2,0: 14:[34, 48] Operation: 59-11=48 Exploring Operation: 59-34=25, Resulting Numbers: [11, 25] Generated Node #0,2,1: 14:[11, 25] Operation: 59-34=25 Exploring Operation: 59+11=70, Resulting Numbers: [34, 70] Generated Node #0,2,2: 14:[34, 70] Operation: 59+11=70 Exploring Operation: 34-11=23, Resulting Numbers: [59, 23] Generated Node #0,2,3: 14:[59, 23] Operation: 34-11=23 Exploring Operation: 34+11=45, Resulting Numbers: [59, 45] Generated Node #0,2,4: 14:[59, 45] Operation: 34+11=45 Moving to Node #0,3 Current State: 14:[61, 34, 9], Operations: ['59-50=9'] Exploring Operation: 61-9=52, Resulting Numbers: [34, 52] Generated Node #0,3,0: 14:[34, 52] Operation: 61-9=52 Exploring Operation: 61+9=70, Resulting Numbers: [34, 70] Generated Node #0,3,1: 14:[34, 70] Operation: 61+9=70 Exploring Operation: 34+9=43, Resulting Numbers: [61, 43] Generated Node #0,3,2: 14:[61, 43] Operation: 34+9=43 Exploring Operation: 61-34=27, Resulting Numbers: [9, 27] Generated Node #0,3,3: 14:[9, 27] Operation: 61-34=27 Exploring Operation: 34-9=25, Resulting Numbers: [61, 25] Generated Node #0,3,4: 14:[61, 25] Operation: 34-9=25 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[9, 27], Operations: ['59-50=9', '61-34=27'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 9*27=243, Resulting Numbers: [243] 243,14 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 14:[34, 52], Operations: ['59-50=9', '61-9=52'] Exploring Operation: 34*52=1768, Resulting Numbers: [1768] 1768,14 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 14:[61, 25], Operations: ['59-50=9', '34-9=25'] Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 61*25=1525, Resulting Numbers: [1525] 1525,14 unequal: No Solution Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 14:[34, 70], Operations: ['59-50=9', '61+9=70'] Exploring Operation: 34+70=104, Resulting Numbers: [104] 104,14 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 34*70=2380, Resulting Numbers: [2380] 2380,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 14:[61, 43], Operations: ['59-50=9', '34+9=43'] Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,14 unequal: No Solution Exploring Operation: 61*43=2623, Resulting Numbers: [2623] 2623,14 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 14:[50, 59, 27], Operations: ['61-34=27'] Exploring Operation: 50-27=23, Resulting Numbers: [59, 23] Generated Node #0,0,0: 14:[59, 23] Operation: 50-27=23 Exploring Operation: 50+27=77, Resulting Numbers: [59, 77] Generated Node #0,0,1: 14:[59, 77] Operation: 50+27=77 Exploring Operation: 59-27=32, Resulting Numbers: [50, 32] Generated Node #0,0,2: 14:[50, 32] Operation: 59-27=32 Exploring Operation: 59-50=9, Resulting Numbers: [27, 9] Generated Node #0,0,3: 14:[27, 9] Operation: 59-50=9 Exploring Operation: 50+59=109, Resulting Numbers: [27, 109] Generated Node #0,0,4: 14:[27, 109] Operation: 50+59=109 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 14:[27, 9], Operations: ['61-34=27', '59-50=9'] Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,14 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[59, 23], Operations: ['61-34=27', '50-27=23'] Exploring Operation: 59*23=1357, Resulting Numbers: [1357] 1357,14 unequal: No Solution Exploring Operation: 59+23=82, Resulting Numbers: [82] 82,14 unequal: No Solution Exploring Operation: 59-23=36, Resulting Numbers: [36] 36,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 14:[50, 32], Operations: ['61-34=27', '59-27=32'] Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,14 unequal: No Solution Exploring Operation: 50*32=1600, Resulting Numbers: [1600] 1600,14 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[59, 77], Operations: ['61-34=27', '50+27=77'] Exploring Operation: 59*77=4543, Resulting Numbers: [4543] 4543,14 unequal: No Solution Exploring Operation: 77-59=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 59+77=136, Resulting Numbers: [136] 136,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 14:[27, 109], Operations: ['61-34=27', '50+59=109'] Exploring Operation: 27*109=2943, Resulting Numbers: [2943] 2943,14 unequal: No Solution Exploring Operation: 109-27=82, Resulting Numbers: [82] 82,14 unequal: No Solution Exploring Operation: 27+109=136, Resulting Numbers: [136] 136,14 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: 14:[61, 59, 16], Operations: ['50-34=16'] Exploring Operation: 61-59=2, Resulting Numbers: [16, 2] Generated Node #0,4,0: 14:[16, 2] Operation: 61-59=2 Exploring Operation: 59-16=43, Resulting Numbers: [61, 43] Generated Node #0,4,1: 14:[61, 43] Operation: 59-16=43 Exploring Operation: 61-16=45, Resulting Numbers: [59, 45] Generated Node #0,4,2: 14:[59, 45] Operation: 61-16=45 Exploring Operation: 61+16=77, Resulting Numbers: [59, 77] Generated Node #0,4,3: 14:[59, 77] Operation: 61+16=77 Exploring Operation: 61+59=120, Resulting Numbers: [16, 120] Generated Node #0,4,4: 14:[16, 120] Operation: 61+59=120 Moving to Node #0,1,1 Current State: 14:[2, 16], Operations: ['61-59=2', '50-34=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,14 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[50, 61, 34, 59], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [50, 34, 2] Generated Node #0,1: 14:[50, 34, 2] Operation: 61-59=2 Moving to Node #0,1 Current State: 14:[50, 34, 2], Operations: ['61-59=2'] Exploring Operation: 50-34=16, Resulting Numbers: [2, 16] Generated Node #0,1,1: 14:[2, 16] Operation: 50-34=16 Moving to Node #0,1,1 Current State: 14:[2, 16], Operations: ['61-59=2', '50-34=16'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.940104
hs_5
sum_heuristic
[ 39, 3, 63, 41 ]
63
[ "39+3=42", "42-41=1", "63*1=63" ]
Current State: 63:[39, 3, 63, 41], Operations: [] Exploring Operation: 39+3=42, Resulting Numbers: [63, 41, 42] Generated Node #2: [63, 41, 42] from Operation: 39+3=42 Current State: 63:[63, 41, 42], Operations: ['39+3=42'] Exploring Operation: 42-41=1, Resulting Numbers: [63, 1] Generated Node #3: [63, 1] from Operation: 42-41=1 Current State: 63:[63, 1], Operations: ['39+3=42', '42-41=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[39, 3, 63, 41], Operations: [] Exploring Operation: 41-39=2, Resulting Numbers: [3, 63, 2] Generated Node #0,0: 63:[3, 63, 2] Operation: 41-39=2 Exploring Operation: 39+41=80, Resulting Numbers: [3, 63, 80] Generated Node #0,1: 63:[3, 63, 80] Operation: 39+41=80 Moving to Node #0,0 Current State: 63:[3, 63, 2], Operations: ['41-39=2'] Exploring Operation: 63/3=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 63:[2, 21] Operation: 63/3=21 Exploring Operation: 3*2=6, Resulting Numbers: [63, 6] Generated Node #0,0,1: 63:[63, 6] Operation: 3*2=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[2, 21], Operations: ['41-39=2', '63/3=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,63 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[63, 6], Operations: ['41-39=2', '3*2=6'] Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,63 unequal: No Solution Exploring Operation: 63-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,1 Current State: 63:[3, 63, 80], Operations: ['39+41=80'] Exploring Operation: 80-3=77, Resulting Numbers: [63, 77] Generated Node #0,1,0: 63:[63, 77] Operation: 80-3=77 Exploring Operation: 80-63=17, Resulting Numbers: [3, 17] Generated Node #0,1,1: 63:[3, 17] Operation: 80-63=17 Moving to Node #0,1,1 Current State: 63:[3, 17], Operations: ['39+41=80', '80-63=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[63, 77], Operations: ['39+41=80', '80-3=77'] Exploring Operation: 63+77=140, Resulting Numbers: [140] 140,63 unequal: No Solution Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,63 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 51, 48, 32, 6 ]
34
[ "51-48=3", "6/3=2", "32+2=34" ]
Current State: 34:[51, 48, 32, 6], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [32, 6, 3] Generated Node #2: [32, 6, 3] from Operation: 51-48=3 Current State: 34:[32, 6, 3], Operations: ['51-48=3'] Exploring Operation: 6/3=2, Resulting Numbers: [32, 2] Generated Node #3: [32, 2] from Operation: 6/3=2 Current State: 34:[32, 2], Operations: ['51-48=3', '6/3=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[51, 48, 32, 6], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [51, 32, 8] Generated Node #0,0: 34:[51, 32, 8] Operation: 48/6=8 Exploring Operation: 51-6=45, Resulting Numbers: [48, 32, 45] Generated Node #0,1: 34:[48, 32, 45] Operation: 51-6=45 Exploring Operation: 51-32=19, Resulting Numbers: [48, 6, 19] Generated Node #0,2: 34:[48, 6, 19] Operation: 51-32=19 Exploring Operation: 51-48=3, Resulting Numbers: [32, 6, 3] Generated Node #0,3: 34:[32, 6, 3] Operation: 51-48=3 Exploring Operation: 48-32=16, Resulting Numbers: [51, 6, 16] Generated Node #0,4: 34:[51, 6, 16] Operation: 48-32=16 Start Sub Search at level 1: Moving to Node #0,3 Current State: 34:[32, 6, 3], Operations: ['51-48=3'] Exploring Operation: 6/3=2, Resulting Numbers: [32, 2] Generated Node #0,3,0: 34:[32, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [32, 3] Generated Node #0,3,1: 34:[32, 3] Operation: 6-3=3 Exploring Operation: 32+6=38, Resulting Numbers: [3, 38] Generated Node #0,3,2: 34:[3, 38] Operation: 32+6=38 Exploring Operation: 32+3=35, Resulting Numbers: [6, 35] Generated Node #0,3,3: 34:[6, 35] Operation: 32+3=35 Exploring Operation: 6*3=18, Resulting Numbers: [32, 18] Generated Node #0,3,4: 34:[32, 18] Operation: 6*3=18 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 34:[32, 2], Operations: ['51-48=3', '6/3=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[51, 48, 32, 6], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [32, 6, 3] Generated Node #0,3: 34:[32, 6, 3] Operation: 51-48=3 Moving to Node #0,3 Current State: 34:[32, 6, 3], Operations: ['51-48=3'] Exploring Operation: 6/3=2, Resulting Numbers: [32, 2] Generated Node #0,3,0: 34:[32, 2] Operation: 6/3=2 Moving to Node #0,3,0 Current State: 34:[32, 2], Operations: ['51-48=3', '6/3=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 3, 47, 42, 25 ]
54
[ "3*42=126", "47+25=72", "126-72=54" ]
Current State: 54:[3, 47, 42, 25], Operations: [] Exploring Operation: 3*42=126, Resulting Numbers: [47, 25, 126] Generated Node #2: [47, 25, 126] from Operation: 3*42=126 Current State: 54:[47, 25, 126], Operations: ['3*42=126'] Exploring Operation: 47+25=72, Resulting Numbers: [126, 72] Generated Node #3: [126, 72] from Operation: 47+25=72 Current State: 54:[126, 72], Operations: ['3*42=126', '47+25=72'] Exploring Operation: 126-72=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[3, 47, 42, 25], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [3, 25, 5] Generated Node #0,0: 54:[3, 25, 5] Operation: 47-42=5 Exploring Operation: 42-25=17, Resulting Numbers: [3, 47, 17] Generated Node #0,1: 54:[3, 47, 17] Operation: 42-25=17 Moving to Node #0,0 Current State: 54:[3, 25, 5], Operations: ['47-42=5'] Exploring Operation: 25/5=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 54:[3, 5] Operation: 25/5=5 Exploring Operation: 3+25=28, Resulting Numbers: [5, 28] Generated Node #0,0,1: 54:[5, 28] Operation: 3+25=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[3, 5], Operations: ['47-42=5', '25/5=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[5, 28], Operations: ['47-42=5', '3+25=28'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,54 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: 54:[3, 47, 17], Operations: ['42-25=17'] Exploring Operation: 47-17=30, Resulting Numbers: [3, 30] Generated Node #0,1,0: 54:[3, 30] Operation: 47-17=30 Exploring Operation: 3+47=50, Resulting Numbers: [17, 50] Generated Node #0,1,1: 54:[17, 50] Operation: 3+47=50 Moving to Node #0,1,0 Current State: 54:[3, 30], Operations: ['42-25=17', '47-17=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[17, 50], Operations: ['42-25=17', '3+47=50'] Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 17+50=67, Resulting Numbers: [67] 67,54 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 78, 10, 54, 76 ]
74
[ "78-76=2", "10*2=20", "54+20=74" ]
Current State: 74:[78, 10, 54, 76], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [10, 54, 2] Generated Node #2: [10, 54, 2] from Operation: 78-76=2 Current State: 74:[10, 54, 2], Operations: ['78-76=2'] Exploring Operation: 10*2=20, Resulting Numbers: [54, 20] Generated Node #3: [54, 20] from Operation: 10*2=20 Current State: 74:[54, 20], Operations: ['78-76=2', '10*2=20'] Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[78, 10, 54, 76], Operations: [] Exploring Operation: 78-10=68, Resulting Numbers: [54, 76, 68] Generated Node #0,0: 74:[54, 76, 68] Operation: 78-10=68 Exploring Operation: 78-54=24, Resulting Numbers: [10, 76, 24] Generated Node #0,1: 74:[10, 76, 24] Operation: 78-54=24 Exploring Operation: 54-10=44, Resulting Numbers: [78, 76, 44] Generated Node #0,2: 74:[78, 76, 44] Operation: 54-10=44 Exploring Operation: 10+54=64, Resulting Numbers: [78, 76, 64] Generated Node #0,3: 74:[78, 76, 64] Operation: 10+54=64 Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[78, 76, 44], Operations: ['54-10=44'] Exploring Operation: 78-44=34, Resulting Numbers: [76, 34] Generated Node #0,2,0: 74:[76, 34] Operation: 78-44=34 Exploring Operation: 78-76=2, Resulting Numbers: [44, 2] Generated Node #0,2,1: 74:[44, 2] Operation: 78-76=2 Exploring Operation: 76-44=32, Resulting Numbers: [78, 32] Generated Node #0,2,2: 74:[78, 32] Operation: 76-44=32 Exploring Operation: 78+44=122, Resulting Numbers: [76, 122] Generated Node #0,2,3: 74:[76, 122] Operation: 78+44=122 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 74:[76, 34], Operations: ['54-10=44', '78-44=34'] Exploring Operation: 76*34=2584, Resulting Numbers: [2584] 2584,74 unequal: No Solution Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 76+34=110, Resulting Numbers: [110] 110,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,2,1 Current State: 74:[44, 2], Operations: ['54-10=44', '78-76=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,74 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,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,2,2 Current State: 74:[78, 32], Operations: ['54-10=44', '76-44=32'] Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 78*32=2496, Resulting Numbers: [2496] 2496,74 unequal: No Solution Exploring Operation: 78+32=110, Resulting Numbers: [110] 110,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,2,3 Current State: 74:[76, 122], Operations: ['54-10=44', '78+44=122'] Exploring Operation: 76+122=198, Resulting Numbers: [198] 198,74 unequal: No Solution Exploring Operation: 76*122=9272, Resulting Numbers: [9272] 9272,74 unequal: No Solution Exploring Operation: 122-76=46, Resulting Numbers: [46] 46,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:[78, 76, 64], Operations: ['10+54=64'] Exploring Operation: 78-76=2, Resulting Numbers: [64, 2] Generated Node #0,3,0: 74:[64, 2] Operation: 78-76=2 Exploring Operation: 78-64=14, Resulting Numbers: [76, 14] Generated Node #0,3,1: 74:[76, 14] Operation: 78-64=14 Exploring Operation: 78+64=142, Resulting Numbers: [76, 142] Generated Node #0,3,2: 74:[76, 142] Operation: 78+64=142 Exploring Operation: 76-64=12, Resulting Numbers: [78, 12] Generated Node #0,3,3: 74:[78, 12] Operation: 76-64=12 Moving to Node #0,3,0 Current State: 74:[64, 2], Operations: ['10+54=64', '78-76=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,74 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,74 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[78, 12], Operations: ['10+54=64', '76-64=12'] Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,74 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[76, 14], Operations: ['10+54=64', '78-64=14'] Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 76*14=1064, Resulting Numbers: [1064] 1064,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[76, 142], Operations: ['10+54=64', '78+64=142'] Exploring Operation: 142-76=66, Resulting Numbers: [66] 66,74 unequal: No Solution Exploring Operation: 76*142=10792, Resulting Numbers: [10792] 10792,74 unequal: No Solution Exploring Operation: 76+142=218, Resulting Numbers: [218] 218,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[10, 76, 24], Operations: ['78-54=24'] Exploring Operation: 24-10=14, Resulting Numbers: [76, 14] Generated Node #0,1,0: 74:[76, 14] Operation: 24-10=14 Exploring Operation: 10+24=34, Resulting Numbers: [76, 34] Generated Node #0,1,1: 74:[76, 34] Operation: 10+24=34 Exploring Operation: 76-10=66, Resulting Numbers: [24, 66] Generated Node #0,1,2: 74:[24, 66] Operation: 76-10=66 Exploring Operation: 76-24=52, Resulting Numbers: [10, 52] Generated Node #0,1,3: 74:[10, 52] Operation: 76-24=52 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[76, 34], Operations: ['78-54=24', '10+24=34'] Exploring Operation: 76*34=2584, Resulting Numbers: [2584] 2584,74 unequal: No Solution Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 76+34=110, Resulting Numbers: [110] 110,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,1,0 Current State: 74:[76, 14], Operations: ['78-54=24', '24-10=14'] Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 76*14=1064, Resulting Numbers: [1064] 1064,74 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,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,1,2 Current State: 74:[24, 66], Operations: ['78-54=24', '76-10=66'] Exploring Operation: 24+66=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 24*66=1584, Resulting Numbers: [1584] 1584,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,1,3 Current State: 74:[10, 52], Operations: ['78-54=24', '76-24=52'] Exploring Operation: 10+52=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 10*52=520, Resulting Numbers: [520] 520,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,0 Current State: 74:[54, 76, 68], Operations: ['78-10=68'] Exploring Operation: 76-68=8, Resulting Numbers: [54, 8] Generated Node #0,0,0: 74:[54, 8] Operation: 76-68=8 Exploring Operation: 76-54=22, Resulting Numbers: [68, 22] Generated Node #0,0,1: 74:[68, 22] Operation: 76-54=22 Exploring Operation: 68-54=14, Resulting Numbers: [76, 14] Generated Node #0,0,2: 74:[76, 14] Operation: 68-54=14 Exploring Operation: 54+68=122, Resulting Numbers: [76, 122] Generated Node #0,0,3: 74:[76, 122] Operation: 54+68=122 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[76, 14], Operations: ['78-10=68', '68-54=14'] Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 76*14=1064, Resulting Numbers: [1064] 1064,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:[68, 22], Operations: ['78-10=68', '76-54=22'] Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,74 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,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:[54, 8], Operations: ['78-10=68', '76-68=8'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,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:[76, 122], Operations: ['78-10=68', '54+68=122'] Exploring Operation: 122-76=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 76+122=198, Resulting Numbers: [198] 198,74 unequal: No Solution Exploring Operation: 76*122=9272, Resulting Numbers: [9272] 9272,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
[ 59, 14, 38, 26 ]
70
[ "59-38=21", "26-21=5", "14*5=70" ]
Current State: 70:[59, 14, 38, 26], Operations: [] Exploring Operation: 59-38=21, Resulting Numbers: [14, 26, 21] Generated Node #2: [14, 26, 21] from Operation: 59-38=21 Current State: 70:[14, 26, 21], Operations: ['59-38=21'] Exploring Operation: 26-21=5, Resulting Numbers: [14, 5] Generated Node #3: [14, 5] from Operation: 26-21=5 Current State: 70:[14, 5], Operations: ['59-38=21', '26-21=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[59, 14, 38, 26], Operations: [] Exploring Operation: 59-26=33, Resulting Numbers: [14, 38, 33] Generated Node #0,0: 70:[14, 38, 33] Operation: 59-26=33 Exploring Operation: 59+14=73, Resulting Numbers: [38, 26, 73] Generated Node #0,1: 70:[38, 26, 73] Operation: 59+14=73 Exploring Operation: 38-26=12, Resulting Numbers: [59, 14, 12] Generated Node #0,2: 70:[59, 14, 12] Operation: 38-26=12 Moving to Node #0,0 Current State: 70:[14, 38, 33], Operations: ['59-26=33'] Exploring Operation: 38-33=5, Resulting Numbers: [14, 5] Generated Node #0,0,0: 70:[14, 5] Operation: 38-33=5 Exploring Operation: 33-14=19, Resulting Numbers: [38, 19] Generated Node #0,0,1: 70:[38, 19] Operation: 33-14=19 Exploring Operation: 38+33=71, Resulting Numbers: [14, 71] Generated Node #0,0,2: 70:[14, 71] Operation: 38+33=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[14, 5], Operations: ['59-26=33', '38-33=5'] Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[59, 14, 38, 26], Operations: [] Exploring Operation: 59-26=33, Resulting Numbers: [14, 38, 33] Generated Node #0,0: 70:[14, 38, 33] Operation: 59-26=33 Moving to Node #0,0 Current State: 70:[14, 38, 33], Operations: ['59-26=33'] Exploring Operation: 38-33=5, Resulting Numbers: [14, 5] Generated Node #0,0,0: 70:[14, 5] Operation: 38-33=5 Moving to Node #0,0,0 Current State: 70:[14, 5], Operations: ['59-26=33', '38-33=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 19, 13, 85, 36 ]
79
[ "19-13=6", "36/6=6", "85-6=79" ]
Current State: 79:[19, 13, 85, 36], Operations: [] Exploring Operation: 19-13=6, Resulting Numbers: [85, 36, 6] Generated Node #2: [85, 36, 6] from Operation: 19-13=6 Current State: 79:[85, 36, 6], Operations: ['19-13=6'] Exploring Operation: 36/6=6, Resulting Numbers: [85, 6] Generated Node #3: [85, 6] from Operation: 36/6=6 Current State: 79:[85, 6], Operations: ['19-13=6', '36/6=6'] Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[19, 13, 85, 36], Operations: [] Exploring Operation: 19+36=55, Resulting Numbers: [13, 85, 55] Generated Node #0,0: 79:[13, 85, 55] Operation: 19+36=55 Exploring Operation: 19+13=32, Resulting Numbers: [85, 36, 32] Generated Node #0,1: 79:[85, 36, 32] Operation: 19+13=32 Exploring Operation: 13+36=49, Resulting Numbers: [19, 85, 49] Generated Node #0,2: 79:[19, 85, 49] Operation: 13+36=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[13, 85, 55], Operations: ['19+36=55'] Exploring Operation: 13+55=68, Resulting Numbers: [85, 68] Generated Node #0,0,0: 79:[85, 68] Operation: 13+55=68 Exploring Operation: 13+85=98, Resulting Numbers: [55, 98] Generated Node #0,0,1: 79:[55, 98] Operation: 13+85=98 Exploring Operation: 85-13=72, Resulting Numbers: [55, 72] Generated Node #0,0,2: 79:[55, 72] Operation: 85-13=72 Moving to Node #0,0,0 Current State: 79:[85, 68], Operations: ['19+36=55', '13+55=68'] Exploring Operation: 85+68=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 85-68=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 85*68=5780, Resulting Numbers: [5780] 5780,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[55, 72], Operations: ['19+36=55', '85-13=72'] Exploring Operation: 55*72=3960, Resulting Numbers: [3960] 3960,79 unequal: No Solution Exploring Operation: 55+72=127, Resulting Numbers: [127] 127,79 unequal: No Solution Exploring Operation: 72-55=17, Resulting Numbers: [17] 17,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[55, 98], Operations: ['19+36=55', '13+85=98'] Exploring Operation: 55*98=5390, Resulting Numbers: [5390] 5390,79 unequal: No Solution Exploring Operation: 55+98=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 98-55=43, Resulting Numbers: [43] 43,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[85, 36, 32], Operations: ['19+13=32'] Exploring Operation: 85-32=53, Resulting Numbers: [36, 53] Generated Node #0,1,0: 79:[36, 53] Operation: 85-32=53 Exploring Operation: 36+32=68, Resulting Numbers: [85, 68] Generated Node #0,1,1: 79:[85, 68] Operation: 36+32=68 Exploring Operation: 85-36=49, Resulting Numbers: [32, 49] Generated Node #0,1,2: 79:[32, 49] Operation: 85-36=49 Moving to Node #0,1,1 Current State: 79:[85, 68], Operations: ['19+13=32', '36+32=68'] Exploring Operation: 85-68=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 85+68=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 85*68=5780, Resulting Numbers: [5780] 5780,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[36, 53], Operations: ['19+13=32', '85-32=53'] Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 36+53=89, Resulting Numbers: [89] 89,79 unequal: No Solution Exploring Operation: 36*53=1908, Resulting Numbers: [1908] 1908,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[32, 49], Operations: ['19+13=32', '85-36=49'] Exploring Operation: 32*49=1568, Resulting Numbers: [1568] 1568,79 unequal: No Solution Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 32+49=81, Resulting Numbers: [81] 81,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[19, 85, 49], Operations: ['13+36=49'] Exploring Operation: 85-19=66, Resulting Numbers: [49, 66] Generated Node #0,2,0: 79:[49, 66] Operation: 85-19=66 Exploring Operation: 19+49=68, Resulting Numbers: [85, 68] Generated Node #0,2,1: 79:[85, 68] Operation: 19+49=68 Exploring Operation: 19+85=104, Resulting Numbers: [49, 104] Generated Node #0,2,2: 79:[49, 104] Operation: 19+85=104 Moving to Node #0,2,1 Current State: 79:[85, 68], Operations: ['13+36=49', '19+49=68'] Exploring Operation: 85-68=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 85+68=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 85*68=5780, Resulting Numbers: [5780] 5780,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[49, 66], Operations: ['13+36=49', '85-19=66'] Exploring Operation: 49*66=3234, Resulting Numbers: [3234] 3234,79 unequal: No Solution Exploring Operation: 49+66=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[49, 104], Operations: ['13+36=49', '19+85=104'] Exploring Operation: 104-49=55, Resulting Numbers: [55] 55,79 unequal: No Solution Exploring Operation: 49*104=5096, Resulting Numbers: [5096] 5096,79 unequal: No Solution Exploring Operation: 49+104=153, Resulting Numbers: [153] 153,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 7, 41, 40, 27 ]
43
[ "27-7=20", "40/20=2", "41+2=43" ]
Current State: 43:[7, 41, 40, 27], Operations: [] Exploring Operation: 27-7=20, Resulting Numbers: [41, 40, 20] Generated Node #2: [41, 40, 20] from Operation: 27-7=20 Current State: 43:[41, 40, 20], Operations: ['27-7=20'] Exploring Operation: 40/20=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 40/20=2 Current State: 43:[41, 2], Operations: ['27-7=20', '40/20=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[7, 41, 40, 27], Operations: [] Exploring Operation: 7+27=34, Resulting Numbers: [41, 40, 34] Generated Node #0,0: 43:[41, 40, 34] Operation: 7+27=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[41, 40, 34], Operations: ['7+27=34'] Exploring Operation: 40+34=74, Resulting Numbers: [41, 74] Generated Node #0,0,0: 43:[41, 74] Operation: 40+34=74 Moving to Node #0,0,0 Current State: 43:[41, 74], Operations: ['7+27=34', '40+34=74'] Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 37, 32, 35, 4 ]
10
[ "37-32=5", "35+5=40", "40/4=10" ]
Current State: 10:[37, 32, 35, 4], Operations: [] Exploring Operation: 37-32=5, Resulting Numbers: [35, 4, 5] Generated Node #2: [35, 4, 5] from Operation: 37-32=5 Current State: 10:[35, 4, 5], Operations: ['37-32=5'] Exploring Operation: 35+5=40, Resulting Numbers: [4, 40] Generated Node #3: [4, 40] from Operation: 35+5=40 Current State: 10:[4, 40], Operations: ['37-32=5', '35+5=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[37, 32, 35, 4], Operations: [] Exploring Operation: 37-32=5, Resulting Numbers: [35, 4, 5] Generated Node #0,0: 10:[35, 4, 5] Operation: 37-32=5 Exploring Operation: 35-32=3, Resulting Numbers: [37, 4, 3] Generated Node #0,1: 10:[37, 4, 3] Operation: 35-32=3 Exploring Operation: 37-35=2, Resulting Numbers: [32, 4, 2] Generated Node #0,2: 10:[32, 4, 2] Operation: 37-35=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[32, 4, 2], Operations: ['37-35=2'] Exploring Operation: 32/4=8, Resulting Numbers: [2, 8] Generated Node #0,2,0: 10:[2, 8] Operation: 32/4=8 Exploring Operation: 32/2=16, Resulting Numbers: [4, 16] Generated Node #0,2,1: 10:[4, 16] Operation: 32/2=16 Exploring Operation: 32-4=28, Resulting Numbers: [2, 28] Generated Node #0,2,2: 10:[2, 28] Operation: 32-4=28 Moving to Node #0,2,0 Current State: 10:[2, 8], Operations: ['37-35=2', '32/4=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[37, 32, 35, 4], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [32, 4, 2] Generated Node #0,2: 10:[32, 4, 2] Operation: 37-35=2 Moving to Node #0,2 Current State: 10:[32, 4, 2], Operations: ['37-35=2'] Exploring Operation: 32/4=8, Resulting Numbers: [2, 8] Generated Node #0,2,0: 10:[2, 8] Operation: 32/4=8 Moving to Node #0,2,0 Current State: 10:[2, 8], Operations: ['37-35=2', '32/4=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 56, 24, 32, 40 ]
34
[ "56+24=80", "80/40=2", "32+2=34" ]
Current State: 34:[56, 24, 32, 40], Operations: [] Exploring Operation: 56+24=80, Resulting Numbers: [32, 40, 80] Generated Node #2: [32, 40, 80] from Operation: 56+24=80 Current State: 34:[32, 40, 80], Operations: ['56+24=80'] Exploring Operation: 80/40=2, Resulting Numbers: [32, 2] Generated Node #3: [32, 2] from Operation: 80/40=2 Current State: 34:[32, 2], Operations: ['56+24=80', '80/40=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[56, 24, 32, 40], Operations: [] Exploring Operation: 56-40=16, Resulting Numbers: [24, 32, 16] Generated Node #0,0: 34:[24, 32, 16] Operation: 56-40=16 Exploring Operation: 56-32=24, Resulting Numbers: [24, 40, 24] Generated Node #0,1: 34:[24, 40, 24] Operation: 56-32=24 Exploring Operation: 56-24=32, Resulting Numbers: [32, 40, 32] Generated Node #0,2: 34:[32, 40, 32] Operation: 56-24=32 Moving to Node #0,0 Current State: 34:[24, 32, 16], Operations: ['56-40=16'] Exploring Operation: 32/16=2, Resulting Numbers: [24, 2] Generated Node #0,0,0: 34:[24, 2] Operation: 32/16=2 Exploring Operation: 32-24=8, Resulting Numbers: [16, 8] Generated Node #0,0,1: 34:[16, 8] Operation: 32-24=8 Exploring Operation: 24+16=40, Resulting Numbers: [32, 40] Generated Node #0,0,2: 34:[32, 40] Operation: 24+16=40 Moving to Node #0,2 Current State: 34:[32, 40, 32], Operations: ['56-24=32'] Exploring Operation: 40-32=8, Resulting Numbers: [32, 8] Generated Node #0,2,0: 34:[32, 8] Operation: 40-32=8 Exploring Operation: 32-32=0, Resulting Numbers: [40, 0] Generated Node #0,2,1: 34:[40, 0] Operation: 32-32=0 Exploring Operation: 32/32=1, Resulting Numbers: [40, 1] Generated Node #0,2,2: 34:[40, 1] Operation: 32/32=1 Moving to Node #0,1 Current State: 34:[24, 40, 24], Operations: ['56-32=24'] Exploring Operation: 24-24=0, Resulting Numbers: [40, 0] Generated Node #0,1,0: 34:[40, 0] Operation: 24-24=0 Exploring Operation: 24/24=1, Resulting Numbers: [40, 1] Generated Node #0,1,1: 34:[40, 1] Operation: 24/24=1 Exploring Operation: 40-24=16, Resulting Numbers: [24, 16] Generated Node #0,1,2: 34:[24, 16] Operation: 40-24=16 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[40, 1], Operations: ['56-32=24', '24/24=1'] Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,34 unequal: No Solution No 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: 34:[40, 0], Operations: ['56-32=24', '24-24=0'] Exploring Operation: 40+0=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 40*0=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 40-0=40, Resulting Numbers: [40] 40,34 unequal: No Solution No 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: 34:[24, 16], Operations: ['56-32=24', '40-24=16'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,34 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: 34:[24, 2], Operations: ['56-40=16', '32/16=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[16, 8], Operations: ['56-40=16', '32-24=8'] Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[40, 1], Operations: ['56-24=32', '32/32=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[32, 40], Operations: ['56-40=16', '24+16=40'] Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,34 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[40, 0], Operations: ['56-24=32', '32-32=0'] Exploring Operation: 40+0=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 40-0=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 40*0=0, Resulting Numbers: [0] 0,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[32, 8], Operations: ['56-24=32', '40-32=8'] Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,34 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 81, 9, 58, 65 ]
79
[ "81-9=72", "65-58=7", "72+7=79" ]
Current State: 79:[81, 9, 58, 65], Operations: [] Exploring Operation: 81-9=72, Resulting Numbers: [58, 65, 72] Generated Node #2: [58, 65, 72] from Operation: 81-9=72 Current State: 79:[58, 65, 72], Operations: ['81-9=72'] Exploring Operation: 65-58=7, Resulting Numbers: [72, 7] Generated Node #3: [72, 7] from Operation: 65-58=7 Current State: 79:[72, 7], Operations: ['81-9=72', '65-58=7'] Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[81, 9, 58, 65], Operations: [] Exploring Operation: 9+58=67, Resulting Numbers: [81, 65, 67] Generated Node #0,0: 79:[81, 65, 67] Operation: 9+58=67 Exploring Operation: 81-9=72, Resulting Numbers: [58, 65, 72] Generated Node #0,1: 79:[58, 65, 72] Operation: 81-9=72 Exploring Operation: 9+65=74, Resulting Numbers: [81, 58, 74] Generated Node #0,2: 79:[81, 58, 74] Operation: 9+65=74 Moving to Node #0,0 Current State: 79:[81, 65, 67], Operations: ['9+58=67'] Exploring Operation: 81+65=146, Resulting Numbers: [67, 146] Generated Node #0,0,0: 79:[67, 146] Operation: 81+65=146 Exploring Operation: 65+67=132, Resulting Numbers: [81, 132] Generated Node #0,0,1: 79:[81, 132] Operation: 65+67=132 Exploring Operation: 81-65=16, Resulting Numbers: [67, 16] Generated Node #0,0,2: 79:[67, 16] Operation: 81-65=16 Moving to Node #0,2 Current State: 79:[81, 58, 74], Operations: ['9+65=74'] Exploring Operation: 81-58=23, Resulting Numbers: [74, 23] Generated Node #0,2,0: 79:[74, 23] Operation: 81-58=23 Exploring Operation: 81+58=139, Resulting Numbers: [74, 139] Generated Node #0,2,1: 79:[74, 139] Operation: 81+58=139 Exploring Operation: 58+74=132, Resulting Numbers: [81, 132] Generated Node #0,2,2: 79:[81, 132] Operation: 58+74=132 Moving to Node #0,1 Current State: 79:[58, 65, 72], Operations: ['81-9=72'] Exploring Operation: 65-58=7, Resulting Numbers: [72, 7] Generated Node #0,1,0: 79:[72, 7] Operation: 65-58=7 Exploring Operation: 58+65=123, Resulting Numbers: [72, 123] Generated Node #0,1,1: 79:[72, 123] Operation: 58+65=123 Exploring Operation: 58+72=130, Resulting Numbers: [65, 130] Generated Node #0,1,2: 79:[65, 130] Operation: 58+72=130 Moving to Node #0,1,1 Current State: 79:[72, 123], Operations: ['81-9=72', '58+65=123'] Exploring Operation: 72*123=8856, Resulting Numbers: [8856] 8856,79 unequal: No Solution Exploring Operation: 123-72=51, Resulting Numbers: [51] 51,79 unequal: No Solution Exploring Operation: 72+123=195, Resulting Numbers: [195] 195,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[81, 132], Operations: ['9+58=67', '65+67=132'] Exploring Operation: 81+132=213, Resulting Numbers: [213] 213,79 unequal: No Solution Exploring Operation: 81*132=10692, Resulting Numbers: [10692] 10692,79 unequal: No Solution Exploring Operation: 132-81=51, Resulting Numbers: [51] 51,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[81, 132], Operations: ['9+65=74', '58+74=132'] Exploring Operation: 81+132=213, Resulting Numbers: [213] 213,79 unequal: No Solution Exploring Operation: 132-81=51, Resulting Numbers: [51] 51,79 unequal: No Solution Exploring Operation: 81*132=10692, Resulting Numbers: [10692] 10692,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[74, 23], Operations: ['9+65=74', '81-58=23'] Exploring Operation: 74+23=97, Resulting Numbers: [97] 97,79 unequal: No Solution Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,79 unequal: No Solution Exploring Operation: 74*23=1702, Resulting Numbers: [1702] 1702,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[74, 139], Operations: ['9+65=74', '81+58=139'] Exploring Operation: 74+139=213, Resulting Numbers: [213] 213,79 unequal: No Solution Exploring Operation: 74*139=10286, Resulting Numbers: [10286] 10286,79 unequal: No Solution Exploring Operation: 139-74=65, Resulting Numbers: [65] 65,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[65, 130], Operations: ['81-9=72', '58+72=130'] Exploring Operation: 130/65=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 65+130=195, Resulting Numbers: [195] 195,79 unequal: No Solution Exploring Operation: 130-65=65, Resulting Numbers: [65] 65,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[67, 16], Operations: ['9+58=67', '81-65=16'] Exploring Operation: 67+16=83, Resulting Numbers: [83] 83,79 unequal: No Solution Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,79 unequal: No Solution Exploring Operation: 67*16=1072, Resulting Numbers: [1072] 1072,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[72, 7], Operations: ['81-9=72', '65-58=7'] Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[81, 9, 58, 65], Operations: [] Exploring Operation: 81-9=72, Resulting Numbers: [58, 65, 72] Generated Node #0,1: 79:[58, 65, 72] Operation: 81-9=72 Moving to Node #0,1 Current State: 79:[58, 65, 72], Operations: ['81-9=72'] Exploring Operation: 65-58=7, Resulting Numbers: [72, 7] Generated Node #0,1,0: 79:[72, 7] Operation: 65-58=7 Moving to Node #0,1,0 Current State: 79:[72, 7], Operations: ['81-9=72', '65-58=7'] Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
0.967014
hs_3
mult_heuristic
[ 22, 92, 99, 70 ]
99
[ "92-22=70", "99+70=169", "169-70=99" ]
Current State: 99:[22, 92, 99, 70], Operations: [] Exploring Operation: 92-22=70, Resulting Numbers: [99, 70, 70] Generated Node #2: [99, 70, 70] from Operation: 92-22=70 Current State: 99:[99, 70, 70], Operations: ['92-22=70'] Exploring Operation: 99+70=169, Resulting Numbers: [169] 169,99 equal: Goal Reached Exploring Operation: 169-70=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[22, 92, 99, 70], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [22, 92, 29] Generated Node #0,0: 99:[22, 92, 29] Operation: 99-70=29 Exploring Operation: 99-92=7, Resulting Numbers: [22, 70, 7] Generated Node #0,1: 99:[22, 70, 7] Operation: 99-92=7 Exploring Operation: 92-70=22, Resulting Numbers: [22, 99, 22] Generated Node #0,2: 99:[22, 99, 22] Operation: 92-70=22 Exploring Operation: 70-22=48, Resulting Numbers: [92, 99, 48] Generated Node #0,3: 99:[92, 99, 48] Operation: 70-22=48 Exploring Operation: 22+70=92, Resulting Numbers: [92, 99, 92] Generated Node #0,4: 99:[92, 99, 92] Operation: 22+70=92 Moving to Node #0,4 Current State: 99:[92, 99, 92], Operations: ['22+70=92'] Exploring Operation: 99-92=7, Resulting Numbers: [92, 7] Generated Node #0,4,0: 99:[92, 7] Operation: 99-92=7 Exploring Operation: 92-92=0, Resulting Numbers: [99, 0] Generated Node #0,4,1: 99:[99, 0] Operation: 92-92=0 Exploring Operation: 99-92=7, Resulting Numbers: [92, 7] Generated Node #0,4,2: 99:[92, 7] Operation: 99-92=7 Exploring Operation: 92+92=184, Resulting Numbers: [99, 184] Generated Node #0,4,3: 99:[99, 184] Operation: 92+92=184 Exploring Operation: 92/92=1, Resulting Numbers: [99, 1] Generated Node #0,4,4: 99:[99, 1] Operation: 92/92=1 Moving to Node #0,2 Current State: 99:[22, 99, 22], Operations: ['92-70=22'] Exploring Operation: 99-22=77, Resulting Numbers: [22, 77] Generated Node #0,2,0: 99:[22, 77] Operation: 99-22=77 Exploring Operation: 22-22=0, Resulting Numbers: [99, 0] Generated Node #0,2,1: 99:[99, 0] Operation: 22-22=0 Exploring Operation: 22+22=44, Resulting Numbers: [99, 44] Generated Node #0,2,2: 99:[99, 44] Operation: 22+22=44 Exploring Operation: 22/22=1, Resulting Numbers: [99, 1] Generated Node #0,2,3: 99:[99, 1] Operation: 22/22=1 Exploring Operation: 22+99=121, Resulting Numbers: [22, 121] Generated Node #0,2,4: 99:[22, 121] Operation: 22+99=121 Moving to Node #0,0 Current State: 99:[22, 92, 29], Operations: ['99-70=29'] Exploring Operation: 92+29=121, Resulting Numbers: [22, 121] Generated Node #0,0,0: 99:[22, 121] Operation: 92+29=121 Exploring Operation: 29-22=7, Resulting Numbers: [92, 7] Generated Node #0,0,1: 99:[92, 7] Operation: 29-22=7 Exploring Operation: 22+92=114, Resulting Numbers: [29, 114] Generated Node #0,0,2: 99:[29, 114] Operation: 22+92=114 Exploring Operation: 22+29=51, Resulting Numbers: [92, 51] Generated Node #0,0,3: 99:[92, 51] Operation: 22+29=51 Exploring Operation: 92-22=70, Resulting Numbers: [29, 70] Generated Node #0,0,4: 99:[29, 70] Operation: 92-22=70 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[92, 7], Operations: ['99-70=29', '29-22=7'] Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 92*7=644, Resulting Numbers: [644] 644,99 unequal: No Solution Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[22, 92, 99, 70], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [22, 92, 29] Generated Node #0,0: 99:[22, 92, 29] Operation: 99-70=29 Moving to Node #0,0 Current State: 99:[22, 92, 29], Operations: ['99-70=29'] Exploring Operation: 29-22=7, Resulting Numbers: [92, 7] Generated Node #0,0,1: 99:[92, 7] Operation: 29-22=7 Moving to Node #0,0,1 Current State: 99:[92, 7], Operations: ['99-70=29', '29-22=7'] Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 78, 99, 84, 8 ]
71
[ "99-78=21", "84+8=92", "92-21=71" ]
Current State: 71:[78, 99, 84, 8], Operations: [] Exploring Operation: 99-78=21, Resulting Numbers: [84, 8, 21] Generated Node #2: [84, 8, 21] from Operation: 99-78=21 Current State: 71:[84, 8, 21], Operations: ['99-78=21'] Exploring Operation: 84+8=92, Resulting Numbers: [21, 92] Generated Node #3: [21, 92] from Operation: 84+8=92 Current State: 71:[21, 92], Operations: ['99-78=21', '84+8=92'] Exploring Operation: 92-21=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[78, 99, 84, 8], Operations: [] Exploring Operation: 99-8=91, Resulting Numbers: [78, 84, 91] Generated Node #0,0: 71:[78, 84, 91] Operation: 99-8=91 Moving to Node #0,0 Current State: 71:[78, 84, 91], Operations: ['99-8=91'] Exploring Operation: 91-78=13, Resulting Numbers: [84, 13] Generated Node #0,0,0: 71:[84, 13] Operation: 91-78=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[84, 13], Operations: ['99-8=91', '91-78=13'] Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[78, 99, 84, 8], Operations: [] Exploring Operation: 99-8=91, Resulting Numbers: [78, 84, 91] Generated Node #0,0: 71:[78, 84, 91] Operation: 99-8=91 Moving to Node #0,0 Current State: 71:[78, 84, 91], Operations: ['99-8=91'] Exploring Operation: 91-78=13, Resulting Numbers: [84, 13] Generated Node #0,0,0: 71:[84, 13] Operation: 91-78=13 Moving to Node #0,0,0 Current State: 71:[84, 13], Operations: ['99-8=91', '91-78=13'] Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 80, 33, 28, 99 ]
83
[ "33-28=5", "80/5=16", "99-16=83" ]
Current State: 83:[80, 33, 28, 99], Operations: [] Exploring Operation: 33-28=5, Resulting Numbers: [80, 99, 5] Generated Node #2: [80, 99, 5] from Operation: 33-28=5 Current State: 83:[80, 99, 5], Operations: ['33-28=5'] Exploring Operation: 80/5=16, Resulting Numbers: [99, 16] Generated Node #3: [99, 16] from Operation: 80/5=16 Current State: 83:[99, 16], Operations: ['33-28=5', '80/5=16'] Exploring Operation: 99-16=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[80, 33, 28, 99], Operations: [] Exploring Operation: 33+28=61, Resulting Numbers: [80, 99, 61] Generated Node #0,0: 83:[80, 99, 61] Operation: 33+28=61 Exploring Operation: 99-28=71, Resulting Numbers: [80, 33, 71] Generated Node #0,1: 83:[80, 33, 71] Operation: 99-28=71 Moving to Node #0,0 Current State: 83:[80, 99, 61], Operations: ['33+28=61'] Exploring Operation: 99-61=38, Resulting Numbers: [80, 38] Generated Node #0,0,0: 83:[80, 38] Operation: 99-61=38 Exploring Operation: 80+61=141, Resulting Numbers: [99, 141] Generated Node #0,0,1: 83:[99, 141] Operation: 80+61=141 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[80, 38], Operations: ['33+28=61', '99-61=38'] Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 80+38=118, Resulting Numbers: [118] 118,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[99, 141], Operations: ['33+28=61', '80+61=141'] Exploring Operation: 141-99=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 99+141=240, Resulting Numbers: [240] 240,83 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: 83:[80, 33, 71], Operations: ['99-28=71'] Exploring Operation: 33+71=104, Resulting Numbers: [80, 104] Generated Node #0,1,0: 83:[80, 104] Operation: 33+71=104 Exploring Operation: 80+33=113, Resulting Numbers: [71, 113] Generated Node #0,1,1: 83:[71, 113] Operation: 80+33=113 Moving to Node #0,1,0 Current State: 83:[80, 104], Operations: ['99-28=71', '33+71=104'] Exploring Operation: 104-80=24, Resulting Numbers: [24] 24,83 unequal: No Solution Exploring Operation: 80+104=184, Resulting Numbers: [184] 184,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[71, 113], Operations: ['99-28=71', '80+33=113'] Exploring Operation: 113-71=42, Resulting Numbers: [42] 42,83 unequal: No Solution Exploring Operation: 71+113=184, Resulting Numbers: [184] 184,83 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 26, 44, 29, 30 ]
17
[ "44-26=18", "30-29=1", "18-1=17" ]
Current State: 17:[26, 44, 29, 30], Operations: [] Exploring Operation: 44-26=18, Resulting Numbers: [29, 30, 18] Generated Node #2: [29, 30, 18] from Operation: 44-26=18 Current State: 17:[29, 30, 18], Operations: ['44-26=18'] Exploring Operation: 30-29=1, Resulting Numbers: [18, 1] Generated Node #3: [18, 1] from Operation: 30-29=1 Current State: 17:[18, 1], Operations: ['44-26=18', '30-29=1'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[26, 44, 29, 30], Operations: [] Exploring Operation: 44-29=15, Resulting Numbers: [26, 30, 15] Generated Node #0,0: 17:[26, 30, 15] Operation: 44-29=15 Moving to Node #0,0 Current State: 17:[26, 30, 15], Operations: ['44-29=15'] Exploring Operation: 30-15=15, Resulting Numbers: [26, 15] Generated Node #0,0,0: 17:[26, 15] Operation: 30-15=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[26, 15], Operations: ['44-29=15', '30-15=15'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,17 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
[ 89, 40, 44, 66 ]
19
[ "89+40=129", "44+66=110", "129-110=19" ]
Current State: 19:[89, 40, 44, 66], Operations: [] Exploring Operation: 89+40=129, Resulting Numbers: [44, 66, 129] Generated Node #2: [44, 66, 129] from Operation: 89+40=129 Current State: 19:[44, 66, 129], Operations: ['89+40=129'] Exploring Operation: 44+66=110, Resulting Numbers: [129, 110] Generated Node #3: [129, 110] from Operation: 44+66=110 Current State: 19:[129, 110], Operations: ['89+40=129', '44+66=110'] Exploring Operation: 129-110=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[89, 40, 44, 66], Operations: [] Exploring Operation: 66-44=22, Resulting Numbers: [89, 40, 22] Generated Node #0,0: 19:[89, 40, 22] Operation: 66-44=22 Exploring Operation: 89-66=23, Resulting Numbers: [40, 44, 23] Generated Node #0,1: 19:[40, 44, 23] Operation: 89-66=23 Exploring Operation: 89-44=45, Resulting Numbers: [40, 66, 45] Generated Node #0,2: 19:[40, 66, 45] Operation: 89-44=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[40, 44, 23], Operations: ['89-66=23'] Exploring Operation: 40-23=17, Resulting Numbers: [44, 17] Generated Node #0,1,0: 19:[44, 17] Operation: 40-23=17 Exploring Operation: 44-40=4, Resulting Numbers: [23, 4] Generated Node #0,1,1: 19:[23, 4] Operation: 44-40=4 Exploring Operation: 44-23=21, Resulting Numbers: [40, 21] Generated Node #0,1,2: 19:[40, 21] Operation: 44-23=21 Moving to Node #0,1,1 Current State: 19:[23, 4], Operations: ['89-66=23', '44-40=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[89, 40, 44, 66], Operations: [] Exploring Operation: 89-66=23, Resulting Numbers: [40, 44, 23] Generated Node #0,1: 19:[40, 44, 23] Operation: 89-66=23 Moving to Node #0,1 Current State: 19:[40, 44, 23], Operations: ['89-66=23'] Exploring Operation: 44-40=4, Resulting Numbers: [23, 4] Generated Node #0,1,1: 19:[23, 4] Operation: 44-40=4 Moving to Node #0,1,1 Current State: 19:[23, 4], Operations: ['89-66=23', '44-40=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 7, 56, 23, 67 ]
41
[ "56-7=49", "23+67=90", "90-49=41" ]
Current State: 41:[7, 56, 23, 67], Operations: [] Exploring Operation: 56-7=49, Resulting Numbers: [23, 67, 49] Generated Node #2: [23, 67, 49] from Operation: 56-7=49 Current State: 41:[23, 67, 49], Operations: ['56-7=49'] Exploring Operation: 23+67=90, Resulting Numbers: [49, 90] Generated Node #3: [49, 90] from Operation: 23+67=90 Current State: 41:[49, 90], Operations: ['56-7=49', '23+67=90'] Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[7, 56, 23, 67], Operations: [] Exploring Operation: 56-7=49, Resulting Numbers: [23, 67, 49] Generated Node #0,0: 41:[23, 67, 49] Operation: 56-7=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[23, 67, 49], Operations: ['56-7=49'] Exploring Operation: 67-23=44, Resulting Numbers: [49, 44] Generated Node #0,0,0: 41:[49, 44] Operation: 67-23=44 Moving to Node #0,0,0 Current State: 41:[49, 44], Operations: ['56-7=49', '67-23=44'] Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,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
[ 2, 14, 43, 7 ]
65
[ "2*43=86", "14+7=21", "86-21=65" ]
Current State: 65:[2, 14, 43, 7], Operations: [] Exploring Operation: 2*43=86, Resulting Numbers: [14, 7, 86] Generated Node #2: [14, 7, 86] from Operation: 2*43=86 Current State: 65:[14, 7, 86], Operations: ['2*43=86'] Exploring Operation: 14+7=21, Resulting Numbers: [86, 21] Generated Node #3: [86, 21] from Operation: 14+7=21 Current State: 65:[86, 21], Operations: ['2*43=86', '14+7=21'] Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[2, 14, 43, 7], Operations: [] Exploring Operation: 43-14=29, Resulting Numbers: [2, 7, 29] Generated Node #0,0: 65:[2, 7, 29] Operation: 43-14=29 Exploring Operation: 14+43=57, Resulting Numbers: [2, 7, 57] Generated Node #0,1: 65:[2, 7, 57] Operation: 14+43=57 Exploring Operation: 2+43=45, Resulting Numbers: [14, 7, 45] Generated Node #0,2: 65:[14, 7, 45] Operation: 2+43=45 Exploring Operation: 43+7=50, Resulting Numbers: [2, 14, 50] Generated Node #0,3: 65:[2, 14, 50] Operation: 43+7=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[2, 7, 57], Operations: ['14+43=57'] Exploring Operation: 2*7=14, Resulting Numbers: [57, 14] Generated Node #0,1,0: 65:[57, 14] Operation: 2*7=14 Exploring Operation: 2+57=59, Resulting Numbers: [7, 59] Generated Node #0,1,1: 65:[7, 59] Operation: 2+57=59 Exploring Operation: 7-2=5, Resulting Numbers: [57, 5] Generated Node #0,1,2: 65:[57, 5] Operation: 7-2=5 Exploring Operation: 7+57=64, Resulting Numbers: [2, 64] Generated Node #0,1,3: 65:[2, 64] Operation: 7+57=64 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 65:[2, 64], Operations: ['14+43=57', '7+57=64'] Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,65 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,65 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[7, 59], Operations: ['14+43=57', '2+57=59'] Exploring Operation: 7+59=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 7*59=413, Resulting Numbers: [413] 413,65 unequal: No Solution Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 65:[57, 5], Operations: ['14+43=57', '7-2=5'] Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,65 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,65 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[57, 14], Operations: ['14+43=57', '2*7=14'] Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,65 unequal: No Solution Exploring Operation: 57*14=798, Resulting Numbers: [798] 798,65 unequal: No Solution Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[2, 14, 50], Operations: ['43+7=50'] Exploring Operation: 14-2=12, Resulting Numbers: [50, 12] Generated Node #0,3,0: 65:[50, 12] Operation: 14-2=12 Exploring Operation: 14+50=64, Resulting Numbers: [2, 64] Generated Node #0,3,1: 65:[2, 64] Operation: 14+50=64 Exploring Operation: 50/2=25, Resulting Numbers: [14, 25] Generated Node #0,3,2: 65:[14, 25] Operation: 50/2=25 Exploring Operation: 2+50=52, Resulting Numbers: [14, 52] Generated Node #0,3,3: 65:[14, 52] Operation: 2+50=52 Moving to Node #0,3,1 Current State: 65:[2, 64], Operations: ['43+7=50', '14+50=64'] Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,65 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,65 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[14, 25], Operations: ['43+7=50', '50/2=25'] Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,65 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[14, 52], Operations: ['43+7=50', '2+50=52'] Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,65 unequal: No Solution Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[50, 12], Operations: ['43+7=50', '14-2=12'] Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,65 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[2, 7, 29], Operations: ['43-14=29'] Exploring Operation: 29-7=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 65:[2, 22] Operation: 29-7=22 Exploring Operation: 29-2=27, Resulting Numbers: [7, 27] Generated Node #0,0,1: 65:[7, 27] Operation: 29-2=27 Exploring Operation: 2*29=58, Resulting Numbers: [7, 58] Generated Node #0,0,2: 65:[7, 58] Operation: 2*29=58 Exploring Operation: 7-2=5, Resulting Numbers: [29, 5] Generated Node #0,0,3: 65:[29, 5] Operation: 7-2=5 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 65:[7, 58], Operations: ['43-14=29', '2*29=58'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,65 unequal: No Solution Exploring Operation: 7*58=406, Resulting Numbers: [406] 406,65 unequal: No Solution Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[2, 14, 43, 7], Operations: [] Exploring Operation: 43-14=29, Resulting Numbers: [2, 7, 29] Generated Node #0,0: 65:[2, 7, 29] Operation: 43-14=29 Moving to Node #0,0 Current State: 65:[2, 7, 29], Operations: ['43-14=29'] Exploring Operation: 2*29=58, Resulting Numbers: [7, 58] Generated Node #0,0,2: 65:[7, 58] Operation: 2*29=58 Moving to Node #0,0,2 Current State: 65:[7, 58], Operations: ['43-14=29', '2*29=58'] Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.957465
hs_4
sum_heuristic
[ 95, 22, 6, 63 ]
30
[ "95+22=117", "63+117=180", "180/6=30" ]
Current State: 30:[95, 22, 6, 63], Operations: [] Exploring Operation: 95+22=117, Resulting Numbers: [6, 63, 117] Generated Node #2: [6, 63, 117] from Operation: 95+22=117 Current State: 30:[6, 63, 117], Operations: ['95+22=117'] Exploring Operation: 63+117=180, Resulting Numbers: [6, 180] Generated Node #3: [6, 180] from Operation: 63+117=180 Current State: 30:[6, 180], Operations: ['95+22=117', '63+117=180'] Exploring Operation: 180/6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[95, 22, 6, 63], Operations: [] Exploring Operation: 63-22=41, Resulting Numbers: [95, 6, 41] Generated Node #0,0: 30:[95, 6, 41] Operation: 63-22=41 Exploring Operation: 95-63=32, Resulting Numbers: [22, 6, 32] Generated Node #0,1: 30:[22, 6, 32] Operation: 95-63=32 Exploring Operation: 95-22=73, Resulting Numbers: [6, 63, 73] Generated Node #0,2: 30:[6, 63, 73] Operation: 95-22=73 Moving to Node #0,1 Current State: 30:[22, 6, 32], Operations: ['95-63=32'] Exploring Operation: 32-22=10, Resulting Numbers: [6, 10] Generated Node #0,1,0: 30:[6, 10] Operation: 32-22=10 Exploring Operation: 22+6=28, Resulting Numbers: [32, 28] Generated Node #0,1,1: 30:[32, 28] Operation: 22+6=28 Exploring Operation: 22-6=16, Resulting Numbers: [32, 16] Generated Node #0,1,2: 30:[32, 16] Operation: 22-6=16 Moving to Node #0,0 Current State: 30:[95, 6, 41], Operations: ['63-22=41'] Exploring Operation: 95-41=54, Resulting Numbers: [6, 54] Generated Node #0,0,0: 30:[6, 54] Operation: 95-41=54 Exploring Operation: 95-6=89, Resulting Numbers: [41, 89] Generated Node #0,0,1: 30:[41, 89] Operation: 95-6=89 Exploring Operation: 41-6=35, Resulting Numbers: [95, 35] Generated Node #0,0,2: 30:[95, 35] Operation: 41-6=35 Moving to Node #0,2 Current State: 30:[6, 63, 73], Operations: ['95-22=73'] Exploring Operation: 73-63=10, Resulting Numbers: [6, 10] Generated Node #0,2,0: 30:[6, 10] Operation: 73-63=10 Exploring Operation: 73-6=67, Resulting Numbers: [63, 67] Generated Node #0,2,1: 30:[63, 67] Operation: 73-6=67 Exploring Operation: 63-6=57, Resulting Numbers: [73, 57] Generated Node #0,2,2: 30:[73, 57] Operation: 63-6=57 Moving to Node #0,1,0 Current State: 30:[6, 10], Operations: ['95-63=32', '32-22=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[6, 10], Operations: ['95-22=73', '73-63=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[32, 16], Operations: ['95-63=32', '22-6=16'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[32, 28], Operations: ['95-63=32', '22+6=28'] Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[6, 54], Operations: ['63-22=41', '95-41=54'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,30 unequal: No Solution Exploring Operation: 6+54=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[95, 35], Operations: ['63-22=41', '41-6=35'] Exploring Operation: 95+35=130, Resulting Numbers: [130] 130,30 unequal: No Solution Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 95*35=3325, Resulting Numbers: [3325] 3325,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[73, 57], Operations: ['95-22=73', '63-6=57'] Exploring Operation: 73+57=130, Resulting Numbers: [130] 130,30 unequal: No Solution Exploring Operation: 73*57=4161, Resulting Numbers: [4161] 4161,30 unequal: No Solution Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[41, 89], Operations: ['63-22=41', '95-6=89'] Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,30 unequal: No Solution Exploring Operation: 41*89=3649, Resulting Numbers: [3649] 3649,30 unequal: No Solution Exploring Operation: 41+89=130, Resulting Numbers: [130] 130,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[63, 67], Operations: ['95-22=73', '73-6=67'] Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 63*67=4221, Resulting Numbers: [4221] 4221,30 unequal: No Solution Exploring Operation: 63+67=130, Resulting Numbers: [130] 130,30 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 74, 62, 90, 78 ]
32
[ "74+62=136", "90+78=168", "168-136=32" ]
Current State: 32:[74, 62, 90, 78], Operations: [] Exploring Operation: 74+62=136, Resulting Numbers: [90, 78, 136] Generated Node #2: [90, 78, 136] from Operation: 74+62=136 Current State: 32:[90, 78, 136], Operations: ['74+62=136'] Exploring Operation: 90+78=168, Resulting Numbers: [136, 168] Generated Node #3: [136, 168] from Operation: 90+78=168 Current State: 32:[136, 168], Operations: ['74+62=136', '90+78=168'] Exploring Operation: 168-136=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[74, 62, 90, 78], Operations: [] Exploring Operation: 90-62=28, Resulting Numbers: [74, 78, 28] Generated Node #0,0: 32:[74, 78, 28] Operation: 90-62=28 Exploring Operation: 78-74=4, Resulting Numbers: [62, 90, 4] Generated Node #0,1: 32:[62, 90, 4] Operation: 78-74=4 Exploring Operation: 78-62=16, Resulting Numbers: [74, 90, 16] Generated Node #0,2: 32:[74, 90, 16] Operation: 78-62=16 Exploring Operation: 90-74=16, Resulting Numbers: [62, 78, 16] Generated Node #0,3: 32:[62, 78, 16] Operation: 90-74=16 Exploring Operation: 90-78=12, Resulting Numbers: [74, 62, 12] Generated Node #0,4: 32:[74, 62, 12] Operation: 90-78=12 Moving to Node #0,3 Current State: 32:[62, 78, 16], Operations: ['90-74=16'] Exploring Operation: 62+16=78, Resulting Numbers: [78, 78] Generated Node #0,3,0: 32:[78, 78] Operation: 62+16=78 Exploring Operation: 78+16=94, Resulting Numbers: [62, 94] Generated Node #0,3,1: 32:[62, 94] Operation: 78+16=94 Exploring Operation: 62-16=46, Resulting Numbers: [78, 46] Generated Node #0,3,2: 32:[78, 46] Operation: 62-16=46 Exploring Operation: 78-16=62, Resulting Numbers: [62, 62] Generated Node #0,3,3: 32:[62, 62] Operation: 78-16=62 Exploring Operation: 78-62=16, Resulting Numbers: [16, 16] Generated Node #0,3,4: 32:[16, 16] Operation: 78-62=16 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 32:[16, 16], Operations: ['90-74=16', '78-62=16'] Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,32 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[74, 62, 90, 78], Operations: [] Exploring Operation: 90-74=16, Resulting Numbers: [62, 78, 16] Generated Node #0,3: 32:[62, 78, 16] Operation: 90-74=16 Moving to Node #0,3 Current State: 32:[62, 78, 16], Operations: ['90-74=16'] Exploring Operation: 78-62=16, Resulting Numbers: [16, 16] Generated Node #0,3,4: 32:[16, 16] Operation: 78-62=16 Moving to Node #0,3,4 Current State: 32:[16, 16], Operations: ['90-74=16', '78-62=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 88, 7, 31, 91 ]
52
[ "91-88=3", "7*3=21", "31+21=52" ]
Current State: 52:[88, 7, 31, 91], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [7, 31, 3] Generated Node #2: [7, 31, 3] from Operation: 91-88=3 Current State: 52:[7, 31, 3], Operations: ['91-88=3'] Exploring Operation: 7*3=21, Resulting Numbers: [31, 21] Generated Node #3: [31, 21] from Operation: 7*3=21 Current State: 52:[31, 21], Operations: ['91-88=3', '7*3=21'] Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[88, 7, 31, 91], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [88, 31, 13] Generated Node #0,0: 52:[88, 31, 13] Operation: 91/7=13 Exploring Operation: 91-31=60, Resulting Numbers: [88, 7, 60] Generated Node #0,1: 52:[88, 7, 60] Operation: 91-31=60 Exploring Operation: 88-31=57, Resulting Numbers: [7, 91, 57] Generated Node #0,2: 52:[7, 91, 57] Operation: 88-31=57 Exploring Operation: 88-7=81, Resulting Numbers: [31, 91, 81] Generated Node #0,3: 52:[31, 91, 81] Operation: 88-7=81 Exploring Operation: 91-88=3, Resulting Numbers: [7, 31, 3] Generated Node #0,4: 52:[7, 31, 3] Operation: 91-88=3 Moving to Node #0,4 Current State: 52:[7, 31, 3], Operations: ['91-88=3'] Exploring Operation: 31-7=24, Resulting Numbers: [3, 24] Generated Node #0,4,0: 52:[3, 24] Operation: 31-7=24 Exploring Operation: 7*3=21, Resulting Numbers: [31, 21] Generated Node #0,4,1: 52:[31, 21] Operation: 7*3=21 Exploring Operation: 7+3=10, Resulting Numbers: [31, 10] Generated Node #0,4,2: 52:[31, 10] Operation: 7+3=10 Exploring Operation: 7-3=4, Resulting Numbers: [31, 4] Generated Node #0,4,3: 52:[31, 4] Operation: 7-3=4 Exploring Operation: 31-3=28, Resulting Numbers: [7, 28] Generated Node #0,4,4: 52:[7, 28] Operation: 31-3=28 Moving to Node #0,0 Current State: 52:[88, 31, 13], Operations: ['91/7=13'] Exploring Operation: 88-13=75, Resulting Numbers: [31, 75] Generated Node #0,0,0: 52:[31, 75] Operation: 88-13=75 Exploring Operation: 88-31=57, Resulting Numbers: [13, 57] Generated Node #0,0,1: 52:[13, 57] Operation: 88-31=57 Exploring Operation: 31-13=18, Resulting Numbers: [88, 18] Generated Node #0,0,2: 52:[88, 18] Operation: 31-13=18 Exploring Operation: 31+13=44, Resulting Numbers: [88, 44] Generated Node #0,0,3: 52:[88, 44] Operation: 31+13=44 Exploring Operation: 88+13=101, Resulting Numbers: [31, 101] Generated Node #0,0,4: 52:[31, 101] Operation: 88+13=101 Moving to Node #0,1 Current State: 52:[88, 7, 60], Operations: ['91-31=60'] Exploring Operation: 7+60=67, Resulting Numbers: [88, 67] Generated Node #0,1,0: 52:[88, 67] Operation: 7+60=67 Exploring Operation: 60-7=53, Resulting Numbers: [88, 53] Generated Node #0,1,1: 52:[88, 53] Operation: 60-7=53 Exploring Operation: 88+7=95, Resulting Numbers: [60, 95] Generated Node #0,1,2: 52:[60, 95] Operation: 88+7=95 Exploring Operation: 88-7=81, Resulting Numbers: [60, 81] Generated Node #0,1,3: 52:[60, 81] Operation: 88-7=81 Exploring Operation: 88-60=28, Resulting Numbers: [7, 28] Generated Node #0,1,4: 52:[7, 28] Operation: 88-60=28 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 52:[7, 28], Operations: ['91-31=60', '88-60=28'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,52 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,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,1,1 Current State: 52:[88, 53], Operations: ['91-31=60', '60-7=53'] Exploring Operation: 88*53=4664, Resulting Numbers: [4664] 4664,52 unequal: No Solution Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 88+53=141, Resulting Numbers: [141] 141,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,1,3 Current State: 52:[60, 81], Operations: ['91-31=60', '88-7=81'] Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 60*81=4860, Resulting Numbers: [4860] 4860,52 unequal: No Solution Exploring Operation: 60+81=141, Resulting Numbers: [141] 141,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,1,0 Current State: 52:[88, 67], Operations: ['91-31=60', '7+60=67'] Exploring Operation: 88-67=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 88*67=5896, Resulting Numbers: [5896] 5896,52 unequal: No Solution Exploring Operation: 88+67=155, Resulting Numbers: [155] 155,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,1,2 Current State: 52:[60, 95], Operations: ['91-31=60', '88+7=95'] Exploring Operation: 60*95=5700, Resulting Numbers: [5700] 5700,52 unequal: No Solution Exploring Operation: 95-60=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 60+95=155, Resulting Numbers: [155] 155,52 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: 52:[7, 91, 57], Operations: ['88-31=57'] Exploring Operation: 91/7=13, Resulting Numbers: [57, 13] Generated Node #0,2,0: 52:[57, 13] Operation: 91/7=13 Exploring Operation: 91-7=84, Resulting Numbers: [57, 84] Generated Node #0,2,1: 52:[57, 84] Operation: 91-7=84 Exploring Operation: 91-57=34, Resulting Numbers: [7, 34] Generated Node #0,2,2: 52:[7, 34] Operation: 91-57=34 Exploring Operation: 7+91=98, Resulting Numbers: [57, 98] Generated Node #0,2,3: 52:[57, 98] Operation: 7+91=98 Exploring Operation: 57-7=50, Resulting Numbers: [91, 50] Generated Node #0,2,4: 52:[91, 50] Operation: 57-7=50 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[57, 13], Operations: ['88-31=57', '91/7=13'] Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,52 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,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:[7, 34], Operations: ['88-31=57', '91-57=34'] Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,52 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,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,1 Current State: 52:[57, 84], Operations: ['88-31=57', '91-7=84'] Exploring Operation: 57+84=141, Resulting Numbers: [141] 141,52 unequal: No Solution Exploring Operation: 84-57=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 57*84=4788, Resulting Numbers: [4788] 4788,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:[91, 50], Operations: ['88-31=57', '57-7=50'] Exploring Operation: 91+50=141, Resulting Numbers: [141] 141,52 unequal: No Solution Exploring Operation: 91-50=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 91*50=4550, Resulting Numbers: [4550] 4550,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:[57, 98], Operations: ['88-31=57', '7+91=98'] Exploring Operation: 57*98=5586, Resulting Numbers: [5586] 5586,52 unequal: No Solution Exploring Operation: 57+98=155, Resulting Numbers: [155] 155,52 unequal: No Solution Exploring Operation: 98-57=41, Resulting Numbers: [41] 41,52 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: 52:[31, 91, 81], Operations: ['88-7=81'] Exploring Operation: 91-31=60, Resulting Numbers: [81, 60] Generated Node #0,3,0: 52:[81, 60] Operation: 91-31=60 Exploring Operation: 31+91=122, Resulting Numbers: [81, 122] Generated Node #0,3,1: 52:[81, 122] Operation: 31+91=122 Exploring Operation: 31+81=112, Resulting Numbers: [91, 112] Generated Node #0,3,2: 52:[91, 112] Operation: 31+81=112 Exploring Operation: 91-81=10, Resulting Numbers: [31, 10] Generated Node #0,3,3: 52:[31, 10] Operation: 91-81=10 Exploring Operation: 81-31=50, Resulting Numbers: [91, 50] Generated Node #0,3,4: 52:[91, 50] Operation: 81-31=50 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[31, 10], Operations: ['88-7=81', '91-81=10'] Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,52 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,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:[81, 60], Operations: ['88-7=81', '91-31=60'] Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 81+60=141, Resulting Numbers: [141] 141,52 unequal: No Solution Exploring Operation: 81*60=4860, Resulting Numbers: [4860] 4860,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:[91, 50], Operations: ['88-7=81', '81-31=50'] Exploring Operation: 91-50=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 91+50=141, Resulting Numbers: [141] 141,52 unequal: No Solution Exploring Operation: 91*50=4550, Resulting Numbers: [4550] 4550,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,1 Current State: 52:[81, 122], Operations: ['88-7=81', '31+91=122'] Exploring Operation: 122-81=41, Resulting Numbers: [41] 41,52 unequal: No Solution Exploring Operation: 81+122=203, Resulting Numbers: [203] 203,52 unequal: No Solution Exploring Operation: 81*122=9882, Resulting Numbers: [9882] 9882,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:[91, 112], Operations: ['88-7=81', '31+81=112'] Exploring Operation: 91*112=10192, Resulting Numbers: [10192] 10192,52 unequal: No Solution Exploring Operation: 112-91=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 91+112=203, Resulting Numbers: [203] 203,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 52:[3, 24], Operations: ['91-88=3', '31-7=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,52 unequal: No Solution Moving to Node #0,4,4 Current State: 52:[7, 28], Operations: ['91-88=3', '31-3=28'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,52 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[13, 57], Operations: ['91/7=13', '88-31=57'] Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,52 unequal: No Solution Exploring Operation: 13*57=741, Resulting Numbers: [741] 741,52 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,52 unequal: No Solution Moving to Node #0,4,3 Current State: 52:[31, 4], Operations: ['91-88=3', '7-3=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,52 unequal: No Solution Moving to Node #0,4,2 Current State: 52:[31, 10], Operations: ['91-88=3', '7+3=10'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 31*10=310, Resulting Numbers: [310] 310,52 unequal: No Solution Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,52 unequal: No Solution Moving to Node #0,4,1 Current State: 52:[31, 21], Operations: ['91-88=3', '7*3=21'] Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,52 unequal: No Solution Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[88, 7, 31, 91], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [7, 31, 3] Generated Node #0,4: 52:[7, 31, 3] Operation: 91-88=3 Moving to Node #0,4 Current State: 52:[7, 31, 3], Operations: ['91-88=3'] Exploring Operation: 7*3=21, Resulting Numbers: [31, 21] Generated Node #0,4,1: 52:[31, 21] Operation: 7*3=21 Moving to Node #0,4,1 Current State: 52:[31, 21], Operations: ['91-88=3', '7*3=21'] Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.913194
hs_5
mult_heuristic
[ 53, 7, 21, 31 ]
87
[ "53+31=84", "21/7=3", "84+3=87" ]
Current State: 87:[53, 7, 21, 31], Operations: [] Exploring Operation: 53+31=84, Resulting Numbers: [7, 21, 84] Generated Node #2: [7, 21, 84] from Operation: 53+31=84 Current State: 87:[7, 21, 84], Operations: ['53+31=84'] Exploring Operation: 21/7=3, Resulting Numbers: [84, 3] Generated Node #3: [84, 3] from Operation: 21/7=3 Current State: 87:[84, 3], Operations: ['53+31=84', '21/7=3'] Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[53, 7, 21, 31], Operations: [] Exploring Operation: 53+31=84, Resulting Numbers: [7, 21, 84] Generated Node #0,0: 87:[7, 21, 84] Operation: 53+31=84 Exploring Operation: 53-21=32, Resulting Numbers: [7, 31, 32] Generated Node #0,1: 87:[7, 31, 32] Operation: 53-21=32 Moving to Node #0,1 Current State: 87:[7, 31, 32], Operations: ['53-21=32'] Exploring Operation: 32-7=25, Resulting Numbers: [31, 25] Generated Node #0,1,0: 87:[31, 25] Operation: 32-7=25 Exploring Operation: 32-31=1, Resulting Numbers: [7, 1] Generated Node #0,1,1: 87:[7, 1] Operation: 32-31=1 Moving to Node #0,0 Current State: 87:[7, 21, 84], Operations: ['53+31=84'] Exploring Operation: 21/7=3, Resulting Numbers: [84, 3] Generated Node #0,0,0: 87:[84, 3] Operation: 21/7=3 Exploring Operation: 7+21=28, Resulting Numbers: [84, 28] Generated Node #0,0,1: 87:[84, 28] Operation: 7+21=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[84, 3], Operations: ['53+31=84', '21/7=3'] Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[53, 7, 21, 31], Operations: [] Exploring Operation: 53+31=84, Resulting Numbers: [7, 21, 84] Generated Node #0,0: 87:[7, 21, 84] Operation: 53+31=84 Moving to Node #0,0 Current State: 87:[7, 21, 84], Operations: ['53+31=84'] Exploring Operation: 21/7=3, Resulting Numbers: [84, 3] Generated Node #0,0,0: 87:[84, 3] Operation: 21/7=3 Moving to Node #0,0,0 Current State: 87:[84, 3], Operations: ['53+31=84', '21/7=3'] Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 79, 24, 72, 99 ]
68
[ "79+24=103", "72+99=171", "171-103=68" ]
Current State: 68:[79, 24, 72, 99], Operations: [] Exploring Operation: 79+24=103, Resulting Numbers: [72, 99, 103] Generated Node #2: [72, 99, 103] from Operation: 79+24=103 Current State: 68:[72, 99, 103], Operations: ['79+24=103'] Exploring Operation: 72+99=171, Resulting Numbers: [103, 171] Generated Node #3: [103, 171] from Operation: 72+99=171 Current State: 68:[103, 171], Operations: ['79+24=103', '72+99=171'] Exploring Operation: 171-103=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[79, 24, 72, 99], Operations: [] Exploring Operation: 99-79=20, Resulting Numbers: [24, 72, 20] Generated Node #0,0: 68:[24, 72, 20] Operation: 99-79=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[24, 72, 20], Operations: ['99-79=20'] Exploring Operation: 72/24=3, Resulting Numbers: [20, 3] Generated Node #0,0,0: 68:[20, 3] Operation: 72/24=3 Moving to Node #0,0,0 Current State: 68:[20, 3], Operations: ['99-79=20', '72/24=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,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
[ 84, 89, 78, 79 ]
16
[ "84+89=173", "78+79=157", "173-157=16" ]
Current State: 16:[84, 89, 78, 79], Operations: [] Exploring Operation: 84+89=173, Resulting Numbers: [78, 79, 173] Generated Node #2: [78, 79, 173] from Operation: 84+89=173 Current State: 16:[78, 79, 173], Operations: ['84+89=173'] Exploring Operation: 78+79=157, Resulting Numbers: [173, 157] Generated Node #3: [173, 157] from Operation: 78+79=157 Current State: 16:[173, 157], Operations: ['84+89=173', '78+79=157'] Exploring Operation: 173-157=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[84, 89, 78, 79], Operations: [] Exploring Operation: 89-78=11, Resulting Numbers: [84, 79, 11] Generated Node #0,0: 16:[84, 79, 11] Operation: 89-78=11 Exploring Operation: 89-79=10, Resulting Numbers: [84, 78, 10] Generated Node #0,1: 16:[84, 78, 10] Operation: 89-79=10 Exploring Operation: 89-84=5, Resulting Numbers: [78, 79, 5] Generated Node #0,2: 16:[78, 79, 5] Operation: 89-84=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[78, 79, 5], Operations: ['89-84=5'] Exploring Operation: 79-5=74, Resulting Numbers: [78, 74] Generated Node #0,2,0: 16:[78, 74] Operation: 79-5=74 Exploring Operation: 79-78=1, Resulting Numbers: [5, 1] Generated Node #0,2,1: 16:[5, 1] Operation: 79-78=1 Exploring Operation: 78-5=73, Resulting Numbers: [79, 73] Generated Node #0,2,2: 16:[79, 73] Operation: 78-5=73 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 16:[5, 1], Operations: ['89-84=5', '79-78=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 16:[78, 74], Operations: ['89-84=5', '79-5=74'] Exploring Operation: 78+74=152, Resulting Numbers: [152] 152,16 unequal: No Solution Exploring Operation: 78*74=5772, Resulting Numbers: [5772] 5772,16 unequal: No Solution Exploring Operation: 78-74=4, Resulting Numbers: [4] 4,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 16:[79, 73], Operations: ['89-84=5', '78-5=73'] Exploring Operation: 79*73=5767, Resulting Numbers: [5767] 5767,16 unequal: No Solution Exploring Operation: 79-73=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 79+73=152, Resulting Numbers: [152] 152,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[84, 78, 10], Operations: ['89-79=10'] Exploring Operation: 78-10=68, Resulting Numbers: [84, 68] Generated Node #0,1,0: 16:[84, 68] Operation: 78-10=68 Exploring Operation: 84-10=74, Resulting Numbers: [78, 74] Generated Node #0,1,1: 16:[78, 74] Operation: 84-10=74 Exploring Operation: 84-78=6, Resulting Numbers: [10, 6] Generated Node #0,1,2: 16:[10, 6] Operation: 84-78=6 Moving to Node #0,1,2 Current State: 16:[10, 6], Operations: ['89-79=10', '84-78=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[84, 89, 78, 79], Operations: [] Exploring Operation: 89-79=10, Resulting Numbers: [84, 78, 10] Generated Node #0,1: 16:[84, 78, 10] Operation: 89-79=10 Moving to Node #0,1 Current State: 16:[84, 78, 10], Operations: ['89-79=10'] Exploring Operation: 84-78=6, Resulting Numbers: [10, 6] Generated Node #0,1,2: 16:[10, 6] Operation: 84-78=6 Moving to Node #0,1,2 Current State: 16:[10, 6], Operations: ['89-79=10', '84-78=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 21, 42, 58, 47 ]
36
[ "42/21=2", "47*2=94", "94-58=36" ]
Current State: 36:[21, 42, 58, 47], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [58, 47, 2] Generated Node #2: [58, 47, 2] from Operation: 42/21=2 Current State: 36:[58, 47, 2], Operations: ['42/21=2'] Exploring Operation: 47*2=94, Resulting Numbers: [58, 94] Generated Node #3: [58, 94] from Operation: 47*2=94 Current State: 36:[58, 94], Operations: ['42/21=2', '47*2=94'] Exploring Operation: 94-58=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[21, 42, 58, 47], Operations: [] Exploring Operation: 58-42=16, Resulting Numbers: [21, 47, 16] Generated Node #0,0: 36:[21, 47, 16] Operation: 58-42=16 Exploring Operation: 58-47=11, Resulting Numbers: [21, 42, 11] Generated Node #0,1: 36:[21, 42, 11] Operation: 58-47=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[21, 42, 11], Operations: ['58-47=11'] Exploring Operation: 42-21=21, Resulting Numbers: [11, 21] Generated Node #0,1,0: 36:[11, 21] Operation: 42-21=21 Exploring Operation: 42/21=2, Resulting Numbers: [11, 2] Generated Node #0,1,1: 36:[11, 2] Operation: 42/21=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[11, 2], Operations: ['58-47=11', '42/21=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[11, 21], Operations: ['58-47=11', '42-21=21'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[21, 47, 16], Operations: ['58-42=16'] Exploring Operation: 47-21=26, Resulting Numbers: [16, 26] Generated Node #0,0,0: 36:[16, 26] Operation: 47-21=26 Exploring Operation: 47-16=31, Resulting Numbers: [21, 31] Generated Node #0,0,1: 36:[21, 31] Operation: 47-16=31 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[21, 31], Operations: ['58-42=16', '47-16=31'] Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 21+31=52, Resulting Numbers: [52] 52,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[16, 26], Operations: ['58-42=16', '47-21=26'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 16+26=42, Resulting Numbers: [42] 42,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 87, 23, 11, 29 ]
31
[ "87/29=3", "23+11=34", "34-3=31" ]
Current State: 31:[87, 23, 11, 29], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [23, 11, 3] Generated Node #2: [23, 11, 3] from Operation: 87/29=3 Current State: 31:[23, 11, 3], Operations: ['87/29=3'] Exploring Operation: 23+11=34, Resulting Numbers: [3, 34] Generated Node #3: [3, 34] from Operation: 23+11=34 Current State: 31:[3, 34], Operations: ['87/29=3', '23+11=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[87, 23, 11, 29], Operations: [] Exploring Operation: 87-11=76, Resulting Numbers: [23, 29, 76] Generated Node #0,0: 31:[23, 29, 76] Operation: 87-11=76 Exploring Operation: 87-23=64, Resulting Numbers: [11, 29, 64] Generated Node #0,1: 31:[11, 29, 64] Operation: 87-23=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[23, 29, 76], Operations: ['87-11=76'] Exploring Operation: 76-29=47, Resulting Numbers: [23, 47] Generated Node #0,0,0: 31:[23, 47] Operation: 76-29=47 Exploring Operation: 76-23=53, Resulting Numbers: [29, 53] Generated Node #0,0,1: 31:[29, 53] Operation: 76-23=53 Moving to Node #0,0,0 Current State: 31:[23, 47], Operations: ['87-11=76', '76-29=47'] Exploring Operation: 23+47=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[29, 53], Operations: ['87-11=76', '76-23=53'] Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,31 unequal: No Solution Exploring Operation: 29+53=82, Resulting Numbers: [82] 82,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[11, 29, 64], Operations: ['87-23=64'] Exploring Operation: 64-11=53, Resulting Numbers: [29, 53] Generated Node #0,1,0: 31:[29, 53] Operation: 64-11=53 Exploring Operation: 64-29=35, Resulting Numbers: [11, 35] Generated Node #0,1,1: 31:[11, 35] Operation: 64-29=35 Moving to Node #0,1,0 Current State: 31:[29, 53], Operations: ['87-23=64', '64-11=53'] Exploring Operation: 29+53=82, Resulting Numbers: [82] 82,31 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[11, 35], Operations: ['87-23=64', '64-29=35'] Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,31 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
[ 50, 41, 61, 53 ]
83
[ "50+41=91", "61-53=8", "91-8=83" ]
Current State: 83:[50, 41, 61, 53], Operations: [] Exploring Operation: 50+41=91, Resulting Numbers: [61, 53, 91] Generated Node #2: [61, 53, 91] from Operation: 50+41=91 Current State: 83:[61, 53, 91], Operations: ['50+41=91'] Exploring Operation: 61-53=8, Resulting Numbers: [91, 8] Generated Node #3: [91, 8] from Operation: 61-53=8 Current State: 83:[91, 8], Operations: ['50+41=91', '61-53=8'] Exploring Operation: 91-8=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[50, 41, 61, 53], Operations: [] Exploring Operation: 50+41=91, Resulting Numbers: [61, 53, 91] Generated Node #0,0: 83:[61, 53, 91] Operation: 50+41=91 Exploring Operation: 41+53=94, Resulting Numbers: [50, 61, 94] Generated Node #0,1: 83:[50, 61, 94] Operation: 41+53=94 Moving to Node #0,0 Current State: 83:[61, 53, 91], Operations: ['50+41=91'] Exploring Operation: 91-53=38, Resulting Numbers: [61, 38] Generated Node #0,0,0: 83:[61, 38] Operation: 91-53=38 Exploring Operation: 61+53=114, Resulting Numbers: [91, 114] Generated Node #0,0,1: 83:[91, 114] Operation: 61+53=114 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[91, 114], Operations: ['50+41=91', '61+53=114'] Exploring Operation: 114-91=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 91+114=205, Resulting Numbers: [205] 205,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[61, 38], Operations: ['50+41=91', '91-53=38'] Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,83 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: 83:[50, 61, 94], Operations: ['41+53=94'] Exploring Operation: 50+61=111, Resulting Numbers: [94, 111] Generated Node #0,1,0: 83:[94, 111] Operation: 50+61=111 Exploring Operation: 94-50=44, Resulting Numbers: [61, 44] Generated Node #0,1,1: 83:[61, 44] Operation: 94-50=44 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[94, 111], Operations: ['41+53=94', '50+61=111'] Exploring Operation: 111-94=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 94+111=205, Resulting Numbers: [205] 205,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[61, 44], Operations: ['41+53=94', '94-50=44'] Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 61+44=105, Resulting Numbers: [105] 105,83 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
[ 30, 23, 41, 16 ]
15
[ "41-23=18", "18-16=2", "30/2=15" ]
Current State: 15:[30, 23, 41, 16], Operations: [] Exploring Operation: 41-23=18, Resulting Numbers: [30, 16, 18] Generated Node #2: [30, 16, 18] from Operation: 41-23=18 Current State: 15:[30, 16, 18], Operations: ['41-23=18'] Exploring Operation: 18-16=2, Resulting Numbers: [30, 2] Generated Node #3: [30, 2] from Operation: 18-16=2 Current State: 15:[30, 2], Operations: ['41-23=18', '18-16=2'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[30, 23, 41, 16], Operations: [] Exploring Operation: 41-30=11, Resulting Numbers: [23, 16, 11] Generated Node #0,0: 15:[23, 16, 11] Operation: 41-30=11 Exploring Operation: 41-23=18, Resulting Numbers: [30, 16, 18] Generated Node #0,1: 15:[30, 16, 18] Operation: 41-23=18 Moving to Node #0,0 Current State: 15:[23, 16, 11], Operations: ['41-30=11'] Exploring Operation: 23-11=12, Resulting Numbers: [16, 12] Generated Node #0,0,0: 15:[16, 12] Operation: 23-11=12 Exploring Operation: 23-16=7, Resulting Numbers: [11, 7] Generated Node #0,0,1: 15:[11, 7] Operation: 23-16=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[16, 12], Operations: ['41-30=11', '23-11=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[11, 7], Operations: ['41-30=11', '23-16=7'] Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,15 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: 15:[30, 16, 18], Operations: ['41-23=18'] Exploring Operation: 30-16=14, Resulting Numbers: [18, 14] Generated Node #0,1,0: 15:[18, 14] Operation: 30-16=14 Exploring Operation: 30-18=12, Resulting Numbers: [16, 12] Generated Node #0,1,1: 15:[16, 12] Operation: 30-18=12 Moving to Node #0,1,0 Current State: 15:[18, 14], Operations: ['41-23=18', '30-16=14'] Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[16, 12], Operations: ['41-23=18', '30-18=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 80, 33, 50, 9 ]
73
[ "50-33=17", "9*17=153", "153-80=73" ]
Current State: 73:[80, 33, 50, 9], Operations: [] Exploring Operation: 50-33=17, Resulting Numbers: [80, 9, 17] Generated Node #2: [80, 9, 17] from Operation: 50-33=17 Current State: 73:[80, 9, 17], Operations: ['50-33=17'] Exploring Operation: 9*17=153, Resulting Numbers: [80, 153] Generated Node #3: [80, 153] from Operation: 9*17=153 Current State: 73:[80, 153], Operations: ['50-33=17', '9*17=153'] Exploring Operation: 153-80=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[80, 33, 50, 9], Operations: [] Exploring Operation: 80-9=71, Resulting Numbers: [33, 50, 71] Generated Node #0,0: 73:[33, 50, 71] Operation: 80-9=71 Exploring Operation: 80+9=89, Resulting Numbers: [33, 50, 89] Generated Node #0,1: 73:[33, 50, 89] Operation: 80+9=89 Exploring Operation: 50+9=59, Resulting Numbers: [80, 33, 59] Generated Node #0,2: 73:[80, 33, 59] Operation: 50+9=59 Exploring Operation: 33+9=42, Resulting Numbers: [80, 50, 42] Generated Node #0,3: 73:[80, 50, 42] Operation: 33+9=42 Moving to Node #0,2 Current State: 73:[80, 33, 59], Operations: ['50+9=59'] Exploring Operation: 59-33=26, Resulting Numbers: [80, 26] Generated Node #0,2,0: 73:[80, 26] Operation: 59-33=26 Exploring Operation: 80+33=113, Resulting Numbers: [59, 113] Generated Node #0,2,1: 73:[59, 113] Operation: 80+33=113 Exploring Operation: 80-33=47, Resulting Numbers: [59, 47] Generated Node #0,2,2: 73:[59, 47] Operation: 80-33=47 Exploring Operation: 33+59=92, Resulting Numbers: [80, 92] Generated Node #0,2,3: 73:[80, 92] Operation: 33+59=92 Moving to Node #0,3 Current State: 73:[80, 50, 42], Operations: ['33+9=42'] Exploring Operation: 80+42=122, Resulting Numbers: [50, 122] Generated Node #0,3,0: 73:[50, 122] Operation: 80+42=122 Exploring Operation: 50-42=8, Resulting Numbers: [80, 8] Generated Node #0,3,1: 73:[80, 8] Operation: 50-42=8 Exploring Operation: 50+42=92, Resulting Numbers: [80, 92] Generated Node #0,3,2: 73:[80, 92] Operation: 50+42=92 Exploring Operation: 80-42=38, Resulting Numbers: [50, 38] Generated Node #0,3,3: 73:[50, 38] Operation: 80-42=38 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[80, 92], Operations: ['33+9=42', '50+42=92'] Exploring Operation: 80*92=7360, Resulting Numbers: [7360] 7360,73 unequal: No Solution Exploring Operation: 80+92=172, Resulting Numbers: [172] 172,73 unequal: No Solution Exploring Operation: 92-80=12, Resulting Numbers: [12] 12,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[50, 38], Operations: ['33+9=42', '80-42=38'] Exploring Operation: 50*38=1900, Resulting Numbers: [1900] 1900,73 unequal: No Solution Exploring Operation: 50+38=88, Resulting Numbers: [88] 88,73 unequal: No Solution Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[50, 122], Operations: ['33+9=42', '80+42=122'] Exploring Operation: 50*122=6100, Resulting Numbers: [6100] 6100,73 unequal: No Solution Exploring Operation: 122-50=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 50+122=172, Resulting Numbers: [172] 172,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[80, 8], Operations: ['33+9=42', '50-42=8'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 80*8=640, Resulting Numbers: [640] 640,73 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 80+8=88, Resulting Numbers: [88] 88,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 73:[33, 50, 71], Operations: ['80-9=71'] Exploring Operation: 50-33=17, Resulting Numbers: [71, 17] Generated Node #0,0,0: 73:[71, 17] Operation: 50-33=17 Exploring Operation: 71-33=38, Resulting Numbers: [50, 38] Generated Node #0,0,1: 73:[50, 38] Operation: 71-33=38 Exploring Operation: 33+50=83, Resulting Numbers: [71, 83] Generated Node #0,0,2: 73:[71, 83] Operation: 33+50=83 Exploring Operation: 33+71=104, Resulting Numbers: [50, 104] Generated Node #0,0,3: 73:[50, 104] Operation: 33+71=104 Moving to Node #0,1 Current State: 73:[33, 50, 89], Operations: ['80+9=89'] Exploring Operation: 89-33=56, Resulting Numbers: [50, 56] Generated Node #0,1,0: 73:[50, 56] Operation: 89-33=56 Exploring Operation: 33+50=83, Resulting Numbers: [89, 83] Generated Node #0,1,1: 73:[89, 83] Operation: 33+50=83 Exploring Operation: 50-33=17, Resulting Numbers: [89, 17] Generated Node #0,1,2: 73:[89, 17] Operation: 50-33=17 Exploring Operation: 33+89=122, Resulting Numbers: [50, 122] Generated Node #0,1,3: 73:[50, 122] Operation: 33+89=122 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[89, 83], Operations: ['80+9=89', '33+50=83'] Exploring Operation: 89*83=7387, Resulting Numbers: [7387] 7387,73 unequal: No Solution Exploring Operation: 89+83=172, Resulting Numbers: [172] 172,73 unequal: No Solution Exploring Operation: 89-83=6, Resulting Numbers: [6] 6,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[50, 56], Operations: ['80+9=89', '89-33=56'] Exploring Operation: 50*56=2800, Resulting Numbers: [2800] 2800,73 unequal: No Solution Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 50+56=106, Resulting Numbers: [106] 106,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[89, 17], Operations: ['80+9=89', '50-33=17'] Exploring Operation: 89-17=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 89*17=1513, Resulting Numbers: [1513] 1513,73 unequal: No Solution Exploring Operation: 89+17=106, Resulting Numbers: [106] 106,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[50, 122], Operations: ['80+9=89', '33+89=122'] Exploring Operation: 50+122=172, Resulting Numbers: [172] 172,73 unequal: No Solution Exploring Operation: 50*122=6100, Resulting Numbers: [6100] 6100,73 unequal: No Solution Exploring Operation: 122-50=72, Resulting Numbers: [72] 72,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 73:[71, 83], Operations: ['80-9=71', '33+50=83'] Exploring Operation: 71*83=5893, Resulting Numbers: [5893] 5893,73 unequal: No Solution Exploring Operation: 71+83=154, Resulting Numbers: [154] 154,73 unequal: No Solution Exploring Operation: 83-71=12, Resulting Numbers: [12] 12,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[80, 92], Operations: ['50+9=59', '33+59=92'] Exploring Operation: 80+92=172, Resulting Numbers: [172] 172,73 unequal: No Solution Exploring Operation: 92-80=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 80*92=7360, Resulting Numbers: [7360] 7360,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[59, 47], Operations: ['50+9=59', '80-33=47'] Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 59+47=106, Resulting Numbers: [106] 106,73 unequal: No Solution Exploring Operation: 59*47=2773, Resulting Numbers: [2773] 2773,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[80, 26], Operations: ['50+9=59', '59-33=26'] Exploring Operation: 80+26=106, Resulting Numbers: [106] 106,73 unequal: No Solution Exploring Operation: 80*26=2080, Resulting Numbers: [2080] 2080,73 unequal: No Solution Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[50, 104], Operations: ['80-9=71', '33+71=104'] Exploring Operation: 50+104=154, Resulting Numbers: [154] 154,73 unequal: No Solution Exploring Operation: 50*104=5200, Resulting Numbers: [5200] 5200,73 unequal: No Solution Exploring Operation: 104-50=54, Resulting Numbers: [54] 54,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[59, 113], Operations: ['50+9=59', '80+33=113'] Exploring Operation: 59+113=172, Resulting Numbers: [172] 172,73 unequal: No Solution Exploring Operation: 113-59=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 59*113=6667, Resulting Numbers: [6667] 6667,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[71, 17], Operations: ['80-9=71', '50-33=17'] Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,73 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[50, 38], Operations: ['80-9=71', '71-33=38'] Exploring Operation: 50*38=1900, Resulting Numbers: [1900] 1900,73 unequal: No Solution Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 50+38=88, Resulting Numbers: [88] 88,73 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 54, 58, 8, 66 ]
87
[ "66-54=12", "58*12=696", "696/8=87" ]
Current State: 87:[54, 58, 8, 66], Operations: [] Exploring Operation: 66-54=12, Resulting Numbers: [58, 8, 12] Generated Node #2: [58, 8, 12] from Operation: 66-54=12 Current State: 87:[58, 8, 12], Operations: ['66-54=12'] Exploring Operation: 58*12=696, Resulting Numbers: [8, 696] Generated Node #3: [8, 696] from Operation: 58*12=696 Current State: 87:[8, 696], Operations: ['66-54=12', '58*12=696'] Exploring Operation: 696/8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[54, 58, 8, 66], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [8, 66, 4] Generated Node #0,0: 87:[8, 66, 4] Operation: 58-54=4 Exploring Operation: 66-54=12, Resulting Numbers: [58, 8, 12] Generated Node #0,1: 87:[58, 8, 12] Operation: 66-54=12 Exploring Operation: 66-58=8, Resulting Numbers: [54, 8, 8] Generated Node #0,2: 87:[54, 8, 8] Operation: 66-58=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[8, 66, 4], Operations: ['58-54=4'] Exploring Operation: 8-4=4, Resulting Numbers: [66, 4] Generated Node #0,0,0: 87:[66, 4] Operation: 8-4=4 Exploring Operation: 8+66=74, Resulting Numbers: [4, 74] Generated Node #0,0,1: 87:[4, 74] Operation: 8+66=74 Exploring Operation: 8/4=2, Resulting Numbers: [66, 2] Generated Node #0,0,2: 87:[66, 2] Operation: 8/4=2 Moving to Node #0,0,1 Current State: 87:[4, 74], Operations: ['58-54=4', '8+66=74'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,87 unequal: No Solution Exploring Operation: 4*74=296, Resulting Numbers: [296] 296,87 unequal: No Solution Exploring Operation: 4+74=78, Resulting Numbers: [78] 78,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[66, 4], Operations: ['58-54=4', '8-4=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,87 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[66, 2], Operations: ['58-54=4', '8/4=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,87 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[54, 8, 8], Operations: ['66-58=8'] Exploring Operation: 54-8=46, Resulting Numbers: [8, 46] Generated Node #0,2,0: 87:[8, 46] Operation: 54-8=46 Exploring Operation: 8/8=1, Resulting Numbers: [54, 1] Generated Node #0,2,1: 87:[54, 1] Operation: 8/8=1 Exploring Operation: 54-8=46, Resulting Numbers: [8, 46] Generated Node #0,2,2: 87:[8, 46] Operation: 54-8=46 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[8, 46], Operations: ['66-58=8', '54-8=46'] Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,87 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[8, 46], Operations: ['66-58=8', '54-8=46'] Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,87 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[54, 1], Operations: ['66-58=8', '8/8=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[58, 8, 12], Operations: ['66-54=12'] Exploring Operation: 58+12=70, Resulting Numbers: [8, 70] Generated Node #0,1,0: 87:[8, 70] Operation: 58+12=70 Exploring Operation: 58-12=46, Resulting Numbers: [8, 46] Generated Node #0,1,1: 87:[8, 46] Operation: 58-12=46 Exploring Operation: 58+8=66, Resulting Numbers: [12, 66] Generated Node #0,1,2: 87:[12, 66] Operation: 58+8=66 Moving to Node #0,1,0 Current State: 87:[8, 70], Operations: ['66-54=12', '58+12=70'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[8, 46], Operations: ['66-54=12', '58-12=46'] Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[12, 66], Operations: ['66-54=12', '58+8=66'] Exploring Operation: 12+66=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 12*66=792, Resulting Numbers: [792] 792,87 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, 40, 38, 5 ]
54
[ "40-38=2", "5-2=3", "18*3=54" ]
Current State: 54:[18, 40, 38, 5], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [18, 5, 2] Generated Node #2: [18, 5, 2] from Operation: 40-38=2 Current State: 54:[18, 5, 2], Operations: ['40-38=2'] Exploring Operation: 5-2=3, Resulting Numbers: [18, 3] Generated Node #3: [18, 3] from Operation: 5-2=3 Current State: 54:[18, 3], Operations: ['40-38=2', '5-2=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[18, 40, 38, 5], Operations: [] Exploring Operation: 40/5=8, Resulting Numbers: [18, 38, 8] Generated Node #0,0: 54:[18, 38, 8] Operation: 40/5=8 Exploring Operation: 18+40=58, Resulting Numbers: [38, 5, 58] Generated Node #0,1: 54:[38, 5, 58] Operation: 18+40=58 Exploring Operation: 40-38=2, Resulting Numbers: [18, 5, 2] Generated Node #0,2: 54:[18, 5, 2] Operation: 40-38=2 Moving to Node #0,2 Current State: 54:[18, 5, 2], Operations: ['40-38=2'] Exploring Operation: 5-2=3, Resulting Numbers: [18, 3] Generated Node #0,2,0: 54:[18, 3] Operation: 5-2=3 Exploring Operation: 5+2=7, Resulting Numbers: [18, 7] Generated Node #0,2,1: 54:[18, 7] Operation: 5+2=7 Exploring Operation: 18/2=9, Resulting Numbers: [5, 9] Generated Node #0,2,2: 54:[5, 9] Operation: 18/2=9 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[18, 3], Operations: ['40-38=2', '5-2=3'] Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,54 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[18, 40, 38, 5], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [18, 5, 2] Generated Node #0,2: 54:[18, 5, 2] Operation: 40-38=2 Moving to Node #0,2 Current State: 54:[18, 5, 2], Operations: ['40-38=2'] Exploring Operation: 5-2=3, Resulting Numbers: [18, 3] Generated Node #0,2,0: 54:[18, 3] Operation: 5-2=3 Moving to Node #0,2,0 Current State: 54:[18, 3], Operations: ['40-38=2', '5-2=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 46, 16, 42, 20 ]
80
[ "46-42=4", "16*20=320", "320/4=80" ]
Current State: 80:[46, 16, 42, 20], Operations: [] Exploring Operation: 46-42=4, Resulting Numbers: [16, 20, 4] Generated Node #2: [16, 20, 4] from Operation: 46-42=4 Current State: 80:[16, 20, 4], Operations: ['46-42=4'] Exploring Operation: 16*20=320, Resulting Numbers: [4, 320] Generated Node #3: [4, 320] from Operation: 16*20=320 Current State: 80:[4, 320], Operations: ['46-42=4', '16*20=320'] Exploring Operation: 320/4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[46, 16, 42, 20], Operations: [] Exploring Operation: 42-20=22, Resulting Numbers: [46, 16, 22] Generated Node #0,0: 80:[46, 16, 22] Operation: 42-20=22 Exploring Operation: 46-20=26, Resulting Numbers: [16, 42, 26] Generated Node #0,1: 80:[16, 42, 26] Operation: 46-20=26 Exploring Operation: 20-16=4, Resulting Numbers: [46, 42, 4] Generated Node #0,2: 80:[46, 42, 4] Operation: 20-16=4 Exploring Operation: 46+42=88, Resulting Numbers: [16, 20, 88] Generated Node #0,3: 80:[16, 20, 88] Operation: 46+42=88 Exploring Operation: 46-42=4, Resulting Numbers: [16, 20, 4] Generated Node #0,4: 80:[16, 20, 4] Operation: 46-42=4 Moving to Node #0,4 Current State: 80:[16, 20, 4], Operations: ['46-42=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20, 20] Generated Node #0,4,0: 80:[20, 20] Operation: 16+4=20 Exploring Operation: 20-4=16, Resulting Numbers: [16, 16] Generated Node #0,4,1: 80:[16, 16] Operation: 20-4=16 Exploring Operation: 20*4=80, Resulting Numbers: [16, 80] Generated Node #0,4,2: 80:[16, 80] Operation: 20*4=80 Exploring Operation: 20-16=4, Resulting Numbers: [4, 4] Generated Node #0,4,3: 80:[4, 4] Operation: 20-16=4 Exploring Operation: 16/4=4, Resulting Numbers: [20, 4] Generated Node #0,4,4: 80:[20, 4] Operation: 16/4=4 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 80:[20, 20], Operations: ['46-42=4', '16+4=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,80 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,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,4,1 Current State: 80:[16, 16], Operations: ['46-42=4', '20-4=16'] Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,80 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,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,4,2 Current State: 80:[16, 80], Operations: ['46-42=4', '20*4=80'] Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,80 unequal: No Solution Exploring Operation: 16+80=96, Resulting Numbers: [96] 96,80 unequal: No Solution Exploring Operation: 16*80=1280, Resulting Numbers: [1280] 1280,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,4,3 Current State: 80:[4, 4], Operations: ['46-42=4', '20-16=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,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,4,4 Current State: 80:[20, 4], Operations: ['46-42=4', '16/4=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[46, 16, 42, 20], Operations: [] Exploring Operation: 46-42=4, Resulting Numbers: [16, 20, 4] Generated Node #0,4: 80:[16, 20, 4] Operation: 46-42=4 Moving to Node #0,4 Current State: 80:[16, 20, 4], Operations: ['46-42=4'] Exploring Operation: 16/4=4, Resulting Numbers: [20, 4] Generated Node #0,4,4: 80:[20, 4] Operation: 16/4=4 Moving to Node #0,4,4 Current State: 80:[20, 4], Operations: ['46-42=4', '16/4=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_5
sum_heuristic
[ 4, 55, 83, 11 ]
72
[ "4*11=44", "83-55=28", "44+28=72" ]
Current State: 72:[4, 55, 83, 11], Operations: [] Exploring Operation: 4*11=44, Resulting Numbers: [55, 83, 44] Generated Node #2: [55, 83, 44] from Operation: 4*11=44 Current State: 72:[55, 83, 44], Operations: ['4*11=44'] Exploring Operation: 83-55=28, Resulting Numbers: [44, 28] Generated Node #3: [44, 28] from Operation: 83-55=28 Current State: 72:[44, 28], Operations: ['4*11=44', '83-55=28'] Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[4, 55, 83, 11], Operations: [] Exploring Operation: 55/11=5, Resulting Numbers: [4, 83, 5] Generated Node #0,0: 72:[4, 83, 5] Operation: 55/11=5 Exploring Operation: 83-55=28, Resulting Numbers: [4, 11, 28] Generated Node #0,1: 72:[4, 11, 28] Operation: 83-55=28 Exploring Operation: 55+11=66, Resulting Numbers: [4, 83, 66] Generated Node #0,2: 72:[4, 83, 66] Operation: 55+11=66 Exploring Operation: 83-11=72, Resulting Numbers: [4, 55, 72] Generated Node #0,3: 72:[4, 55, 72] Operation: 83-11=72 Moving to Node #0,1 Current State: 72:[4, 11, 28], Operations: ['83-55=28'] Exploring Operation: 11+28=39, Resulting Numbers: [4, 39] Generated Node #0,1,0: 72:[4, 39] Operation: 11+28=39 Exploring Operation: 28-11=17, Resulting Numbers: [4, 17] Generated Node #0,1,1: 72:[4, 17] Operation: 28-11=17 Exploring Operation: 28/4=7, Resulting Numbers: [11, 7] Generated Node #0,1,2: 72:[11, 7] Operation: 28/4=7 Exploring Operation: 28-4=24, Resulting Numbers: [11, 24] Generated Node #0,1,3: 72:[11, 24] Operation: 28-4=24 Moving to Node #0,0 Current State: 72:[4, 83, 5], Operations: ['55/11=5'] Exploring Operation: 4+5=9, Resulting Numbers: [83, 9] Generated Node #0,0,0: 72:[83, 9] Operation: 4+5=9 Exploring Operation: 83-4=79, Resulting Numbers: [5, 79] Generated Node #0,0,1: 72:[5, 79] Operation: 83-4=79 Exploring Operation: 83-5=78, Resulting Numbers: [4, 78] Generated Node #0,0,2: 72:[4, 78] Operation: 83-5=78 Exploring Operation: 5-4=1, Resulting Numbers: [83, 1] Generated Node #0,0,3: 72:[83, 1] Operation: 5-4=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[4, 78], Operations: ['55/11=5', '83-5=78'] Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,72 unequal: No Solution Exploring Operation: 4*78=312, Resulting Numbers: [312] 312,72 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[5, 79], Operations: ['55/11=5', '83-4=79'] Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,72 unequal: No Solution Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,72 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[83, 9], Operations: ['55/11=5', '4+5=9'] Exploring Operation: 83+9=92, Resulting Numbers: [92] 92,72 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,72 unequal: No Solution Exploring Operation: 83*9=747, Resulting Numbers: [747] 747,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 72:[83, 1], Operations: ['55/11=5', '5-4=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,72 unequal: No Solution Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,72 unequal: No Solution Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,72 unequal: No Solution Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,72 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: 72:[4, 55, 72], Operations: ['83-11=72'] Exploring Operation: 72-55=17, Resulting Numbers: [4, 17] Generated Node #0,3,0: 72:[4, 17] Operation: 72-55=17 Exploring Operation: 72/4=18, Resulting Numbers: [55, 18] Generated Node #0,3,1: 72:[55, 18] Operation: 72/4=18 Exploring Operation: 55-4=51, Resulting Numbers: [72, 51] Generated Node #0,3,2: 72:[72, 51] Operation: 55-4=51 Exploring Operation: 4+55=59, Resulting Numbers: [72, 59] Generated Node #0,3,3: 72:[72, 59] Operation: 4+55=59 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[4, 17], Operations: ['83-11=72', '72-55=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[72, 59], Operations: ['83-11=72', '4+55=59'] Exploring Operation: 72+59=131, Resulting Numbers: [131] 131,72 unequal: No Solution Exploring Operation: 72*59=4248, Resulting Numbers: [4248] 4248,72 unequal: No Solution Exploring Operation: 72-59=13, Resulting Numbers: [13] 13,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[72, 51], Operations: ['83-11=72', '55-4=51'] Exploring Operation: 72*51=3672, Resulting Numbers: [3672] 3672,72 unequal: No Solution Exploring Operation: 72+51=123, Resulting Numbers: [123] 123,72 unequal: No Solution Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[55, 18], Operations: ['83-11=72', '72/4=18'] Exploring Operation: 55*18=990, Resulting Numbers: [990] 990,72 unequal: No Solution Exploring Operation: 55+18=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,72 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: 72:[4, 83, 66], Operations: ['55+11=66'] Exploring Operation: 83-4=79, Resulting Numbers: [66, 79] Generated Node #0,2,0: 72:[66, 79] Operation: 83-4=79 Exploring Operation: 4+83=87, Resulting Numbers: [66, 87] Generated Node #0,2,1: 72:[66, 87] Operation: 4+83=87 Exploring Operation: 83-66=17, Resulting Numbers: [4, 17] Generated Node #0,2,2: 72:[4, 17] Operation: 83-66=17 Exploring Operation: 4+66=70, Resulting Numbers: [83, 70] Generated Node #0,2,3: 72:[83, 70] Operation: 4+66=70 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[4, 17], Operations: ['55+11=66', '83-66=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[66, 79], Operations: ['55+11=66', '83-4=79'] Exploring Operation: 66*79=5214, Resulting Numbers: [5214] 5214,72 unequal: No Solution Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 66+79=145, Resulting Numbers: [145] 145,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[83, 70], Operations: ['55+11=66', '4+66=70'] Exploring Operation: 83*70=5810, Resulting Numbers: [5810] 5810,72 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 83+70=153, Resulting Numbers: [153] 153,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[66, 87], Operations: ['55+11=66', '4+83=87'] Exploring Operation: 66+87=153, Resulting Numbers: [153] 153,72 unequal: No Solution Exploring Operation: 66*87=5742, Resulting Numbers: [5742] 5742,72 unequal: No Solution Exploring Operation: 87-66=21, Resulting Numbers: [21] 21,72 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: 72:[4, 17], Operations: ['83-55=28', '28-11=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[11, 24], Operations: ['83-55=28', '28-4=24'] Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,72 unequal: No Solution Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[11, 7], Operations: ['83-55=28', '28/4=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,72 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[4, 39], Operations: ['83-55=28', '11+28=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,72 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,72 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 52, 38, 16, 36 ]
10
[ "38-36=2", "52/2=26", "26-16=10" ]
Current State: 10:[52, 38, 16, 36], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [52, 16, 2] Generated Node #2: [52, 16, 2] from Operation: 38-36=2 Current State: 10:[52, 16, 2], Operations: ['38-36=2'] Exploring Operation: 52/2=26, Resulting Numbers: [16, 26] Generated Node #3: [16, 26] from Operation: 52/2=26 Current State: 10:[16, 26], Operations: ['38-36=2', '52/2=26'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[52, 38, 16, 36], Operations: [] Exploring Operation: 52-38=14, Resulting Numbers: [16, 36, 14] Generated Node #0,0: 10:[16, 36, 14] Operation: 52-38=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[16, 36, 14], Operations: ['52-38=14'] Exploring Operation: 36-16=20, Resulting Numbers: [14, 20] Generated Node #0,0,0: 10:[14, 20] Operation: 36-16=20 Moving to Node #0,0,0 Current State: 10:[14, 20], Operations: ['52-38=14', '36-16=20'] Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,10 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
[ 90, 6, 63, 40 ]
78
[ "90-63=27", "40-27=13", "6*13=78" ]
Current State: 78:[90, 6, 63, 40], Operations: [] Exploring Operation: 90-63=27, Resulting Numbers: [6, 40, 27] Generated Node #2: [6, 40, 27] from Operation: 90-63=27 Current State: 78:[6, 40, 27], Operations: ['90-63=27'] Exploring Operation: 40-27=13, Resulting Numbers: [6, 13] Generated Node #3: [6, 13] from Operation: 40-27=13 Current State: 78:[6, 13], Operations: ['90-63=27', '40-27=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[90, 6, 63, 40], Operations: [] Exploring Operation: 90/6=15, Resulting Numbers: [63, 40, 15] Generated Node #0,0: 78:[63, 40, 15] Operation: 90/6=15 Exploring Operation: 63-40=23, Resulting Numbers: [90, 6, 23] Generated Node #0,1: 78:[90, 6, 23] Operation: 63-40=23 Exploring Operation: 90-6=84, Resulting Numbers: [63, 40, 84] Generated Node #0,2: 78:[63, 40, 84] Operation: 90-6=84 Exploring Operation: 90-63=27, Resulting Numbers: [6, 40, 27] Generated Node #0,3: 78:[6, 40, 27] Operation: 90-63=27 Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[6, 40, 27], Operations: ['90-63=27'] Exploring Operation: 40-6=34, Resulting Numbers: [27, 34] Generated Node #0,3,0: 78:[27, 34] Operation: 40-6=34 Exploring Operation: 6+27=33, Resulting Numbers: [40, 33] Generated Node #0,3,1: 78:[40, 33] Operation: 6+27=33 Exploring Operation: 40-27=13, Resulting Numbers: [6, 13] Generated Node #0,3,2: 78:[6, 13] Operation: 40-27=13 Exploring Operation: 27-6=21, Resulting Numbers: [40, 21] Generated Node #0,3,3: 78:[40, 21] Operation: 27-6=21 Moving to Node #0,3,2 Current State: 78:[6, 13], Operations: ['90-63=27', '40-27=13'] Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[90, 6, 63, 40], Operations: [] Exploring Operation: 90-63=27, Resulting Numbers: [6, 40, 27] Generated Node #0,3: 78:[6, 40, 27] Operation: 90-63=27 Moving to Node #0,3 Current State: 78:[6, 40, 27], Operations: ['90-63=27'] Exploring Operation: 40-27=13, Resulting Numbers: [6, 13] Generated Node #0,3,2: 78:[6, 13] Operation: 40-27=13 Moving to Node #0,3,2 Current State: 78:[6, 13], Operations: ['90-63=27', '40-27=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 55, 39, 39, 17 ]
72
[ "55+39=94", "39-17=22", "94-22=72" ]
Current State: 72:[55, 39, 39, 17], Operations: [] Exploring Operation: 55+39=94, Resulting Numbers: [17, 94] Generated Node #2: [17, 94] from Operation: 55+39=94 Current State: 72:[17, 94], Operations: ['55+39=94'] Exploring Operation: 39-17=22, Resulting Numbers: [94, 22] Generated Node #3: [94, 22] from Operation: 39-17=22 Current State: 72:[94, 22], Operations: ['55+39=94', '39-17=22'] Exploring Operation: 94-22=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[55, 39, 39, 17], Operations: [] Exploring Operation: 55-39=16, Resulting Numbers: [39, 17, 16] Generated Node #0,0: 72:[39, 17, 16] Operation: 55-39=16 Exploring Operation: 55-39=16, Resulting Numbers: [39, 17, 16] Generated Node #0,1: 72:[39, 17, 16] Operation: 55-39=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[39, 17, 16], Operations: ['55-39=16'] Exploring Operation: 39-17=22, Resulting Numbers: [16, 22] Generated Node #0,0,0: 72:[16, 22] Operation: 39-17=22 Exploring Operation: 39-16=23, Resulting Numbers: [17, 23] Generated Node #0,0,1: 72:[17, 23] Operation: 39-16=23 Moving to Node #0,0,1 Current State: 72:[17, 23], Operations: ['55-39=16', '39-16=23'] Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[16, 22], Operations: ['55-39=16', '39-17=22'] Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[39, 17, 16], Operations: ['55-39=16'] Exploring Operation: 39-16=23, Resulting Numbers: [17, 23] Generated Node #0,1,0: 72:[17, 23] Operation: 39-16=23 Exploring Operation: 39-17=22, Resulting Numbers: [16, 22] Generated Node #0,1,1: 72:[16, 22] Operation: 39-17=22 Moving to Node #0,1,0 Current State: 72:[17, 23], Operations: ['55-39=16', '39-16=23'] Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[16, 22], Operations: ['55-39=16', '39-17=22'] Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 44, 35, 88, 67 ]
16
[ "88/44=2", "67-35=32", "32/2=16" ]
Current State: 16:[44, 35, 88, 67], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [35, 67, 2] Generated Node #2: [35, 67, 2] from Operation: 88/44=2 Current State: 16:[35, 67, 2], Operations: ['88/44=2'] Exploring Operation: 67-35=32, Resulting Numbers: [2, 32] Generated Node #3: [2, 32] from Operation: 67-35=32 Current State: 16:[2, 32], Operations: ['88/44=2', '67-35=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[44, 35, 88, 67], Operations: [] Exploring Operation: 88-67=21, Resulting Numbers: [44, 35, 21] Generated Node #0,0: 16:[44, 35, 21] Operation: 88-67=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[44, 35, 21], Operations: ['88-67=21'] Exploring Operation: 44-35=9, Resulting Numbers: [21, 9] Generated Node #0,0,0: 16:[21, 9] Operation: 44-35=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[21, 9], Operations: ['88-67=21', '44-35=9'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,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
sum_heuristic
[ 31, 44, 62, 67 ]
15
[ "31+44=75", "67-62=5", "75/5=15" ]
Current State: 15:[31, 44, 62, 67], Operations: [] Exploring Operation: 31+44=75, Resulting Numbers: [62, 67, 75] Generated Node #2: [62, 67, 75] from Operation: 31+44=75 Current State: 15:[62, 67, 75], Operations: ['31+44=75'] Exploring Operation: 67-62=5, Resulting Numbers: [75, 5] Generated Node #3: [75, 5] from Operation: 67-62=5 Current State: 15:[75, 5], Operations: ['31+44=75', '67-62=5'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[31, 44, 62, 67], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [31, 44, 5] Generated Node #0,0: 15:[31, 44, 5] Operation: 67-62=5 Moving to Node #0,0 Current State: 15:[31, 44, 5], Operations: ['67-62=5'] Exploring Operation: 44-31=13, Resulting Numbers: [5, 13] Generated Node #0,0,0: 15:[5, 13] Operation: 44-31=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[5, 13], Operations: ['67-62=5', '44-31=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,15 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
[ 29, 34, 96, 49 ]
82
[ "29+34=63", "96+49=145", "145-63=82" ]
Current State: 82:[29, 34, 96, 49], Operations: [] Exploring Operation: 29+34=63, Resulting Numbers: [96, 49, 63] Generated Node #2: [96, 49, 63] from Operation: 29+34=63 Current State: 82:[96, 49, 63], Operations: ['29+34=63'] Exploring Operation: 96+49=145, Resulting Numbers: [63, 145] Generated Node #3: [63, 145] from Operation: 96+49=145 Current State: 82:[63, 145], Operations: ['29+34=63', '96+49=145'] Exploring Operation: 145-63=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[29, 34, 96, 49], Operations: [] Exploring Operation: 34-29=5, Resulting Numbers: [96, 49, 5] Generated Node #0,0: 82:[96, 49, 5] Operation: 34-29=5 Exploring Operation: 29+49=78, Resulting Numbers: [34, 96, 78] Generated Node #0,1: 82:[34, 96, 78] Operation: 29+49=78 Moving to Node #0,0 Current State: 82:[96, 49, 5], Operations: ['34-29=5'] Exploring Operation: 96-5=91, Resulting Numbers: [49, 91] Generated Node #0,0,0: 82:[49, 91] Operation: 96-5=91 Exploring Operation: 96-49=47, Resulting Numbers: [5, 47] Generated Node #0,0,1: 82:[5, 47] Operation: 96-49=47 Moving to Node #0,1 Current State: 82:[34, 96, 78], Operations: ['29+49=78'] Exploring Operation: 78-34=44, Resulting Numbers: [96, 44] Generated Node #0,1,0: 82:[96, 44] Operation: 78-34=44 Exploring Operation: 96-78=18, Resulting Numbers: [34, 18] Generated Node #0,1,1: 82:[34, 18] Operation: 96-78=18 Moving to Node #0,0,1 Current State: 82:[5, 47], Operations: ['34-29=5', '96-49=47'] Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,82 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[96, 44], Operations: ['29+49=78', '78-34=44'] Exploring Operation: 96+44=140, Resulting Numbers: [140] 140,82 unequal: No Solution Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[49, 91], Operations: ['34-29=5', '96-5=91'] Exploring Operation: 91-49=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 49+91=140, Resulting Numbers: [140] 140,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[34, 18], Operations: ['29+49=78', '96-78=18'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,82 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 79, 76, 53, 15 ]
41
[ "79-76=3", "53-15=38", "3+38=41" ]
Current State: 41:[79, 76, 53, 15], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [53, 15, 3] Generated Node #2: [53, 15, 3] from Operation: 79-76=3 Current State: 41:[53, 15, 3], Operations: ['79-76=3'] Exploring Operation: 53-15=38, Resulting Numbers: [3, 38] Generated Node #3: [3, 38] from Operation: 53-15=38 Current State: 41:[3, 38], Operations: ['79-76=3', '53-15=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[79, 76, 53, 15], Operations: [] Exploring Operation: 79-53=26, Resulting Numbers: [76, 15, 26] Generated Node #0,0: 41:[76, 15, 26] Operation: 79-53=26 Exploring Operation: 76-15=61, Resulting Numbers: [79, 53, 61] Generated Node #0,1: 41:[79, 53, 61] Operation: 76-15=61 Exploring Operation: 79-15=64, Resulting Numbers: [76, 53, 64] Generated Node #0,2: 41:[76, 53, 64] Operation: 79-15=64 Exploring Operation: 79-76=3, Resulting Numbers: [53, 15, 3] Generated Node #0,3: 41:[53, 15, 3] Operation: 79-76=3 Moving to Node #0,1 Current State: 41:[79, 53, 61], Operations: ['76-15=61'] Exploring Operation: 79-53=26, Resulting Numbers: [61, 26] Generated Node #0,1,0: 41:[61, 26] Operation: 79-53=26 Exploring Operation: 61-53=8, Resulting Numbers: [79, 8] Generated Node #0,1,1: 41:[79, 8] Operation: 61-53=8 Exploring Operation: 79-61=18, Resulting Numbers: [53, 18] Generated Node #0,1,2: 41:[53, 18] Operation: 79-61=18 Exploring Operation: 79+53=132, Resulting Numbers: [61, 132] Generated Node #0,1,3: 41:[61, 132] Operation: 79+53=132 Moving to Node #0,2 Current State: 41:[76, 53, 64], Operations: ['79-15=64'] Exploring Operation: 76-53=23, Resulting Numbers: [64, 23] Generated Node #0,2,0: 41:[64, 23] Operation: 76-53=23 Exploring Operation: 64-53=11, Resulting Numbers: [76, 11] Generated Node #0,2,1: 41:[76, 11] Operation: 64-53=11 Exploring Operation: 76-64=12, Resulting Numbers: [53, 12] Generated Node #0,2,2: 41:[53, 12] Operation: 76-64=12 Exploring Operation: 76+53=129, Resulting Numbers: [64, 129] Generated Node #0,2,3: 41:[64, 129] Operation: 76+53=129 Moving to Node #0,3 Current State: 41:[53, 15, 3], Operations: ['79-76=3'] Exploring Operation: 15*3=45, Resulting Numbers: [53, 45] Generated Node #0,3,0: 41:[53, 45] Operation: 15*3=45 Exploring Operation: 53-3=50, Resulting Numbers: [15, 50] Generated Node #0,3,1: 41:[15, 50] Operation: 53-3=50 Exploring Operation: 15+3=18, Resulting Numbers: [53, 18] Generated Node #0,3,2: 41:[53, 18] Operation: 15+3=18 Exploring Operation: 53-15=38, Resulting Numbers: [3, 38] Generated Node #0,3,3: 41:[3, 38] Operation: 53-15=38 Moving to Node #0,0 Current State: 41:[76, 15, 26], Operations: ['79-53=26'] Exploring Operation: 76-15=61, Resulting Numbers: [26, 61] Generated Node #0,0,0: 41:[26, 61] Operation: 76-15=61 Exploring Operation: 76-26=50, Resulting Numbers: [15, 50] Generated Node #0,0,1: 41:[15, 50] Operation: 76-26=50 Exploring Operation: 15+26=41, Resulting Numbers: [76, 41] Generated Node #0,0,2: 41:[76, 41] Operation: 15+26=41 Exploring Operation: 76+15=91, Resulting Numbers: [26, 91] Generated Node #0,0,3: 41:[26, 91] Operation: 76+15=91 Moving to Node #0,3,0 Current State: 41:[53, 45], Operations: ['79-76=3', '15*3=45'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,41 unequal: No Solution Exploring Operation: 53*45=2385, Resulting Numbers: [2385] 2385,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[26, 61], Operations: ['79-53=26', '76-15=61'] Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 26*61=1586, Resulting Numbers: [1586] 1586,41 unequal: No Solution Exploring Operation: 26+61=87, Resulting Numbers: [87] 87,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[15, 50], Operations: ['79-53=26', '76-26=50'] Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 15*50=750, Resulting Numbers: [750] 750,41 unequal: No Solution Exploring Operation: 15+50=65, Resulting Numbers: [65] 65,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[76, 41], Operations: ['79-53=26', '15+26=41'] Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 76*41=3116, Resulting Numbers: [3116] 3116,41 unequal: No Solution Exploring Operation: 76+41=117, Resulting Numbers: [117] 117,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[61, 26], Operations: ['76-15=61', '79-53=26'] Exploring Operation: 61*26=1586, Resulting Numbers: [1586] 1586,41 unequal: No Solution Exploring Operation: 61+26=87, Resulting Numbers: [87] 87,41 unequal: No Solution Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[15, 50], Operations: ['79-76=3', '53-3=50'] Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 15+50=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 15*50=750, Resulting Numbers: [750] 750,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[53, 18], Operations: ['79-76=3', '15+3=18'] Exploring Operation: 53*18=954, Resulting Numbers: [954] 954,41 unequal: No Solution Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,41 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[53, 18], Operations: ['76-15=61', '79-61=18'] Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,41 unequal: No Solution Exploring Operation: 53*18=954, Resulting Numbers: [954] 954,41 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[53, 12], Operations: ['79-15=64', '76-64=12'] Exploring Operation: 53*12=636, Resulting Numbers: [636] 636,41 unequal: No Solution Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[79, 76, 53, 15], Operations: [] Exploring Operation: 79-15=64, Resulting Numbers: [76, 53, 64] Generated Node #0,2: 41:[76, 53, 64] Operation: 79-15=64 Moving to Node #0,2 Current State: 41:[76, 53, 64], Operations: ['79-15=64'] Exploring Operation: 76-64=12, Resulting Numbers: [53, 12] Generated Node #0,2,2: 41:[53, 12] Operation: 76-64=12 Moving to Node #0,2,2 Current State: 41:[53, 12], Operations: ['79-15=64', '76-64=12'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.956597
hs_4
mult_heuristic
[ 28, 55, 29, 19 ]
35
[ "28+55=83", "29+19=48", "83-48=35" ]
Current State: 35:[28, 55, 29, 19], Operations: [] Exploring Operation: 28+55=83, Resulting Numbers: [29, 19, 83] Generated Node #2: [29, 19, 83] from Operation: 28+55=83 Current State: 35:[29, 19, 83], Operations: ['28+55=83'] Exploring Operation: 29+19=48, Resulting Numbers: [83, 48] Generated Node #3: [83, 48] from Operation: 29+19=48 Current State: 35:[83, 48], Operations: ['28+55=83', '29+19=48'] Exploring Operation: 83-48=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[28, 55, 29, 19], Operations: [] Exploring Operation: 29-19=10, Resulting Numbers: [28, 55, 10] Generated Node #0,0: 35:[28, 55, 10] Operation: 29-19=10 Exploring Operation: 55-28=27, Resulting Numbers: [29, 19, 27] Generated Node #0,1: 35:[29, 19, 27] Operation: 55-28=27 Exploring Operation: 55-29=26, Resulting Numbers: [28, 19, 26] Generated Node #0,2: 35:[28, 19, 26] Operation: 55-29=26 Exploring Operation: 55-19=36, Resulting Numbers: [28, 29, 36] Generated Node #0,3: 35:[28, 29, 36] Operation: 55-19=36 Exploring Operation: 28-19=9, Resulting Numbers: [55, 29, 9] Generated Node #0,4: 35:[55, 29, 9] Operation: 28-19=9 Moving to Node #0,3 Current State: 35:[28, 29, 36], Operations: ['55-19=36'] Exploring Operation: 28+36=64, Resulting Numbers: [29, 64] Generated Node #0,3,0: 35:[29, 64] Operation: 28+36=64 Exploring Operation: 36-28=8, Resulting Numbers: [29, 8] Generated Node #0,3,1: 35:[29, 8] Operation: 36-28=8 Exploring Operation: 36-29=7, Resulting Numbers: [28, 7] Generated Node #0,3,2: 35:[28, 7] Operation: 36-29=7 Exploring Operation: 29-28=1, Resulting Numbers: [36, 1] Generated Node #0,3,3: 35:[36, 1] Operation: 29-28=1 Exploring Operation: 28+29=57, Resulting Numbers: [36, 57] Generated Node #0,3,4: 35:[36, 57] Operation: 28+29=57 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 35:[36, 1], Operations: ['55-19=36', '29-28=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[28, 55, 29, 19], Operations: [] Exploring Operation: 55-19=36, Resulting Numbers: [28, 29, 36] Generated Node #0,3: 35:[28, 29, 36] Operation: 55-19=36 Moving to Node #0,3 Current State: 35:[28, 29, 36], Operations: ['55-19=36'] Exploring Operation: 29-28=1, Resulting Numbers: [36, 1] Generated Node #0,3,3: 35:[36, 1] Operation: 29-28=1 Moving to Node #0,3,3 Current State: 35:[36, 1], Operations: ['55-19=36', '29-28=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 63, 60, 26, 94 ]
12
[ "63+26=89", "94-89=5", "60/5=12" ]
Current State: 12:[63, 60, 26, 94], Operations: [] Exploring Operation: 63+26=89, Resulting Numbers: [60, 94, 89] Generated Node #2: [60, 94, 89] from Operation: 63+26=89 Current State: 12:[60, 94, 89], Operations: ['63+26=89'] Exploring Operation: 94-89=5, Resulting Numbers: [60, 5] Generated Node #3: [60, 5] from Operation: 94-89=5 Current State: 12:[60, 5], Operations: ['63+26=89', '94-89=5'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[63, 60, 26, 94], Operations: [] Exploring Operation: 94-60=34, Resulting Numbers: [63, 26, 34] Generated Node #0,0: 12:[63, 26, 34] Operation: 94-60=34 Exploring Operation: 94-63=31, Resulting Numbers: [60, 26, 31] Generated Node #0,1: 12:[60, 26, 31] Operation: 94-63=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[60, 26, 31], Operations: ['94-63=31'] Exploring Operation: 60-31=29, Resulting Numbers: [26, 29] Generated Node #0,1,0: 12:[26, 29] Operation: 60-31=29 Exploring Operation: 60-26=34, Resulting Numbers: [31, 34] Generated Node #0,1,1: 12:[31, 34] Operation: 60-26=34 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[26, 29], Operations: ['94-63=31', '60-31=29'] Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,12 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[31, 34], Operations: ['94-63=31', '60-26=34'] Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,12 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[63, 26, 34], Operations: ['94-60=34'] Exploring Operation: 63-34=29, Resulting Numbers: [26, 29] Generated Node #0,0,0: 12:[26, 29] Operation: 63-34=29 Exploring Operation: 63-26=37, Resulting Numbers: [34, 37] Generated Node #0,0,1: 12:[34, 37] Operation: 63-26=37 Moving to Node #0,0,0 Current State: 12:[26, 29], Operations: ['94-60=34', '63-34=29'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[34, 37], Operations: ['94-60=34', '63-26=37'] Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 42, 74, 50, 38 ]
56
[ "74-42=32", "50+38=88", "88-32=56" ]
Current State: 56:[42, 74, 50, 38], Operations: [] Exploring Operation: 74-42=32, Resulting Numbers: [50, 38, 32] Generated Node #2: [50, 38, 32] from Operation: 74-42=32 Current State: 56:[50, 38, 32], Operations: ['74-42=32'] Exploring Operation: 50+38=88, Resulting Numbers: [32, 88] Generated Node #3: [32, 88] from Operation: 50+38=88 Current State: 56:[32, 88], Operations: ['74-42=32', '50+38=88'] Exploring Operation: 88-32=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[42, 74, 50, 38], Operations: [] Exploring Operation: 50-42=8, Resulting Numbers: [74, 38, 8] Generated Node #0,0: 56:[74, 38, 8] Operation: 50-42=8 Exploring Operation: 42-38=4, Resulting Numbers: [74, 50, 4] Generated Node #0,1: 56:[74, 50, 4] Operation: 42-38=4 Exploring Operation: 74-42=32, Resulting Numbers: [50, 38, 32] Generated Node #0,2: 56:[50, 38, 32] Operation: 74-42=32 Exploring Operation: 74-50=24, Resulting Numbers: [42, 38, 24] Generated Node #0,3: 56:[42, 38, 24] Operation: 74-50=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[50, 38, 32], Operations: ['74-42=32'] Exploring Operation: 50-38=12, Resulting Numbers: [32, 12] Generated Node #0,2,0: 56:[32, 12] Operation: 50-38=12 Exploring Operation: 50-32=18, Resulting Numbers: [38, 18] Generated Node #0,2,1: 56:[38, 18] Operation: 50-32=18 Exploring Operation: 38+32=70, Resulting Numbers: [50, 70] Generated Node #0,2,2: 56:[50, 70] Operation: 38+32=70 Exploring Operation: 38-32=6, Resulting Numbers: [50, 6] Generated Node #0,2,3: 56:[50, 6] Operation: 38-32=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[32, 12], Operations: ['74-42=32', '50-38=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,56 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,56 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,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:[50, 6], Operations: ['74-42=32', '38-32=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[42, 74, 50, 38], Operations: [] Exploring Operation: 74-42=32, Resulting Numbers: [50, 38, 32] Generated Node #0,2: 56:[50, 38, 32] Operation: 74-42=32 Moving to Node #0,2 Current State: 56:[50, 38, 32], Operations: ['74-42=32'] Exploring Operation: 38-32=6, Resulting Numbers: [50, 6] Generated Node #0,2,3: 56:[50, 6] Operation: 38-32=6 Moving to Node #0,2,3 Current State: 56:[50, 6], Operations: ['74-42=32', '38-32=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 57, 95, 7, 63 ]
82
[ "57+95=152", "7+63=70", "152-70=82" ]
Current State: 82:[57, 95, 7, 63], Operations: [] Exploring Operation: 57+95=152, Resulting Numbers: [7, 63, 152] Generated Node #2: [7, 63, 152] from Operation: 57+95=152 Current State: 82:[7, 63, 152], Operations: ['57+95=152'] Exploring Operation: 7+63=70, Resulting Numbers: [152, 70] Generated Node #3: [152, 70] from Operation: 7+63=70 Current State: 82:[152, 70], Operations: ['57+95=152', '7+63=70'] Exploring Operation: 152-70=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[57, 95, 7, 63], Operations: [] Exploring Operation: 95-57=38, Resulting Numbers: [7, 63, 38] Generated Node #0,0: 82:[7, 63, 38] Operation: 95-57=38 Exploring Operation: 95-63=32, Resulting Numbers: [57, 7, 32] Generated Node #0,1: 82:[57, 7, 32] Operation: 95-63=32 Exploring Operation: 63-57=6, Resulting Numbers: [95, 7, 6] Generated Node #0,2: 82:[95, 7, 6] Operation: 63-57=6 Moving to Node #0,2 Current State: 82:[95, 7, 6], Operations: ['63-57=6'] Exploring Operation: 7*6=42, Resulting Numbers: [95, 42] Generated Node #0,2,0: 82:[95, 42] Operation: 7*6=42 Exploring Operation: 95-7=88, Resulting Numbers: [6, 88] Generated Node #0,2,1: 82:[6, 88] Operation: 95-7=88 Exploring Operation: 95-6=89, Resulting Numbers: [7, 89] Generated Node #0,2,2: 82:[7, 89] Operation: 95-6=89 Moving to Node #0,0 Current State: 82:[7, 63, 38], Operations: ['95-57=38'] Exploring Operation: 63/7=9, Resulting Numbers: [38, 9] Generated Node #0,0,0: 82:[38, 9] Operation: 63/7=9 Exploring Operation: 7+63=70, Resulting Numbers: [38, 70] Generated Node #0,0,1: 82:[38, 70] Operation: 7+63=70 Exploring Operation: 63-7=56, Resulting Numbers: [38, 56] Generated Node #0,0,2: 82:[38, 56] Operation: 63-7=56 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[38, 9], Operations: ['95-57=38', '63/7=9'] Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,82 unequal: No Solution Exploring Operation: 38*9=342, Resulting Numbers: [342] 342,82 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[38, 70], Operations: ['95-57=38', '7+63=70'] Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 38*70=2660, Resulting Numbers: [2660] 2660,82 unequal: No Solution Exploring Operation: 38+70=108, Resulting Numbers: [108] 108,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[38, 56], Operations: ['95-57=38', '63-7=56'] Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,82 unequal: No Solution Exploring Operation: 38*56=2128, Resulting Numbers: [2128] 2128,82 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: 82:[57, 7, 32], Operations: ['95-63=32'] Exploring Operation: 57+32=89, Resulting Numbers: [7, 89] Generated Node #0,1,0: 82:[7, 89] Operation: 57+32=89 Exploring Operation: 7+32=39, Resulting Numbers: [57, 39] Generated Node #0,1,1: 82:[57, 39] Operation: 7+32=39 Exploring Operation: 57-7=50, Resulting Numbers: [32, 50] Generated Node #0,1,2: 82:[32, 50] Operation: 57-7=50 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[7, 89], Operations: ['95-63=32', '57+32=89'] Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[57, 95, 7, 63], Operations: [] Exploring Operation: 95-63=32, Resulting Numbers: [57, 7, 32] Generated Node #0,1: 82:[57, 7, 32] Operation: 95-63=32 Moving to Node #0,1 Current State: 82:[57, 7, 32], Operations: ['95-63=32'] Exploring Operation: 57+32=89, Resulting Numbers: [7, 89] Generated Node #0,1,0: 82:[7, 89] Operation: 57+32=89 Moving to Node #0,1,0 Current State: 82:[7, 89], Operations: ['95-63=32', '57+32=89'] Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 51, 15, 58, 21 ]
56
[ "51-21=30", "30/15=2", "58-2=56" ]
Current State: 56:[51, 15, 58, 21], Operations: [] Exploring Operation: 51-21=30, Resulting Numbers: [15, 58, 30] Generated Node #2: [15, 58, 30] from Operation: 51-21=30 Current State: 56:[15, 58, 30], Operations: ['51-21=30'] Exploring Operation: 30/15=2, Resulting Numbers: [58, 2] Generated Node #3: [58, 2] from Operation: 30/15=2 Current State: 56:[58, 2], Operations: ['51-21=30', '30/15=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[51, 15, 58, 21], Operations: [] Exploring Operation: 51-21=30, Resulting Numbers: [15, 58, 30] Generated Node #0,0: 56:[15, 58, 30] Operation: 51-21=30 Moving to Node #0,0 Current State: 56:[15, 58, 30], Operations: ['51-21=30'] Exploring Operation: 58-30=28, Resulting Numbers: [15, 28] Generated Node #0,0,0: 56:[15, 28] Operation: 58-30=28 Moving to Node #0,0,0 Current State: 56:[15, 28], Operations: ['51-21=30', '58-30=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,56 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 57, 72, 6, 24 ]
93
[ "57+24=81", "72/6=12", "81+12=93" ]
Current State: 93:[57, 72, 6, 24], Operations: [] Exploring Operation: 57+24=81, Resulting Numbers: [72, 6, 81] Generated Node #2: [72, 6, 81] from Operation: 57+24=81 Current State: 93:[72, 6, 81], Operations: ['57+24=81'] Exploring Operation: 72/6=12, Resulting Numbers: [81, 12] Generated Node #3: [81, 12] from Operation: 72/6=12 Current State: 93:[81, 12], Operations: ['57+24=81', '72/6=12'] Exploring Operation: 81+12=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[57, 72, 6, 24], Operations: [] Exploring Operation: 72-57=15, Resulting Numbers: [6, 24, 15] Generated Node #0,0: 93:[6, 24, 15] Operation: 72-57=15 Moving to Node #0,0 Current State: 93:[6, 24, 15], Operations: ['72-57=15'] Exploring Operation: 24-15=9, Resulting Numbers: [6, 9] Generated Node #0,0,0: 93:[6, 9] Operation: 24-15=9 Moving to Node #0,0,0 Current State: 93:[6, 9], Operations: ['72-57=15', '24-15=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,93 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 98, 14, 56, 20 ]
93
[ "56/14=4", "20/4=5", "98-5=93" ]
Current State: 93:[98, 14, 56, 20], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [98, 20, 4] Generated Node #2: [98, 20, 4] from Operation: 56/14=4 Current State: 93:[98, 20, 4], Operations: ['56/14=4'] Exploring Operation: 20/4=5, Resulting Numbers: [98, 5] Generated Node #3: [98, 5] from Operation: 20/4=5 Current State: 93:[98, 5], Operations: ['56/14=4', '20/4=5'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[98, 14, 56, 20], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [98, 20, 4] Generated Node #0,0: 93:[98, 20, 4] Operation: 56/14=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[98, 20, 4], Operations: ['56/14=4'] Exploring Operation: 20/4=5, Resulting Numbers: [98, 5] Generated Node #0,0,0: 93:[98, 5] Operation: 20/4=5 Moving to Node #0,0,0 Current State: 93:[98, 5], Operations: ['56/14=4', '20/4=5'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[98, 14, 56, 20], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [98, 20, 4] Generated Node #0,0: 93:[98, 20, 4] Operation: 56/14=4 Moving to Node #0,0 Current State: 93:[98, 20, 4], Operations: ['56/14=4'] Exploring Operation: 20/4=5, Resulting Numbers: [98, 5] Generated Node #0,0,0: 93:[98, 5] Operation: 20/4=5 Moving to Node #0,0,0 Current State: 93:[98, 5], Operations: ['56/14=4', '20/4=5'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 15, 27, 35, 13 ]
76
[ "27*35=945", "945/15=63", "13+63=76" ]
Current State: 76:[15, 27, 35, 13], Operations: [] Exploring Operation: 27*35=945, Resulting Numbers: [15, 13, 945] Generated Node #2: [15, 13, 945] from Operation: 27*35=945 Current State: 76:[15, 13, 945], Operations: ['27*35=945'] Exploring Operation: 945/15=63, Resulting Numbers: [13, 63] Generated Node #3: [13, 63] from Operation: 945/15=63 Current State: 76:[13, 63], Operations: ['27*35=945', '945/15=63'] Exploring Operation: 13+63=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[15, 27, 35, 13], Operations: [] Exploring Operation: 27+13=40, Resulting Numbers: [15, 35, 40] Generated Node #0,0: 76:[15, 35, 40] Operation: 27+13=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[15, 35, 40], Operations: ['27+13=40'] Exploring Operation: 35-15=20, Resulting Numbers: [40, 20] Generated Node #0,0,0: 76:[40, 20] Operation: 35-15=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[40, 20], Operations: ['27+13=40', '35-15=20'] Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,76 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
[ 55, 96, 96, 49 ]
88
[ "96-55=41", "96-49=47", "41+47=88" ]
Current State: 88:[55, 96, 96, 49], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [49, 41] Generated Node #2: [49, 41] from Operation: 96-55=41 Current State: 88:[49, 41], Operations: ['96-55=41'] Exploring Operation: 96-49=47, Resulting Numbers: [41, 47] Generated Node #3: [41, 47] from Operation: 96-49=47 Current State: 88:[41, 47], Operations: ['96-55=41', '96-49=47'] Exploring Operation: 41+47=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[55, 96, 96, 49], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [96, 49, 41] Generated Node #0,0: 88:[96, 49, 41] Operation: 96-55=41 Exploring Operation: 96-55=41, Resulting Numbers: [96, 49, 41] Generated Node #0,1: 88:[96, 49, 41] Operation: 96-55=41 Exploring Operation: 96/96=1, Resulting Numbers: [55, 49, 1] Generated Node #0,2: 88:[55, 49, 1] Operation: 96/96=1 Moving to Node #0,0 Current State: 88:[96, 49, 41], Operations: ['96-55=41'] Exploring Operation: 49+41=90, Resulting Numbers: [96, 90] Generated Node #0,0,0: 88:[96, 90] Operation: 49+41=90 Exploring Operation: 49-41=8, Resulting Numbers: [96, 8] Generated Node #0,0,1: 88:[96, 8] Operation: 49-41=8 Exploring Operation: 96-49=47, Resulting Numbers: [41, 47] Generated Node #0,0,2: 88:[41, 47] Operation: 96-49=47 Moving to Node #0,1 Current State: 88:[96, 49, 41], Operations: ['96-55=41'] Exploring Operation: 49+41=90, Resulting Numbers: [96, 90] Generated Node #0,1,0: 88:[96, 90] Operation: 49+41=90 Exploring Operation: 49-41=8, Resulting Numbers: [96, 8] Generated Node #0,1,1: 88:[96, 8] Operation: 49-41=8 Exploring Operation: 96-49=47, Resulting Numbers: [41, 47] Generated Node #0,1,2: 88:[41, 47] Operation: 96-49=47 Moving to Node #0,2 Current State: 88:[55, 49, 1], Operations: ['96/96=1'] Exploring Operation: 55-1=54, Resulting Numbers: [49, 54] Generated Node #0,2,0: 88:[49, 54] Operation: 55-1=54 Exploring Operation: 55-49=6, Resulting Numbers: [1, 6] Generated Node #0,2,1: 88:[1, 6] Operation: 55-49=6 Exploring Operation: 49-1=48, Resulting Numbers: [55, 48] Generated Node #0,2,2: 88:[55, 48] Operation: 49-1=48 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[1, 6], Operations: ['96/96=1', '55-49=6'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,88 unequal: No Solution No 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: 88:[49, 54], Operations: ['96/96=1', '55-1=54'] Exploring Operation: 49+54=103, Resulting Numbers: [103] 103,88 unequal: No Solution Exploring Operation: 49*54=2646, Resulting Numbers: [2646] 2646,88 unequal: No Solution Exploring Operation: 54-49=5, Resulting Numbers: [5] 5,88 unequal: No Solution No 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: 88:[55, 48], Operations: ['96/96=1', '49-1=48'] Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,88 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 88:[41, 47], Operations: ['96-55=41', '96-49=47'] Exploring Operation: 41*47=1927, Resulting Numbers: [1927] 1927,88 unequal: No Solution Exploring Operation: 41+47=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[55, 96, 96, 49], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [96, 49, 41] Generated Node #0,0: 88:[96, 49, 41] Operation: 96-55=41 Moving to Node #0,0 Current State: 88:[96, 49, 41], Operations: ['96-55=41'] Exploring Operation: 96-49=47, Resulting Numbers: [41, 47] Generated Node #0,0,2: 88:[41, 47] Operation: 96-49=47 Moving to Node #0,0,2 Current State: 88:[41, 47], Operations: ['96-55=41', '96-49=47'] Exploring Operation: 41+47=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 5, 73, 83, 89 ]
39
[ "83-73=10", "5*10=50", "89-50=39" ]
Current State: 39:[5, 73, 83, 89], Operations: [] Exploring Operation: 83-73=10, Resulting Numbers: [5, 89, 10] Generated Node #2: [5, 89, 10] from Operation: 83-73=10 Current State: 39:[5, 89, 10], Operations: ['83-73=10'] Exploring Operation: 5*10=50, Resulting Numbers: [89, 50] Generated Node #3: [89, 50] from Operation: 5*10=50 Current State: 39:[89, 50], Operations: ['83-73=10', '5*10=50'] Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[5, 73, 83, 89], Operations: [] Exploring Operation: 89-83=6, Resulting Numbers: [5, 73, 6] Generated Node #0,0: 39:[5, 73, 6] Operation: 89-83=6 Exploring Operation: 89-73=16, Resulting Numbers: [5, 83, 16] Generated Node #0,1: 39:[5, 83, 16] Operation: 89-73=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[5, 73, 6], Operations: ['89-83=6'] Exploring Operation: 73-5=68, Resulting Numbers: [6, 68] Generated Node #0,0,0: 39:[6, 68] Operation: 73-5=68 Exploring Operation: 73-6=67, Resulting Numbers: [5, 67] Generated Node #0,0,1: 39:[5, 67] Operation: 73-6=67 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[5, 67], Operations: ['89-83=6', '73-6=67'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,39 unequal: No Solution Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,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,0,0 Current State: 39:[6, 68], Operations: ['89-83=6', '73-5=68'] Exploring Operation: 6+68=74, Resulting Numbers: [74] 74,39 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[5, 83, 16], Operations: ['89-73=16'] Exploring Operation: 83-16=67, Resulting Numbers: [5, 67] Generated Node #0,1,0: 39:[5, 67] Operation: 83-16=67 Exploring Operation: 83-5=78, Resulting Numbers: [16, 78] Generated Node #0,1,1: 39:[16, 78] Operation: 83-5=78 Moving to Node #0,1,0 Current State: 39:[5, 67], Operations: ['89-73=16', '83-16=67'] Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[16, 78], Operations: ['89-73=16', '83-5=78'] Exploring Operation: 16+78=94, Resulting Numbers: [94] 94,39 unequal: No Solution Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,39 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
[ 53, 27, 65, 80 ]
64
[ "53+27=80", "80/80=1", "65-1=64" ]
Current State: 64:[53, 27, 65, 80], Operations: [] Exploring Operation: 53+27=80, Resulting Numbers: [65, 80, 80] Generated Node #2: [65, 80, 80] from Operation: 53+27=80 Current State: 64:[65, 80, 80], Operations: ['53+27=80'] Exploring Operation: 80/80=1, Resulting Numbers: [65, 1] Generated Node #3: [65, 1] from Operation: 80/80=1 Current State: 64:[65, 1], Operations: ['53+27=80', '80/80=1'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[53, 27, 65, 80], Operations: [] Exploring Operation: 80-53=27, Resulting Numbers: [27, 65, 27] Generated Node #0,0: 64:[27, 65, 27] Operation: 80-53=27 Moving to Node #0,0 Current State: 64:[27, 65, 27], Operations: ['80-53=27'] Exploring Operation: 27/27=1, Resulting Numbers: [65, 1] Generated Node #0,0,0: 64:[65, 1] Operation: 27/27=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[65, 1], Operations: ['80-53=27', '27/27=1'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[53, 27, 65, 80], Operations: [] Exploring Operation: 80-53=27, Resulting Numbers: [27, 65, 27] Generated Node #0,0: 64:[27, 65, 27] Operation: 80-53=27 Moving to Node #0,0 Current State: 64:[27, 65, 27], Operations: ['80-53=27'] Exploring Operation: 27/27=1, Resulting Numbers: [65, 1] Generated Node #0,0,0: 64:[65, 1] Operation: 27/27=1 Moving to Node #0,0,0 Current State: 64:[65, 1], Operations: ['80-53=27', '27/27=1'] Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 24, 12, 57, 32 ]
11
[ "24+12=36", "57-32=25", "36-25=11" ]
Current State: 11:[24, 12, 57, 32], Operations: [] Exploring Operation: 24+12=36, Resulting Numbers: [57, 32, 36] Generated Node #2: [57, 32, 36] from Operation: 24+12=36 Current State: 11:[57, 32, 36], Operations: ['24+12=36'] Exploring Operation: 57-32=25, Resulting Numbers: [36, 25] Generated Node #3: [36, 25] from Operation: 57-32=25 Current State: 11:[36, 25], Operations: ['24+12=36', '57-32=25'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[24, 12, 57, 32], Operations: [] Exploring Operation: 24-12=12, Resulting Numbers: [57, 32, 12] Generated Node #0,0: 11:[57, 32, 12] Operation: 24-12=12 Exploring Operation: 57-24=33, Resulting Numbers: [12, 32, 33] Generated Node #0,1: 11:[12, 32, 33] Operation: 57-24=33 Exploring Operation: 32-24=8, Resulting Numbers: [12, 57, 8] Generated Node #0,2: 11:[12, 57, 8] Operation: 32-24=8 Exploring Operation: 57-32=25, Resulting Numbers: [24, 12, 25] Generated Node #0,3: 11:[24, 12, 25] Operation: 57-32=25 Start Sub Search at level 1: Moving to Node #0,3 Current State: 11:[24, 12, 25], Operations: ['57-32=25'] Exploring Operation: 24-12=12, Resulting Numbers: [25, 12] Generated Node #0,3,0: 11:[25, 12] Operation: 24-12=12 Exploring Operation: 25-12=13, Resulting Numbers: [24, 13] Generated Node #0,3,1: 11:[24, 13] Operation: 25-12=13 Exploring Operation: 24/12=2, Resulting Numbers: [25, 2] Generated Node #0,3,2: 11:[25, 2] Operation: 24/12=2 Exploring Operation: 25-24=1, Resulting Numbers: [12, 1] Generated Node #0,3,3: 11:[12, 1] Operation: 25-24=1 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 11:[12, 1], Operations: ['57-32=25', '25-24=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[24, 12, 57, 32], Operations: [] Exploring Operation: 57-32=25, Resulting Numbers: [24, 12, 25] Generated Node #0,3: 11:[24, 12, 25] Operation: 57-32=25 Moving to Node #0,3 Current State: 11:[24, 12, 25], Operations: ['57-32=25'] Exploring Operation: 25-24=1, Resulting Numbers: [12, 1] Generated Node #0,3,3: 11:[12, 1] Operation: 25-24=1 Moving to Node #0,3,3 Current State: 11:[12, 1], Operations: ['57-32=25', '25-24=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 96, 77, 59, 17 ]
96
[ "77-59=18", "18-17=1", "96*1=96" ]
Current State: 96:[96, 77, 59, 17], Operations: [] Exploring Operation: 77-59=18, Resulting Numbers: [96, 17, 18] Generated Node #2: [96, 17, 18] from Operation: 77-59=18 Current State: 96:[96, 17, 18], Operations: ['77-59=18'] Exploring Operation: 18-17=1, Resulting Numbers: [96, 1] Generated Node #3: [96, 1] from Operation: 18-17=1 Current State: 96:[96, 1], Operations: ['77-59=18', '18-17=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[96, 77, 59, 17], Operations: [] Exploring Operation: 77-59=18, Resulting Numbers: [96, 17, 18] Generated Node #0,0: 96:[96, 17, 18] Operation: 77-59=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[96, 17, 18], Operations: ['77-59=18'] Exploring Operation: 18-17=1, Resulting Numbers: [96, 1] Generated Node #0,0,0: 96:[96, 1] Operation: 18-17=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[96, 1], Operations: ['77-59=18', '18-17=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[96, 77, 59, 17], Operations: [] Exploring Operation: 77-59=18, Resulting Numbers: [96, 17, 18] Generated Node #0,0: 96:[96, 17, 18] Operation: 77-59=18 Moving to Node #0,0 Current State: 96:[96, 17, 18], Operations: ['77-59=18'] Exploring Operation: 18-17=1, Resulting Numbers: [96, 1] Generated Node #0,0,0: 96:[96, 1] Operation: 18-17=1 Moving to Node #0,0,0 Current State: 96:[96, 1], Operations: ['77-59=18', '18-17=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic