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
[ 37, 79, 58, 80 ]
94
[ "37+79=116", "80-58=22", "116-22=94" ]
Current State: 94:[37, 79, 58, 80], Operations: [] Exploring Operation: 37+79=116, Resulting Numbers: [58, 80, 116] Generated Node #2: [58, 80, 116] from Operation: 37+79=116 Current State: 94:[58, 80, 116], Operations: ['37+79=116'] Exploring Operation: 80-58=22, Resulting Numbers: [116, 22] Generated Node #3: [116, 22] from Operation: 80-58=22 Current State: 94:[116, 22], Operations: ['37+79=116', '80-58=22'] Exploring Operation: 116-22=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[37, 79, 58, 80], Operations: [] Exploring Operation: 80-79=1, Resulting Numbers: [37, 58, 1] Generated Node #0,0: 94:[37, 58, 1] Operation: 80-79=1 Moving to Node #0,0 Current State: 94:[37, 58, 1], Operations: ['80-79=1'] Exploring Operation: 37+58=95, Resulting Numbers: [1, 95] Generated Node #0,0,0: 94:[1, 95] Operation: 37+58=95 Moving to Node #0,0,0 Current State: 94:[1, 95], Operations: ['80-79=1', '37+58=95'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[37, 79, 58, 80], Operations: [] Exploring Operation: 80-79=1, Resulting Numbers: [37, 58, 1] Generated Node #0,0: 94:[37, 58, 1] Operation: 80-79=1 Moving to Node #0,0 Current State: 94:[37, 58, 1], Operations: ['80-79=1'] Exploring Operation: 37+58=95, Resulting Numbers: [1, 95] Generated Node #0,0,0: 94:[1, 95] Operation: 37+58=95 Moving to Node #0,0,0 Current State: 94:[1, 95], Operations: ['80-79=1', '37+58=95'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 73, 6, 45, 50 ]
93
[ "73-50=23", "6*23=138", "138-45=93" ]
Current State: 93:[73, 6, 45, 50], Operations: [] Exploring Operation: 73-50=23, Resulting Numbers: [6, 45, 23] Generated Node #2: [6, 45, 23] from Operation: 73-50=23 Current State: 93:[6, 45, 23], Operations: ['73-50=23'] Exploring Operation: 6*23=138, Resulting Numbers: [45, 138] Generated Node #3: [45, 138] from Operation: 6*23=138 Current State: 93:[45, 138], Operations: ['73-50=23', '6*23=138'] Exploring Operation: 138-45=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[73, 6, 45, 50], Operations: [] Exploring Operation: 73-45=28, Resulting Numbers: [6, 50, 28] Generated Node #0,0: 93:[6, 50, 28] Operation: 73-45=28 Exploring Operation: 50-45=5, Resulting Numbers: [73, 6, 5] Generated Node #0,1: 93:[73, 6, 5] Operation: 50-45=5 Exploring Operation: 73-50=23, Resulting Numbers: [6, 45, 23] Generated Node #0,2: 93:[6, 45, 23] Operation: 73-50=23 Exploring Operation: 45+50=95, Resulting Numbers: [73, 6, 95] Generated Node #0,3: 93:[73, 6, 95] Operation: 45+50=95 Exploring Operation: 73+6=79, Resulting Numbers: [45, 50, 79] Generated Node #0,4: 93:[45, 50, 79] Operation: 73+6=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[6, 50, 28], Operations: ['73-45=28'] Exploring Operation: 6+28=34, Resulting Numbers: [50, 34] Generated Node #0,0,0: 93:[50, 34] Operation: 6+28=34 Exploring Operation: 50+28=78, Resulting Numbers: [6, 78] Generated Node #0,0,1: 93:[6, 78] Operation: 50+28=78 Exploring Operation: 50-6=44, Resulting Numbers: [28, 44] Generated Node #0,0,2: 93:[28, 44] Operation: 50-6=44 Exploring Operation: 50-28=22, Resulting Numbers: [6, 22] Generated Node #0,0,3: 93:[6, 22] Operation: 50-28=22 Exploring Operation: 6+50=56, Resulting Numbers: [28, 56] Generated Node #0,0,4: 93:[28, 56] Operation: 6+50=56 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 93:[6, 22], Operations: ['73-45=28', '50-28=22'] Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,93 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 93:[28, 44], Operations: ['73-45=28', '50-6=44'] Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 28+44=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 28*44=1232, Resulting Numbers: [1232] 1232,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[6, 78], Operations: ['73-45=28', '50+28=78'] Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,93 unequal: No Solution Exploring Operation: 6*78=468, Resulting Numbers: [468] 468,93 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[50, 34], Operations: ['73-45=28', '6+28=34'] Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,93 unequal: No Solution Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 93:[28, 56], Operations: ['73-45=28', '6+50=56'] Exploring Operation: 28*56=1568, Resulting Numbers: [1568] 1568,93 unequal: No Solution Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 28+56=84, Resulting Numbers: [84] 84,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[73, 6, 5], Operations: ['50-45=5'] Exploring Operation: 73+5=78, Resulting Numbers: [6, 78] Generated Node #0,1,0: 93:[6, 78] Operation: 73+5=78 Exploring Operation: 73-6=67, Resulting Numbers: [5, 67] Generated Node #0,1,1: 93:[5, 67] Operation: 73-6=67 Exploring Operation: 6*5=30, Resulting Numbers: [73, 30] Generated Node #0,1,2: 93:[73, 30] Operation: 6*5=30 Exploring Operation: 6-5=1, Resulting Numbers: [73, 1] Generated Node #0,1,3: 93:[73, 1] Operation: 6-5=1 Exploring Operation: 73+6=79, Resulting Numbers: [5, 79] Generated Node #0,1,4: 93:[5, 79] Operation: 73+6=79 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 93:[5, 79], Operations: ['50-45=5', '73+6=79'] Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,93 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[6, 78], Operations: ['50-45=5', '73+5=78'] Exploring Operation: 6*78=468, Resulting Numbers: [468] 468,93 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[73, 30], Operations: ['50-45=5', '6*5=30'] Exploring Operation: 73*30=2190, Resulting Numbers: [2190] 2190,93 unequal: No Solution Exploring Operation: 73+30=103, Resulting Numbers: [103] 103,93 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 93:[73, 1], Operations: ['50-45=5', '6-5=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[5, 67], Operations: ['50-45=5', '73-6=67'] Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,93 unequal: No Solution Exploring Operation: 5*67=335, Resulting Numbers: [335] 335,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[6, 45, 23], Operations: ['73-50=23'] Exploring Operation: 45-6=39, Resulting Numbers: [23, 39] Generated Node #0,2,0: 93:[23, 39] Operation: 45-6=39 Exploring Operation: 23-6=17, Resulting Numbers: [45, 17] Generated Node #0,2,1: 93:[45, 17] Operation: 23-6=17 Exploring Operation: 6+23=29, Resulting Numbers: [45, 29] Generated Node #0,2,2: 93:[45, 29] Operation: 6+23=29 Exploring Operation: 45-23=22, Resulting Numbers: [6, 22] Generated Node #0,2,3: 93:[6, 22] Operation: 45-23=22 Exploring Operation: 6+45=51, Resulting Numbers: [23, 51] Generated Node #0,2,4: 93:[23, 51] Operation: 6+45=51 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 93:[6, 22], Operations: ['73-50=23', '45-23=22'] Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,93 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[23, 39], Operations: ['73-50=23', '45-6=39'] Exploring Operation: 23*39=897, Resulting Numbers: [897] 897,93 unequal: No Solution Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,93 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[45, 29], Operations: ['73-50=23', '6+23=29'] Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,93 unequal: No Solution Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[45, 17], Operations: ['73-50=23', '23-6=17'] Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,93 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,93 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 93:[23, 51], Operations: ['73-50=23', '6+45=51'] Exploring Operation: 23+51=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 23*51=1173, Resulting Numbers: [1173] 1173,93 unequal: No Solution Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[73, 6, 95], Operations: ['45+50=95'] Exploring Operation: 95-73=22, Resulting Numbers: [6, 22] Generated Node #0,3,0: 93:[6, 22] Operation: 95-73=22 Exploring Operation: 73+6=79, Resulting Numbers: [95, 79] Generated Node #0,3,1: 93:[95, 79] Operation: 73+6=79 Exploring Operation: 6+95=101, Resulting Numbers: [73, 101] Generated Node #0,3,2: 93:[73, 101] Operation: 6+95=101 Exploring Operation: 73-6=67, Resulting Numbers: [95, 67] Generated Node #0,3,3: 93:[95, 67] Operation: 73-6=67 Exploring Operation: 95-6=89, Resulting Numbers: [73, 89] Generated Node #0,3,4: 93:[73, 89] Operation: 95-6=89 Moving to Node #0,3,0 Current State: 93:[6, 22], Operations: ['45+50=95', '95-73=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,93 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[95, 79], Operations: ['45+50=95', '73+6=79'] Exploring Operation: 95+79=174, Resulting Numbers: [174] 174,93 unequal: No Solution Exploring Operation: 95-79=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 95*79=7505, Resulting Numbers: [7505] 7505,93 unequal: No Solution Moving to Node #0,3,4 Current State: 93:[73, 89], Operations: ['45+50=95', '95-6=89'] Exploring Operation: 89-73=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 73*89=6497, Resulting Numbers: [6497] 6497,93 unequal: No Solution Exploring Operation: 73+89=162, Resulting Numbers: [162] 162,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[73, 101], Operations: ['45+50=95', '6+95=101'] Exploring Operation: 73*101=7373, Resulting Numbers: [7373] 7373,93 unequal: No Solution Exploring Operation: 73+101=174, Resulting Numbers: [174] 174,93 unequal: No Solution Exploring Operation: 101-73=28, Resulting Numbers: [28] 28,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[95, 67], Operations: ['45+50=95', '73-6=67'] Exploring Operation: 95*67=6365, Resulting Numbers: [6365] 6365,93 unequal: No Solution Exploring Operation: 95-67=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 95+67=162, Resulting Numbers: [162] 162,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 93:[45, 50, 79], Operations: ['73+6=79'] Exploring Operation: 45+79=124, Resulting Numbers: [50, 124] Generated Node #0,4,0: 93:[50, 124] Operation: 45+79=124 Exploring Operation: 45+50=95, Resulting Numbers: [79, 95] Generated Node #0,4,1: 93:[79, 95] Operation: 45+50=95 Exploring Operation: 50-45=5, Resulting Numbers: [79, 5] Generated Node #0,4,2: 93:[79, 5] Operation: 50-45=5 Exploring Operation: 79-45=34, Resulting Numbers: [50, 34] Generated Node #0,4,3: 93:[50, 34] Operation: 79-45=34 Exploring Operation: 79-50=29, Resulting Numbers: [45, 29] Generated Node #0,4,4: 93:[45, 29] Operation: 79-50=29 Moving to Node #0,4,1 Current State: 93:[79, 95], Operations: ['73+6=79', '45+50=95'] Exploring Operation: 79+95=174, Resulting Numbers: [174] 174,93 unequal: No Solution Exploring Operation: 79*95=7505, Resulting Numbers: [7505] 7505,93 unequal: No Solution Exploring Operation: 95-79=16, Resulting Numbers: [16] 16,93 unequal: No Solution Moving to Node #0,4,4 Current State: 93:[45, 29], Operations: ['73+6=79', '79-50=29'] Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,93 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,93 unequal: No Solution Moving to Node #0,4,2 Current State: 93:[79, 5], Operations: ['73+6=79', '50-45=5'] Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,93 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,93 unequal: No Solution Moving to Node #0,4,3 Current State: 93:[50, 34], Operations: ['73+6=79', '79-45=34'] Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,93 unequal: No Solution Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,93 unequal: No Solution Moving to Node #0,4,0 Current State: 93:[50, 124], Operations: ['73+6=79', '45+79=124'] Exploring Operation: 50*124=6200, Resulting Numbers: [6200] 6200,93 unequal: No Solution Exploring Operation: 50+124=174, Resulting Numbers: [174] 174,93 unequal: No Solution Exploring Operation: 124-50=74, Resulting Numbers: [74] 74,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 15, 52, 50, 6 ]
72
[ "50*6=300", "300/15=20", "52+20=72" ]
Current State: 72:[15, 52, 50, 6], Operations: [] Exploring Operation: 50*6=300, Resulting Numbers: [15, 52, 300] Generated Node #2: [15, 52, 300] from Operation: 50*6=300 Current State: 72:[15, 52, 300], Operations: ['50*6=300'] Exploring Operation: 300/15=20, Resulting Numbers: [52, 20] Generated Node #3: [52, 20] from Operation: 300/15=20 Current State: 72:[52, 20], Operations: ['50*6=300', '300/15=20'] Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[15, 52, 50, 6], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [15, 6, 2] Generated Node #0,0: 72:[15, 6, 2] Operation: 52-50=2 Moving to Node #0,0 Current State: 72:[15, 6, 2], Operations: ['52-50=2'] Exploring Operation: 15-6=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 72:[2, 9] Operation: 15-6=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[2, 9], Operations: ['52-50=2', '15-6=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 2, 39, 27, 16 ]
49
[ "39+27=66", "66/2=33", "16+33=49" ]
Current State: 49:[2, 39, 27, 16], Operations: [] Exploring Operation: 39+27=66, Resulting Numbers: [2, 16, 66] Generated Node #2: [2, 16, 66] from Operation: 39+27=66 Current State: 49:[2, 16, 66], Operations: ['39+27=66'] Exploring Operation: 66/2=33, Resulting Numbers: [16, 33] Generated Node #3: [16, 33] from Operation: 66/2=33 Current State: 49:[16, 33], Operations: ['39+27=66', '66/2=33'] Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[2, 39, 27, 16], Operations: [] Exploring Operation: 39-27=12, Resulting Numbers: [2, 16, 12] Generated Node #0,0: 49:[2, 16, 12] Operation: 39-27=12 Exploring Operation: 27-16=11, Resulting Numbers: [2, 39, 11] Generated Node #0,1: 49:[2, 39, 11] Operation: 27-16=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[2, 16, 12], Operations: ['39-27=12'] Exploring Operation: 16-12=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 49:[2, 4] Operation: 16-12=4 Exploring Operation: 16/2=8, Resulting Numbers: [12, 8] Generated Node #0,0,1: 49:[12, 8] Operation: 16/2=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[12, 8], Operations: ['39-27=12', '16/2=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[2, 4], Operations: ['39-27=12', '16-12=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[2, 39, 11], Operations: ['27-16=11'] Exploring Operation: 2+39=41, Resulting Numbers: [11, 41] Generated Node #0,1,0: 49:[11, 41] Operation: 2+39=41 Exploring Operation: 39+11=50, Resulting Numbers: [2, 50] Generated Node #0,1,1: 49:[2, 50] Operation: 39+11=50 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[2, 50], Operations: ['27-16=11', '39+11=50'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[11, 41], Operations: ['27-16=11', '2+39=41'] Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,49 unequal: No Solution Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 40, 26, 54, 29 ]
69
[ "40-26=14", "54+29=83", "83-14=69" ]
Current State: 69:[40, 26, 54, 29], Operations: [] Exploring Operation: 40-26=14, Resulting Numbers: [54, 29, 14] Generated Node #2: [54, 29, 14] from Operation: 40-26=14 Current State: 69:[54, 29, 14], Operations: ['40-26=14'] Exploring Operation: 54+29=83, Resulting Numbers: [14, 83] Generated Node #3: [14, 83] from Operation: 54+29=83 Current State: 69:[14, 83], Operations: ['40-26=14', '54+29=83'] Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[40, 26, 54, 29], Operations: [] Exploring Operation: 40+29=69, Resulting Numbers: [26, 54, 69] Generated Node #0,0: 69:[26, 54, 69] Operation: 40+29=69 Exploring Operation: 40+26=66, Resulting Numbers: [54, 29, 66] Generated Node #0,1: 69:[54, 29, 66] Operation: 40+26=66 Exploring Operation: 54-40=14, Resulting Numbers: [26, 29, 14] Generated Node #0,2: 69:[26, 29, 14] Operation: 54-40=14 Exploring Operation: 54-29=25, Resulting Numbers: [40, 26, 25] Generated Node #0,3: 69:[40, 26, 25] Operation: 54-29=25 Moving to Node #0,0 Current State: 69:[26, 54, 69], Operations: ['40+29=69'] Exploring Operation: 54-26=28, Resulting Numbers: [69, 28] Generated Node #0,0,0: 69:[69, 28] Operation: 54-26=28 Exploring Operation: 69-26=43, Resulting Numbers: [54, 43] Generated Node #0,0,1: 69:[54, 43] Operation: 69-26=43 Exploring Operation: 69-54=15, Resulting Numbers: [26, 15] Generated Node #0,0,2: 69:[26, 15] Operation: 69-54=15 Exploring Operation: 26+54=80, Resulting Numbers: [69, 80] Generated Node #0,0,3: 69:[69, 80] Operation: 26+54=80 Moving to Node #0,2 Current State: 69:[26, 29, 14], Operations: ['54-40=14'] Exploring Operation: 29-14=15, Resulting Numbers: [26, 15] Generated Node #0,2,0: 69:[26, 15] Operation: 29-14=15 Exploring Operation: 29-26=3, Resulting Numbers: [14, 3] Generated Node #0,2,1: 69:[14, 3] Operation: 29-26=3 Exploring Operation: 26-14=12, Resulting Numbers: [29, 12] Generated Node #0,2,2: 69:[29, 12] Operation: 26-14=12 Exploring Operation: 26+29=55, Resulting Numbers: [14, 55] Generated Node #0,2,3: 69:[14, 55] Operation: 26+29=55 Moving to Node #0,3 Current State: 69:[40, 26, 25], Operations: ['54-29=25'] Exploring Operation: 40+26=66, Resulting Numbers: [25, 66] Generated Node #0,3,0: 69:[25, 66] Operation: 40+26=66 Exploring Operation: 40-25=15, Resulting Numbers: [26, 15] Generated Node #0,3,1: 69:[26, 15] Operation: 40-25=15 Exploring Operation: 40+25=65, Resulting Numbers: [26, 65] Generated Node #0,3,2: 69:[26, 65] Operation: 40+25=65 Exploring Operation: 40-26=14, Resulting Numbers: [25, 14] Generated Node #0,3,3: 69:[25, 14] Operation: 40-26=14 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[25, 66], Operations: ['54-29=25', '40+26=66'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 25+66=91, Resulting Numbers: [91] 91,69 unequal: No Solution Exploring Operation: 25*66=1650, Resulting Numbers: [1650] 1650,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 69:[26, 65], Operations: ['54-29=25', '40+25=65'] Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,69 unequal: No Solution Exploring Operation: 26*65=1690, Resulting Numbers: [1690] 1690,69 unequal: No Solution Exploring Operation: 26+65=91, Resulting Numbers: [91] 91,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[26, 15], Operations: ['54-29=25', '40-25=15'] Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,69 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,69 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 69:[25, 14], Operations: ['54-29=25', '40-26=14'] Exploring Operation: 25*14=350, Resulting Numbers: [350] 350,69 unequal: No Solution Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,69 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,69 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: 69:[54, 29, 66], Operations: ['40+26=66'] Exploring Operation: 54+29=83, Resulting Numbers: [66, 83] Generated Node #0,1,0: 69:[66, 83] Operation: 54+29=83 Exploring Operation: 54-29=25, Resulting Numbers: [66, 25] Generated Node #0,1,1: 69:[66, 25] Operation: 54-29=25 Exploring Operation: 66-29=37, Resulting Numbers: [54, 37] Generated Node #0,1,2: 69:[54, 37] Operation: 66-29=37 Exploring Operation: 66-54=12, Resulting Numbers: [29, 12] Generated Node #0,1,3: 69:[29, 12] Operation: 66-54=12 Moving to Node #0,0,0 Current State: 69:[69, 28], Operations: ['40+29=69', '54-26=28'] Exploring Operation: 69+28=97, Resulting Numbers: [97] 97,69 unequal: No Solution Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 69*28=1932, Resulting Numbers: [1932] 1932,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[66, 25], Operations: ['40+26=66', '54-29=25'] Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,69 unequal: No Solution Exploring Operation: 66*25=1650, Resulting Numbers: [1650] 1650,69 unequal: No Solution Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[14, 3], Operations: ['54-40=14', '29-26=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,69 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,69 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[69, 80], Operations: ['40+29=69', '26+54=80'] Exploring Operation: 69*80=5520, Resulting Numbers: [5520] 5520,69 unequal: No Solution Exploring Operation: 69+80=149, Resulting Numbers: [149] 149,69 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[26, 15], Operations: ['54-40=14', '29-14=15'] Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,69 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,69 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[26, 15], Operations: ['40+29=69', '69-54=15'] Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,69 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[29, 12], Operations: ['54-40=14', '26-14=12'] Exploring Operation: 29*12=348, Resulting Numbers: [348] 348,69 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[29, 12], Operations: ['40+26=66', '66-54=12'] Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 29*12=348, Resulting Numbers: [348] 348,69 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[66, 83], Operations: ['40+26=66', '54+29=83'] Exploring Operation: 83-66=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 66*83=5478, Resulting Numbers: [5478] 5478,69 unequal: No Solution Exploring Operation: 66+83=149, Resulting Numbers: [149] 149,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[14, 55], Operations: ['54-40=14', '26+29=55'] Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,69 unequal: No Solution Exploring Operation: 14+55=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[40, 26, 54, 29], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [26, 29, 14] Generated Node #0,2: 69:[26, 29, 14] Operation: 54-40=14 Moving to Node #0,2 Current State: 69:[26, 29, 14], Operations: ['54-40=14'] Exploring Operation: 26+29=55, Resulting Numbers: [14, 55] Generated Node #0,2,3: 69:[14, 55] Operation: 26+29=55 Moving to Node #0,2,3 Current State: 69:[14, 55], Operations: ['54-40=14', '26+29=55'] Exploring Operation: 14+55=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.943576
hs_4
sum_heuristic
[ 66, 22, 25, 27 ]
49
[ "66/22=3", "25+27=52", "52-3=49" ]
Current State: 49:[66, 22, 25, 27], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [25, 27, 3] Generated Node #2: [25, 27, 3] from Operation: 66/22=3 Current State: 49:[25, 27, 3], Operations: ['66/22=3'] Exploring Operation: 25+27=52, Resulting Numbers: [3, 52] Generated Node #3: [3, 52] from Operation: 25+27=52 Current State: 49:[3, 52], Operations: ['66/22=3', '25+27=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[66, 22, 25, 27], Operations: [] Exploring Operation: 22+27=49, Resulting Numbers: [66, 25, 49] Generated Node #0,0: 49:[66, 25, 49] Operation: 22+27=49 Exploring Operation: 25+27=52, Resulting Numbers: [66, 22, 52] Generated Node #0,1: 49:[66, 22, 52] Operation: 25+27=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[66, 25, 49], Operations: ['22+27=49'] Exploring Operation: 66-49=17, Resulting Numbers: [25, 17] Generated Node #0,0,0: 49:[25, 17] Operation: 66-49=17 Exploring Operation: 66-25=41, Resulting Numbers: [49, 41] Generated Node #0,0,1: 49:[49, 41] Operation: 66-25=41 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[49, 41], Operations: ['22+27=49', '66-25=41'] Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 49+41=90, Resulting Numbers: [90] 90,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[25, 17], Operations: ['22+27=49', '66-49=17'] Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[66, 22, 52], Operations: ['25+27=52'] Exploring Operation: 66/22=3, Resulting Numbers: [52, 3] Generated Node #0,1,0: 49:[52, 3] Operation: 66/22=3 Exploring Operation: 66-22=44, Resulting Numbers: [52, 44] Generated Node #0,1,1: 49:[52, 44] Operation: 66-22=44 Moving to Node #0,1,0 Current State: 49:[52, 3], Operations: ['25+27=52', '66/22=3'] Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[66, 22, 25, 27], Operations: [] Exploring Operation: 25+27=52, Resulting Numbers: [66, 22, 52] Generated Node #0,1: 49:[66, 22, 52] Operation: 25+27=52 Moving to Node #0,1 Current State: 49:[66, 22, 52], Operations: ['25+27=52'] Exploring Operation: 66/22=3, Resulting Numbers: [52, 3] Generated Node #0,1,0: 49:[52, 3] Operation: 66/22=3 Moving to Node #0,1,0 Current State: 49:[52, 3], Operations: ['25+27=52', '66/22=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 18, 35, 77, 45 ]
85
[ "18+35=53", "77-45=32", "53+32=85" ]
Current State: 85:[18, 35, 77, 45], Operations: [] Exploring Operation: 18+35=53, Resulting Numbers: [77, 45, 53] Generated Node #2: [77, 45, 53] from Operation: 18+35=53 Current State: 85:[77, 45, 53], Operations: ['18+35=53'] Exploring Operation: 77-45=32, Resulting Numbers: [53, 32] Generated Node #3: [53, 32] from Operation: 77-45=32 Current State: 85:[53, 32], Operations: ['18+35=53', '77-45=32'] Exploring Operation: 53+32=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[18, 35, 77, 45], Operations: [] Exploring Operation: 35+45=80, Resulting Numbers: [18, 77, 80] Generated Node #0,0: 85:[18, 77, 80] Operation: 35+45=80 Moving to Node #0,0 Current State: 85:[18, 77, 80], Operations: ['35+45=80'] Exploring Operation: 80-77=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 85:[18, 3] Operation: 80-77=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[18, 3], Operations: ['35+45=80', '80-77=3'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 27, 91, 7, 7 ]
91
[ "27*7=189", "91+7=98", "189-98=91" ]
Current State: 91:[27, 91, 7, 7], Operations: [] Exploring Operation: 27*7=189, Resulting Numbers: [91, 189] Generated Node #2: [91, 189] from Operation: 27*7=189 Current State: 91:[91, 189], Operations: ['27*7=189'] Exploring Operation: 91+7=98, Resulting Numbers: [189, 98] Generated Node #3: [189, 98] from Operation: 91+7=98 Current State: 91:[189, 98], Operations: ['27*7=189', '91+7=98'] Exploring Operation: 189-98=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[27, 91, 7, 7], Operations: [] Exploring Operation: 27-7=20, Resulting Numbers: [91, 7, 20] Generated Node #0,0: 91:[91, 7, 20] Operation: 27-7=20 Exploring Operation: 27-7=20, Resulting Numbers: [91, 7, 20] Generated Node #0,1: 91:[91, 7, 20] Operation: 27-7=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[91, 7, 20], Operations: ['27-7=20'] Exploring Operation: 20-7=13, Resulting Numbers: [91, 13] Generated Node #0,0,0: 91:[91, 13] Operation: 20-7=13 Exploring Operation: 91/7=13, Resulting Numbers: [20, 13] Generated Node #0,0,1: 91:[20, 13] Operation: 91/7=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[91, 13], Operations: ['27-7=20', '20-7=13'] Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[20, 13], Operations: ['27-7=20', '91/7=13'] Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,91 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[91, 7, 20], Operations: ['27-7=20'] Exploring Operation: 20-7=13, Resulting Numbers: [91, 13] Generated Node #0,1,0: 91:[91, 13] Operation: 20-7=13 Exploring Operation: 91/7=13, Resulting Numbers: [20, 13] Generated Node #0,1,1: 91:[20, 13] Operation: 91/7=13 Moving to Node #0,1,0 Current State: 91:[91, 13], Operations: ['27-7=20', '20-7=13'] Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[20, 13], Operations: ['27-7=20', '91/7=13'] Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,91 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 97, 3, 91, 97 ]
88
[ "97+3=100", "91+97=188", "188-100=88" ]
Current State: 88:[97, 3, 91, 97], Operations: [] Exploring Operation: 97+3=100, Resulting Numbers: [91, 100] Generated Node #2: [91, 100] from Operation: 97+3=100 Current State: 88:[91, 100], Operations: ['97+3=100'] Exploring Operation: 91+97=188, Resulting Numbers: [100, 188] Generated Node #3: [100, 188] from Operation: 91+97=188 Current State: 88:[100, 188], Operations: ['97+3=100', '91+97=188'] Exploring Operation: 188-100=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[97, 3, 91, 97], Operations: [] Exploring Operation: 97/97=1, Resulting Numbers: [3, 91, 1] Generated Node #0,0: 88:[3, 91, 1] Operation: 97/97=1 Exploring Operation: 97-97=0, Resulting Numbers: [3, 91, 0] Generated Node #0,1: 88:[3, 91, 0] Operation: 97-97=0 Exploring Operation: 97-91=6, Resulting Numbers: [3, 97, 6] Generated Node #0,2: 88:[3, 97, 6] Operation: 97-91=6 Moving to Node #0,0 Current State: 88:[3, 91, 1], Operations: ['97/97=1'] Exploring Operation: 91-3=88, Resulting Numbers: [1, 88] Generated Node #0,0,0: 88:[1, 88] Operation: 91-3=88 Exploring Operation: 3+1=4, Resulting Numbers: [91, 4] Generated Node #0,0,1: 88:[91, 4] Operation: 3+1=4 Exploring Operation: 3-1=2, Resulting Numbers: [91, 2] Generated Node #0,0,2: 88:[91, 2] Operation: 3-1=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[1, 88], Operations: ['97/97=1', '91-3=88'] Exploring Operation: 1+88=89, Resulting Numbers: [89] 89,88 unequal: No Solution Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[97, 3, 91, 97], Operations: [] Exploring Operation: 97/97=1, Resulting Numbers: [3, 91, 1] Generated Node #0,0: 88:[3, 91, 1] Operation: 97/97=1 Moving to Node #0,0 Current State: 88:[3, 91, 1], Operations: ['97/97=1'] Exploring Operation: 91-3=88, Resulting Numbers: [1, 88] Generated Node #0,0,0: 88:[1, 88] Operation: 91-3=88 Moving to Node #0,0,0 Current State: 88:[1, 88], Operations: ['97/97=1', '91-3=88'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 10, 22, 3, 2 ]
71
[ "10/2=5", "22*3=66", "5+66=71" ]
Current State: 71:[10, 22, 3, 2], Operations: [] Exploring Operation: 10/2=5, Resulting Numbers: [22, 3, 5] Generated Node #2: [22, 3, 5] from Operation: 10/2=5 Current State: 71:[22, 3, 5], Operations: ['10/2=5'] Exploring Operation: 22*3=66, Resulting Numbers: [5, 66] Generated Node #3: [5, 66] from Operation: 22*3=66 Current State: 71:[5, 66], Operations: ['10/2=5', '22*3=66'] Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[10, 22, 3, 2], Operations: [] Exploring Operation: 22*3=66, Resulting Numbers: [10, 2, 66] Generated Node #0,0: 71:[10, 2, 66] Operation: 22*3=66 Exploring Operation: 22*2=44, Resulting Numbers: [10, 3, 44] Generated Node #0,1: 71:[10, 3, 44] Operation: 22*2=44 Moving to Node #0,0 Current State: 71:[10, 2, 66], Operations: ['22*3=66'] Exploring Operation: 10*2=20, Resulting Numbers: [66, 20] Generated Node #0,0,0: 71:[66, 20] Operation: 10*2=20 Exploring Operation: 10+2=12, Resulting Numbers: [66, 12] Generated Node #0,0,1: 71:[66, 12] Operation: 10+2=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[66, 20], Operations: ['22*3=66', '10*2=20'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,71 unequal: No Solution Exploring Operation: 66+20=86, Resulting Numbers: [86] 86,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[66, 12], Operations: ['22*3=66', '10+2=12'] Exploring Operation: 66+12=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,71 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: 71:[10, 3, 44], Operations: ['22*2=44'] Exploring Operation: 10*3=30, Resulting Numbers: [44, 30] Generated Node #0,1,0: 71:[44, 30] Operation: 10*3=30 Exploring Operation: 10+3=13, Resulting Numbers: [44, 13] Generated Node #0,1,1: 71:[44, 13] Operation: 10+3=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[44, 30], Operations: ['22*2=44', '10*3=30'] Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[44, 13], Operations: ['22*2=44', '10+3=13'] Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,71 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,71 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
[ 90, 93, 53, 84 ]
28
[ "93-90=3", "84-53=31", "31-3=28" ]
Current State: 28:[90, 93, 53, 84], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [53, 84, 3] Generated Node #2: [53, 84, 3] from Operation: 93-90=3 Current State: 28:[53, 84, 3], Operations: ['93-90=3'] Exploring Operation: 84-53=31, Resulting Numbers: [3, 31] Generated Node #3: [3, 31] from Operation: 84-53=31 Current State: 28:[3, 31], Operations: ['93-90=3', '84-53=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[90, 93, 53, 84], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [53, 84, 3] Generated Node #0,0: 28:[53, 84, 3] Operation: 93-90=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[53, 84, 3], Operations: ['93-90=3'] Exploring Operation: 84-53=31, Resulting Numbers: [3, 31] Generated Node #0,0,0: 28:[3, 31] Operation: 84-53=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[3, 31], Operations: ['93-90=3', '84-53=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[90, 93, 53, 84], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [53, 84, 3] Generated Node #0,0: 28:[53, 84, 3] Operation: 93-90=3 Moving to Node #0,0 Current State: 28:[53, 84, 3], Operations: ['93-90=3'] Exploring Operation: 84-53=31, Resulting Numbers: [3, 31] Generated Node #0,0,0: 28:[3, 31] Operation: 84-53=31 Moving to Node #0,0,0 Current State: 28:[3, 31], Operations: ['93-90=3', '84-53=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 80, 19, 80, 97 ]
40
[ "80+19=99", "99-97=2", "80/2=40" ]
Current State: 40:[80, 19, 80, 97], Operations: [] Exploring Operation: 80+19=99, Resulting Numbers: [97, 99] Generated Node #2: [97, 99] from Operation: 80+19=99 Current State: 40:[97, 99], Operations: ['80+19=99'] Exploring Operation: 99-97=2, Resulting Numbers: [2] 2,40 equal: Goal Reached Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[80, 19, 80, 97], Operations: [] Exploring Operation: 97-80=17, Resulting Numbers: [80, 19, 17] Generated Node #0,0: 40:[80, 19, 17] Operation: 97-80=17 Exploring Operation: 80/80=1, Resulting Numbers: [19, 97, 1] Generated Node #0,1: 40:[19, 97, 1] Operation: 80/80=1 Exploring Operation: 97-80=17, Resulting Numbers: [19, 80, 17] Generated Node #0,2: 40:[19, 80, 17] Operation: 97-80=17 Exploring Operation: 80-80=0, Resulting Numbers: [19, 97, 0] Generated Node #0,3: 40:[19, 97, 0] Operation: 80-80=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[80, 19, 17], Operations: ['97-80=17'] Exploring Operation: 19+17=36, Resulting Numbers: [80, 36] Generated Node #0,0,0: 40:[80, 36] Operation: 19+17=36 Exploring Operation: 80-17=63, Resulting Numbers: [19, 63] Generated Node #0,0,1: 40:[19, 63] Operation: 80-17=63 Exploring Operation: 19-17=2, Resulting Numbers: [80, 2] Generated Node #0,0,2: 40:[80, 2] Operation: 19-17=2 Exploring Operation: 80-19=61, Resulting Numbers: [17, 61] Generated Node #0,0,3: 40:[17, 61] Operation: 80-19=61 Moving to Node #0,0,1 Current State: 40:[19, 63], Operations: ['97-80=17', '80-17=63'] Exploring Operation: 19+63=82, Resulting Numbers: [82] 82,40 unequal: No Solution Exploring Operation: 19*63=1197, Resulting Numbers: [1197] 1197,40 unequal: No Solution Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[17, 61], Operations: ['97-80=17', '80-19=61'] Exploring Operation: 17*61=1037, Resulting Numbers: [1037] 1037,40 unequal: No Solution Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,40 unequal: No Solution Exploring Operation: 17+61=78, Resulting Numbers: [78] 78,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[80, 2], Operations: ['97-80=17', '19-17=2'] Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,40 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,40 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[80, 19, 80, 97], Operations: [] Exploring Operation: 97-80=17, Resulting Numbers: [80, 19, 17] Generated Node #0,0: 40:[80, 19, 17] Operation: 97-80=17 Moving to Node #0,0 Current State: 40:[80, 19, 17], Operations: ['97-80=17'] Exploring Operation: 19-17=2, Resulting Numbers: [80, 2] Generated Node #0,0,2: 40:[80, 2] Operation: 19-17=2 Moving to Node #0,0,2 Current State: 40:[80, 2], Operations: ['97-80=17', '19-17=2'] Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 94, 94, 64, 49 ]
49
[ "94-94=0", "64*0=0", "49+0=49" ]
Current State: 49:[94, 94, 64, 49], Operations: [] Exploring Operation: 94-94=0, Resulting Numbers: [64, 49, 0] Generated Node #2: [64, 49, 0] from Operation: 94-94=0 Current State: 49:[64, 49, 0], Operations: ['94-94=0'] Exploring Operation: 64*0=0, Resulting Numbers: [49, 0] Generated Node #3: [49, 0] from Operation: 64*0=0 Current State: 49:[49, 0], Operations: ['94-94=0', '64*0=0'] Exploring Operation: 49+0=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[94, 94, 64, 49], Operations: [] Exploring Operation: 94-49=45, Resulting Numbers: [94, 64, 45] Generated Node #0,0: 49:[94, 64, 45] Operation: 94-49=45 Exploring Operation: 94-94=0, Resulting Numbers: [64, 49, 0] Generated Node #0,1: 49:[64, 49, 0] Operation: 94-94=0 Exploring Operation: 94-64=30, Resulting Numbers: [94, 49, 30] Generated Node #0,2: 49:[94, 49, 30] Operation: 94-64=30 Exploring Operation: 94/94=1, Resulting Numbers: [64, 49, 1] Generated Node #0,3: 49:[64, 49, 1] Operation: 94/94=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[64, 49, 1], Operations: ['94/94=1'] Exploring Operation: 64-49=15, Resulting Numbers: [1, 15] Generated Node #0,3,0: 49:[1, 15] Operation: 64-49=15 Exploring Operation: 64*1=64, Resulting Numbers: [49, 64] Generated Node #0,3,1: 49:[49, 64] Operation: 64*1=64 Exploring Operation: 64/1=64, Resulting Numbers: [49, 64] Generated Node #0,3,2: 49:[49, 64] Operation: 64/1=64 Exploring Operation: 64-1=63, Resulting Numbers: [49, 63] Generated Node #0,3,3: 49:[49, 63] Operation: 64-1=63 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 49:[1, 15], Operations: ['94/94=1', '64-49=15'] Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 49:[49, 63], Operations: ['94/94=1', '64-1=63'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 49*63=3087, Resulting Numbers: [3087] 3087,49 unequal: No Solution Exploring Operation: 49+63=112, Resulting Numbers: [112] 112,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 49:[49, 64], Operations: ['94/94=1', '64*1=64'] Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 49+64=113, Resulting Numbers: [113] 113,49 unequal: No Solution Exploring Operation: 49*64=3136, Resulting Numbers: [3136] 3136,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 49:[49, 64], Operations: ['94/94=1', '64/1=64'] Exploring Operation: 49*64=3136, Resulting Numbers: [3136] 3136,49 unequal: No Solution Exploring Operation: 49+64=113, Resulting Numbers: [113] 113,49 unequal: No Solution Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[64, 49, 0], Operations: ['94-94=0'] Exploring Operation: 64*0=0, Resulting Numbers: [49, 0] Generated Node #0,1,0: 49:[49, 0] Operation: 64*0=0 Exploring Operation: 64+0=64, Resulting Numbers: [49, 64] Generated Node #0,1,1: 49:[49, 64] Operation: 64+0=64 Exploring Operation: 64-49=15, Resulting Numbers: [0, 15] Generated Node #0,1,2: 49:[0, 15] Operation: 64-49=15 Exploring Operation: 64-0=64, Resulting Numbers: [49, 64] Generated Node #0,1,3: 49:[49, 64] Operation: 64-0=64 Moving to Node #0,1,0 Current State: 49:[49, 0], Operations: ['94-94=0', '64*0=0'] Exploring Operation: 49*0=0, Resulting Numbers: [0] 0,49 unequal: No Solution Exploring Operation: 49+0=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[94, 94, 64, 49], Operations: [] Exploring Operation: 94-94=0, Resulting Numbers: [64, 49, 0] Generated Node #0,1: 49:[64, 49, 0] Operation: 94-94=0 Moving to Node #0,1 Current State: 49:[64, 49, 0], Operations: ['94-94=0'] Exploring Operation: 64*0=0, Resulting Numbers: [49, 0] Generated Node #0,1,0: 49:[49, 0] Operation: 64*0=0 Moving to Node #0,1,0 Current State: 49:[49, 0], Operations: ['94-94=0', '64*0=0'] Exploring Operation: 49+0=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 54, 55, 64, 7 ]
56
[ "55-54=1", "64-7=57", "57-1=56" ]
Current State: 56:[54, 55, 64, 7], Operations: [] Exploring Operation: 55-54=1, Resulting Numbers: [64, 7, 1] Generated Node #2: [64, 7, 1] from Operation: 55-54=1 Current State: 56:[64, 7, 1], Operations: ['55-54=1'] Exploring Operation: 64-7=57, Resulting Numbers: [1, 57] Generated Node #3: [1, 57] from Operation: 64-7=57 Current State: 56:[1, 57], Operations: ['55-54=1', '64-7=57'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[54, 55, 64, 7], Operations: [] Exploring Operation: 64-54=10, Resulting Numbers: [55, 7, 10] Generated Node #0,0: 56:[55, 7, 10] Operation: 64-54=10 Exploring Operation: 55-54=1, Resulting Numbers: [64, 7, 1] Generated Node #0,1: 56:[64, 7, 1] Operation: 55-54=1 Exploring Operation: 64-7=57, Resulting Numbers: [54, 55, 57] Generated Node #0,2: 56:[54, 55, 57] Operation: 64-7=57 Exploring Operation: 64-55=9, Resulting Numbers: [54, 7, 9] Generated Node #0,3: 56:[54, 7, 9] Operation: 64-55=9 Moving to Node #0,0 Current State: 56:[55, 7, 10], Operations: ['64-54=10'] Exploring Operation: 10-7=3, Resulting Numbers: [55, 3] Generated Node #0,0,0: 56:[55, 3] Operation: 10-7=3 Exploring Operation: 55+7=62, Resulting Numbers: [10, 62] Generated Node #0,0,1: 56:[10, 62] Operation: 55+7=62 Exploring Operation: 55+10=65, Resulting Numbers: [7, 65] Generated Node #0,0,2: 56:[7, 65] Operation: 55+10=65 Exploring Operation: 7+10=17, Resulting Numbers: [55, 17] Generated Node #0,0,3: 56:[55, 17] Operation: 7+10=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[55, 3], Operations: ['64-54=10', '10-7=3'] Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,56 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[55, 17], Operations: ['64-54=10', '7+10=17'] Exploring Operation: 55*17=935, Resulting Numbers: [935] 935,56 unequal: No Solution Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,56 unequal: No Solution Exploring Operation: 55+17=72, Resulting Numbers: [72] 72,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[10, 62], Operations: ['64-54=10', '55+7=62'] Exploring Operation: 10*62=620, Resulting Numbers: [620] 620,56 unequal: No Solution Exploring Operation: 10+62=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[7, 65], Operations: ['64-54=10', '55+10=65'] Exploring Operation: 7+65=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 7*65=455, Resulting Numbers: [455] 455,56 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,56 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: 56:[54, 7, 9], Operations: ['64-55=9'] Exploring Operation: 9-7=2, Resulting Numbers: [54, 2] Generated Node #0,3,0: 56:[54, 2] Operation: 9-7=2 Exploring Operation: 54+7=61, Resulting Numbers: [9, 61] Generated Node #0,3,1: 56:[9, 61] Operation: 54+7=61 Exploring Operation: 54/9=6, Resulting Numbers: [7, 6] Generated Node #0,3,2: 56:[7, 6] Operation: 54/9=6 Exploring Operation: 7+9=16, Resulting Numbers: [54, 16] Generated Node #0,3,3: 56:[54, 16] Operation: 7+9=16 Moving to Node #0,2 Current State: 56:[54, 55, 57], Operations: ['64-7=57'] Exploring Operation: 55-54=1, Resulting Numbers: [57, 1] Generated Node #0,2,0: 56:[57, 1] Operation: 55-54=1 Exploring Operation: 57-54=3, Resulting Numbers: [55, 3] Generated Node #0,2,1: 56:[55, 3] Operation: 57-54=3 Exploring Operation: 57-55=2, Resulting Numbers: [54, 2] Generated Node #0,2,2: 56:[54, 2] Operation: 57-55=2 Exploring Operation: 54+55=109, Resulting Numbers: [57, 109] Generated Node #0,2,3: 56:[57, 109] Operation: 54+55=109 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[57, 1], Operations: ['64-7=57', '55-54=1'] Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[54, 55, 64, 7], Operations: [] Exploring Operation: 64-7=57, Resulting Numbers: [54, 55, 57] Generated Node #0,2: 56:[54, 55, 57] Operation: 64-7=57 Moving to Node #0,2 Current State: 56:[54, 55, 57], Operations: ['64-7=57'] Exploring Operation: 55-54=1, Resulting Numbers: [57, 1] Generated Node #0,2,0: 56:[57, 1] Operation: 55-54=1 Moving to Node #0,2,0 Current State: 56:[57, 1], Operations: ['64-7=57', '55-54=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 30, 20, 33, 52 ]
95
[ "30-20=10", "33+52=85", "10+85=95" ]
Current State: 95:[30, 20, 33, 52], Operations: [] Exploring Operation: 30-20=10, Resulting Numbers: [33, 52, 10] Generated Node #2: [33, 52, 10] from Operation: 30-20=10 Current State: 95:[33, 52, 10], Operations: ['30-20=10'] Exploring Operation: 33+52=85, Resulting Numbers: [10, 85] Generated Node #3: [10, 85] from Operation: 33+52=85 Current State: 95:[10, 85], Operations: ['30-20=10', '33+52=85'] Exploring Operation: 10+85=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[30, 20, 33, 52], Operations: [] Exploring Operation: 52-33=19, Resulting Numbers: [30, 20, 19] Generated Node #0,0: 95:[30, 20, 19] Operation: 52-33=19 Exploring Operation: 52-30=22, Resulting Numbers: [20, 33, 22] Generated Node #0,1: 95:[20, 33, 22] Operation: 52-30=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[30, 20, 19], Operations: ['52-33=19'] Exploring Operation: 30-19=11, Resulting Numbers: [20, 11] Generated Node #0,0,0: 95:[20, 11] Operation: 30-19=11 Exploring Operation: 30-20=10, Resulting Numbers: [19, 10] Generated Node #0,0,1: 95:[19, 10] Operation: 30-20=10 Moving to Node #0,0,1 Current State: 95:[19, 10], Operations: ['52-33=19', '30-20=10'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[20, 11], Operations: ['52-33=19', '30-19=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[20, 33, 22], Operations: ['52-30=22'] Exploring Operation: 33-22=11, Resulting Numbers: [20, 11] Generated Node #0,1,0: 95:[20, 11] Operation: 33-22=11 Exploring Operation: 33-20=13, Resulting Numbers: [22, 13] Generated Node #0,1,1: 95:[22, 13] Operation: 33-20=13 Moving to Node #0,1,0 Current State: 95:[20, 11], Operations: ['52-30=22', '33-22=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[22, 13], Operations: ['52-30=22', '33-20=13'] Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 11, 40, 28, 22 ]
52
[ "22/11=2", "40*2=80", "80-28=52" ]
Current State: 52:[11, 40, 28, 22], Operations: [] Exploring Operation: 22/11=2, Resulting Numbers: [40, 28, 2] Generated Node #2: [40, 28, 2] from Operation: 22/11=2 Current State: 52:[40, 28, 2], Operations: ['22/11=2'] Exploring Operation: 40*2=80, Resulting Numbers: [28, 80] Generated Node #3: [28, 80] from Operation: 40*2=80 Current State: 52:[28, 80], Operations: ['22/11=2', '40*2=80'] Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[11, 40, 28, 22], Operations: [] Exploring Operation: 40-28=12, Resulting Numbers: [11, 22, 12] Generated Node #0,0: 52:[11, 22, 12] Operation: 40-28=12 Exploring Operation: 11+40=51, Resulting Numbers: [28, 22, 51] Generated Node #0,1: 52:[28, 22, 51] Operation: 11+40=51 Exploring Operation: 40-22=18, Resulting Numbers: [11, 28, 18] Generated Node #0,2: 52:[11, 28, 18] Operation: 40-22=18 Exploring Operation: 40-11=29, Resulting Numbers: [28, 22, 29] Generated Node #0,3: 52:[28, 22, 29] Operation: 40-11=29 Exploring Operation: 22/11=2, Resulting Numbers: [40, 28, 2] Generated Node #0,4: 52:[40, 28, 2] Operation: 22/11=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[11, 22, 12], Operations: ['40-28=12'] Exploring Operation: 22-12=10, Resulting Numbers: [11, 10] Generated Node #0,0,0: 52:[11, 10] Operation: 22-12=10 Exploring Operation: 22-11=11, Resulting Numbers: [12, 11] Generated Node #0,0,1: 52:[12, 11] Operation: 22-11=11 Exploring Operation: 12-11=1, Resulting Numbers: [22, 1] Generated Node #0,0,2: 52:[22, 1] Operation: 12-11=1 Exploring Operation: 22/11=2, Resulting Numbers: [12, 2] Generated Node #0,0,3: 52:[12, 2] Operation: 22/11=2 Exploring Operation: 11+12=23, Resulting Numbers: [22, 23] Generated Node #0,0,4: 52:[22, 23] Operation: 11+12=23 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 52:[12, 2], Operations: ['40-28=12', '22/11=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[12, 11], Operations: ['40-28=12', '22-11=11'] Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[11, 10], Operations: ['40-28=12', '22-12=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,52 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 52:[22, 1], Operations: ['40-28=12', '12-11=1'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 52:[22, 23], Operations: ['40-28=12', '11+12=23'] Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,52 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[28, 22, 51], Operations: ['11+40=51'] Exploring Operation: 28+22=50, Resulting Numbers: [51, 50] Generated Node #0,1,0: 52:[51, 50] Operation: 28+22=50 Exploring Operation: 22+51=73, Resulting Numbers: [28, 73] Generated Node #0,1,1: 52:[28, 73] Operation: 22+51=73 Exploring Operation: 51-22=29, Resulting Numbers: [28, 29] Generated Node #0,1,2: 52:[28, 29] Operation: 51-22=29 Exploring Operation: 51-28=23, Resulting Numbers: [22, 23] Generated Node #0,1,3: 52:[22, 23] Operation: 51-28=23 Exploring Operation: 28-22=6, Resulting Numbers: [51, 6] Generated Node #0,1,4: 52:[51, 6] Operation: 28-22=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[51, 50], Operations: ['11+40=51', '28+22=50'] Exploring Operation: 51*50=2550, Resulting Numbers: [2550] 2550,52 unequal: No Solution Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 52:[51, 6], Operations: ['11+40=51', '28-22=6'] Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,52 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,52 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 52:[28, 29], Operations: ['11+40=51', '51-22=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,52 unequal: No Solution Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,52 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 52:[22, 23], Operations: ['11+40=51', '51-28=23'] Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[28, 73], Operations: ['11+40=51', '22+51=73'] Exploring Operation: 28*73=2044, Resulting Numbers: [2044] 2044,52 unequal: No Solution Exploring Operation: 73-28=45, Resulting Numbers: [45] 45,52 unequal: No Solution Exploring Operation: 28+73=101, Resulting Numbers: [101] 101,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[11, 28, 18], Operations: ['40-22=18'] Exploring Operation: 28-18=10, Resulting Numbers: [11, 10] Generated Node #0,2,0: 52:[11, 10] Operation: 28-18=10 Exploring Operation: 11+18=29, Resulting Numbers: [28, 29] Generated Node #0,2,1: 52:[28, 29] Operation: 11+18=29 Exploring Operation: 28-11=17, Resulting Numbers: [18, 17] Generated Node #0,2,2: 52:[18, 17] Operation: 28-11=17 Exploring Operation: 18-11=7, Resulting Numbers: [28, 7] Generated Node #0,2,3: 52:[28, 7] Operation: 18-11=7 Exploring Operation: 28+18=46, Resulting Numbers: [11, 46] Generated Node #0,2,4: 52:[11, 46] Operation: 28+18=46 Moving to Node #0,2,0 Current State: 52:[11, 10], Operations: ['40-22=18', '28-18=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,52 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[28, 7], Operations: ['40-22=18', '18-11=7'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,52 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[28, 29], Operations: ['40-22=18', '11+18=29'] Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,52 unequal: No Solution Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[11, 46], Operations: ['40-22=18', '28+18=46'] Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,52 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,52 unequal: No Solution Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[18, 17], Operations: ['40-22=18', '28-11=17'] Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,52 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,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 Current State: 52:[28, 22, 29], Operations: ['40-11=29'] Exploring Operation: 22+29=51, Resulting Numbers: [28, 51] Generated Node #0,3,0: 52:[28, 51] Operation: 22+29=51 Exploring Operation: 29-28=1, Resulting Numbers: [22, 1] Generated Node #0,3,1: 52:[22, 1] Operation: 29-28=1 Exploring Operation: 28-22=6, Resulting Numbers: [29, 6] Generated Node #0,3,2: 52:[29, 6] Operation: 28-22=6 Exploring Operation: 28+22=50, Resulting Numbers: [29, 50] Generated Node #0,3,3: 52:[29, 50] Operation: 28+22=50 Exploring Operation: 29-22=7, Resulting Numbers: [28, 7] Generated Node #0,3,4: 52:[28, 7] Operation: 29-22=7 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 52:[28, 51], Operations: ['40-11=29', '22+29=51'] Exploring Operation: 28*51=1428, Resulting Numbers: [1428] 1428,52 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 52:[22, 1], Operations: ['40-11=29', '29-28=1'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 52:[29, 6], Operations: ['40-11=29', '28-22=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,52 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 52:[29, 50], Operations: ['40-11=29', '28+22=50'] Exploring Operation: 50-29=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 29*50=1450, Resulting Numbers: [1450] 1450,52 unequal: No Solution Exploring Operation: 29+50=79, Resulting Numbers: [79] 79,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 52:[28, 7], Operations: ['40-11=29', '29-22=7'] Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,52 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 52:[40, 28, 2], Operations: ['22/11=2'] Exploring Operation: 28/2=14, Resulting Numbers: [40, 14] Generated Node #0,4,0: 52:[40, 14] Operation: 28/2=14 Exploring Operation: 40-28=12, Resulting Numbers: [2, 12] Generated Node #0,4,1: 52:[2, 12] Operation: 40-28=12 Exploring Operation: 40+2=42, Resulting Numbers: [28, 42] Generated Node #0,4,2: 52:[28, 42] Operation: 40+2=42 Exploring Operation: 28-2=26, Resulting Numbers: [40, 26] Generated Node #0,4,3: 52:[40, 26] Operation: 28-2=26 Exploring Operation: 40/2=20, Resulting Numbers: [28, 20] Generated Node #0,4,4: 52:[28, 20] Operation: 40/2=20 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 52:[2, 12], Operations: ['22/11=2', '40-28=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 52:[28, 20], Operations: ['22/11=2', '40/2=20'] Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,52 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 52:[28, 42], Operations: ['22/11=2', '40+2=42'] Exploring Operation: 28*42=1176, Resulting Numbers: [1176] 1176,52 unequal: No Solution Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,52 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 52:[40, 26], Operations: ['22/11=2', '28-2=26'] Exploring Operation: 40*26=1040, Resulting Numbers: [1040] 1040,52 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 40+26=66, Resulting Numbers: [66] 66,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 52:[40, 14], Operations: ['22/11=2', '28/2=14'] Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,52 unequal: No Solution Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,52 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 3, 23, 30, 58 ]
97
[ "3*23=69", "58-30=28", "69+28=97" ]
Current State: 97:[3, 23, 30, 58], Operations: [] Exploring Operation: 3*23=69, Resulting Numbers: [30, 58, 69] Generated Node #2: [30, 58, 69] from Operation: 3*23=69 Current State: 97:[30, 58, 69], Operations: ['3*23=69'] Exploring Operation: 58-30=28, Resulting Numbers: [69, 28] Generated Node #3: [69, 28] from Operation: 58-30=28 Current State: 97:[69, 28], Operations: ['3*23=69', '58-30=28'] Exploring Operation: 69+28=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[3, 23, 30, 58], Operations: [] Exploring Operation: 3*30=90, Resulting Numbers: [23, 58, 90] Generated Node #0,0: 97:[23, 58, 90] Operation: 3*30=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[23, 58, 90], Operations: ['3*30=90'] Exploring Operation: 23+58=81, Resulting Numbers: [90, 81] Generated Node #0,0,0: 97:[90, 81] Operation: 23+58=81 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[90, 81], Operations: ['3*30=90', '23+58=81'] Exploring Operation: 90+81=171, Resulting Numbers: [171] 171,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 5, 53, 6, 29 ]
86
[ "5*29=145", "53+6=59", "145-59=86" ]
Current State: 86:[5, 53, 6, 29], Operations: [] Exploring Operation: 5*29=145, Resulting Numbers: [53, 6, 145] Generated Node #2: [53, 6, 145] from Operation: 5*29=145 Current State: 86:[53, 6, 145], Operations: ['5*29=145'] Exploring Operation: 53+6=59, Resulting Numbers: [145, 59] Generated Node #3: [145, 59] from Operation: 53+6=59 Current State: 86:[145, 59], Operations: ['5*29=145', '53+6=59'] Exploring Operation: 145-59=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[5, 53, 6, 29], Operations: [] Exploring Operation: 53+29=82, Resulting Numbers: [5, 6, 82] Generated Node #0,0: 86:[5, 6, 82] Operation: 53+29=82 Exploring Operation: 6+29=35, Resulting Numbers: [5, 53, 35] Generated Node #0,1: 86:[5, 53, 35] Operation: 6+29=35 Exploring Operation: 53-6=47, Resulting Numbers: [5, 29, 47] Generated Node #0,2: 86:[5, 29, 47] Operation: 53-6=47 Exploring Operation: 53-5=48, Resulting Numbers: [6, 29, 48] Generated Node #0,3: 86:[6, 29, 48] Operation: 53-5=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[5, 6, 82], Operations: ['53+29=82'] Exploring Operation: 5+6=11, Resulting Numbers: [82, 11] Generated Node #0,0,0: 86:[82, 11] Operation: 5+6=11 Exploring Operation: 5+82=87, Resulting Numbers: [6, 87] Generated Node #0,0,1: 86:[6, 87] Operation: 5+82=87 Exploring Operation: 6+82=88, Resulting Numbers: [5, 88] Generated Node #0,0,2: 86:[5, 88] Operation: 6+82=88 Exploring Operation: 6-5=1, Resulting Numbers: [82, 1] Generated Node #0,0,3: 86:[82, 1] Operation: 6-5=1 Moving to Node #0,0,1 Current State: 86:[6, 87], Operations: ['53+29=82', '5+82=87'] Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,86 unequal: No Solution Exploring Operation: 6+87=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 6*87=522, Resulting Numbers: [522] 522,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[82, 1], Operations: ['53+29=82', '6-5=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,86 unequal: No Solution Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,86 unequal: No Solution Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,86 unequal: No Solution Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[5, 88], Operations: ['53+29=82', '6+82=88'] Exploring Operation: 5*88=440, Resulting Numbers: [440] 440,86 unequal: No Solution Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[82, 11], Operations: ['53+29=82', '5+6=11'] Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 82*11=902, Resulting Numbers: [902] 902,86 unequal: No Solution Exploring Operation: 82+11=93, Resulting Numbers: [93] 93,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[5, 53, 35], Operations: ['6+29=35'] Exploring Operation: 35/5=7, Resulting Numbers: [53, 7] Generated Node #0,1,0: 86:[53, 7] Operation: 35/5=7 Exploring Operation: 53+35=88, Resulting Numbers: [5, 88] Generated Node #0,1,1: 86:[5, 88] Operation: 53+35=88 Exploring Operation: 53-5=48, Resulting Numbers: [35, 48] Generated Node #0,1,2: 86:[35, 48] Operation: 53-5=48 Exploring Operation: 5+35=40, Resulting Numbers: [53, 40] Generated Node #0,1,3: 86:[53, 40] Operation: 5+35=40 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[5, 88], Operations: ['6+29=35', '53+35=88'] Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,86 unequal: No Solution Exploring Operation: 5*88=440, Resulting Numbers: [440] 440,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[35, 48], Operations: ['6+29=35', '53-5=48'] Exploring Operation: 48-35=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 35*48=1680, Resulting Numbers: [1680] 1680,86 unequal: No Solution Exploring Operation: 35+48=83, Resulting Numbers: [83] 83,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 86:[53, 40], Operations: ['6+29=35', '5+35=40'] Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 53*40=2120, Resulting Numbers: [2120] 2120,86 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[53, 7], Operations: ['6+29=35', '35/5=7'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,86 unequal: No Solution Exploring Operation: 53*7=371, Resulting Numbers: [371] 371,86 unequal: No Solution Exploring Operation: 53+7=60, Resulting Numbers: [60] 60,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[5, 29, 47], Operations: ['53-6=47'] Exploring Operation: 5+29=34, Resulting Numbers: [47, 34] Generated Node #0,2,0: 86:[47, 34] Operation: 5+29=34 Exploring Operation: 47-29=18, Resulting Numbers: [5, 18] Generated Node #0,2,1: 86:[5, 18] Operation: 47-29=18 Exploring Operation: 47-5=42, Resulting Numbers: [29, 42] Generated Node #0,2,2: 86:[29, 42] Operation: 47-5=42 Exploring Operation: 29+47=76, Resulting Numbers: [5, 76] Generated Node #0,2,3: 86:[5, 76] Operation: 29+47=76 Moving to Node #0,2,0 Current State: 86:[47, 34], Operations: ['53-6=47', '5+29=34'] Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,86 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[5, 76], Operations: ['53-6=47', '29+47=76'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,86 unequal: No Solution Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[29, 42], Operations: ['53-6=47', '47-5=42'] Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,86 unequal: No Solution Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[5, 18], Operations: ['53-6=47', '47-29=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,86 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[6, 29, 48], Operations: ['53-5=48'] Exploring Operation: 6+29=35, Resulting Numbers: [48, 35] Generated Node #0,3,0: 86:[48, 35] Operation: 6+29=35 Exploring Operation: 48-6=42, Resulting Numbers: [29, 42] Generated Node #0,3,1: 86:[29, 42] Operation: 48-6=42 Exploring Operation: 29+48=77, Resulting Numbers: [6, 77] Generated Node #0,3,2: 86:[6, 77] Operation: 29+48=77 Exploring Operation: 48/6=8, Resulting Numbers: [29, 8] Generated Node #0,3,3: 86:[29, 8] Operation: 48/6=8 Moving to Node #0,3,0 Current State: 86:[48, 35], Operations: ['53-5=48', '6+29=35'] Exploring Operation: 48+35=83, Resulting Numbers: [83] 83,86 unequal: No Solution Exploring Operation: 48-35=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 48*35=1680, Resulting Numbers: [1680] 1680,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[6, 77], Operations: ['53-5=48', '29+48=77'] Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 6+77=83, Resulting Numbers: [83] 83,86 unequal: No Solution Exploring Operation: 6*77=462, Resulting Numbers: [462] 462,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[29, 42], Operations: ['53-5=48', '48-6=42'] Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,86 unequal: No Solution Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[29, 8], Operations: ['53-5=48', '48/6=8'] Exploring Operation: 29*8=232, Resulting Numbers: [232] 232,86 unequal: No Solution Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,86 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
[ 41, 88, 49, 26 ]
57
[ "88*26=2288", "49+2288=2337", "2337/41=57" ]
Current State: 57:[41, 88, 49, 26], Operations: [] Exploring Operation: 88*26=2288, Resulting Numbers: [41, 49, 2288] Generated Node #2: [41, 49, 2288] from Operation: 88*26=2288 Current State: 57:[41, 49, 2288], Operations: ['88*26=2288'] Exploring Operation: 49+2288=2337, Resulting Numbers: [41, 2337] Generated Node #3: [41, 2337] from Operation: 49+2288=2337 Current State: 57:[41, 2337], Operations: ['88*26=2288', '49+2288=2337'] Exploring Operation: 2337/41=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[41, 88, 49, 26], Operations: [] Exploring Operation: 88-49=39, Resulting Numbers: [41, 26, 39] Generated Node #0,0: 57:[41, 26, 39] Operation: 88-49=39 Exploring Operation: 88-41=47, Resulting Numbers: [49, 26, 47] Generated Node #0,1: 57:[49, 26, 47] Operation: 88-41=47 Exploring Operation: 88-26=62, Resulting Numbers: [41, 49, 62] Generated Node #0,2: 57:[41, 49, 62] Operation: 88-26=62 Moving to Node #0,1 Current State: 57:[49, 26, 47], Operations: ['88-41=47'] Exploring Operation: 49-26=23, Resulting Numbers: [47, 23] Generated Node #0,1,0: 57:[47, 23] Operation: 49-26=23 Exploring Operation: 47-26=21, Resulting Numbers: [49, 21] Generated Node #0,1,1: 57:[49, 21] Operation: 47-26=21 Exploring Operation: 49-47=2, Resulting Numbers: [26, 2] Generated Node #0,1,2: 57:[26, 2] Operation: 49-47=2 Moving to Node #0,2 Current State: 57:[41, 49, 62], Operations: ['88-26=62'] Exploring Operation: 62-41=21, Resulting Numbers: [49, 21] Generated Node #0,2,0: 57:[49, 21] Operation: 62-41=21 Exploring Operation: 62-49=13, Resulting Numbers: [41, 13] Generated Node #0,2,1: 57:[41, 13] Operation: 62-49=13 Exploring Operation: 49-41=8, Resulting Numbers: [62, 8] Generated Node #0,2,2: 57:[62, 8] Operation: 49-41=8 Moving to Node #0,0 Current State: 57:[41, 26, 39], Operations: ['88-49=39'] Exploring Operation: 41-26=15, Resulting Numbers: [39, 15] Generated Node #0,0,0: 57:[39, 15] Operation: 41-26=15 Exploring Operation: 39-26=13, Resulting Numbers: [41, 13] Generated Node #0,0,1: 57:[41, 13] Operation: 39-26=13 Exploring Operation: 41-39=2, Resulting Numbers: [26, 2] Generated Node #0,0,2: 57:[26, 2] Operation: 41-39=2 Moving to Node #0,1,2 Current State: 57:[26, 2], Operations: ['88-41=47', '49-47=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,57 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[26, 2], Operations: ['88-49=39', '41-39=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,57 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[49, 21], Operations: ['88-41=47', '47-26=21'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,57 unequal: No Solution Exploring Operation: 49*21=1029, Resulting Numbers: [1029] 1029,57 unequal: No Solution Exploring Operation: 49+21=70, Resulting Numbers: [70] 70,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[62, 8], Operations: ['88-26=62', '49-41=8'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 62*8=496, Resulting Numbers: [496] 496,57 unequal: No Solution Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,57 unequal: No Solution Moving to Node #0,2,0 Current State: 57:[49, 21], Operations: ['88-26=62', '62-41=21'] Exploring Operation: 49*21=1029, Resulting Numbers: [1029] 1029,57 unequal: No Solution Exploring Operation: 49+21=70, Resulting Numbers: [70] 70,57 unequal: No Solution Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[47, 23], Operations: ['88-41=47', '49-26=23'] Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,57 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,57 unequal: No Solution Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[41, 13], Operations: ['88-26=62', '62-49=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,57 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[39, 15], Operations: ['88-49=39', '41-26=15'] Exploring Operation: 39*15=585, Resulting Numbers: [585] 585,57 unequal: No Solution Exploring Operation: 39+15=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[41, 13], Operations: ['88-49=39', '39-26=13'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,57 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,57 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 6, 44, 18, 21 ]
43
[ "6*18=108", "44+21=65", "108-65=43" ]
Current State: 43:[6, 44, 18, 21], Operations: [] Exploring Operation: 6*18=108, Resulting Numbers: [44, 21, 108] Generated Node #2: [44, 21, 108] from Operation: 6*18=108 Current State: 43:[44, 21, 108], Operations: ['6*18=108'] Exploring Operation: 44+21=65, Resulting Numbers: [108, 65] Generated Node #3: [108, 65] from Operation: 44+21=65 Current State: 43:[108, 65], Operations: ['6*18=108', '44+21=65'] Exploring Operation: 108-65=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[6, 44, 18, 21], Operations: [] Exploring Operation: 6+18=24, Resulting Numbers: [44, 21, 24] Generated Node #0,0: 43:[44, 21, 24] Operation: 6+18=24 Exploring Operation: 6+21=27, Resulting Numbers: [44, 18, 27] Generated Node #0,1: 43:[44, 18, 27] Operation: 6+21=27 Moving to Node #0,0 Current State: 43:[44, 21, 24], Operations: ['6+18=24'] Exploring Operation: 44-21=23, Resulting Numbers: [24, 23] Generated Node #0,0,0: 43:[24, 23] Operation: 44-21=23 Exploring Operation: 21+24=45, Resulting Numbers: [44, 45] Generated Node #0,0,1: 43:[44, 45] Operation: 21+24=45 Moving to Node #0,1 Current State: 43:[44, 18, 27], Operations: ['6+21=27'] Exploring Operation: 44-18=26, Resulting Numbers: [27, 26] Generated Node #0,1,0: 43:[27, 26] Operation: 44-18=26 Exploring Operation: 18+27=45, Resulting Numbers: [44, 45] Generated Node #0,1,1: 43:[44, 45] Operation: 18+27=45 Moving to Node #0,0,1 Current State: 43:[44, 45], Operations: ['6+18=24', '21+24=45'] Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[44, 45], Operations: ['6+21=27', '18+27=45'] Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[27, 26], Operations: ['6+21=27', '44-18=26'] Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,43 unequal: No Solution Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[24, 23], Operations: ['6+18=24', '44-21=23'] Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,43 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 3, 38, 73, 43 ]
81
[ "38-3=35", "73+43=116", "116-35=81" ]
Current State: 81:[3, 38, 73, 43], Operations: [] Exploring Operation: 38-3=35, Resulting Numbers: [73, 43, 35] Generated Node #2: [73, 43, 35] from Operation: 38-3=35 Current State: 81:[73, 43, 35], Operations: ['38-3=35'] Exploring Operation: 73+43=116, Resulting Numbers: [35, 116] Generated Node #3: [35, 116] from Operation: 73+43=116 Current State: 81:[35, 116], Operations: ['38-3=35', '73+43=116'] Exploring Operation: 116-35=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[3, 38, 73, 43], Operations: [] Exploring Operation: 43-38=5, Resulting Numbers: [3, 73, 5] Generated Node #0,0: 81:[3, 73, 5] Operation: 43-38=5 Exploring Operation: 73-43=30, Resulting Numbers: [3, 38, 30] Generated Node #0,1: 81:[3, 38, 30] Operation: 73-43=30 Exploring Operation: 73-38=35, Resulting Numbers: [3, 43, 35] Generated Node #0,2: 81:[3, 43, 35] Operation: 73-38=35 Exploring Operation: 38+43=81, Resulting Numbers: [3, 73, 81] Generated Node #0,3: 81:[3, 73, 81] Operation: 38+43=81 Moving to Node #0,3 Current State: 81:[3, 73, 81], Operations: ['38+43=81'] Exploring Operation: 81/3=27, Resulting Numbers: [73, 27] Generated Node #0,3,0: 81:[73, 27] Operation: 81/3=27 Exploring Operation: 73-3=70, Resulting Numbers: [81, 70] Generated Node #0,3,1: 81:[81, 70] Operation: 73-3=70 Exploring Operation: 3+73=76, Resulting Numbers: [81, 76] Generated Node #0,3,2: 81:[81, 76] Operation: 3+73=76 Exploring Operation: 81-73=8, Resulting Numbers: [3, 8] Generated Node #0,3,3: 81:[3, 8] Operation: 81-73=8 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 81:[3, 8], Operations: ['38+43=81', '81-73=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 81:[81, 76], Operations: ['38+43=81', '3+73=76'] Exploring Operation: 81*76=6156, Resulting Numbers: [6156] 6156,81 unequal: No Solution Exploring Operation: 81+76=157, Resulting Numbers: [157] 157,81 unequal: No Solution Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 81:[73, 27], Operations: ['38+43=81', '81/3=27'] Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,81 unequal: No Solution Exploring Operation: 73*27=1971, Resulting Numbers: [1971] 1971,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 81:[81, 70], Operations: ['38+43=81', '73-3=70'] Exploring Operation: 81*70=5670, Resulting Numbers: [5670] 5670,81 unequal: No Solution Exploring Operation: 81+70=151, Resulting Numbers: [151] 151,81 unequal: No Solution Exploring Operation: 81-70=11, Resulting Numbers: [11] 11,81 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: 81:[3, 73, 5], Operations: ['43-38=5'] Exploring Operation: 3+5=8, Resulting Numbers: [73, 8] Generated Node #0,0,0: 81:[73, 8] Operation: 3+5=8 Exploring Operation: 5-3=2, Resulting Numbers: [73, 2] Generated Node #0,0,1: 81:[73, 2] Operation: 5-3=2 Exploring Operation: 73+5=78, Resulting Numbers: [3, 78] Generated Node #0,0,2: 81:[3, 78] Operation: 73+5=78 Exploring Operation: 3+73=76, Resulting Numbers: [5, 76] Generated Node #0,0,3: 81:[5, 76] Operation: 3+73=76 Moving to Node #0,1 Current State: 81:[3, 38, 30], Operations: ['73-43=30'] Exploring Operation: 30/3=10, Resulting Numbers: [38, 10] Generated Node #0,1,0: 81:[38, 10] Operation: 30/3=10 Exploring Operation: 30-3=27, Resulting Numbers: [38, 27] Generated Node #0,1,1: 81:[38, 27] Operation: 30-3=27 Exploring Operation: 38-30=8, Resulting Numbers: [3, 8] Generated Node #0,1,2: 81:[3, 8] Operation: 38-30=8 Exploring Operation: 38-3=35, Resulting Numbers: [30, 35] Generated Node #0,1,3: 81:[30, 35] Operation: 38-3=35 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[3, 8], Operations: ['73-43=30', '38-30=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[38, 27], Operations: ['73-43=30', '30-3=27'] Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 38*27=1026, Resulting Numbers: [1026] 1026,81 unequal: No Solution Exploring Operation: 38+27=65, Resulting Numbers: [65] 65,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 81:[30, 35], Operations: ['73-43=30', '38-3=35'] Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,81 unequal: No Solution Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,81 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[38, 10], Operations: ['73-43=30', '30/3=10'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,81 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: 81:[3, 43, 35], Operations: ['73-38=35'] Exploring Operation: 43+35=78, Resulting Numbers: [3, 78] Generated Node #0,2,0: 81:[3, 78] Operation: 43+35=78 Exploring Operation: 43-3=40, Resulting Numbers: [35, 40] Generated Node #0,2,1: 81:[35, 40] Operation: 43-3=40 Exploring Operation: 35-3=32, Resulting Numbers: [43, 32] Generated Node #0,2,2: 81:[43, 32] Operation: 35-3=32 Exploring Operation: 43-35=8, Resulting Numbers: [3, 8] Generated Node #0,2,3: 81:[3, 8] Operation: 43-35=8 Moving to Node #0,2,3 Current State: 81:[3, 8], Operations: ['73-38=35', '43-35=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[3, 78], Operations: ['73-38=35', '43+35=78'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,81 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[3, 38, 73, 43], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [3, 43, 35] Generated Node #0,2: 81:[3, 43, 35] Operation: 73-38=35 Moving to Node #0,2 Current State: 81:[3, 43, 35], Operations: ['73-38=35'] Exploring Operation: 43+35=78, Resulting Numbers: [3, 78] Generated Node #0,2,0: 81:[3, 78] Operation: 43+35=78 Moving to Node #0,2,0 Current State: 81:[3, 78], Operations: ['73-38=35', '43+35=78'] Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.953125
hs_4
sum_heuristic
[ 32, 43, 34, 35 ]
30
[ "43-35=8", "32/8=4", "34-4=30" ]
Current State: 30:[32, 43, 34, 35], Operations: [] Exploring Operation: 43-35=8, Resulting Numbers: [32, 34, 8] Generated Node #2: [32, 34, 8] from Operation: 43-35=8 Current State: 30:[32, 34, 8], Operations: ['43-35=8'] Exploring Operation: 32/8=4, Resulting Numbers: [34, 4] Generated Node #3: [34, 4] from Operation: 32/8=4 Current State: 30:[34, 4], Operations: ['43-35=8', '32/8=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[32, 43, 34, 35], Operations: [] Exploring Operation: 43-34=9, Resulting Numbers: [32, 35, 9] Generated Node #0,0: 30:[32, 35, 9] Operation: 43-34=9 Exploring Operation: 35-34=1, Resulting Numbers: [32, 43, 1] Generated Node #0,1: 30:[32, 43, 1] Operation: 35-34=1 Exploring Operation: 43-32=11, Resulting Numbers: [34, 35, 11] Generated Node #0,2: 30:[34, 35, 11] Operation: 43-32=11 Exploring Operation: 43-35=8, Resulting Numbers: [32, 34, 8] Generated Node #0,3: 30:[32, 34, 8] Operation: 43-35=8 Exploring Operation: 35-32=3, Resulting Numbers: [43, 34, 3] Generated Node #0,4: 30:[43, 34, 3] Operation: 35-32=3 Moving to Node #0,0 Current State: 30:[32, 35, 9], Operations: ['43-34=9'] Exploring Operation: 35+9=44, Resulting Numbers: [32, 44] Generated Node #0,0,0: 30:[32, 44] Operation: 35+9=44 Exploring Operation: 32-9=23, Resulting Numbers: [35, 23] Generated Node #0,0,1: 30:[35, 23] Operation: 32-9=23 Exploring Operation: 32+9=41, Resulting Numbers: [35, 41] Generated Node #0,0,2: 30:[35, 41] Operation: 32+9=41 Exploring Operation: 35-32=3, Resulting Numbers: [9, 3] Generated Node #0,0,3: 30:[9, 3] Operation: 35-32=3 Exploring Operation: 35-9=26, Resulting Numbers: [32, 26] Generated Node #0,0,4: 30:[32, 26] Operation: 35-9=26 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 30:[9, 3], Operations: ['43-34=9', '35-32=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,30 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 30:[32, 26], Operations: ['43-34=9', '35-9=26'] Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,30 unequal: No Solution Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,30 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[35, 23], Operations: ['43-34=9', '32-9=23'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,30 unequal: No Solution Exploring Operation: 35*23=805, Resulting Numbers: [805] 805,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[32, 44], Operations: ['43-34=9', '35+9=44'] Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,30 unequal: No Solution Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[35, 41], Operations: ['43-34=9', '32+9=41'] Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,30 unequal: No Solution Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,30 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,30 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: 30:[32, 34, 8], Operations: ['43-35=8'] Exploring Operation: 32/8=4, Resulting Numbers: [34, 4] Generated Node #0,3,0: 30:[34, 4] Operation: 32/8=4 Exploring Operation: 34-8=26, Resulting Numbers: [32, 26] Generated Node #0,3,1: 30:[32, 26] Operation: 34-8=26 Exploring Operation: 32-8=24, Resulting Numbers: [34, 24] Generated Node #0,3,2: 30:[34, 24] Operation: 32-8=24 Exploring Operation: 32+8=40, Resulting Numbers: [34, 40] Generated Node #0,3,3: 30:[34, 40] Operation: 32+8=40 Exploring Operation: 34-32=2, Resulting Numbers: [8, 2] Generated Node #0,3,4: 30:[8, 2] Operation: 34-32=2 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 30:[8, 2], Operations: ['43-35=8', '34-32=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 30:[34, 4], Operations: ['43-35=8', '32/8=4'] Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,30 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,30 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[32, 43, 34, 35], Operations: [] Exploring Operation: 43-35=8, Resulting Numbers: [32, 34, 8] Generated Node #0,3: 30:[32, 34, 8] Operation: 43-35=8 Moving to Node #0,3 Current State: 30:[32, 34, 8], Operations: ['43-35=8'] Exploring Operation: 32/8=4, Resulting Numbers: [34, 4] Generated Node #0,3,0: 30:[34, 4] Operation: 32/8=4 Moving to Node #0,3,0 Current State: 30:[34, 4], Operations: ['43-35=8', '32/8=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 45, 42, 78, 27 ]
54
[ "45-42=3", "78-27=51", "3+51=54" ]
Current State: 54:[45, 42, 78, 27], Operations: [] Exploring Operation: 45-42=3, Resulting Numbers: [78, 27, 3] Generated Node #2: [78, 27, 3] from Operation: 45-42=3 Current State: 54:[78, 27, 3], Operations: ['45-42=3'] Exploring Operation: 78-27=51, Resulting Numbers: [3, 51] Generated Node #3: [3, 51] from Operation: 78-27=51 Current State: 54:[3, 51], Operations: ['45-42=3', '78-27=51'] Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[45, 42, 78, 27], Operations: [] Exploring Operation: 78-27=51, Resulting Numbers: [45, 42, 51] Generated Node #0,0: 54:[45, 42, 51] Operation: 78-27=51 Exploring Operation: 78-45=33, Resulting Numbers: [42, 27, 33] Generated Node #0,1: 54:[42, 27, 33] Operation: 78-45=33 Exploring Operation: 78-42=36, Resulting Numbers: [45, 27, 36] Generated Node #0,2: 54:[45, 27, 36] Operation: 78-42=36 Exploring Operation: 45-42=3, Resulting Numbers: [78, 27, 3] Generated Node #0,3: 54:[78, 27, 3] Operation: 45-42=3 Exploring Operation: 45-27=18, Resulting Numbers: [42, 78, 18] Generated Node #0,4: 54:[42, 78, 18] Operation: 45-27=18 Moving to Node #0,1 Current State: 54:[42, 27, 33], Operations: ['78-45=33'] Exploring Operation: 42-33=9, Resulting Numbers: [27, 9] Generated Node #0,1,0: 54:[27, 9] Operation: 42-33=9 Exploring Operation: 27+33=60, Resulting Numbers: [42, 60] Generated Node #0,1,1: 54:[42, 60] Operation: 27+33=60 Exploring Operation: 33-27=6, Resulting Numbers: [42, 6] Generated Node #0,1,2: 54:[42, 6] Operation: 33-27=6 Exploring Operation: 42-27=15, Resulting Numbers: [33, 15] Generated Node #0,1,3: 54:[33, 15] Operation: 42-27=15 Exploring Operation: 42+27=69, Resulting Numbers: [33, 69] Generated Node #0,1,4: 54:[33, 69] Operation: 42+27=69 Moving to Node #0,2 Current State: 54:[45, 27, 36], Operations: ['78-42=36'] Exploring Operation: 36-27=9, Resulting Numbers: [45, 9] Generated Node #0,2,0: 54:[45, 9] Operation: 36-27=9 Exploring Operation: 45-27=18, Resulting Numbers: [36, 18] Generated Node #0,2,1: 54:[36, 18] Operation: 45-27=18 Exploring Operation: 45+27=72, Resulting Numbers: [36, 72] Generated Node #0,2,2: 54:[36, 72] Operation: 45+27=72 Exploring Operation: 27+36=63, Resulting Numbers: [45, 63] Generated Node #0,2,3: 54:[45, 63] Operation: 27+36=63 Exploring Operation: 45-36=9, Resulting Numbers: [27, 9] Generated Node #0,2,4: 54:[27, 9] Operation: 45-36=9 Moving to Node #0,0 Current State: 54:[45, 42, 51], Operations: ['78-27=51'] Exploring Operation: 51-45=6, Resulting Numbers: [42, 6] Generated Node #0,0,0: 54:[42, 6] Operation: 51-45=6 Exploring Operation: 45-42=3, Resulting Numbers: [51, 3] Generated Node #0,0,1: 54:[51, 3] Operation: 45-42=3 Exploring Operation: 51-42=9, Resulting Numbers: [45, 9] Generated Node #0,0,2: 54:[45, 9] Operation: 51-42=9 Exploring Operation: 42+51=93, Resulting Numbers: [45, 93] Generated Node #0,0,3: 54:[45, 93] Operation: 42+51=93 Exploring Operation: 45+42=87, Resulting Numbers: [51, 87] Generated Node #0,0,4: 54:[51, 87] Operation: 45+42=87 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[51, 3], Operations: ['78-27=51', '45-42=3'] Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[45, 42, 78, 27], Operations: [] Exploring Operation: 78-27=51, Resulting Numbers: [45, 42, 51] Generated Node #0,0: 54:[45, 42, 51] Operation: 78-27=51 Moving to Node #0,0 Current State: 54:[45, 42, 51], Operations: ['78-27=51'] Exploring Operation: 45-42=3, Resulting Numbers: [51, 3] Generated Node #0,0,1: 54:[51, 3] Operation: 45-42=3 Moving to Node #0,0,1 Current State: 54:[51, 3], Operations: ['78-27=51', '45-42=3'] Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 4, 89, 13, 35 ]
99
[ "4*89=356", "13*35=455", "455-356=99" ]
Current State: 99:[4, 89, 13, 35], Operations: [] Exploring Operation: 4*89=356, Resulting Numbers: [13, 35, 356] Generated Node #2: [13, 35, 356] from Operation: 4*89=356 Current State: 99:[13, 35, 356], Operations: ['4*89=356'] Exploring Operation: 13*35=455, Resulting Numbers: [356, 455] Generated Node #3: [356, 455] from Operation: 13*35=455 Current State: 99:[356, 455], Operations: ['4*89=356', '13*35=455'] Exploring Operation: 455-356=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[4, 89, 13, 35], Operations: [] Exploring Operation: 4+89=93, Resulting Numbers: [13, 35, 93] Generated Node #0,0: 99:[13, 35, 93] Operation: 4+89=93 Exploring Operation: 89+13=102, Resulting Numbers: [4, 35, 102] Generated Node #0,1: 99:[4, 35, 102] Operation: 89+13=102 Moving to Node #0,1 Current State: 99:[4, 35, 102], Operations: ['89+13=102'] Exploring Operation: 102-4=98, Resulting Numbers: [35, 98] Generated Node #0,1,0: 99:[35, 98] Operation: 102-4=98 Exploring Operation: 35-4=31, Resulting Numbers: [102, 31] Generated Node #0,1,1: 99:[102, 31] Operation: 35-4=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[35, 98], Operations: ['89+13=102', '102-4=98'] Exploring Operation: 35+98=133, Resulting Numbers: [133] 133,99 unequal: No Solution Exploring Operation: 98-35=63, Resulting Numbers: [63] 63,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[102, 31], Operations: ['89+13=102', '35-4=31'] Exploring Operation: 102-31=71, Resulting Numbers: [71] 71,99 unequal: No Solution Exploring Operation: 102+31=133, Resulting Numbers: [133] 133,99 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: 99:[13, 35, 93], Operations: ['4+89=93'] Exploring Operation: 35-13=22, Resulting Numbers: [93, 22] Generated Node #0,0,0: 99:[93, 22] Operation: 35-13=22 Exploring Operation: 13+93=106, Resulting Numbers: [35, 106] Generated Node #0,0,1: 99:[35, 106] Operation: 13+93=106 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[35, 106], Operations: ['4+89=93', '13+93=106'] Exploring Operation: 106-35=71, Resulting Numbers: [71] 71,99 unequal: No Solution Exploring Operation: 35+106=141, Resulting Numbers: [141] 141,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[93, 22], Operations: ['4+89=93', '35-13=22'] Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,99 unequal: No Solution Exploring Operation: 93+22=115, Resulting Numbers: [115] 115,99 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
[ 79, 73, 81, 33 ]
14
[ "79+33=112", "81-73=8", "112/8=14" ]
Current State: 14:[79, 73, 81, 33], Operations: [] Exploring Operation: 79+33=112, Resulting Numbers: [73, 81, 112] Generated Node #2: [73, 81, 112] from Operation: 79+33=112 Current State: 14:[73, 81, 112], Operations: ['79+33=112'] Exploring Operation: 81-73=8, Resulting Numbers: [112, 8] Generated Node #3: [112, 8] from Operation: 81-73=8 Current State: 14:[112, 8], Operations: ['79+33=112', '81-73=8'] Exploring Operation: 112/8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[79, 73, 81, 33], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [81, 33, 6] Generated Node #0,0: 14:[81, 33, 6] Operation: 79-73=6 Exploring Operation: 81-73=8, Resulting Numbers: [79, 33, 8] Generated Node #0,1: 14:[79, 33, 8] Operation: 81-73=8 Exploring Operation: 81-79=2, Resulting Numbers: [73, 33, 2] Generated Node #0,2: 14:[73, 33, 2] Operation: 81-79=2 Exploring Operation: 79-33=46, Resulting Numbers: [73, 81, 46] Generated Node #0,3: 14:[73, 81, 46] Operation: 79-33=46 Moving to Node #0,2 Current State: 14:[73, 33, 2], Operations: ['81-79=2'] Exploring Operation: 33-2=31, Resulting Numbers: [73, 31] Generated Node #0,2,0: 14:[73, 31] Operation: 33-2=31 Exploring Operation: 73-33=40, Resulting Numbers: [2, 40] Generated Node #0,2,1: 14:[2, 40] Operation: 73-33=40 Exploring Operation: 73+2=75, Resulting Numbers: [33, 75] Generated Node #0,2,2: 14:[33, 75] Operation: 73+2=75 Exploring Operation: 73-2=71, Resulting Numbers: [33, 71] Generated Node #0,2,3: 14:[33, 71] Operation: 73-2=71 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[2, 40], Operations: ['81-79=2', '73-33=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,14 unequal: No Solution Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,14 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,14 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[73, 31], Operations: ['81-79=2', '33-2=31'] Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,14 unequal: No Solution Exploring Operation: 73*31=2263, Resulting Numbers: [2263] 2263,14 unequal: No Solution Exploring Operation: 73+31=104, Resulting Numbers: [104] 104,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 14:[33, 71], Operations: ['81-79=2', '73-2=71'] Exploring Operation: 33*71=2343, Resulting Numbers: [2343] 2343,14 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 33+71=104, Resulting Numbers: [104] 104,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[33, 75], Operations: ['81-79=2', '73+2=75'] Exploring Operation: 33*75=2475, Resulting Numbers: [2475] 2475,14 unequal: No Solution Exploring Operation: 33+75=108, Resulting Numbers: [108] 108,14 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,14 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: 14:[79, 33, 8], Operations: ['81-73=8'] Exploring Operation: 33-8=25, Resulting Numbers: [79, 25] Generated Node #0,1,0: 14:[79, 25] Operation: 33-8=25 Exploring Operation: 79-8=71, Resulting Numbers: [33, 71] Generated Node #0,1,1: 14:[33, 71] Operation: 79-8=71 Exploring Operation: 79-33=46, Resulting Numbers: [8, 46] Generated Node #0,1,2: 14:[8, 46] Operation: 79-33=46 Exploring Operation: 79+8=87, Resulting Numbers: [33, 87] Generated Node #0,1,3: 14:[33, 87] Operation: 79+8=87 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 14:[8, 46], Operations: ['81-73=8', '79-33=46'] Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,14 unequal: No Solution Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,14 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,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,1,0 Current State: 14:[79, 25], Operations: ['81-73=8', '33-8=25'] Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,14 unequal: No Solution Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,14 unequal: No Solution Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,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,1,1 Current State: 14:[33, 71], Operations: ['81-73=8', '79-8=71'] Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 33*71=2343, Resulting Numbers: [2343] 2343,14 unequal: No Solution Exploring Operation: 33+71=104, Resulting Numbers: [104] 104,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,1,3 Current State: 14:[33, 87], Operations: ['81-73=8', '79+8=87'] Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,14 unequal: No Solution Exploring Operation: 33*87=2871, Resulting Numbers: [2871] 2871,14 unequal: No Solution Exploring Operation: 33+87=120, Resulting Numbers: [120] 120,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:[81, 33, 6], Operations: ['79-73=6'] Exploring Operation: 81+6=87, Resulting Numbers: [33, 87] Generated Node #0,0,0: 14:[33, 87] Operation: 81+6=87 Exploring Operation: 33-6=27, Resulting Numbers: [81, 27] Generated Node #0,0,1: 14:[81, 27] Operation: 33-6=27 Exploring Operation: 81-6=75, Resulting Numbers: [33, 75] Generated Node #0,0,2: 14:[33, 75] Operation: 81-6=75 Exploring Operation: 81-33=48, Resulting Numbers: [6, 48] Generated Node #0,0,3: 14:[6, 48] Operation: 81-33=48 Moving to Node #0,3 Current State: 14:[73, 81, 46], Operations: ['79-33=46'] Exploring Operation: 73+81=154, Resulting Numbers: [46, 154] Generated Node #0,3,0: 14:[46, 154] Operation: 73+81=154 Exploring Operation: 81-46=35, Resulting Numbers: [73, 35] Generated Node #0,3,1: 14:[73, 35] Operation: 81-46=35 Exploring Operation: 81-73=8, Resulting Numbers: [46, 8] Generated Node #0,3,2: 14:[46, 8] Operation: 81-73=8 Exploring Operation: 73-46=27, Resulting Numbers: [81, 27] Generated Node #0,3,3: 14:[81, 27] Operation: 73-46=27 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 14:[46, 8], Operations: ['79-33=46', '81-73=8'] Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,14 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,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:[73, 35], Operations: ['79-33=46', '81-46=35'] Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 73+35=108, Resulting Numbers: [108] 108,14 unequal: No Solution Exploring Operation: 73*35=2555, Resulting Numbers: [2555] 2555,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,3 Current State: 14:[81, 27], Operations: ['79-33=46', '73-46=27'] Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,14 unequal: No Solution Exploring Operation: 81+27=108, Resulting Numbers: [108] 108,14 unequal: No Solution Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 81*27=2187, Resulting Numbers: [2187] 2187,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:[46, 154], Operations: ['79-33=46', '73+81=154'] Exploring Operation: 154-46=108, Resulting Numbers: [108] 108,14 unequal: No Solution Exploring Operation: 46+154=200, Resulting Numbers: [200] 200,14 unequal: No Solution Exploring Operation: 46*154=7084, Resulting Numbers: [7084] 7084,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 14:[6, 48], Operations: ['79-73=6', '81-33=48'] Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,14 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,14 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,14 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[33, 75], Operations: ['79-73=6', '81-6=75'] Exploring Operation: 33*75=2475, Resulting Numbers: [2475] 2475,14 unequal: No Solution Exploring Operation: 33+75=108, Resulting Numbers: [108] 108,14 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[81, 27], Operations: ['79-73=6', '33-6=27'] Exploring Operation: 81+27=108, Resulting Numbers: [108] 108,14 unequal: No Solution Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,14 unequal: No Solution Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 81*27=2187, Resulting Numbers: [2187] 2187,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[33, 87], Operations: ['79-73=6', '81+6=87'] Exploring Operation: 33*87=2871, Resulting Numbers: [2871] 2871,14 unequal: No Solution Exploring Operation: 33+87=120, Resulting Numbers: [120] 120,14 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,14 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 13, 92, 78, 81 ]
81
[ "92-13=79", "79-78=1", "81*1=81" ]
Current State: 81:[13, 92, 78, 81], Operations: [] Exploring Operation: 92-13=79, Resulting Numbers: [78, 81, 79] Generated Node #2: [78, 81, 79] from Operation: 92-13=79 Current State: 81:[78, 81, 79], Operations: ['92-13=79'] Exploring Operation: 79-78=1, Resulting Numbers: [81, 1] Generated Node #3: [81, 1] from Operation: 79-78=1 Current State: 81:[81, 1], Operations: ['92-13=79', '79-78=1'] Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[13, 92, 78, 81], Operations: [] Exploring Operation: 92-13=79, Resulting Numbers: [78, 81, 79] Generated Node #0,0: 81:[78, 81, 79] Operation: 92-13=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[78, 81, 79], Operations: ['92-13=79'] Exploring Operation: 81-78=3, Resulting Numbers: [79, 3] Generated Node #0,0,0: 81:[79, 3] Operation: 81-78=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[79, 3], Operations: ['92-13=79', '81-78=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 68, 41, 74, 38 ]
63
[ "68-41=27", "74-38=36", "27+36=63" ]
Current State: 63:[68, 41, 74, 38], Operations: [] Exploring Operation: 68-41=27, Resulting Numbers: [74, 38, 27] Generated Node #2: [74, 38, 27] from Operation: 68-41=27 Current State: 63:[74, 38, 27], Operations: ['68-41=27'] Exploring Operation: 74-38=36, Resulting Numbers: [27, 36] Generated Node #3: [27, 36] from Operation: 74-38=36 Current State: 63:[27, 36], Operations: ['68-41=27', '74-38=36'] Exploring Operation: 27+36=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[68, 41, 74, 38], Operations: [] Exploring Operation: 41+38=79, Resulting Numbers: [68, 74, 79] Generated Node #0,0: 63:[68, 74, 79] Operation: 41+38=79 Exploring Operation: 41-38=3, Resulting Numbers: [68, 74, 3] Generated Node #0,1: 63:[68, 74, 3] Operation: 41-38=3 Exploring Operation: 68-41=27, Resulting Numbers: [74, 38, 27] Generated Node #0,2: 63:[74, 38, 27] Operation: 68-41=27 Exploring Operation: 74-41=33, Resulting Numbers: [68, 38, 33] Generated Node #0,3: 63:[68, 38, 33] Operation: 74-41=33 Exploring Operation: 74-68=6, Resulting Numbers: [41, 38, 6] Generated Node #0,4: 63:[41, 38, 6] Operation: 74-68=6 Moving to Node #0,1 Current State: 63:[68, 74, 3], Operations: ['41-38=3'] Exploring Operation: 74-68=6, Resulting Numbers: [3, 6] Generated Node #0,1,0: 63:[3, 6] Operation: 74-68=6 Exploring Operation: 68-3=65, Resulting Numbers: [74, 65] Generated Node #0,1,1: 63:[74, 65] Operation: 68-3=65 Exploring Operation: 74-3=71, Resulting Numbers: [68, 71] Generated Node #0,1,2: 63:[68, 71] Operation: 74-3=71 Exploring Operation: 68+3=71, Resulting Numbers: [74, 71] Generated Node #0,1,3: 63:[74, 71] Operation: 68+3=71 Exploring Operation: 74+3=77, Resulting Numbers: [68, 77] Generated Node #0,1,4: 63:[68, 77] Operation: 74+3=77 Moving to Node #0,0 Current State: 63:[68, 74, 79], Operations: ['41+38=79'] Exploring Operation: 79-74=5, Resulting Numbers: [68, 5] Generated Node #0,0,0: 63:[68, 5] Operation: 79-74=5 Exploring Operation: 68+74=142, Resulting Numbers: [79, 142] Generated Node #0,0,1: 63:[79, 142] Operation: 68+74=142 Exploring Operation: 68+79=147, Resulting Numbers: [74, 147] Generated Node #0,0,2: 63:[74, 147] Operation: 68+79=147 Exploring Operation: 74-68=6, Resulting Numbers: [79, 6] Generated Node #0,0,3: 63:[79, 6] Operation: 74-68=6 Exploring Operation: 79-68=11, Resulting Numbers: [74, 11] Generated Node #0,0,4: 63:[74, 11] Operation: 79-68=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[68, 5], Operations: ['41+38=79', '79-74=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,63 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[68, 41, 74, 38], Operations: [] Exploring Operation: 41+38=79, Resulting Numbers: [68, 74, 79] Generated Node #0,0: 63:[68, 74, 79] Operation: 41+38=79 Moving to Node #0,0 Current State: 63:[68, 74, 79], Operations: ['41+38=79'] Exploring Operation: 79-74=5, Resulting Numbers: [68, 5] Generated Node #0,0,0: 63:[68, 5] Operation: 79-74=5 Moving to Node #0,0,0 Current State: 63:[68, 5], Operations: ['41+38=79', '79-74=5'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 75, 37, 61, 42 ]
70
[ "75-61=14", "42-37=5", "14*5=70" ]
Current State: 70:[75, 37, 61, 42], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [37, 42, 14] Generated Node #2: [37, 42, 14] from Operation: 75-61=14 Current State: 70:[37, 42, 14], Operations: ['75-61=14'] Exploring Operation: 42-37=5, Resulting Numbers: [14, 5] Generated Node #3: [14, 5] from Operation: 42-37=5 Current State: 70:[14, 5], Operations: ['75-61=14', '42-37=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[75, 37, 61, 42], Operations: [] Exploring Operation: 75-42=33, Resulting Numbers: [37, 61, 33] Generated Node #0,0: 70:[37, 61, 33] Operation: 75-42=33 Exploring Operation: 75-61=14, Resulting Numbers: [37, 42, 14] Generated Node #0,1: 70:[37, 42, 14] Operation: 75-61=14 Exploring Operation: 61-42=19, Resulting Numbers: [75, 37, 19] Generated Node #0,2: 70:[75, 37, 19] Operation: 61-42=19 Exploring Operation: 42-37=5, Resulting Numbers: [75, 61, 5] Generated Node #0,3: 70:[75, 61, 5] Operation: 42-37=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[37, 42, 14], Operations: ['75-61=14'] Exploring Operation: 42/14=3, Resulting Numbers: [37, 3] Generated Node #0,1,0: 70:[37, 3] Operation: 42/14=3 Exploring Operation: 42-14=28, Resulting Numbers: [37, 28] Generated Node #0,1,1: 70:[37, 28] Operation: 42-14=28 Exploring Operation: 37+42=79, Resulting Numbers: [14, 79] Generated Node #0,1,2: 70:[14, 79] Operation: 37+42=79 Exploring Operation: 42-37=5, Resulting Numbers: [14, 5] Generated Node #0,1,3: 70:[14, 5] Operation: 42-37=5 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 70:[14, 5], Operations: ['75-61=14', '42-37=5'] Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[75, 37, 61, 42], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [37, 42, 14] Generated Node #0,1: 70:[37, 42, 14] Operation: 75-61=14 Moving to Node #0,1 Current State: 70:[37, 42, 14], Operations: ['75-61=14'] Exploring Operation: 42-37=5, Resulting Numbers: [14, 5] Generated Node #0,1,3: 70:[14, 5] Operation: 42-37=5 Moving to Node #0,1,3 Current State: 70:[14, 5], Operations: ['75-61=14', '42-37=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 33, 2, 27, 54 ]
15
[ "33*2=66", "27+54=81", "81-66=15" ]
Current State: 15:[33, 2, 27, 54], Operations: [] Exploring Operation: 33*2=66, Resulting Numbers: [27, 54, 66] Generated Node #2: [27, 54, 66] from Operation: 33*2=66 Current State: 15:[27, 54, 66], Operations: ['33*2=66'] Exploring Operation: 27+54=81, Resulting Numbers: [66, 81] Generated Node #3: [66, 81] from Operation: 27+54=81 Current State: 15:[66, 81], Operations: ['33*2=66', '27+54=81'] Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[33, 2, 27, 54], Operations: [] Exploring Operation: 54-27=27, Resulting Numbers: [33, 2, 27] Generated Node #0,0: 15:[33, 2, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [33, 2, 2] Generated Node #0,1: 15:[33, 2, 2] Operation: 54/27=2 Exploring Operation: 33-27=6, Resulting Numbers: [2, 54, 6] Generated Node #0,2: 15:[2, 54, 6] Operation: 33-27=6 Exploring Operation: 54-33=21, Resulting Numbers: [2, 27, 21] Generated Node #0,3: 15:[2, 27, 21] Operation: 54-33=21 Moving to Node #0,3 Current State: 15:[2, 27, 21], Operations: ['54-33=21'] Exploring Operation: 21-2=19, Resulting Numbers: [27, 19] Generated Node #0,3,0: 15:[27, 19] Operation: 21-2=19 Exploring Operation: 2+27=29, Resulting Numbers: [21, 29] Generated Node #0,3,1: 15:[21, 29] Operation: 2+27=29 Exploring Operation: 27-2=25, Resulting Numbers: [21, 25] Generated Node #0,3,2: 15:[21, 25] Operation: 27-2=25 Exploring Operation: 27-21=6, Resulting Numbers: [2, 6] Generated Node #0,3,3: 15:[2, 6] Operation: 27-21=6 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 15:[2, 6], Operations: ['54-33=21', '27-21=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,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,3,0 Current State: 15:[27, 19], Operations: ['54-33=21', '21-2=19'] Exploring Operation: 27*19=513, Resulting Numbers: [513] 513,15 unequal: No Solution Exploring Operation: 27+19=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,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,3,2 Current State: 15:[21, 25], Operations: ['54-33=21', '27-2=25'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 21*25=525, Resulting Numbers: [525] 525,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,3,1 Current State: 15:[21, 29], Operations: ['54-33=21', '2+27=29'] Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 21*29=609, Resulting Numbers: [609] 609,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:[33, 2, 2], Operations: ['54/27=2'] Exploring Operation: 2*2=4, Resulting Numbers: [33, 4] Generated Node #0,1,0: 15:[33, 4] Operation: 2*2=4 Exploring Operation: 33-2=31, Resulting Numbers: [2, 31] Generated Node #0,1,1: 15:[2, 31] Operation: 33-2=31 Exploring Operation: 2+2=4, Resulting Numbers: [33, 4] Generated Node #0,1,2: 15:[33, 4] Operation: 2+2=4 Exploring Operation: 33-2=31, Resulting Numbers: [2, 31] Generated Node #0,1,3: 15:[2, 31] Operation: 33-2=31 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[2, 31], Operations: ['54/27=2', '33-2=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[2, 31], Operations: ['54/27=2', '33-2=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[33, 4], Operations: ['54/27=2', '2*2=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[33, 4], Operations: ['54/27=2', '2+2=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,15 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: 15:[33, 2, 27], Operations: ['54-27=27'] Exploring Operation: 27-2=25, Resulting Numbers: [33, 25] Generated Node #0,0,0: 15:[33, 25] Operation: 27-2=25 Exploring Operation: 33-2=31, Resulting Numbers: [27, 31] Generated Node #0,0,1: 15:[27, 31] Operation: 33-2=31 Exploring Operation: 33-27=6, Resulting Numbers: [2, 6] Generated Node #0,0,2: 15:[2, 6] Operation: 33-27=6 Exploring Operation: 33+2=35, Resulting Numbers: [27, 35] Generated Node #0,0,3: 15:[27, 35] Operation: 33+2=35 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[2, 6], Operations: ['54-27=27', '33-27=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,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,0 Current State: 15:[33, 25], Operations: ['54-27=27', '27-2=25'] Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,15 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,15 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,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:[27, 31], Operations: ['54-27=27', '33-2=31'] Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,15 unequal: No Solution Exploring Operation: 27*31=837, Resulting Numbers: [837] 837,15 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,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,3 Current State: 15:[27, 35], Operations: ['54-27=27', '33+2=35'] Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,15 unequal: No Solution Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,15 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: 15:[2, 54, 6], Operations: ['33-27=6'] Exploring Operation: 54-6=48, Resulting Numbers: [2, 48] Generated Node #0,2,0: 15:[2, 48] Operation: 54-6=48 Exploring Operation: 54-2=52, Resulting Numbers: [6, 52] Generated Node #0,2,1: 15:[6, 52] Operation: 54-2=52 Exploring Operation: 54/2=27, Resulting Numbers: [6, 27] Generated Node #0,2,2: 15:[6, 27] Operation: 54/2=27 Exploring Operation: 54/6=9, Resulting Numbers: [2, 9] Generated Node #0,2,3: 15:[2, 9] Operation: 54/6=9 Moving to Node #0,2,3 Current State: 15:[2, 9], Operations: ['33-27=6', '54/6=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[6, 27], Operations: ['33-27=6', '54/2=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[2, 48], Operations: ['33-27=6', '54-6=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[6, 52], Operations: ['33-27=6', '54-2=52'] Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,15 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 6*52=312, Resulting Numbers: [312] 312,15 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 16, 36, 40, 59 ]
63
[ "40-36=4", "16/4=4", "59+4=63" ]
Current State: 63:[16, 36, 40, 59], Operations: [] Exploring Operation: 40-36=4, Resulting Numbers: [16, 59, 4] Generated Node #2: [16, 59, 4] from Operation: 40-36=4 Current State: 63:[16, 59, 4], Operations: ['40-36=4'] Exploring Operation: 16/4=4, Resulting Numbers: [59, 4] Generated Node #3: [59, 4] from Operation: 16/4=4 Current State: 63:[59, 4], Operations: ['40-36=4', '16/4=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[16, 36, 40, 59], Operations: [] Exploring Operation: 40-36=4, Resulting Numbers: [16, 59, 4] Generated Node #0,0: 63:[16, 59, 4] Operation: 40-36=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[16, 59, 4], Operations: ['40-36=4'] Exploring Operation: 16+4=20, Resulting Numbers: [59, 20] Generated Node #0,0,0: 63:[59, 20] Operation: 16+4=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[59, 20], Operations: ['40-36=4', '16+4=20'] Exploring Operation: 59+20=79, Resulting Numbers: [79] 79,63 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
[ 85, 6, 94, 86 ]
37
[ "94-86=8", "6*8=48", "85-48=37" ]
Current State: 37:[85, 6, 94, 86], Operations: [] Exploring Operation: 94-86=8, Resulting Numbers: [85, 6, 8] Generated Node #2: [85, 6, 8] from Operation: 94-86=8 Current State: 37:[85, 6, 8], Operations: ['94-86=8'] Exploring Operation: 6*8=48, Resulting Numbers: [85, 48] Generated Node #3: [85, 48] from Operation: 6*8=48 Current State: 37:[85, 48], Operations: ['94-86=8', '6*8=48'] Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[85, 6, 94, 86], Operations: [] Exploring Operation: 94-86=8, Resulting Numbers: [85, 6, 8] Generated Node #0,0: 37:[85, 6, 8] Operation: 94-86=8 Exploring Operation: 85-6=79, Resulting Numbers: [94, 86, 79] Generated Node #0,1: 37:[94, 86, 79] Operation: 85-6=79 Exploring Operation: 94-85=9, Resulting Numbers: [6, 86, 9] Generated Node #0,2: 37:[6, 86, 9] Operation: 94-85=9 Exploring Operation: 86-85=1, Resulting Numbers: [6, 94, 1] Generated Node #0,3: 37:[6, 94, 1] Operation: 86-85=1 Moving to Node #0,0 Current State: 37:[85, 6, 8], Operations: ['94-86=8'] Exploring Operation: 85-8=77, Resulting Numbers: [6, 77] Generated Node #0,0,0: 37:[6, 77] Operation: 85-8=77 Exploring Operation: 6+8=14, Resulting Numbers: [85, 14] Generated Node #0,0,1: 37:[85, 14] Operation: 6+8=14 Exploring Operation: 85-6=79, Resulting Numbers: [8, 79] Generated Node #0,0,2: 37:[8, 79] Operation: 85-6=79 Exploring Operation: 6*8=48, Resulting Numbers: [85, 48] Generated Node #0,0,3: 37:[85, 48] Operation: 6*8=48 Moving to Node #0,2 Current State: 37:[6, 86, 9], Operations: ['94-85=9'] Exploring Operation: 6*9=54, Resulting Numbers: [86, 54] Generated Node #0,2,0: 37:[86, 54] Operation: 6*9=54 Exploring Operation: 6+9=15, Resulting Numbers: [86, 15] Generated Node #0,2,1: 37:[86, 15] Operation: 6+9=15 Exploring Operation: 86-6=80, Resulting Numbers: [9, 80] Generated Node #0,2,2: 37:[9, 80] Operation: 86-6=80 Exploring Operation: 86-9=77, Resulting Numbers: [6, 77] Generated Node #0,2,3: 37:[6, 77] Operation: 86-9=77 Moving to Node #0,3 Current State: 37:[6, 94, 1], Operations: ['86-85=1'] Exploring Operation: 94-1=93, Resulting Numbers: [6, 93] Generated Node #0,3,0: 37:[6, 93] Operation: 94-1=93 Exploring Operation: 94-6=88, Resulting Numbers: [1, 88] Generated Node #0,3,1: 37:[1, 88] Operation: 94-6=88 Exploring Operation: 6+1=7, Resulting Numbers: [94, 7] Generated Node #0,3,2: 37:[94, 7] Operation: 6+1=7 Exploring Operation: 6*1=6, Resulting Numbers: [94, 6] Generated Node #0,3,3: 37:[94, 6] Operation: 6*1=6 Moving to Node #0,1 Current State: 37:[94, 86, 79], Operations: ['85-6=79'] Exploring Operation: 94-86=8, Resulting Numbers: [79, 8] Generated Node #0,1,0: 37:[79, 8] Operation: 94-86=8 Exploring Operation: 94-79=15, Resulting Numbers: [86, 15] Generated Node #0,1,1: 37:[86, 15] Operation: 94-79=15 Exploring Operation: 86-79=7, Resulting Numbers: [94, 7] Generated Node #0,1,2: 37:[94, 7] Operation: 86-79=7 Exploring Operation: 94+86=180, Resulting Numbers: [79, 180] Generated Node #0,1,3: 37:[79, 180] Operation: 94+86=180 Moving to Node #0,0,3 Current State: 37:[85, 48], Operations: ['94-86=8', '6*8=48'] Exploring Operation: 85+48=133, Resulting Numbers: [133] 133,37 unequal: No Solution Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[85, 6, 94, 86], Operations: [] Exploring Operation: 94-86=8, Resulting Numbers: [85, 6, 8] Generated Node #0,0: 37:[85, 6, 8] Operation: 94-86=8 Moving to Node #0,0 Current State: 37:[85, 6, 8], Operations: ['94-86=8'] Exploring Operation: 6*8=48, Resulting Numbers: [85, 48] Generated Node #0,0,3: 37:[85, 48] Operation: 6*8=48 Moving to Node #0,0,3 Current State: 37:[85, 48], Operations: ['94-86=8', '6*8=48'] Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.977431
hs_4
mult_heuristic
[ 43, 60, 23, 44 ]
83
[ "44-43=1", "60+23=83", "1*83=83" ]
Current State: 83:[43, 60, 23, 44], Operations: [] Exploring Operation: 44-43=1, Resulting Numbers: [60, 23, 1] Generated Node #2: [60, 23, 1] from Operation: 44-43=1 Current State: 83:[60, 23, 1], Operations: ['44-43=1'] Exploring Operation: 60+23=83, Resulting Numbers: [1, 83] Generated Node #3: [1, 83] from Operation: 60+23=83 Current State: 83:[1, 83], Operations: ['44-43=1', '60+23=83'] Exploring Operation: 1*83=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[43, 60, 23, 44], Operations: [] Exploring Operation: 43+23=66, Resulting Numbers: [60, 44, 66] Generated Node #0,0: 83:[60, 44, 66] Operation: 43+23=66 Exploring Operation: 60+23=83, Resulting Numbers: [43, 44, 83] Generated Node #0,1: 83:[43, 44, 83] Operation: 60+23=83 Exploring Operation: 23+44=67, Resulting Numbers: [43, 60, 67] Generated Node #0,2: 83:[43, 60, 67] Operation: 23+44=67 Moving to Node #0,0 Current State: 83:[60, 44, 66], Operations: ['43+23=66'] Exploring Operation: 60+44=104, Resulting Numbers: [66, 104] Generated Node #0,0,0: 83:[66, 104] Operation: 60+44=104 Exploring Operation: 44+66=110, Resulting Numbers: [60, 110] Generated Node #0,0,1: 83:[60, 110] Operation: 44+66=110 Exploring Operation: 60+66=126, Resulting Numbers: [44, 126] Generated Node #0,0,2: 83:[44, 126] Operation: 60+66=126 Moving to Node #0,1 Current State: 83:[43, 44, 83], Operations: ['60+23=83'] Exploring Operation: 43+44=87, Resulting Numbers: [83, 87] Generated Node #0,1,0: 83:[83, 87] Operation: 43+44=87 Exploring Operation: 44-43=1, Resulting Numbers: [83, 1] Generated Node #0,1,1: 83:[83, 1] Operation: 44-43=1 Exploring Operation: 43+83=126, Resulting Numbers: [44, 126] Generated Node #0,1,2: 83:[44, 126] Operation: 43+83=126 Moving to Node #0,2 Current State: 83:[43, 60, 67], Operations: ['23+44=67'] Exploring Operation: 60-43=17, Resulting Numbers: [67, 17] Generated Node #0,2,0: 83:[67, 17] Operation: 60-43=17 Exploring Operation: 43+60=103, Resulting Numbers: [67, 103] Generated Node #0,2,1: 83:[67, 103] Operation: 43+60=103 Exploring Operation: 43+67=110, Resulting Numbers: [60, 110] Generated Node #0,2,2: 83:[60, 110] Operation: 43+67=110 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[67, 103], Operations: ['23+44=67', '43+60=103'] Exploring Operation: 67+103=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 103-67=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 67*103=6901, Resulting Numbers: [6901] 6901,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:[60, 110], Operations: ['23+44=67', '43+67=110'] Exploring Operation: 60*110=6600, Resulting Numbers: [6600] 6600,83 unequal: No Solution Exploring Operation: 60+110=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 110-60=50, Resulting Numbers: [50] 50,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,0 Current State: 83:[67, 17], Operations: ['23+44=67', '60-43=17'] Exploring Operation: 67+17=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 67*17=1139, Resulting Numbers: [1139] 1139,83 unequal: No Solution Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,83 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: 83:[83, 87], Operations: ['60+23=83', '43+44=87'] Exploring Operation: 87-83=4, Resulting Numbers: [4] 4,83 unequal: No Solution Exploring Operation: 83*87=7221, Resulting Numbers: [7221] 7221,83 unequal: No Solution Exploring Operation: 83+87=170, Resulting Numbers: [170] 170,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[66, 104], Operations: ['43+23=66', '60+44=104'] Exploring Operation: 66+104=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 104-66=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 66*104=6864, Resulting Numbers: [6864] 6864,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[60, 110], Operations: ['43+23=66', '44+66=110'] Exploring Operation: 60*110=6600, Resulting Numbers: [6600] 6600,83 unequal: No Solution Exploring Operation: 60+110=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 110-60=50, Resulting Numbers: [50] 50,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[44, 126], Operations: ['43+23=66', '60+66=126'] Exploring Operation: 126-44=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 44*126=5544, Resulting Numbers: [5544] 5544,83 unequal: No Solution Exploring Operation: 44+126=170, Resulting Numbers: [170] 170,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[44, 126], Operations: ['60+23=83', '43+83=126'] Exploring Operation: 44+126=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 44*126=5544, Resulting Numbers: [5544] 5544,83 unequal: No Solution Exploring Operation: 126-44=82, Resulting Numbers: [82] 82,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[83, 1], Operations: ['60+23=83', '44-43=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[43, 60, 23, 44], Operations: [] Exploring Operation: 60+23=83, Resulting Numbers: [43, 44, 83] Generated Node #0,1: 83:[43, 44, 83] Operation: 60+23=83 Moving to Node #0,1 Current State: 83:[43, 44, 83], Operations: ['60+23=83'] Exploring Operation: 44-43=1, Resulting Numbers: [83, 1] Generated Node #0,1,1: 83:[83, 1] Operation: 44-43=1 Moving to Node #0,1,1 Current State: 83:[83, 1], Operations: ['60+23=83', '44-43=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.96441
hs_3
sum_heuristic
[ 44, 92, 32, 82 ]
86
[ "44+92=136", "82-32=50", "136-50=86" ]
Current State: 86:[44, 92, 32, 82], Operations: [] Exploring Operation: 44+92=136, Resulting Numbers: [32, 82, 136] Generated Node #2: [32, 82, 136] from Operation: 44+92=136 Current State: 86:[32, 82, 136], Operations: ['44+92=136'] Exploring Operation: 82-32=50, Resulting Numbers: [136, 50] Generated Node #3: [136, 50] from Operation: 82-32=50 Current State: 86:[136, 50], Operations: ['44+92=136', '82-32=50'] Exploring Operation: 136-50=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[44, 92, 32, 82], Operations: [] Exploring Operation: 44+32=76, Resulting Numbers: [92, 82, 76] Generated Node #0,0: 86:[92, 82, 76] Operation: 44+32=76 Exploring Operation: 44-32=12, Resulting Numbers: [92, 82, 12] Generated Node #0,1: 86:[92, 82, 12] Operation: 44-32=12 Exploring Operation: 92-44=48, Resulting Numbers: [32, 82, 48] Generated Node #0,2: 86:[32, 82, 48] Operation: 92-44=48 Exploring Operation: 82-32=50, Resulting Numbers: [44, 92, 50] Generated Node #0,3: 86:[44, 92, 50] Operation: 82-32=50 Moving to Node #0,3 Current State: 86:[44, 92, 50], Operations: ['82-32=50'] Exploring Operation: 44+50=94, Resulting Numbers: [92, 94] Generated Node #0,3,0: 86:[92, 94] Operation: 44+50=94 Exploring Operation: 50-44=6, Resulting Numbers: [92, 6] Generated Node #0,3,1: 86:[92, 6] Operation: 50-44=6 Exploring Operation: 92-44=48, Resulting Numbers: [50, 48] Generated Node #0,3,2: 86:[50, 48] Operation: 92-44=48 Exploring Operation: 92-50=42, Resulting Numbers: [44, 42] Generated Node #0,3,3: 86:[44, 42] Operation: 92-50=42 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 86:[44, 42], Operations: ['82-32=50', '92-50=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[44, 92, 32, 82], Operations: [] Exploring Operation: 82-32=50, Resulting Numbers: [44, 92, 50] Generated Node #0,3: 86:[44, 92, 50] Operation: 82-32=50 Moving to Node #0,3 Current State: 86:[44, 92, 50], Operations: ['82-32=50'] Exploring Operation: 92-50=42, Resulting Numbers: [44, 42] Generated Node #0,3,3: 86:[44, 42] Operation: 92-50=42 Moving to Node #0,3,3 Current State: 86:[44, 42], Operations: ['82-32=50', '92-50=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 79, 2, 41, 43 ]
83
[ "79+2=81", "43-41=2", "81+2=83" ]
Current State: 83:[79, 2, 41, 43], Operations: [] Exploring Operation: 79+2=81, Resulting Numbers: [41, 43, 81] Generated Node #2: [41, 43, 81] from Operation: 79+2=81 Current State: 83:[41, 43, 81], Operations: ['79+2=81'] Exploring Operation: 43-41=2, Resulting Numbers: [81, 2] Generated Node #3: [81, 2] from Operation: 43-41=2 Current State: 83:[81, 2], Operations: ['79+2=81', '43-41=2'] Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[79, 2, 41, 43], Operations: [] Exploring Operation: 2*41=82, Resulting Numbers: [79, 43, 82] Generated Node #0,0: 83:[79, 43, 82] Operation: 2*41=82 Exploring Operation: 2*43=86, Resulting Numbers: [79, 41, 86] Generated Node #0,1: 83:[79, 41, 86] Operation: 2*43=86 Exploring Operation: 2+41=43, Resulting Numbers: [79, 43, 43] Generated Node #0,2: 83:[79, 43, 43] Operation: 2+41=43 Exploring Operation: 79+2=81, Resulting Numbers: [41, 43, 81] Generated Node #0,3: 83:[41, 43, 81] Operation: 79+2=81 Exploring Operation: 2+43=45, Resulting Numbers: [79, 41, 45] Generated Node #0,4: 83:[79, 41, 45] Operation: 2+43=45 Moving to Node #0,0 Current State: 83:[79, 43, 82], Operations: ['2*41=82'] Exploring Operation: 82-43=39, Resulting Numbers: [79, 39] Generated Node #0,0,0: 83:[79, 39] Operation: 82-43=39 Exploring Operation: 79+82=161, Resulting Numbers: [43, 161] Generated Node #0,0,1: 83:[43, 161] Operation: 79+82=161 Exploring Operation: 79-43=36, Resulting Numbers: [82, 36] Generated Node #0,0,2: 83:[82, 36] Operation: 79-43=36 Exploring Operation: 43+82=125, Resulting Numbers: [79, 125] Generated Node #0,0,3: 83:[79, 125] Operation: 43+82=125 Exploring Operation: 79+43=122, Resulting Numbers: [82, 122] Generated Node #0,0,4: 83:[82, 122] Operation: 79+43=122 Moving to Node #0,1 Current State: 83:[79, 41, 86], Operations: ['2*43=86'] Exploring Operation: 86-79=7, Resulting Numbers: [41, 7] Generated Node #0,1,0: 83:[41, 7] Operation: 86-79=7 Exploring Operation: 86-41=45, Resulting Numbers: [79, 45] Generated Node #0,1,1: 83:[79, 45] Operation: 86-41=45 Exploring Operation: 41+86=127, Resulting Numbers: [79, 127] Generated Node #0,1,2: 83:[79, 127] Operation: 41+86=127 Exploring Operation: 79-41=38, Resulting Numbers: [86, 38] Generated Node #0,1,3: 83:[86, 38] Operation: 79-41=38 Exploring Operation: 79+41=120, Resulting Numbers: [86, 120] Generated Node #0,1,4: 83:[86, 120] Operation: 79+41=120 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 83:[86, 120], Operations: ['2*43=86', '79+41=120'] Exploring Operation: 86*120=10320, Resulting Numbers: [10320] 10320,83 unequal: No Solution Exploring Operation: 86+120=206, Resulting Numbers: [206] 206,83 unequal: No Solution Exploring Operation: 120-86=34, Resulting Numbers: [34] 34,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:[79, 45], Operations: ['2*43=86', '86-41=45'] Exploring Operation: 79-45=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 79*45=3555, Resulting Numbers: [3555] 3555,83 unequal: No Solution Exploring Operation: 79+45=124, Resulting Numbers: [124] 124,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:[79, 127], Operations: ['2*43=86', '41+86=127'] Exploring Operation: 79+127=206, Resulting Numbers: [206] 206,83 unequal: No Solution Exploring Operation: 79*127=10033, Resulting Numbers: [10033] 10033,83 unequal: No Solution Exploring Operation: 127-79=48, Resulting Numbers: [48] 48,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,3 Current State: 83:[86, 38], Operations: ['2*43=86', '79-41=38'] Exploring Operation: 86-38=48, Resulting Numbers: [48] 48,83 unequal: No Solution Exploring Operation: 86+38=124, Resulting Numbers: [124] 124,83 unequal: No Solution Exploring Operation: 86*38=3268, Resulting Numbers: [3268] 3268,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:[41, 7], Operations: ['2*43=86', '86-79=7'] Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,83 unequal: No Solution Exploring Operation: 41*7=287, Resulting Numbers: [287] 287,83 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,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:[79, 43, 43], Operations: ['2+41=43'] Exploring Operation: 43/43=1, Resulting Numbers: [79, 1] Generated Node #0,2,0: 83:[79, 1] Operation: 43/43=1 Exploring Operation: 79+43=122, Resulting Numbers: [43, 122] Generated Node #0,2,1: 83:[43, 122] Operation: 79+43=122 Exploring Operation: 79-43=36, Resulting Numbers: [43, 36] Generated Node #0,2,2: 83:[43, 36] Operation: 79-43=36 Exploring Operation: 43+43=86, Resulting Numbers: [79, 86] Generated Node #0,2,3: 83:[79, 86] Operation: 43+43=86 Exploring Operation: 79+43=122, Resulting Numbers: [43, 122] Generated Node #0,2,4: 83:[43, 122] Operation: 79+43=122 Moving to Node #0,3 Current State: 83:[41, 43, 81], Operations: ['79+2=81'] Exploring Operation: 41+43=84, Resulting Numbers: [81, 84] Generated Node #0,3,0: 83:[81, 84] Operation: 41+43=84 Exploring Operation: 43-41=2, Resulting Numbers: [81, 2] Generated Node #0,3,1: 83:[81, 2] Operation: 43-41=2 Exploring Operation: 43+81=124, Resulting Numbers: [41, 124] Generated Node #0,3,2: 83:[41, 124] Operation: 43+81=124 Exploring Operation: 41+81=122, Resulting Numbers: [43, 122] Generated Node #0,3,3: 83:[43, 122] Operation: 41+81=122 Exploring Operation: 81-41=40, Resulting Numbers: [43, 40] Generated Node #0,3,4: 83:[43, 40] Operation: 81-41=40 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[81, 84], Operations: ['79+2=81', '41+43=84'] Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 81*84=6804, Resulting Numbers: [6804] 6804,83 unequal: No Solution Exploring Operation: 81+84=165, Resulting Numbers: [165] 165,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 83:[43, 122], Operations: ['79+2=81', '41+81=122'] Exploring Operation: 43*122=5246, Resulting Numbers: [5246] 5246,83 unequal: No Solution Exploring Operation: 43+122=165, Resulting Numbers: [165] 165,83 unequal: No Solution Exploring Operation: 122-43=79, Resulting Numbers: [79] 79,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[81, 2], Operations: ['79+2=81', '43-41=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[79, 2, 41, 43], Operations: [] Exploring Operation: 79+2=81, Resulting Numbers: [41, 43, 81] Generated Node #0,3: 83:[41, 43, 81] Operation: 79+2=81 Moving to Node #0,3 Current State: 83:[41, 43, 81], Operations: ['79+2=81'] Exploring Operation: 43-41=2, Resulting Numbers: [81, 2] Generated Node #0,3,1: 83:[81, 2] Operation: 43-41=2 Moving to Node #0,3,1 Current State: 83:[81, 2], Operations: ['79+2=81', '43-41=2'] Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_5
mult_heuristic
[ 91, 4, 55, 95 ]
56
[ "91+4=95", "95/95=1", "55+1=56" ]
Current State: 56:[91, 4, 55, 95], Operations: [] Exploring Operation: 91+4=95, Resulting Numbers: [55, 95, 95] Generated Node #2: [55, 95, 95] from Operation: 91+4=95 Current State: 56:[55, 95, 95], Operations: ['91+4=95'] Exploring Operation: 95/95=1, Resulting Numbers: [55, 1] Generated Node #3: [55, 1] from Operation: 95/95=1 Current State: 56:[55, 1], Operations: ['91+4=95', '95/95=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[91, 4, 55, 95], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [4, 55, 4] Generated Node #0,0: 56:[4, 55, 4] Operation: 95-91=4 Exploring Operation: 95-55=40, Resulting Numbers: [91, 4, 40] Generated Node #0,1: 56:[91, 4, 40] Operation: 95-55=40 Exploring Operation: 91-55=36, Resulting Numbers: [4, 95, 36] Generated Node #0,2: 56:[4, 95, 36] Operation: 91-55=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[4, 55, 4], Operations: ['95-91=4'] Exploring Operation: 4+4=8, Resulting Numbers: [55, 8] Generated Node #0,0,0: 56:[55, 8] Operation: 4+4=8 Exploring Operation: 4+55=59, Resulting Numbers: [4, 59] Generated Node #0,0,1: 56:[4, 59] Operation: 4+55=59 Exploring Operation: 4/4=1, Resulting Numbers: [55, 1] Generated Node #0,0,2: 56:[55, 1] Operation: 4/4=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[55, 8], Operations: ['95-91=4', '4+4=8'] Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[55, 1], Operations: ['95-91=4', '4/4=1'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[91, 4, 55, 95], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [4, 55, 4] Generated Node #0,0: 56:[4, 55, 4] Operation: 95-91=4 Moving to Node #0,0 Current State: 56:[4, 55, 4], Operations: ['95-91=4'] Exploring Operation: 4/4=1, Resulting Numbers: [55, 1] Generated Node #0,0,2: 56:[55, 1] Operation: 4/4=1 Moving to Node #0,0,2 Current State: 56:[55, 1], Operations: ['95-91=4', '4/4=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 85, 42, 5, 72 ]
60
[ "85+42=127", "72-5=67", "127-67=60" ]
Current State: 60:[85, 42, 5, 72], Operations: [] Exploring Operation: 85+42=127, Resulting Numbers: [5, 72, 127] Generated Node #2: [5, 72, 127] from Operation: 85+42=127 Current State: 60:[5, 72, 127], Operations: ['85+42=127'] Exploring Operation: 72-5=67, Resulting Numbers: [127, 67] Generated Node #3: [127, 67] from Operation: 72-5=67 Current State: 60:[127, 67], Operations: ['85+42=127', '72-5=67'] Exploring Operation: 127-67=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[85, 42, 5, 72], Operations: [] Exploring Operation: 85-42=43, Resulting Numbers: [5, 72, 43] Generated Node #0,0: 60:[5, 72, 43] Operation: 85-42=43 Exploring Operation: 85-72=13, Resulting Numbers: [42, 5, 13] Generated Node #0,1: 60:[42, 5, 13] Operation: 85-72=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[42, 5, 13], Operations: ['85-72=13'] Exploring Operation: 42-13=29, Resulting Numbers: [5, 29] Generated Node #0,1,0: 60:[5, 29] Operation: 42-13=29 Exploring Operation: 42+13=55, Resulting Numbers: [5, 55] Generated Node #0,1,1: 60:[5, 55] Operation: 42+13=55 Moving to Node #0,1,0 Current State: 60:[5, 29], Operations: ['85-72=13', '42-13=29'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[5, 55], Operations: ['85-72=13', '42+13=55'] Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[85, 42, 5, 72], Operations: [] Exploring Operation: 85-72=13, Resulting Numbers: [42, 5, 13] Generated Node #0,1: 60:[42, 5, 13] Operation: 85-72=13 Moving to Node #0,1 Current State: 60:[42, 5, 13], Operations: ['85-72=13'] Exploring Operation: 42+13=55, Resulting Numbers: [5, 55] Generated Node #0,1,1: 60:[5, 55] Operation: 42+13=55 Moving to Node #0,1,1 Current State: 60:[5, 55], Operations: ['85-72=13', '42+13=55'] Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 35, 29, 62, 45 ]
81
[ "35+29=64", "62-45=17", "64+17=81" ]
Current State: 81:[35, 29, 62, 45], Operations: [] Exploring Operation: 35+29=64, Resulting Numbers: [62, 45, 64] Generated Node #2: [62, 45, 64] from Operation: 35+29=64 Current State: 81:[62, 45, 64], Operations: ['35+29=64'] Exploring Operation: 62-45=17, Resulting Numbers: [64, 17] Generated Node #3: [64, 17] from Operation: 62-45=17 Current State: 81:[64, 17], Operations: ['35+29=64', '62-45=17'] Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[35, 29, 62, 45], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [35, 29, 17] Generated Node #0,0: 81:[35, 29, 17] Operation: 62-45=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[35, 29, 17], Operations: ['62-45=17'] Exploring Operation: 35-29=6, Resulting Numbers: [17, 6] Generated Node #0,0,0: 81:[17, 6] Operation: 35-29=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[17, 6], Operations: ['62-45=17', '35-29=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 23, 5, 27, 69 ]
14
[ "23+5=28", "69-27=42", "42-28=14" ]
Current State: 14:[23, 5, 27, 69], Operations: [] Exploring Operation: 23+5=28, Resulting Numbers: [27, 69, 28] Generated Node #2: [27, 69, 28] from Operation: 23+5=28 Current State: 14:[27, 69, 28], Operations: ['23+5=28'] Exploring Operation: 69-27=42, Resulting Numbers: [28, 42] Generated Node #3: [28, 42] from Operation: 69-27=42 Current State: 14:[28, 42], Operations: ['23+5=28', '69-27=42'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[23, 5, 27, 69], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [5, 27, 3] Generated Node #0,0: 14:[5, 27, 3] Operation: 69/23=3 Moving to Node #0,0 Current State: 14:[5, 27, 3], Operations: ['69/23=3'] Exploring Operation: 27/3=9, Resulting Numbers: [5, 9] Generated Node #0,0,0: 14:[5, 9] Operation: 27/3=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[5, 9], Operations: ['69/23=3', '27/3=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[23, 5, 27, 69], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [5, 27, 3] Generated Node #0,0: 14:[5, 27, 3] Operation: 69/23=3 Moving to Node #0,0 Current State: 14:[5, 27, 3], Operations: ['69/23=3'] Exploring Operation: 27/3=9, Resulting Numbers: [5, 9] Generated Node #0,0,0: 14:[5, 9] Operation: 27/3=9 Moving to Node #0,0,0 Current State: 14:[5, 9], Operations: ['69/23=3', '27/3=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 24, 74, 71, 91 ]
78
[ "24+74=98", "91-71=20", "98-20=78" ]
Current State: 78:[24, 74, 71, 91], Operations: [] Exploring Operation: 24+74=98, Resulting Numbers: [71, 91, 98] Generated Node #2: [71, 91, 98] from Operation: 24+74=98 Current State: 78:[71, 91, 98], Operations: ['24+74=98'] Exploring Operation: 91-71=20, Resulting Numbers: [98, 20] Generated Node #3: [98, 20] from Operation: 91-71=20 Current State: 78:[98, 20], Operations: ['24+74=98', '91-71=20'] Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[24, 74, 71, 91], Operations: [] Exploring Operation: 91-71=20, Resulting Numbers: [24, 74, 20] Generated Node #0,0: 78:[24, 74, 20] Operation: 91-71=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[24, 74, 20], Operations: ['91-71=20'] Exploring Operation: 24-20=4, Resulting Numbers: [74, 4] Generated Node #0,0,0: 78:[74, 4] Operation: 24-20=4 Moving to Node #0,0,0 Current State: 78:[74, 4], Operations: ['91-71=20', '24-20=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[24, 74, 71, 91], Operations: [] Exploring Operation: 91-71=20, Resulting Numbers: [24, 74, 20] Generated Node #0,0: 78:[24, 74, 20] Operation: 91-71=20 Moving to Node #0,0 Current State: 78:[24, 74, 20], Operations: ['91-71=20'] Exploring Operation: 24-20=4, Resulting Numbers: [74, 4] Generated Node #0,0,0: 78:[74, 4] Operation: 24-20=4 Moving to Node #0,0,0 Current State: 78:[74, 4], Operations: ['91-71=20', '24-20=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 73, 17, 68, 85 ]
16
[ "85-73=12", "68/17=4", "12+4=16" ]
Current State: 16:[73, 17, 68, 85], Operations: [] Exploring Operation: 85-73=12, Resulting Numbers: [17, 68, 12] Generated Node #2: [17, 68, 12] from Operation: 85-73=12 Current State: 16:[17, 68, 12], Operations: ['85-73=12'] Exploring Operation: 68/17=4, Resulting Numbers: [12, 4] Generated Node #3: [12, 4] from Operation: 68/17=4 Current State: 16:[12, 4], Operations: ['85-73=12', '68/17=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[73, 17, 68, 85], Operations: [] Exploring Operation: 85-73=12, Resulting Numbers: [17, 68, 12] Generated Node #0,0: 16:[17, 68, 12] Operation: 85-73=12 Exploring Operation: 85-68=17, Resulting Numbers: [73, 17, 17] Generated Node #0,1: 16:[73, 17, 17] Operation: 85-68=17 Moving to Node #0,0 Current State: 16:[17, 68, 12], Operations: ['85-73=12'] Exploring Operation: 68/17=4, Resulting Numbers: [12, 4] Generated Node #0,0,0: 16:[12, 4] Operation: 68/17=4 Exploring Operation: 68-17=51, Resulting Numbers: [12, 51] Generated Node #0,0,1: 16:[12, 51] Operation: 68-17=51 Moving to Node #0,1 Current State: 16:[73, 17, 17], Operations: ['85-68=17'] Exploring Operation: 73-17=56, Resulting Numbers: [17, 56] Generated Node #0,1,0: 16:[17, 56] Operation: 73-17=56 Exploring Operation: 73-17=56, Resulting Numbers: [17, 56] Generated Node #0,1,1: 16:[17, 56] Operation: 73-17=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[17, 56], Operations: ['85-68=17', '73-17=56'] Exploring Operation: 17+56=73, Resulting Numbers: [73] 73,16 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[17, 56], Operations: ['85-68=17', '73-17=56'] Exploring Operation: 17+56=73, Resulting Numbers: [73] 73,16 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,16 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: 16:[12, 4], Operations: ['85-73=12', '68/17=4'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[73, 17, 68, 85], Operations: [] Exploring Operation: 85-73=12, Resulting Numbers: [17, 68, 12] Generated Node #0,0: 16:[17, 68, 12] Operation: 85-73=12 Moving to Node #0,0 Current State: 16:[17, 68, 12], Operations: ['85-73=12'] Exploring Operation: 68/17=4, Resulting Numbers: [12, 4] Generated Node #0,0,0: 16:[12, 4] Operation: 68/17=4 Moving to Node #0,0,0 Current State: 16:[12, 4], Operations: ['85-73=12', '68/17=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 81, 41, 3, 99 ]
69
[ "81+41=122", "122-99=23", "3*23=69" ]
Current State: 69:[81, 41, 3, 99], Operations: [] Exploring Operation: 81+41=122, Resulting Numbers: [3, 99, 122] Generated Node #2: [3, 99, 122] from Operation: 81+41=122 Current State: 69:[3, 99, 122], Operations: ['81+41=122'] Exploring Operation: 122-99=23, Resulting Numbers: [3, 23] Generated Node #3: [3, 23] from Operation: 122-99=23 Current State: 69:[3, 23], Operations: ['81+41=122', '122-99=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[81, 41, 3, 99], Operations: [] Exploring Operation: 99-41=58, Resulting Numbers: [81, 3, 58] Generated Node #0,0: 69:[81, 3, 58] Operation: 99-41=58 Exploring Operation: 81/3=27, Resulting Numbers: [41, 99, 27] Generated Node #0,1: 69:[41, 99, 27] Operation: 81/3=27 Exploring Operation: 81-41=40, Resulting Numbers: [3, 99, 40] Generated Node #0,2: 69:[3, 99, 40] Operation: 81-41=40 Exploring Operation: 99/3=33, Resulting Numbers: [81, 41, 33] Generated Node #0,3: 69:[81, 41, 33] Operation: 99/3=33 Exploring Operation: 99-81=18, Resulting Numbers: [41, 3, 18] Generated Node #0,4: 69:[41, 3, 18] Operation: 99-81=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[81, 3, 58], Operations: ['99-41=58'] Exploring Operation: 81/3=27, Resulting Numbers: [58, 27] Generated Node #0,0,0: 69:[58, 27] Operation: 81/3=27 Exploring Operation: 81-58=23, Resulting Numbers: [3, 23] Generated Node #0,0,1: 69:[3, 23] Operation: 81-58=23 Exploring Operation: 81-3=78, Resulting Numbers: [58, 78] Generated Node #0,0,2: 69:[58, 78] Operation: 81-3=78 Exploring Operation: 3+58=61, Resulting Numbers: [81, 61] Generated Node #0,0,3: 69:[81, 61] Operation: 3+58=61 Exploring Operation: 81+3=84, Resulting Numbers: [58, 84] Generated Node #0,0,4: 69:[58, 84] Operation: 81+3=84 Moving to Node #0,0,1 Current State: 69:[3, 23], Operations: ['99-41=58', '81-58=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[81, 41, 3, 99], Operations: [] Exploring Operation: 99-41=58, Resulting Numbers: [81, 3, 58] Generated Node #0,0: 69:[81, 3, 58] Operation: 99-41=58 Moving to Node #0,0 Current State: 69:[81, 3, 58], Operations: ['99-41=58'] Exploring Operation: 81-58=23, Resulting Numbers: [3, 23] Generated Node #0,0,1: 69:[3, 23] Operation: 81-58=23 Moving to Node #0,0,1 Current State: 69:[3, 23], Operations: ['99-41=58', '81-58=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 52, 4, 11, 61 ]
35
[ "61-52=9", "4*11=44", "44-9=35" ]
Current State: 35:[52, 4, 11, 61], Operations: [] Exploring Operation: 61-52=9, Resulting Numbers: [4, 11, 9] Generated Node #2: [4, 11, 9] from Operation: 61-52=9 Current State: 35:[4, 11, 9], Operations: ['61-52=9'] Exploring Operation: 4*11=44, Resulting Numbers: [9, 44] Generated Node #3: [9, 44] from Operation: 4*11=44 Current State: 35:[9, 44], Operations: ['61-52=9', '4*11=44'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[52, 4, 11, 61], Operations: [] Exploring Operation: 61-11=50, Resulting Numbers: [52, 4, 50] Generated Node #0,0: 35:[52, 4, 50] Operation: 61-11=50 Exploring Operation: 61-52=9, Resulting Numbers: [4, 11, 9] Generated Node #0,1: 35:[4, 11, 9] Operation: 61-52=9 Exploring Operation: 52/4=13, Resulting Numbers: [11, 61, 13] Generated Node #0,2: 35:[11, 61, 13] Operation: 52/4=13 Exploring Operation: 52-11=41, Resulting Numbers: [4, 61, 41] Generated Node #0,3: 35:[4, 61, 41] Operation: 52-11=41 Moving to Node #0,1 Current State: 35:[4, 11, 9], Operations: ['61-52=9'] Exploring Operation: 11-4=7, Resulting Numbers: [9, 7] Generated Node #0,1,0: 35:[9, 7] Operation: 11-4=7 Exploring Operation: 4*9=36, Resulting Numbers: [11, 36] Generated Node #0,1,1: 35:[11, 36] Operation: 4*9=36 Exploring Operation: 11-9=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 35:[4, 2] Operation: 11-9=2 Exploring Operation: 9-4=5, Resulting Numbers: [11, 5] Generated Node #0,1,3: 35:[11, 5] Operation: 9-4=5 Moving to Node #0,3 Current State: 35:[4, 61, 41], Operations: ['52-11=41'] Exploring Operation: 41-4=37, Resulting Numbers: [61, 37] Generated Node #0,3,0: 35:[61, 37] Operation: 41-4=37 Exploring Operation: 61-41=20, Resulting Numbers: [4, 20] Generated Node #0,3,1: 35:[4, 20] Operation: 61-41=20 Exploring Operation: 4+61=65, Resulting Numbers: [41, 65] Generated Node #0,3,2: 35:[41, 65] Operation: 4+61=65 Exploring Operation: 61-4=57, Resulting Numbers: [41, 57] Generated Node #0,3,3: 35:[41, 57] Operation: 61-4=57 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 35:[4, 20], Operations: ['52-11=41', '61-41=20'] Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 35:[61, 37], Operations: ['52-11=41', '41-4=37'] Exploring Operation: 61+37=98, Resulting Numbers: [98] 98,35 unequal: No Solution Exploring Operation: 61*37=2257, Resulting Numbers: [2257] 2257,35 unequal: No Solution Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 35:[41, 57], Operations: ['52-11=41', '61-4=57'] Exploring Operation: 41*57=2337, Resulting Numbers: [2337] 2337,35 unequal: No Solution Exploring Operation: 41+57=98, Resulting Numbers: [98] 98,35 unequal: No Solution Exploring Operation: 57-41=16, Resulting Numbers: [16] 16,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 35:[41, 65], Operations: ['52-11=41', '4+61=65'] Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 41*65=2665, Resulting Numbers: [2665] 2665,35 unequal: No Solution Exploring Operation: 41+65=106, Resulting Numbers: [106] 106,35 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: 35:[52, 4, 50], Operations: ['61-11=50'] Exploring Operation: 52/4=13, Resulting Numbers: [50, 13] Generated Node #0,0,0: 35:[50, 13] Operation: 52/4=13 Exploring Operation: 52-4=48, Resulting Numbers: [50, 48] Generated Node #0,0,1: 35:[50, 48] Operation: 52-4=48 Exploring Operation: 50-4=46, Resulting Numbers: [52, 46] Generated Node #0,0,2: 35:[52, 46] Operation: 50-4=46 Exploring Operation: 52-50=2, Resulting Numbers: [4, 2] Generated Node #0,0,3: 35:[4, 2] Operation: 52-50=2 Moving to Node #0,2 Current State: 35:[11, 61, 13], Operations: ['52/4=13'] Exploring Operation: 11+13=24, Resulting Numbers: [61, 24] Generated Node #0,2,0: 35:[61, 24] Operation: 11+13=24 Exploring Operation: 13-11=2, Resulting Numbers: [61, 2] Generated Node #0,2,1: 35:[61, 2] Operation: 13-11=2 Exploring Operation: 61-11=50, Resulting Numbers: [13, 50] Generated Node #0,2,2: 35:[13, 50] Operation: 61-11=50 Exploring Operation: 61-13=48, Resulting Numbers: [11, 48] Generated Node #0,2,3: 35:[11, 48] Operation: 61-13=48 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 35:[11, 48], Operations: ['52/4=13', '61-13=48'] Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,35 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 35:[13, 50], Operations: ['52/4=13', '61-11=50'] Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 13+50=63, Resulting Numbers: [63] 63,35 unequal: No Solution Exploring Operation: 13*50=650, Resulting Numbers: [650] 650,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 35:[61, 2], Operations: ['52/4=13', '13-11=2'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,35 unequal: No Solution Exploring Operation: 61*2=122, Resulting Numbers: [122] 122,35 unequal: No Solution Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 35:[61, 24], Operations: ['52/4=13', '11+13=24'] Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,35 unequal: No Solution Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,35 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: 35:[9, 7], Operations: ['61-52=9', '11-4=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[11, 5], Operations: ['61-52=9', '9-4=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,35 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[4, 2], Operations: ['61-52=9', '11-9=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[4, 2], Operations: ['61-11=50', '52-50=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[11, 36], Operations: ['61-52=9', '4*9=36'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,35 unequal: No Solution Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,35 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[50, 13], Operations: ['61-11=50', '52/4=13'] Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,35 unequal: No Solution Exploring Operation: 50*13=650, Resulting Numbers: [650] 650,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[52, 46], Operations: ['61-11=50', '50-4=46'] Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 52*46=2392, Resulting Numbers: [2392] 2392,35 unequal: No Solution Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[50, 48], Operations: ['61-11=50', '52-4=48'] Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,35 unequal: No Solution Exploring Operation: 50*48=2400, Resulting Numbers: [2400] 2400,35 unequal: No Solution Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,35 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 7, 76, 97, 11 ]
70
[ "97-76=21", "21-11=10", "7*10=70" ]
Current State: 70:[7, 76, 97, 11], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [7, 11, 21] Generated Node #2: [7, 11, 21] from Operation: 97-76=21 Current State: 70:[7, 11, 21], Operations: ['97-76=21'] Exploring Operation: 21-11=10, Resulting Numbers: [7, 10] Generated Node #3: [7, 10] from Operation: 21-11=10 Current State: 70:[7, 10], Operations: ['97-76=21', '21-11=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[7, 76, 97, 11], Operations: [] Exploring Operation: 76-7=69, Resulting Numbers: [97, 11, 69] Generated Node #0,0: 70:[97, 11, 69] Operation: 76-7=69 Exploring Operation: 97-76=21, Resulting Numbers: [7, 11, 21] Generated Node #0,1: 70:[7, 11, 21] Operation: 97-76=21 Exploring Operation: 97-7=90, Resulting Numbers: [76, 11, 90] Generated Node #0,2: 70:[76, 11, 90] Operation: 97-7=90 Exploring Operation: 97-11=86, Resulting Numbers: [7, 76, 86] Generated Node #0,3: 70:[7, 76, 86] Operation: 97-11=86 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[7, 11, 21], Operations: ['97-76=21'] Exploring Operation: 11+21=32, Resulting Numbers: [7, 32] Generated Node #0,1,0: 70:[7, 32] Operation: 11+21=32 Exploring Operation: 21/7=3, Resulting Numbers: [11, 3] Generated Node #0,1,1: 70:[11, 3] Operation: 21/7=3 Exploring Operation: 21-11=10, Resulting Numbers: [7, 10] Generated Node #0,1,2: 70:[7, 10] Operation: 21-11=10 Exploring Operation: 21-7=14, Resulting Numbers: [11, 14] Generated Node #0,1,3: 70:[11, 14] Operation: 21-7=14 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[7, 10], Operations: ['97-76=21', '21-11=10'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[7, 76, 97, 11], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [7, 11, 21] Generated Node #0,1: 70:[7, 11, 21] Operation: 97-76=21 Moving to Node #0,1 Current State: 70:[7, 11, 21], Operations: ['97-76=21'] Exploring Operation: 21-11=10, Resulting Numbers: [7, 10] Generated Node #0,1,2: 70:[7, 10] Operation: 21-11=10 Moving to Node #0,1,2 Current State: 70:[7, 10], Operations: ['97-76=21', '21-11=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 65, 55, 9, 45 ]
65
[ "55-9=46", "46-45=1", "65*1=65" ]
Current State: 65:[65, 55, 9, 45], Operations: [] Exploring Operation: 55-9=46, Resulting Numbers: [65, 45, 46] Generated Node #2: [65, 45, 46] from Operation: 55-9=46 Current State: 65:[65, 45, 46], Operations: ['55-9=46'] Exploring Operation: 46-45=1, Resulting Numbers: [65, 1] Generated Node #3: [65, 1] from Operation: 46-45=1 Current State: 65:[65, 1], Operations: ['55-9=46', '46-45=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[65, 55, 9, 45], Operations: [] Exploring Operation: 65-45=20, Resulting Numbers: [55, 9, 20] Generated Node #0,0: 65:[55, 9, 20] Operation: 65-45=20 Exploring Operation: 55-45=10, Resulting Numbers: [65, 9, 10] Generated Node #0,1: 65:[65, 9, 10] Operation: 55-45=10 Exploring Operation: 45/9=5, Resulting Numbers: [65, 55, 5] Generated Node #0,2: 65:[65, 55, 5] Operation: 45/9=5 Moving to Node #0,1 Current State: 65:[65, 9, 10], Operations: ['55-45=10'] Exploring Operation: 9+10=19, Resulting Numbers: [65, 19] Generated Node #0,1,0: 65:[65, 19] Operation: 9+10=19 Exploring Operation: 10-9=1, Resulting Numbers: [65, 1] Generated Node #0,1,1: 65:[65, 1] Operation: 10-9=1 Exploring Operation: 65+9=74, Resulting Numbers: [10, 74] Generated Node #0,1,2: 65:[10, 74] Operation: 65+9=74 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[65, 1], Operations: ['55-45=10', '10-9=1'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[65, 55, 9, 45], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [65, 9, 10] Generated Node #0,1: 65:[65, 9, 10] Operation: 55-45=10 Moving to Node #0,1 Current State: 65:[65, 9, 10], Operations: ['55-45=10'] Exploring Operation: 10-9=1, Resulting Numbers: [65, 1] Generated Node #0,1,1: 65:[65, 1] Operation: 10-9=1 Moving to Node #0,1,1 Current State: 65:[65, 1], Operations: ['55-45=10', '10-9=1'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 3, 24, 94, 99 ]
12
[ "3+94=97", "99-97=2", "24/2=12" ]
Current State: 12:[3, 24, 94, 99], Operations: [] Exploring Operation: 3+94=97, Resulting Numbers: [24, 99, 97] Generated Node #2: [24, 99, 97] from Operation: 3+94=97 Current State: 12:[24, 99, 97], Operations: ['3+94=97'] Exploring Operation: 99-97=2, Resulting Numbers: [24, 2] Generated Node #3: [24, 2] from Operation: 99-97=2 Current State: 12:[24, 2], Operations: ['3+94=97', '99-97=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[3, 24, 94, 99], Operations: [] Exploring Operation: 94-24=70, Resulting Numbers: [3, 99, 70] Generated Node #0,0: 12:[3, 99, 70] Operation: 94-24=70 Exploring Operation: 99-24=75, Resulting Numbers: [3, 94, 75] Generated Node #0,1: 12:[3, 94, 75] Operation: 99-24=75 Exploring Operation: 99-94=5, Resulting Numbers: [3, 24, 5] Generated Node #0,2: 12:[3, 24, 5] Operation: 99-94=5 Exploring Operation: 99/3=33, Resulting Numbers: [24, 94, 33] Generated Node #0,3: 12:[24, 94, 33] Operation: 99/3=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[3, 24, 5], Operations: ['99-94=5'] Exploring Operation: 24/3=8, Resulting Numbers: [5, 8] Generated Node #0,2,0: 12:[5, 8] Operation: 24/3=8 Exploring Operation: 24-5=19, Resulting Numbers: [3, 19] Generated Node #0,2,1: 12:[3, 19] Operation: 24-5=19 Exploring Operation: 5-3=2, Resulting Numbers: [24, 2] Generated Node #0,2,2: 12:[24, 2] Operation: 5-3=2 Exploring Operation: 24-3=21, Resulting Numbers: [5, 21] Generated Node #0,2,3: 12:[5, 21] Operation: 24-3=21 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[5, 8], Operations: ['99-94=5', '24/3=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 12:[3, 19], Operations: ['99-94=5', '24-5=19'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 12:[5, 21], Operations: ['99-94=5', '24-3=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,12 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[24, 2], Operations: ['99-94=5', '5-3=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[3, 24, 94, 99], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [3, 24, 5] Generated Node #0,2: 12:[3, 24, 5] Operation: 99-94=5 Moving to Node #0,2 Current State: 12:[3, 24, 5], Operations: ['99-94=5'] Exploring Operation: 5-3=2, Resulting Numbers: [24, 2] Generated Node #0,2,2: 12:[24, 2] Operation: 5-3=2 Moving to Node #0,2,2 Current State: 12:[24, 2], Operations: ['99-94=5', '5-3=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 18, 9, 99, 29 ]
68
[ "18/9=2", "99-29=70", "70-2=68" ]
Current State: 68:[18, 9, 99, 29], Operations: [] Exploring Operation: 18/9=2, Resulting Numbers: [99, 29, 2] Generated Node #2: [99, 29, 2] from Operation: 18/9=2 Current State: 68:[99, 29, 2], Operations: ['18/9=2'] Exploring Operation: 99-29=70, Resulting Numbers: [2, 70] Generated Node #3: [2, 70] from Operation: 99-29=70 Current State: 68:[2, 70], Operations: ['18/9=2', '99-29=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[18, 9, 99, 29], Operations: [] Exploring Operation: 99/9=11, Resulting Numbers: [18, 29, 11] Generated Node #0,0: 68:[18, 29, 11] Operation: 99/9=11 Exploring Operation: 99-29=70, Resulting Numbers: [18, 9, 70] Generated Node #0,1: 68:[18, 9, 70] Operation: 99-29=70 Moving to Node #0,1 Current State: 68:[18, 9, 70], Operations: ['99-29=70'] Exploring Operation: 18-9=9, Resulting Numbers: [70, 9] Generated Node #0,1,0: 68:[70, 9] Operation: 18-9=9 Exploring Operation: 18/9=2, Resulting Numbers: [70, 2] Generated Node #0,1,1: 68:[70, 2] Operation: 18/9=2 Moving to Node #0,0 Current State: 68:[18, 29, 11], Operations: ['99/9=11'] Exploring Operation: 29-11=18, Resulting Numbers: [18, 18] Generated Node #0,0,0: 68:[18, 18] Operation: 29-11=18 Exploring Operation: 29+11=40, Resulting Numbers: [18, 40] Generated Node #0,0,1: 68:[18, 40] Operation: 29+11=40 Moving to Node #0,1,1 Current State: 68:[70, 2], Operations: ['99-29=70', '18/9=2'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[18, 9, 99, 29], Operations: [] Exploring Operation: 99-29=70, Resulting Numbers: [18, 9, 70] Generated Node #0,1: 68:[18, 9, 70] Operation: 99-29=70 Moving to Node #0,1 Current State: 68:[18, 9, 70], Operations: ['99-29=70'] Exploring Operation: 18/9=2, Resulting Numbers: [70, 2] Generated Node #0,1,1: 68:[70, 2] Operation: 18/9=2 Moving to Node #0,1,1 Current State: 68:[70, 2], Operations: ['99-29=70', '18/9=2'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 37, 20, 49, 87 ]
95
[ "37+20=57", "87-49=38", "57+38=95" ]
Current State: 95:[37, 20, 49, 87], Operations: [] Exploring Operation: 37+20=57, Resulting Numbers: [49, 87, 57] Generated Node #2: [49, 87, 57] from Operation: 37+20=57 Current State: 95:[49, 87, 57], Operations: ['37+20=57'] Exploring Operation: 87-49=38, Resulting Numbers: [57, 38] Generated Node #3: [57, 38] from Operation: 87-49=38 Current State: 95:[57, 38], Operations: ['37+20=57', '87-49=38'] Exploring Operation: 57+38=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[37, 20, 49, 87], Operations: [] Exploring Operation: 37+49=86, Resulting Numbers: [20, 87, 86] Generated Node #0,0: 95:[20, 87, 86] Operation: 37+49=86 Exploring Operation: 49-37=12, Resulting Numbers: [20, 87, 12] Generated Node #0,1: 95:[20, 87, 12] Operation: 49-37=12 Moving to Node #0,1 Current State: 95:[20, 87, 12], Operations: ['49-37=12'] Exploring Operation: 20-12=8, Resulting Numbers: [87, 8] Generated Node #0,1,0: 95:[87, 8] Operation: 20-12=8 Exploring Operation: 87+12=99, Resulting Numbers: [20, 99] Generated Node #0,1,1: 95:[20, 99] Operation: 87+12=99 Moving to Node #0,0 Current State: 95:[20, 87, 86], Operations: ['37+49=86'] Exploring Operation: 87-86=1, Resulting Numbers: [20, 1] Generated Node #0,0,0: 95:[20, 1] Operation: 87-86=1 Exploring Operation: 20+86=106, Resulting Numbers: [87, 106] Generated Node #0,0,1: 95:[87, 106] Operation: 20+86=106 Moving to Node #0,1,1 Current State: 95:[20, 99], Operations: ['49-37=12', '87+12=99'] Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 20+99=119, Resulting Numbers: [119] 119,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[20, 1], Operations: ['37+49=86', '87-86=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[87, 8], Operations: ['49-37=12', '20-12=8'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[37, 20, 49, 87], Operations: [] Exploring Operation: 49-37=12, Resulting Numbers: [20, 87, 12] Generated Node #0,1: 95:[20, 87, 12] Operation: 49-37=12 Moving to Node #0,1 Current State: 95:[20, 87, 12], Operations: ['49-37=12'] Exploring Operation: 20-12=8, Resulting Numbers: [87, 8] Generated Node #0,1,0: 95:[87, 8] Operation: 20-12=8 Moving to Node #0,1,0 Current State: 95:[87, 8], Operations: ['49-37=12', '20-12=8'] Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 39, 45, 14, 33 ]
13
[ "45-39=6", "33-14=19", "19-6=13" ]
Current State: 13:[39, 45, 14, 33], Operations: [] Exploring Operation: 45-39=6, Resulting Numbers: [14, 33, 6] Generated Node #2: [14, 33, 6] from Operation: 45-39=6 Current State: 13:[14, 33, 6], Operations: ['45-39=6'] Exploring Operation: 33-14=19, Resulting Numbers: [6, 19] Generated Node #3: [6, 19] from Operation: 33-14=19 Current State: 13:[6, 19], Operations: ['45-39=6', '33-14=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[39, 45, 14, 33], Operations: [] Exploring Operation: 45-39=6, Resulting Numbers: [14, 33, 6] Generated Node #0,0: 13:[14, 33, 6] Operation: 45-39=6 Exploring Operation: 39-33=6, Resulting Numbers: [45, 14, 6] Generated Node #0,1: 13:[45, 14, 6] Operation: 39-33=6 Exploring Operation: 45-33=12, Resulting Numbers: [39, 14, 12] Generated Node #0,2: 13:[39, 14, 12] Operation: 45-33=12 Exploring Operation: 39-14=25, Resulting Numbers: [45, 33, 25] Generated Node #0,3: 13:[45, 33, 25] Operation: 39-14=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[14, 33, 6], Operations: ['45-39=6'] Exploring Operation: 33-6=27, Resulting Numbers: [14, 27] Generated Node #0,0,0: 13:[14, 27] Operation: 33-6=27 Exploring Operation: 14+6=20, Resulting Numbers: [33, 20] Generated Node #0,0,1: 13:[33, 20] Operation: 14+6=20 Exploring Operation: 33-14=19, Resulting Numbers: [6, 19] Generated Node #0,0,2: 13:[6, 19] Operation: 33-14=19 Exploring Operation: 14-6=8, Resulting Numbers: [33, 8] Generated Node #0,0,3: 13:[33, 8] Operation: 14-6=8 Moving to Node #0,0,2 Current State: 13:[6, 19], Operations: ['45-39=6', '33-14=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[39, 45, 14, 33], Operations: [] Exploring Operation: 45-39=6, Resulting Numbers: [14, 33, 6] Generated Node #0,0: 13:[14, 33, 6] Operation: 45-39=6 Moving to Node #0,0 Current State: 13:[14, 33, 6], Operations: ['45-39=6'] Exploring Operation: 33-14=19, Resulting Numbers: [6, 19] Generated Node #0,0,2: 13:[6, 19] Operation: 33-14=19 Moving to Node #0,0,2 Current State: 13:[6, 19], Operations: ['45-39=6', '33-14=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 25, 98, 53, 32 ]
12
[ "98-25=73", "53+32=85", "85-73=12" ]
Current State: 12:[25, 98, 53, 32], Operations: [] Exploring Operation: 98-25=73, Resulting Numbers: [53, 32, 73] Generated Node #2: [53, 32, 73] from Operation: 98-25=73 Current State: 12:[53, 32, 73], Operations: ['98-25=73'] Exploring Operation: 53+32=85, Resulting Numbers: [73, 85] Generated Node #3: [73, 85] from Operation: 53+32=85 Current State: 12:[73, 85], Operations: ['98-25=73', '53+32=85'] Exploring Operation: 85-73=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[25, 98, 53, 32], Operations: [] Exploring Operation: 98-32=66, Resulting Numbers: [25, 53, 66] Generated Node #0,0: 12:[25, 53, 66] Operation: 98-32=66 Exploring Operation: 98-53=45, Resulting Numbers: [25, 32, 45] Generated Node #0,1: 12:[25, 32, 45] Operation: 98-53=45 Moving to Node #0,1 Current State: 12:[25, 32, 45], Operations: ['98-53=45'] Exploring Operation: 45-25=20, Resulting Numbers: [32, 20] Generated Node #0,1,0: 12:[32, 20] Operation: 45-25=20 Exploring Operation: 45-32=13, Resulting Numbers: [25, 13] Generated Node #0,1,1: 12:[25, 13] Operation: 45-32=13 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[25, 13], Operations: ['98-53=45', '45-32=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[25, 98, 53, 32], Operations: [] Exploring Operation: 98-53=45, Resulting Numbers: [25, 32, 45] Generated Node #0,1: 12:[25, 32, 45] Operation: 98-53=45 Moving to Node #0,1 Current State: 12:[25, 32, 45], Operations: ['98-53=45'] Exploring Operation: 45-32=13, Resulting Numbers: [25, 13] Generated Node #0,1,1: 12:[25, 13] Operation: 45-32=13 Moving to Node #0,1,1 Current State: 12:[25, 13], Operations: ['98-53=45', '45-32=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 32, 88, 82, 63 ]
89
[ "88-32=56", "82+63=145", "145-56=89" ]
Current State: 89:[32, 88, 82, 63], Operations: [] Exploring Operation: 88-32=56, Resulting Numbers: [82, 63, 56] Generated Node #2: [82, 63, 56] from Operation: 88-32=56 Current State: 89:[82, 63, 56], Operations: ['88-32=56'] Exploring Operation: 82+63=145, Resulting Numbers: [56, 145] Generated Node #3: [56, 145] from Operation: 82+63=145 Current State: 89:[56, 145], Operations: ['88-32=56', '82+63=145'] Exploring Operation: 145-56=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[32, 88, 82, 63], Operations: [] Exploring Operation: 82-32=50, Resulting Numbers: [88, 63, 50] Generated Node #0,0: 89:[88, 63, 50] Operation: 82-32=50 Exploring Operation: 88-32=56, Resulting Numbers: [82, 63, 56] Generated Node #0,1: 89:[82, 63, 56] Operation: 88-32=56 Exploring Operation: 32+88=120, Resulting Numbers: [82, 63, 120] Generated Node #0,2: 89:[82, 63, 120] Operation: 32+88=120 Exploring Operation: 32+63=95, Resulting Numbers: [88, 82, 95] Generated Node #0,3: 89:[88, 82, 95] Operation: 32+63=95 Exploring Operation: 32+82=114, Resulting Numbers: [88, 63, 114] Generated Node #0,4: 89:[88, 63, 114] Operation: 32+82=114 Moving to Node #0,3 Current State: 89:[88, 82, 95], Operations: ['32+63=95'] Exploring Operation: 82+95=177, Resulting Numbers: [88, 177] Generated Node #0,3,0: 89:[88, 177] Operation: 82+95=177 Exploring Operation: 95-88=7, Resulting Numbers: [82, 7] Generated Node #0,3,1: 89:[82, 7] Operation: 95-88=7 Exploring Operation: 88-82=6, Resulting Numbers: [95, 6] Generated Node #0,3,2: 89:[95, 6] Operation: 88-82=6 Exploring Operation: 88+82=170, Resulting Numbers: [95, 170] Generated Node #0,3,3: 89:[95, 170] Operation: 88+82=170 Exploring Operation: 95-82=13, Resulting Numbers: [88, 13] Generated Node #0,3,4: 89:[88, 13] Operation: 95-82=13 Moving to Node #0,4 Current State: 89:[88, 63, 114], Operations: ['32+82=114'] Exploring Operation: 88+63=151, Resulting Numbers: [114, 151] Generated Node #0,4,0: 89:[114, 151] Operation: 88+63=151 Exploring Operation: 114-63=51, Resulting Numbers: [88, 51] Generated Node #0,4,1: 89:[88, 51] Operation: 114-63=51 Exploring Operation: 114-88=26, Resulting Numbers: [63, 26] Generated Node #0,4,2: 89:[63, 26] Operation: 114-88=26 Exploring Operation: 63+114=177, Resulting Numbers: [88, 177] Generated Node #0,4,3: 89:[88, 177] Operation: 63+114=177 Exploring Operation: 88-63=25, Resulting Numbers: [114, 25] Generated Node #0,4,4: 89:[114, 25] Operation: 88-63=25 Moving to Node #0,2 Current State: 89:[82, 63, 120], Operations: ['32+88=120'] Exploring Operation: 82-63=19, Resulting Numbers: [120, 19] Generated Node #0,2,0: 89:[120, 19] Operation: 82-63=19 Exploring Operation: 63+120=183, Resulting Numbers: [82, 183] Generated Node #0,2,1: 89:[82, 183] Operation: 63+120=183 Exploring Operation: 82+63=145, Resulting Numbers: [120, 145] Generated Node #0,2,2: 89:[120, 145] Operation: 82+63=145 Exploring Operation: 120-63=57, Resulting Numbers: [82, 57] Generated Node #0,2,3: 89:[82, 57] Operation: 120-63=57 Exploring Operation: 120-82=38, Resulting Numbers: [63, 38] Generated Node #0,2,4: 89:[63, 38] Operation: 120-82=38 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 89:[82, 57], Operations: ['32+88=120', '120-63=57'] Exploring Operation: 82+57=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 82*57=4674, Resulting Numbers: [4674] 4674,89 unequal: No Solution Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 89:[63, 38], Operations: ['32+88=120', '120-82=38'] Exploring Operation: 63+38=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 63*38=2394, Resulting Numbers: [2394] 2394,89 unequal: No Solution Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[120, 145], Operations: ['32+88=120', '82+63=145'] Exploring Operation: 120*145=17400, Resulting Numbers: [17400] 17400,89 unequal: No Solution Exploring Operation: 145-120=25, Resulting Numbers: [25] 25,89 unequal: No Solution Exploring Operation: 120+145=265, Resulting Numbers: [265] 265,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[120, 19], Operations: ['32+88=120', '82-63=19'] Exploring Operation: 120+19=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 120*19=2280, Resulting Numbers: [2280] 2280,89 unequal: No Solution Exploring Operation: 120-19=101, Resulting Numbers: [101] 101,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[82, 183], Operations: ['32+88=120', '63+120=183'] Exploring Operation: 82+183=265, Resulting Numbers: [265] 265,89 unequal: No Solution Exploring Operation: 183-82=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 82*183=15006, Resulting Numbers: [15006] 15006,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 89:[88, 63, 50], Operations: ['82-32=50'] Exploring Operation: 63+50=113, Resulting Numbers: [88, 113] Generated Node #0,0,0: 89:[88, 113] Operation: 63+50=113 Exploring Operation: 88+50=138, Resulting Numbers: [63, 138] Generated Node #0,0,1: 89:[63, 138] Operation: 88+50=138 Exploring Operation: 88+63=151, Resulting Numbers: [50, 151] Generated Node #0,0,2: 89:[50, 151] Operation: 88+63=151 Exploring Operation: 63-50=13, Resulting Numbers: [88, 13] Generated Node #0,0,3: 89:[88, 13] Operation: 63-50=13 Exploring Operation: 88-50=38, Resulting Numbers: [63, 38] Generated Node #0,0,4: 89:[63, 38] Operation: 88-50=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[88, 113], Operations: ['82-32=50', '63+50=113'] Exploring Operation: 88*113=9944, Resulting Numbers: [9944] 9944,89 unequal: No Solution Exploring Operation: 113-88=25, Resulting Numbers: [25] 25,89 unequal: No Solution Exploring Operation: 88+113=201, Resulting Numbers: [201] 201,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[63, 138], Operations: ['82-32=50', '88+50=138'] Exploring Operation: 138-63=75, Resulting Numbers: [75] 75,89 unequal: No Solution Exploring Operation: 63*138=8694, Resulting Numbers: [8694] 8694,89 unequal: No Solution Exploring Operation: 63+138=201, Resulting Numbers: [201] 201,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 89:[88, 13], Operations: ['82-32=50', '63-50=13'] Exploring Operation: 88*13=1144, Resulting Numbers: [1144] 1144,89 unequal: No Solution Exploring Operation: 88+13=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 89:[63, 38], Operations: ['82-32=50', '88-50=38'] Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,89 unequal: No Solution Exploring Operation: 63+38=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 63*38=2394, Resulting Numbers: [2394] 2394,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[50, 151], Operations: ['82-32=50', '88+63=151'] Exploring Operation: 50+151=201, Resulting Numbers: [201] 201,89 unequal: No Solution Exploring Operation: 50*151=7550, Resulting Numbers: [7550] 7550,89 unequal: No Solution Exploring Operation: 151-50=101, Resulting Numbers: [101] 101,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 89:[82, 63, 56], Operations: ['88-32=56'] Exploring Operation: 82-56=26, Resulting Numbers: [63, 26] Generated Node #0,1,0: 89:[63, 26] Operation: 82-56=26 Exploring Operation: 82+56=138, Resulting Numbers: [63, 138] Generated Node #0,1,1: 89:[63, 138] Operation: 82+56=138 Exploring Operation: 63-56=7, Resulting Numbers: [82, 7] Generated Node #0,1,2: 89:[82, 7] Operation: 63-56=7 Exploring Operation: 82+63=145, Resulting Numbers: [56, 145] Generated Node #0,1,3: 89:[56, 145] Operation: 82+63=145 Exploring Operation: 63+56=119, Resulting Numbers: [82, 119] Generated Node #0,1,4: 89:[82, 119] Operation: 63+56=119 Moving to Node #0,1,4 Current State: 89:[82, 119], Operations: ['88-32=56', '63+56=119'] Exploring Operation: 82*119=9758, Resulting Numbers: [9758] 9758,89 unequal: No Solution Exploring Operation: 82+119=201, Resulting Numbers: [201] 201,89 unequal: No Solution Exploring Operation: 119-82=37, Resulting Numbers: [37] 37,89 unequal: No Solution Moving to Node #0,4,1 Current State: 89:[88, 51], Operations: ['32+82=114', '114-63=51'] Exploring Operation: 88+51=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,89 unequal: No Solution Exploring Operation: 88*51=4488, Resulting Numbers: [4488] 4488,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[63, 138], Operations: ['88-32=56', '82+56=138'] Exploring Operation: 138-63=75, Resulting Numbers: [75] 75,89 unequal: No Solution Exploring Operation: 63*138=8694, Resulting Numbers: [8694] 8694,89 unequal: No Solution Exploring Operation: 63+138=201, Resulting Numbers: [201] 201,89 unequal: No Solution Moving to Node #0,3,4 Current State: 89:[88, 13], Operations: ['32+63=95', '95-82=13'] Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,89 unequal: No Solution Exploring Operation: 88+13=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 88*13=1144, Resulting Numbers: [1144] 1144,89 unequal: No Solution Moving to Node #0,4,0 Current State: 89:[114, 151], Operations: ['32+82=114', '88+63=151'] Exploring Operation: 151-114=37, Resulting Numbers: [37] 37,89 unequal: No Solution Exploring Operation: 114*151=17214, Resulting Numbers: [17214] 17214,89 unequal: No Solution Exploring Operation: 114+151=265, Resulting Numbers: [265] 265,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[95, 170], Operations: ['32+63=95', '88+82=170'] Exploring Operation: 170-95=75, Resulting Numbers: [75] 75,89 unequal: No Solution Exploring Operation: 95+170=265, Resulting Numbers: [265] 265,89 unequal: No Solution Exploring Operation: 95*170=16150, Resulting Numbers: [16150] 16150,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[82, 7], Operations: ['88-32=56', '63-56=7'] Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[32, 88, 82, 63], Operations: [] Exploring Operation: 88-32=56, Resulting Numbers: [82, 63, 56] Generated Node #0,1: 89:[82, 63, 56] Operation: 88-32=56 Moving to Node #0,1 Current State: 89:[82, 63, 56], Operations: ['88-32=56'] Exploring Operation: 63-56=7, Resulting Numbers: [82, 7] Generated Node #0,1,2: 89:[82, 7] Operation: 63-56=7 Moving to Node #0,1,2 Current State: 89:[82, 7], Operations: ['88-32=56', '63-56=7'] Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
0.927951
hs_5
mult_heuristic
[ 61, 73, 43, 45 ]
49
[ "45-43=2", "61*2=122", "122-73=49" ]
Current State: 49:[61, 73, 43, 45], Operations: [] Exploring Operation: 45-43=2, Resulting Numbers: [61, 73, 2] Generated Node #2: [61, 73, 2] from Operation: 45-43=2 Current State: 49:[61, 73, 2], Operations: ['45-43=2'] Exploring Operation: 61*2=122, Resulting Numbers: [73, 122] Generated Node #3: [73, 122] from Operation: 61*2=122 Current State: 49:[73, 122], Operations: ['45-43=2', '61*2=122'] Exploring Operation: 122-73=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[61, 73, 43, 45], Operations: [] Exploring Operation: 61-43=18, Resulting Numbers: [73, 45, 18] Generated Node #0,0: 49:[73, 45, 18] Operation: 61-43=18 Exploring Operation: 73-61=12, Resulting Numbers: [43, 45, 12] Generated Node #0,1: 49:[43, 45, 12] Operation: 73-61=12 Exploring Operation: 73-43=30, Resulting Numbers: [61, 45, 30] Generated Node #0,2: 49:[61, 45, 30] Operation: 73-43=30 Exploring Operation: 61-45=16, Resulting Numbers: [73, 43, 16] Generated Node #0,3: 49:[73, 43, 16] Operation: 61-45=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[43, 45, 12], Operations: ['73-61=12'] Exploring Operation: 43-12=31, Resulting Numbers: [45, 31] Generated Node #0,1,0: 49:[45, 31] Operation: 43-12=31 Exploring Operation: 45+12=57, Resulting Numbers: [43, 57] Generated Node #0,1,1: 49:[43, 57] Operation: 45+12=57 Exploring Operation: 45-43=2, Resulting Numbers: [12, 2] Generated Node #0,1,2: 49:[12, 2] Operation: 45-43=2 Exploring Operation: 43+12=55, Resulting Numbers: [45, 55] Generated Node #0,1,3: 49:[45, 55] Operation: 43+12=55 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[12, 2], Operations: ['73-61=12', '45-43=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 49:[45, 55], Operations: ['73-61=12', '43+12=55'] Exploring Operation: 45*55=2475, Resulting Numbers: [2475] 2475,49 unequal: No Solution Exploring Operation: 45+55=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[43, 57], Operations: ['73-61=12', '45+12=57'] Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,49 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[45, 31], Operations: ['73-61=12', '43-12=31'] Exploring Operation: 45+31=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 45*31=1395, Resulting Numbers: [1395] 1395,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[61, 45, 30], Operations: ['73-43=30'] Exploring Operation: 61-45=16, Resulting Numbers: [30, 16] Generated Node #0,2,0: 49:[30, 16] Operation: 61-45=16 Exploring Operation: 45+30=75, Resulting Numbers: [61, 75] Generated Node #0,2,1: 49:[61, 75] Operation: 45+30=75 Exploring Operation: 45-30=15, Resulting Numbers: [61, 15] Generated Node #0,2,2: 49:[61, 15] Operation: 45-30=15 Exploring Operation: 61-30=31, Resulting Numbers: [45, 31] Generated Node #0,2,3: 49:[45, 31] Operation: 61-30=31 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[61, 15], Operations: ['73-43=30', '45-30=15'] Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 61*15=915, Resulting Numbers: [915] 915,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 49:[45, 31], Operations: ['73-43=30', '61-30=31'] Exploring Operation: 45+31=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 45*31=1395, Resulting Numbers: [1395] 1395,49 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[30, 16], Operations: ['73-43=30', '61-45=16'] Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,49 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[61, 75], Operations: ['73-43=30', '45+30=75'] Exploring Operation: 61+75=136, Resulting Numbers: [136] 136,49 unequal: No Solution Exploring Operation: 61*75=4575, Resulting Numbers: [4575] 4575,49 unequal: No Solution Exploring Operation: 75-61=14, Resulting Numbers: [14] 14,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[73, 45, 18], Operations: ['61-43=18'] Exploring Operation: 73-45=28, Resulting Numbers: [18, 28] Generated Node #0,0,0: 49:[18, 28] Operation: 73-45=28 Exploring Operation: 45-18=27, Resulting Numbers: [73, 27] Generated Node #0,0,1: 49:[73, 27] Operation: 45-18=27 Exploring Operation: 73-18=55, Resulting Numbers: [45, 55] Generated Node #0,0,2: 49:[45, 55] Operation: 73-18=55 Exploring Operation: 45+18=63, Resulting Numbers: [73, 63] Generated Node #0,0,3: 49:[73, 63] Operation: 45+18=63 Moving to Node #0,0,2 Current State: 49:[45, 55], Operations: ['61-43=18', '73-18=55'] Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 45*55=2475, Resulting Numbers: [2475] 2475,49 unequal: No Solution Exploring Operation: 45+55=100, Resulting Numbers: [100] 100,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[18, 28], Operations: ['61-43=18', '73-45=28'] Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,49 unequal: No Solution Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[73, 63], Operations: ['61-43=18', '45+18=63'] Exploring Operation: 73+63=136, Resulting Numbers: [136] 136,49 unequal: No Solution Exploring Operation: 73-63=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 73*63=4599, Resulting Numbers: [4599] 4599,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[73, 27], Operations: ['61-43=18', '45-18=27'] Exploring Operation: 73*27=1971, Resulting Numbers: [1971] 1971,49 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[73, 43, 16], Operations: ['61-45=16'] Exploring Operation: 43+16=59, Resulting Numbers: [73, 59] Generated Node #0,3,0: 49:[73, 59] Operation: 43+16=59 Exploring Operation: 73-43=30, Resulting Numbers: [16, 30] Generated Node #0,3,1: 49:[16, 30] Operation: 73-43=30 Exploring Operation: 73-16=57, Resulting Numbers: [43, 57] Generated Node #0,3,2: 49:[43, 57] Operation: 73-16=57 Exploring Operation: 43-16=27, Resulting Numbers: [73, 27] Generated Node #0,3,3: 49:[73, 27] Operation: 43-16=27 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 49:[43, 57], Operations: ['61-45=16', '73-16=57'] Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,49 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 49:[16, 30], Operations: ['61-45=16', '73-43=30'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 49:[73, 59], Operations: ['61-45=16', '43+16=59'] Exploring Operation: 73+59=132, Resulting Numbers: [132] 132,49 unequal: No Solution Exploring Operation: 73-59=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 73*59=4307, Resulting Numbers: [4307] 4307,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 49:[73, 27], Operations: ['61-45=16', '43-16=27'] Exploring Operation: 73*27=1971, Resulting Numbers: [1971] 1971,49 unequal: No Solution Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 80, 26, 75, 37 ]
58
[ "80-26=54", "75+37=112", "112-54=58" ]
Current State: 58:[80, 26, 75, 37], Operations: [] Exploring Operation: 80-26=54, Resulting Numbers: [75, 37, 54] Generated Node #2: [75, 37, 54] from Operation: 80-26=54 Current State: 58:[75, 37, 54], Operations: ['80-26=54'] Exploring Operation: 75+37=112, Resulting Numbers: [54, 112] Generated Node #3: [54, 112] from Operation: 75+37=112 Current State: 58:[54, 112], Operations: ['80-26=54', '75+37=112'] Exploring Operation: 112-54=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[80, 26, 75, 37], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [26, 37, 5] Generated Node #0,0: 58:[26, 37, 5] Operation: 80-75=5 Exploring Operation: 80-37=43, Resulting Numbers: [26, 75, 43] Generated Node #0,1: 58:[26, 75, 43] Operation: 80-37=43 Exploring Operation: 80-26=54, Resulting Numbers: [75, 37, 54] Generated Node #0,2: 58:[75, 37, 54] Operation: 80-26=54 Moving to Node #0,0 Current State: 58:[26, 37, 5], Operations: ['80-75=5'] Exploring Operation: 26+37=63, Resulting Numbers: [5, 63] Generated Node #0,0,0: 58:[5, 63] Operation: 26+37=63 Exploring Operation: 26+5=31, Resulting Numbers: [37, 31] Generated Node #0,0,1: 58:[37, 31] Operation: 26+5=31 Exploring Operation: 37-5=32, Resulting Numbers: [26, 32] Generated Node #0,0,2: 58:[26, 32] Operation: 37-5=32 Moving to Node #0,2 Current State: 58:[75, 37, 54], Operations: ['80-26=54'] Exploring Operation: 75-54=21, Resulting Numbers: [37, 21] Generated Node #0,2,0: 58:[37, 21] Operation: 75-54=21 Exploring Operation: 54-37=17, Resulting Numbers: [75, 17] Generated Node #0,2,1: 58:[75, 17] Operation: 54-37=17 Exploring Operation: 75-37=38, Resulting Numbers: [54, 38] Generated Node #0,2,2: 58:[54, 38] Operation: 75-37=38 Moving to Node #0,1 Current State: 58:[26, 75, 43], Operations: ['80-37=43'] Exploring Operation: 26+43=69, Resulting Numbers: [75, 69] Generated Node #0,1,0: 58:[75, 69] Operation: 26+43=69 Exploring Operation: 75-43=32, Resulting Numbers: [26, 32] Generated Node #0,1,1: 58:[26, 32] Operation: 75-43=32 Exploring Operation: 75-26=49, Resulting Numbers: [43, 49] Generated Node #0,1,2: 58:[43, 49] Operation: 75-26=49 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[26, 32], Operations: ['80-37=43', '75-43=32'] Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[80, 26, 75, 37], Operations: [] Exploring Operation: 80-37=43, Resulting Numbers: [26, 75, 43] Generated Node #0,1: 58:[26, 75, 43] Operation: 80-37=43 Moving to Node #0,1 Current State: 58:[26, 75, 43], Operations: ['80-37=43'] Exploring Operation: 75-43=32, Resulting Numbers: [26, 32] Generated Node #0,1,1: 58:[26, 32] Operation: 75-43=32 Moving to Node #0,1,1 Current State: 58:[26, 32], Operations: ['80-37=43', '75-43=32'] Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 73, 10, 95, 23 ]
90
[ "73-23=50", "50/10=5", "95-5=90" ]
Current State: 90:[73, 10, 95, 23], Operations: [] Exploring Operation: 73-23=50, Resulting Numbers: [10, 95, 50] Generated Node #2: [10, 95, 50] from Operation: 73-23=50 Current State: 90:[10, 95, 50], Operations: ['73-23=50'] Exploring Operation: 50/10=5, Resulting Numbers: [95, 5] Generated Node #3: [95, 5] from Operation: 50/10=5 Current State: 90:[95, 5], Operations: ['73-23=50', '50/10=5'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[73, 10, 95, 23], Operations: [] Exploring Operation: 95-73=22, Resulting Numbers: [10, 23, 22] Generated Node #0,0: 90:[10, 23, 22] Operation: 95-73=22 Exploring Operation: 73+23=96, Resulting Numbers: [10, 95, 96] Generated Node #0,1: 90:[10, 95, 96] Operation: 73+23=96 Exploring Operation: 73+10=83, Resulting Numbers: [95, 23, 83] Generated Node #0,2: 90:[95, 23, 83] Operation: 73+10=83 Exploring Operation: 23-10=13, Resulting Numbers: [73, 95, 13] Generated Node #0,3: 90:[73, 95, 13] Operation: 23-10=13 Exploring Operation: 73-23=50, Resulting Numbers: [10, 95, 50] Generated Node #0,4: 90:[10, 95, 50] Operation: 73-23=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[10, 23, 22], Operations: ['95-73=22'] Exploring Operation: 23-10=13, Resulting Numbers: [22, 13] Generated Node #0,0,0: 90:[22, 13] Operation: 23-10=13 Exploring Operation: 23-22=1, Resulting Numbers: [10, 1] Generated Node #0,0,1: 90:[10, 1] Operation: 23-22=1 Exploring Operation: 23+22=45, Resulting Numbers: [10, 45] Generated Node #0,0,2: 90:[10, 45] Operation: 23+22=45 Exploring Operation: 10+23=33, Resulting Numbers: [22, 33] Generated Node #0,0,3: 90:[22, 33] Operation: 10+23=33 Exploring Operation: 10+22=32, Resulting Numbers: [23, 32] Generated Node #0,0,4: 90:[23, 32] Operation: 10+22=32 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 90:[10, 45], Operations: ['95-73=22', '23+22=45'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,90 unequal: No Solution No 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: 90:[10, 1], Operations: ['95-73=22', '23-22=1'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,90 unequal: No Solution No 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: 90:[22, 13], Operations: ['95-73=22', '23-10=13'] Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,90 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,90 unequal: No Solution No 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: 90:[22, 33], Operations: ['95-73=22', '10+23=33'] Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,90 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 90:[23, 32], Operations: ['95-73=22', '10+22=32'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 23*32=736, Resulting Numbers: [736] 736,90 unequal: No Solution Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 90:[10, 95, 50], Operations: ['73-23=50'] Exploring Operation: 50/10=5, Resulting Numbers: [95, 5] Generated Node #0,4,0: 90:[95, 5] Operation: 50/10=5 Exploring Operation: 95-50=45, Resulting Numbers: [10, 45] Generated Node #0,4,1: 90:[10, 45] Operation: 95-50=45 Exploring Operation: 10+95=105, Resulting Numbers: [50, 105] Generated Node #0,4,2: 90:[50, 105] Operation: 10+95=105 Exploring Operation: 95-10=85, Resulting Numbers: [50, 85] Generated Node #0,4,3: 90:[50, 85] Operation: 95-10=85 Exploring Operation: 50-10=40, Resulting Numbers: [95, 40] Generated Node #0,4,4: 90:[95, 40] Operation: 50-10=40 Moving to Node #0,4,1 Current State: 90:[10, 45], Operations: ['73-23=50', '95-50=45'] Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,90 unequal: No Solution Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,90 unequal: No Solution Moving to Node #0,4,0 Current State: 90:[95, 5], Operations: ['73-23=50', '50/10=5'] Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,90 unequal: No Solution Exploring Operation: 95*5=475, Resulting Numbers: [475] 475,90 unequal: No Solution Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[73, 10, 95, 23], Operations: [] Exploring Operation: 73-23=50, Resulting Numbers: [10, 95, 50] Generated Node #0,4: 90:[10, 95, 50] Operation: 73-23=50 Moving to Node #0,4 Current State: 90:[10, 95, 50], Operations: ['73-23=50'] Exploring Operation: 50/10=5, Resulting Numbers: [95, 5] Generated Node #0,4,0: 90:[95, 5] Operation: 50/10=5 Moving to Node #0,4,0 Current State: 90:[95, 5], Operations: ['73-23=50', '50/10=5'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 12, 6, 48, 11 ]
76
[ "48/6=8", "11*8=88", "88-12=76" ]
Current State: 76:[12, 6, 48, 11], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [12, 11, 8] Generated Node #2: [12, 11, 8] from Operation: 48/6=8 Current State: 76:[12, 11, 8], Operations: ['48/6=8'] Exploring Operation: 11*8=88, Resulting Numbers: [12, 88] Generated Node #3: [12, 88] from Operation: 11*8=88 Current State: 76:[12, 88], Operations: ['48/6=8', '11*8=88'] Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[12, 6, 48, 11], Operations: [] Exploring Operation: 48/12=4, Resulting Numbers: [6, 11, 4] Generated Node #0,0: 76:[6, 11, 4] Operation: 48/12=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[6, 11, 4], Operations: ['48/12=4'] Exploring Operation: 11-6=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 76:[4, 5] Operation: 11-6=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[4, 5], Operations: ['48/12=4', '11-6=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,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
mult_heuristic
[ 2, 52, 1, 47 ]
99
[ "2-1=1", "52+47=99", "1*99=99" ]
Current State: 99:[2, 52, 1, 47], Operations: [] Exploring Operation: 2-1=1, Resulting Numbers: [52, 47, 1] Generated Node #2: [52, 47, 1] from Operation: 2-1=1 Current State: 99:[52, 47, 1], Operations: ['2-1=1'] Exploring Operation: 52+47=99, Resulting Numbers: [1, 99] Generated Node #3: [1, 99] from Operation: 52+47=99 Current State: 99:[1, 99], Operations: ['2-1=1', '52+47=99'] Exploring Operation: 1*99=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[2, 52, 1, 47], Operations: [] Exploring Operation: 52-47=5, Resulting Numbers: [2, 1, 5] Generated Node #0,0: 99:[2, 1, 5] Operation: 52-47=5 Exploring Operation: 52+47=99, Resulting Numbers: [2, 1, 99] Generated Node #0,1: 99:[2, 1, 99] Operation: 52+47=99 Moving to Node #0,1 Current State: 99:[2, 1, 99], Operations: ['52+47=99'] Exploring Operation: 2*1=2, Resulting Numbers: [99, 2] Generated Node #0,1,0: 99:[99, 2] Operation: 2*1=2 Exploring Operation: 2+1=3, Resulting Numbers: [99, 3] Generated Node #0,1,1: 99:[99, 3] Operation: 2+1=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[99, 3], Operations: ['52+47=99', '2+1=3'] Exploring Operation: 99+3=102, Resulting Numbers: [102] 102,99 unequal: No Solution Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[99, 2], Operations: ['52+47=99', '2*1=2'] Exploring Operation: 99+2=101, Resulting Numbers: [101] 101,99 unequal: No Solution Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,99 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: 99:[2, 1, 5], Operations: ['52-47=5'] Exploring Operation: 2+1=3, Resulting Numbers: [5, 3] Generated Node #0,0,0: 99:[5, 3] Operation: 2+1=3 Exploring Operation: 5-2=3, Resulting Numbers: [1, 3] Generated Node #0,0,1: 99:[1, 3] Operation: 5-2=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[5, 3], Operations: ['52-47=5', '2+1=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[1, 3], Operations: ['52-47=5', '5-2=3'] Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,99 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
[ 90, 54, 96, 69 ]
46
[ "90+54=144", "96*69=6624", "6624/144=46" ]
Current State: 46:[90, 54, 96, 69], Operations: [] Exploring Operation: 90+54=144, Resulting Numbers: [96, 69, 144] Generated Node #2: [96, 69, 144] from Operation: 90+54=144 Current State: 46:[96, 69, 144], Operations: ['90+54=144'] Exploring Operation: 96*69=6624, Resulting Numbers: [144, 6624] Generated Node #3: [144, 6624] from Operation: 96*69=6624 Current State: 46:[144, 6624], Operations: ['90+54=144', '96*69=6624'] Exploring Operation: 6624/144=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[90, 54, 96, 69], Operations: [] Exploring Operation: 90-54=36, Resulting Numbers: [96, 69, 36] Generated Node #0,0: 46:[96, 69, 36] Operation: 90-54=36 Exploring Operation: 96-54=42, Resulting Numbers: [90, 69, 42] Generated Node #0,1: 46:[90, 69, 42] Operation: 96-54=42 Exploring Operation: 96-69=27, Resulting Numbers: [90, 54, 27] Generated Node #0,2: 46:[90, 54, 27] Operation: 96-69=27 Exploring Operation: 96-90=6, Resulting Numbers: [54, 69, 6] Generated Node #0,3: 46:[54, 69, 6] Operation: 96-90=6 Exploring Operation: 90-69=21, Resulting Numbers: [54, 96, 21] Generated Node #0,4: 46:[54, 96, 21] Operation: 90-69=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[54, 69, 6], Operations: ['96-90=6'] Exploring Operation: 54/6=9, Resulting Numbers: [69, 9] Generated Node #0,3,0: 46:[69, 9] Operation: 54/6=9 Exploring Operation: 54-6=48, Resulting Numbers: [69, 48] Generated Node #0,3,1: 46:[69, 48] Operation: 54-6=48 Exploring Operation: 69-54=15, Resulting Numbers: [6, 15] Generated Node #0,3,2: 46:[6, 15] Operation: 69-54=15 Exploring Operation: 69-6=63, Resulting Numbers: [54, 63] Generated Node #0,3,3: 46:[54, 63] Operation: 69-6=63 Exploring Operation: 54+6=60, Resulting Numbers: [69, 60] Generated Node #0,3,4: 46:[69, 60] Operation: 54+6=60 Moving to Node #0,3,2 Current State: 46:[6, 15], Operations: ['96-90=6', '69-54=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[54, 63], Operations: ['96-90=6', '69-6=63'] Exploring Operation: 54*63=3402, Resulting Numbers: [3402] 3402,46 unequal: No Solution Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[69, 48], Operations: ['96-90=6', '54-6=48'] Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,46 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[69, 9], Operations: ['96-90=6', '54/6=9'] Exploring Operation: 69*9=621, Resulting Numbers: [621] 621,46 unequal: No Solution Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 69+9=78, Resulting Numbers: [78] 78,46 unequal: No Solution Moving to Node #0,3,4 Current State: 46:[69, 60], Operations: ['96-90=6', '54+6=60'] Exploring Operation: 69+60=129, Resulting Numbers: [129] 129,46 unequal: No Solution Exploring Operation: 69*60=4140, Resulting Numbers: [4140] 4140,46 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[90, 54, 27], Operations: ['96-69=27'] Exploring Operation: 54-27=27, Resulting Numbers: [90, 27] Generated Node #0,2,0: 46:[90, 27] Operation: 54-27=27 Exploring Operation: 90-27=63, Resulting Numbers: [54, 63] Generated Node #0,2,1: 46:[54, 63] Operation: 90-27=63 Exploring Operation: 54/27=2, Resulting Numbers: [90, 2] Generated Node #0,2,2: 46:[90, 2] Operation: 54/27=2 Exploring Operation: 90+27=117, Resulting Numbers: [54, 117] Generated Node #0,2,3: 46:[54, 117] Operation: 90+27=117 Exploring Operation: 90-54=36, Resulting Numbers: [27, 36] Generated Node #0,2,4: 46:[27, 36] Operation: 90-54=36 Moving to Node #0,2,4 Current State: 46:[27, 36], Operations: ['96-69=27', '90-54=36'] Exploring Operation: 27+36=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 27*36=972, Resulting Numbers: [972] 972,46 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[54, 63], Operations: ['96-69=27', '90-27=63'] Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,46 unequal: No Solution Exploring Operation: 54*63=3402, Resulting Numbers: [3402] 3402,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[90, 2], Operations: ['96-69=27', '54/27=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,46 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 90*2=180, Resulting Numbers: [180] 180,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[90, 27], Operations: ['96-69=27', '54-27=27'] Exploring Operation: 90+27=117, Resulting Numbers: [117] 117,46 unequal: No Solution Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 90*27=2430, Resulting Numbers: [2430] 2430,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[54, 117], Operations: ['96-69=27', '90+27=117'] Exploring Operation: 117-54=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 54+117=171, Resulting Numbers: [171] 171,46 unequal: No Solution Exploring Operation: 54*117=6318, Resulting Numbers: [6318] 6318,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[54, 96, 21], Operations: ['90-69=21'] Exploring Operation: 96-54=42, Resulting Numbers: [21, 42] Generated Node #0,4,0: 46:[21, 42] Operation: 96-54=42 Exploring Operation: 54+21=75, Resulting Numbers: [96, 75] Generated Node #0,4,1: 46:[96, 75] Operation: 54+21=75 Exploring Operation: 54-21=33, Resulting Numbers: [96, 33] Generated Node #0,4,2: 46:[96, 33] Operation: 54-21=33 Exploring Operation: 96+21=117, Resulting Numbers: [54, 117] Generated Node #0,4,3: 46:[54, 117] Operation: 96+21=117 Exploring Operation: 96-21=75, Resulting Numbers: [54, 75] Generated Node #0,4,4: 46:[54, 75] Operation: 96-21=75 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 46:[21, 42], Operations: ['90-69=21', '96-54=42'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 21*42=882, Resulting Numbers: [882] 882,46 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 46:[54, 75], Operations: ['90-69=21', '96-21=75'] Exploring Operation: 54+75=129, Resulting Numbers: [129] 129,46 unequal: No Solution Exploring Operation: 54*75=4050, Resulting Numbers: [4050] 4050,46 unequal: No Solution Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 46:[96, 33], Operations: ['90-69=21', '54-21=33'] Exploring Operation: 96+33=129, Resulting Numbers: [129] 129,46 unequal: No Solution Exploring Operation: 96-33=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 96*33=3168, Resulting Numbers: [3168] 3168,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 46:[96, 75], Operations: ['90-69=21', '54+21=75'] Exploring Operation: 96+75=171, Resulting Numbers: [171] 171,46 unequal: No Solution Exploring Operation: 96*75=7200, Resulting Numbers: [7200] 7200,46 unequal: No Solution Exploring Operation: 96-75=21, Resulting Numbers: [21] 21,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 46:[54, 117], Operations: ['90-69=21', '96+21=117'] Exploring Operation: 54*117=6318, Resulting Numbers: [6318] 6318,46 unequal: No Solution Exploring Operation: 117-54=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 54+117=171, Resulting Numbers: [171] 171,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:[90, 69, 42], Operations: ['96-54=42'] Exploring Operation: 90-69=21, Resulting Numbers: [42, 21] Generated Node #0,1,0: 46:[42, 21] Operation: 90-69=21 Exploring Operation: 90-42=48, Resulting Numbers: [69, 48] Generated Node #0,1,1: 46:[69, 48] Operation: 90-42=48 Exploring Operation: 69-42=27, Resulting Numbers: [90, 27] Generated Node #0,1,2: 46:[90, 27] Operation: 69-42=27 Exploring Operation: 69+42=111, Resulting Numbers: [90, 111] Generated Node #0,1,3: 46:[90, 111] Operation: 69+42=111 Exploring Operation: 90+42=132, Resulting Numbers: [69, 132] Generated Node #0,1,4: 46:[69, 132] Operation: 90+42=132 Moving to Node #0,1,0 Current State: 46:[42, 21], Operations: ['96-54=42', '90-69=21'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 42*21=882, Resulting Numbers: [882] 882,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[69, 48], Operations: ['96-54=42', '90-42=48'] Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,46 unequal: No Solution Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,46 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[90, 27], Operations: ['96-54=42', '69-42=27'] Exploring Operation: 90+27=117, Resulting Numbers: [117] 117,46 unequal: No Solution Exploring Operation: 90*27=2430, Resulting Numbers: [2430] 2430,46 unequal: No Solution Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[90, 111], Operations: ['96-54=42', '69+42=111'] Exploring Operation: 90*111=9990, Resulting Numbers: [9990] 9990,46 unequal: No Solution Exploring Operation: 111-90=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 90+111=201, Resulting Numbers: [201] 201,46 unequal: No Solution Moving to Node #0,1,4 Current State: 46:[69, 132], Operations: ['96-54=42', '90+42=132'] Exploring Operation: 132-69=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 69+132=201, Resulting Numbers: [201] 201,46 unequal: No Solution Exploring Operation: 69*132=9108, Resulting Numbers: [9108] 9108,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,0 Current State: 46:[96, 69, 36], Operations: ['90-54=36'] Exploring Operation: 96-36=60, Resulting Numbers: [69, 60] Generated Node #0,0,0: 46:[69, 60] Operation: 96-36=60 Exploring Operation: 69-36=33, Resulting Numbers: [96, 33] Generated Node #0,0,1: 46:[96, 33] Operation: 69-36=33 Exploring Operation: 96+36=132, Resulting Numbers: [69, 132] Generated Node #0,0,2: 46:[69, 132] Operation: 96+36=132 Exploring Operation: 96-69=27, Resulting Numbers: [36, 27] Generated Node #0,0,3: 46:[36, 27] Operation: 96-69=27 Exploring Operation: 69+36=105, Resulting Numbers: [96, 105] Generated Node #0,0,4: 46:[96, 105] Operation: 69+36=105 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 46:[36, 27], Operations: ['90-54=36', '96-69=27'] Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,46 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[69, 60], Operations: ['90-54=36', '96-36=60'] Exploring Operation: 69+60=129, Resulting Numbers: [129] 129,46 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 69*60=4140, Resulting Numbers: [4140] 4140,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[96, 33], Operations: ['90-54=36', '69-36=33'] Exploring Operation: 96+33=129, Resulting Numbers: [129] 129,46 unequal: No Solution Exploring Operation: 96*33=3168, Resulting Numbers: [3168] 3168,46 unequal: No Solution Exploring Operation: 96-33=63, Resulting Numbers: [63] 63,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 46:[69, 132], Operations: ['90-54=36', '96+36=132'] Exploring Operation: 132-69=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 69*132=9108, Resulting Numbers: [9108] 9108,46 unequal: No Solution Exploring Operation: 69+132=201, Resulting Numbers: [201] 201,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 46:[96, 105], Operations: ['90-54=36', '69+36=105'] Exploring Operation: 96+105=201, Resulting Numbers: [201] 201,46 unequal: No Solution Exploring Operation: 105-96=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 96*105=10080, Resulting Numbers: [10080] 10080,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 2, 83, 99, 45 ]
56
[ "99-45=54", "54/2=27", "83-27=56" ]
Current State: 56:[2, 83, 99, 45], Operations: [] Exploring Operation: 99-45=54, Resulting Numbers: [2, 83, 54] Generated Node #2: [2, 83, 54] from Operation: 99-45=54 Current State: 56:[2, 83, 54], Operations: ['99-45=54'] Exploring Operation: 54/2=27, Resulting Numbers: [83, 27] Generated Node #3: [83, 27] from Operation: 54/2=27 Current State: 56:[83, 27], Operations: ['99-45=54', '54/2=27'] Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[2, 83, 99, 45], Operations: [] Exploring Operation: 99-2=97, Resulting Numbers: [83, 45, 97] Generated Node #0,0: 56:[83, 45, 97] Operation: 99-2=97 Exploring Operation: 83-45=38, Resulting Numbers: [2, 99, 38] Generated Node #0,1: 56:[2, 99, 38] Operation: 83-45=38 Exploring Operation: 99-45=54, Resulting Numbers: [2, 83, 54] Generated Node #0,2: 56:[2, 83, 54] Operation: 99-45=54 Exploring Operation: 99-83=16, Resulting Numbers: [2, 45, 16] Generated Node #0,3: 56:[2, 45, 16] Operation: 99-83=16 Exploring Operation: 83-2=81, Resulting Numbers: [99, 45, 81] Generated Node #0,4: 56:[99, 45, 81] Operation: 83-2=81 Moving to Node #0,3 Current State: 56:[2, 45, 16], Operations: ['99-83=16'] Exploring Operation: 16-2=14, Resulting Numbers: [45, 14] Generated Node #0,3,0: 56:[45, 14] Operation: 16-2=14 Exploring Operation: 45-16=29, Resulting Numbers: [2, 29] Generated Node #0,3,1: 56:[2, 29] Operation: 45-16=29 Exploring Operation: 16/2=8, Resulting Numbers: [45, 8] Generated Node #0,3,2: 56:[45, 8] Operation: 16/2=8 Exploring Operation: 2+45=47, Resulting Numbers: [16, 47] Generated Node #0,3,3: 56:[16, 47] Operation: 2+45=47 Exploring Operation: 45+16=61, Resulting Numbers: [2, 61] Generated Node #0,3,4: 56:[2, 61] Operation: 45+16=61 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 56:[2, 29], Operations: ['99-83=16', '45-16=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 56:[2, 61], Operations: ['99-83=16', '45+16=61'] Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,56 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[45, 14], Operations: ['99-83=16', '16-2=14'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 45*14=630, Resulting Numbers: [630] 630,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 56:[45, 8], Operations: ['99-83=16', '16/2=8'] Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,56 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[16, 47], Operations: ['99-83=16', '2+45=47'] Exploring Operation: 16+47=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 16*47=752, Resulting Numbers: [752] 752,56 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: 56:[2, 83, 54], Operations: ['99-45=54'] Exploring Operation: 83-2=81, Resulting Numbers: [54, 81] Generated Node #0,2,0: 56:[54, 81] Operation: 83-2=81 Exploring Operation: 54/2=27, Resulting Numbers: [83, 27] Generated Node #0,2,1: 56:[83, 27] Operation: 54/2=27 Exploring Operation: 83-54=29, Resulting Numbers: [2, 29] Generated Node #0,2,2: 56:[2, 29] Operation: 83-54=29 Exploring Operation: 2+83=85, Resulting Numbers: [54, 85] Generated Node #0,2,3: 56:[54, 85] Operation: 2+83=85 Exploring Operation: 2+54=56, Resulting Numbers: [83, 56] Generated Node #0,2,4: 56:[83, 56] Operation: 2+54=56 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[2, 29], Operations: ['99-45=54', '83-54=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[54, 81], Operations: ['99-45=54', '83-2=81'] Exploring Operation: 54+81=135, Resulting Numbers: [135] 135,56 unequal: No Solution Exploring Operation: 81-54=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 54*81=4374, Resulting Numbers: [4374] 4374,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 56:[83, 56], Operations: ['99-45=54', '2+54=56'] Exploring Operation: 83+56=139, Resulting Numbers: [139] 139,56 unequal: No Solution Exploring Operation: 83*56=4648, Resulting Numbers: [4648] 4648,56 unequal: No Solution Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[83, 27], Operations: ['99-45=54', '54/2=27'] Exploring Operation: 83+27=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[2, 83, 99, 45], Operations: [] Exploring Operation: 99-45=54, Resulting Numbers: [2, 83, 54] Generated Node #0,2: 56:[2, 83, 54] Operation: 99-45=54 Moving to Node #0,2 Current State: 56:[2, 83, 54], Operations: ['99-45=54'] Exploring Operation: 54/2=27, Resulting Numbers: [83, 27] Generated Node #0,2,1: 56:[83, 27] Operation: 54/2=27 Moving to Node #0,2,1 Current State: 56:[83, 27], Operations: ['99-45=54', '54/2=27'] Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 72, 76, 2, 56 ]
95
[ "72-2=70", "76*70=5320", "5320/56=95" ]
Current State: 95:[72, 76, 2, 56], Operations: [] Exploring Operation: 72-2=70, Resulting Numbers: [76, 56, 70] Generated Node #2: [76, 56, 70] from Operation: 72-2=70 Current State: 95:[76, 56, 70], Operations: ['72-2=70'] Exploring Operation: 76*70=5320, Resulting Numbers: [56, 5320] Generated Node #3: [56, 5320] from Operation: 76*70=5320 Current State: 95:[56, 5320], Operations: ['72-2=70', '76*70=5320'] Exploring Operation: 5320/56=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[72, 76, 2, 56], Operations: [] Exploring Operation: 72-56=16, Resulting Numbers: [76, 2, 16] Generated Node #0,0: 95:[76, 2, 16] Operation: 72-56=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[76, 2, 16], Operations: ['72-56=16'] Exploring Operation: 76+16=92, Resulting Numbers: [2, 92] Generated Node #0,0,0: 95:[2, 92] Operation: 76+16=92 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[2, 92], Operations: ['72-56=16', '76+16=92'] Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,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
mult_heuristic
[ 12, 51, 96, 84 ]
93
[ "96-84=12", "12*12=144", "144-51=93" ]
Current State: 93:[12, 51, 96, 84], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [12, 51, 12] Generated Node #2: [12, 51, 12] from Operation: 96-84=12 Current State: 93:[12, 51, 12], Operations: ['96-84=12'] Exploring Operation: 12*12=144, Resulting Numbers: [51, 144] Generated Node #3: [51, 144] from Operation: 12*12=144 Current State: 93:[51, 144], Operations: ['96-84=12', '12*12=144'] Exploring Operation: 144-51=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[12, 51, 96, 84], Operations: [] Exploring Operation: 51-12=39, Resulting Numbers: [96, 84, 39] Generated Node #0,0: 93:[96, 84, 39] Operation: 51-12=39 Exploring Operation: 12+84=96, Resulting Numbers: [51, 96, 96] Generated Node #0,1: 93:[51, 96, 96] Operation: 12+84=96 Exploring Operation: 84-51=33, Resulting Numbers: [12, 96, 33] Generated Node #0,2: 93:[12, 96, 33] Operation: 84-51=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[12, 96, 33], Operations: ['84-51=33'] Exploring Operation: 33-12=21, Resulting Numbers: [96, 21] Generated Node #0,2,0: 93:[96, 21] Operation: 33-12=21 Exploring Operation: 96-12=84, Resulting Numbers: [33, 84] Generated Node #0,2,1: 93:[33, 84] Operation: 96-12=84 Exploring Operation: 96/12=8, Resulting Numbers: [33, 8] Generated Node #0,2,2: 93:[33, 8] Operation: 96/12=8 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[33, 8], Operations: ['84-51=33', '96/12=8'] Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,93 unequal: No Solution Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,93 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[33, 84], Operations: ['84-51=33', '96-12=84'] Exploring Operation: 33*84=2772, Resulting Numbers: [2772] 2772,93 unequal: No Solution Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,93 unequal: No Solution Exploring Operation: 33+84=117, Resulting Numbers: [117] 117,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[96, 21], Operations: ['84-51=33', '33-12=21'] Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,93 unequal: No Solution Exploring Operation: 96*21=2016, Resulting Numbers: [2016] 2016,93 unequal: No Solution Exploring Operation: 96+21=117, Resulting Numbers: [117] 117,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[96, 84, 39], Operations: ['51-12=39'] Exploring Operation: 84+39=123, Resulting Numbers: [96, 123] Generated Node #0,0,0: 93:[96, 123] Operation: 84+39=123 Exploring Operation: 96-84=12, Resulting Numbers: [39, 12] Generated Node #0,0,1: 93:[39, 12] Operation: 96-84=12 Exploring Operation: 84-39=45, Resulting Numbers: [96, 45] Generated Node #0,0,2: 93:[96, 45] Operation: 84-39=45 Moving to Node #0,0,1 Current State: 93:[39, 12], Operations: ['51-12=39', '96-84=12'] Exploring Operation: 39*12=468, Resulting Numbers: [468] 468,93 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 39+12=51, Resulting Numbers: [51] 51,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[96, 45], Operations: ['51-12=39', '84-39=45'] Exploring Operation: 96+45=141, Resulting Numbers: [141] 141,93 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,93 unequal: No Solution Exploring Operation: 96*45=4320, Resulting Numbers: [4320] 4320,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[96, 123], Operations: ['51-12=39', '84+39=123'] Exploring Operation: 123-96=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 96*123=11808, Resulting Numbers: [11808] 11808,93 unequal: No Solution Exploring Operation: 96+123=219, Resulting Numbers: [219] 219,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[51, 96, 96], Operations: ['12+84=96'] Exploring Operation: 96-51=45, Resulting Numbers: [96, 45] Generated Node #0,1,0: 93:[96, 45] Operation: 96-51=45 Exploring Operation: 96/96=1, Resulting Numbers: [51, 1] Generated Node #0,1,1: 93:[51, 1] Operation: 96/96=1 Exploring Operation: 96-51=45, Resulting Numbers: [96, 45] Generated Node #0,1,2: 93:[96, 45] Operation: 96-51=45 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[96, 45], Operations: ['12+84=96', '96-51=45'] Exploring Operation: 96+45=141, Resulting Numbers: [141] 141,93 unequal: No Solution Exploring Operation: 96*45=4320, Resulting Numbers: [4320] 4320,93 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[96, 45], Operations: ['12+84=96', '96-51=45'] Exploring Operation: 96+45=141, Resulting Numbers: [141] 141,93 unequal: No Solution Exploring Operation: 96*45=4320, Resulting Numbers: [4320] 4320,93 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[51, 1], Operations: ['12+84=96', '96/96=1'] Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,93 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 7, 43, 24, 71 ]
45
[ "7+43=50", "24+71=95", "95-50=45" ]
Current State: 45:[7, 43, 24, 71], Operations: [] Exploring Operation: 7+43=50, Resulting Numbers: [24, 71, 50] Generated Node #2: [24, 71, 50] from Operation: 7+43=50 Current State: 45:[24, 71, 50], Operations: ['7+43=50'] Exploring Operation: 24+71=95, Resulting Numbers: [50, 95] Generated Node #3: [50, 95] from Operation: 24+71=95 Current State: 45:[50, 95], Operations: ['7+43=50', '24+71=95'] Exploring Operation: 95-50=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[7, 43, 24, 71], Operations: [] Exploring Operation: 71-7=64, Resulting Numbers: [43, 24, 64] Generated Node #0,0: 45:[43, 24, 64] Operation: 71-7=64 Exploring Operation: 71-43=28, Resulting Numbers: [7, 24, 28] Generated Node #0,1: 45:[7, 24, 28] Operation: 71-43=28 Exploring Operation: 71-24=47, Resulting Numbers: [7, 43, 47] Generated Node #0,2: 45:[7, 43, 47] Operation: 71-24=47 Exploring Operation: 43-24=19, Resulting Numbers: [7, 71, 19] Generated Node #0,3: 45:[7, 71, 19] Operation: 43-24=19 Exploring Operation: 24-7=17, Resulting Numbers: [43, 71, 17] Generated Node #0,4: 45:[43, 71, 17] Operation: 24-7=17 Moving to Node #0,2 Current State: 45:[7, 43, 47], Operations: ['71-24=47'] Exploring Operation: 43-7=36, Resulting Numbers: [47, 36] Generated Node #0,2,0: 45:[47, 36] Operation: 43-7=36 Exploring Operation: 7+43=50, Resulting Numbers: [47, 50] Generated Node #0,2,1: 45:[47, 50] Operation: 7+43=50 Exploring Operation: 47-7=40, Resulting Numbers: [43, 40] Generated Node #0,2,2: 45:[43, 40] Operation: 47-7=40 Exploring Operation: 7+47=54, Resulting Numbers: [43, 54] Generated Node #0,2,3: 45:[43, 54] Operation: 7+47=54 Exploring Operation: 47-43=4, Resulting Numbers: [7, 4] Generated Node #0,2,4: 45:[7, 4] Operation: 47-43=4 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 45:[7, 4], Operations: ['71-24=47', '47-43=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[47, 50], Operations: ['71-24=47', '7+43=50'] Exploring Operation: 47+50=97, Resulting Numbers: [97] 97,45 unequal: No Solution Exploring Operation: 47*50=2350, Resulting Numbers: [2350] 2350,45 unequal: No Solution Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[43, 40], Operations: ['71-24=47', '47-7=40'] Exploring Operation: 43+40=83, Resulting Numbers: [83] 83,45 unequal: No Solution Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 43*40=1720, Resulting Numbers: [1720] 1720,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[47, 36], Operations: ['71-24=47', '43-7=36'] Exploring Operation: 47*36=1692, Resulting Numbers: [1692] 1692,45 unequal: No Solution Exploring Operation: 47+36=83, Resulting Numbers: [83] 83,45 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[43, 54], Operations: ['71-24=47', '7+47=54'] Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 43+54=97, Resulting Numbers: [97] 97,45 unequal: No Solution Exploring Operation: 43*54=2322, Resulting Numbers: [2322] 2322,45 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: 45:[7, 24, 28], Operations: ['71-43=28'] Exploring Operation: 24+28=52, Resulting Numbers: [7, 52] Generated Node #0,1,0: 45:[7, 52] Operation: 24+28=52 Exploring Operation: 28-7=21, Resulting Numbers: [24, 21] Generated Node #0,1,1: 45:[24, 21] Operation: 28-7=21 Exploring Operation: 28/7=4, Resulting Numbers: [24, 4] Generated Node #0,1,2: 45:[24, 4] Operation: 28/7=4 Exploring Operation: 24-7=17, Resulting Numbers: [28, 17] Generated Node #0,1,3: 45:[28, 17] Operation: 24-7=17 Exploring Operation: 28-24=4, Resulting Numbers: [7, 4] Generated Node #0,1,4: 45:[7, 4] Operation: 28-24=4 Moving to Node #0,0 Current State: 45:[43, 24, 64], Operations: ['71-7=64'] Exploring Operation: 64-43=21, Resulting Numbers: [24, 21] Generated Node #0,0,0: 45:[24, 21] Operation: 64-43=21 Exploring Operation: 64-24=40, Resulting Numbers: [43, 40] Generated Node #0,0,1: 45:[43, 40] Operation: 64-24=40 Exploring Operation: 43-24=19, Resulting Numbers: [64, 19] Generated Node #0,0,2: 45:[64, 19] Operation: 43-24=19 Exploring Operation: 43+24=67, Resulting Numbers: [64, 67] Generated Node #0,0,3: 45:[64, 67] Operation: 43+24=67 Exploring Operation: 24+64=88, Resulting Numbers: [43, 88] Generated Node #0,0,4: 45:[43, 88] Operation: 24+64=88 Moving to Node #0,4 Current State: 45:[43, 71, 17], Operations: ['24-7=17'] Exploring Operation: 43-17=26, Resulting Numbers: [71, 26] Generated Node #0,4,0: 45:[71, 26] Operation: 43-17=26 Exploring Operation: 71-17=54, Resulting Numbers: [43, 54] Generated Node #0,4,1: 45:[43, 54] Operation: 71-17=54 Exploring Operation: 43+17=60, Resulting Numbers: [71, 60] Generated Node #0,4,2: 45:[71, 60] Operation: 43+17=60 Exploring Operation: 71+17=88, Resulting Numbers: [43, 88] Generated Node #0,4,3: 45:[43, 88] Operation: 71+17=88 Exploring Operation: 71-43=28, Resulting Numbers: [17, 28] Generated Node #0,4,4: 45:[17, 28] Operation: 71-43=28 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 45:[43, 54], Operations: ['24-7=17', '71-17=54'] Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 43*54=2322, Resulting Numbers: [2322] 2322,45 unequal: No Solution Exploring Operation: 43+54=97, Resulting Numbers: [97] 97,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 45:[17, 28], Operations: ['24-7=17', '71-43=28'] Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[7, 43, 24, 71], Operations: [] Exploring Operation: 24-7=17, Resulting Numbers: [43, 71, 17] Generated Node #0,4: 45:[43, 71, 17] Operation: 24-7=17 Moving to Node #0,4 Current State: 45:[43, 71, 17], Operations: ['24-7=17'] Exploring Operation: 71-43=28, Resulting Numbers: [17, 28] Generated Node #0,4,4: 45:[17, 28] Operation: 71-43=28 Moving to Node #0,4,4 Current State: 45:[17, 28], Operations: ['24-7=17', '71-43=28'] Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_5
sum_heuristic
[ 56, 24, 26, 15 ]
82
[ "56-15=41", "26-24=2", "41*2=82" ]
Current State: 82:[56, 24, 26, 15], Operations: [] Exploring Operation: 56-15=41, Resulting Numbers: [24, 26, 41] Generated Node #2: [24, 26, 41] from Operation: 56-15=41 Current State: 82:[24, 26, 41], Operations: ['56-15=41'] Exploring Operation: 26-24=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 26-24=2 Current State: 82:[41, 2], Operations: ['56-15=41', '26-24=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[56, 24, 26, 15], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [56, 15, 2] Generated Node #0,0: 82:[56, 15, 2] Operation: 26-24=2 Exploring Operation: 56-15=41, Resulting Numbers: [24, 26, 41] Generated Node #0,1: 82:[24, 26, 41] Operation: 56-15=41 Exploring Operation: 56+24=80, Resulting Numbers: [26, 15, 80] Generated Node #0,2: 82:[26, 15, 80] Operation: 56+24=80 Exploring Operation: 56+26=82, Resulting Numbers: [24, 15, 82] Generated Node #0,3: 82:[24, 15, 82] Operation: 56+26=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[56, 15, 2], Operations: ['26-24=2'] Exploring Operation: 56+15=71, Resulting Numbers: [2, 71] Generated Node #0,0,0: 82:[2, 71] Operation: 56+15=71 Exploring Operation: 56-15=41, Resulting Numbers: [2, 41] Generated Node #0,0,1: 82:[2, 41] Operation: 56-15=41 Exploring Operation: 56-2=54, Resulting Numbers: [15, 54] Generated Node #0,0,2: 82:[15, 54] Operation: 56-2=54 Exploring Operation: 56/2=28, Resulting Numbers: [15, 28] Generated Node #0,0,3: 82:[15, 28] Operation: 56/2=28 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[2, 41], Operations: ['26-24=2', '56-15=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[56, 24, 26, 15], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [56, 15, 2] Generated Node #0,0: 82:[56, 15, 2] Operation: 26-24=2 Moving to Node #0,0 Current State: 82:[56, 15, 2], Operations: ['26-24=2'] Exploring Operation: 56-15=41, Resulting Numbers: [2, 41] Generated Node #0,0,1: 82:[2, 41] Operation: 56-15=41 Moving to Node #0,0,1 Current State: 82:[2, 41], Operations: ['26-24=2', '56-15=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 57, 25, 19, 50 ]
74
[ "57+19=76", "50/25=2", "76-2=74" ]
Current State: 74:[57, 25, 19, 50], Operations: [] Exploring Operation: 57+19=76, Resulting Numbers: [25, 50, 76] Generated Node #2: [25, 50, 76] from Operation: 57+19=76 Current State: 74:[25, 50, 76], Operations: ['57+19=76'] Exploring Operation: 50/25=2, Resulting Numbers: [76, 2] Generated Node #3: [76, 2] from Operation: 50/25=2 Current State: 74:[76, 2], Operations: ['57+19=76', '50/25=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[57, 25, 19, 50], Operations: [] Exploring Operation: 57-50=7, Resulting Numbers: [25, 19, 7] Generated Node #0,0: 74:[25, 19, 7] Operation: 57-50=7 Exploring Operation: 57/19=3, Resulting Numbers: [25, 50, 3] Generated Node #0,1: 74:[25, 50, 3] Operation: 57/19=3 Exploring Operation: 57-19=38, Resulting Numbers: [25, 50, 38] Generated Node #0,2: 74:[25, 50, 38] Operation: 57-19=38 Exploring Operation: 25-19=6, Resulting Numbers: [57, 50, 6] Generated Node #0,3: 74:[57, 50, 6] Operation: 25-19=6 Exploring Operation: 57+19=76, Resulting Numbers: [25, 50, 76] Generated Node #0,4: 74:[25, 50, 76] Operation: 57+19=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[25, 50, 3], Operations: ['57/19=3'] Exploring Operation: 25*3=75, Resulting Numbers: [50, 75] Generated Node #0,1,0: 74:[50, 75] Operation: 25*3=75 Exploring Operation: 25+50=75, Resulting Numbers: [3, 75] Generated Node #0,1,1: 74:[3, 75] Operation: 25+50=75 Exploring Operation: 50/25=2, Resulting Numbers: [3, 2] Generated Node #0,1,2: 74:[3, 2] Operation: 50/25=2 Exploring Operation: 50-25=25, Resulting Numbers: [3, 25] Generated Node #0,1,3: 74:[3, 25] Operation: 50-25=25 Exploring Operation: 25+3=28, Resulting Numbers: [50, 28] Generated Node #0,1,4: 74:[50, 28] Operation: 25+3=28 Moving to Node #0,1,2 Current State: 74:[3, 2], Operations: ['57/19=3', '50/25=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[3, 75], Operations: ['57/19=3', '25+50=75'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,74 unequal: No Solution Exploring Operation: 3*75=225, Resulting Numbers: [225] 225,74 unequal: No Solution Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[3, 25], Operations: ['57/19=3', '50-25=25'] Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[50, 75], Operations: ['57/19=3', '25*3=75'] Exploring Operation: 50+75=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 75-50=25, Resulting Numbers: [25] 25,74 unequal: No Solution Exploring Operation: 50*75=3750, Resulting Numbers: [3750] 3750,74 unequal: No Solution Moving to Node #0,1,4 Current State: 74:[50, 28], Operations: ['57/19=3', '25+3=28'] Exploring Operation: 50*28=1400, Resulting Numbers: [1400] 1400,74 unequal: No Solution Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 50+28=78, Resulting Numbers: [78] 78,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[25, 50, 38], Operations: ['57-19=38'] Exploring Operation: 50/25=2, Resulting Numbers: [38, 2] Generated Node #0,2,0: 74:[38, 2] Operation: 50/25=2 Exploring Operation: 50-38=12, Resulting Numbers: [25, 12] Generated Node #0,2,1: 74:[25, 12] Operation: 50-38=12 Exploring Operation: 50-25=25, Resulting Numbers: [38, 25] Generated Node #0,2,2: 74:[38, 25] Operation: 50-25=25 Exploring Operation: 25+38=63, Resulting Numbers: [50, 63] Generated Node #0,2,3: 74:[50, 63] Operation: 25+38=63 Exploring Operation: 25+50=75, Resulting Numbers: [38, 75] Generated Node #0,2,4: 74:[38, 75] Operation: 25+50=75 Moving to Node #0,2,0 Current State: 74:[38, 2], Operations: ['57-19=38', '50/25=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,74 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,74 unequal: No Solution Moving to Node #0,2,4 Current State: 74:[38, 75], Operations: ['57-19=38', '25+50=75'] Exploring Operation: 38*75=2850, Resulting Numbers: [2850] 2850,74 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 38+75=113, Resulting Numbers: [113] 113,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[38, 25], Operations: ['57-19=38', '50-25=25'] Exploring Operation: 38*25=950, Resulting Numbers: [950] 950,74 unequal: No Solution Exploring Operation: 38+25=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[25, 12], Operations: ['57-19=38', '50-38=12'] Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,74 unequal: No Solution Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[50, 63], Operations: ['57-19=38', '25+38=63'] Exploring Operation: 50*63=3150, Resulting Numbers: [3150] 3150,74 unequal: No Solution Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,74 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 74:[25, 50, 76], Operations: ['57+19=76'] Exploring Operation: 76-25=51, Resulting Numbers: [50, 51] Generated Node #0,4,0: 74:[50, 51] Operation: 76-25=51 Exploring Operation: 50-25=25, Resulting Numbers: [76, 25] Generated Node #0,4,1: 74:[76, 25] Operation: 50-25=25 Exploring Operation: 76-50=26, Resulting Numbers: [25, 26] Generated Node #0,4,2: 74:[25, 26] Operation: 76-50=26 Exploring Operation: 50/25=2, Resulting Numbers: [76, 2] Generated Node #0,4,3: 74:[76, 2] Operation: 50/25=2 Exploring Operation: 25+50=75, Resulting Numbers: [76, 75] Generated Node #0,4,4: 74:[76, 75] Operation: 25+50=75 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 74:[76, 2], Operations: ['57+19=76', '50/25=2'] Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,74 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[57, 25, 19, 50], Operations: [] Exploring Operation: 57+19=76, Resulting Numbers: [25, 50, 76] Generated Node #0,4: 74:[25, 50, 76] Operation: 57+19=76 Moving to Node #0,4 Current State: 74:[25, 50, 76], Operations: ['57+19=76'] Exploring Operation: 50/25=2, Resulting Numbers: [76, 2] Generated Node #0,4,3: 74:[76, 2] Operation: 50/25=2 Moving to Node #0,4,3 Current State: 74:[76, 2], Operations: ['57+19=76', '50/25=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.949653
hs_5
sum_heuristic
[ 13, 71, 11, 42 ]
13
[ "13+71=84", "84/42=2", "11+2=13" ]
Current State: 13:[13, 71, 11, 42], Operations: [] Exploring Operation: 13+71=84, Resulting Numbers: [11, 42, 84] Generated Node #2: [11, 42, 84] from Operation: 13+71=84 Current State: 13:[11, 42, 84], Operations: ['13+71=84'] Exploring Operation: 84/42=2, Resulting Numbers: [11, 2] Generated Node #3: [11, 2] from Operation: 84/42=2 Current State: 13:[11, 2], Operations: ['13+71=84', '84/42=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[13, 71, 11, 42], Operations: [] Exploring Operation: 71-42=29, Resulting Numbers: [13, 11, 29] Generated Node #0,0: 13:[13, 11, 29] Operation: 71-42=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[13, 11, 29], Operations: ['71-42=29'] Exploring Operation: 29-13=16, Resulting Numbers: [11, 16] Generated Node #0,0,0: 13:[11, 16] Operation: 29-13=16 Moving to Node #0,0,0 Current State: 13:[11, 16], Operations: ['71-42=29', '29-13=16'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 73, 63, 78, 19 ]
87
[ "73-63=10", "78+19=97", "97-10=87" ]
Current State: 87:[73, 63, 78, 19], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [78, 19, 10] Generated Node #2: [78, 19, 10] from Operation: 73-63=10 Current State: 87:[78, 19, 10], Operations: ['73-63=10'] Exploring Operation: 78+19=97, Resulting Numbers: [10, 97] Generated Node #3: [10, 97] from Operation: 78+19=97 Current State: 87:[10, 97], Operations: ['73-63=10', '78+19=97'] Exploring Operation: 97-10=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[73, 63, 78, 19], Operations: [] Exploring Operation: 78-63=15, Resulting Numbers: [73, 19, 15] Generated Node #0,0: 87:[73, 19, 15] Operation: 78-63=15 Exploring Operation: 73-63=10, Resulting Numbers: [78, 19, 10] Generated Node #0,1: 87:[78, 19, 10] Operation: 73-63=10 Exploring Operation: 63+19=82, Resulting Numbers: [73, 78, 82] Generated Node #0,2: 87:[73, 78, 82] Operation: 63+19=82 Exploring Operation: 78-73=5, Resulting Numbers: [63, 19, 5] Generated Node #0,3: 87:[63, 19, 5] Operation: 78-73=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[78, 19, 10], Operations: ['73-63=10'] Exploring Operation: 78+19=97, Resulting Numbers: [10, 97] Generated Node #0,1,0: 87:[10, 97] Operation: 78+19=97 Exploring Operation: 19+10=29, Resulting Numbers: [78, 29] Generated Node #0,1,1: 87:[78, 29] Operation: 19+10=29 Exploring Operation: 78+10=88, Resulting Numbers: [19, 88] Generated Node #0,1,2: 87:[19, 88] Operation: 78+10=88 Exploring Operation: 19-10=9, Resulting Numbers: [78, 9] Generated Node #0,1,3: 87:[78, 9] Operation: 19-10=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[78, 29], Operations: ['73-63=10', '19+10=29'] Exploring Operation: 78-29=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 78+29=107, Resulting Numbers: [107] 107,87 unequal: No Solution Exploring Operation: 78*29=2262, Resulting Numbers: [2262] 2262,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[19, 88], Operations: ['73-63=10', '78+10=88'] Exploring Operation: 88-19=69, Resulting Numbers: [69] 69,87 unequal: No Solution Exploring Operation: 19+88=107, Resulting Numbers: [107] 107,87 unequal: No Solution Exploring Operation: 19*88=1672, Resulting Numbers: [1672] 1672,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 87:[78, 9], Operations: ['73-63=10', '19-10=9'] Exploring Operation: 78*9=702, Resulting Numbers: [702] 702,87 unequal: No Solution Exploring Operation: 78+9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[73, 63, 78, 19], Operations: [] Exploring Operation: 73-63=10, Resulting Numbers: [78, 19, 10] Generated Node #0,1: 87:[78, 19, 10] Operation: 73-63=10 Moving to Node #0,1 Current State: 87:[78, 19, 10], Operations: ['73-63=10'] Exploring Operation: 19-10=9, Resulting Numbers: [78, 9] Generated Node #0,1,3: 87:[78, 9] Operation: 19-10=9 Moving to Node #0,1,3 Current State: 87:[78, 9], Operations: ['73-63=10', '19-10=9'] Exploring Operation: 78+9=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 78, 3, 48, 52 ]
25
[ "78-3=75", "48+52=100", "100-75=25" ]
Current State: 25:[78, 3, 48, 52], Operations: [] Exploring Operation: 78-3=75, Resulting Numbers: [48, 52, 75] Generated Node #2: [48, 52, 75] from Operation: 78-3=75 Current State: 25:[48, 52, 75], Operations: ['78-3=75'] Exploring Operation: 48+52=100, Resulting Numbers: [75, 100] Generated Node #3: [75, 100] from Operation: 48+52=100 Current State: 25:[75, 100], Operations: ['78-3=75', '48+52=100'] Exploring Operation: 100-75=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[78, 3, 48, 52], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [3, 52, 30] Generated Node #0,0: 25:[3, 52, 30] Operation: 78-48=30 Exploring Operation: 78/3=26, Resulting Numbers: [48, 52, 26] Generated Node #0,1: 25:[48, 52, 26] Operation: 78/3=26 Exploring Operation: 52-48=4, Resulting Numbers: [78, 3, 4] Generated Node #0,2: 25:[78, 3, 4] Operation: 52-48=4 Exploring Operation: 78-52=26, Resulting Numbers: [3, 48, 26] Generated Node #0,3: 25:[3, 48, 26] Operation: 78-52=26 Moving to Node #0,3 Current State: 25:[3, 48, 26], Operations: ['78-52=26'] Exploring Operation: 48-3=45, Resulting Numbers: [26, 45] Generated Node #0,3,0: 25:[26, 45] Operation: 48-3=45 Exploring Operation: 48-26=22, Resulting Numbers: [3, 22] Generated Node #0,3,1: 25:[3, 22] Operation: 48-26=22 Exploring Operation: 48/3=16, Resulting Numbers: [26, 16] Generated Node #0,3,2: 25:[26, 16] Operation: 48/3=16 Exploring Operation: 26-3=23, Resulting Numbers: [48, 23] Generated Node #0,3,3: 25:[48, 23] Operation: 26-3=23 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[3, 22], Operations: ['78-52=26', '48-26=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[78, 3, 48, 52], Operations: [] Exploring Operation: 78-52=26, Resulting Numbers: [3, 48, 26] Generated Node #0,3: 25:[3, 48, 26] Operation: 78-52=26 Moving to Node #0,3 Current State: 25:[3, 48, 26], Operations: ['78-52=26'] Exploring Operation: 48-26=22, Resulting Numbers: [3, 22] Generated Node #0,3,1: 25:[3, 22] Operation: 48-26=22 Moving to Node #0,3,1 Current State: 25:[3, 22], Operations: ['78-52=26', '48-26=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 94, 92, 9, 97 ]
11
[ "94-92=2", "97+2=99", "99/9=11" ]
Current State: 11:[94, 92, 9, 97], Operations: [] Exploring Operation: 94-92=2, Resulting Numbers: [9, 97, 2] Generated Node #2: [9, 97, 2] from Operation: 94-92=2 Current State: 11:[9, 97, 2], Operations: ['94-92=2'] Exploring Operation: 97+2=99, Resulting Numbers: [9, 99] Generated Node #3: [9, 99] from Operation: 97+2=99 Current State: 11:[9, 99], Operations: ['94-92=2', '97+2=99'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[94, 92, 9, 97], Operations: [] Exploring Operation: 97-92=5, Resulting Numbers: [94, 9, 5] Generated Node #0,0: 11:[94, 9, 5] Operation: 97-92=5 Exploring Operation: 97-94=3, Resulting Numbers: [92, 9, 3] Generated Node #0,1: 11:[92, 9, 3] Operation: 97-94=3 Moving to Node #0,0 Current State: 11:[94, 9, 5], Operations: ['97-92=5'] Exploring Operation: 94-9=85, Resulting Numbers: [5, 85] Generated Node #0,0,0: 11:[5, 85] Operation: 94-9=85 Exploring Operation: 94-5=89, Resulting Numbers: [9, 89] Generated Node #0,0,1: 11:[9, 89] Operation: 94-5=89 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[5, 85], Operations: ['97-92=5', '94-9=85'] Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[9, 89], Operations: ['97-92=5', '94-5=89'] Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 9+89=98, Resulting Numbers: [98] 98,11 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: 11:[92, 9, 3], Operations: ['97-94=3'] Exploring Operation: 92-3=89, Resulting Numbers: [9, 89] Generated Node #0,1,0: 11:[9, 89] Operation: 92-3=89 Exploring Operation: 92-9=83, Resulting Numbers: [3, 83] Generated Node #0,1,1: 11:[3, 83] Operation: 92-9=83 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[9, 89], Operations: ['97-94=3', '92-3=89'] Exploring Operation: 9+89=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[3, 83], Operations: ['97-94=3', '92-9=83'] Exploring Operation: 3+83=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,11 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
[ 58, 43, 11, 56 ]
65
[ "58-56=2", "11*2=22", "43+22=65" ]
Current State: 65:[58, 43, 11, 56], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [43, 11, 2] Generated Node #2: [43, 11, 2] from Operation: 58-56=2 Current State: 65:[43, 11, 2], Operations: ['58-56=2'] Exploring Operation: 11*2=22, Resulting Numbers: [43, 22] Generated Node #3: [43, 22] from Operation: 11*2=22 Current State: 65:[43, 22], Operations: ['58-56=2', '11*2=22'] Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[58, 43, 11, 56], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [43, 11, 2] Generated Node #0,0: 65:[43, 11, 2] Operation: 58-56=2 Exploring Operation: 11+56=67, Resulting Numbers: [58, 43, 67] Generated Node #0,1: 65:[58, 43, 67] Operation: 11+56=67 Exploring Operation: 43+11=54, Resulting Numbers: [58, 56, 54] Generated Node #0,2: 65:[58, 56, 54] Operation: 43+11=54 Exploring Operation: 58-43=15, Resulting Numbers: [11, 56, 15] Generated Node #0,3: 65:[11, 56, 15] Operation: 58-43=15 Exploring Operation: 56-43=13, Resulting Numbers: [58, 11, 13] Generated Node #0,4: 65:[58, 11, 13] Operation: 56-43=13 Moving to Node #0,4 Current State: 65:[58, 11, 13], Operations: ['56-43=13'] Exploring Operation: 11+13=24, Resulting Numbers: [58, 24] Generated Node #0,4,0: 65:[58, 24] Operation: 11+13=24 Exploring Operation: 58+11=69, Resulting Numbers: [13, 69] Generated Node #0,4,1: 65:[13, 69] Operation: 58+11=69 Exploring Operation: 58-11=47, Resulting Numbers: [13, 47] Generated Node #0,4,2: 65:[13, 47] Operation: 58-11=47 Exploring Operation: 13-11=2, Resulting Numbers: [58, 2] Generated Node #0,4,3: 65:[58, 2] Operation: 13-11=2 Exploring Operation: 58+13=71, Resulting Numbers: [11, 71] Generated Node #0,4,4: 65:[11, 71] Operation: 58+13=71 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 65:[13, 69], Operations: ['56-43=13', '58+11=69'] Exploring Operation: 13+69=82, Resulting Numbers: [82] 82,65 unequal: No Solution Exploring Operation: 13*69=897, Resulting Numbers: [897] 897,65 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,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,4,4 Current State: 65:[11, 71], Operations: ['56-43=13', '58+13=71'] Exploring Operation: 11*71=781, Resulting Numbers: [781] 781,65 unequal: No Solution Exploring Operation: 11+71=82, Resulting Numbers: [82] 82,65 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,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,4,3 Current State: 65:[58, 2], Operations: ['56-43=13', '13-11=2'] Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,65 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,65 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,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,4,0 Current State: 65:[58, 24], Operations: ['56-43=13', '11+13=24'] Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,65 unequal: No Solution Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 58*24=1392, Resulting Numbers: [1392] 1392,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,4,2 Current State: 65:[13, 47], Operations: ['56-43=13', '58-11=47'] Exploring Operation: 13+47=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 13*47=611, Resulting Numbers: [611] 611,65 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: 65:[11, 56, 15], Operations: ['58-43=15'] Exploring Operation: 56+15=71, Resulting Numbers: [11, 71] Generated Node #0,3,0: 65:[11, 71] Operation: 56+15=71 Exploring Operation: 56-11=45, Resulting Numbers: [15, 45] Generated Node #0,3,1: 65:[15, 45] Operation: 56-11=45 Exploring Operation: 11+15=26, Resulting Numbers: [56, 26] Generated Node #0,3,2: 65:[56, 26] Operation: 11+15=26 Exploring Operation: 15-11=4, Resulting Numbers: [56, 4] Generated Node #0,3,3: 65:[56, 4] Operation: 15-11=4 Exploring Operation: 11+56=67, Resulting Numbers: [15, 67] Generated Node #0,3,4: 65:[15, 67] Operation: 11+56=67 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 65:[15, 67], Operations: ['58-43=15', '11+56=67'] Exploring Operation: 15+67=82, Resulting Numbers: [82] 82,65 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,65 unequal: No Solution Exploring Operation: 15*67=1005, Resulting Numbers: [1005] 1005,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 65:[11, 71], Operations: ['58-43=15', '56+15=71'] Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 11+71=82, Resulting Numbers: [82] 82,65 unequal: No Solution Exploring Operation: 11*71=781, Resulting Numbers: [781] 781,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 65:[56, 4], Operations: ['58-43=15', '15-11=4'] Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,65 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,65 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 65:[15, 45], Operations: ['58-43=15', '56-11=45'] Exploring Operation: 15+45=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 15*45=675, Resulting Numbers: [675] 675,65 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 65:[56, 26], Operations: ['58-43=15', '11+15=26'] Exploring Operation: 56+26=82, Resulting Numbers: [82] 82,65 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,65 unequal: No Solution Exploring Operation: 56*26=1456, Resulting Numbers: [1456] 1456,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:[43, 11, 2], Operations: ['58-56=2'] Exploring Operation: 43-11=32, Resulting Numbers: [2, 32] Generated Node #0,0,0: 65:[2, 32] Operation: 43-11=32 Exploring Operation: 43+2=45, Resulting Numbers: [11, 45] Generated Node #0,0,1: 65:[11, 45] Operation: 43+2=45 Exploring Operation: 43*2=86, Resulting Numbers: [11, 86] Generated Node #0,0,2: 65:[11, 86] Operation: 43*2=86 Exploring Operation: 11+2=13, Resulting Numbers: [43, 13] Generated Node #0,0,3: 65:[43, 13] Operation: 11+2=13 Exploring Operation: 43+11=54, Resulting Numbers: [2, 54] Generated Node #0,0,4: 65:[2, 54] Operation: 43+11=54 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 65:[2, 54], Operations: ['58-56=2', '43+11=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,65 unequal: No Solution Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,65 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,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,0 Current State: 65:[2, 32], Operations: ['58-56=2', '43-11=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,65 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,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,1 Current State: 65:[11, 45], Operations: ['58-56=2', '43+2=45'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 11*45=495, Resulting Numbers: [495] 495,65 unequal: No Solution Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,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,3 Current State: 65:[43, 13], Operations: ['58-56=2', '11+2=13'] Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 43*13=559, Resulting Numbers: [559] 559,65 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,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,2 Current State: 65:[11, 86], Operations: ['58-56=2', '43*2=86'] Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,65 unequal: No Solution Exploring Operation: 11*86=946, Resulting Numbers: [946] 946,65 unequal: No Solution Exploring Operation: 11+86=97, Resulting Numbers: [97] 97,65 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: 65:[58, 56, 54], Operations: ['43+11=54'] Exploring Operation: 56+54=110, Resulting Numbers: [58, 110] Generated Node #0,2,0: 65:[58, 110] Operation: 56+54=110 Exploring Operation: 58-54=4, Resulting Numbers: [56, 4] Generated Node #0,2,1: 65:[56, 4] Operation: 58-54=4 Exploring Operation: 58-56=2, Resulting Numbers: [54, 2] Generated Node #0,2,2: 65:[54, 2] Operation: 58-56=2 Exploring Operation: 56-54=2, Resulting Numbers: [58, 2] Generated Node #0,2,3: 65:[58, 2] Operation: 56-54=2 Exploring Operation: 58+54=112, Resulting Numbers: [56, 112] Generated Node #0,2,4: 65:[56, 112] Operation: 58+54=112 Moving to Node #0,1 Current State: 65:[58, 43, 67], Operations: ['11+56=67'] Exploring Operation: 58+43=101, Resulting Numbers: [67, 101] Generated Node #0,1,0: 65:[67, 101] Operation: 58+43=101 Exploring Operation: 67-58=9, Resulting Numbers: [43, 9] Generated Node #0,1,1: 65:[43, 9] Operation: 67-58=9 Exploring Operation: 43+67=110, Resulting Numbers: [58, 110] Generated Node #0,1,2: 65:[58, 110] Operation: 43+67=110 Exploring Operation: 67-43=24, Resulting Numbers: [58, 24] Generated Node #0,1,3: 65:[58, 24] Operation: 67-43=24 Exploring Operation: 58-43=15, Resulting Numbers: [67, 15] Generated Node #0,1,4: 65:[67, 15] Operation: 58-43=15 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 65:[67, 15], Operations: ['11+56=67', '58-43=15'] Exploring Operation: 67*15=1005, Resulting Numbers: [1005] 1005,65 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,65 unequal: No Solution Exploring Operation: 67+15=82, Resulting Numbers: [82] 82,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,3 Current State: 65:[58, 24], Operations: ['11+56=67', '67-43=24'] Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,65 unequal: No Solution Exploring Operation: 58*24=1392, Resulting Numbers: [1392] 1392,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,1 Current State: 65:[43, 9], Operations: ['11+56=67', '67-58=9'] Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,65 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 43*9=387, Resulting Numbers: [387] 387,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:[67, 101], Operations: ['11+56=67', '58+43=101'] Exploring Operation: 67+101=168, Resulting Numbers: [168] 168,65 unequal: No Solution Exploring Operation: 67*101=6767, Resulting Numbers: [6767] 6767,65 unequal: No Solution Exploring Operation: 101-67=34, Resulting Numbers: [34] 34,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,2 Current State: 65:[58, 110], Operations: ['11+56=67', '43+67=110'] Exploring Operation: 110-58=52, Resulting Numbers: [52] 52,65 unequal: No Solution Exploring Operation: 58+110=168, Resulting Numbers: [168] 168,65 unequal: No Solution Exploring Operation: 58*110=6380, Resulting Numbers: [6380] 6380,65 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: 65:[56, 4], Operations: ['43+11=54', '58-54=4'] Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,65 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[58, 2], Operations: ['43+11=54', '56-54=2'] Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,65 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,65 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[54, 2], Operations: ['43+11=54', '58-56=2'] Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,65 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,65 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,65 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[58, 110], Operations: ['43+11=54', '56+54=110'] Exploring Operation: 58+110=168, Resulting Numbers: [168] 168,65 unequal: No Solution Exploring Operation: 58*110=6380, Resulting Numbers: [6380] 6380,65 unequal: No Solution Exploring Operation: 110-58=52, Resulting Numbers: [52] 52,65 unequal: No Solution Moving to Node #0,2,4 Current State: 65:[56, 112], Operations: ['43+11=54', '58+54=112'] Exploring Operation: 56+112=168, Resulting Numbers: [168] 168,65 unequal: No Solution Exploring Operation: 112/56=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 112-56=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 56*112=6272, Resulting Numbers: [6272] 6272,65 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 98, 23, 37, 51 ]
33
[ "98+23=121", "37+51=88", "121-88=33" ]
Current State: 33:[98, 23, 37, 51], Operations: [] Exploring Operation: 98+23=121, Resulting Numbers: [37, 51, 121] Generated Node #2: [37, 51, 121] from Operation: 98+23=121 Current State: 33:[37, 51, 121], Operations: ['98+23=121'] Exploring Operation: 37+51=88, Resulting Numbers: [121, 88] Generated Node #3: [121, 88] from Operation: 37+51=88 Current State: 33:[121, 88], Operations: ['98+23=121', '37+51=88'] Exploring Operation: 121-88=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[98, 23, 37, 51], Operations: [] Exploring Operation: 98-51=47, Resulting Numbers: [23, 37, 47] Generated Node #0,0: 33:[23, 37, 47] Operation: 98-51=47 Exploring Operation: 98-37=61, Resulting Numbers: [23, 51, 61] Generated Node #0,1: 33:[23, 51, 61] Operation: 98-37=61 Moving to Node #0,0 Current State: 33:[23, 37, 47], Operations: ['98-51=47'] Exploring Operation: 47-37=10, Resulting Numbers: [23, 10] Generated Node #0,0,0: 33:[23, 10] Operation: 47-37=10 Exploring Operation: 47-23=24, Resulting Numbers: [37, 24] Generated Node #0,0,1: 33:[37, 24] Operation: 47-23=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[23, 10], Operations: ['98-51=47', '47-37=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[98, 23, 37, 51], Operations: [] Exploring Operation: 98-51=47, Resulting Numbers: [23, 37, 47] Generated Node #0,0: 33:[23, 37, 47] Operation: 98-51=47 Moving to Node #0,0 Current State: 33:[23, 37, 47], Operations: ['98-51=47'] Exploring Operation: 47-37=10, Resulting Numbers: [23, 10] Generated Node #0,0,0: 33:[23, 10] Operation: 47-37=10 Moving to Node #0,0,0 Current State: 33:[23, 10], Operations: ['98-51=47', '47-37=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 13, 81, 16, 8 ]
40
[ "81-16=65", "65/13=5", "8*5=40" ]
Current State: 40:[13, 81, 16, 8], Operations: [] Exploring Operation: 81-16=65, Resulting Numbers: [13, 8, 65] Generated Node #2: [13, 8, 65] from Operation: 81-16=65 Current State: 40:[13, 8, 65], Operations: ['81-16=65'] Exploring Operation: 65/13=5, Resulting Numbers: [8, 5] Generated Node #3: [8, 5] from Operation: 65/13=5 Current State: 40:[8, 5], Operations: ['81-16=65', '65/13=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[13, 81, 16, 8], Operations: [] Exploring Operation: 81-16=65, Resulting Numbers: [13, 8, 65] Generated Node #0,0: 40:[13, 8, 65] Operation: 81-16=65 Exploring Operation: 81-13=68, Resulting Numbers: [16, 8, 68] Generated Node #0,1: 40:[16, 8, 68] Operation: 81-13=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[13, 8, 65], Operations: ['81-16=65'] Exploring Operation: 65/13=5, Resulting Numbers: [8, 5] Generated Node #0,0,0: 40:[8, 5] Operation: 65/13=5 Exploring Operation: 65-13=52, Resulting Numbers: [8, 52] Generated Node #0,0,1: 40:[8, 52] Operation: 65-13=52 Moving to Node #0,0,0 Current State: 40:[8, 5], Operations: ['81-16=65', '65/13=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[13, 81, 16, 8], Operations: [] Exploring Operation: 81-16=65, Resulting Numbers: [13, 8, 65] Generated Node #0,0: 40:[13, 8, 65] Operation: 81-16=65 Moving to Node #0,0 Current State: 40:[13, 8, 65], Operations: ['81-16=65'] Exploring Operation: 65/13=5, Resulting Numbers: [8, 5] Generated Node #0,0,0: 40:[8, 5] Operation: 65/13=5 Moving to Node #0,0,0 Current State: 40:[8, 5], Operations: ['81-16=65', '65/13=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 24, 30, 11, 2 ]
64
[ "30-24=6", "11*6=66", "66-2=64" ]
Current State: 64:[24, 30, 11, 2], Operations: [] Exploring Operation: 30-24=6, Resulting Numbers: [11, 2, 6] Generated Node #2: [11, 2, 6] from Operation: 30-24=6 Current State: 64:[11, 2, 6], Operations: ['30-24=6'] Exploring Operation: 11*6=66, Resulting Numbers: [2, 66] Generated Node #3: [2, 66] from Operation: 11*6=66 Current State: 64:[2, 66], Operations: ['30-24=6', '11*6=66'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[24, 30, 11, 2], Operations: [] Exploring Operation: 30-24=6, Resulting Numbers: [11, 2, 6] Generated Node #0,0: 64:[11, 2, 6] Operation: 30-24=6 Moving to Node #0,0 Current State: 64:[11, 2, 6], Operations: ['30-24=6'] Exploring Operation: 11+6=17, Resulting Numbers: [2, 17] Generated Node #0,0,0: 64:[2, 17] Operation: 11+6=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[2, 17], Operations: ['30-24=6', '11+6=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,64 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
[ 49, 78, 84, 57 ]
56
[ "78-49=29", "84-57=27", "29+27=56" ]
Current State: 56:[49, 78, 84, 57], Operations: [] Exploring Operation: 78-49=29, Resulting Numbers: [84, 57, 29] Generated Node #2: [84, 57, 29] from Operation: 78-49=29 Current State: 56:[84, 57, 29], Operations: ['78-49=29'] Exploring Operation: 84-57=27, Resulting Numbers: [29, 27] Generated Node #3: [29, 27] from Operation: 84-57=27 Current State: 56:[29, 27], Operations: ['78-49=29', '84-57=27'] Exploring Operation: 29+27=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[49, 78, 84, 57], Operations: [] Exploring Operation: 84-49=35, Resulting Numbers: [78, 57, 35] Generated Node #0,0: 56:[78, 57, 35] Operation: 84-49=35 Exploring Operation: 84-78=6, Resulting Numbers: [49, 57, 6] Generated Node #0,1: 56:[49, 57, 6] Operation: 84-78=6 Exploring Operation: 78-49=29, Resulting Numbers: [84, 57, 29] Generated Node #0,2: 56:[84, 57, 29] Operation: 78-49=29 Exploring Operation: 84-57=27, Resulting Numbers: [49, 78, 27] Generated Node #0,3: 56:[49, 78, 27] Operation: 84-57=27 Moving to Node #0,1 Current State: 56:[49, 57, 6], Operations: ['84-78=6'] Exploring Operation: 49+6=55, Resulting Numbers: [57, 55] Generated Node #0,1,0: 56:[57, 55] Operation: 49+6=55 Exploring Operation: 49-6=43, Resulting Numbers: [57, 43] Generated Node #0,1,1: 56:[57, 43] Operation: 49-6=43 Exploring Operation: 57-6=51, Resulting Numbers: [49, 51] Generated Node #0,1,2: 56:[49, 51] Operation: 57-6=51 Exploring Operation: 57-49=8, Resulting Numbers: [6, 8] Generated Node #0,1,3: 56:[6, 8] Operation: 57-49=8 Moving to Node #0,2 Current State: 56:[84, 57, 29], Operations: ['78-49=29'] Exploring Operation: 57-29=28, Resulting Numbers: [84, 28] Generated Node #0,2,0: 56:[84, 28] Operation: 57-29=28 Exploring Operation: 84+29=113, Resulting Numbers: [57, 113] Generated Node #0,2,1: 56:[57, 113] Operation: 84+29=113 Exploring Operation: 84-29=55, Resulting Numbers: [57, 55] Generated Node #0,2,2: 56:[57, 55] Operation: 84-29=55 Exploring Operation: 84-57=27, Resulting Numbers: [29, 27] Generated Node #0,2,3: 56:[29, 27] Operation: 84-57=27 Moving to Node #0,0 Current State: 56:[78, 57, 35], Operations: ['84-49=35'] Exploring Operation: 57-35=22, Resulting Numbers: [78, 22] Generated Node #0,0,0: 56:[78, 22] Operation: 57-35=22 Exploring Operation: 78-35=43, Resulting Numbers: [57, 43] Generated Node #0,0,1: 56:[57, 43] Operation: 78-35=43 Exploring Operation: 78+35=113, Resulting Numbers: [57, 113] Generated Node #0,0,2: 56:[57, 113] Operation: 78+35=113 Exploring Operation: 78-57=21, Resulting Numbers: [35, 21] Generated Node #0,0,3: 56:[35, 21] Operation: 78-57=21 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[57, 43], Operations: ['84-49=35', '78-35=43'] Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,56 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[35, 21], Operations: ['84-49=35', '78-57=21'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[49, 78, 84, 57], Operations: [] Exploring Operation: 84-49=35, Resulting Numbers: [78, 57, 35] Generated Node #0,0: 56:[78, 57, 35] Operation: 84-49=35 Moving to Node #0,0 Current State: 56:[78, 57, 35], Operations: ['84-49=35'] Exploring Operation: 78-57=21, Resulting Numbers: [35, 21] Generated Node #0,0,3: 56:[35, 21] Operation: 78-57=21 Moving to Node #0,0,3 Current State: 56:[35, 21], Operations: ['84-49=35', '78-57=21'] Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 64, 84, 63, 51 ]
33
[ "64-63=1", "84-51=33", "1*33=33" ]
Current State: 33:[64, 84, 63, 51], Operations: [] Exploring Operation: 64-63=1, Resulting Numbers: [84, 51, 1] Generated Node #2: [84, 51, 1] from Operation: 64-63=1 Current State: 33:[84, 51, 1], Operations: ['64-63=1'] Exploring Operation: 84-51=33, Resulting Numbers: [1, 33] Generated Node #3: [1, 33] from Operation: 84-51=33 Current State: 33:[1, 33], Operations: ['64-63=1', '84-51=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[64, 84, 63, 51], Operations: [] Exploring Operation: 84-64=20, Resulting Numbers: [63, 51, 20] Generated Node #0,0: 33:[63, 51, 20] Operation: 84-64=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[63, 51, 20], Operations: ['84-64=20'] Exploring Operation: 63-51=12, Resulting Numbers: [20, 12] Generated Node #0,0,0: 33:[20, 12] Operation: 63-51=12 Moving to Node #0,0,0 Current State: 33:[20, 12], Operations: ['84-64=20', '63-51=12'] Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 45, 67, 3, 5 ]
73
[ "45*3=135", "67-5=62", "135-62=73" ]
Current State: 73:[45, 67, 3, 5], Operations: [] Exploring Operation: 45*3=135, Resulting Numbers: [67, 5, 135] Generated Node #2: [67, 5, 135] from Operation: 45*3=135 Current State: 73:[67, 5, 135], Operations: ['45*3=135'] Exploring Operation: 67-5=62, Resulting Numbers: [135, 62] Generated Node #3: [135, 62] from Operation: 67-5=62 Current State: 73:[135, 62], Operations: ['45*3=135', '67-5=62'] Exploring Operation: 135-62=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[45, 67, 3, 5], Operations: [] Exploring Operation: 45+5=50, Resulting Numbers: [67, 3, 50] Generated Node #0,0: 73:[67, 3, 50] Operation: 45+5=50 Exploring Operation: 3*5=15, Resulting Numbers: [45, 67, 15] Generated Node #0,1: 73:[45, 67, 15] Operation: 3*5=15 Exploring Operation: 45+3=48, Resulting Numbers: [67, 5, 48] Generated Node #0,2: 73:[67, 5, 48] Operation: 45+3=48 Moving to Node #0,1 Current State: 73:[45, 67, 15], Operations: ['3*5=15'] Exploring Operation: 67+15=82, Resulting Numbers: [45, 82] Generated Node #0,1,0: 73:[45, 82] Operation: 67+15=82 Exploring Operation: 45-15=30, Resulting Numbers: [67, 30] Generated Node #0,1,1: 73:[67, 30] Operation: 45-15=30 Exploring Operation: 45+15=60, Resulting Numbers: [67, 60] Generated Node #0,1,2: 73:[67, 60] Operation: 45+15=60 Moving to Node #0,0 Current State: 73:[67, 3, 50], Operations: ['45+5=50'] Exploring Operation: 67-3=64, Resulting Numbers: [50, 64] Generated Node #0,0,0: 73:[50, 64] Operation: 67-3=64 Exploring Operation: 67+3=70, Resulting Numbers: [50, 70] Generated Node #0,0,1: 73:[50, 70] Operation: 67+3=70 Exploring Operation: 3+50=53, Resulting Numbers: [67, 53] Generated Node #0,0,2: 73:[67, 53] Operation: 3+50=53 Moving to Node #0,2 Current State: 73:[67, 5, 48], Operations: ['45+3=48'] Exploring Operation: 5+48=53, Resulting Numbers: [67, 53] Generated Node #0,2,0: 73:[67, 53] Operation: 5+48=53 Exploring Operation: 67+5=72, Resulting Numbers: [48, 72] Generated Node #0,2,1: 73:[48, 72] Operation: 67+5=72 Exploring Operation: 67-5=62, Resulting Numbers: [48, 62] Generated Node #0,2,2: 73:[48, 62] Operation: 67-5=62 Moving to Node #0,1,2 Current State: 73:[67, 60], Operations: ['3*5=15', '45+15=60'] Exploring Operation: 67+60=127, Resulting Numbers: [127] 127,73 unequal: No Solution Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,73 unequal: No Solution Exploring Operation: 67*60=4020, Resulting Numbers: [4020] 4020,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[67, 53], Operations: ['45+3=48', '5+48=53'] Exploring Operation: 67*53=3551, Resulting Numbers: [3551] 3551,73 unequal: No Solution Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 67+53=120, Resulting Numbers: [120] 120,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[50, 70], Operations: ['45+5=50', '67+3=70'] Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 50+70=120, Resulting Numbers: [120] 120,73 unequal: No Solution Exploring Operation: 50*70=3500, Resulting Numbers: [3500] 3500,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[67, 53], Operations: ['45+5=50', '3+50=53'] Exploring Operation: 67*53=3551, Resulting Numbers: [3551] 3551,73 unequal: No Solution Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 67+53=120, Resulting Numbers: [120] 120,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[48, 72], Operations: ['45+3=48', '67+5=72'] Exploring Operation: 72-48=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 48+72=120, Resulting Numbers: [120] 120,73 unequal: No Solution Exploring Operation: 48*72=3456, Resulting Numbers: [3456] 3456,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[50, 64], Operations: ['45+5=50', '67-3=64'] Exploring Operation: 50*64=3200, Resulting Numbers: [3200] 3200,73 unequal: No Solution Exploring Operation: 64-50=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 50+64=114, Resulting Numbers: [114] 114,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[48, 62], Operations: ['45+3=48', '67-5=62'] Exploring Operation: 48*62=2976, Resulting Numbers: [2976] 2976,73 unequal: No Solution Exploring Operation: 48+62=110, Resulting Numbers: [110] 110,73 unequal: No Solution Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[45, 82], Operations: ['3*5=15', '67+15=82'] Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,73 unequal: No Solution Exploring Operation: 45*82=3690, Resulting Numbers: [3690] 3690,73 unequal: No Solution Exploring Operation: 45+82=127, Resulting Numbers: [127] 127,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[67, 30], Operations: ['3*5=15', '45-15=30'] Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,73 unequal: No Solution Exploring Operation: 67*30=2010, Resulting Numbers: [2010] 2010,73 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 16, 14, 28, 61 ]
90
[ "61-16=45", "28/14=2", "45*2=90" ]
Current State: 90:[16, 14, 28, 61], Operations: [] Exploring Operation: 61-16=45, Resulting Numbers: [14, 28, 45] Generated Node #2: [14, 28, 45] from Operation: 61-16=45 Current State: 90:[14, 28, 45], Operations: ['61-16=45'] Exploring Operation: 28/14=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 28/14=2 Current State: 90:[45, 2], Operations: ['61-16=45', '28/14=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[16, 14, 28, 61], Operations: [] Exploring Operation: 61-16=45, Resulting Numbers: [14, 28, 45] Generated Node #0,0: 90:[14, 28, 45] Operation: 61-16=45 Exploring Operation: 28+61=89, Resulting Numbers: [16, 14, 89] Generated Node #0,1: 90:[16, 14, 89] Operation: 28+61=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[14, 28, 45], Operations: ['61-16=45'] Exploring Operation: 28/14=2, Resulting Numbers: [45, 2] Generated Node #0,0,0: 90:[45, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [45, 14] Generated Node #0,0,1: 90:[45, 14] Operation: 28-14=14 Moving to Node #0,0,0 Current State: 90:[45, 2], Operations: ['61-16=45', '28/14=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[16, 14, 28, 61], Operations: [] Exploring Operation: 61-16=45, Resulting Numbers: [14, 28, 45] Generated Node #0,0: 90:[14, 28, 45] Operation: 61-16=45 Moving to Node #0,0 Current State: 90:[14, 28, 45], Operations: ['61-16=45'] Exploring Operation: 28/14=2, Resulting Numbers: [45, 2] Generated Node #0,0,0: 90:[45, 2] Operation: 28/14=2 Moving to Node #0,0,0 Current State: 90:[45, 2], Operations: ['61-16=45', '28/14=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 14, 70, 58, 63 ]
52
[ "58*63=3654", "3654-14=3640", "3640/70=52" ]
Current State: 52:[14, 70, 58, 63], Operations: [] Exploring Operation: 58*63=3654, Resulting Numbers: [14, 70, 3654] Generated Node #2: [14, 70, 3654] from Operation: 58*63=3654 Current State: 52:[14, 70, 3654], Operations: ['58*63=3654'] Exploring Operation: 3654-14=3640, Resulting Numbers: [70, 3640] Generated Node #3: [70, 3640] from Operation: 3654-14=3640 Current State: 52:[70, 3640], Operations: ['58*63=3654', '3654-14=3640'] Exploring Operation: 3640/70=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[14, 70, 58, 63], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [14, 70, 5] Generated Node #0,0: 52:[14, 70, 5] Operation: 63-58=5 Exploring Operation: 70-58=12, Resulting Numbers: [14, 63, 12] Generated Node #0,1: 52:[14, 63, 12] Operation: 70-58=12 Exploring Operation: 70-63=7, Resulting Numbers: [14, 58, 7] Generated Node #0,2: 52:[14, 58, 7] Operation: 70-63=7 Exploring Operation: 70-14=56, Resulting Numbers: [58, 63, 56] Generated Node #0,3: 52:[58, 63, 56] Operation: 70-14=56 Exploring Operation: 70/14=5, Resulting Numbers: [58, 63, 5] Generated Node #0,4: 52:[58, 63, 5] Operation: 70/14=5 Moving to Node #0,2 Current State: 52:[14, 58, 7], Operations: ['70-63=7'] Exploring Operation: 14-7=7, Resulting Numbers: [58, 7] Generated Node #0,2,0: 52:[58, 7] Operation: 14-7=7 Exploring Operation: 14+7=21, Resulting Numbers: [58, 21] Generated Node #0,2,1: 52:[58, 21] Operation: 14+7=21 Exploring Operation: 58-14=44, Resulting Numbers: [7, 44] Generated Node #0,2,2: 52:[7, 44] Operation: 58-14=44 Exploring Operation: 14/7=2, Resulting Numbers: [58, 2] Generated Node #0,2,3: 52:[58, 2] Operation: 14/7=2 Exploring Operation: 58-7=51, Resulting Numbers: [14, 51] Generated Node #0,2,4: 52:[14, 51] Operation: 58-7=51 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 52:[14, 51], Operations: ['70-63=7', '58-7=51'] Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,52 unequal: No Solution Exploring Operation: 14*51=714, Resulting Numbers: [714] 714,52 unequal: No Solution Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 52:[58, 2], Operations: ['70-63=7', '14/7=2'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,52 unequal: No Solution Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,52 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[58, 7], Operations: ['70-63=7', '14-7=7'] Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,52 unequal: No Solution Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,52 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,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:[58, 21], Operations: ['70-63=7', '14+7=21'] Exploring Operation: 58*21=1218, Resulting Numbers: [1218] 1218,52 unequal: No Solution Exploring Operation: 58+21=79, Resulting Numbers: [79] 79,52 unequal: No Solution Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[7, 44], Operations: ['70-63=7', '58-14=44'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,52 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,52 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: 52:[14, 63, 12], Operations: ['70-58=12'] Exploring Operation: 14+12=26, Resulting Numbers: [63, 26] Generated Node #0,1,0: 52:[63, 26] Operation: 14+12=26 Exploring Operation: 63-14=49, Resulting Numbers: [12, 49] Generated Node #0,1,1: 52:[12, 49] Operation: 63-14=49 Exploring Operation: 63-12=51, Resulting Numbers: [14, 51] Generated Node #0,1,2: 52:[14, 51] Operation: 63-12=51 Exploring Operation: 63+12=75, Resulting Numbers: [14, 75] Generated Node #0,1,3: 52:[14, 75] Operation: 63+12=75 Exploring Operation: 14-12=2, Resulting Numbers: [63, 2] Generated Node #0,1,4: 52:[63, 2] Operation: 14-12=2 Moving to Node #0,4 Current State: 52:[58, 63, 5], Operations: ['70/14=5'] Exploring Operation: 58+5=63, Resulting Numbers: [63, 63] Generated Node #0,4,0: 52:[63, 63] Operation: 58+5=63 Exploring Operation: 63-5=58, Resulting Numbers: [58, 58] Generated Node #0,4,1: 52:[58, 58] Operation: 63-5=58 Exploring Operation: 63+5=68, Resulting Numbers: [58, 68] Generated Node #0,4,2: 52:[58, 68] Operation: 63+5=68 Exploring Operation: 63-58=5, Resulting Numbers: [5, 5] Generated Node #0,4,3: 52:[5, 5] Operation: 63-58=5 Exploring Operation: 58-5=53, Resulting Numbers: [63, 53] Generated Node #0,4,4: 52:[63, 53] Operation: 58-5=53 Moving to Node #0,0 Current State: 52:[14, 70, 5], Operations: ['63-58=5'] Exploring Operation: 70/5=14, Resulting Numbers: [14, 14] Generated Node #0,0,0: 52:[14, 14] Operation: 70/5=14 Exploring Operation: 70/14=5, Resulting Numbers: [5, 5] Generated Node #0,0,1: 52:[5, 5] Operation: 70/14=5 Exploring Operation: 70-5=65, Resulting Numbers: [14, 65] Generated Node #0,0,2: 52:[14, 65] Operation: 70-5=65 Exploring Operation: 70-14=56, Resulting Numbers: [5, 56] Generated Node #0,0,3: 52:[5, 56] Operation: 70-14=56 Exploring Operation: 14-5=9, Resulting Numbers: [70, 9] Generated Node #0,0,4: 52:[70, 9] Operation: 14-5=9 Moving to Node #0,3 Current State: 52:[58, 63, 56], Operations: ['70-14=56'] Exploring Operation: 58-56=2, Resulting Numbers: [63, 2] Generated Node #0,3,0: 52:[63, 2] Operation: 58-56=2 Exploring Operation: 63-58=5, Resulting Numbers: [56, 5] Generated Node #0,3,1: 52:[56, 5] Operation: 63-58=5 Exploring Operation: 63-56=7, Resulting Numbers: [58, 7] Generated Node #0,3,2: 52:[58, 7] Operation: 63-56=7 Exploring Operation: 58+63=121, Resulting Numbers: [56, 121] Generated Node #0,3,3: 52:[56, 121] Operation: 58+63=121 Exploring Operation: 58+56=114, Resulting Numbers: [63, 114] Generated Node #0,3,4: 52:[63, 114] Operation: 58+56=114 Moving to Node #0,1,2 Current State: 52:[14, 51], Operations: ['70-58=12', '63-12=51'] Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 14*51=714, Resulting Numbers: [714] 714,52 unequal: No Solution Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,52 unequal: No Solution Moving to Node #0,4,3 Current State: 52:[5, 5], Operations: ['70/14=5', '63-58=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[5, 5], Operations: ['63-58=5', '70/14=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[14, 14], Operations: ['63-58=5', '70/5=14'] Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 14-14=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 14*14=196, Resulting Numbers: [196] 196,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[12, 49], Operations: ['70-58=12', '63-14=49'] Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,52 unequal: No Solution Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,52 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[5, 56], Operations: ['63-58=5', '70-14=56'] Exploring Operation: 5*56=280, Resulting Numbers: [280] 280,52 unequal: No Solution Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,52 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[56, 5], Operations: ['70-14=56', '63-58=5'] Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,52 unequal: No Solution Exploring Operation: 56*5=280, Resulting Numbers: [280] 280,52 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[58, 7], Operations: ['70-14=56', '63-56=7'] Exploring Operation: 58*7=406, Resulting Numbers: [406] 406,52 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 58+7=65, Resulting Numbers: [65] 65,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[63, 26], Operations: ['70-58=12', '14+12=26'] Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 63*26=1638, Resulting Numbers: [1638] 1638,52 unequal: No Solution Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[63, 2], Operations: ['70-14=56', '58-56=2'] Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,52 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,52 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,52 unequal: No Solution Moving to Node #0,1,4 Current State: 52:[63, 2], Operations: ['70-58=12', '14-12=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,52 unequal: No Solution Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,52 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,52 unequal: No Solution Moving to Node #0,4,1 Current State: 52:[58, 58], Operations: ['70/14=5', '63-5=58'] Exploring Operation: 58+58=116, Resulting Numbers: [116] 116,52 unequal: No Solution Exploring Operation: 58-58=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 58*58=3364, Resulting Numbers: [3364] 3364,52 unequal: No Solution Exploring Operation: 58/58=1, Resulting Numbers: [1] 1,52 unequal: No Solution Moving to Node #0,4,4 Current State: 52:[63, 53], Operations: ['70/14=5', '58-5=53'] Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 63+53=116, Resulting Numbers: [116] 116,52 unequal: No Solution Exploring Operation: 63*53=3339, Resulting Numbers: [3339] 3339,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[14, 65], Operations: ['63-58=5', '70-5=65'] Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,52 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 14*65=910, Resulting Numbers: [910] 910,52 unequal: No Solution Moving to Node #0,4,0 Current State: 52:[63, 63], Operations: ['70/14=5', '58+5=63'] Exploring Operation: 63+63=126, Resulting Numbers: [126] 126,52 unequal: No Solution Exploring Operation: 63*63=3969, Resulting Numbers: [3969] 3969,52 unequal: No Solution Exploring Operation: 63-63=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 63/63=1, Resulting Numbers: [1] 1,52 unequal: No Solution Moving to Node #0,4,2 Current State: 52:[58, 68], Operations: ['70/14=5', '63+5=68'] Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 58+68=126, Resulting Numbers: [126] 126,52 unequal: No Solution Exploring Operation: 58*68=3944, Resulting Numbers: [3944] 3944,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[70, 9], Operations: ['63-58=5', '14-5=9'] Exploring Operation: 70+9=79, Resulting Numbers: [79] 79,52 unequal: No Solution Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,52 unequal: No Solution Exploring Operation: 70*9=630, Resulting Numbers: [630] 630,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[14, 75], Operations: ['70-58=12', '63+12=75'] Exploring Operation: 14+75=89, Resulting Numbers: [89] 89,52 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,52 unequal: No Solution Exploring Operation: 14*75=1050, Resulting Numbers: [1050] 1050,52 unequal: No Solution Moving to Node #0,3,4 Current State: 52:[63, 114], Operations: ['70-14=56', '58+56=114'] Exploring Operation: 63+114=177, Resulting Numbers: [177] 177,52 unequal: No Solution Exploring Operation: 114-63=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 63*114=7182, Resulting Numbers: [7182] 7182,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[56, 121], Operations: ['70-14=56', '58+63=121'] Exploring Operation: 56*121=6776, Resulting Numbers: [6776] 6776,52 unequal: No Solution Exploring Operation: 56+121=177, Resulting Numbers: [177] 177,52 unequal: No Solution Exploring Operation: 121-56=65, Resulting Numbers: [65] 65,52 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 75, 77, 78, 37 ]
37
[ "75+77=152", "78+37=115", "152-115=37" ]
Current State: 37:[75, 77, 78, 37], Operations: [] Exploring Operation: 75+77=152, Resulting Numbers: [78, 37, 152] Generated Node #2: [78, 37, 152] from Operation: 75+77=152 Current State: 37:[78, 37, 152], Operations: ['75+77=152'] Exploring Operation: 78+37=115, Resulting Numbers: [152, 115] Generated Node #3: [152, 115] from Operation: 78+37=115 Current State: 37:[152, 115], Operations: ['75+77=152', '78+37=115'] Exploring Operation: 152-115=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[75, 77, 78, 37], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [78, 37, 2] Generated Node #0,0: 37:[78, 37, 2] Operation: 77-75=2 Exploring Operation: 75-37=38, Resulting Numbers: [77, 78, 38] Generated Node #0,1: 37:[77, 78, 38] Operation: 75-37=38 Exploring Operation: 77-37=40, Resulting Numbers: [75, 78, 40] Generated Node #0,2: 37:[75, 78, 40] Operation: 77-37=40 Exploring Operation: 78-77=1, Resulting Numbers: [75, 37, 1] Generated Node #0,3: 37:[75, 37, 1] Operation: 78-77=1 Exploring Operation: 78-75=3, Resulting Numbers: [77, 37, 3] Generated Node #0,4: 37:[77, 37, 3] Operation: 78-75=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 37:[75, 37, 1], Operations: ['78-77=1'] Exploring Operation: 75-37=38, Resulting Numbers: [1, 38] Generated Node #0,3,0: 37:[1, 38] Operation: 75-37=38 Exploring Operation: 75*1=75, Resulting Numbers: [37, 75] Generated Node #0,3,1: 37:[37, 75] Operation: 75*1=75 Exploring Operation: 75/1=75, Resulting Numbers: [37, 75] Generated Node #0,3,2: 37:[37, 75] Operation: 75/1=75 Exploring Operation: 37*1=37, Resulting Numbers: [75, 37] Generated Node #0,3,3: 37:[75, 37] Operation: 37*1=37 Exploring Operation: 75-1=74, Resulting Numbers: [37, 74] Generated Node #0,3,4: 37:[37, 74] Operation: 75-1=74 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 37:[1, 38], Operations: ['78-77=1', '75-37=38'] Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[75, 77, 78, 37], Operations: [] Exploring Operation: 78-77=1, Resulting Numbers: [75, 37, 1] Generated Node #0,3: 37:[75, 37, 1] Operation: 78-77=1 Moving to Node #0,3 Current State: 37:[75, 37, 1], Operations: ['78-77=1'] Exploring Operation: 75-37=38, Resulting Numbers: [1, 38] Generated Node #0,3,0: 37:[1, 38] Operation: 75-37=38 Moving to Node #0,3,0 Current State: 37:[1, 38], Operations: ['78-77=1', '75-37=38'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 92, 46, 47, 16 ]
78
[ "92/46=2", "47*2=94", "94-16=78" ]
Current State: 78:[92, 46, 47, 16], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [47, 16, 2] Generated Node #2: [47, 16, 2] from Operation: 92/46=2 Current State: 78:[47, 16, 2], Operations: ['92/46=2'] Exploring Operation: 47*2=94, Resulting Numbers: [16, 94] Generated Node #3: [16, 94] from Operation: 47*2=94 Current State: 78:[16, 94], Operations: ['92/46=2', '47*2=94'] Exploring Operation: 94-16=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[92, 46, 47, 16], Operations: [] Exploring Operation: 47-46=1, Resulting Numbers: [92, 16, 1] Generated Node #0,0: 78:[92, 16, 1] Operation: 47-46=1 Exploring Operation: 92-16=76, Resulting Numbers: [46, 47, 76] Generated Node #0,1: 78:[46, 47, 76] Operation: 92-16=76 Exploring Operation: 92-46=46, Resulting Numbers: [47, 16, 46] Generated Node #0,2: 78:[47, 16, 46] Operation: 92-46=46 Exploring Operation: 92/46=2, Resulting Numbers: [47, 16, 2] Generated Node #0,3: 78:[47, 16, 2] Operation: 92/46=2 Exploring Operation: 92-47=45, Resulting Numbers: [46, 16, 45] Generated Node #0,4: 78:[46, 16, 45] Operation: 92-47=45 Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[47, 16, 2], Operations: ['92/46=2'] Exploring Operation: 47-2=45, Resulting Numbers: [16, 45] Generated Node #0,3,0: 78:[16, 45] Operation: 47-2=45 Exploring Operation: 47+2=49, Resulting Numbers: [16, 49] Generated Node #0,3,1: 78:[16, 49] Operation: 47+2=49 Exploring Operation: 16-2=14, Resulting Numbers: [47, 14] Generated Node #0,3,2: 78:[47, 14] Operation: 16-2=14 Exploring Operation: 47-16=31, Resulting Numbers: [2, 31] Generated Node #0,3,3: 78:[2, 31] Operation: 47-16=31 Exploring Operation: 16/2=8, Resulting Numbers: [47, 8] Generated Node #0,3,4: 78:[47, 8] Operation: 16/2=8 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 78:[2, 31], Operations: ['92/46=2', '47-16=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,78 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,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,3,0 Current State: 78:[16, 45], Operations: ['92/46=2', '47-2=45'] Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,78 unequal: No Solution Exploring Operation: 16*45=720, Resulting Numbers: [720] 720,78 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,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,3,2 Current State: 78:[47, 14], Operations: ['92/46=2', '16-2=14'] Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,78 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,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,3,4 Current State: 78:[47, 8], Operations: ['92/46=2', '16/2=8'] Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,78 unequal: No Solution Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,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,3,1 Current State: 78:[16, 49], Operations: ['92/46=2', '47+2=49'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 16*49=784, Resulting Numbers: [784] 784,78 unequal: No Solution Exploring Operation: 16+49=65, Resulting Numbers: [65] 65,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 78:[46, 16, 45], Operations: ['92-47=45'] Exploring Operation: 46-45=1, Resulting Numbers: [16, 1] Generated Node #0,4,0: 78:[16, 1] Operation: 46-45=1 Exploring Operation: 45-16=29, Resulting Numbers: [46, 29] Generated Node #0,4,1: 78:[46, 29] Operation: 45-16=29 Exploring Operation: 46+16=62, Resulting Numbers: [45, 62] Generated Node #0,4,2: 78:[45, 62] Operation: 46+16=62 Exploring Operation: 46+45=91, Resulting Numbers: [16, 91] Generated Node #0,4,3: 78:[16, 91] Operation: 46+45=91 Exploring Operation: 46-16=30, Resulting Numbers: [45, 30] Generated Node #0,4,4: 78:[45, 30] Operation: 46-16=30 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 78:[16, 1], Operations: ['92-47=45', '46-45=1'] Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,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,4,1 Current State: 78:[46, 29], Operations: ['92-47=45', '45-16=29'] Exploring Operation: 46+29=75, Resulting Numbers: [75] 75,78 unequal: No Solution Exploring Operation: 46*29=1334, Resulting Numbers: [1334] 1334,78 unequal: No Solution Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,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,4,4 Current State: 78:[45, 30], Operations: ['92-47=45', '46-16=30'] Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 45*30=1350, Resulting Numbers: [1350] 1350,78 unequal: No Solution Exploring Operation: 45+30=75, Resulting Numbers: [75] 75,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,4,3 Current State: 78:[16, 91], Operations: ['92-47=45', '46+45=91'] Exploring Operation: 16+91=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,78 unequal: No Solution Exploring Operation: 16*91=1456, Resulting Numbers: [1456] 1456,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,4,2 Current State: 78:[45, 62], Operations: ['92-47=45', '46+16=62'] Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 45+62=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 45*62=2790, Resulting Numbers: [2790] 2790,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[46, 47, 76], Operations: ['92-16=76'] Exploring Operation: 76-47=29, Resulting Numbers: [46, 29] Generated Node #0,1,0: 78:[46, 29] Operation: 76-47=29 Exploring Operation: 46+47=93, Resulting Numbers: [76, 93] Generated Node #0,1,1: 78:[76, 93] Operation: 46+47=93 Exploring Operation: 46+76=122, Resulting Numbers: [47, 122] Generated Node #0,1,2: 78:[47, 122] Operation: 46+76=122 Exploring Operation: 76-46=30, Resulting Numbers: [47, 30] Generated Node #0,1,3: 78:[47, 30] Operation: 76-46=30 Exploring Operation: 47-46=1, Resulting Numbers: [76, 1] Generated Node #0,1,4: 78:[76, 1] Operation: 47-46=1 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 78:[76, 1], Operations: ['92-16=76', '47-46=1'] Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,78 unequal: No Solution Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,78 unequal: No Solution Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,78 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[46, 29], Operations: ['92-16=76', '76-47=29'] Exploring Operation: 46+29=75, Resulting Numbers: [75] 75,78 unequal: No Solution Exploring Operation: 46-29=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 46*29=1334, Resulting Numbers: [1334] 1334,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 78:[47, 30], Operations: ['92-16=76', '76-46=30'] Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 47+30=77, Resulting Numbers: [77] 77,78 unequal: No Solution Exploring Operation: 47*30=1410, Resulting Numbers: [1410] 1410,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[76, 93], Operations: ['92-16=76', '46+47=93'] Exploring Operation: 76+93=169, Resulting Numbers: [169] 169,78 unequal: No Solution Exploring Operation: 76*93=7068, Resulting Numbers: [7068] 7068,78 unequal: No Solution Exploring Operation: 93-76=17, Resulting Numbers: [17] 17,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 78:[47, 122], Operations: ['92-16=76', '46+76=122'] Exploring Operation: 47+122=169, Resulting Numbers: [169] 169,78 unequal: No Solution Exploring Operation: 122-47=75, Resulting Numbers: [75] 75,78 unequal: No Solution Exploring Operation: 47*122=5734, Resulting Numbers: [5734] 5734,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[92, 16, 1], Operations: ['47-46=1'] Exploring Operation: 92*1=92, Resulting Numbers: [16, 92] Generated Node #0,0,0: 78:[16, 92] Operation: 92*1=92 Exploring Operation: 92-1=91, Resulting Numbers: [16, 91] Generated Node #0,0,1: 78:[16, 91] Operation: 92-1=91 Exploring Operation: 16-1=15, Resulting Numbers: [92, 15] Generated Node #0,0,2: 78:[92, 15] Operation: 16-1=15 Exploring Operation: 92-16=76, Resulting Numbers: [1, 76] Generated Node #0,0,3: 78:[1, 76] Operation: 92-16=76 Exploring Operation: 92/1=92, Resulting Numbers: [16, 92] Generated Node #0,0,4: 78:[16, 92] Operation: 92/1=92 Moving to Node #0,0,3 Current State: 78:[1, 76], Operations: ['47-46=1', '92-16=76'] Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,78 unequal: No Solution Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,78 unequal: No Solution Exploring Operation: 1*76=76, Resulting Numbers: [76] 76,78 unequal: No Solution Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[92, 15], Operations: ['47-46=1', '16-1=15'] Exploring Operation: 92-15=77, Resulting Numbers: [77] 77,78 unequal: No Solution Exploring Operation: 92*15=1380, Resulting Numbers: [1380] 1380,78 unequal: No Solution Exploring Operation: 92+15=107, Resulting Numbers: [107] 107,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[16, 91], Operations: ['47-46=1', '92-1=91'] Exploring Operation: 16+91=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,78 unequal: No Solution Exploring Operation: 16*91=1456, Resulting Numbers: [1456] 1456,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[16, 92], Operations: ['47-46=1', '92*1=92'] Exploring Operation: 16+92=108, Resulting Numbers: [108] 108,78 unequal: No Solution Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,78 unequal: No Solution Exploring Operation: 16*92=1472, Resulting Numbers: [1472] 1472,78 unequal: No Solution Moving to Node #0,0,4 Current State: 78:[16, 92], Operations: ['47-46=1', '92/1=92'] Exploring Operation: 16*92=1472, Resulting Numbers: [1472] 1472,78 unequal: No Solution Exploring Operation: 16+92=108, Resulting Numbers: [108] 108,78 unequal: No Solution Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,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:[47, 16, 46], Operations: ['92-46=46'] Exploring Operation: 47+46=93, Resulting Numbers: [16, 93] Generated Node #0,2,0: 78:[16, 93] Operation: 47+46=93 Exploring Operation: 46-16=30, Resulting Numbers: [47, 30] Generated Node #0,2,1: 78:[47, 30] Operation: 46-16=30 Exploring Operation: 47-16=31, Resulting Numbers: [46, 31] Generated Node #0,2,2: 78:[46, 31] Operation: 47-16=31 Exploring Operation: 47+16=63, Resulting Numbers: [46, 63] Generated Node #0,2,3: 78:[46, 63] Operation: 47+16=63 Exploring Operation: 47-46=1, Resulting Numbers: [16, 1] Generated Node #0,2,4: 78:[16, 1] Operation: 47-46=1 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 78:[16, 1], Operations: ['92-46=46', '47-46=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,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,1 Current State: 78:[47, 30], Operations: ['92-46=46', '46-16=30'] Exploring Operation: 47*30=1410, Resulting Numbers: [1410] 1410,78 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 47+30=77, Resulting Numbers: [77] 77,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,2 Current State: 78:[46, 31], Operations: ['92-46=46', '47-16=31'] Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 46*31=1426, Resulting Numbers: [1426] 1426,78 unequal: No Solution Exploring Operation: 46+31=77, Resulting Numbers: [77] 77,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:[16, 93], Operations: ['92-46=46', '47+46=93'] Exploring Operation: 16*93=1488, Resulting Numbers: [1488] 1488,78 unequal: No Solution Exploring Operation: 16+93=109, Resulting Numbers: [109] 109,78 unequal: No Solution Exploring Operation: 93-16=77, Resulting Numbers: [77] 77,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,3 Current State: 78:[46, 63], Operations: ['92-46=46', '47+16=63'] Exploring Operation: 63-46=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 46*63=2898, Resulting Numbers: [2898] 2898,78 unequal: No Solution Exploring Operation: 46+63=109, Resulting Numbers: [109] 109,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 88, 6, 9, 15 ]
70
[ "88+6=94", "9+15=24", "94-24=70" ]
Current State: 70:[88, 6, 9, 15], Operations: [] Exploring Operation: 88+6=94, Resulting Numbers: [9, 15, 94] Generated Node #2: [9, 15, 94] from Operation: 88+6=94 Current State: 70:[9, 15, 94], Operations: ['88+6=94'] Exploring Operation: 9+15=24, Resulting Numbers: [94, 24] Generated Node #3: [94, 24] from Operation: 9+15=24 Current State: 70:[94, 24], Operations: ['88+6=94', '9+15=24'] Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[88, 6, 9, 15], Operations: [] Exploring Operation: 88-15=73, Resulting Numbers: [6, 9, 73] Generated Node #0,0: 70:[6, 9, 73] Operation: 88-15=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[6, 9, 73], Operations: ['88-15=73'] Exploring Operation: 6+9=15, Resulting Numbers: [73, 15] Generated Node #0,0,0: 70:[73, 15] Operation: 6+9=15 Moving to Node #0,0,0 Current State: 70:[73, 15], Operations: ['88-15=73', '6+9=15'] Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 68, 84, 88, 87 ]
60
[ "88-68=20", "87-84=3", "20*3=60" ]
Current State: 60:[68, 84, 88, 87], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [84, 87, 20] Generated Node #2: [84, 87, 20] from Operation: 88-68=20 Current State: 60:[84, 87, 20], Operations: ['88-68=20'] Exploring Operation: 87-84=3, Resulting Numbers: [20, 3] Generated Node #3: [20, 3] from Operation: 87-84=3 Current State: 60:[20, 3], Operations: ['88-68=20', '87-84=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[68, 84, 88, 87], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [68, 84, 1] Generated Node #0,0: 60:[68, 84, 1] Operation: 88-87=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[68, 84, 1], Operations: ['88-87=1'] Exploring Operation: 84-68=16, Resulting Numbers: [1, 16] Generated Node #0,0,0: 60:[1, 16] Operation: 84-68=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[1, 16], Operations: ['88-87=1', '84-68=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,60 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
[ 45, 55, 79, 8 ]
29
[ "45+55=100", "79-8=71", "100-71=29" ]
Current State: 29:[45, 55, 79, 8], Operations: [] Exploring Operation: 45+55=100, Resulting Numbers: [79, 8, 100] Generated Node #2: [79, 8, 100] from Operation: 45+55=100 Current State: 29:[79, 8, 100], Operations: ['45+55=100'] Exploring Operation: 79-8=71, Resulting Numbers: [100, 71] Generated Node #3: [100, 71] from Operation: 79-8=71 Current State: 29:[100, 71], Operations: ['45+55=100', '79-8=71'] Exploring Operation: 100-71=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[45, 55, 79, 8], Operations: [] Exploring Operation: 79-45=34, Resulting Numbers: [55, 8, 34] Generated Node #0,0: 29:[55, 8, 34] Operation: 79-45=34 Exploring Operation: 79-55=24, Resulting Numbers: [45, 8, 24] Generated Node #0,1: 29:[45, 8, 24] Operation: 79-55=24 Exploring Operation: 45-8=37, Resulting Numbers: [55, 79, 37] Generated Node #0,2: 29:[55, 79, 37] Operation: 45-8=37 Exploring Operation: 55-8=47, Resulting Numbers: [45, 79, 47] Generated Node #0,3: 29:[45, 79, 47] Operation: 55-8=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[45, 8, 24], Operations: ['79-55=24'] Exploring Operation: 45-24=21, Resulting Numbers: [8, 21] Generated Node #0,1,0: 29:[8, 21] Operation: 45-24=21 Exploring Operation: 45-8=37, Resulting Numbers: [24, 37] Generated Node #0,1,1: 29:[24, 37] Operation: 45-8=37 Exploring Operation: 8+24=32, Resulting Numbers: [45, 32] Generated Node #0,1,2: 29:[45, 32] Operation: 8+24=32 Exploring Operation: 45+8=53, Resulting Numbers: [24, 53] Generated Node #0,1,3: 29:[24, 53] Operation: 45+8=53 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[24, 37], Operations: ['79-55=24', '45-8=37'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 29:[45, 32], Operations: ['79-55=24', '8+24=32'] Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,29 unequal: No Solution Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[8, 21], Operations: ['79-55=24', '45-24=21'] Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,29 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[45, 55, 79, 8], Operations: [] Exploring Operation: 79-55=24, Resulting Numbers: [45, 8, 24] Generated Node #0,1: 29:[45, 8, 24] Operation: 79-55=24 Moving to Node #0,1 Current State: 29:[45, 8, 24], Operations: ['79-55=24'] Exploring Operation: 45-24=21, Resulting Numbers: [8, 21] Generated Node #0,1,0: 29:[8, 21] Operation: 45-24=21 Moving to Node #0,1,0 Current State: 29:[8, 21], Operations: ['79-55=24', '45-24=21'] Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 70, 4, 50, 14 ]
75
[ "14-4=10", "50/10=5", "70+5=75" ]
Current State: 75:[70, 4, 50, 14], Operations: [] Exploring Operation: 14-4=10, Resulting Numbers: [70, 50, 10] Generated Node #2: [70, 50, 10] from Operation: 14-4=10 Current State: 75:[70, 50, 10], Operations: ['14-4=10'] Exploring Operation: 50/10=5, Resulting Numbers: [70, 5] Generated Node #3: [70, 5] from Operation: 50/10=5 Current State: 75:[70, 5], Operations: ['14-4=10', '50/10=5'] Exploring Operation: 70+5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[70, 4, 50, 14], Operations: [] Exploring Operation: 70-50=20, Resulting Numbers: [4, 14, 20] Generated Node #0,0: 75:[4, 14, 20] Operation: 70-50=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[4, 14, 20], Operations: ['70-50=20'] Exploring Operation: 20/4=5, Resulting Numbers: [14, 5] Generated Node #0,0,0: 75:[14, 5] Operation: 20/4=5 Moving to Node #0,0,0 Current State: 75:[14, 5], Operations: ['70-50=20', '20/4=5'] Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 15, 58, 98, 77 ]
64
[ "58-15=43", "98-77=21", "43+21=64" ]
Current State: 64:[15, 58, 98, 77], Operations: [] Exploring Operation: 58-15=43, Resulting Numbers: [98, 77, 43] Generated Node #2: [98, 77, 43] from Operation: 58-15=43 Current State: 64:[98, 77, 43], Operations: ['58-15=43'] Exploring Operation: 98-77=21, Resulting Numbers: [43, 21] Generated Node #3: [43, 21] from Operation: 98-77=21 Current State: 64:[43, 21], Operations: ['58-15=43', '98-77=21'] Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[15, 58, 98, 77], Operations: [] Exploring Operation: 98-77=21, Resulting Numbers: [15, 58, 21] Generated Node #0,0: 64:[15, 58, 21] Operation: 98-77=21 Exploring Operation: 98-58=40, Resulting Numbers: [15, 77, 40] Generated Node #0,1: 64:[15, 77, 40] Operation: 98-58=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[15, 58, 21], Operations: ['98-77=21'] Exploring Operation: 58-21=37, Resulting Numbers: [15, 37] Generated Node #0,0,0: 64:[15, 37] Operation: 58-21=37 Exploring Operation: 21-15=6, Resulting Numbers: [58, 6] Generated Node #0,0,1: 64:[58, 6] Operation: 21-15=6 Moving to Node #0,0,0 Current State: 64:[15, 37], Operations: ['98-77=21', '58-21=37'] Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[58, 6], Operations: ['98-77=21', '21-15=6'] Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[15, 58, 98, 77], Operations: [] Exploring Operation: 98-77=21, Resulting Numbers: [15, 58, 21] Generated Node #0,0: 64:[15, 58, 21] Operation: 98-77=21 Moving to Node #0,0 Current State: 64:[15, 58, 21], Operations: ['98-77=21'] Exploring Operation: 21-15=6, Resulting Numbers: [58, 6] Generated Node #0,0,1: 64:[58, 6] Operation: 21-15=6 Moving to Node #0,0,1 Current State: 64:[58, 6], Operations: ['98-77=21', '21-15=6'] Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 71, 54, 73, 47 ]
14
[ "73-71=2", "54-47=7", "2*7=14" ]
Current State: 14:[71, 54, 73, 47], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [54, 47, 2] Generated Node #2: [54, 47, 2] from Operation: 73-71=2 Current State: 14:[54, 47, 2], Operations: ['73-71=2'] Exploring Operation: 54-47=7, Resulting Numbers: [2, 7] Generated Node #3: [2, 7] from Operation: 54-47=7 Current State: 14:[2, 7], Operations: ['73-71=2', '54-47=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[71, 54, 73, 47], Operations: [] Exploring Operation: 71-54=17, Resulting Numbers: [73, 47, 17] Generated Node #0,0: 14:[73, 47, 17] Operation: 71-54=17 Exploring Operation: 73-71=2, Resulting Numbers: [54, 47, 2] Generated Node #0,1: 14:[54, 47, 2] Operation: 73-71=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[54, 47, 2], Operations: ['73-71=2'] Exploring Operation: 54/2=27, Resulting Numbers: [47, 27] Generated Node #0,1,0: 14:[47, 27] Operation: 54/2=27 Exploring Operation: 54-47=7, Resulting Numbers: [2, 7] Generated Node #0,1,1: 14:[2, 7] Operation: 54-47=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[2, 7], Operations: ['73-71=2', '54-47=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[71, 54, 73, 47], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [54, 47, 2] Generated Node #0,1: 14:[54, 47, 2] Operation: 73-71=2 Moving to Node #0,1 Current State: 14:[54, 47, 2], Operations: ['73-71=2'] Exploring Operation: 54-47=7, Resulting Numbers: [2, 7] Generated Node #0,1,1: 14:[2, 7] Operation: 54-47=7 Moving to Node #0,1,1 Current State: 14:[2, 7], Operations: ['73-71=2', '54-47=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 30, 37, 6, 25 ]
28
[ "37-25=12", "12/6=2", "30-2=28" ]
Current State: 28:[30, 37, 6, 25], Operations: [] Exploring Operation: 37-25=12, Resulting Numbers: [30, 6, 12] Generated Node #2: [30, 6, 12] from Operation: 37-25=12 Current State: 28:[30, 6, 12], Operations: ['37-25=12'] Exploring Operation: 12/6=2, Resulting Numbers: [30, 2] Generated Node #3: [30, 2] from Operation: 12/6=2 Current State: 28:[30, 2], Operations: ['37-25=12', '12/6=2'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[30, 37, 6, 25], Operations: [] Exploring Operation: 30/6=5, Resulting Numbers: [37, 25, 5] Generated Node #0,0: 28:[37, 25, 5] Operation: 30/6=5 Exploring Operation: 37-25=12, Resulting Numbers: [30, 6, 12] Generated Node #0,1: 28:[30, 6, 12] Operation: 37-25=12 Exploring Operation: 30-25=5, Resulting Numbers: [37, 6, 5] Generated Node #0,2: 28:[37, 6, 5] Operation: 30-25=5 Exploring Operation: 37-6=31, Resulting Numbers: [30, 25, 31] Generated Node #0,3: 28:[30, 25, 31] Operation: 37-6=31 Exploring Operation: 37-30=7, Resulting Numbers: [6, 25, 7] Generated Node #0,4: 28:[6, 25, 7] Operation: 37-30=7 Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[6, 25, 7], Operations: ['37-30=7'] Exploring Operation: 6+7=13, Resulting Numbers: [25, 13] Generated Node #0,4,0: 28:[25, 13] Operation: 6+7=13 Exploring Operation: 7-6=1, Resulting Numbers: [25, 1] Generated Node #0,4,1: 28:[25, 1] Operation: 7-6=1 Exploring Operation: 25-6=19, Resulting Numbers: [7, 19] Generated Node #0,4,2: 28:[7, 19] Operation: 25-6=19 Exploring Operation: 6+25=31, Resulting Numbers: [7, 31] Generated Node #0,4,3: 28:[7, 31] Operation: 6+25=31 Exploring Operation: 25+7=32, Resulting Numbers: [6, 32] Generated Node #0,4,4: 28:[6, 32] Operation: 25+7=32 Moving to Node #0,4,3 Current State: 28:[7, 31], Operations: ['37-30=7', '6+25=31'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 7*31=217, Resulting Numbers: [217] 217,28 unequal: No Solution Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,28 unequal: No Solution Moving to Node #0,4,1 Current State: 28:[25, 1], Operations: ['37-30=7', '7-6=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,28 unequal: No Solution Moving to Node #0,4,0 Current State: 28:[25, 13], Operations: ['37-30=7', '6+7=13'] Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,28 unequal: No Solution Moving to Node #0,4,2 Current State: 28:[7, 19], Operations: ['37-30=7', '25-6=19'] Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,28 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,28 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,28 unequal: No Solution Moving to Node #0,4,4 Current State: 28:[6, 32], Operations: ['37-30=7', '25+7=32'] Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,28 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,28 unequal: No Solution Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[30, 6, 12], Operations: ['37-25=12'] Exploring Operation: 30-6=24, Resulting Numbers: [12, 24] Generated Node #0,1,0: 28:[12, 24] Operation: 30-6=24 Exploring Operation: 12/6=2, Resulting Numbers: [30, 2] Generated Node #0,1,1: 28:[30, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [30, 6] Generated Node #0,1,2: 28:[30, 6] Operation: 12-6=6 Exploring Operation: 30/6=5, Resulting Numbers: [12, 5] Generated Node #0,1,3: 28:[12, 5] Operation: 30/6=5 Exploring Operation: 30-12=18, Resulting Numbers: [6, 18] Generated Node #0,1,4: 28:[6, 18] Operation: 30-12=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[30, 2], Operations: ['37-25=12', '12/6=2'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[30, 37, 6, 25], Operations: [] Exploring Operation: 37-25=12, Resulting Numbers: [30, 6, 12] Generated Node #0,1: 28:[30, 6, 12] Operation: 37-25=12 Moving to Node #0,1 Current State: 28:[30, 6, 12], Operations: ['37-25=12'] Exploring Operation: 12/6=2, Resulting Numbers: [30, 2] Generated Node #0,1,1: 28:[30, 2] Operation: 12/6=2 Moving to Node #0,1,1 Current State: 28:[30, 2], Operations: ['37-25=12', '12/6=2'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 6, 93, 35, 6 ]
46
[ "93-6=87", "35+6=41", "87-41=46" ]
Current State: 46:[6, 93, 35, 6], Operations: [] Exploring Operation: 93-6=87, Resulting Numbers: [35, 87] Generated Node #2: [35, 87] from Operation: 93-6=87 Current State: 46:[35, 87], Operations: ['93-6=87'] Exploring Operation: 35+6=41, Resulting Numbers: [87, 41] Generated Node #3: [87, 41] from Operation: 35+6=41 Current State: 46:[87, 41], Operations: ['93-6=87', '35+6=41'] Exploring Operation: 87-41=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[6, 93, 35, 6], Operations: [] Exploring Operation: 6+35=41, Resulting Numbers: [93, 6, 41] Generated Node #0,0: 46:[93, 6, 41] Operation: 6+35=41 Exploring Operation: 93-6=87, Resulting Numbers: [35, 6, 87] Generated Node #0,1: 46:[35, 6, 87] Operation: 93-6=87 Exploring Operation: 93-6=87, Resulting Numbers: [6, 35, 87] Generated Node #0,2: 46:[6, 35, 87] Operation: 93-6=87 Exploring Operation: 93-35=58, Resulting Numbers: [6, 6, 58] Generated Node #0,3: 46:[6, 6, 58] Operation: 93-35=58 Exploring Operation: 35+6=41, Resulting Numbers: [6, 93, 41] Generated Node #0,4: 46:[6, 93, 41] Operation: 35+6=41 Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[6, 6, 58], Operations: ['93-35=58'] Exploring Operation: 6+6=12, Resulting Numbers: [58, 12] Generated Node #0,3,0: 46:[58, 12] Operation: 6+6=12 Exploring Operation: 58-6=52, Resulting Numbers: [6, 52] Generated Node #0,3,1: 46:[6, 52] Operation: 58-6=52 Exploring Operation: 6/6=1, Resulting Numbers: [58, 1] Generated Node #0,3,2: 46:[58, 1] Operation: 6/6=1 Exploring Operation: 58-6=52, Resulting Numbers: [6, 52] Generated Node #0,3,3: 46:[6, 52] Operation: 58-6=52 Exploring Operation: 6-6=0, Resulting Numbers: [58, 0] Generated Node #0,3,4: 46:[58, 0] Operation: 6-6=0 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 46:[6, 52], Operations: ['93-35=58', '58-6=52'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[6, 93, 35, 6], Operations: [] Exploring Operation: 93-35=58, Resulting Numbers: [6, 6, 58] Generated Node #0,3: 46:[6, 6, 58] Operation: 93-35=58 Moving to Node #0,3 Current State: 46:[6, 6, 58], Operations: ['93-35=58'] Exploring Operation: 58-6=52, Resulting Numbers: [6, 52] Generated Node #0,3,1: 46:[6, 52] Operation: 58-6=52 Moving to Node #0,3,1 Current State: 46:[6, 52], Operations: ['93-35=58', '58-6=52'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 73, 20, 32, 5 ]
66
[ "73+20=93", "32-5=27", "93-27=66" ]
Current State: 66:[73, 20, 32, 5], Operations: [] Exploring Operation: 73+20=93, Resulting Numbers: [32, 5, 93] Generated Node #2: [32, 5, 93] from Operation: 73+20=93 Current State: 66:[32, 5, 93], Operations: ['73+20=93'] Exploring Operation: 32-5=27, Resulting Numbers: [93, 27] Generated Node #3: [93, 27] from Operation: 32-5=27 Current State: 66:[93, 27], Operations: ['73+20=93', '32-5=27'] Exploring Operation: 93-27=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[73, 20, 32, 5], Operations: [] Exploring Operation: 32-20=12, Resulting Numbers: [73, 5, 12] Generated Node #0,0: 66:[73, 5, 12] Operation: 32-20=12 Exploring Operation: 20/5=4, Resulting Numbers: [73, 32, 4] Generated Node #0,1: 66:[73, 32, 4] Operation: 20/5=4 Exploring Operation: 73-5=68, Resulting Numbers: [20, 32, 68] Generated Node #0,2: 66:[20, 32, 68] Operation: 73-5=68 Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[20, 32, 68], Operations: ['73-5=68'] Exploring Operation: 20+32=52, Resulting Numbers: [68, 52] Generated Node #0,2,0: 66:[68, 52] Operation: 20+32=52 Exploring Operation: 68-32=36, Resulting Numbers: [20, 36] Generated Node #0,2,1: 66:[20, 36] Operation: 68-32=36 Exploring Operation: 32-20=12, Resulting Numbers: [68, 12] Generated Node #0,2,2: 66:[68, 12] Operation: 32-20=12 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 66:[68, 12], Operations: ['73-5=68', '32-20=12'] Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 68*12=816, Resulting Numbers: [816] 816,66 unequal: No Solution Exploring Operation: 68+12=80, Resulting Numbers: [80] 80,66 unequal: No Solution No 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: 66:[20, 36], Operations: ['73-5=68', '68-32=36'] Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,66 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,66 unequal: No Solution No 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: 66:[68, 52], Operations: ['73-5=68', '20+32=52'] Exploring Operation: 68+52=120, Resulting Numbers: [120] 120,66 unequal: No Solution Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 68*52=3536, Resulting Numbers: [3536] 3536,66 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: 66:[73, 5, 12], Operations: ['32-20=12'] Exploring Operation: 73-12=61, Resulting Numbers: [5, 61] Generated Node #0,0,0: 66:[5, 61] Operation: 73-12=61 Exploring Operation: 12-5=7, Resulting Numbers: [73, 7] Generated Node #0,0,1: 66:[73, 7] Operation: 12-5=7 Exploring Operation: 73-5=68, Resulting Numbers: [12, 68] Generated Node #0,0,2: 66:[12, 68] Operation: 73-5=68 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 66:[12, 68], Operations: ['32-20=12', '73-5=68'] Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 12*68=816, Resulting Numbers: [816] 816,66 unequal: No Solution Exploring Operation: 12+68=80, Resulting Numbers: [80] 80,66 unequal: No Solution No 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: 66:[5, 61], Operations: ['32-20=12', '73-12=61'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,66 unequal: No Solution Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[73, 20, 32, 5], Operations: [] Exploring Operation: 32-20=12, Resulting Numbers: [73, 5, 12] Generated Node #0,0: 66:[73, 5, 12] Operation: 32-20=12 Moving to Node #0,0 Current State: 66:[73, 5, 12], Operations: ['32-20=12'] Exploring Operation: 73-12=61, Resulting Numbers: [5, 61] Generated Node #0,0,0: 66:[5, 61] Operation: 73-12=61 Moving to Node #0,0,0 Current State: 66:[5, 61], Operations: ['32-20=12', '73-12=61'] Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 89, 70, 20, 82 ]
82
[ "89-70=19", "20-19=1", "82*1=82" ]
Current State: 82:[89, 70, 20, 82], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [20, 82, 19] Generated Node #2: [20, 82, 19] from Operation: 89-70=19 Current State: 82:[20, 82, 19], Operations: ['89-70=19'] Exploring Operation: 20-19=1, Resulting Numbers: [82, 1] Generated Node #3: [82, 1] from Operation: 20-19=1 Current State: 82:[82, 1], Operations: ['89-70=19', '20-19=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[89, 70, 20, 82], Operations: [] Exploring Operation: 70+20=90, Resulting Numbers: [89, 82, 90] Generated Node #0,0: 82:[89, 82, 90] Operation: 70+20=90 Exploring Operation: 89-20=69, Resulting Numbers: [70, 82, 69] Generated Node #0,1: 82:[70, 82, 69] Operation: 89-20=69 Exploring Operation: 70-20=50, Resulting Numbers: [89, 82, 50] Generated Node #0,2: 82:[89, 82, 50] Operation: 70-20=50 Exploring Operation: 89-70=19, Resulting Numbers: [20, 82, 19] Generated Node #0,3: 82:[20, 82, 19] Operation: 89-70=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[89, 82, 90], Operations: ['70+20=90'] Exploring Operation: 90-82=8, Resulting Numbers: [89, 8] Generated Node #0,0,0: 82:[89, 8] Operation: 90-82=8 Exploring Operation: 89+82=171, Resulting Numbers: [90, 171] Generated Node #0,0,1: 82:[90, 171] Operation: 89+82=171 Exploring Operation: 89-82=7, Resulting Numbers: [90, 7] Generated Node #0,0,2: 82:[90, 7] Operation: 89-82=7 Exploring Operation: 90-89=1, Resulting Numbers: [82, 1] Generated Node #0,0,3: 82:[82, 1] Operation: 90-89=1 Moving to Node #0,0,3 Current State: 82:[82, 1], Operations: ['70+20=90', '90-89=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[89, 70, 20, 82], Operations: [] Exploring Operation: 70+20=90, Resulting Numbers: [89, 82, 90] Generated Node #0,0: 82:[89, 82, 90] Operation: 70+20=90 Moving to Node #0,0 Current State: 82:[89, 82, 90], Operations: ['70+20=90'] Exploring Operation: 90-89=1, Resulting Numbers: [82, 1] Generated Node #0,0,3: 82:[82, 1] Operation: 90-89=1 Moving to Node #0,0,3 Current State: 82:[82, 1], Operations: ['70+20=90', '90-89=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 94, 83, 11, 39 ]
78
[ "94-39=55", "55/11=5", "83-5=78" ]
Current State: 78:[94, 83, 11, 39], Operations: [] Exploring Operation: 94-39=55, Resulting Numbers: [83, 11, 55] Generated Node #2: [83, 11, 55] from Operation: 94-39=55 Current State: 78:[83, 11, 55], Operations: ['94-39=55'] Exploring Operation: 55/11=5, Resulting Numbers: [83, 5] Generated Node #3: [83, 5] from Operation: 55/11=5 Current State: 78:[83, 5], Operations: ['94-39=55', '55/11=5'] Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[94, 83, 11, 39], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [11, 39, 11] Generated Node #0,0: 78:[11, 39, 11] Operation: 94-83=11 Exploring Operation: 94-11=83, Resulting Numbers: [83, 39, 83] Generated Node #0,1: 78:[83, 39, 83] Operation: 94-11=83 Moving to Node #0,0 Current State: 78:[11, 39, 11], Operations: ['94-83=11'] Exploring Operation: 11-11=0, Resulting Numbers: [39, 0] Generated Node #0,0,0: 78:[39, 0] Operation: 11-11=0 Exploring Operation: 11/11=1, Resulting Numbers: [39, 1] Generated Node #0,0,1: 78:[39, 1] Operation: 11/11=1 Moving to Node #0,1 Current State: 78:[83, 39, 83], Operations: ['94-11=83'] Exploring Operation: 83/83=1, Resulting Numbers: [39, 1] Generated Node #0,1,0: 78:[39, 1] Operation: 83/83=1 Exploring Operation: 83-83=0, Resulting Numbers: [39, 0] Generated Node #0,1,1: 78:[39, 0] Operation: 83-83=0 Moving to Node #0,0,1 Current State: 78:[39, 1], Operations: ['94-83=11', '11/11=1'] Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[39, 1], Operations: ['94-11=83', '83/83=1'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[39, 0], Operations: ['94-83=11', '11-11=0'] Exploring Operation: 39-0=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 39+0=39, Resulting Numbers: [39] 39,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[39, 0], Operations: ['94-11=83', '83-83=0'] Exploring Operation: 39-0=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 39+0=39, Resulting Numbers: [39] 39,78 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 85, 20, 79, 70 ]
21
[ "85-79=6", "70*6=420", "420/20=21" ]
Current State: 21:[85, 20, 79, 70], Operations: [] Exploring Operation: 85-79=6, Resulting Numbers: [20, 70, 6] Generated Node #2: [20, 70, 6] from Operation: 85-79=6 Current State: 21:[20, 70, 6], Operations: ['85-79=6'] Exploring Operation: 70*6=420, Resulting Numbers: [20, 420] Generated Node #3: [20, 420] from Operation: 70*6=420 Current State: 21:[20, 420], Operations: ['85-79=6', '70*6=420'] Exploring Operation: 420/20=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[85, 20, 79, 70], Operations: [] Exploring Operation: 85-79=6, Resulting Numbers: [20, 70, 6] Generated Node #0,0: 21:[20, 70, 6] Operation: 85-79=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[20, 70, 6], Operations: ['85-79=6'] Exploring Operation: 70-20=50, Resulting Numbers: [6, 50] Generated Node #0,0,0: 21:[6, 50] Operation: 70-20=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[6, 50], Operations: ['85-79=6', '70-20=50'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,21 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
[ 5, 70, 40, 22 ]
80
[ "5*22=110", "70-40=30", "110-30=80" ]
Current State: 80:[5, 70, 40, 22], Operations: [] Exploring Operation: 5*22=110, Resulting Numbers: [70, 40, 110] Generated Node #2: [70, 40, 110] from Operation: 5*22=110 Current State: 80:[70, 40, 110], Operations: ['5*22=110'] Exploring Operation: 70-40=30, Resulting Numbers: [110, 30] Generated Node #3: [110, 30] from Operation: 70-40=30 Current State: 80:[110, 30], Operations: ['5*22=110', '70-40=30'] Exploring Operation: 110-30=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[5, 70, 40, 22], Operations: [] Exploring Operation: 70/5=14, Resulting Numbers: [40, 22, 14] Generated Node #0,0: 80:[40, 22, 14] Operation: 70/5=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[40, 22, 14], Operations: ['70/5=14'] Exploring Operation: 22-14=8, Resulting Numbers: [40, 8] Generated Node #0,0,0: 80:[40, 8] Operation: 22-14=8 Moving to Node #0,0,0 Current State: 80:[40, 8], Operations: ['70/5=14', '22-14=8'] Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,80 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
[ 53, 45, 76, 85 ]
48
[ "85-76=9", "45/9=5", "53-5=48" ]
Current State: 48:[53, 45, 76, 85], Operations: [] Exploring Operation: 85-76=9, Resulting Numbers: [53, 45, 9] Generated Node #2: [53, 45, 9] from Operation: 85-76=9 Current State: 48:[53, 45, 9], Operations: ['85-76=9'] Exploring Operation: 45/9=5, Resulting Numbers: [53, 5] Generated Node #3: [53, 5] from Operation: 45/9=5 Current State: 48:[53, 5], Operations: ['85-76=9', '45/9=5'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[53, 45, 76, 85], Operations: [] Exploring Operation: 85-76=9, Resulting Numbers: [53, 45, 9] Generated Node #0,0: 48:[53, 45, 9] Operation: 85-76=9 Exploring Operation: 85-53=32, Resulting Numbers: [45, 76, 32] Generated Node #0,1: 48:[45, 76, 32] Operation: 85-53=32 Exploring Operation: 76-53=23, Resulting Numbers: [45, 85, 23] Generated Node #0,2: 48:[45, 85, 23] Operation: 76-53=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[53, 45, 9], Operations: ['85-76=9'] Exploring Operation: 53-45=8, Resulting Numbers: [9, 8] Generated Node #0,0,0: 48:[9, 8] Operation: 53-45=8 Exploring Operation: 45/9=5, Resulting Numbers: [53, 5] Generated Node #0,0,1: 48:[53, 5] Operation: 45/9=5 Exploring Operation: 53-9=44, Resulting Numbers: [45, 44] Generated Node #0,0,2: 48:[45, 44] Operation: 53-9=44 Moving to Node #0,0,0 Current State: 48:[9, 8], Operations: ['85-76=9', '53-45=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,48 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[53, 5], Operations: ['85-76=9', '45/9=5'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[53, 45, 76, 85], Operations: [] Exploring Operation: 85-76=9, Resulting Numbers: [53, 45, 9] Generated Node #0,0: 48:[53, 45, 9] Operation: 85-76=9 Moving to Node #0,0 Current State: 48:[53, 45, 9], Operations: ['85-76=9'] Exploring Operation: 45/9=5, Resulting Numbers: [53, 5] Generated Node #0,0,1: 48:[53, 5] Operation: 45/9=5 Moving to Node #0,0,1 Current State: 48:[53, 5], Operations: ['85-76=9', '45/9=5'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 87, 94, 2, 29 ]
43
[ "94-87=7", "2*7=14", "29+14=43" ]
Current State: 43:[87, 94, 2, 29], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [2, 29, 7] Generated Node #2: [2, 29, 7] from Operation: 94-87=7 Current State: 43:[2, 29, 7], Operations: ['94-87=7'] Exploring Operation: 2*7=14, Resulting Numbers: [29, 14] Generated Node #3: [29, 14] from Operation: 2*7=14 Current State: 43:[29, 14], Operations: ['94-87=7', '2*7=14'] Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[87, 94, 2, 29], Operations: [] Exploring Operation: 87-29=58, Resulting Numbers: [94, 2, 58] Generated Node #0,0: 43:[94, 2, 58] Operation: 87-29=58 Exploring Operation: 94/2=47, Resulting Numbers: [87, 29, 47] Generated Node #0,1: 43:[87, 29, 47] Operation: 94/2=47 Exploring Operation: 87-2=85, Resulting Numbers: [94, 29, 85] Generated Node #0,2: 43:[94, 29, 85] Operation: 87-2=85 Exploring Operation: 94-87=7, Resulting Numbers: [2, 29, 7] Generated Node #0,3: 43:[2, 29, 7] Operation: 94-87=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[87, 29, 47], Operations: ['94/2=47'] Exploring Operation: 87-29=58, Resulting Numbers: [47, 58] Generated Node #0,1,0: 43:[47, 58] Operation: 87-29=58 Exploring Operation: 47-29=18, Resulting Numbers: [87, 18] Generated Node #0,1,1: 43:[87, 18] Operation: 47-29=18 Exploring Operation: 87/29=3, Resulting Numbers: [47, 3] Generated Node #0,1,2: 43:[47, 3] Operation: 87/29=3 Exploring Operation: 87-47=40, Resulting Numbers: [29, 40] Generated Node #0,1,3: 43:[29, 40] Operation: 87-47=40 Moving to Node #0,1,3 Current State: 43:[29, 40], Operations: ['94/2=47', '87-47=40'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 29+40=69, Resulting Numbers: [69] 69,43 unequal: No Solution Exploring Operation: 29*40=1160, Resulting Numbers: [1160] 1160,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[47, 58], Operations: ['94/2=47', '87-29=58'] Exploring Operation: 47*58=2726, Resulting Numbers: [2726] 2726,43 unequal: No Solution Exploring Operation: 47+58=105, Resulting Numbers: [105] 105,43 unequal: No Solution Exploring Operation: 58-47=11, Resulting Numbers: [11] 11,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[47, 3], Operations: ['94/2=47', '87/29=3'] Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,43 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[87, 18], Operations: ['94/2=47', '47-29=18'] Exploring Operation: 87*18=1566, Resulting Numbers: [1566] 1566,43 unequal: No Solution Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,43 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[2, 29, 7], Operations: ['94-87=7'] Exploring Operation: 29+7=36, Resulting Numbers: [2, 36] Generated Node #0,3,0: 43:[2, 36] Operation: 29+7=36 Exploring Operation: 2+7=9, Resulting Numbers: [29, 9] Generated Node #0,3,1: 43:[29, 9] Operation: 2+7=9 Exploring Operation: 2+29=31, Resulting Numbers: [7, 31] Generated Node #0,3,2: 43:[7, 31] Operation: 2+29=31 Exploring Operation: 2*7=14, Resulting Numbers: [29, 14] Generated Node #0,3,3: 43:[29, 14] Operation: 2*7=14 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 43:[29, 14], Operations: ['94-87=7', '2*7=14'] Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,43 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[87, 94, 2, 29], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [2, 29, 7] Generated Node #0,3: 43:[2, 29, 7] Operation: 94-87=7 Moving to Node #0,3 Current State: 43:[2, 29, 7], Operations: ['94-87=7'] Exploring Operation: 2*7=14, Resulting Numbers: [29, 14] Generated Node #0,3,3: 43:[29, 14] Operation: 2*7=14 Moving to Node #0,3,3 Current State: 43:[29, 14], Operations: ['94-87=7', '2*7=14'] Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 2, 58, 53, 57 ]
19
[ "58-2=56", "56-53=3", "57/3=19" ]
Current State: 19:[2, 58, 53, 57], Operations: [] Exploring Operation: 58-2=56, Resulting Numbers: [53, 57, 56] Generated Node #2: [53, 57, 56] from Operation: 58-2=56 Current State: 19:[53, 57, 56], Operations: ['58-2=56'] Exploring Operation: 56-53=3, Resulting Numbers: [57, 3] Generated Node #3: [57, 3] from Operation: 56-53=3 Current State: 19:[57, 3], Operations: ['58-2=56', '56-53=3'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[2, 58, 53, 57], Operations: [] Exploring Operation: 58-53=5, Resulting Numbers: [2, 57, 5] Generated Node #0,0: 19:[2, 57, 5] Operation: 58-53=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[2, 57, 5], Operations: ['58-53=5'] Exploring Operation: 2*5=10, Resulting Numbers: [57, 10] Generated Node #0,0,0: 19:[57, 10] Operation: 2*5=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[57, 10], Operations: ['58-53=5', '2*5=10'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,19 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, 51, 3, 95 ]
99
[ "21+95=116", "51/3=17", "116-17=99" ]
Current State: 99:[21, 51, 3, 95], Operations: [] Exploring Operation: 21+95=116, Resulting Numbers: [51, 3, 116] Generated Node #2: [51, 3, 116] from Operation: 21+95=116 Current State: 99:[51, 3, 116], Operations: ['21+95=116'] Exploring Operation: 51/3=17, Resulting Numbers: [116, 17] Generated Node #3: [116, 17] from Operation: 51/3=17 Current State: 99:[116, 17], Operations: ['21+95=116', '51/3=17'] Exploring Operation: 116-17=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[21, 51, 3, 95], Operations: [] Exploring Operation: 51-21=30, Resulting Numbers: [3, 95, 30] Generated Node #0,0: 99:[3, 95, 30] Operation: 51-21=30 Moving to Node #0,0 Current State: 99:[3, 95, 30], Operations: ['51-21=30'] Exploring Operation: 3+95=98, Resulting Numbers: [30, 98] Generated Node #0,0,0: 99:[30, 98] Operation: 3+95=98 Moving to Node #0,0,0 Current State: 99:[30, 98], Operations: ['51-21=30', '3+95=98'] Exploring Operation: 30+98=128, Resulting Numbers: [128] 128,99 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 16, 72, 54, 21 ]
48
[ "72-54=18", "21-18=3", "16*3=48" ]
Current State: 48:[16, 72, 54, 21], Operations: [] Exploring Operation: 72-54=18, Resulting Numbers: [16, 21, 18] Generated Node #2: [16, 21, 18] from Operation: 72-54=18 Current State: 48:[16, 21, 18], Operations: ['72-54=18'] Exploring Operation: 21-18=3, Resulting Numbers: [16, 3] Generated Node #3: [16, 3] from Operation: 21-18=3 Current State: 48:[16, 3], Operations: ['72-54=18', '21-18=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[16, 72, 54, 21], Operations: [] Exploring Operation: 72-54=18, Resulting Numbers: [16, 21, 18] Generated Node #0,0: 48:[16, 21, 18] Operation: 72-54=18 Moving to Node #0,0 Current State: 48:[16, 21, 18], Operations: ['72-54=18'] Exploring Operation: 21-18=3, Resulting Numbers: [16, 3] Generated Node #0,0,0: 48:[16, 3] Operation: 21-18=3 Moving to Node #0,0,0 Current State: 48:[16, 3], Operations: ['72-54=18', '21-18=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[16, 72, 54, 21], Operations: [] Exploring Operation: 72-54=18, Resulting Numbers: [16, 21, 18] Generated Node #0,0: 48:[16, 21, 18] Operation: 72-54=18 Moving to Node #0,0 Current State: 48:[16, 21, 18], Operations: ['72-54=18'] Exploring Operation: 21-18=3, Resulting Numbers: [16, 3] Generated Node #0,0,0: 48:[16, 3] Operation: 21-18=3 Moving to Node #0,0,0 Current State: 48:[16, 3], Operations: ['72-54=18', '21-18=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 30, 66, 39, 82 ]
53
[ "30+66=96", "82-39=43", "96-43=53" ]
Current State: 53:[30, 66, 39, 82], Operations: [] Exploring Operation: 30+66=96, Resulting Numbers: [39, 82, 96] Generated Node #2: [39, 82, 96] from Operation: 30+66=96 Current State: 53:[39, 82, 96], Operations: ['30+66=96'] Exploring Operation: 82-39=43, Resulting Numbers: [96, 43] Generated Node #3: [96, 43] from Operation: 82-39=43 Current State: 53:[96, 43], Operations: ['30+66=96', '82-39=43'] Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[30, 66, 39, 82], Operations: [] Exploring Operation: 82-30=52, Resulting Numbers: [66, 39, 52] Generated Node #0,0: 53:[66, 39, 52] Operation: 82-30=52 Exploring Operation: 66-30=36, Resulting Numbers: [39, 82, 36] Generated Node #0,1: 53:[39, 82, 36] Operation: 66-30=36 Exploring Operation: 30+39=69, Resulting Numbers: [66, 82, 69] Generated Node #0,2: 53:[66, 82, 69] Operation: 30+39=69 Exploring Operation: 82-39=43, Resulting Numbers: [30, 66, 43] Generated Node #0,3: 53:[30, 66, 43] Operation: 82-39=43 Exploring Operation: 82-66=16, Resulting Numbers: [30, 39, 16] Generated Node #0,4: 53:[30, 39, 16] Operation: 82-66=16 Moving to Node #0,0 Current State: 53:[66, 39, 52], Operations: ['82-30=52'] Exploring Operation: 66-39=27, Resulting Numbers: [52, 27] Generated Node #0,0,0: 53:[52, 27] Operation: 66-39=27 Exploring Operation: 66-52=14, Resulting Numbers: [39, 14] Generated Node #0,0,1: 53:[39, 14] Operation: 66-52=14 Exploring Operation: 39+52=91, Resulting Numbers: [66, 91] Generated Node #0,0,2: 53:[66, 91] Operation: 39+52=91 Exploring Operation: 66+39=105, Resulting Numbers: [52, 105] Generated Node #0,0,3: 53:[52, 105] Operation: 66+39=105 Exploring Operation: 52-39=13, Resulting Numbers: [66, 13] Generated Node #0,0,4: 53:[66, 13] Operation: 52-39=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[52, 27], Operations: ['82-30=52', '66-39=27'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 52*27=1404, Resulting Numbers: [1404] 1404,53 unequal: No Solution Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[66, 91], Operations: ['82-30=52', '39+52=91'] Exploring Operation: 91-66=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 66+91=157, Resulting Numbers: [157] 157,53 unequal: No Solution Exploring Operation: 66*91=6006, Resulting Numbers: [6006] 6006,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[39, 14], Operations: ['82-30=52', '66-52=14'] Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,53 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[30, 66, 39, 82], Operations: [] Exploring Operation: 82-30=52, Resulting Numbers: [66, 39, 52] Generated Node #0,0: 53:[66, 39, 52] Operation: 82-30=52 Moving to Node #0,0 Current State: 53:[66, 39, 52], Operations: ['82-30=52'] Exploring Operation: 66-52=14, Resulting Numbers: [39, 14] Generated Node #0,0,1: 53:[39, 14] Operation: 66-52=14 Moving to Node #0,0,1 Current State: 53:[39, 14], Operations: ['82-30=52', '66-52=14'] Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 16, 53, 21, 4 ]
33
[ "21-16=5", "4*5=20", "53-20=33" ]
Current State: 33:[16, 53, 21, 4], Operations: [] Exploring Operation: 21-16=5, Resulting Numbers: [53, 4, 5] Generated Node #2: [53, 4, 5] from Operation: 21-16=5 Current State: 33:[53, 4, 5], Operations: ['21-16=5'] Exploring Operation: 4*5=20, Resulting Numbers: [53, 20] Generated Node #3: [53, 20] from Operation: 4*5=20 Current State: 33:[53, 20], Operations: ['21-16=5', '4*5=20'] Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[16, 53, 21, 4], Operations: [] Exploring Operation: 21-16=5, Resulting Numbers: [53, 4, 5] Generated Node #0,0: 33:[53, 4, 5] Operation: 21-16=5 Exploring Operation: 53-21=32, Resulting Numbers: [16, 4, 32] Generated Node #0,1: 33:[16, 4, 32] Operation: 53-21=32 Exploring Operation: 53-16=37, Resulting Numbers: [21, 4, 37] Generated Node #0,2: 33:[21, 4, 37] Operation: 53-16=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[16, 4, 32], Operations: ['53-21=32'] Exploring Operation: 16-4=12, Resulting Numbers: [32, 12] Generated Node #0,1,0: 33:[32, 12] Operation: 16-4=12 Exploring Operation: 16/4=4, Resulting Numbers: [32, 4] Generated Node #0,1,1: 33:[32, 4] Operation: 16/4=4 Exploring Operation: 32/16=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 33:[4, 2] Operation: 32/16=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[32, 12], Operations: ['53-21=32', '16-4=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,33 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[32, 4], Operations: ['53-21=32', '16/4=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[4, 2], Operations: ['53-21=32', '32/16=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[21, 4, 37], Operations: ['53-16=37'] Exploring Operation: 37-4=33, Resulting Numbers: [21, 33] Generated Node #0,2,0: 33:[21, 33] Operation: 37-4=33 Exploring Operation: 21-4=17, Resulting Numbers: [37, 17] Generated Node #0,2,1: 33:[37, 17] Operation: 21-4=17 Exploring Operation: 37-21=16, Resulting Numbers: [4, 16] Generated Node #0,2,2: 33:[4, 16] Operation: 37-21=16 Moving to Node #0,2,2 Current State: 33:[4, 16], Operations: ['53-16=37', '37-21=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,33 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[21, 33], Operations: ['53-16=37', '37-4=33'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,33 unequal: No Solution Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[37, 17], Operations: ['53-16=37', '21-4=17'] Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[53, 4, 5], Operations: ['21-16=5'] Exploring Operation: 53-4=49, Resulting Numbers: [5, 49] Generated Node #0,0,0: 33:[5, 49] Operation: 53-4=49 Exploring Operation: 53-5=48, Resulting Numbers: [4, 48] Generated Node #0,0,1: 33:[4, 48] Operation: 53-5=48 Exploring Operation: 4+5=9, Resulting Numbers: [53, 9] Generated Node #0,0,2: 33:[53, 9] Operation: 4+5=9 Moving to Node #0,0,1 Current State: 33:[4, 48], Operations: ['21-16=5', '53-5=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,33 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,33 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[5, 49], Operations: ['21-16=5', '53-4=49'] Exploring Operation: 5+49=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,33 unequal: No Solution Exploring Operation: 5*49=245, Resulting Numbers: [245] 245,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[53, 9], Operations: ['21-16=5', '4+5=9'] Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,33 unequal: No Solution Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,33 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
[ 71, 72, 58, 75 ]
39
[ "71-58=13", "75-72=3", "13*3=39" ]
Current State: 39:[71, 72, 58, 75], Operations: [] Exploring Operation: 71-58=13, Resulting Numbers: [72, 75, 13] Generated Node #2: [72, 75, 13] from Operation: 71-58=13 Current State: 39:[72, 75, 13], Operations: ['71-58=13'] Exploring Operation: 75-72=3, Resulting Numbers: [13, 3] Generated Node #3: [13, 3] from Operation: 75-72=3 Current State: 39:[13, 3], Operations: ['71-58=13', '75-72=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[71, 72, 58, 75], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [71, 58, 3] Generated Node #0,0: 39:[71, 58, 3] Operation: 75-72=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[71, 58, 3], Operations: ['75-72=3'] Exploring Operation: 71-58=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 39:[3, 13] Operation: 71-58=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[3, 13], Operations: ['75-72=3', '71-58=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[71, 72, 58, 75], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [71, 58, 3] Generated Node #0,0: 39:[71, 58, 3] Operation: 75-72=3 Moving to Node #0,0 Current State: 39:[71, 58, 3], Operations: ['75-72=3'] Exploring Operation: 71-58=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 39:[3, 13] Operation: 71-58=13 Moving to Node #0,0,0 Current State: 39:[3, 13], Operations: ['75-72=3', '71-58=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.993924
hs_1
sum_heuristic
[ 64, 30, 13, 49 ]
60
[ "64-13=51", "51-49=2", "30*2=60" ]
Current State: 60:[64, 30, 13, 49], Operations: [] Exploring Operation: 64-13=51, Resulting Numbers: [30, 49, 51] Generated Node #2: [30, 49, 51] from Operation: 64-13=51 Current State: 60:[30, 49, 51], Operations: ['64-13=51'] Exploring Operation: 51-49=2, Resulting Numbers: [30, 2] Generated Node #3: [30, 2] from Operation: 51-49=2 Current State: 60:[30, 2], Operations: ['64-13=51', '51-49=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[64, 30, 13, 49], Operations: [] Exploring Operation: 64-30=34, Resulting Numbers: [13, 49, 34] Generated Node #0,0: 60:[13, 49, 34] Operation: 64-30=34 Exploring Operation: 49-13=36, Resulting Numbers: [64, 30, 36] Generated Node #0,1: 60:[64, 30, 36] Operation: 49-13=36 Exploring Operation: 64-49=15, Resulting Numbers: [30, 13, 15] Generated Node #0,2: 60:[30, 13, 15] Operation: 64-49=15 Exploring Operation: 13+49=62, Resulting Numbers: [64, 30, 62] Generated Node #0,3: 60:[64, 30, 62] Operation: 13+49=62 Exploring Operation: 49-30=19, Resulting Numbers: [64, 13, 19] Generated Node #0,4: 60:[64, 13, 19] Operation: 49-30=19 Moving to Node #0,2 Current State: 60:[30, 13, 15], Operations: ['64-49=15'] Exploring Operation: 30/15=2, Resulting Numbers: [13, 2] Generated Node #0,2,0: 60:[13, 2] Operation: 30/15=2 Exploring Operation: 30-15=15, Resulting Numbers: [13, 15] Generated Node #0,2,1: 60:[13, 15] Operation: 30-15=15 Exploring Operation: 13+15=28, Resulting Numbers: [30, 28] Generated Node #0,2,2: 60:[30, 28] Operation: 13+15=28 Exploring Operation: 15-13=2, Resulting Numbers: [30, 2] Generated Node #0,2,3: 60:[30, 2] Operation: 15-13=2 Exploring Operation: 30-13=17, Resulting Numbers: [15, 17] Generated Node #0,2,4: 60:[15, 17] Operation: 30-13=17 Moving to Node #0,4 Current State: 60:[64, 13, 19], Operations: ['49-30=19'] Exploring Operation: 19-13=6, Resulting Numbers: [64, 6] Generated Node #0,4,0: 60:[64, 6] Operation: 19-13=6 Exploring Operation: 64-13=51, Resulting Numbers: [19, 51] Generated Node #0,4,1: 60:[19, 51] Operation: 64-13=51 Exploring Operation: 64+13=77, Resulting Numbers: [19, 77] Generated Node #0,4,2: 60:[19, 77] Operation: 64+13=77 Exploring Operation: 64-19=45, Resulting Numbers: [13, 45] Generated Node #0,4,3: 60:[13, 45] Operation: 64-19=45 Exploring Operation: 13+19=32, Resulting Numbers: [64, 32] Generated Node #0,4,4: 60:[64, 32] Operation: 13+19=32 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 60:[64, 6], Operations: ['49-30=19', '19-13=6'] Exploring Operation: 64*6=384, Resulting Numbers: [384] 384,60 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 60:[64, 32], Operations: ['49-30=19', '13+19=32'] Exploring Operation: 64/32=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 64+32=96, Resulting Numbers: [96] 96,60 unequal: No Solution Exploring Operation: 64*32=2048, Resulting Numbers: [2048] 2048,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 60:[19, 51], Operations: ['49-30=19', '64-13=51'] Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,60 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 19*51=969, Resulting Numbers: [969] 969,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 60:[13, 45], Operations: ['49-30=19', '64-19=45'] Exploring Operation: 13+45=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 13*45=585, Resulting Numbers: [585] 585,60 unequal: No Solution Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 60:[19, 77], Operations: ['49-30=19', '64+13=77'] Exploring Operation: 19*77=1463, Resulting Numbers: [1463] 1463,60 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 19+77=96, Resulting Numbers: [96] 96,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 60:[64, 30, 62], Operations: ['13+49=62'] Exploring Operation: 64-62=2, Resulting Numbers: [30, 2] Generated Node #0,3,0: 60:[30, 2] Operation: 64-62=2 Exploring Operation: 30+62=92, Resulting Numbers: [64, 92] Generated Node #0,3,1: 60:[64, 92] Operation: 30+62=92 Exploring Operation: 64-30=34, Resulting Numbers: [62, 34] Generated Node #0,3,2: 60:[62, 34] Operation: 64-30=34 Exploring Operation: 62-30=32, Resulting Numbers: [64, 32] Generated Node #0,3,3: 60:[64, 32] Operation: 62-30=32 Exploring Operation: 64+30=94, Resulting Numbers: [62, 94] Generated Node #0,3,4: 60:[62, 94] Operation: 64+30=94 Moving to Node #0,1 Current State: 60:[64, 30, 36], Operations: ['49-13=36'] Exploring Operation: 36-30=6, Resulting Numbers: [64, 6] Generated Node #0,1,0: 60:[64, 6] Operation: 36-30=6 Exploring Operation: 30+36=66, Resulting Numbers: [64, 66] Generated Node #0,1,1: 60:[64, 66] Operation: 30+36=66 Exploring Operation: 64-30=34, Resulting Numbers: [36, 34] Generated Node #0,1,2: 60:[36, 34] Operation: 64-30=34 Exploring Operation: 64+30=94, Resulting Numbers: [36, 94] Generated Node #0,1,3: 60:[36, 94] Operation: 64+30=94 Exploring Operation: 64-36=28, Resulting Numbers: [30, 28] Generated Node #0,1,4: 60:[30, 28] Operation: 64-36=28 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 60:[30, 28], Operations: ['49-13=36', '64-36=28'] Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 30*28=840, Resulting Numbers: [840] 840,60 unequal: No Solution Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[64, 6], Operations: ['49-13=36', '36-30=6'] Exploring Operation: 64*6=384, Resulting Numbers: [384] 384,60 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[64, 66], Operations: ['49-13=36', '30+36=66'] Exploring Operation: 64+66=130, Resulting Numbers: [130] 130,60 unequal: No Solution Exploring Operation: 64*66=4224, Resulting Numbers: [4224] 4224,60 unequal: No Solution Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 60:[36, 34], Operations: ['49-13=36', '64-30=34'] Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,60 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 36*34=1224, Resulting Numbers: [1224] 1224,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 60:[36, 94], Operations: ['49-13=36', '64+30=94'] Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 36*94=3384, Resulting Numbers: [3384] 3384,60 unequal: No Solution Exploring Operation: 36+94=130, Resulting Numbers: [130] 130,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 60:[13, 49, 34], Operations: ['64-30=34'] Exploring Operation: 49-34=15, Resulting Numbers: [13, 15] Generated Node #0,0,0: 60:[13, 15] Operation: 49-34=15 Exploring Operation: 13+34=47, Resulting Numbers: [49, 47] Generated Node #0,0,1: 60:[49, 47] Operation: 13+34=47 Exploring Operation: 34-13=21, Resulting Numbers: [49, 21] Generated Node #0,0,2: 60:[49, 21] Operation: 34-13=21 Exploring Operation: 49-13=36, Resulting Numbers: [34, 36] Generated Node #0,0,3: 60:[34, 36] Operation: 49-13=36 Exploring Operation: 13+49=62, Resulting Numbers: [34, 62] Generated Node #0,0,4: 60:[34, 62] Operation: 13+49=62 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[13, 15], Operations: ['64-30=34', '49-34=15'] Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,60 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 60:[34, 62], Operations: ['64-30=34', '13+49=62'] Exploring Operation: 62-34=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 34+62=96, Resulting Numbers: [96] 96,60 unequal: No Solution Exploring Operation: 34*62=2108, Resulting Numbers: [2108] 2108,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 60:[34, 36], Operations: ['64-30=34', '49-13=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,60 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 60:[49, 21], Operations: ['64-30=34', '34-13=21'] Exploring Operation: 49*21=1029, Resulting Numbers: [1029] 1029,60 unequal: No Solution Exploring Operation: 49+21=70, Resulting Numbers: [70] 70,60 unequal: No Solution Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[49, 47], Operations: ['64-30=34', '13+34=47'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 49*47=2303, Resulting Numbers: [2303] 2303,60 unequal: No Solution Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 60:[30, 2], Operations: ['64-49=15', '15-13=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[64, 30, 13, 49], Operations: [] Exploring Operation: 64-49=15, Resulting Numbers: [30, 13, 15] Generated Node #0,2: 60:[30, 13, 15] Operation: 64-49=15 Moving to Node #0,2 Current State: 60:[30, 13, 15], Operations: ['64-49=15'] Exploring Operation: 15-13=2, Resulting Numbers: [30, 2] Generated Node #0,2,3: 60:[30, 2] Operation: 15-13=2 Moving to Node #0,2,3 Current State: 60:[30, 2], Operations: ['64-49=15', '15-13=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.927951
hs_5
sum_heuristic
[ 27, 45, 15, 26 ]
50
[ "27+26=53", "45/15=3", "53-3=50" ]
Current State: 50:[27, 45, 15, 26], Operations: [] Exploring Operation: 27+26=53, Resulting Numbers: [45, 15, 53] Generated Node #2: [45, 15, 53] from Operation: 27+26=53 Current State: 50:[45, 15, 53], Operations: ['27+26=53'] Exploring Operation: 45/15=3, Resulting Numbers: [53, 3] Generated Node #3: [53, 3] from Operation: 45/15=3 Current State: 50:[53, 3], Operations: ['27+26=53', '45/15=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[27, 45, 15, 26], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [27, 26, 3] Generated Node #0,0: 50:[27, 26, 3] Operation: 45/15=3 Exploring Operation: 27-15=12, Resulting Numbers: [45, 26, 12] Generated Node #0,1: 50:[45, 26, 12] Operation: 27-15=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[27, 26, 3], Operations: ['45/15=3'] Exploring Operation: 27-26=1, Resulting Numbers: [3, 1] Generated Node #0,0,0: 50:[3, 1] Operation: 27-26=1 Exploring Operation: 27-3=24, Resulting Numbers: [26, 24] Generated Node #0,0,1: 50:[26, 24] Operation: 27-3=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[3, 1], Operations: ['45/15=3', '27-26=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 50:[26, 24], Operations: ['45/15=3', '27-3=24'] Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[27, 45, 15, 26], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [27, 26, 3] Generated Node #0,0: 50:[27, 26, 3] Operation: 45/15=3 Moving to Node #0,0 Current State: 50:[27, 26, 3], Operations: ['45/15=3'] Exploring Operation: 27-3=24, Resulting Numbers: [26, 24] Generated Node #0,0,1: 50:[26, 24] Operation: 27-3=24 Moving to Node #0,0,1 Current State: 50:[26, 24], Operations: ['45/15=3', '27-3=24'] Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic